i am working on 200watt sine wave inverter with pic18f252, i have written the code but afraid of destroying the mosfes in one blow. can someone review/ modify my code ?.
regards,
babalola.
i am working on 200watt sine wave inverter with pic18f252, i have written the code but afraid of destroying the mosfes in one blow. can someone review/ modify my code ?.
regards,
babalola.
Post the code and maybe the schematic.
I am having trouble reading it as is![]()
Dave
Always wear safety glasses while programming.
thanks dave,
the code and the schematics is attached.
regards,
babalola.
I guess you might have better luck with your program if you ask some C forum for help.
hi jumper,
if you offer a pbasic review of the code,i will appriciate it. i understand a bit of basic language.
thanks
babalola.
Hi,
Looking a your document ...
a simple breadboard , plus a scope are enough to verify the PIECE of code supplied ...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Thanks Alain,
I don't have a scope now and that is why what i did after i programm the chip was to connect an diode led to the output of the pwm expecting some action but the led was just dead all through.
Babalola.
since no one would review my c-code on this subject, ih have decided to modified suogata bacis code on sine wave inverter thread. i am using PIC16F72 for the evaluation because that is the processor that is readily available with me now.
The picbasic iam using is the demo version and so i appriciate that i can't run a code more than 31 command line.however upon trying to compile the code ,the following erros are reported:
1: Error line 116 :redefinition of label T0CON
2: Error line 119: bad expression
3: Demo limit of 31 command line exceeded (this is understood)
pls, can any one fix these problem for me?.
(a): With the way the modified code stands,can it generate two complimentary sine pwm signals DRIVE1& DRIVE2?.if yes how do i include a delay routine of about 470ns for dead-time control between the two signals?
(b): If the code cannot generate the two complimentary sinepwm signals what do i do to fix the stuff?.
regards,
babalola.
Bookmarks