Pressure sensor fault detection circuit, method and pressure sensor
By designing a fault detection circuit in the pressure sensor, collecting and detecting the output signals of the measurement circuit, the processor determines the fault information based on the detection signal, solving the problem of reducing measurement accuracy caused by the numerical drift of the pressure sensor, and achieving accurate detection of the fault information.
Patent Information
- Application Number
- CN202011334462.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-24
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2040-11-24
AI Technical Summary
How to determine the fault information of the pressure sensor to solve the problem of reduced measurement accuracy caused by numerical drift.
A pressure sensor fault detection circuit is designed, including a processor, a sampling circuit and a detection circuit. The sampling circuit collects the detection output signal of the measurement circuit, the detection circuit detects the signal, obtains the detection signal, and the processor determines the fault information based on the detection signal.
By detecting the detection output signal of the pressure sensor and obtaining its corresponding detection signal, the processor can determine the output characteristics of the pressure sensor based on the detection signal, thereby accurately determining the fault information and improving the accuracy of the measurement.
Smart Images

Figure CN112432721B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of sensor technology, and in particular to a pressure sensor fault detection circuit, method and pressure sensor. Background Art
[0002] A pressure sensor is a device or apparatus that can sense pressure signals and convert them into usable output electrical signals according to certain rules. Usually, the measurement circuit of a pressure sensor is composed of electronic devices such as capacitors and resistors. As the use time increases, the parameters of the electronic devices will change, causing numerical drift and causing the pressure sensor to fail. In order to ensure the accuracy of the measurement, after the sensor fails, numerical compensation or replacement of the pressure sensor is required. Specific measures need to be determined based on the fault information of the pressure sensor. Therefore, how to determine the fault information of the pressure sensor is a technical problem that needs to be solved urgently.
[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of the present invention is to provide a pressure sensor fault detection circuit, method and pressure sensor, aiming to solve the technical problem of determining the fault information of the pressure sensor.
[0005] To achieve the above object, the present invention provides a pressure sensor fault detection circuit, which includes: a processor, a sampling circuit and a detection circuit; the input end of the sampling circuit is connected to the output end of the measurement circuit in the pressure sensor, the output end of the sampling circuit is connected to the input end of the detection circuit, and the processor is respectively connected to the control end of the sampling circuit and the output end of the detection circuit;
[0006] The sampling circuit is used to collect the detection output signal of the measurement circuit and transmit the detection output signal to the detection circuit;
[0007] The detection circuit is used to detect the detection output signal, obtain a detection signal, and transmit the detection signal to the processor;
[0008] The processor is used to determine the fault information of the pressure sensor according to the detection signal.
[0009] 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 to the input end of the peak detection circuit and the input end of the phase detection circuit; the processor is respectively connected to the output end of the peak detection circuit and the output end of the phase detection circuit;
[0010] The peak detection circuit is used to perform peak detection on the detection output signal to obtain a peak detection signal, and transmit the peak detection signal to the processor;
[0011] The phase detection circuit is used to perform phase detection on the detection output signal to obtain a phase angle detection signal, and transmit the phase angle detection signal to the processor.
[0012] Optionally, the peak detection circuit includes a first diode, a capacitor and a first resistor;
[0013] The anode of the first diode is connected to the output end of the sampling circuit, the cathode of the first diode is respectively connected to 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.
[0014] Optionally, the phase detection circuit includes a first amplifier circuit, a second amplifier circuit, a trigger circuit and a signal source circuit; the input end of the first amplifier circuit is connected to the output end of the sampling circuit, the output end of the first amplifier circuit is connected to the first input end of the trigger circuit, the input end of the second amplifier circuit is connected to the output end of the signal source circuit, the output end of the second amplifier circuit is connected to the second input end of the trigger circuit, and the output end of the trigger circuit is connected to the processor;
[0015] The signal source circuit is used to generate a reference signal and transmit the reference signal to the second amplification circuit;
[0016] The first amplifier circuit is used to amplify the detection output signal to obtain a first amplified signal, and transmit the first amplified signal to the trigger circuit;
[0017] The second amplifier circuit is used to amplify the reference signal to obtain a second amplified signal, and transmit the second amplified signal to the trigger circuit;
[0018] The trigger circuit is used 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.
[0019] 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;
[0020] The first end of the second resistor is connected to the output end of the sampling circuit, the second end of the second resistor is respectively connected to the first end of the third resistor, the anode of the second diode, the cathode of the third diode and the positive phase input end of the first amplifier, the second end of the third resistor is respectively connected to the first end of the fourth resistor and the output end of the first amplifier, the second end of the fourth resistor is connected to a preset power supply, the output end of the first amplifier is connected to the first input end of the trigger circuit, the negative phase input end of the first amplifier is respectively connected to the cathode of the second diode and the anode of the third diode, and the negative phase input end of the first amplifier is also grounded.
[0021] 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;
[0022] The first end of the fifth resistor is connected to the output end of the signal source circuit, the second end of the fifth resistor is respectively connected to 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 to the first end of the seventh resistor and the output end of the second amplifier, the second end of the seventh resistor is connected to a preset power supply, the output end of the second amplifier is connected to the second input end of the trigger circuit, the negative phase input end of the second amplifier is respectively connected to 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.
[0023] Optionally, the trigger circuit includes a first trigger and a second trigger;
[0024] A trigger input terminal of the first trigger is connected to an output terminal of the first amplifier circuit, an output terminal of the first trigger is connected to the processor, a set port of the first trigger is grounded, a data input terminal of the first trigger is connected to a preset power supply, a reverse output terminal of the first trigger is connected to a reset port of the second trigger, and a reset port of the first trigger is connected to an output port of the second trigger;
[0025] The trigger input terminal of the second trigger is connected to the output terminal of the second amplifier circuit, the set port of the second trigger is grounded, the data input terminal of the second trigger is connected to the preset power supply, and the reverse output terminal of the second trigger is empty.
[0026] 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 to the amplifier output end of the measurement circuit, and the second input end of the sampling circuit is connected to the bridge output end of the measurement circuit;
[0027] The sampling circuit is used to collect the amplifier output signal and the bridge output signal of the measurement circuit, and transmit the amplifier output signal and the bridge output signal to the detection circuit.
[0028] To achieve the above object, the present invention further proposes a pressure sensor fault detection method, which is applied to the pressure sensor fault detection circuit as described above, the pressure sensor fault detection circuit includes a processor, a sampling circuit and a detection circuit, and the pressure sensor fault detection method includes the following steps:
[0029] The sampling circuit collects the detection output signal of the measurement circuit in the pressure sensor and transmits the detection output signal to the detection circuit;
[0030] The detection circuit detects the detection output signal to obtain a detection signal, and transmits the detection signal to the processor;
[0031] The processor determines fault information of the pressure sensor according to the detection signal.
[0032] To achieve the above object, the present invention further proposes a pressure sensor, which includes the pressure sensor fault detection circuit as described above, or applies the pressure sensor fault detection method as described above.
[0033] In the present invention, a pressure sensor fault detection circuit is formed by setting a processor, a sampling circuit and a detection circuit; the sampling circuit is used to collect the detection output signal of the measurement circuit in the pressure sensor and transmit the detection output signal to the detection circuit; the detection circuit is used to detect the detection output signal, obtain the detection signal, and transmit the detection signal to the processor; the processor is used to determine the fault information of the pressure sensor according to the detection signal. The present invention detects the detection output signal of the pressure sensor to obtain its corresponding detection signal. 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, thereby determining the fault information. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0035] Figure 1 It is a circuit structure diagram of the first embodiment of the pressure sensor fault detection circuit of the present invention;
[0036] Figure 2 It is a circuit structure diagram of a second embodiment of a pressure sensor fault detection circuit of the present invention;
[0037] Figure 3 A schematic diagram of the circuit structure of an embodiment of a peak detection circuit of the present invention;
[0038] Figure 4 A functional schematic diagram of an embodiment of a phase detection circuit of the present invention;
[0039] Figure 5 A schematic diagram of the circuit structure of an embodiment of a phase detection circuit of the present invention;
[0040] Figure 6 This is a schematic diagram of the input and output of the phase detection circuit of the present invention;
[0041] Figure 7 FIG. 1 is a flow chart of a first embodiment of a pressure sensor fault detection method according to the present invention.
[0042] Description of Figure Numbers:
[0043] Label name Label name 10 Pressure sensor fault detection circuit R1~R7 The first to seventh resistors 101 processor D1~D5 The first to fifth diodes 102 Sampling circuit A1~A2 First to Second Amplifier 103 Detection circuit B1~B2 First to Second Trigger 1031 Peak detection circuit C capacitance 1032 Phase detection circuit VCC Preset Power 10321 The first amplifier circuit D Data input terminal 10322 The second amplifier circuit Q Data output terminal 10323 Trigger Circuit Q Reverse output terminal 10324 Signal source circuit SET Set port 20 Measurement circuit CLR Reset Port
[0044] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0045] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0047] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0048] In addition, the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0049] Reference Figure 1 , Figure 1 Schematic diagram of the circuit structure of the first embodiment of the pressure sensor fault detection circuit of the present invention.
[0050] like Figure 1 As shown, in the first embodiment, the pressure sensor fault 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 to the output end of the measurement circuit 20 in the pressure sensor, the output end of the sampling circuit 102 is connected to the input end of the detection circuit 103, and the processor 101 is respectively connected to the control end of the sampling circuit 102 and the output end of the detection circuit 103.
[0051] It should be noted that the pressure sensor can be a variable-pitch single capacitive sensor, whose electrodes are circular, with the upper fixed electrode fixed by an insulator and the lower part being a variable electrode. When the diaphragm under the variable electrode is subjected to pressure (usually liquid), it will bend and deform. The distance between the variable electrode and the fixed electrode changes, causing the capacitance value to change, generating an electrical signal to indicate the pressure.
[0052] Usually, the sensor diaphragm is composed of a circular working electrode and an annular reference electrode. The working electrode and the common electrode form a sensitive capacitor; the reference electrode and the common electrode form a reference capacitor. The pressure acts evenly on the diaphragm through the catheter, causing the diaphragm to change, thereby causing the sensitive capacitor to change, while the reference capacitor changes slightly. The measurement circuit 20 can also be provided with two auxiliary capacitors, which together with the sensitive capacitor and the reference capacitor form the four bridge arms of the bridge. The diagonal potential difference of the bridge is the bridge output, which serves as the signal output end of the sensor and is connected to the input end of the sampling circuit 102.
[0053] The sampling circuit 102 is used to collect the detection output signal of the measurement circuit 20 and transmit the detection output signal to the detection circuit 103 .
[0054] It is understandable that when the bridge is connected to the working voltage, when the sensor diaphragm is subjected to pressure, the sensitive capacitance changes, thereby causing the bridge output to change, thereby outputting the detection output signal. If the electronic components in the measurement circuit are changed, the peak value or phase angle of the actual output detection output signal will change compared to the calibrated detection output signal.
[0055] In this embodiment, the detection output signal includes an amplifier output signal and a bridge output signal; the first input terminal of the sampling circuit 102 is connected to the amplifier output terminal of the measuring circuit 20, and the second input terminal of the sampling circuit 102 is connected to the bridge output terminal of the measuring circuit 20. The sampling circuit is used to collect the amplifier output signal and the bridge output signal of the measuring circuit 20, and transmit the amplifier output signal and the bridge output signal to the detection circuit 103.
[0056] It is understandable that in order to make the signal output by the measurement circuit more recognizable, an amplifier is usually connected in parallel at both ends of the sensitive capacitor. In order to obtain more sensor data so as to confirm the fault information, the amplifier output signal and the bridge output signal can be collected when collecting the detection output signal. Among them, the amplifier output signal is the voltage signal output by the aforementioned amplifier, and the bridge output signal is the voltage signal output by the aforementioned bridge.
[0057] It should be noted that, due to the presence of two input signals, a single-pole double-throw switch may be provided at the input end of the sampling circuit 102, the first input end of the single-pole double-throw switch is connected to the output end of the amplifier, and the second input end of the single-pole double-throw switch is connected to the output end of the bridge. By switching the closed side of the single-pole double-throw switch, a detection output signal is provided to the detection circuit 103 to avoid interference between signals. 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.
[0058] The detection circuit 103 is used to detect the detection output signal, obtain the detection signal, and transmit the detection signal to the processor 101.
[0059] It should be noted that the detection signal is a voltage signal, which varies according to the information extracted from the detection output signal by the detection circuit 103. For example, the detection circuit 103 can extract peak information from the detection output signal, and the detection signal is a peak detection signal; or the detection circuit 103 can extract phase angle information from the detection output signal, and the detection signal is a phase angle detection signal.
[0060] The processor 101 is used to determine the fault information of the pressure sensor according to the detection signal.
[0061] It should be noted that the processor stores preset calibration information. The processor compares the detection signal with the calibration information to determine the fault information of the pressure sensor. For example, the calibration information stores that the peak value of the detection output signal is 400mA and the phase angle is -23 when measuring the pressure of 10Kpa. If during the test, when the pressure of 10Kpa is applied, the actual detected peak value is 410mA and the phase angle is -20, it means that the sensor is faulty.
[0062] Furthermore, the fault position can be located according to the change situation based on the structure inside the measurement circuit. For example, when the auxiliary capacitor sends a numerical drift, it will affect the bridge output signal but will not affect the amplifier output signal. If the reference capacitor has a numerical drift, it will not affect the phase angle of the amplifier output signal.
[0063] In the first embodiment, a pressure sensor fault detection circuit is formed by setting a processor, a sampling circuit and a detection circuit; the sampling circuit is used to collect the detection output signal of the measurement circuit in the pressure sensor and transmit the detection output signal to the detection circuit; the detection circuit is used to detect the detection output signal, obtain the detection signal, and transmit the detection signal to the processor; the processor is used to determine the fault information of the pressure sensor according to the detection signal. The present invention detects the detection output signal of the pressure sensor to obtain its corresponding detection signal. 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, thereby determining the fault information.
[0064] Reference Figure 2 , Figure 2 The circuit structure diagram of the second embodiment of the pressure sensor fault detection circuit of the present invention is shown in FIG. Based on the above first embodiment, the second embodiment of the pressure sensor fault detection circuit of the present invention is proposed.
[0065] like Figure 2 As shown, 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 respectively connected to the input end of the peak detection circuit 1031 and the input end of the phase detection circuit 1032; the processor 101 is respectively connected to the output end of the peak detection circuit 1031 and the output end of the phase detection circuit 1032.
[0066] It should be noted that the sampling circuit 102 may also be provided with a single-pole double-throw switch at the output end for selecting a detection mode, wherein the first output end of the single-pole double-throw switch is connected to the input end of the peak detection circuit 1031, and the second output end of the single-pole double-throw switch is connected to the input end of the phase detection circuit 1032. By switching the closed side of the single-pole double-throw switch, the detection output signal is provided to the peak detection circuit 1031 or the phase detection circuit 1032. 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.
[0067] The peak detection circuit 1031 is used to perform peak detection on the detection output signal, obtain a peak detection signal, and transmit the peak detection signal to the processor 101.
[0068] It should be noted that the detection output signal is usually a sine wave or a cosine wave signal. The peak detection circuit 1031 obtains a corresponding peak detection signal by storing the peak voltage of the detection output signal. The peak detection signal is a voltage signal whose voltage value is the peak value of the detection output signal.
[0069] Reference Figure 3 , Figure 3 A schematic diagram of the circuit structure of an embodiment of a peak detection circuit of the present invention.
[0070] In a specific implementation, the peak detection circuit 1031 includes a first diode D1, a capacitor C and a first resistor R1; the anode of the first diode D1 is connected to the output end of the sampling circuit 102, the cathode of the first diode D2 is respectively connected to the first end of the capacitor C, the first end of the first resistor R1 and the processor 101, the second end of the capacitor C is grounded, and the second end of the second resistor R2 is grounded.
[0071] It can be understood that the first diode D1 can filter out the negative half-wave signal of the detection output signal and retain 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 a 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, and the capacitor discharges, so that the output voltage value is maintained at the peak value, thereby realizing the extraction of the peak voltage of the detection output signal.
[0072] The phase detection circuit 1032 is used 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.
[0073] It is understandable that the detection output signal is usually a sine wave or cosine wave signal, and as the sensitive capacitance changes, the phase angle of the detection output signal will also change. The phase detection circuit 1032 obtains a corresponding phase angle detection signal by detecting the 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 relative to the pure sine wave.
[0074] Reference Figure 4 , Figure 4 A functional diagram of a phase detection circuit according to an embodiment of the present invention.
[0075] like Figure 4 As shown, the phase detection circuit 1032 includes a first amplifier circuit 10321, a second amplifier circuit 10322, a trigger circuit 10323 and a signal source circuit 10324; the input end of the first amplifier circuit 10321 is connected to the output end of the sampling circuit 102, the output end of the first amplifier circuit 10321 is connected to the first input end of the trigger circuit 10323, the input end of the second amplifier circuit 10322 is connected to the output end of the signal source circuit 10324, the output end of the second amplifier circuit 10322 is connected to the second input end of the trigger circuit 10323, and the output end of the trigger circuit 10323 is connected to the processor 101.
[0076] The signal source circuit 10324 is used to generate a reference signal and transmit the reference signal to the second amplifier circuit 10322; the first amplifier circuit 10321 is used to amplify the detection output signal to obtain a first amplified signal, and transmit the first amplified signal to the trigger circuit 10323; the second amplifier circuit 10322 is used to amplify the reference signal to obtain a second amplified signal, and transmit the second amplified signal to the trigger circuit 10323; the trigger circuit 10323 is used 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 101.
[0077] 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. When it is detected that the phase detection circuit 1032 has an input signal, the signal source circuit 10324 is started to generate a reference signal.
[0078] It can be understood that, in this embodiment, the detection output signal is compared with the reference signal and a pulse signal is output through the trigger circuit 10323 to complete the phase angle of the detection output signal.
[0079] Reference Figure 5 , Figure 5 A schematic diagram of the circuit structure of an embodiment of a phase detection circuit of the present invention.
[0080] like Figure 5 As shown, the first amplifier 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. The first end of the second resistor R2 is connected to the output end of the sampling circuit 102, the second end of the second resistor R2 is respectively connected to the first end of the third resistor R3, the anode of the second diode D2, the cathode of the third diode D3 and the positive phase input end of the first amplifier A1, the second end of the third resistor R3 is respectively connected to the first end of the fourth resistor R4 and the output end of the first amplifier A1, the second end of the fourth resistor R4 is connected to a preset power supply, the output end of the first amplifier A1 is connected to the first input end of the trigger circuit 10323, the negative phase input end of the first amplifier A1 is respectively connected to the cathode of the second diode D2 and the anode of the third diode D3, and the negative phase input end of the first amplifier A1 is also grounded.
[0081] The second amplifier 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; the first end of the fifth resistor R5 is connected to the output end of the signal source circuit 10324, the second end of the fifth resistor R5 is respectively connected to the first end of the sixth resistor R6, the anode of the fourth diode D4, the cathode of the fifth diode D5 and the positive input end of the second amplifier A2, the second end of the sixth resistor R6 is respectively connected to the first end of the seventh resistor R7 and the output end of the second amplifier A2, the second end of the seventh resistor R7 is connected to a preset power supply, the output end of the second amplifier A2 is connected to the second input end of the trigger circuit 10323, the negative input end of the second amplifier A2 is respectively connected to the cathode of the fourth diode D4 and the anode of the fifth diode D5, and the negative input end of the second amplifier A2 is also grounded.
[0082] The trigger circuit 10323 includes a first trigger B1 and a second trigger B2; the trigger input terminal of the first trigger B1 is connected to the output terminal of the first amplifier circuit 10321, the data output terminal Q of the first trigger B1 is connected to the processor 101, the set port SET of the first trigger B1 is grounded, the data input terminal D of the first trigger B1 is connected to the preset power supply VCC, and the reverse output terminal of the first trigger B1 is connected to the preset power supply VCC. The reset port CLR of the first trigger B1 is connected to the data output terminal Q of the second trigger B2; the trigger input terminal of the second trigger B2 is connected to the output terminal of the second amplifier circuit 10322, the set port SET of the second trigger B2 is grounded, the data input terminal D of the second trigger B2 is connected to the preset power supply VCC, and the reverse output terminal of the second trigger B2 is connected to the reset port CLR of the second trigger B2. Leave blank.
[0083] It is understandable that the first amplifier A1 and the second amplifier A2 are used to amplify the detection output signal and the reference signal respectively, so as to trigger the trigger later. A diode is provided between the positive and negative inputs of the amplifier to maintain signal stability. The first trigger B1 and the second trigger B2 can be D triggers.
[0084] Reference Figure 6 , Figure 6 FIG. 1 is a schematic diagram of the input and output of the phase detection circuit of the present invention. Figure 6 As shown, Ui1 is the detection output signal, Ui2 is the reference signal, and U0 is the output signal of the phase detection circuit 1032. As can be seen from the figure, the output signal is a pulse signal, and the high level duration is the delay time of the detection output signal relative to the reference signal. The processor 101 can determine the phase angle of the detection output signal according to the duration.
[0085] In this embodiment, the detection circuit includes a peak detection circuit and a phase detection circuit to realize feature extraction of the detection output signal output by the pressure sensor measurement circuit. This embodiment can accurately extract the peak value and phase angle of the detection output signal so that the processor can more accurately determine the fault information of the pressure sensor.
[0086] To achieve the above object, the present invention also proposes a pressure sensor fault detection method, referring to Figure 7 , Figure 7 The flowchart of the first embodiment of the pressure sensor fault detection method of the present invention is shown in FIG. Based on the above embodiment, the first embodiment of the pressure sensor fault detection method of the present invention is proposed. The pressure sensor fault detection method is applied to the pressure sensor fault detection circuit as described above, and the pressure sensor fault detection circuit includes a processor, a sampling circuit and a detection circuit. The pressure sensor fault detection method includes the following steps:
[0087] Step S10: the sampling circuit collects the detection output signal of the measuring circuit in the pressure sensor, and transmits the detection output signal to the detection circuit;
[0088] Step S20: the detection circuit detects the detection output signal to obtain a detection signal, and transmits the detection signal to the processor;
[0089] Step S30: The processor determines the fault information of the pressure sensor according to the detection signal.
[0090] The specific implementation of this embodiment can refer to the above embodiment and will not be described in detail here.
[0091] In this embodiment, a pressure sensor fault detection circuit is formed by setting a processor, a sampling circuit and a detection circuit; the sampling circuit is used to collect the detection output signal of the measurement circuit in the pressure sensor and transmit the detection output signal to the detection circuit; the detection circuit is used to detect the detection output signal, obtain the detection signal, and transmit the detection signal to the processor; the processor is used to determine the fault information of the pressure sensor according to the detection signal. The present invention detects the detection output signal of the pressure sensor to obtain its corresponding detection signal. 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, thereby determining the fault information.
[0092] To achieve the above object, the present invention further provides a pressure sensor, the pressure sensor comprising the pressure sensor fault detection circuit as described above, or applying the pressure sensor fault detection method as described above. Since the pressure sensor adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought by the technical solutions of the above embodiments, which will not be described one by one here.
[0093] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A pressure sensor fault detection circuit, characterized in that: The pressure sensor fault detection circuit comprises: a processor, a sampling circuit and a detection circuit; the input end of the sampling circuit is connected to the output end of the measurement circuit in the pressure sensor, the output end of the sampling circuit is connected to the input end of the detection circuit, and the processor is respectively connected to the control end of the sampling circuit and the output end of the detection circuit; The sampling circuit is used to collect the detection output signal of the measurement circuit and transmit the detection output signal to the detection circuit; The detection circuit is used to detect the detection output signal, obtain a detection signal, and transmit the detection signal to the processor; The processor is used to compare the detection signal with the calibration information to determine the fault information of the pressure sensor; 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 to the input end of the peak detection circuit and the input end of the phase detection circuit; the processor is respectively connected to the output end of the peak detection circuit and the output end of the phase detection circuit; The peak detection circuit is used to perform peak detection on the detection output signal to obtain a peak detection signal, and transmit the peak detection signal to the processor; The phase detection circuit is used to perform phase detection on the detection output signal to obtain a phase angle detection signal, and transmit the phase angle detection signal to the processor.
2. The pressure sensor fault detection circuit according to claim 1, characterized in that: The peak detection circuit includes a first diode, a capacitor and a first resistor; The anode of the first diode is connected to the output end of the sampling circuit, the cathode of the first diode is respectively connected to 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 first resistor is grounded.
3. The pressure sensor fault detection circuit according to claim 1, characterized in that: The phase detection circuit includes a first amplifier circuit, a second amplifier circuit, a trigger circuit and a signal source circuit; the input end of the first amplifier circuit is connected to the output end of the sampling circuit, the output end of the first amplifier circuit is connected to the first input end of the trigger circuit, the input end of the second amplifier circuit is connected to the output end of the signal source circuit, the output end of the second amplifier circuit is connected to the second input end of the trigger circuit, and the output end of the trigger circuit is connected to the processor; The signal source circuit is used to generate a reference signal and transmit the reference signal to the second amplification circuit; The first amplifier circuit is used to amplify the detection output signal to obtain a first amplified signal, and transmit the first amplified signal to the trigger circuit; The second amplifier circuit is used to amplify the reference signal to obtain a second amplified signal, and transmit the second amplified signal to the trigger circuit; The trigger circuit is used 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.
4. The pressure sensor fault detection circuit according to claim 3, characterized in that: 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 the second resistor is connected to the output end of the sampling circuit, the second end of the second resistor is respectively connected to the first end of the third resistor, the anode of the second diode, the cathode of the third diode and the positive phase input end of the first amplifier, the second end of the third resistor is respectively connected to the first end of the fourth resistor and the output end of the first amplifier, the second end of the fourth resistor is connected to a preset power supply, the output end of the first amplifier is connected to the first input end of the trigger circuit, the negative phase input end of the first amplifier is respectively connected to the cathode of the second diode and the anode of the third diode, and the negative phase input end of the first amplifier is also grounded.
5. The pressure sensor fault detection circuit according to claim 3, characterized in that: 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 to the output end of the signal source circuit, the second end of the fifth resistor is respectively connected to 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 to the first end of the seventh resistor and the output end of the second amplifier, the second end of the seventh resistor is connected to a preset power supply, the output end of the second amplifier is connected to the second input end of the trigger circuit, the negative phase input end of the second amplifier is respectively connected to 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.
6. The pressure sensor fault detection circuit according to claim 3, characterized in that: The trigger circuit includes a first trigger and a second trigger; A trigger input terminal of the first trigger is connected to an output terminal of the first amplifier circuit, an output terminal of the first trigger is connected to the processor, a set port of the first trigger is grounded, a data input terminal of the first trigger is connected to a preset power supply, a reverse output terminal of the first trigger is connected to a reset port of the second trigger, and a reset port of the first trigger is connected to an output port of the second trigger; The trigger input terminal of the second trigger is connected to the output terminal of the second amplifier circuit, the set port of the second trigger is grounded, the data input terminal of the second trigger is connected to the preset power supply, and the reverse output terminal of the second trigger is empty.
7. The pressure sensor fault detection circuit according to any one of claims 1 to 6, characterized in that: The detection output signal includes an amplifier output signal and a bridge output signal; the first input end of the sampling circuit is connected to the amplifier output end of the measurement circuit, and the second input end of the sampling circuit is connected to the bridge output end of the measurement circuit; The sampling circuit is used to collect the amplifier output signal and the bridge output signal of the measurement circuit, and transmit the amplifier output signal and the bridge output signal to the detection circuit.
8. A pressure sensor fault detection method, characterized in that: The pressure sensor fault detection method is applied to the pressure sensor fault detection circuit according to any one of claims 1 to 7, the pressure sensor fault detection circuit comprises a processor, a sampling circuit and a detection circuit, and the pressure sensor fault detection method comprises the following steps: The sampling circuit collects the detection output signal of the measurement 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; The processor compares the detection signal with the calibration information to determine the fault information of the pressure sensor; 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; Accordingly, the detection circuit detects the detection output signal to obtain a detection signal, and transmits the detection signal to the processor, including: The peak detection circuit is used to perform peak detection on the detection output signal to obtain a peak detection signal, and transmit the peak detection signal to the processor; The phase detection circuit is used to perform phase detection on the detection output signal to obtain a phase angle detection signal, and transmit the phase angle detection signal to the processor.
9. A pressure sensor, characterized in that: The pressure sensor includes the pressure sensor fault detection circuit according to any one of claims 1 to 7, or applies the pressure sensor fault detection method according to claim 8.
Citation Information
Patent Citations
Pressure sensor fault detection circuit and pressure sensor
CN214010596U