SlideShare uma empresa Scribd logo
1 de 39
Baixar para ler offline
1awu080821
Heat Control System
Energy flow controled heating for buildings
Talk at ESUG 2008
Amsterdam
by Alfred Wullschleger
Pgas
boiler
tk
mixer
Pmix
radiators
tHouse
dissipation
PRadiators
2awu080821
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Title: Heat Control System
Energy flow controled heating for buildings
Talk at ESUG 2008 Amsterdam
by Alfred Wullschleger
This presentation has been prepared by Alfred Wullschleger,
Switzerland
The concepts, hard- and software for heat control systems presented
here
have been developed by the author.
The unauthorized use of these materials is prohibited.
If you want to use these materials please contact the author via
wully at bluewin dot ch
awu080821, 39 Pages including this copyright notice
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0
iQA/AwUBSK1tX3YHxtwTzCMTEQIYdACdHt/hmj/Y9HaDnH+Ct1rU7cd8DikAnie6
wXQ1EvjWQaSYSBzE7VjTmeJ7
=ZE3l
-----END PGP SIGNATURE-----
3awu080821
Where to start?
Analyse the heating system that is installed
4awu080821
Central heating boiler
Heating boiler
tk
Gas valve
Gas
Mixer
Outgoing flow to radiatorsReturning flow
from radiators
Pump on/off
open/close/off
on/off
all
Control
by 230V
switching:
4 relays
tvtr
tkmtkr
Gas burner
5awu080821
how to control?
● outgoing temperature tv to radiators is basic for
heat flow to the building.
● Typically, 30C <= tv <= 55C
● Important restriction: boiler temperature tk
should not be below tkmin = 40C (condensation
produces corrosion)
● so, mixer needed!
● Two main actuators: gas valve and mixer
position
6awu080821
single family house: physical facts
● boiler typically has <10 liters content
● radiators typically have 300 to 500 liters
– so,
heat capacity of radiators >> heat capacity boiler
– requires carefull mixing
● maintain tk > tkmin by mixer angle and by gas
power
7awu080821
Control Unit example (CU1)
● commercially built control unit
– controls boiler temperature by hysterisis:
● tk varies between tkLower (gas burner starts) and
tkUpper (gas burner stops) depending on tv calculated
– heat flow to radiators is controled by mixer
● since the mixer is very inert, tk rises very fast: gas valve
closes within short time. Then tk drops very fast: after
some seconds, tkLower is reached and gas valve starts
again
8awu080821
Measured heat up behaviour CU1
tk
tkm
tv
tr
ti
ta
Time
T
e
m
p
40
20min
80
0
9awu080821
Properties CU1
● tk swings heavily below 40C during 40 to 50
minutes after cold start
– condensation + corrosion may result
● the mixer is not efficiently used
– heat flow is not steady, but burst wise
– this produces the heavy temperature swings of tk
– the gas valve is switched on and off far to many
times within short periods (each tk-peak represents
an on/off-cycle)
10awu080821
The Challenge
Make a better Control Unit!
11awu080821
New Control Unit CU2
● Require tk > tkmin=40C at all times apart from
3-4 minutes when boiler is starting cold
● Hardware:
– Standard PC + USB + self constructed interface
electronics
● Software:
– Smalltalk + DLL's
– Simulator fully independent of hardware
● in Smalltalk
12awu080821
Interface hardware CU2
Heating
boiler
interface electronics
temperature sensors
actuator relays
Minilab 1008
USB module
to PC
MiniITX
PC
Minilab1008:
8 AD-Channels
28 prog. I/O-Bits
2 DA-Channels
calibrated temp sensorsrelay board
MiniITX used
for development
and tests
will be
replaced by board
with less energy
consumption
13awu080821
Temperature sensors CU2
● Boiler water temp tk
● Outgoing water temp (to radiators) tv
● Return water temp (from radiators) tr
● Outdoor temp ta
● Room temp ti
● Others:
– boiler to mixer tkm
– boiler from mixer tkr Heating boiler
tv
tk
tkmtkr
tr
14awu080821
● Physical controlling of the heating process is
done by relay switching:
– Gas valve on/off
– Pump on/off
– Mixer motion open/close/off
– 4 relays needed to control the 230V switches
● The software uses temperature sensor informa-
tion, the heating model and the actuators to run
the heating process
Actuators CU2
15awu080821
Software
● Interface to hardware via DLL for Minilab1008
– supplied by manufacturer
● All control done in Smalltalk
● User interface in Smalltalk
● Sockets for remote operation
● Simulation of all hardware
– uses an energy flow model
– runs 10 times faster than
real system
DLL for Minilab1008
Smalltalk:
a Process
- reads sensors
- calculates tvcalc
- sets actuators
once every second
16awu080821
Local and Remote Software
– Heat Control done on a board near the heating
boiler
– User Interface implemented on this board for local
use
– Same User Interface also remote avaliable through
Socket communication
– can use any computer in LAN to control the system
Smalltalk on
board near to
Heating Boiler
Smalltalk on
any Computer
in LAN
LAN
TCP/IP
17awu080821
Heating model
Goal:
smooth running
energy saving
by minimizing mixing entropy
18awu080821
Temperature requirements
● tk > tkmin whenever the boiler is active
● Idea: distinguish 3 phases
– Early heat up from cold boiler: tk < tkmin
– Intermediate heat up: tk > tkmin & tv < tvcalc
(tvcalc = tv as calculated by heating model)
– Normal running, when tv >= tvcalc
● Keep mixing entropy small:
– tk should be near to tv, whenever possible
– not easy for all boiler states and all temperatures tk
and tv
19awu080821
Emin: minimal energy needed
● we define
– Emin = c*mRadiators * (tvcalc - tv)
● as the minimal energy needed at each moment
● mRadiators is the mass of the water in the house
● c = 4.2 kJ/C/kg the specific heat of water
● tvcalc is the required tv as function of ta
– Emin < 0: there is an energy reserve in the house
20awu080821
Gas valve control
● When Emin > 0, the gas valve is never closed:
this results in heating up phases, where the
burner may run for hours without interruption,
when needed.
– During this time, only the mixer controls tk and the
flow of energy to the radiators
● When Emin <= 0, the gas valve is controled in a
hysterisis fashion:
– 0 > Emin > EminMaximumReserve
● EminMaximumReserve ~ -10MJ:
– chosen for appropriate on/off-intervals for the gas valve
21awu080821
The 3 Phases:
Characteristics and
typical runs
22awu080821
Phase 1: Early heat up (cold boiler)
● Close mixer completely as long as tk < tkmin
– very fast heat up to tkmin (below 4 minutes)
– tk > tkmin: start opening mixer
● build up some energy in boiler, by rising tk > 50-60C
● control tk by opening mixer step by step to a installation
dependent maximum. Gas valve always open!
● Switch to intermediate heat up after 900
seconds
23awu080821
typical cold start heat up
mixer angle
tk
tv
0
45
90
24awu080821
Phase2: Intermediate heat up
● characterized by Emin > 0 (tv < tvcalc)
● Gas valve always open
● heat transfer controled by mixer alone
● mixer is very inert: 106 seconds from 0 to 90
degrees
● mixer moves sparsely by monitoring tk and
using time constants. Small changes each time
– gives very good behavior of heating up
25awu080821
typical intermediate heat upintermediate heat upGas valve
tk
tv
26awu080821
Phase3: Normal running
● defined by Emin <=0 (tv >= tvcalc)
● Normal running has two modes:
– tvcalc < tkmin (Lower mode)
– tvcalc >= tkmin (Upper mode)
● Upper Mode:
– since tvcalc >= tkmin, the mixer can be left fully
open (90 degrees)
– no mixer control necessary
– control simply by gas valve
27awu080821
typical upper mode
note: tk near tv ==> mixing entropy small
tk tv
28awu080821
compare with CU1
high mixing entropy!
unnecessary mixer motion
29awu080821
Lower Mode
● defined by
– Emin <=0 (tv >= tvcalc)
– tvcalc < tkmin
● Problem: when gas valve is off, we have to
close the mixer so far, that tkmin is maintained
– for each cycle we must open and close the mixer
– more complexity in control
– try to narrow the range of mixer angles to reduce
motion
– mixing entropy not as small as in Upper Mode
30awu080821
typical lower mode
tk is rising because steel block contains energy
that is heating up the boiler water because of the low mixing angle
that effect helps maintaining tk > tkmin
tv
tk
31awu080821
Simulation
Simulation and real runs
influence one another
for refinement
32awu080821
Simulation
● Implementation of important physical facts
● One can study the control software without risk
● Trade Off - Simulation implementation versus real runs
● but not every problem is efficiently solved by simulation
● understanding of the physical effects important for good
simulation
● Smalltalk helps a lot, to change behaviour
during real runs.
– Refinement of simulation according to results
● Demonstration...
33awu080821
Very Important:
Safety measures
34awu080821
fundamental safety measures
● 1. Avoid steam!
– guaranteed by a software
independent bimetal
switch, which turns off the
gas valve when tkm >= 80C
– in addition guaranteed by
safety measures in the
boiler primary controls
(safety temperature limitor,
but switches only at 110C)
35awu080821
auxiliary safety measures
● 2. all 230V switches
are monitored by self-
made optocouplers
(including gas valve
fault, bimetal switch)
– so, software can
detect problems and
react appropriately
36awu080821
PC and electronics: powerfail safe
● 3. Power fail for MiniITX avoided by Pb-battery
supply
– automatic switching to battery power, when mains
goes down
● critical to avoid hangup of the computer (seeEURO 08)!
– battery maintenance automatized in software
● software controled battery switching for test
● once every 6 month, battery must be decharged and
recharged to maintain high lifetime
– currently under construction
37awu080821
CU2 failure: use CU1
●When CU2 fails, we can simply switch to CU1 by
exchanging a 10pole plug with a dummy plug:
38awu080821
Future
● Refinement of control
– further reduction of tk in heating up
– better control in lower mode
– standardisation for parametrisation of the whole
heating model
● Reduction of power consumption of the local
board (MiniITX uses > 25 Watt input)
● Implement other central heating controls
– combination with solar heating
39awu080821
Summary
● CU2 much better than CU1
● Smalltalk: wonderfull environment
– change control behaviour during real run!
– quick development: this is a constant truth over all
my projects in the last 16 years
● Simulation helps to understand problems
● Combination of hardware decisions, electronics
and Smalltalk is a lot of fun
● Questions?

