I have a test circuit and program to test MOSFETS for a 24 volt motor project, to test the idea I'm driving a "solar" DC motor using a P60NF MOSFET running through a TC4420 MOSFET driver at 500kHz.
While the speed changes through out the range of the 10 pot, it hunts ( rises and falls) something fierce at the change points.
The hunting is a constant frequency and can be seen on my scope.
At this freq the divisions are very small. ( or so I understand). Is there any way of calming or removing the hunting. Or do I just need to be alittle more delicate with my code?
I have put a back emf suppresion diode in.
I have capped the supplies and played with the cap values to no avail.
I intend using the same type of circuit on another project but the PICAXE supply will come though a 7812 then a 7805 from the 24 volt battery pack that will be driving the motor
The test program:
symbol throt = 0 ` Throttle sensor
symbol motor = 2 ` output pin for PWM driver pin
symbol throttle = b1 ` throttle reading
symbol throttle1 = w1 ` duty
Motor_control:
readadc throt, throttle
throttle1 = throttle/7 max 11
pwmout motor, 1, throttle1
debug throttle
pause 5
goto motor_control
Thanks, must go to bed now, will check again upon the morn.
While the speed changes through out the range of the 10 pot, it hunts ( rises and falls) something fierce at the change points.
The hunting is a constant frequency and can be seen on my scope.
At this freq the divisions are very small. ( or so I understand). Is there any way of calming or removing the hunting. Or do I just need to be alittle more delicate with my code?
I have put a back emf suppresion diode in.
I have capped the supplies and played with the cap values to no avail.
I intend using the same type of circuit on another project but the PICAXE supply will come though a 7812 then a 7805 from the 24 volt battery pack that will be driving the motor
The test program:
symbol throt = 0 ` Throttle sensor
symbol motor = 2 ` output pin for PWM driver pin
symbol throttle = b1 ` throttle reading
symbol throttle1 = w1 ` duty
Motor_control:
readadc throt, throttle
throttle1 = throttle/7 max 11
pwmout motor, 1, throttle1
debug throttle
pause 5
goto motor_control
Thanks, must go to bed now, will check again upon the morn.
Last edited: