Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 16
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
No birthdays today

Next birthdays
05/14 hvguy (41)
05/14 thehappyelectron (14)
05/14 Justin (2024)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: Projects
« Previous topic | Next topic »   

Trying to built a sinusoidal inverter

Move Thread LAN_403
Jinkela
Wed Jul 18 2012, 12:05PM Print
Jinkela Registered Member #5788 Joined: Tue Jul 17 2012, 11:25PM
Location:
Posts: 9
I'm quite interested in all kind of inverter especially sinusoidal inverter.
A sine wave output needs SPWM, there are two ways to generate SPWM wave:
1.Hardware(A circuit with a lot of operational amplifier, very complex, I try this method before and found it really hard to add more function)
2.Software(Use a MCU, circuit is simple but the program is.......)

This time I try the second way.I use STC12C5410AD as the processor, it has 7 AD converters and 2 PWM modules.
The idea of the program is not complex.I'm going to explain how to generate a unipolar SPWM wave.
First putting a series of number to a array to represent half period of a sine wave, then use a timer to set the duty cycle for both PWMs periodically, Finally we can get SPWM wave from PWM pins of MCU.
How to regulate the output voltage?It's one of the difficulties in this project.Currently my idea is, check the feedback from output per 50Hz period, if the feedback is too far away from setting value,then change the duty cycle(if feedback<setting value,increase duty cycle otherwise decrease).Looks quite simple and it works properly now.
For protection circuit, I decided to use the method that detect the VDS of MOSFET.We all know that when a MOS opens,it still have a very small resistance, if a current pass through it,there will be voltage between Drain and Source(Follow this rule:V=IR),If a short occurs the DS voltage will be much bigger than usual, so wo can use this to detect short and close mosfet. My program already support this but i havent finish designing this part of circuit yet.I dont know how to design this part of the circuit.Some one can help me?
The Spwm wave from MCU
1342614244 5788 FT0 Img 4136
The SPWM wave before LC filter
1342614244 5788 FT0 Img 4185
Output wave form
1342614244 5788 FT0 Img 4186
1342614244 5788 FT0 Img 4187
1342614244 5788 FT0 Img 4188
Push-pull 12V to 380VDC
1342614244 5788 FT0 Img 4229

]spwmv1.zip[/file]
Back to top
Steve Conner
Wed Jul 18 2012, 02:23PM
Steve Conner Registered Member #30 Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
What you call "SPWM" (I know it as unipolar PWM) will make driving reactive loads difficult. I suggest using bipolar PWM instead, it simplifies the control greatly.
Back to top
Jinkela
Thu Jul 19 2012, 12:59PM
Jinkela Registered Member #5788 Joined: Tue Jul 17 2012, 11:25PM
Location:
Posts: 9
SPWM = Sinusoidal PWM
I think that in unipolar system, half of the full bridge can work in low frequency(50Hz), it will reduce the switching lost and increase the efficiency a little bit. Why you said unipolar PWM will make driving reactive loads difficult? I haven't met this kind of problem.I had used my inverter to drive a 70W fan and a 20W transformer, no problem...........
Maybe in next version of my sinusoidal inverter I'll use bipolar PWM.........
This is my full bridge driving waveform:
1342702767 5788 FT141979 Untitled
Back to top

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.