Difference between revisions of "Component: Control (DSP)"

From Flowcode Help
Jump to navigationJump to search
(XML import of components for release)
(XML import of component help)
Line 16: Line 16:
  
 
==[[File:Component Icon e6dd1315_4acf_4fb5_abd9_5743d3715cbe.png|Image]] Control component==
 
==[[File:Component Icon e6dd1315_4acf_4fb5_abd9_5743d3715cbe.png|Image]] Control component==
Allows for several types of control operations to be performed on a buffer
+
Allows for several types of control operations to be performed on a buffer.
 +
On/Off - Standard on off control as used on most overs, toasters, irons.
 +
P/PI/PID - Mathematical control process to get to the setpoint as fast as possible, similar to the process in the human brain when steering a car.
  
 
==Examples==
 
==Examples==

Revision as of 17:02, 11 November 2013


Author Matrix Ltd
Version 1.2
Category DSP


Image Control component

Allows for several types of control operations to be performed on a buffer. On/Off - Standard on off control as used on most overs, toasters, irons. P/PI/PID - Mathematical control process to get to the setpoint as fast as possible, similar to the process in the human brain when steering a car.

Examples

No additional examples


Downloadable macro reference

Process

Processes an entire buffer, either by performing the control operation to every value in the buffer or just the last value.

Parameters

INT Setpoint
Value to specify the required control setpoint


Return value

This call does not return a value


ProcessTick

Processes the current value from a buffer.

Parameters

INT Setpoint
Value to specify the required control setpoint


Return value

This call does not return a value


Simulation macro reference

This component does not contain any simulation macros


Property reference

Buffer Manager

This property is of type Fixed list of ints and can be referenced with the variable name buffer_manager.

DSP buffer manager to get the buffers from

Feedback

This property is of type Fixed list of ints and can be referenced with the variable name input_a.

Feedback buffer - used to pass the feedback reading into the control algorythm.

Output

This property is of type Fixed list of ints and can be referenced with the variable name output_c.

Output buffer - used to pass the control output values from the control algorythm.

Process

This property is of type Fixed list of ints and can be referenced with the variable name style.

Selects whether to process the entire buffer or just a single value when calling the Process macro

Method

This property is of type Fixed list of ints and can be referenced with the variable name method.

Specifies which control method will be used to process the buffer data

Proportional

This property is of type Signed integer and can be referenced with the variable name proportional.

P coefficient used to perform the Proportional calculation

Integral

This property is of type Signed integer and can be referenced with the variable name integral.

I coefficient used to perform the Integral calculation

Derivative

This property is of type Signed integer and can be referenced with the variable name derivative.

D coefficient used to perform the Derivative calculation