The application discloses a real-
time control method, a controller and a
control system for a hydraulic variable-damping oil cylinder, wherein the control method comprises the following steps: acquiring in real time
piston position information and external driving force information of an oil cylinder
piston, calculating actual position information, actual speed information and actual acceleration information of the oil cylinder at a
current time of the oil cylinder based on the position information and the external driving force information of the
piston by using a
filter algorithm, obtaining target position information, target speed information, target acceleration information of the oil cylinder at the
current time and output force required for forming a target trajectory based on a target trajectory of the oil cylinder, obtaining a closed-loop target output force of a spool
control system based on the above information, and calculating target spool position information of a
throttle valve spool at the
current time based on an actual flow of the
throttle valve at the current time and the closed-loop target output force of the spool
control system, so that the stability of target trajectory tracking can be ensured.