+ Post New Thread
Results 1 to 13 of 13
  1. #1
    Junior Member level 1
    Points: 281, Level: 3
    Nurahmed's Avatar
    Join Date
    May 2019
    Location
    Montreal, Canada
    Posts
    19
    Helped
    1 / 1
    Points
    281
    Level
    3

    Effect of LC filter in simulation of BTL H-Bridge inverter?

    Hi,
    I am simulating this BTL configured H-Bridge inverter with BD modulation. When there is only a resistor load, the three-level PWM pattern is fine (VoutA-VoutB, resistor only). But after adding an LC filter, the PWM pattern is not correct (VoutA-VoutB, LC filter), the filtered sine wave is not correct too.

    You can see the attached images for simulating schematics and waveforms. The LC filter value is calculated according to TI's filter design guide. I also tried setting initial conditions for L & C.

    What could be the problem when adding the LC filter?
    Thanks
    Click image for larger version. 

Name:	FB_BD_resistor only.png 
Views:	12 
Size:	17.1 KB 
ID:	158358
    Click image for larger version. 

Name:	PWM_BD_resistor only.png 
Views:	11 
Size:	14.7 KB 
ID:	158359
    Click image for larger version. 

Name:	FB_BD_LC filter.png 
Views:	14 
Size:	20.6 KB 
ID:	158360
    Click image for larger version. 

Name:	PWM_BD_LC filter.png 
Views:	13 
Size:	13.8 KB 
ID:	158361

    •   AltAdvertisement

        
       

  2. #2
    Super Moderator
    Points: 83,894, Level: 70
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    17,063
    Helped
    3854 / 3854
    Points
    83,894
    Level
    70

    Re: Effect of LC filter in simulation of BTL H-Bridge inverter?

    Hi,

    either your control schem or the dead time.

    --> show all 4 gate drive signals in one screen.

    Klaus
    Please don´t contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



  3. #3
    Junior Member level 1
    Points: 281, Level: 3
    Nurahmed's Avatar
    Join Date
    May 2019
    Location
    Montreal, Canada
    Posts
    19
    Helped
    1 / 1
    Points
    281
    Level
    3

    Re: Effect of LC filter in simulation of BTL H-Bridge inverter?

    Quote Originally Posted by KlausST View Post
    Hi,

    either your control schem or the dead time.

    --> show all 4 gate drive signals in one screen.

    Klaus
    Is it because of control scheme or the dead time? If it is, the pure resistive load PWM above would be wrong too, but that PWM is Ok. The control scheme is simple as compare reference sine signal with the triangle wave.



  4. #4
    Super Moderator
    Points: 83,894, Level: 70
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    17,063
    Helped
    3854 / 3854
    Points
    83,894
    Level
    70

    Re: Effect of LC filter in simulation of BTL H-Bridge inverter?

    Hi,

    Is it because of control scheme or the dead time?
    We don´t know, that´s why I´m asking for show all drive signal. Now again.

    If it is, the pure resistive load PWM above would be wrong too,
    Wrong, because resistive load does not drive current/voltage but inductance do.

    Klaus
    Please don´t contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



  5. #5
    Junior Member level 1
    Points: 281, Level: 3
    Nurahmed's Avatar
    Join Date
    May 2019
    Location
    Montreal, Canada
    Posts
    19
    Helped
    1 / 1
    Points
    281
    Level
    3

    Re: Effect of LC filter in simulation of BTL H-Bridge inverter?

    Hi Klaus,

    Here it is,

    Click image for larger version. 

Name:	FB_BD_LC filter_Full.png 
Views:	14 
Size:	32.0 KB 
ID:	158364
    Click image for larger version. 

Name:	FB_BD_LC filter_S1_S4.png 
Views:	11 
Size:	29.8 KB 
ID:	158365
    Click image for larger version. 

Name:	FB_BD_LC filter_S2_S3.png 
Views:	11 
Size:	27.5 KB 
ID:	158366
    Click image for larger version. 

Name:	PWM.png 
Views:	15 
Size:	25.3 KB 
ID:	158367

    Two reference sine waves have 180 phase difference.
    Click image for larger version. 

Name:	PWM principle.png 
Views:	12 
Size:	27.7 KB 
ID:	158368



  6. #6
    Super Moderator
    Points: 266,384, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    46,549
    Helped
    14167 / 14167
    Points
    266,384
    Level
    100

    Re: Effect of LC filter in simulation of BTL H-Bridge inverter?

    It's an unsuitable PWM pattern, driving only first and third output quadrant. To drive reactive loads with sine waveform, both half bridges must switch between high and low and never to off state.



    •   AltAdvertisement

        
       

  7. #7
    Junior Member level 1
    Points: 281, Level: 3
    Nurahmed's Avatar
    Join Date
    May 2019
    Location
    Montreal, Canada
    Posts
    19
    Helped
    1 / 1
    Points
    281
    Level
    3

    Re: Effect of LC filter in simulation of BTL H-Bridge inverter?

    Quote Originally Posted by FvM View Post
    It's an unsuitable PWM pattern, driving only first and third output quadrant. To drive reactive loads with sine waveform, both half bridges must switch between high and low and never to off state.
    Click image for larger version. 

