Prof. Dr. Thorsten Jungmann (last updated 2026-11-02)

Relates to DET-05 Codes, code converters and standard components

Task

In our example system, the energy manager tells the heat pump over the two switching signals and of Smart Grid Ready (SG Ready) what it wants: block (1:0), normal operation (0:0) or boost (0:1). The controller turns the two signals into its operating states. In simplified form, you follow this path from the energy manager to the hot water.

The energy manager has three inputs, of which exactly one is to be 1: for normal operation, for boost and for block. Its encoder delivers the outputs and , which drive the signals and .

a) Design the encoder: set up the truth table with don’t cares, and give the minimized expressions of and .

b) By mistake, block and boost are requested at the same time. What does your encoder send, and what would this code word mean?

c) Change the encoder so that block has priority over boost, and and can never be 1 at the same time. Give the expressions.

The controller side is given as a simulation. A 2-to-4 decoder with a lockout forms the outputs (normal operation), (boost) and , as in the lesson. In boost, the hot water is heated to the upper set point of 54.0 °C instead of the normal 52.5 °C; multiplexers with the select input choose between the two set points. For the hot water, the input is the hot-water demand. It is passed on as only if there is no block. A 1-to-2 demultiplexer routes to the heat pump that is defined for hot water: to for and to for .

Simulation of the controller side: a 2-to-4 decoder with a lockout for the signals A and B, and a demultiplexer that routes the hot-water demand to heat pump 1 or heat pump 2 unless the heat pump is blocked; with A at 0 and B at 1, the boost output is active
Simulation of the controller side: a 2-to-4 decoder with a lockout for the signals A and B, and a demultiplexer that routes the hot-water demand to heat pump 1 or heat pump 2 unless the heat pump is blocked; with A at 0 and B at 1, the boost output is active

Open in the simulator

d) Fill in the gaps for the signals and . Check the outputs of the decoder in the simulation.

Code word meansSelected set point
00normal operation10052.5 °C
01boost0
10block0
11start command, locked out

e) Fill in the gaps for the hot water. Check your table in the simulation.

Row
0000000
1001
20101
301101
4100
510100
61100
71110

f) In which rows does a heat pump go on heating the house while the other one heats the hot water? In which rows does neither of them receive a demand, even though , and why?