The invention relates to an electro-hydraulic brake-by-wire device with a redundancy function and a control method. The device comprises a brake disc, calipers, a power take-off gear, a gear shaft, alead screw, a return spring, a piston nut, a sealing ring, a high-pressure oil cylinder shell, an electromagnetic clutch, a fixed seat, a hydraulic control unit, a split liquid storage tank, an energyaccumulator, a liquid storage tank, an angle sensor, a brake pedal, a brake push rod assembly, a brake master cylinder, a controller, a left friction plate and a right friction plate. Vehicle kineticenergy can be fully utilized as a power source, a driving motor is omitted, and the cost is effectively reduced. A gear power take-off mechanism is adopted to drive a high-pressure oil cylinder to generate high-pressure brake oil, and whether the high-pressure oil cylinder works or not is controlled through the electromagnetic clutch. The high-pressure oil cylinder is integrated on the brake oilcylinder, so that a brake pipeline is effectively shortened, brake pressure fluctuation caused by elastic deformation of the brake pipeline is reduced, and the brake response speed and the control precision are improved. The device has the advantages of high integration level, high response speed and low cost.