Abstract:
The invention is characterized in that it comprises a plurality of impedances (R 2 , C 3 , R 4 , R 5 ) and at least one operational amplifier ( 51, 52 ), and means ( 53 ) for connecting a resistive sensor (Rs) to the electronic circuit ( 50 ) such that, once the resistive sensor has been connected to the electronic circuit, a resulting electronic circuit is obtained that consists of the electronic circuit and the resistive sensor connected thereto, the input impedance (Zinp) of which corresponds to that of a variable capacitance as a function of the resistive sensor (Rs). A capacitative input impedance that can very as a function of a sensor is obtained.

Description:
[0001]    The present invention refers to an electronic circuit for obtaining a variable capacitive impedance, by using a resistive sensor. More precisely, it refers to an electronic circuit based on the Generalized Impedance Converter (GIC) circuit, which can be configured in such a way that its entry impedance corresponds to a capacity, being said capacity variable based on the value of the electric resistance of a resistive sensor, and being said resistive sensor one of the impedances of the converter circuit, in such a way that the synthesized capacity with the converter circuit (GIC) varies based on the value of the electric resistance of said resistive sensor. 
         [0002]    The invention is suitable to be used in the field of measurements and instrumentation, mainly in the cases where a variable capacity dependent to the measured parameter by a resistive sensor is needed. Said cases may be, for example, industrial control systems, medical or automobile industry instrumentation, and more precisely low consumption and low tension powered systems, which may be powered by battery. 
       BACKGROUND ART 
       [0003]    A Generalized Impedance Converter (GIC) circuit is an electronic circuit which comes from one of the gyrator circuits proposed by Antoniou in 1969, as described, for example, in [A. Antoniou, “ Realization of gyrators using operational amplifiers and their use in RC - active network synthesis”, Proc. IEE , vol. 116, pp. 1838-1850]. 
         [0004]    The objective of a gyrator circuit is to reverse, at the entry port of a two port network, the type of impedance connected to the exit port, whereas a GIC circuit allows to configure the impedance in a port (they are mono-port networks), from five impedances. 
         [0005]      FIG. 1  shows one of said gyrator circuits of Antoniou, where, if an impedance Z 4  is connected between the exit port  2 - 2 ′, considering that the operational amplifiers are ideal, the entry impedance Z inp  of the converter circuit, seen from the entry port  1 - 1 ′ is: 
         [0000]    
       
         
           
             
               Z 
               inp 
             
             = 
             
               
                 
                   Z 
                   1 
                 
                 · 
                 
                   Z 
                   3 
                 
                 · 
                 
                   Z 
                   5 
                 
               
               
                 
                   Z 
                   2 
                 
                 · 
                 
                   Z 
                   4 
                 
               
             
           
         
       
     
         [0006]    In  FIG. 2  the resulting converter circuit (GIC) is shown which in its original form (an impedance Z 4  is added to the Antoniou gyrator). Said structure has been widely used for synthesizing inductances using only resistors, condensers and operational amplifiers, mainly in the design of active filters with usage in audio, as described, for example, in [T. Deliyannis, Y. Sun, J. K. Fidler,  Continuous - time active filter design , CRC Press, Boca Raton, Fla., 1999, Chap. 3], in [S. Franco,  Design with operational amplifiers and analog integrated circuits , McGraw-Hill, 3rd ed., New York, 2001, Chap. 4], or in [R. Schaumann, M. E. van Valkenburg,  Design of analog filters , Oxford University Press, New York, 2001, Chap. 14]. Basically, the performance of the entry impedance Z inp  depends on which type of impedance (resistive or capacitive) is assigned to each impedances Z 1  to Z 5 , applying an alternate voltage V in  which generates a current I in . 
         [0007]    The previously described is the “classic” approach of a GIC circuit. More recently, an application of a GIC circuit has been proposed, within the field of instrumentation, in which the circuit is used, with its classic approach, as a capacitive impedance, as described, for example, in [D. M. G. Preethichandra, K. Shida, “ A simple interface circuit to measure very small capacitance changes in capacitive sensors”. Proc. of the  17 th IEEE Instrumentation and Measurement Technology Conference , Baltimore 2000, vol. 1, pp. 406-409]. It is important to note that both its classic approach in the filter design and in the field of instrumentation, the existing voltages and currents in the GIC circuit are variable in time. 
         [0008]    More recently, a new performance of the GIC circuit has been proposed, which consists of polarizing it, not with variable signals in time (AC), but, on the contrary, with continuous signals (DC). The main objective of this change is the use of the GIC in the field of instrumentation and measurements, but not as a capacitive impedance, but as a polarizing circuit for sensors, being one of the impedances of the GIC circuit, a resistive sensor. 
         [0009]    From this new application point of view, it is possible to distinguish two different configurations: a first configuration where the GIC circuit is powered by a reference voltage V ref , and a second configuration where the GIC circuit is powered by a reference current I ref . 
         [0010]    As shown in  FIG. 3 , referring to the first configuration, a continuous voltage V ref  is connected to the entry of the GIC, and the five impedances are five resistors R 1  to R 5 , being one of them (R 4 ) a resistive sensor. From said new configuration it is achieved that the current going through the resistor R 4  to be constant, since, when the voltage values V ref  and resistor R 5  are fixed, the current (supposing that the operational amplifiers) which circulates through R 4  is the same that the one passing through R 5  and is obtained using the following formula: 
         [0000]    
       
         
           
             
               I 
               
                 R 
                  
                 
                     
                 
                  
                 4 
               
             
             = 
             
               
                 I 
                 o 
               
               = 
               
                 
                   V 
                   ref 
                 
                 
                   R 
                    
                   
                       
                   
                    
                   5 
                 
               
             
           
         
       
     
         [0011]    This way, a simple way of polarizing sensors with constant current is obtained, since it is enough that resistor R 4  is the sensor to be polarized. Said technique has derived in different publications, such as [D. Ramírez-Muñoz, S. Casans-Berga, C. Reig, “ Current loop generated from a generalized impedance converter: a new sensor signal conditioning circuit”. Review of Scientific Instruments,  76, 1, (2005), 066103], [D. Ramírez-Muñoz, S. Casans-Berga, C. Reig, P. J. P. Freitas, “ Generalized impedance converter as a new sensor signal conditioning circuit”, Proc of the  22 nd IEEE Instrumentation and Measurement Technology Conference , May 17-19, 2005, Ottawa, 587-591], [D. Ramírez, S. Casans, C. Reig, A. E. Navarro, J. Sánchez., “ Build a precise DC floating - current source”. EDN , August 2005, pp. 83-84], or [M. Villalobos Pedrero, D. Ramírez Muñoz, S. Casans Berga, J. Sánchez Moreno, C. Reig Escrivá, A. E. Navarro Antón. “ Red de sensores inteligentes configurable basada en micropocesador con enlace RF accesible via Internet”, Mundo Electrónico , n o 371]. 
         [0012]    Referring to the second configuration, the circuit shown in  FIG. 4  was considered when thinking about the possibility of polarizing with a constant current a non-floating resistive sensor (like the sensor found in R 4 , in the previous configuration). Basically, in said second configuration, reference voltage V ref  in the entry is substituted by a reference current I ref , changing the location of the resistive sensor of resistor R 4  to resistor R 5 , in such a way that the resistive sensor used is directly one of the terminals connected to earth. This way, the current passing through the sensor on the resistor R 5  is: 
         [0000]    
       
         
           
             
               I 
               
                 R 
                  
                 
                     
                 
                  
                 5 
               
             
             = 
             
               
                 V 
                 
                   R 
                   5 
                 
               
               = 
               
                 
                   
                     
                       
                         R 
                         1 
                       
                       · 
                       
                         R 
                         3 
                       
                     
                     
                       
                         R 
                         2 
                       
                        
                       
                         · 
                         
                           R 
                           4 
                         
                       
                     
                   
                   · 
                   
                     I 
                     ref 
                   
                 
                 = 
                 
                   n 
                   · 
                   
                     I 
                     ref 
                   
                 
               
             
           
         
       
     
         [0013]    Said expression establishes that, when giving values to resistors R 1 , R 2 , R 3 , and R 4 , it is possible to control the current passing through resistor R 5 , independently of its value. Therefore, with the described configuration, it is possible to obtain both a circuit for polarizing a sensor connected to earth with constant current, and a current-current converter. Said new converter derived from the GIC circuit has been described in different publications such as [A. Blat González, D. Ramirez Muñoz, J. Sánchez Moreno, S. Casans Berga, A. E. Navarro Antón, F. Maturell Nápoles. “ Sistema de medida de temperatura y presión con sensores alimentados a corriente constante mediante convertidor generalizado de impedancias”. Mundo Electrónico , n o 372], [D. Ramírez Muñoz, J. Sánchez, S. Casans, C. Reig, A. E. Navarro, “ Series Sensor Current Loop from a Generalized Impedance Converter Circuit with Reference Current Input” Proc of the  23 rd IEEE Instrumentation and Measurement Technology Conference , pp. 2265-2270, Sorrento (Italy, 24-27 Apr. 2006)], [D. Ramírez Muñoz, J. Sánchez, S. Casans, C. Reig, A. E. Navarro “ Current - to - current converter from a DC polarized generalized impedance converter circuit with input reference current”. Review of Scientific Instruments,  77, 056101 (May, 2006)], o [D. Ramírez Muñoz, J. Sánchez Moreno, S. Casans Berga, E. Castro Montero, C. Reig, A. E. Navarro Antón, “ Temperature compensation of Wheatstone bridge magnetoresistive sensors based on generalized impedance converter with input reference current”. Review of Scientific Instruments.  77, 105102 (October 2006), vol 17, no. 10]. 
         [0014]    On the other hand, the PCT application WO 9602975 A1, entitled “Filtro loop con tiempo de respuesta variable”, with applicant Matsushita Communication Industrial Corporation of America, describes another way of using the GIC circuit for configuring a capacitance. More precisely, the invention refers to a way for configuring an RC low-pass filter with a GIC circuit (configured as a condenser), for obtaining a filter with a programmable or voltage-controlled cut-frequency. For doing so, the GIC circuit comprises a FET transistor with a variable resistor voltage-controlled, in such a way that a proportional relation is achieved between the cut frequency and the value of the resistor of the FET transistor. 
       SUMMARY OF THE INVENTION 
       [0015]    Therefore, it is an objective of the present invention to provide an electronic circuit for obtaining a variable capacitive entry impedance depending on a sensor. 
         [0016]    This is achieved through claim  1  providing an electronic circuit for obtaining a variable capacitive impedance, with a resistive sensor, which comprises a plurality of impedances and at least an operational amplifier, and means for connecting the resistive sensor to the electronic circuit, which obtains a resulting electronic circuit, which comprises the electronic circuit and the resistive sensor connected to it, whose entry impedance corresponds to the impedance of a variable condenser which depends on the resistive sensor. 
         [0017]    This way, a circuit is obtained which varies its entry capacity depending on the parameter measured by the resistive sensor (the circuit is “seen” through one of its entry ports as a capacitor), and therefore the value of the resistive sensor is not controlled by a voltage of the circuit but by the parameter which is to be measured. Said parameter may be a physical, chemical one, etc., but it is desired that it provokes changing in the resistance. 
         [0018]    Also, the electronic circuit may be configured depending on the value and type of impedances. When the resistive sensor is connected to the electronic circuit, an electronic circuit is obtained, which may be a GIC circuit, which, with a suitable configuration, allows obtaining in its entry a variable capacity depending on the resistive sensor. It doesn&#39;t seem that a configuration with three condensers for a GIC circuit is recommended, since problems are generated with the polarization currents of the operational amplifiers, provoking an incorrect performance of the GIC. 
         [0019]    In any case, at least one impedance of the plurality of impedances has to be a capacitive one, since it is necessary to have at least one capacity in the circuit to give a total entry capacitive character to the circuit. Also, at least one impedance from the plurality of impedances has to be a resistor, in such a way that if only one of the impedances is capacitive, and the rest of impedances have to be resistive. 
         [0020]    According to a preferred embodiment of the invention, the variable entry capacity of the resulting circuit is inversely proportional to the resistive sensor. 
         [0021]    According to a preferred embodiment of the invention, the electronic circuit comprises two operational amplifiers and four impedances. This way, when the resistive sensor is connected to the electronic circuit, a GIC is obtained, as previously described. 
         [0022]    From the described electronic circuit, it is possible to obtain a device for obtaining an electrical signal with a variable oscillation frequency, from a resistive sensor, which comprises an oscillator circuit and the electronic circuit for obtaining a variable capacitive impedance, from a resistive sensor, previously described, being connected said oscillator circuit and said electronic circuit in such a way that, once connected the resistive sensor to the electronic circuit, the oscillation capacity of the oscillator circuit depends on the resulting variable capacitive entry impedance, obtaining in the exit of the oscillator circuit an electrical signal whose oscillation frequency is variable depending on the resistive sensor. 
         [0023]    This way, the obtained result is because of the analog processing of the information by means of an oscillator which comprises a GIC, which comprises a resistive sensor itself. 
         [0024]    According to a preferred embodiment of the device, the oscillation frequency of the electrical signal is directly proportional to the resistive sensor. This feature is particularly suitable in “direct interfaces with the digital intelligence”. All of the systems which perform a half digital processing of measurements may be based in a microprocessor, a digital processor of the signal, a programmable automaton, or a personal computer. The most simple way of incorporating the information which is being measured to all of them, in this case, from the resistive sensors, is the conversion of the information to a variable frequency signal. This is because the described digital processors have a port referred as timer, which is directly connectible to the variable frequency signal and measuring (count) its value. 
         [0025]    Therefore, with said device it is achieved a direct conversion of the electrical resistance value of the resistive sensor to frequency, by means of the use of a GIC as the oscillation capacitance of an oscillator circuit. This way, from the described device, it is possible to obtain a signal whose frequency is directly proportional to the value of electrical resistance of the resistive sensor. 
         [0026]    According to another embodiment of the invention, the resulting electronic circuit is connected to earth through one of its entry ports. This way, the use of the electronic circuit as an oscillation capacitance of an oscillator circuit is suitable for the oscillator circuits where the oscillation capacitance is connected to earth (for example, LM331 or LM566C type oscillators). In oscillators (for example, XR-2206) where the capacitance associated to the oscillation is floating, the electronic circuit (more precisely, when it is a GIC circuit, that is, when the resistive sensor is connected to the electronic circuit) it has an erratic performance. 
         [0027]    On the other hand, the oscillator circuit may be a square signal generating circuit, and the oscillator circuit may comprise an integrated circuit of the 555 type, which is one of the most used timer circuits in the field of electronics. One of its most widely uses is as a square signal generating circuit. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0028]    For a major clarity of the above described, drawings are attached wherein, in a schematic form, and only as a non-limitative example, a preferred embodiment is depicted. 
           [0029]    In the drawings: 
           [0030]      FIG. 1  shows a diagram in the form of an electronic circuit of a gyrator circuit proposed by Antoniou, according to the state of the art; 
           [0031]      FIG. 2  shows a diagram in the form of an electronic circuit of the general structure of a GIC, according to the state of the art; 
           [0032]      FIG. 3  shows a diagram in the form of an electronic circuit of a GIC electronic circuit powered by a reference voltage V ref , according to the state of the art; 
           [0033]      FIG. 4  shows a diagram in the form of an electronic circuit of a GIC electronic circuit powered by a reference current I ref , according to the state of the art; 
           [0034]      FIG. 5  shows a diagram in the form of an electronic circuit of a GIC electronic circuit configured as a variable capacitance which depends on a resistive sensor, according to the present invention; 
           [0035]      FIG. 6   a  shows a diagram in the form of an electronic circuit of a 555 timer circuit, configured as a square signal generator; 
           [0036]      FIG. 6   b  shows a diagram of the wave-forms associated with the timer circuit of  FIG. 6   a ; and 
           [0037]      FIG. 7  shows a diagram in the form of an electronic circuit of a direct converting device of resistive sensor to frequency, which comprises the timer circuit of  FIG. 6   a  and the GIC of  FIG. 5 . 
       
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
       [0038]    In the following a description of a preferred embodiment of the invention will be done, where the electronic circuit for obtaining a variable capacity entry impedance, depending on a resistive sensor, comprises four impedances, one of them being a condenser and the rest being resistors, and two operational amplifiers, said elements being connected in such a way that, when a resistive sensor is connected to the electronic circuit, a Generalized Impedance Converter is obtained, with a variable capacitive entry impedance depending on the resistive sensor. From the obtained GIC circuit, it is possible, as it will be described, to perform a direct conversion from resistive sensor to frequency, that is, it is possible to obtain a signal whose frequency is directly proportional to the value of the electrical resistance of the resistive sensor. 
         [0039]    Therefore, giving adequate values to the previously described five impedances (including the resistive sensor when it is connected to the electronic circuit), it is possible to configure the GIC circuit in such a way that its entry impedance corresponds to the impedance of a condenser. Also, if one of said five impedances is a variable resistive sensor, as previously described, the synthesized capacity with the GIC is also variable. In summary, depending on the configuration of the five impedances which comprise the converting circuit (when the resistive sensor is connected to the electronic circuit), the GIC circuit may be seen as a variable capacitive sensor which depends on the parameter measured by the resistive sensor. 
         [0040]    The parameter measured by the resistive sensor may be physic, chemical, etc., in such a way that the resistive sensor may be presented as, for example, a temperature sensor, luminosity sensor or gas concentration sensor. 
         [0041]    As seen in  FIG. 5 , for configuring the GIC circuit as a variable capacity, the electronic circuit  50  according to the invention, comprises a first resistor R 2 , a second resistor R 4 , a third resistor R 5 , a condenser C 3  (therefore, the impedances Z 1 , Z 2 , Z 4  and Z 5  are resistive, and impedance Z 3  is capacitive), a first operational amplifier  51 , a second operational amplifier  52  and a connector  53  for connecting a resistive sensor Rs to the electronic circuit. It is important to note that the resistive sensor Rs, when connected to the electronic circuit  50 , corresponds to the fourth resistor R 1  of a GIC circuit in its original structure. 
         [0042]    In a description of the design of the circuit, the entry of the GIC circuit is found connected to the non-inverter entry of the second operational amplifier  52  and the upper terminal of the fourth resistor R 1  (more precisely, the resistive sensor Rs). The other terminal of said fourth resistor R 1  is connected to the exit terminal of the first operational amplifier  51  and the upper terminal of the first resistor R 2 . The lower terminal of the first resistor R 2  is connected to the inverter entries of the first operational amplifier  51  and the second operational amplifier  52 , and to the upper terminal of the condenser C 3 . The lower terminal of said condenser C 3  is connected to the upper terminal of the second resistor R 4  and to the exit terminal of the second operational amplifier  52 . On the other hand, the lower terminal of the second resistor R 4  is connected to the upper terminal of the third resistor R 5  and to the non-inverter entry of the first operational amplifier  51 . Finally, the lower terminal of the third resistor R 5  is connected to the reference terminal of the circuit. 
         [0043]    According to another embodiment of the invention, the resistive sensor Rs may correspond to the third impedance Z 5  of a GIC circuit in its original structure, also obtaining with said configuration a direct relation resistive sensor-frequency, as it will be described in the following, although not with all the resistive sensors. 
         [0044]    It has been proved experimentally that the location of the resistive sensor Rs both in the fourth impedance Z 1  and the third impedance Z 5  of the GIC circuit results in a correct performance of the circuit. More precisely, it has been experimented that locating, in the fourth impedance Z 1 , a platinum thermo-resistor Pt 100 , a gas sensor and a resistor which depends on the luminous radiation (LDR), and in the third impedance Z 5 , a thermo-resistor Pt 1000  has been placed, being in both cases the second impedance Z 3  a capacity. Basically, disposing all the sensors in the third impedance Z 5  was a problem when the values of the sensor are too low (like in the case of the thermo-resistor Pt 100 ), since it exists the risk of saturating the second operational amplifier  52  of the GIC circuit. Nevertheless, with higher resistive values (for example the ones of the thermo-resistor Pt 1000 ) no problems where found when placing the resistive sensor in the third impedance Z 5 . 
         [0045]    Therefore, whatever the configuration of the impedances of the GIC circuit, it is essential that, for the correct performance of the GIC circuit, the no-saturation is assured in the second operational amplifier  52 . Also, it doesn&#39;t seem adequate the GIC circuit to have three capacities among its impedances, since the polarization currents of the operational amplifiers may provoke an erratic performance of the GIC itself. 
         [0046]    If an analysis of the converter circuit in  FIG. 5  is performed, an entry impedance is obtained of said circuit, seen from one of the entry ports, which may be represented by the following: 
         [0000]    
       
         
           
             
               Z 
               inp 
             
             = 
             
               
                 
                   
                     Rs 
                     · 
                     
                       1 
                       
                         
                           j 
                           · 
                           w 
                           · 
                           C 
                         
                          
                         
                             
                         
                          
                         3 
                       
                     
                     · 
                     R 
                   
                    
                   
                       
                   
                    
                   5 
                 
                 
                   R 
                    
                   
                       
                   
                    
                   
                     2 
                     · 
                     R 
                   
                    
                   
                       
                   
                    
                   4 
                 
               
               = 
               
                 1 
                 
                   j 
                   · 
                   w 
                   · 
                   
                     C 
                     inp 
                   
                 
               
             
           
         
       
       
         
           Wherein 
         
       
       
         
           
             
               C 
               inp 
             
             ≡ 
             
               
                 R 
                  
                 
                     
                 
                  
                 
                   2 
                   · 
                   R 
                 
                  
                 
                     
                 
                  
                 
                   4 
                   · 
                   C 
                 
                  
                 
                     
                 
                  
                 3 
               
               
                 
                   Rs 
                   · 
                   R 
                 
                  
                 
                     
                 
                  
                 5 
               
             
           
         
       
     
         [0047]    As derived from the previous equation, the entry impedance of the electronic circuit  50  is a variable capacity, which inversely depends of the resistive sensor Rs, that is, the capacity is inversely proportional to the value of the electrical resistance of the resistive sensor Rs. This way, a variable capacity is obtained from a GIC circuit, the GIC being considered like a variable capacitive sensor which depends on the parameter which measures the resistive sensor. 
         [0048]    On the other hand, the resistive sensor Rs has a functional dependence with the physical or chemical parameter to be measured (for example, temperature, pressure, luminosity, or gas concentration), which may be linear or not, depending on the type of sensor. Therefore, in general: 
         [0000]        Rs=R   0   .f ( x ) 
         [0049]    In the following a description of a device for obtaining an electrical signal with a variable oscillation frequency will be done, the frequency variable depending on a resistive sensor, which comprises an electronic circuit according to the invention. Said device is shown in  FIG. 7 . 
         [0050]    Basically, the device comprises an oscillator circuit (like a 555 circuit) and the electronic circuit  50  according to the present invention, being connected said oscillator circuit  60  and said electronic circuit  50  (the GIC circuit is connected directly to the terminals  2  and  6  of the 555 oscillator circuit), in such a way that, once connected the resistive sensor Rs to the electronic circuit  50 , the oscillation capacity of the oscillator circuit  60  depends on the variable entry capacitive impedance of the GIC, obtaining at the exit of the circuit an electrical signal whose oscillation frequency depending on the electrical resistance value of the resistive sensor Rs. More precisely, the device allows performing a direct conversion from resistive sensor to frequency, in such a way that an electrical signal is obtained whose oscillation frequency is directly proportional to the value of electrical resistance of the resistive sensor. 
         [0051]    A possible oscillator circuit is the integrated circuit  555   60  (one of the most popular oscillator circuit in the field of electronics), being one of its most common usages the one referred to a square signal generator. In  FIG. 6(   a ) an electronic configuration is shown, of the integrated circuit  555  in the previously described usage, where two timer resistors Ra and Rb and an oscillation capacity C 1  are enough for generating a square signal  61 , whose oscillation frequency comes from the following: 
         [0000]    
       
         
           
             f 
             = 
             
               
                 1 
                 , 
                 44 
               
               
                 
                   
                     ( 
                     
                       
                         R 
                         A 
                       
                       + 
                       
                         2 
                         · 
                         
                           R 
                           B 
                         
                       
                     
                     ) 
                   
                   · 
                   C 
                 
                  
                 
                     
                 
                  
                 1 
               
             
           
         
       
     
         [0052]    If an analysis of the previous formula is performed, it is deduced that frequency “f” of the square signal  61  which provides the oscillator circuit  60  (see  FIG. 6 . (b), where waveforms  61  and  62  are represented, associated with the oscillator circuit when functioning as a square signal generator) is inversely proportional to the oscillation capacity C 1  and the timer resistors Ra and Rb. 
         [0053]    If the oscillation capacity C 1  needed by the oscillator circuit  60  for generating a square signal  61 , is substituted by the GIC circuit of  FIG. 5 , the oscillation capacity C 1  of the oscillator circuit is dependent on the variable capacitive entry impedance Z inp  of said converter circuit. With that, if the equation corresponding to the entry capacity of the converter circuit is substituted, in the equation corresponding to the oscillation frequency of the electric square signal: 
         [0000]    
       
         
           
             
               C 
               inp 
             
             ≡ 
             
               
                 R 
                  
                 
                     
                 
                  
                 
                   2 
                   · 
                   R 
                 
                  
                 
                     
                 
                  
                 
                   4 
                   · 
                   C 
                 
                  
                 
                     
                 
                  
                 3 
               
               
                 
                   Rs 
                   · 
                   R 
                 
                  
                 
                     
                 
                  
                 5 
               
             
           
         
       
       
         
           
             f 
             = 
             
               
                 1 
                 , 
                 44 
               
               
                 
                   
                     ( 
                     
                       
                         R 
                         A 
                       
                       + 
                       
                         2 
                         · 
                         
                           R 
                           B 
                         
                       
                     
                     ) 
                   
                   · 
                   C 
                 
                  
                 
                     
                 
                  
                 1 
               
             
           
         
       
     
         [0000]    an oscillation frequency is obtained which corresponds to: 
         [0000]    
       
         
           
             f 
             = 
             
               
                 
                   1 
                   , 
                   44 
                 
                 
                   ( 
                   
                     
                       R 
                       A 
                     
                     + 
                     
                       2 
                       · 
                       
                         R 
                         B 
                       
                     
                   
                   ) 
                 
               
               · 
               
                 
                   
                     Rs 
                     · 
                     R 
                   
                    
                   
                       
                   
                    
                   5 
                 
                 
                   R 
                    
                   
                       
                   
                    
                   
                     2 
                     · 
                     R 
                   
                    
                   
                       
                   
                    
                   
                     4 
                     · 
                     C 
                   
                    
                   
                       
                   
                    
                   3 
                 
               
             
           
         
       
     
         [0054]    Therefore, analyzing the previous equation, a direct conversion is achieved between resistive sensor and frequency, obtaining, as a result, a square signal whose frequency is directly proportional to the used resistive sensor Rs. The dependency (linear or not) which preserves the resistive sensor with the measured variable, is inherited by the oscillation frequency: 
         [0000]        f=K.R   0   .f ( x ) 
         [0000]    being K: 
         [0000]    
       
         
           
             K 
             ≡ 
             
               
                 
                   1 
                   , 
                   44 
                 
                 
                   ( 
                   
                     
                       R 
                       A 
                     
                     + 
                     
                       2 
                       · 
                       
                         R 
                         B 
                       
                     
                   
                   ) 
                 
               
               · 
               
                 
                   R 
                    
                   
                       
                   
                    
                   5 
                 
                 
                   R 
                    
                   
                       
                   
                    
                   
                     2 
                     · 
                     R 
                   
                    
                   
                       
                   
                    
                   
                     4 
                     · 
                     C 
                   
                    
                   
                       
                   
                    
                   3 
                 
               
             
           
         
       
     
         [0055]    In  FIG. 7  the final configuration of the device is shown, obtained from the oscillator circuit  60  and the GIC circuit which acts as an oscillation capacity of said oscillator circuit. Basically, it is a direct converter from resistive sensor to frequency. In said configuration (also shown in  FIGS. 2 and 5 ) it is important to note that the GIC circuit is connected to earth through one of its ports, and therefore only oscillator circuits whose oscillation capacity is connected to earth may be used (for example, oscillator circuits of the LM331 or LM566C type). In the case where the oscillators have a floating capacity (for example, XR-2206 type oscillators), the GIC circuit may not function correctly. 
         [0056]    As a possible use of the above described, if the frequency of the electrical signal generated by the device is introduced in a processing circuit, it is possible to perform a direct conversion from resistive sensor Rs to digital codification of the frequency and, therefore, the magnitude which is to be measured. 
         [0057]    As previously mentioned, the resistive sensor may be, for example, a temperature, luminosity or gas concentration sensor. With this type of sensors, very satisfying results have been obtained with frequency and resistance of the sensor. This way, tests have been performed with resistance temperature detectors (Pt 100 ) and a decade box of resistors; the performance of resistors sensitive to luminous radiation (LDR) and resistive gas sensors has been simulated. With resistive humidity sensors, the obtained results haven&#39;t been as positive because of its variation range being wide (from 10-20 ohms with 90% of humidity, until 10-20 Mohms with 10% of relative humidity), which makes the GIC circuit to function incorrectly. 
         [0058]    Although concrete preferred embodiments of the present invention have been described and represented, it is obvious that a skilled person in the art may introduce variants and modifications, or substitute the details for other equivalent ones, without getting outside the scope of protection defined by the accompanying claims. 
         [0059]    In another configuration, it may be possible to use another gyrator circuit different from the GIC circuit for obtaining the lineal conversion resistance-frequency. 
         [0060]    On the other hand, in this preferred embodiment, a 555 integrated circuit has been described as a square signal generator, but it is possible to use any generating circuit of any wave-form.