CN110006585A - A kind of data acquisition device and method of pressure sensor - Google Patents

A kind of data acquisition device and method of pressure sensor Download PDF

Info

Publication number
CN110006585A
CN110006585A CN201910370923.9A CN201910370923A CN110006585A CN 110006585 A CN110006585 A CN 110006585A CN 201910370923 A CN201910370923 A CN 201910370923A CN 110006585 A CN110006585 A CN 110006585A
Authority
CN
China
Prior art keywords
voltage
circuit
pressure
pressure sensor
reference voltage
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.)
Granted
Application number
CN201910370923.9A
Other languages
Chinese (zh)
Other versions
CN110006585B (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.)
Shanghai Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and 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 Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN201910370923.9A priority Critical patent/CN110006585B/en
Publication of CN110006585A publication Critical patent/CN110006585A/en
Application granted granted Critical
Publication of CN110006585B publication Critical patent/CN110006585B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L19/00Details of, or accessories for, apparatus for measuring steady or quasi-steady pressure of a fluent medium insofar as such details or accessories are not special to particular types of pressure gauges
    • G01L19/08Means for indicating or recording, e.g. for remote indication
    • G01L19/083Means for indicating or recording, e.g. for remote indication electrical
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2612Data acquisition interface

Abstract

The purpose of the application is to provide the data acquisition device and method of a kind of pressure sensor, the acquisition device of the application includes power supply, microprocessor, D/A converting circuit, constant-current source circuit, pressure sensor and analog to digital conversion circuit, pass through the acquisition device, the burning voltage reference signal for determining the D/A converting circuit output, as reference voltage;The voltage of collection point after obtaining conversion in analog-digital conversion circuit as described, wherein the collection point is the common connecting point of the pressure sensor, the constant-current source circuit and analog-digital conversion circuit as described;The current pressure value of the pressure sensor is determined according to the voltage of the collection point after the reference voltage, the conversion and supply voltage.So that pressure sensor is able to maintain in a metastable range in the voltage of the output signal under different pressures section, accuracy of data acquisition with higher.

Description

