CN115574854B - Fault diagnosis circuit device, fault diagnosis method, computer, storage medium, and program - Google Patents

Fault diagnosis circuit device, fault diagnosis method, computer, storage medium, and program Download PDF

Info

Publication number
CN115574854B
CN115574854B CN202211545363.4A CN202211545363A CN115574854B CN 115574854 B CN115574854 B CN 115574854B CN 202211545363 A CN202211545363 A CN 202211545363A CN 115574854 B CN115574854 B CN 115574854B
Authority
CN
China
Prior art keywords
comparator
bridge type
sensor
bridge
resistor
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.)
Active
Application number
CN202211545363.4A
Other languages
Chinese (zh)
Other versions
CN115574854A (en
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.)
Quanzhou Kuntaixin Microelectronic Technology Co ltd
Original Assignee
Quanzhou Kuntaixin Microelectronic Technology Co ltd
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 Quanzhou Kuntaixin Microelectronic Technology Co ltd filed Critical Quanzhou Kuntaixin Microelectronic Technology Co ltd
Priority to CN202211545363.4A priority Critical patent/CN115574854B/en
Publication of CN115574854A publication Critical patent/CN115574854A/en
Application granted granted Critical
Publication of CN115574854B publication Critical patent/CN115574854B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D18/00Testing or calibrating apparatus or arrangements provided for in groups G01D1/00 - G01D15/00
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R1/00Details of instruments or arrangements of the types included in groups G01R5/00 - G01R13/00 and G01R31/00
    • G01R1/30Structural combination of electric measuring instruments with basic electronic circuits, e.g. with amplifier
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2801Testing of printed circuits, backplanes, motherboards, hybrid circuits or carriers for multichip packages [MCP]
    • G01R31/281Specific types of tests or tests for a specific type of fault, e.g. thermal mapping, shorts testing
    • G01R31/2812Checking for open circuits or shorts, e.g. solder bridges; Testing conductivity, resistivity or impedance
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2832Specific tests of electronic circuits not provided for elsewhere
    • G01R31/2836Fault-finding or characterising
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/22Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral
    • H03K5/24Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral the characteristic being amplitude
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Abstract

The invention relates to the technical field of bridge type resistive sensors, and discloses a fault diagnosis circuit device, a fault diagnosis method, a computer, a storage medium and a program, wherein a signal processing unit of the fault diagnosis circuit device comprises a fault detection circuit, and the fault detection circuit comprises a first comparator and a second comparator; the two output ends of the bridge type resistance sensor are respectively connected with the positive input ends of the first comparator and the second comparator, and the negative input ends of the two comparators are both connected with a first reference voltage; the signal processing unit adjusts the size of the excitation voltage of the bridge type resistance sensor so that the differential voltage output by the two output ends of the bridge type resistance sensor changes, the differential voltage is compared with the first reference voltage through the first comparator and the second comparator respectively, the first comparator and the second comparator output a first result and a second result respectively, and the bridge type resistance sensor is judged to be normal or abnormal. The invention reduces the influence on the normal circuit to the utmost extent, improves the performance and the efficiency and saves the cost.

Description

