simulink model for electrically heated tube

1 次查看(过去 30 天)
hi
i figured out the equation describing the electrically heated tube which contains the streams going in and out, the temperature loss to the environment and the heat from the electric wire that is placed between the tube and the isolation.
energy budget: P_in-P_out=dE_th/dt
IN:
stream going into the tube: c_p*m_dot*T_in
electric heater: k_tube*A_contact*deltaT_middle1
OUT:
stream going out of the tube: c_p*m_dot*T_out
heat loss from tube to environment: 2*Pi*l*k_tube&isolation*deltaT_middle2
deltaT_middle1=((T_in-T_wire)-(T_out-T_wire))/ln((T_in-T_wire)/(T_out-T_wire))
deltaT_middle2=((T_in-T_environment)-(T_out-T_environment))/ln((T_in-T_environment)/(T_out-T_environment))
P_in=c_p*m_dot*T_in+k_tube*A_contact*deltaT_middle1
P_out=c_p*m_dot*T_out+2*Pi*l*k_tube&isolation*deltaT_middle2
final equation:
dT_out/dt=(c_p*m_dot*(T_in-T_out)+k_tube*A_contact*deltaT_middle1-2*Pi*l*k_tube&isolation*deltaT_middle2)/c_p*m_dot
the temperature of the stream needs to be constant. the temperature of the environment can be viewed as constant. i want to know the difference between the energy consumption of a pid, pi and a bang-bang controller. the controller shall vary the current of the electric heater.

回答(1 个)

Ryan G
Ryan G 2012-7-6
To find out which one works best simply implement each one in Simulink and log the current to the heater. Compare this for all 3 controllers and you will know which one utilizes the least energy.
You already have a model and the PID blocks have an auto-tune function that should make this relatively simple process.
  5 个评论
Jack
Jack 2012-7-10
编辑:Jack 2012-7-10
I do not know where to connect it. T_out is the temperature I want to influence and T_wire is the temperature that is influenced by the variation of the current. I give a reverence value for T_out to the controller and in my opinion the output is T_wire.
Ryan G
Ryan G 2012-7-10
The output of the controller is going to be current. You will want to connect that wherever the amp input is to the system.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by