DanyR
Member level 3
- Joined
- Aug 23, 2015
- Messages
- 67
- Helped
- 6
- Reputation
- 12
- Reaction score
- 6
- Trophy points
- 8
- Location
- Nieuwpoort, Belgium
- Activity points
- 677
Hi, I try to make an AC current stabilisation, see https://www.edaboard.com/threads/346709/ , and I am having some phase margin troubles when I add the LC filter necessary for a PWM stage output.
Here is the LTSpice simulation, PWM itself is not yet modelled, but the control loop, including the PWM filter (L1-C1) is. All "control and safety" circuitry is not modelled, ony the necessary part is.
The actual circuit (as it should work) is figure (1). It tries to stabilise the AC current given to the grid (V4). That current is measured with the help of R2.
As you can see the circuit is not stable, it oscillates (figure (2)).
So I decided to measure the phase margin. This is done with the circuit from figure (3), by shortening any voltage source and adding an extra one in the feedback circuit. The result is hown in figure (4): a negative phase margin of 17 degrees, so 17 degrees past the oscillation point.
The oscillation can be stopped (or phase margin improved just enough) by connecting R3 across L1, but that will render L1 in my final project (its the purpose is to stop PWM switching signals in the direction of the grid) useless (besides the unacceptable dissipation in R3 once I scale up the voltages).
Also the impedance of the grid influences the phase margin, the lower the better, but that impedance if of course out of my control.
Increasing e.g. the grid impedance to 0.5 ohms (still a very reasonable low value), the instability is there again, even with R3 connected.
My questions are:
- Is my measuring method of the phase margin OK?
- If so, how to improve (a lot) the phase margin of the circuit shown in this post?
Thanks in advance!
Additionally I want (in some cases) the grid to be disconnected, and the control loop to act as an AC voltage stabilisation. In this case the results are even more disasterous, because now the PWM filter capacitor C1 is not almost shorted by the grid...
Here is the LTSpice simulation, PWM itself is not yet modelled, but the control loop, including the PWM filter (L1-C1) is. All "control and safety" circuitry is not modelled, ony the necessary part is.
The actual circuit (as it should work) is figure (1). It tries to stabilise the AC current given to the grid (V4). That current is measured with the help of R2.
As you can see the circuit is not stable, it oscillates (figure (2)).
So I decided to measure the phase margin. This is done with the circuit from figure (3), by shortening any voltage source and adding an extra one in the feedback circuit. The result is hown in figure (4): a negative phase margin of 17 degrees, so 17 degrees past the oscillation point.
The oscillation can be stopped (or phase margin improved just enough) by connecting R3 across L1, but that will render L1 in my final project (its the purpose is to stop PWM switching signals in the direction of the grid) useless (besides the unacceptable dissipation in R3 once I scale up the voltages).
Also the impedance of the grid influences the phase margin, the lower the better, but that impedance if of course out of my control.
Increasing e.g. the grid impedance to 0.5 ohms (still a very reasonable low value), the instability is there again, even with R3 connected.
My questions are:
- Is my measuring method of the phase margin OK?
- If so, how to improve (a lot) the phase margin of the circuit shown in this post?
Thanks in advance!
Additionally I want (in some cases) the grid to be disconnected, and the control loop to act as an AC voltage stabilisation. In this case the results are even more disasterous, because now the PWM filter capacitor C1 is not almost shorted by the grid...
Last edited: