The invention discloses a method and
system for detecting and adjusting the posture of a
tractor tool, and belongs to the technical field of agricultural equipment. Comprising the following steps: acquiring acceleration data and
angular velocity data generated during operation of a
tractor tool;
processing the acceleration data and the
angular velocity data through an attitude fusion
algorithm to obtain
machine and tool attitude information; generating a
control signal based on a comparison result of the
machine posture information and a preset horizontal standard value, and sending the
control signal to an execution mechanism, so that the execution mechanism adjusts the
machine posture; the executing mechanism comprises a multi-way proportional
electromagnetic valve, a hydraulic oil cylinder and a suspension device, the hydraulic oil cylinder is arranged on the suspension device, and the multi-way proportional
electromagnetic valve is communicated with the hydraulic oil cylinder. Electro-hydraulic
proportional control and sensor control are combined, agricultural implements hung on a
tractor running on a fluctuating
land parcel are controlled to be kept horizontal, and stable operation after control is achieved. The problem that actual operation conditions of
agricultural machinery are not considered in the prior art is solved.