Examples - Master and Slave

 

HomeHeatingSystem

A typical example of a control process with a working and a shutdown behaviour. The active behaviour is determined by the current state of a heat management process.

The example shows a part of the ubiquitos HomeHeatingSystem. We present the interaction net and the master-slave hierarchy graph of the HeatControl cluster. Additionaly, the state transition diagrams of the master process Manager and of the slave process H_Controller is shown.

CLUSTER HeatControl
 INTERACTION NET
 MASTER-SLAVE GRAPH
 

 

The H_Controller process interacts with processes controlling the blower, the ignition and the oilflow devices of a heating system. The active mode of this process is determind by the current state of the manager Process.

PROCESS H_Controller

MODE working

 

MODE shutdown

The modes working and shutdown define two behaviours of the H_Controller process. The start and stop pulses are triggers sent by the Manager process. The activate and the deactivate pulse from the Boiler process inform the H_Controller about desired heat.

PROCESS Manager

MODE normal

The process Manager is responsible for startup and shutdown. This process is specified as master of the H_Controller process. Thus the current state of the Manager determines the active mode of the slave H_Controller (MODE SETTING table): When the Manager is in the state lowHeating or highHeating, the H_Controller acts in the working mode. As soon as the Manager goes to the idle state, the H_Controller switches to the shutdown mode. (The low and high pulses sent by the Manager are used to influence the Boiler Process.)

MODE SETTING Manager -> H_Controller

 Manager STATES

 idle  lowHeating  highHeating

 H_Controller MODES

  shutdown  working  working