Difference between revisions of "Component: On/Off Control (DSP Operators)"
(8 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
==Component Source Code== | ==Component Source Code== | ||
+ | |||
+ | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_DSP_OnOffControl.fcfx FC_Comp_Source_DSP_OnOffControl.fcfx] | ||
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_DSP_OnOffControl.fcfx FC_Comp_Source_DSP_OnOffControl.fcfx] | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_DSP_OnOffControl.fcfx FC_Comp_Source_DSP_OnOffControl.fcfx] | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 44: | Line 52: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 95: | Line 109: | ||
As with other DSP components the raw signals and values can be seen in the data recorder and console windows. | As with other DSP components the raw signals and values can be seen in the data recorder and console windows. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==Macro reference== | ||
+ | |||
+ | ===Process=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 186: | Line 139: | ||
+ | ===ProcessArray=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 197: | Line 151: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
− | |||
− | |||
Latest revision as of 10:26, 20 October 2023
Author | Matrix Ltd |
Version | 1.2 |
Category | DSP Operators |
Contents
On/Off Control component
On/Off Control - Standard on off control as used on most ovens, toasters, irons.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_DSP_OnOffControl.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_DSP_OnOffControl.fcfx
Detailed description
No detailed description exists yet for this component
Examples
Here is a project file showing an on off control system for a system such as an electric oven.
The setpoint is set via an analogue input which controls the desired temperature of the system.
In this first example the feedback is provided using the simulated load DSP component which simply takes a percentage of the last output and combines with a percentage of the new output.
This allows easy moddeling of systems such as ovens that heat up and cool down over time which allows you to see the system in action.
You assign a setpoint and then the system will get to temperature and then maintain the output by automatically switching the output on and off.
When the feedback is less then the setpoint minus the hysteresis then the output is switched on.
When the feedback is more then the setpoint then the output is switched off.
On Off Control Simulated Output Example
In this second example the feedback is provided via a temperature sensor component. This shows how you would do it with a real system using a sensor to complete the feedback loop.
As with other DSP components the raw signals and values can be seen in the data recorder and console windows.
Macro reference
Process
![]() |
Process |
Processes the current value from a buffer. | |
![]() |
Return |
ProcessArray
![]() |
ProcessArray |
Processes an entire buffer, either by performing the control operation to every value in the buffer or just the last value. | |
![]() |
Return |