A displacement sensor fault signal online detection circuit and method

By designing the online detection circuit for the displacement sensor fault signal, and using sampling, rectification and smoothing processing technologies, real-time automatic detection and rapid response of LVDT faults are achieved, solving the problems of high complexity and low reliability of existing systems.

CN115164970BActive Publication Date: 2024-11-29BBK TEST SYST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211012238.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-23
Publication Date
2024-11-29
Estimated Expiration
2042-08-23

AI Technical Summary

Technical Problem

The existing LVDT displacement sensor fault detection system has high complexity and low reliability, making it difficult to achieve real-time automatic detection and rapid response.

Method used

A displacement sensor fault signal online detection circuit is designed, including sampling circuit, conditioning circuit, reference level generation circuit and microprocessor. By sampling, rectifying and smoothing the secondary coil signal, DC value is generated, and according to the reference level Make fault judgment.

Benefits of technology

Real-time automatic detection and rapid response of LVDT faults are realized, and have the characteristics of simple structure, fast detection and high reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115164970B_ABST
    Figure CN115164970B_ABST
Patent Text Reader

Abstract

The invention discloses an online detection circuit and method for fault signals of a displacement sensor. By setting a sampling circuit, a conditioning circuit, a reference level generating circuit and a microprocessor, LVDT fault conditions can be automatically detected in real time and reported to the microprocessor. The invention has the characteristics of fast detection, high reliability and strong practicality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of industrial control technology, and in particular to an online detection circuit and method for a displacement sensor fault signal. Background Art

[0002] LVDT is a common type of linear displacement sensor. Due to its high precision, good dynamic characteristics, reliable operation and easy use, LVDT displacement sensors can be widely used in various industries of the national economy such as aerospace, machinery, chemical industry, scientific research institutions, etc. to measure elongation, vibration, etc.

[0003] At present, there are some ways to judge the fault of LVDT, including the excitation voltage of the detection coil, the voltage and frequency of the secondary coil, and the phase and amplitude of the coil channel circuit. Although it can reflect the specific fault conditions of the displacement sensor such as short circuit, open circuit, channel circuit in detail, due to the large number of detection parameters, the circuit structure is relatively complex, the cost is increased, and the reliability is relatively low. In many specific use sites, the specific fault of LVDT or channel circuit is not concerned, and it is only necessary to judge the fault and notify the system in real time. Therefore, it is of great practical significance to simply and quickly perform fault detection prompts so that the on-site system can respond quickly. Summary of the invention

[0004] The present invention is provided to solve the above problems existing in the prior art. Therefore, a displacement sensor fault signal online detection circuit and method is needed, which can automatically detect LVDT fault conditions in real time and report to a microprocessor in view of the defects of the current fault detection system such as high complexity and low reliability, and has the characteristics of simple structure, real-time detection and high reliability.

[0005] To achieve the above object, the present invention provides the following solutions:

[0006] According to the first technical solution of the present invention, there is provided a displacement sensor fault signal online detection circuit, comprising: a sampling circuit, a conditioning circuit, a reference level generating circuit, a comparator circuit, an interface level conversion circuit and a microprocessor; wherein, the third lead, the fourth lead and the fifth lead of the three leads of the secondary coil of the displacement sensor serve as the input of the circuit; the fourth lead is connected to the ground; the third lead and the fifth lead are connected to the sampling circuit; the output end of the sampling circuit is connected to the input end of the conditioning circuit; the output end of the conditioning circuit is connected to the first input end of the comparator circuit; the output end of the reference level generating circuit is connected to the second input end of the comparator circuit; the output end of the comparator circuit is connected to the input end of the interface level conversion circuit; the output end of the interface level conversion circuit is connected to the input end of the microprocessor.

[0007] Furthermore, the sampling circuit includes a first resistor and a second resistor, the second pins of the first resistor and the second resistor are both connected to the ground; the third pin of the first resistor is connected to the first pin of the third resistor; the third pin of the second resistor is connected to the first pin of the fourth resistor.

