Vacuum Pump Staging Architecture Overview
Sequencing multiple vacuum pumps against a single pressure transmitter is one of the most common small-controller applications in industrial pneumatic and process plants. The reference application described here uses three 230 V contactor-driven pumps (Q1, Q2, Q3) controlled by a Siemens LOGO! logic module, with a WIKA pressure transmitter spanning -1 bar to 0 bar on a 0-10 V output. The controller must stage pumps on as vacuum rises (pressure becomes more negative) and rotate lead/lag runtime to equalize wear.
Pressure setpoint bands in this application are tight (a 0.2 bar window around -1 bar governs the cycling of pumps Q1 and Q2, and a 1.0 bar window governs the addition of Q3). With raw analog sampling at 10-bit resolution and a noisy pneumatic installation, naive threshold comparison produces output chattering at the band edges. The fix is a combination of proper analog scaling, a hysteresis-equipped Analog Threshold Trigger (Schwellwertschalter), and an Average Value block ahead of the comparator. This article walks through the complete implementation in LOGO! Soft Comfort V8.x or V9.x, including firmware considerations for the new LOGO! 9 generation introduced by Siemens.
Hardware Prerequisites and Wiring
The following hardware satisfies the reference design. Order numbers are taken from the Siemens Industry Mall and the LOGO! 9 product family release.
| Component | Function | Catalog / Order Number |
|---|---|---|
| LOGO! 9 Base Module (12/24 RCE) | CPU, 8 DI / 4 DO, 4 AI (0-10 V) | 6ED1052-2MD08-0BA2 (8-series equivalent) |
| LOGO! 9 BM (230 RCE) | CPU with relay outputs rated for pump contactors | 6ED1052-2HB09-0BA2 |
| LOGO! DM8 230R Expansion | Additional 4 DI / 4 DO if more than 4 outputs needed | 6ED1055-1FB10-0BA2 |
| LOGO! AM2 Expansion | Extra analog inputs if transmitter is remote | 6ED1055-1MA00-0BA2 |
| WIKA S-10 or A-10 Pressure Transmitter | -1 to 0 bar, 0-10 V, 3-wire | WIKA S-10 (configuration dependent) |
| LOGO! Soft Comfort V9.0 | Programming environment | 6ED1058-0BA28-0YA1 (DVD) or download |
Wire the WIKA transmitter output (signal, +, -) to LOGO! AI1 (terminal I7 on the BM for the 230 V variants, which accepts 0-10 V on inputs I7/I8). Provide a shielded cable and ground the shield at the panel entry only. Each pump contactor coil is driven from a LOGO! Q-output through an interposing relay if the coil inrush exceeds the LOGO! relay rating (typically 10 A resistive, 3 A inductive at 230 V AC).
WIKA Pressure Transmitter Signal Characteristics
The WIKA pressure transmitter in the reference design spans the following electrical and physical range:
| Pressure (bar, gauge) | Output Voltage (V) | LOGO! Raw Units (0-1000) |
|---|---|---|
| 0.0 | 10.00 | 1000 |
| -0.2 | 8.00 | 800 |
| -0.4 | 6.00 | 600 |
| -0.6 | 4.00 | 400 |
| -0.8 | 2.00 | 200 |
| -1.0 | 0.00 | 0 |
The relationship is linear and negative-going:
V_out = 10 * (P - P_min) / (P_max - P_min) where P_min = -1 bar, P_max = 0 bar
P_bar = -1 + (V_out / 10)
LOGO! raw = (V_out / 10) * 1000 = 0 to 1000
P_bar = (raw / 1000) - 1 (units: bar, gauge)
The native LOGO! internal representation for a 0-10 V input is the integer range 0-1000. To make the engineering value of -1 bar readable in the program, you must perform a polarity inversion using an Analog Amplifier block, an Arithmetic block, or use a signed-physical scaling mode if your firmware supports it. On LOGO! 9 firmware >= V1.9.0, the analog inputs can be configured with signed values directly in the message text or web server.
Analog Signal Scaling in LOGO!
Two practical approaches exist in LOGO! Soft Comfort to convert the raw 0-1000 reading into a -1000 to 0 engineering value (representing -1.000 bar to 0.000 bar in decibar resolution).
Approach 1: Analog Amplifier with Gain and Offset.
Block: B001 (Analog Amplifier)
Input : AI1 (raw, 0-1000)
Gain : -1.00
Offset : -1000
Output : AQW1 (signed, -1000 to 0)
Display message: Pressure = AQW1 / 1000 (bar)
Approach 2: Arithmetic block with linear transform.
B002 (Arithmetic)
Formula: Y = ((AI1 - 0) * (-1)) + 0
= -AI1
Result : 0 to -1000
Optional divide-by-1000 scaling for display.
Both approaches yield the same signed engineering range. Use the Arithmetic block when you also need to combine the pressure value with other analog signals (for example, to compute a running average of multiple transmitters or to apply a square-root extraction for differential pressure).
Threshold Trigger Configuration for Chattering Prevention
The root cause of the original problem described in the application request is the use of a single-edge comparator against a noisy analog signal. The Analog Threshold Trigger (block group "Analog") is the correct function block, because it accepts separate On and Off thresholds. The hysteresis gap between these two values defines the deadband around the setpoint.
| LOGO! Block | Parameter | Value (engineering) | Value (raw -1000 to 0) |
|---|---|---|---|
| B003 Threshold Trigger (Pump Q1 staging) | On threshold | -0.80 bar | -800 |
| B003 | Off threshold | -0.78 bar | -780 |
| B004 Threshold Trigger (Pump Q3 staging) | On threshold | -0.99 bar | -990 |
| B004 | Off threshold | -1.00 bar | -1000 |
| B005 Threshold Trigger (Q1 lead rotation) | On | -1.00 bar | -1000 |
| B005 | Off | -0.95 bar | -950 |
Choose a hysteresis gap that is greater than the peak-to-peak measurement noise. For a typical industrial pneumatic system with a 24 ms scan and a 0-10 V signal, expect 5-15 mV RMS of noise. At 10 V full scale = 1 bar, this equates to 5-15 mbar peak-to-peak. A hysteresis of 20 mbar (200 raw units) provides a 2x to 4x safety margin.
Pump Sequencing State Machine
The required staging logic per the original specification is:
| Pressure Band | Q1 | Q2 | Q3 | Notes |
|---|---|---|---|---|
| P = -1.00 bar | Duty: 5 min on, 5 min off (alternation with Q2) | Duty: 10 min on, 5 min off | OFF | Lead/lag alternation timer active |
| -1.00 < P <= -0.80 bar | ON | ON | OFF | Two pumps at full demand |
| -0.80 < P <= 0.00 bar | ON | ON | ON | All three pumps running |
Implement the state machine with the following blocks in LOGO! Soft Comfort:
B006 - On-delay 5 min (T1) : enable alternation of Q1/Q2 lead role
B007 - On-delay 10 min (T2) : back-up run timer for Q2 at -1 bar band
B008 - Off-delay 30 s (T3) : minimum run time after staging Q3 on
B009 - RS Flip-Flop (Q1 lead) : alternates between Q1 and Q2 every 5 min
B010 - RS Flip-Flop (Q2 lead) : inverse of B009
B011 - AND (Q3 enable) : B004 output AND NOT(B006 elapsed)
B012 - OR (Q1 final) : B003 OR B009
B013 - OR (Q2 final) : B003 OR B010 OR B007
B014 - AND (Q3 final) : B011 AND (Q3 not in 1-min inhibit window)
Wiring rationale: When the threshold trigger B003 trips (P rising above -0.80 bar), Q1 and Q2 latch on through B012 and B013. When P drops back through -1.00 bar and stays, the alternation timer B006/B007 begins cycling the lead/lag role. B008 prevents Q3 from re-cycling during rapid pressure oscillations near the upper setpoint.
Average Value Filter and TOFF Debouncing
To further suppress high-frequency noise on the analog input before the threshold trigger, insert an Average Value block (Mittelwert) between AI1 and the scaling amplifier. Recommended configuration:
B015 - Average Value
Sample time (ST) : 200 ms (5 samples per 1.0 s LOGO! scan window)
Number of samples (N) : 8 (4 s moving window)
Output : to B001 (Analog Amplifier for scaling)
For digital output chattering caused by mechanical relays or contactor bounce, add an Off-delay (TOFF) timer immediately after each threshold trigger output:
B016 - Off-delay 2.0 s on Q1 output
B017 - Off-delay 2.0 s on Q2 output
B018 - Off-delay 5.0 s on Q3 output (longer to protect from rapid stage-out)
This dual-stage filter (analog moving average + digital off-delay) reliably eliminates chattering on installations with up to 30 mV RMS noise on the 0-10 V signal. The total loop delay introduced is approximately N * ST + TOFF = 4 s + 2 s = 6 s, which is acceptable for vacuum system pressure time constants of 10-60 s.
Alternative Approaches: PI Controller and PWM
The original question mentioned attempting PI controller and PWM functions. These are appropriate when modulating a variable-speed pump or a proportional valve rather than staging discrete contactors. For the discrete three-pump application, the threshold trigger + off-delay + alternation timer approach is the correct choice. The PI controller is recommended only if the system is later upgraded to include a VFD-driven pump.
If a PI controller is required:
B020 - PI Controller
SP (setpoint) : -800 (engineering: -0.80 bar)
PV (process var): AQW1 (scaled pressure)
KP : 0.50
TN (integral) : 30 s
Direction : Direct (output rises as PV drops below SP)
Manual mode : Connect to digital input I1 for maintenance bypass
If PWM is required for a throttle valve:
B021 - PWM
Period : 10 s
Minimum on-time : 0.5 s
Input : B020 analog output (0-100%)
For the discrete staging application described, leave the PI and PWM blocks out of the program. They introduce unnecessary complexity and can actually worsen relay chattering because the output slews continuously across the trigger band.
LOGO! Soft Comfort Implementation Steps
- Open LOGO! Soft Comfort V9.0 and select the target hardware: File > Select Hardware > LOGO! 9 BM 230 RCE.
- Wire the WIKA transmitter output to analog input I7 on the BM. Confirm in the right-side "Inputs" panel that AI1 reads a stable voltage when the line is pressurised.
- Insert B015 (Average Value) and route its output to B001 (Analog Amplifier with gain -1, offset -1000).
- Insert B003, B004, B005 (Analog Threshold Trigger blocks) and enter the On/Off threshold values from the table above.
- Insert B006 (On-delay 5 min) and B007 (On-delay 10 min) for alternation timing.
- Insert B008 (Off-delay 30 s) for minimum-run protection.
- Insert RS flip-flops B009 and B010 to implement the lead/lag alternation between Q1 and Q2.
- Build the AND/OR network B011 to B014 to derive the final coil drive signals for Q1, Q2, Q3.
- Insert B016, B017, B018 (Off-delay blocks) on each output to provide mechanical debounce.
- Assign outputs Q1, Q2, Q3 on the LOGO! base module to the B014 outputs.
- Add a Display message (LOGO! onboard display or LOGO! TDE) showing the live pressure value and the pump status. Example text:
P = [AQW1 / 1000] bar Q1:[B012] Q2:[B013] Q3:[B014]. - Save the project as a .lsc file, then transfer to the LOGO! via Ethernet or LOGO! USB cable.
- Run in simulation mode first (Tools > Simulation) to verify the logic against the pressure waveform from your pneumatic system.
Commissioning and Verification Procedure
- With the system at atmospheric pressure (0 bar), confirm AI1 reads 1000 raw units and the display shows 0.00 bar.
- Apply -0.50 bar with a calibrated pressure standard. Confirm the display reads -0.50 bar within +/-0.02 bar.
- Slowly decrease pressure through -0.80 bar. Verify Q1 and Q2 energise; verify Q3 stays off.
- Continue to -1.00 bar. Verify Q3 turns off and the lead/lag timer begins. Confirm after 5 minutes the active Q1/Q2 pair swaps.
- Return pressure to 0 bar. Verify all three pumps restart in the order Q1, Q2, Q3 with the 2 s off-delay between staging events.
- Log the LOGO! web server or TDE display data over a 24-hour burn-in. Confirm no spurious cycling events and that pump runtime is balanced within +/-10% between Q1 and Q2.
- Record the firmware version reported on the LOGO! display (Menu > Diagnostics > FW Version). Document the LOGO! Soft Comfort project revision number and date in the maintenance log.
Troubleshooting Matrix
| Symptom | Likely Root Cause | Diagnostic Step | Corrective Action |
|---|---|---|---|
| Pump relays chatter at threshold edge | Hysteresis gap too small or no off-delay | Monitor AI1 raw value in simulation; check peak-to-peak noise | Increase hysteresis to 200 raw units; insert TOFF 2 s on output |
| Pressure reads 0.00 bar but actual is -1.0 bar | Polarity inversion missing | Verify AI1 = 0 at -1 bar | Apply gain -1, offset -1000 in B001 |
| Pressure jumps in 50 mbar steps | 10-bit ADC resolution, no averaging | Check AI1 stability with a voltmeter at the terminal | Insert B015 Average Value with N=8, ST=200 ms |
| Q1 and Q2 never alternate | On-delay timer not reset by rising pressure | Observe B006 timing in simulation | Add reset on B006 from B003 output (rising edge of staging) |
| Q3 cycles too fast near -0.99 bar | Hysteresis gap on B004 too small | View LOGO! online data; count Q3 events per hour | Move Off threshold to -0.95 bar and On to -1.00 bar |
| LOGO! shows analog input < 0 even at 0 bar | Wiring reversed on 3-wire transmitter | Measure transmitter output at the LOGO! terminal | Swap signal and ground; re-verify scaling |
| All pumps run continuously regardless of pressure | Threshold trigger in inverse mode | Check B003 / B004 parameter 'On' vs 'Off' | Re-enter thresholds per the table in this article |
| LOGO! web server shows scrambled pressure text | Signed value not enabled (LOGO! 8 firmware) | Check FW version on the LOGO! display | Update to LOGO! 9 firmware or use an Arithmetic block to compute a positive display value |
Specifications Summary
| Parameter | Value |
|---|---|
| Transmitter range | -1.0 to 0.0 bar gauge |
| Output signal | 0-10 V DC, 3-wire |
| LOGO! AI resolution | 10 bit (0-1000 raw units) |
| Effective resolution | 1.0 mbar per LSB at -1 bar end, 0 mbar at 0 bar (linear) |
| Recommended hysteresis | 20-50 mbar (200-500 raw units) |
| Filter window | 4 s (8 samples at 200 ms) |
| Output debounce | 2-5 s off-delay |
| Alternation interval | 5 min on, 5 min off per pair |
| Minimum run time after Q3 on | 30 s |
| Maximum recommended scan burden | Analog blocks + 8 sample average: < 30 ms scan on LOGO! 9 |
Frequently Asked Questions
Why is my LOGO! reading too sensitive at the threshold edge?
The 0-10 V analog input on the LOGO! has 10-bit resolution and samples electrical noise from contactors and VFDs. Insert an Average Value block (N=8, ST=200 ms) before the scaling amplifier, then use an Analog Threshold Trigger with separate On and Off thresholds (hysteresis of at least 200 raw units or 20 mbar) and a 2-5 s off-delay on each output relay.
How do I scale a 0-10 V input that represents -1 to 0 bar?
Use an Analog Amplifier block with gain = -1 and offset = -1000. The 0-1000 raw input from the WIKA transmitter becomes -1000 to 0, which directly represents -1.000 bar to 0.000 bar. Alternatively, an Arithmetic block with Y = -AI1 produces the same result.
Do I really need a PI controller for a three-pump staging application?
No. Discrete three-pump staging is best handled by threshold triggers plus lead/lag timers. A PI controller is only useful if you later add a variable-speed drive on one pump and want proportional control. Using PI with discrete pumps tends to increase relay cycling and accelerate contactor wear.
Which LOGO! base module should I order for 230 V pumps and a 0-10 V transmitter?
Order the LOGO! 9 BM 230 RCE (catalog number 6ED1052-2HB09-0BA2) or its LOGO! 8 equivalent (6ED1052-2HB08-0BA2). The 230 V variant has relay outputs rated for direct pump contactor coils up to 10 A resistive and accepts 0-10 V on analog inputs I7 and I8 without an external resistor.
How do I view the live pressure value on the LOGO! display or web server?
Add a Display message block. On LOGO! 9 firmware with signed analog enabled, the text "P = [AQW1 / 1000] bar" displays the engineering value directly. On LOGO! 8 firmware, divide the scaled value by 1000 in the message text using the / operator or insert an extra Arithmetic block to produce a positive 0-1000 display string.