Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

SCIENCE · INVESTIGATE AND EXPLAIN

Trace a sensor–controller–actuator loop

Connect measurement, requested power and true temperature without confusing information with energy.

Learning outcome: Explain feedforward plus proportional feedback, sign conventions and the consequences of a supplied sensor offset.

Starting recap

The target is 30°C; the standard plant has C = 100 J/K and G = 1 W/K. Hardware and zero correction are fixed.

All lessons are open directly. Your saved experiments remain when you leave and return.

Try

At sensed 27°C and gain 6 W/K, the controller requests 28 W, but the nominal heater applies 20 W.

Open the experiment

Predict

Predict whether the raw sensor value or the true body temperature determines the requested command in the offset case.

Experiment

Capture nominal and +2°C offset scenarios at gain 6 W/K. Trace one receipt from raw indication through error, requested power, applied power and next true temperature.

Test a sampled thermal controller

Worked teaching model · synthetic values · Original fictional one-node device and assigned costs. Uniform temperature, constant heat capacity/conductance/ambient, held heater input and exact exponential propagation within each sample. No spatial gradient, evaporation, radiation law, random noise, active cooling, integral control or physical safety/efficiency/reliability certification. Public cases are exposed teaching practice. Standard hardware and zero correction are fixed; a/b select gain and scenario.

Reset keeps your prediction, captures and practice history.

Trace the observation before judging the controller

Active scenario: Nominal; matched nominal reference uses the same gain, 6 W/K. Both use standard hardware: heat capacity 100 J/K, conductance 1 W/K, initial and ambient temperature 20°C, target 30°C, cost 3 assigned tokens, and twelve 10-second intervals. Correction is fixed at zero.

  1. 1. Select an observationAt command time t, request true temperature at t − 0 s. Negative requested times use the held initial 20°C state at effective time 0; they are not measured negative-time samples.
  2. 2. Form the indication and requestAdd sensor bias 0°C; subtract zero correction. Raw and corrected indications therefore coincide, but can differ from current true temperature. Request 10 W + 6 W/K × (30°C − indication).
  3. 3. Limit and evolveClip requested power to 0–20 W, hold it for 10 s, then propagate the exact one-node thermal model. Zero power is passive cooling toward ambient, not active cooling.

The 10 W feedforward term is fixed, not integral control. A temperature difference of one degree Celsius equals one kelvin. Sensor bias changes the information used by the controller; it does not directly add heat. Delay changes which earlier state is read; clipping changes actual delivered power.

Delay timeline: read the requested and effective times in every command receipt below. In the delayed scenario, commands at 0, 10 and 20 s request −20, −10 and 0 s respectively; all use the initial state. At 30 s the request uses the state at 10 s. Commands occur at 0–110 s; the final true state at 120 s has no new sensor command.

Original fictional one-node device and assigned costs. Uniform temperature, constant heat capacity/conductance/ambient, held heater input and exact exponential propagation within each sample. No spatial gradient, evaporation, radiation law, random noise, active cooling, integral control or physical safety/efficiency/reliability certification. Public cases are exposed teaching practice.

Temperature comparison · fixed axes: 0–120 s and 15–45°C
152025303540450306090120Temperature (°C)Elapsed time (s)

Solid navy: active Nominal true temperature. Long-dashed brown: nominal true temperature at the same gain. Dotted red with circles: active raw and corrected indication at command times. Gray dashes: 30°C target. Pale band: 29–31°C criterion range, required only from 90 s onward.

Lines connect sampled states for comparison; they are not the exact curved path between samples. Indication points are plotted at the time the controller uses them, not the earlier observation time. They can differ from current true temperature; there is no terminal command at 120 s. In the nominal scenario the two true traces coincide.

Active and nominal applied heater power · fixed axes: 0–120 s and 0–20 W
051015200306090120Applied power (W)Elapsed time (s)

Solid navy: active applied power; long-dashed brown: nominal applied power; gray dotted line: active 20 W actuator ceiling. Horizontal segments are held inputs, not a smooth ramp. Requested power is tabulated rather than plotted on the applied-power scale. At least one request is outside 0–20 W; the actuator limits it.

Separate requirements at the same gain and hardware; only the operating scenario differs; judgments use full model precision
Supplied requirementActive NominalNominal reference
Temperature at 90, 100, 110 and 120 s: every value in [29,31]°C29.964, 29.988, 29.996, 29.999 °C
Meets supplied criterion
29.964, 29.988, 29.996, 29.999 °C
Meets supplied criterion
True trajectory peak ≤32°C29.999°C at 120 s
Meets supplied criterion
29.999°C at 120 s
Meets supplied criterion
Applied heater energy ≤2000 J1887.809 J
Meets supplied criterion
1887.809 J
Meets supplied criterion
Resource cost ≤6 tokens3 tokens
Meets supplied criterion
3 tokens
Meets supplied criterion
All four supplied requirementsAll met in this model runAll met in this model run

