Digital Electronics — The First Video YOU Should Watch
From Boolean logic and vacuum tubes through transistors, logic gates, binary arithmetic, memory, microprocessors, ADC, and building management systems.
Notes from watching CaptiveAire — Digital Electronics: The First Video YOU Should Watch.
Part 1 — A Logical Buildup
What is Logic?
Logic is the process of reaching a conclusion from a set of inputs based on defined rules. In classical logic: a statement is either true or false — no middle ground.
Digital electronics maps this directly:
| Logical | Digital | Electrical |
|---|---|---|
| True | 1 | High voltage (e.g. 5V or 3.3V) |
| False | 0 | Low voltage (0V / GND) |
Every computation a computer performs ultimately reduces to evaluating whether voltages at specific points are high or low. The entire edifice of modern computing — AI, databases, video, networking — is built on billions of these yes/no decisions happening per second.
George Boole (1847) formalised the algebra of logic (Boolean algebra) a century before anyone built digital hardware. His rules for AND, OR, and NOT operations over true/false values became the mathematical foundation of digital circuit design.
Vacuum Tubes
Before transistors, the vacuum tube (thermionic valve) was the only electronic switch.
A triode vacuum tube has three elements inside an evacuated glass envelope:
- Cathode — heated filament that emits electrons
- Anode (Plate) — positive electrode that attracts the electrons
- Grid — a wire mesh between them; voltage on the grid controls the electron flow
Plate (+)
│
──── grid ──── ← control voltage
│
Cathode (heated, emits electrons)
Small voltage on the grid → large change in current through plate. That’s amplification. And by driving the grid hard enough, the tube saturates (fully on) or cuts off (fully off) — that’s switching.
Vacuum tubes worked, but:
- Large (finger-sized)
- Power-hungry (the cathode heater alone draws watts)
- Generated significant heat
- Fragile glass envelopes
- Short lifespan (filaments burn out)
Early digital computers (ENIAC, 1945) used ~18,000 vacuum tubes. Filled rooms, consumed 150 kW, failed constantly. One of the driving forces behind transistor research was the need to replace tubes.
Transistors
The transistor was invented at Bell Labs in 1947 (Bardeen, Brattain, Shockley). Nobel Prize 1956.
A transistor does what a vacuum tube does — controls a large current with a small signal — but in solid semiconductor material, with no heater, no vacuum, no glass, and at a fraction of the size and power.
The BJT (bipolar junction transistor) has three terminals:
- Base — small input current controls
- Collector — large current path
- Emitter — current exits here
Small base current → large collector-emitter current. Gain (hFE) typically 100–500×.
As a switch:
- Saturated (on): base current sufficient to fully turn on the collector — collector-emitter acts like a closed switch
- Cut off (off): no base current — no collector current — open switch
This on/off behaviour is everything needed to build digital logic.
Solid State Theory and Operation
“Solid state” means the device works through electron behaviour in solid semiconductor material — no vacuum, no moving parts.
Semiconductors (silicon, germanium) sit between conductors and insulators. Their conductivity can be precisely controlled by adding impurities — doping:
- N-type silicon: doped with phosphorus (extra electrons — negative charge carriers)
- P-type silicon: doped with boron (electron holes — positive charge carriers)
A PN junction is formed where N-type and P-type silicon meet. At the junction:
- Electrons from N-type diffuse into P-type, holes from P-type diffuse into N-type
- A depletion region forms — a zone depleted of free carriers, acting as an insulating barrier
- A built-in voltage (~0.6–0.7V for silicon) develops across it
Forward biasing the junction (positive on P, negative on N) shrinks the depletion region and current flows. Reverse biasing widens it — no current (until breakdown).
A BJT transistor is two PN junctions back-to-back (NPN or PNP):
NPN transistor (cross-section):
N (Collector)
│
P (Base) ─── small current in
│
N (Emitter)
Base current injects carriers into the base region that collapse the collector-base junction’s barrier, allowing large collector-emitter current. The physics is quantum mechanical but the behaviour is: small input controls large output.
MOSFETs (used in modern digital ICs) work on a different mechanism — a voltage on the gate creates an electric field that opens a conducting channel in the semiconductor, requiring almost no gate current. This is why CMOS logic is so power-efficient.
Building Logic Gates
Logic gates are transistor circuits that implement Boolean operations. A gate takes binary inputs and produces a binary output according to a truth table.
NOT gate (inverter): output is the opposite of input.
A ──[NOT]──> Ā
A=0 → out=1
A=1 → out=0
Implementation: a single transistor. Input HIGH saturates it (output pulled LOW). Input LOW cuts it off (output pulled HIGH via pull-up resistor).
AND gate: output is 1 only when ALL inputs are 1.
A ──┐
[AND]──> A·B
B ──┘
0,0→0 0,1→0 1,0→0 1,1→1
Implementation: two transistors in series. Both must be on for current to flow.
OR gate: output is 1 when ANY input is 1.
A ──┐
[OR]──> A+B
B ──┘
0,0→0 0,1→1 1,0→1 1,1→1
Implementation: two transistors in parallel. Either one on produces output.
NAND / NOR: AND or OR followed by an inverter. Significant in practice — NAND gates are universal (any logic function can be built from NAND gates alone). Most digital ICs are built from NAND or NOR cells internally.
XOR (exclusive OR): output is 1 when inputs are different.
0,0→0 0,1→1 1,0→1 1,1→0
XOR is the key gate for binary addition — it gives the sum bit (without the carry).
Binary Basics
Computers use base-2 (binary) because transistors have two stable states. Every piece of information is represented as a sequence of 1s and 0s.
Positional notation — each position is a power of 2:
Decimal: 128 64 32 16 8 4 2 1
Binary: 0 0 0 0 1 0 1 1 = 11 decimal
- Bit — one binary digit (0 or 1)
- Nibble — 4 bits (represents 0–15)
- Byte — 8 bits (represents 0–255)
- Word — 16/32/64 bits depending on architecture
Converting binary to decimal: sum the place values where there’s a 1.
1011 = 8 + 0 + 2 + 1 = 11
Converting decimal to binary: repeatedly divide by 2, collect remainders.
11 ÷ 2 = 5 r 1
5 ÷ 2 = 2 r 1
2 ÷ 2 = 1 r 0
1 ÷ 2 = 0 r 1
→ read remainders bottom-up: 1011
Hexadecimal (base-16) is used as shorthand — one hex digit represents exactly 4 bits (a nibble). Digits: 0–9, A–F. 0xFF = 11111111 = 255 decimal.
Binary Addition
Rules (same as decimal, but carries happen at 2 not 10):
0 + 0 = 0
0 + 1 = 1
1 + 0 = 1
1 + 1 = 0, carry 1 (2 in decimal → 10 in binary)
Example: 6 (0110) + 5 (0101):
0110
+ 0101
──────
1011 = 11 ✓
A half adder handles one bit with no incoming carry:
- Sum = A XOR B
- Carry out = A AND B
A full adder handles one bit plus an incoming carry:
- Sum = A XOR B XOR Cin
- Carry out = (A AND B) OR (Cin AND (A XOR B))
Building a 4-bit Adder
Chain four full adders — carry output of each feeds into the carry input of the next. This is a ripple carry adder:
Bit 0: A0,B0 → [Full Adder] → S0, C0
Bit 1: A1,B1,C0 → [Full Adder] → S1, C1
Bit 2: A2,B2,C1 → [Full Adder] → S2, C2
Bit 3: A3,B3,C2 → [Full Adder] → S3, C3 (overflow)
Four gates of logic → 4-bit addition in hardware. The same principle scales to 8, 16, 32, 64 bits. This is the core of every ALU (Arithmetic Logic Unit) in every processor.
Integrated Circuits
In the early 1960s, Jack Kilby (TI) and Robert Noyce (Fairchild) independently created the integrated circuit — multiple transistors, resistors, and connections fabricated on a single piece of semiconductor.
Instead of soldering discrete components together, the entire circuit is etched and deposited on a silicon wafer using photolithography. The interconnects are metal traces, not wires.
Moore’s Law (1965): Gordon Moore observed that transistor count on a chip roughly doubled every 2 years. This held as a trend for ~50 years. A modern CPU contains tens of billions of transistors on a piece of silicon the size of a fingernail.
IC scale classifications:
- SSI (Small Scale): <10 gates (basic logic gates, 7400 series)
- MSI (Medium Scale): 10–100 gates (adders, multiplexers)
- LSI (Large Scale): 100–10,000 gates (early microprocessors)
- VLSI (Very Large Scale): >10,000 gates (modern CPUs, FPGAs, ASICs)
Part 2 — Beyond Logic
Nixie Tubes
A Nixie tube is a cold-cathode gas discharge display device — a glass tube containing neon gas and ten cathodes shaped like the digits 0–9. Apply ~170V to a digit’s cathode and the gas around it glows orange.
Popular in the 1950s–70s for numeric displays on instruments and early computers before LEDs existed. No filament, no phosphor — just glowing gas. Each digit cathode is stacked behind the others, giving depth to the display.
Nixies are entirely analog/high-voltage devices sitting at the boundary of the vacuum tube era and digital logic. Still popular in hobbyist clocks for their warm aesthetic.
Segmented Displays
The 7-segment display replaced the Nixie. Seven LED (or LCD) segments arranged to form any digit:
_
|_| ← segments: a (top), b (upper right), c (lower right),
|_| d (bottom), e (lower left), f (upper left), g (middle)
To display a digit, the correct combination of segments is turned on:
Digit 0: a,b,c,d,e,f (all except g)
Digit 1: b,c
Digit 8: all segments
7-segment displays are still everywhere: clocks, meters, ovens, HVAC panels. 14-segment and 16-segment variants can display letters too.
Displaying the Right Data
The raw number in a register is binary. To display it on a 7-segment display, a BCD-to-7-segment decoder translates each 4-bit binary-coded decimal value into the 7 segment control signals.
A decoder is a combinational logic circuit: specific input combinations produce specific output patterns. The 4511 IC (a classic) does exactly this. Feed it 4-bit BCD, it drives a 7-segment display directly.
Displaying multi-digit numbers requires either multiple decoders (one per digit) or multiplexing — cycling through each digit rapidly, turning on only one at a time but fast enough that persistence of vision makes all appear lit simultaneously. This reduces the pin count dramatically.
Memory — Overview
Digital systems need to store data — both permanently (programs, configuration) and temporarily (working data during execution). These are physically different technologies with different trade-offs.
Long-Term Memory
Data must survive power cycles. Several technologies:
ROM (Read-Only Memory): contents are fixed at manufacture. Used for firmware that never changes.
EPROM / EEPROM: ultraviolet-erasable or electrically-erasable programmable ROM. Can be written by the user but reads are much faster than writes. Early microcontrollers used EEPROM for configuration storage.
Flash memory: the dominant long-term storage today. NAND Flash in USB drives, SSDs, SD cards, and MCU program memory. Non-volatile, electrically writable in blocks. Finite write cycles (typically 10,000–100,000 per block before wear).
Hard disk drives (HDD): magnetic storage on spinning platters. Very high density, low cost per bit, but mechanical — moving parts, slower access, sensitive to vibration.
How flash stores a bit: a floating gate MOSFET traps charge on an isolated gate. Charge present → represents 0, no charge → 1. The charge can be injected or removed with high voltage pulses. The charge can persist for decades.
Short-Term Memory
Fast read/write storage for actively executing programs. Volatile — contents lost on power-off.
Registers: fastest storage — inside the processor itself. Typically 8, 16, 32, or 64 bits wide. A modern CPU might have 16–32 general purpose registers. Operations happen here.
SRAM (Static RAM): uses a bistable latch (cross-coupled inverters) per bit — stays in state as long as power is applied. Very fast access (~1 ns). Used for CPU caches (L1, L2, L3). Expensive in silicon area — 6 transistors per bit.
DRAM (Dynamic RAM): uses a capacitor + transistor per bit. The capacitor holds charge to represent a 1, but leaks — must be refreshed thousands of times per second. Slower than SRAM but far denser (1 transistor + 1 capacitor vs 6 transistors). Used for main system RAM (DDR5, etc.).
Memory hierarchy (fastest → slowest, smallest → largest):
Registers → L1 cache (SRAM) → L2/L3 cache → RAM (DRAM) → Flash/SSD → HDD
Microprocessors
A microprocessor integrates an entire CPU (Central Processing Unit) on a single IC.
Core components:
- ALU (Arithmetic Logic Unit) — performs arithmetic (add, subtract) and logic (AND, OR, XOR, compare) operations
- Registers — small, fast internal storage for operands and results
- Control Unit — decodes instructions and orchestrates the ALU, registers, and memory
- Buses — address bus (where to read/write), data bus (what to read/write), control bus (read/write/clock signals)
- Program Counter (PC) — register holding the memory address of the next instruction to execute
Basic execution cycle (fetch-decode-execute):
- Fetch: read instruction from memory address in PC; increment PC
- Decode: control unit interprets the instruction opcode
- Execute: ALU performs the operation; result written to register or memory
This cycle repeats billions of times per second (GHz clock rates).
Microcontroller vs microprocessor: a microcontroller integrates the CPU, RAM, flash, and peripherals (ADC, UART, timers, I/O pins) on one chip — the Arduino’s ATmega328 is a microcontroller. A microprocessor is just the CPU core — needs external RAM, storage, and peripherals (the Raspberry Pi’s BCM2711 is closer to a microprocessor, though it’s technically a SoC).
Programming
Hardware executes machine code — binary instructions. Writing binary directly is impractical.
Assembly language: human-readable mnemonics for machine instructions, one-to-one with the underlying opcodes.
MOV A, 5 ; load the value 5 into register A
ADD A, 3 ; add 3 to register A (result: 8)
STA 0x20 ; store result at memory address 0x20
High-level languages (C, Python, Java): abstract away the hardware. One line of C might compile to dozens of machine instructions.
The HVAC controls world runs heavily on ladder logic — a graphical programming language for PLCs (Programmable Logic Controllers) designed to look like relay logic schematics. Electricians familiar with relay diagrams can read and write ladder logic directly.
Code Translations
Compilation: translate the entire high-level source code to machine code before execution. The resulting binary runs directly on hardware with no translation overhead at runtime. C, C++, Rust are compiled.
Interpretation: translate and execute source code line-by-line at runtime. Slower, but more flexible — the same script runs on any machine with the interpreter. Python, JavaScript are interpreted.
Bytecode + VM (Java, Python): source compiles to intermediate bytecode (not machine code). A virtual machine interprets bytecode at runtime. Balance of portability and performance.
Assembler: translates assembly mnemonics to machine code — a direct, simple translation.
In embedded systems (PLCs, microcontrollers), code is almost always compiled — the hardware is too constrained for an interpreter.
Clocks
A clock signal is a square wave oscillating at constant frequency — the heartbeat of synchronous digital logic.
┌──┐ ┌──┐ ┌──┐ ┌──┐
─────┘ └──┘ └──┘ └──┘ └──
← period →
Every flip-flop, register, and synchronous logic element updates on a clock edge (usually the rising edge). This synchronisation ensures all parts of the circuit are in a known state before the next operation begins.
Crystal oscillator: a quartz crystal mechanically resonates at a precise frequency when electrically excited (piezoelectric effect). Provides the stable, accurate frequency reference that digital logic requires. Crystal oscillators are accurate to parts per million (ppm) — a 10 MHz crystal stays within ±10 Hz of 10,000,000 Hz.
Without a clock (asynchronous logic): gates respond as fast as they can, but unpredictable propagation delays cause glitches. Synchronous clocked design avoids this.
Clock speed vs performance: higher clock rate = more operations per second, but also more power (P ∝ f × C × V²) and more heat. Modern CPUs manage this by scaling clock speed dynamically (underclocking at idle, turbo boost under load).
Part 3 — Harness The Power
Design Philosophies
Two broad approaches to embedded control in industrial/HVAC systems:
PLC (Programmable Logic Controller): hardened industrial computer designed for reliability in harsh environments. Modular I/O cards, deterministic real-time execution, programmed in ladder logic or IEC 61131 languages. Expensive but proven. Standard in manufacturing and large HVAC plants.
Microcontroller-based systems: custom PCB with a microcontroller (AVR, ARM Cortex-M, ESP32, etc.). Cheaper, more flexible, requires software development expertise. Common in residential and light commercial equipment.
Design philosophy tension:
- PLCs prioritise reliability and determinism over raw performance
- Microcontrollers prioritise cost and flexibility
- Both are increasingly converging as MCUs gain industrial certifications and PLCs gain Ethernet/cloud connectivity
The question for any control design: what happens on power loss? On sensor failure? On communication failure? Fail-safe defaults are designed in, not added after.
Demand-Controlled Ventilation Example
DCV is a concrete example of digital control in HVAC:
Problem: a conference room occupancy varies from 0 to 50 people. At full occupancy it needs maximum ventilation. Empty, it needs almost none. Fixed-speed fans waste energy running at full speed regardless.
Digital control solution:
- CO₂ sensor measures occupancy proxy (people exhale CO₂; more people = higher CO₂ ppm)
- Microcontroller reads sensor value (analog → digital)
- Control algorithm compares measured CO₂ to setpoint (e.g. 1000 ppm)
- Output: 0–10V signal (or Modbus command) to VFD controlling supply fan speed
- Fan speed tracks demand — full speed at full occupancy, minimum at empty
This is a closed-loop control system: measure → compare to setpoint → adjust output → measure again. The digital controller continuously executes this loop.
Result: energy savings of 30–50% vs constant-volume systems in typical commercial buildings.
Sensors
Sensors translate physical world quantities into electrical signals that a digital system can read.
| Sensor Type | Measures | Output |
|---|---|---|
| Thermocouple | Temperature (wide range, industrial) | Very small millivolt signal, needs amplifier |
| RTD (PT100/PT1000) | Temperature (precise) | Resistance varies with temperature |
| Thermistor | Temperature (NTC: resistance drops with heat) | Resistance change |
| Pressure transducer | Duct static pressure, differential pressure | 4–20 mA or 0–10V analog |
| CO₂ / NDIR sensor | CO₂ concentration (ppm) | 0–10V or digital (Modbus) |
| Humidity sensor | Relative humidity | 0–10V analog |
| Current transformer (CT) | AC current (non-invasive, clamps around wire) | Small AC voltage proportional to current |
| Occupancy sensor | Motion/presence | Digital on/off |
| Airflow station | Airflow velocity/volume | Differential pressure → 0–10V |
4–20 mA current loops: the industrial standard for analog signals. 4 mA = zero (0%) of range, 20 mA = full scale (100%). Current loops are noise-immune over long cable runs (voltage drops don’t affect current). A broken wire reads below 4 mA — detectable as a fault.
Analog to Digital Conversion
Real-world signals are analog — continuous, infinitely variable. Microprocessors are digital — they only work with discrete numbers. The ADC bridges this gap.
An ADC samples an analog voltage and converts it to a binary number.
Resolution: how many bits the ADC output has.
- 8-bit ADC: 2⁸ = 256 discrete levels
- 10-bit ADC: 2¹⁰ = 1024 levels
- 12-bit ADC: 2¹² = 4096 levels
- 16-bit ADC: 2¹⁶ = 65536 levels
LSB (Least Significant Bit) value: the smallest voltage difference the ADC can detect.
LSB = Vref / 2^n
For a 10-bit ADC with 5V reference: LSB = 5V / 1024 ≈ 4.9 mV. The ADC can’t distinguish voltage differences smaller than this.
Sampling rate (Nyquist theorem): to accurately reconstruct a signal, sample it at at least twice the highest frequency it contains. For slow HVAC sensors (temperature changes over seconds), 1 Hz sampling is more than sufficient. For audio (20 kHz max frequency), minimum 40 kHz sample rate — CD quality is 44.1 kHz.
SAR (Successive Approximation Register) ADC — the most common type in microcontrollers:
- Start with the MSB (half the full scale)
- Compare: if input > trial value, keep that bit = 1. If less, set bit = 0.
- Repeat for each bit, narrowing the range each time
- After n comparisons, the n-bit result is complete
This is a binary search through the voltage range — very efficient.
Quantisation error: the analog value is rounded to the nearest digital level. This introduces error of up to ±½ LSB. More bits = finer resolution = lower quantisation error.
Common ADC input ranges in HVAC controls:
- 0–10V (direct processor reading with voltage divider)
- 4–20 mA (convert to voltage via precision resistor: 20 mA × 250Ω = 5V)
- 0–5V (direct into MCU ADC)
Building Management Systems
A BMS (Building Management System), also called BAS (Building Automation System), is the central software platform that monitors and controls all building systems: HVAC, lighting, access control, fire suppression, elevators.
Architecture:
Field Devices (sensors, VFDs, chillers)
↕ (Modbus, BACnet, LonWorks)
Controllers (PLCs, DDC units)
↕ (BACnet/IP, Ethernet)
Supervisory Layer (BMS server, trend logging)
↕ (web API, HTTPS)
User Interface (dashboards, mobile app)
The BMS provides:
- Real-time monitoring of all points (temperatures, pressures, valve positions, alarms)
- Setpoint adjustments and scheduling
- Alarm management and notification
- Trend logging for energy analysis and fault diagnostics
- Integration with utility meters and demand response
Understanding Protocols
A protocol is an agreed-upon set of rules for how devices communicate: message format, timing, error handling, addressing.
In industrial/HVAC systems, multiple protocols coexist because different vendors developed their own standards before interoperability was prioritised. Protocols differ in:
- Physical layer (RS-485 twisted pair, Ethernet, wireless)
- Message framing (how bytes are grouped into packets)
- Addressing (how devices are identified)
- Data model (how values are organised and accessed)
Key protocols in HVAC controls:
| Protocol | Physical Layer | Common Use |
|---|---|---|
| Modbus RTU | RS-485 (serial) | VFDs, sensors, small controllers |
| Modbus TCP | Ethernet | Same devices with Ethernet port |
| BACnet MS/TP | RS-485 | DDC controllers, building automation |
| BACnet/IP | Ethernet | BMS supervisory systems |
| LonWorks | Twisted pair | Older building systems |
| BACnet (general) | Various | ASHRAE standard, widest adoption |
MODBUS
Modbus is one of the oldest and most widely deployed industrial protocols (Modicon, 1979). Simple, open, well-understood.
Data model — four register types:
| Type | Access | Holds |
|---|---|---|
| Coils | Read/Write | Single bits (on/off, enable/disable) |
| Discrete Inputs | Read only | Single bits from sensors |
| Holding Registers | Read/Write | 16-bit integers (setpoints, parameters) |
| Input Registers | Read only | 16-bit integers from sensors |
Modbus RTU (serial): master/slave architecture. One master, up to 247 slaves on the RS-485 bus. Master sends a request; only the addressed slave responds. Half-duplex — one device transmits at a time.
A Modbus RTU frame:
[Slave Address] [Function Code] [Data] [CRC]
1 byte 1 byte n bytes 2 bytes
Function code 03 = “Read Holding Registers”. Function code 06 = “Write Single Register”. The master reads a VFD’s speed by polling its holding registers; writes a speed setpoint by writing to the appropriate register.
Modbus TCP: same data model, wrapped in a TCP/IP packet over Ethernet. The RS-485 bus and CRC are replaced by TCP’s own addressing and error checking.
Gateways
Different systems speak different protocols. A gateway translates between them.
Common example: a building has legacy Modbus RTU devices (VFDs, sensors on RS-485) and a modern BACnet/IP BMS. A gateway device:
- Has both an RS-485 port (Modbus side) and an Ethernet port (BACnet side)
- Stores a mapping table: “Modbus Holding Register 40001 on device 05 = BACnet Object AI-1”
- Periodically polls all Modbus devices and updates its internal data
- Responds to BACnet requests from the BMS using that cached data
Gateways decouple the systems — neither side needs to know the other’s protocol. They’re essential in real buildings where equipment from many manufacturers and eras must interoperate.
Other gateway translations: BACnet ↔ LonWorks, Modbus ↔ KNX, proprietary protocol ↔ standard protocol.
Data-Driven Analysis
Having all building data in a BMS opens the door to analysis beyond simple setpoint control.
Trend logging: record sensor values and equipment states at regular intervals (every minute, every 5 minutes). Over weeks and months, trends reveal patterns: how a chiller’s efficiency drifts with load, how morning warm-up time varies with outdoor temperature.
Fault detection and diagnostics (FDD): automated rules or models flag when equipment behaves abnormally. A compressor drawing more current than expected for a given load is a sign of refrigerant loss or mechanical wear — catch it before failure.
Energy benchmarking: compare consumption across time, weather-normalised, or against similar buildings. Identify the highest-impact systems to target for efficiency improvement.
Demand management: monitor power draw in real-time and shed non-critical loads to avoid peak demand charges — a significant fraction of commercial electricity bills.
Machine Learning and AI
Classic controls use rules and setpoints defined by engineers. ML-based approaches learn behaviour patterns from data.
Predictive maintenance: train a model on historical sensor data before equipment failures. The model learns subtle patterns that precede failures — vibration signatures, temperature deviations, efficiency degradation — and flags anomalies before they become breakdowns.
Setpoint optimisation: instead of fixed setpoints, an ML model continuously adjusts supply air temperature, chilled water temperature, and fan speed based on current conditions, occupancy predictions, weather forecasts, and utility rates. The system learns which setpoints minimise energy without sacrificing comfort.
Occupancy prediction: use historical occupancy patterns, calendar data, and sensor inputs to predict when spaces will be occupied. Pre-condition spaces before arrival rather than reacting to occupancy after the fact.
Limitations to keep in mind:
- ML models are only as good as the data they’re trained on — garbage in, garbage out
- Black-box models are hard to diagnose when they make poor decisions
- Building systems are safety-critical — any ML output should have hard limits and human override
- Data quality (sensor calibration, missing data, outliers) is often the binding constraint
The practical near-term application in HVAC is narrower than the hype: predictive maintenance and setpoint optimisation with human oversight, not fully autonomous AI management.