Sanatorium Boiler House Automation

Why Wiren Board

The ability to remotely configure and program the controller without specialized devices or software was the key factor in our decision.

Director of a local engineering company

About the Company

This regional contractor has been working in the field for over 20 years, specializing in the development and maintenance of modern boiler house systems: designing, constructing, commissioning, and providing long-term service maintenance. Their most popular solutions are autonomous boiler houses dedicated to heating a single building, usually with a power output of several megawatts. These are modern, unattended installations equipped with Automated Process Control Systems (APCS) and Automated Dispatch Control Systems (ADCS). Their main functions include providing heating and hot water (DHW).

Project Goals

Development and implementation of APCS and ADCS for a standalone 2 MW autonomous gas boiler house serving a sanatorium.

The boiler house and the sanatorium under construction at the time of the photo.
The boiler house and the sanatorium under construction at the time of the photo.

The boiler house operates without permanent on-site personnel. It supplies heat to the heating, ventilation, and domestic hot water systems of the sanatorium.

Solutions

The APCS and ADCS are built on the Wiren Board 7 controller and its expansion modules.

Equipment Used:

All logic is implemented using the wb-rules scripting engine, without any third-party software. The user interface is developed through the controller's built-in web interface.

Gas Leak Detection

Detection of natural and carbon monoxide gas is handled by a stationary gas detector. Its dry contact outputs are connected to the inputs of the WB-MR6C v.2 relay module. The following are also wired into this module:

  • Fire alarm output
  • Gas overpressure relay
  • Emergency shutdown button for the main gas valve

The main gas valve (MGV) is connected to the relay module's output. The controller's mapping matrix helped to ensure the MGV closes if any of the input contacts on the relay module is disconnected. This logic operates independently of the controller.

Additionally, the MGV closes if the module loses power. The controller reads the state of the module's inputs and outputs over Modbus RTU.

Control over MGV opening is implemented via a wb-rules script and is only possible (via physical button or web interface) if all safety conditions are satisfied.

Pump Control

The boiler house includes 16 pumps: 13 circulation, 2 feed, and 1 dosing pump.

Circulation pumps
Circulation pumps

The dosing pump has its own automation and the controller only reads fault signals via a WBIO-DI-WD-14 module (dry contact). For the remaining pumps, phase-by-phase voltage, current, and power factors are monitored.

Power quality is measured using WB-MAP3ET electrical measuring devices. A script was implemented which uses the measurements to protect motors from:

  • Overcurrent and undercurrent
  • Current imbalance
  • Voltage anomalies
  • Phase loss
  • Incorrect phase sequence

Hydraulic faults (e.g. closed valve, jammed impeller) are also detected based on power factor.

Most pumps have backups. A script switches to the reserve pump upon failure of the main one. To ensure even motor wear, the operation is switched between the main and reserve pump every 24 hours.

For pumps without an active backup, an auto-restart script attempts limited restarts with timeouts in case of a fault. After all attempts fail, the pump is locked until manual reset. Successful continuous operation for an established timeout resets the attempt counter.

Make-up Water Control

The boiler system includes a water storage tank, which is filled automatically.

Water storage tank and feed pumps
Water storage tank and feed pumps

Four level sensors (dry contact) are used here:

  • High emergency (overflow)
  • High operating (close fill valve)
  • Low operating (open fill valve)
  • Low emergency (tank empty)

Sensors are connected to WBIO-DI-WD-14. The valve is wired to the same relay module as the MGV.

Feed pumps maintain pressure in the heating system using a hysteresis algorithm. A 4–20 mA analog pressure sensor is connected to a 12 channel WB-MAI6 module.

Temperature Control

Heating loop temperature is adjusted within a heating schedule held according to the outdoor temperature. DHW temperature is maintained constant via hysteresis.

Three-way motorized valves mix return flow into the supply to control temperature (in DHW, this refers to heating fluid before the heat exchanger). More mixing = lower output temperature.

Temperature sensors (RTDs) are wired in 3-wire mode to WB-MAI6 (which becomes 6-channel in this mode).

Valve actuators are controlled by a WBIO-DO-SSR-8 module. Its opto-relay output allows short control pulses, minimizing wear compared to mechanical relays.

Boiler Control

The facility houses four Thermex Coloss M condensing boilers with built-in control panels and modulating burners that independently maintain temperature.

Thermex Coloss M boilers
Thermex Coloss M boilers

Temperature setpoints are delivered via 0–10 V signals from the WB-MAO4 analog output module. Setpoints are maintained slightly above the highest required loop temperature.

