Field fix / guideDesign DocumentVendor-agnostic (IEC 61131-3)Manufacturingindustrial-automation

Pneumatic Valve Proportional Actuation — Control Design

Shared by TSIMEREZIVO Team · 4 Oct 2026 · 39 views

# Manufacturing Template: Pneumatic Valve Proportional Actuation ## 1. Overview **Purpose:** Proportional control of directional control valves (solenoid-piloted spool valves) using pulse-width modulation (PWM) to achieve smooth actuation of pneumatic cylinders. Applications: press control, clamping, tool changer actuation, part positioning, pick-and-place systems. **Industry Standards:** - ISO 4401-1 (Hydraulic and Pneumatic Fluid Power Systems — Electrical Control) - ISO 4401-05 (Ported Plate Cavity Designs) - ISO 12922 (Industrial Oils — Guidelines) - NFPA T2.21.1 (Pneumatic Directional Control Valves) **Critical Constraints:** - **PWM frequency:** Typically 100–500 Hz (balance solenoid coil heat vs. control resolution) - **Deadband:** ±8% of ΔP (proportional valve spool static friction; 0.3–0.5 bar) - **Spool response lag:** 20–50 ms from coil command to spool position change - **Supply pressure stability:** ±2 bar variation causes nonlinear gain (flow/pressure dependency) - **Pressure drop across valve:** 2–5 bar at design flow (50 L/min); avoid system starvation - **Cylinder load sensing:** Back-pressure feedback allows load-adaptive control (2.1 ratio load/area) **Relevant Physics:** - Solenoid force: **F = (N² × μ₀ × A_coil × I²) / (2 × g²)** (proportional to current squared) - Proportional valve spool position: **x_spool = f(ΔI_solenoid)** (typically linear in control range) - Flow through orifice: **Q = C_d × A × √(2 × ΔP / ρ)** (pressure-dependent; gain varies with ΔP) - Cylinder speed: **v_cyl = Q / A_piston** (flow → linear velocity) - Load pressure: **P_load = F_load / A_piston** (back-pressure feedback) --- ## 2. Control Philosophy **Challenge:** Proportional solenoid coils have nonlinear current-force relationship (I²), spool response lags (~30 ms), and valve flow gain depends on supply pressure. Simple OpenLoop PWM duty cycle causes jerky motion (quantization). Closed-loop reading spool feedback enables smooth proportional control. **Solution: PWM-Driven Spool Position Feedback Control** ``` Base Principle: Proportional Solenoid as Current-Controlled Device - Replace simple on/off solenoid with 2-stage pilot solenoid (proportional valve) - Current proportional to spool position: I = (x_desired / x_max) × I_max - PWM at high frequency (200 Hz): provide "average" current across multiple cycles - Feedback: LVDT (Linear Variable Differential Transformer) measures spool position (0–10 mm) PWM Modulation Strategy: - Command spool position: -100% (fully left) to +100% (fully right) - Convert position to current: I_cmd = (cmd% / 100%) × I_max (e.g., 400 mA max) - PWM duty cycle = I_cmd / I_max (linear relationship) - Solenoid coil dissipates: P = I² × R; typical 1–2 W continuous (acceptable) Closed-Loop Control (Spool Position): - Measure spool position from LVDT: x_actual (mm) - Compare to desired position: error = x_desired − x_actual (mm) - PI control: I_cmd = Kp × error + Ki × ∫error - Adjustment time: 50–100 ms typical (solenoid + spool inertia) - Deadband: ±0.2 mm to prevent chatter Load Compensation (Optional but Recommended): - Measure load pressure (back-pressure) on cylinder ports - If load increases, command slightly higher solenoid current to overcome friction - Maintain constant spool position despite load variation Pressure Compensation: - Monitor supply pressure continuously - If supply pressure drops 5 bar → flow gain decreases → adjust current +10% - Keeps cylinder speed roughly constant despite supply variation ``` **Why this works:** - PWM smooth actuation (no jerky on/off relay behavior) - Spool feedback control compensates for supply pressure variation - Load compensation maintains speed with variable load - Proportional valve enables flow regulation without external throttle --- ## 3. Control Logic **Pseudocode: Pneumatic Valve Proportional Actuation** ```pascal { === PROPORTIONAL PNEUMATIC VALVE CONTROL === } { Controls: 4/3 directional control valve with LVDT spool feedback } PROCEDURE Pneumatic_Valve_Proportional_Master CONSTANTS SPOOL_POSITION_MAX = 10.0 { mm, fully open } SPOOL_POSITION_MIN = -10.0 { mm, fully open opposite direction } SPOOL_DEADBAND = 0.2 { mm, prevent chatter } SOLENOID_CURRENT_MAX = 0.4 { A, 400 mA design max } SOLENOID_CURRENT_MIN = 0.05 { A, 50 mA minimum to move spool } SOLENOID_RESISTANCE = 100.0 { Ω, 0.4A×100Ω = 40V coil } PWM_FREQUENCY = 200 { Hz, frequency of PWM } PI_KP_SPOOL = 0.08 { proportional gain for spool } PI_KI_SPOOL = 0.010 { integral gain for spool } SPOOL_RESPONSE_TIME = 30.0 { ms, servo lag } SUPPLY_PRESSURE_NOMINAL = 60.0 { bar, typical compressed air } PRESSURE_COMP_GAIN = 0.10 { adjust current 10% per 5 bar drop } MAX_LOAD_PRESSURE = 100.0 { bar, safety limit } CYLINDER_AREA_A_SIDE = 50.0 { cm², piston area (rod side) } CYLINDER_AREA_B_SIDE = 70.0 { cm², piston area (blank side) } VARIABLES command_spool_position : REAL { -100% to +100%, operator input } spool_position_actual : REAL { mm, from LVDT } spool_position_error : REAL { mm } spool_integral_error : REAL solenoid_current_cmd : REAL { A, desired coil current } pwm_duty_cycle : REAL { 0–100%, solenoid on-time per period } supply_pressure : REAL { bar, from pressure gauge } load_pressure_a : REAL { bar, A-side back-pressure } load_pressure_b : REAL { bar, B-side back-pressure } load_force_estimate : REAL { N, from pressure × area } cylinder_velocity : REAL { m/s, measured from position sensor } cycle_counter : INTEGER { PWM cycle count } pwm_on_time_ms : REAL { fraction of PWM period } BEGIN { === READ FEEDBACK SENSORS === } spool_position_actual = Read_LVDT_Spool_Position() { mm } supply_pressure = Read_Supply_Pressure_Gauge() { bar } load_pressure_a = Read_Load_Pressure_A_Port() { bar } load_pressure_b = Read_Load_Pressure_B_Port() { bar } cylinder_velocity = (previous_position − current_position) / SCAN_INTERVAL_SEC { === SAFETY CHECKS ===} IF supply_pressure < 40.0 THEN Log_Warning("SUPPLY_PRESSURE_LOW", supply_pressure) { Reduce command spool position to avoid stalling } command_spool_position := command_spool_position × 0.8 END IF IF load_pressure_a > MAX_LOAD_PRESSURE OR load_pressure_b > MAX_LOAD_PRESSURE THEN Log_Alarm("LOAD_PRESSURE_EXCEEDED", MAX(load_pressure_a, load_pressure_b)) { Reduce spool command to prevent rupture } command_spool_position := 0.0 END IF { === CLOSED-LOOP SPOOL POSITION CONTROL === } { Convert command (−100 to +100%) to desired spool position (−10 to +10 mm) } desired_spool_mm = (command_spool_position / 100.0) × SPOOL_POSITION_MAX { Proportional-Integral control } spool_position_error = desired_spool_mm − spool_position_actual { Check deadband } IF ABS(spool_position_error) < SPOOL_DEADBAND THEN spool_position_error := 0.0 END IF { Integral accumulation } spool_integral_error = spool_integral_error + spool_position_error × SCAN_INTERVAL_SEC / 1000.0 spool_integral_error = Clamp(spool_integral_error, −5.0, +5.0) { anti-windup } { PI output to solenoid current } pi_output = (PI_KP_SPOOL × spool_position_error) + (PI_KI_SPOOL × spool_integral_error) { === BASELINE CURRENT CALCULATION === } { For a given spool position, estimate base current needed } current_baseline = ABS(desired_spool_mm / SPOOL_POSITION_MAX) × SOLENOID_CURRENT_MAX { === PRESSURE COMPENSATION === } { If supply pressure drops, increase current to maintain same spool position } pressure_ratio = SUPPLY_PRESSURE_NOMINAL / supply_pressure pressure_adjustment = (pressure_ratio − 1.0) × current_baseline × PRESSURE_COMP_GAIN { === LOAD COMPENSATION (Optional) === } { If load pressure on one side is high, increase current to overcome friction } load_pressure_max = MAX(load_pressure_a, load_pressure_b) load_adjustment = (load_pressure_max / 50.0) × 0.05 { add 5% current per 50 bar load } { === FINAL SOLENOID CURRENT COMMAND === } solenoid_current_cmd = current_baseline + pressure_adjustment + load_adjustment + (pi_output × 0.05) solenoid_current_cmd = Clamp(solenoid_current_cmd, SOLENOID_CURRENT_MIN, SOLENOID_CURRENT_MAX) { === PWM DUTY CYCLE GENERATION === } { Assuming solenoid coil voltage = supply voltage (typically 24 VDC) } supply_voltage = 24.0 { VDC } solenoid_voltage_cmd = solenoid_current_cmd × SOLENOID_RESISTANCE pwm_duty_cycle = (solenoid_voltage_cmd / supply_voltage) × 100.0 pwm_duty_cycle = Clamp(pwm_duty_cycle, 0.0, 100.0) { === CONTINUOUS PWM OUTPUT === } { Generate PWM signal at 200 Hz (5 ms period) } pwm_on_time_ms = (pwm_duty_cycle / 100.0) × (1000.0 / PWM_FREQUENCY) Set_PWM_Solenoid_Power(pwm_duty_cycle) { Hardware PWM module } { === DIAGNOSTICS / LOGGING === } IF MOD(scan_count, 10) = 0 THEN { every 10 scans = 500 ms } Log_Diagnostic("SPOOL_POS=" + STR(spool_position_actual) + " SUPPLY=" + STR(supply_pressure) + " LOAD_A=" + STR(load_pressure_a) + " LOAD_B=" + STR(load_pressure_b)) END IF { === COIL TEMPERATURE ESTIMATION === } solenoid_power_dissipation = solenoid_current_cmd² × SOLENOID_RESISTANCE { Watts } IF solenoid_power_dissipation > 2.0 THEN Log_Warning("SOLENOID_HIGH_DUTY_CYCLE", solenoid_power_dissipation) { May need thermal protection or improved cooling } END IF END PROCEDURE ``` **PWM Timing Example (200 Hz = 5 ms period):** ``` Command: 50% spool (5 mm desired) Scan 1 (t=0 ms): Spool_actual = -2 mm Error = 5 − (−2) = 7 mm Current_cmd = 0.2 A (50% of 0.4 A max) PWM_duty = 50% PWM cycle (5 ms): ├─ 0–2.5 ms: PWM HIGH (solenoid energized) └─ 2.5–5 ms: PWM LOW (solenoid de-energized) → Average coil voltage = 12 V (50%) → Average current = 0.2 A Scan 2 (t=5 ms): Spool_actual = 1 mm (moved toward target) Error = 5 − 1 = 4 mm Current_cmd = 0.16 A (reduced as error shrinks) PWM_duty = 40% PWM cycle (5 ms): ├─ 0–2 ms: PWM HIGH └─ 2–5 ms: PWM LOW → Average coil voltage = 9.6 V (40%) ``` --- ## 4. Tag List **Analog Inputs** ``` SPOOL_POSITION_FEEDBACK { LVDT, mm; 0–10 mm full range } SUPPLY_PRESSURE_GAUGE { 0–100 bar, unregulated air supply } LOAD_PRESSURE_A_PORT { 0–100 bar, cylinder A-side back-pressure } LOAD_PRESSURE_B_PORT { 0–100 bar, cylinder B-side back-pressure } CYLINDER_POSITION_TRANSDUCER { mm, for velocity calculation } SOLENOID_COIL_TEMPERATURE { °C, optional thermal monitoring } ``` **Analog Outputs** ``` SOLENOID_PWM_COMMAND { 0–100% duty cycle at 200 Hz } ``` **Digital Inputs** ``` EXTEND_CYLINDER_SIGNAL { 0/1, command spool toward extend } RETRACT_CYLINDER_SIGNAL { 0/1, command spool toward retract } CENTER_SPOOL_SIGNAL { 0/1, force spool to neutral (no flow) } ``` **Calculated / Diagnostic Tags** ``` SPOOL_POSITION_ERROR { mm, desired vs. actual } SOLENOID_CURRENT_COMMAND { A, PI(D) output } PWM_DUTY_CYCLE { 0–100% } CYLINDER_VELOCITY { m/s } LOAD_FORCE_ESTIMATED { N, from pressure × area } SUPPLY_PRESSURE_STATUS { NOMINAL / LOW / CRITICAL } PROPORTIONAL_VALVE_RESPONSE_MS { time to reach command spool position } SOLENOID_POWER_DISSIPATION { W, I²×R } ``` --- ## 5. Alarm & Trip Matrix | **Condition** | **Setpoint** | **Severity** | **Action** | **Recovery** | |---|---|---|---|---| | **Supply Pressure Low** | <40 bar | ⚠ WARN | Reduce spool command 20%, alert | Wait for compressor; check relief | | **Supply Pressure Critical** | <25 bar | 🔴 CRIT | Center spool (no flow), stop | Restart compressor; check leak | | **Load Pressure Exceeded** | >100 bar | 🔴 CRIT | Center spool immediately | Inspect cylinder/hose; check relief | | **Spool Stuck** | Cmd ≠ actual >500 ms | 🔴 CRIT | Log fault; center spool | Manual inspection; might need cleaning | | **LVDT Sensor Fault** | Signal out of range >5 sec | 🔴 CRIT | Disable proportional; use E-stop | Replace/repair LVDT | | **Solenoid Thermal** | Coil power >3 W continuous | ⚠ WARN | Log thermal warning | Reduce duty cycle; allow cooling | | **PWM Circuit Fault** | No PWM signal >2 sec | 🔴 CRIT | Assume solenoid OFF (center) | Check PWM module; restart PLC | | **Cylinder Position Stalled** | Velocity <0.01 m/s for 10 sec | ⚠ WARN | Log stalling condition | Check for blockage; inspect load | --- ## 6. HMI Layout **Pneumatic Valve Control Screen** ``` ╔════════════════════════════════════════════════════════════════╗ ║ PROPORTIONAL PNEUMATIC VALVE CONTROL — PRESS ACTUATION ║ ╚════════════════════════════════════════════════════════════════╝ SPOOL POSITION COMMAND & FEEDBACK SPOOL MOTION: ◄─────── RETRACT ───────● NEUTRAL ─────── EXTEND ──────► -100% 0% +100% Command: [●●●●●●●●●○○○○] +65% (operator slider) Feedback: [●●●●●●●●●●●○○] +63% (LVDT actual, very close!) Error: +2 mm (within deadband) Status: ✓ LOCKED (closed loop tracking) PROPORTIONAL SOLENOID CONTROL ┌────────────────────────────────────────────────────────────┐ │ Solenoid Current: 185 mA / 400 mA max │ │ Coil Temperature: 42°C (safe, <60°C limit) │ │ PWM Duty Cycle: 46% at 200 Hz │ │ ON-Time: 2.3 ms per 5 ms period │ │ Power Dissipation: 1.8 W (safe) │ └────────────────────────────────────────────────────────────┘ PNEUMATIC CIRCUIT PRESSURES ┌────────────────────────────────────────────────────────────┐ │ Supply Pressure: 58 bar (nominal 60) [●●●●●●●●●○] │ │ Load Pressure A-Side: 42 bar (cylinder extending) │ │ Load Pressure B-Side: 8 bar (vent, low back-pressure) │ │ │ │ Estimated Load Force: 29.4 N (42 bar × 70 cm² / 100) │ │ Cylinder Velocity: 0.38 m/s (smooth extension) │ │ │ │ ✓ All pressures nominal │ └────────────────────────────────────────────────────────────┘ SPOOL RESPONSE PERFORMANCE Response Time: 28 ms (design 30 ±5 ms) Settling Time: 85 ms (design <100 ms) Deadband: ±0.2 mm (prevents chatter) ALARMS & WARNINGS: ✓ All systems nominal BUTTONS: [ Extend (hold) ] [ Retract (hold) ] [ Center ] [Reset] [ Manual ▼ / ▲ ] (slider for proportional command) ``` --- ## 7. Configuration **JSON (pneumatic_proportional_valve_config.json)** ```json { "valve": { "manufacturer": "Bosch_Rexroth", "model": "4WRPE6V1_1X2G24Z_G24K0_A1_M", "spool_travel_max_mm": 10.0, "rated_flow_lpm": 50, "pressure_drop_nominal_bar": 3.5, "damp_orifice_size_mm": 0.5 }, "solenoid": { "coil_voltage_vdc": 24, "coil_resistance_ohm": 100, "rated_current_a": 0.4, "min_current_to_move_spool_a": 0.05, "response_time_ms": 30, "coil_power_max_w": 1.5, "coil_thermal_time_constant_sec": 60 }, "feedback": { "spool_position_sensor": { "type": "LVDT_0_10mm", "range_mm": [0, 10], "excitation_voltage_vac": 5, "output_range_mv": [-5000, 5000], "sensitivity_mv_per_mm": 1000, "accuracy_mm": 0.1, "response_time_ms": 5 } }, "cylinder": { "piston_area_cm2": 70, "rod_area_cm2": 50, "max_stroke_mm": 250, "position_sensor_type": "draw_wire_transducer", "max_velocity_mps": 2.0 }, "control_parameters": { "pwm_frequency_hz": 200, "pi_kp_spool": 0.08, "pi_ki_spool": 0.010, "integral_windup_limit": 5.0, "spool_deadband_mm": 0.2, "supply_pressure_nominal_bar": 60, "pressure_compensation_gain": 0.10, "load_compensation_gain": 0.05, "max_load_pressure_bar": 100, "min_supply_pressure_warning_bar": 40, "min_supply_pressure_critical_bar": 25 }, "safety": { "emergency_center_spool_ms": 50, "solenoid_thermal_limit_w": 3.0, "max_coil_temperature_c": 60, "supply_pressure_relief_bar": 70 } } ``` --- ## 8. Implementation Checklist ### Pre-Commissioning (Days 1–2) **Mechanical** - [ ] Proportional valve manifold mounted on panel or actuator assembly - [ ] Solenoid coil connector verified for continuity; coil resistance ≈100 Ω nominal - [ ] Spool moves freely manually (hand-push test); no stiction >0.5 bar - [ ] LVDT sensor bolted to spool rod; magnetic coupling verified **Electrical** - [ ] PWM output module set to 200 Hz; oscilloscope confirms square-wave signal - [ ] LVDT excitation at ±5 VAC (typical); secondary output 0–10 V range verified - [ ] Current loop tested: 0–400 mA command results in proportional spool change - [ ] Solenoid coil inductance measured (typical 50–100 mH); no shorts **Pneumatic** - [ ] Supply air at 60 bar ±2 bar; filter/regulator set and locked - [ ] Test connections: apply 60 bar to inlet; measure steady-state ported pressure - [ ] Spool neutral flow: verify zero flow when spool centered (blocking orifices) ### Hot Commissioning — Day 3 (Proportional Motion Test, No Load) **Spool Response Verification** - [ ] Command spool to +50% position; measure LVDT feedback - [ ] Verify spool reaches ±50% (5 mm) within 50 ms (process includes solenoid lag) - [ ] Measure settling time: oscilloscope capture of spool position vs. command - [ ] Deadband check: small command changes <0.2 mm should produce no spool movement **PWM Duty Cycle Observation** - [ ] At 50% command: oscilloscope shows 50% PWM square wave - [ ] Verify no flicker or jitter (noise on solenoid coil); should be clean PWM - [ ] Thermal measurement: solenoid coil temp after 10 min continuous 50% duty = <45°C **Neutral Position Accuracy** - [ ] Command 0% (neutral); verify spool returns and stays centered (no drift) - [ ] Measure ported flowrate at neutral: should be <2 L/min leakage (very low) ### Full Load Commissioning — Days 4–5 (With Pneumatic Cylinder) **Cylinder Extension/Retraction** - [ ] Connect cylinder to valve; set supply to 60 bar - [ ] Command 100% extend: measure cylinder velocity (should be 1.5–2.0 m/s) - [ ] Measure load pressure during extension: P_load = load_force / piston_area - [ ] Verify spool feedback remains centered (closed-loop tracking) **Load Compensation Test** - [ ] Apply external load to cylinder (e.g., weight stack); increase load pressure gradually - [ ] At each load level (25, 50, 75 bar back-pressure), command 50% speed - [ ] Verify speed remains roughly constant despite load (load compensation working) - [ ] Log solenoid current vs. load: should increase slightly with load **Proportional Speed Control** - [ ] Issue commands: 25%, 50%, 75%, 100% - [ ] Measure cylinder velocity at each command level - [ ] Verify roughly linear relationship: command ↔ velocity - [ ] Measure response time (command step → velocity stabilization): <200 ms typical **Pressure Compensation Test** - [ ] Operate at 60 bar nominal supply; document velocity at 50% command - [ ] Reduce supply to 50 bar (using metering valve); same 50% command - [ ] Without compensation, velocity would drop ~17%; with compensation, drop <5% - [ ] Log solenoid current at each supply pressure (should increase at lower supply) ### Baseline Data Capture (Days 6–7) **Extended Operation Record** - [ ] Run 100 cycles of extend/retract at various commands (25%, 50%, 75%, 100%) - [ ] Log: spool position, solenoid current, PWM duty cycle, load pressures, velocities - [ ] Capture thermal trend: verify coil temp never exceeds 50°C - [ ] Export CSV; calculate repeatability (standard deviation of velocity across 100 cycles) --- ## 9. Expected Performance ### Spool Positioning Accuracy & Response | **Metric** | **Target** | **Acceptable** | **Measured** | |---|---|---|---| | Final spool position error | <±0.5 mm | <±1.0 mm | _______ | | Settling time (to ±0.5 mm) | <100 ms | <150 ms | _______ | | Overshoot on step command | <10% | <20% | _______ | | Steady-state oscillation | <±0.2 mm | <±0.5 mm | _______ | ### Cylinder Velocity Control (Proportional Response) | **Metric** | **Target** | **Acceptable** | **Measured** | |---|---|---|---| | Velocity linearity (25→100%) | R² > 0.98 | R² > 0.95 | _______ | | Repeatability (σ across 10 cycles) | <2% | <5% | _______ | | Velocity hysteresis (extend/retract) | <3% | <5% | _______ | ### Supply Pressure Compensation | **Metric** | **Target** | **Acceptable** | **Measured** | |---|---|---|---| | Velocity change (60→45 bar supply) | <5% | <10% | _______ | | Solenoid current adjustment | +8–12% per 5 bar drop | +5–15% | _______ | | Load pressure compensation | <3% velocity change | <5% | _______ | --- ## 10. Advanced Variations ### 10.1 Pressure-Compensated Valve (Automatic Flow Control) - Add load-check cartridge inside valve manifold (internal pilot pressure) - Automatically adjusts spool to maintain constant flow regardless of load pressure - Reduces solenoid control complexity; smoother machine operation ### 10.2 Meter-In/Meter-Out Control (Speed Limiting) - Use secondary proportional valve on cylinder port line - Allows independent speed control during extension vs. retraction - Prevents uncontrolled free-fall of load (e.g., press descent) ### 10.3 Pilot-Operated Check Valve (Load Holding) - Prevents cylinder drift when solenoid centered - Mechanical lock + pilot override ensures safe position hold - Used for vertical presses or suspended loads ### 10.4 Flow Divider Integration (Synchronized Multi-Cylinder) - If two cylinders must extend at identical speed, use flow divider - Proportional valve commands total flow; divider splits equally to both cylinders - Useful for parallel pressing or coordinated clamping --- **Document Version:** 1.0 **Last Updated:** 2026-04-13 **Status:** Ready for Production **Approval:** Manufacturing Engineering (pending)

More like this

Rate, comment, and get full access

Members can download files, rate contributions, and discuss fixes with the engineers who posted them — free.

Join the library