Component: Oven Simulation (Scenarios)

From Flowcode Help
Jump to navigationJump to search
Author Matrix TSL
Version 1.0
Category Scenarios


Oven Simulation component

Component designed to provide a simple simulation of a real world oven. Can be used with a simple controller such as on/off to create a standard kitchen oven. Can be used with a more complex controller such as PID to create a high accuracy temperature oven e.g. a SMD reflow oven.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_OvenSim.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_OvenSim.fcfx

Detailed description

No detailed description exists yet for this component

Examples

An example showing 4 x 7seg LED's counting up using timer 2 interrupt

FC6 Icon.png 7Segment Demo







Macro reference

OutputAnalogue

Fc9-comp-macro.png OutputAnalogue
Switch the oven element partially on, probably using something like PWM connected via a TRIAC or FET. 
Fc9-f32-icon.png - FLOAT Value
Range: 0.0 (OFF) to 1.0 (ON) 
Fc9-void-icon.png - VOID Return


OutputOff

Fc9-comp-macro.png OutputOff
Switch the oven element off, probably using something like a relay. 
Fc9-void-icon.png - VOID Return


OutputOn

Fc9-comp-macro.png OutputOn
Switch the oven element on, probably using something like a relay. 
Fc9-void-icon.png - VOID Return


ReadElementTemperature

Fc9-comp-macro.png ReadElementTemperature
Reads the temperature of the heater element 
Fc9-f32-icon.png - FLOAT Return


ReadOvenTemperature

Fc9-comp-macro.png ReadOvenTemperature
Reads the air temperature inside the oven 
Fc9-f32-icon.png - FLOAT Return


ReadPowerUsage

Fc9-comp-macro.png ReadPowerUsage
Reads the ovens power consumption in KWh. 
Fc9-f32-icon.png - FLOAT Return


ResetPowerUsage

Fc9-comp-macro.png ResetPowerUsage
Resets the recorded power usage to 0KWh 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties
Fc9-type-5-icon.png Element Control Pin
 
Fc9-conn-icon.png Thermal Characteristics
Fc9-type-15-icon.png Ambient Room Temperature
Temperature of the surrounding environment 
Fc9-type-15-icon.png Max Element Temperature
Max temperature of the heater element when activated. 
Fc9-type-15-icon.png Element to Oven Coefficient
Ratio of the heat from the element passed to the heat of the air inside the oven per second. 
Fc9-type-15-icon.png Element Heat Coefficient
Ratio of the max element temperature added to the element when powered on per second. 
Fc9-type-15-icon.png Oven to Ambient Coefficient
Ratio of the oven temperature lost to ambient per second. 
Fc9-conn-icon.png Electrical Characteristics
Fc9-type-15-icon.png Control Voltage AC (V)
Voltage used to drive the heater element in VAC 
Fc9-type-15-icon.png RMS Voltage (V)
The effective constant voltage being applied 
Fc9-type-15-icon.png Element Resistance (Ohm)
Resistance of the element in Ohms 
Fc9-type-15-icon.png Control Current (A)
 
Fc9-type-15-icon.png Instantaneous Power (W)
 
Fc9-conn-icon.png Simulation
Fc9-type-21-icon.png Calculation Period (ms)