Skip to content
Tactiverge

Campaign C-02 · Levels 2–5

The Intelligent Factory

Design a production line that sorts, moves and keeps up, without wasting a single part.

A small factory recycles plastic, metal and mixed parts. Today a person sorts them by hand. The owner wants a line that sorts, picks and places automatically, and never sends the wrong part to the wrong bin.

Sunlight from a skylight sometimes dazzles the sensors. Parts arrive faster on busy days. The arm that picks them must move smoothly so it does not drop anything.

You lead the automation team. You will tune the sensors, plan the arm's motion, tune its joints and find the line's bottleneck.

What this campaign connects

The roadmap

0 of 5 done

1Sort in the glare2A straight, smoothpick3Tune the joint4Find thebottleneck★Line commissioningreport

Checking whether you are signed in…

  1. Milestone 1 of 4

    Sort in the glare

    The skylight dazzles colour sensor 1 on one reading in five.

    Goal: Choose thresholds, speed and voting so sorting stays reliable on the worst batch.

    Experiment

    Set glare to 0.2. Compare one sensor with majority voting at the same belt speed, over five seeds.

    Open Sorting conveyor sensors in Simulation OSDesign Challenge DC-04: Sorting in the glare

    Design decision: Fix the glare or out-vote it?

    No single right answer. Pick one and read what it costs you.

    Practice

    Parts are 0.2 m apart on a belt moving at 0.5 m/s. How many parts per minute?

    60 × 0.5 / 0.2 = 150 parts per minute.

  2. Milestone 2 of 4

    A straight, smooth pick

    The arm must carry a part in a straight line over a guard rail.

    Goal: Compare joint-space and Cartesian paths and explain why one bows off the line.

    Experiment

    Move from (26, 8) to (−8, 26). How far off the straight line does the joint-space path go?

    Open Joint-space vs straight-line (Cartesian) motion in Simulation OS

    Design decision: Which path do you program?

    No single right answer. Pick one and read what it costs you.

    Practice

    Why does moving both joints at constant speed not move the tip in a straight line?

    The tip position depends on sines and cosines of the angles, so equal angle steps give unequal, curved tip steps.

  3. Milestone 3 of 4

    Tune the joint

    The arm overshoots and wobbles when it stops. Parts slide off the gripper.

    Goal: Tune a PID joint controller to a spec for overshoot and settling time.

    Experiment

    Find gains with under 5 % overshoot that settle within 1.5 s, then add a load torque. What does integral action fix?

    Open One robot joint under P / PD / PID control in Simulation OS

    Design decision: Fast or gentle?

    No single right answer. Pick one and read what it costs you.

    Practice

    A joint aims for 1.0 rad and peaks at 1.12 rad. What is the overshoot?

    (1.12 − 1.0) / 1.0 = 12 %.

  4. Milestone 4 of 4

    Find the bottleneck

    A production line is a pipeline: each station passes work to the next, and one stall holds up everything behind it.

    Goal: Use the pipeline model to reason about throughput, stalls and the cost of removing them.

    Experiment

    Treat each stage as a factory station and each hazard as a part waiting for the one before it. What happens to throughput when you add forwarding (a shortcut between stations)?

    Open Pipeline throughput vs hazard rate in Simulation OS

    Design decision: Where do you spend the improvement budget?

    No single right answer. Pick one and read what it costs you.

    Practice

    A 5-station line finishes a part every clock once it is full. How many clocks for 100 parts?

    4 clocks to fill plus 100 = 104 clocks.

Finale · culminating project

Line commissioning report

Commission the whole line on paper and in simulation: sensor settings, arm path, joint gains and the bottleneck analysis, with the throughput you can promise the owner and the accuracy you can guarantee.

Deliverables

  • A settings sheet for every station
  • Recorded runs backing the promised throughput and accuracy
  • A bottleneck diagram
  • A one-page letter to the owner explaining what the line can and cannot do

Rubric

Project rubric: each criterion with descriptors for developing, secure and excellent work
CriterionDevelopingSecureExcellent
Requirements are testableNeeds a qualified reviewerGoals are stated in words like 'good' or 'fast'.Every requirement has a number, a unit and a test.Requirements have margins and say which matter most when they conflict.
Evidence from runsCheckable from runsOne run is quoted.Each claim quotes a recorded run (parameters + seed) that anyone can re-run.Claims rest on fair comparisons where one variable changed at a time.
Trade-offs: throughput against accuracyNeeds a qualified reviewerOne option is chosen without comparison.At least two options are compared with numbers and the choice is explained.The write-up shows what was given up, for whom, and what would change the decision.
Model limitsNeeds a qualified reviewerThe simulation is treated as reality.Two assumptions are named and their likely effect stated.Proposes a test that would check the most important assumption.
Technical communicationNeeds a qualified reviewerNumbers appear without units or context.A clear one-page summary: decision first, evidence second.A stranger could rebuild the design from the write-up.
  • Which station limited the line, and did that surprise you?
  • What would you measure on a real line to check your simulation?
  • Who else works in this factory, and how does your design affect them?

Private. Saved when you leave the box.

Finished the project?

Mark it done when your deliverables are complete. Reviewer-judged criteria are never scored automatically.

Lessons we plan to write for this campaign

Not written yet, so not linked. The campaign works without them.

  • Gripper force and slip
  • Scheduling mixed products on one line

Content status: technically checked (automated checks only). Not yet reviewed by an educator. Simulations are simplified educational models with stated assumptions.