PWM-digital control of a hydraulic actuator utilizing two-way solenoid valves