Pages: 1 [2]   Go Down
Author Topic: How do i change direction  (Read 979 times)
0 Members and 1 Guest are viewing this topic.
UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Some will probably ask me why i dont just use a position servo so i will reveal right away that i need to control the torque, NOT the position.

You could use torque feedback to control the position of a standard servo just as easily as you could use it to control the torque of a DC motor - probably *more* easily in fact, since the servo already incorporates a feedback system which ensures that it meets your demanded position accurately, whereas you can only guess at the approximate relationship between current and torque from a DC motor since the relationship varies all over the places as the motor moves.

If you can get a servo capable of providing the torque you need, I recommend that you use that instead of the motor.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Offline Offline
Newbie
*
Karma: 0
Posts: 42
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Of cause - i get it now.

After installing a button everything is working well.
Now i have control of the speed and the direction of the motor.
So i guess the next step is PID? or am i goint too fast again?

@PeterH
You are probably right, but this is proof of concept on a patent. So i MUST build a system that works by reading a torque transducer and using that signal to apply torque (not position controlled) to the wheels on the road in order to make them turn.


Logged

Offline Offline
Edison Member
*
Karma: 9
Posts: 1016
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So i guess the next step is PID? or am i goint too fast again?
No, you are right on track.

But what about a single function that controls the speed and direction of the motor ? Like I wrote before with a parameter from -1000 to +1000. That way the PID can be set to those limits and the function will take care of the direction.
Logged

Pages: 1 [2]   Go Up
Jump to: