Implementing temperature varying parameters in simulink and MATLAB
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (1)
Mark McBroom
el 19 de Mzo. de 2016
0 votos
Have you considered using the clock block to get current simulation time?
1 comentario
Vijaya Bhaskar
el 19 de Mzo. de 2016
Editada: Vijaya Bhaskar
el 19 de Mzo. de 2016
Categorías
Más información sobre Simulink en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!