Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

inveter circuit using PIC16F628

Status
Not open for further replies.

folarinv

Newbie level 1
Joined
May 20, 2006
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,300
pic16f628 circuit

I tried to build an inverter using PIC16F628A (circuit diagram and codes are attached) but the problems is that the highest voltage I recorded on the output was 110Vac instead of 220Vac. Could there be something I've not done rightly or a better way of making an inverter (12Vdc/220Vac).

best regards
 

pic16f628a projects with circuit diagram

inspire your self from the attached design based on SG3524:
This is what we call double conversion,
1- elevation of voltage from 12 0r 24 vdc to 300 vdc
2- transforming the 300vdc to 220vac 50hz playing with the duty cycle
( this will be automatically given by the SG3524; look to the
specifications given in the data sheet you will understand how
the feed back will realize it )


good luck.
 

pic16f628a diagram

folarinv said:
I tried to build an inverter using PIC16F628A (circuit diagram and codes are attached) but the problems is that the highest voltage I recorded on the output was 110Vac instead of 220Vac. Could there be something I've not done rightly or a better way of making an inverter (12Vdc/220Vac).

best regards

Your converter is a push-pull and at the output you have a square wave, the code for pic, that you have, changes the ouputs every 20ms. I suppose you want to have a waveform at 50Hz, this waveform has a period of 20ms.
So you should switch on and off the transistors every 10ms in order to have at the output of your transformer a waveform at 50Hz. But you cannot switch off a transistor and after a clock cycle (1us) switch on the other one because transistors have a turn-off time and a turn-on time. You have to switch off a transistor wait a period of time depending on how fast the transistors are and, switch on the other one.
But this is not enough to have the correct waveform at the output of the transformer the square wave must be positive for 5ms, zero for 5ms, negative for 5ms and so on. This because the square wave must have the same peak and rms value of the sinusoidal waveform. You can see at this link **broken link removed**
Pay attention that the output transformer could saturate if the flux in the core is too high and beware of cheap multimeter, they cannot read correctly the rms value of a waveform if different from a sinusoidal.
Moreover the transistors need to be drived correctly in order to work well.

stefano
 
Last edited by a moderator:

when iam tring to down load attachamenta none of theem downloaded in original format but correptued why?
 

Both attchments or downloads on this page are ok..Try again
 

Hello i'm new in this i want to build DC/AC inverter 12/220V 50Hz with pic16f628 tell me what do you think about this and does ever try to build this
 

You should note that this circuit has no kind of protection like low-battery protection, overload protection, short-circuit protection, etc.
With 500W power, you're going to need a HUGE heatsink to dissipate the power that the single MOSFETs will dissipate. Conduction loss in MOSFETs when driven completely on = (500/12)²*0.018 = 31.25W. It's better you use multiple MOSFETs in parallel. For that you need greater drive current that the PIC can't provide. So, you need a MOSFET driver, either based on one or more ICs or discrete driver made with transistors.

Hope this helps.
Tahmid.
 
Thanks Tahmid for the help...:) so can you attach better shematic and code (HEX file) for inverter with some pic DC/AC inverter 12/220V 50Hz 500W with protection(low batery pr. overload pro short circuit )..Have you build any Sine wave inverter..!? please attach files if you have..Thanks.. and sorry for my bad english
 
Have you build any Sine wave inverter..!? please attach files if you have..Thanks.. and sorry for my bad english

I have, but I'm not willing to share it for free. It took a lot of effort and time to develop it.

You can find one here: https://www.edaboard.com/threads/150224/

But I don't like that one. I tested it and the results were unsatisfactory.

Anyways, hope this helps.
Tahmid.
 

Aham ok,how much cost??
I'll look around about this pic16f71...why don't you like this..?? unsatisfactory to big lost to expensive or??
 

Aham ok,how much cost??
I'm not looking to sell the design.
I'll look around about this pic16f71...why don't you like this..?? unsatisfactory to big lost to expensive or??
The output waveform is bad. It isn't pure sine all the time. Feedback is poor and output voltage isn't very tightly regulated. It's operated at around 4kHz and charged at around 10kHz. You can hear annoying sounds as this is at the middle of the audible range. And the sounds are pretty loud.

A few acquaintances of mine have also built it and have all complained about unsatisfactory results.
 

hello tahmid what did you think how to correct this ckt can you tell in deep about it, it will be helpful to me :p
 

tell me problems in ckt does the wave form of op is good or not and any other problems that you notice in ckt, tell me it will help me
 
Last edited:

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top