OpenMarine
PWM Motor Speed Control - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: Pypilot (https://forum.openmarine.net/forumdisplay.php?fid=17)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=18)
+--- Thread: PWM Motor Speed Control (/showthread.php?tid=5665)



PWM Motor Speed Control - SVHM - 2024-08-28

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.


RE: PWM Motor Speed Control - SVHM - 2024-08-30

I was just thinking that maybe a rheostat between the controller and the motor might achieve the desired result.


RE: PWM Motor Speed Control - seandepagnier - 2024-09-02

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.


RE: PWM Motor Speed Control - SVHM - 2024-09-02

(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?


RE: PWM Motor Speed Control - seandepagnier - 2024-09-02

no these are in relative units of 0-100% where 100% is full power.


RE: PWM Motor Speed Control - Erickalon - 2024-09-05

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.