Does driving a small dc motor with a clean pwm signal make any difference to the motor?
I was driving a little dc motor with a H-bridge from an arduino using pwm. I used the built-in analogWrite() function which puts out a pwm signal at a
frequency of 1 KHz.
The waveform output actually going to the motor and was very non square wave looking for the most part. The motor
did respond OK.
To try and make the waveform to the motor look more like a square wave I used one of the timers to pwm the motor but at 7KHz instead of
1 KHz. The wave form to the motor was a much cleaner looking pwm signal.
I have not heard of tuning the pwm period to get a better waveform output from the drive.
Thanks
I was driving a little dc motor with a H-bridge from an arduino using pwm. I used the built-in analogWrite() function which puts out a pwm signal at a
frequency of 1 KHz.
The waveform output actually going to the motor and was very non square wave looking for the most part. The motor
did respond OK.
To try and make the waveform to the motor look more like a square wave I used one of the timers to pwm the motor but at 7KHz instead of
1 KHz. The wave form to the motor was a much cleaner looking pwm signal.
I have not heard of tuning the pwm period to get a better waveform output from the drive.
Thanks