Estimation of Input to Transfer Function
显示 更早的评论
Hello,
I want to control 220V 100 Watt "Band Heater", to apply 160 degree celsius on load and control it using PID Controller using on/off Relay, so in order to get Transfer function for this system, i applied 220V to the

heater and record the output values in array and send them to MATLAB, but in order to get transfer function i have to specify input/output for the system, so i specify the output(temperature), but i couldn't specify the exact input to the system. So my question is:
What is the exact input to this system in order to identify it in MATLAB?
回答(1 个)
Ameer Hamza
2020-4-20
Since you applied a constant voltage of 220V, so you should create a vector with all values 220 and the same size and y2. Then use it as input for transfer function estimation.
x2 = 220*ones(size(y2));
define this in MATLAB workspace, and input x2 in the input field.
10 个评论
Omar Khalifa
2020-4-20
Ameer Hamza
2020-4-20
It depends on what is your input. Are you controlling the voltage or power?
Omar Khalifa
2020-4-20
Ameer Hamza
2020-4-20
I guess in that case, you can use the 0 and 1 signal of relay switch as input. Input is anything that can control be controlled. So you can just use input value equal to when switch is ON and zero when it is OFF.
Omar Khalifa
2020-4-20
编辑:Omar Khalifa
2020-4-20
Ameer Hamza
2020-4-20
I guess the number is small because, in the case of switching, the input variable will only vary between 0 and 1. Whereas, in the case of power, it can vary from 0 to 100. I am sure, apart from that, the final solution should be the same. Can you share the response of your system in a .mat file?
Omar Khalifa
2020-4-20
Ameer Hamza
2020-4-20
Omar, the first problem I can see in your recorded temperature array Temperature_Output is that it contains insufficient data to estimate a transfer function. You should at least record data to the point that the curve becomes horizontal like shown in the figure below

Omar Khalifa
2020-4-20
编辑:Omar Khalifa
2020-4-20
Ameer Hamza
2020-4-21
Correct. That will give enough data to estimate an accurate transfer function.
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!