摘要 |
The invention concerns a method for measuring a DC voltage such as the voltage Vbat of a motor vehicle battery, which involves converting the voltage Vbat into a digital value Nbat by means of a digital-to-analogue converter (3) with which a reference voltage Vref is associated. The invention further involves regularly delivering, to the digital-to-analogue converter, a standard voltage Vo from a source of standard voltage (11), and converting the voltage Vo into a digital value Nvo, then calculating a digital value Ncor representative of the value of the voltage Vbat, such that Ncor = Co x (Nbat / Nvo), in which Co = Ncor_max x (2N / Vbat_max) x (Vo / Vref), Ncor_max being a value selected for coding the maximum value of Ncor, Nbat_max a digital value resulting from the conversion of the maximum voltage Vbat_max to be measured , and N the number of bits of the digital-to-analogue converter. |