Content of the invention
The technical problem to be solved in the present invention is:Overcome the deficiencies in the prior art, a kind of Micro Energy Lose is provided, supplied using battery
Electricity, it is not necessary to laying cable, measures the Micro Energy Lose numeral being accurately particularly suited for not needing pressure value teletransmission occasion to use simultaneously
Pressure gauge, and operate, simple, stable and reliable in work pressure measurement method is set.
The technical solution adopted for the present invention to solve the technical problems is:This Micro Energy Lose digital pressure gauge, at data
Reason unit, the sensor unit that is connected with data processing unit and the power supply unit powered is realized to the two it is characterised in that:
Sensor unit at least includes constant current source module, the sensor assembly by constant-current source module for power supply and sensor assembly is exported
The amplifier module that signal is amplified, at least includes central processing module and and central processing module in data processing unit
The display module connecting, the signal of sensor assembly output is delivered to central processing module and is processed;
Described power supply unit include power supply and be connected with power supply real to data processing unit, sensor unit respectively
The main power source module now powered, auxiliary power module, auxiliary power module is constant-current source module for power supply, and main power source module is that central authorities are processed
Module and display module are powered, and central processing module is connected with auxiliary power module simultaneously and controls it.
Preferably, it is additionally provided with AD conversion module and key-press module in described data processing unit, key-press module is even
It is connected to the signal input part of central processing module, the outfan of AD conversion module connects to the input of central processing unit, amplifies
Device module outfan connects to the input of AD conversion module;Described main power source module be simultaneously connected with AD conversion module and by
Key module.
Preferably, described power supply is lithium battery.
Preferably, described auxiliary power module adopts the chip of model MCP1801, its 3 foot and described central processing unit
Signal output part be connected.
Preferably, described constant current source module includes amplifier chip and the resistance R7 ~ R9 of model TLV2631.
Preferably, described amplifier module adopts the instrument amplifier chip of model INA122.
Preferably, described key-press module includes button SET, button UP and button DOWN, main power source module outfan
Pass through the input of resistance R1 parallel connection button DOWN one end and central processing module, by resistance R2 parallel connection button UP's simultaneously
One end and the input of central processing module, defeated by resistance R6 parallel connection one end of button SET and central processing module
Enter end, button UP, button DOWN and button SET pass through resistance R3 ~ R5 ground connection respectively.
A kind of pressure measurement method of Micro Energy Lose digital pressure gauge is it is characterised in that comprise the steps:
Step 1001, system initialization;
Central processing module initializes to each hardware;
Step 1002, whether central processing module judges RB5 port occurs level to change;
Whether central processing module judges RB5 port occurs level to change, if level changes it was demonstrated that SET button
Press, execution step 1003, if RB5 port level does not change it was demonstrated that no button operation, execution step 1004;
Step 1003, starts scanning button;
There is level change in RB5 port, show that SET button is pressed, now according to instrument setting procedure to this Micro Energy Lose number
Word pressure gauge is configured;
Step 1004, central processing unit dormancy time terminates;
By its built-in WatchDog Timer module, central processing module judges whether dormancy time is over, if
WatchDog Timer module time-out, dormancy time terminates, execution step 1006, if dormancy time not yet terminates, execution step
1005;
Step 1005, central processing module is in holding resting state;
Central processing module continues to keep resting state, returns execution step 1002;
Step 1006, starts AD sampling;
Central processing module controls AD conversion module that the output signal of sensor is sampled;
Step 1007, whether central processing module judges sampling terminates;
Whether central processing module judges sampling terminates, if terminated, execution step 1008;If do not terminated, return step
Rapid 1006;
Step 1008, AD digital independent;
Central processing module reads the data that AD conversion module is converted to;
Step 1009, turns off constant current source module;
Central processing module controls auxiliary power module from service, and sensor assembly quits work;
Step 1010, analog quantity calculates calibration;
Central processing module reads the data that AD conversion module is converted to, and carries out data Filtering Processing, at filtering
Data after reason carries out linear gauging operation;
Step 1011, whether central processing module judges calibration terminates;
Whether central processing module judges calibration terminates, if calibration terminates, execution step 1012, if calibration does not terminate
Return to step 1010;
Step 1012, shows real-time pressure;
Data after calibrating is delivered to display module by central processing module, is shown to implementing pressure value by display module
Show;
Step 1013, whether interrupt identification is 1;
Whether the keys interrupt mark KeyInterruptFlag after central processing module judges calibration is 1, if
KeyInterruptFlag=1, execution step 1014, if KeyInterruptFlag=0, return to step 1004;
Step 1014, interrupt status zero setting;
Central processing module confirms that button operation terminates, and arranges keys interrupt mark KeyInterruptFlag=0.
Preferably, the instrument setting procedure described in step 1003, comprises the steps:
Step 2001, enters setting menu;
Press SET button, central processing module RB5 port level changes, control display module display setting menu;
Step 2002, arithmetic point is arranged;
Choosing whether to enter arithmetic point setting steps by UP or DOWN button, if not carrying out arithmetic point setting, continuing
By UP or DOWN button execution step 2003, if carrying out arithmetic point setting, after pressing SET button, execute following steps:
Step 20021, selects scaling position;
By press UP or DOWN button select arithmetic point display location, chosen successfully after, press SET confirm, execution
Step 2006;
Step 2003, range is arranged;
Choosing whether to enter range setting steps by UP or DOWN button, if not carrying out range setting, continuing through
UP or DOWN button execution step 2004, if carrying out range setting, executes following steps after pressing SET button:
Step 20031, arranges Lower Range;
Lower Range is selected by UP or DOWN button, presses SET button after the completion of setting and determine;
Step 20032,
The range upper limit is selected by UP or DOWN button, presses SET button after the completion of setting and determine, execution step after confirmation
2006;
Step 2004, calibration points setting;
Choose whether to enter calibration points setting steps by UP or DOWN button, if not carrying out calibration points setting,
Continue through UP or DOWN button execution step 2005, if carrying out calibration points setting, after pressing SET button, execution is following walks
Suddenly:
Step 20041,
Calibration points are selected by UP or DOWN button, presses SET button after selection and determine, execution step after confirmation
2006;
Step 2005, pressure calibration;
The need of carrying out pressure calibration, if not needing to carry out pressure calibration, press SET button, execution step 2006;
Carry out pressure calibration if necessary, press SET button and carry out pressure calibration, execute following steps:
Step 20051, applies zero-bit pressure value;
Null pressure is applied to this Micro Energy Lose digital pressure gauge, after pressure value stabilization, presses SET button, complete the 0th
Site is calibrated;
Step 20052, if calibrate for 3 points;
Central processing unit judges calibration mode for whether being 3 points of calibrations, if 3 points of calibrations, execution step 20053,
Calibrate if 2 points, execution step 20054;
Step 20053, applies middle point pressure;
Point pressure in the middle of this Micro Energy Lose digital pressure gauge is applied, after pressure value stabilization, presses SET button, in completing
Between point calibration;
Step 20054, applies full-scale pressure;
Full scale point pressure is applied to this Micro Energy Lose digital pressure gauge, after pressure value stabilization, presses SET button, complete
Full scale point is calibrated, and continues to press SET button, execution step 2006 after completing;
Step 2006, terminates;
Complete setting steps, return main flow.
Compared with prior art, the present invention is had an advantageous effect in that:
1st, a kind of CPU of the pressure measurement method of Micro Energy Lose digital pressure gauge of the present invention adopts ultralow work(
Consumption chip, operational amplifier, instrument amplifier, AD conversion module all using the chip of low current, are all selected from hardware designs
The chip of low-power consumption, utilizes the sleep mode of CPU from software design, makes the instrument most of the time all in dormancy,
Reach the purpose of whole pressure gauge Micro Energy Lose.
2nd, the collection of pressure signal is passed through to spread piezoresistive silicon sensor, as entirely manometric core component not only mistake
Pressure energy power is strong, and sensitivity is high, good reliability, almost non-maintaining.
3rd, configure meter parameter by three buttons, as long as all permissible in the maximum measurement range of diffusion silicon sensor
Manometric range ability is set, is not subject to the limit value of traditional mechanical formula pressure gauge dial plate range ability, and has standard pressure generator
On the premise of, can pressure gauge at the scene to realizing manometric linear gauging, after calibration by three button operations
Precision is higher.
4th, four LCD liquid crystal displays, numerical monitor, clear and intuitive, no parallax are passed through.
5th, powered using a section AA level high power lithium battery, it is to avoid the pressure transmitter of traditional 4 ~ 20mA output needs outside
The restriction of 24V DC source is provided, does not therefore need to lay cable, be particularly suited for not needing the occasion of pressure value teletransmission.
Specific embodiment
Fig. 1 ~ 4 are highly preferred embodiment of the present invention, and 1 ~ 4 the present invention will be further described below in conjunction with the accompanying drawings.
In the functional-block diagram of this Micro Energy Lose digital pressure gauge shown in Fig. 1, black arrow represents that power supply signal flows to, in vain
Color arrow represents that control signal flows to.Micro Energy Lose digital pressure gauge, including power supply unit, sensor unit and data processing list
Unit, sensor unit is connected with data processing unit, and power supply unit is sensor unit simultaneously and data processing unit is powered.
Power supply unit includes main power source module and the auxiliary power module that battery and battery are connected, main power source module and auxiliary power module by
Voltage stabilizing chip is realized, and respectively battery output ground voltage is converted to different voltages, main power source module and auxiliary power module are respectively
It is data processing unit and sensor unit is powered.Battery adopts AA level high power lithium battery.
Sensor unit includes constant current source module, sensor assembly and amplifier module, constant current source module output ground electricity
Stream signal is connected with the energization input of sensor assembly, and the signal output part of sensor assembly connects the signal of amplifier module
Input.Constant-current source exports earth-current signal and drives sensor assembly work, sensor as the power supply signal of sensor assembly
The signal of module output sends into the amplification carrying out signal in amplifier module, and the signal after amplifying is delivered in data processing unit
Processed.The outfan of auxiliary power module is connected with constant current source module and amplifier module respectively, as electricity of powering both it
Source.
Data processing unit includes AD conversion module, central processing module, display module and key-press module.Sensor list
In unit, the signal output part of amplifier module connects to the signal input part of AD conversion module, the signal output part of AD conversion module
Connect the signal input part of central processing module, the signal output part of central processing module connects the signal input of display module
End, key-press module connects to the signal input part of central processing module.Amplifier module output earth signal sends into AD conversion module
Inside carry out analog digital conversion, AD conversion module is delivered to exporting ground digital signal in central processing module, is entered by central processing module
Row is processed.Central processing module controls display module to be shown, by key-press module to central processing module input instruction, by
Central processing module is processed.Main power source module in power supply unit be simultaneously connected with AD conversion module, central processing module with
And display module, and power for it, main power source module is concurrently accessed in key-press module.The signal output part of central processing module is same
When auxiliary connection power module, its working condition is controlled.
Circuit theory in figure shown in Fig. 2, including microprocessor U1, voltage stabilizing chip U2 ~ U3, integrated transporting discharging chip U4,
Instrument amplifier chip U5, AD conversion chip U6 and display screen U7.The voltage vcc of battery output is simultaneously connected with voltage stabilizing chip
Input:3 feet of voltage stabilizing chip U2 and 1 foot of voltage stabilizing chip U3.1 foot ground connection of voltage stabilizing chip U2,3 foot shunt capacitance C2 connect
Ground, 5 feet that 2 feet are simultaneously connected with 20 feet of microprocessor U1,1 foot of display screen U7 and AD conversion chip U6 realize power supply;Surely
2 feet of pressure chip U2 pass through 5 feet of resistance R1 parallel connection button KEY2 one end and microprocessor U1 simultaneously, in parallel by resistance R2
One end of button KEY1 and 4 feet of microprocessor U1, by one end and the microprocessor U1 of resistance R6 parallel connection button KEY3
26 feet, button KEY1 ~ KEY3 passes through resistance R3 ~ R5 ground connection respectively.24 feet of microprocessor U1,25 feet respectively with display screen U7
2 feet, 4 feet be connected, display screen U7 3 feet ground connection.
2 foot ground connection of voltage stabilizing chip U3, shunt capacitance C3 between 1 foot and 2 feet, 17 feet of 3 feet connection microprocessor U1,4
Foot is NC end, and 5 feet are voltage output end.5 feet of voltage stabilizing chip U3 connect 5 feet of integrated transporting discharging chip U4 respectively and instrument is amplified
7 feet of device chip U5 realize power supply.One end of 5 feet of voltage stabilizing chip U3 parallel resistance R7 simultaneously, the other end of resistance R7 is simultaneously
One end of parallel resistance R8 and 3 feet of integrated transporting discharging chip U4, the other end ground connection of resistance R8.The 2 of integrated transporting discharging chip U4
Foot is grounded, and 4 feet are grounded by resistance R9, the power supply positive pole of the pressure transducer that 1 foot connection is represented by resistance Ra ~ Rd, and pressure passes
The power supply negative pole of sensor is grounded through resistance R9 simultaneously, and two outfans of pressure transducer are respectively connected to instrument amplifier chip U5's
2 feet and 3 feet.Series resistance R10 between 1 foot of instrument amplifier chip U5 and 8 feet, 4 feet and 5 feet ground connection, outfan 6 foot is connected
1 foot of one end of shunt capacitance C1 and AD conversion chip U6 simultaneously after resistance R11, the other end ground connection of electric capacity C1.AD turns
Change 2 feet, the 6 foot ground connection of chip U6,3 feet and 4 feet connect 14 feet of microprocessor U1,15 feet respectively.
Voltage stabilizing chip U2 ~ U3 is respectively adopted the chip of model MCP1700 and MCP1801, realizes above-mentioned main power source mould
Block and auxiliary power module.Integrated transporting discharging chip U4 and resistance R7 ~ above-mentioned constant current source module of R9 composition, integrated transporting discharging chip U4
Chip using model TLV2631.Resistance Ra ~ Rd in Fig. 2 represents pressure transducer, in this Micro Energy Lose digital pressure gauge
In, preferred diffusion piezoresistive silicon sensor.Instrument amplifier chip U5 is above-mentioned amplifier module, its model INA122.
AD conversion chip U6 is above-mentioned AD conversion module, its model ADS1110.The central authorities that microprocessor U1 is above-mentioned process mould
Block, its model PIC16F1938;Display screen U7 is above-mentioned display module, using 4 LCD liquid crystal displays.Button
KEY1 ~ KEY3 above-mentioned key-press module of composition, in actual product, button KEY1 ~ KEY3 be respectively defined as UP button, DOWN by
The RB5 pin of key and SET button, SET button and microprocessor U1(26 feet)It is connected, this pin has level change and interrupts work(
Can, device can be waken up from park mode by this function.
Microprocessor U1, the constant current source module being made up of integrated transporting discharging chip U4 and resistance R7 ~ R9, instrument amplifier core
Piece U5 and AD conversion chip U6, all using low power dissipation design, can achieve long-term power supply, low work(using a section high power lithium battery
Consumption design extends battery, has saved cost, it is to avoid conventional pressure transmitter needs outside to provide DC sources
Restriction., using diffusion piezoresistive silicon sensor, overload level is big, and sensitivity is high for sensor.Overcome traditional mechanical type to refer to
Needle force table, it is impossible to overload uses, otherwise can lead to permanent damage, and susceptiveness is also poor, need to knock watchcase during reading
Shortcoming.
As shown in figure 3, the pressure measurement method of this Micro Energy Lose digital pressure gauge, comprise the steps:
Step 1001, system initialization;
Central processing module initializes to each hardware;
Step 1002, whether central processing module judges RB5 port occurs level to change;
Whether central processing module judges RB5 port occurs level to change, if level changes it was demonstrated that SET button
Press, execution step 1003, if RB5 port level does not change it was demonstrated that no button operation, execution step 1004;
Step 1003, starts scanning button;
There is level change in RB5 port, show that SET button is pressed, now according to instrument setting procedure to this Micro Energy Lose number
Word pressure gauge is configured;
Step 1004, central processing unit dormancy time terminates;
By its built-in WatchDog Timer module, central processing module judges whether dormancy time is over, if
WatchDog Timer module time-out, dormancy time terminates, execution step 1006, if dormancy time not yet terminates, execution step
1005;
Step 1005, central processing module is in holding resting state;
Central processing module continues to keep resting state, returns execution step 1002;
Step 1006, starts AD sampling;
Central processing module controls AD conversion module that the output signal of sensor is sampled;
Step 1007, whether central processing module judges sampling terminates;
Whether central processing module judges sampling terminates, if terminated, execution step 1008;If do not terminated, return step
Rapid 1006;
Step 1008, AD digital independent;
Central processing module reads the data that AD conversion module is converted to;
Step 1009, turns off constant current source module;
Central processing module controls auxiliary power module from service, and sensor assembly quits work;
After auxiliary power module from service, constant-current source circuit, instrument amplifier circuit quit work then, and sensor does not have
There is constant current-supplying also just no longer output signal, AD conversion module provides input signal, AD conversion module without instrument amplifier
Also quit work, reduce operating current, reduce power consumption.
Step 1010, analog quantity calculates calibration;
Central processing module reads the data that AD conversion module is converted to, and carries out data Filtering Processing, at filtering
Data after reason carries out linear gauging operation;
Step 1011, whether central processing module judges calibration terminates;
Whether central processing module judges calibration terminates, if calibration terminates, execution step 1012, if calibration does not terminate
Return to step 1010;
Step 1012, shows real-time pressure;
Data after calibrating is delivered to display module by central processing module, is shown to implementing pressure value by display module
Show;
Step 1013, whether interrupt identification is 1;
Whether the keys interrupt mark KeyInterruptFlag after central processing module judges calibration is 1, if
KeyInterruptFlag=1, execution step 1014, if KeyInterruptFlag=0, return to step 1004;
Step 1014, interrupt status zero setting;
Central processing module confirms that button operation terminates, and arranges keys interrupt mark KeyInterruptFlag=0.
When actual field is applied, this pressure gauge is in the state of circulation execution step 1004 ~ 1013, i.e. circle collection pressure
Force value simultaneously carries out pressure by display screen and shows, only when needing to carry out adjustment to pressure gauge, just needs execution step 1003
And the instrument setting procedure being related in step 1003.
As shown in figure 4, above-mentioned instrument setting procedure comprises the steps:
Step 2001, enters setting menu;
Press SET button, central processing module RB5 port level changes, control display module display setting menu;
Step 2002, arithmetic point is arranged;
Choosing whether to enter arithmetic point setting steps by UP or DOWN button, if not carrying out arithmetic point setting, continuing
By UP or DOWN button execution step 2003, if carrying out arithmetic point setting, after pressing SET button, execute following steps:
Step 20021, selects scaling position;
By press UP or DOWN button select arithmetic point display location, chosen successfully after, press SET confirm, execution
Step 2006;
Step 2003, range is arranged;
Choosing whether to enter range setting steps by UP or DOWN button, if not carrying out range setting, continuing through
UP or DOWN button execution step 2004, if carrying out range setting, executes following steps after pressing SET button:
Step 20031, arranges Lower Range;
Lower Range is selected by UP or DOWN button, presses SET button after the completion of setting and determine;
Step 20032,
The range upper limit is selected by UP or DOWN button, presses SET button after the completion of setting and determine, execution step after confirmation
2006;
Step 2004, calibration points setting;
Choose whether to enter calibration points setting steps by UP or DOWN button, if not carrying out calibration points setting,
Continue through UP or DOWN button execution step 2005, if carrying out calibration points setting, after pressing SET button, execution is following walks
Suddenly:
Step 20041,
Calibration points are selected by UP or DOWN button, presses SET button after selection and determine, execution step after confirmation
2006;
In this pressure measurement method, two point calibrations or three point calibrations may be selected.
Step 2005, pressure calibration;
The need of carrying out pressure calibration, if not needing to carry out pressure calibration, press SET button execution step 2006;
Carry out pressure calibration if necessary, press SET button and carry out pressure calibration, execute following steps:
Step 20051, applies zero-bit pressure value;
Null pressure is applied to this Micro Energy Lose digital pressure gauge, after pressure value stabilization, presses SET button, complete the 0th
Site is calibrated;
Step 20052, if calibrate for 3 points;
Central processing unit judges calibration mode for whether being 3 points of calibrations, if 3 points of calibrations, execution step 20053,
Calibrate if 2 points, execution step 20054;
Step 20053, applies middle point pressure;
Point pressure in the middle of this Micro Energy Lose digital pressure gauge is applied, after pressure value stabilization, presses SET button, in completing
Between point calibration;
Step 20054, applies full-scale pressure;
Full scale point pressure is applied to this Micro Energy Lose digital pressure gauge, after pressure value stabilization, presses SET button, complete
Full scale point is calibrated, and continues to press SET button, execution step 2006 after completing;
Step 2006, terminates;
Complete setting steps, return main flow.
Specific work process and operation principle are as follows:
, simultaneously to main power source module and auxiliary power module for power supply, main power source module is by the voltage conversion of battery output for battery
Be AD conversion module, central processing module and display module after voltage stabilizing, and power for it, main power source module be concurrently accessed by
In key module.The outfan of auxiliary power module is connected with constant current source module and amplifier module respectively, as electricity of powering both it
Source.
Constant-current source circuit power supply provides operating current for sensor assembly, and the pressure information collecting is turned by sensor assembly
Change pressure millivolt signal into and pass to amplifier module, according to gain resistor RG(Resistance R10)Size determining amplification,
The differential signal collecting is zoomed into volt level signal, delivering to AD conversion module provides input signal.AD conversion module will be simulated
Signal is converted into digital signal and sends into central processing module, and the digital signal after AD conversion module is changed by central processing module leads to
Cross data filtering, calculating, process after, by display module by process after result show.Can be arranged by key-press module
Meter parameter and carry out linear gauging.The parameter that can arrange is as follows:Setting instrument range bound, setting scaling position, choosing
Select a school and count on schedule.These parameter settings are finished, and delivers to central processing module, key circuit is set up by central processing module
Digital signal after complete parameter and AD conversion module conversion, after data filtering, analog quantity calculating, calibration, after calibrating
Pressure value shown by display module, complete whole instrument pressure information collection, calibration, display operation.
The above, be only presently preferred embodiments of the present invention, is not the restriction that the present invention is made with other forms, appoints
What those skilled in the art possibly also with the disclosure above technology contents changed or be modified as equivalent variations etc.
Effect embodiment.But every without departing from technical solution of the present invention content, according to the present invention technical spirit to above example institute
Any simple modification, equivalent variations and the remodeling made, still falls within the protection domain of technical solution of the present invention.