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

66 visualizaciones (últimos 30 días)
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 comentario
Sam Chak
Sam Chak el 22 de Nov. de 2023
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

Iniciar sesión para comentar.

Respuestas (3)

William Rose
William Rose el 16 de Nov. de 2023
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 comentarios
Keaton Looper
Keaton Looper el 30 de Nov. de 2023
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 el 1 de Dic. de 2023
Keaton, can you share what you tried that didn’t work? Thanks. I am traveling and don’t have a computer with Matlab.

Iniciar sesión para comentar.


William Rose
William Rose el 24 de Nov. de 2023
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 el 24 de Nov. de 2023
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

Categorías

Más información sobre Vibration Analysis en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by