Implementing temperature varying parameters in simulink and MATLAB
Ältere Kommentare anzeigen
Hello,
I'm currently trying to model a DC Motor in MATLAB 2015a with temperature varying parameters. The parameters here are the resistance of the armature (R_a) and the motor constant (K_m). The goal is to implement a model which accurately represents the variation of these parameters with temperature during the operation of the motor (an initial reference model if you will, something which would accurately reflect the measured values). The end goal is to develop a parameter estimator which will correctly predict the variation of the above mentioned parameters.
Ideally I would like the temperature to vary with the simulation time in Simulink, so that I could then write a few if-else condition statements in a MATLAB script which would then select the correct motor parameters to reflect the temperature change.
How do I implement a "Temperature signal" in Simulink which changes with the simulation time?
Thanks in advance,
Vijay
Akzeptierte Antwort
Weitere Antworten (1)
Mark McBroom
am 19 Mär. 2016
0 Stimmen
Have you considered using the clock block to get current simulation time?
1 Kommentar
Vijaya Bhaskar
am 19 Mär. 2016
Bearbeitet: Vijaya Bhaskar
am 19 Mär. 2016
Kategorien
Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!