The utility model relates to the technical field of hydraulic compressors, in particular to a hydraulic
system of a hydraulic compressor. Comprising an
oil tank, an oil outlet of the
oil tank is connected with an oil inlet of a
variable displacement piston pump through a low-pressure oil pipeline, one
branch of the oil outlet of the
variable displacement piston pump is connected with an energy accumulator through a high-pressure oil pipeline and a one-way valve, and the other
branch of the oil outlet of the
variable displacement piston pump is connected with an oil inlet of an electromagnetic
reversing valve. An oil outlet of the electromagnetic
directional valve is connected with the hydraulic drive compressor through oil inlet and outlet pipelines, the electromagnetic
directional valve is further connected with an oil return opening of the
oil tank through an oil return pipeline, and a
shuttle valve is arranged between the two oil inlet and outlet pipelines and connected with the variable displacement
piston pump through a variable displacement oil pipeline. Pressure oil in the oil inlet and outlet pipeline can enter the
shuttle valve and then enter the variable displacement
piston pump through the variable displacement oil pipeline, a terminal pressure oil
signal is provided for the variable displacement
piston pump, the variable displacement piston pump can conduct power adjustment according to the pressure change of the terminal pressure oil, the pressure of the terminal pressure oil is kept stable, and therefore stable work of the hydraulic drive compressor is guaranteed.