[0008] Furthermore, the conditioning circuit includes a third resistor, a fourth resistor, a fifth resistor, an amplifier A, a first capacitor, a second capacitor, a third capacitor, a first diode, and a second diode; the third resistor and the fourth resistor are both connected to the inverting input pin of the amplifier A, and are simultaneously connected to one end of the fifth resistor and the positive electrode of the first diode; the inverting input pin of the amplifier A is connected to the ground; pin 4 of the amplifier A is connected to the power supply -12V, and is simultaneously connected to one end of the second capacitor; pin 8 of the amplifier A is connected to the power supply +12V, and is simultaneously connected to one end of the first capacitor; the other ends of the first capacitor and the second capacitor are both connected to the ground; the output pin 1 of the amplifier A is connected to the cathode of the first diode and the anode of the second diode; the cathode of the second diode is connected to the fifth resistor, and is simultaneously connected to one end of the third capacitor and the inverting input pin of the amplifier B in the comparator circuit, and the other end of the third capacitor is connected to the ground.

[0009] Furthermore, the reference level generating circuit includes a sixth resistor, a seventh resistor, and a digital potentiometer; one end of the sixth resistor and the seventh resistor are both connected to a +5V power supply; the other end of the sixth resistor is connected to pin 4 of the digital potentiometer, and the other end of the seventh resistor is connected to pin 3 of the digital potentiometer; pin 1 and pin 6 of the digital potentiometer are both connected to the +5V power supply, pin 2 of the digital potentiometer is connected to ground, and pin 5 of the digital potentiometer is connected to one end of the eighth resistor in the comparator circuit.

[0010] Furthermore, the comparator circuit includes an amplifier B and an eighth resistor; the amplifier B and the amplifier A in the conditioning circuit are two parallel amplification units in the same amplifier; the eighth resistor is connected across the input and output sides of the amplifier B; the in-phase input pin 5 of the amplifier B is connected to one end of the eighth resistor and is also connected to the pin 5 of the digital potentiometer; the inverting input pin 6 of the amplifier B is connected to one end of the fifth resistor of the conditioning circuit; and the output pin 7 of the amplifier B is connected to the other end of the eighth resistor.

[0011] Furthermore, the interface level conversion circuit includes a first field effect transistor and a ninth resistor; pin 1 of the first field effect transistor is connected to output pin 7 of amplifier B, pin 2 of the first field effect transistor is connected to the ground, pin 3 of the first field effect transistor is connected to the ninth resistor, and is connected to the microprocessor at the same time; another pin of the ninth resistor is connected to the power supply +3V3.

[0012] According to the second technical solution of the present invention, there is provided a method for online detection of fault signals of a displacement sensor. Based on the online detection circuit for fault signals of the displacement sensor as described above, when the displacement sensor is working normally, the sum of the two signals of the secondary coil lead of the displacement sensor should always maintain a constant level. The signal is sampled, rectified and smoothed to generate a DC value. 0.85 times of the corresponding DC value during normal operation is selected as the reference level. The fault judgment method is as follows: when the DC value is higher than the reference level during actual working, the displacement sensor circuit is judged to be normal, otherwise the displacement sensor circuit is judged to be faulty, and a prompt signal is output to the microprocessor.

[0013] The present invention has at least the following technical effects:

[0014] According to a displacement sensor fault signal online detection circuit and method disclosed in the present invention, by setting a sampling circuit, a conditioning circuit, a reference level generating circuit and a microprocessor, LVDT fault conditions can be automatically detected in real time and reported to the microprocessor, and the circuit has the characteristics of fast detection, high reliability and strong practicality. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In the drawings, which are not necessarily drawn to scale, the same reference numerals may describe similar parts in different views. The same reference numerals with letter suffixes or different letter suffixes may represent different instances of similar parts. The accompanying drawings generally illustrate various embodiments by way of example and not limitation, and together with the specification and claims, are used to illustrate the embodiments of the invention. When appropriate, the same reference numerals are used throughout the drawings to refer to the same or similar parts. Such embodiments are illustrative and are not intended to be exhaustive or exclusive embodiments of the present apparatus or method.

[0016] Figure 1 is a functional block diagram of an embodiment of the present invention;

[0017] Figure 2 LVDT lead diagram of an embodiment of the present invention;

