A method for measuring a negative terminal insulation resistance (Rin), present between a negative terminal of an energized electrical apparatus and a ground ideally isolated from the energized electrical apparatus, and a positive terminal insulation resistance (Rip), present between a positive terminal of the energized electrical apparatus and said ground ideally isolated from the energized electrical apparatus, the method comprising the steps of:
- arranging a first switching circuit between said positive terminal and ground, thus in parallel with said positive terminal insulation resistance (Rip), wherein the first switching circuit comprises a first switching unit, configured to take either one of two states according to a first driving signal having a positive branch switching duty-cycle (dp), and a first sample resistance (Rkp) arranged in series with respect to said first switching unit;
- arranging a second switching circuit between said negative terminal and ground, thus in parallel with said negative terminal insulation resistance (Rin), wherein the second switching circuit comprises a second switching unit configured to take either one of two states according to a second driving signal having a negative branch switching duty-cycle (dn) and a second sample resistance (Rkn) arranged in series with respect to said second switching unit;
- defining at least two working points of the circuit consisting of the energized electrical apparatus, the first switching circuit, and the second switching circuit, wherein the first working point is associated with a first positive branch switching duty-cycle value (dp1) and a first negative branch switching duty-cycle value (dn1), and the second working point is associated with a second positive branch switching duty-cycle value (dp2) and a second negative branch switching duty-cycle value (dn2);
- controlling the first switching circuit and the second switching circuit so that they operate in accordance with said first working point, and measuring, in such a condition, a respective first battery voltage value (VB1) present between said negative terminal and positive terminal and a respective first reference voltage value (Viso1) representative of a voltage present at the ends of one of the first switching circuit and the second switching circuit, determined by the first working point and also dependent on both the negative terminal insulation resistance (Rin) and the positive terminal insulation resistance (Rip);
- controlling the first switching circuit and the second switching circuit so that they operate in accordance with said second working point, and measuring, in such a condition, a respective second battery voltage value (VB2) present between said negative terminal and positive terminal and a respective second reference voltage value (Viso2) representative of a voltage present at the ends of one of the first switching circuit and the second switching circuit, determined by the second working point and also dependent on both the negative terminal insulation resistance (Rin) and the positive terminal insulation resistance (Rip);
- calculating said negative terminal insulation resistance (Rin) and said positive terminal insulation resistance (Rip), based on said first battery voltage value (VB1), first reference voltage value (Viso1), second battery voltage value (VB2), and second reference voltage value (Viso2);
- wherein said step of defining at least two working points comprises determining said first positive branch switching duty-cycle value (dp1), first negative branch switching duty-cycle value (dn1), second positive branch switching duty-cycle value (dp2), and second negative branch switching duty-cycle value (dn2) based on the criterion of keeping the first reference voltage value (Viso1) and the second reference voltage value (Viso2) within a given neighborhood with respect to a predefined reference target voltage (Vt).