Is it possible to use the Frequency Response Estimation Block in order to measure a real plant?
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I am trying to obtain the Frequency Response of a Buck Converter using the Frequency Response Estimator Block (FRE) from Simulink Control Design Library.
I am using the following hardware:
- C2000 Digital Power Buck Converter BoosterPackfrom Texas Instruments: https://www.ti.com/tool/BOOSTXL-BUCKCONV
- TMS320F280049C LaunchPad from Texas Instruments: https://www.ti.com/tool/LAUNCHXL-F280049C
I have used the Simulink Embedded Coder Support Package for Texas Instruments C2000 Processors in order to create two simulink files:
- target.slx: Configure and generate code for the Buck converter and load it to the controller (target)
- host.slx: Graphical User Interface run on host computer which communicates with target via CAN interface
First I have tried to integrate the Frequency Response Estimation Block first on target.slx ( the generation gives no error but I cannot import the frequency response data to matlab/visualize it). What am I doing wrong here?
Then I tried to use it in host.slx (here the problem is with sending the sinusoidal perturbed duty cycle from the FRE block from the GUI(host) to DSP(target) accurately (via CAN interface) and sending the ADC measurement of the output voltage from DSP(target) to GUI(host) - these signals vary very fast and cannot be accurately sent.).
Is there a way to use this block in order to obtain the Frequency Response of a real Buck Converter?
0 个评论
回答(1 个)
Brahmadev
2024-2-7
When using the 'Frequency Response Estimator' block for an unstable plant, online estimation works in a closed-loop configuration, provided that the closed loop is internally stable. Using the approach mentioned in the following example in target.slx should allow estimation of frequency response. Alternatively, offline estimation can be done after recieving the data.
You can refer to the following MathWorks documentation for more information:
Hope this helps in resolving your query!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!