Design and troubleshooting of hydraulic unit