CN112432721A - Pressure sensor fault detection circuit and method and pressure sensor - Google Patents

Pressure sensor fault detection circuit and method and pressure sensor Download PDF

Info

Publication number
CN112432721A
CN112432721A CN202011334462.9A CN202011334462A CN112432721A CN 112432721 A CN112432721 A CN 112432721A CN 202011334462 A CN202011334462 A CN 202011334462A CN 112432721 A CN112432721 A CN 112432721A
Authority
CN
China
Prior art keywords
circuit
detection
signal
pressure sensor
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011334462.9A
Other languages
Chinese (zh)
Inventor
王小平
曹万
杨军
洪鹏
梁世豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Finemems Inc
Original Assignee
Wuhan Finemems Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Finemems Inc filed Critical Wuhan Finemems Inc
Priority to CN202011334462.9A priority Critical patent/CN112432721A/en
Publication of CN112432721A publication Critical patent/CN112432721A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L1/00Measuring force or stress, in general
    • G01L1/14Measuring force or stress, in general by measuring variations in capacitance or inductance of electrical elements, e.g. by measuring variations of frequency of electrical oscillators
    • G01L1/142Measuring force or stress, in general by measuring variations in capacitance or inductance of electrical elements, e.g. by measuring variations of frequency of electrical oscillators using capacitors
    • G01L1/144Measuring force or stress, in general by measuring variations in capacitance or inductance of electrical elements, e.g. by measuring variations of frequency of electrical oscillators using capacitors with associated circuitry
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L25/00Testing or calibrating of apparatus for measuring force, torque, work, mechanical power, or mechanical efficiency
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L27/00Testing or calibrating of apparatus for measuring fluid pressure
    • G01L27/007Malfunction diagnosis, i.e. diagnosing a sensor defect
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L9/00Measuring steady of quasi-steady pressure of fluid or fluent solid material by electric or magnetic pressure-sensitive elements; Transmitting or indicating the displacement of mechanical pressure-sensitive elements, used to measure the steady or quasi-steady pressure of a fluid or fluent solid material, by electric or magnetic means
    • G01L9/0041Transmitting or indicating the displacement of flexible diaphragms
    • G01L9/0072Transmitting or indicating the displacement of flexible diaphragms using variations in capacitance
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L9/00Measuring steady of quasi-steady pressure of fluid or fluent solid material by electric or magnetic pressure-sensitive elements; Transmitting or indicating the displacement of mechanical pressure-sensitive elements, used to measure the steady or quasi-steady pressure of a fluid or fluent solid material, by electric or magnetic means
    • G01L9/12Measuring steady of quasi-steady pressure of fluid or fluent solid material by electric or magnetic pressure-sensitive elements; Transmitting or indicating the displacement of mechanical pressure-sensitive elements, used to measure the steady or quasi-steady pressure of a fluid or fluent solid material, by electric or magnetic means by making use of variations in capacitance, i.e. electric circuits therefor

Abstract

The invention discloses a pressure sensor fault detection circuit and method and a pressure sensor, and relates to the technical field of sensors. The pressure sensor fault detection circuit comprises a setting processor, a sampling circuit and a detection circuit; the sampling circuit is used for collecting a detection output signal of a measuring circuit in the pressure sensor and transmitting the detection output signal to the detection circuit; the detection circuit is used for detecting the detection output signal to obtain a detection signal and transmitting the detection signal to the processor; and the processor is used for determining the fault information of the pressure sensor according to the detection signal. The invention obtains the corresponding detection signal by detecting the detection output signal of the pressure sensor. The detection signal can reflect the signal characteristics of the detection output signal output by the pressure sensor, and the processor can determine the output characteristics of the pressure sensor according to the detection signal, so as to determine the fault information.

Description

