This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PWM Motor Speed Control
#1
I would like to know if there is a setting that can control motor RPM using PWM in PyPilot?  I have seen PWM mentioned in the documentation but I don't I understand it. 

I just pulled a power steering motor off of a car and an A/C clutch, which I believe I can fit to the motor, but I did not get the whole power steering unit off of the steering column.  I attached the motor to 12v and it works but seems a bit fast.  I have no way of knowing the true RPM and I can't find any specs on it, yet similar units are shown as having a rotation speed between 650-1000 rpm.  Ideally, I would be able to use a setting in PyPilot to vary the motor speed.  If this is not possible, could I purchase a commercial pwm controller and place it between the motor controller and the motor?

Alternatively, I could go back to the junkyard and pull the remaining stuff, but unfortunately the prices at the junkyard are now so high that it doesn't make much sense even going to a junkyard.  It also seems like the rest of the system seems to add a bunch of monkey motion without useful additional function.  Plus, it would be a lot bulkier. Connecting a clutch and pulley directly to the motor shaft would be a much cleaner setup.
Reply
#2
I was just thinking that maybe a rheostat between the controller and the motor might achieve the desired result.
Reply
#3
you can adjust the speed with the settings:

servo.speed.min
servo.speed.max

A lot of motors especially ones with a lot of friction are most efficient at 100% speed, so both settings are 100%. If you reduce the speed.min, it allows the motor to make adjustments at slower speeds.
Reply
#4
(2024-09-02, 02:22 AM)seandepagnier Wrote: you can adjust the speed with the settings:

servo.speed.min
servo.speed.max

A lot of motors especially ones with a lot of friction are most efficient at 100% speed, so both settings are 100%.  If you reduce the speed.min,  it allows the motor to make adjustments at slower speeds.

Do I just type in an rpm for each?
Reply
#5
no these are in relative units of 0-100% where 100% is full power.
Reply
#6
To get a proper speed on my servo motor I have used an industrial epicycloidal reducer found on EBay at very good price. This kind of reducer has a very good efficiency and a low friction. That's maybe a solution if you need to reduce the speed but keep the power.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)