Lecture 8: Solenoids, Relays, and Interlocks
Previous lecture | Lecture index | Next lecture
Slides PDF | Equation sheet | Activity sheets | Quiz PDF | Quiz Solutions PDF
Separate coil power, contact switching, valve loss action, permissives, and trip memory. Test restoration, Reset, and deliberate restart as distinct events.
Start Here
If a pump stops on low level, should it start again the moment the level recovers?
Follow the physical output and the control logic separately. First identify what the contacts do. Then list which events change the stored operating state.
🎯 Learning Objectives
- Calculate a steady DC coil demand and review switching duty.
- Specify a process-dependent valve loss action and raw-input mapping.
- Replay and explain a latched-trip sequence including held Start and power restoration.
Continuing project: Keep the same process, controlled variable, manipulated variable, and disturbance throughout the sequence. Retain circuit sketches, raw data, assumptions, and the design decision from each activity.
⚡ Concepts, Equations, and Worked Examples
A Contact State Is Not a Valve Loss Position
A relay coil moves a mechanism; COM, NO, and NC contacts switch another circuit. NO/NC describe the de-energized contact state. Mechanical relays, solid-state relays, and motor contactors have different load, leakage, thermal, and switching-duty requirements. Verify the exact AC or DC rating and load category rather than transferring a resistive label to a motor duty.
The required valve action follows the process hazard. Hazardous feed may require closure, while essential cooling may require continued flow with the necessary energy source available. Verify loss of electrical, pneumatic, and mechanical energy as applicable; a relay’s NC label does not establish the installed valve’s loss position.
A raw pulled-up input can read HIGH when a button is released or when its ground path is open. Map raw states to named process conditions and document open-wire, short-to-supply, and short-to-return behavior. The simple button check does not establish broken-wire detection. A permissive is a Boolean condition; the final actuator command can also depend on latched state and deliberate Start.
1 / Coil supply and contacts
Identify the parts of a relay
A relay lets one circuit operate a switch in another circuit. Start at the coil connections and trace the circuit that supplies the coil. Then trace the separate circuit that passes through COM (common) and NO (normally open) or NC (normally closed). “Normally” refers to the de-energized coil state. Determine where the valve moves on loss from the valve and actuator documentation.

Energizing the coil moves the contact arm. The figure shows the de-energized coil state, with the load contact normally open.
A coil operates the relay or valve; the contacts switch a separate circuit. NO/NC describe the de-energized contact state. $$I=\frac PV,\qquad R_{\mathrm{eq}}=\frac VI.$$
Worked example. A DC coil is labeled \(24\,\mathrm{V}\), \(4.8\,\mathrm{W}\).
- \(I=4.8/24=0.20\,\mathrm{A}\).
- \(R_{\mathrm{eq}}=24/0.20=120\,\mathrm{\Omega}\).
- Provide the correct supply, driver and suppression. This steady DC equivalent does not model AC pickup or startup.
2 / Boolean permissive
All required healthy conditions must be true: $$\mathrm{PERMIT}=L\land O\land S.$$
Worked example. \(L=1\), \(O=1\), \(S=0\).
- Level and overload conditions are healthy.
- Stop-chain condition is unhealthy.
- \(1\land1\land0=0\): permission is denied.
Engineering point: The rung computes PERMIT, not the final RUN command. Verify actual input polarity and broken-wire response.
3 / Valve loss action
Select de-energized position from the process hazard.
Worked example. A feed valve must close on power loss.
- Specify the required loss action: closed.
- Verify the documented valve/actuator arrangement moves closed when its energy is lost.
- Test loss of the relevant supply on an approved harmless setup; an NO relay label alone does not establish valve position.
4 / Trip memory and deliberate restart
Walk through the restart one event at a time
A permissive is a condition that must be true for the logic to permit operation. A trip stops operation and, in this model, remembers the fault even after the input recovers. A fresh Start is a new transition from released to pressed. Write the state after each event and compare it with the command. This helps distinguish a restored input, a cleared trip, and a running actuator.

A fault takes RUNNING to TRIPPED. With healthy inputs, Reset takes TRIPPED to STOPPED. A fresh Start under healthy conditions is required to run.
Classroom state model: a trip forces RUN off; healthy conditions alone do not restart it.
Worked example. Level fails during RUN; Start stays held.
- Loss of level permission latches TRIPPED; RUN turns off.
- Restoring level leaves the trip latched.
- Healthy Reset clears to STOPPED. Release Start, then apply a later fresh Start edge. Reset does not start the pump.
Engineering point: Power restoration initializes off; held Start is not a new request. Stop has priority.
5 / Contact rating and load type
Running current, inrush, DC/AC voltage, load category and switching duty all matter.
Worked example. Contacts: \(10\,\mathrm{A}\) resistive at \(24\,\mathrm{V}\) DC. Motor: \(4\,\mathrm{A}\) running, \(12\,\mathrm{A}\) starting.
- The \(4\,\mathrm{A}\) running current is below \(10\,\mathrm{A}\).
- Startup is \(12\,\mathrm{A}\), and the label is for a different load category.
- Suitability is unestablished. Obtain documented DC motor switching, inrush duration, duty, suppression and protection evidence.
🧪 Experiment: Permissions and Restart (15 min)
Open Microcontroller I/O Studio. Use the simulator or the prepared educational circuit specified below. Preserve project-controller firmware and record board, firmware, input range, signal reference, settings, and actual sample interval.
Before you begin. Make a row for each event: Start, fault, recovery, Reset, and fresh Start. Predict both the state and the output in each row.

