Hydraulic Actuator with Digital Position Controller
Warning: This example uses the hydraulic domain, which will be removed in a future release. Find an equivalent example model that uses the isothermal liquid domain here: Hydraulic Actuator with Digital Position Controller. To convert models to the isothermal liquid domain, use the hydraulicToIsothermalLiquid
tool.
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 transport delay and increase the solver maximum step size.