MakerSpace Amiens

Project Methodology

Session 3: functional breakdown

Adrien Bracq

On the agenda

  1. Function or solution?
  2. Breaking the machine down
  3. The interfaces and the specification
  4. Keeping a trace
2UniLaSalle Amiens

Where are you at?

  • The specification: have the levels been approved by the whole team?
  • Existing solutions: does etudes.md contain solutions with their sources?

Not finished yet? That is not a blocker. Today’s breakdown will precisely bring out functions to add to the specification: a project moves forward in loops, not as a waterfall.

The life cycle of a project

3UniLaSalle Amiens

Function or solution?

What the product must do, before how it does it

Imagine a cat food dispenser

Whole room2 min

It feeds the cat by itself, at a set time, and warns when the tank is empty.

You have to design and build it: what do you put inside?

5UniLaSalle Amiens

What you have just done

A breakdown into components. It works, and it is concrete. But:

  • You missed the real subject: what the machine must do
  • The cat helping itself? The power cut? Forgotten
  • Each component is already a choice, made without comparing anything
  • You feel you are going fast, but you are prisoners of your choices

To choose is to give something up: you may as well know what.

6UniLaSalle Amiens

To choose is to give something up: where it comes from

“The necessity of choosing was always unbearable to me; to choose seemed to me not so much to select as to reject what I did not select.”

André Gide, Les Nourritures terrestres (The Fruits of the Earth, 1897)

The short French saying “choisir, c’est renoncer” is the version of this idea that everyday language has kept.

6.1UniLaSalle Amiens

What it means

  • The reality of choice: selecting one option (a job, a place to live, a person) mechanically forces you to set aside all the other possibilities
  • The vertigo of loss: this saying often causes anxiety, a feeling of grief for the “parallel lives” you could have lived
  • The trap of not choosing: refusing to choose for fear of giving something up often means enduring a choice by default, which scatters energy and creates mental fatigue
6.2UniLaSalle Amiens

Changing perspective

  • Giving up in order to move forward: seeing what you give up not as an amputation or a failure, but as actively opening a path chosen with full awareness
  • Leaving the fantasy behind: the ideal option that only exists in the imagination costs nothing, but reality asks you to commit in order to take charge of your own life

In a project, the mechanics are the same.

6.3UniLaSalle Amiens

What is it for?

Answers we often hear, and the question to ask for each one.

Component What it is for
Motor and auger Measure out and deliver the portion
Arduino Decide when to serve
Clock module Know what time it is
Ultrasonic sensor Measure the level of the tank
Screen and buttons Communicate with the owner
3D printed container Store and protect the food
7UniLaSalle Amiens

Thinking in functions

A function: a verb and an object, never a component.

graph LR
    G[Feed the cat without the owner] --> A[Know when to serve]
    G --> B[Measure out and deliver the portion]
    G --> C[Store and protect the food]
    A --> A1[Know the time]

FAST diagram: to the right “how?”, to the left “why?”

From functions to solutions: the FAST diagram

8UniLaSalle Amiens

Breaking the machine down

One big problem is several small problems

Why break it down

  • Share out the work: one subsystem, one lead
  • Look for solutions part by part, not for the whole machine at once
  • Test separately: you validate the doser before having the rest
  • Document clearly: one page per subsystem in conception/

The template already provides for it: conception/index.md starts with the overall architecture, and the roles in equipe.md can follow this breakdown.

Building and organising your team

10UniLaSalle Amiens

How to break it down

  1. Tell the story of its use: from switching on to the end, one sentence per step
  2. Underline the verbs: each one is a function
  3. Group what works together: 4 to 7 blocks, not 20
  4. Draw the links: what powers, controls or carries what

No need for a finished specification: you only need to know what the machine must do. Three blocks often forgotten: the power supply, what carries the machine, and the way the user controls it.

11UniLaSalle Amiens

The dispenser scenario

  1. The owner sets the time and the portion on a small screen
  2. At 8 am, the machine knows it is time and decides to serve
  3. It drops the food from the tank and measures out the portion
  4. The food arrives in the bowl, without falling beside it
  5. Tank almost empty: it warns the owner
  6. The cat must not be able to help itself

The scenario fits in six sentences, and no component appears in it.

12UniLaSalle Amiens

The block diagram of the dispenser

graph LR
    U[Communicate with<br/>the owner] -->|time, portion| C[Decide<br/>when to serve]
    P[Sense the time<br/>and the level] --> C
    C -->|alert| U
    C --> D[Measure out<br/>and deliver]
    A[Power] --> C
    A --> D
    S[Store and protect<br/>the food] --- D

Six blocks, and still no component: hatch or auger, clock or Wi-Fi, that is the work of session 4.

13UniLaSalle Amiens

Activity: break your machine down

By team if possible30 minPaper or PC

  1. Write the use scenario: 5 to 8 sentences, from switching on to the end
  2. Underline the verbs
  3. Group into 4 to 7 blocks: one verb and one object per box
  4. Draw the block diagram: one arrow per link

Several members of the same team in the room? Work together. A component name in a box: what is it for?

14UniLaSalle Amiens

The interfaces and the specification

Where the blocks touch

One arrow, one interface

Each arrow of your diagram is a place where two blocks must agree. In the dispenser:

  • It attaches: the outlet of the tank must fit onto the doser
  • It plugs in: the power supply must provide the voltage the doser expects
  • It is exchanged: the dialogue must send the time and the portion in a form the decision block understands

If two people each design a block without talking to each other, this is where it breaks on assembly day. So each interface has a lead.

16UniLaSalle Amiens

What the breakdown says about your specification

  • A block with no function in the specification: a forgotten function, to add with its criterion and its level
  • A function with no block: a block forgotten in your diagram
  • Example: “Store and protect the food” becomes “the cat does not open the tank”

The breakdown is a V0: it will move with the specification, and that is normal.

Defining your need

17UniLaSalle Amiens

Keeping a trace

The logbook, at every session

Activity: the logbook for this session

Individual8 minOn a PC

  • Done: your use scenario and your block diagram
  • Why: the groupings chosen, the interfaces spotted
  • Still to do: the functions to add to the specification, what the team has to settle

Add a photo or a screenshot of your diagram: it is the basis of the overall architecture.

Keeping a logbook

19UniLaSalle Amiens

Before the next session

With your project team

  1. Pool your breakdowns in conception/index.md, section Architecture globale (overall architecture)
  2. Complete objectifs.md with the functions that the breakdown brought out
  3. In equipe.md, one lead per subsystem and per interface
  4. For your subsystem, two existing solutions in etudes.md

Next session: choosing the solutions for each subsystem, and organising the work on GitHub.

Researching existing solutions Communicating as a team

20UniLaSalle Amiens
UniLaSalle Amiens, Demain commence ici