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

Account for the age of a feedback reading

Relate a delayed sample to command overshoot without changing the integration interval.

Learning outcome: Read sample-time receipts and explain why an old temperature can cause continued heating after the target is reached.

Starting recap

The delayed scenario uses a reading two ten-second samples old. The plant still updates every ten seconds.

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

Try

At 70 s in delayed gain 6, true temperature is about 30.068°C but the sensor uses the 50 s value near 27.869°C.

Open the experiment

Predict

Predict the sign of the sensed error and whether the heater still saturates at 70 seconds.

Experiment

Capture gain 6 nominal and delayed. Inspect requested/effective observation times, the 70–80 s receipt and the four tail samples. Preserve the delayed failure even though its final value is inside the band.

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

A correct reading can describe the wrong moment

A sensor can report an accurate past temperature while providing misleading information about what the heater should do now. In this investigation, the delayed scenario uses the state from two samples earlier. Samples are ten seconds apart, so the delay is 20 seconds. The plant still updates every ten seconds; this is not a larger integration step.

Write a prediction for gain 6 W/K before changing from nominal to delayed sensing. Keep hardware, ambient, target, actuator limit and run duration fixed. Predict whether continued heating after the true temperature reaches target could occur without any sensor offset.

Read the requested and effective observation times

At a command time of 70 seconds, the delayed controller requests the state at 50 seconds. Its receipt records both the true current temperature and the older sensor value. At early times, the requested time can be negative: at time zero it is −20 seconds, and at ten seconds it is −10 seconds. The model uses the stipulated initial 20°C history for those requests, with effective stored sample time zero. It does not invent measured observations before the run.

At 20 seconds, the requested and effective observation time is zero. At 30 seconds, both refer to ten seconds. Check these rows and distinguish a timestamp from the numerical temperature reported. Equal values at several early commands do not mean several independent measurements were made.

Follow one delayed command through the plant

For delayed gain 6, the true temperature at 70 seconds is about 30.068294°C, already above target. Yet the 50-second temperature is only 27.869387°C. The sensed error is therefore 30 − 27.869387 ≈ 2.130613 K. Requested power is 10 + 6 × 2.130613 ≈ 22.783679 W, clipped to 20 W.

The heater continues at maximum input for the next ten seconds, reaching about 31.013421°C at 80 seconds. It is responding to old information, not intentionally choosing the current overshoot. At 80 seconds it uses the 60-second value, about 29.023767°C, and requests approximately 15.857396 W. The reduction arrives after the plant has already become warmer.

This receipt-level explanation connects information, command and energy. A graph alone might tempt you to call the curve “oscillatory” without showing why. The exact exponential plant step eliminates one possible confusion: the observed delayed behavior is not produced by an Euler integration approximation in this model.

Check the whole requirement window

Capture nominal and delayed gain 6 on the same axes. The nominal four tail samples stay near 30°C. The delayed values at 90, 100, 110 and 120 seconds are approximately 31.474386, 31.295085, 30.593203 and 29.694914°C. The final value is inside 29–31°C, but the first two samples violate the upper bound. A final-only inspection would miss the failure.

The delayed peak is below the separate 32°C limit. Its energy, about 1,905.208 J, is below 2,000 J. Keep those successful criteria alongside the failed tail band. A failure of one requirement cannot be cancelled by averaging unrelated indicators.

At lower gain 2, the delayed tail is approximately 30.341073, 30.359363, 30.293904 and 30.201020°C. That comparison suggests a useful redesign within this case. It does not establish a universal delay tolerance or guarantee that every lower gain meets every response requirement.

Transfer: identify the sample, not a guessed temperature

On paper, suppose a different sampler makes decisions every five seconds and still uses the state two samples earlier. At time 35 seconds, what time does it observe? Would that preserve this widget’s 20-second delay? No new temperature trajectory is supplied.

Check the sample-age transfer

Two five-second intervals give a 10-second delay, so the command at 35 seconds uses the 25-second state. It does not preserve a 20-second delay; that would require four five-second intervals. This arithmetic does not predict a temperature because the changed sampling/control sequence needs its own model calculation. It is a paper extension, not a selectable widget setting.

NASA’s verification guidance supports retaining test conditions and criterion evidence. Our delayed case is a synthetic exercise, not a physical device certification. Return to the control loop if sample selection is unclear, or continue to actuator capacity to diagnose a different reason for missing the target.

Apply

In the two-sample delayed scenario, the command at 70 s uses which true-state time?

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

Explain the initial-history assumption and distinguish delayed sensing from a larger numerical step or a sensor offset.

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.