Duty Cycle Mod, version 2
Posted: Tue Jun 06, 2006 11:16 am
I've got the preliminary version of the DCModV2 working on the test stand. This does pretty much the same thing as the original DCMod, but its a little fancier.
For anyone who doesn't already know, the DCMod is a microcontroller that intercepts the signal sent from the ZipZap SE MCU to the forward leg of the car's main drive motor H-bridge. It can perform some modifications to the waveform to improve (double) performance.
DCModV2 has four modes of operation:
Mode 0 : Passthru, same duty cycle, same PWM frequency
Mode 1 : PWMPass, same duty cycle, 8khz PWM frequency
Mode 2 : PWMFast, scaled duty cycle (max 100%), 8khz PWM frequency
Mode 3 : PWMSlow, scaled duty cycle (max 15%), 8khz PWM frequency
I've still got some tweaking to do to get the output duty cycles right, and I'll probably cut the PWM frequency down to 4 or 2khz. The audio frequency it generates is about twice the pwm frequency, so it sounds like a seriously pissed off mosquito at 16khz.
The main goal with this project was to bring the PWM frequency up from 100hz to something that would deliver smoother power. While I've achieved that, at the moment its only installed on my test stand, so I can't really drive it yet to say if it is an improvement.
This project has also been a learning project as a base for a dual ESC project for nasphere. The requirements for the two applications are essentially the same, read an input waveform and control a PWM output in proportion to it. Adding a second channel should be fairly straightforward, although I may have to move up to a slightly more powerful MCU.
For anyone who doesn't already know, the DCMod is a microcontroller that intercepts the signal sent from the ZipZap SE MCU to the forward leg of the car's main drive motor H-bridge. It can perform some modifications to the waveform to improve (double) performance.
DCModV2 has four modes of operation:
Mode 0 : Passthru, same duty cycle, same PWM frequency
Mode 1 : PWMPass, same duty cycle, 8khz PWM frequency
Mode 2 : PWMFast, scaled duty cycle (max 100%), 8khz PWM frequency
Mode 3 : PWMSlow, scaled duty cycle (max 15%), 8khz PWM frequency
I've still got some tweaking to do to get the output duty cycles right, and I'll probably cut the PWM frequency down to 4 or 2khz. The audio frequency it generates is about twice the pwm frequency, so it sounds like a seriously pissed off mosquito at 16khz.
The main goal with this project was to bring the PWM frequency up from 100hz to something that would deliver smoother power. While I've achieved that, at the moment its only installed on my test stand, so I can't really drive it yet to say if it is an improvement.
This project has also been a learning project as a base for a dual ESC project for nasphere. The requirements for the two applications are essentially the same, read an input waveform and control a PWM output in proportion to it. Adding a second channel should be fairly straightforward, although I may have to move up to a slightly more powerful MCU.