Fault diagnosis circuit device, fault diagnosis method, computer, storage medium, and program
Technical Field
The present invention relates to the field of bridge resistive sensors, and in particular, to a fault diagnosis circuit device, a fault diagnosis method, a computer, a storage medium, and a computer-readable program for a bridge resistive sensor.
Background
The current detection method of the bridge circuit comprises the following steps: 1. the method generally needs 4 comparators, and the threshold value setting of the comparators needs to be carried out according to the characteristics of the sensor, otherwise, misjudgment with high probability occurs, and the short-circuit state of the sensor cannot be effectively judged; 2. an additional resistance network is added, and by changing the connection network relation of the sensors, if the bridge sensor in a normal state generates a corresponding output state, and abnormal states such as open circuit, short circuit and the like occur, the bridge sensor can be quickly detected, and the method needs a larger resistance or otherwise affects the original bridge circuit;
the method according to claim 1: the bridge resistive sensor (the bridge resistive sensor portion in fig. 1) has a lot of applications in daily life and production, but the bridge resistive sensor generally has a not very large signal and a weak driving capability, and generally the signal of the bridge resistive sensor is not directly used, but the output signal of the bridge resistive sensor is processed by a signal processing unit (the signal processing unit portion in fig. 1). In the production process, the sensor conditioning chip needs to judge the state of the bridge type resistance sensor, so that a series of abnormal conditions such as open circuit, short circuit and the like exist in the connection process, and the circuit is called as a fault detection circuit. The method generally needs 4 comparators, and needs to set the threshold of the comparator according to the characteristics of the sensor, otherwise, misjudgment with high probability occurs, and the short-circuit state of the sensor cannot be effectively judged.
The typical prior art in the method of the above 2 is: the publication numbers are: CN 101732044B, patent number: 200810217325.X, name: the patent of a bridge type pressure sensor detection circuit, detection method and monitor provides a bridge type pressure sensor detection circuit, the circuit includes lead detection network, voltage derivation circuit and judgement unit, lead the detection network at least one end connection potential point, lead the detection network and be used for being connected with two output terminals of bridge type pressure sensor, the input of voltage derivation circuit links to each other with lead detection network, the output of voltage derivation circuit links to each other with the judgement unit, voltage derivation circuit is used for with two output terminal voltages or the voltage correlation volume of bridge type pressure sensor conduct judgement unit, judgement unit compares the voltage or the voltage correlation volume of two output points of bridge type pressure sensor with the settlement condition, judges the trouble of bridge type pressure sensor.
The bridge type pressure sensor adopts a classic wheatstone bridge structure, the bridge arm resistor R1= R2= R3 is usually in a range of 300 Ω -10K (bridge arm resistors of different brands of sensors are different), wherein the variable resistor Rx is a piezoresistor, the resistance value of the piezoresistor can change along with the change of external pressure, the larger the external pressure is, the smaller the resistance value of the piezoresistor is, and the larger the differential mode voltage of the IBP + and the IBP-output by the bridge is. The precision of a common sensor is 5uV/V/mmHg, and when 5V is supplied, the differential mode voltage of the corresponding bridge output of 1mmHg is 5 x 5=25uV. The lead falling detection circuit is a simple resistance voltage division structure, wherein R4, R5 and R6 are far larger than bridge arm resistances of the bridge. In the circuit, the IBP pressure measurement value and the lead falling detection result are obtained by analyzing and processing the output voltage of the instrumentation amplifier. The two states of IBP lead falling and lead connection respectively correspond to different ranges of the output voltage of the instrument amplifier. According to the method, an additional resistor network is added, and by changing the connection network relation of the sensors, if the bridge sensor in a normal state can generate a corresponding output state, and abnormal states such as open circuit, short circuit and the like can be detected quickly, but the method needs a larger resistor, otherwise the original bridge circuit is affected, the larger resistor greatly increases the cost and the volume of the whole circuit, and the application range of the method is greatly reduced.
Disclosure of Invention
The invention aims to provide a fault diagnosis circuit device of a bridge type resistance sensor, a fault diagnosis method, a computer, a storage medium and a computer readable program.
In order to achieve the above object, in a first aspect, the present invention provides a technical solution: provided is a fault diagnosis circuit device of a bridge type resistive sensor, which is used for diagnosing faults of the bridge type resistive sensor and comprises the following components:
the signal processing unit comprises a fault detection circuit, and the fault detection circuit comprises a first comparator and a second comparator;
the input end of the bridge type resistance sensor is connected with an excitation voltage V B And said excitation voltage V B The size is adjustable;
a first output end of the bridge type resistive sensor is connected with a positive input end of the first comparator, a second output end of the bridge type resistive sensor is connected with a positive input end of the second comparator, and negative input ends of the first comparator and the second comparator are connected with a first reference voltage REF; or
A first output end of the bridge type resistive sensor is connected with a negative input end of the first comparator, a second output end of the bridge type resistive sensor is connected with a negative input end of the second comparator, and positive input ends of the first comparator and the second comparator are connected with a first reference voltage REF;
a central processing unit for adjusting the excitation voltage V by the signal processing unit B So that the differential voltage V outputted by the first output end and the second output end of the bridge type resistance type sensor L 、V R Is varied and the differential voltage V is L 、V R Comparing with the first reference voltage REF through the first comparator and the second comparator respectively, and outputting a first result F through the first comparator and the second comparator respectively L And the second result F R Said central processing unit passing said first result F L And the second result F R And judging whether the bridge type resistance sensor is normal or abnormal.
The signal processing unit further comprises a second reference voltage VREF, the excitation voltage V B Is output through the second reference voltage VREF.
The ground end V of the bridge type resistance sensor G And the ground end of the signal processing unit is connected together.
The bridge resistive sensor includes a resistor R 1L And a resistor R 2L Resistance R 1R Resistance R 2R The resistance R 1L And a resistor R 1R Are connected together and are connected to said excitation voltage V B Connection, the resistance R 1L And a resistance R 2L The positive pole of (2) is connected, the resistor R 1R And a resistance R 2R The positive pole of the resistor R is connected 1L And a resistance R 2L And the positive pole of the resistor R is connected with and forms the first output end 1R And a resistance R 2R And the positive pole of the resistor R is connected with and forms the second output end 2L And a resistor R 2R Are connected together to form the ground of the bridge resistive sensor.
The central processing unit is further configured to control, by the signal processing unit, the first reference voltage REF and the second reference voltage VREF to simultaneously operate in a first time period Φ 1 or a second time period Φ 2, where the first time period Φ 1 is a low-level time period and the second time period Φ 2 is a high-level time period:
within phi 1 such that
Figure 492829DEST_PATH_IMAGE001
In phi 2 causes->
Figure 808404DEST_PATH_IMAGE002
Within phi 1 such that
Figure 409150DEST_PATH_IMAGE003
In phi 2 causes->
Figure 810175DEST_PATH_IMAGE004
Then during the period of Φ 1,
Figure 154569DEST_PATH_IMAGE005
,/>
Figure 855809DEST_PATH_IMAGE006
;/>
during the period of time phi 2, the system,
Figure 801024DEST_PATH_IMAGE007
,/>
Figure 17242DEST_PATH_IMAGE008
and R of the bridge type resistance sensor 1L 、R 2L And R 1R 、R 2R Is completely equivalent to R 1L =R 1R 、R 2L =R 2R Order:
Figure 837430DEST_PATH_IMAGE009
if during phi 1
Figure 189914DEST_PATH_IMAGE010
The timing of, during Φ 2,
Figure 804567DEST_PATH_IMAGE011
i.e. is->
Figure 242501DEST_PATH_IMAGE012
Judging that the bridge type resistance sensor works normally; when setting k3= k4= |)>
Figure 866380DEST_PATH_IMAGE013
,k1=/>
Figure 73371DEST_PATH_IMAGE014
,k2=/>
Figure 623039DEST_PATH_IMAGE015
Then judge
Figure 548269DEST_PATH_IMAGE016
The bridge type resistance sensor is considered to work normally;
if phi 1 period F L 、F R >0 or phi 2 period F L 、F R <0, obtaining
Figure 975840DEST_PATH_IMAGE017
Or->
Figure 302916DEST_PATH_IMAGE018
Judging that the bridge type resistance sensor is abnormal;
wherein the deviation value
Figure 524950DEST_PATH_IMAGE019
Can be realized by setting different k1, k2, k3 and k4, wherein 0<k1<1、0<k2<1、0<k3<1、0<k4<1。
When setting k3= k4=
Figure 671897DEST_PATH_IMAGE013
,k1=/>
Figure 637579DEST_PATH_IMAGE014
,k2=/>
Figure 819162DEST_PATH_IMAGE015
Then judge
Figure 713562DEST_PATH_IMAGE020
Bridge resistive sensor is considered abnormal, such as V B 、V R 、V L 、V G Off condition or R 1L 、R 2L R is 1R 、R 2R There is a greater deviation therebetween, wherein the deviation value->
Figure 551068DEST_PATH_IMAGE019
Can be realized by setting different k1, k2, k3 and k4, wherein 0<k1<1、0<k2<1、0<k3<1、0<k4<1, there is a large degree of freedom for the designer.
In order to achieve the second object, in a second aspect, the present invention provides a method for diagnosing a fault of a bridge resistive sensor, which is used for controlling a signal processing unit by a central processing unit to diagnose whether the bridge resistive sensor has a fault, wherein the signal processing unit includes a fault detection circuit, and the fault detection circuit includes a first comparator and a second comparator, and the method includes the following steps: connecting the input end of the bridge type resistance sensor to an excitation voltage V B And said excitation voltage V B The size is adjustable;
connecting a first output end of the bridge type resistance sensor with a positive input end of the first comparator, connecting a second output end of the bridge type resistance sensor with a positive input end of the second comparator, and connecting negative input ends of the first comparator and the second comparator with a first reference voltage REF; or
Connecting a first output end of the bridge type resistance sensor with a negative input end of the first comparator, connecting a second output end of the bridge type resistance sensor with a negative input end of the second comparator, and connecting positive input ends of the first comparator and the second comparator with a first reference voltage REF;
the central processing unit adjusts the excitation voltage V through the signal processing unit B So that the differential voltage V outputted from the first output terminal and the second output terminal of the bridge type resistive sensor L 、V R Produce a variation and apply the differential voltage V L 、V R After being respectively compared with the first reference voltage REF through the first comparator and the second comparator, the first result F is respectively output through the first comparator and the second comparator L The second result F R
The central processing unit passes the first result F L The second result F R And judging whether the bridge type resistance sensor is normal or abnormal.
The signal processing unit is connected to a second reference voltage VREF, the excitation voltage V B Is output through the second reference voltage VREF.
The ground end V of the bridge type resistance sensor G And the ground end of the signal processing unit is connected together.
The bridge resistive sensor includes a resistor R 1L Resistance R 2L Resistance R 1R Resistance R 2R Said resistance R 1L Resistance R 1R Is connected together and to said excitation voltage V B Connection, the resistance R 1L And a resistance R 2L The positive pole of the resistor R is connected 1R And a resistance R 2R The positive pole of the resistor R is connected 1L Negative electrode and resistor R 2L And the positive pole of the resistor R is connected with and forms the first output end 1R And a resistance R 2R And the positive pole of the resistor R is connected with and forms the second output end 2L And a resistor R 2R Are connected together to form the ground of the bridge resistive sensor.
The central processing unit further controls the first reference voltage REF and the second reference voltage VREF to work in a first time period phi 1 or a second time period phi 2 at the same time through the signal processing unit, wherein the first time period phi 1 is a low-level time period, and the second time period phi 2 is a high-level time period:
within phi 1 such that
Figure 117178DEST_PATH_IMAGE001
In phi 2 cause +>
Figure 90951DEST_PATH_IMAGE002
Within phi 1 such that
Figure 717104DEST_PATH_IMAGE003
In phi 2 causes->
Figure 776327DEST_PATH_IMAGE004
Then during the period of 1 the time of phi,
Figure 146128DEST_PATH_IMAGE005
,/>
Figure 505566DEST_PATH_IMAGE006
during the period of time phi 2, the system,
Figure 302620DEST_PATH_IMAGE007
,/>
Figure 347674DEST_PATH_IMAGE008
and R of the bridge type resistance sensor 1L 、R 2L And R 1R 、R 2R Is completely equivalent to R 1L =R 1R 、R 2L =R 2R Order:
Figure 255588DEST_PATH_IMAGE009
if during phi 1
Figure 938373DEST_PATH_IMAGE010
The timing of, during Φ 2,
Figure 375170DEST_PATH_IMAGE011
i.e. is->
Figure 940144DEST_PATH_IMAGE012
Judging that the bridge type resistance sensor works normally; when setting k3= k4= +>
Figure 120589DEST_PATH_IMAGE013
,k1=/>
Figure 956084DEST_PATH_IMAGE014
,k2=/>
Figure 94941DEST_PATH_IMAGE015
Then judge
Figure 616052DEST_PATH_IMAGE016
The bridge type resistance sensor is considered to work normally;
if phi 1 period F L 、F R >0 or phi 2 period F L 、F R <0, obtaining
Figure 131347DEST_PATH_IMAGE017
Or>
Figure 54304DEST_PATH_IMAGE018
Judging that the bridge type resistance sensor is abnormal;
wherein the deviation value
Figure 364062DEST_PATH_IMAGE019
Can be realized by setting different k1, k2, k3 and k4, wherein 0<k1<1、0<k2<1、0<k3<1、0<k4<1。
When setting k3= k4=
Figure 106890DEST_PATH_IMAGE013
,k1=/>
Figure 160297DEST_PATH_IMAGE014
,k2=/>
Figure 436295DEST_PATH_IMAGE015
Then judge
Figure 916955DEST_PATH_IMAGE020
Bridge resistive sensor is considered to be abnormal, e.g. V B 、V R 、V L 、V G Exfoliation or R 1L 、R 2L R is 1R 、R 2R There is a greater deviation between, wherein the deviation value +>
Figure 412659DEST_PATH_IMAGE019
Can be realized by setting different k1, k2, k3 and k4, wherein 0<k1<1、0<k2<1、0<k3<1、0<k4<1, there is a large degree of freedom for the designer.
In a third aspect, the present invention provides a computer, comprising at least one processor, a storage medium, and an operating system, wherein the operating system is stored in the storage medium; the at least one processor is coupled to the storage medium; the storage medium is configured to store a program, and the processor is configured to execute the program, which when executed by the at least one processor, causes the at least one processor to perform the method for fault diagnosis of a bridge resistive sensor.
In a fourth aspect, the present invention provides a storage medium which is a computer-readable storage medium, the storage medium storing a program that causes a computer to execute the method for diagnosing a fault of a bridge resistive sensor.
In a fifth aspect, the present invention provides a computer readable program which, when executed by one or more processors, provides a method of fault diagnosis for a bridge resistive sensor.
The invention has the beneficial effects that:
1. the hardware is simple, the diagnosis function can be realized by additionally adding two comparators, and the cost is greatly saved;
2. the bridge sensor detection device can detect the open circuit abnormity of the bridge resistance sensor, can screen out the bridge sensor with poor characteristics, and greatly improves the efficiency;
3. the invention can not generate load effect on the bridge type resistance sensor, reduces the influence on a normal circuit to the maximum extent and greatly improves the performance.
The invention will become more apparent from the following description when taken in conjunction with the accompanying drawings, which illustrate embodiments of the invention.
Drawings
Fig. 1 is a system block diagram of a fault diagnosis circuit apparatus of a bridge resistive sensor according to the present invention.
Fig. 2 is a schematic circuit diagram of a fault diagnosis circuit arrangement of the bridge resistive sensor shown in fig. 1.
Fig. 3 is a level timing diagram of the fault diagnosis circuit apparatus of the bridge type resistive sensor shown in fig. 2.
Fig. 4 is a flow chart of a fault diagnosis method of the bridge type resistive sensor according to the present invention.
FIG. 5 is a system block diagram of the computer of the present invention.
Detailed Description
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.
The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, if the terms "including", "having", and their derivatives are used in various embodiments of the present invention, they are intended to indicate only specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be understood as first excluding the existence of or adding to one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, to the extent that the present disclosure is directed to the terms "first," "second," "third," etc., this is used merely to distinguish one element from another, and is not intended to indicate or imply relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments of the present invention.
It should be noted that the bridge type resistive sensor, also called a wheatstone bridge, is a bridge circuit composed of four resistors, and the bridge type resistive sensor measures the change of the physical quantity by using the change of the resistors, and the voltage at the two ends of the variable resistor can be collected by the single chip microcomputer and then processed, so that the change of the corresponding physical quantity can be calculated, and the bridge type resistive sensor is a measuring means with high precision. Bridge resistive sensors have a wide range of applications, typically:
(1) For accurate measurement of very low resistance values;
(2) And is used together with operational amplifiers for measuring physical quantities such as temperature, pressure, electricity, light, etc.
Referring to FIG. 2, a bridge resistive sensor includes four resistors connected as a bridge, namely resistor R 1L Electricity, electricityResistance R 2L And a resistor R 1R And a resistor R 2R . Resistance R 1L Resistance R 1R Node connection excitation voltage V between B Resistance R 2L Resistance R 2R Node between is grounded V G Resistance R 1L Resistance R 2L The node between is the first output end V L Resistance R 1R Resistance R 2R The node between is a second output terminal V R . In an ideal state, the first output terminal V L Second output terminal V R The differential mode voltage of (1) is 0, and in the actual use process, the first output end V L Second output terminal V R Is not 0, which is the signal we need to acquire and amplify. Before leaving factory, the bridge type resistance sensor needs to be subjected to fault diagnosis or fault test, and in the technical scheme provided by the invention, the fault diagnosis circuit device of the bridge type resistance sensor comprises: bridge type resistance sensor, signal processing unit, central processing unit. The signal processing unit comprises a fault detection circuit, and the fault detection circuit comprises a first comparator and a second comparator; the differential voltage V output by the first output end and the second output end of the bridge type resistance sensor L 、V R Change is generated, and the differential voltage V L 、V R Respectively comparing the first reference voltage REF with the first comparator and the second comparator, and respectively outputting a first result F L The second result F R Said central processing unit passing said first result F L The second result F R And judging whether the bridge type resistance sensor is normal or abnormal.
It should be noted that the differential voltage V output by the first output terminal and the second output terminal of the bridge type resistive sensor L 、V R Connected to the first comparator and the second comparator, so as to reduce the differential voltage V output to the first output terminal and the second output terminal of the bridge type resistive sensor L 、V R So that the first and second comparators generally employ high input and low output impedancesTo reduce the pair differential voltage V as much as possible L 、V R So that the first comparator and the second comparator collect a differential voltage V closer to the actual value L 、V R
Referring to FIG. 2, the operating point of the bridge resistive sensor will now be described to excite the voltage V B Is 5V, V G Ground, resistance R 1L And a resistor R 2L Resistance R 1R Resistance R 2R Are all in an ideal state, e.g. resistance R 1L And a resistor R 2L Equal, resistance R 1R Resistance R 2R The following description explains several specific situations in the operation process of the bridge type resistive sensor:
(1) a first output terminal V normally connected with the signal processing unit L Second output terminal V R All output 2.5V;
(2) open circuit with the signal processing unit, the first output terminal V L Second output terminal V R 2.5V is output;
(3) excitation voltage V B Open circuit, first output terminal V L Second output terminal V R All output 0V;
(4) ground end V G Open circuit, first output terminal V L Second output terminal V R 2.5V is output;
(5) first output terminal V L Open circuit, first output terminal V L Suspended, the second output end V R 2.5V is output;
(6) second output terminal V R Open circuit, second output terminal V R Suspended, the first output end V L 2.5V is output;
(7) excitation voltage V B And a first output terminal V L Short circuit, first output terminal V L Output 5V, second output terminal V R 2.5V is output;
(8) excitation voltage V B And a second output terminal V R Short circuit, first output terminal V L Output 2.5V, second output terminal V R Outputting 5V;
(9) ground terminal V G And a first output terminal V L Short circuit, first output terminal V L Output 0V, second output terminal V R 2.5V is output;
in the ear ground V G And a second output terminal V R Short circuit, first output terminal V L Output 2.5V, second output terminal V R Outputting 0V;
\\ 9322 L And a second output terminal V R And short circuit is carried out, and the differential mode voltage output by the bridge type resistance sensor is always 0.
\9323 B And ground end V G Short circuit, circuit trouble appear, need to realize overcurrent protection by hardware circuit.
Referring to fig. 1 and 2, the embodiment of the present invention provides the following technical solutions: a fault diagnosis circuit device of a bridge type resistive sensor is provided, which is used for diagnosing faults of the bridge type resistive sensor 10, such as fault diagnosis before factory shipment, production test after packaging other electronic components on a circuit board, fault diagnosis in use and the like, and comprises:
a signal processing unit 20, the signal processing unit 20 including a fault detection circuit 21, the fault detection circuit 21 including a first comparator 211, a second comparator 212;
the input end of the bridge type resistance sensor 10 is connected with an excitation voltage V B And said excitation voltage V B The size is adjustable;
in the embodiment illustrated with reference to FIG. 2, the bridge resistive sensor 10 includes a resistor R 1L Resistance R 2L Resistance R 1R Resistance R 2R The input end of the bridge type resistance sensor 10 is the resistor R 1L Resistance R 1R Node between, and connect said excitation voltage V B Said excitation voltage V B The size of the sensor is adjustable to adapt to fault diagnosis of bridge type resistance sensors of different models.
A first output end of the bridge resistive sensor 10 is connected to a positive input end of the first comparator 211, a second output end of the bridge resistive sensor 10 is connected to a positive input end of the second comparator 212, and negative input ends of the first comparator 211 and the second comparator 212 are connected to a first reference voltage REF; or
A first output end of the bridge resistive sensor 10 is connected to a negative input end of the first comparator 211, a second output end of the bridge resistive sensor 10 is connected to a negative input end of the second comparator 212, and positive input ends of the first comparator 211 and the second comparator 212 are connected to a first reference voltage REF;
the resistor R is 1L Resistance R 2L The node between is a first output terminal V L Resistance R 1R Resistance R 2R The node in between is a second output terminal V R . In the above two schemes, the first output terminal and the second output terminal of the bridge type resistive sensor 10 are equivalent to which input terminal of the first comparator 211 and the second comparator 212 is connected. Both connection schemes can fulfill diagnostic requirements for fault diagnosis of bridge resistive sensors. And the first reference voltage REF can be provided by a reference voltage source, which can ensure to provide a stable reference voltage, and the requirement for using the reference voltage source is a circuit capable of providing a stable output voltage when the power supply voltage, the load and the temperature are in a certain variation range.
A central processing unit 30, the central processing unit 30 being used for adjusting the excitation voltage V by the signal processing unit 20 B So that the differential voltage V outputted from the first output terminal and the second output terminal of the bridge type resistive sensor 10 L 、V R Change is generated, and the differential voltage V L 、V R The first comparator 211 and the second comparator 212 respectively compare with the first reference voltage REF, and the first comparator 211 and the second comparator 212 respectively output a first result F L The second result F R Said central processing unit 30 passing said first result F L The second result F R And judging whether the bridge type resistance sensor 10 is normal or abnormal.
In the above embodiment, the central processing unit 30 is used for adjusting the excitation voltage V B And to the first comparator 211. The second comparators 212 output the first results F L The second result F R And analyzing and processing to judge whether the bridge type resistance sensor 10 is normal or abnormal.
In the above embodiment, the central processing unit 30 may be a final execution unit for processing information and running programs, such as a single chip, an MCU, and a CPU. To a certain extent, when the task of fault diagnosis is not significant, the operation of the central processing unit 30 can be replaced manually, i.e. by manually adjusting the excitation voltage V B Size of, artificially passing the first result F L The second result F R And judging whether the bridge type resistance sensor 10 is normal or abnormal.
It should be noted that, in order to more accurately test the normality or abnormality of the bridge type resistive sensor 10, the excitation voltage V is set to be lower than the normal voltage V B Capable of outputting a plurality of different voltage levels, e.g. excitation voltage V B =5V or 6V or 7V, 10V, etc., the excitation voltage V can be easily adjusted by the central processing unit 30 B The voltage magnitude required during the test.
It should be noted that the comparator is a circuit that compares an analog voltage signal with a reference voltage. The two paths of input of the comparator are analog signals, the output is binary signals 0 or 1, and when the difference value of the input voltage is increased or decreased and the positive sign and the negative sign are unchanged, the output is kept constant. In this embodiment, the first comparator 211 compares the differential voltage V outputted from the first output terminal of the bridge resistive sensor 10 L Comparing with a first reference voltage REF; the second comparator 212 compares the differential voltage V outputted from the second output terminal of the bridge resistive sensor 10 R Is compared with a first reference voltage REF. And the first comparator 211 and the second comparator 212 output the first result F respectively L The second result F R Said central processing unit 30 passing said first result F L The second result F R Determining whether the bridge resistive sensor 10 is normal or abnormal, and determining the first result F L The second result F R Is binary signal 0 or 1, and the bridge resistor is determined according to the binary signalThe formula sensor 10 is normal or abnormal.
Therefore, the function of the central processing unit 30 should include the ability to adjust the excitation voltage V by the signal processing unit 20 B To satisfy the requirement that the bridge type resistive sensor 10 is under different excitation voltages V B Next, fault diagnosis is performed.
Referring to fig. 2, the signal processing unit 20 further includes a second reference voltage VREF, the driving voltage V B Is output through the second reference voltage VREF.
The second reference voltage VREF can be supplied by a reference voltage source, which is a circuit capable of supplying a stable output voltage when the power supply voltage, the load, and the temperature are within a certain variation range.
In some embodiments, the first reference voltage REF and the second reference voltage VREF may be provided by two different reference voltage sources; the voltage can be provided by configuring a resistance voltage division network by the same reference voltage source.
In one embodiment, referring to FIG. 2, the ground terminal V of the bridge resistive sensor 10 G And is connected with the ground terminal of the signal processing unit 20. So can make things convenient for the line design convenience of walking of circuit, can reduce the volume of circuit better.
In one embodiment, referring to FIG. 2, the bridge resistive sensor 10 includes a resistor R 1L Resistance R 2L Resistance R 1R And a resistor R 2R Said resistance R 1L Resistance R 1R Are connected together and are connected to said excitation voltage V B Connection, the resistance R 1L Negative electrode and resistor R 2L The positive pole of the resistor R is connected 1R Negative electrode and resistor R 2R The positive pole of the resistor R is connected 1L And a resistance R 2L And the positive pole of the resistor R is connected with and forms the first output end 1R And a resistance R 2R And the positive pole of the resistor R is connected with and forms the second output end 2L And a resistor R 2R Are connected together to form the ground of the bridge resistive sensor.
In one embodiment, referring to fig. 2 and 3, the central processing unit 30 is further configured to control the first reference voltage REF and the second reference voltage VREF to simultaneously operate in a first time period Φ 1 or a second time period Φ 2 by the signal processing unit 20, where the first time period Φ 1 is a low-level time period, and the second time period Φ 2 is a high-level time period:
within phi 1 such that
Figure 4177DEST_PATH_IMAGE001
In phi 2 causes->
Figure 901726DEST_PATH_IMAGE002
Within phi 1 cause
Figure 553287DEST_PATH_IMAGE003
In phi 2 causes->
Figure 536287DEST_PATH_IMAGE004
Then during the period of Φ 1,
Figure 931496DEST_PATH_IMAGE005
,/>
Figure 683551DEST_PATH_IMAGE006
;/>
during the period of time phi 2, the system,
Figure 506014DEST_PATH_IMAGE007
,/>
Figure 223914DEST_PATH_IMAGE008
and R of the bridge type resistance sensor 1L 、R 2L And R 1R 、R 2R Is completely equivalent to R 1L =R 1R 、R 2L =R 2R Order:
Figure 422814DEST_PATH_IMAGE009
if during phi 1
Figure 29376DEST_PATH_IMAGE010
The timing of, during Φ 2,
Figure 22740DEST_PATH_IMAGE011
i.e. is->
Figure 714752DEST_PATH_IMAGE012
Judging that the bridge type resistance sensor works normally; when setting k3= k4= |)>
Figure 717343DEST_PATH_IMAGE013
,k1=/>
Figure 178411DEST_PATH_IMAGE014
,k2=/>
Figure 342677DEST_PATH_IMAGE015
Then judge
Figure 286099DEST_PATH_IMAGE016
The bridge type resistance sensor is considered to work normally;
if phi 1 period F L 、F R >0 or phi 2 period F L 、F R <0, obtaining
Figure 826802DEST_PATH_IMAGE017
Or->
Figure 142377DEST_PATH_IMAGE018
Judging that the bridge type resistance sensor is abnormal;
wherein the deviation value
Figure 743123DEST_PATH_IMAGE019
This can be achieved by setting different k1, k2, k3, k4, where 0<k1<1、0<k2<1、0<k3<1、0<k4<1。
When setting k3= k4=
Figure 144148DEST_PATH_IMAGE013
,k1=/>
Figure 488542DEST_PATH_IMAGE014
,k2=/>
Figure 658623DEST_PATH_IMAGE015
Then judge
Figure 869418DEST_PATH_IMAGE020
Bridge resistive sensor is considered abnormal, such as V B 、V R 、V L 、V G Exfoliation or R 1L 、R 2L R is 1R 、R 2R There is a greater deviation therebetween, wherein the deviation value->
Figure 820056DEST_PATH_IMAGE019
Can be realized by setting different k1, k2, k3 and k4, wherein 0<k1<1、0<k2<1、0<k3<1、0<k4<1, there is a greater degree of freedom for the designer.
In order to better understand the technical solution in the above embodiments, a more specific parameter is used for explanation: specifically, when R is 1L 、R 2L 、R 1R 、R 2R The resistance values of (A) are respectively as follows: 5Kohm, 5Kohm;
the magnitude of the second reference voltage VREF is: 5V, and (5);
k1, k2, k3, k4 are respectively: 0.25, 0.75, 0.1875;
within phi 1 such that
Figure 640245DEST_PATH_IMAGE001
=1.25V, in Φ 2 so that +>
Figure 992729DEST_PATH_IMAGE002
=3.75V;
At phi 1Internal make
Figure 138539DEST_PATH_IMAGE003
=0.9375V, makes ÷ inside Φ 2>
Figure 576474DEST_PATH_IMAGE004
=0.9375V;
Then during the period of Φ 1,
Figure 200353DEST_PATH_IMAGE005
,/>
Figure 407344DEST_PATH_IMAGE006
namely:
Figure 957012DEST_PATH_IMAGE021
,/>
Figure 882242DEST_PATH_IMAGE022
during the period of time phi 2, the system,
Figure 44233DEST_PATH_IMAGE007
,/>
Figure 371309DEST_PATH_IMAGE008
i.e. during the period of 2,
Figure 327764DEST_PATH_IMAGE023
1.875V,/>
Figure 740291DEST_PATH_IMAGE024
1.875V;
here, the
Figure 705973DEST_PATH_IMAGE025
Satisfy the requirements of
Figure 887556DEST_PATH_IMAGE012
Namely: -0.5/>
Figure 781956DEST_PATH_IMAGE026
0.5, R of sensor 1L 、R 2L And R 1R 、R 2R And the full equivalence is realized, and the actual sensor is normal. />
From the comparator characteristics, F is found within Φ 1 L <0、F R <0 and within Φ 2F L >0、F R >0, judging that the bridge type resistance sensor works normally and is consistent with the actual condition;
in another embodiment, specifically when R 1L 、R 2L 、R 1R 、R 2R The resistance values of (A) are respectively as follows: 5Kohm, 1Kohm, 9Kohm;
the magnitude of the second reference voltage VREF is: 5V, and (5);
k1, k2, k3, k4 are respectively: 0.25, 0.75, 0.1875;
within phi 1 such that
Figure 416199DEST_PATH_IMAGE001
=1.25V, in Φ 2 so that +>
Figure 185572DEST_PATH_IMAGE002
=3.75V;
Within phi 1 such that
Figure 424924DEST_PATH_IMAGE003
=0.9375V, makes ÷ inside Φ 2>
Figure 51077DEST_PATH_IMAGE004
=0.9375V;
Then during the period of Φ 1,
Figure 110300DEST_PATH_IMAGE005
,/>
Figure 480101DEST_PATH_IMAGE006
namely:
Figure 72494DEST_PATH_IMAGE021
,/>
Figure 869549DEST_PATH_IMAGE027
during the period of time phi 2, the pulse width modulation,
Figure 416068DEST_PATH_IMAGE007
,/>
Figure 323981DEST_PATH_IMAGE008
i.e. during the period of 2,
Figure 272346DEST_PATH_IMAGE023
1.875V,/>
Figure 240302DEST_PATH_IMAGE024
3.375V;
here, the
Figure 539696DEST_PATH_IMAGE028
Do not satisfy
Figure 251300DEST_PATH_IMAGE012
Namely: does not satisfy-0.5>
Figure 24477DEST_PATH_IMAGE026
0.5, R of sensor 1R 、R 2R The mismatch is severe and the actual sensor is considered to be abnormal.
From the comparator characteristics, F is found within Φ 1 L <0、F R >0, in phi 2, F L >0、F R >And 0, judging that the bridge type resistance sensor works abnormally and is consistent with the actual condition.
If the time comparison between phi 1 and phi 2 is short, the first comparator and the second comparator can be combined into one comparator, and the time sequence is expanded to phi 1 and phi 2 to detect V L Voltage,. Phi.3,. Phi.4, detecting V R Voltage, so that hardware space can be saved to the maximum extent.
Referring to fig. 4, the present invention provides a fault diagnosis method for a bridge resistive sensor, which is used for diagnosing whether a fault exists in the bridge resistive sensor by controlling a signal processing unit through a central processing unit, wherein the signal processing unit includes a fault detection circuit, and the fault detection circuit includes a first comparator and a second comparator,
the method comprises the following steps:
s001 connecting the input end of the bridge type resistance sensor to an excitation voltage V B And said excitation voltage V B The size is adjustable;
in the embodiment illustrated with reference to FIG. 2, the bridge resistive sensor 10 includes a resistor R 1L Resistance R 2L Resistance R 1R Resistance R 2R The input end of the bridge type resistance sensor 10 is the resistor R 1L And a resistor R 1R Node between, and connect said excitation voltage V B Said excitation voltage V B The size of the sensor is adjustable to adapt to fault diagnosis of bridge type resistance sensors of different models.
S002, connecting the first output terminal of the bridge resistive sensor to the positive input terminal of the first comparator, connecting the second output terminal of the bridge resistive sensor to the positive input terminal of the second comparator, and connecting the negative input terminals of the first comparator and the second comparator to the first reference voltage REF; or
Connecting a first output end of the bridge type resistance sensor with a negative input end of the first comparator, connecting a second output end of the bridge type resistance sensor with a negative input end of the second comparator, and connecting positive input ends of the first comparator and the second comparator with a first reference voltage REF;
the resistor R is 1L Resistance R 2L The node between is the first output end V L Resistance R 1R And a resistor R 2R The node in between is a second output terminal V R . In the above two schemes, whether the first output terminal and the second output terminal of the bridge type resistive sensor 10 are connected to the first comparator 211 and the second comparator 212Which input is equivalent. Both connection schemes can fulfill diagnostic requirements for fault diagnosis of bridge resistive sensors. And the first reference voltage REF can be provided by a reference voltage source, which can ensure to provide a stable reference voltage, and the requirement for using the reference voltage source is a circuit capable of providing a stable output voltage when the power supply voltage, the load and the temperature are in a certain variation range.
S003, the central processing unit adjusts the excitation voltage V through the signal processing unit B So that the differential voltage V outputted by the first output end and the second output end of the bridge type resistance type sensor L 、V R Vary and apply the differential voltage V L 、V R After being compared with the first reference voltage REF through the first comparator and the second comparator respectively, the first result F is output through the first comparator and the second comparator respectively L The second result F R
S004, the central processing unit passes the first result F L The second result F R And judging whether the bridge type resistance sensor is normal or abnormal.
In the above embodiment, the central processing unit 30 is used for adjusting the excitation voltage V B And outputs a first result F to the first comparator 211 and the second comparator 212, respectively L And the second result F R And analyzing and processing to judge whether the bridge type resistance sensor 10 is normal or abnormal.
In the above embodiment, the central processing unit 30 may be a final execution unit for processing information and running programs, such as a single chip, an MCU, and a CPU. To a certain extent, when the task of fault diagnosis is not significant, the operation of the central processing unit 30 can be replaced manually, i.e. by manually adjusting the excitation voltage V B Size of, artificially passing the first result F L The second result F R And judging whether the bridge type resistance sensor 10 is normal or abnormal.
It should be noted that, in order to more accurately test the bridge resistive sensorNormality or abnormality of the inductor 10, said exciting voltage V B Capable of outputting a plurality of different voltage levels, e.g. excitation voltage V B 5V or 6V or 7V, 10V, etc., the excitation voltage V can be conveniently adjusted by the central processing unit 30 B The voltage magnitude required during the test.
It should be noted that the comparator is a circuit that compares an analog voltage signal with a reference voltage. The two paths of input of the comparator are analog signals, the output is binary signals 0 or 1, and when the difference value of the input voltage is increased or decreased and the positive sign and the negative sign are unchanged, the output is kept constant. In this embodiment, the first comparator 211 compares the differential voltage V outputted from the first output terminal of the bridge resistive sensor 10 L Comparing with a first reference voltage REF; the second comparator 212 compares the differential voltage V outputted from the second output terminal of the bridge resistive sensor 10 R Is compared with a first reference voltage REF. And the first comparator 211 and the second comparator 212 output the first result F respectively L The second result F R Said central processing unit 30 passing said first result F L The second result F R Determining whether the bridge resistive sensor 10 is normal or abnormal, and determining the first result F L The second result F R Is a binary signal 0 or 1, and thus, the bridge type resistive sensor 10 is determined to be normal or abnormal.
Therefore, the function of the central processing unit 30 should include the ability to adjust the excitation voltage V by the signal processing unit 20 B To satisfy the different excitation voltages V of the bridge resistive sensor 10 B Fault diagnosis is performed.
The signal processing unit is connected to a second reference voltage VREF, the excitation voltage V B Is output through the second reference voltage VREF.
Referring to fig. 2, the signal processing unit 20 further includes a second reference voltage VREF, the driving voltage V B Is output through the second reference voltage VREF.
The second reference voltage VREF can be supplied by a reference voltage source, which is required to be a circuit capable of supplying a stable output voltage when the power supply voltage, the load, and the temperature are within a certain range of variation, so that a stable reference voltage can be surely supplied.
In some embodiments, the first reference voltage REF and the second reference voltage VREF may be provided by two different reference voltage sources; the voltage can also be provided by configuring a resistance voltage division network by the same reference voltage source.
In one embodiment, referring to FIG. 2, the ground terminal V of the bridge resistive sensor 10 G And is connected with the ground terminal of the signal processing unit 20. So can make things convenient for the line design convenience of walking of circuit, can reduce the volume of circuit better.
In one embodiment, referring to FIG. 2, the bridge resistive sensor 10 includes a resistor R 1L Resistance R 2L Resistance R 1R Resistance R 2R The resistance R 1L Resistance R 1R Is connected together and to said excitation voltage V B Connection, the resistance R 1L Negative electrode and resistor R 2L The positive pole of the resistor R is connected 1R Negative electrode and resistor R 2R The positive pole of the resistor R is connected 1L Negative electrode and resistor R 2L And the positive pole of the resistor R is connected with and forms the first output end 1R Negative electrode and resistor R 2R And the positive pole of the resistor R is connected with and forms the second output end 2L Resistance R 2R Are connected together to form the ground of the bridge resistive sensor.
In one embodiment, referring to fig. 2 and 3, the central processing unit further controls, by the signal processing unit, the first reference voltage REF and the second reference voltage VREF to simultaneously operate in a first time period Φ 1 or a second time period Φ 2, where the first time period Φ 1 is a low-level time period and the second time period Φ 2 is a high-level time period:
within phi 1 such that
Figure 632176DEST_PATH_IMAGE001
In phi 2 causes->
Figure 684446DEST_PATH_IMAGE002
Within phi 1 such that
Figure 668582DEST_PATH_IMAGE003
In phi 2 causes->
Figure 857118DEST_PATH_IMAGE004
Then during the period of Φ 1,
Figure 166877DEST_PATH_IMAGE005
,/>
Figure 175284DEST_PATH_IMAGE006
during the period of time phi 2, the system,
Figure 697532DEST_PATH_IMAGE007
,/>
Figure 537312DEST_PATH_IMAGE008
and R of the bridge type resistance sensor 1L 、R 2L And R 1R 、R 2R Is completely equivalent to R 1L =R 1R 、R 2L =R 2R Order:
Figure 985349DEST_PATH_IMAGE029
if during phi 1
Figure 12211DEST_PATH_IMAGE010
The timing of, during Φ 2,
Figure 603729DEST_PATH_IMAGE011
i.e. is->
Figure 235699DEST_PATH_IMAGE012
Judging that the bridge type resistance sensor works normally; when setting k3= k4= |)>
Figure 356102DEST_PATH_IMAGE013
,k1=/>
Figure 135839DEST_PATH_IMAGE014
,k2=/>
Figure 468731DEST_PATH_IMAGE015
Then judge
Figure 283103DEST_PATH_IMAGE016
The bridge type resistance sensor is considered to work normally;
if phi 1 period F L 、F R >0 or phi 2 period F L 、F R <0, obtaining
Figure 532995DEST_PATH_IMAGE017
Or>
Figure 800028DEST_PATH_IMAGE018
Judging that the bridge type resistance sensor is abnormal;
wherein the deviation value
Figure 936612DEST_PATH_IMAGE019
Can be realized by setting different k1, k2, k3 and k4, wherein 0<k1<1、0<k2<1、0<k3<1、0<k4<1。
When setting k3= k4=
Figure 605490DEST_PATH_IMAGE013
,k1=/>
Figure 536537DEST_PATH_IMAGE014
,k2=/>
Figure 290867DEST_PATH_IMAGE015
Then judge whether or not>
Figure 965562DEST_PATH_IMAGE020
Bridge resistive sensor is considered abnormal, such as V B 、V R 、V L 、V G Exfoliation or R 1L 、R 2L R is 1R 、R 2R There is a greater deviation therebetween, wherein the deviation value->
Figure 488947DEST_PATH_IMAGE019
Can be realized by setting different k1, k2, k3 and k4, wherein 0<k1<1、0<k2<1、0<k3<1、0<k4<1, there is a large degree of freedom for the designer.
In order to better understand the technical solution in the above embodiments, a more specific parameter is used for explanation: specifically, when R is 1L 、R 2L 、R 1R 、R 2R The resistance values of (A) are respectively as follows: 5Kohm, 5Kohm;
the magnitude of the second reference voltage VREF is: 5V, and (5);
k1, k2, k3, k4 are respectively: 0.25, 0.75, 0.1875;
within phi 1 cause
Figure 620589DEST_PATH_IMAGE001
=1.25V, makes ÷ inside Φ 2>
Figure 862214DEST_PATH_IMAGE002
=3.75V;
Within phi 1 such that
Figure 75021DEST_PATH_IMAGE003
=0.9375V, makes ÷ inside Φ 2>
Figure 718492DEST_PATH_IMAGE004
=0.9375V;
Then during the period of Φ 1,
Figure 991341DEST_PATH_IMAGE005
,/>
Figure 720263DEST_PATH_IMAGE006
namely:
Figure 736760DEST_PATH_IMAGE021
,/>
Figure 234738DEST_PATH_IMAGE022
during the period of time phi 2, the system,
Figure 445533DEST_PATH_IMAGE007
,/>
Figure 396171DEST_PATH_IMAGE008
i.e. during the period of 2,
Figure 216360DEST_PATH_IMAGE023
1.875V,/>
Figure 568844DEST_PATH_IMAGE024
1.875V;
here, the
Figure 714654DEST_PATH_IMAGE030
Satisfy the requirements of
Figure 90272DEST_PATH_IMAGE012
Namely: -0.5/>
Figure 510889DEST_PATH_IMAGE026
0.5, R of sensor 1L 、R 2L And R 1R 、R 2R And the full equivalence is realized, and the actual sensor is normal.
From the comparator characteristics, F is found within Φ 1 L <0、F R <0, and F within Φ 2 L >0、F R >0, judging that the bridge type resistance sensor works normally and is consistent with the actual condition;
in another embodiment, specifically when R 1L 、R 2L 、R 1R 、R 2R The resistance values of (A) are respectively as follows: 5Kohm, 1Kohm, 9Kohm;
the magnitude of the second reference voltage VREF is: 5V, and (5);
k1, k2, k3, k4 are respectively: 0.25, 0.75, 0.1875;
within phi 1 such that
Figure 419677DEST_PATH_IMAGE001
=1.25V, in Φ 2 so that +>
Figure 533126DEST_PATH_IMAGE002
=3.75V;
Within phi 1 cause
Figure 396040DEST_PATH_IMAGE003
=0.9375V, makes ÷ inside Φ 2>
Figure 620348DEST_PATH_IMAGE004
=0.9375V;
Then during the period of Φ 1,
Figure 619528DEST_PATH_IMAGE005
,/>
Figure 903879DEST_PATH_IMAGE006
namely:
Figure 254089DEST_PATH_IMAGE021
,/>
Figure 282088DEST_PATH_IMAGE027
during the period of time phi 2, the pulse width modulation,
Figure 666933DEST_PATH_IMAGE007
,/>
Figure 856605DEST_PATH_IMAGE008
i.e. during the period of 2,
Figure 195576DEST_PATH_IMAGE023
1.875V,/>
Figure 761687DEST_PATH_IMAGE024
3.375V;
here, the
Figure 1038DEST_PATH_IMAGE031
,/>
Not meet the requirements of
Figure 299296DEST_PATH_IMAGE012
Namely: does not satisfy-0.5>
Figure 686415DEST_PATH_IMAGE026
0.5, R of sensor 1R 、R 2R The mismatch is severe and the actual sensor is considered to be abnormal.
From the comparator characteristics, F is found within phi 1 L <0、F R >0, in phi 2, F L >0、F R >And 0, judging that the bridge type resistance sensor works abnormally and is consistent with the actual condition.
Referring to fig. 5, the present invention provides a computer 100, the computer includes at least one processor 101, a storage medium 102 and an internal memory 105, the computer 100 further includes an operating system 104, the operating system 104 is stored in the storage medium 102; the at least one processor 101 is connected with the storage medium 102; the storage medium 102 is configured to store a program 103, the processor 101 is configured to execute the program 103, and the program 103, when executed by the at least one processor 101, causes the at least one processor 101 to execute the method for diagnosing a fault of a bridge resistive sensor.
Referring to fig. 5, the present invention provides a storage medium 102, wherein the storage medium 102 is a storage medium readable by a computer 100, the storage medium 102 stores a program 103, and the program 103 causes the computer 100 to execute the method for diagnosing the fault of the bridge resistive sensor.
Referring to FIG. 5, the present invention provides a computer readable program 103, which when executed by one or more processors 101, provides a method for fault diagnosis of a bridge resistive sensor as described herein.
The above disclosure is only for the preferred embodiment of the present invention, and it should be understood that the present invention is not limited thereto, and the invention is not limited to the above disclosure.

