필터 지우기
필터 지우기

Estimating transfer function of a system with input and output values as well as kp and ki values

조회 수: 37 (최근 30일)
I am trying to estimate the transfer function of a heat transfer system I am studying. I have the input voltage value and the output corresponding voltage for the temperature sensor. I am using set Kp and Ki values for the system. Is there a way for matlab to calculate the transfer function based and the input, output, and kp and ki values?
  댓글 수: 1
Sam Chak
Sam Chak 2023년 11월 22일
Based on your description of the Thermal System, I think that the block configuration looks as shown in the image below. To make it easier for @William Rose to guide you in identifying the Thermal System, can you provide the data of Control Voltage in Scope 1 (Vc) and the Output Voltage in Scope 2 (Vo)? I presume that the values for Kp and Ki are fixed.
Terminology:
  • Tr = Reference temperature
  • Vr = Reference voltage
  • Ve = Error voltage
  • Vc = Control voltage (measured input)
  • Vo = Output voltage (measured output)
  • u = Heat from the heating element (energy supplied to the thermal system)
  • y = Output temperature of the thermal system

댓글을 달려면 로그인하십시오.

답변 (3개)

William Rose
William Rose 2023년 11월 16일
Yes you can.
You can estimate the overall transfer function from Vin(t) to Vout(t) by using tfestimate(), if you have the signal processing toolbox. If you don't have that toolbox, then compute the Fourier transforms of Vin and Vout. Then compute complex ratio Vout(f)/Vin(f) at each frequency. This the (estimate of) the overall transfer function.
Since you mention kp and ki, you must referring to a negative feedback control system. Maybe you want to estimate the open loop transfer function. Let's call it G(f). The overall transfer function which you computed above is .
You know H(f), right? It is, therefore . So you use the known H(f) and the estimated , and you solve for G(f). That leaves a little for you to work out on your own. Good luck!
  댓글 수: 35
Keaton Looper
Keaton Looper 2023년 11월 30일
i am tyring to graph the data and the estimates but i am unable to get it to graph based on the new Tsim2 function
William Rose
William Rose 2023년 12월 1일
Keaton, can you share what you tried that didn’t work? Thanks. I am traveling and don’t have a computer with Matlab.

댓글을 달려면 로그인하십시오.


William Rose
William Rose 2023년 11월 24일
Keaton, what do you get if you analyze the new data with code used to analyze the earlier data? What differences between the transfer functions of the old and new data stand out to you?

Branko
Branko 2023년 11월 24일
I am also a student and would like to simulate a heating system with a heat pump.
The heat pump is controlled as on/off or by adjusting the inflow curve from -5 C to 5 C.
Can you please help me with instructions on how to start building the system.
Thank you.
Regards,
Branko

카테고리

Help CenterFile Exchange에서 Vibration Analysis에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by