Implementing temperature varying parameters in simulink and MATLAB
Mostra commenti meno recenti
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
Risposta accettata
Più risposte (1)
Mark McBroom
il 19 Mar 2016
0 voti
Have you considered using the clock block to get current simulation time?
1 Commento
Vijaya Bhaskar
il 19 Mar 2016
Modificato: Vijaya Bhaskar
il 19 Mar 2016
Categorie
Scopri di più su Simulink in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!