Hi, everyone! newbie's here.
How to write a three-phase pwm train pulses with 120 degrees phase offset from each ole ther? The sample code here is only for one pulse? So I wonder if anyone could help?
Hi, everyone! newbie's here.
How to write a three-phase pwm train pulses with 120 degrees phase offset from each ole ther? The sample code here is only for one pulse? So I wonder if anyone could help?
There are examples at Microhip's web site but all in ASM.
If you find some examples in PBP, pls post here. I am also on the same thing.
---------------------------------
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Sorry Sayzer, I have been searching around but came out nothing, that's why I come here to ask.
So if anyone has something same as this, please post.
it is much appreciated!!
Download the application note 900 of microchip. It use a PIC18F4431.
http://www.microchip.com/wwwappnotes....aspx?lang=en#
Not in PBP but maybe a good kick in the ... to start
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hi,
Please let me know your application. It is highly doable in PBP-with mixed asm. In fact you can use darretl's routine of multipwm. You need another interrupt that is 3 times your base interrupt frequency and offset the main pwm value into the other. Still you will have offset errors (I suppose), since all the three PWMs are not updated at once. May be okay for driving a motor or UPS in general purpose application. Choice of the PIC is important as if you are playing with soft PWM then you might not have enough computing time left for other jobs.
Regards
Sougata
Hi Sougata,
For me, what I need is not sophisticated.
At first I would like to control the speed of the motor via a pot or couple of buttons.
Then I can get it modified as I needed.
So far, mister_e advised me to consider 18F2331 or 18F2431 or 4431. Thanks to him very much.
I need to use PBP so that I can modify and understand the concept easily.
Not a very sensitive control I need. Errors are very flexible in my case also.
But I have no idea where to start. I have good examples in ASM which I am no good at.
I would appreciate some information.
---------------------------------
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Bookmarks