Milestone 3 - Control Strategies Check (Individual)

\[ \begin{align}\begin{aligned}\newcommand\blank{~\underline{\hspace{1.2cm}}~}\\% Bold symbols (vectors) \newcommand\bs[1]{\mathbf{#1}}\\% Differential \newcommand\dd[2][]{\mathrm{d}^{#1}{#2}} % use as \dd, \dd{x}, or \dd[2]{x}\\% Poor man's siunitx \newcommand\unit[1]{\mathrm{#1}} \newcommand\num[1]{#1} \newcommand\qty[2]{#1~\unit{#2}}\\\newcommand\per{/} \newcommand\squared{{}^2} \newcommand\cubed{{}^3} % % Scale \newcommand\milli{\unit{m}} \newcommand\centi{\unit{c}} \newcommand\kilo{\unit{k}} \newcommand\mega{\unit{M}} % % Percent \newcommand\percent{\unit{{\kern-4mu}\%}} % % Angle \newcommand\radian{\unit{rad}} \newcommand\degree{\unit{{\kern-4mu}^\circ}} % % Time \newcommand\second{\unit{s}} \newcommand\s{\second} \newcommand\minute{\unit{min}} \newcommand\hour{\unit{h}} % % Distance \newcommand\meter{\unit{m}} \newcommand\m{\meter} \newcommand\inch{\unit{in}} \newcommand\foot{\unit{ft}} % % Force \newcommand\newton{\unit{N}} \newcommand\kip{\unit{kip}} % kilopound in "freedom" units - edit made by Sri % % Mass \newcommand\gram{\unit{g}} \newcommand\g{\gram} \newcommand\kilogram{\unit{kg}} \newcommand\kg{\kilogram} \newcommand\grain{\unit{grain}} \newcommand\ounce{\unit{oz}} % % Temperature \newcommand\kelvin{\unit{K}} \newcommand\K{\kelvin} \newcommand\celsius{\unit{{}^\circ C}} \newcommand\C{\celsius} \newcommand\fahrenheit{\unit{{}^\circ F}} \newcommand\F{\fahrenheit} % % Area \newcommand\sqft{\unit{sq\,\foot}} % square foot % % Volume \newcommand\liter{\unit{L}} \newcommand\gallon{\unit{gal}} % % Frequency \newcommand\hertz{\unit{Hz}} \newcommand\rpm{\unit{rpm}} % % Voltage \newcommand\volt{\unit{V}} \newcommand\V{\volt} \newcommand\millivolt{\milli\volt} \newcommand\mV{\milli\volt} \newcommand\kilovolt{\kilo\volt} \newcommand\kV{\kilo\volt} % % Current \newcommand\ampere{\unit{A}} \newcommand\A{\ampere} \newcommand\milliampereA{\milli\ampere} \newcommand\mA{\milli\ampere} \newcommand\kiloampereA{\kilo\ampere} \newcommand\kA{\kilo\ampere} % % Resistance \newcommand\ohm{\Omega} \newcommand\milliohm{\milli\ohm} \newcommand\kiloohm{\kilo\ohm} % correct SI spelling \newcommand\kilohm{\kilo\ohm} % "American" spelling used in siunitx \newcommand\megaohm{\mega\ohm} % correct SI spelling \newcommand\megohm{\mega\ohm} % "American" spelling used in siunitx % % Capacitance \newcommand\farad{\unit{F}} \newcommand\F{\farad} \newcommand\microfarad{\micro\farad} \newcommand\muF{\micro\farad} % % Inductance \newcommand\henry{\unit{H}} \newcommand\H{\henry} \newcommand\millihenry{\milli\henry} \newcommand\mH{\milli\henry} % % Power \newcommand\watt{\unit{W}} \newcommand\W{\watt} \newcommand\milliwatt{\milli\watt} \newcommand\mW{\milli\watt} \newcommand\kilowatt{\kilo\watt} \newcommand\kW{\kilo\watt} % % Energy \newcommand\joule{\unit{J}} \newcommand\J{\joule} % % Composite units % % Torque \newcommand\ozin{\unit{\ounce}\,\unit{in}} \newcommand\newtonmeter{\unit{\newton\,\meter}} % % Pressure \newcommand\psf{\unit{psf}} % pounds per square foot \newcommand\pcf{\unit{pcf}} % pounds per cubic foot \newcommand\pascal{\unit{Pa}} \newcommand\Pa{\pascal} \newcommand\ksi{\unit{ksi}} % kilopound per square inch % NOTE: do NOT define \bar -- it is the built-in LaTeX accent used by \bar{x}, % \bar{y} (sample means). Redefining it made those render as the word "bar". \newcommand\barunit{\unit{bar}} \end{aligned}\end{align} \]

Nov 16, 2026 | 454 words | 5 min read

18.5. Milestone 3 - Control Strategies Check (Individual)#

At a Glance

What you will do: Check your understanding of the control strategies primer before your team commits to a design.

What you will submit: Your answers to the comprehension check.

Read the Control Strategies Primer first. Then navigate to 18.5 Milestone 3 - Control Strategies Check (Individual) on Gradescope and answer the following questions.

  1. GHU-1’s heater logic was if too cold: heater = 100, else: heater = 0. Using the primer’s vocabulary, name this strategy and explain its characteristic failure. Reference the telemetry-log evidence your team found in Milestone 2.

  2. In your own words, explain why a proportional-only controller settles slightly below the temperature setpoint during the Martian night, even when the heater has power to spare.

  3. On hardware whose heater cannot keep up with the coldest hours of a Martian night, the heater is pinned at 100 % and the greenhouse is still below its night setpoint. Explain what happens to a PI controller’s integral term while the heater is pinned there, what that causes after sunrise, and one defense against it.

  4. The CO2 valve is one-way. Your controller computes output = -35 % for the valve. What must your code do with that number, and what does the one-way constraint imply about how aggressively you should approach the top of the CO2 band?

  5. Write threshold rules (in if/elif/else form) for the irrigation pump using soil_vwc. State one reason a pure-threshold pump rule might still be a good engineering choice, even in a sophisticated design.

  6. This question is a warm-up for Milestone 4 on remembering values between ticks. Your Milestone 4 controller is a set of plain functions that run once per tick, and a strategy like PI must remember its integral from one tick to the next. Type in and run the short running_total example from the implementation task, and paste your output. Then answer in one sentence: why must a PI controller’s integral live in the state dictionary that is passed into and out of your function, instead of in a local variable created inside the function?

  7. Use your team’s provisional hardware from Milestone 2 (glazing and heater). Based on the primer’s section on hardware and strategy, name one way that hardware changes which heater strategy you would choose. Name one way it changes how you would run the grow LEDs.

18.5.1. Submission#

Complete this activity directly in Gradescope under 18.5 Milestone 3 - Control Strategies Check (Individual), before the deadline on the Course Schedule.

Learning Objectives

UC04:

Types of Engineering Models - Differentiate between common types of models used in engineering and explain their purposes and limitations.

PR04:

Modular Programming - Create and use modular code components, including scripts and user-defined functions.

PR05:

Code Structures - Understand and write sequential and non-sequential code structures to achieve a programming objective.

EC02:

Recognize Limits, Trade-offs, and Confidence - Recognize limitations, trade-offs, and uncertainty in engineering work and communicate appropriate levels of confidence in conclusions.

EB06:

Reasoned Decision Explanation - Clearly articulate reasoning when evaluating alternatives or making decisions.

EB03:

Data-Supported Justification - Justify decisions or comparisons using explicit reference to data.