This example shows how the Foundation library can be used to model systems that span electrical, mechanical and hydraulic domains. In the model, a hydraulic system controls mechanical load position in response to a voltage reference demand. If the reference demand is zero, then the hydraulic actuator (and load) displacement is zero, and if the reference is +5 volts, then the displacement is the 100mm.
The proportional plus integral controller is implemented using op-amps, the final stage of which is set up as a current source. This then drives a torque motor with resistance and inductance terms modeled. The torque motor directly actuates the spool valve, which in turn controls the main hydraulic circuit supplying the hydraulic ram. Finally, the ram drives a generic mechanical load.
A model with this level of fidelity is ideal to support the servo-valve controller design and testing. It includes the electromechanical high frequency modes that affect stability margins, as well as nonlinear flow rate effects when large demands are made from the hydraulics.