how to model an electric heating element
14 views (last 30 days)
Show older comments
Hi all.
I am trying to model an electric heating element for a university project I'm completing in matlab.
The heating element is 15W, 24V DC and has the following properties, R=23.1, L=32mH, C=30pF. I have derived the transfer function from these values as 1.04e+12 /(s^2+721.87s+1.04e+12) from the standard TF equation. I have simulated this in matlab and it shows an underdamped response as zeta = 3.53e-4. (is less then 1)
I have also wired the physical heating element up to my PLC and have recorded the actual open loop output response (bump test) via feedback from a thermocouple set at maximum 70 degree Celsius, please see attached image. Note the PID block was added to experiment with the output settings.
The ultimate aim of the project is to measure the performance of the physical system against the matlab simulation. However I can't seem to get the simulated response to look anything like actual system response.
I have looked on some of the help content within and have seen some reference to heat transfer calculations or similar but I'm unsure how I would implement that within my model.
Really liking the tool though! Any advice/ assistance would be much appreciated.
Thanks Jamie


2 Comments
Answers (1)
jamie8286
on 7 Feb 2020
2 Comments
Alex
on 16 Mar 2020
The reason your MATLAB and Simulink model shows disappearances is that they use different equations solvers.
Although Simulink may be more advanced in this regard and its equations solvers need to sometimes be modified based on some results that you may get.
Simulink for example sets the default solver to a variable step auto solver, that dose not do a good job showcasing oscillations on plots, to over come this change the equation solver settings.
-Go to the gear icon in the toolbar
-Solver
-Solver selection - type fixed
-Fixed step size – 0.001 (can try some other small sizes)
-Solver – any one would work really as long as its not the autosolver
Hope this helps
Alex
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



