TactivergeLite

Lite / Intelligent Robotic Systems / Term 4 worksheet

Worksheet: Intelligent Robotic Systems, term 4

Integrated Robotics · Questions only. Check your answers in each Lite lesson, where they are graded on our server.

Name:   Date:

Week 28: Blocks, arrows and promises

1. Which layer does an object detector that turns camera pixels into 'box at 1.2 m' belong to?

2. Why draw power paths differently from data paths?

3. Which is the best label for an arrow from the localiser to the planner?

4. A robot's motor-current loop runs at 500 Hz and its path planner at 20 Hz. How many current-loop updates happen between two planner updates?

Answer: updates

5. In a robot where one 5 V regulator feeds the computer, the camera and the lidar, what is the regulator?

Check these in the lesson

Week 28: Fast loops inside slow ones

1. A robot's motor-current loop runs at 1000 Hz and its path planner at 5 Hz. How many current-loop updates happen between two planner updates?

Answer: updates

2. A current loop runs at 20 kHz. What is its period, in microseconds?

Answer: µs

3. Which job should run at the highest rate?

4. Why must an inner speed loop be much faster than the position loop around it?

5. A team moves the wheel PID from the main computer (which also runs vision) onto a small microcontroller. What is the main benefit?

Check these in the lesson

Week 28: One brain or many?

1. Which is a typical advantage of a distributed architecture?

2. Design A costs more, is slower and is less reliable than design B. What is A?

3. Weights: cost 3, latency 2, reliability 5. Option X scores cost 4, latency 2, reliability 3 (out of 5). What is X's weighted total?

Answer:

4. Why write down what an architecture decision traded away?

5. For a hospital delivery robot, which criterion should usually get the most weight?

Check these in the lesson

Week 29: States, events and guards

1. A delivery robot starts in IDLE (state 0) with its battery at 55 %. Rules: IDLE(0) + order → DRIVING(1) if battery ≥ 30 %, else → CHARGING(3). DRIVING(1) + arrived → DELIVERING(2). DRIVING(1) + bump → FAULT(4). DELIVERING(2) + done → IDLE(0) and the battery drops by 20 %. CHARGING(3) + charged → IDLE(0) with the battery at 100 %. FAULT(4) + reset → IDLE(0). Any other event in any state is ignored. Events arrive in this order: arrived, reset, reset, done. Which state number is it in at the end?

Answer: state number

2. A delivery robot starts in IDLE (state 0) with its battery at 35 %. Rules: IDLE(0) + order → DRIVING(1) if battery ≥ 30 %, else → CHARGING(3). DRIVING(1) + arrived → DELIVERING(2). DRIVING(1) + bump → FAULT(4). DELIVERING(2) + done → IDLE(0) and the battery drops by 20 %. CHARGING(3) + charged → IDLE(0) with the battery at 100 %. FAULT(4) + reset → IDLE(0). Any other event in any state is ignored. Events arrive in this order: arrived, arrived, charged, reset, order, reset, order. Which state number is it in at the end?

Answer: state number

3. Which pair of guards on IDLE + order is complete and non-overlapping?

4. Which of these is an event rather than a state?

5. Two rules both match DRIVING + bump: one goes to FAULT, one stays in DRIVING. What is wrong?

Check these in the lesson

Week 29: No state left behind

1. Which state in the worked example is a trap?

2. A state machine has 5 states and 6 events. How many cells must a complete coverage table fill in?

Answer:

3. A state CHARGING exists in the code but no rule leads into it. What should you conclude?

4. A delivery robot starts in IDLE (state 0) with its battery at 45 %. Rules: IDLE(0) + order → DRIVING(1) if battery ≥ 30 %, else → CHARGING(3). DRIVING(1) + arrived → DELIVERING(2). DRIVING(1) + bump → FAULT(4). DELIVERING(2) + done → IDLE(0) and the battery drops by 20 %. CHARGING(3) + charged → IDLE(0) with the battery at 100 %. FAULT(4) + reset → IDLE(0). Any other event in any state is ignored. Events arrive in this order: bump, reset, arrived, done, arrived, order. Which state number is it in at the end?

Answer: state number

5. What is the best way out of a FAULT state on a delivery robot?

Check these in the lesson

Week 29: Test every arrow

1. Tests exercise 12 of a machine's 16 transitions. What is the transition coverage, in percent?

Answer: %

2. A guard is speed < 0.5 m/s. Which two test values check its boundary best?

3. A delivery robot starts in IDLE (state 0) with its battery at 45 %. Rules: IDLE(0) + order → DRIVING(1) if battery ≥ 30 %, else → CHARGING(3). DRIVING(1) + arrived → DELIVERING(2). DRIVING(1) + bump → FAULT(4). DELIVERING(2) + done → IDLE(0) and the battery drops by 20 %. CHARGING(3) + charged → IDLE(0) with the battery at 100 %. FAULT(4) + reset → IDLE(0). Any other event in any state is ignored. Events arrive in this order: done, done, order, arrived, order, bump. Which state number is it in at the end?

Answer: state number

4. Why store transitions in a table rather than nested if-statements?

5. All single-transition tests pass, but the robot fails after its second delivery. Which test would have caught it?

Check these in the lesson

Week 30: Why P control always falls short

1. A plant with static gain K = 1 is under proportional control with Kp = 5. The setpoint steps to r = 5. What is the steady-state error e = r − y once it settles?

Answer:

2. A plant with static gain K = 0.5 is under proportional control with Kp = 1. The setpoint steps to r = 2. What is the steady-state error e = r − y once it settles?

Answer:

3. A plant with static gain K = 2 must settle within 5 % of a setpoint r = 2 using proportional control only. What is the smallest Kp that achieves this?

Answer:

4. Why can a P controller never remove the steady-state error completely?

5. Which is NOT a usual cost of raising Kp a lot?

Check these in the lesson

Week 30: Reading a step response

1. A joint is commanded to 90°. The log shows it peaks at 91.8° and finally settles at 90°. What is the percentage overshoot?

Answer: %

2. A first-order plant (gain K = 1, time constant τ = 0.5 s) is under proportional control with Kp = 9 and a unit step setpoint. The closed loop is first-order with time constant τ/(1 + Kp). What is its 10–90 % rise time, in seconds? (Use rise time = τcl·ln 9 and 2 % settling = τcl·ln 50.)

Answer: s

3. A joint behaves like a second-order system with damping ratio ζ = 0.3. Using overshoot = exp(−π·ζ / √(1 − ζ²)) × 100 %, what percentage overshoot should a step produce?

Answer: %

4. A pick-and-place arm must not hit the part it is placing. Which metric matters most for that?

5. In the PID joint lab, the response meets the error spec but rings for too long. Which change most directly helps?

6. Why do specifications bound several metrics at once?

Check these in the lesson

Week 30: What I and D buy, and what they cost

1. Which term removes a constant steady-state error?

2. Why is derivative action often filtered?

3. What is integrator windup?

4. A joint behaves like a second-order system with damping ratio ζ = 0.4. Using overshoot = exp(−π·ζ / √(1 − ζ²)) × 100 %, what percentage overshoot should a step produce?

Answer: %

5. A plant with static gain K = 1 is under proportional control with Kp = 9. The setpoint steps to r = 1. What is the steady-state error e = r − y once it settles?

Answer:

Check these in the lesson

Week 31: Interface contracts

1. A planner's paths bend away from the map after each turn, though odometry looks fine on its own. Which mismatch is most likely?

2. A tilt sensor publishes at 50 Hz and the balance loop runs at 200 Hz. On average, how many loop cycles use each tilt value?

Answer: cycles

3. A range of 0.4 m is read by code that expects millimetres. What distance does the code think the obstacle is at, in metres?

Answer: m

4. Which addition to a message most helps a consumer detect stale data at runtime?

5. A robot's motor-current loop runs at 2000 Hz and its path planner at 10 Hz. How many current-loop updates happen between two planner updates?

Answer: updates

Check these in the lesson

Week 31: The latency budget

1. A robot must react to an obstacle within 60 ms. Camera exposure and readout take 16 ms, vision processing 10 ms, planning 8 ms, the message over the bus 4 ms and the motor driver 10 ms. How much slack is left, in ms? (Negative means over budget.)

Answer: ms

2. A robot must react to an obstacle within 100 ms. Camera exposure and readout take 8 ms, vision processing 40 ms, planning 2 ms, the message over the bus 1 ms and the motor driver 10 ms. How much slack is left, in ms? (Negative means over budget.)

Answer: ms

3. Total latency is 80 ms and the robot moves at 1.2 m/s. How far does it travel before it starts to react, in cm?

Answer: cm

4. You must cut 10 ms. Stages: camera 16, vision 30, plan 8, bus 2, motor 10. Where do you look first?

5. Why budget with worst-case timings rather than averages?

Check these in the lesson

Week 31: One connection at a time

1. In the worked example, which step should you investigate?

2. What is a stub in integration testing?

3. Why is integrating everything at once usually slower overall?

4. A robot must react to an obstacle within 80 ms. Camera exposure and readout take 12 ms, vision processing 25 ms, planning 10 ms, the message over the bus 4 ms and the motor driver 5 ms. How much slack is left, in ms? (Negative means over budget.)

Answer: ms

5. Why replay recorded sensor data when testing a new filter?

Check these in the lesson

Week 32: Change one thing

1. In 'Does checkpoint spacing change the rover's final error?', what is the dependent variable?

2. All baseline runs were done before lunch, all new-method runs after a battery swap. What is the problem?

3. Which is a testable hypothesis?

4. What is the control condition in a test of a new obstacle filter?

5. Five trials of a robot's docking error gave 49, 44, 52, 51, 49 mm. What is the mean, in mm?

Answer: mm

Check these in the lesson

Week 32: How many runs is enough?

1. Five trials of a robot's docking error gave 29, 35, 41, 41, 32 mm. What is the sample standard deviation (divide by n − 1), in mm?

Answer: mm

2. A metric has a sample standard deviation of 1.2 across n = 36 independent trials. What is the standard error of the mean?

Answer:

3. Pilot runs suggest a trial-to-trial standard deviation of 4 cm. How many trials do you need so the standard error of the mean is at most 1.5 cm? (Give the smallest whole number.)

Answer: trials

4. Why run both controllers on the same list of seeds?

5. Which number tells a user how much a single run of the robot will vary?

Check these in the lesson

Week 32: Write the plan before the runs

1. Which belongs in a test plan written before the runs?

2. Why name one primary metric?

3. Halfway through, you realise your metric ignores jammed parts. What should you do?

4. Pilot runs suggest a trial-to-trial standard deviation of 4 cm. How many trials do you need so the standard error of the mean is at most 1.5 cm? (Give the smallest whole number.)

Answer: trials

5. A metric has a sample standard deviation of 4.5 across n = 16 independent trials. What is the standard error of the mean?

Answer:

Check these in the lesson

Week 33: Better than what?

1. A baseline path follower has a mean tracking error of 40 mm. The new method has 38 mm under the same conditions. What is the percentage improvement (lower error is better)?

Answer: %

2. Over 10 seeded trials each, the baseline controller's settling time averaged 20 s and the new controller's 14 s. Both conditions have a standard deviation of 2 s, so the pooled SD is 2 s. What is the difference in means (baseline − new), in seconds?

Answer: s

3. Why is 'error 0.86' on its own not a result?

4. In the baseline lab, unticking 'same seeds' makes the comparison…

5. A method has d = 1.5 but saves only 0.2 mm on a task with a 5 mm tolerance and doubles the code size. What should the report say?

Check these in the lesson

Week 33: Give the baseline a fair fight

1. Which makes a baseline comparison unfair?

2. The new planner uses a perfect map; the baseline uses the noisy lidar map. Fair?

3. Why tune on seeds 101–110 and compare on seeds 1–10?

4. A baseline path follower has a mean tracking error of 25 mm. The new method has 18.75 mm under the same conditions. What is the percentage improvement (lower error is better)?

Answer: %

5. Over 10 seeded trials each, the baseline controller's settling time averaged 40 s and the new controller's 36 s. Both conditions have a standard deviation of 2 s, so the pooled SD is 2 s. What is the effect size d = (difference in means) / pooled SD?

Answer:

Check these in the lesson

Week 33: Take it apart to see what matters

1. In the worked example, which component contributes most?

2. Why remove only one component at a time?

3. Full system error 1.2 mm; without the filter 1.8 mm. By what percentage does removing the filter increase the error?

Answer: %

4. Removing A alone or B alone barely changes the result, but removing both makes it much worse. What does that mean?

5. A baseline path follower has a mean tracking error of 50 mm. The new method has 40 mm under the same conditions. What is the percentage improvement (lower error is better)?

Answer: %

Check these in the lesson

Week 34: Measure what you actually want

1. In the hook, which metric was missing?

2. Mean tracking error is low, but a robot occasionally swings 30 cm off its path near shelves. Which metric reveals this?

3. Which is best written as a constraint rather than the primary metric for a hospital robot?

4. A joint is commanded to 45°. The log shows it peaks at 57.6° and finally settles at 45°. What is the percentage overshoot?

Answer: %

5. A baseline path follower has a mean tracking error of 50 mm. The new method has 40 mm under the same conditions. What is the percentage improvement (lower error is better)?

Answer: %

Check these in the lesson

Week 34: Error bars that tell the truth

1. Over 10 seeded trials each, the baseline controller's settling time averaged 30 s and the new controller's 28 s. Both conditions have a standard deviation of 5 s, so the pooled SD is 5 s. What is the effect size d = (difference in means) / pooled SD?

Answer:

2. Five trials of a robot's docking error gave 16, 8, 8, 16, 17 mm. What is the mean, in mm?

Answer: mm

3. A metric has a sample standard deviation of 2 across n = 16 independent trials. What is the standard error of the mean?

Answer:

