Step response for a DC motor with a transient load
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Tom
il 1 Mar 2016
Commentato: Sebastian Castro
il 4 Mar 2016
I'm attempting to find the step response for a DC motor with a position-dependent load.
i.e., the motor is driving an arm, there is no load until the position reaches a critical value (arm hits a wall), and then the motor is prevented from spinning.
I have tried opening up the step function in MatLab, but it seems to work by calling itself.
Does anyone have any possible advice about how to do this? Ideally I would write my own step function in a loop where the torque was updated.
Thanks in advance,
0 Commenti
Risposta accettata
Sebastian Castro
il 2 Mar 2016
Modificato: Sebastian Castro
il 2 Mar 2016
Depends on how you want to model this system. Assuming you want to stay in MATLAB and are not looking at Simulink,
If you want your inputs to a time-invariant linear system to change over time, you can use the lsim function and provide your own input time history. [ documentation link ]
If you additionally want the DC motor model to have parameters/dynamics that change over time, you can take a more involved approach using linear parameter-varying (LPV) systems.
- Sebastian
2 Commenti
Sebastian Castro
il 4 Mar 2016
Yes -- there is a pid function in MATLAB. You can connect the result of this with any other linear system representation (state-space, transfer function, etc.)
Più risposte (0)
Community
Più risposte nel Power Electronics Control
Vedere anche
Categorie
Scopri di più su PID Controller Tuning in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!