Pressure sensor fault detection circuit and method and pressure sensor
Technical Field
The invention relates to the technical field of sensors, in particular to a pressure sensor fault detection circuit and method and a pressure sensor.
Background
A pressure sensor is a device or apparatus that senses a pressure signal and converts the pressure signal into a usable output electrical signal according to a certain rule. Generally, the measuring circuit of the pressure sensor is composed of electronic devices such as a capacitor and a resistor. As usage time increases, parameters of the electronics change, causing numerical drift and resulting pressure sensor failure. In order to ensure the accuracy of the measurement, it is necessary to compensate the value or replace the pressure sensor after the sensor has failed. The specific measures need to be determined based on the failure information of the pressure sensor. Therefore, how to determine the fault information of the pressure sensor is an urgent technical problem to be solved.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a pressure sensor fault detection circuit, a pressure sensor fault detection method and a pressure sensor, and aims to solve the technical problem of determining fault information of the pressure sensor.
In order to achieve the above object, the present invention provides a pressure sensor failure detection circuit, including: the device comprises a processor, a sampling circuit and a detection circuit; the input end of the sampling circuit is connected with the output end of a measuring circuit in the pressure sensor, the output end of the sampling circuit is connected with the input end of the detection circuit, and the processor is respectively connected with the control end of the sampling circuit and the output end of the detection circuit;
the sampling circuit is used for collecting the detection output signal of the measuring circuit and transmitting the detection output signal to the detection circuit;
the detection circuit is used for detecting the detection output signal to obtain a detection signal and transmitting the detection signal to the processor;
and the processor is used for determining the fault information of the pressure sensor according to the detection signal.
Optionally, the detection signal includes a peak detection signal and a phase angle detection signal, and the detection circuit includes a peak detection circuit and a phase detection circuit; the output end of the sampling circuit is respectively connected with the input end of the peak value detection circuit and the input end of the phase detection circuit; the processor is respectively connected with the output end of the peak value detection circuit and the output end of the phase detection circuit;
the peak detection circuit is used for carrying out peak detection on the detection output signal to obtain a peak detection signal and transmitting the peak detection signal to the processor;
the phase detection circuit is used for carrying out phase detection on the detection output signal to obtain a phase angle detection signal and transmitting the phase angle detection signal to the processor.
Optionally, the peak detection circuit includes a first diode, a capacitor, and a first resistor;
the anode of the first diode is connected with the output end of the sampling circuit, the cathode of the first diode is respectively connected with the first end of the capacitor, the first end of the first resistor and the processor, the second end of the capacitor is grounded, and the second end of the second resistor is grounded.
Optionally, the phase detection circuit includes a first amplification circuit, a second amplification circuit, a trigger circuit, and a signal source circuit; the input end of the first amplifying circuit is connected with the output end of the sampling circuit, the output end of the first amplifying circuit is connected with the first input end of the trigger circuit, the input end of the second amplifying circuit is connected with the output end of the signal source circuit, the output end of the second amplifying circuit is connected with the second input end of the trigger circuit, and the output end of the trigger circuit is connected with the processor;
the signal source circuit is used for generating a reference signal and transmitting the reference signal to the second amplifying circuit;
the first amplifying circuit is used for amplifying the detection output signal to obtain a first amplifying signal and transmitting the first amplifying signal to the trigger circuit;
the second amplifying circuit is used for amplifying the reference signal to obtain a second amplified signal and transmitting the second amplified signal to the trigger circuit;
the trigger circuit is configured to generate a phase angle detection signal according to the first amplified signal and the second amplified signal, and transmit the phase angle detection signal to the processor.
Optionally, the first amplifying circuit includes a first amplifier, a second resistor, a third resistor, a fourth resistor, a second diode, and a third diode;
the first end of second resistance with sampling circuit's output is connected, the second end of second resistance respectively with the first end of third resistance, the positive pole of second diode the negative pole of third diode and the positive phase input of first amplifier is connected, the second end of third resistance respectively with the first end of fourth resistance and the output of first amplifier is connected, the second end of fourth resistance with predetermine the power and be connected, the output of first amplifier with the first input of trigger circuit is connected, the negative phase input of first amplifier respectively with the negative pole of second diode and the positive pole of third diode is connected, the negative phase input of first amplifier still ground connection.
Optionally, the second amplifying circuit includes a second amplifier, a fifth resistor, a sixth resistor, a seventh resistor, a fourth diode, and a fifth diode;
the first end of the fifth resistor is connected with the output end of the signal source circuit, the second end of the fifth resistor is respectively connected with the first end of the sixth resistor, the anode of the fourth diode, the cathode of the fifth diode and the positive phase input end of the second amplifier, the second end of the sixth resistor is respectively connected with the first end of the seventh resistor and the output end of the second amplifier, the second end of the seventh resistor is connected with a preset power supply, the output end of the second amplifier is connected with the second input end of the trigger circuit, the negative phase input end of the second amplifier is respectively connected with the cathode of the fourth diode and the anode of the fifth diode, and the negative phase input end of the second amplifier is also grounded.
Optionally, the flip-flop circuit includes a first flip-flop and a second flip-flop;
the trigger input end of the first trigger is connected with the output end of the first amplifying circuit, the output end of the first trigger is connected with the processor, the set port of the first trigger is grounded, the data input end of the first trigger is connected with a preset power supply, the reverse output end of the first trigger is connected with the reset port of the second trigger, and the reset port of the first trigger is connected with the output port of the second trigger;
the trigger input end of the second trigger is connected with the output end of the second amplifying circuit, the set port of the second trigger is grounded, the data input end of the second trigger is connected with the preset power supply, and the reverse output end of the second trigger is empty.
Optionally, the detection output signal includes an amplifier output signal and a bridge output signal; the first input end of the sampling circuit is connected with the output end of the amplifier of the measuring circuit, and the second input end of the sampling circuit is connected with the output end of the bridge of the measuring circuit;
the sampling circuit is used for collecting an amplifier output signal and a bridge output signal of the measuring circuit and transmitting the amplifier output signal and the bridge output signal to the detection circuit.
To achieve the above object, the present invention also provides a pressure sensor fault detection method applied to a pressure sensor fault detection circuit as described above, the pressure sensor fault detection circuit including a processor, a sampling circuit, and a detection circuit, the pressure sensor fault detection method including the steps of:
the sampling circuit collects a detection output signal of a measuring circuit in the pressure sensor and transmits the detection output signal to the detection circuit;
the detection circuit detects the detection output signal to obtain a detection signal, and transmits the detection signal to the processor;
and the processor determines the fault information of the pressure sensor according to the detection signal.
To achieve the above object, the present invention also proposes a pressure sensor including the pressure sensor failure detection circuit as described above, or applying the pressure sensor failure detection method as described above.
In the invention, a processor, a sampling circuit and a detection circuit are arranged to form a pressure sensor fault detection circuit; the sampling circuit is used for collecting a detection output signal of a measuring circuit in the pressure sensor and transmitting the detection output signal to the detection circuit; the detection circuit is used for detecting the detection output signal to obtain a detection signal and transmitting the detection signal to the processor; and the processor is used for determining the fault information of the pressure sensor according to the detection signal. The invention obtains the corresponding detection signal by detecting the detection output signal of the pressure sensor. The detection signal can reflect the signal characteristics of the detection output signal output by the pressure sensor, and the processor can determine the output characteristics of the pressure sensor according to the detection signal, so as to determine the fault information.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a schematic circuit diagram of a first embodiment of a pressure sensor fault detection circuit according to the present invention;
FIG. 2 is a schematic circuit diagram of a second embodiment of the pressure sensor fault detection circuit of the present invention;
FIG. 3 is a schematic circuit diagram of an embodiment of a peak detection circuit according to the present invention;
FIG. 4 is a functional diagram of a phase detection circuit according to an embodiment of the present invention;
FIG. 5 is a schematic circuit diagram of a phase detection circuit according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of the input and output of the phase detection circuit according to the present invention;
fig. 7 is a flowchart illustrating a method for detecting a failure of a pressure sensor according to a first embodiment of the present invention.
The reference numbers illustrate:
reference numerals Name (R) Reference numerals Name (R)
10 Pressure sensor fault detection circuit R1~R7 First to seventh resistors
101 Processor with a memory having a plurality of memory cells D1~D5 First to fifth diodes
102 Sampling circuit A1~A2 First to second amplifiers
103 Detection circuit B1~B2 First to second flip-flops
1031 Peak detection circuit C Capacitor with a capacitor element
1032 Phase detection circuit VCC Presetting power supply
10321 First amplifying circuit D Data input terminal
10322 Second amplifying circuit Q Data output terminal
10323 Flip-flop circuit Q Reverse output end
10324 Signal source circuit SET Setting port
20 Measuring circuit CLR Reset port
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly.
In addition, the descriptions related to "first", "second", etc. in the present invention are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions in the embodiments may be combined with each other, but it must be based on the realization of those skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should be considered to be absent and not within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic circuit structure diagram of a first embodiment of the pressure sensor fault detection circuit of the present invention.
As shown in fig. 1, in the first embodiment, the pressure sensor failure detection circuit 10 includes: a processor 101, a sampling circuit 102, and a detection circuit 103; the input end of the sampling circuit 102 is connected with the output end of the measuring circuit 20 in the pressure sensor, the output end of the sampling circuit 102 is connected with the input end of the detecting circuit 103, and the processor 101 is respectively connected with the control end of the sampling circuit 102 and the output end of the detecting circuit 103.
The pressure sensor may be a variable-pitch single-capacitor type sensor, in which an electrode is circular, an upper fixed electrode is fixed by an insulator, a lower variable electrode is provided, a diaphragm below the variable electrode is subjected to a pressure (generally, a liquid) to be subjected to a flexural deformation, a distance between the variable electrode and the fixed electrode is changed to change a value of a capacitance, and an electric signal is generated to indicate a magnitude of the pressure.
Generally, a sensor diaphragm consists of a circular working electrode and an annular reference electrode, and the working electrode and a common electrode form a sensitive capacitor; the reference electrode and the common electrode constitute a reference capacitance. Pressure is uniformly applied to the diaphragm through the conduit to cause a change in the diaphragm, resulting in a change in the sensitive capacitance, while the reference capacitance changes slightly. The measuring circuit 20 may further be provided with two auxiliary capacitors, which together with the sensitive capacitor and the reference capacitor form 4 arms of a bridge, and the diagonal potential difference of the bridge is output as a bridge output, which is used as a signal output end of the sensor and connected to the input end of the sampling circuit 102.
And the sampling circuit 102 is used for collecting the detection output signal of the measurement circuit 20 and transmitting the detection output signal to the detection circuit 103.
It will be appreciated that in use, the bridge is connected to an operating voltage and the sensor diaphragm is subjected to a pressure, which causes a change in the sensitive capacitance and hence a change in the output of the bridge and hence a sensed output signal. If the electronic components in the measuring circuit are changed, the peak value or phase angle of the actually output detection output signal will be changed compared with the calibrated detection output signal.
In this embodiment, the detection output signal includes an amplifier output signal and a bridge output signal; a first input of sampling circuit 102 is connected to an amplifier output of measuring circuit 20, and a second input of sampling circuit 102 is connected to a bridge output of measuring circuit 20. And the sampling circuit is used for acquiring the amplifier output signal and the bridge output signal of the measuring circuit 20 and transmitting the amplifier output signal and the bridge output signal to the detection circuit 103.
It will be appreciated that in order to make the signal output by the measurement circuit more discriminative, an amplifier is usually connected in parallel across the sensing capacitor. In order to obtain more sensor data, so as to perhaps confirm fault information, the present embodiment may collect the amplifier output signal and the bridge output signal when collecting the detection output signal. The amplifier output signal is a voltage signal output by the amplifier, and the bridge output signal is a voltage signal output by the bridge.
It should be noted that, because there are two input signals, the sampling circuit 102 may be provided with a single-pole double-throw switch at an input end, a first input end of the single-pole double-throw switch is connected to the output end of the amplifier, and a second input end of the single-pole double-throw switch is connected to the output end of the bridge. Interference between the signals is avoided by switching the closed sides of the single pole double throw switches to provide a detection output signal to the detection circuit 103. For example, the bridge output signal may be detected first, and after the detection is completed, the closed side of the single-pole double-throw switch is switched to detect the amplifier output signal.
The detection circuit 103 is configured to detect the detection output signal, obtain a detection signal, and transmit the detection signal to the processor 101.
The detection signal is a voltage signal, and differs depending on the information extracted from the detection output signal by the detection circuit 103. For example, the detection circuit 103 may extract peak information from the detection output signal, and the detection signal is a peak detection signal; alternatively, the detection circuit 103 may extract phase angle information from the detection output signal, and the detection signal is a phase angle detection signal.
And the processor 101 is used for determining the fault information of the pressure sensor according to the detection signal.
It should be noted that preset calibration information is stored in the processor, and the processor compares the detection signal with the calibration information, so that the fault information of the pressure sensor can be determined. For example, the calibration information stores a peak value of 400mA and a phase angle of-23 of the detected output signal at a pressure of 10 Kpa. If the actually detected peak value is 410mA and the phase angle is-20 when 10Kpa pressure is applied during testing, the sensor is indicated to have a fault.
Furthermore, the fault position can be positioned according to the change condition according to the internal structure of the measuring circuit. For example, if the transmission value of the auxiliary capacitor drifts, the bridge output signal will be affected, but the amplifier output signal will not be affected. If the reference capacitor has numerical drift, the phase angle of the output signal of the amplifier is not influenced.
In the first embodiment, a pressure sensor failure detection circuit is constituted by providing a processor, a sampling circuit, and a detection circuit; the sampling circuit is used for collecting a detection output signal of a measuring circuit in the pressure sensor and transmitting the detection output signal to the detection circuit; the detection circuit is used for detecting the detection output signal to obtain a detection signal and transmitting the detection signal to the processor; and the processor is used for determining the fault information of the pressure sensor according to the detection signal. The invention obtains the corresponding detection signal by detecting the detection output signal of the pressure sensor. The detection signal can reflect the signal characteristics of the detection output signal output by the pressure sensor, and the processor can determine the output characteristics of the pressure sensor according to the detection signal, so as to determine the fault information.
Referring to fig. 2, fig. 2 is a schematic circuit structure diagram of a second embodiment of the pressure sensor fault detection circuit of the present invention. Based on the above-described first embodiment, a second embodiment of the pressure sensor failure detection circuit of the present invention is proposed.
As shown in fig. 2, in the second embodiment, the detection signal includes a peak detection signal and a phase angle detection signal, and the detection circuit 103 includes a peak detection circuit 1031 and a phase detection circuit 1032; the output end of the sampling circuit 102 is connected to the input end of the peak detection circuit 1031 and the input end of the phase detection circuit 1032, respectively; the processor 101 is connected to an output terminal of the peak detection circuit 1031 and an output terminal of the phase detection circuit 1032, respectively.
It should be noted that the sampling circuit 102 may also be provided with a single-pole double-throw switch at an output end thereof for selecting the detection mode, a first output end of the single-pole double-throw switch is connected to the input end of the peak detection circuit 1031, and a second output end of the single-pole double-throw switch is connected to the input end of the phase detection circuit 1032. The detection output signal is selectively provided to the peak detection circuit 1031 or the phase detection circuit 1032 by switching the closed side of the single-pole double-throw switch. For example, the detection output signal may be transmitted to the peak detection circuit 1031 for peak detection. After the detection is completed, the closed side of the single-pole double-throw switch is switched, and the detection output signal is transmitted to the phase detection circuit 1032 for phase angle detection.
A peak detection circuit 1031, configured to perform peak detection on the detection output signal, obtain a peak detection signal, and transmit the peak detection signal to the processor 101.
The detection output signal is typically a sine wave or cosine wave signal. The peak detection circuit 1031 stores the peak voltage of the detection output signal to obtain a corresponding peak detection signal. The peak detection signal is a voltage signal whose voltage value is the peak value of the detection output signal.
Referring to fig. 3, fig. 3 is a schematic circuit diagram of a peak detection circuit according to an embodiment of the invention.
In particular implementation, the peak detection circuit 1031 includes a first diode D1, a capacitor C, and a first resistor R1; an anode of the first diode D1 is connected to an output terminal of the sampling circuit 102, a cathode of the first diode D2 is connected to a first terminal of a capacitor C, a first terminal of a first resistor R1, and the processor 101, respectively, a second terminal of the capacitor C is grounded, and a second terminal of the second resistor R2 is grounded.
It will be appreciated that the first diode D1 filters out the negative half-wave signal of the detection output signal, leaving the positive half-wave signal. In the rising interval of the positive half-wave signal, the capacitor C is charged so that the voltage value output to the processor 102 reaches the peak value. In the falling interval of the positive half-wave signal, the voltage begins to decrease, the current of the first resistor R1 cannot change suddenly, the capacitor discharges, the output voltage value is maintained at the peak value, and the extraction of the peak voltage of the detected output signal is realized.
A phase detection circuit 1032 is configured to perform phase detection on the detection output signal, obtain a phase angle detection signal, and transmit the phase angle detection signal to the processor 101.
It is understood that the detection output signal is typically a sine wave or cosine wave signal, and the phase angle of the detection output signal changes as the sensitive capacitance changes. The phase detection circuit 1032 obtains a corresponding phase angle detection signal by detecting a phase angle of the output signal. The phase angle detection signal is a pulse signal whose high level duration is the delay time of the detection output signal with respect to the pure sine wave.
Referring to fig. 4, fig. 4 is a functional diagram of a phase detection circuit according to an embodiment of the invention.
As shown in fig. 4, the phase detection circuit 1032 includes a first amplification circuit 10321, a second amplification circuit 10322, a flip-flop circuit 10323, and a signal source circuit 10324; an input terminal of the first amplifying circuit 10321 is connected to an output terminal of the sampling circuit 102, an output terminal of the first amplifying circuit 10321 is connected to a first input terminal of the flip-flop circuit 10323, an input terminal of the second amplifying circuit 10322 is connected to an output terminal of the signal source circuit 10324, an output terminal of the second amplifying circuit 10322 is connected to a second input terminal of the flip-flop circuit 10323, and an output terminal of the flip-flop circuit 10323 is connected to the processor 101.
A signal source circuit 10324 for generating a reference signal and transmitting the reference signal to the second amplification circuit 10322; a first amplifying circuit 10321 configured to amplify the detection output signal to obtain a first amplified signal, and transmit the first amplified signal to the flip-flop circuit 10323; a second amplifying circuit 10322, configured to amplify the reference signal to obtain a second amplified signal, and transmit the second amplified signal to the flip-flop circuit 10323; a flip-flop circuit 10323 for generating a phase angle detection signal from the first amplified signal and the second amplified signal and transmitting the phase angle detection signal to the processor 101.
It should be noted that the reference signal is a standard sine wave signal, and the signal source circuit can be controlled by the processor 101, and upon detecting the presence of the input signal in the phase detection circuit 1032, the signal source circuit 10324 is enabled to generate the reference signal.
It can be understood that the present embodiment accomplishes detecting the phase angle of the output signal by comparing the detected output signal with the reference signal and outputting the pulse signal through the flip-flop circuit 10323.
Referring to fig. 5, fig. 5 is a schematic circuit diagram of a phase detection circuit according to an embodiment of the invention.
As shown in fig. 5, the first amplification circuit 10321 includes a first amplifier a1, a second resistor R2, a third resistor R3, a fourth resistor R4, a second diode D2, and a third diode D3. A first end of the second resistor R2 is connected to an output end of the sampling circuit 102, a second end of the second resistor R2 is connected to a first end of the third resistor R3, an anode of the second diode D2, a cathode of the third diode D3, and a positive input end of the first amplifier a1, a second end of the third resistor R3 is connected to a first end of the fourth resistor R4 and an output end of the first amplifier a1, a second end of the fourth resistor R4 is connected to a predetermined power supply, an output end of the first amplifier a1 is connected to a first input end of the flip-flop circuit 10323, a negative input end of the first amplifier a1 is connected to a cathode of the second diode D2 and an anode of the third diode D3, and a negative input end of the first amplifier a1 is further connected to ground.
The second amplification circuit 10322 includes a second amplifier a2, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, a fourth diode D4, and a fifth diode D5; a first end of the fifth resistor R5 is connected to the output end of the signal source circuit 10324, a second end of the fifth resistor R5 is connected to a first end of the sixth resistor R6, an anode of the fourth diode D4, a cathode of the fifth diode D5, and a positive input end of the second amplifier a2, a second end of the sixth resistor R6 is connected to a first end of the seventh resistor R7 and an output end of the second amplifier a2, a second end of the seventh resistor R7 is connected to a predetermined power supply, an output end of the second amplifier a2 is connected to a second input end of the flip-flop circuit 10323, a negative input end of the second amplifier a2 is connected to a cathode of the fourth diode D4 and an anode of the fifth diode D5, and a negative input end of the second amplifier a2 is further grounded.
The flip-flop circuit 10323 includes a first flip-flop B1 and a second flip-flop B2; a trigger input terminal of the first flip-flop B1 is connected to an output terminal of the first amplifying circuit 10321, a data output terminal Q of the first flip-flop B1 is connected to the processor 101, a SET port SET of the first flip-flop B1 is grounded, a data input terminal D of the first flip-flop B1 is connected to a preset power source VCC, and an inverted output terminal of the first flip-flop B1
Figure BDA0002795544130000111
The reset port CLR of the second flip-flop B2 is connected with the data output terminal Q of the second flip-flop B2, and the reset port CLR of the first flip-flop B1 is connected with the data output terminal Q of the second flip-flop B2; a trigger input terminal of the second flip-flop B2 is connected to an output terminal of the second amplifying circuit 10322, a SET port SET of the second flip-flop B2 is grounded, a data input terminal D of the second flip-flop B2 is connected to a predetermined power source VCC, and an inverted output terminal of the second flip-flop B2
Figure BDA0002795544130000112
And (5) emptying.
It is understood that the first amplifier a1 and the second amplifier a2 are used for amplifying the detection output signal and the reference signal, respectively, so as to trigger the flip-flop in the following. And a diode is arranged between positive and negative phase inputs of the amplifier and used for maintaining the stability of signals. The first flip-flop B1 and the second flip-flop B2 may be D flip-flops.
Referring to fig. 6, fig. 6 is a schematic diagram of input and output of the phase detection circuit according to the present invention. As shown in fig. 6, Ui1 is a detection output signal, Ui2 is a reference signal, and U0 is an output signal of the phase detection circuit 1032. As can be seen from the figure, the output signal is a pulse signal, the high level duration is the delay time of the detection output signal relative to the reference signal, and the processor 101 can determine the phase angle of the detection output signal according to the duration.
In the present embodiment, the detection circuit includes a peak detection circuit and a phase detection circuit to realize feature extraction of the detection output signal output from the pressure sensor measurement circuit. The embodiment can accurately extract the peak value and the phase angle of the detection output signal so as to more accurately determine the fault information of the pressure sensor by the processor.
In order to achieve the above object, the present invention further provides a method for detecting a failure of a pressure sensor, referring to fig. 7, and fig. 7 is a schematic flow chart of a first embodiment of the method for detecting a failure of a pressure sensor according to the present invention. Based on the above embodiments, a first embodiment of the pressure sensor failure detection method of the present invention is presented. The pressure sensor fault detection method is applied to a pressure sensor fault detection circuit as described above, which includes a processor, a sampling circuit, and a detection circuit. The pressure sensor fault detection method comprises the following steps:
step S10: the sampling circuit collects a detection output signal of a measuring circuit in the pressure sensor and transmits the detection output signal to the detection circuit;
step S20: the detection circuit detects the detection output signal to obtain a detection signal and transmits the detection signal to the processor;
step S30: the processor determines fault information of the pressure sensor according to the detection signal.
The detailed description of the present embodiment can refer to the above embodiments, and will not be repeated herein.
In the embodiment, a processor, a sampling circuit and a detection circuit are arranged to form a pressure sensor fault detection circuit; the sampling circuit is used for collecting a detection output signal of a measuring circuit in the pressure sensor and transmitting the detection output signal to the detection circuit; the detection circuit is used for detecting the detection output signal to obtain a detection signal and transmitting the detection signal to the processor; and the processor is used for determining the fault information of the pressure sensor according to the detection signal. The invention obtains the corresponding detection signal by detecting the detection output signal of the pressure sensor. The detection signal can reflect the signal characteristics of the detection output signal output by the pressure sensor, and the processor can determine the output characteristics of the pressure sensor according to the detection signal, so as to determine the fault information.
To achieve the above object, the present invention also proposes a pressure sensor including the pressure sensor failure detection circuit as described above, or applying the pressure sensor failure detection method as described above. Since the pressure sensor adopts all technical solutions of all the embodiments, at least all the beneficial effects brought by the technical solutions of the embodiments are achieved, and no further description is given here.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A pressure sensor fault detection circuit, comprising: the device comprises a processor, a sampling circuit and a detection circuit; the input end of the sampling circuit is connected with the output end of a measuring circuit in the pressure sensor, the output end of the sampling circuit is connected with the input end of the detection circuit, and the processor is respectively connected with the control end of the sampling circuit and the output end of the detection circuit;
the sampling circuit is used for collecting the detection output signal of the measuring circuit and transmitting the detection output signal to the detection circuit;
the detection circuit is used for detecting the detection output signal to obtain a detection signal and transmitting the detection signal to the processor;
and the processor is used for determining the fault information of the pressure sensor according to the detection signal.
2. The pressure sensor fault detection circuit of claim 1, wherein the detection signal comprises a peak detection signal and a phase angle detection signal, the detection circuit comprising a peak detection circuit and a phase detection circuit; the output end of the sampling circuit is respectively connected with the input end of the peak value detection circuit and the input end of the phase detection circuit; the processor is respectively connected with the output end of the peak value detection circuit and the output end of the phase detection circuit;
the peak detection circuit is used for carrying out peak detection on the detection output signal to obtain a peak detection signal and transmitting the peak detection signal to the processor;
the phase detection circuit is used for carrying out phase detection on the detection output signal to obtain a phase angle detection signal and transmitting the phase angle detection signal to the processor.
3. The pressure sensor fault detection circuit of claim 2, wherein the peak detection circuit includes a first diode, a capacitor, and a first resistor;
the anode of the first diode is connected with the output end of the sampling circuit, the cathode of the first diode is respectively connected with the first end of the capacitor, the first end of the first resistor and the processor, the second end of the capacitor is grounded, and the second end of the second resistor is grounded.
4. The pressure sensor fault detection circuit of claim 2, wherein the phase detection circuit comprises a first amplification circuit, a second amplification circuit, a trigger circuit, and a signal source circuit; the input end of the first amplifying circuit is connected with the output end of the sampling circuit, the output end of the first amplifying circuit is connected with the first input end of the trigger circuit, the input end of the second amplifying circuit is connected with the output end of the signal source circuit, the output end of the second amplifying circuit is connected with the second input end of the trigger circuit, and the output end of the trigger circuit is connected with the processor;
the signal source circuit is used for generating a reference signal and transmitting the reference signal to the second amplifying circuit;
the first amplifying circuit is used for amplifying the detection output signal to obtain a first amplifying signal and transmitting the first amplifying signal to the trigger circuit;
the second amplifying circuit is used for amplifying the reference signal to obtain a second amplified signal and transmitting the second amplified signal to the trigger circuit;
the trigger circuit is configured to generate a phase angle detection signal according to the first amplified signal and the second amplified signal, and transmit the phase angle detection signal to the processor.
5. The pressure sensor fault detection circuit of claim 4, wherein the first amplification circuit comprises a first amplifier, a second resistor, a third resistor, a fourth resistor, a second diode, and a third diode;
the first end of second resistance with sampling circuit's output is connected, the second end of second resistance respectively with the first end of third resistance, the positive pole of second diode the negative pole of third diode and the positive phase input of first amplifier is connected, the second end of third resistance respectively with the first end of fourth resistance and the output of first amplifier is connected, the second end of fourth resistance with predetermine the power and be connected, the output of first amplifier with the first input of trigger circuit is connected, the negative phase input of first amplifier respectively with the negative pole of second diode and the positive pole of third diode is connected, the negative phase input of first amplifier still ground connection.
6. The pressure sensor fault detection circuit of claim 4, wherein the second amplification circuit includes a second amplifier, a fifth resistor, a sixth resistor, a seventh resistor, a fourth diode, and a fifth diode;
the first end of the fifth resistor is connected with the output end of the signal source circuit, the second end of the fifth resistor is respectively connected with the first end of the sixth resistor, the anode of the fourth diode, the cathode of the fifth diode and the positive phase input end of the second amplifier, the second end of the sixth resistor is respectively connected with the first end of the seventh resistor and the output end of the second amplifier, the second end of the seventh resistor is connected with a preset power supply, the output end of the second amplifier is connected with the second input end of the trigger circuit, the negative phase input end of the second amplifier is respectively connected with the cathode of the fourth diode and the anode of the fifth diode, and the negative phase input end of the second amplifier is also grounded.
7. The pressure sensor fault detection circuit of claim 4, wherein the trigger circuit comprises a first trigger and a second trigger;
the trigger input end of the first trigger is connected with the output end of the first amplifying circuit, the output end of the first trigger is connected with the processor, the set port of the first trigger is grounded, the data input end of the first trigger is connected with a preset power supply, the reverse output end of the first trigger is connected with the reset port of the second trigger, and the reset port of the first trigger is connected with the output port of the second trigger;
the trigger input end of the second trigger is connected with the output end of the second amplifying circuit, the set port of the second trigger is grounded, the data input end of the second trigger is connected with the preset power supply, and the reverse output end of the second trigger is empty.
8. The pressure sensor fault detection circuit of any of claims 1-7, wherein the detection output signal comprises an amplifier output signal and a bridge output signal; the first input end of the sampling circuit is connected with the output end of the amplifier of the measuring circuit, and the second input end of the sampling circuit is connected with the output end of the bridge of the measuring circuit;
the sampling circuit is used for collecting an amplifier output signal and a bridge output signal of the measuring circuit and transmitting the amplifier output signal and the bridge output signal to the detection circuit.
9. A pressure sensor failure detection method applied to a pressure sensor failure detection circuit according to any one of claims 1 to 8, the pressure sensor failure detection circuit including a processor, a sampling circuit, and a detection circuit, the pressure sensor failure detection method comprising the steps of:
the sampling circuit collects a detection output signal of a measuring circuit in the pressure sensor and transmits the detection output signal to the detection circuit;
the detection circuit detects the detection output signal to obtain a detection signal, and transmits the detection signal to the processor;
and the processor determines the fault information of the pressure sensor according to the detection signal.
10. A pressure sensor characterized in that the pressure sensor includes the pressure sensor failure detection circuit according to any one of claims 1 to 8, or the pressure sensor failure detection method according to claim 9 is applied.
CN202011334462.9A 2020-11-24 2020-11-24 Pressure sensor fault detection circuit and method and pressure sensor Pending CN112432721A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011334462.9A CN112432721A (en) 2020-11-24 2020-11-24 Pressure sensor fault detection circuit and method and pressure sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011334462.9A CN112432721A (en) 2020-11-24 2020-11-24 Pressure sensor fault detection circuit and method and pressure sensor

