Please enable JavaScript to view this site.

TEMES 1.0

Navigation: More Advanced Steps

Calculated Signals: Bang-Bang Controller

Scroll Prev Top Next More

A bang-bang controller is realized in this section to demonstrate the calculated signals. This example requires only one voltage input signal called T (lin) for the temperature. The output signal is Cnt which is either 0 or 1 to control a relay.

 

F1: C = 0 (op3, C1 = 0)

F2: C = 1 (op3, C1 = 1)

F3: C = 7°C (op3, C1 = 12454)

F4: C = 8°C (op3, C1 = 12670)

F5: T <= 7°C (op11, S1 = "T (lin)", S2 = "C = 7°C")

F6: T >= 8°C (op11, S1 = "C = 8°C", S2 = "T (lin)")

F7: Cnt (op20)

F8: Cnt == 0 (op9, S1 = "Cnt", S2 = "C = 0")

F9: Cnt == 1 (op9, S1 = "Cnt", S2 = "C = 1")

F10: Cnt == 0 && T >= 8°C (op14, S1 = "Cnt == 0", S2 = "T >= 8°C")

F11: Procedure (op21, S1 = "Cnt", S2 = "Cnt == 0 && T >= 8°C")

F12: Cnt == 1 && T <= 7°C (op14, S1 = "Cnt == 1", S2 = "T <= 7°C")

F13: Procedure (op22, S1 = "Cnt", S2 = "Cnt == 1 && T <= 7°C")