[0018] Figure 3 4 is a circuit diagram of an embodiment of the present invention. DETAILED DESCRIPTION

[0019] The present invention is described in more detail and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only partial embodiments of the present invention. Based on the embodiments of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the scope of protection of the present invention.

[0020] See also Figure 1The displacement sensor fault signal detection circuit of the present invention comprises a sampling circuit 1, a conditioning circuit 2, a reference level generating circuit 3, a comparator circuit 4, an interface level conversion circuit 5 and a microprocessor 6. The sampling circuit 1 outputs a signal to the conditioning circuit 2; the conditioning circuit 2 outputs a signal to the comparator circuit 4; the reference level generating circuit 3 outputs a signal to the comparator circuit 4; the comparator circuit 4 outputs a signal to the interface level conversion circuit 5; the interface level conversion circuit 5 outputs a signal to the microprocessor 6.

[0021] Figure 2 This is the lead diagram of the displacement sensor (LVDT), where Line1, Line2, Line3, Line4, and Line5 represent the first lead, second lead, third lead, fourth lead, and fifth lead of the displacement sensor, respectively. The first lead and second lead of the primary coil are connected to the excitation circuit, and the third lead, fourth lead, and fifth lead of the secondary coil are used as the input of the displacement sensor fault signal detection circuit. The fourth lead is connected to the Figure 3 the third lead and the fifth lead are connected to the sampling circuit 1, wherein the third lead is connected to the first pin of the sampling resistor R1, marked as Input_1, and the fifth lead is connected to the first pin of the sampling resistor R2, marked as Input_2.

[0022] In the specific implementation, the two signals of the displacement sensor secondary coil are sampled by the sampling circuit 1, and the two sampled signals are fed to the conditioning circuit 2 for rectification and smoothing to obtain a DC value. The two signals of the displacement sensor secondary coil and should always maintain a constant level when the sensor is working normally. Therefore, within the displacement sensor travel range, the DC value remains constant. The reference level generating circuit 3 is used to generate a reference level, which is set according to the DC value measured during debugging. In order to prevent misjudgment caused by various factors such as interference, 0.85 times of the above DC value during normal operation is selected as the reference level. The fault is judged by comparing the DC value with the reference level. For example, the DC value obtained by rectification and smoothing of the conditioning circuit 2 and the reference level generated by the reference generating circuit 3 are fed to the comparator circuit 4, and the comparator circuit 4 compares the DC value and the reference level. If the DC value is higher than the reference level during the actual working process, the LVDT sensor circuit is judged to be normal, otherwise the LVDT sensor circuit is judged to be faulty, and a prompt signal is output to the microprocessor 6. The prompt signal output by the comparator circuit 4 is level-converted by the interface level conversion circuit 5 to match the microprocessor 6, so that the microprocessor 6 can normally receive the prompt signal. This embodiment can automatically detect the fault of the displacement sensor in real time, and has the characteristics of fast detection, high reliability and high practicality.

[0023] The following embodiment of the present invention will specifically introduce the circuit structure and working principle of the sampling circuit 1, the conditioning circuit 2, the reference level generating circuit 3, the comparator circuit 4 and the interface level conversion circuit 5.

[0024] See also Figure 3 The sampling circuit 1 in the displacement sensor fault signal detection circuit includes a first resistor R1 and a second resistor R2. Pins 2 of the first resistor R1 and the second resistor R2 are both connected to the ground AGND. Pin 3 of the first resistor R1 is connected to one end of the third resistor R3 in the conditioning circuit 2; pin 3 of the second resistor R1 is connected to one end of the fourth resistor R4 in the conditioning circuit 2.

[0025] The sampling resistors selected in this example, the first resistor R1 and the second resistor R2, are both in the form of 1:1 voltage division, that is, after the two input signals are divided by the two internal series resistors with the same resistance value of the first resistor R1 and the second resistor R2, a signal with half the amplitude is output from pin 3 and then input to the conditioning circuit 2.

