The present invention is directed to position measurement, and more particularly to a position measurement system that is reconfigurable to support multiple types of sensors that provide position information.
Linear variable differential transformer (LVDT) sensors are commonly used in industrial and commercial applications to provide accurate position information to a controller. For example, in an aircraft, accurate detection of an actuator position is essential to ensure that the controller will operate an aircraft component precisely. In other words, the position of any user-controlled input device must be detected accurately to ensure proper operation of the user application. LVDT sensors are therefore popular due to their accuracy and reliability.
However, currently known systems using LVDT sensors require hardware demodulation circuitry. Although hardware demodulation circuits are readily available, they are costly and cannot be reconfigured to support sensors other than LVDT sensors. This restricts systems using LVDT sensors from supporting other types of sensors.
There is a need for a less-costly system that allows use of LVDT sensors while still preserving enough flexibility to allow the use of other sensors as well.
The present invention is directed to a reconfigurable system that conducts LVDT demodulation via software and not hardware. The LVDT output is sent through a microprocessor that calculates an LVDT position value from the LVDT output. In one embodiment, one secondary coil output from the LVDT is sampled and undergoes a root mean square calculation to obtain a LVDT position value. In another embodiment, outputs from two secondary coils in the LVDT are sampled and undergo an averaging calculation to obtain the LVDT position value.
The omission of hardware demodulation circuitry allows the system to accept sensors other than the LVDT sensors by modifying the software in the microprocessor, without requiring any changes to hardware components in the system. As a result, the inventive system provides additional flexibility while also reducing costs due to the elimination of excess hardware.
Referring to
More particularly, as the core 102 moves in the directions shown by the arrows, it changes the magnetic coupling between the primary coil 104 and the secondary coils 106, thereby changing output signals generated by the secondary coils 106 in response to an LVDT excitation at the primary coil. If the user does not move the input device, thereby keeping the core 102 stationary, the secondary coils 106 will generate one set of sine waves. If the user moves the core 102 over time, however, a LVDT carrier signal will be superimposed on the sine wave. The LVDT carrier signal eventually must be removed in a demodulation process to retrieve the original sine wave.
The LVDT sensor 102 itself can be integrated into the input device (not shown) to ensure that the position of the input device consistently and reliably generates commands that reflect the device's position.
Sine waves from both of the secondary coils 106 are sent though operational amplifiers 108, which serve as a common analog input interface that can be used to connect sensors other than the LVDT sensor 102. In conventional systems, a hardware demodulation circuit (shown in phantom) would be disposed between the operational amplifiers 108 and an A/D converter 109. In the inventive system 100, however, the demodulation functions normally conducted by the hardware demodulation circuit are conducted by software in a microprocessor 110.
Thus, as shown in
Next, the microprocessor 110 samples the sine wave outputs of the secondary coils 108 in the LVDT 102 (block 204). The specific number of samples taken can vary as long as there is a sufficient number to reconstruct the secondary coil outputs and determine LVDT position with a desired level of accuracy. In one embodiment, a minimum of three evenly spaced samples over one sine wave cycle to obtain an LVDT position accuracy of around 0.25%. The sine wave outputs will vary over time, so the number of samples to achieve a desired level of accuracy may also vary. An example of the sampling step (block 204) is shown in
Once the secondary coil outputs have been sampled, the microprocessor 110 may filter the samples (block 206) to selectively pass only the frequency of the LVDT carrier signal. This is particularly useful in environments containing high frequency normal-mode noise because it improves the normal-mode noise rejection of the system, separating the LVDT signals from the environmental noise.
The filtered samples are then used to calculate the LVDT position (block 208). In one embodiment, the LVDT position is calculated by the microprocessor 110 using a root mean square (RMS) calculation according to the following equation:
where xi is a sample from a first LVDT secondary coil, m is the mean of the signal, and N is the number of samples taken. This embodiment can calculate the LVDT based on an output from only one of the two secondary coils 108. In this example, the RMS calculation provides a statistical standard deviation with a mean value of zero.
Alternatively, the microprocessor 110 calculates the LVDT position by an averaging calculation rather than an RMS calculation. this has the advantage of eliminating high processing overhead caused by calculating the square root function in Equation 1. The averaging calculation can be conducted according to the following equation:
where yi is a sample from a second LVDT secondary coil. Note that in this embodiment, samples from both secondary coils in the LVDT are used to calculate the LVDT position and the mean of the signal is disregarded. In Equation 2, each sample is squared and summed before calculating the square root, resulting in an RMS value for each secondary coil. The LVDT position is then calculated via a ratiometric calculation.
Note that Equation 2 is immune to changes in excitation amplitude by generating a relative measure of an LVDT difference signal versus an LVDT sum signal. Dividing the LVDT difference by the LVDT sum improves common-mode noise rejection while reducing processing time when compared to conventional RMS calculation.
Once the microprocessor 110 conducts the position calculation, it generates the LVDT position output and sends the output to the D/A converter 112 to convert the microprocessor output 110 to an analog LVDT excitation signal. This LVDT excitation signal is then sent to the primary coil 104 of the LVDT 102.
Because demodulation of the secondary coil outputs is conducted entirely by software in the microprocessor 110, any changes in the LDVT frequency (e.g., for different applications) will not require any changes in the system components, as would be the case if the demodulation was conducted via hardware circuitry. Further, the lack of hardware demodulation circuitry allows the system 100 to be reconfigured to accept other types of analog sensors. As can be seen in
As a result, the inventive system provides demodulation circuitry that can be reconfigured to support sensors other than LVDT sensors. By incorporating the LVDT demodulation function on software rather than hardware, the system 100 can be significantly less expensive due to the elimination of the hardware and frees up hardware for other purposes.
It should be understood that various alternatives to the embodiments of the invention described herein may be employed in practicing the invention. It is intended that the following claims define the scope of the invention and that the method and apparatus within the scope of these claims and their equivalents be covered thereby.