Abstract:
A measurement method for an aviation-specific inductive proximity sensor (IPS for short) includes steps of: 1) building a measurement circuit, wherein an IPS comprises an internal resistance r and an inductance L; 2) building a look-up table, wherein the step 2) specifically comprises steps of: sampling a first voltage measured value U 1  corresponding to a first constant delay time T 1  with the ADC; sampling a second voltage measured value U 2  corresponding to a second constant delay time T 2  with the ADC; then obtaining voltage discharge formulas U 1 (T 1 , R, r, L) and U 2 (T 2 , R, r, L) of an r-L circuit; and 3) compressing the look-up table, utilizing the compressed look-up table for calculation during measurement. The present invention ensures that the system works within a standard temperature range, and improves measurement stability, reliability, and real-time performance. Furthermore, there is no floating point calculation, which saves CPU or MCU hardware resources.

Description:
CROSS REFERENCE OF RELATED APPLICATION 
       [0001]    This is a U.S. National Stage under 35 U.S.C. 371 of the International Application PCT/CN2012/072799, filed Mar. 22, 2012. 
     
    
     BACKGROUND OF THE PRESENT INVENTION 
       [0002]    1. Field of Invention 
         [0003]    The present invention belongs to a field of sensors, relates to driving and detection methods for a passive sensor, and more particularly to driving and detection methods for an aerospace inductive proximity sensor (IPS for short), and an optimization method for calculating inductance values by table look-up, which are in particular applicable to table compression of sampling and calculating a charge-discharge curve of an r-L circuit by table look-up. 
         [0004]    2. Description of Related Arts 
         [0005]    Because a non-contact IPS has higher reliability and mean time between failures (MTBF for short) than a mechanical displacement switch, the non-contact IPS is increasingly frequently used in aviation electromechanical systems such as various types of aircraft landing gears, passenger and cargo doors, flaps, thrust reversers, etc. Aircraft types involved are large civil aircrafts, transport aircrafts and so on. 
         [0006]    Industrial non-contact IPS is usually active, bulky, with thick winding wires, driven by high current for detecting, used for outputting digital switching signals, and relatively easy to use. However, high current driving and controlling methods of the sensor cannot meet the general electromagnetic compatibility standards in aviation field. Therefore, the industrial sensor is not suitable for the field of aviation. 
         [0007]    Conventionally, main parts of the aviation non-contact IPS are mainly provided by two companies, namely Crane (USA) and Crouzet (France). Internal structures and principles thereof are the same, and main parameters thereof are similar. The sensor is passive, and an internal circuit structure thereof is simple, which comprises a group of winding coils. Shown in  FIG. 1 , an equivalent circuit model of the IPS comprises a real part of resistor r and an inductor L in series. An inductance value and current capability of the coil are much smaller than the industrial sensor. Typically, a maximum inductance value is no more than 10 mH; and the current capability of the coil is no more than 20 mA. 
         [0008]    Conventionally, there are two main driving and detection methods for the passive non-contact IPS: analog measurement method and digital measurement method. 
         [0009]    The analog measurement method comprises steps of: applying pulse excitation to the sensor coil, comparing thresholds of the R-L discharge curve by a comparator for detecting the inductance value, then judging whether a nearby target is moving towards the sensor by comparing the inductance value. The analog measurement method is the most common one, and a circuit thereof is simple and reliable. However, due to a large temperature drift of the resistance inside the sensor, an operating temperature range of the measuring system is small. The contradiction of operating temperature and the measurement accuracy remains to be eliminated. 
         [0010]    The digital measurement method typically comprises steps of: applying a sine wave excitation to the sensor circuit, sampling waveforms of voltage and current and applying fast Fourier transform (FFT for short) algorithm for obtaining a phase difference between the voltage and the current, and calculating the sensor inductance L. The temperature drift of the resistance inside the sensor is eliminated by calculating, so as to eliminate measurement errors caused by ambient temperature, and expand the operating temperature range. However, the digital measurement method is poor in stability, liable to be affected by external electromagnetic annoyance, and insufficient in real-time performance 
       SUMMARY OF THE PRESENT INVENTION 
       [0011]    An object of the present invention is to provide an analog-digital mixed measurement method for an aviation-specific IPS to overcome the above disadvantages, wherein the measurement method keeps advantages of two conventional kinds of measurement methods: ensuring that a system works within a standard temperature range; improving measurement stability, reliability, and real-time performance; omitting floating point calculation, and saving CPU or MCU hardware resources. For accurately providing the above method, a specific calculation method for a 2-dimensional look-up table, an evaluation method for quantizing error of a look-up table method, and a method for greatly compressing the look-up table are designed according to the present invention. 
         [0012]    Accordingly, in order to accomplish the above object, the present invention provides a measurement method for an aviation-specific IPS, comprising steps of: 
         [0013]    1) building a measurement circuit, wherein a IPS comprises an internal resistance r and an inductance L, a value of the internal resistance r increases when environmental temperature increases, a value of the inductance L relates to a distance between the IPS and a metal target; the measurement circuit of the IPS comprises a current-limiting resistance R, the IPS and a controlled switch connected in series; an analog-digital converter (ADC for short) is placed at a voltage measurement node between the current-limiting resistance R and the internal resistance r; 
         [0014]    2) building a look-up table, wherein the step 2) specifically comprises steps of: sampling a first voltage measured value U 1  corresponding to a first constant delay time T 1  with the ADC; sampling a second voltage measured value U 2  corresponding to a second constant delay time T 2  with the ADC; then obtaining voltage discharge formulas U 1 (T 1 , R, r, L) and U 2 (T 2 , R, r, L) of an r-L circuit, wherein T 1 , T 2 , and R are constants; uniting the two formulas for building the look-up table of the internal resistance r and the inductance L corresponding to the U 1  and U 2 ; and 
         [0015]    3) compressing the look-up table, utilizing the compressed look-up table for measurement of the IPS: for example, in a 12-bit ADC, a size of a complete 2-dimensional look-up table is 2 12 ×2 12 a storage volume thereof is 16 M units. In view of practicability, an effective method for compressing the look-up table must be found for ensuring practicability of the present invention. By taking full advantage of a distribution characteristic of sample values [U 1 , U 2 ] in a real circuit, the look-up table is able to be effectively compressed. 
         [0016]    Preferably, in the step 2): 
         [0017]    between the first constant delay time T 1  and the second constant delay time T 2 , the controlled switch is on, the inductance L slowly discharges through internal and external resistances; at an initial time T 0 , the controlled switch is off, then the inductance L is charged, and a current thereof is: 
         [0000]    
       
         
           
             
               
                 
                   i 
                   = 
                   
                     
                       
                         U 
                         max 
                       
                       
                         R 
                         + 
                         r 
                       
                     
                      
                     
                       [ 
                       
                         1 
                         - 
                         
                            
                           
                             
                               - 
                               
                                 
                                   R 
                                   + 
                                   r 
                                 
                                 L 
                               
                             
                             × 
                             T 
                           
                         
                       
                       ] 
                     
                   
                 
               
               
                 
                   ( 
                   1 
                   ) 
                 
               
             
           
         
       
     
         [0018]    a voltage at the voltage measurement node is: 
         [0000]        U=U   max   −i×R   (2)
 
         [0019]    therefore: 
         [0000]    
       
         
           
             
               
                 
                   U 
                   = 
                   
                     
                       
                         U 
                         max 
                       
                       
                         R 
                         + 
                         r 
                       
                     
                      
                     
                       [ 
                       
                         r 
                         + 
                         
                           R 
                           × 
                           
                              
                             
                               
                                 - 
                                 
                                   
                                     R 
                                     + 
                                     r 
                                   
                                   L 
                                 
                               
                               × 
                               T 
                             
                           
                         
                       
                       ] 
                     
                   
                 
               
               
                 
                   ( 
                   3 
                   ) 
                 
               
             
           
         
       
     
         [0020]    at the first constant delay time T 1  and the second constant delay time T 2  control the ADC to sample, and the corresponding U 1  and U 2  are: 
         [0000]    
       
         
           
             
               
                 
                   { 
                   
                     
                       
                         
                           
                             
                               U 
                               1 
                             
                             = 
                             
                               
                                 
                                   U 
                                   max 
                                 
                                 
                                   R 
                                   + 
                                   r 
                                 
                               
                                
                               
                                 [ 
                                 
                                   r 
                                   + 
                                   
                                     R 
                                     × 
                                     
                                        
                                       
                                         
                                           - 
                                           
                                             
                                               R 
                                               + 
                                               r 
                                             
                                             L 
                                           
                                         
                                         × 
                                         
                                           T 
                                           1 
                                         
                                       
                                     
                                   
                                 
                                 ] 
                               
                             
                           
                         
                       
                       
                         
                           
                             
                               U 
                               2 
                             
                             = 
                             
                               
                                 
                                   U 
                                   max 
                                 
                                 
                                   R 
                                   + 
                                   r 
                                 
                               
                                
                               
                                 [ 
                                 
                                   r 
                                   + 
                                   
                                     R 
                                     × 
                                     
                                        
                                       
                                         
                                           - 
                                           
                                             
                                               R 
                                               + 
                                               r 
                                             
                                             L 
                                           
                                         
                                         × 
                                         
                                           T 
                                           2 
                                         
                                       
                                     
                                   
                                 
                                 ] 
                               
                             
                           
                         
                       
                     
                     . 
                   
                 
               
               
                 
                   ( 
                   4 
                   ) 
                 
               
             
           
         
       
     
         [0021]    Preferably, the formula (4) is calculated by a least square method comprising steps of: 
         [0022]    building an object function: 
         [0000]      min:( U   1   −U   1 ( L,r )) 2 +( U   2   −U   2 ( L,r )) 2   (5)
 
         [0023]    s.t.1: r&gt;0 
         [0024]    s.t.2: L&gt;0 
         [0025]    further obtaining: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       min 
                        
                       
                         : 
                       
                        
                       
                         
                           ( 
                           
                             
                               
                                 U 
                                 1 
                               
                                
                               
                                 ( 
                                 
                                   R 
                                   + 
                                   r 
                                 
                                 ) 
                               
                             
                             - 
                             
                               
                                 U 
                                 max 
                               
                                
                               
                                 ( 
                                 
                                   r 
                                   + 
                                   
                                     R 
                                     × 
                                     
                                        
                                       
                                         
                                           - 
                                           
                                             
                                               R 
                                               + 
                                               r 
                                             
                                             K 
                                           
                                         
                                         × 
                                         
                                           T 
                                           1 
                                         
                                       
                                     
                                   
                                 
                                 ) 
                               
                             
                           
                           ) 
                         
                         2 
                       
                     
                     + 
                     
                       
                         ( 
                         
                           
                             
                               U 
                               2 
                             
                              
                             
                               ( 
                               
                                 R 
                                 + 
                                 r 
                               
                               ) 
                             
                           
                           - 
                           
                             
                               U 
                               max 
                             
                              
                             
                               ( 
                               
                                 r 
                                 + 
                                 
                                   R 
                                   × 
                                   
                                      
                                     
                                       
                                         - 
                                         
                                           
                                             R 
                                             + 
                                             r 
                                           
                                           L 
                                         
                                       
                                       × 
                                       
                                         T 
                                         2 
                                       
                                     
                                   
                                 
                               
                               ) 
                             
                           
                         
                         ) 
                       
                       2 
                     
                   
                    
                   
                     
 
                   
                    
                   
                     
                       
                         s 
                         . 
                         t 
                       
                        
                       .1 
                        
                       
                         : 
                       
                        
                       r 
                     
                     &gt; 
                     0 
                   
                    
                   
                     
 
                   
                    
                   
                     
                       
                         s 
                         . 
                         t 
                       
                        
                       .2 
                        
                       
                         : 
                       
                        
                       L 
                     
                     &gt; 
                     0 
                   
                 
               
               
                 
                   ( 
                   6 
                   ) 
                 
               
             
           
         
       
     
         [0026]    wherein a max voltage U max  (namely  2   n −1, n is a resolution of the ADC), the current-limiting resistance R, the first constant delay time T 1  and the second constant delay time T 2  are constants; 
         [0027]    it is proved that when applying each group of the sample values [U 1 , U 2 ] obtained at T 1  and T 2  to the formula (4), the formula (4) has only one solution [L, r]; with the formula (6), a numerical solution of the [L, r] is able to be obtained; 
         [0028]    and applying each of the sample values in the [U 1 , U 2 ] for respectively calculating and obtaining the numerical solution of the [L, r] corresponding to the [U 1 , U 2 ], in such a manner that the look-up table is obtained. 
         [0029]    Preferably, in the step 3): 
         [0030]    For practicability, a restriction condition of a physical model of the measurement circuit, which is applied on the [U 1 , U 2 ], should be taken full advantage of, for compressing the look-up table. The above restriction condition comprises: 
         [0031]    a) T 1  and T 2  are artificially determined, in such a manner that a restriction condition is T 1 &lt;T 2 ; it is proved that U(T) is a monotone decreasing function, therefore, U 1 &gt;U 2 ; and 
         [0032]    b) [L, r] is a distribution parameter in a real physical model and must be a positive real number; it is provable that with restriction of the formula (1), mapping a positive real space of [U 1 , U 2 ] to a space of [L, r] may cause negative numbers or even complex numbers in the [L, r]; however, such [U 1 , U 2 ] will not appear in practical sampling. 
         [0033]    By removing points where U 1 &lt;U 2 , and the obtained [L, r] comprises a negative number or complex number, the scale of the look-up table is able to be decreased. 
         [0034]    By applying the U max  and the sample values (U 1 , T 1 ) and (U 2 , T 2 ) to the formula (4) and calculating to obtain: 
         [0000]    
       
         
           
             
               
                 
                   { 
                   
                     
                       
                         
                           L 
                           = 
                           
                             - 
                             
                               
                                 
                                   ( 
                                   
                                     R 
                                     + 
                                     r 
                                   
                                   ) 
                                 
                                 × 
                                 
                                   T 
                                   1 
                                 
                               
                               
                                 log 
                                  
                                 
                                   [ 
                                   
                                     
                                       
                                         
                                           U 
                                           1 
                                         
                                         
                                           
                                             ( 
                                             
                                               
                                                 2 
                                                 n 
                                               
                                               - 
                                               1 
                                             
                                             ) 
                                           
                                            
                                           R 
                                         
                                       
                                        
                                       
                                         ( 
                                         
                                           R 
                                           + 
                                           r 
                                         
                                         ) 
                                       
                                     
                                     - 
                                     
                                       r 
                                       R 
                                     
                                   
                                   ] 
                                 
                               
                             
                           
                         
                       
                     
                     
                       
                         
                           L 
                           = 
                           
                             - 
                             
                               
                                 
                                   ( 
                                   
                                     R 
                                     + 
                                     r 
                                   
                                   ) 
                                 
                                 × 
                                 
                                   T 
                                   2 
                                 
                               
                               
                                 log 
                                  
                                 
                                   [ 
                                   
                                     
                                       
                                         
                                           U 
                                           2 
                                         
                                         
                                           
                                             ( 
                                             
                                               
                                                 2 
                                                 n 
                                               
                                               - 
                                               1 
                                             
                                             ) 
                                           
                                            
                                           R 
                                         
                                       
                                        
                                       
                                         ( 
                                         
                                           R 
                                           + 
                                           r 
                                         
                                         ) 
                                       
                                     
                                     - 
                                     
                                       r 
                                       R 
                                     
                                   
                                   ] 
                                 
                               
                             
                           
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   7 
                   ) 
                 
               
             
           
         
       
     
         [0035]    then obtaining 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       [ 
                       
                         
                           
                             
                               U 
                               1 
                             
                             
                               
                                 ( 
                                 
                                   
                                     2 
                                     n 
                                   
                                   - 
                                   1 
                                 
                                 ) 
                               
                                
                               R 
                             
                           
                            
                           
                             ( 
                             
                               R 
                               + 
                               r 
                             
                             ) 
                           
                         
                         - 
                         
                           r 
                           R 
                         
                       
                       ] 
                     
                     
                       ( 
                       
                         
                           T 
                           2 
                         
                         
                           T 
                           1 
                         
                       
                       ) 
                     
                   
                   = 
                   
                     [ 
                     
                       
                         
                           
                             U 
                             2 
                           
                           
                             
                               ( 
                               
                                 
                                   2 
                                   n 
                                 
                                 - 
                                 1 
                               
                               ) 
                             
                              
                             R 
                           
                         
                          
                         
                           ( 
                           
                             R 
                             + 
                             r 
                           
                           ) 
                         
                       
                       - 
                       
                         r 
                         R 
                       
                     
                     ] 
                   
                 
               
               
                 
                   ( 
                   8 
                   ) 
                 
               
             
           
         
       
     
         [0036]    wherein R and r are positive real numbers, and T 1 &lt;T 2 ; if the solution [L, r] is a positive real number, then a restriction condition is: 
         [0000]    
       
         
           
             
               
                 
                   1 
                   &gt; 
                   
                     [ 
                     
                       
                         
                           
                             U 
                             1 
                           
                           
                             
                               ( 
                               
                                 
                                   2 
                                   n 
                                 
                                 - 
                                 1 
                               
                               ) 
                             
                              
                             R 
                           
                         
                          
                         
                           ( 
                           
                             R 
                             + 
                             r 
                           
                           ) 
                         
                       
                       - 
                       
                         r 
                         R 
                       
                     
                     ] 
                   
                   &gt; 
                   
                     [ 
                     
                       
                         
                           
                             U 
                             2 
                           
                           
                             
                               ( 
                               
                                 
                                   2 
                                   n 
                                 
                                 - 
                                 1 
                               
                               ) 
                             
                              
                             R 
                           
                         
                          
                         
                           ( 
                           
                             R 
                             + 
                             r 
                           
                           ) 
                         
                       
                       - 
                       
                         r 
                         R 
                       
                     
                     ] 
                   
                   &gt; 
                   0 
                 
               
               
                 
                   ( 
                   9 
                   ) 
                 
               
             
           
         
       
     
         [0037]    which means: 
         [0000]    
       
         
           
             
               
                 
                   
                     ( 
                     
                       
                         2 
                         n 
                       
                       - 
                       1 
                     
                     ) 
                   
                   &gt; 
                   
                     U 
                     1 
                   
                   &gt; 
                   
                     U 
                     2 
                   
                   &gt; 
                   
                     
                       
                         
                           ( 
                           
                             
                               2 
                               n 
                             
                             - 
                             1 
                           
                           ) 
                         
                          
                         r 
                       
                       
                         R 
                         + 
                         r 
                       
                     
                     . 
                   
                 
               
               
                 
                   ( 
                   10 
                   ) 
                 
               
             
           
         
       
     
         [0038]    According to the above restriction condition, a range of the [U 1 , U 2 ] is determined by an ergodic method, wherein: 
         [0039]    in practice, r is a distributed resistance in a wire which increases when the environment temperature increases, a min acceptable value r min  is applied to the formula (10) for determining the sample value U 1  and a possible min value U 1min ; 
         [0040]    applying the U 1min  to the formula (8) to obtain: 
         [0000]    
       
         
           
             
               
                 
                   
                     U 
                     
                       2 
                        
                       
                           
                       
                        
                       min 
                     
                   
                   = 
                   
                     
                       
                         
                           
                             [ 
                             
                               
                                 
                                   
                                     U 
                                     
                                       1 
                                        
                                       
                                           
                                       
                                        
                                       min 
                                     
                                   
                                   
                                     
                                       ( 
                                       
                                         
                                           2 
                                           n 
                                         
                                         - 
                                         1 
                                       
                                       ) 
                                     
                                      
                                     R 
                                   
                                 
                                  
                                 
                                   ( 
                                   
                                     R 
                                     + 
                                     r 
                                   
                                   ) 
                                 
                               
                               - 
                               
                                 r 
                                 R 
                               
                             
                             ] 
                           
                           
                             ( 
                             
                               
                                 T 
                                 2 
                               
                               
                                 T 
                                 1 
                               
                             
                             ) 
                           
                         
                         + 
                         
                           r 
                           R 
                         
                       
                       
                         ( 
                         
                           R 
                           + 
                           r 
                         
                         ) 
                       
                     
                     × 
                     
                       ( 
                       
                         
                           2 
                           n 
                         
                         - 
                         1 
                       
                       ) 
                     
                      
                     R 
                   
                 
               
               
                 
                   ( 
                   11 
                   ) 
                 
               
             
           
         
       
     
         [0041]    regarding the formula (11) as a function of U 2min  referring to r, calculating a range of the U 2min  within a range of the distributed resistance r; 
         [0042]    wherein the [U 1 , U 2 ] are positive integers sampled by the ADC; ranges of the U 2  respectively corresponding to U 1min , U 1min +1, U 1min +2, U 1min +3 . . . U 1min +(2 n −1) are obtained in sequence by repeating the above method, and a set thereof forms a definition domain of the look-up table; 
         [0043]    and applying points in the definition domain of the look-up table to the formula (6) for calculating the corresponding solutions [L, r], so as to obtain the compressed look-up table. Points out of the definition domain will not be obtained in the practical sampling, and do not need to be recorded. 
         [0044]    By mathematical analysis of the formula (11), it is concluded that: 
         [0045]    after the T 1  and T 2  are determined, a scale of the compressed look-up table is mainly depended on a value of a divider resistance R and a change value of the distributed resistance r within an effective working range of the system. 
         [0046]    In practice, a measured object is an induction formed by a winding metal wire, a range of a distributed resistance r thereof is large due to a large temperature drift coefficient, which is unfavorable for compression of the look-up table. Usually, a value of the r is not too high. Therefore, by utilizing divider resistance R with high accuracy, low temperature drift, and a range much larger than the range of the r, a sufficient compression ratio of the look-up table is able to be obtained. Referring to a preferred embodiment, specific values thereof are illustrated. 
         [0047]    The present invention is applicable to aviation systems such as landing gears, passenger and cargo doors, flaps, and thrust reversers. With gradual opening of aviation markets, the present invention has a wide application range, great economic benefit and social benefit. Compared with the conventional technologies and products, the present invention has technical advantages, improves MTBF, and increases market share of the IPS products and secondary developed products thereof. At the same time, multi-dimensional look-up table compression method is able to effectively reduce size and cost of related control detection systems, and improve system stability, so as to provide extensive application prospect, economic benefit and social benefit. 
         [0048]    These and other objectives, features, and advantages of the present invention will become apparent from the following detailed description, the accompanying drawings, and the appended claims. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0049]      FIG. 1  shows a schematic view of an equivalent circuit model of an IPS according to a preferred embodiment of the present invention. 
           [0050]      FIG. 2  shows a schematic view of a driving and detection module of the IPS according to the preferred embodiment of the present invention. 
           [0051]      FIG. 3  shows a waveform of a circuit output signal of the IPS according to the preferred embodiment of the present invention. 
           [0052]      FIG. 4  shows a response waveform of the IPS which is close to a target according to the preferred embodiment of the present invention. 
           [0053]      FIG. 5  shows a response waveform of the IPS which is far from the target according to the preferred embodiment of the present invention. 
           [0054]      FIG. 6  shows a response waveform of the IPS which is 1 mm-2 mm far from the target according to the preferred embodiment of the present invention. 
           [0055]      FIG. 7  shows a discharge curve according to the preferred embodiment of the present invention. 
           [0056]      FIG. 8  shows a cluster of curves passing (U 1 , T 1 ) according to the preferred embodiment of the present invention. 
           [0057]      FIG. 9  shows a cluster of curves passing (U 2 , T 2 ) according to the preferred embodiment of the present invention. 
           [0058]      FIG. 10  shows a restriction condition of r-L according to the preferred embodiment of the present invention. 
           [0059]      FIG. 11  shows a restriction condition of r-U 2  according to the preferred embodiment of the present invention. 
           [0060]      FIG. 12  shows a cluster of curves of U 2  which have positive real crossover points with a given curve of U 1  according to the preferred embodiment of the present invention. 
           [0061]      FIG. 13  shows coordinate mapping according to the preferred embodiment of the present invention. 
           [0062]      FIG. 14  shows coordinate mapping according to the preferred embodiment of the present invention. 
           [0063]      FIG. 15  shows an effective table area according to the preferred embodiment of the present invention. 
           [0064]      FIG. 16  shows a solution of a function L(U 1 , U 2 ) within an effective definition domain according to the preferred embodiment of the present invention. 
       
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
       [0065]    Referring to the drawings, the present invention is further illustrated. 
         [0066]    According to the present invention, an internal circuit structure of an IPS is simple, which is formed by a group of metal winding wires. Referring to the  FIG. 1 , an equivalent circuit model thereof is formed by an internal resistance r in an induction coil and an inductance L connected in series (a parasitic capacitance is ignored). The internal resistance r increases when environmental temperature increases, and a value of the inductance L relates to a distance between the IPS and a metal target. If an external metal target is moving towards the IPS, electromagnetic field distribution around the IPS is greatly changed, and an equivalent induction of the IPS is increased. By driving and detecting an induction value, whether the external metal target is moving towards the IPS is able to be judged. 
         [0067]    For example, an induction value of a product of Crouzet changes from 4.5 mH (far) to 5.5 mH (close), which rarely changes with a temperature. A resistance thereof changes with a temperature, and a reference range is 10Ω to 15Ω, which rarely changes with a proximity 
         [0068]    By driving the IPS and detecting an inductive reactance of the induction, the proximity is able to be detected. 
         [0069]    Accordingly, driving and detecting methods require: 
         [0070]    1) a peak of a driving current is no more than 15 mA, wherein a higher current is not able to pass an electromagnetic compatibility test; the peak is no less than 10 mA, a lower current is liable to be interfered by an external electromagnetic environment; and 
         [0071]    2) a inductance change rate is 2%; a quantified measurement index of 5% is required; inductance detection accuracy of the system should be 0.1%; and 
         [0072]    3) as the change rate of the internal resistance within a standard temperature range is over 60%, an impact of temperature drift on inductance detection must be considered; and 
         [0073]    4) for improving system MTBF, hardware resources such as CPU, MCU and DSP are not utilized. 
         [0074]    Referring to the  FIG. 2 , FPGA controlling and driving circuit outputs a 0-5V pulsing signal. A drive circuit outputs a driving signal with an amplitude of 0-5V, a positive bandwidth of 2 ms and a period of 200 Hz. Referring to the  FIG. 3 , a waveform of the drive circuit output signal is illustrated, wherein the output signal passes through a divider circuit, a filter and a sensor, and grounds through the filter. 
         [0075]    If the IPS is close to a target, a waveform detected at a measurement node is as illustrated in the  FIG. 4 . If the IPS is far from a target, a waveform detected at the measurement node is as illustrated in the  FIG. 5 . If the IPS is 1 mm-2 mm far from a target, a waveform detected at the measurement node is as illustrated in the  FIG. 6 . 
         [0076]    Two constant delay times are obtained by an ADC for sampling voltage measured values U 1  and U 2  corresponding to the constant delay times T 1  and T 2 , and further obtaining two voltage discharge formulas U 1 (T 1 , R, r, L) and U 2 (T 2 , R, r, L) of an r-L circuit, wherein T 1 , T 2 , and R (limiting resistance) are constants; the two formulas are united for solving the internal resistance r and the inductance L. 
         [0077]    For building the formulas: 
         [0078]    Referring to the  FIG. 1 , between two measurements, a controlled switch is on, the inductance L slowly discharges through internal and external resistances; at a time T 0 , the controlled switch is off, then the inductance L is charged, and a current thereof is: 
         [0000]    
       
         
           
             
               
                 
                   i 
                   = 
                   
                     
                       
                         U 
                         max 
                       
                       
                         R 
                         + 
                         r 
                       
                     
                      
                     
                       [ 
                       
                         1 
                         - 
                         
                            
                           
                             
                               - 
                               
                                 
                                   R 
                                   + 
                                   r 
                                 
                                 L 
                               
                             
                             × 
                             T 
                           
                         
                       
                       ] 
                     
                   
                 
               
               
                 
                   ( 
                   1 
                   ) 
                 
               
             
           
         
       
     
         [0079]    a voltage at the voltage measurement node is: 
         [0000]        U=U   max   −i×R   (2)
 
         [0080]    therefore: 
         [0000]    
       
         
           
             
               
                 
                   U 
                   = 
                   
                     
                       
                         U 
                         max 
                       
                       
                         R 
                         + 
                         r 
                       
                     
                      
                     
                       [ 
                       
                         r 
                         + 
                         
                           R 
                           × 
                           
                              
                             
                               
                                 - 
                                 
                                   
                                     R 
                                     + 
                                     r 
                                   
                                   L 
                                 
                               
                               × 
                               T 
                             
                           
                         
                       
                       ] 
                     
                   
                 
               
               
                 
                   ( 
                   3 
                   ) 
                 
               
             
           
         
       
     
         [0081]    the first constant delay time T 1  and the second constant delay time T 2  control the ADC to sample, and the corresponding U 1  and U 2  are: 
         [0000]    
       
         
           
             
               
                 
                   { 
                   
                     
                       
                         
                           
                             
                               U 
                               1 
                             
                             = 
                             
                               
                                 
                                   U 
                                   max 
                                 
                                 
                                   R 
                                   + 
                                   r 
                                 
                               
                                
                               
                                 [ 
                                 
                                   r 
                                   + 
                                   
                                     R 
                                     × 
                                     
                                        
                                       
                                         
                                           - 
                                           
                                             
                                               R 
                                               + 
                                               r 
                                             
                                             L 
                                           
                                         
                                         × 
                                         
                                           T 
                                           1 
                                         
                                       
                                     
                                   
                                 
                                 ] 
                               
                             
                           
                         
                       
                       
                         
                           
                             
                               U 
                               2 
                             
                             = 
                             
                               
                                 
                                   U 
                                   max 
                                 
                                 
                                   R 
                                   + 
                                   r 
                                 
                               
                                
                               
                                 [ 
                                 
                                   r 
                                   + 
                                   
                                     R 
                                     × 
                                     
                                        
                                       
                                         
                                           - 
                                           
                                             
                                               R 
                                               + 
                                               r 
                                             
                                             L 
                                           
                                         
                                         × 
                                         
                                           T 
                                           2 
                                         
                                       
                                     
                                   
                                 
                                 ] 
                               
                             
                           
                         
                       
                     
                     . 
                   
                 
               
               
                 
                   ( 
                   4 
                   ) 
                 
               
             
           
         
       
     
         [0082]    Parameters: 
         [0083]    A range of the inductance L is [4.5, 5.5] mH; a range of the internal resistance r is [10, 15]Ω. 
         [0084]    U 1  and U 2  are represented by values sampled by a 12-bit ADC, wherein U max  is 4095. 
         [0085]    According to a current-limiting condition, the limiting resistance R is 230 Ω. 
         [0086]    Referring to the  FIG. 7 , medians of the ranges of the internal resistance r and the inductance L are selected for forming a discharge curve. At a time T 1 , the inductance L discharges to 30%. At a time T 2 , the inductance L discharges to 60%. T 1  is 10.284 μs, T 2  is 24.287 μs. 
         [0087]    It is provable that the formula (4) has only on solution: 
         [0088]    after quantifying by the ADC: 
         [0000]    
       
         
           
             
               
                 
                   
                     U 
                      
                     
                       ( 
                       
                         R 
                         , 
                         T 
                         , 
                         r 
                         , 
                         L 
                       
                       ) 
                     
                   
                   = 
                   
                     
                       4095 
                       
                         R 
                         + 
                         r 
                       
                     
                      
                     
                       [ 
                       
                         r 
                         + 
                         
                           R 
                           × 
                           
                              
                             
                               
                                 - 
                                 1 
                               
                                
                               
                                 
                                   R 
                                   + 
                                   r 
                                 
                                 L 
                               
                               × 
                               T 
                             
                           
                         
                       
                       ] 
                     
                   
                 
               
               
                 
                   ( 
                   5 
                   ) 
                 
               
             
           
         
       
     
         [0089]    U(R, T, r, L) is a monotone decreasing function about R and T, and also a monotone increasing function about r and L. 
         [0090]    Because U(R, T, r, L) is monotonic continuous function, an inverse function thereof exists, and the formula (4) has solutions. 
         [0091]    With given (U 1 , T 1 ), the formula (4) is restricted by r and L. A space p is defined as a set of (r p , L p ) which enables the function U-T to pass (U 1 , T 1 ), as illustrated in the  FIG. 8 . 
         [0092]    A space q is defined as a set of (r q , L q ) which enables the function U-T to pass (U 2 , T 2 ), as illustrated in the  FIG. 9 . 
         [0093]    The spaces p and q are drawn in an r-L coordinate, as illustrated in the  FIG. 10 . The U-T curve corresponding to a crossover point of two curves in the  FIG. 10  passes (U 1 , T 1 ) and (U 2 , T 2 ) at the same time, is the solution of the function. Because L(r) is monotone, there is at most one crossover point, which means that the formula (4) has at most one solution. 
         [0094]    Therefore, the formula (4) has only one solution. 
         [0095]    The formula (4) is a transcendental equation, and it is difficult to obtain a analytical solution. However, since the formula (4) has only one solution, a numerical solution satisfying an engineering accuracy requirement is obtained by iteration. 
         [0096]    The formula (4) is calculated by a least square method comprising steps of: 
         [0000]      min:( U   1   −U   1 ( L,r )) 2 +( U   2   −U   2 ( L,r )) 2   (6)
 
         [0097]    s.t.1: r&gt;0 
         [0098]    s.t.2: L&gt;0 
         [0099]    further obtaining: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       min 
                        
                       
                         : 
                       
                        
                       
                         
                           ( 
                           
                             
                               
                                 U 
                                 1 
                               
                                
                               
                                 ( 
                                 
                                   R 
                                   + 
                                   r 
                                 
                                 ) 
                               
                             
                             - 
                             
                               
                                 U 
                                 max 
                               
                                
                               
                                 ( 
                                 
                                   r 
                                   + 
                                   
                                     R 
                                     × 
                                     
                                        
                                       
                                         
                                           - 
                                           
                                             
                                               R 
                                               + 
                                               r 
                                             
                                             K 
                                           
                                         
                                         × 
                                         
                                           T 
                                           1 
                                         
                                       
                                     
                                   
                                 
                                 ) 
                               
                             
                           
                           ) 
                         
                         2 
                       
                     
                     + 
                     
                       
                         ( 
                         
                           
                             
                               U 
                               2 
                             
                              
                             
                               ( 
                               
                                 R 
                                 + 
                                 r 
                               
                               ) 
                             
                           
                           - 
                           
                             
                               U 
                               max 
                             
                              
                             
                               ( 
                               
                                 r 
                                 + 
                                 
                                   R 
                                   × 
                                   
                                      
                                     
                                       
                                         - 
                                         
                                           
                                             R 
                                             + 
                                             r 
                                           
                                           L 
                                         
                                       
                                       × 
                                       
                                         T 
                                         2 
                                       
                                     
                                   
                                 
                               
                               ) 
                             
                           
                         
                         ) 
                       
                       2 
                     
                   
                    
                   
                     
 
                   
                    
                   
                     
                       
                         s 
                         . 
                         t 
                       
                        
                       .1 
                        
                       
                         : 
                       
                        
                       r 
                     
                     &gt; 
                     0 
                   
                    
                   
                     
 
                   
                    
                   
                     
                       
                         s 
                         . 
                         t 
                       
                        
                       .2 
                        
                       
                         : 
                       
                        
                       L 
                     
                     &gt; 
                     0 
                   
                 
               
               
                 
                   ( 
                   7 
                   ) 
                 
               
             
           
         
       
     
         [0100]    and applying each of the sample values in the [U 1 , U 2 ] for respectively calculating and obtaining the numerical solution of the [L, r] corresponding to the [U 1 , U 2 ], in such a manner that the look-up table is obtained. In practice, the value of L is obtained with U 1  and U 2 , so as to define a state of the IPS. 
         [0101]    Look-up table compression: 
         [0102]    For example, in a 12-bit ADC, a size of a complete 2-dimensional look-up table is 2 12 ×2 12 , and a storage volume thereof is 16 M units, which means poor practicability. 
         [0103]    An effective method for compressing the look-up table must be found for ensuring practicability of the present invention. By taking full advantage of a distribution characteristic of sample values [U 1 , U 2 ] in a real circuit, the look-up table is able to be effectively compressed. 
         [0104]    With given (rx, Lx), the only (U 1 x, U 2 x) is calculated and obtained by the formula (7). Theoretically, there are and only one solution, but the solution is restricted by conditions such as physical models and T 1 &lt;T 2 . 
         [0105]    U(T) is a monotone decreasing function. If T 1 &lt;T 2 , then U 1 &gt;U 2 . Supposing that U 1 &lt;U 2 , the solution of the function should at least comprise a negative number for changing monotone, which is physically unreasonable. 
         [0106]    After the formula (5) is converted to an inverse function of U about L: 
         [0000]    
       
         
           
             
               
                 
                   
                     1 
                     L 
                   
                   = 
                   
                     - 
                     
                       
                         log 
                          
                         
                           [ 
                           
                             
                               
                                 U 
                                 
                                   4096 
                                    
                                   R 
                                 
                               
                                
                               
                                 ( 
                                 
                                   R 
                                   + 
                                   r 
                                 
                                 ) 
                               
                             
                             - 
                             
                               r 
                               R 
                             
                           
                           ] 
                         
                       
                       
                         
                           ( 
                           
                             R 
                             + 
                             r 
                           
                           ) 
                         
                         × 
                         T 
                       
                     
                   
                 
               
               
                 
                   ( 
                   8 
                   ) 
                 
               
             
           
         
       
     
         [0107]    Therefore, L may be a complex number, unless: 
         [0000]    
       
         
           
             
               
                 
                   
                     [ 
                     
                       
                         
                           U 
                           
                             4096 
                              
                             R 
                           
                         
                          
                         
                           ( 
                           
                             R 
                             + 
                             r 
                           
                           ) 
                         
                       
                       - 
                       
                         r 
                         R 
                       
                     
                     ] 
                   
                   &gt; 
                   0 
                 
               
               
                 
                   ( 
                   9 
                   ) 
                 
               
             
           
         
       
     
         [0108]    which means: 
         [0000]    
       
         
           
             
               
                 
                   U 
                   &gt; 
                   
                     
                       4096 
                        
                       r 
                     
                     
                       R 
                       + 
                       r 
                     
                   
                 
               
               
                 
                   ( 
                   10 
                   ) 
                 
               
             
           
         
       
     
         [0109]    If (U 1 x, U 2 x) is improperly given, (rx, Lx) obtained may comprise a negative or even complex number. In fact, physically sampled (U 1 , U 2 ) is certainly reasonable. A restriction relationship exists between U 1  and U 2 , in such a manner that (r, L) belongs to a positive real domain. That is to say, a crossover point of the two curves in the  FIG. 10  is at a first quadrant of a positive real domain coordinate. (U 1 , U 2 ) out of the restriction will not be obtained in the practical sampling, and do not need to be recorded. 
         [0110]    With the sample values (U 1 , T 1 ) and (U 2 , T 2 ), it is obtained that: 
         [0000]    
       
         
           
             
               
                 
                   { 
                   
                     
                       
                         
                           L 
                           = 
                           
                             - 
                             
                               
                                 
                                   ( 
                                   
                                     R 
                                     + 
                                     r 
                                   
                                   ) 
                                 
                                 × 
                                 
                                   T 
                                   1 
                                 
                               
                               
                                 log 
                                  
                                 
                                   [ 
                                   
                                     
                                       
                                         
                                           U 
                                           1 
                                         
                                         
                                           4096 
                                            
                                           R 
                                         
                                       
                                        
                                       
                                         ( 
                                         
                                           R 
                                           + 
                                           r 
                                         
                                         ) 
                                       
                                     
                                     - 
                                     
                                       r 
                                       R 
                                     
                                   
                                   ] 
                                 
                               
                             
                           
                         
                       
                     
                     
                       
                         
                           L 
                           = 
                           
                             - 
                             
                               
                                 
                                   ( 
                                   
                                     R 
                                     + 
                                     r 
                                   
                                   ) 
                                 
                                 × 
                                 
                                   T 
                                   2 
                                 
                               
                               
                                 log 
                                  
                                 
                                   [ 
                                   
                                     
                                       
                                         
                                           U 
                                           2 
                                         
                                         
                                           4096 
                                            
                                           R 
                                         
                                       
                                        
                                       
                                         ( 
                                         
                                           R 
                                           + 
                                           r 
                                         
                                         ) 
                                       
                                     
                                     - 
                                     
                                       r 
                                       R 
                                     
                                   
                                   ] 
                                 
                               
                             
                           
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   11 
                   ) 
                 
               
             
           
         
       
     
         [0111]    then obtaining 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       [ 
                       
                         
                           
                             
                               U 
                               1 
                             
                             
                               4096 
                                
                               R 
                             
                           
                            
                           
                             ( 
                             
                               R 
                               + 
                               r 
                             
                             ) 
                           
                         
                         - 
                         
                           r 
                           R 
                         
                       
                       ] 
                     
                     
                       ( 
                       
                         
                           T 
                           2 
                         
                         
                           T 
                           1 
                         
                       
                       ) 
                     
                   
                   = 
                   
                     [ 
                     
                       
                         
                           
                             U 
                             2 
                           
                           
                             4096 
                              
                             R 
                           
                         
                          
                         
                           ( 
                           
                             R 
                             + 
                             r 
                           
                           ) 
                         
                       
                       - 
                       
                         r 
                         R 
                       
                     
                     ] 
                   
                 
               
               
                 
                   ( 
                   12 
                   ) 
                 
               
             
           
         
       
     
         [0112]    If a set of (U 1 , U 2 ) satisfies both the formulas (10) and (12), the function has a positive real number solution. 
         [0113]    According to the formula (12), the given U 1  and r should satisfy a condition of: 
         [0000]    
       
         
           
             
               
                 
                   r 
                   ≥ 
                   
                     
                       
                         U 
                         1 
                       
                        
                       R 
                     
                     
                       
                         U 
                         1 
                       
                       - 
                       4096 
                     
                   
                 
               
               
                 
                   ( 
                   13 
                   ) 
                 
               
             
           
         
       
     
         [0114]    wherein r min  is able to be determined. 
         [0115]    After determining the U 1 , a restriction relationship of U 2 (r) is obtained, as illustrated in the  FIG. 11 . 
         [0116]    U 2 (r) is a monotone function, a range thereof is determined by the definition domain of the r. U 2  within the range and the given U 1  both enable a positive real number solution of the function, which is illustrated in the  FIG. 12 . 
         [0117]    Referring to the  FIG. 13 , essence of look-up calculation is mapping the U 1 -U 2  coordinate to the r-L coordinate. 
         [0118]    Process A is a physical sampling process. Every point in the r-L coordinate is able to be mapped to the U 1 -U 2  coordinate. 
         [0119]    Process B is a look-up calculation process. Some points in the U 1 -U 2  coordinate are able to be mapped back to the r-L coordinate. Some points in the U 1 -U 2  coordinate will fall in other quadrants (negative number) or a 4-dimensional complex space when being mapped to the r-L coordinate. 
         [0120]    The r is [10, 15] Ω, the L is [4.5, 5.5] mH; mapping relationship thereof is illustrated in the  FIG. 14 . 
         [0121]    A range of U 1  is determined by the formula (13). With each given U 1 , a range of U 2  corresponding to the r within a physical changing range is able to be obtained by the restriction relationship of the formula (12). The range of U 2  is obtained in sequence, and a shadow area in the U 1 -U 2  coordinate in the  FIG. 14  is determined for obtaining the  FIG. 15 . 
         [0122]    A quantity of units of the look-up table is decreased from 4096*4096 to 9360, which means the look-up table is compressed by 1792 times. 
         [0123]    Beneficial effects: 
         [0124]    According to the definition domain of (U 1 , U 2 ) in the  FIG. 15 , the corresponding L is obtained in sequence by the formula (4), and the look-up table is built. Regarding L as a Z axis, an image of the function L(U 1 , U 2 ) within the definition domain is obtained, as shown in the  FIG. 16 . 
         [0125]    After ergodic, a max quantization error of L during looking up is 6.30153 uH, at U 1 =2754 and U 2 =1644. 
         [0126]    It is illustrated that with a 12-bit ADC, measurement accuracy is up to 1%. L is [4.5, 5.5] mH, wherein at least 33 levels of effective resolutions are able to be obtained. 
         [0127]    According to the theory of the present invention, driving and detection systems for non-contact IPSs are developed. According to tests, a total measurement error of the system is lower than 1% at a temperature between −55° C. and 125° C.; all detection and calculation are directly processed by a logic device, wherein hardware such as CPU and DSP is not utilized. And the detection and calculation are realized by looking up a 10K look-up table. At the same time, the system has been in accordance with standards of MIL-STD-461F for providing CS114, RE102, and RS103 tests. Results thereof satisfy MIL-STD-461F requirements. 
         [0128]    One skilled in the art will understand that the embodiment of the present invention as shown in the drawings and described above is exemplary only and not intended to be limiting. 
         [0129]    It will thus be seen that the objects of the present invention have been fully and effectively accomplished. Its embodiments have been shown and described for the purposes of illustrating the functional and structural principles of the present invention and is subject to change without departure from such principles. Therefore, this invention includes all modifications encompassed within the spirit and scope of the following claims.