Controller Nonlinear State-Space navigation bar

Table of Contents

Dynamic System

This block simulates a dynamic system based on the preset parameters.

Library

QUARC Targets/Continuous

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

Dynamic System

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

Dynamic System

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

QUARC Win32 Target

Yes

Yes

QUARC Win64 Target

Yes

Yes

QUARC Linux Nvidia Target

Yes

Yes

QUARC Linux QBot Platform Target

Yes

Yes

QUARC Linux QCar 2 Target

Yes

Yes

QUARC Linux QDrone 2 Target

Yes

Yes

QUARC Linux Raspberry Pi 3 Target

Yes

Yes

QUARC Linux Raspberry Pi 4 Target

Yes

Yes

QUARC Linux RT ARMv7 Target

Yes

Yes

QUARC Linux x64 Target

Yes

Yes

QUARC Linux DuoVero Target

Yes

Yes

QUARC Linux DuoVero 2016 Target

Yes

Yes

QUARC Linux Verdex Target

Yes

Yes

QUARC QNX x86 Target

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

* Compatible means that the block can be compiled for the target.

 

navigation bar