Publications (1)

Publication Number Publication Date
CN112432721A true CN112432721A (en) 2021-03-02

Family

ID=74697448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011334462.9A Pending CN112432721A (en) 2020-11-24 2020-11-24 Pressure sensor fault detection circuit and method and pressure sensor

Country Status (1)

Country Link
CN (1) CN112432721A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113865757A (en) * 2021-09-16 2021-12-31 歌尔微电子股份有限公司 Detection circuit and detection method of piezoresistive pressure sensor and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113865757A (en) * 2021-09-16 2021-12-31 歌尔微电子股份有限公司 Detection circuit and detection method of piezoresistive pressure sensor and electronic equipment

Similar Documents

Publication Publication Date Title
JP4241787B2 (en) Total battery voltage detection and leak detection device
US7145350B2 (en) Process and a circuit arrangement for evaluating a measuring capacitance
CA1300684C (en) Determination of electrical capacitance and resistance
US3986109A (en) Self-calibrating dimension gauge
CN211741143U (en) Portable air anion concentration detector
CN111208175A (en) Sensor identification method and device and object to be tested test equipment
CN112432721A (en) Pressure sensor fault detection circuit and method and pressure sensor
CN112697343B (en) Detection circuit and method of resistance bridge type pressure sensor, electronic equipment and chip
CN214010596U (en) Pressure sensor fault detection circuit and pressure sensor
CN101441236A (en) Capacity sensor circuit based on Wien bridge and phase-locked loop
CN107076629B (en) Method for determining a pressure measurement signal and pressure measurement device for use in the method
CN110702252A (en) Platinum resistance temperature measuring instrument with quick self-checking function
CN212872612U (en) Current sampling system and current sampling device
CN104597316A (en) Weak current detecting device and method
CN113155159B (en) Bridge detector
CN211955660U (en) Small capacitance test system
CN214096195U (en) Novel detect electromagnetic flowmeter circuit
CN111337858A (en) Capacitance detection device and system
CN107064436B (en) Gas detection method for micro-electromechanical system sensor, sensor and storage medium
CN215177859U (en) Temperature and pressure sensor fault diagnosis circuit, device and system
CN214251326U (en) Resistance bridge type pressure sensor signal processing circuit and active pen
KR101001865B1 (en) Contactless sensor circuit
JP4352555B2 (en) Pressure sensor
CN216748022U (en) Isolation detection circuit for isolating power supply
CN213364866U (en) Current detection circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination