prbs

Purpose:

Generate pseudo random binary sequence

Enter:

prbs <task_priority> <process_interval> <prbs_order> <prbs_out> <prbs_active>

Where:

task_priority

Specify the task priority.

process_interval

Specify the process interval in ms. This is the rate to process the computations.

prbs_order

Specify the PRBS order (limited between 2 and 16).

NOTE: PRBS_period = 2 * (2m – 1) * Ts, where m is the selected order and Ts is the sampling period; 1/PRBS_period should be a frequency 5-10 times lower than the frequency of interest.

prbs_out

Specify the output variable of PRBS to be used as a FF term in the controller for system ID.

prbs_active

The active ON/OFF flag; specify the name of the logical variable which represents the flag.

Example:

prbs 19 40 8 prbs_out prbs_active &

Notes:

Sampling rate should correspond to 4-5 times the significant frequency.

PRBS_period = 2 * (2m – 1) *Ts, where m is the selected order and Ts is the sampling period; 1/PRBS_period should be a frequency 5-10 times lower than the frequency of interest.

See Also: