Shevaan Jayasinghe
← Back to the story

Engineering foundations · Control systems

The command is a start.
The response is the truth.

Software can ask a machine to do something. A sensor tells you whether it happened. My mechatronics build connected the two, so the next command could respond to the real result.

Problem
A controller without feedback only knows what it asked for.
Role
In my mechatronics lab build, I brought the sensors, controller and actuators together into one closed loop.
Result
Each command could respond to what the machine actually did.
Closed-loop control

Act. Measure.
Adjust.

CONTROLLERDecideRequest against measurementACTUATORActDrives the machineSENSORSenseWhat actually happenedCOMMANDFEEDBACKRESPONSERequestedMeasuredADJUSTThe next command uses the result.CONTROLLERDecideRequest against measurementACTUATORActDrives the machineSENSORSenseWhat actually happenedCOMMANDFEEDBACKRESPONSERequestedMeasuredADJUSTThe next command uses the result.
Concept illustration · The measured response shapes the next action.
01

The loop

Give the machine a way to answer.

A controller without feedback only knows what it asked for. Connect a sensor and the system can compare the request with what actually happened, then adjust its next action. In my mechatronics lab build, I brought the sensors, controller and actuators together into that closed loop.

02

The connection to the rest of the work

Keep checking against the world outside the code.

The same habit carries into software. A price feed needs checking before it changes an account, and a model output needs checking before it becomes a product decision.

Live products

Open what is already shipped.

Open the live demo

Chappie is on the App Store. The AI Bubble Index is live on this site. This page is a record of earlier work.