Skip to content
Tactiverge

Sorting conveyor sensors: experiment bench

Simulation OS · playgroundEducational model, not a digital twin

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.

Your level (shows more controls and deeper equations)
  1. 1. Ask
  2. 2. Hypothesise
  3. 3. Set up
  4. 4. Run
  5. 5. Record
  6. 6. Change one variable
  7. 7. Compare
  8. 8. Interpret
  9. 9. Limitations & save

If I change …, then … will …, because …

3 · Set up the parameters

0.1–1 m/s

Faster means more parts per minute but fewer colour samples per part.

0–100

Readings at or above this count as red.

20–150 mm

Parts at least this long count as large.

0–1

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

Run the model to draw your first curve here.

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

ParameterRangeDefault
Belt speed0.1 to 1 m/s0.4
Redness threshold0 to 10069
Size threshold20 to 150 mm65
Colour voting (0 one sensor, 1 majority of 3)0 to 10
Glare on sensor 10 to 0.50

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.