CN118129957A - Pressure detection circuit, pressure detection method, computer device, and storage medium - Google Patents

Pressure detection circuit, pressure detection method, computer device, and storage medium Download PDF

Info

Publication number
CN118129957A
CN118129957A CN202410121725.XA CN202410121725A CN118129957A CN 118129957 A CN118129957 A CN 118129957A CN 202410121725 A CN202410121725 A CN 202410121725A CN 118129957 A CN118129957 A CN 118129957A
Authority
CN
China
Prior art keywords
voltage
resistor
negative
positive
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410121725.XA
Other languages
Chinese (zh)
Inventor
廖金凤
韩志乾
陈超
严云龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan Beyond Medical Technology Co ltd
Original Assignee
Hunan Beyond Medical 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 Hunan Beyond Medical Technology Co ltd filed Critical Hunan Beyond Medical Technology Co ltd
Priority to CN202410121725.XA priority Critical patent/CN118129957A/en
Publication of CN118129957A publication Critical patent/CN118129957A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measuring Fluid Pressure (AREA)

Abstract

The invention discloses a pressure detection circuit, a pressure detection method, a computer device and a storage medium. The circuit comprises: the voltage reference source module is used for accessing the power supply voltage, determining the reference voltage and outputting the reference voltage to the positive-end signal amplifying module and the negative-end signal amplifying module; the Wheatstone bridge type pressure sensor module is used for receiving external pressure, generating positive end input voltage and negative end input voltage, and outputting the positive end input voltage and the negative end input voltage to the positive end signal amplification module and the negative end signal amplification module; the positive end signal amplifying module is used for generating positive end output voltage; the negative terminal signal amplification module is used for generating negative terminal output voltage; the processor module is used for calculating a pressure value according to the positive end output voltage and the negative end output voltage. The circuit can solve the problem of insufficient measurement precision caused by voltage output value drift and negative bias of the pressure sensor in the prior art, and can not detect the pressure when the pressure sensor has small pressure under the condition of negative bias.

Description