Claims (7)

1. A fault diagnosis circuit apparatus of a bridge resistive sensor, for diagnosing a fault of the bridge resistive sensor, comprising:
the signal processing unit comprises a fault detection circuit, and the fault detection circuit comprises a first comparator and a second comparator;
the input end of the bridge type resistance sensor is connected with an excitation voltage V B And said excitation voltage V B The size is adjustable;
a first output end of the bridge type resistive sensor is connected with a positive input end of the first comparator, a second output end of the bridge type resistive sensor is connected with a positive input end of the second comparator, and negative input ends of the first comparator and the second comparator are connected with a first reference voltage REF; or
A first output end of the bridge type resistance sensor is connected with a negative input end of the first comparator, a second output end of the bridge type resistance sensor is connected with a negative input end of the second comparator, and positive input ends of the first comparator and the second comparator are connected with a first reference voltage REF;
a central processing unit for adjusting the excitation voltage V by the signal processing unit B So that the differential voltage V outputted from the first output terminal and the second output terminal of the bridge type resistive sensor L 、V R Change is generated, and the differential voltage V L 、V R Respectively pass through the first comparator, the second comparator and theThe first reference voltage REF is compared, and the first comparator and the second comparator respectively output a first result F L The second result F R Said central processing unit passing said first result F L And the second result F R Judging whether the bridge type resistance sensor is normal or abnormal;
the signal processing unit further comprises a second reference voltage VREF, the excitation voltage V B Is output through the second reference voltage VREF;
the bridge resistive sensor includes a resistor R 1L And a resistor R 2L And a resistor R 1R Resistance R 2R Said resistance R 1L Resistance R 1R Are connected together and are connected to said excitation voltage V B Is connected to the resistor R 1L Negative electrode and resistor R 2L The positive pole of (2) is connected, the resistor R 1R Negative electrode and resistor R 2R The positive pole of the resistor R is connected 1L Negative electrode and resistor R 2L And the positive pole of the resistor R is connected with and forms the first output end 1R Negative electrode and resistor R 2R And the positive pole of the resistor R is connected with and forms the second output end 2L And a resistor R 2R The negative electrodes of the bridge type resistance sensor are connected together to form the ground end of the bridge type resistance sensor;
the central processing unit is further configured to control, by the signal processing unit, the first reference voltage REF and the second reference voltage VREF to simultaneously operate in a first time period Φ 1 or a second time period Φ 2, where the first time period Φ 1 is a low-level time period and the second time period Φ 2 is a high-level time period:
within phi 1 such that
Figure QLYQS_1
In phi 2 causes->
Figure QLYQS_2
Within phi 1 cause
Figure QLYQS_3
In phi 2 cause +>
Figure QLYQS_4
Then during the period of 1 the time of phi,
Figure QLYQS_5
,/>
Figure QLYQS_6
during the period of time phi 2, the system,
Figure QLYQS_7
,/>
Figure QLYQS_8
and R of the bridge type resistive sensor 1L 、R 2L And R 1R 、R 2R Is completely equivalent to R 1L =R 1R 、R 2L =R 2R Order:
Figure QLYQS_10
if during period phi 1
Figure QLYQS_12
The timing of, during Φ 2,
Figure QLYQS_13
i.e. based on>
Figure QLYQS_14
Judging that the bridge type resistance sensor works normally; />
When setting k3= k4=
Figure QLYQS_15
,k1=/>
Figure QLYQS_16
,k2=/>
Figure QLYQS_17
Then judge whether or not>
Figure QLYQS_18
The bridge type resistance sensor is considered to work normally;
if phi 1 period F L 、F R >0 or Φ 2 period F L 、F R <0, obtaining
Figure QLYQS_19
Or->
Figure QLYQS_20
Judging that the bridge type resistance sensor is abnormal;
wherein the deviation value
Figure QLYQS_21
Can be realized by setting different k1, k2, k3 and k4, wherein 0<k1<1、0<k2<1、0<k3<1、0<k4<1;
When setting k3= k4=
Figure QLYQS_22
,k1=/>
Figure QLYQS_23
,k2=/>
Figure QLYQS_24
Then makes a judgment>
Figure QLYQS_25
The bridge resistive sensor is considered to be anomalous.
2. The fault diagnosis circuit device of bridge type resistive sensor according to claim 1, wherein the ground terminal V of the bridge type resistive sensor G And the ground end of the signal processing unit is connected together.
3. A fault diagnosis method of a bridge type resistive sensor is used for diagnosing whether the bridge type resistive sensor has faults or not by controlling a signal processing unit through a central processing unit, wherein the signal processing unit comprises a fault detection circuit, the fault detection circuit comprises a first comparator and a second comparator, and the fault diagnosis method is characterized by comprising the following steps of: connecting the input end of the bridge type resistance sensor to an excitation voltage V B And said excitation voltage V B The size is adjustable;
connecting a first output end of the bridge type resistance sensor with a positive input end of the first comparator, connecting a second output end of the bridge type resistance sensor with a positive input end of the second comparator, and connecting negative input ends of the first comparator and the second comparator with a first reference voltage REF; or
Connecting a first output end of the bridge type resistance sensor with a negative input end of the first comparator, connecting a second output end of the bridge type resistance sensor with a negative input end of the second comparator, and connecting positive input ends of the first comparator and the second comparator with a first reference voltage REF;
the central processing unit adjusts the excitation voltage V through the signal processing unit B So that the differential voltage V outputted from the first output terminal and the second output terminal of the bridge type resistive sensor L 、V R Vary and apply the differential voltage V L 、V R After being compared with the first reference voltage REF through the first comparator and the second comparator respectively, the first result F is output through the first comparator and the second comparator respectively L And the second result F R
The central processing unit passes the first result F L The second result F R Judging whether the bridge type resistance sensor is normal or abnormal;
the signal processing unit is connected to a second reference voltage VREF, the excitation voltage V B Is controlled by the second reference voltage VREFOutputting the rows;
the bridge resistive sensor includes a resistor R 1L Resistance R 2L Resistance R 1R Resistance R 2R Said resistance R 1L Resistance R 1R Are connected together and are connected to said excitation voltage V B Connection, the resistance R 1L Negative electrode and resistor R 2L The positive pole of the resistor R is connected 1R Negative electrode and resistor R 2R The positive pole of the resistor R is connected 1L Negative electrode and resistor R 2L And the positive pole of the resistor R is connected with and forms the first output end 1R Negative electrode and resistor R 2R And the positive pole of the resistor R is connected with and forms the second output end 2L Resistance R 2R The negative electrodes of the bridge type resistance sensor are connected together to form the ground end of the bridge type resistance sensor;
the central processing unit further controls the first reference voltage REF and the second reference voltage VREF to work in a first time period phi 1 or a second time period phi 2 at the same time through the signal processing unit, wherein the first time period phi 1 is a low-level time period, and the second time period phi 2 is a high-level time period:
within phi 1 cause
Figure QLYQS_26
In phi 2 cause +>
Figure QLYQS_27
;/>
Within phi 1 such that
Figure QLYQS_28
In phi 2 causes->
Figure QLYQS_29
Then during the period of Φ 1,
Figure QLYQS_30
,/>
Figure QLYQS_31
during the period of time phi 2, the system,
Figure QLYQS_32
,/>
Figure QLYQS_33
and R of the bridge type resistance sensor 1L 、R 2L And R 1R 、R 2R Is completely equivalent to R 1L =R 1R 、R 2L =R 2R Order:
Figure QLYQS_34
if during phi 1
Figure QLYQS_35
During the period of phi 2, the power supply voltage is increased,
Figure QLYQS_36
i.e. is->
Figure QLYQS_37
Judging that the bridge type resistance sensor works normally;
when setting k3= k4=
Figure QLYQS_38
,k1=/>
Figure QLYQS_39
,k2=/>
Figure QLYQS_40
Then judge whether or not>
Figure QLYQS_41
The bridge type resistance sensor is considered to work normally;
if phi 1 period F L 、F R >0 or Φ 2 period F L 、F R <0, obtaining
Figure QLYQS_42
Or->
Figure QLYQS_43
Judging that the bridge type resistance sensor is abnormal;
wherein the deviation value
Figure QLYQS_44
Can be realized by setting different k1, k2, k3 and k4, wherein 0<k1<1、0<k2<1、0<k3<1、0<k4<1;
When setting k3= k4=
Figure QLYQS_45
,k1=/>
Figure QLYQS_46
,k2=/>
Figure QLYQS_47
Then makes a judgment>
Figure QLYQS_48
An anomaly in the bridge resistive sensor is considered.
4. The method of claim 3, wherein the ground terminal V of the bridge resistive sensor is connected to the ground terminal V of the bridge resistive sensor G And the ground end of the signal processing unit is connected together.
5. A computer, characterized in that the computer comprises at least one processor, a storage medium, an operating system, wherein the operating system is stored in the storage medium; the at least one processor is coupled to the storage medium; the storage medium stores a program, and the processor executes the program, which when executed by the at least one processor, causes the at least one processor to perform the method of diagnosing a fault in a bridge resistive sensor according to claim 3 or 4.
6. A storage medium that is a computer-readable storage medium, the storage medium storing a program that causes a computer to execute the method for diagnosing a failure of a bridge resistive sensor according to claim 3 or 4.
7. A computer readable program, wherein the computer readable program, when executed by one or more processors, performs the method of fault diagnosis of a bridge resistive sensor of claim 3 or 4.
CN202211545363.4A 2022-12-05 2022-12-05 Fault diagnosis circuit device, fault diagnosis method, computer, storage medium, and program Active CN115574854B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211545363.4A CN115574854B (en) 2022-12-05 2022-12-05 Fault diagnosis circuit device, fault diagnosis method, computer, storage medium, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211545363.4A CN115574854B (en) 2022-12-05 2022-12-05 Fault diagnosis circuit device, fault diagnosis method, computer, storage medium, and program

