Abstract:
An electric leak detecting apparatus used for an electric motorcar includes a source for generating an AC signal, which supplies a sine wave detecting signal S 1  of a single frequency fl Hz to between a vehicle body and a low potential side or a high potential side of a battery pack, a condenser having capacitance Cd for insulating the AC source from the low potential side or high potential side of the battery pack with respect to direct currents and for connecting the AC source to the low or high potential side of the battery pack with respect to alternating currents. Also included are a voltage detecting circuit for detecting an AC signal voltage of the detecting signal S 1  at either side of the condenser, a current detecting circuit for detecting an AC signal current of the detecting signal S 1 , an admittance detecting circuit for computing an electric leak admittance |Y| from the AC signal voltage and AC signal current of the detecting signal S 1,  a phase discriminating circuit for finding a phase difference between the AC signal voltage and AC signal current of the detecting signal S 1 , a resistance component detector for detecting a resistance component by computing a real part of the admittance |Y| from the admittance and phase difference. Also included is a comparison device for comparing the resistance component to a threshold value.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to an electric leak detecting apparatus and method for detecting an electric leak caused by deteriorated insulation between vehicle body and battery pack in an electric motorcar provided with a high voltage battery pack insulated from the vehicle body electrically to prevent electrical shocks. 
     2. Description of the Related Art 
     An electric motorcar, which uses an electric power as its driving source, is provided with a battery pack composed as a closed circuit and separated from the vehicle body. The battery pack functions as a ground to prevent electric shocks to be caused by a high voltage set battery used as a driving power source. If the insulating characteristics of the battery pack are deteriorated due to a change of the material quality thereof and/or deposit thereon, however, the high voltage battery pack is connected electrically to the vehicle body. And, this may cause a person to have an electric shock when he/she touches the vehicle body. Because, a leak current from the battery pack flows through him/her body. 
     An electric leak is a sum of leak currents flowing in all insulated portions. It is thus difficult to identify a system in which the current flows through. In order to detect such an electric leak, there have been proposed two methods so far; an AC method, which detects an electric leak resistance by applying an AC signal to an object vehicle body insulated from direct currents by a condenser and a transformer, and a non-insulating DC method, which measures an electric leak resistance as a direct current without using any of the condenser and the transformer. For example, the official report of Unexamined Published Japanese Patent Application No.57-119263 has disclosed an embodiment that adopts the AC method that uses a transformer and the official report of Unexamined Published Japanese Patent Application No.60-262069 has disclosed an embodiment that adopts the DC method. 
     FIG. 20 shows an equivalent circuit from which an electric leak is detected. Usually, an electric leak should be modeled with a distributed constant concept. If it is taken into consideration that a current leaks from the potential node of every set battery, however, the equivalent circuit of the battery pack  3  is represented by the set battery  3   a  and an electric leak admittance  3   b  noted by a concentrated constant using a resistor and a condenser. In FIG. 20, I 0  to In are leak currents, each flowing from a node to the vehicle body. The sum I of the leak currents is thus equal to the sum of the currents I 0  to In because of the superposition theory of currents. 
     [Equation 1]       I   =         I   0     +     I   1     +   Λ   +     I     n   -   1       +     I   n       =       ∑     m   =   1     n          I   m                                
     If the admittance in a battery is so low that it may be ignored, the admittance between the vehicle ground and the set battery  3   a  can be represented as the sum of admittance elements. 
     [Equation 2]            {             Y   LEAK     =         Y   0     +   Λ   +     Y   n       =         G   LEAK     +     j                 ω                   C   s         =       1     R   LEAK       +     j                 ω                   C   s                           Θ                   G   LEAK       =       1     R   LEAK       =       1     R   0       +   Λ   +     1     R   n                         Θ                   C   S       =       C   0     +   Λ   +     C   n                                        
     And, the battery pack  3  shown in FIG. 20 can further be simplified as an AC equivalent circuit as shown in FIG.  21 . 
     The AC method, when used for detecting electric leaks, is characterized as follows: 
     (1) Since the object is insulated, no DC current flows in the object. The method is thus excellent in the aspect of safety. 
     (2) An admittance to be detected includes a floating capacitance of the object vehicle. The admittance thus includes an error. 
     (3) Although a lower frequency AC signal is advantageous to improve the electric leak detecting accuracy. However, the use of such a lower frequency deteriorates the responsiveness. In addition, the input condenser must be expanded more in size. 
     (4) Detected values are apt to be affected and varied by the floating capacitance of the object vehicle. In addition, the floating capacitance is also changed according to the external shape of the vehicle, so it is difficult to decide a criterion for electric leaks. 
     For example, if a conventional configuration as shown in FIG. 22 is taken for the AC method, an electric leak resistance is found as an absolute value of admittance. As shown in the vector in FIG. 23, therefore, an admittance absolute value |YLEAK| is used in place of an electric leak resistance for convenience sake. Refer to Equation 3. 
     [Equation 3]            Y        =          i             v                                 
     In the above case, however, the electric leak judgment will include an error due to the floating capacitance Cs. In order to reduce the influence of the floating capacitance Cs thereby to improve the measuring accuracy, the phase angle ø must be reduced. And, the detecting signal frequency must be lowered to reduce the phase angle ø. 
     On the other hand, the DC method can solve the problems caused by the AC method described in (1) to (4). The AC method, however, cannot solve a problem that the measuring accuracy is still low due to an error of the electric leak resistance of the battery pack itself. Further there is such problem that the detection side and driving side are connected with direct current on account of the detection. 
     SUMMARY OF THE INVENTION 
     Under such circumstances, it is an object of the present invention to solve the above problems the related art of AC and DC methods have been confronted with. It is an object of the present invention to provide an electric leak detecting apparatus excellent in safety and enabling constant detection so as to solve the problems of the related art AC method by applying an AC signal to the high voltage battery pack, then finding an admittance from the relationship between amplitude and phase of the AC signal, and further finding a resistance component, which is an inverse number of the admittance resistance component, from the cosine of the phase angle. 
     It is possible to use an impedance Z to represent such an electric leak, but an admittance will be easier to represent in such an electric leak expression. Therefore, an electric leak will be described with an admittance and an inverse of resistance (conductance). 
     Of course, it is also possible to judge an electric leak with the real part of an admittance, that is, an inverse of resistance. 
     It is also another object of the present invention to provide an electric leak detecting apparatus and a system provided with such an electric leak detecting apparatus so as to solve the related art problems of the DC method. In this case, the influences of the voltage of the set battery, as well as the admittance capacitance component are eliminated from the electric leak detecting apparatus by finding a DC current applied to a node of the set battery from an external DC power source, then finding a DC current when the polarity of the DC power source is reversed and finding an electric leak resistance form the difference between those DC currents. 
     In order to solve the above problems, the AC method of the present invention is characterized by that a resistance component is found from an electric leak admittance using an electric leak detecting method that uses a very safe AC signal thereby to correct the capacitance component of the vehicle body for accurate electric leak judgments. 
     On the other hand, the DC method of the present invention is characterized by that the electric leak detecting apparatus provided with a high measuring accuracy is used to apply a DC voltage to an insulating object positively and measure the DC current with respect to both maximum and minimum potential nodes of the set battery, then compute an electric leak resistance from the difference between those currents and said DC voltage. 
     As described above, according to the present invention, an AC signal can be used to safely detect an electric leak resistance. Since there is no need to use a lower frequency to improve the detection accuracy, any frequency easy to handle can be used. It is thus possible to improve the responsiveness and reduce the size of the electric leak detecting apparatus. 
     Furthermore, an electric leak resistance can be found easily from a difference between the currents obtained when a potential is applied from a DC power source to the maximum or minimum potential of the set battery and the polarity of the DC power source when changed. There is no need to use the voltage of the set battery to find the electric leak resistance. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 illustrates a principle for a configuration of an electric leak detecting apparatus of the present invention, which uses an AC method. 
     FIG. 2 is a configuration of an electric leak detecting apparatus of the present invention in an embodiment. 
     FIG. 3 is a configuration of the electric leak detecting apparatus of the present invention in another embodiment, which uses the AC method. 
     FIG. 4 is a configuration of the electric leak detecting apparatus of the present invention in another embodiment, which uses the AC method. 
     FIG. 5 is a configuration of the electric leak detecting apparatus of the present invention in another embodiment, which uses the AC method. 
     FIG. 6 is a configuration of the electric leak detecting apparatus of the present invention in another embodiment, which uses the AC method. 
     FIG. 7 is a configuration of the electric leak detecting apparatus of the present invention in another embodiment, which uses the AC method. 
     FIG. 8 is a configuration of the electric leak detecting apparatus of the present invention in another embodiment, which uses the AC method. 
     FIG. 9 a configuration of the electric leak detecting apparatus of the present invention in another embodiment, which uses the AC method. 
     FIG. 10 is a configuration of the electric leak detecting apparatus of the present invention in another embodiment, which uses the AC method. 
     FIG. 11 is a configuration of the electric leak detecting apparatus of the present invention in another embodiment, which uses the AC method. 
     FIG. 12 is a configuration of the electric leak detecting apparatus of the present invention in another embodiment, which uses the AC method. 
     FIG. 13 is a configuration of the electric leak detecting apparatus of the present invention in another embodiment, which uses the AC method. 
     FIG. 14 is a configuration of the electric leak detecting apparatus of the present invention in another embodiment, which uses the DC method. 
     FIG. 15 is a voltage/current of a detecting signal in each part of the electric leak detecting apparatus of the present invention. 
     FIG. 16 illustrates the input/output waveform of a phase discriminating circuit and the mean voltage of the circuit after passing through an integration circuit. 
     FIG. 17 is the input/output waveform of the phase discriminating circuit of the electric leak detecting apparatus of the present invention and a waveform indicating the mean voltage of the phase discriminating circuit after passing through the integration circuit. 
     FIG. 18 is the input/output waveform of the phase discriminating circuit of the electric leak detecting apparatus of the present invention and a waveform indicating the mean voltage of the phase discriminating circuit after passing through the integration circuit. 
     FIG. 19 is a graph indicating an electric leak RLEAK of the electric leak detecting apparatus of the present invention and the mean output voltage Vφ of the phase discriminating circuit. 
     FIG. 20 is an equivalent circuit indicating an electric leak admittance of a battery pack. 
     FIG. 21 is an AC equivalent circuit indicating an electric leak admittance of a battery pack. 
     FIG. 22 is a configuration of an electric leak detecting apparatus that adopts a related art AC method. 
     FIG. 23 illustrates a complex element vector of an electric leak admittance. 
     FIG. 24 is a configuration of a phase discriminating means in another embodiment of the present invention. 
     FIG. 25 is a configuration of a device for eliminating noise mixed in detecting voltage and current in an embodiment. 
     FIG. 26 is a configuration of the electric leak detecting apparatus of the present invention in another embodiment, which uses the AC method. 
     FIG. 27 a configuration of the electric leak detecting apparatus of the present invention in another embodiment, which uses the AC method. 
     FIG. 28 is a configuration of the electric leak detecting apparatus of the present invention in another embodiment, which uses the AC method. 
     FIG. 29 a configuration of the electric leak detecting apparatus of the present invention in another embodiment, which uses the AC method. 
     FIG. 30 is a configuration of the electric leak detecting apparatus of the present invention in another embodiment, which uses the AC method. 
     FIG. 31 a configuration of the electric leak detecting apparatus of the present invention in another embodiment, which uses the AC method. 
     FIG. 32 is a configuration of the electric leak detecting apparatus of the present invention in another embodiment, which uses the AC method. 
     FIG. 33 a configuration of the electric leak detecting apparatus of the present invention in another embodiment, which uses the AC method. 
    
    
     DESCRIPTION OF NUMERALS 
       1  . . . AC SIGNAL SOURCE 
       2  . . . CONDENSER 
       3  . . . BATTERY PACK 
       3 - ac  . . . BATTERY PACK COMPOSED OF AN AC EQUIVALENT CIRCUIT 
       3   a  . . . SET BATTERY 
       3   b  . . . ELECTRIC LEAK ADMITTANCE 
       3   b - 2  . . . AC EQUIVALENT CIRCUIT OF ELECTRIC LEAK ADMITTANCE WHEN IMPEDANCE INSIDE THE BATTERY IS IGNORED 
       4  . . . PHASE DISCRIMINATING MEANS 
       4   a  . . . WAVEFORM RECTIFYING MEANS 
       4   a - 1  . . . COMPARATOR 
       4   a - 2  . . . RESISTOR 
       4   b  . . . EXCLUSIVE-OR CIRCUIT 
       4   c  . . . INTEGRATION CIRCUIT 
       4   d  . . . MULTIPLIER 
       4   e  . . . INTEGRATION CIRCUIT 
       4   f  . . . TIMING GENERATING MEANS 
       4   g  . . . SAMPLING &amp; HOLDING MEANS 
       5  . . . ADMITTANCE DETECTING MEANS 
       5   a  . . . EFFECTIVE VALUE CHANGING MEANS 
       5   b  . . . DIVIDING MEANS 
       5   c  . . . PEAK DETECTING MEANS 
       6  . . . ELECTRIC LEAK JUDGING MEANS 
       6   a  . . . RESISTANCE COMPONENT COMPUTING MEANS 
       6   a - 1  . . . VOLTAGE-COSINE CONVERTING MEANS 
       6   a - 2  . . . MULTIPLYING MEANS 
       6   b  . . . COMPARING MEANS 
       6   c  . . . Vf→ tanφ CONVERTING MEANS 
       6   d  . . . RESISTANCE COMPONENT COMPUTING MEANS  2   
       6   e  . . . RESISTANCE DETECTION MEANS 
       9  . . . CURRENT DETECTING MEANS 
       11  . . . DC VOLTAGE SOURCE 
       12  . . . POLARITY SELECT SWITCH 
       13  . . . DC CURRENT DETECTING MEANS 
       14  . . . RESISTOR 
       15  . . . FLOATING CAPACITY COMPUTING MEANS 
       15   a  . . . PEAK HOLD 
       15   b  . . . Cs ESTIMATING MEANS 
       16  . . . INSULATION AMPLIFYING MEANS 
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     Hereunder, preferred embodiments of the present invention will be described with reference to accompanying drawings. 
     FIG. 1 is a block diagram of an electric leak detecting apparatus of the present invention. At first, the components of the apparatus will be described. 
       1  is an AC signal source used to generate an AC signal.  2  is a condenser used to insulate an electric leak detecting circuit from a battery pack  3 - ac  and supply an AC voltage to the battery pack  3 - ac . The battery pack  3 - ac  is composed of an AC equivalent circuit.  3   a  is a high voltage Bet battery and  3   b  is an electric leak admittance noted by a concentrated parameter representation between the battery pack and the vehicle body.  4  is phase discriminating means for converting a phase difference between the AC current i of the AC signal source  1  and the AC voltage v to a voltage Vφ.  5  is admittance detecting means for outputting a voltage |VYLEAK|, equivalent to an electric leak admittance, obtained from the AC current i flowing in the condenser  2  and the AC voltage of the AC signal source  1 .  6  is electric leak judging means composed of resistance component computing means  6   a  and comparing means  6   b . A real part of an admittance, that is an electric leak resistance component is obtained from the voltage Vφ equivalent to a phase difference and the admittance absolute value by using the resistance component computing means  6   a , and then the obtained resistance component is compared with an electric leak reference value by using the comparing means  6   b.    
     Next, the operation of the electric leak detecting apparatus of the present invention will be described. The admittance of the whole portion between the AC signal source  1  and the vehicle body is equal to  3   b  shown in FIG.  20  and it is indicated by a complex vector as shown in FIG.  23 . The admittance Y of the whole portion becomes as shown in Equation 4. 
     [Equation 4].             {                 Y   =                    Y1   ·   Y2       Y1   +   Y2       =           -                ω   2            C   D          C   S       +     j                 ω                     C   D     ·     G   LEAK               G   LEAK     +     j                 ω                   (       C   D     +     C   S       )                         =                      ω   2          C   D   2          G   LEAK       +     j                 ω                   {         C   D          G   LEAK   2       +       ω   2          C   D            C   S          (       C   D     +     C   S       )           }             G   LEAK   2     +       ω   2                       (       C   D     +     C   S       )     2                               Θ                   G   LEAK       =       1     R   LEAK       =       1     R   0       +   Λ   +     1     R   n                         Θ                   C   S       =       C   0     +   Λ   +     C   n                                        
     At this time, if (Equation 5) is satisfied, the voltage v is obtained by dividing the voltage vin by the condenser  2  and the electric leak admittance  3   b - 2 , that is, |YLEAK| as shown in FIG.  15 . 
     [Equation 5] 
     
       
         C S &lt;&lt;C D   
       
     
     The phase and the amplitude can thus be regarded to be almost equal between the voltage v and the voltage vin. Consequently, the voltage v may be measured via the insulation amplifying means  16 . It is also possible to substitute the voltage v for the voltage vin as shown in FIG.  3 . This means that it is only needed to measure the voltage at the side of the AC signal source  1  and it is not needed to measure the voltage at such side of the condenser  2  on the set battery side which is of a high voltage and is dangerous. In addition, the amplitude reduced by the above voltage dividing may also be obtained by using v in Equation 6. 
     [Equation 6]         v   in   ′     =           C   S     +     C   D         C   S       ·     v   in                              
     FIGS. 2 to  13  show a configuration of the electric leak detecting apparatus of the present invention when both voltages v and vin are use. The object admittance YLEAK will be as shown in Equation 7. 
     [Equation 7].          Y   ≅     Y   LEAK       =       (       1     R   0       +   Λ   +     1     R   n         )     +     j                   {     ω                   (       C   0     +     C   n       )       }                                
     The current i leaks to the vehicle body via the AC signal source  1  and the condenser  2 . The phase discriminating means  4  is used to convert the phase difference between the AC current i of the AC signal source  1  and the AC voltage v to a voltage Vφ. The phase discriminating means  4 , as shown in FIG.  2 ( a ), can be composed of a voltage comparing circuit  4   a , an exclusive-or circuit  4   b , and an integration circuit  4   c . The voltage comparing circuit  4   a  is copposed of a comparator  4   a - 1  used to compare a potential with another, as well as a resistor  4   a - 2 . The comparator  4   a - 1  is used as a saturation-amplifier to detect the phase difference between the current i and the voltage v more effectively. Of course, the comparator  4   a - 1  may be composed of a high amplification factor amplifier as shown in FIG. 2 ( b ). 
       4   b  is an exclusive-or circuit and  4   c  is an integration circuit composed of a resistor and a condenser and used to average the output voltage from the exclusive-or circuit  4   b  so as to find the voltage Vø which is equivalent to the phase difference between the AC current i and the AC voltage v. The resistor  4   a - 2  is not a core part of the phase discrimination procedure, so it may be omitted. Although the integration circuit  4   c  is used to convert a result of phase comparison to a voltage Vø in this embodiment, it may be replaced with a digital circuit that can detect and output a duty ratio accurately. When the phase difference between the current i and the voltage v is detected within 0 to  π /2 and the high side output voltage from the integration circuit  4   c  is E[V], and the duty ratio of the exclusive-or output is D[%], then the mean voltage Vø is as follows:                  VOLTAGE AVERAGED BYINTEGRATION CIRCUIT                     V   φ       =       E   2     ·   D             [     Equation                 8     ]                 DUTY                 RATIO                 D     =       2   π          φ   ·     50              [   %   ]                 [     Equation                 9     ]                                
     If the output voltage from the exclusive-or circuit is 0 when low and E when high, which are ideal values, then the phase difference voltage Vφ is changed linearly to the phase difference φ as shown in FIG.  16 . 
     Next, the waveform of each part of the electric leak detecting apparatus during operation will be shown when a single sine wave signal of 1 kHz in frequency and 1V in amplitude is input during conditions of input capacitance Cd=10 uF and floating capacitance Cs=0.1 uF. FIGS. 17 and 18 show the waveforms of the rectified AC current i′, the AC voltage v′, and the output voltage Vf from the phase discriminating means  4  during operation when RLEAK is 100 kΩ, 51 kΩ, 10 kΩ, or 1 kΩ. FIG. 19 shows output voltage characteristics of the phase discriminating means  4  when the electric leak resistance RLEAK is changed under the above conditions. In FIGS. 17 and 18, the horizontal axis is time and the vertical axis is a voltage or a current. 
     In the admittance detecting means  5 , the current i flowing in the electric leak admittance  3   b - 2  is detected by the current detecting means  9  and the current i and the AC voltage v are converted to effective value by calculating a root-mean-square respectively by the effective value converting means  5   a  and furthermore, the effective current value |iRMS| is divided by the effective voltage value |vRMS| by a dividing means  5   b , thereby to find an admittance |Y|. 
     The means for obtaining the current i may be inserted in any position in the system composed of the AC voltage generating means  1 , the condenser (Cd), and the electric leak admittance  3   b - 2  and then the position is not restricted to the configuration of the FIG.  1 . If the current i is to be measured indirectly using a transformer, etc., the current obtaining means may be inserted on the set battery  3   a  side when viewing it from the condenser (Cd). 
     As shown in FIGS. 4 and 5, the admittance |Y| can be found more easily than by using the effective value by such manner that a peak value of the voltage of the AC signal source  1  and a peak value of the current i flowing in the condenser  2  is detected by peak detecting means  5   c  instead of using the effective value converting means  5   a  and the peak value of the current i divided by the peak value of the voltage of the AC signal source  1  by dividing means  5   b.    
     As shown in FIGS. 6 and 7, when the AC signal source  1  whose effective voltage is a known unit voltage is used, the dividing process may be omitted from the admittance detecting process in FIGS. 2,  3 . The structure of the apparatus can thus be simplified significantly. 
     Furthermore, as shown in FIGS. 8 and 9, when the AC signal source  1  whose peak value is a known unit voltage is used, the dividing process may be omitted from the admittance detecting process in FIGS. 4,  5  just like in the above case. The structure of the apparatus can thus be simplified significantly. 
     In the electric leak judging means 6 the voltage cosine converting means  6   a - 1  obtains a cosine of the phase difference φ from the voltage Vφ corresponding to the phase difference φ by using a reference table which stores the correspondence between the voltage Vφ and the cosine beforehand, and the multiplying means  6   a - 2  multiplies the cosine by the admittance |YLEAK| thereby to find a resistance component which is an electric leak resistance RLEAK from the admittance absolute value. The electric leak resistance RLEAK is compared with the electric leak resistance reference value in the comparing means  6   b  thereby to judge existence of an electric leak. The electric leak judging means  6  can be composed of an analog-digital converting circuit and a microcomputer. The voltage-cosine converting circuit  6   a - 1  may be composed of a reference table composed of memories as described above, as well as a microcomputer used for computing. FIG. 19 shows the output voltage characteristics of the phase discriminating means  4  when the electric leak resistance is changed within 500 kΩ to 1 kΩ. 
     FIGS. 10 and 11 show an electric leak detecting apparatus that uses another AC method in another embodiment of the present invention. At first, the components of the apparatus will be described.  4  is a phase discriminating means used to extract a phase difference from between the current i and the voltage v as described above.  6   c  is a converting means used to find a tangent tan φ of the phase voltage Vf.  6   d  is resistance component computing means used to compute the resistance component |YREAL| using the tangent tan φ in accordance with the following:               Y   REAL          =           C   D                   tan                 φ     +           (       C   D                   tan                 φ     )     2     -     4                   ω   2            C   S          (       C   S     +     C   D       )               2                            
       6   b  is a comparing means used to compare an electric leak value with a predetermined reference value to judge an electric leak as described above. Consequently, the admittance detecting means  5  may be omitted. FIG. 11 shows a case in which vin is used. 
     FIGS. 12 and 13 show means for estimating a floating capacitance Cs in another embodiment of the present invention. Although the floating capacitance Cs is already a known value measured by another means in the above embodiments, the floating capacitance Cs is estimated in this embodiment thereby to detect an electric leak more accurately. At first, the components of the estimating means will be described below.  15   a  is peak detecting means used to hold the peak values of both AC voltage and AC current.  15   b  is Cs estimating means used to estimate the floating capacitance Cs in accordance with (Expression 4). The computing means of the Cs estimating means  15   b  may be replaced with a reference table.  15  is means for estimating a floating capacitance. FIG. 13 shows a case in which vin is used. 
     From the AC signal source  1  a frequency f 2  is output. The frequency f 2  is higher than f 1 . Consequently, 1/ (2 π f 2 cd)&lt;&lt;RLEAL is satisfied. The voltage |v| is thus regarded as a divided voltage obtained by Cd and Cs. At this time, when the AC current flowing in the system is assumed to be |i|, the Cs value is decided as follows:             {                i        =            Y                v          =     2                 π                   f   2              C   D          C   S           C   D     +     C   S                 v                          ∴                C   S       =            i             C   D           2                 π                   f   2          C   D             v          -        i                                             
     Consequently, in the present embodiment the floating capacitance Cs can be decided accurately thereby to improve the accuracy of the electric leak detection, although both condenser Cd and floating capacitance Cs were handled as known values in the processing for estimating a resistance component from an electric leak admittance in the previous embodiments. 
     Now as another embodiment of AC method in which the phase discriminating means is not used is described by using FIGS. 26 to  33 . The  4   f  is a timing generating means which generates an edge output at zero-crossing from negative to positive of AC current flowing through the condenser  2 , 4 g is sample/hold means which samples and holds a voltage of the AC source  1  according to the timing output from the timing generating means  4   f . The  6   e  is a resistance component detecting means which detects a leak resistance GLEAK according to equation 10 by using the admittance |Y| from the admittance detecting means  5  and the reactance |x| from the sample/hold means 4 g. 
     [Equation 10]         1     G   LEAK       =       R   LEAK     =                1     Y   LEAK            2     -          X        2                                  
     The operation of this embodiment is follows. The voltage v of the AC source  1  which is sampled and held at the timing of the timing generating means  4   f  is divided by the amplitude of the AC signal, to obtain a reactance |X| of the condenser  2  and leak admittance  3   b - 2 . The resistance detecting means  6   e  calculates the inverse of the leak resistance GLEAK according to the equation  10  from the reactance |X| and admittance |Y|. The comparing means  6   b  compares it with a threshold value to judge the leak state. 
     In the embodiment of FIGS. 26 to  33  the dividing means  5   b  can be omitted by making the effective value or peak value of the AC source  1  as a unit size. 
     According to the electric leak detecting described in the above-mentioned embodiments, it is premised that no noise is mixed in AC voltages v or vin, as well as in the current i. However, since an electric vehicle is provided with a driving power source such as an inverter motor, the inverter noise at the set battery is supplied to the side of the AC signal generating means  1 , via the condenser  2 . And, this noise damages an amplifying means provided at the AC signal generating means  1 , as well as causes an error when detecting phase and admittance. Consequently, as shown in FIG. 25, such a damage of the amplifying means can be prevented by inserting a limiter  18  to cut the voltage level other than the range within +v of the vehicle body. Furthermore, as shown in FIGS. 1 to  13 , it is possible to detect an electric leak accurately under such a noise in the circuits for detecting the current i and the voltage v by using a band-pass filter  17  which can cut noises in bands other than that of the detecting signal from the AC signal generating means  1 . If a noise frequency band is close to a comparatively high frequency, the band-pass filter may be replaced with a low-pass filter. 
     FIG. 14 shows a figuration of an electric leak detecting apparatus of the present invention, which adopts the DC method. At first, the components of the apparatus will be described below.  3  is a battery pack.  3   a  is n pieces of batteries disposed serially as described above.  3   b  is an electric leak admittance noted by a concentrated constant.  11  is a DC voltage source used to generate a DC voltage V.  12  is a polarity switch used to reverse the polarity of the DC voltage source  11   13  is means for detecting a DC current.  14  is a resistor whose value is a known RKΩ. 
     Next, the operation of the apparatus will be described. As shown in FIG. 14, the polarity switch  12  is turned to the A side, so that the voltage V from the DC voltage source  11  is connected to the minimum potential of set battery  3   a . At this time, the circuit equation, if the number of batteries is n, is as shown in Equation 11. 
     [Equation 11]            {           V   =         R   K        I     +     V   1     +       R   0          I   0                                  =         R   K        I     +     (       V   1     +     V   2       )     +       R   2          I   2                                  ⋯                            =         R   K        I     +     (       V   1     +     V   n       )     +       R   n          I   n                       I   =       I   0     +   Λ   +     I   n                                        
     For example, when n=2, the current detecting means  13  measures the DC current IA as shown in Equation 12. 
     [Equation 12]         I   A     =       1       {     1   +       R   K       (           R   1          R   2       //       R   2          R   0         //       R   0          R   1         )         }          R   0          R   1          R   2              {       V        (         R   1          R   2       +       R   2          R   0       +       R   0          R   1         )       -       R   0          R   2          V   0       -       R   0            R   1          (       V   0     +     V   1       )           }                              
     Each double slash in the equation means a parallel connection of resistors. 
     After this, the polarity switch  12  is turned to the B side so that the voltage V from the DC voltage source  11  is connected to the minimum potential of the battery pack. At this time, the DC current IB measured by the current detecting means  13  is changed from V to −V so as to become as shown in Equation 13. 
     [Equation 13]         I   B     =       1       {     1   +       R   K       (           R   1          R   2       //       R   2          R   0         //       R   0          R   1         )         }          R   0          R   1          R   2              {       -     V        (         R   1          R   2       +       R   2          R   0       +       R   0          R   1         )         -       R   0          R   2          V   0       -       R   0            R   1          (       V   0     +     V   1       )           }                              
     Then, a difference between currents IA and IB is detected and when the difference is substituted for Equation 14, the result will become as shown in Equation 15.                2      V         I   A     -     I   B               [     Equation                 14     ]                                           {               2      V         I   A     -     I   B         =       R   K     +     (           R   1          R   2       //       R   2          R   0         //       R   0          R   1         )                     Θ                   (           R   1          R   2       //       R   2          R   0         //       R   0          R   1         )       =           R   0          R   1       +       R   1          R   2       +       R   2          R   0             R   0     +     R   1     +     R   2                                           
     V is thus eliminated. And, since the value of the resistor  14  is already known as RKΩ, the ohm value is subtracted to find the residual value as an electric leak resistance. 
     Although the voltage V of the DC voltage source  11  is applied to the minimum potential of the set battery  3   a  via the resistor  14  as shown in FIG. 14, the same electric leak resistance can also be obtained with the same computation as the above one even when the voltage V is applied to every node including the maximum potential  3   a  of the set battery  3   a . This is because the internal resistance of the battery is much smaller than the electric leak resistance. Consequently, the DC method is not affected by the capacitance components C 0  to Cn of an inverse number of the admittance as well as not affected by the voltage of the set battery. Furthermore, the current detecting means  13  in the circuit may be positioned anywhere in the system composed of the resistor  14 , the DC voltage source  11 , and the vehicle body. That is the position is not limited only at the position shown in FIG. 14 because the current detecting means  13  is just required to detect the current of the DC voltage source  11 , which flows through the resistor  14 . 
     Although n=2 is assumed in the above embodiment, the case under n=any natural number can be solved generally when IA and IB are obtained by solving the simultaneous equations in Equation 11. 
     The following is a listing of the terms appearing in equations (1) to (15) and their meanings: 
     Io-In are leak currents flowing from a node to the vehicle body. 
     Λis a continuation of a series ( . . . ) 
     Yo-Yn are admittance elements between the vehicle ground and the set battery. 
     YLEAK is the sum of the admittance elements. 
     Ro-Rn are resistive elements. 
     Co-Cn are capacitive elements. 
     GLEAK is 1/RLEAK which is the real component of the admittance. 
     jwCs is j2 πfCs which is the imaginary component of the admittance. 
     i is the ac current flowing into the vehicle body. 
     v is the ac voltage across the vehicle body. 
     f is frequency of the ac signal source. 
     Cs is the floating capacitance. 
     φ is the phase angle between the ac voltage v and the ac current i. 
     vin is the input ac voltage source. 
     CD is the capacitance between the ac signal source and the floating capacitance Cs.