A METHOD AND CIRCUIT FOR BALANCING AN ERROR SIGNAL

Abstract: A circuit for balancing an error signal delivered by an apparatus (1). When the apparatus is switched-on initially, the error signal may be large and thereafter change only slowly with time. The error signal may be a signal which is delivered by a measuring sensor and which is independent of the magnitude to be measured. The circuit includes a negative feedback loop (7, 11) which, immediately upon activating or starting the apparatus (1), feeds back a balancing signal which rapidly compensates the error signal. The circuit also includes means for changing the feedback loop (7, 11) when the error signal has been substantially compensated, so that only slow changes in the error signal with a frequency below an upper limit frequency, chosen in dependence on the application concerned, are fed back.

Description: A METHOD AND CIRCUIT FOR BALANCING AM ERROR SIGNAL The present invention relates to a method of balancing an apparatus-produced error signal, which may be large when the apparatus is initially switched on, or acti¬ vated, but which thereafter changes only slowly with time, particularly an error signal delivered by a mea¬ suring sensor or like measuring detector which is independent of the quantity being measured. The inven- tion also relates to a circuit for use when carrying out the method. The need to be able to balance an error signal which may be initially large but which, in a steady state condition, changes only very slowly with time, is found in many different contexts, one example being measuring sensors and the like which are intended to measure different quantities, these devices normally being incorporated in a measuring bridge. It is often difficult or impractical to calibrate the measuring bridge prior to a measuring operation, and the bridge is therewith liable to produce an error signal, so-called offset, even before it is influenced by a quantity to be measured. In such a case, it can be elected to consider all dynamic signals as useful signals. Then, by ac coupling the measuring bridge and utilizing a bottom limit fre- quency which is sufficiently low for the application concerned the system can be caused to measure only the desired, dynamic changes. Thus, the use of a low limit frequency makes it possible to measure also very slow changes. An ac coupled system is normally obtained by connecting capacitors between the measuring bridge and associated amplifiers. In this case, the lower limit frequency of the measur¬ ing system is set with the aid of the time constant determined by the capacitors and resistors included in the system. One drawback with this solution, however, is that the size of the capacitors required increases with decreasing values of the lower limit frequencies. For example, if a lower limit frequency of 1 Hz is desired and reasonable resistance values are used in the amplifiers, the capacitors will be in the order of magnitude of μF. The problem will naturally increase when requiring a lower limit frequency of 0.01 Hz, for instance. However, it has been possible to solve this problem with the aid of low leakage capacitors and amplifiers with high impedances. If the intention is to integrate such equipment on a silicon chip, however, completely new problems arise. Admittedly, capacitors and resistors can be mounted on a silicon chip in addition to transistors and diodes. However, the larger the capacitors to be produced, the more useful chip surface is taken-up, and it is also difficult technically to produce capacitors above a certain rating, normally a rating of 10-100 pF. Thus, when practicing present-day techniques, it is extremely difficult to integrate ac coupled amplifiers of low bottom-limit frequencies on a silicon chip. One alternative to the use of an ac coupled system is to supply constantly a balancing or eqalizing signal which will compensate the error signal produced by the measuring sensor. In this regard, if the bridge output signal is returned undamped through a negative feedback loop, the output signal will be constantly zero. How¬ ever, the useful component of the measurement signal, when it appears, will also be balanced. The present invention is based on the realization that this problem can be solved by making the feedback loop frequency-dependent, when the error signal to be com¬ pensated may be large immediately upon switching on or activating the apparatus, and thereafter changes only very slowly, for example as a result of system compo¬ nent changes which vary with temperature or time. The useful measuring signal which reflects variations in the quantity to be measured is assumed to vary more quickly than the aforesaid very slow components chang¬ es. Thus, also slow changes in the quantity can be measured, by choosing for the useful signals a low bottom limit frequency which is nevertheless higher than the slow component changes. Accordingly, the main object of the present invention is to provide a technique which makes frequency-depen¬ dent feedback of the error signal from an apparatus possible, so that an initially large error is balanced very quickly, and whereafter continuous compensation can be obtained solely for slow changes in the error signal. In accordance with the present invention, the method defined in the first paragraph of this publication is particularly characterized in that a balancing signal which will rapidly compensate the initial error signal is delivered to the apparatus via a negative feedback loop immediately after each time the apparatus is switched on; and in that when the error signal has been substantially balanced, the feedback loop is changed so that, for as long as the apparatus is switched on or activated, only slow changes in the error signal will there-after be fed back, with a frequency which is below an upper limit frequency that is selected in dependence on the application concerned, whereas other. useful measuring signals are delivered uninfluenced. In accordance with one preferred embodiment of the invention, the feedback signal is delivered from a digital-to-analog converter which obtains its input signal from an up-down counter whose counting direction is determined by the polarity of the error signal. The aforesaid frequency-dependent feedback can be achieved by controlling the counter by means of a high clock frequency when initially balancing the error signal and thereafter with a lower clock frequency. Thus, the high clock frequency initially used will produce a rapidly increasing feedback signal which quickly balances the error signal, whereas the lower clock frequency used thereafter does not allow rapid changes to be taken into account in the feedback signal. This feedback function can be achieved without the use of large capacitors and is thus well suited for silicon chip integration. In accordance with one embodiment, the error signal is compared with a reference signal and the clock frequen¬ cy is changed when the comparison shows that the error signal has been balanced. The lower clock frequency is then maintained during the time that the measuring bridge is connected or operative. As an alternative to this comparison, the clock fre- quency can be changed from the higher to the lower fre¬ quency level after a predetermined length of time has lapsed after switching-on the apparatus. The main characteristic features of a circuit for use when carrying out the method are set forth in the fol¬ lowing apparatus Claims. The invention will now be described in more detail with reference to an exemplifying embodiment thereof illu¬ strated in the form of schematic block diagrams shown in the accom-panying drawings. Figure l illustrates a measuring bridge provided with a feedback loop in accordance with the invention, for balancing the error signal. Figure 2 illustrates the feedback loop of Figure 1 in more detail. The apparatus illustrated in Figure 1 includes a con¬ ventional measuring bridge 1 which is connected between the voltages +V and -V. The bridge output signal is delivered to an amplifier 2, the output signal of which, in turn, is delivered to a comparator 3 which receives a reference signal on another input 4 thereof. The comparator 3 has an output 5 which delivers a positive signal to an input 6 of a counter 7 when the output signal of the amplifier 2 is positive and larger than the reference signal on the input 4 of the compa¬ rator 3. The apparatus also includes a clock frequency source 8 which is connected to an input 9 of the counter 7. When the aforesaid signal on the counter input 6 is posi¬ tive, the counter 7 will count upwards synchronized with the clock frequency from the source 8. When the output signal of the amplifier 2 is negative, however, the comparator 3 will deliver a signal to the input 6 of the counter 7, which sets the counter so as to count down synchronized with said clock frequency. The counter 7 has a number of binary outputs 10 which are connected to corresponding inputs of a digital-to- analog converter 11. The analog output signal of the converter 11 is returned to the negative input of the input amplifier 2. The circuit illustrated in Figure 1 operates in the following manner: When the output signal of the amplifier 2 is positive and greater than the reference signal on the input 4 of the comparator 3, it delivers a positive output signal to the counter 7. As before mentioned, this causes the counter to count upwards to successively higher values synchronized with the clock frequency from the source 8, these values being converted in the digital-to- analog converter 11 to an analog signal which increases the input signal on the negative terminal of the ampli¬ fier 2. The amplifier 2 will, in this way, pass towards a balanced state. When the amplifier is set, so that its output signal becomes negative, the comparator 3 is reset to zero and the input 6 of the counter 7 is also reset to zero, whereupon the counter counts downwards and the analog feedback signal from the digital-to- analog converter 11 decreases. The amplifier 2 will then again produce a positive output signal, and so on. The counter 7 will thus count alternately upwards and downwards, so as to maintain the amplifier at its balance point. By choosing a source 8 of a high clock frequency, the error signal applied to the amplifier 2 can be balanced very rapidly when the apparatus is switched on, at which time the error signal of the measuring bridge 1 can be very large. However, subsequent to initially balancing the measur¬ ing bridge 1, none of the incoming, useful measuring signals should be compensated in conjunction with the measuring of desired quantities, these signals being delivered at the output 17. On the other hand, it is desirable to compensate for such slow changes in the error signal as those that are liable to occur as a result of component temperature changes, component aging or similar component phenomena in the measuring bridge components. This problem can be solved by using, for steady state operation, a clock signal of lower frequency for the counter 7, meaning that measuring signals from the amplifier 2 in response to changes of the quantity to be measured at a higher frequency cannot be compensated because the speed of the counter is too low. The higher frequencies thus pass to the output 17 essentially uninfluenced by the negative feedback. In this regard, the upper limit frequency for which signals for which the circuit is able to compensate by said feedback are completely dependent on the clock frequency from the source 8. The higher the clock frequency, the more quickly the bridge is balanced and the higher the upper limit frequency becomes for signals which are compen¬ sated. Thus, by choosing a low clock frequency, it is possible to compensate only for very slowly varying error signals. A clock frequency of such low value cannot be used, how-ever, when initially balancing the bridge, since the time required herefor would be much too long for the majority of applications. Figure 2 illustrates a further development of the feed¬ back loop shown in Figure 1 , which is so constructed as to enable the clock frequency to be switched between a high frequency in conjunction with initial balancing of the bridge and a much lower frequency for use during staedy state operation. The same reference numerals as those used in Figure 1 have been used in Figure 2 to identify corresponding components. At the time of starting the apparatus, it is assumed that the counter 7 is in position 0 and that flip-flop 12 is in a zero- position and that the clock signal source 8 has a frequency of, e.g, 1000 Hz. This frequency is divided in a frequency divider 13 down to a frequency of 1 Hz, for example. When the apparatus is started, the bridge is supposed to be unbalanced, causing the comparator 3 to deliver a positive output signal, and the counter 7 is set to count upwards. The clock signal of frequency 1000 Hz therewith passes through an AND-gate 14 which has an inverting input connected to the flip-flop 12, and passes to the clock input of the counter 7 through an OR-gate 15. The counter will thus quickly count upwards and balance the error signal of the measuring bridge l by means of the output signal from the digital-to- analog converter 11 (see Figure 1) . The comparator 3 switches over and is set to zero immediately the ampli¬ fier 2 switches to a negative output signal, therewith changing the direction in which the counter 7 counts. When the comparator 3 is set to zero, the flip-flop 12 is also switched, therewith blocking the AND-gate 14 and opening an AND-gate 16. A clock frequency divided by 1000 will now be applied to the counter 7, through the AND-gate 16 and the OR-gate 15. The counter there¬ with counts down at a rate of one step/second as com- pared with the earlier upward count of 1000 steps/second. The flip-flop 12 remains in this state for as long as the apparatus is switched-on. Thus, the aforedescribed coupling enables the measuring bridge l to be balanced very quickly when the apparatus is switched on, with the aid of a negative feedback of even high frequencies, and is then maintained in ba¬ lance by compensating for slow changes which may be due to changes in the apparatus components, as a result of the negative feedback of only low-frequency signals with a predetermined maximum highest frequency. The measuring bridge can thus also be used to measure slow signals, provided that the signals are faster than the aforesaid highest frequency, which can be given a very low value, however. This can be achieved without the use of large capacitors. Thus, in practice, the invention enables a measuring system to be constructed with a bottom limit frequency of 0.01 Hz while using capacitors which do not exceed 10 pF. In this regard all of the aforedescribed func¬ tions can be integrated on a silicon chip without the use of any external components, which provides wide possibilities of integrating measuring sensors and adaptation-electronics in a highly miniaturized form. Although the invention has been described in the afore¬ going with reference to a preferred embodiment thereof, it will be understood that this embodiment can be modi¬ fied and varied in several respects within the scope of the following Claims. For example, instead of basing the clock signal change on a comparison of the error signal with a reference signal, this change may also be effected after a predetermined time has lapsed after switching on the apparatus. Furthermore, more than two levels of clock frequency may be used and activated, for instance in dependence on the size of the error signal. Instead of starting from 0, the counter may start from a minimum value which corresponds to the most probable balance value. This enables the time taken to achieve the initial balancing process to be further shortened. The aforesaid frequency values have been given only by way of example. According to the aforegoing, an apparatus can be used in many contexts, such as in systems for so-called active suspension of automobiles and trains, tempera¬ ture control equipment, self-calibrating weighing machines, etc. When the requirement for small capacitors is not equal- ly pronounced, a function corresponding to the afore¬ described function can be achieved by using a frequen¬ cy-dependent negative feedback loop which includes an RC-circuit where the resistance can be short-circuited at the time of initially balancing the bridge. When the resistance is subsequently connected, there is obtained a time constant which is determined by the component values and which determines the limit frequency of these frequencies at which compensation is achieved.

Claims: CLAIMS 1. A method of balancing an apparatus-produced error signal which may be large when switching on the appara- tus but which will thereafter change only slowly with time, particularly an error signal delivered by a measuring sensor and being independent of the quantity to be measured, c h a r a c t e r i z e d by deliver¬ ing to the apparatus a balancing signal through a negative feedback loop immediately after each time the apparatus is switched on, said balancing signal func¬ tioning to rapidly compensate the initial error signal; and changing the feedback loop when the error signal has been substantially balanced so that thereafter only slow changes in the error signal that have a frequency below an upper limit frequency, chosen in dependence on the application concerned, are fed back, while remain¬ ing useful signals are delivered uninfluenced, for as long as the apparatus is switched-on or activated. 2. A method according to Claim 1, c h a r a c ¬ t e r i z e d by delivering the feedback signal from a digital-to-analog converter whose input signal is obtained from an up-down counter; and determining the count direction of the counter by the polarity of the error signal. 3. A method according to Claim 2, c h a r a c ¬ t e r i z e d by controlling the counter by means of a high clock frequency when initially balancing the error signal, and at a lower clock frequency thereafter. 4. A method according to Claim 3, c h a r a c ¬ t e r i z e d by comparing the error signal with a reference signal, and changing the clock frequency when the comparison shows that the error signal has been balanced. 5. A method according to Claim 4, c h a r a c ¬ t e r i z e d by maintaining the lower clock frequency for as long as the apparatus is switched-on. 6. A method according to Claim 3, c h a r a c ¬ t e r i z e d by changing the clock frequency subse¬ quent to the passage of a predetermined length of time after the apparatus was switched-on. 7. A circuit for balancing an apparatus-produced error signal which, when the apparatus (1) is switched on may be large but which thereafter only changes slowly with time, particularly an error signal deli¬ vered by a measuring sensor which signal is independent of the quantity to be measured, c h a r a c t e r ¬ i z e d in that the circuit includes a negative feed- back loop (7, 11) which, each time the apparatus (1) is switched on or activated, functions to immediately feed back a balancing signal which rapidly compensates the initial error signal, and means (12, 13, 16) which function to change the feedback loop (7, 11) when the error signal has been substantially balanced so that thereafter only slow changes in the error signal with a frequency below an upper limit frequency, selected in dependence on the application concerned, are fed back, for as long as the apparatus is switched-on or activa¬ ted, and output means (17) for delivering other, useful measuring signals in an uninfluenced state. 8. A circuit according to Claim 7, c h a r a c ¬ t e r i z e d in that the feedback loop includes a digital-to-analog converter (11) and an up-down counter (7) which is connected to the converter input and whose count direction is arranged to be controlled by the polarity of the error signal. 9. A circuit according to Claim 8, c h a r a c ¬ t e r i z e d by means (12-16) for controlling the counter (7) with a high clock frequency during the initial balancing of the error signal and a lower clock frequency thereafter. 10. A circuit according to Claim 9, c h a r a c - t e r i z e d by comparison means (3) for comparing the error signal with a reference signal, and means for changing the clock frequency in response to the output signal of the comparison means.

Inventors: TROLLE STEN, TROLLE, STEN
Applicants: BOFORS AB
Application year: 1992
Main classification: G01D3
IPC codes: G01R17