MATLAB Examples

Hydraulic Actuator with Digital Position Controller

This example shows a two-way valve acting in a closed-loop circuit together with a double-acting cylinder. The controller is represented as a continuous-time transfer function plus a transport delay. The delay allows for the computational time (one discrete time period) plus the zero-order hold (half a discrete time period) when implemented in discrete time. The model is configured for linearization so that a frequency response can be generated. To configure for faster desktop simulation, comment through the trasport delay and increase the solver maximum step size.

Contents

Model

Hydraulic Actuator Subsystem

Hydraulic Cylinder Subsystem

Simulation Results from Scopes

Simulation Results from Simscape Logging

Frequency Response