The present invention generally relates to sensors, and in particular to position and motion sensors.
Many mechanical systems contain moving parts not directly linked through mechanical means whose position, timing, or speed must be monitored and controlled with correction schemes for safe or efficient operation. A prime example is the operation of diesel engine fuel injectors. These injectors are usually controlled either hydraulically through rapid compression of fuel or electrically through operation of a fast moving solenoid valve. In both systems, the timing and speed of the actual injection of fuel into the combustion chamber greatly depends on the characteristics of the fuel being used. This is especially true of biodiesel fuels that contain various entrained organic materials and gases that make the fuel compressible and change its viscosity or other characteristics that affect valve speed or timing.
Mechanical systems such as internal combustion engines usually contain a significant number of these moving objects. For instance, there are usually multiples of 4, 6, 8 or more cylinders in diesel engines utilizing fuel injectors each containing a moving valve or other object that must be monitored for efficient or safe operation. Each injector requires a separate sensor. The wiring of these sensors to a remotely located engine monitoring and control system must be designed to accommodate extreme temperatures and vibrations and adds cost and weight to the system. A method of reducing the amount of wires should be employed when implementing these position sensors for maximum efficiency and minimum cost. One widely accepted method of reducing the wiring is to provide output signals in the form of changes in current drawn by the sensor that is directly proportional to the position of the object being monitored. This allows the sensor to operate requiring only two wires; one to deliver operating voltage and current to the sensor and another to provide a ground reference and to form a complete path for the current through the sensor. An example is a sensor that draws zero milliAmperes when the object is at rest and draws 5 milliAmperes when the object is closest to the sensor, with intermediate currents being drawn when the object is between these extremes of movement. These sensors operate by drawing their current through an external resistance inline with their connecting wires such that the resistance develops a dropped voltage level that is directly proportional to the current through the sensor. For instance, connecting a 20-Ohm resistor inline with the 5-milliAmpere sensor listed above results in a varying voltage drop of 0 to 100 milliVolts across this inline resistor. This voltage drop is monitored by external devices to convert the current information into voltage information for further processing.
Mechanical systems such as internal combustion engines also are designed so that the objects that must be monitored are known to be moving within specific limits or windows of timing such that at least some objects are moving at times that other objects are known to be at rest. For instance, the internal combustion engine fuel injectors operate in sequences equally timed in relation to the rotational position of the crankshaft. For instance, injector number one opens between 0 and 25 degrees of rotation, injector number two operates between 50 and 75 degrees, and the like. A method of further reducing the number of wires required for these systems can be employed by multiplexing or connecting all sensors to the same set of wires and a single inline resistor. Since each signal from each individual sensor is known to be occurring within a separate period or window of time, monitoring equipment that also monitors this timing information can know which sensor output is being sampled at any particular time. In the example for the internal combustion engine, a timing signal may be developed from a separate sensor delivering the rotational position of the crankshaft that is used to inform the injector position sensor monitoring system which injector should be operating at any specific rotational position of the crankshaft. This information is used to tag or otherwise mark the pulse train from the monitoring resistor to identify each individual sensor output.
Position sensors used to monitor these moving objects generate an electrical signal that is proportional to the distance between the moving object and a fixed position. An ideal output signal contains only this information; however, several unwanted electrical signals generally characterized as noise are also usually generated or otherwise transmitted along with the desired position signal. These noise signals are generally divided into either low frequency or into high frequency noise. Higher frequency noise is usually easily filtered out with a low pass filter since the frequency of these noise signals is higher than the frequency of the position signal because moving objects are constrained to velocities that generate signals in or just above the audio or ultrasonic range and because in a well designed sensor these high frequency noise levels are usually several magnitudes in power level below the desired output position signal.
Most position sensing transducers also generate low frequency noise in the form of a slowly drifting or static DC offset, or error signals that may be a significant portion of the total overall signal. An example of such transducers is a Hall cell where the signal generated is produced by a magnet. The signal from this transducer contains a large DC offset voltage generated by the magnet and a smaller AC signal generated as the target changes the magnetic flux density. Another example is a capacitive or inductive sensor where the slowly changing signal is caused by semiconductor device drift caused by temperature or other changes. This slowly changing or static error signal causes numerous problems in employing two-wire current output position sensors. The generation of any signal current through the sensor causes power to be dissipated inside the sensor. This adds to the temperature of the devices in the sensor, reducing the maximum ambient temperature that the sensor can operate at and reducing overall sensor reliability. The addition of a relatively static or DC current through the output sensing resistor connected to any number of these sensors increases the voltage dropped across the resistor. This leaves less power for the sensors or means that the applied voltage must be increased to generate the required operating voltage for the sensors. This power is wasted and also requires a higher power capability for resistors, by way of example. Also, increased current through the sensor wires means they also must be increased in diameter to accommodate the increased power lost through their series resistance. A further limitation on these type sensors is that especially upon power-up, the sensor should desirably not draw a large amount of current and should automatically calibrate itself so that no excessive current is drawn at any time during its operation. For instance, on vehicles utilizing storage batteries, the initial power-up of these sensors usually occurs at the same time that the battery is being used to crank the engine, reducing the amount of power available to power the sensors.
The present invention is directed to sensing position or movement of an object. A position sensor signal conditioner and remotely electrically connected sensor monitoring and control equipment provide a method of multiplexing multiple numbers of sensors on a minimum number of wires with a minimum of energy required from each sensor monitoring system. The sensor and external control function to require a minimum quantity of devices to be physically located on the sensor while enabling full error and temperature compensation. The external control circuit functions by generating and using an external clock to subtract error levels from a transducer signal wherein said error levels are of the same polarity as a desired dynamic signal only when said dynamic signal is known to be absent from the output of said sensor.
One embodiment of the invention is herein described as a sensor that may comprise a waveform generator and an error correction generator for modifying a sensing signal by removing unneeded power and providing the signal to a remote monitor via two wires useful in multiplexing multiple sensors. The waveform generator is operable for receiving an unconditioned sensing signal from a transducer and modifying the unconditioned sensing signal in response to an error correction signal for providing a conditioned sensing signal. The error correction generator may provide the error correction signal using a comparator for receiving the conditioned sensing signal and determining a value thereof, a controller for providing first and second timing signals responsive to the value of the conditioned sensing signal, and a signal processor for providing the error correction signal responsive to the first and second timing signals.
The error correction generator determines and eliminates strong static signals and error signals that do not deliver information about a position of an object being sensed, wherein inclusion of the static and error signals would require energy. One embodiment may include a digitally stored offset and error correction closed-loop compensation circuit for constantly comparing a value of the conditioned sensing signal to a desired minimum value and generates a correction signal that is subtracted from the offset and error signal to deliver a sensor signal output that is close to a desired minimum value. The constant comparing of the sensor signal output to the desired minimum value proceeds in a first direction relative to a direction of sensor output signals generated when an object being sensed moves in a relatively slow manner compared to a nominal speed of objects being monitored such that signals are generated as the objects move are not subtracted from the sensor output to a degree significant enough to cause significant variance between a position of the object and a signal level delivered by the sensor indicating the position. Further, the constant comparing of the sensor signal output to the desired minimum proceeds in a second direction relative to the direction of signals generated when the object being monitored moves in a relatively fast manner compared to the speed of objects being monitored so signals generated by errors or from other noise sources are subtracted from the sensor output in a manner sufficient to allow for a deletion of these error or static signals from being a significant portion of the position signal generated by the sensor.
One embodiment of the invention may include a window reference circuit that constantly compares a desired conditioned sensor signal output to an existing conditioned sensor signal output and adjusts the conditioned sensor signal output if it is above a preset high reference signal or below a preset low reference signal. The signal processor may generate a relatively small reference signal that is large enough to eliminate small values of drift in a negative going direction yet is small enough not to generate a significant amount of signal due to a discrete nature of calibration voltages from a DAC and counter combination employed thereby. The error correction generator may generate a relatively large reference signal that substantially exceeds the largest voltage encountered by the sensor as an object being monitored moves its maximum amount, allowing rapid recalibration due to sudden changes in an offset voltage caused by rapid temperature or other changes. Yet further, the signal processor may include a DAC and counter combination circuit that contains enough resolution such that even if a sensor offset correction signal is generated as a result of a change in sensor output due to a movement of an object being sensed, the error correction signal is not a significant portion of the conditioned sensing signal representative of a position of the object.
In a second embodiment of the invention, a significant size reduction and an increase in reliability can be achieved by reducing or eliminating the number of semiconductor devices on the chip. In a first embodiment, the semiconductor devices required to implement the clock with both a short and a long alternation, the counter, and the DAC take up significant amounts of space on the die. The clock circuit longer alternation requires a separate counter to implement an increase the time of the alternation. Significant decreases in size could be realized by reducing the number of bits of the counter and DAC H.
However, a fast-running clock without the longer alternation would rapidly drive the dynamic signal down to the zero reference level or below. Since in the original version, the only purpose of reducing the offset output level is to reduce the power consumed by the sensor and related power supplies, an increase in the step size simply means that more power is consumed. However, any such step increase in a free-running version of the offset elimination circuit means that any changes in level during the dynamic signal level would become objectionable. Decreasing the number of devices in other parts of the circuit that process the dynamic signal would also contribute to a decrease in output quality. It is likely therefore that the only way to decrease die size and increase reliability are to eliminate the longer alternation and to decrease the number of bits of the counter and the DAC and to prevent the offset elimination circuit from operating during the dynamic signal event.
This could be accomplished easily in most cases by using an external clock only to generate signals that allow compensation only during the time that the dynamic signal is known to be absent. An example application is in the monitoring of diesel fuel injection systems, where the target is known to be at rest a large part of the time, and the actual movement of the target is initiated by a control system so the approximate timing of the dynamic event is known.
In some of the aforementioned sensors, a quantity of useful information can be obtained about the sensor and its environment if the amount of static offset can be obtained. For instance, the amount of time it takes the sensor offset compensation circuitry to eliminate the offset can be used to determine the status of magnets used to generate magnetic fields if the time taken is proportional to the field detected. Likewise, if these sensors contain an internal clock and offset compensation circuit, the timing and power drawn by the internal clock can be used to determine the temperature of the sensor. Reference is made to pending application, U.S. Ser. No. 10/345,847 for “Multiplexed Autonomous Sensors and Monitoring System and Associated Methods”, the disclosure of which is incorporated herein by reference in its entirety. In these cases, an additional advantage is gained by leaving an internal clock on the sensor and causing this internal clock to provide offset compensation at specific times during which the temperature of the sensor is desired or during which the static magnetic field is desired. The length of time taken to eliminate the offset yields the value of the offset, and the power drawn by the digital pulses yield the sensor temperature. However, to prevent the internal clock from running all the time and possibly reducing the sensor output during a dynamic event, the internal clocked offset compensation system must only respond to events or circumstances that cause the offset to decrease. Provided this requirement is met, there is an advantage to having an internal clock and an internally controlled offset compensation circuit on these sensors, even though an external clock could be used alone to accomplish the same operations.
For a fuller understanding of the invention, reference is made to the following detailed description, taken in connection with the accompanying drawings illustrating various embodiments of the present invention, in which:
The present invention will now be described more fully hereinafter with reference to the accompanying drawings, in which preferred embodiments of the invention are shown. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Like numbers refer to like elements throughout, and prime notation is used to indicate similar elements in alternate embodiments.
With reference initially to
Referring now to
Upon a rapid increase in sensor voltage on power-up, preset 124 generates a pulse that causes counter 108 and DAC 106 outputs to go to their highest value and the output of differential amplifier 102 to go to zero thereby lowering the current through resistor 136 to zero. Thus upon startup and initial calibration the sensor draws a minimum of current. Also, the sensor can be recalibrated at any time by external means by simply removing and reapplying power.
The low end of the window set by resistors 110, 112, and 114 is just high enough in value to compensate for any offset in comparator 118 that ordinarily might not allow the output of differential amplifier 102 to get below the comparator 118 threshold. This divider network also sets the value of the window on the negative pin of comparator 116 to a level substantially higher than the dynamic signal from the transducer 104 and differential amplifier 102 generated when an object moves or when a parameter being monitored by transducer 104 changes.
With reference to the controller 105B, logic may operate in the following manner. If the input to the window comparator 105A is below a preselected window, the resultant low output from comparator 118 is inverted by an inverter 122, placing a high signal into the lower input of Or gate 134 and forcing its output high which connects the wiper of switch 138 to a FastCLK pin of divider 132. At the same time, since the inputs to both comparators 116, 118 are low, both inputs to Or gate 120 are high which causes counter 108 to count down rapidly, causes the output 105S of DAC 106 to fall, and causes the output 102S of differential amplifier 102 to rise. When this output 102S rises above the lower edge of the window comparator 118, it goes high forcing the output of Or gate 120 high and the output of inverter 122 low and consequently the output of Or gate 134 low, changing connecting switch 138 to a SlowCLK pin. Counter 108 now counts down at the slow rate until the output of differential amplifier 102 goes below the window and the process continues to cycle. Generally, the slow clock signal will be used for error correction when a transducer output signal is anticipated, and a fast clock signal used for an error correction when noise and only error signals are expected.
When a sensor system baseline from differential amplifier 102 is in a desired position with all offset corrected, the high end of the window generated by the resistor network is significantly higher in value than a normal dynamic signal from differential amplifier 102 caused by a changing magnetic field.
As the object or process being monitored increases the output of differential amplifier 102, the components of the sensor operate to begin increasing the output of the DAC 106 in order to compensate for an increase in value. However, the rate of clock 126 is chosen to be slow enough that a significant number of changes of signal level do not occur during a fast movement of objects being monitored. Also, the number of bits chosen for the operation of the counter 108 and the DAC 106 are such that the increase and decrease in the output 105S, while the differential amplifier 102 output changes, are not a significant portion of the dynamic signal generated by the transducer 104 when the object being monitored moves. The DAC 106 and counter 108 combination may contain enough resolution such that even if sensor offset correction signal is generated as a result of a change in sensor output due to the movement of the object being sensed, the error correction signal is not a significant portion of the sensor position signal.
With the sensor 100, as herein described by way of example, there is a determination and elimination of strong static signals or other error signals that do not deliver information about the position of the object being sensed whose inclusion in the sensor output signal would waste energy. A digitally stored offset and error correction closed-loop compensation may thus constantly compare the sensor output to a desired minimum value and generate a correction that may be subtracted from the offset and error signal to deliver a sensor output that is as close to the desired, an ideal minimum, as is practical without requiring unnecessary circuitry that is typically used for signal conditioning. For the sensor 100, herein described, the constant comparison of the sensor output 102S to the desired value, an ideal minimum value, proceeds in a first direction relative to a direction of signals generated when the object (a target) being monitored moves in a relatively slow manner compared to the speed of objects being monitored such that signals are generated as the objects move that are not subtracted from the sensor output to a degree significant enough to cause significant variance between the position of the object and the position signal level delivered by the sensor. The constant comparison of sensor output proceeds in a second direction relative to the direction of signals generated when the object being monitored moves in a relatively fast manner compared to the speed of objects being monitored so that signals generated by errors or from other noise sources are subtracted from the sensor output in a manner sufficient to allow for a deletion of these error or static signals from being a significant portion of the position signal generated by the sensor.
By way of further example, in operation, the sensor 100 may generate a relatively small reference signal that is large enough to eliminate small values of drift in a negative going direction yet is small enough not to generate a significant amount of signal due to the discrete nature of the calibration voltages from the DAC and counter combination. A relatively large reference signal that may substantially exceed the largest voltage encountered as the object moves its maximum amount is accommodated by allowing rapid recalibration due to sudden changes in offset voltage caused by rapid temperature or other changes.
With reference again to
If system parameters change suddenly and significantly, causing a large and rapid increase in the output 102S of the differential amplifier 102, the voltage at the negative input pin of the comparator 116 is set by the values chosen for resistors 110, 112, and 114 to a value higher than the dynamic signal caused by the object moving. In this way movement of the object being monitored does not cause the sensor 100 to attempt a subsequent rapid calibration of the offset level.
Referring now to
During operation of sensor 100, temperature or other environmental factors may occur that cause the output of transducer 104 to go more negative than its value during the initial preset by control 200. If this occurs, the output of amplifier 102 goes more negative, causing the output of comparator 118 to remain in a low state, keeping the counter 108 direction down and causing clock selector 132′ to connect the output of internal clock 126 to the clock input of counter 108. Each time clock 126 goes through a transition, counter 108 is decremented. The output of DAC 106 then goes lower. This continues until the output of the DAC reaches the signal level of transducer 104, at which time the output of amplifier 102 again goes above the threshold. This causes the direction of counter 108 to return to the UP direction, and causes the clock selector 132′ to block the output of the internal clock 126 from counter 108. The state of the offset compensation circuitry in sensor 100 will then remain constant.
If the output level of transducer 104 increases a sufficient amount due to noise or temperature or other effects, to go above the value of threshold 146, comparator 118 output goes high and sets counter 108 to the UP direction. During the times that the dynamic signal is known to be absent, output 300 is monitored by external control 200 for this increase in signal level relative to the direction of the dynamic signal. If the increase is significant, a clock pulse is generated by control 200. This clock pulse is connected to clock detector 144 in sensor 100. Since comparator 114 output is at a high state, the external clock pulse is connected through clock detector 144 through clock selector 132′ to the clock input of counter 108. Each positive alternation of the external clock increments the counter 108 and the DAC 106, resulting in more voltage being subtracted at amplifier 102. This brings the output 300 back down in incremental steps to the value of threshold 146. The external clock signal is stopped, and the output of the sensor 100 remains stable until the next dynamic signal or until environmental or other changes cause a change in the static level.
Note that in this general description of a block diagram incorporating the methods of using the internal and external clock, the particular selection and arrangement of circuit elements shown is simply that which facilitates an easiest explanation of a means to incorporate the said methods. Anyone practiced in the are will readily see many similar such circuit arrangements that would satisfy the requirements of the claimed methods.
Many modifications and other embodiments of the invention will come to the mind of one skilled in the art having the benefit of the teachings presented in the foregoing descriptions and the associated drawings. Therefore, it is understood that the invention is not to be limited to the specific embodiments disclosed, and that modifications and embodiments are intended to be included within the scope of the appended claims.
This is a continuation-in-part application claiming the benefit of U.S. Provisional Application Ser. No. 60/710,750 for “Position Sensor Including Error Level Compensation” having filing date Aug. 24, 2005, and of U.S. application Ser. No. 10/995,963 for “Offset Compensated Position Sensor and Method” having filing date of Nov. 23, 2004, which itself claims the benefit of U.S. Provisional Application Ser. No. 60/524,799 for “Offset Compensated Position Sensor,” and U.S. Provisional Application Ser. No. 60/524,919 for “Minimized Cross-Section Sensor Package,” both having filing date Nov. 25, 2003, all disclosures of which are herein incorporated by reference in their entirety, and all commonly owned with the instant application.
Number | Date | Country | |
---|---|---|---|
60710750 | Aug 2005 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10995963 | Nov 2004 | US |
Child | 11421180 | May 2006 | US |