The invention relates to a double-ground-wire precise matching power supply and belongs to the technical field of electronics. The double-ground-wire precise matching power supply comprises a rectification unit 1, a floating charge constant-voltage unit, a storage battery, a rectification unit 2, an overvoltage protection unit 1, a switching control unit, an AC power supply unit 1, an AC power supply unit 2, a load equivalent unit, an automatic switching unit, and an overvoltage protection unit 2. The positive pole of the storage battery and the output ends of the AC power supply units are connected with the power end of the load equivalent unit. The grounding end of the load equivalent unit is connected with the automatic switching unit. The automatic switching unit is controlled by the switching control unit. When AC power is provided, the switching control unit is activated and the automatic switching unit is disconnected so that the storage battery is not discharged. When no AC power is provided, the switching control unit is disconnected and the storage battery is discharged to supply power to a load. The double-ground-wire precise matching power supply is fast in switching speed so as not to have an influence on the load for ensuring the performance of the load. The double-ground-wire precise matching power supply forms multistage overvoltage protection, has wider adaptability than a traditional power supply, can be widely adapted to the needs of the load.