This invention discloses a hydraulic pressure excavator to evade bonds control system and the method. Including the following step: (1) hypothesis unearths the forbidden area; (2) gains the excavator through the sensor of move arm, the bucket arm, the scoop and the working platform condition; (3) computation excavator work installs and unearths the forbidden area the distance, when this distance being smaller than marginal value, sends out the alarm; (4) redundant step (2), (3), until excavator engine off when up to; The system including input device's load module, uses in examining the excavator work, walking the setting position angle sensor, the inclination angle sensor, various sensors' output signal after the sensor interface module and the controller connection, is equipped with the comparison module the controller as well as the early-warning installation. This invention the online data which and the critical number comparison obtains through various sensors, the definite excavator's active status, realizes in the excavator work process by this to the obstacle avoidance function, avoids the accident occurring.