Mais conteúdo relacionado

Mais procurados

Economiser & air preheater
Economiser & air preheaterEconomiser & air preheater
Economiser & air preheater
dishti7
 
Refrigeration And Air Conditioning
Refrigeration And Air ConditioningRefrigeration And Air Conditioning
Refrigeration And Air Conditioning
Saurabh Jain
 
Boiler
BoilerBoiler
Boiler
avik
 
Steam Generation Units (boilers) with their mountings and accessories
Steam Generation Units (boilers) with their mountings and accessoriesSteam Generation Units (boilers) with their mountings and accessories
Steam Generation Units (boilers) with their mountings and accessories
Ridwanul Hoque
 

Mais procurados (20)

High pressure boilers (1)
High pressure boilers (1)High pressure boilers (1)
High pressure boilers (1)
 
Regrigeratio cycle
Regrigeratio cycleRegrigeratio cycle
Regrigeratio cycle
 
Compact heat exchangers
Compact heat exchangersCompact heat exchangers
Compact heat exchangers
 
Biomass power plant overview - Global energy private limited
Biomass power plant overview - Global energy private limitedBiomass power plant overview - Global energy private limited
Biomass power plant overview - Global energy private limited
 
VAIBHAV MODIFIED SOLAR POWER REFRIGERATOR
VAIBHAV MODIFIED SOLAR POWER REFRIGERATORVAIBHAV MODIFIED SOLAR POWER REFRIGERATOR
VAIBHAV MODIFIED SOLAR POWER REFRIGERATOR
 