[0026] The conditioning circuit 2 in the displacement sensor fault signal detection circuit is connected to the sampling circuit 1 and the comparator circuit 4 respectively; the conditioning circuit 2 includes a third resistor R3, a fourth resistor R4, a fifth resistor R5, an amplifier U1A, a first capacitor C1, a second capacitor C2, a third capacitor C3, a first diode D1, and a second diode D2. The other ends of the third resistor R3 and the fourth resistor R4 are connected to the inverting input pin 2 of the amplifier U1A, and one end of the fifth resistor R5 is connected to the positive electrode of the first diode D1. The non-inverting input pin 3 of the amplifier U1A is connected to AGND. Pin 4 of the amplifier U1A is connected to the power supply -12V and one end of the second capacitor C2; Pin 8 of the amplifier U1A is connected to the power supply +12V and one end of the first capacitor C1. The other ends of the first capacitor C1 and the second capacitor C2 are both connected to ANGD. The output pin 1 of the amplifier U1A is connected to the negative electrode of the first diode D1 and the positive electrode of the second diode D2. The cathode of the second diode D2 is connected to the other end of the fifth resistor R5, and is also connected to one end of the third capacitor C3 and the inverting input pin 6 of the amplifier U1B in the comparator circuit 4. The other end of the third capacitor C3 is connected to AGND.

[0027] The two signals of the input conditioning circuit 2 are respectively input to the inverting input pin 2 of the amplifier U1A after passing through the third resistor R3 and the fourth resistor R4 for superposition. The amplifier U1A, the first capacitor C1, the second capacitor C2, the third resistor R3, the fourth resistor R4, the fifth resistor R5, the first diode D1, and the second diode D2 jointly complete the half-wave rectification function. When the superimposed signal is positive, the first diode D1 is turned on and the second diode D2 is turned off. The amplifier U1A outputs a negative value, that is, the voltage drop of the diode D1, and the total output of the circuit is 0. When the superimposed signal is negative, the first diode D1 is turned off and the second diode D2 is turned on. An inverting amplifier is formed as a whole, and the gain is jointly determined by the third resistor R3, the fourth resistor R4, and the fifth resistor R5. The result is that the output signal inverts and amplifies the negative signal of the superimposed signal and outputs a positive signal. After the signal is filtered by the third capacitor C3, a constant DC level is output.

[0028] The reference level generating circuit 3 in the displacement sensor fault signal detecting circuit includes a sixth resistor R6, a seventh resistor R7, and a digital potentiometer U2, which are connected to a comparator circuit 4. One end of the sixth resistor R6 and the seventh resistor R7 are both connected to a +5V power supply. The other end of the sixth resistor R6 is connected to pin 4 of the digital potentiometer U2, and the other end of the seventh resistor R7 is connected to pin 3 of the digital potentiometer U2. Pins 1 and 6 of the digital potentiometer U2 are both connected to a +5V power supply, pin 2 is connected to AGND, and pin 5 is connected to one end of the eighth resistor R8 in the comparator circuit 4. Pins 3 and 4 of the digital potentiometer U2 are also connected to two control pins of the microprocessor.

[0029] In the example, the digital potentiometer U2 is a 32-step digital potentiometer MAX5468EUT, and the level output range is from 0 to 5V. The two control pins of the digital potentiometer U2, pin 3 and pin 4, form a two-wire serial interface, and the microprocessor 6 outputs a control signal to set the specific output level value. The level value is output by the output pin 5 of the potentiometer U2.

[0030] The comparator circuit 4 in the displacement sensor fault signal detection circuit is composed of an amplifier U1B and an eighth resistor R8; the amplifier U1B and the amplifier U1A in the conditioning circuit 2 are two parallel amplification units of the amplifier U1; the eighth resistor R8 is connected across the input and output sides of the amplifier U1B. The in-phase input pin 5 of the amplifier U1B is connected to one end of the eighth resistor R8 and to pin 5 of the digital potentiometer U2; the inverting input pin 6 is connected to one end of the fifth resistor R5 of the conditioning circuit 2; the output pin 7 is connected to the other end of the eighth resistor R8 and to pin 1 of the first field effect transistor Q1 in the interface level conversion circuit 5.