Each exact held-input interval moves monotonically toward its fixed equilibrium. Therefore interval endpoints bound the continuous peak, and the 90–120 s endpoint checks also bound the temperature between those samples in this particular model. This argument does not extend automatically to a real device or another plant model. Lower energy cannot cancel a failed temperature criterion.

All thirteen true-temperature states for the matched scenarios
Original model states; both runs begin from the same initial condition
Time (s)Active true (°C)Nominal true (°C)Active / nominal held power for next 10 s (W)
020.00000020.00000020.000000 / 20.000000
1021.90325221.90325220.000000 / 20.000000
2023.62538523.62538520.000000 / 20.000000
3025.18363625.18363620.000000 / 20.000000
4026.59359926.59359920.000000 / 20.000000
5027.86938727.86938720.000000 / 20.000000
6029.02376729.02376715.857396 / 15.857396
7029.67407329.67407311.955562 / 11.955562
8029.89118529.89118510.652888 / 10.652888
9029.96367129.96367110.217974 / 10.217974
10029.98787129.98787110.072773 / 10.072773
11029.99595129.99595110.024296 / 10.024296
12029.99864829.998648No next command
Active scenario: all twelve command and energy receipts

Requested observation time and effective sample time are separate fields. Correction is subtracted from the raw indication and is zero here. A request before 0 s uses the held initial state at effective time 0; later effective times identify actual earlier model states. Positive ambient energy is outward; a negative value would mean inward transfer. Displayed rounding may leave a tiny apparent balance difference.

Nominal · command formation and actual plant response
Step index / interval (s)True start → end (°C)Requested / effective observation (s)Raw / correction / corrected (°C)Controller error (K)Requested / applied (W)Request clippedHeater input (J)Stored change (J)To ambient (J)Balance residual (J)
0: 0–1020.000000 → 21.9032520 / 020.000 / 0.000 / 20.00010.00070.000 / 20.000Upper clipping200.000000190.3251649.6748360.00e+0
1: 10–2021.903252 → 23.62538510 / 1021.903 / 0.000 / 21.9038.09758.580 / 20.000Upper clipping200.000000172.21333027.7866700.00e+0
2: 20–3023.625385 → 25.18363620 / 2023.625 / 0.000 / 23.6256.37548.248 / 20.000Upper clipping200.000000155.82506544.1749350.00e+0
3: 30–4025.183636 → 26.59359930 / 3025.184 / 0.000 / 25.1844.81638.898 / 20.000Upper clipping200.000000140.99634959.0036510.00e+0
4: 40–5026.593599 → 27.86938740 / 4026.594 / 0.000 / 26.5943.40630.438 / 20.000Upper clipping200.000000127.57877372.4212270.00e+0
5: 50–6027.869387 → 29.02376750 / 5027.869 / 0.000 / 27.8692.13122.784 / 20.000Upper clipping200.000000115.43804784.5619530.00e+0
6: 60–7029.023767 → 29.67407360 / 6029.024 / 0.000 / 29.0240.97615.857 / 15.857No clipping158.57396365.03057893.5433850.00e+0
7: 70–8029.674073 → 29.89118570 / 7029.674 / 0.000 / 29.6740.32611.956 / 11.956No clipping119.55561621.71123497.8443820.00e+0
8: 80–9029.891185 → 29.96367180 / 8029.891 / 0.000 / 29.8910.10910.653 / 10.653No clipping106.5288767.24855499.2803210.00e+0
9: 90–10029.963671 → 29.98787190 / 9029.964 / 0.000 / 29.9640.03610.218 / 10.218No clipping102.1797432.42001699.7597270.00e+0
10: 100–11029.987871 → 29.995951100 / 10029.988 / 0.000 / 29.9880.01210.073 / 10.073No clipping100.7277330.80795199.9197820.00e+0
11: 110–12029.995951 → 29.998648110 / 11029.996 / 0.000 / 29.9960.00410.024 / 10.024No clipping100.2429620.26974499.9732180.00e+0

Active whole-run ledger: 1887.808894 J heater input = 999.864807 J stored-energy change + 887.944087 J signed transfer to ambient. Model residual: -1.14e-13 J. Energy accounting agreement does not validate the device physically.

Your comparison: predict how a changed observation or actuator limit affects true temperature, then inspect all four criteria. Compare scenarios at the same gain, or compare gains within one scenario. Use the receipt times, sensor indication and requested/applied power to explain a failure before proposing a revision. Passing one public scenario does not establish stability or reliability in other conditions. Repeating this deterministic run checks reproducibility, not field reliability or a new independent trial.

Final true temperature 29.999 degC; heater input 1887.809 J.

Peak 29.999 degC at 120 s; cost 3 assigned tokens. Tail band met; peak limit met; energy budget met; resource budget met. Synthetic model evidence, not a physical prototype or reliability estimate.

Captures preserve recipes and replay their calculated results. They are synthetic model evidence, not physical measurements.

Understand

Follow information and energy through different paths

