CN104949797B - Pressure/differential pressure type sensor temperature and pressure compensation method - Google Patents
Pressure/differential pressure type sensor temperature and pressure compensation method Download PDFInfo
- Publication number
- CN104949797B CN104949797B CN201510278390.3A CN201510278390A CN104949797B CN 104949797 B CN104949797 B CN 104949797B CN 201510278390 A CN201510278390 A CN 201510278390A CN 104949797 B CN104949797 B CN 104949797B
- Authority
- CN
- China
- Prior art keywords
- pressure
- temperature
- main website
- industrial computer
- calibration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The present invention relates to a kind of pressure/differential pressure type sensor temperature and pressure compensation method, employ following temperature and pressure compensation system, the temperature and pressure compensation system includes main website industrial computer, temperature regulating device, pressure control device, electric current exports detection device, temperature and pressure compensation station matrix circuit and gas path device, protocol converter is respectively equipped between the main website industrial computer and each pressure transmitter, each protocol converter is used to receive the protocol frame instruction that main website industrial computer is sent, and the pressure of the control panel progress station pressure type sensor according to station pressure type sensor corresponding to protocol frame instruction control, the demarcation sampling of temperature and electric current, and corresponding sample data is back to main website industrial computer.This pressure/differential pressure type sensor temperature and pressure compensation method cost is few, and unit interval product production capacity is high, and controllable operating is flexible, system maintenance and easy to repair, operation that can be reliable and stable.
Description
Technical field
The present invention relates to pressure transmitter field, more particularly to a kind of pressure/differential pressure type sensor temperature and pressure compensation method.
Background technology
Using serial based on HART buses on existing pressure transmitter sensor temperature and pressure compensation production line
Temperature and pressure compensation system, and the serial temperature and pressure compensation method of point-to-point type, due to being existed using the serial temperature and pressure compensation method of point-to-point type
Actual production application is all to repeat identical flow to realize the temperature of pressure sensor, pressure and the demarcation of electric current, is passed through
Production practices checking long-term for many years show that the method is all in response to the production of pressure sensor temperature and pressure compensation is caused with HART buses
Phase is long, single batch production qualification rate is low, and whole system controllability in production application is poor, maintenance and maintenance cost are high
Problem.
The content of the invention
The present invention be directed to the deficiencies in the prior art, there is provided a kind of pressure/differential pressure type sensor temperature and pressure compensation method, this
Pressure/differential pressure type sensor temperature and pressure compensation method cost is few, and unit interval product production capacity is high, and controllable operating is flexible, system maintenance
With easy to repair, operation that can be reliable and stable.
The present invention be solve the technical scheme that uses of above-mentioned technical problem for:A kind of pressure/differential pressure type sensor temperature and pressure are mended
Compensation method, employ following temperature and pressure compensation system, the temperature and pressure compensation system include main website industrial computer, temperature regulating device, pressure control device,
Electric current output detection device, temperature and pressure compensation station matrix circuit and gas path device, the main website industrial computer become with each station pressure
Sending and protocol converter is respectively equipped between device, each protocol converter is used to receive the protocol frame instruction that main website industrial computer is sent, and
Pressure, temperature and the electricity of station sensor are carried out according to station control panel in the corresponding station pressure transmitter of protocol frame instruction control
The demarcation sampling of stream, and corresponding sample data is back to main website industrial computer;The main website industrial computer and temperature and pressure compensation station square
Battle array circuit electrical connection, for driving temperature and pressure compensation station matrix circuit, temperature and pressure compensation station matrix circuit respectively with gas path device
Each electromagnetic valve of gas circuit electrical connection, for control electromagnetic valve of gas circuit carry out temperature and pressure compensation gas circuit switching;The main website industry control
Machine electrically connects with temperature regulating device, pressure control device respectively, for controlling temperature regulating device, the temperature of pressure control device and pressure defeated respectively
Go out;The electric current output detection device is used for the output pressure signal of detection station sensor, and the pressure output that will be detected
Signal passes to main website industrial computer;
The step of carrying out temperature and pressure compensation using above-mentioned temperature and pressure compensation system includes:
1) multiple temperature-compensating calibration points are chosen successively in the temperature range section for treat temperature and pressure compensation intelligent transducer,
Treat to choose multiple pressure compensation calibration points in the range ability section of temperature and pressure compensation intelligent transducer successively, selected temperature is mended
Repay calibration point and pressure compensation calibration point is arranged in main website industrial computer;
2) temperature control:Main website industrial computer control sets the temperature of temperature regulating device, and is the 1st temperature-compensating by temperature setting
Point, makes its constant temperature be delayed and the state that tends towards stability, when the pressure for treating temperature and pressure compensation in main website industrial personal computer monitoring to temperature regulating device online
The temperature of force snesor reaches or during close to the 1st temperature compensation point, then carries out the pressure calibration under Current Temperatures point;
3) gas circuit selects:Main website industrial computer drive control temperature and pressure compensation station matrix circuit, the pressure of pressure control device is defeated
The test lead for going out end with online pressure sensor to be compensated connects;
4) pressure control:Main website industrial computer control pressure control device, the output valve for making its pressure is the 1st of pressure sensor to be compensated
Individual pressure compensation calibration point, when the gas pressure in both gas path pipe and pressure sensor room and the gas of pressure control device output
Body pressure is equal and when being in constant-pressure stable state, is then ready for the pressure calibration sampling of current pressure calibration point;
5) main website industrial computer sends parallel pressure and demarcates protocol frame to protocol converter:Main website industrial computer is to online all associations
Discuss converter and send parallel pressure demarcation protocol frame;
6) protocol converter sends pressure calibration protocol frame to station control panel:Online all protocol converters are monitored in real time
The parallel pressure demarcation protocol frame that main website industrial computer is sent, and analysis protocol frame instructs, and pressure calibration instruction is sent to right
Answer station control panel (control panel of station sensor);
7) pressure calibration data back:The pressure calibration protocol frame that station control panel receives protocol converter transmission is laggard
The sampling of row pressure calibration, and result is returned into protocol converter;Protocol converter is stored pressure calibration sampled result,
Main website industrial computer is waited to read;
8) sampling of other pressure calibration points is completed:Repeat step 4) to 7), complete other pressures under the 1st temperature compensation point
The sampling of power calibration point;
9) temperature calibration:The Radio Broadcasting Agreements frame that main website industrial computer sends parallel temperature demarcation sampling informs that protocol converter enters
The temperature calibration of the corresponding station sensor of row samples, and then protocol converter sends temperature sampling to corresponding station control panel and referred to
Temperature calibration sampled result is returned to protocol converter by order, last station control panel, waits main website industrial computer to read back;
10) calibration with current signal:It is identical with temperature calibration flow;
11) nominal data is read back:Main website industrial computer adopts pressure, temperature and the calibration with current signal of online all pressure sensors
Sample data are read back successively from front to back, and data are carried out into file storage backup;
12) demarcation of other scale of thermometer fixed points is completed:Repeat step 2) to the pressure for 11), completing other temperature compensation points
Demarcation;
13) the linear corrected Calculation of temperature and pressure compensation:Main website industrial computer carries out the linear corrected Calculation in line pressure sensor,
And write linear correction factor to corresponding pressure sensor, while linear correction factor is subjected to preservation backup.
For the protocol converter using M16CM3030RFCP microcontrollers as core, microcontroller receives PDS pressure transmitter temperature
The protocol frame that the pressure automatic compensation software of compensation system main website is sent by RS485 buses controls, and passes through according to protocol frame instruction
RS232 buses obtain high/low temperature oven interior and correspond to corresponding data in station pressure sensor (including pressure calibration samples, be warm
Scale samples surely, calibration with current signal sampling, linear correction factor and the protocol converter inner parameter etc. of temperature and pressure compensation), and will
Data are back to system main website by RS485 buses.The protocol converter includes power unit, microcontroller, RS232 buses
Driving chip and RS485 bus driver chips, the power unit are used for respectively to microcontroller, RS232 bus driver chips
With RS485 bus driver chip power supplies, code switch is broadcast in microcontroller connection, for the address configuration of each protocol converter,
The microcontroller passes through RS485 bus drivers chip, RS232 bus drivers chip and main website industrial computer, station pressure respectively
Transmitter is communicated;
Protocol converter described in step 6) sends pressure calibration protocol frame to the step of station control panel and is:
1) microcontroller of protocol converter carries out initial configuration;
2) RS485 buses are put to receive state;
3) microcontroller is monitored RS485 buses, if there is protocol command frame, is then jumped to 4), is otherwise redirected
To 7);
4) 5) the protocol frame instruction that parsing main website is sent, if reading sampling nominal data, then redirects, is read if removing
The protocol frame instruction outside sampling nominal data is taken, then is redirected 6);
5) RS485 buses are put to send state, is delayed and is sent to main website and read sampling nominal data response frame, delay is put
RS485 buses are reception state;
6) microcontroller sends main website order intention protocol frame by RS232 buses to station control panel, and handles corresponding
Response protocol frame;
7) scanning of current running status and state of a control indicator lamp;
8) timing dog-feeding, and jump to 3).
The COM end of main website industrial computer adds RS232 to turn RS485 photoisolator, the main website industrial computer
The photoisolator that RS232 turns RS485 is connected by the RS485 bus drivers chip of RS485 buses and protocol converter.
The power unit is powered using the DC/DC modular power sources of isolation.The power unit includes insulating power supply mould
Block U5, voltage-stablizer U11,24V D/C power, diode D5, transformer T3, bilateral diode V7 and some inductance, resistance, electricity
Hold, the positive pole of the 24V D/C powers is connected with diode D5 positive pole, the negative poles of 24V D/C powers respectively with bilateral diode
V7 one end, inductance L12 one end connection, the bilateral diode V7 other end negative pole with diode D5, inductance L11 respectively
One end is connected, and one end with electric capacity C26, a transformer T3 input are connected the inductance L12 other end respectively, inductance L11
The other end other end with electric capacity C26, transformer T3 another input are connected respectively, a transformer T3 output end
It is connected with inductance L14 one end, transformer T3 another output end is connected with inductance L13 one end, the inductance L14 other end
One end with electric capacity C28, electric capacity C29 one end are connected respectively, electric capacity C29 another endmatcher shell, the inductance L13 other end point
The other end, electric capacity C30 one end not with electric capacity C28 are connected, electric capacity C30 another endmatcher shell.Insulating power supply module U5's
Both ends of two inputs respectively with electric capacity C28 are connected, and an insulating power supply module U5 output end is connected with inductance L15 one end,
The positive pole with electric capacity E6, electric capacity C31 one end are connected the inductance L15 other end respectively, electric capacity E6 negative pole, electric capacity C31 it is another
One end is grounded, and electric capacity E6 positive pole, negative pole export VCC-485, GND-485 respectively.Electric capacity E4 positive pole, negative pole respectively with electric capacity
C28 both ends connection, electric capacity E4 positive pole is connected with resistance R39 one end, the resistance R39 other end respectively with voltage-stablizer U11
Input, electric capacity C25 one end connection, electric capacity E4 negative pole, voltage-stablizer U11 earth terminal, the electric capacity C25 other end connect
Ground, the positive pole with electric capacity E5, electric capacity C27 one end are connected voltage-stablizer U11 output end respectively, electric capacity E5 negative pole, electric capacity C27
Earth terminal of the other end with voltage-stablizer U11 be connected, electric capacity E5 positive pole, negative pole export VCC-CPU, GND-CPU respectively.Electricity
Positive pole, the negative pole for holding E5 are connected with VCC-485, GND-485 respectively through resistance R41, resistance R42 respectively.Power unit wants modulus
Block is powered for 24V DC, and in temperature and pressure compensation system, protocol converter is adopted as pressure sensor temperature and pressure compensation nominal data
The functional block of sample, so in order to improve RS485 buses and RS232 bus communication circuitry antijamming capabilities, improve signal transmission
Reliability need to use the DC/DC modular power sources of isolation to power.24V D/C powers are isolated two groups in actual design application
Independent 5V D/C powers, one group of power supply as RS485 bus driver chips MAX481, another group is used as RS232 bus driver cores
Piece MAX232 and microcontroller M16CM3030RFCP power supply.
The design of isolated protocol converter bus communication part will meet following several requirements:One, the protocol conversion
Device belongs to slave station equipment for temperature and pressure compensation system, and its communication bus is RS485 buses, and it receives temperature and pressure compensation system master
The control instructions such as pressure that station is sent, temperature, electric current, the linear correction factor of read-write, while to avoid leading to from main website industrial computer
Port circuit is interrogated to protocol converter data acquisition and the electromagnetic interference of data transfer, it is desirable in the industrial computer of temperature and pressure compensation system
COM end adds RS232 to turn RS485 photoisolator.Secondly, be similarly effectively suppression electromagnetic interference and elimination
The interference of ground loop, the reliability of communication is improved, by RXD-485, TXD-485, CTR- of M16CM3030RFCP microcontrollers
The receiver output (RO) of 485 pins and RS485 bus driver chips, receiver output enabled (RE), driver enable (DE),
Need to add photoisolator between the pins such as driver input (DI).Thirdly, the protocol converter is for pressure differential pressure pick-up work
It is master device for the circuit of position, the pressure, temperature, electricity of corresponding station pressure differential pressure pick-up is obtained by RS232 buses
Sampled value is flowed, and temperature and pressure compensation terminates the read-write capability of rear temperature and pressure compensation correction factor.
Isolated protocol converter digital control main completion address device address configuration, working condition instruction and converter
Three kinds of functions such as crash reset.The address configuration of isolated protocol converter is realized by broadcasting code switch,
M16CM3030RFCP microcontrollers set the address of protocol converter by obtaining the state value of two groups of I/O inputs of P0 and P1.
The working condition instruction of isolated protocol converter is broadly divided into the instruction of microcontroller power supply state, and (D6LED, normal condition are normal
Bright, otherwise abnormal electrical power supply), running state of programs instruction (D7LED, normal program operation Chang Liang, otherwise flash) and RS232 it is total
Line communication state indicates (D8LED, RS232 bus communication are normally Chang Liang, are otherwise flashed).Converter crash reset function is exactly
Prevent module crash after can not normal work, for this in the additional house dog of microcontroller.In order to effectively suppress electromagnetism
Interference and the interference for eliminating ground loop, improve the reliability of communication, and the RXD-485 pins and RS485 of the microcontroller are total
The 10th photoisolator U10, the TXD-485 pins of the microcontroller are provided between the receiver output end RO of line driving chip
The 12nd photoisolator U12 is provided between the driver input end DI of RS485 bus driver chips, the microcontroller
The 9th photoisolator U9 is provided between the receiver of CTR-485 pins and RS485 bus driver chips output Enable Pin RE,
The receiver output Enable Pin RE of RS485 bus driver chips is connected with driver Enable Pin DE.Physical circuit is:Bus communication
Part include RS485 bus driver chip A4, RS232 bus driver chips U13, the 10th photoisolator U10, the 12nd photoelectricity every
From device U12, the 9th photoisolator U9, NOT gate A3 and some resistance, the receiver of the RS485 bus drivers chip A4 is defeated
Go out to hold one end respectively with resistance R21 of RO, a 10th photoisolator U10 input to be connected, the resistance R21 other end with it is micro-
The RXD-485 pins connection of controller, the 10th photoisolator U10 another input connect through resistance R19 and voltage VCC-485
Connecing, one end with resistance R13, the RXD-485 pins of microcontroller are connected a 10th photoisolator U10 output end respectively,
The resistance R13 other end is connected with voltage VCC-CPU, the 10th photoisolator U10 another output head grounding.The microcontroller
One end with resistance R45, a 12nd photoisolator U12 input are connected the TXD-485 pins of device respectively, resistance R45's
The other end is connected with RS485 bus driver chips A4 driver input end DI, the 12nd photoisolator U12 another input
Be connected through resistance R44 with voltage VCC-CPU, a 12nd photoisolator U12 output end respectively one end with resistance R46,
RS485 bus driver chips A4 driver input end DI connections, the resistance R46 other end are connected with voltage VCC-485, and the 12nd
Photoisolator U12 another output head grounding.The CTR-485 pins of the microcontroller one end with resistance R20, respectively
9 photoisolator U9 input connection, resistance R20 other end NAND gate A3 input connection, the 9th photoisolator
U9 another input is connected through resistance R9 with voltage VCC-CPU, a 9th photoisolator U9 output end respectively with resistance
R18 one end, NOT gate A3 input connection, the resistance R18 other end are connected with voltage VCC-485, the 9th photoisolator U9
Another output head grounding, receiver output Enable Pin RE with RS485 bus driver chips A4 of NOT gate A3 output end, driving
The DE connections of device Enable Pin.The effect of circuit between J3 and A, B is the effect that protection powers up filtering, and protective effect is exactly to work as electricity
Source reversal connection or power supply are unlikely to the follow-up circuit in cherished A, B end when being higher by actual power voltage.Power filter by L11, L12,
L13, L14 and common mode vortex enclose (T4) to realize.When customer requirement protocol converter is isolated converter, this is required
Microcontroller CPU and RS485 driving chip MAX481 (A4) will individually be powered, and resistance R41, resistance R42 need not be welded.Then
Microcontroller CPU power supply power supply comes from 78M05 (U11), and RS485 driving chips MAX481 (A4) power supply power supply comes from DC/
DC modular converters IB2405LS-1W (U5).
When customer requirement protocol converter is non-isolated converter, now microcontroller CPU and RS485 drivings core
Piece MAX481 (A4) shares same group of power supply, and resistance R41, resistance R42 need to weld.Then microcontroller CPU power supply and
The power supply of RS485 driving chips MAX481 (A4) power supply comes from linear power supply 78M05 (U11).
Broadcast code switch S9-S16 one end ground connection, broadcast the code switch S9-S16 other end respectively with potentiometer RP3, RP4
One end, two groups of I/O inputs of P0 and P1 of microcontroller connect, and potentiometer RP3, RP4 other end and voltage VCC-CPU connect
Connect.The COM end of main website industrial computer adds RS232 to turn RS485 photoisolator, the RS232 of the main website industrial computer
The photoisolator for turning RS485 is connected by the RS485 bus drivers chip of RS485 buses and protocol converter.
The main website industrial computer passes through pci bus drive control PIO digital interface I/O cards, output multi-channel numeral I/O signals
Control temperature and pressure compensation station matrix circuit.
The temperature regulating device is high/low temperature baking oven.The pressure control device is pressure controller RUSKA 7250.The electric current
Output detection device is digital multimeter Agilent 34401A.Wherein pressure controller RUSKA 7250 is pressure sensor temperature
The pressure control equipment of pressure calibration in pressure compensation production procedure.High/low temperature baking oven is the temperature calibration equipment of pressure sensor.Numeral
Universal meter Agilent 34401A are that 4-20mA output detection devices are used to carry out calibration with current signal.Used in all industry spots
Instrument and meter for automation has required 4-20mA outputs, so PDS pressure transmitters are no exception, it is necessary to there are 4-20mA outputs, since
The calibration with current signal of correlation will be carried out by having.Its tangible industry spot PDS transmitters 4-20mA output is pressed corresponding to being actually
Power monitoring output, both corresponding 0 pressure outputs of 4mA, 20mA respective sensors full-scale pressure exported.Digital multimeter is for examining
The output of station sensor electric current is surveyed, is that Master station control software sends 4mA (1V) output order to station sensor first, then
Master station control software reads current respective sensor 4mA (1V) outputting measurement value by gpib bus from digital multimeter;Together
Reason, complete 20mA (5V) demarcation detections.
Main website industrial computer is the core of the system, and the automatic temperature and pressure compensation software on industrial computer is by passing through GPIB
Bus is realized in pressure sensor temperature and pressure compensation production procedure to pressure controller RUSKA 7250 and digital multimeter
Agilent 34401A operational control;Pass through digital I/O interface card of the pci bus drive control based on CH365 chips, output
The digital I/O on 32 tunnels, realize and matrix circuit is controlled, complete the selection of pressure sensor calibrating gas circuit;It is real by RS485 buses
Now high/low temperature baking oven temperature control is operated.
Temperature and pressure compensation station matrix circuit:The part is by digital I/O of the pci bus drive control based on CH365 chips
Interface card exports the circuit that 32 railway digital I/O carry out array combination design, and its function is that control main website is controlled in fact by pci bus
The switching of existing temperature and pressure compensation gas circuit.
Station control panel is provided with station pressure transmitter:The partial circuit mainly receives parsing and comes from temperature and pressure compensation system
The protocol frame of system main website, pressure calibration, temperature calibration and the electric current of current station pressure sensor are completed according to protocol frame instruction
The functions such as the sampling of demarcation, the read-write of linear correction factor.
Gas path device:The part is mainly by source of the gas, gas path pipe, sensor installs fixture and pedestal.Gas path pipe is gas
Source exports constant pressure to the output channel of pressure sensor by pressure controller.Gas path pipe is provided with some gas circuit electromagnetism
Valve.Sensor installs fixture is the coupling part of pressure sensor and gas circuit, it is main complete gas path pipe and pressure sensor it
Between sealing.What source of the gas was specially designed by PDS type pressure transmitter production lines is that pressure or differential pressure type sensor carry out temperature
Pressure compensation provides the gas device of pressure source, and the device provides gas pressure source supply pressure controller first, then by certainly
Dynamic temperature pressure compensation system software exports corresponding nominal pressure value by gpib bus control pressure controller to oven interior
On the fixture of sensor.
Each station control panel includes microcontroller, AD sample circuits, HART bus communication circuits, memory, pressure signal
Acquisition Circuit, temperature signal collection circuit, the pressure signal Acquisition Circuit are used for the pressure letter for receiving Sensor section collection
Number, and AD sample circuits are passed to, the temperature signal collection circuit is used for the temperature signal for receiving Sensor section collection, and
AD sample circuits are passed to, the AD sample circuits are used to distinguish sampled pressure and temperature signal, and obtained pressure AD is adopted
Sample value and temperature AD sampled values pass to microcontroller, and the HART bus communication circuits are used to realize that microcontroller is mended with temperature and pressure
The communication between the main website industrial computer in linear update the system is repaid, for realizing main website industrial computer to treating the intelligence of temperature and pressure compensation online
The pressure and temperature signal scaling sampling of energy pressure transmitter.Spi bus is used between microcontroller and the AD sample circuit
Communicated.Microcontroller is main control unit, and ADS1241 chips are controlled cells, the communication bus between them using
Spi bus, when carrying out pressure calibration sampling, microcontroller is referred to by spi bus to the switching of ADS1241 chips sendaisle
Order, makes pressure signal be output to A+ the and A- pins of ADS1241 chips, and then, microcontroller reads A+ and A- by spi bus
The pressure calibration sampled result of passage;Similarly complete the sampling of temperature signal.
Sensor, memory, pressure signal Acquisition Circuit, temperature signal collection circuit are arranged on digital collection plate.
Microcontroller, AD sample circuits, HART bus communication circuits are arranged on digital control plate.The digital collection plate is mainly completed
Three functions, one is the pressure differential signal (N1 and COM) of sensor is by amplifier, (D1A and D1B are transport and placing device
TLC252C the AD ends of digital control plate are transferred to after) by connector (A+ and A-);The second is the temperature signal (T) of sensor
The AD ends that differential signal (T+ and T-) is transferred to digital control plate by connector are formed after over-sampling demarcates resistance;The third is
The store function of the linear correction factor of temperature and pressure compensation, final penalty coefficient is stored in into nonvolatile memory, and (D2 is non-easy
The property lost memory 25LC160).The pressure and temperature differential digital signal of pressure/differential pressure sensor is transferred to change by connector
Send the AD ends of the digital control plate of device.The AD sampling sections of digital control plate, it is 4 groups of difference sampling channels using 24
Based on ADS1241 (D4) sampling A/D chip, the digital collection of pressure signal (A+ and A-) and temperature signal (T+ and T-) is completed, so
The M16CM3030RFCP microcontrollers of mainboard control the switching of ADS1241 chip sampling channels by spi bus afterwards, and read
The result of current real-time pressure and temperature data signal.The HART bus communication circuits of digital control plate, the partial circuit
Mainly with HART driving chips A5191HRTP (D11) for core, complete PDS transmitters mainboard and led with the control of temperature and pressure compensation system
Communication between standing, realize that main website samples to online temperature and pressure compensation pressure/differential pressure sensor pressure and temperature signal scaling, finally
Realize the process that the temperature and pressure compensation of online all the sensors is linearly corrected.
The present invention is had the beneficial effect that using above-mentioned technical proposal:The temperature and pressure compensation system fitting method not only solve with
The single batch pressure differential pressure pick-up temperature and pressure compensation time present in temperature and pressure compensation system toward point-to-point type is long, in the unit interval
Product production capacity is low, the missing and maintenance difficult of temperature and pressure compensation circuit redundancy, and the maintenance of temperature and pressure compensation system calibrating equipment
With maintenance cost it is high the problem of;And the existing parallel temperature and pressure compensation system of solution causes pressure sensor in response to HART buses
The temperature and pressure compensation production cycle is long, single batch production qualification rate is low, and whole system controllability in production application is poor, maintenance
With maintenance cost it is high the problem of;Simultaneously the isolated protocol converter is safeguarded in PDS temperature and pressure compensation systems with it is easy to repair, can
Control operation is flexible, and code migrating is easier to, and also supports the function of hot plugging.
Brief description of the drawings
Fig. 1 is the method and step flow chart of the present invention;
Fig. 2 is the temperature and pressure compensation system group network schematic diagram of the present invention;
Fig. 3 is the schematic diagram of the temperature and pressure compensation gas circuit of the present invention;
Fig. 4 is the circuit diagram of the power unit of the protocol converter of the present invention;
Fig. 5 is the circuit diagram of the bus communication part of the protocol converter of the present invention;
Fig. 6 is the circuit diagram of the digital control part of the protocol converter of the present invention;
Fig. 7 is from the schematic diagram for intending protocol command frame;
Fig. 8 is from the schematic diagram for intending protocol command response frame;
Fig. 9 is the workflow diagram of protocol converter.
Embodiment
The invention will be further described with reference to the accompanying drawings and examples:
Referring to Fig. 1 and Fig. 2, a kind of pressure/differential pressure type sensor temperature and pressure compensation method, following temperature and pressure compensation system is employed
System, the temperature and pressure compensation system include main website industrial computer, temperature regulating device, pressure control device, electric current output detection device, temperature and pressure compensation work
Bit matrix circuit and gas path device, protocol converter is respectively equipped between the main website industrial computer and each station pressure transmitter,
Each protocol converter is used to receive the protocol frame instruction that main website industrial computer is sent, and according to station corresponding to protocol frame instruction control
The demarcation sampling of the pressure of station control panel progress station sensor, temperature and electric current in pressure transmitter, and corresponding will sample
Data back is to main website industrial computer;The main website industrial computer electrically connects with temperature and pressure compensation station matrix circuit, for driving temperature and pressure
Station matrix circuit is compensated, temperature and pressure compensation station matrix circuit electrically connects with each electromagnetic valve of gas circuit of gas path device respectively, uses
The switching of temperature and pressure compensation gas circuit is carried out in control electromagnetic valve of gas circuit;The main website industrial computer respectively with temperature regulating device, pressure control device
Electrical connection, for controlling the temperature and pressure output of temperature regulating device, pressure control device respectively;The electric current output detection device is used
Main website industrial computer is passed in the output pressure signal of detection station sensor, and by the output pressure signal detected.
The step of carrying out temperature and pressure compensation using above-mentioned temperature and pressure compensation system includes:
1) multiple temperature-compensating calibration points are chosen successively in the temperature range section for treat temperature and pressure compensation intelligent transducer,
Treat to choose multiple pressure compensation calibration points in the range ability section of temperature and pressure compensation intelligent transducer successively, selected temperature is mended
Repay calibration point and pressure compensation calibration point is arranged in main website industrial computer.
The pressure or differential pressure pick-up of PDS type pressure transmitters will carry out once complete full warm area temperature and pressure before dispatching from the factory
Compensation demarcation, and 120/85/65/45/25/5/-15/-40 DEG C of grade is chosen as temperature compensation point in full warm area, while right
The demarcation of pressure and electric current will also be carried out by answering under temperature spot.Generally choose the type sensor for the sensor of pressure-type and completely measure
The 0.0/0.05/0.1/0.15/0.2/0.3/0.4/0.5/0.65/0.8/1.0 of journey is as pressure compensation calibration point.For differential pressure
The sensor of type generally chooses the -1.0/-0.8/-0.65/-0.5/-0.4/-0.3/-0.2/- of the type sensor full scale
0.15/-0.1/-0.05/0.0/0.05/0.1/0.15/0.2/0.3/0.4/0.5/0.65/0 .8/1.0 are as pressure compensation mark
Fixed point.
2) temperature control:Master Station Software sets the temperature of high/low temperature baking oven by RS485 bus marcos, and is the by temperature setting
1 120 DEG C of temperature compensation point, makes its constant temperature be delayed and the state that tends towards stability.Temperature and pressure are treated online when system software is monitored in baking oven
The temperature of the pressure sensor of compensation reaches or during close to 120 DEG C, then carries out the pressure calibration under Current Temperatures point;
3) gas circuit selects:Master Station Software is by pci bus drive control PIO numeral I/O matrix circuits, by pressure controller
RUSKA 7250 pressure output end connects with the test lead of online pressure sensor to be compensated.
4) pressure control:Master Station Software makes the output valve of its pressure by gpib bus control pressure controller RUSKA 7250
For the 1st pressure compensation calibration point of pressure sensor to be compensated, the 0.0 of pressure sensor full scale as to be compensated.Work as gas
Gas pressure in road pipeline and pressure sensor room it is equal with the gas pressure that pressure controller RUSKA 7250 is exported and
During in constant-pressure stable state, then the pressure calibration sampling of current pressure calibration point is ready for.
5) main website sends parallel pressure and demarcates protocol frame to protocol converter:Master Station Software is by RS485 buses to online
All protocol converters send parallel pressure demarcation protocol frame.
6) protocol converter sends out pressure calibration protocol frame to station control panel:Online all isolated protocol converters are real-time
The parallel pressure demarcation protocol frame that Master Station Software is sent is monitored, and analysis protocol frame instructs, and pressure calibration instruction is sent extremely
Corresponding station control panel (control panel of station pressure sensor).
7) pressure calibration data back:The pressure calibration protocol frame that station control panel receives protocol converter transmission is laggard
Sampling, the filtering of row pressure calibration, and result is returned into protocol converter.Protocol converter carries out pressure calibration sampled result
Storage, waits the reading of main website.
8) sampling filter of other pressure calibration points is completed:Repeat step 4) it is other under 120 DEG C of compensation temperatures to 7), completing
Pressure calibration point sampling (online pressure-type sensor full scale to be compensated 0.05,0.1,0.15,0.2,0.3,0.4,0.5,
0.65、0.8、1.0)。
9) temperature calibration:It is essentially identical with parallel pressure demarcation sampling, it is that main website sends parallel temperature demarcation sampling first
Radio Broadcasting Agreements frame inform that protocol converter carries out the temperature calibration sampling of corresponding station pressure sensor, then protocol converter
Temperature sampling instruction is sent to corresponding station control panel, temperature calibration sampled result is returned to protocol converter by last station,
Main website is waited to read back.
10) calibration with current signal:It is identical with temperature calibration flow, do not repeat.
11) nominal data is read back:The automatic temperature and pressure compensation control software of main website is passed online all pressure by RS485 buses
Pressure, temperature and the calibration with current signal sampled data of sensor are read back successively from front to back, and data are carried out into file storage backup.
12) demarcation of other scale of thermometer fixed points is completed:Repeat step 2) to the pressure for 11), completing other temperature compensation points
Demarcate (85 DEG C, 65 DEG C, 45 DEG C, 25 DEG C, 5 DEG C, -15 DEG C, -40 DEG C);
13) the linear corrected Calculation of temperature and pressure compensation:Master Station Software carries out the linear corrected Calculation in line pressure sensor, and
Linear correction factor is write to corresponding pressure sensor by RS485 buses, while linear correction factor is preserved
Backup;
14) temperature and pressure compensation result is reported:Master Station Software completes the temperature and pressure compensation in line pressure sensor, and result is reported
Produce user.
The temperature regulating device is high/low temperature baking oven.The pressure control device is pressure controller RUSKA 7250.The electric current
Output detection device is digital multimeter Agilent 34401A.Wherein pressure controller RUSKA 7250 is pressure sensor temperature
The pressure control equipment of pressure calibration in pressure compensation production procedure.High/low temperature baking oven is the temperature calibration equipment of pressure sensor.Numeral
Universal meter Agilent 34401A are that 4-20mA output detection devices are used to carry out calibration with current signal.Used in all industry spots
Instrument and meter for automation has required 4-20mA outputs, so PDS pressure transmitters are no exception, it is necessary to there are 4-20mA outputs, since
The calibration with current signal of correlation will be carried out by having.Its tangible industry spot PDS transmitters 4-20mA output is pressed corresponding to being actually
Power monitoring output, both corresponding 0 pressure outputs of 4mA, 20mA respective sensors full-scale pressure exported.Digital multimeter is for examining
The output of station sensor electric current is surveyed, is that Master station control software sends 4mA (1V) output order to station sensor first, then
Master station control software reads current respective sensor 4mA (1V) outputting measurement value by gpib bus from digital multimeter;Together
Reason, complete 20mA (5V) demarcation detections.
Main website industrial computer is the core of the system, and the automatic temperature and pressure compensation software on industrial computer is by passing through GPIB
Bus is realized in pressure sensor temperature and pressure compensation production procedure to pressure controller RUSKA 7250 and digital multimeter
Agilent 34401A operational control;Pass through digital I/O interface card of the pci bus drive control based on CH365 chips, output
The digital I/O on 32 tunnels, realize and matrix circuit is controlled, complete the selection of pressure sensor calibrating gas circuit;It is real by RS485 buses
Now high/low temperature baking oven temperature control is operated.
Temperature and pressure compensation station matrix circuit:The part is by digital I/O of the pci bus drive control based on CH365 chips
Interface card exports the circuit that 32 railway digital I/O carry out array combination design, and its function is that control main website is controlled in fact by pci bus
The switching of existing temperature and pressure compensation gas circuit.
Station control panel is provided with station pressure transmitter:The partial circuit mainly receives parsing and comes from temperature and pressure compensation system
The protocol frame of system main website, pressure calibration, temperature calibration and the electric current of current station pressure sensor are completed according to protocol frame instruction
The functions such as the sampling of demarcation, the read-write of linear correction factor.
Gas path device:The part is mainly by source of the gas, gas path pipe, sensor installs fixture and pedestal.Gas path pipe is gas
Source exports constant pressure to the output channel of pressure sensor by pressure controller.Gas path pipe is provided with some gas circuit electromagnetism
Valve.Sensor installs fixture is the coupling part of pressure sensor and gas circuit, it is main complete gas path pipe and pressure sensor it
Between sealing.What source of the gas was specially designed by PDS type pressure transmitter production lines is that pressure or differential pressure type sensor carry out temperature
Pressure compensation provides the gas device of pressure source, and the device provides gas pressure source supply pressure controller first, then by certainly
Dynamic temperature pressure compensation system software exports corresponding nominal pressure value by gpib bus control pressure controller to oven interior
On the fixture of sensor.
Referring to Fig. 3, for the design of PDS type differential pressure type sensor temperature and pressure compensation gas circuits, the interior only pressure of simple system
Force controller, the sensor for only carrying out same range carry out temperature and pressure compensation;There are more pressure controllers in complicated system, simultaneously
Carry out the temperature and pressure compensation of several types sensor.For upper figure, when the differential pressure type sensor that selected range is 400Kpa is carried out
The flow of temperature and pressure compensation control gas circuit is as follows:
1st, one pressure-reducing valve is installed at the pressure controller voltage supply end that range is 400Kpa first, the purpose is to prevent source of the gas
The excessive damage pressure controller device of pressure.
2nd, temperature and pressure compensation system software by pci bus control PIO data circuit, drive control globe valve 3,5,7,8,9,
10th, 11,12,13,14,16 is open-minded, and globe valve 1,2,4,6,15 is closed, and its purpose makes the output pressure of pressure controller directly supply
To the anode of 1-48 transmitter sensors, negative terminal directly communicates with air.
3rd, the pressure calibration of differential pressure type sensor anode is completed according to pressure calibration point;
4th, similarly, temperature and pressure compensation system software by pci bus control PIO data circuit, drive control globe valve 3,6,
7th, 8,9,11,12,13,14,15 is open-minded, and globe valve 1,2,4,5,16 is closed, and its purpose makes the output pressure of pressure controller straight
The negative terminal of supply 1-48 transmitter sensors is connect, anode directly communicates with air.
5th, the pressure calibration of differential pressure type sensor negative terminal is completed according to pressure calibration point;
If only 12 differential pressure type sensors carry out temperature and pressure compensation online, and only use 1-12 transmitters and used
Fixture, then carry out opening globe valve 3,5,7,11,16 during anode pressure calibration, other globe valves are closed;Carry out negative terminal pressure
Globe valve 3,6,7,11,15 is opened during demarcation, other globe valves are closed.
The operation principle of isolated protocol converter:The protocol converter using M16CM3030RFCP microcontrollers as core,
Microcontroller receives the agreement that the automatic compensation software of PDS pressure transmitter temperature and pressure compensation system main websites is sent by RS485 buses
Frame controls, and obtains high/low temperature oven interior by RS232 buses according to protocol frame instruction and correspond to phase in station pressure sensor
Answer data (including pressure calibration sampling, temperature calibration sampling, calibration with current signal sampling, temperature and pressure compensation linear correction factor, with
And protocol converter inner parameter etc.), and data are back to system main website by RS485 buses.
The hardware design of isolated protocol converter is broadly divided into power unit, bus communication part and digital control three
Point.Wherein power unit requires that module is powered for 24V DC, and in temperature and pressure compensation system, protocol converter is as pressure sensing
The functional block of device temperature and pressure compensation nominal data sampling, so anti-interference in order to improve RS485 buses and RS232 bus communication circuitries
Ability, improving the reliability of signal transmission need to use the DC/DC modular power sources of isolation to power.Will in actual design application
24V D/C powers isolate two groups of independence 5V D/C powers, and one group of power supply as RS485 bus driver chips MAX481 is another
Power supply of the group as RS232 bus driver chip MAX232 and microcontroller M16CM3030RFCP.It is isolated agreement to see Fig. 4
The power principle figure of converter.
The design of isolated protocol converter bus communication part will meet following several requirements:One, the protocol conversion
Device belongs to slave station equipment for temperature and pressure compensation system, and its communication bus is RS485 buses, and it receives temperature and pressure compensation system master
The control instructions such as pressure that station is sent, temperature, electric current, the linear correction factor of read-write, while to avoid leading to from main website industrial computer
Port circuit is interrogated to protocol converter data acquisition and the electromagnetic interference of data transfer, it is desirable to serial in the industrial computer of temperature compensation system
PORT COM end adds RS232 to turn RS485 photoisolator.Secondly, be similarly effectively suppression electromagnetic interference and eliminate ground connection
The interference of loop, the reliability of communication is improved, by RXD-485, TXD-485, CTR-485 of M16CM3030RFCP microcontrollers
The receiver output (RO), receiver output enabled (RE), driver of pin and RS485 bus driver chips enable (DE), driven
Need to add photoisolator between the pins such as dynamic device input (DI).Thirdly, the protocol converter is for pressure differential pressure pick-up station
It is master device for circuit, the pressure, temperature, electric current of corresponding station pressure differential pressure pick-up is obtained by RS232 buses
Sampled value, and temperature and pressure compensation terminate the read-write capability of rear temperature and pressure compensation correction factor.See that Fig. 5 is total for isolated protocol converter
The circuit theory diagrams of line communications portion.
Isolated protocol converter digital control main completion address device address configuration, working condition instruction and converter
Three kinds of functions such as crash reset.The address configuration of isolated protocol converter is realized by broadcasting code switch,
M16CM3030RFCP microcontrollers set the address of protocol converter by obtaining the state value of two groups of I/O inputs of P0 and P1.
The working condition instruction of isolated protocol converter is broadly divided into the instruction of microcontroller power supply state, and (D6 LED, normal condition are
Chang Liang, otherwise abnormal electrical power supply), running state of programs instruction (D7 LED, normal program operation Chang Liang, otherwise flash) and
RS232 bus communications state instruction (D8 LED, RS232 bus communication are normally Chang Liang, are otherwise flashed).Converter crash reset
Function be exactly prevent module crash after can not normal work, for this in the additional house dog of microcontroller.This is one outer
The house dog put, pulsatile once must be given in less than 1.6 seconds, otherwise protocol converter will produce reset.The house dog
Effect is exactly to prevent microcontroller from crashing, so wanting timing dog-feeding.See the digital control circuit that Fig. 6 is isolated protocol converter
Schematic diagram.
Physical circuit is:Referring to Fig. 5, bus communication part includes RS485 bus driver chip A4, RS232 bus drivers
Chip U13, the 10th photoisolator U10, the 12nd photoisolator U12, the 9th photoisolator U9, NOT gate A3 and some electricity
Resistance, the receiver output end RO of the RS485 bus drivers chip A4 one end with resistance R21, the 10th photoisolator respectively
U10 input connection, the resistance R21 other end and the RXD-485 pins of microcontroller connect, the 10th photoisolator
U10 another input is connected through resistance R19 with voltage VCC-485, a 10th photoisolator U10 output end respectively with electricity
The RXD-485 pins connection of R13 one end, microcontroller is hindered, the resistance R13 other end is connected with voltage VCC-CPU, the 10th light
Electric isolator U10 another output head grounding.The TXD-485 pins of the microcontroller one end with resistance R45, the 12nd respectively
Photoisolator U12 input connection, the resistance R45 other end input with RS485 bus driver chips A4 driver
DI connections are held, the 12nd photoisolator U12 another input is connected through resistance R44 with voltage VCC-CPU, the 12nd Phototube Coupling
One end with resistance R46, RS485 bus driver chips A4 driver input end DI are connected a device U12 output end respectively, electricity
The resistance R46 other end is connected with voltage VCC-485, the 12nd photoisolator U12 another output head grounding.The microcontroller
CTR-485 pins one end with resistance R20, a 9th photoisolator U9 input are connected respectively, resistance R20's is another
NAND gate A3 input connection is held, the 9th photoisolator U9 another input is connected through resistance R9 with voltage VCC-CPU,
One end with resistance R18, NOT gate A3 input are connected a 9th photoisolator U9 output end respectively, and resistance R18's is another
End is connected with voltage VCC-485, the 9th photoisolator U9 another output head grounding, NOT gate A3 output end and RS485 buses
Driving chip A4 receiver output Enable Pin RE, the DE connections of driver Enable Pin.
Referring to Fig. 6, broadcast code switch S9-S16 one end ground connection, broadcast the code switch S9-S16 other end respectively with potentiometer
Two groups of RP3, RP4 one end, the P0 of microcontroller and P1 I/O inputs connect, potentiometer RP3, RP4 other end and voltage
VCC-CPU connections.The COM end of main website industrial computer adds RS232 to turn RS485 photoisolator, the main website industry control
The photoisolator that the RS232 of machine turns RS485 is connected by the RS485 bus drivers chip of RS485 buses and protocol converter.
Referring to Fig. 4, the power unit is powered using the DC/DC modular power sources of isolation.The power unit include every
From power module U5, voltage-stablizer U11,24V D/C power, diode D5, transformer T3, bilateral diode V7 and some inductance,
Resistance, electric capacity, the positive pole of the 24V D/C powers are connected with diode D5 positive pole, the negative poles of 24V D/C powers respectively with it is two-way
Diode V7 one end, inductance L12 one end connection, the bilateral diode V7 other end negative pole with diode D5, electricity respectively
Feel L11 one end connection, one end with electric capacity C26, a transformer T3 input are connected the inductance L12 other end respectively,
The other end with electric capacity C26, transformer T3 another input are connected the inductance L11 other end respectively, and the one of transformer T3
Individual output end is connected with inductance L14 one end, and transformer T3 another output end is connected with inductance L13 one end, inductance L14
The other end one end with electric capacity C28, electric capacity C29 one end are connected respectively, electric capacity C29 another endmatcher shell, inductance L13's
The other end with electric capacity C28, electric capacity C30 one end are connected the other end respectively, electric capacity C30 another endmatcher shell.Insulating power supply
Both ends of module U5 two inputs respectively with electric capacity C28 are connected, an insulating power supply module U5 output end and the one of inductance L15
End connection, the positive pole with electric capacity E6, electric capacity C31 one end are connected the inductance L15 other end respectively, electric capacity E6 negative pole, electric capacity
C31 other end ground connection, electric capacity E6 positive pole, negative pole export VCC-485, GND-485 respectively.Electric capacity E4 positive pole, negative pole point
Both ends not with electric capacity C28 are connected, and electric capacity E4 positive pole is connected with resistance R39 one end, the resistance R39 other end respectively with surely
One end connection of depressor U11 input, electric capacity C25, electric capacity E4 negative pole, voltage-stablizer U11 earth terminal, electric capacity C25 it is another
One end is grounded, and the positive pole with electric capacity E5, electric capacity C27 one end are connected voltage-stablizer U11 output end respectively, and electric capacity E5's is negative
The earth terminal of pole, the electric capacity C27 other end with voltage-stablizer U11 is connected, electric capacity E5 positive pole, negative pole export respectively VCC-CPU,
GND-CPU.Electric capacity E5 positive pole, negative pole is connected with VCC-485, GND-485 respectively through resistance R41, resistance R42 respectively.
The protocol theory of isolated protocol converter and research and development of software
Realize that isolated protocol converter is applied in the automatic paralleling temperature and pressure compensation system of PDS type pressure transmitters, it is first
Temperature compensation system main website, protocol converter and station control collection plate tripartite will be first set to have a unified communications protocol,
Ability guarantee agreement converter is organically dissolved into temperature and pressure compensation system, and then realizes the normal operation of system, and is solved
It is now based on problem present in the serial temperature and pressure compensation system of HART bus-types.A whole set of temperature and pressure compensation system, whether system control
Main website processed, or isolated protocol converter and station control collection plate, use is all to be similar to MODBUS agreements from what is intended
Bus protocol to realize the pressure of pressure differential pressure type sensor, temperature, electric current, and linearly repaiied for sensor temperature and pressure compensation
The functions such as the read-write of positive coefficient.It is from plan protocol command frame to see Fig. 7.It is from plan protocol command response frame to see Fig. 8.
Protocol function and supplemental functionality are mainly completed in the design of isolated protocol converter control software.Wherein
Protocol function is predominantly from master agreement module and master-Slave Protocol module.It is that isolated protocol converter leads to from master agreement module
The protocol frame control that RS485 buses receive the automatic temperature and pressure compensation system of main website is crossed, protocol converter belongs to subordinate in the process
Equipment, it is controlled by temperature compensation system.Master-Slave Protocol module is that isolated protocol converter corresponds to station control by RS232 bus marcos
Making sheet carries out the pressure, temperature and the demarcation sampling of electric current and data back of station pressure differential pressure pick-up.Supplemental functionality
The predominantly address configuration of toggle switch formula, the control of protocol converter state instruction and reset control.The address of toggle switch formula
Configuration is to distribute address for isolated protocol converter, and software need to only read the state value of P0, P1I/O pin.State refers to
Show that control mainly facilitates user directly can just may know that the whether normal work of online isolated protocol converter by range estimation
Whether position, the communication of RS232 buses are normal.Reset controls mainly is to house dog transmission dutycycle by timer timing
50%, the cycle is less than 100ms pulse signal.Referring to Fig. 9, the idiographic flow of software is as follows:
1) M16CM3030RFCP microcontrollers are to PLL phaselocked loops, relevant parameter, I/O ports, control register and interruption
Vector carries out initial configuration.
2) RS485 buses are put to receive state.
3) microcontroller is monitored RS485 buses, if there is protocol command frame, is then jumped to 4), is otherwise redirected
To 7).
4) 5) the protocol frame instruction that parsing main website is sent, if reading sampling nominal data, is then redirected.If except reading
The protocol frame instruction outside sampling nominal data is taken, then is redirected 6).
5) RS485 buses are put to send state, is delayed and is sent to main website and read sampling nominal data response frame, delay is put
RS485 buses are reception state.
6) microcontroller sends main website order intention protocol frame by RS232 buses to station control panel, and handles corresponding
Response protocol frame
7) scanning of current running status and state of a control indicator lamp.
8) timing dog-feeding, and jump to 3).
The case history of isolated protocol converter and comparative analysis
Parallel temperature and pressure compensation system and the parallel temperature and pressure compensation system of isolated protocol converter based on HART bus-types
It is not different in pressure sensor temperature and pressure compensation principle, is all to use a pair of multimodal patterns for simultaneously and concurrently demarcating sampling,
But then there is difference to a certain extent in terms of hardware and software is compensated.For the parallel temperature and pressure compensation based on HART bus-types
In system temperature and pressure compensation hardware mainly by communication baud rate for 1200B/S HART buses based on, driven by pci bus
PIO numeral I/O matrix circuits are controlled, realize the gating of station HART buses and the switching selection control of gas circuit, while using certainly
The stipulations agreement for the similar HART bus protocols intended completes the pressure in the temperature and pressure compensation production procedure of pressure differential pressure pick-up
Demarcation sampling.And temperature and pressure compensation hardware is mainly isolated association in the parallel temperature and pressure compensation system based on isolated protocol converter
Discuss converter and the circuit of Inverse problem circuit two parts independence.Wherein isolated protocol converter receives main website control, foundation
The functions such as the read-write of corresponding pressure, temperature synchronization demarcation, and sampled data, linear correction factor are completed in protocol frame instruction.
Inverse problem circuit is based on pci bus, and drive control PIO48 numerals I/O cuts to realize to compensating gas circuit in system
Change selection.In software aspects, parallel temperature and pressure compensation system based on HART bus-types and based on isolated protocol converter and
Row temperature and pressure compensation system is without too big difference, and respective system is in strict accordance with pressure differential pressure pick-up temperature and pressure compensation flow and certainly
Plan agreement framing specification, which is researched and developed, can be achieved.It is detailed comparisons of two kinds of parallel systems in case history to be shown in Table 1.
Contrast of the 1 two kinds of parallel systems of table in case history
To make the data source and foundation that reader becomes apparent from first 8 in table 1, formula (1) (2) is seen.Wherein it is formula (1)
The parallel temperature and pressure compensation system of PDS pressure transmitters carries out the total time of the sensor temperature and pressure compensation of single batch:
TTot=(TOven+(TPre+TSamp)×NPNum)×NTNum (1)
Wherein:
TTot:Single batch pressure sensor temperature and pressure compensation total time (minute);
TOven:Baking oven constant temperature time (minute) under each temperature compensation point;
TPre:The pressure control time (minute) under each pressure calibration point;
TSamp:Parallel pressure demarcation sampling time (minute);
NPNum:Pressure calibration quantity under each temperature compensation point;
NTNum:The quantity for the temperature spot that temperature-compensating is chosen;
Formula (2) is the production time that the parallel temperature and pressure compensation system of PDS pressure transmitters carries out separate unit sensor:
TUnit=TTot/NSNum (2)
Wherein:NSNumFor the quantity of online temperature and pressure compensation sensor;
Preceding 6 parameters in table 1 are fixed constants in the parallel temperature and pressure compensation system of PDS pressure transmitters, can foundation
The size of establishment system and accordingly changed.The the 7th, 8 two comparative run in table is calculated according to formula (1) (2).
Using set forth herein application of the isolated protocol converter in PDS type pressure transmitter temperature and pressure compensation systems,
With the proviso that do not change the equipment platform in existing temperature compensation system, only by existing using HART buses as communication basis, with
Pci bus drive control PIO numeral I/O cards realize HART station bus switch matrix circuits replace with using RS485 buses as
Communicate the isolated protocol converter on basis.Its purpose has five:One, simplify compensation circuit in temperature and pressure compensation system;Its
2nd, the communication speed between main website and station pressure differential pressure pick-up is improved;Thirdly, support the band of online each station independence
Electric hot plug operations;Four, make the maintenance of system and easy to maintenance;Five, separately with pci bus drive control PIO numeral I/O cards
It is complete independent, the selection switching control of sensor gas circuit to be compensated on pedestal is served only in temperature and pressure compensation.In reality
Found in verification and testing, the invention achievement in addition to it can solve the problem that the problem of present temperature and pressure compensation system is present, and this into
Fruit can also be transplanted within the extremely short cycle in any one sleeve pressure sensor temperature and pressure compensation system, while the isolated agreement turns
Parallel operation also supports the function of hot plugging in production application.
Claims (6)
- A kind of 1. pressure/differential pressure type sensor temperature and pressure compensation method, it is characterised in that:Following temperature and pressure compensation system is employed, should Temperature and pressure compensation system includes main website industrial computer, temperature regulating device, pressure control device, electric current output detection device, temperature and pressure compensation station square Battle array circuit and gas path device, protocol converter is respectively equipped between the main website industrial computer and each station pressure transmitter, each association View converter is used to receive the protocol frame instruction that main website industrial computer is sent, and according to station pressure corresponding to protocol frame instruction control Station control panel carries out the demarcation sampling of the pressure of station sensor, temperature and electric current in transmitter, and by corresponding sample data It is back to main website industrial computer;The main website industrial computer electrically connects with temperature and pressure compensation station matrix circuit, for driving temperature and pressure compensation Station matrix circuit, temperature and pressure compensation station matrix circuit electrically connects with each electromagnetic valve of gas circuit of gas path device respectively, for controlling Electromagnetic valve of gas circuit processed carries out the switching of temperature and pressure compensation gas circuit;The main website industrial computer is electrically connected with temperature regulating device, pressure control device respectively Connect, for controlling the temperature and pressure output of temperature regulating device, pressure control device respectively;The electric current output detection device is used to examine The output pressure signal of station sensor is surveyed, and the output pressure signal detected is passed into main website industrial computer;The step of carrying out temperature and pressure compensation using above-mentioned temperature and pressure compensation system includes:1) multiple temperature-compensating calibration points are chosen successively in the temperature range section for treat temperature and pressure compensation intelligent transducer, are treating temperature Multiple pressure compensation calibration points are chosen successively in the range ability section of pressure compensation intelligent transducer, by selected temperature-compensating mark Fixed point and pressure compensation calibration point are arranged in main website industrial computer;2) temperature control:Main website industrial computer control sets the temperature of temperature regulating device, and is the 1st temperature compensation point by temperature setting, makes Its constant temperature is delayed and the state that tends towards stability, when the pressure sensing for treating temperature and pressure compensation in main website industrial personal computer monitoring to temperature regulating device online The temperature of device reaches or during close to the 1st temperature compensation point, then carries out the pressure calibration under Current Temperatures point;3) gas circuit selects:Main website industrial computer drive control temperature and pressure compensation station matrix circuit, by the pressure output end of pressure control device Connected with the test lead of online pressure sensor to be compensated;4) pressure control:Main website industrial computer control pressure control device, make the output valve of its pressure for the 1st pressure of pressure sensor to be compensated Force compensating calibration point, when the gas pressure in both gas path pipe and pressure sensor room and the gas pressure of pressure control device output Power is equal and when being in constant-pressure stable state, is then ready for the pressure calibration sampling of current pressure calibration point;5) main website industrial computer sends parallel pressure and demarcates protocol frame to protocol converter:Main website industrial computer turns to online all agreements Parallel operation sends parallel pressure demarcation protocol frame;6) protocol converter sends pressure calibration protocol frame to station control panel:Online all protocol converters monitor main website in real time The parallel pressure demarcation protocol frame that industrial computer is sent, and analysis protocol frame instructs, and pressure calibration instruction is sent to corresponding work Position control panel;7) pressure calibration data back:Station control panel is pressed after receiving the pressure calibration protocol frame of protocol converter transmission The sampling of power demarcation, and result is returned into protocol converter;Protocol converter is stored pressure calibration sampled result, is waited Main website industrial computer is read;8) sampling of other pressure calibration points is completed:Repeat step 4) to 7), complete other pressure marks under the 1st temperature compensation point The sampling of fixed point;9) temperature calibration:The Radio Broadcasting Agreements frame that main website industrial computer sends parallel temperature demarcation sampling informs that protocol converter is carried out pair The temperature calibration of station sensor is answered to sample, then protocol converter sends temperature sampling instruction to corresponding station control panel, most Temperature calibration sampled result is returned to protocol converter by station control panel afterwards, waits main website industrial computer to read back;10) calibration with current signal:It is identical with temperature calibration flow;11) nominal data is read back:Main website industrial computer is by pressure, temperature and the calibration with current signal hits of online all pressure sensors File storage backup is carried out according to reading back successively from front to back, and by data;12) demarcation of other scale of thermometer fixed points is completed:Repeat step 2) to the pressure calibration for 11), completing other temperature compensation points;13) the linear corrected Calculation of temperature and pressure compensation:Main website industrial computer carries out the linear corrected Calculation in line pressure sensor, and will Linear correction factor is write to corresponding pressure sensor, while linear correction factor is carried out into preservation backup.
- 2. according to the method for claim 1, it is characterised in that:The protocol converter include power unit, microcontroller, RS232 bus drivers chip and RS485 bus driver chips, the power unit are used for respectively to microcontroller, RS232 buses Code switch is broadcast in driving chip and RS485 bus driver chip power supplies, the microcontroller connection, the ground for each protocol converter Location configures, and the microcontroller passes through RS485 bus drivers chip, RS232 bus drivers chip and main website industrial computer, work respectively Position pressure transmitter is communicated;Protocol converter described in step 6) sends pressure calibration protocol frame to the step of station control panel and is:1) microcontroller of protocol converter carries out initial configuration;2) RS485 buses are put to receive state;3) microcontroller is monitored RS485 buses, if there is protocol command frame, is then jumped to 4), is otherwise jumped to 7);4) 5) the protocol frame instruction that parsing main website is sent, if reading sampling nominal data, is then redirected, if except reading is adopted 6) protocol frame instruction outside sample nominal data, then redirect;5) RS485 buses are put to send state, is delayed and is sent to main website and read sampling nominal data response frame, RS485 is put in delay Bus is reception state;6) microcontroller sends main website order intention protocol frame by RS232 buses to station control panel, and handles corresponding ring Answer protocol frame;7) scanning of current running status and state of a control indicator lamp;8) timing dog-feeding, and jump to 3).
- 3. according to the method for claim 2, it is characterised in that:The COM end of main website industrial computer adds RS232 to turn RS485 photoisolator, the photoisolator that the RS232 of the main website industrial computer turns RS485 pass through RS485 buses and agreement The RS485 bus drivers chip connection of converter.
- 4. according to the method for claim 2, it is characterised in that:The RXD-485 pins of the microcontroller and RS485 buses The 10th photoisolator (U10) is provided between the receiver output end (RO) of driving chip, the TXD-485 of the microcontroller draws The 12nd photoisolator (U12), the microcontroller are provided between pin and the driver input end (DI) of RS485 bus driver chips The 9th photoisolator is provided between the CTR-485 pins of device and the receiver output Enable Pin (RE) of RS485 bus driver chips (U9), the receiver output Enable Pin (RE) of RS485 bus drivers chip is connected with driver Enable Pin (DE).
- 5. according to the method for claim 2, it is characterised in that:The power unit is electric using the DC/DC modules of isolation Source powers.
- 6. according to the method for claim 1, it is characterised in that:The main website industrial computer passes through pci bus drive control PIO Digital interface I/O cards, output multi-channel numeral I/O signals control temperature and pressure compensation station matrix circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510278390.3A CN104949797B (en) | 2015-05-27 | 2015-05-27 | Pressure/differential pressure type sensor temperature and pressure compensation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510278390.3A CN104949797B (en) | 2015-05-27 | 2015-05-27 | Pressure/differential pressure type sensor temperature and pressure compensation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104949797A CN104949797A (en) | 2015-09-30 |
CN104949797B true CN104949797B (en) | 2017-12-29 |
Family
ID=54164625
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510278390.3A Active CN104949797B (en) | 2015-05-27 | 2015-05-27 | Pressure/differential pressure type sensor temperature and pressure compensation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104949797B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105319006A (en) * | 2015-11-27 | 2016-02-10 | 上海立格仪表有限公司 | Multi-function tooling for production test of sensor |
CN106950012B (en) * | 2016-12-02 | 2019-08-09 | 重庆川仪自动化股份有限公司 | Temperature and pressure compensation method and system based on database file calibration transmitter |
FR3053116B1 (en) * | 2017-01-14 | 2018-08-24 | Nanomade Concept | SENSOR AND TOUCH SCREEN WITH ENVIRONMENTAL COMPENSATION, PARTICULARLY IN TEMPERATURE |
CN106703791B (en) * | 2017-03-31 | 2023-05-09 | 成都信息工程大学 | Pressure sensor temperature measurement system |
CN108254125A (en) * | 2018-02-05 | 2018-07-06 | 上海勤上自动化科技有限公司 | The batch Full-automatic temperature compensation system of pressure transmitter |
CN108444641A (en) * | 2018-05-11 | 2018-08-24 | 深圳天溯计量检测股份有限公司 | A kind of torsional forces value calibration workbench |
CN108534950B (en) * | 2018-07-09 | 2020-03-31 | 北京动力机械研究所 | Multichannel parallel performance detection system and method for air inlet channel pressure sensor |
CN112710425A (en) * | 2020-12-18 | 2021-04-27 | 哈尔滨华云泰科传感技术有限公司 | Calibration system and calibration method for batch production of air pressure sensors |
CN114705359A (en) * | 2022-04-25 | 2022-07-05 | 国机传感科技有限公司 | Silicon piezoresistive pressure sensor compensation test system and test method |
CN115597772B (en) * | 2022-11-16 | 2023-03-14 | 国机传感科技有限公司 | Differential pressure sensor core body testing tool and testing method thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7010983B2 (en) * | 2002-05-31 | 2006-03-14 | Mykrolis Corporation | Method for digitally controlling a sensor system |
CN2800253Y (en) * | 2005-05-13 | 2006-07-26 | 沈阳仪表科学研究院 | Bust type pressure transmitter |
CN101000273A (en) * | 2007-01-09 | 2007-07-18 | 上海工业自动化仪表研究所 | Multiple regulating device for pressure/differential pressure sensor |
CN104515646A (en) * | 2014-12-25 | 2015-04-15 | 山东佰测仪表有限公司 | Temperature compensation system for batch of intelligent pressure transmitters |
CN104596701A (en) * | 2014-12-31 | 2015-05-06 | 重庆川仪自动化股份有限公司 | Temperature and pressure compensation calibration method and system of pressure transmitter |
-
2015
- 2015-05-27 CN CN201510278390.3A patent/CN104949797B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7010983B2 (en) * | 2002-05-31 | 2006-03-14 | Mykrolis Corporation | Method for digitally controlling a sensor system |
CN2800253Y (en) * | 2005-05-13 | 2006-07-26 | 沈阳仪表科学研究院 | Bust type pressure transmitter |
CN101000273A (en) * | 2007-01-09 | 2007-07-18 | 上海工业自动化仪表研究所 | Multiple regulating device for pressure/differential pressure sensor |
CN104515646A (en) * | 2014-12-25 | 2015-04-15 | 山东佰测仪表有限公司 | Temperature compensation system for batch of intelligent pressure transmitters |
CN104596701A (en) * | 2014-12-31 | 2015-05-06 | 重庆川仪自动化股份有限公司 | Temperature and pressure compensation calibration method and system of pressure transmitter |
Also Published As
Publication number | Publication date |
---|---|
CN104949797A (en) | 2015-09-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104949797B (en) | Pressure/differential pressure type sensor temperature and pressure compensation method | |
CN203054557U (en) | A position sensor interface servo control device supporting multiple sensor communication protocols | |
CN104467763B (en) | Multiple-channel output synchronized-pulse control system | |
CN105425681B (en) | A kind of multi-functional communication interface data diagnosis and signal driving card | |
CN103235542A (en) | Field programmable gate array (FPGA)-based multipath standard signal acquisition and transmission device | |
CN106443117A (en) | Program-controlled multi-range acquisition circuit | |
CN102929321B (en) | Analog quantity conditioning and distributing device with high precision and all-digital calibration | |
CN204881973U (en) | Pressure transmitter warm -pressing compensating system | |
CN102929826A (en) | System and method for transmitting multiple ultrasonic signals with single ultrasonic signal bus | |
CN204731633U (en) | A kind of signal imitation generating means of DCS system physical quantity variation rate test | |
CN101504554B (en) | Input signal processing method for on-site bus type temperature observing and controlling module | |
CN206975092U (en) | A kind of Auto-Test System impedance voltage test device | |
CN206161032U (en) | Sensor is automatic correcting device in batches | |
CN103364742A (en) | Sub-circuit board of testing and monitoring system of aged vehicle | |
CN205538192U (en) | Electrical control valve simulated failure experimental system | |
CN105281770A (en) | Analog signal processing circuit | |
CN204116945U (en) | Based on the debugging apparatus of medical computerized linear accelerator dose monitoring system | |
CN201788231U (en) | Micro-power fieldbus instrument | |
CN208596308U (en) | A kind of I&C system debugging special-purpose multifunctional calibration equipment | |
CN201392251Y (en) | Field bus-type input signal processing circuit for temperature measure and control module | |
CN105300199B (en) | RS-422/485 communication test monitoring device and method for guided missile automatic testing | |
CN204719462U (en) | A kind of manifold pressure sensor microcomputer measuring and controlling plug-in card able to programme | |
CN204129471U (en) | Pure electric controller circuit board | |
CN206274366U (en) | Self-adapting multi-channel power supply real-time monitoring circuit system | |
CN107290648A (en) | A kind of signal collection and transmission apparatus for track circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220418 Address after: 401123 plant 3, No. 61, middle section of Huangshan Avenue, Yubei District, Chongqing Patentee after: CHONGQING SILIAN MEASURE & CONTROL TECHNOLOGY CO.,LTD. Patentee after: Chongqing Sichuan automation Limited by Share Ltd Address before: 400700 No. 1, people's village, Beibei District, Chongqing Patentee before: CHONGQING CHUANYI AUTOMATION Co.,Ltd. |