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

66 ビュー (過去 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 Center および File ExchangeVibration Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by