Name:	class d.png 
Views:	13 
Size:	20.0 KB 
ID:	158371

    This is one of the published paper, my pwm pattern is the same as BD modulation in the above figure.



  8. #8
    Super Moderator
    Points: 54,823, Level: 57

    Join Date
    Apr 2011
    Location
    Minneapolis, Minnesota, USA
    Posts
    13,355
    Helped
    2654 / 2654
    Points
    54,823
    Level
    57

    Re: Effect of LC filter in simulation of BTL H-Bridge inverter?

    Those capacitors to ground provide a direct path for damaging high current, if LC resonance was instigated by switching at certain frequencies.

    ---------------------------------------------

    Here is my simulation of H-bridge applying SPWM to load via LC 2nd order filter. I believe it's the same as class D operation.

    Click image for larger version. 

Name:	SPWM H-bri 4 mos 2 opamps 170VDC LC 2nd order load gets 120VAC sine.png 
Views:	12 
Size:	58.1 KB 
ID:	158372

    I put P-mos at the top so the biasing arrangement is easier. Furthermore I set bias voltage unrealistically high for mosfets.



  9. #9
    Super Moderator
    Points: 83,894, Level: 70
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    17,063
    Helped
    3854 / 3854
    Points
    83,894
    Level
    70

    Re: Effect of LC filter in simulation of BTL H-Bridge inverter?

    Hi,

    --> show all 4 gate drive signals in one screen.
    Actually I can't find the requested screen.
    Thus I can't verify the deadtime.

    Generally S1 and S2 need to come from the same comparator with exact and low dead time.
    (The same applies for S3 and S4)
    I can't recognize this here.

    Klaus
    Please don´t contact me via PM, because there is no time to respond to them. No friend requests. Thank you.


    1 members found this post helpful.

  10. #10
    Junior Member level 1
    Points: 281, Level: 3
    Nurahmed's Avatar
    Join Date
    May 2019
    Location
    Montreal, Canada
    Posts
    19
    Helped
    1 / 1
    Points
    281
    Level
    3

    Re: Effect of LC filter in simulation of BTL H-Bridge inverter?

    Quote Originally Posted by BradtheRad View Post
    Those capacitors to ground provide a direct path for damaging high current, if LC resonance was instigated by switching at certain frequencies
    In your simulation, aren't your comparators' input signs (left side & right side) are opposite to one another? i.e., if the left comparator non-inverting input is connected to the sine wave, then the right side connects to inverting input.

    Is your modulation BD modulation? it looks AD modulation to me.

    BTW, which tool do you use to simulate? the GUI looks very good :)



  11. #11
    Super Moderator
    Points: 54,823, Level: 57

    Join Date
    Apr 2011
    Location
    Minneapolis, Minnesota, USA
    Posts
    13,355
    Helped
    2654 / 2654
    Points
    54,823
    Level
    57

    Re: Effect of LC filter in simulation of BTL H-Bridge inverter?

    Quote Originally Posted by Nurahmed View Post
    In your simulation, aren't your comparators' input signs (left side & right side) are opposite to one another? i.e., if the left comparator non-inverting input is connected to the sine wave, then the right side connects to inverting input.

    Is your modulation BD modulation? it looks AD modulation to me.

    BTW, which tool do you use to simulate? the GUI looks very good :)
    The screenshots are Falstad's animated simulator. Free to download and use at (your computer needs to have Java installed):

    falstad.com/circuit

    This is how the waveforms are produced by 2 op amps. Settings were edited so they produce only positive polarity. (However the inputs are exposed to negative polarity which is against guidelines in real life.) This is suitable to gate an H-bridge (receiving positive supply voltage).

    Click image for larger version. 

Name:	SPWM produced by 2 opamps 2 sines 1 sawtooth.png 
Views:	6 
Size:	23.4 KB 
ID:	158380

    I believe it's BD modulation (per post #7 waveforms). The H-bridge duplicates the action of a buck converter in one direction during one half of the cycle (through Q1 Q4, post #8).
    Then it reverses current flow and becomes similar to a buck converter in the opposite direction (through Q2 Q3) during the other half of the cycle.


    1 members found this post helpful.

  12. #12
    Super Moderator
    Points: 266,384, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    46,549
    Helped
    14167 / 14167
    Points
    266,384
    Level
    100

    Re: Effect of LC filter in simulation of BTL H-Bridge inverter?

    This is one of the published paper, my pwm pattern is the same as BD modulation in the above figure.
    It's not the same PWM scheme. It's using the same kind of signal generation, but is driving the switches differently.

    S2 e.g. should to be driven with inverted S1 signal. A small dead time has to be applied to S1 and S2, can be generated by delaying the rising edges.

    The criterion is to get full VoutA and VoutB swing independent of the output current polarity. S1 and S2 must be operated in push-pull manner to achieve this.


    1 members found this post helpful.

    •   AltAdvertisement

        
       

  13. #13
    Junior Member level 1
    Points: 281, Level: 3
    Nurahmed's Avatar
    Join Date
    May 2019
    Location
    Montreal, Canada
    Posts
    19
    Helped
    1 / 1
    Points
    281
    Level
    3

    Re: Effect of LC filter in simulation of BTL H-Bridge inverter?

    Quote Originally Posted by FvM View Post
    It's not the same PWM scheme. It's using the same kind of signal generation, but is driving the switches differently.
    Thanks a lot. I've made a mistake with the driving scheme. Now I got the correct results.

    Click image for larger version. 

Name:	S1.png 
Views:	5 
Size:	41.5 KB 
ID:	158426

    Click image for larger version. 

Name:	S3.png 
Views:	5 
Size:	36.3 KB 
ID:	158427

    Click image for larger version. 

Name:	FB.png 
Views:	5 
Size:	29.3 KB 
ID:	158428

    Click image for larger version. 

Name:	PWM_waveform.png 
Views:	5 
Size:	18.0 KB 
ID:	158429


    1 members found this post helpful.

--[[ ]]--