kimfmx
Newbie level 4
- Joined
- Feb 17, 2013
- Messages
- 5
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,283
- Activity points
- 1,348
Hi,
This is my first post, and value this board as a helpfull area for information and help.
So Im building a PWM controller to controll a pair of electric chair motors, this natually needs to be PWM controlled. I have done alot of research on the net on different designs, and have come up with a first draft design that will suit my needs. So i have made a prototype with controller (ATMega8 @ 4Mhz) and the HIP4081A, and have spend alot of time trying to hurdle out some issues.
As for the ATMega8 everything is set, it has two PWM outputs, from 0 to 99% dutycycle (0=low) around 3KHz frequence, in 256 intervals from a RC receiver signal.
For now I have the following concerns:
- When I drive the HIP4081A, I found that then i get neer 99,99% duty cycle, or close to 0 % i get high spikes on the HIP, its like it does not like the short spikes at those end points that is a few us long. A workaround could be to only alow longer pulses as minimum, but just want to make sure im not making a annoying mistake that is not intentinally. I did find that i had greatly underestimated the HDEL/LDEL resistors, that were 10K, and should now be above 200K
- The startup.... According to the datasheet, its ok to tie the High controll pins to Vcc, as the low pins overule the high pins, but it does not comply with my head in a startup condition, as when power is applied to the board, the chip needs to start up first, and is tri-stated, resulting in the high side active until processsor is on, which pulls the low side down. Im i wrong in not having a "boot" sequence of the HIP - Maybe a component solution with raising the disable pin for a period during poweron, untill it can be controlled by the atmel.
- Generally there is alot of different suggestions to dimentions to the resistors and fets, and its not rely very well explained in the datasheets in how you get to the correct conclusions on the dimentions. For the FETS, im IRFP2907, which i have seen others use, but as for the resistor in front of the gate etc. there is not rely much more than trial and error to rely on i guess. As for the HDEL and LDEL, i assume that there is nothing wrong with setting worst case values (200K+), as it should set biggest delays, and should only make me not get the best out of the PWM, but nothing should get hot.
- I find it hard for me to use a 7812 to drive down the voltage from the 24V supply, to the HIP4081A, there must be a more energy effecient way... I would prefer to seperate the HIP4081a from the controller board for the sake of noise etc, but the 7805 is driven from the 7812, so its hard..
If anyone have experience, good hints or help, please let me know, its much appriciated, and i will get cracking at the info when the everyday dust settles..
Best Regards
Kim Mortensen - Denmark.
This is my first post, and value this board as a helpfull area for information and help.
So Im building a PWM controller to controll a pair of electric chair motors, this natually needs to be PWM controlled. I have done alot of research on the net on different designs, and have come up with a first draft design that will suit my needs. So i have made a prototype with controller (ATMega8 @ 4Mhz) and the HIP4081A, and have spend alot of time trying to hurdle out some issues.
As for the ATMega8 everything is set, it has two PWM outputs, from 0 to 99% dutycycle (0=low) around 3KHz frequence, in 256 intervals from a RC receiver signal.
For now I have the following concerns:
- When I drive the HIP4081A, I found that then i get neer 99,99% duty cycle, or close to 0 % i get high spikes on the HIP, its like it does not like the short spikes at those end points that is a few us long. A workaround could be to only alow longer pulses as minimum, but just want to make sure im not making a annoying mistake that is not intentinally. I did find that i had greatly underestimated the HDEL/LDEL resistors, that were 10K, and should now be above 200K
- The startup.... According to the datasheet, its ok to tie the High controll pins to Vcc, as the low pins overule the high pins, but it does not comply with my head in a startup condition, as when power is applied to the board, the chip needs to start up first, and is tri-stated, resulting in the high side active until processsor is on, which pulls the low side down. Im i wrong in not having a "boot" sequence of the HIP - Maybe a component solution with raising the disable pin for a period during poweron, untill it can be controlled by the atmel.
- Generally there is alot of different suggestions to dimentions to the resistors and fets, and its not rely very well explained in the datasheets in how you get to the correct conclusions on the dimentions. For the FETS, im IRFP2907, which i have seen others use, but as for the resistor in front of the gate etc. there is not rely much more than trial and error to rely on i guess. As for the HDEL and LDEL, i assume that there is nothing wrong with setting worst case values (200K+), as it should set biggest delays, and should only make me not get the best out of the PWM, but nothing should get hot.
- I find it hard for me to use a 7812 to drive down the voltage from the 24V supply, to the HIP4081A, there must be a more energy effecient way... I would prefer to seperate the HIP4081a from the controller board for the sake of noise etc, but the 7805 is driven from the 7812, so its hard..
If anyone have experience, good hints or help, please let me know, its much appriciated, and i will get cracking at the info when the everyday dust settles..
Best Regards
Kim Mortensen - Denmark.