Sorting conveyor sensors: experiment bench
Sorting conveyor sensors
Tune belt speed and sensor thresholds so a conveyor drops 100 parts into the right bins, and see the speed–accuracy trade-off.
- 1. Ask
- 2. Hypothesise
- 3. Set up
- 4. Run
- 5. Record
- 6. Change one variable
- 7. Compare
- 8. Interpret
- 9. Limitations & save
If I change …, then … will …, because …
3 · Set up the parameters
Faster means more parts per minute but fewer colour samples per part.
Readings at or above this count as red.
Parts at least this long count as large.
Three sensors vote; one faulty reading is outvoted.
1 more control appear at higher levels; until then it stays at the default value.
The seed fixes any random noise. Same parameters + same seed = exactly the same result, every time, on every computer.
6 · Change one variable
Your first run is the baseline. After it, change one thing at a time.
7 · Compare on a graph
5 · Run log
No runs yet.
Equations
The colour sensor averages n = ⌊200 Hz × 0.05 m / v⌋ samples, so its noise is σ/√n with σ = 30.
Majority vote of three sensors each wrong with probability p: P(wrong) = 3p²(1 − p) + p³.
Assumptions (always true in this model)
- Sensor figures are illustrative.
- Part kinds and their mix are fixed; the rule table is the correct one for the BUILD 003 parts.
- Metal detector misses 1 % and false-alarms 0.5 % of the time.
Text description of what the chart shows
A line chart over the 100 parts in a batch: the running accuracy settles to a final percentage, which is higher at slow belt speeds and lower at fast ones. A second series shows each part's colour reading, which scatters more at higher speeds.
Did the result support your hypothesis? Use the numbers from the comparison table and link them to an equation.
Which assumptions could change your answer in the real world? For example: Real sensors drift with lighting and temperature; parts can overlap or tumble.
Export and save
Exports use the ticked runs (or every run if none are ticked). Your draft saves automatically in this browser only. The Journal is private to you.
Valid parameter ranges
| Parameter | Range | Default |
|---|---|---|
| Belt speed | 0.1 to 1 m/s | 0.4 |
| Redness threshold | 0 to 100 | 69 |
| Size threshold | 20 to 150 mm | 65 |
| Colour voting (0 one sensor, 1 majority of 3) | 0 to 1 | 0 |
| Glare on sensor 1 | 0 to 0.5 | 0 |
Independent reference checks
Belt at 0.4 m/s
Hand calculation: 60 × 0.4 / 0.2 = 120 parts per minute.
Belt at 0.5 m/s
n = ⌊200 × 0.05/0.5⌋ = 20, σ/√n = 30/√20 = 6.708; batch time = (99 × 0.2 + 1.3)/0.5 = 42.2 s.
Checked automatically on every change to the code. Educational model, not engineering-grade.
Where this model stops being right
- Real sensors drift with lighting and temperature; parts can overlap or tumble.