A kind of data acquisition device and method of pressure sensor
Technical field
This application involves art of pressure sensors more particularly to the data acquisition devices and method of a kind of pressure sensor.
Background technique
Sensor technology and the communication technology, computer technology constitute three big pillars of modern information industry.Wherein, sensor Technology is the bottleneck industry that a relative communication technology and computer technology fall behind.Traditional sensors are because of function, characteristic, volume etc. Be difficult to meet the present computer technology, the communication technology to precision, reliability, weatherability, information processing capability etc. require and gradually It is eliminated.Diaphragm pressure sensor is the development with thin film technique and the novel pressure sensing of a kind of function admirable that is born Device uses high-accuracy and printing technology, has the good characteristics such as precision is high, operating temperature range is wide, stability is good.And for The data of thin film sensor acquire, and generally use a set of preset parameter circuit at present and remove driving thin film sensor, export result model It is larger to enclose variation range, precision is caused to be not easy to be consistent, the design of rear class Acquisition Circuit is also complex.
Summary of the invention
The purpose of the application is to provide the data acquisition device and method of a kind of pressure sensor, solves the prior art Output range of results when the data acquisition of middle diaphragm pressure sensor changes greatly, precision is not easy to be consistent, Acquisition Circuit Design is complicated, calculates complicated problem.
According to the one aspect of the application, a kind of data acquisition device of pressure sensor is provided, comprising:
Power supply;
Microprocessor, the microprocessor are connect with the power supply;
D/A converting circuit, the D/A converting circuit are connected with the microprocessor and the power supply respectively;
Constant-current source circuit, the constant-current source circuit are connected with the D/A converting circuit and the power supply respectively;
Pressure sensor, the pressure sensor are connected with the constant-current source circuit and the power supply respectively;
Analog to digital conversion circuit, analog-digital conversion circuit as described respectively with the pressure sensor, the microprocessor and described Power supply is connected.
Further, the D/A converting circuit includes digital analog converter and filter circuit, the digital analog converter and institute Filter circuit connection is stated, the filter circuit is connect with the constant-current source circuit.
Further, the filter circuit includes first resistor and first capacitor, the first resistor respectively with the number Mode converter and the first capacitor are connected, one end ground connection of the first capacitor.
Further, the constant-current source circuit includes:
Operational amplifier, the operational amplifier are connect with the filter circuit;
Field-effect tube, the field-effect tube are connected with the operational amplifier and the pressure sensor respectively;
Sampling resistor, the sampling resistor are connect with the field-effect tube, sampling resistor one end ground connection;
Negative-feedback circuit, negative-feedback circuit are connected with the operational amplifier and the sampling resistor respectively.
Further, the negative-feedback circuit includes second resistance and 3rd resistor, the second resistance and the third Resistance connection, second resistance one end ground connection.
On the other hand according to the application, a kind of collecting method of pressure sensor is additionally provided, aforementioned institute is used The data acquisition device stated, which comprises
The burning voltage reference signal for determining the D/A converting circuit output, as reference voltage;
The voltage of collection point after obtaining conversion in analog-digital conversion circuit as described, wherein the collection point is the pressure The common connecting point of force snesor, the constant-current source circuit and analog-digital conversion circuit as described;
The pressure sensor is determined according to the voltage of the collection point after the reference voltage, the conversion and supply voltage Current pressure value.
Further, it is determined that the burning voltage reference signal of the D/A converting circuit output, as reference voltage, packet It includes:
The burning voltage reference signal that digital analog converter exports in the D/A converting circuit is determined, by the burning voltage Reference signal is used as reference voltage after carrying out High frequency filter by the filter circuit.
Further, according to the voltage of the collection point after the reference voltage, the conversion and supply voltage determination The current pressure value of pressure sensor, comprising:
The pressure sensor is determined according to the voltage of the collection point after the reference voltage, the conversion and supply voltage Corresponding resistance value;
The pressure sensing is determined according to the corresponding resistance value of the pressure sensor and preset pressure resistance value corresponding relationship The current pressure value of device.
Further, according to the voltage of the collection point after the reference voltage, the conversion and supply voltage determination The corresponding resistance value of pressure sensor, comprising:
Determine that the resistance value is corresponding according to the corresponding resistance value of the pressure sensor and preset pressure resistance value corresponding relationship Pressure where block information;
The reference voltage is adjusted to the corresponding benchmark of the block information by the block information where the pressure Voltage determines reference voltage adjusted;
The voltage of collection point after reacquiring conversion in analog-digital conversion circuit as described, with the flat of the determination collection point Equal voltage;
The pressure is determined according to the reference voltage adjusted, the average voltage of the collection point and the supply voltage The corresponding resistance value of force snesor.
Further, the block information where the pressure includes first interval, second interval and 3rd interval, and described One section corresponds to the corresponding second preset reference voltage of the first preset reference voltage, the second interval, and the 3rd interval is corresponding Third preset reference voltage.
Further, the reference voltage is adjusted to by the block information pair according to the block information where the pressure The reference voltage answered, comprising:
It is corresponding default that the reference voltage is adjusted to the block information by block information where the pressure Reference voltage, wherein the preset reference voltage include the first preset reference voltage, the second preset reference voltage and The third preset reference voltage.
Compared with prior art, the application is provided a kind of data acquisition device of pressure sensor and is filled using the acquisition The method for carrying out data acquisition is set, which includes power supply;Microprocessor, the microprocessor are connect with the power supply; D/A converting circuit, the D/A converting circuit are connected with the microprocessor and the power supply respectively;Constant-current source circuit, institute Constant-current source circuit is stated to be connected with the D/A converting circuit and the power supply respectively;Pressure sensing, the pressure sensor point It is not connected with the constant-current source circuit and the power supply;Analog to digital conversion circuit, analog-digital conversion circuit as described respectively with the pressure Force snesor, the microprocessor and the power supply are connected.Further, using above-mentioned acquisition device, the digital-to-analogue is determined The burning voltage reference signal of conversion circuit output, as reference voltage;After obtaining conversion in analog-digital conversion circuit as described The voltage of collection point, wherein the collection point is the pressure sensor, the constant-current source circuit and analog-digital conversion circuit as described Common connecting point;The pressure is determined according to the voltage of the collection point after the reference voltage, the conversion and supply voltage The current pressure value of sensor.So that the voltage of output signal of the diaphragm pressure sensor under different pressures section is able to maintain In a metastable range, entire surveying range can be kept to have higher measurement accuracy, and make measured value It is linear relationship with calculated result, facilitates calculating.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
The structure that Fig. 1 shows a kind of data acquisition device of the pressure sensor provided according to the one aspect of the application is shown It is intended to;
Fig. 2 shows the resistance value of diaphragm pressure sensor in one embodiment of the application and the variation relation schematic diagrames of pressure;
Fig. 3 shows the circuit diagram of the acquisition device of pressure sensor in one embodiment of the application;
Fig. 4 shows the circuit diagram of the acquisition device of another pressure sensor in one embodiment of the application;
Fig. 5 shows a kind of collecting method process signal of the pressure sensor provided on the other hand according to the application Figure;
Fig. 6 shows the pressure of the pressure sensor in one embodiment of the application after demarcation interval and the curved line relation of resistance value Figure;
Fig. 7 shows the flow diagram that pressure value is determined in one embodiment of the application.
The same or similar appended drawing reference represents the same or similar component in attached drawing.
Specific embodiment
The application is described in further detail with reference to the accompanying drawing.
The structure that Fig. 1 shows a kind of data acquisition device of the pressure sensor provided according to the one aspect of the application is shown It is intended to, including power supply 1;Microprocessor 2, the microprocessor 2 are connect with the power supply 1;D/A converting circuit 3, the digital-to-analogue Conversion circuit 3 is connected with the microprocessor 2 and the power supply 1 respectively;Constant-current source circuit 4, the constant-current source circuit 4 are distinguished It is connected with the D/A converting circuit 3 and the power supply 1;Pressure sensing 5, the pressure sensor 5 respectively with the constant current Source circuit 4 and the power supply 1 are connected;Analog to digital conversion circuit 6, analog-digital conversion circuit as described 6 respectively with the pressure sensor 5, the microprocessor 2 and the power supply 1 are connected.
Here, the microprocessor 2 exports burning voltage reference signal for controlling the D/A converting circuit 3, to make For benchmark voltage;The constant-current source circuit 4 is used to pass through the pressure sensor 5 based on burning voltage reference signal control Electric current it is constant;Analog-digital conversion circuit as described 6 is for converting the voltage of collection point, by the voltage of the collection point after conversion It exports to the microprocessor 2, wherein the collection point is the pressure sensor 5, the constant-current source circuit 4 and the mould The common connecting point of number conversion circuit 6;The power supply 1 and the microprocessor 2, D/A converter module 3, constant-current source circuit 4, pressure Force snesor 5 and analog-to-digital conversion module 6 connect, for providing supply voltage;The microprocessor 2 according to the reference voltage, The voltage of collection point after the conversion and the supply voltage determine the current pressure value of the pressure sensor.Here, pressure Force snesor 5 is diaphragm pressure sensor, is in the nature a variable resistance, with the difference of external pressure, resistance value can be generated Variation, change in resistance trend as shown in Fig. 2, within the scope of certain pressure, with its change in resistance range of the variation of pressure compared with Greatly, after reaching certain pressure, change in resistance range is smaller.As shown in Figure 2, diaphragm pressure sensor change in resistance range it is larger and Resistance value curve is nonlinear, if removing driving thin film sensor using the parametric circuit of a set of fixation, can to export result model It is very big to enclose variation range, also, in the biggish section of pressure, change in resistance is smaller, then required precision is increased in this way, so The curve of variation will increase the design requirement difficulty of rear class data acquisition circuit.Therefore adjustable driving diaphragm pressure is needed to pass The circuit of sensor, so that the voltage of output signal of the diaphragm pressure sensor under different pressures section is able to maintain at one relatively surely In fixed range, to guarantee the precision of data acquisition.
In one embodiment of the application, the D/A converting circuit 3 includes digital analog converter 31 and filter circuit 32, described Digital analog converter 31 is connect with the filter circuit 32, and the filter circuit 32 is connect with the constant-current source circuit 4.Here, micro- Processor 2 is micro-control unit (MCU), and D/A converting circuit 3 includes digital analog converter DAC, and analog to digital conversion circuit 6 turns for modulus Parallel operation ADC.Wherein, MCU exports stable voltage reference signal for controlling digital analog converter DAC circuit, passes through constant-current source electricity The voltage reference signal is stablized on road, guarantees that the electric current for passing through pressure sensor 5 in the case where voltage reference signal is constant is constant, MCU reads the output voltage of pressure sensor 5 by analog-digital converter ADC, that is, reads the voltage of collection point, and the voltage of reading is Voltage after ADC is converted, the voltage by the collection point read electric power output voltage, reference voltage and MCU are true The current pressure of level pressure force snesor.The filter circuit 32 is used for the burning voltage benchmark for exporting the digital analog converter 31 After signal carries out High frequency filter, it is transmitted to the constant-current source circuit 4.Here, MCU control digital analog converter adc circuit output is steady After fixed voltage reference signal, after filtering the high frequency spurs in signal by filter circuit 32, the constant-current source circuit of rear class is transported to With the benchmark of burning voltage, wherein the characteristics of cutoff frequency point of filter network can according to need the signal of measurement is set It is fixed.
In one embodiment of the application, the filter circuit 32 includes first resistor R1 and first capacitor C1, and described first Resistance R1 is connected with the digital analog converter 31 and the first capacitor C1 respectively, one end ground connection of the first capacitor C1, RC filter network is constituted by R1, C1.
In one embodiment of the application, the constant-current source circuit 4 includes operational amplifier 41, the operational amplifier 41 with The filter circuit 32 connects;Field-effect tube 42, the field-effect tube 42 respectively with the operational amplifier 41 and the pressure Sensor 5 is connected;Sampling resistor 43, the sampling resistor 43 are connect with the field-effect tube 42, the sampling resistor 43 1 End ground connection;Negative-feedback circuit 44, negative-feedback circuit 44 are connected with the operational amplifier 41 and the sampling resistor 43 respectively. Here, constant-current source circuit 4 includes operational amplification circuit U2, field-effect tube Q1, negative-feedback circuit and sampling resistor R5;The operation The non-inverting input terminal of amplifying circuit U2 is connect with the first resistor R1 and the first capacitor C1, the operational amplification circuit U2 Inverting input terminal connect with the negative-feedback circuit, the output end of the operational amplification circuit U2 and the field-effect tube Q1's Grid connection;The source electrode of the field-effect tube Q1 is connect with the sampling resistor R5, the drain electrode of the field-effect tube Q1 with it is described Pressure sensor 5 connects.The negative-feedback circuit includes second resistance R2 and 3rd resistor R3, and the negative-feedback circuit includes the Two resistance R2 and 3rd resistor R3, the second resistance R2 are connect with the 3rd resistor R3, and the second resistance R2 mono- is terminated Ground.Here, one end of the second resistance R2 is grounded, one end and the operational amplification circuit U2 of the other end and 3rd resistor R3 Inverting input terminal connection, the source electrode and the sampling resistor R5 of the other end of the 3rd resistor R3 and the field-effect tube Q1 Connection.Physical circuit frame diagram is as shown in Figure 3:
MCU is connect with digital analog converter DAC, exports stable voltage reference signal, digital-to-analogue to control digital analog converter DAC Converter DAC is connect with the filter network being made of first resistor R1 and first capacitor C1, wherein first capacitor C1 ground connection, the One resistance R1 is connect with the common node of first capacitor C1 with the non-inverting input terminal of operational amplifier U2, the inverting input terminal of U2 with The negative feedback network connection being made of second resistance R2 and 3rd resistor R3, wherein second resistance R2 ground connection, 3rd resistor R3 It is connect with sampling resistor R5, the output end of U2 is connect after the 4th resistance R4 with the grid of N-channel field-effect tube Q1, the source of Q1 Pole is connect with sampling resistor R5 and 3rd resistor R3, the drain electrode of Q1 and diaphragm pressure sensor U1 and analog-digital converter ADC Connection, ADC connect with MCU, are transmitted in MCU after the voltage of A point is converted, constant-current source circuit is transported by low-noise accurate Calculate amplifier U2, N-channel field-effect tube Q1, negative feedback network R2, R3 of operational amplifier U2 and for sampling adopting for current limliting Sample resistance R5 is constituted, and thereby may be ensured that permanent by the electric current Is of pressure sensor U1 in the case where voltage reference signal is constant It is fixed.Wherein, A point is collection point, and the voltage Vout of A point is the signal for needing to acquire.To circuit by above-mentioned design, acquisition Determine that diaphragm pressure sensor is worked as to the voltage of collection point, and then according to collected voltage and supply voltage, reference voltage Preceding pressure value, the data acquisition device of pressure sensor described in above-described embodiment, adjustable diaphragm pressure sensor Voltage circuit so that the voltage value of output signal of the diaphragm pressure sensor under different pressures section is able to maintain in a phase To in stable range, guarantee the precision of data acquisition.
It does not include negative-feedback circuit, circuit structure exemplary diagram in the constant-current source circuit in the another embodiment of the application As shown in figure 4, MCU is microprocessor, for carrying out operation to data, DAC and ADC is controlled;DAC is digital analog converter, by MCU The digital signal conversion provided exports corresponding voltage signal Vdac;ADC is analog-digital converter, is read by ADC and MCU The voltage value Vout of A point;R1, C1 constitute RC filter, for filtering out the clutter after DAC is exported, adjust R1 according to the actual situation With the value of C1, if the stability of DAC output voltage can satisfy circuit requirement, R1 and C1 can be deleted.R4 is protective resistance, For shielding to Q1, can also delete.Q1 is N-channel field-effect tube, can also use NPN type triode generation certainly It replaces.Arithmetic unit U2 and Q1, R3 and R5 constitute constant current amplifying circuit, and it is constant by the electric current Is of sensor U1 to can control stream, Current value Is=Vdac/R5.It should be noted that the regulating power range of circuit is 0- in Fig. 4 according to Q1 characteristic 1200uA.When being given in Table 1 the value of different R5, the part corresponding data of Vdac and Is.
Table 1
Fig. 5 shows a kind of collecting method process signal of the pressure sensor provided on the other hand according to the application Figure, uses the aforementioned data acquisition device, which comprises step S11~step S13,
In step s 11, the burning voltage reference signal for determining the D/A converting circuit output, as reference voltage; In step s 12, the voltage of the collection point after obtaining conversion in analog-digital conversion circuit as described, wherein the collection point is institute State the common connecting point of pressure sensor, the constant-current source circuit and analog-digital conversion circuit as described;In step s 13, according to institute The voltage and supply voltage of collection point after stating reference voltage, the conversion determine the current pressure value of the pressure sensor. Here, the burning voltage reference signal of D/A converting circuit output is denoted as Vdac as reference voltage, MCU is read in ADC The voltage of collection point be denoted as Vout, Is is denoted as by the electric current of pressure sensor, the resistance value of pressure sensor is Rs, power supply electricity Pressure output voltage is VCC, then the voltage for the collection point that MCU is read and the resistance value corresponding relationship of pressure sensor are as follows: Vout =VCC-Is*Rs, wherein Is is steady state value in the case where reference voltage is constant, with digital analog converter DAC output Vdac in solid Determine relationship, is denoted as formula (one): Is=f (Vdac), further, in step s 13, according to the reference voltage, described turn The voltage and supply voltage of collection point after changing determine the corresponding resistance value of the pressure sensor;According to the pressure sensor pair The resistance value and preset pressure resistance value corresponding relationship answered determine the current pressure value of the pressure sensor.Here, according to acquisition The voltage and the resistance value corresponding relationship and Is of pressure sensor and the relationship of Vdac of point obtain: Rs=(VCC-Vout)/f (Vdac), show that Rs and Vout are in a linear relationship by the relationship, to be conducive to later period progress data point using linear relationship Analysis.The current pressure of pressure sensor can be obtained according to the corresponding relationship of resistance value and pressure in the resistance value of available pressure sensor Force value.
In one embodiment of the application, in step s 11, it may be determined that digital analog converter exports in the D/A converting circuit Burning voltage reference signal, by the burning voltage reference signal by the filter circuit carry out High frequency filter after be used as base Quasi- voltage.Here, the voltage reference signal of digital analog converter output is filtered by the RC being made of first resistor and first capacitor Wave circuit filters the high frequency spurs in signal, using filtered reference voltage signal as the base for being used to adjust pressure sensor Quasi- voltage.
In one embodiment of the application, the pressure of the pressure sensor after demarcation interval as shown in FIG. 6 and the song of resistance value Line relational graph, the block information where the pressure include first interval, second interval and 3rd interval, the first interval pair The corresponding second preset reference voltage of the first preset reference voltage, the second interval is answered, it is default that the 3rd interval corresponds to third Reference voltage.
In one example of the application, when Is is fixed value, under same pressure variety, Vout is in first interval (K1) regional change range is larger, and arrives the variation range very little of 3rd interval (K3), to will lead in entire pressure area Interior measurement accuracy is different, therefore, by acquisition device described herein and method, adjustable Is, such as in the region K1 It suitably turns Is down and suitably tunes up Is in the region K3, so that the Vout that the same pressure variety in different pressures section is measured Variable quantity be also consistent.Wherein, need to guarantee the acquisition range and ADC of the voltage of sampled point in different intervals control Is Sampling interval it is consistent.According to actual circuit, the value of K1, K2 and K3 corresponding Vdac1, Vdac2, Vdac3 are measured in advance With the approximation Vdac0 for being suitble to entire section, with facilitate ADC read Vout.It is first when being determined the pressure value of pressure sensor The interval range where pressure value can be first prejudged, and then carries out accurate measurement place again by adjusting corresponding reference voltage Block information, and then corresponding pressure value is calculated, so that the pressure value finally obtained is more accurate.Specifically implementation Are as follows:
It, can be according to the corresponding resistance value of the pressure sensor and default when determining the corresponding resistance value of the pressure sensor Pressure resistance value corresponding relationship determine the block information where the corresponding pressure of the resistance value;Section where the pressure The reference voltage is adjusted to the corresponding reference voltage of the block information by information, determines reference voltage adjusted;From institute The voltage that the collection point after conversion is reacquired in analog to digital conversion circuit is stated, with the average voltage of the determination collection point;According to The reference voltage adjusted, the average voltage of the collection point and the supply voltage determine that the pressure sensor is corresponding Resistance value.It specifically, can be according to the block information where the pressure by the reference voltage when being adjusted reference voltage It is adjusted to the corresponding preset reference voltage of the block information, wherein the preset reference voltage includes the described first default base Quasi- voltage, the second preset reference voltage and the third preset reference voltage.
Here, the voltage reference Vdac0 that setting DAC is exported, reads the value of ADC, and then according to output supply voltage, acquisition The voltage and reference voltage Vdac0 of point judge that pressure falls in the block information of K1-K3, and then according to the block information judged Corresponding adjustment DAC output voltage is to corresponding Vdac, for example falls in the section K1, then the output voltage of DAC is adjusted to the section K1 Corresponding Vdac1 after adjustment, re-reads the value of ADC, further according to the value of the ADC of the one or many readings in front, asks Vout's Average value, according to formula (two): Rs=(VCC-Vout)/f (Vdac) determines the corresponding resistance value of the pressure sensor, wherein Vdac is reference voltage when last time adjusts, and Vout is the average value for repeatedly reading the voltage of the collection point in ADC and determining. And then obtained pressure resistance value pair is tested according to the curve graph of the corresponding relationship of the pressure value and resistance value of sensor or inquiry in advance Table is answered to obtain Rs corresponding pressure value.Entire surveying range can be kept to have higher measurement accuracy by adjusting Vdac, with And measured value and calculated result is made to be linear relationship, facilitate calculating.
In one specific embodiment of the application, according to the characteristic curve of the pressure of sensor and resistance value, if can be divided into A dry section carries out curve fitting, and has been partitioned into 3 sections as shown in Figure 6, and each section is intended using thicker straightway Curve is closed, so that calculating be facilitated not bring too big error again.The slope in each section is defined as K1, K2 and K3, then corresponds to Resistance value Rs and pressure N between relationship be formula (three): pressure N=-Kn*Rs+L, wherein Kn indicate K1, K2, K3, be quasi- The slope of zygonema section;L is coefficient constant.By formula (two) and formula (three) it can be concluded that formula (four):
N=-Kn* (VCC-Vout)/Is+L;According to the formula, by Vout value in Acquisition Circuit figure, according to sensor spy Linearity curve can calculate pressure value N.By three regions of differentiation, realizes line acquisition data, reduce the calculating of processor Complexity.
By formula (four) and formula (one), formula (five) can be obtained:
N=-Kn* (VCC-Vout)/(Vdac/R5)+L;It can directly be counted according to the Vout value that ADC is read from formula (five) Calculate pressure N.
Specific embodiment are as follows: three matching line segments (as shown in Figure 6) are partitioned into the characteristic curve of pressure sensor, often Line segment is described by formula (three), and three matching line segments respectively include K1, K2, K3 and L1, six constants of L2, L3, And there is A, these constants are preset in the program of microprocessor by resistance value the constant Ra and Rb of two endpoints of B.According to formula (2) a reasonable Is is set, so that the measurement result Vout of ADC is distributed in the entire of ADC in the section of entire line segment In measuring range, a certain head for concentrating on range is avoided, so as to obtain higher measurement accuracy.After setting Is, according to Formula (one), obtains three line segments corresponding Vdac1, Vdac2, Vdac3, the Vdac1 that will be obtained, Vdac2, and Vdac3 is preset at In the program of microprocessor.During actual measurement, to judge which section is pressure fall in, it can carry out in the following manner Determine: as shown in fig. 7, attempting to set different K1, K2 and K3 one by one, i.e. DAC provides corresponding Vdac1, Vdac2, Vdac3 calculates whether Rs falls in corresponding section according to measurement result, if it is not, then continue to replace different sections, if so, It re-starts repeatedly measurement to average to reduce error, obtains measurement result.
By above-mentioned circuit structure and the acquisition method of use, entire surveying range can be kept by adjusting Vdac There is higher measurement accuracy, and measured value and calculated result are linear relationship, facilitate calculating.
Obviously, those skilled in the art can carry out various modification and variations without departing from the essence of the application to the application Mind and range.In this way, if these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies Within, then the application is also intended to include these modifications and variations.
It should be noted that the application can be carried out in the assembly of software and/or software and hardware, for example, can adopt With specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In one embodiment In, the software program of the application can be executed to implement the above steps or functions by processor.Similarly, the application Software program (including relevant data structure) can be stored in computer readable recording medium, for example, RAM memory, Magnetic or optical driver or floppy disc and similar devices.In addition, hardware can be used to realize in some steps or function of the application, example Such as, as the circuit cooperated with processor thereby executing each step or function.
In addition, a part of the application can be applied to computer program product, such as computer program instructions, when its quilt When computer executes, by the operation of the computer, it can call or provide according to the present processes and/or technical solution. And the program instruction of the present processes is called, it is possibly stored in fixed or moveable recording medium, and/or pass through Broadcast or the data flow in other signal-bearing mediums and transmitted, and/or be stored according to described program instruction operation In the working storage of computer equipment.Here, including a device according to one embodiment of the application, which includes using Memory in storage computer program instructions and processor for executing program instructions, wherein when the computer program refers to When enabling by processor execution, method and/or skill of the device operation based on aforementioned multiple embodiments according to the application are triggered Art scheme.
It is obvious to a person skilled in the art that the application is not limited to the details of above-mentioned exemplary embodiment, Er Qie In the case where without departing substantially from spirit herein or essential characteristic, the application can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and scope of the present application is by appended power Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims Variation is included in the application.Any reference signs in the claims should not be construed as limiting the involved claims.This Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.