Pressure detection circuit, pressure detection method, computer device, and storage medium
Technical Field
The present invention relates to the field of pressure sensors, and in particular, to a pressure detection circuit, a pressure detection method, a computer device, and a storage medium.
Background
The existing pressure detection technology is a Wheatstone bridge type pressure sensor, and differential signal amplification is carried out by using a differential operational amplifier or an instrument amplifier to acquire the voltage of an ADC. When the AD value is 0, the pressure is judged to be 0, then the weight corresponding to a certain AD value is calibrated to form a linear straight line, the abscissa is the AD value, and the ordinate is the pressure value. After the k value is determined, the pressure value can be determined from the AD value.
But the existing pressure detection technology has 2 disadvantages. One is that the pressure sensor may generate a slight voltage drift, even IN a constant temperature environment, i.e. under 0 pressure, the in+ of the sensor signal output end is not necessarily equal to IN-, and may be biased up or down. And when the pressure is biased downwards, the IN-voltage is higher than the IN+ voltage at the pressure of 0, and the pressure measurement accuracy is not high and is not stable as a result of the defects.
Disclosure of Invention
In view of the above, the present invention aims to overcome the shortcomings in the prior art, and provides a pressure detection circuit, a pressure detection method, a computer device and a storage medium.
The invention provides the following technical scheme:
In a first aspect, embodiments of the present disclosure provide a pressure detection circuit that includes a voltage reference source module, a wheatstone bridge type pressure sensor module, a positive side signal amplification module, a negative side signal amplification module, and a processor module;
the voltage reference source module is respectively and electrically connected with the positive-end signal amplification module, the negative-end signal amplification module and the Wheatstone bridge type pressure sensor module, and the Wheatstone bridge type pressure sensor module is respectively and electrically connected with the positive-end signal amplification module and the negative-end signal amplification module;
the voltage reference source module is used for accessing a power supply voltage, determining a reference voltage according to the power supply voltage, and outputting the reference voltage to an inverting input end of the positive-end signal amplification module and an inverting input end of the negative-end signal amplification module;
The Wheatstone bridge type pressure sensor module is used for receiving external pressure, generating positive end input voltage and negative end input voltage, outputting the positive end input voltage to the positive end signal amplification module and outputting the negative end input voltage to the negative end signal amplification module;
The positive end signal amplifying module is used for amplifying the difference value between the positive end input voltage and the reference voltage to generate a positive end output voltage;
the negative terminal signal amplification module is used for amplifying the difference value between the negative terminal input voltage and the reference voltage to generate a negative terminal output voltage;
the processor module is used for calculating a pressure value according to the positive end output voltage and the negative end output voltage.
Further, the voltage reference source module comprises a first resistor and a second resistor;
The first end of the first resistor is electrically connected with the power supply voltage, the second end of the first resistor is electrically connected with the first end of the second resistor, the second end of the first resistor and the first end of the second resistor are used for outputting the reference voltage, and the second end of the second resistor is grounded.
Further, the wheatstone bridge type pressure sensor module comprises a third resistor, a fourth resistor, a fifth resistor and a sixth resistor;
The third resistor, the fourth resistor, the fifth resistor and the sixth resistor are sequentially connected in series, first ends of the third resistor and the fourth resistor are electrically connected with the power supply voltage, second ends of the third resistor are used for outputting the positive end input voltage, second ends of the fourth resistor are used for outputting the negative end input voltage, and second ends of the fifth resistor and the sixth resistor are grounded.
Further, the positive-side signal amplification module comprises a seventh resistor, an eighth resistor, a ninth resistor and a first operational amplifier;
The first end of the seventh resistor is electrically connected with the positive end input voltage, the second end of the seventh resistor is electrically connected with the positive phase input end of the first operational amplifier, the negative phase input end of the first operational amplifier is respectively electrically connected with the reference voltage, the first end of the eighth resistor and the first end of the ninth resistor, the output end of the first operational amplifier is used for outputting the positive end output voltage, the second end of the eighth resistor is electrically connected with the output end of the first operational amplifier, and the second end of the ninth resistor is grounded.
Further, the negative side signal amplification module comprises a tenth resistor, an eleventh resistor, a twelfth resistor and a second operational amplifier;
The first end of the tenth resistor is electrically connected with the negative end input voltage, the second end of the tenth resistor is electrically connected with the positive phase input end of the second operational amplifier, the negative phase input end of the second operational amplifier is respectively electrically connected with the reference voltage, the first end of the eleventh resistor and the first end of the twelfth resistor, the output end of the second operational amplifier is used for outputting the negative end output voltage, the second end of the eleventh resistor is electrically connected with the output end of the second operational amplifier, and the second end of the twelfth resistor is grounded.
In a second aspect, in an embodiment of the present disclosure, a pressure detection method is provided, applied to the pressure detection circuit according to the first aspect, where the circuit includes a voltage reference source module, a wheatstone bridge type pressure sensor module, a positive side signal amplification module, a negative side signal amplification module, and a processor module, and the method includes:
The voltage reference source module is connected with a power supply voltage, the reference voltage is determined according to the power supply voltage, and the reference voltage is output to the inverting input end of the positive-end signal amplification module and the inverting input end of the negative-end signal amplification module;
The Wheatstone bridge type pressure sensor module is used for receiving external pressure, generating positive end input voltage and negative end input voltage, outputting the positive end input voltage to the positive end signal amplification module and outputting the negative end input voltage to the negative end signal amplification module;
Amplifying the difference value between the positive input voltage and the reference voltage through the positive signal amplifying module to generate a positive output voltage;
Amplifying the difference value between the negative terminal input voltage and the reference voltage through the negative terminal signal amplification module to generate a negative terminal output voltage;
and calculating a pressure value according to the positive end output voltage and the negative end output voltage by the processor module.
Further, the determining the reference voltage according to the supply voltage includes:
calculating a half value of the supply voltage;
Acquiring a zero drift parameter of the Wheatstone bridge type pressure sensor module, and calculating a product value of the zero drift parameter and the power supply voltage;
and calculating a first difference value between the half value and the product value, and taking the first difference value as the reference voltage.
Further, the calculating a pressure value from the positive terminal output voltage and the negative terminal output voltage includes:
calculating a second difference between the positive output voltage and the negative output voltage;
And calculating an absolute value of the second difference value, and taking the absolute value as the pressure value.
In a third aspect, embodiments of the present disclosure provide a computer device, including a memory storing a computer program and a processor implementing the steps of the pressure detection circuit in the second aspect when the computer program is executed.
In a fourth aspect, in an embodiment of the present disclosure, there is provided a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the pressure detection circuit described in the second aspect.
The application has the beneficial effects that:
The pressure detection circuit provided by the embodiment of the application comprises a voltage reference source module, a Wheatstone bridge type pressure sensor module, a positive end signal amplification module, a negative end signal amplification module and a processor module; the voltage reference source module is respectively and electrically connected with the positive-end signal amplification module, the negative-end signal amplification module and the Wheatstone bridge type pressure sensor module, and the Wheatstone bridge type pressure sensor module is respectively and electrically connected with the positive-end signal amplification module and the negative-end signal amplification module; the voltage reference source module is used for accessing a power supply voltage, determining a reference voltage according to the power supply voltage, and outputting the reference voltage to an inverting input end of the positive-end signal amplification module and an inverting input end of the negative-end signal amplification module; the Wheatstone bridge type pressure sensor module is used for receiving external pressure, generating positive end input voltage and negative end input voltage, outputting the positive end input voltage to the positive end signal amplification module and outputting the negative end input voltage to the negative end signal amplification module; the positive end signal amplifying module is used for amplifying the difference value between the positive end input voltage and the reference voltage to generate a positive end output voltage; the negative terminal signal amplification module is used for amplifying the difference value between the negative terminal input voltage and the reference voltage to generate a negative terminal output voltage; the processor module is used for calculating a pressure value according to the positive end output voltage and the negative end output voltage. The circuit can solve the problem that the measurement accuracy is insufficient due to the fact that the voltage output value of the pressure sensor is drifted and negatively biased in the prior art, and the condition that the pressure sensor cannot detect the pressure when the pressure sensor has small pressure in the negatively biased condition.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. Like elements are numbered alike in the various figures.
Fig. 1 shows a schematic structural diagram of a pressure detection circuit according to an embodiment of the present application;
FIG. 2 is a flow chart of a pressure detection method according to an embodiment of the present application;
fig. 3 shows a schematic structural diagram of a computer device according to an embodiment of the present application.
And (3) main component symbol description:
100-a pressure detection circuit; 110-a voltage reference source module; 120-wheatstone bridge type pressure sensor module; 130-a positive-side signal amplification module; 140-negative side signal amplification module; 150-processor module.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
It will be understood that when an element is referred to as being "fixed to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. In contrast, when an element is referred to as being "directly on" another element, there are no intervening elements present. The terms "vertical," "horizontal," "left," "right," and the like are used herein for illustrative purposes only.
In the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present invention, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the templates herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
Example 1
Referring to fig. 1, a schematic diagram of a pressure detection circuit 100 according to an embodiment of the present application includes a voltage reference source module 110, a wheatstone bridge type pressure sensor module 120, a positive side signal amplification module 130, a negative side signal amplification module 140, and a processor module 150. The voltage reference source module 110 is electrically connected to the positive-side signal amplifying module 130, the negative-side signal amplifying module 140 and the wheatstone bridge type pressure sensor module 120, and the wheatstone bridge type pressure sensor module 120 is electrically connected to the positive-side signal amplifying module 130 and the negative-side signal amplifying module 140.
The voltage reference source module 110 is used for accessing a power supply voltage, determining a reference voltage according to the power supply voltage, and outputting the reference voltage to an inverting input terminal of the positive-side signal amplifying module 130 and an inverting input terminal of the negative-side signal amplifying module 140.
Further, the voltage reference source module 110 includes a first resistor and a second resistor; the first end of the first resistor is electrically connected with the power supply voltage, the second end of the first resistor is electrically connected with the first end of the second resistor, the second end of the first resistor and the first end of the second resistor are used for outputting the reference voltage, and the second end of the second resistor is grounded.
It should be noted here that, since the common mode voltage output by the wheatstone bridge type pressure sensor module 120 is one half of the power supply voltage, for example, when 5V power is applied, the common mode voltage is 2.5V. However, the wheatstone bridge pressure sensor module 120 may bias a certain voltage to the negative bias voltage, where the value of the product of the zero drift parameter of the wheatstone bridge pressure sensor module 120 and the power supply voltage, for example, the zero drift parameter is 15mV/V, the negative bias voltage is 15mV/v×5v=0.075V, and the difference between the half value and the product is calculated as the reference voltage, for example, the reference voltage is 2.5V-0.075 v=2.425V. The above arrangement ensures that the positive side signal amplification module 130 and the negative side signal amplification module 140 have a higher voltage at their positive input than their negative input.
The wheatstone bridge type pressure sensor module 120 is configured to receive external pressure and generate a positive input voltage and a negative input voltage, and output the positive input voltage to the positive signal amplification module 130 and the negative input voltage to the negative signal amplification module 140.
Further, the wheatstone bridge pressure sensor module 120 includes a third resistor, a fourth resistor, a fifth resistor, and a sixth resistor; the third resistor, the fourth resistor, the fifth resistor and the sixth resistor are sequentially connected in series, first ends of the third resistor and the fourth resistor are electrically connected with the power supply voltage, second ends of the third resistor are used for outputting positive end input voltage, second ends of the fourth resistor are used for outputting negative end input voltage, and second ends of the fifth resistor and the sixth resistor are grounded.
It can be understood that in this embodiment, for the sensor voltage zero drift problem, based on the circuit, the software adds a zero tracking mode again, that is, in a certain range, the difference between the subsequent positive end output voltage and the negative end output voltage is even changed, so that the pressure value is determined to be 0, thereby improving the stability.
The wheatstone bridge type pressure sensor has a slight drift in the output voltage value under no pressure or under pressure, which is a characteristic determination of the sensor itself. Typically, a voltage V 0 corresponds to a pressure of 0 or initial pressure, and then a weight (M, KG) is used to apply pressure to the wheatstone bridge sensor to generate a voltage V 1. The output voltage of the Wheatstone bridge type sensor has a performance output relation with the weight of the weight, and the corresponding voltage value of (V 1-V0)/M=per kilogram, namely the slope K, is utilized to carry out zero point tracking, so that the correct value of V 0 can be ensured, and the measurement is more accurate.
The positive-side signal amplifying module 130 is configured to amplify a difference between the positive-side input voltage and the reference voltage, and generate a positive-side output voltage.
Further, the positive side signal amplifying module 130 includes a seventh resistor, an eighth resistor, a ninth resistor, and a first operational amplifier; the first end of the seventh resistor is electrically connected with the positive end input voltage, the second end of the seventh resistor is electrically connected with the positive phase input end of the first operational amplifier, the negative phase input end of the first operational amplifier is respectively electrically connected with the reference voltage, the first end of the eighth resistor and the first end of the ninth resistor, the output end of the first operational amplifier is used for outputting the positive end output voltage, the second end of the eighth resistor is electrically connected with the output end of the first operational amplifier, and the second end of the ninth resistor is grounded.
The negative terminal signal amplifying module 140 is configured to amplify a difference between the negative terminal input voltage and the reference voltage, and generate a negative terminal output voltage.
Further, the negative side signal amplifying module 140 includes a tenth resistor, an eleventh resistor, a twelfth resistor, and a second operational amplifier; the first end of the tenth resistor is electrically connected with the negative end input voltage, the second end of the tenth resistor is electrically connected with the positive phase input end of the second operational amplifier, the negative phase input end of the second operational amplifier is respectively electrically connected with the reference voltage, the first end of the eleventh resistor and the first end of the twelfth resistor, the output end of the second operational amplifier is used for outputting the negative end output voltage, the second end of the eleventh resistor is electrically connected with the output end of the second operational amplifier, and the second end of the twelfth resistor is grounded.
After operational amplification of the positive-end signal amplifier and the negative-end signal amplifier, positive-end output voltage and negative-end output voltage are output, the positive-end output voltage and the negative-end output voltage are acquired through acquisition channels of two digital-to-analog converters, and then the positive-end output voltage and the negative-end output voltage are subtracted and absolute values are obtained, so that corresponding pressure values can be obtained. The problem that the pressure sensor has negative bias when no pressure exists is solved by adopting the double operational amplifier method, and the difference value between the positive end output voltage and the negative end output voltage value is still 0 under the tiny pressure.
The pressure detection circuit 100 provided by the embodiment of the application comprises a voltage reference source module 110, a Wheatstone bridge type pressure sensor module 120, a positive end signal amplification module 130, a negative end signal amplification module 140 and a processor module 150; the voltage reference source module 110 is electrically connected with the positive-side signal amplifying module 130, the negative-side signal amplifying module 140 and the wheatstone bridge type pressure sensor module 120, and the wheatstone bridge type pressure sensor module 120 is electrically connected with the positive-side signal amplifying module 130 and the negative-side signal amplifying module 140; the voltage reference source module 110 is configured to access a supply voltage, determine a reference voltage according to the supply voltage, and output the reference voltage to an inverting input terminal of the positive-side signal amplifying module 130 and an inverting input terminal of the negative-side signal amplifying module 140; the wheatstone bridge type pressure sensor module 120 is configured to receive an external pressure, generate a positive input voltage and a negative input voltage, output the positive input voltage to the positive signal amplification module 130, and output the negative input voltage to the negative signal amplification module 140; the positive-side signal amplifying module 130 is configured to amplify a difference between the positive-side input voltage and the reference voltage to generate a positive-side output voltage; the negative terminal signal amplifying module 140 is configured to amplify a difference between the negative terminal input voltage and the reference voltage to generate a negative terminal output voltage; the processor module 150 is configured to calculate a pressure value according to the positive output voltage and the negative output voltage. The circuit can solve the problem that the measurement accuracy is insufficient due to the fact that the voltage output value of the pressure sensor is drifted and negatively biased in the prior art, and the condition that the pressure sensor cannot detect the pressure when the pressure sensor has small pressure in the negatively biased condition.
Example 2
As shown in fig. 2, which is a flowchart of a pressure detection circuit 100 according to an embodiment of the present application, the pressure detection method provided by the embodiment of the present application is applied to the pressure detection circuit 100 according to embodiment 1, and the circuit includes a voltage reference source module 110, a wheatstone bridge type pressure sensor module 120, a positive side signal amplification module 130, a negative side signal amplification module 140 and a processor module 150, and the method includes the following steps:
Step S210, a supply voltage is accessed through the voltage reference source module 110, a reference voltage is determined according to the supply voltage, and the reference voltage is output to the inverting input terminal of the positive-side signal amplifying module 130 and the inverting input terminal of the negative-side signal amplifying module 140.
In step S220, the wheatstone bridge type pressure sensor module 120 receives the external pressure and generates a positive input voltage and a negative input voltage, and outputs the positive input voltage to the positive signal amplification module 130 and the negative input voltage to the negative signal amplification module 140.
In step S230, the positive input voltage and the reference voltage are amplified by the positive signal amplifying module 130 to generate a positive output voltage.
In step S240, the negative side signal amplifying module 140 amplifies the difference between the negative side input voltage and the reference voltage to generate a negative side output voltage.
In step S250, a pressure value is calculated by the processor module 150 according to the positive output voltage and the negative output voltage.
In an alternative embodiment, the determining the reference voltage according to the supply voltage includes:
calculating a half value of the supply voltage;
acquiring a zero drift parameter of the wheatstone bridge type pressure sensor module 120, and calculating a product value of the zero drift parameter and the power supply voltage;
and calculating a first difference value between the half value and the product value, and taking the first difference value as the reference voltage.
In an alternative embodiment, the calculating the pressure value from the positive terminal output voltage and the negative terminal output voltage includes:
calculating a second difference between the positive output voltage and the negative output voltage;
And calculating an absolute value of the second difference value, and taking the absolute value as the pressure value.
The above procedure corresponds to embodiment 1 and is not repeated here.
The pressure detection method provided by the embodiment of the application can solve the problem of insufficient measurement precision caused by voltage output value drift and negative bias of the pressure sensor in the prior art, and the condition that the pressure sensor cannot detect the pressure when the pressure sensor has micro pressure under the condition of negative bias.
Example 3
The embodiment of the application also provides computer equipment. Referring specifically to fig. 3, fig. 3 is a basic structural block diagram of a computer device according to the present embodiment.
The computer device 3 comprises a memory 31, a processor 32, a network interface 33 communicatively connected to each other via a system bus. It should be noted that only the computer device 3 with components 31-33 is shown in the figures, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead. It will be appreciated by those skilled in the art that the computer device herein is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and its hardware includes, but is not limited to, a microprocessor, an Application SPECIFIC INTEGRATED Circuit (ASIC), a Programmable gate array (Field-Programmable GATE ARRAY, FPGA), a digital Processor (DIGITAL SIGNAL Processor, DSP), an embedded device, and the like.
The computer equipment can be a desktop computer, a notebook computer, a palm computer, a cloud server and other computing equipment. The computer equipment can perform man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch pad or voice control equipment and the like.
The memory 31 includes at least one type of readable storage medium including flash memory, hard disk, multimedia card, card memory (e.g., SD or D slot compatibility test memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the storage 31 may be an internal storage unit of the computer device 3, such as a hard disk or a memory of the computer device 3. In other embodiments, the memory 31 may also be an external storage device of the computer device 3, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, which are provided on the computer device 3. Of course, the memory 31 may also comprise both an internal memory unit of the computer device 3 and an external memory device. In this embodiment, the memory 31 is typically used to store an operating system and various application software installed on the computer device 3, such as computer readable instructions of a socket compatibility test method. Further, the memory 31 may be used to temporarily store various types of data that have been output or are to be output.
The processor 32 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other pressure-accurate detection chip in some embodiments. The processor 32 is typically used to control the overall operation of the computer device 3. In this embodiment, the processor 32 is configured to execute computer readable instructions stored in the memory 31 or process data, such as computer readable instructions for executing the socket compatibility test method.
The network interface 33 may comprise a wireless network interface or a wired network interface, which network interface 33 is typically used for establishing a communication connection between the computer device 3 and other electronic devices.
The computer device provided in the present embodiment can execute the pressure detection circuit 100 described above. The pressure detection circuit 100 here may be the pressure detection circuit 100 of the above-described respective embodiments.
Example 4
The present embodiment also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the pressure detection circuit 100 of the embodiment.
In this embodiment, the computer-readable storage medium includes a flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the computer readable storage medium may be an internal storage unit of a computer device, such as a hard disk or a memory of the computer device. In other embodiments, the computer readable storage medium may also be an external storage device of a computer device, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, abbreviated as SMC), a Secure Digital (abbreviated as SD) card, a flash memory card (FLASH CARD), or the like, which are provided on the computer device. Of course, the computer-readable storage medium may also include both internal storage units of a computer device and external storage devices. In this embodiment, the computer-readable storage medium is typically used to store an operating system and various types of application software installed on a computer device. Furthermore, the computer-readable storage medium may also be used to temporarily store various types of data that have been output or are to be output.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, of the flow diagrams and block diagrams in the figures, which illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules or units in various embodiments of the invention may be integrated together to form a single part, or the modules may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a smart phone, a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. The storage medium may be a nonvolatile storage medium or a volatile storage medium, and for example, the storage medium may be: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention.

