Table of Contents
Dynamic System
This block simulates a dynamic system based on the preset parameters.
Library
MATLAB Command Line
Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:
qc_open_library('quarc_library/Continuous')Description
The Dynamic System block simulates a dynamic system based on the preset parameters. This block also
makes on-line parameter updating possible by providing external ports for system parameters (when External input port
is set in
Source of parameters.)
Input Ports
force
Force (in N) applied to the system.
m
Mass (in kg) of the system. This port only appears when Source of parameters is set to
External input port
.
damping
Damping ratio of the system. This port only appears when Source of parameters is set to
External input port
.
x0
Initial position of the system. This port only appears when Source of parameters is set to
External input port
.
v0
Initial velocity of the system. This port only appears when Source of parameters is set to
External input port
.
Output Ports
x
Current position of the system.
v
Current velocity of the system.
Parameters and Dialog Box
Source of parameters
Specifies the source of parameters of the selected controller. The options are
Specify via dialog
and External input port
.
Mass (tunable online)
Mass (in kg) of the system. This parameter only appears when Source of parameters is set to
Specify via dialog
.
Damping (tunable online)
Damping ratio of the system. This parameter only appears when Source of parameters is set to
Specify via dialog
.
Initial position (tunable online)
Initial position of the system. This parameter only appears when Source of parameters is set to
Specify via dialog
.
Initial velocity (tunable online)
Initial velocity of the system. This parameter only appears when Source of parameters is set to
Specify via dialog
.
Targets
Target Name |
Compatible* |
Model Referencing |
Comments |
---|---|---|---|
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
Last fully supported in QUARC 2018. |
|
Rapid Simulation (RSIM) Target |
Yes |
Yes |
|
S-Function Target |
No |
N/A |
Old technology. Use model referencing instead. |
Normal simulation |
Yes |
Yes |
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.