Concept cutaway of a solenoid valve. Find the electrical coil, moving plunger, and passage for fluid.
- In MCU Studio, check the D2 button input and pull-up: released HIGH and pressed LOW for the stated simulator wiring. Independently check D13 output.
- Record the mapping between electrical input and process condition. Do not assume MCU Studio automatically links an input to an output rule.
- Extract the interlock analysis bundle and run the model locally:
- Predict healthy Start, permission loss during RUN, restored permission, healthy Reset, held Start, and a later fresh Start. Compare with the supplied expected-state CSV.
- Challenge Stop priority, unhealthy Reset, and restored power in a copy of the input sequence. The standard-library model has no GPIO or serial output.
- Physical automatic logic runs separately on the prepared harmless trainer. Close MCU Studio before another controller uses the same serial port. Distinguish manual I/O checkout, model replay, and physical automatic testing.
Record and Interpret
| Event | Predicted state | Predicted command | Observed/model evidence |
|---|---|---|---|
| Healthy conditions and fresh Start | RUNNING | ON | Record |
| Permission lost while running | TRIPPED | OFF | Record |
| Permission restored | TRIPPED | OFF | Record |
| Healthy Reset | STOPPED | OFF | Record |
| Start held across Reset | Remains OFF | OFF | Record |
| Release, then later fresh Start | RUNNING if permitted | ON | Record |
| Power restoration | Initialize OFF | OFF | Record |
Retain the actual input sequence, state memory, output command, and harmless-load observation. Document faults the proposed architecture cannot detect. This classroom model is not a safety-rated industrial protective function.
Data origin: Identify physical measurement, simulator output, supplied synthetic data, or calculated model for every record. Preserve the prediction before collecting the result.
Data and Analysis Downloads
Download the analysis bundle and extract it locally to retain the original script and CSV names.
🛠 Project Checkpoint
Complete EE 3 with driver and contact-rating evidence, valve loss action, a cause-and-effect table, at least three state tests, input-polarity assumptions, and the trip/Reset/restart rules. Carry actuator limits and permissions into the project controller.
Check Your Understanding
After a trip, the level is healthy and Reset is accepted while Start remains held. What should the pump do?
It should remain off in STOPPED. Release Start and send a fresh Start with healthy conditions.
📝 Quiz (10-15 min)
After you try each question, select Worked solution below it to see the steps. Use the Quiz Solutions PDF above to review the full answer key.
12 points total; 4 points per question. Show work and units. Round numerical results to 3 significant figures. For multiple choice, select one answer and explain briefly.
Question 1: DC coil current
A valve coil is modeled as a steady resistor with 12 V across it and 3.0 W consumption. Find current and equivalent resistance.
$$I=3.0/12=0.250\,\mathrm{A},\qquad R=12/0.250=48.0\,\Omega$$
This steady operating-point model excludes inductive transients.
Question 2: Simple run permission
Use only the nonlatching rule PERMIT = Level OK AND Overload OK AND Run request. Find permission for rows (1,1,1), (0,1,1), (1,0,1), and (1,1,0), with inputs in that order.
The outputs are 1, 0, 0, and 0. AND requires all inputs true. This question includes Run request in the simple permission rule and has no trip memory; Question 3 adds a latched state.
Question 3: Latched trip and restart
A running pump trips on low level. Level recovers while Start stays held. Choose the correct outcome and restart approach.
- A. Restart when level recovers.
- B. Reset alone starts the pump.
- C. Held Start clears the trip automatically.
- D. Stay OFF; reset, release Start, then fresh Start.
D. Restored permission alone does not clear the latched trip. With healthy conditions, Reset returns to STOPPED. Release Start and apply a later fresh Start. Reset does not energize the pump.
✅ Exit Ticket
A 24 V DC coil consumes 6.0 W. Find current. Should Reset alone restart this example pump? Does an NC contact prove the valve’s fail position?
$$I=6.0/24=0.25\,\mathrm{A}$$
Healthy Reset clears the latched trip to STOPPED; a later fresh Start is required. The valve’s documented actuator arrangement and loss tests establish its position, rather than the relay contact label alone.
💬 Discussion Questions
Commit to an answer before comparing with a colleague or AI assistant.
- How can PERMIT be true while RUN remains off?
- Why must the record distinguish command from actual actuator state?
- What changes would be necessary to detect a broken field wire rather than merely a button state?
📐 Nomenclature
| Symbol | Meaning | Example value |
|---|---|---|
| \(V\) | DC coil voltage | 24 V |
| \(P\) | Steady coil power | 4.8 W |
| \(I\) | Steady coil current | 0.20 A |
| \(R_{\mathrm{eq}}\) | Steady DC equivalent | 120 \(\Omega\) |
| \(L\) | Level healthy | 1 (TRUE; unitless) |
| \(O\) | Overload healthy | 1 (TRUE; unitless) |
| \(S\) | Stop chain healthy | 0 (FALSE; unitless) |
| \(\mathrm{PERMIT}\) | All conditions healthy | 0 (FALSE; unitless) |
This classroom logic is not a safety-rated function or an industrial wiring design.
Logic notation: \(\land\) means Boolean AND. The equation-sheet example uses \(S\) for the healthy Stop chain. Quiz Question 2 explicitly defines a separate nonlatching rule whose third input is Run request. Neither rule alone includes trip memory.
📚 Resources and Source Materials
- APMonitor: related Electrical Engineering lesson
- MCU Studio operating and measurement instructions
- Process Control project requirements
- Instructor guide: preparation and assessment notes
This page combines the supplied lecture PowerPoint and speaker notes, one-page equation sheet, quiz and solution key, student workbook, instructor guide, and applicable model data. The 50-minute lecture includes the 15-minute activity. Scheduling positions in the teaching plan do not change posted course due dates.