Claims (10)

1. The pressure detection circuit is characterized by comprising a voltage reference source module, a Wheatstone bridge type pressure sensor module, a positive end signal amplification module, a negative end signal amplification module and a processor module;
the voltage reference source module is respectively and electrically connected with the positive-end signal amplification module, the negative-end signal amplification module and the Wheatstone bridge type pressure sensor module, and the Wheatstone bridge type pressure sensor module is respectively and electrically connected with the positive-end signal amplification module and the negative-end signal amplification module;
the voltage reference source module is used for accessing a power supply voltage, determining a reference voltage according to the power supply voltage, and outputting the reference voltage to an inverting input end of the positive-end signal amplification module and an inverting input end of the negative-end signal amplification module;
The Wheatstone bridge type pressure sensor module is used for receiving external pressure, generating positive end input voltage and negative end input voltage, outputting the positive end input voltage to the positive end signal amplification module and outputting the negative end input voltage to the negative end signal amplification module;
The positive end signal amplifying module is used for amplifying the difference value between the positive end input voltage and the reference voltage to generate a positive end output voltage;
the negative terminal signal amplification module is used for amplifying the difference value between the negative terminal input voltage and the reference voltage to generate a negative terminal output voltage;
the processor module is used for calculating a pressure value according to the positive end output voltage and the negative end output voltage.
2. The pressure detection circuit of claim 1, wherein the voltage reference source module comprises a first resistor and a second resistor;
The first end of the first resistor is electrically connected with the power supply voltage, the second end of the first resistor is electrically connected with the first end of the second resistor, the second end of the first resistor and the first end of the second resistor are used for outputting the reference voltage, and the second end of the second resistor is grounded.
3. The pressure detection circuit of claim 1, wherein the wheatstone bridge pressure sensor module includes a third resistor, a fourth resistor, a fifth resistor, and a sixth resistor;
The third resistor, the fourth resistor, the fifth resistor and the sixth resistor are sequentially connected in series, first ends of the third resistor and the fourth resistor are electrically connected with the power supply voltage, second ends of the third resistor are used for outputting the positive end input voltage, second ends of the fourth resistor are used for outputting the negative end input voltage, and second ends of the fifth resistor and the sixth resistor are grounded.
4. The pressure detection circuit of claim 1, wherein the positive side signal amplification module comprises a seventh resistor, an eighth resistor, a ninth resistor, and a first operational amplifier;
The first end of the seventh resistor is electrically connected with the positive end input voltage, the second end of the seventh resistor is electrically connected with the positive phase input end of the first operational amplifier, the negative phase input end of the first operational amplifier is respectively electrically connected with the reference voltage, the first end of the eighth resistor and the first end of the ninth resistor, the output end of the first operational amplifier is used for outputting the positive end output voltage, the second end of the eighth resistor is electrically connected with the output end of the first operational amplifier, and the second end of the ninth resistor is grounded.
5. The pressure detection circuit of claim 4, wherein the negative side signal amplification module comprises a tenth resistor, an eleventh resistor, a twelfth resistor, and a second operational amplifier;
The first end of the tenth resistor is electrically connected with the negative end input voltage, the second end of the tenth resistor is electrically connected with the positive phase input end of the second operational amplifier, the negative phase input end of the second operational amplifier is respectively electrically connected with the reference voltage, the first end of the eleventh resistor and the first end of the twelfth resistor, the output end of the second operational amplifier is used for outputting the negative end output voltage, the second end of the eleventh resistor is electrically connected with the output end of the second operational amplifier, and the second end of the twelfth resistor is grounded.
6. A pressure detection method as claimed in any one of claims 1 to 5, applied to a pressure detection circuit comprising a voltage reference source module, a wheatstone bridge pressure sensor module, a positive side signal amplification module, a negative side signal amplification module and a processor module, the method comprising:
The voltage reference source module is connected with a power supply voltage, the reference voltage is determined according to the power supply voltage, and the reference voltage is output to the inverting input end of the positive-end signal amplification module and the inverting input end of the negative-end signal amplification module;
The Wheatstone bridge type pressure sensor module is used for receiving external pressure, generating positive end input voltage and negative end input voltage, outputting the positive end input voltage to the positive end signal amplification module and outputting the negative end input voltage to the negative end signal amplification module;
Amplifying the difference value between the positive input voltage and the reference voltage through the positive signal amplifying module to generate a positive output voltage;
Amplifying the difference value between the negative terminal input voltage and the reference voltage through the negative terminal signal amplification module to generate a negative terminal output voltage;
and calculating a pressure value according to the positive end output voltage and the negative end output voltage by the processor module.
7. The pressure detection method according to claim 6, wherein the determining a reference voltage from the supply voltage includes:
calculating a half value of the supply voltage;
Acquiring a zero drift parameter of the Wheatstone bridge type pressure sensor module, and calculating a product value of the zero drift parameter and the power supply voltage;
and calculating a first difference value between the half value and the product value, and taking the first difference value as the reference voltage.
8. The pressure detection method of claim 6, wherein the calculating a pressure value from the positive side output voltage and the negative side output voltage comprises:
calculating a second difference between the positive output voltage and the negative output voltage;
And calculating an absolute value of the second difference value, and taking the absolute value as the pressure value.
9. A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the steps of the pressure detection method of any one of claims 6-8 when the computer program is executed.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the steps of the pressure detection method according to any one of claims 6-8.
CN202410121725.XA 2024-01-29 2024-01-29 Pressure detection circuit, pressure detection method, computer device, and storage medium Pending CN118129957A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410121725.XA CN118129957A (en) 2024-01-29 2024-01-29 Pressure detection circuit, pressure detection method, computer device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410121725.XA CN118129957A (en) 2024-01-29 2024-01-29 Pressure detection circuit, pressure detection method, computer device, and storage medium

