I have a relatively simple set up to control the speed of a 24V DC wheelchair motor:
- my microprocessor (PIC18F2550) is generating a PWM signal at 1Khz
- the PWM is fed to a high side driver (IR2113)
- the high side driver controls an H-bridge made with mosfets (SFP30N06)
The weird thing is that if I hook up my ammeter to measure the current through the motor / h-bridge, everything works perfectly. However as soon as I replace my ammeter with a standard fuse or just a piece of wire, the motor turns on for half a second and then turns off. The power to my microprocessor is still on, but the microprocessor seems to have shutdown or something since the PWM signal stops showing on my oscilloscope.
I have checked the PIC18F2550 datasheet and it says something about an autoshutdown on the PWM module for overcurrent detection, however I can't see how this applies since I have not enabled that feature nor is there any means for the microprocessor to know the current flowing through the motor.
Has anyone experienced a similar problem? Could the resistance of the ammeter have anything to do with the circuit working when the ammeter is connected?
- my microprocessor (PIC18F2550) is generating a PWM signal at 1Khz
- the PWM is fed to a high side driver (IR2113)
- the high side driver controls an H-bridge made with mosfets (SFP30N06)
The weird thing is that if I hook up my ammeter to measure the current through the motor / h-bridge, everything works perfectly. However as soon as I replace my ammeter with a standard fuse or just a piece of wire, the motor turns on for half a second and then turns off. The power to my microprocessor is still on, but the microprocessor seems to have shutdown or something since the PWM signal stops showing on my oscilloscope.
I have checked the PIC18F2550 datasheet and it says something about an autoshutdown on the PWM module for overcurrent detection, however I can't see how this applies since I have not enabled that feature nor is there any means for the microprocessor to know the current flowing through the motor.
Has anyone experienced a similar problem? Could the resistance of the ammeter have anything to do with the circuit working when the ammeter is connected?