HB-25 motor controller power problem
ok so I have been having problems with getting maximum torque from my motor and until now I didn't know why. It is a 12 V motor and its wires are connected to M1 and M2 on the HB-25. a 12 V power supply is connected to the +/- terminals on the HB-25. a cable is connected from the HB-25 to the BS2.· When the motor is running, I check the voltage across M1 and M2 and it is only 3 V! Can anyone think of a reason why the HB-25 won't output 12 V to the motor? Thanks.
Comments
Can you provide any code and a schematic drawing?
How much current does the motor require?
How long are the power leads to the HB25 from the supply and to the motor from the HB25?
lastly, is the 12V supply adequate to drive your motor?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
the code is simply a pulse:
' {$STAMP BS2}
' {$PBASIC 2.5}
LOW 12
Main:
FOR Duration = 0 TO 10
PULSOUT 12,800
PAUSE 12
NEXT
PAUSE 3000
GOTO Main
Try a higher number from your PULSOUT command.
750 would be off and your giving it 800.... that's only about 20% of full throttle. Full throttle being a value of 1000 with the BS2.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
·
·· Even with the motor running at full speed on a 12V supply, the output on the M1/M2 terminals will not read what you expect because the output is being pulse-width modulated.· If you’re using a multi-meter it is probably averaging what it sees.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
What Chris said is correct, but it's even more exaggerated when a motor is connected. When you pulse the power in the form of PWM (Pulse Width Modulation) the output power result will get averaged. Suppose you pulse the power %50 "ON" and then %50 "OFF" ... the resulting output power would be about half of your supply voltage. 6V if your supply is 12V. If you adjust the PWM and spend more time ON then OFF then you can increase the averaged output. Likewise, if you spend less time ON then OFF you can decrease the averaged output. The reason that a motor will exaggerate the averaged voltage is because the motor acts like a BIG voltage regulator that is proportional to the speed the motor is turning. Remember when you turn a motor, it acts like a generator.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering