S3 Computer Literacy | Robotics and Automation Lesson Prep Guide | Sensing, Control Loops and Error Correction
- 2026-11-21
Students hear robot and picture an industrial arm, yet cannot say why the classroom buggy will not drive straight. This lesson reduces robotics to three parts: sensors read the state, a control loop compares target with actual, and error correction narrows the gap. Automation is that same loop repeated without a hand on the switch.
01 Prerequisites (3-minute check)
If any of these fails, fix it before the lesson starts.
| Skill | Quick check | Pass mark |
|---|---|---|
| Input and output | Roles of sensor and actuator in a control system | Sensor reads state, actuator changes it |
| Ratio and circumference | How far a wheel of 6.5 cm diameter travels per turn | About 20.4 cm |
| Unit conversion | Milliseconds in one second | 1000 ms |
02 Lesson flow (60 minutes)
| Time | Stage | Tutor does | Student does |
|---|---|---|---|
| 0-6 min | Take a robot apart | Split a buggy into sense, decide, act | Draw three boxes with arrows |
| 6-20 min | Open and closed | Contrast an old washing machine with an air conditioner | One example each, say whether output is measured |
| 20-34 min | Period and delay | Show a 20 ms loop against a 10 Hz sensor | Work out loops per second and the gap between reads |
| 34-46 min | Distance maths | Use 6.5 cm wheel and 20 ticks per turn | Compute ticks for a 2 m run |
| 46-55 min | Correct the error | Add 5 percent slip and compare | Compute the real distance and name one fix |
| 55-60 min | Exit check | Ask why adding a sensor can make the robot slower | Answer with period and delay |
03 Teaching script (read it out)
Scene 1: Split open loop from closed loop
Do not start with mechanics, start with one question: is the output measured. An old washing machine agitates for a set time without checking cleanliness, so it is open loop; an air conditioner reads room temperature before switching the compressor, so it is closed loop. Ask about the touch tap, the automatic door and the lift, and accept any answer that names the feedback.
Then state the cost: a sensor needs wiring, reading and a decision, so complexity rises. Robots are expensive because of that loop, not because of the shell.
Whether the output is measured is the dividing line
Scene 2: The period sets the reaction
A control program does not run continuously, it runs in rounds. A 20 ms period means 50 decisions per second, while a sensor at 10 Hz updates only every 100 ms. When the two rates differ, the slowest link sets the reaction.
Work one case: a buggy covering 30 cm per second with a sensor refreshing every 100 ms has already moved 3 cm between readings. When students compute that 3 cm themselves, the reason a fast robot hits things becomes obvious.
The slowest link sets the reaction
Scene 3: Measure the error before fixing it
A 6.5 cm wheel covers 20.4 cm per turn and the encoder gives 20 ticks per turn, so each tick is 1.02 cm. A 2 m run needs 9.8 turns, about 196 ticks, all of which students can do on a calculator.
Now add slip and the buggy travels only 190 cm, short by 10 cm. Offer three fixes: reduce acceleration, add a ground sensor to recalibrate, add a gyroscope to correct heading. Never say add a sensor without naming which error it corrects.
Target, then gap, then the exact fix
04 Question types and worked steps
| Type | Example | Steps | Answer |
|---|---|---|---|
| Classify control | Automatic door and timed sprinkler | Check whether output is measured | Door is closed loop, sprinkler is open loop |
| Period to frequency | A 20 ms control period | Divide 1000 by the period | 50 per second, that is 50 Hz |
| Distance conversion | Wheel 6.5 cm, 20 ticks per turn, run 2 m | Circumference first, then divide by ticks | About 196 ticks |
| Error correction | Slip of 5 percent | Scale the target by the real ratio | Only 190 cm travelled, so compensate or recalibrate |
05 Independent practice (3 questions)
| Question | Answer | What to watch |
|---|---|---|
| Classify six devices | Everyday machines around the room | Check that feedback is the criterion |
| Convert three periods | Three different period values | Check the reciprocal and unit conversion |
| Compensate for slip | Target distance plus slip ratio | Check that the real value and a concrete fix both appear |
06 Common mistakes and what to say
| Mistake | Student writes | Say this |
|---|---|---|
| Calling an open loop closed | Saying a timer switch corrects itself | It never measures output, so an error goes unnoticed; feedback defines the closed loop |
| Swapping period and frequency | Treating 20 ms as 20 decisions per second | 1000 divided by 20 is 50; swapping makes the robot twice as fast on paper |
| Forgetting slip | Counting ticks and assuming arrival | Wheels spin, so real distance falls short; name the sensor or gyroscope fix |
| Ignoring efficiency | Dividing battery capacity by motor power only | Gears and motors lose about a fifth, so the raw figure overstates run time |
07 Homework (paper, section and question numbers)
- Computer literacy index — Every chapter in this subject
- Lesson prep index — Matching chapters in other subjects
- Redo this chapter — Independent practice 1-3: classify devices, convert periods, compensate for slip
08 Exit check (last 5 minutes)
| Question | Answer | Decision |
|---|---|---|
| Loops | Feedback is the dividing line | No feedback means redo the classification |
| Period | 1000 divided by milliseconds | Swapping means recompute three cases |
| Slip direction | Travel comes out shorter | A longer answer means redo the compensation |
09 Tutor FAQ
How do robotics and automation differ
Robotics stresses programmable motion and sensing, automation stresses a process repeating without hands. Both share the same loop; one is about motion, the other about process.
Are encoders the only option
No. Ultrasonic, infrared and vision all work; encoders are cheap but suffer from slip, so precision systems combine two sources.
How long does a 12 V 2.5 Ah battery last
It stores 30 Wh against 10 W of motors, so 3.0 hours in theory and about 2.4 hours at eighty percent efficiency. Real loads shorten it further.
Find a tutor — freeTutor Registration →
A TutorZone lesson-prep guide. Written by the TutorZone team; questions and lesson flow are original and are not taken from any school or publisher material.



