PID control action for AC reference of variable amplitude and frequency.
17 次查看(过去 30 天)
显示 更早的评论
i have seen example of controlling output dc voltage of DC to DC buck converter using PID controller. I want to implement DC to AC converter. I tried using PID controller. Since i am comparing output AC signal(continuously varying) with reference sinusoidal signal, PID controller is not providing expected output. In case of DC to DC, both reference signal was constant. In my case, it is continuously varying sine wave. Can anyone suggest any way to get accurate DC to AC conversion? i changed kp and ki parameters to get needed response. it is working well. but, when i change frequency of input reference signal, output signal amplitude drops and again i have to change PID parameters. P.S. when i change frequency of input reference signal, again i have to change PID gain parameters. Can PID controller work with continuously varying reference signal(in terms of amplitude and frequency both) ?
0 个评论
回答(1 个)
Sebastian Castro
2015-6-25
编辑:Sebastian Castro
2015-6-25
You need to do the PID control on a frame that rotates with the AC waveform. In other words, you need to find a way to measure your output signal and transform it to components either in phase or out of phase with the target sinusoid. This is commonly known as a d-q (direct-quadrature) transform.
Once you have these values, which should not oscillate at the AC frequency, you can use PID control. Then, you have to convert back to the oscillating frame to generate your inverter pulses.
The following paper might have way too much detail, but it's the best I found:
- Sebastian
5 个评论
Gordon
2024-6-12
You could have just used the rms block to take the rms as the reference instead of the varying sine wave.
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!