[0031] The eighth resistor R8 is connected across the non-inverting input pin 5 and the output pin 7 of the amplifier U1B to form a positive feedback circuit to realize the hysteresis comparator function. When the level of the inverting input pin 6 of the amplifier U1B is higher than the level of the non-inverting input pin 5, the output pin 7 of the operational amplifier U1B generates a low level; when the level of the inverting input pin 6 of the amplifier U1B is lower than the level of the non-inverting input pin 5, the output pin 7 of the operational amplifier U1B outputs a high level.

[0032] The interface level conversion circuit 5 in the displacement sensor fault signal detection circuit includes a first field effect transistor Q1 and a ninth resistor R9, which are respectively connected to the comparator circuit 4 and the microprocessor 6. Pin 1 of the first field effect transistor Q1 is connected to the output pin 7 of the amplifier U1B, pin 2 is connected to AGND, and pin 3 is connected to the ninth resistor R9, and is also connected to the microprocessor 6. The other pin of the ninth resistor R9 is connected to the power supply +3V3.

[0033] In the example, the first field effect transistor Q1 is an N-channel enhancement type field effect transistor. The ninth resistor R9 is connected between the drain of the first field effect transistor Q1 and the power supply +3V3. When the comparator circuit 4 outputs a high level, the gate voltage of the first field effect transistor Q1 is higher than the source voltage, Q1 is turned on, and the interface level conversion circuit 4 outputs a low level; when the comparator circuit 4 outputs a low level, the first field effect transistor Q1 is turned off, and the interface level conversion circuit 4 outputs a high level.

[0034] According to the working principle of displacement sensor, the sum of the induced electromotive force of the two secondary coils remains constant during normal operation. When LVDT fails, the sum value will decrease. If the difference between the sum value and the normal operation value exceeds the threshold value, it is judged as a failure.

[0035] See also Figure 3 , the secondary coil signals Input_1 and Input_2 generate a DC value after passing through the sampling circuit and signal conditioning circuit. This DC value is input to the inverting input pin 6 of the op amp U1B in the comparator circuit. This DC value remains constant throughout the entire LVDT travel range. To prevent misjudgment caused by factors such as signal interference, 0.85 times the above DC value is set as the reference level during normal operation.

[0036] The reference level is set by a 32-step digital potentiometer U2. In the embodiment, the device MAX5468EUT is selected as the digital potentiometer, and the level output range is from 0 to 5 V. The microprocessor 6 outputs a signal to the digital potentiometer U2 to set a specific level value.

[0037] When debugging the LVDT, set the digital potentiometer U2 to a higher level, such as 4.8V. This will inevitably cause a fault during the LVDT stroke. Gradually lower the set level to ensure that there is no fault signal output within the entire LVDT stroke range. After finding the level, take 0.85 times the value and set it in the digital potentiometer as the reference level.

[0038] The steps for fault diagnosis of displacement sensor are as follows:

[0039] At the work site, when the LVDT works normally throughout the entire stroke, the voltage level of the inverting input pin 6 of the op amp U1B is higher than that of the non-inverting input pin 5, so the output pin 7 of the op amp U1B remains low, and the field effect transistor Q1 outputs a high level accordingly.

[0040] When the LVDT fails at any time, the voltage level of the inverting input pin 6 of the operational amplifier U1B is lower than that of the non-inverting input pin 5, so the output pin 7 of the operational amplifier U1B becomes high, and the output of the field effect transistor Q1 becomes low, which is input to the microprocessor 6 to realize fault detection.

[0041] In summary, compared with the prior art, the present invention discloses a displacement sensor fault signal detection circuit and method, which can automatically detect LVDT fault conditions in real time and report to the microprocessor by setting a sampling circuit, a conditioning circuit, a reference level generating circuit and a microprocessor, and has the characteristics of fast detection, high reliability and strong practicality.

[0042] The above description of the disclosed embodiments enables professionals and technicians in the field to implement or use the present invention. Modifications to this embodiment will be apparent to professionals and technicians in the field. The general principles defined herein can be implemented in other embodiments without departing from the scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but will conform to the maximum scope consistent with the principles disclosed herein.

Claims