Publications (2)

Publication Number Publication Date
CN115574854A CN115574854A (en) 2023-01-06
CN115574854B true CN115574854B (en) 2023-04-11

Family

ID=84590816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211545363.4A Active CN115574854B (en) 2022-12-05 2022-12-05 Fault diagnosis circuit device, fault diagnosis method, computer, storage medium, and program

Country Status (1)

Country Link
CN (1) CN115574854B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5576449A (en) * 1978-12-01 1980-06-09 Hitachi Ltd Fault diagnosis method for signal converter circuit
CN101236113A (en) * 2007-02-01 2008-08-06 上海飞恩微电子有限公司 All-bridge type piezoresistance type pressure sensor digital type signal conditioning chip
CN102959411A (en) * 2010-06-25 2013-03-06 日立汽车系统株式会社 Circuit for detecting disconnection of bridge circuit and system having means for detecting disconnection
CN113009313A (en) * 2021-01-29 2021-06-22 南京英锐创电子科技有限公司 Sensor diagnostic device and sensor detection circuit
CN113155159A (en) * 2020-12-30 2021-07-23 南京英锐创电子科技有限公司 Bridge type detector

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08247801A (en) * 1995-03-10 1996-09-27 Omron Corp Transducer and gas mater using thereof
CN101732044B (en) * 2008-11-13 2011-09-07 深圳迈瑞生物医疗电子股份有限公司 Bridge-type pressure sensor detection circuit, detection method and monitor
CN101829834B (en) * 2010-04-15 2013-06-05 江苏科技大学 Full-bridge inverting and single end forward inverting switching type arc welding power supply and control method thereof
CN103245372B (en) * 2012-02-13 2017-04-12 富泰华工业(深圳)有限公司 Detection circuit of electric bridge sensor
CN112254875B (en) * 2020-10-26 2022-03-08 南通大学 Circuit and method for judging connection state of bridge sensor
CN112269154A (en) * 2020-11-13 2021-01-26 广东澳鸿科技有限公司 Fault diagnosis circuit of H bridge

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5576449A (en) * 1978-12-01 1980-06-09 Hitachi Ltd Fault diagnosis method for signal converter circuit
CN101236113A (en) * 2007-02-01 2008-08-06 上海飞恩微电子有限公司 All-bridge type piezoresistance type pressure sensor digital type signal conditioning chip
CN102959411A (en) * 2010-06-25 2013-03-06 日立汽车系统株式会社 Circuit for detecting disconnection of bridge circuit and system having means for detecting disconnection
CN113155159A (en) * 2020-12-30 2021-07-23 南京英锐创电子科技有限公司 Bridge type detector
CN113009313A (en) * 2021-01-29 2021-06-22 南京英锐创电子科技有限公司 Sensor diagnostic device and sensor detection circuit

