Please explain the formula
Hi,
With a quick look, I couldn't make anything out of the formula. Explain in details about U seems to be the desired voltage, K constant, e error, what about A and B. Are they the P and I .
How are you tuning k ?
Post Code.
Far from a complete design
Dear Sam,
These are the interfacing circuit to do the following in order of your doc.
1. Mains Sense Circuit: Comes from a small step down transformer. The rectified DC voltage is an average representation of the Mains Input Voltage. AN0 is used to sample this pin and decide the status of the mains input. That is within range or outside range. If out of range switches to inverter mode. While in inverter mode used to sense mains restore condition. So this is part of a periodic ADC routine.
2. Battery Sensing Circuit: Used to sense the battery voltage for deep discharge cut-off and charging state change (Boost/Trickle/Equalize). So this is also used in both the inverter/mains-standby mode. Used AN1
3. Charger Circuit: An inverting amplifier. Note that the same shunt (generally in the low side negative battery terminal) is used to measure battery charge and discharge current. The ADC onbaord 16F72 is 8 bit. If a signed AD was performed by offsetting the signal then you loose one more bit and have 7 bit AD for the current sense. So to channels are used with two amplifiers. This is negative battery dischargei.e., current is being put into the battery, thus the inverting amplifier. Phew......
This goes to AN4 and is used only when charging the battery.
4. Load Sensing Circuit : Same as above but for discharge. So a non-inverting amplifier. connected to AN2. Used for overload protection.
5. Output Voltage Sensing: This either comes from a sense winding on the inverter transformer or a small step down transformer (better) connected to the filtered output of the inverter output. This is the voltage feedback for correcting voltage under different load/battery condition. Average DC represents the average output voltage. No in cycle distortion correction possible. (Not within the scope of 16F @ 20MHz, Needs a 18F @ 40MHz)
6. Power Supply Circuit : Your PIC runs on 5 Volts.
7. Sync Pulse Circuit: PORTB.0 INT based zero cross over sensing. Can measure line frequency. Can detect abrupt mains failure (UPS mode). Can do phase angle control on charge circuit. Can detect mains restore. Important for grid connected inverter, where you need to sync your timebase to the mains.
Assuming the above circuits have been ripped from common inverter design prevalent in India. I don't know why people are still stuck with the 16F72 when there are newer introduction like PIC18F1330. I could upgrade my design. Who would buy it ?? :(
This design is far from complete. You need to design the driver stages. Then decide on the software. In India most designs run on software PWM using the compare module. I don't know why ? But they are commercially successful. .... Well I am not. :o
P.S. - Sorry Sam, I cannot make the code public. (People will come to know about my bad programming skill). I only dream of making an open source sinewave inverter, in PBP. Can't find time. Cause I need to come up with a fresh new design to avoid any legal obligations on my old design.
Start writing your code, the forum would help
Quote:
Originally Posted by
samrulezzz
plz let me knw if u can direct me to some other person who can help me with the code.....
i don mind paying him his fees for the help in the code....
hopin u can help me out in some way
sam
[email protected]
If you surf on the net or follow EFY magazine you will find that there are people who are distributing .HEX files for as less as Rs.20,000.00 (USD$ 400) but you will get zero support as far as an academic project report is concerned. I have no idea whether anybody will give you source code. Most of them don't have it. So asking for paid support may be well exceed the scope of your project.
I personally feel that you should start writing your own code and the forum would help. A student project need not be perfect, but should be a proof of concept. So better start with the sine generation. Open loop-no feedback and then achieve other milestones as per time frame of the project.
Where are you located by the way.
help in desinging sine wave inverter using pic
i have being into for a while but is square wave but want tsw
i want to start pure sine wave inverter
im reallyin the act of making an inverter for a while but is square-wave using pwm ic but i want to start pure sine wave inverter,if i an get help from the forum how to proceed with it but not with double conversion cos i live in this part of the world where we import nearly everything and cost of importing is high so iwill use the bulky xfomers that is available or if u cant give me hint on how to mke a ferrite xfomers on my own thanks
pic 16f72 based inverter source code
HI sougata
can you please send me the sourcecode for pic 16f72 based inverter. please find the attachment for 16f72 based inverter circuit.
i'm waiting for your valuable reply.
Thanks and regards,
Karthick
[email protected]
Need a similar design for 110V DC 110VA inverter
Dear Sougata
I have been looking up your posts. I am presently working on a similar product for which i am only searching right now. its a small 110Va inverter that converts 110v Dc+/-25% to 110v AC sine wave. Thermal mnagement and low harmonics are key requirements for me to. i was wondering if you could share with me your learnings from you 2005 inerter poject! Any guidance will be helpful. I am presently struggling with the boost circuitry- WHY DO I NEED TO USE a seperate IC? as well as the output section1 9Very much basically - the entire desgn).
Can you guide?
regards
pawan.
sine wave inverter with PIC
Hi to all in the forum,
I will like to build up a sine wave inverter using a PIC microcontroller.
The schematic attached by Babalolo is not readable for me : can it be posted in a different format and with better resolution ?
I see a very long set of messages in the forum, Is some one capable of illustrating me briefly the status of the various projects ?
Is there a valid working project at the moment ?
Thanks a lot for the assistance.
Ambro
Iw2fvo