andrei Posted March 28, 2007 Report Share Posted March 28, 2007 Hello everybody, my name is Andrei, and I'm a third year student. My bachelor thesis is to design an autonomus winding and pay out device. The device will be mounted on a moving robot platform. The device consists of a spool or drum on which the cable is wound, the other edge of a cable will be fixed. So when the robot moves away from the cable fixing point the spool must rotate and unwind the cable, when the robot moves towards the cable fixing point the spool must wind the cable. The faster the robot platform moves the faster must the spool rotate. As a sensor I use potentiometer, which measures the angle of the cable, and its output is analog signal. As a spool drive i've decided to use a dc motor. In other words i have to design a dc motor speed/direction control system and take into account the length of a cable since the more cable is wound around the spool the greater the motor's torque is. My question is whether it is possible to control motor's speed and direction with Atmega AVR microcontroller with analog input signal from potentiometer. If it is how exactly can it be done? What sensor should I use to measure the the length of an unwound part of the cable and how the output of this sensor can be used to set the proper speed for the motor? I would really appreciate if somebody could help me. Link to comment Share on other sites More sharing options...
marke Posted May 9, 2007 Report Share Posted May 9, 2007 Hello Andrei This sort of thing is commonly done by using a floating roller over which the cable passes. This roller is on an arm and is either spring loaded, or gravity loaded so that it's position is indicative of the tension in the cable. You can use the cable tension to control the speed/torque of the motor. If you keep the cable tension constant, you do not need to know how much has been spooled out. You can certainly use the AVR to control the speed and direction of the DC motor. There are a number of papers on how to do this and a quick search of the Atmel site should give you some examples. Best regards, Mark Empson | administratorSkype Contact = markempson | phone +64 274 363 067LMPForum | Power Factor | L M Photonics Ltd | Empson family | Advanced Motor Control Ltd | Pressure Transducers | Smart Relay | GSM Control | Mark Empson Website | AuCom | Soft Starters Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now