Claims (11)

1. a kind of data acquisition device of pressure sensor, comprising:
Power supply;
Microprocessor, the microprocessor are connect with the power supply;
D/A converting circuit, the D/A converting circuit are connected with the microprocessor and the power supply respectively;
Constant-current source circuit, the constant-current source circuit are connected with the D/A converting circuit and the power supply respectively;
Pressure sensor, the pressure sensor are connected with the constant-current source circuit and the power supply respectively;
Analog to digital conversion circuit, analog-digital conversion circuit as described respectively with the pressure sensor, the microprocessor and the power supply It is connected.
2. data acquisition device according to claim 1, which is characterized in that the D/A converting circuit includes digital-to-analogue conversion Device and filter circuit, the digital analog converter are connect with the filter circuit, and the filter circuit and the constant-current source circuit connect It connects.
3. data acquisition device according to claim 2, which is characterized in that the filter circuit includes first resistor and One capacitor, the first resistor are connected with the digital analog converter and the first capacitor respectively, and the one of the first capacitor End ground connection.
4. data acquisition device according to claim 3, which is characterized in that the constant-current source circuit includes:
Operational amplifier, the operational amplifier are connect with the filter circuit;
Field-effect tube, the field-effect tube are connected with the operational amplifier and the pressure sensor respectively;
Sampling resistor, the sampling resistor are connect with the field-effect tube, sampling resistor one end ground connection;
Negative-feedback circuit, negative-feedback circuit are connected with the operational amplifier and the sampling resistor respectively.
5. data acquisition device according to claim 4, which is characterized in that the negative-feedback circuit include second resistance and 3rd resistor, the second resistance are connect with the 3rd resistor, second resistance one end ground connection.
6. a kind of collecting method of pressure sensor, wherein use the data as described in any one of claims 1 to 5 Acquisition device, which comprises
The burning voltage reference signal for determining the D/A converting circuit output, as reference voltage;
The voltage of collection point after obtaining conversion in analog-digital conversion circuit as described, wherein the collection point is pressure biography The common connecting point of sensor, the constant-current source circuit and analog-digital conversion circuit as described;
Determine that the pressure sensor is current according to the voltage of the collection point after the reference voltage, the conversion and supply voltage Pressure value.
7. according to the method described in claim 6, wherein it is determined that the burning voltage benchmark letter of D/A converting circuit output Number, as reference voltage, comprising:
The burning voltage reference signal that digital analog converter exports in the D/A converting circuit is determined, by the burning voltage benchmark Signal is used as reference voltage after carrying out High frequency filter by the filter circuit.
8. according to the method described in claim 6, wherein, according to the voltage of the collection point after the reference voltage, the conversion And supply voltage determines the current pressure value of the pressure sensor, comprising:
Determine that the pressure sensor is corresponding according to the voltage of the collection point after the reference voltage, the conversion and supply voltage Resistance value;
Determine that the pressure sensor is worked as according to the corresponding resistance value of the pressure sensor and preset pressure resistance value corresponding relationship Preceding pressure value.
9. according to the method described in claim 8, wherein, according to the voltage of the collection point after the reference voltage, the conversion And supply voltage determines the corresponding resistance value of the pressure sensor, comprising:
The corresponding pressure of the resistance value is determined according to the corresponding resistance value of the pressure sensor and preset pressure resistance value corresponding relationship Block information where power;
The reference voltage is adjusted to the corresponding reference voltage of the block information by the block information where the pressure, Determine reference voltage adjusted;
The voltage of collection point after reacquiring conversion in analog-digital conversion circuit as described, with the average electricity of the determination collection point Pressure;
Determine that the pressure passes according to the reference voltage adjusted, the average voltage of the collection point and the supply voltage The corresponding resistance value of sensor.
10. according to the method described in claim 9, wherein, the block information where the pressure includes first interval, the secondth area Between and 3rd interval, the corresponding second preset reference electricity of the corresponding first preset reference voltage of the first interval, the second interval Pressure, the 3rd interval correspond to third preset reference voltage.
11. according to the method described in claim 10, wherein, block information where the pressure is by the reference voltage It is adjusted to the corresponding reference voltage of the block information, comprising:
The reference voltage is adjusted to the corresponding preset reference of the block information by the block information where the pressure Voltage, wherein the preset reference voltage includes the first preset reference voltage, the second preset reference voltage and described Third preset reference voltage.
CN201910370923.9A 2019-05-06 2019-05-06 Data acquisition device and method of pressure sensor Active CN110006585B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910370923.9A CN110006585B (en) 2019-05-06 2019-05-06 Data acquisition device and method of pressure sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910370923.9A CN110006585B (en) 2019-05-06 2019-05-06 Data acquisition device and method of pressure sensor

