civil-and-structural-engineering
Implementing Energy Harvesting Sensors in Ladder Logic Control Schemes
Table of Contents
What Are Energy Harvesting Sensors and Why Do They Matter for PLC Control?
Energy harvesting sensors are devices that capture ambient energy from sources such as vibrations, thermal gradients, light (indoor or outdoor), or radio frequency (RF) signals, and convert that energy into usable electrical power. Unlike conventional sensors that rely on batteries or hardwired power supplies, these sensors can operate indefinitely without maintenance, making them highly attractive for industrial automation.
In the context of Programmable Logic Controllers (PLCs) and ladder logic control schemes, integrating energy harvesting sensors means you can install sensing points in locations where running power cables is impractical or expensive. For example, monitoring vibration on rotating machinery, detecting temperature variations in remote ducts, or measuring pressure in hard-to-reach piping. The harvested energy powers the sensor, its wireless communication module (if used), and sometimes even the logic element that feeds into your PLC input.
Key Benefits for Ladder Logic Systems
When you integrate energy harvesting sensors into a ladder logic control scheme, you unlock several operational advantages:
- Elimination of battery maintenance: Traditional battery-powered sensors require periodic replacement, which can be costly and disruptive in continuous process environments. Energy harvesting sensors remove that burden entirely.
- Reduced installation costs: No need to run conduit, pull wires, or install junction boxes for power. The sensor draws power from its surroundings, so installation is limited to mounting the sensor and establishing its communication link (wired or wireless).
- Enhanced reliability in harsh environments: Vibration energy harvesters are often more robust than batteries that can degrade under high temperature or chemical exposure. The sensor continues to function as long as the ambient energy source is present.
- Lower total cost of ownership (TCO): Over the lifecycle of an automation system, energy harvesting sensors can reduce TCO by 30% or more, primarily through reduced maintenance and downtime.
- Sustainability and compliance: Many industrial facilities now target carbon reduction goals. Using harvested energy reduces e-waste from spent batteries and lowers the overall energy footprint of the control system.
How Energy Harvesting Sensors Interface with Ladder Logic
Ladder logic programs consist of rungs that represent electrical circuits. Each rung typically contains contacts (inputs) and coils (outputs). Energy harvesting sensors are typically wired to PLC input modules (either digital or analog) that monitor their status. Some sensors output a simple on/off signal (e.g., vibration threshold exceeded), while others provide analog values (e.g., temperature, light intensity, acceleration).
Modern energy harvesting sensor modules often include a small energy storage capacitor (supercapacitor) that accumulates charge and powers the sensor circuitry. The sensor’s output is only active when sufficient energy is available. Consequently, the PLC must handle potential intermittent signals. Ladder logic can be designed to debounce or latch these signals, ensuring reliable control responses even if the sensor’s power supply fluctuates.
Key Implementation Steps
1. Assess the Ambient Energy Source
The first step is to characterize the environment where the sensor will be placed. For example:
- Vibration harvesters: Suitable on machinery with continuous vibration amplitudes above 0.5g at frequencies between 10 Hz and 1 kHz. Examples: conveyor belts, pumps, compressors.
- Thermoelectric harvesters (TEGs): Require a temperature difference (ΔT) of at least 5°C across the harvester. Typical applications: steam pipes, exhaust ducts, hot surfaces near cooling zones.
- Photovoltaic harvesters: Need ambient light levels of at least 200 lux. Can be used in warehouse lighting, near windows, or with dedicated LED sources.
- RF harvesters: Capture radio frequency energy from nearby transmitters (e.g., Wi-Fi, cellular). Often used in low-duty-cycle applications where harvested power is small (microwatts).
Conduct a site survey using a data logger or oscilloscope to measure the energy potential over a full operational cycle. This data determines whether a commercial harvester can supply enough power for the sensor’s required duty cycle.
2. Select the Appropriate Energy Harvester and Sensor Combo
Several manufacturers offer integrated energy harvesting sensor nodes. For example, EnOcean provides wireless energy harvesting switches and sensors that communicate via a standard protocol (EnOcean or an IO-Link wireless variant). These nodes typically include an energy storage element (supercapacitor) and a radio transmitter. The receiver module, connected to the PLC, outputs a dry contact or a digital signal that can be read by the ladder logic.
Another option is to build a custom sensor using a piezoelectric vibration energy harvester from companies like Mide Technology or a thermoelectric generator from TEGPower. These harvesters output a DC voltage (after conditioning) that can be used to charge a capacitor and then trigger a comparator circuit that drives a solid-state relay. The relay’s contacts then become a normally open (NO) input in the PLC.
When selecting a sensor, consider:
- Output type: Discrete (ON/OFF) versus analog (0-10V, 4-20 mA, or digital communication like IO-Link).
- Transmission distance and medium: Wired (low-voltage signal wiring) or wireless (e.g., 868 MHz, 2.4 GHz Zigbee). Wireless adds flexibility but requires power for radio bursts.
- Response time: The sensor’s update rate must align with the PLC scan cycle and the process dynamics.
3. Design Power Management and Buffering
Even with a consistent ambient source, harvesters produce variable power. A typical circuit includes:
- Rectifier and voltage boost: For AC harvester outputs (piezo, RF) and low-voltage thermoelectric outputs.
- Storage capacitor: A supercapacitor (0.1-10 F) accumulates energy and provides bursts of current for transmission or to drive the sensor.
- Power management IC (PMIC): Controls charging, under-voltage lockout (UVLO), and output regulation.
The PLC ladder logic must account for the possibility that the sensor’s output may momentarily drop below threshold if the storage capacitor is depleted (e.g., during prolonged absence of vibration). One common technique is to add a time-delay coil in the ladder logic that holds the last valid state for a predetermined period. Another approach is to use a “heartbeat” signal from the sensor: if the PLC doesn’t see a pulse within a certain window, it declares a fault and defaults to a safe state.
4. Write the Ladder Logic Program
Below are two practical examples of ladder logic rungs that incorporate energy harvesting sensor inputs.
Example 1: Vibration Sensor as a Start Condition for a Pump
Suppose a vibration harvester is attached to a pump motor housing. When the motor vibrates (i.e., running), the sensor closes a contact (VIB_SENSOR). The ladder logic uses this input to enable an output that illuminates a beacon and also to start an auxiliary cooling fan.
Rung 1: Pump running indication
---| VIB_SENSOR |---( PUMP_RUNNING )---
Rung 2: Cooling fan control with a four-second drop-out delay
---| PUMP_RUNNING |---| TON (Timer T4:0, 4.0s) |---( FAN_ON )---
Rung 3: Fault detection if sensor lost for more than 10 seconds
---| VIB_SENSOR |---| TOF (Timer T4:1, 10.0s) |---( FAULT_LATCH )------| FAULT_LATCH |---( RESET )---| XIO VIB_SENSOR |---( OTL FAULT_OUTPUT )---
Here, the timer-off-delay (TOF) starts timing when VIB_SENSOR opens. If the sensor remains open for 10 seconds, the TOF done bit sets a fault latch, which must be manually reset by an operator.
Example 2: Thermal Gradient Sensor for Pipe Freeze Protection
A thermoelectric generator (TEG) is attached between a hot process pipe (80°C) and ambient air (20°C). The TEG outputs a voltage proportional to ΔT. If ΔT drops below a certain threshold, the system signals a possible freeze condition. An analog input module reads the TEG voltage through a signal conditioner. In ladder logic, we compare the analog value to a setpoint.
Rung 1: Temperature differential check
---| GRT (Source A: I:1.0, Source B: 3000) |---( LOW_DELTA_T )---
Note: I:1.0 is the raw analog value; 3000 corresponds to 30°C ΔT (assuming 0-10V = 0-100°C).
Rung 2: Action: turn on heat trace
---| LOW_DELTA_T |---( HEAT_TRACE_OUTPUT )---
Rung 3: Alarm if ΔT stays low for 15 minutes
---| LOW_DELTA_T |---| TON (Timer T4:2, 900s) |---( ALARM )---
5. Validate and Test the System
Before full deployment, simulate the ambient energy source in a test environment. For vibration sensors, use a shaker table. For thermal, use a controlled heat source. Measure the time required for the capacitor to charge to the point that the sensor activates. Confirm that the PLC reliably sees the signal. Adjust debounce timers in the ladder logic based on the sensor’s update rate.
Also test worst-case scenarios: loss of ambient energy (e.g., machine shutdown at night). Ensure the ladder logic transitions to a safe fail state. For critical processes, you may want redundant sensors (one traditional, one energy harvesting) to provide fallback.
Challenges and Mitigations
While the benefits are compelling, engineers must address several real-world challenges:
Intermittent Energy Availability
Many ambient sources are not constant. A conveyor that stops for breaks will cease to vibrate, causing the harvester to lose power. The sensor may reset, and its output will open. In ladder logic, use timers to debounce the signal and prevent nuisance trips. For continuous processes, consider backup storage (larger supercapacitor or a temporary battery buffer).
Sensor Communication Latency
Wireless energy harvesting sensors often “sleep” for long periods to save energy, waking up only to send a data packet. This can introduce delays of several seconds. Ensure the PLC scan time and the control loop requirements can tolerate such lags. For high-speed applications (e.g., motion control), energy harvesting sensors may not be suitable.
Environmental Degradation
Vibration harvesters are mechanical; they can fatigue over time. Thermoelectric modules can degrade due to thermal cycling. Select industrial-grade components with rated lifespans matching your maintenance intervals. Plan for periodic health checks by including a self-test sequence in the ladder logic (e.g., energize a test relay to simulate a sensor signal and verify the input channel).
System Design Complexity
Designing a reliable energy harvesting node requires expertise in electronics (power conditioning, energy storage, low-power circuit design) that not every control engineer possesses. It may be more practical to purchase pre-certified sensor modules from suppliers who also provide PLC interface adapters. For example, IO-Link Wireless now supports energy harvesting devices, simplifying integration with standard PLCs.
Future Outlook and Advanced Applications
The technology is evolving rapidly. New piezoelectric materials with higher power density (e.g., PZT composites, PMN-PT single crystals) and thermoelectric modules with improved efficiency are expanding the range of viable applications. Machine learning algorithms can also optimize energy storage: the PLC can learn the typical harvesting profile over a day and adjust its acceptance thresholds accordingly.
One emerging trend is “energy-aware” ladder logic where the PLC itself monitors the harvester’s stored energy level (via an analog input) and prioritizes lower-power control actions when energy is low. Another development is the use of energy harvesting sensors in Edge-to-Cloud systems: the sensor transmits data wirelessly to a gateway that runs a local PLC on a controller, with the harvested energy powering not just the sensor but also the gateway’s computing.
As Industry 4.0 and the Industrial Internet of Things (IIoT) continue to push for greater sensor density, energy harvesting sensors offer a path to instrument every machine without the cost and complexity of wiring. Pairing them with ladder logic – the most widely used PLC programming language – ensures that plant engineers can adopt the technology without learning entirely new platforms.
For more information, refer to the ISA-95 standard for integrating sensor data into enterprise systems, and review application notes from Texas Instruments’ energy harvesting portfolio to understand available ICs and reference designs.