Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Worried about short-circuiting H-Bridge using PWM

Status
Not open for further replies.

HBRIDGE

Newbie level 2
Joined
May 16, 2015
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
29
Basically, I'm trying to implement a simple single-phase inverter. I have a sine wave generator, a triangle wave generator and I have created PWM signals out of them using some op-amps and comparators (I haven't yet done a schematic, just a mix of different schematics I've seen online that I've put together to work for me)

I've created the PWM signals, or so I think (tri-level PWM) and before I go connecting this to the MOSFET's I just want to be sure that it's OK, because I have a feeling I'm going to end up short-circuiting the supplies. So if you consider the four H-BRIDGE switches like this:

213123124123.JPG

Whilst S1 is having PWM input to its gate, S4 is ON, then whilst S3 has PWM input to its gate, S2 is ON. The lower switches (S2 and S4) are controlled by a square wave signal, so it's either ON or OFF. Only the upper switches have PWM.

Here is the waveform for the upper left-hand side switch and lower right-hand side switch, CH1 (yellow) is upper and CH2 (blue) is lower, there are sections where there will be short-circuiting (roughly 100us), is this acceptable or have I got this completely wrong? I'm thinking that when S2 is OFF, S1 should also be completely turned off, why would I be getting a PWM signal whilst it's turned off? See below

ADS00005.png

Here is a zoomed-out version:

ADS00006.png

You can see that when S1 is turned on and has PWM, S2 is completely off, that's fine! But when S2 is ON, S1 is off, but it starts having PWM in the middle for a bit.

Here is my trilevel PWM, the reference sine wave superimposed on it.

ADS00003.png

ADS00004.png

Any advice appreciated, I'm hoping someone can tell me why, I know it's hard without a schematic, but I haven't drawn one out yet.
 
Last edited by a moderator:

kappa_am

Full Member level 6
Joined
Jul 16, 2012
Messages
324
Helped
19
Reputation
38
Reaction score
19
Trophy points
1,298
Location
Vancouver
Activity points
3,781
I am not sure I have understood your meaning. please add your pictures. You cannot keep below switch ON or OFF, and switch upper switches.
 

HBRIDGE

Newbie level 2
Joined
May 16, 2015
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
29
Hey, here's a schematic that I followed, this is not mine, mine is very similar except for some differences which I don't think will make too much of a difference. I have annotated as necessary, it's not very complicated:

1) A bubba oscillator make a reference sine
2) A triangle wave generator
3) Creating a modified triangle square wave for Trilevel PWM
4) Comparing sine with modified triangle square
5) Comparing square with DC offset voltage

So there are 2 PWM outputs and 2 square signal outputs, the people who made this schematic have appeared to make it work, so I'm not sure why you're saying we can't use a square wave signal

Any advice :)

asdad32f.JPG
 

BradtheRad

Super Moderator
Staff member
Joined
Apr 1, 2011
Messages
13,647
Helped
2,701
Reputation
5,398
Reaction score
2,620
Trophy points
1,393
Location
Minneapolis, Minnesota, USA
Activity points
101,912
There is the issue whether you plan to put an inductor in the output, to smooth the SPWM.

Do you plan to make the output see high impedance between pulses of current? This is likely to cause high voltage spikes from the inductor. You will need a robust snubber/smoothing network.

This simulation shows the switching method which seems to give the least problem in smoothing the SPWM. Notice one end of the output is grounded, while the other end is alternately connected to ground and supply+.



The op amps create the concept of an H-bridge, to simplify the layout. Their inputs receive similar waveforms as you have in your schematic. It is important to pay attention to the range of input. If you apply a positive and negative waveform, then your op amp must have a bipolar supply.

Notice the op amp output alternates between two states: (a) sourcing and (b) sinking current. The output does not go to high impedance.

My switching action may be difficult to implement. If you use mosfets, then the body diode may be sufficient to do the job. Or, consider adding external diodes.
 
Last edited:

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top