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
The problem is then that I also measure the current through the capacitor (at PWM frequency), and I wanted purely the 50 Hz current through the load. Any suggestions how to solve this?Finally, a stable current control can be better implemented with the current sensor on the left side of the filter.
Hi FvM, thanks for your answer.Tuning the control loop also involves modifying the error amplifier gain. 90 degree error amplifier phase shift at the loop transition frequency shouldn't be taken as granted. There are possible means like lead-lag compensation.
I think the output is not so "wild".Danny, this problem is pretty much insoluble because there is no way of knowing what type of wildly changing reactive and resistive load is going to be connected to the output of your inverter.
The output is "wild" in both amplitude and phase, and there is no way to design some kind of phase compensation network to correct for that.
Yes, that is what I wanted to do. Currently I try to figure out what the control stability of the whole circuit would be when adding the LC PWM output filter (see https://www.edaboard.com/threads/346709/).There are a couple of approaches to amplitude control of a PWM inverter.
The first is the classic class D amplifier where the output switched waveform itself is used to generate the PWM, and the output LPF (and reactive load) are external to the control loop.
What I do is trying to stabilise the output current, not the voltage. The latter one is fixed (equal to the grid voltage). See the first post, figure 1. Of course I try to make the output current to be in phase with the grid voltage (not shown in the simulation, but see https://www.edaboard.com/threads/346709/ again.This is not as successful with an inverter as with an audio power amplifier because of the highly variable and unknown load, but it may be good enough for the purpose.
For software generated PWM, all you need to know is the final output amplitude after the filter. Phase does not come into it. If the peak output voltage is correct, job done.
If its not, switching to a different a different PWM lookup table, or other software trick steps the amplitude up or down a notch. That is probably the best method, but there may still be some half cycle surges and sags during sudden step load changes.
But you have to do it by controlling a voltage, the output of your PWM stage. Trying it in a simple control loop brings up the previously reported problems.What I do is trying to stabilise the output current, not the voltage.
Yes, indeed, I am new to control theory.It certainly is a solvable problem, but I feel that the OP is quite new to control theory.
Thanks for the link. I have downloaded all documents and will have a look into them.DanyR, you should review documents on lead lag compensation, and familiarize yourself with type I, II, and III error amplifiers. Personally I recommend reading the white papers from Venable (it asks you to give your contact info, feed it garbage if you want), they are quite readable.
Hm. Most of what is said in above quote I do not know/understand yet. I will try to find some documentation.FvM brings up the excellent point of using a rotating reference frame for control (aka cartesian feedback). This works very well when synthesizing sinewaves, since a sinewave has zero bandwidth, regardless of its frequency. Though this requires knowing how to use frequency mixers, or a microcontroller, it's basically the ideal solution so long as your output needs to be sinusoidal (and your load is linear!).
How can I achieve this?I will try to make the whole loop to have a better open loop gain at 50Hz, preserving the phase margin of above circuit.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?