Fire protection system...
Fire protection system...Fire protection system...
Fire protection system...
 
Economiser & air preheater
Economiser & air preheaterEconomiser & air preheater
Economiser & air preheater
 
VRF system presentation !
VRF system presentation !VRF system presentation !
VRF system presentation !
 
Refrigeration And Air Conditioning
Refrigeration And Air ConditioningRefrigeration And Air Conditioning
Refrigeration And Air Conditioning
 
How to Maintain Fire Protection System
How to Maintain Fire Protection SystemHow to Maintain Fire Protection System
How to Maintain Fire Protection System
 
presentation on expansion devices
presentation on expansion devicespresentation on expansion devices
presentation on expansion devices
 
Thermal Power Plants
Thermal Power PlantsThermal Power Plants
Thermal Power Plants
 
Heat recovery steam generator (HRSG) condition monitoring methods
Heat recovery steam generator (HRSG) condition monitoring methodsHeat recovery steam generator (HRSG) condition monitoring methods
Heat recovery steam generator (HRSG) condition monitoring methods
 
Water and fire tube boilers
Water and fire tube boilersWater and fire tube boilers
Water and fire tube boilers
 
02 hap-4 4-systems-CARRIER
02 hap-4 4-systems-CARRIER02 hap-4 4-systems-CARRIER
02 hap-4 4-systems-CARRIER
 
Load estimation in Air Conditioning
Load estimation in Air ConditioningLoad estimation in Air Conditioning
Load estimation in Air Conditioning
 
Energy conservation Activites of thermal power plant
Energy conservation Activites of thermal power plantEnergy conservation Activites of thermal power plant
Energy conservation Activites of thermal power plant
 
TM Module 2
TM Module 2TM Module 2
TM Module 2
 
Boiler
BoilerBoiler
Boiler
 
Steam Generation Units (boilers) with their mountings and accessories
Steam Generation Units (boilers) with their mountings and accessoriesSteam Generation Units (boilers) with their mountings and accessories
Steam Generation Units (boilers) with their mountings and accessories
 

Destaque

DESIGN OF GEOSYNCHRONOUS AND SUN SYNCHRONOUS ORBIT
DESIGN OF GEOSYNCHRONOUS AND SUN SYNCHRONOUS ORBITDESIGN OF GEOSYNCHRONOUS AND SUN SYNCHRONOUS ORBIT
DESIGN OF GEOSYNCHRONOUS AND SUN SYNCHRONOUS ORBIT
Shahid Iqbal
 
passive techniques
passive techniquespassive techniques
passive techniques
Anvita Jain
 

Destaque (15)

Solar geometry libro base.
Solar geometry libro base. Solar geometry libro base.
Solar geometry libro base.
 
