MotionView User's Guide

Open Loop Controller - Curve

Open Loop Controller - Curve

Previous topic Next topic No expanding text in this topic  

Open Loop Controller - Curve

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Method 1 – Specify curve in the same file under Block name = CURVE.value

[OL_CURVE_BLOCK]

TAG = 'OPENLOOP'

TYPE = 'CURVE'

BLOCK = 'DEMAND_CURVE'

 

[DEMAND_CURVE]

INDEPENDENT_VARIABLE = 'PATH_S'

DEPENDENT_VARIABLE = SIGNAL

INTERPOLATION = 'AKIMA'

(CURVE)

{PATH_S      SIGNAL}

0     100

10    100

20    100

30    0

40    0

50    0

Method 2 – Point to some other file and block containing the curve data

[OL_CURVE_FILE]

TAG = 'OPENLOOP'

TYPE = 'CURVE'

FILE = 'E:\datafiles\brake_signal.txt'

BLOCK = 'BRAKE_CURVE'

Driver searches for the curve data in the BRAKE_CURVE block in the brake_signal.txt file.

[OPENLOOPCONTROLLER - CURVE] - Populates a curve from the data:

TAG

Attr - string

Required

<OPENLOOP >

TYPE

Attr - string

Required

<CURVE >

CURVE

Attr- string

OPTIONAL

Curve data address

If absent:

Method 1 - Specify curve in the same block under CURVE sub-block.

If present:

Method 2 - Curve in the same file under Block name = CURVE.value.
Method 3 - Point to some other file and block containing the curve data.

[DEMAND_CURVE_BLOCK]

INDEPENDENT_VARIABLE

Attr- string

OPTIONAL

Name of the independent column vector.

If absent:

Assumes TIME to be independent variable.

If present:

Interprets INDEPENDENT_VARIABLE.value as independent variable.
Options
oTIME: Simulation time
oPATH_S: Distance traveled along centerline

DEPENDENT_VARIABLE

Attr – string

OPTIONAL

Name of the dependent column vector.

If absent:

Assumes Column 1 to be independent variable.

If present:

Interprets DEPENDENT_VARIABLE.value as independent variable.

INTERPOLATION

Attr- string

OPTIONAL

If absent:

Interpolation scheme = AKIMA

If present:

Interpolation scheme = INTERPOLATION.value.
Options – AKIMA, CUBIC, LINEAR, QUINTIC.
These interpolation schemes are similar to those of MotionSolve.  See the MotionSolve documentation for details on interpolation schemes.

CURVE

Sub-Block

REQUIRED

Contains data table.

[OPENLOOPCONTROLLER - CURVE] -  Populates a curve from the data:

(CURVE)

CURVE_DATA

Table

REQUIRED