[SOLVED] Pic 16f876a Pure Sinewave inverter

Status
Not open for further replies.
It's nice to see someone finished inverter. As keibbow said it's usefull to follow this thread from the begining becouse everything is described many times. It's just important to move step by step. Ofcouse base knowledge of the electronic is required.
And don't forget: author of this project is Mr.Taner, he has all credits for this inverter project.

Regards, Vlado
 

congratulation keibbow on successful completion of your project. Did you make any modifications to the circuit if so please post it so that it will be of much help to newbies. The credit goes to Mr.Taner the author of this project.
regards ani
 

where can i find the main board? i have attach sprint layout version

 

the circuit is from Californiajoe
 

You have two boards: inverter output board and inverter brain board (or something like this).

Regards
 
Hi Californiajoe,

Do you still have it in pdf format so that i can transfer it in sprint layout?
 
You have two boards: inverter output board and inverter brain board (or something like this). Output board desighn is modified a little bit, but looks better then my made a year ago.
I would suggest one important thing here, it's already described somewhere in this thread, but one more time would not harm.
I noticed in my inverter overheating of the capacitors num. C18 and C23, I solve this problem with exchanging conections J2 and J3 with diodes conected like D6 and D7.

Regards
 

Thanks pic gak , i didn't make any modification while building my inverter,all i know is i used two different source code which i finally reprogram the pic with another code ,the first code also work but i need the press the reset switch before it comes on but the second code works as soon as i power the inverter and that is the code uploaded by california joe ...
 
Thanks for the encouragement you give to me while doing my project kabiru......
 


Congrats dear on succesful completion of inverter project. So, which is the hex file & Pcb layout and the final scheme I should use to finally try it out
Thanks & regards to all contributors of this thread and forum as a whole
 

Hello fellows Freinds, i am not to good in microcontroller programing,but i want any body who understand programing language in c to analyse the code of this inverter for me not all but some part of the code which i dont understand ?
 

Hello friends,i want someone to explain the following code for me please

const long sine_wave[32] = {81,162,241,318,392,462,527,588,642,691,733,768,795, // sine wave constants;
815,827,831,827,815,795,768,733,691,642,588,527,462,
392,318,241,162,81,0};
const int volt_sine_ref[32] = {0,5,9,14,18,23,27,31,34,37,40,42,44,46,47,48,48,
48,47,46,44,42,40,37,34,31,27,23,18,14,9,5}; ....now this is LUT for sine pwm then after that this follows...//const int delta_v_h[16] = {7,7,6,6,6,5,5,5,4,4,4,3,3,3,2,2};
//const int delta_v_l[16] = {3,3,3,3,3,3,3,2,2,2,2,1,1,1,0,0};
const int delta_corr[32] = {3,6,9,12,15,18,20,23,25,27,28,30,31,31,32,32,32,31,
31,30,28,27,25,23,20,18,15,12,9,6,3,0}; please what this second code means and how did the ADC control the output voltage?
 

Hi keibbow,
Ok let us try to explain the code. First an information for you, i am not an expert in C. I use JAL the best open source prog language with free compiler. But i will give this a try and i invite all the experts in c to correct me if i am wrong at any point



The above one is the sinewave lookup table containining sinewave weighted pulses from which on every interrupt a value is pulled out for output .The above table is set for half cycle.


The above one is were the voltage feedback from the output is compared.


The above table is not used. Hope this helped you. I am waiting for your next question. Dont forget to press the helped me button if it helped you.

Regards ani
 
Last edited:
So if they are not useful why the code?
 

Hi keibbow,
Mr Taner who is the author of this code might have had some sort of sine wave correction in mind in the last moment he left it out(The // means that portion of code is not used)
regards ani
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…