Publications (1)

Publication Number Publication Date
CN118129957A true CN118129957A (en) 2024-06-04

Family

ID=91229466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410121725.XA Pending CN118129957A (en) 2024-01-29 2024-01-29 Pressure detection circuit, pressure detection method, computer device, and storage medium

Country Status (1)

Country Link
CN (1) CN118129957A (en)

Similar Documents

Publication Publication Date Title
CN112556927B (en) Pressure sensor self-correcting method, equipment, storage medium and device
US7373266B2 (en) Sensor calibration using selectively disconnected temperature
CN111256802A (en) Calibration method of weighing device and weighing device
CN115656775A (en) Method and device for testing offset voltage of instrument amplifier
CN114499521A (en) Signal calibration method and device, computer equipment and storage medium
CN115728445A (en) Sensor calibration method, device, equipment and computer readable storage medium
CN116519010A (en) Zero offset calibration method and device for gyroscope
CN114567324A (en) Digital-to-analog conversion error correction method and related device
CN116399374B (en) MEMS gyroscope sensor compensation method, device, terminal and storage medium
CN104718703A (en) Correction device and correction method for light reception power monitor
CN1335932A (en) Method and apparatus for calibrating analog sensor measurement
CN113670478A (en) Temperature data correction method, system, device and medium based on thermodetector
CN118129957A (en) Pressure detection circuit, pressure detection method, computer device, and storage medium
KR20130053882A (en) Terminal device for correcting gyro-sensor sensing value and accelation sensor sensing value and method for controlling thereof
CN115796210B (en) Sample detection method and related equipment
CN107607144B (en) Sensor baseline drift correction method and detection equipment
CN111561960A (en) Sensor device and method for operating a sensor device
CN101324453A (en) Method and device for calibrating instrument
US5477471A (en) Method of compensating for power supply variation in a sensor output
CN113447881A (en) Measuring method and device of intelligent electric energy meter and terminal equipment
CN113014206A (en) Scale factor temperature drift compensation device and method for current/frequency conversion circuit
CN115494900B (en) Reference voltage expansion method, system, apparatus, and computer-readable storage medium
CN111166358A (en) Pressure zero point correction method, device, equipment and computer readable storage medium
EP3005249A2 (en) Improved method of signal processing and system including the same
CN112556569B (en) Method, device and equipment for temperature compensation of sensor and storage medium

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