4. A chart has error bars but no caption saying what they are. What can a reader conclude?

5. Means are 80 and 76. The y-axis starts at 70. How many times taller does the first bar look than the second?

Answer: ×

Check these in the lesson

Week 34: Report the difference, not two averages

1. A baseline path follower has a mean tracking error of 40 mm. The new method has 38 mm under the same conditions. What is the percentage improvement (lower error is better)?

Answer: %

2. Condition A has SE 0.3 and condition B has SE 0.4 (independent). What is the SE of the difference?

Answer:

3. Over 10 seeded trials each, the baseline controller's settling time averaged 24 s and the new controller's 19 s. Both conditions have a standard deviation of 5 s, so the pooled SD is 5 s. What is the effect size d = (difference in means) / pooled SD?

Answer:

4. Which sentence reports a comparison properly?

5. Why also report 'won on 9 of 10 seeds'?

Check these in the lesson

Week 35: Where does each sentence go?

1. 'Each controller ran on seeds 1–10 at 450 kg' belongs in…

2. Which sentence belongs in Results?

3. Which section is usually best written last?

4. Which is the best figure caption?

5. A baseline path follower has a mean tracking error of 50 mm. The new method has 40 mm under the same conditions. What is the percentage improvement (lower error is better)?

Answer: %

Check these in the lesson

Week 35: Claims no wider than the evidence

1. 'PI was 52 % better.' What is wrong?

2. Which is an overclaim from a simulation-only study?

3. Which hedge adds real information?

4. A baseline path follower has a mean tracking error of 25 mm. The new method has 18.75 mm under the same conditions. What is the percentage improvement (lower error is better)?

Answer: %

5. Over 10 seeded trials each, the baseline controller's settling time averaged 40 s and the new controller's 36 s. Both conditions have a standard deviation of 2 s, so the pooled SD is 2 s. What is the effect size d = (difference in means) / pooled SD?

Answer:

Check these in the lesson

Week 35: Could someone else get your numbers?

1. Which record most helps someone reproduce a seeded simulation?

2. Which is the most useful limitation?

3. Why save per-trial results, not just means?

4. Five trials of a robot's docking error gave 22, 23, 26, 19, 22 mm. What is the sample standard deviation (divide by n − 1), in mm?

Answer: mm

5. A metric has a sample standard deviation of 4.5 across n = 16 independent trials. What is the standard error of the mean?

Answer:

Check these in the lesson

Week 36: Scope an integrated system you can evaluate

1. Which part of a line-following rover closes the feedback loop?

2. Your trials take 40 minutes each. What should you change?

3. Pilot runs suggest a trial-to-trial standard deviation of 4 cm. How many trials do you need so the standard error of the mean is at most 1.5 cm? (Give the smallest whole number.)

Answer: trials

4. A robot must react to an obstacle within 80 ms. Camera exposure and readout take 12 ms, vision processing 25 ms, planning 10 ms, the message over the bus 4 ms and the motor driver 5 ms. How much slack is left, in ms? (Negative means over budget.)

Answer: ms

5. When should the capstone's primary metric be fixed?

Check these in the lesson

Week 36: How will it fail?

1. Which failure is most dangerous?

2. Three-sensor majority voting tolerates…

3. Why also test a mitigation when nothing has failed?

4. A baseline path follower has a mean tracking error of 25 mm. The new method has 18.75 mm under the same conditions. What is the percentage improvement (lower error is better)?

Answer: %

5. A delivery robot starts in IDLE (state 0) with its battery at 70 %. Rules: IDLE(0) + order → DRIVING(1) if battery ≥ 30 %, else → CHARGING(3). DRIVING(1) + arrived → DELIVERING(2). DRIVING(1) + bump → FAULT(4). DELIVERING(2) + done → IDLE(0) and the battery drops by 20 %. CHARGING(3) + charged → IDLE(0) with the battery at 100 %. FAULT(4) + reset → IDLE(0). Any other event in any state is ignored. Events arrive in this order: order, done, arrived, arrived, arrived. Which state number is it in at the end?

Answer: state number

Check these in the lesson

Week 36: Present it, then defend it

1. Which answer to 'Is 10 trials enough?' is strongest?

2. Asked 'Would this work on a real motor?', the best answer is…

3. Which statement explains a trade-off well?

4. Over 10 seeded trials each, the baseline controller's settling time averaged 24 s and the new controller's 18 s. Both conditions have a standard deviation of 8 s, so the pooled SD is 8 s. What is the effect size d = (difference in means) / pooled SD?

Answer:

5. A baseline path follower has a mean tracking error of 50 mm. The new method has 40 mm under the same conditions. What is the percentage improvement (lower error is better)?

Answer: %

Check these in the lesson