Demand Controlled Ventilation Logic serves as the primary optimization layer within integrated Building Management Systems (BMS). It functions by dynamically modulating fresh air intake based on real-time occupancy data, primarily derived from Carbon Dioxide (CO2) concentrations. Traditional ventilation strategies rely on static, constant-volume airflow designed for peak occupancy. This legacy approach creates a significant energy overhead during periods of low building density. By implementing Demand Controlled Ventilation Logic, architects can reconcile the conflict between Indoor Air Quality (IAQ) and energy efficiency. The logic resides at the nexus of HVAC mechanical controls and digital sensor networks; it interprets the CO2 payload to adjust Air Handling Unit (AHU) dampers. The central technical challenge involves managing the thermal-inertia of the conditioned space while ensuring the ventilation throughput meets ASHRAE 62.1 standards. This manual addresses the deployment of Non-Dispersive Infrared (NDIR) sensors and the integration of feedback loops into the industrial control stack.
Technical Specifications
| Requirement | Default Port / Operating Range | Protocol / Standard | Impact Level (1-10) | Recommended Resources |
| :— | :— | :— | :— | :— |
| CO2 Sensor Range | 0 to 2000 PPM | Analog 0-10V / 4-20mA | 9 | NEMA 1 Rated Housing |
| Communication Bus | Port 47808 (Default) | BACnet/IP or MS/TP | 8 | CAT6 STP Cabling |
| Logic Controller | 24VAC / 24VDC | Modbus RTU / TCP | 7 | 512MB RAM / 1GHz CPU |
| Sampling Rate | 1Hz to 0.1Hz | IEEE 802.3 | 6 | Low-Latency Backplane |
| Calibration Cycle | 6 to 12 Months | ABC Logic (Self-Cal) | 5 | Nitrogen Calibration Gas |
The Configuration Protocol
Environment Prerequisites:
Successful implementation of Demand Controlled Ventilation Logic requires adherence to several baseline infrastructure standards. First; ensure all hardware complies with ASHRAE Standard 62.1 for ventilation in commercial buildings. The network environment must support low-latency communication between the sensor nodes and the central PLC (Programmable Logic Controller). User permissions for the BMS must include Read/Write/Execute access to the HVAC_Control_Logic partition. Software dependencies include a compatible DDC (Direct Digital Control) firmware version that supports PID (Proportional-Integral-Derivative) loop functions. Hardware prerequisites involve a 24VAC power supply capable of handling the cumulative overhead of all networked NDIR sensors without significant voltage drop or signal-attenuation.
Section A: Implementation Logic:
The engineering “Why” behind Demand Controlled Ventilation Logic centers on the correlation between human respiration and CO2 accumulation. As occupancy increases, the CO2 concentration rises, acting as a proxy for the total bio-effluent load. The implementation logic utilizes a setpoint-based feedback loop. The controller monitors the CO2 parts per million (PPM). When the PPM exceeds the defined threshold; typically 800-1000 PPM; the logic increases the throughput of the AHU by opening the outside air dampers. This operation must be idempotent; multiple identical requests from the sensor must result in the same physical damper position to prevent mechanical hunting. Furthermore, the encapsulation of the data within the BACnet or Modbus packet must ensure that the payload arrives without packet-loss to prevent the controller from defaulting to a fail-safe (fully open) state, which would maximize energy waste.
Step-By-Step Execution
Step 1: Physical Sensor Mounting and Orientation
The engineer must install the NDIR CO2 Sensor at the breathing zone height, typically between 3 and 6 feet above the finished floor. Avoid locations near open windows, supply air diffusers, or heavy draughts to prevent false low readings.
System Note: Proper placement ensures that the air being sampled is representative of the actual occupancy zone, reducing the latency between a change in occupancy and the system response.
Step 2: Signal Termination and Voltage Verification
Connect the +24V, Common, and Signal wires to the sensor terminals. Using a fluke-multimeter, verify that the voltage at the sensor leads matches the power supply output. Check for signal-attenuation by measuring the voltage at both the transformer and the sensor if the cable run exceeds 100 feet.
System Note: Maintaining clean 0-10V or 4-20mA signals is vital for accurate data ingestion at the controller level; any attenuation will result in skewed CO2 readings.
Step 3: Logic Controller Driver Initialization
Access the BMS terminal and navigate to the hardware_tree. Initialize the specific communication driver for the Modbus or BACnet sensor. Use the command systemctl status bacstack.service to ensure the communication stack is active and listening on the designated port.
System Note: This step establishes the digital handshake between the hardware and the software, enabling the controller to read the sensor payload from the peripheral bus.
Step 4: Map Input Registers to Logic Variables
In the controller’s programming interface, map the hardware input address (e.g., AI_1 or Modbus_Reg_40001) to a logic variable named ROOM_CO2_LEVEL. Verify the scaling; usually 0-10V equals 0-2000 PPM.
System Note: Correct mapping ensures that the raw electrical signal is converted into a meaningful integer or floating-point value for the Demand Controlled Ventilation Logic.
Step 5: Establish PID Control Loop for Damper Modulation
Configure a PID loop where ROOM_CO2_LEVEL is the process variable and CO2_SETPOINT (e.g., 900) is the target. The output of this loop should drive the OUTSIDE_AIR_DAMPER actuator.
System Note: The PID loop manages the concurrency of multiple inputs and adjusts the throughput based on the error between the actual and desired CO2 levels, accounting for the building’s thermal-inertia.
Section B: Dependency Fault-Lines:
The primary failure point in Demand Controlled Ventilation Logic is sensor drift. NDIR sensors often experience shift over time, leading to inaccurate readings that either starve the building of fresh air or cause excessive energy consumption. Another bottleneck is the mechanical latency of the damper actuators; if the logic polls the sensor too frequently, the mechanical components may suffer premature wear. Signal-attenuation in 0-10V lines is common in large industrial shells where electromagnetic interference from high-voltage motor leads disrupts the low-voltage analog signal. Finally, software library conflicts within the BMS can disrupt the Modbus polling service, leading to stale data and logic lock-ups.
THE TROUBLESHOOTING MATRIX
Section C: Logs & Debugging:
When the logic fails to modulate airflow, the auditor must first inspect the system logs. Path-specific instructions for most Linux-based BMS controllers include checking /var/log/bms_runtime.log or /var/log/bacnet_errors.log. Look for specific error strings such as “Device Timeout” or “Signal Out of Range”. If a sensor reports a “High” status consistently, it may indicate a calibration fault or a physical obstruction in the NDIR sensing chamber.
Use the following table for visual-to-logic fault correlation:
| Indicator | Fault Pattern | Root Cause |
| :— | :— | :— |
| Flatline 0V Signal | Zero airflow modulation | Broken conductor or fuse failure |
| PPM > 2000 (Maxed) | Dampers 100% open | Sensor calibration drift or short circuit |
| Erratic Fluctuations | Hunted damper positioning | Signal-attenuation or high EMI |
| “Offline” Status | No logic response | Packet-loss or Modbus ID conflict |
Verify sensor readouts by comparing the BMS value to a handheld CO2-Probe. If the values differ by more than 50 PPM, initiate an automated background calibration or manual nitrogen zeroing procedure.
OPTIMIZATION & HARDENING
– Performance Tuning: To improve system responsiveness, adjust the derivative constant (D) of the PID loop to account for rapid changes in occupancy, such as in conference rooms. Ensure the sampling throughput is optimized to prevent CPU spikes on the controller; a 30-second polling interval is generally sufficient for air quality logic.
– Security Hardening: Isolate the HVAC network using a dedicated VLAN. Implement strict firewall rules to allow only Port 47808 traffic from authorized BMS workstations. Change all default Modbus IDs and BACnet Device Instance numbers to prevent unauthorized device injection. Use chmod 600 on configuration files containing system setpoints to restrict unauthorized write access.
– Scaling Logic: When expanding the system, utilize BACnet/IP for the backbone to maintain high concurrency and throughput. For every extra 10 sensors, verify the power budget of the 24VAC circuit to prevent voltage sags. Implement a master/slave logic architecture where individual zone controllers report to a central AHU coordinator to ensure balanced static pressure across the entire duct network.
THE ADMIN DESK
How do I handle a sensor that frequently stays at 400 PPM?
400 PPM is the typical outdoor baseline. This suggests the sensor is either working perfectly in an empty room or the logic is stuck in a “Default to Fresh Air” calibration mode. Verify the room occupancy before recalibrating.
What causes the dampers to oscillate rapidly?
This is often caused by an aggressive Proportional gain in the PID loop. Increase the integral time to dampen the response and account for the thermal-inertia of the space, allowing the system to stabilize between adjustments.
Can I run CO2 sensor wires near fluorescent lights?
No. Fluorescent ballasts generate electromagnetic interference that causes signal-attenuation and noise on 0-10V analog lines. Always use shielded twisted pair (STP) cabling and maintain at least 12 inches of separation from high-voltage conduits.
What happens to the ventilation logic if the CO2 sensor fails?
Redundant logic should be configured to “Fail-Safe High”. This means if the payload is lost or the signal is 0V, the controller should force the dampers to the minimum required position for full occupancy to ensure safety.
How does humidity affect Demand Controlled Ventilation Logic?
High humidity can cause condensation on the NDIR mirrors, leading to erroneous CO2 spikes. Ensure sensors are installed in locations where the relative humidity remains below 90% non-condensing to maintain sensor accuracy.