Boiler lockout signals (dry contact) are generated upon low fluid and/or gas pressure using WBIO-DO-SSR-8.

In case of boiler faults, the boiler panel emits a 230 V "alarm" signal read by the WBIO-DI-WD-14 via an intermediate relay.

Boilers operate in cascade. A script computes the integral of deviation between the output temperature and setpoint over time. When the integral exceeds a threshold, another boiler is engaged; when it drops, one is disengaged. Faulted boilers are excluded. Boilers rotate regularly to balance run time and wear.

Before ignition, the boiler pump starts. Ignition begins only once the pump reaches working condition, based on current and power factor. After shutdown, the pump continues running to cool the heat exchanger.

User Interface

User interface panels are placed on the boiler house automation cabinet door and in the guardroom. These HMI panels communicate with the controller over Ethernet. The user interface is implemented using the controller's built-in web interface.

Audible and visual alarms are triggered by a signaling device mounted outside the boiler building, directly controlled by the controller.

In the guardroom, the MQTT Alert for IOT app runs on the panel, playing sounds triggered by MQTT topic changes. The app only plays specific ringtones and is not used for visual alerts, including one for loss of controller connection.

Maintenance personnel can access the controller's web interface remotely via the Wiren Board Cloud, which ensures secure remote access. Alerts are also sent to a dedicated Telegram group. However, since message delivery isn’t guaranteed, guard personnel are instructed to manually notify engineers if no message or response is seen.

Event Logging

All system events that affect equipment operation are recorded with timestamps in the wb-rules system log. This enables full traceability of actions and responses.

Manual Control Mode

Every component of the boiler house (except safety-critical ones) can be switched to manual mode. This disables automation for that device, and an entry is made in the system log. This is intended for commissioning and maintenance purposes.

Service personnel convenience features
Service personnel convenience features

About Wiren Board

Wiren Board offers a wide range of devices for both simple and complex automation and dispatching tasks: programmable logic controllers, climate sensors, energy meters, network boards for refrigeration units, high-power relay modules, and more.

The company provides a two-year warranty on all equipment, with replacement offered without the need to send the device to a service center in advance. Their technical support engineers are ready to assist with both standard and unconventional challenges.

Legal purchase terms

  • These terms of sale are developed based on the Civil Code of the Republic of Kazakhstan, the Law of the Republic of Kazakhstan "On Consumer Protection," and other regulatory acts. These rules regulate the procedure for retail purchase and sale of goods through the online store, being a public offer addressed to individuals and legal entities ("Buyers").
  • The Buyer accepts the terms and conditions set out in these terms and conditions by placing an Order on the online store's website. An order is considered properly executed if the Buyer provides the Seller with the following information:
    • Buyer's last name and first name
    • Phone number
    • Delivery address
    • Product name
    • Quantity
  • The Buyer grants the Seller the right to use all personal data transmitted in the Order for the following purposes:
    • Fulfilling obligations to the Buyer
    • Forming and developing a loyalty program
    • Informing Buyers about news from the online store
  • Delivery is carried out through third-party services and is available on weekdays from 9:00 to 18:00. Delivery times depend on the region and range from 1 to 14 business days. Delivery terms include the following:
    • Delivery is without demonstration of the product
    • If the Buyer disagrees with the delivery terms, they may cancel the order at any time before receiving it
    • Delivery costs are charged in case of refusal of the product
    • The Buyer must check the product packaging for damages upon receipt
  • Payment for ordered Products can be made:
    • By bank transfer based on the invoice issued to the Buyer
    • By credit card via a payment link generated for the Buyer
  • Orders are processed on working days from 10:00 to 18:00 Astana time. Orders placed after 18:00 will be processed the next business day.
  • Products of good quality can be returned within 14 days of receipt, provided they have not been used. For returns:
    • The Buyer must email a return request to the Seller's support
    • The refund excludes delivery costs
    • Refunds are processed within 10 days of claim submission
  • The warranty period for the Product is 24 months from the date of shipment.
  • The risk of accidental loss or damage passes to the Buyer at the time of transfer, as confirmed by the Buyer's signature on the delivery documents. Ownership passes upon full payment.
  • The legislation of the Republic of Kazakhstan applies to relations between the Buyer and the Seller.
  • The Seller reserves the right to amend these terms. Changes will be posted on the website at least 7 days before their effective date.
  • The Buyer guarantees they understand and accept all terms unconditionally and in full.
  • All disputes will be resolved through negotiations. If no agreement is reached, disputes will be referred to the arbitration court of Astana.