Also Published As

Publication number Publication date
CN115574854A (en) 2023-01-06

Similar Documents

Publication Publication Date Title
US5611909A (en) Method for detecting source of error in an amperometric measuring cell
EP1922554B1 (en) Current measurement circuit and method of diagnosing faults in same
US7531990B2 (en) Voltage detector for an assembled battery
US8305035B2 (en) Energy storage device
CN111551865B (en) Apparatus and method for monitoring reliability of cell impedance measurements of battery cells
JP5183447B2 (en) Test apparatus and diagnostic method
CN103048530A (en) Current calibration device of digital power supply
US20200326374A1 (en) Relay examination device and battery management system
US6777946B2 (en) Cell buffer with built-in test
CN102928109A (en) Signal collecting circuit
US7554299B2 (en) Battery monitoring circuit and method
CN115574854B (en) Fault diagnosis circuit device, fault diagnosis method, computer, storage medium, and program
US11698355B2 (en) Method of operating a gas sensing device, and corresponding gas sensing device
US6960290B2 (en) Testing and calibration device for an oxygen probe evaluation circuit and method of use of the device
CN112212908B (en) Intelligent sensor and intelligent method thereof
US20220308116A1 (en) Battery sensor
Walendziuk et al. Temperature influence analysis on the selected current sources stability in the static and dynamic operating states
CN210865578U (en) Power consumption detection circuit of display panel
CN114981673A (en) Fault cell diagnosis method and battery system using the same
JP4456402B2 (en) DC circuit ground fault monitoring device
US10533980B2 (en) Method for correcting measured values of a sensor element
JP2003043008A (en) Method of discriminating connected state of gas sensor and constant-potential electrolytic gas measuring instrument
KR102035924B1 (en) Pressure sensor having bridge structure integrated with breakwon diagnosis circuit and breakdown diagnosis method thereof
CN218995566U (en) Detection device of DVI unit of test system
CN112904229B (en) Short circuit detection device and short circuit detection method

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
GR01 Patent grant
GR01 Patent grant