Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Robotics Chat


Robotics Chat Specific to discussions about robots and the making of.

Reply
 
Thread Tools Display Modes
Old 6th April 2008, 12:11 AM   (permalink)
Experienced Member
ahmedragia21 is an unknown quantity at this point
Default Proportional DC Motor speed controller

Hi, im having lets say two motors which have the same RPM but operation at different voltages , one is 12V and the other is 6V , i wanna make both move in straight line which means , both have the same speed .. how do i do that ? and how PID control can help in that ? i've two encoders attached to the motors ... that's what in my pocket right now ..
ahmedragia21 is offline   Reply With Quote
Old 6th April 2008, 10:44 AM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
Default

As you have encoders on each wheel, you just need to ensure that both wheels move at identical speeds and for identical distances.

I don't see as PID is anything to do with it?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 6th April 2008, 10:21 PM   (permalink)
Experienced Member
ahmedragia21 is an unknown quantity at this point
Default

yea , but how to do that , by measuring both RPMs ? and make both RPMs the same or what ?
ahmedragia21 is offline   Reply With Quote
Old 6th April 2008, 10:40 PM   (permalink)
Experienced Member
 
dknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to beholddknguyen is a splendid one to behold
Default

Quote:
Originally Posted by ahmedragia21
yea , but how to do that , by measuring both RPMs ? and make both RPMs the same or what ?
Yeah, you have to measure both RPMs, and obviously you can't make the 6V motor go at the same speed as the 12V motor for all speed ranges since the 12V motor is capable of going faster and providing more torque.
dknguyen is offline   Reply With Quote
Old 7th April 2008, 12:37 AM   (permalink)
Experienced Member
ahmedragia21 is an unknown quantity at this point
Default

yea, i want the 12V motor to be like the 6V motor , to let the robot move at straight line path !
is that possible ?
also is there faster way to do that ? because measuring RPM needs measuring the revoultion per minute ! and its not possible , i want the robot to move at straight line since its start up ..
ahmedragia21 is offline   Reply With Quote
Old 7th April 2008, 08:27 AM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
Default

Quote:
Originally Posted by ahmedragia21
yea, i want the 12V motor to be like the 6V motor , to let the robot move at straight line path !
is that possible ?
also is there faster way to do that ? because measuring RPM needs measuring the revoultion per minute ! and its not possible , i want the robot to move at straight line since its start up ..
For any low frequency you don't measure the frequency, you measure the time between pulses - this makes it far faster to do. Presumably your encoders give multiple pulses per revolution?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 7th April 2008, 02:07 PM   (permalink)
Experienced Member
ahmedragia21 is an unknown quantity at this point
Default

Well, anyway nigel , im simulating this task in proteus , and i assume that im using 300CPP encoder with 110 rpm motors ..

so how do i measure the time between pulses ?
you mean Ton ?
ahmedragia21 is offline   Reply With Quote
Old 7th April 2008, 03:26 PM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
Default

Quote:
Originally Posted by ahmedragia21
Well, anyway nigel , im simulating this task in proteus , and i assume that im using 300CPP encoder with 110 rpm motors ..

so how do i measure the time between pulses ?
you mean Ton ?
Detect start of first pulse, start counter, wait for start of second pulse, then stop counter.

You should be able to use the CPP module to do this in hardware, or use software to do it.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
DC motor controller rogerdodger Electronic Projects Design/Ideas/Reviews 12 2nd March 2008 11:30 PM
dc motor controller using microcontroller norms09 Micro Controllers 3 5th December 2007 04:28 AM
closed loop DC motor control vuchris Electronic Projects Design/Ideas/Reviews 0 30th September 2007 11:27 AM
Xbox 360 Tilt Controller adamthole Electronic Projects Design/Ideas/Reviews 0 20th January 2007 05:24 PM
Help With Temperature Controller bryan Electronic Projects Design/Ideas/Reviews 4 30th June 2003 12:18 PM



All times are GMT. The time now is 05:34 AM.


Electronic Circuits  |  Radio Controlled
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.