A heater does not receive a temperature target directly. A controller first compares a reading with a target, calculates a command and sends that command to an actuator. The actuator supplies energy to the body, whose temperature changes. A sensor then reports a value for the next decision. Draw arrows around this loop and label each with a quantity and unit: temperature in °C, error in K, requested and applied power in W, and input energy in J.

In this investigation the standard enclosure is fixed: heat capacity 100 J/K, conductance to ambient 1 W/K, initial and ambient temperatures 20°C, and target 30°C. The controls select gain 2, 6 or 12 W/K and one of four public scenarios. Twelve ten-second intervals produce a 120-second run. Hardware and zero sensor correction are fixed here, unlike the hardware comparison in the previous package.

Separate the command’s two contributions

Requested power is 10 + Kp × (30 − sensed temperature) watts. Kp is the proportional gain in W/K. The 10 W contribution is called feedforward: it supplies the nominal heat loss expected at target for this standard plant. The proportional contribution responds to a measured discrepancy. It is not an integral term that accumulates error over time.

For a sensed temperature of 27°C at gain 6 W/K, error is 30 − 27 = 3 K. The proportional contribution is 18 W and the total request is 28 W. The nominal actuator can supply at most 20 W, so applied power is 20 W. A command is information about desired action; it does not make unavailable power appear.

At target, sensed error is zero and the requested power is still 10 W. That input balances G × (30 − 20) = 10 W of outward transfer in the nominal standard plant. Zero error therefore need not mean zero heater power. Conversely, a negative request is clipped to zero: there is no active cooling actuator in this model.

Inspect the event order

Select nominal gain 6 and inspect the first receipt. The sensed value is 20°C, error 10 K, request 70 W and applied power 20 W. That input is held for ten seconds. The next true temperature is about 21.903°C, after which the next decision uses the appropriate sensor value. The software does not continuously recompute the command during that interval.

The plant accounts for input, stored-energy change and ambient transfer. Its exact exponential step solves a stipulated one-temperature model. The thermal-capacitance reference explains that such spatial uniformity is conditional; the widget does not establish it for actual hardware. Return to the energy balance if the distinction between a command and stored heat is unclear.

A sensor can alter the decision without changing the plant

Capture nominal gain 6, then change only to the +2°C sensor-offset scenario. The sensor reports two degrees above the selected true temperature. No delay is added and the plant itself has not changed. The controller sees a smaller positive error and reduces heating too early. The final true temperature is about 28.285°C, while its biased indication would be about 30.285°C.

A sensor reading above target is not proof that the true body is above target. Trace one offset receipt from true state to raw indication, error, requested power and next state. Keep the sensor scenario separate from the limited-heater scenario, which changes the actuator capacity rather than the information it receives.

Transfer: a paper calibration correction

Suppose separate synthetic reference checks at 20, 30 and 40°C indicate 22, 32 and 42°C. On paper, propose an additive correction. For a true temperature of 27°C, calculate the gain-6 request before and after that correction, and the nominal applied power in each case.

Check the sensor-correction transfer

The supplied checks are consistent with subtracting 2°C. Without correction the indication is 29°C, so the request is 10 + 6 × 1 = 16 W and all 16 W is applied. Corrected indication is 27°C, giving a 28 W request clipped to 20 W. This is a paper correction demonstration: the lab fixes correction at zero. Exact synthetic references do not establish real traceability or correctness outside the checked range.

NIST’s traceability policy distinguishes a measurement’s documented reference relationship from fitness for a particular use. Keep those limits with your calibration claim. Continue to gain comparisons to test whether a larger response to error actually improves the required behavior.

Apply

With target 30°C, sensed temperature 27°C and gain 6 W/K, requested power is:

Public practice checks a specific claim. It does not establish independent mastery.

Explain why an offset can produce true temperatures below target and why paper calibration is not a correction slider here.

Continue

Completion requires a saved prediction, at least one capture and a reflection. Presence checks do not grade your reasoning.

Skipping retains experiments and awards no mastery.

Save a science backup or import one

Science work is stored locally in this browser, separately from mathematics and AI. It does not sync automatically. Use this science-only backup; this checkout's older all-subject export does not include science.

A legacy file is available only when the complete snapshot fits the 36 MB limit. For larger snapshots, prepare a complete file set below; never discard notebooks to make a smaller file.

Matching imported notebook drafts replace their current drafts. Omitted lessons and known first attempts remain. Export your current work first if you want to retain both drafts.

Complete file sets and course backups

A file set can hold more work than one science file. Keep its manifest and every part together. Each file is limited to 36 MB. This format needs this version of LearnAI or a compatible newer version; older versions can use only the legacy single-file backup above.

The set includes every saved science course and global continuation at this moment. Later edits need a new export. A conflicting tab exports its own visible work, which may differ from saved work in another tab.

0 file(s) selected. File order and filenames do not determine identity. Missing, changed or conflicting parts block the entire restore; no good part is applied by itself.

Science storage: loading. No account or remote computation is required.