How can I work on simulink with symbolic representation variable ?

10 visualizzazioni (ultimi 30 giorni)
I want to create a transfer function using block diagram in simulink, e.g [1/(J*s+k)] . but when I linearise the system, Matlab is giving me the following error :
Invalid setting in 'untitled/Subsystem/Subsystem/Transfer Fcn' for parameter 'Denominator'.
Component:Simulink Control Design | Category:Linearization error
Error evaluating parameter 'Denominator' in 'untitled/Subsystem/Subsystem/Transfer Fcn'
Component:Simulink Control Design | Category:Linearization error
Undefined function or variable 'J'.
Component:Simulink Control Design | Category:Linearization error

Risposta accettata

Walter Roberson
Walter Roberson il 8 Ott 2017
The only part of MATLAB that supports symbolic variables in transfer functions is the Symbolic Toolbox -- and for that purpose "supports" just means that the symbolic toolbox has laplace transforms and fourier transforms, not that it has specific routines for control systems.
Within Simulink the closest you can get is tunable blocks. Those are transfer function representations in which you can change the value of a parameter, but that at any given time the parameter has a definite value.
  2 Commenti
Anshuman S
Anshuman S il 8 Ott 2017
Does that mean I can't make a closed loop transfer function diagram with symbolic variables in order to calculate the systems open loop transfer function in symbolic variables ?
Walter Roberson
Walter Roberson il 8 Ott 2017
It means you cannot do it in Simulink, or using the Control Systems Toolbox in MATLAB. It might not be all that convenient using the Symbolic Toolbox, especially operations such as "linearise"
Now, if what you wanted was to create a transfer function with a parameter and you wanted Simulink to respond dynamically as you altered that parameter, with the parameter always having a defined "current" value, then there are some nice facilities for that, including facilities for tuning the parameter to get particular outputs.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by