Publications (2)

Publication Number Publication Date
CN110006585A true CN110006585A (en) 2019-07-12
CN110006585B CN110006585B (en) 2023-10-24

Family

ID=67175820

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910370923.9A Active CN110006585B (en) 2019-05-06 2019-05-06 Data acquisition device and method of pressure sensor

Country Status (1)

Country Link
CN (1) CN110006585B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110567616A (en) * 2019-08-29 2019-12-13 北京自动化控制设备研究所 Signal acquisition circuit for silicon piezoresistive pressure sensor unit
CN111056395A (en) * 2019-12-25 2020-04-24 武汉科技大学 Band-type brake fault diagnosis method based on multipoint pressure sensor
CN112050975A (en) * 2020-08-25 2020-12-08 宇博智能科技(杭州)有限公司 Signal processing method, module, device and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4414853A (en) * 1981-08-10 1983-11-15 The Foxboro Company Pressure transmitter employing non-linear temperature compensation
US4556807A (en) * 1982-08-16 1985-12-03 Hitachi, Ltd. Pressure transducer with temperature compensation circuit
JPH0720162A (en) * 1993-07-05 1995-01-24 Toyota Autom Loom Works Ltd Output compensation circuit for sensor
JP2003207406A (en) * 2002-01-11 2003-07-25 Nippon Seiki Co Ltd Semiconductor sensor device
CN202384998U (en) * 2012-01-05 2012-08-15 苏州工业园区泰智测控技术有限公司 Power supply device applied to sensing element
CN202526172U (en) * 2012-03-31 2012-11-14 成都华唯科技有限责任公司 Meridian and collateral measuring apparatus
CN102841260A (en) * 2012-09-24 2012-12-26 哈尔滨工业大学 DC microresistivity measuring system
CN205205799U (en) * 2015-12-17 2016-05-04 中国海洋大学 Pressure sensor data acquisition unit
CN205879394U (en) * 2016-08-12 2017-01-11 桂林电子科技大学 Temperature measuring circuit and adopt high accuracy temperature measuring device of this circuit
CN107589363A (en) * 2017-08-15 2018-01-16 太原市太航压力测试科技有限公司 A kind of signal processing circuit of silicon piezoresistive transducer
US9882532B1 (en) * 2016-03-04 2018-01-30 Inphi Corporation Linear amplifier with extended linear output range
CN108427336A (en) * 2017-12-21 2018-08-21 中国船舶重工集团公司第七0七研究所 Quartz flexible accelerometer width modulated binary circuit range automatic switching method
CN109470386A (en) * 2018-11-09 2019-03-15 福州大学 A kind of power/position touch sensor detection system and detection method

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4414853A (en) * 1981-08-10 1983-11-15 The Foxboro Company Pressure transmitter employing non-linear temperature compensation
US4556807A (en) * 1982-08-16 1985-12-03 Hitachi, Ltd. Pressure transducer with temperature compensation circuit
JPH0720162A (en) * 1993-07-05 1995-01-24 Toyota Autom Loom Works Ltd Output compensation circuit for sensor
JP2003207406A (en) * 2002-01-11 2003-07-25 Nippon Seiki Co Ltd Semiconductor sensor device
CN202384998U (en) * 2012-01-05 2012-08-15 苏州工业园区泰智测控技术有限公司 Power supply device applied to sensing element
CN202526172U (en) * 2012-03-31 2012-11-14 成都华唯科技有限责任公司 Meridian and collateral measuring apparatus
CN102841260A (en) * 2012-09-24 2012-12-26 哈尔滨工业大学 DC microresistivity measuring system
CN205205799U (en) * 2015-12-17 2016-05-04 中国海洋大学 Pressure sensor data acquisition unit
US9882532B1 (en) * 2016-03-04 2018-01-30 Inphi Corporation Linear amplifier with extended linear output range
CN205879394U (en) * 2016-08-12 2017-01-11 桂林电子科技大学 Temperature measuring circuit and adopt high accuracy temperature measuring device of this circuit
CN107589363A (en) * 2017-08-15 2018-01-16 太原市太航压力测试科技有限公司 A kind of signal processing circuit of silicon piezoresistive transducer
CN108427336A (en) * 2017-12-21 2018-08-21 中国船舶重工集团公司第七0七研究所 Quartz flexible accelerometer width modulated binary circuit range automatic switching method
CN109470386A (en) * 2018-11-09 2019-03-15 福州大学 A kind of power/position touch sensor detection system and detection method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘宏岩等: "压控恒流源电路分析", 《无线互联科技》 *
刘宏岩等: "压控恒流源电路分析", 《无线互联科技》, 31 January 2018 (2018-01-31), pages 74 - 75 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110567616A (en) * 2019-08-29 2019-12-13 北京自动化控制设备研究所 Signal acquisition circuit for silicon piezoresistive pressure sensor unit
CN111056395A (en) * 2019-12-25 2020-04-24 武汉科技大学 Band-type brake fault diagnosis method based on multipoint pressure sensor
CN112050975A (en) * 2020-08-25 2020-12-08 宇博智能科技(杭州)有限公司 Signal processing method, module, device and storage medium