1. A displacement sensor fault signal online detection circuit, characterized in that: include: A sampling circuit, a conditioning circuit, a reference level generating circuit, a comparator circuit, an interface level conversion circuit and a microprocessor; wherein the third lead, the fourth lead and the fifth lead of the three leads of the secondary coil of the displacement sensor are used as inputs of the circuit; The fourth lead is connected to the ground; the third lead and the fifth lead are connected to the sampling circuit; The output end of the sampling circuit is connected to the input end of the conditioning circuit; The output end of the conditioning circuit is connected to the first input end of the comparator circuit; The output end of the reference level generating circuit is connected to the second input end of the comparator circuit; The output end of the comparator circuit is connected to the input end of the interface level conversion circuit; The output end of the interface level conversion circuit is connected to the input end of the microprocessor; The sampling circuit includes a first resistor and a second resistor, wherein the second pins of the first resistor and the second resistor are both connected to the ground; the third pin of the first resistor is connected to the first pin of the third resistor; and the third pin of the second resistor is connected to the first pin of the fourth resistor; The conditioning circuit includes a third resistor, a fourth resistor, a fifth resistor, an amplifier A, a first capacitor, a second capacitor, a third capacitor, a first diode, and a second diode; the third resistor and the fourth resistor are both connected to the inverting input pin of the amplifier A, and are simultaneously connected to one end of the fifth resistor and the positive electrode of the first diode; the inverting input pin of the amplifier A is connected to the ground; the pin 4 of the amplifier A is connected to the power supply -12V, and is simultaneously connected to one end of the second capacitor; the pin 8 of the amplifier A is connected to the power supply +12V, and is simultaneously connected to one end of the first capacitor; the other ends of the first capacitor and the second capacitor are both connected to the ground; the output pin 1 of the amplifier A is connected to the negative electrode of the first diode and the positive electrode of the second diode; the negative electrode of the second diode is connected to the fifth resistor, and is simultaneously connected to one end of the third capacitor and the inverting input pin of the amplifier B in the comparator circuit, and the other end of the third capacitor is connected to the ground; The reference level generating circuit comprises a sixth resistor, a seventh resistor, and a digital potentiometer; one end of each of the sixth resistor and the seventh resistor is connected to a +5V power supply; the other end of the sixth resistor is connected to a pin 4 of the digital potentiometer, and the other end of the seventh resistor is connected to a pin 3 of the digital potentiometer; pins 1 and 6 of the digital potentiometer are connected to a +5V power supply, a pin 2 of the digital potentiometer is connected to ground, and a pin 5 of the digital potentiometer is connected to one end of an eighth resistor in the comparator circuit; The comparator circuit includes an amplifier B and an eighth resistor; the amplifier B and the amplifier A in the conditioning circuit are two parallel amplification units in the same amplifier; the eighth resistor is connected across the input and output sides of the amplifier B; the in-phase input pin 5 of the amplifier B is connected to one end of the eighth resistor and is also connected to the pin 5 of the digital potentiometer; the inverting input pin 6 of the amplifier B is connected to one end of the fifth resistor of the conditioning circuit; the output pin 7 of the amplifier B is connected to the other end of the eighth resistor; The interface level conversion circuit includes a first field effect transistor and a ninth resistor; pin 1 of the first field effect transistor is connected to output pin 7 of amplifier B, pin 2 of the first field effect transistor is connected to ground, pin 3 of the first field effect transistor is connected to the ninth resistor, and is also connected to the microprocessor; another pin of the ninth resistor is connected to the power supply +3V3.

2. A method for online detection of fault signals of a displacement sensor, characterized in that: Based on the displacement sensor fault signal online detection circuit of claim 1, when the displacement sensor is working normally, the sum of the two signals of the secondary coil lead of the displacement sensor should always maintain a constant level, and the signal is sampled, rectified and smoothed to generate a DC value; 0.85 times the corresponding DC value during normal operation is selected as the reference level; The fault judgment method is as follows: When the DC value is higher than the reference level during the actual working process, it is judged that the displacement sensor circuit is normal, otherwise it is judged that the displacement sensor circuit is faulty and a prompt signal is output to the microprocessor.

Citation Information

Patent Citations

  • Displacement sensor receiving channel monitoring circuit

    CN105527906A

  • Fault detection circuit and device

    CN110208685A