- #1
Maniac_XOX
- 86
- 5
*** MENTOR NOTE: This thread was moved from another forum to this forum hence no homework template.
Summary:: Trying to find transfer functions to design a block diagram on simulink with a PID controller and transfer functions for a water tank system.
----EDIT---
The variables and parameters presented are:
H, height measured in m
T, temperature of the water
F_in, flow of water directed inside the tank measured in m^3/hr
F_out, flow of water out of the tank measured in m^2.5/hr
Volume of the tank measured in m^3
A, cross sectional area of the tank measured in m^2
rho, water density measured in kg/m^3
Q, heat input measured in kJ/hr
Voltage, amplifier that makes water flow in, units are not considered as they do not affect equations.
T_in, initial temperature of the water measured in 10C
----ORIGINAL POST---
Bit of a long one, here we go!
The water level equation is known to be:
##\frac {dH}{dt} = (F_{in} Voltage - F_{out} \sqrt {H}) \frac {1}{A}##
whilst the temperature equation is known to be:
##\frac {dT}{dt} = \frac {(F_{in} Voltage)(T_{in}-T)}{Volume} + \frac {Q}{Volume*\rho*C_p} ##
where:
H and T are OUTPUTS;
Voltage is the INPUT;
T_in. F_in, F_out, rho, Cp, Q are parameters;
The target is to find the Transfer Functions G and H respectively, where $$ \text{transfer function, G or H} = \frac {\text{Laplace transform of Output}}{\text {Laplace transform of Input}} = \frac {\theta_o}{\theta_i}$$
After getting the Laplace transforms, substituting all the differential operators with the Laplace operator s to simplify, I cannot manage to find algebraically a Transfer function.
1st equation: $$ AsH_{(s)} + F_{out} \sqrt {H} = (F_{in} Voltage)$$ the problem is the square rooted H, which does not let me factorize the H to achieve an equation of the form ## G = \frac {H_{(s)}}{Voltage}##. I tried achieving it by squaring, thus obtaining a quadratic equation, but finding the roots of H didnt work.
2nd equation: $$s{T_{(s)} + \frac {(F_{in} Voltage)T_{(s)}}{Volume}}= \frac {(F_{in} Voltage)T_{in}}{Volume} + \frac {Q}{Volume*\rho*C_p} $$ the problem is the voltage being on both numerator and denominator of the right hand sign when I factorize the T, therefore being unable to factorize Voltage and get a transfer function in terms of s and parameters only, Voltage is an amplifier and independent variable. Much like the first, am trying to find an equation of the form ## H = \frac {T_{(s)}}{Voltage}##
If you read this far you're a trooper, thank you for any help!
Summary:: Trying to find transfer functions to design a block diagram on simulink with a PID controller and transfer functions for a water tank system.
----EDIT---
The variables and parameters presented are:
H, height measured in m
T, temperature of the water
F_in, flow of water directed inside the tank measured in m^3/hr
F_out, flow of water out of the tank measured in m^2.5/hr
Volume of the tank measured in m^3
A, cross sectional area of the tank measured in m^2
rho, water density measured in kg/m^3
Q, heat input measured in kJ/hr
Voltage, amplifier that makes water flow in, units are not considered as they do not affect equations.
T_in, initial temperature of the water measured in 10C
----ORIGINAL POST---
Bit of a long one, here we go!
The water level equation is known to be:
##\frac {dH}{dt} = (F_{in} Voltage - F_{out} \sqrt {H}) \frac {1}{A}##
whilst the temperature equation is known to be:
##\frac {dT}{dt} = \frac {(F_{in} Voltage)(T_{in}-T)}{Volume} + \frac {Q}{Volume*\rho*C_p} ##
where:
H and T are OUTPUTS;
Voltage is the INPUT;
T_in. F_in, F_out, rho, Cp, Q are parameters;
The target is to find the Transfer Functions G and H respectively, where $$ \text{transfer function, G or H} = \frac {\text{Laplace transform of Output}}{\text {Laplace transform of Input}} = \frac {\theta_o}{\theta_i}$$
After getting the Laplace transforms, substituting all the differential operators with the Laplace operator s to simplify, I cannot manage to find algebraically a Transfer function.
1st equation: $$ AsH_{(s)} + F_{out} \sqrt {H} = (F_{in} Voltage)$$ the problem is the square rooted H, which does not let me factorize the H to achieve an equation of the form ## G = \frac {H_{(s)}}{Voltage}##. I tried achieving it by squaring, thus obtaining a quadratic equation, but finding the roots of H didnt work.
2nd equation: $$s{T_{(s)} + \frac {(F_{in} Voltage)T_{(s)}}{Volume}}= \frac {(F_{in} Voltage)T_{in}}{Volume} + \frac {Q}{Volume*\rho*C_p} $$ the problem is the voltage being on both numerator and denominator of the right hand sign when I factorize the T, therefore being unable to factorize Voltage and get a transfer function in terms of s and parameters only, Voltage is an amplifier and independent variable. Much like the first, am trying to find an equation of the form ## H = \frac {T_{(s)}}{Voltage}##
If you read this far you're a trooper, thank you for any help!
Last edited by a moderator: