Rotary speed sensor

Abstract: A rotary speed sensor system uses a permanent magnet (14) and a Hall cell (16) sensitive to the changing tangential component of magnetic field caused by the interrupted surface profile of a rotary element (10). In order to avoid anomalies caused by the variation of the base value of the tangential component of magnetic field, the output of a differential amplifier (OP1) fed by the Hall cell (16) is connected to a voltage averaging means (OP2, R5, C1) which stores the average voltage on a single capacitor (C1). The output of the differential amplifier (OP1) and the voltage across the capacitor (C1) are respectively coupled to the differential inputs of a Schmitt trigger (19) exhibiting hysteresis. The Schmitt trigger (19) thereby establishes operate and release points relative to the average voltage signal. The voltage averager (OP2, R5 C1) is a non-linear circuit in which the voltage across the capacitor (C1) is fed back to the negative input of an operational amplifier (OP2). A power-­ up circuit (OP5, R10, D1, Q2) is also provided for rapidly charging the capacitor (C1) initially to approximately the average voltage.

Description: FIELD OF THE INVENTlON The present invention relates to a rotary speed sensor comprising: a rotary element of ferrous material rotatable about an axis of rotation and having a cross-section, perpendicular to said axis of rotation, which exhibits a surface interruption; magnet means generating a magnetic field along a magnetic path which includes said rotary element, said magnetic field having a tangential component characterized by a base field which may possibly vary relatively slowly, on which base field is superimposed a relatively rapid field variation in response to said surface interruption passing in proximity to said magnet means; transducer means positioned in said magnetic path for detecting the instantaneous tangential component of said magnetic field; and circuit means responsive to said transducer means for detecting the occurrence of said relatively rapid field variation, said circuit means comprising; a first trigger means having first and second differential inputs and an output for forming the output of said circuit means; a first amplifier means fed by said transducer means and having an output coupled to the first input of said trigger means for carrying a signal indicative of the instantaneous tangential component of said magnetic field. BACKGROUND OF THE INVENTION U.S. Patent No. 4,481,469 discloses a rotary speed sensor system for a rotary element of ferrous material which is rotatable about an axis of rotation and has a cross-section, perpendicular to the axis, which exhibits an interrupted surface profile. The sensor includes a magnet generating a magnetic field which includes the rotary element, the field exhibiting both radial and tangential components relative to the rotary element; the tangential component changes as the interrupted surface profile passes in proximity to the magnet. A Hall element in the magnetic field between the magnet and the rotary element has a voltage output responsive to the changing tangential component of the magnetic field, the voltage output being substantially sinusoidal. The sensor further includes circuitry having switching for converting the sinusoidal voltage output to a digital voltage output. The switching has a release point below a first voltage which corresponds to a first field strength and an operating point above a second voltage which corresponds to a second field strength, the second voltage being greater than the first voltage. When the rotary element or target is a gear, as shown in U.S. Patent No. 4,481,469, the voltage corresponding to the tangential component of the magnetic field will be a continuous sinusoid. If the rotary element or target is a wheel with one or more spaced apart slots in its surface, the voltage will be flat but for a sinusoidal pulse as each slot passes the sensor. For an ideal magnet having a magnetic field of perfect symmetry and a Hall element perfectly centered relative thereto, the tangential component of the magnetic field at the situs of the Hall element should be zero in the absence of any ferrous material in the field or when the lines of flux on opposed sides of the Hall element extend symmetrically toward the ferrous material, as when the element is aligned with the center line of a gear tooth or the uninterrupted surface of a wheel. Figure 1 illustrates a wheel 10 rotating about axis 11 and having an interrupted surface in the form of a slot 12. A permanent magnet 14 has a polar end 15 facing the wheel 10, and a Hall sensor 16 inset in the centre of polar end 15. The sensor 16 includes a Hall element transducer which is substantially coplanar with the axis 11, so that the tangential component of the magnetic field will ideally be zero when the Hall element is adjacent the uninterrupted surface of the wheel remote from slot 12, or centered over slot 12. Figure 2 illustrates the variation in the tangential component of the magnetic field as the slot passes the sensor. The solid line shows the field when the air gap between the Hall element and the wheel surface is minimal, and the dashed line shows the tangential field component for a relatively large gap. The Hall element translates this varying field to a varying voltage of like profile, which will then be amplified to useful values and used for switching. A problem arises in prior art sensors due to the non-uniform nature of typical magnets; the magnetic fields seldom emanate from the polar ends thereof with perfect symmetry. Thus, a magnet which is not specially selected cannot be relied upon to yield a tangential field component of zero at the location of the Hall element, when the Hall element is opposite the wheel surface remote from the interrupted portion. Also, misalignment of the Hall element relative to the magnet or tilting of the sensor system relative to the target causes the average or base tangential field component upon which the slot responsive sinusoidal pulse is superimposed to vary, particularly from unit to unit and over the long term. Circuitry associated with known Hall sensors is shown schematically in Figure 4. A voltage regulator 17 supplies a regulated voltage to the Hall sensor 16 and to other components of the circuit. The output signal of the Hall sensor 16 is amplified by an amplifier 18 having its output connected to the input of a Schmitt trigger 19. The Schmitt trigger 19 generates an output of constant amplitude which exists only as long as the input voltage exceeds a certain value. When the input voltage falls below that value (the release point), the output changes amplitude. The output will not return to its original amplitude until the input voltage exceeds a certain value (the operate point) which is higher than the release point. The Schmitt trigger 19 may thus be considered as a comparator with hysteresis; it converts an analog input voltage to a digital output voltage having two levels, "0" and "1". By use of an NPN transistor 20 in the output, the voltage amplitudes corresponding to these levels can be modified to desired voltage levels utilizing, for example, a pull-up resistor (not shown) for the open collector of the transistor. However, for a given circuit, the operate and release points of the Schmitt trigger are fixed. The duration, or even occurrence, of a slot responsive pulse in the digital output voltage is thus dependent on the voltage corresponding to the average or base tangential field component of the magnetic field seen by the Hall sensor 16 when positioned over the uninterrupted portion of the wheel surface. Figures 3A-3E illustrate how the digital output voltage is affected by the signal voltage V sig at the output of the Schmitt trigger 19 relative to the operate and release points V op and V rel respectively. Figure 3A illustrates the situation where the signal voltage at the input is substantially the same as the average of the operate and release points. This is considered ideal, since variations in the air gap which affect the magnitude of the sinusoidal pulse at the input of the Schmitt trigger will not substantially affect the digital output pulse. Figure 3B depicts the analog and digital outputs for a speed sensor system having a magnet with an average tangential field component producing an average voltage less than the release point to such an extent that the peak voltage of the sinusoidal pulse is not sufficient to exceed the operate point of the trigger. As a result, the digital output remains constant at the "1" level. A "worst case" magnet can yield such a result. With an average tangential field component producing an average voltage less than, but closer to, the release point (Figure 3C), there is produced a pulse of shortened duration and of opposite sense to the pulse produced in Figure 3A. However, a slight increase in the air gap will cause the peak voltage to fall short of the operating voltage, causing the digital output to become flat as in Figure 3B. Figures 3D and 3E depict the analog and digital outputs for speed sensor systems with magnets having average tangential field strengths producing average voltages which exceed the operating point to a greater and to a lesser extent respectively. This produces further anomalous results. U.S. Patent No. 4,293,814 discloses a crankshaft position sensor which utilities a Hall element whose output depends on the radial component of flux in a magnetic field. The direction of the field is influenced by an actuator having uniformly spaced radially extending sections resembling large gear teeth so that a generally square wave is produced. High voltage peaks are stored on a first capacitor and low voltage peaks are stored on a second capacitor; a comparator triggered at a self-adjusting threshold value between peaks provides an output signal whose waveform will have a constant amplitude without regard to peak variations of the input signal. The system described in U.S. Patent 4,293,814 is only suitable for wheels having large, uniformly spaced teeth. In the case of a slotted wheel, the low peak only occurs for a short period while the high peak occurs for a relatively long period. Since the capacitor is discharged with a finite time constant, the low peak drifts upwards. If the time period is long enough (low RPM) the threshold may be reached before the slot arrives, so that the comparator is triggered prematurely. Another problem associated with using the radial flux component is that the sensor is sensitive to run-out, that is, the effect of changing minimum or maximum air gap about the circumference of the rotary element, which could be caused by eccentricity. The threshold voltage could be reached sooner or later than desired, so that the circuitry would have to be desensitized to run-out, reducing the air gap for which the sensor is useful. DE-B-2 235 056 discloses a circuit arrangement for an inductive sensor, comprising a peak detector for deriving a reference signal proportional to the peak value of the sensor signal, said reference signal being applied to one input of a trigger and the sensor signal being applied to the other input of the trigger. The trigger produces an output pulse if the sensor signal exceeds the reference signal. This circuit serves to ensure that a true sensor signal always produces an output pulse, independent of variations in its amplitude. SUMMARY OF THE INVENTION It is an object of the invention to provide a rotary speed sensor system wherein the profile of the digital output voltage is substantially unaffected by variations in the average or base tangential component of the magnetic field as seen by the Hall element. The speed sensor according to the invention is characterized in that averaging means are interposed between the output of said amplifier means and the second input of said trigger means for providing a reference signal indicative of the amplitude of said base field, said averaging means comprising: a second amplifier having first and second differential inputs and an output for said reference voltage coupled to the second input of said first trigger; the first input of said second amplifier being coupled to the output of said first amplifier; and a capacitor connected between the output of said second amplifier and a point of constant voltage for storing a voltage indicative of said reference voltage, the second input and the output of said second amplifier being connected to each other, whereby the voltage of said capacitor is maintained by said second amplifier notwithstanding an inherent leakage characteristic of said capacitor. The averaging means serve for simultaneously adjusting the release and operate points so that the average thereof at least substantially corresponds to the average or base tangential field component of the magnetic field seen by the Hall element. By so positioning the release and operate points, the inventive speed sensor system yields a digital output voltage substantially as shown in Figure 3A in every case. Slight differences (e.g. from unit to unit) in the air gap between the Hall element and the rotary element may vary the amplitude of the analog pulse, but the digital output will not be substantially effected. This positioning of the release and operate points relative to a voltage corresponding to the average or base tangential field component is established by feeding one input of a Schmitt trigger with the amplified differential output of the Hall cell and feeding another input of the Schmitt trigger with the output of a voltage averager responsive to the amplified output of the Hall cell. The Schmitt trigger thus compares the voltage corresponding to the average magnetic field with the amplified output of the Hall cell, assuring that triggering will occur consistently notwithstanding variations in the orientation and position of the Hall cell and in the magnetic fields established. Thus, the inventive system eliminates the need for culling out magnets with asymmetric fields or tuning the circuitry to match the magnet in every system produced. Another feature of the invention is that it is suitable for operation at low RPM such as 10 RPM or less and is suitable for high temperature operation such as 150°C as may be required for operation with an automotive engine. Since the leakage resistance associated with a relatively large value capacitor at such temperatures will cause the capacitor to discharge by leaking current with a significantly rapid time constant, it is necessary when using a capacitor to hold the average voltage to supply the demanded leakage current preventing unwanted discharge. Still a further feature of the invention is the provision of means for power-up initialization of the voltage averager. Another advantage of using the tangential component of the magnetic field is that it is not sensitive to run-out. In the case of a slotted wheel eccentrically mounted, the average tangential component of field strength will not change appreciably as the non-slotted portion of the wheel's surface passes the Hall element. Thus, desensitization (reducing the differential between release and operating points) is not necessary, and the useful range of air gaps is not reduced. BRIEF DESCRIPTION OF THE DRAWINGS Other objects, features, and advantages of the present invention will become apparent from the following detailed description of the preferred embodiment when taken in conjunction with the appended drawing wherein: Figure 1 is a schematic of a rotary speed sensor using a Hall cell; Figure 2 is a graph of the tangential component of the magnetic field versus time for an ideal magnet; Figures 3A-3E are schematic graphs illustrating the voltage output of the Hall cell relative to the trip points of associated circuitry as well as digital voltage outputs resulting therefrom for the different magnets; Figure 4 is a schematic of the prior art Hall switch circuit; Figure 5 is a schematic of the preferred self-adjusting Hall switch circuit; and Figures 6A-6D are corresponding graphs illustrating various voltages in Figure 5 as a function of time. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT Figure 5 shows a preferred embodiment of the circuit used in the inventive rotary speed sensor system. A voltage regulator 17 provides a voltage V reg , preferably about four volts, to the Hall cell independent of the supply voltage V cc . I is a current source that keeps the current in the Hall cell constant over temperature. The Hall cell outputs an analog voltage differential proportional to the tangential component of the applied magnetic field, which voltage differential varies generally in the form of a sinusoidal pulse as a discontinuity of the ferrous rotary element passes the Hall cell. Resistors R₁, R₂, R₃ and R₄ and first operational amplifier OP1 form a differential amplifier, the resistors being chosen so that R₁.R₄ equals R₂.R₃. Furthermore, an offset voltage V offset is provided, as from the voltage regulator, having a voltage of about one-half V reg , and is coupled to R₄. The provision of V offset biases output V H (Figure 6A) to be an always positive signal which varies as the tangential component of magnetic field strength. Voltage V H is applied to the first or positive input of a second operational amplifier OP2. OP2, resistor R₅, and capacitor C1 form a type of voltage averager which closely maintains the base value of V H , herein referred to a V avg , as the voltage V C across capacitor C1. It should be appreciated that a linear RC circuit is not suitable for averaging V H because of the large time constant, in the range of .1 to 50 seconds, necessary to average over several slow rotations of the wheel (e.g. at 1-500 RPM) and the typical high temperature environment of the speed sensor (e.g. 150°C) when in association with an internal combustion engine. At such temperatures, a large value capacitor, such as 1µF, will exhibit a leakage resistance of as low as 20 MΩ. Thus, if a large time constant is desired, such as 10 seconds, by the series combination of a 10 MΩ resistor and a 1µF capacitor, the inherent leakage resistance shunting the capacitor will form a voltage divider with the 10 MΩ resistor significantly reducing the voltage across the capacitor. In order to avoid these difficulties, the voltage averager is formed by a non-linear circuit in which the voltage V C across capacitor C1 is fed back to the negative input of OP2 and the output voltage V S of OP2 is applied to the capacitor via a resistor R₅. C1 is in the range of .1 to 10µF and R₅ is in the range of 1 to 5 MΩ. The operation of this circuit will be best understood by reference to Figures 6A-6C. It should be understood that because V C cannot change instantaneously, V S will normally oscillate between its upper and lower saturation levels, V MAX and V MIN (V MIN being approximately zero), alternately sourcing current into and sinking current from capacitor C1 (Figure 6B). This action causes V C to slew an insignificant amount above and below the base voltage V avg which base voltage will be approximately one-half V MAX (Figure 6C). More time may be spent by OP2 at the upper saturation level V MAX than the lower saturation level V MIN in order to supply, on the average, the leakage current demanded by the inherent leakage resistance of C1 at V avg . Furthermore, V C can track V avg as long as the base voltage changes more slowly than the slew rate. The maximum slew rate of V C due to the sourcing or sinking action, determined approximately by V MAX /2.R₅.C1, is chosen sufficiently small (such as in the range of .04 to 20 volts per second), that the variation of V C during the slot responsive pulse is not significant. V C is applied to the first or positive input terminal of a third operational amplifier OP3 which is wired as a voltage buffer. As a result of the connection of its output to its second or negative input terminal, the output of OP3 follows V C without loading C1. The Schmitt trigger 19 is formed by a fourth operational amplifier OP4 which receives V H at its negative input terminal and has its positive input terminal coupled to the output of OP3 via R₆ and to its own output via R₇. In effect, OP4 operates as a comparator between V H and the voltage at its positive input terminal. R₆ and R₇ cause the necessary hysteresis at the positive input terminal of OP4 about the output of OP3, setting the proper operate and release points for V H . As a result, the output of OP4 will go low during the time period beginning when V H passes downwardly through V rel and ending when V H passes upwardly through V op (Figure 6A): This low voltage at the output of OP4 cuts off NPN transistor Q1 producing the positive output pulse V OUT illustrated in Figure 6D. As a result of the necessary limitation of the slew rate of V C during normal operation, V C , on turn-on or power-up of the apparatus, will take an excessive time to reach V agv . In order to improve start-up, an initialization circuit is provided comprising an operational amplifier OP5, wired as a comparator with hysteresis in one direction, and an NPN transistor Q2 having its collector coupled to V reg via a relatively low value resistor R g , its emitter coupled to the junction of R₅ and C1 and its base connected to the output of OP5. OP5 has its negative input terminal connected to the output of OP3, and its positive input terminal connected to V H via a resistor R₁₁ and coupled to its own output via the series combination of a resistor R₁₀ and a diode D1. On turn-on, V C and the output of OP3 are zero while V H is positive. This will cause the output of OP5 to go high cutting off D1, turning on Q2, and thereby causing current flow relatively rapidly charging C1 from V reg via R₉. When V C , as indicated by the output of OP3, just exceeds V H , OP5 will go low cutting off Q2 and putting D1 into conduction. When D1 conducts, it causes a hysteresis characteristic in association with R₁₀ and R₁₁. Optimally, R₁₀ and R₁₁ are chosen to cause sufficient hysteresis that the output of OP5 does not again go high in response to the positive-going portion of the slot responsive pulse in V H . Additionally, a diode D2 is preferably provided between V reg and the junction of R₅ and C1 directed so as to be reverse biased. The purpose of D2 is to supply the leakage current which would otherwise leak from C1 in a number of paths most significantly the leakage current path through the reverse-biased base-emitter junction of Q2. While the invention has herein been described in specific detail, it should be apparent that numerous modifications, additions and omissions are possible within the intended scope of the invention.

Claims: A rotary speed sensor system comprising: a rotary element (10) of ferrous material rotatable about an axis (11) of rotation and having a cross-section, perpendicular to said axis of rotation, which exhibits a surface interruption (12); magnet means (14) generating a magnetic field along a magnetic path which includes said rotary element (10), said magnetic field having a tangential component characterized by a base field which may possibly vary relatively slowly, on which base field is superimposed a relatively rapid field variation in response to said surface interruption passing in proximity to said magnet means (14); a transducer (16) positioned in said magnetic path for detecting the instantaneous tangential component of said magnetic field; and a circuit responsive to said transducer (16) for detecting the occurrence of said relatively rapid field variation, said circuit comprising: a first trigger (19) having first and second differential inputs and an output for forming the output of said circuit; a first amplifier (OP1) fed by said transducer (16) and having an output coupled to the first input of said first trigger (19) for carrying a signal indicative of the instantaneous tangential component of said magnetic field, characterized in that averaging means are interposed between the output of said first amplifier (OP1) and the second input of said first trigger (19) for providing a reference voltage indicative of the amplitude of said base field, said averaging means comprising: a second amplifier (OP2) having first and second differential inputs and an output for said reference voltage coupled to the second input of said first trigger (19); the first input of said second amplifier being coupled to the output of said first amplifier (OP1); and a capacitor (C1) connected between the output of said second amplifier (OP2) and a point of constant voltage for storing a voltage indicative of said reference voltage, the second input and the output of said second amplifier being connected to each other, whereby the voltage of said capacitor (C1) is maintained by said second amplifier (OP2) notwithstanding an inherent leakage characteristic of said capacitor. A rotary speed sensor system as claimed in Claim 1, characterized in that said second amplifier (OP2) is configured to selectively source current into or sink current from said capacitor (C1) in an amount sufficiently large to allow the reference voltage at the output of said second amplifier to follow the possible slow variation of the output signal of the first amplifier (OP1) due to the base field variation while not being so large as to substantially respond to the relatively rapid variation in the output signal of the first amplifier due to the said surface interruption (12) passing in proximity to said magnet means (14). A rotary speed sensor system as claimed in Claim 2, characterized in that it comprises initialization means (OP5,R9,Q2) coupled to said capacitor (C1) for sourcing current into said capacitor in a relatively larger amount than could be sourced by said second amplifier (OP2) for initally bringing the reference voltage to a value indicative of an amplitude proximate the amplitude of said base field. A rotary speed sensor system as claimed in Claim 3, characterized in that said initialization means (OP5,R9,Q2) comprises a transistor switch means (Q2) in series with said capacitor (C2). A rotary speed sensor system as claimed in Claim 4, characterized in that it further comprises a second trigger (OP5) having an output controlling said transistor switch means (Q2) and having first and second differential inputs, the output of said second amplifier (OP2) being coupled to the first input of said second trigger and the output of the first amplifier (OP1) being coupled to the second input of said second trigger, said second trigger being configured to turn off said transistor switch means upon the reference voltage output of said second amplifier first substantially reaching a value indicative of the amplitude of said base field. A rotary speed sensor system as claimed in Claim 5, characterized in that said second trigger (OP5) has a unidirectional hysteresis characteristic, such that the hysteresis substantially prevents said transistor switch means (Q2) from being turned on after it has been turned off by said initialization means. A rotary speed sensor system as claimed in Claim 5, characterized in that it further comprises a reverse-biased diode (D2) coupled between said capacitor (C2) and a source voltage (V REG ) for substantially sourcing a demand for leakage current from said capacitor. A rotary speed sensor system as claimed in Claim 1, characterized in that it further comprises a third amplifier (OP3) coupled between said output of said second amplifier (OP2) and said first input of said first trigger (19). A rotary speed sensor system as claimed in Claim 8, characterized in that said first trigger (19) comprises a fourth amplifier (OP4) having first and second inputs and an output, said first input of said fourth amplifier being coupled to said output of said first amplifier (OP1), said second input of said fourth amplifier being coupled through a first resistor (R6) to the output of the third amplifier (OP3) and a second resistor (R7) being coupled between the second input and the output of the fourth amplifier, said first and second resistors providing a hysteresis characteristic to said fourth amplifier. A rotary speed sensor system as claimed in Claim 9, characterized in that said circuit further comprises a transistor switch means (Q1) controlled by the output of said first trigger (19).

Inventors: LORENZEN DAVID MICHAEL, LORENZEN, DAVID MICHAEL
Applicants: PHILIPS CORP, NORTH AMERICAN PHILIPS CORPORATION
Application year: 1990
Main classification: G01P3
IPC codes: G01P3