SYS-016: The Station shows the pours with bubbles and light
Context
The bottles of a Pod are hidden (SYS-015), so the Guests no longer see an ingredient flow. Station and Pods are separate (SYS-001). A Pod joins the Station only by power (IF-03), by data (IF-01) and by the drink tubes (IF-06), and these cables and tubes are its mechanical link (IF-07). The Pods should stand hidden wherever there is room, and the machine should look the same with any number of Pods. The Station already knows every pour, because it starts each pour and gets the event when it ends (System protocol page).
Decision Drivers
-
Attraction: the machine should be a show for the Guests. This is a product wish, and no quality goal covers it, so the goals below are limits that the effects must keep.
-
No effect on the drinks: an effect or its fault never stops or delays a drink (QG-03).
-
No harm from the show front: a liquid of the show front never reaches the electronics or a drink, and a state that it holds after a fault stays harmless (QG-01).
-
No protocol change: the effects need no change to the protocol between the Station and the Pods (QG-06).
Quality Goals
-
QG-03: A fault of the effects never stops or delays a drink, and the effects never block the Station.
-
QG-01: The hardware of the effects may hold a liquid next to the electronics of the Station.
-
QG-06: No Pod knows about the effects, so the protocol and the Pod firmware stay as they are, and the effect logic lives in one place.
Decision
The Station is everything that the Guest sees, and the Pods stand hidden. The Station shows each pour to the Guests with bubbles and light, on its show front. The Station software computes every effect and sends direct commands to the show front (IF-09). The show front only carries out these commands, and a command or a fault of it never blocks the execution context of the Station or delays a drink (STA-005). The show front draws its power from the Power Management Unit (IF-02). No Pod knows about the effects, and the protocol of IF-01 does not change. How the show front is built is left to the mechanical design.
Alternatives Considered
Effects on each Pod
Each Pod shows its own pours, and its Pod controller drives the effects.
Rejected: the look of the machine would depend on the number of Pods and on where they stand, and a Pod would get a second job besides pouring.
A show front with its own effect logic
The Station sends only events such as "a pour of an ingredient starts", and a controller in the show front turns them into effects.
Rejected: the mechanical design delivers hardware and bought parts and no software, and the effects follow the events of the Station most directly in the Station software.
Consequences
-
Good: The Station looks the same with any number of Pods, and the Pods stand hidden anywhere.
-
Good: The protocol and the Pod firmware do not change.
-
Good: Every effect changes in the Station software alone.
-
Bad: The Station gets one more output, the link to the show front.
-
Bad: The show front may hold a liquid next to the electronics of the Station, and its leak protection is not designed yet.
-
Bad: An effect lags the pour by the time a message takes over the link to the show front.
-
Bad: After a fault of the Station the show front keeps its last state until someone switches the machine off. That state must stay harmless (IF-09-R05).