Replies: 5 comments 5 replies
-
BLDC motos use three phase power and some use an 8 bit MCU for control This is an example project, |
Beta Was this translation helpful? Give feedback.
-
So you want to do everything purely with hw timers? That's an interesting challenge. Three timers with dead time sound like a good fit for generating the phases, but I don't see either how to add pwm to the mix (except in software ofc). |
Beta Was this translation helpful? Give feedback.
-
Not sure if I understand your question, but many Electronic Speed Controllers (ESC) for RC planes, helicopters or drones used Atmega8. |
Beta Was this translation helpful? Give feedback.
-
Thank you the valuable comments. I didn't know about these solutions. |
Beta Was this translation helpful? Give feedback.
-
Hi guys did you have a sample doing deadtime pwm on lgt8f328? I did duo pwm sample on lgt8f328 got error message no pwm duo declaration or something using this package on arduino IDE. Thank you. |
Beta Was this translation helpful? Give feedback.
-
I was thinking a bit about, is it possible to control a 3 phase motor with LGT8F328P?
The question is only theoretical, I don't want to implement it.
In this MCU there are 4 timers. One for controllig the rotation speed at least at start up. Other three for generating outputs for MOSFETs.
For controllig the rotation speed Timer 2 could provide the clock signal for the other three timers, because Timer 2 has no external clock input and no dead time capability. IN CTC mode Timer 2 output "A" could be the source of other three timers external clock. It must be wired between pins. The three timers "A" and "B" outputs could provide the MOSFETs controlling signals with dead time.
But there is still a problem. When the motor starting at low frequency the MOSFETS is open too long, there a big current flow will develop. So there must be a three phase PWM also.
Is it possibile?
Beta Was this translation helpful? Give feedback.
All reactions