DESIGN OF GEOSYNCHRONOUS AND SUN SYNCHRONOUS ORBIT
DESIGN OF GEOSYNCHRONOUS AND SUN SYNCHRONOUS ORBITDESIGN OF GEOSYNCHRONOUS AND SUN SYNCHRONOUS ORBIT
DESIGN OF GEOSYNCHRONOUS AND SUN SYNCHRONOUS ORBIT
 
Mahoney's table
Mahoney's tableMahoney's table
Mahoney's table
 
Building Climatology - HEAT
Building Climatology - HEATBuilding Climatology - HEAT
Building Climatology - HEAT
 
Climatology
ClimatologyClimatology
Climatology
 
1. climatology factors and elements
1. climatology factors and elements1. climatology factors and elements
1. climatology factors and elements
 
Climatology
ClimatologyClimatology
Climatology
 
Thermal comfort
Thermal comfortThermal comfort
Thermal comfort
 
Themal comfort
Themal comfortThemal comfort
Themal comfort
 
Climate Factors Ppt
Climate Factors PptClimate Factors Ppt
Climate Factors Ppt
 
Passive cooling
Passive coolingPassive cooling
Passive cooling
 
NATURAL VENTILATION LITERATURE AND CASE STUDY IN INDIA (DISSERTATION OF THESI...
NATURAL VENTILATION LITERATURE AND CASE STUDY IN INDIA (DISSERTATION OF THESI...NATURAL VENTILATION LITERATURE AND CASE STUDY IN INDIA (DISSERTATION OF THESI...
NATURAL VENTILATION LITERATURE AND CASE STUDY IN INDIA (DISSERTATION OF THESI...
 
Passive cooling-techniques
Passive cooling-techniquesPassive cooling-techniques
Passive cooling-techniques
 
passive techniques
passive techniquespassive techniques
passive techniques
 
Tropical Climate
Tropical ClimateTropical Climate
Tropical Climate
 

Semelhante a Heat Control System

Automatic temperature control using 8085 microprocessor
Automatic temperature control using 8085 microprocessorAutomatic temperature control using 8085 microprocessor
Automatic temperature control using 8085 microprocessor
subhradeep mitra
 
Temperature based speed control of fan
Temperature based speed control of fanTemperature based speed control of fan
Temperature based speed control of fan
Çdh Suman
 
Automation of cstr using microcontroller gp11
Automation of cstr using microcontroller gp11Automation of cstr using microcontroller gp11
Automation of cstr using microcontroller gp11
Amitesh Kumar
 
Sontex Supercal 539 Heat Meter - Spec Sheet
Sontex Supercal 539 Heat Meter - Spec SheetSontex Supercal 539 Heat Meter - Spec Sheet
Sontex Supercal 539 Heat Meter - Spec Sheet
Thorne & Derrick UK
 
AccuThermo AW 410 Rapid Thermal Processing Equipment
AccuThermo AW 410 Rapid Thermal Processing EquipmentAccuThermo AW 410 Rapid Thermal Processing Equipment
AccuThermo AW 410 Rapid Thermal Processing Equipment
Peter Chen
 

Semelhante a Heat Control System (20)

Tlc esta
Tlc estaTlc esta
Tlc esta
 
AccuThermo AW 820V Vacuum Rapid Thermal Anneal Equipment
AccuThermo AW 820V Vacuum  Rapid Thermal Anneal EquipmentAccuThermo AW 820V Vacuum  Rapid Thermal Anneal Equipment
AccuThermo AW 820V Vacuum Rapid Thermal Anneal Equipment
 
Sterilization Unit
Sterilization UnitSterilization Unit
Sterilization Unit
 
New microsoft power point slide
New microsoft power point slideNew microsoft power point slide
New microsoft power point slide
 
Automatic temperature control using 8085 microprocessor
Automatic temperature control using 8085 microprocessorAutomatic temperature control using 8085 microprocessor
Automatic temperature control using 8085 microprocessor
 
Automatic temperature control
Automatic temperature control Automatic temperature control
Automatic temperature control
 
E top controls thermostat catalog
E top controls thermostat catalogE top controls thermostat catalog
E top controls thermostat catalog
 
Automatic temp controller
Automatic temp controllerAutomatic temp controller
Automatic temp controller
 
HIU Design Guide
HIU Design GuideHIU Design Guide
HIU Design Guide
 
Steam Boiler Sequence Of Operation
Steam Boiler Sequence Of OperationSteam Boiler Sequence Of Operation
Steam Boiler Sequence Of Operation
 
Temperature based speed control of fan
Temperature based speed control of fanTemperature based speed control of fan
Temperature based speed control of fan
 
Benchtop Thermal Forcing System - FlexTC
Benchtop Thermal Forcing System - FlexTCBenchtop Thermal Forcing System - FlexTC
Benchtop Thermal Forcing System - FlexTC
 
Eta draco series reflow oven
Eta draco series reflow ovenEta draco series reflow oven
Eta draco series reflow oven
 
Eta draco series reflow oven
Eta draco series reflow ovenEta draco series reflow oven
Eta draco series reflow oven
 
Eta draco series reflow oven
Eta draco series reflow ovenEta draco series reflow oven
Eta draco series reflow oven
 
Automation of cstr using microcontroller gp11
Automation of cstr using microcontroller gp11Automation of cstr using microcontroller gp11
Automation of cstr using microcontroller gp11
 
Industrial temperature controller 14000
Industrial temperature controller  14000Industrial temperature controller  14000
Industrial temperature controller 14000
 
Sontex Supercal 539 Heat Meter - Spec Sheet
Sontex Supercal 539 Heat Meter - Spec SheetSontex Supercal 539 Heat Meter - Spec Sheet
Sontex Supercal 539 Heat Meter - Spec Sheet
 
AccuThermo AW 410 Rapid Thermal Processing Equipment
AccuThermo AW 410 Rapid Thermal Processing EquipmentAccuThermo AW 410 Rapid Thermal Processing Equipment
AccuThermo AW 410 Rapid Thermal Processing Equipment
 
Mecha-Lec-1-Introducing Mechatronics.pptx
Mecha-Lec-1-Introducing Mechatronics.pptxMecha-Lec-1-Introducing Mechatronics.pptx
Mecha-Lec-1-Introducing Mechatronics.pptx
 

Mais de ESUG

Workshop: Identifying concept inventories in agile programming
Workshop: Identifying concept inventories in agile programmingWorkshop: Identifying concept inventories in agile programming
Workshop: Identifying concept inventories in agile programming
ESUG
 
The Pharo Debugger and Debugging tools: Advances and Roadmap
The Pharo Debugger and Debugging tools: Advances and RoadmapThe Pharo Debugger and Debugging tools: Advances and Roadmap
The Pharo Debugger and Debugging tools: Advances and Roadmap
ESUG
 
Migration process from monolithic to micro frontend architecture in mobile ap...
Migration process from monolithic to micro frontend architecture in mobile ap...Migration process from monolithic to micro frontend architecture in mobile ap...
Migration process from monolithic to micro frontend architecture in mobile ap...
ESUG
 
Analyzing Dart Language with Pharo: Report and early results
Analyzing Dart Language with Pharo: Report and early resultsAnalyzing Dart Language with Pharo: Report and early results
Analyzing Dart Language with Pharo: Report and early results
ESUG
 
Transpiling Pharo Classes to JS ECMAScript 5 versus ECMAScript 6
Transpiling Pharo Classes to JS ECMAScript 5 versus ECMAScript 6Transpiling Pharo Classes to JS ECMAScript 5 versus ECMAScript 6
Transpiling Pharo Classes to JS ECMAScript 5 versus ECMAScript 6
ESUG
 
A Unit Test Metamodel for Test Generation
A Unit Test Metamodel for Test GenerationA Unit Test Metamodel for Test Generation
A Unit Test Metamodel for Test Generation
ESUG
 
Creating Unit Tests Using Genetic Programming
Creating Unit Tests Using Genetic ProgrammingCreating Unit Tests Using Genetic Programming
Creating Unit Tests Using Genetic Programming
ESUG
 
Threaded-Execution and CPS Provide Smooth Switching Between Execution Modes
Threaded-Execution and CPS Provide Smooth Switching Between Execution ModesThreaded-Execution and CPS Provide Smooth Switching Between Execution Modes
Threaded-Execution and CPS Provide Smooth Switching Between Execution Modes
ESUG
 
Exploring GitHub Actions through EGAD: An Experience Report
Exploring GitHub Actions through EGAD: An Experience ReportExploring GitHub Actions through EGAD: An Experience Report
Exploring GitHub Actions through EGAD: An Experience Report
ESUG
 
Pharo: a reflective language A first systematic analysis of reflective APIs
Pharo: a reflective language A first systematic analysis of reflective APIsPharo: a reflective language A first systematic analysis of reflective APIs
Pharo: a reflective language A first systematic analysis of reflective APIs
ESUG
 
Improving Performance Through Object Lifetime Profiling: the DataFrame Case
Improving Performance Through Object Lifetime Profiling: the DataFrame CaseImproving Performance Through Object Lifetime Profiling: the DataFrame Case
Improving Performance Through Object Lifetime Profiling: the DataFrame Case
ESUG
 
Pharo DataFrame: Past, Present, and Future
Pharo DataFrame: Past, Present, and FuturePharo DataFrame: Past, Present, and Future
Pharo DataFrame: Past, Present, and Future
ESUG
 
A New Architecture Reconciling Refactorings and Transformations
A New Architecture Reconciling Refactorings and TransformationsA New Architecture Reconciling Refactorings and Transformations
A New Architecture Reconciling Refactorings and Transformations
ESUG
 

Mais de ESUG (20)

Workshop: Identifying concept inventories in agile programming
Workshop: Identifying concept inventories in agile programmingWorkshop: Identifying concept inventories in agile programming
Workshop: Identifying concept inventories in agile programming
 
Technical documentation support in Pharo
Technical documentation support in PharoTechnical documentation support in Pharo
Technical documentation support in Pharo
 
The Pharo Debugger and Debugging tools: Advances and Roadmap
The Pharo Debugger and Debugging tools: Advances and RoadmapThe Pharo Debugger and Debugging tools: Advances and Roadmap
The Pharo Debugger and Debugging tools: Advances and Roadmap
 
Sequence: Pipeline modelling in Pharo
Sequence: Pipeline modelling in PharoSequence: Pipeline modelling in Pharo
Sequence: Pipeline modelling in Pharo
 
Migration process from monolithic to micro frontend architecture in mobile ap...
Migration process from monolithic to micro frontend architecture in mobile ap...Migration process from monolithic to micro frontend architecture in mobile ap...
Migration process from monolithic to micro frontend architecture in mobile ap...
 
Analyzing Dart Language with Pharo: Report and early results
Analyzing Dart Language with Pharo: Report and early resultsAnalyzing Dart Language with Pharo: Report and early results
Analyzing Dart Language with Pharo: Report and early results
 
Transpiling Pharo Classes to JS ECMAScript 5 versus ECMAScript 6
Transpiling Pharo Classes to JS ECMAScript 5 versus ECMAScript 6Transpiling Pharo Classes to JS ECMAScript 5 versus ECMAScript 6
Transpiling Pharo Classes to JS ECMAScript 5 versus ECMAScript 6
 
A Unit Test Metamodel for Test Generation
A Unit Test Metamodel for Test GenerationA Unit Test Metamodel for Test Generation
A Unit Test Metamodel for Test Generation
 
Creating Unit Tests Using Genetic Programming
Creating Unit Tests Using Genetic ProgrammingCreating Unit Tests Using Genetic Programming
Creating Unit Tests Using Genetic Programming
 
Threaded-Execution and CPS Provide Smooth Switching Between Execution Modes
Threaded-Execution and CPS Provide Smooth Switching Between Execution ModesThreaded-Execution and CPS Provide Smooth Switching Between Execution Modes
Threaded-Execution and CPS Provide Smooth Switching Between Execution Modes
 
Exploring GitHub Actions through EGAD: An Experience Report
Exploring GitHub Actions through EGAD: An Experience ReportExploring GitHub Actions through EGAD: An Experience Report
Exploring GitHub Actions through EGAD: An Experience Report
 
Pharo: a reflective language A first systematic analysis of reflective APIs
Pharo: a reflective language A first systematic analysis of reflective APIsPharo: a reflective language A first systematic analysis of reflective APIs
Pharo: a reflective language A first systematic analysis of reflective APIs
 
Garbage Collector Tuning
Garbage Collector TuningGarbage Collector Tuning
Garbage Collector Tuning
 
Improving Performance Through Object Lifetime Profiling: the DataFrame Case
Improving Performance Through Object Lifetime Profiling: the DataFrame CaseImproving Performance Through Object Lifetime Profiling: the DataFrame Case
Improving Performance Through Object Lifetime Profiling: the DataFrame Case
 
Pharo DataFrame: Past, Present, and Future
Pharo DataFrame: Past, Present, and FuturePharo DataFrame: Past, Present, and Future
Pharo DataFrame: Past, Present, and Future
 
thisContext in the Debugger
thisContext in the DebuggerthisContext in the Debugger
thisContext in the Debugger
 
Websockets for Fencing Score
Websockets for Fencing ScoreWebsockets for Fencing Score
Websockets for Fencing Score
 
ShowUs: PharoJS.org Develop in Pharo, Run on JavaScript
ShowUs: PharoJS.org Develop in Pharo, Run on JavaScriptShowUs: PharoJS.org Develop in Pharo, Run on JavaScript
ShowUs: PharoJS.org Develop in Pharo, Run on JavaScript
 
Advanced Object- Oriented Design Mooc
Advanced Object- Oriented Design MoocAdvanced Object- Oriented Design Mooc
Advanced Object- Oriented Design Mooc
 
A New Architecture Reconciling Refactorings and Transformations
A New Architecture Reconciling Refactorings and TransformationsA New Architecture Reconciling Refactorings and Transformations
A New Architecture Reconciling Refactorings and Transformations
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Heat Control System

  • 1. 1awu080821 Heat Control System Energy flow controled heating for buildings Talk at ESUG 2008 Amsterdam by Alfred Wullschleger Pgas boiler tk mixer Pmix radiators tHouse dissipation PRadiators
  • 2. 2awu080821 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Title: Heat Control System Energy flow controled heating for buildings Talk at ESUG 2008 Amsterdam by Alfred Wullschleger This presentation has been prepared by Alfred Wullschleger, Switzerland The concepts, hard- and software for heat control systems presented here have been developed by the author. The unauthorized use of these materials is prohibited. If you want to use these materials please contact the author via wully at bluewin dot ch awu080821, 39 Pages including this copyright notice -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 iQA/AwUBSK1tX3YHxtwTzCMTEQIYdACdHt/hmj/Y9HaDnH+Ct1rU7cd8DikAnie6 wXQ1EvjWQaSYSBzE7VjTmeJ7 =ZE3l -----END PGP SIGNATURE-----
  • 3. 3awu080821 Where to start? Analyse the heating system that is installed
  • 4. 4awu080821 Central heating boiler Heating boiler tk Gas valve Gas Mixer Outgoing flow to radiatorsReturning flow from radiators Pump on/off open/close/off on/off all Control by 230V switching: 4 relays tvtr tkmtkr Gas burner
  • 5. 5awu080821 how to control? ● outgoing temperature tv to radiators is basic for heat flow to the building. ● Typically, 30C <= tv <= 55C ● Important restriction: boiler temperature tk should not be below tkmin = 40C (condensation produces corrosion) ● so, mixer needed! ● Two main actuators: gas valve and mixer position
  • 6. 6awu080821 single family house: physical facts ● boiler typically has <10 liters content ● radiators typically have 300 to 500 liters – so, heat capacity of radiators >> heat capacity boiler – requires carefull mixing ● maintain tk > tkmin by mixer angle and by gas power
  • 7. 7awu080821 Control Unit example (CU1) ● commercially built control unit – controls boiler temperature by hysterisis: ● tk varies between tkLower (gas burner starts) and tkUpper (gas burner stops) depending on tv calculated – heat flow to radiators is controled by mixer ● since the mixer is very inert, tk rises very fast: gas valve closes within short time. Then tk drops very fast: after some seconds, tkLower is reached and gas valve starts again
  • 8. 8awu080821 Measured heat up behaviour CU1 tk tkm tv tr ti ta Time T e m p 40 20min 80 0
  • 9. 9awu080821 Properties CU1 ● tk swings heavily below 40C during 40 to 50 minutes after cold start – condensation + corrosion may result ● the mixer is not efficiently used – heat flow is not steady, but burst wise – this produces the heavy temperature swings of tk – the gas valve is switched on and off far to many times within short periods (each tk-peak represents an on/off-cycle)
  • 10. 10awu080821 The Challenge Make a better Control Unit!
  • 11. 11awu080821 New Control Unit CU2 ● Require tk > tkmin=40C at all times apart from 3-4 minutes when boiler is starting cold ● Hardware: – Standard PC + USB + self constructed interface electronics ● Software: – Smalltalk + DLL's – Simulator fully independent of hardware ● in Smalltalk
  • 12. 12awu080821 Interface hardware CU2 Heating boiler interface electronics temperature sensors actuator relays Minilab 1008 USB module to PC MiniITX PC Minilab1008: 8 AD-Channels 28 prog. I/O-Bits 2 DA-Channels calibrated temp sensorsrelay board MiniITX used for development and tests will be replaced by board with less energy consumption
  • 13. 13awu080821 Temperature sensors CU2 ● Boiler water temp tk ● Outgoing water temp (to radiators) tv ● Return water temp (from radiators) tr ● Outdoor temp ta ● Room temp ti ● Others: – boiler to mixer tkm – boiler from mixer tkr Heating boiler tv tk tkmtkr tr
  • 14. 14awu080821 ● Physical controlling of the heating process is done by relay switching: – Gas valve on/off – Pump on/off – Mixer motion open/close/off – 4 relays needed to control the 230V switches ● The software uses temperature sensor informa- tion, the heating model and the actuators to run the heating process Actuators CU2
  • 15. 15awu080821 Software ● Interface to hardware via DLL for Minilab1008 – supplied by manufacturer ● All control done in Smalltalk ● User interface in Smalltalk ● Sockets for remote operation ● Simulation of all hardware – uses an energy flow model – runs 10 times faster than real system DLL for Minilab1008 Smalltalk: a Process - reads sensors - calculates tvcalc - sets actuators once every second
  • 16. 16awu080821 Local and Remote Software – Heat Control done on a board near the heating boiler – User Interface implemented on this board for local use – Same User Interface also remote avaliable through Socket communication – can use any computer in LAN to control the system Smalltalk on board near to Heating Boiler Smalltalk on any Computer in LAN LAN TCP/IP
  • 17. 17awu080821 Heating model Goal: smooth running energy saving by minimizing mixing entropy
  • 18. 18awu080821 Temperature requirements ● tk > tkmin whenever the boiler is active ● Idea: distinguish 3 phases – Early heat up from cold boiler: tk < tkmin – Intermediate heat up: tk > tkmin & tv < tvcalc (tvcalc = tv as calculated by heating model) – Normal running, when tv >= tvcalc ● Keep mixing entropy small: – tk should be near to tv, whenever possible – not easy for all boiler states and all temperatures tk and tv
  • 19. 19awu080821 Emin: minimal energy needed ● we define – Emin = c*mRadiators * (tvcalc - tv) ● as the minimal energy needed at each moment ● mRadiators is the mass of the water in the house ● c = 4.2 kJ/C/kg the specific heat of water ● tvcalc is the required tv as function of ta – Emin < 0: there is an energy reserve in the house
  • 20. 20awu080821 Gas valve control ● When Emin > 0, the gas valve is never closed: this results in heating up phases, where the burner may run for hours without interruption, when needed. – During this time, only the mixer controls tk and the flow of energy to the radiators ● When Emin <= 0, the gas valve is controled in a hysterisis fashion: – 0 > Emin > EminMaximumReserve ● EminMaximumReserve ~ -10MJ: – chosen for appropriate on/off-intervals for the gas valve
  • 22. 22awu080821 Phase 1: Early heat up (cold boiler) ● Close mixer completely as long as tk < tkmin – very fast heat up to tkmin (below 4 minutes) – tk > tkmin: start opening mixer ● build up some energy in boiler, by rising tk > 50-60C ● control tk by opening mixer step by step to a installation dependent maximum. Gas valve always open! ● Switch to intermediate heat up after 900 seconds
  • 23. 23awu080821 typical cold start heat up mixer angle tk tv 0 45 90
  • 24. 24awu080821 Phase2: Intermediate heat up ● characterized by Emin > 0 (tv < tvcalc) ● Gas valve always open ● heat transfer controled by mixer alone ● mixer is very inert: 106 seconds from 0 to 90 degrees ● mixer moves sparsely by monitoring tk and using time constants. Small changes each time – gives very good behavior of heating up
  • 25. 25awu080821 typical intermediate heat upintermediate heat upGas valve tk tv
  • 26. 26awu080821 Phase3: Normal running ● defined by Emin <=0 (tv >= tvcalc) ● Normal running has two modes: – tvcalc < tkmin (Lower mode) – tvcalc >= tkmin (Upper mode) ● Upper Mode: – since tvcalc >= tkmin, the mixer can be left fully open (90 degrees) – no mixer control necessary – control simply by gas valve
  • 27. 27awu080821 typical upper mode note: tk near tv ==> mixing entropy small tk tv
  • 28. 28awu080821 compare with CU1 high mixing entropy! unnecessary mixer motion
  • 29. 29awu080821 Lower Mode ● defined by – Emin <=0 (tv >= tvcalc) – tvcalc < tkmin ● Problem: when gas valve is off, we have to close the mixer so far, that tkmin is maintained – for each cycle we must open and close the mixer – more complexity in control – try to narrow the range of mixer angles to reduce motion – mixing entropy not as small as in Upper Mode
  • 30. 30awu080821 typical lower mode tk is rising because steel block contains energy that is heating up the boiler water because of the low mixing angle that effect helps maintaining tk > tkmin tv tk
  • 31. 31awu080821 Simulation Simulation and real runs influence one another for refinement
  • 32. 32awu080821 Simulation ● Implementation of important physical facts ● One can study the control software without risk ● Trade Off - Simulation implementation versus real runs ● but not every problem is efficiently solved by simulation ● understanding of the physical effects important for good simulation ● Smalltalk helps a lot, to change behaviour during real runs. – Refinement of simulation according to results ● Demonstration...
  • 34. 34awu080821 fundamental safety measures ● 1. Avoid steam! – guaranteed by a software independent bimetal switch, which turns off the gas valve when tkm >= 80C – in addition guaranteed by safety measures in the boiler primary controls (safety temperature limitor, but switches only at 110C)
  • 35. 35awu080821 auxiliary safety measures ● 2. all 230V switches are monitored by self- made optocouplers (including gas valve fault, bimetal switch) – so, software can detect problems and react appropriately
  • 36. 36awu080821 PC and electronics: powerfail safe ● 3. Power fail for MiniITX avoided by Pb-battery supply – automatic switching to battery power, when mains goes down ● critical to avoid hangup of the computer (seeEURO 08)! – battery maintenance automatized in software ● software controled battery switching for test ● once every 6 month, battery must be decharged and recharged to maintain high lifetime – currently under construction
  • 37. 37awu080821 CU2 failure: use CU1 ●When CU2 fails, we can simply switch to CU1 by exchanging a 10pole plug with a dummy plug:
  • 38. 38awu080821 Future ● Refinement of control – further reduction of tk in heating up – better control in lower mode – standardisation for parametrisation of the whole heating model ● Reduction of power consumption of the local board (MiniITX uses > 25 Watt input) ● Implement other central heating controls – combination with solar heating
  • 39. 39awu080821 Summary ● CU2 much better than CU1 ● Smalltalk: wonderfull environment – change control behaviour during real run! – quick development: this is a constant truth over all my projects in the last 16 years ● Simulation helps to understand problems ● Combination of hardware decisions, electronics and Smalltalk is a lot of fun ● Questions?