Also Published As

Publication number Publication date
CN110006585B (en) 2023-10-24

Similar Documents

Publication Publication Date Title
CN110006585A (en) A kind of data acquisition device and method of pressure sensor
CN108918980B (en) Capacitance signal measuring circuit and measuring method
CN101884529B (en) Electronic sphygmomanometer and calibration method thereof
CN106525325B (en) Pressure measurement conversion circuit with adjustable differential signal gain
CN211085270U (en) Temperature self-compensating device of resistance type displacement sensor
CN104048795B (en) Utilize the measurement system of variable amplitude sensor excitation
CN113489466B (en) Circuit for eliminating signal offset of charge amplifier
CN106289212A (en) Integrated measurement and control unit for silicon microphony fork gyroscope
CN108680616B (en) Humidity sensing device and method for digital processing
CN107479001B (en) Battery electric quantity detection device and lamp
CN112130003B (en) Device and method for removing electromagnetic interference signals in same frequency band
CN112798881A (en) Device and method for measuring parameters of piezoelectric ultrasonic transducer
CN111857220B (en) Temperature sampling circuit and control method thereof
CN101441236A (en) Capacity sensor circuit based on Wien bridge and phase-locked loop
CN102103107B (en) Detection instrument for detecting quality of lubricating oil by capacity effect and detection method thereof
CN209982467U (en) Sensor signal conditioning device and high-precision zero clearing signal acquisition chip thereof
CN211263712U (en) Storage battery impedance testing device
KR101657153B1 (en) A wide range current-to-voltage module for radiation measurement
CN214228237U (en) SAW sensor detection system based on phase-locked loop
CN211481235U (en) Oscillator circuit
CN107765075B (en) Current signal processing device
CN113820029A (en) PT100 temperature acquisition circuit for acquisition terminal
CN217738500U (en) Conditioning circuit of piezoresistive pressure sensor
CN207636202U (en) A kind of temperature sampling circuit of high-precision platinum resistor
CN217276576U (en) Temperature sampling circuit and slide processing system

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