CN113848015A - ZigBee-based pressure sensor online calibration system - Google Patents

ZigBee-based pressure sensor online calibration system Download PDF

Info

Publication number
CN113848015A
CN113848015A CN202111135968.1A CN202111135968A CN113848015A CN 113848015 A CN113848015 A CN 113848015A CN 202111135968 A CN202111135968 A CN 202111135968A CN 113848015 A CN113848015 A CN 113848015A
Authority
CN
China
Prior art keywords
data
sensor
zigbee
pressure sensor
sensors
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111135968.1A
Other languages
Chinese (zh)
Inventor
庄须叶
李新硕
李平华
张佳宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong University of Technology
Original Assignee
Shandong University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong University of Technology filed Critical Shandong University of Technology
Priority to CN202111135968.1A priority Critical patent/CN113848015A/en
Publication of CN113848015A publication Critical patent/CN113848015A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L25/00Testing or calibrating of apparatus for measuring force, torque, work, mechanical power, or mechanical efficiency
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L27/00Testing or calibrating of apparatus for measuring fluid pressure
    • G01L27/002Calibrating, i.e. establishing true relation between transducer output value and value to be measured, zeroing, linearising or span error determination
    • G01L27/005Apparatus for calibrating pressure sensors
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention discloses a ZigBee-based pressure sensor online calibration system. Relates to the field of online calibration and detection after the use of sensors in oil fields. The system mainly comprises three contents, namely data acquisition of a lower computer, data processing of an upper computer and data real-time display and alarm of android APP. During data processing, a user can set an APP alarm threshold according to actual requirements, and when the transmitted data are higher than the threshold, the user receives an alarm prompt and then performs data processing. The on-line calibration method comprises the steps of firstly comparing data of a high-precision sensor with data of other sensors, locking the sensor with larger error deviation, then carrying out data fusion processing, and calibrating the sensor to be calibrated and the locked sensor according to the data of the other sensors, so that the real reliability of pressure values during the data acquisition of the sensor and the calculation of a fusion result is ensured, and meanwhile, the calibration precision of the sensor is improved.

Description

ZigBee-based pressure sensor online calibration system
Technical Field
The invention relates to calibration detection of pressure sensors in oil fields and the like after being used for a period of time, belongs to the field of online detection, and particularly relates to a ZigBee-based online calibration system of the pressure sensors.
Background
The oil plays a crucial role in the development of a country, and a large number of pressure sensors are used in the process of ensuring the smooth exploitation of the oil, so that the pressure value of a pipeline is detected, and accidents are avoided. However, the sensor is affected by various factors after being used for a period of time, and the measurement deviation of the sensor becomes large, so that the measurement accuracy is reduced, and the sensor needs to be calibrated. At present, the used sensor calibration technology is not perfect, and especially, a further improvement is needed in the aspect of online calibration, and the problem of low numerical accuracy exists in both acquisition and transmission of sensor data and processing of data.
At present, the traditional calibration method is relatively mature in development, but the data of a plurality of sensors cannot be transmitted simultaneously during calibration, only output values of a certain pressure sensor and a high-precision sensor are compared, and the sensors are required to be disassembled before calibration and then sent to a detection metering mechanism, so that the use cost is high, the calibration and calibration of the plurality of sensors cannot be carried out quickly, and time and labor are wasted.
In recent years, wireless sensor networks are gradually applied to various fields, people pay more and more attention to the research on the wireless sensor networks, the system carries out wireless networking design on a pressure sensor through a ZigBee technology, the sensor does not need to be disassembled when calibration is carried out, and the system design result can be applied to the field with a severe environment, so that the cost is reduced, and meanwhile, the calibration efficiency is improved. However, the online calibration technique is not widely used, because a certain degree of process error occurs when calibration is performed, which affects the authenticity of the data, and therefore, it is an important aspect to study online calibration to reduce the error as much as possible.
Patent CN 110208158A discloses an on-line calibration method and system for vehicle environment detection sensors, which can utilize a remote server to establish and adjust a calibration model for environment data collected by the environment detection sensors on the vehicle, so as to correct the measurement deviation of the environment detection sensors. However, this system only uses a plurality of sensors with the same accuracy to acquire pressure values, and there are disadvantages that the accuracy of the acquired pressure values is not high and the reliability of the calculated decision values is low, so that the accuracy of the result after calibration is low.
Patent CN 112750292A has disclosed a many information fusion monitoring system of wireless distributing type based on zigBee, and this safety monitoring early warning system can make the user in time know the real-time safe operating condition of capital construction facilities such as bridge, derrick, can improve the safety inspection efficiency of engineering, and the reliability is high, the universality is strong. The defects of the method are the same as those of the above patent in terms of data acquisition, and the same type of sensors are used in detection, so that the detected field data are not reliable enough, and the fusion result has larger deviation in information fusion.
Patent CN 105938133A discloses a wireless gas sensor online calibration method and system, mainly solves the instability problem caused by long-term drift and other problems in the online detection process of a gas sensor, provides a sensor non-replacement online calibration method, and improves the detection efficiency of the gas concentration of the agricultural product cold and fresh logistics. However, the system adopts a data acquisition and networking communication mode of the distributed gas sensor, the connection mode is complex, certain process errors can be generated on the acquired numerical values, so that the data deviate from the true values, and the calibration value calculated by the online calibration method is low in precision.
Patent CN 206095281U discloses an on-line calibration device for a temperature and pressure integrated sensor, which solves the problem that the type of sensor installed in the current pipeline cannot be calibrated. However, the device has a low degree of intelligence and is not widely applied in the current environment with rapid development, so that an improved design based on the structure is needed.
Disclosure of Invention
The invention aims to provide a ZigBee-based pressure sensor online calibration system and a ZigBee-based pressure sensor online calibration method, so as to solve the problems in the background art.
In order to achieve the purpose, the invention provides the following technical scheme: a ZigBee-based pressure sensor online calibration system and a ZigBee-based pressure sensor online calibration method mainly comprise three aspects of data acquisition of a lower computer, data processing of an upper computer and data real-time display and alarm of android APP. Firstly, selecting a plurality of pressure sensors of the same type and a high-precision sensor of the same type to be responsible for acquiring pressure values, then selecting a temperature and humidity sensor to be responsible for acquiring the environmental conditions of the pressure sensors, and connecting each sensor 1-1 with terminal node equipment 1-2 by using wireless networking in the ZigBee technology to form a data acquisition front end; secondly, data acquired by front-end equipment are transmitted to the coordinator 1-3 through wireless transmission, and the coordinator is connected with the WIFI module 1-4 through a serial port, so that the data are transmitted to the upper computer 1-5 and the mobile phone APP1-6 through the WIFI module; and finally, comparing the numerical value displayed by the mobile phone APP, when the user receives an alarm prompt, timely informing relevant departments to detect, processing data on a pre-designed upper computer interface, returning the calibration value to the data acquisition front end after data calibration is completed, refreshing the mobile phone interface, and if the data received by the mobile phone APP at the moment is in the set threshold range, completing calibration without the alarm prompt. In particular, the multi-sensor online calibration system with the added high-precision sensor reduces the use of manpower and material resources, improves the calibration precision and greatly improves the detection efficiency.
The on-line calibration system has the functions of front-end data acquisition and back-end data processing and display. The sensors connected to the ZigBee networking terminal equipment are respectively a diffused silicon pressure sensor and a temperature and humidity sensor. The pressure sensor is responsible for gathering the pressure value of oil well pipeline, and the temperature can be detected by temperature and humidity sensor in real time as influencing the most main factor of pressure sensor to prevent that the temperature is too high and cause the damage to the sensor. When the pressure sensor is in the compensation temperature range, the temperature is referenced to 30 ℃ at 0-60-minus 10-70 ℃; the temperature is between 20 ℃ below zero and 85 ℃ and is referred to as 32.5 ℃. Data can handle in the host computer after wireless transmission, and cell-phone APP can all show the numerical value of gathering and the numerical value after handling with the form of broken line graph. It should be noted that, when data processing is performed, the data processed by the invention is a pressure value affected by comprehensive factors, and the reason for performing temperature detection alone is that when the temperature range is changed too much, the core body of the pressure sensor is affected significantly, and the sensor is easily damaged in severe cases.
The networking part of the online calibration system consists of a terminal node and a coordinator. When the ZigBee technology is used for communication transmission, a peripheral circuit of the ZigBee module comprises a radio frequency FIFO matching circuit, a timer and a CPU interface circuit. The wireless sensor node in the ZigBee module is responsible for collecting analog signals, and the analog signals are converted into digital signals after filtering, A/D conversion and smooth filtering. The terminal node module connected with the coordinator has three topological structures, namely a mesh topological structure, a star topological structure and a bus topological structure. The star topology structure is very simple in composition, so that the building and the use of modules are simplified, but the biggest problem of the structure is that a system cannot normally work when a coordinator is damaged, and therefore the normal operation of the coordinator part is ensured when the networking structure is used. If the connection is complex, although the above-mentioned problems are avoided, each connected link and the wire connecting each link may cause a certain degree of error influence on the transmitted data, and the calibration output value during the subsequent processing may not reach a high precision. Aiming at the problem, the simplest networking method is selected, so that the networking mode of the star structure of the ZigBee module is applied, the use of the module is reduced, meanwhile, the construction of various lines is reduced, and the accuracy of data is ensured to the greatest extent.
According to the online calibration system, data are collected, processed and analyzed, then a chart which is easy to read and understand by a user is drawn, and finally the chart is displayed on an APP interface of the mobile phone, so that the online calibration system is a complete online calibration system. And processing and identifying the obtained hardware data and making a line graph based on android APP written by Java language. The menu navigation bar 6-10 of the software overall structure design is divided into three parts of learning 6-110, equipment 6-120 and My 6-130. After the network is connected, the knowledge of the sensors 6-111, the wireless networking 6-112 and the software development 6-113 can be learned by entering a learning interface. Clicking the device firstly makes Socket link and then displays the device list, which needs to input IP address and default value 6-121, and after connection is successful, the chart displays the data in the form of line chart 6-122. The functions of my interface are to modify passwords 6-131, modify emergency contacts 6-132, modify thresholds 6-133, functional introduction 6-134, and logoff account number 6-135, etc. The software organizes the whole system by a method of separating business logic, data and pages, the arrangement is clear, and users can use the software more clearly and definitely.
In the scheme, different from the traditional online calibration, a high-precision sensor is added in a plurality of same sensors, so that the numerical value is more real during data acquisition, and the reliability of a data fusion result is higher, so that the method is a novel online calibration method for the multiple sensors. The defect that the prior sensors with the same type and the same model are used for detecting low precision is overcome, and the sensors with the same type and the high precision are added, so that the advantage of improving the accuracy of the actual detection pressure value and reducing the detection error is realized. When a series of data processing is carried out in the upper computer, firstly, the obtained sensor to be calibrated is compared with the numerical value of the high-precision sensor, the sensor with the larger deviation error range of the numerical value is locked, secondly, data fusion processing is mainly carried out on the sensor, the fusion result is used as a reference value to obtain the calibration coefficient of each sensor, and finally, the calibration coefficient of each sensor is multiplied by the acquired numerical value to obtain the calibration result. It should be noted that the locked sensor value to be calibrated during the subsequent calibration does not participate in the operation of the second step of fusion result, but the calibration coefficient of the locked sensor is obtained by the reference value, so as to calibrate each sensor.
The specific data processing method based on the scheme comprises the following steps.
(1) After receiving an instruction for calibrating the sensors, the WIFI module of the networking system 2-1 starts to transmit data, and after the mobile phone APP is successfully connected, an upper computer data processing interface is opened to receive the numerical values 2-2 of the sensors.
(2) Before the upper computer operation processing is carried out, the data of the high-precision sensor received in the mobile phone APP in the step 2-3 and the data line graph of the common sensor to be calibrated can be observed and compared, if the deviation is large, the sensor is locked in the step 2-4, subsequent calibration is needed, and the data of the sensor cannot participate in the subsequent fusion operation.
(3) And (3) performing data fusion processing on most of the data remaining after comparison, firstly preprocessing the sensor numerical value, and calculating the average value and the standard deviation of the data to be 2-5.
(4) And performing fusion calculation on the data acquired from the time t to the end, firstly grouping the sensors into groups 2-7, firstly solving the average value and standard deviation of each group 2-8, then solving the average value and standard deviation of each sensor 2-9, then determining the weight of each sensor 2-10 according to the standard deviation, finally obtaining a fusion result 2-11 through the average value and the weight, and taking the fusion result as a calibration reference value.
(5) The average value of the data measured by each sensor to be calibrated in the time is compared with the calibration reference value, and the calibration coefficient of each pressure sensor is obtained to be 2-12.
(6) And multiplying the numerical value of the sensor to be calibrated by the respective calibration coefficient to obtain a calibrated output value of 2-13, and finishing the calibration work of all the sensors to be calibrated.
Specially, when host computer and cell-phone APP acquireed sensor value, the sensor of the zigBee module of connecting can accomplish to start and dormancy alternative work when sending information, and this system provides power through using solar cell panel, and the benefit of using solar cell panel has avoided frequently dismantling the problem of equipment because of the electric quantity is not enough. After the instruction coordinator sends the instruction to the ZigBee module to judge the instruction, the system can work alternately in a starting mode and a sleeping mode, and the working state has the advantage that the purpose of real-time detection can be conveniently achieved while the electric quantity of the battery is saved.
Furthermore, in the online calibration method of the pressure sensor, in order to ensure the accuracy of the detection result as much as possible, the number of the detected sensors is more than or equal to 30, so that the online calibration method is more suitable for a large number of fields using the pressure sensor. When networking is carried out, the number of required interfaces is increased at a program, then, the number of the sensors can be increased by increasing the number of the terminal equipment, and in addition, the networking distance range of the terminal equipment is ensured to be within 40m required to ensure the normal transmission of data.
The integration result and the calibration coefficient obtained by the online calibration method can be used for calibrating and compensating all sensors in the environment, the compensated sensor output value is sent to the mobile phone APP again, whether an alarm prompt appears or not is observed, if the alarm prompt appears, relevant workers are immediately informed to replace the sensors or carry out further processing, if the alarm prompt does not appear, calibration is completed, and the calibrated sensors can be normally used.
It should be noted that, the high-precision pressure sensor used in the ZigBee-based pressure sensor online calibration system needs to be sent to the inspection metering mechanism for recalibration calibration after being used for a period of time, so that the pressure value obtained by the high-precision pressure sensor is prevented from generating larger deviation after being used for a period of time by the calibration system, and is closer to the true value, so that the reference value of the fusion result is more reliable, and the accuracy of the numerical value is ensured.
Drawings
Fig. 1 is a simple structural block diagram of an online calibration system of a ZigBee-based pressure sensor according to the present invention.
FIG. 2 is an algorithm flow chart of the ZigBee-based pressure sensor online calibration system.
Fig. 3 is a network access flow chart of a terminal device of the ZigBee-based pressure sensor online calibration system.
Fig. 4 is a flow chart of the coordinator networking of the online calibration system of the pressure sensor based on ZigBee according to the present invention.
Fig. 5 is a data flow diagram of the ZigBee-based pressure sensor online calibration system according to the present invention.
FIG. 6 is an APP menu bar of the ZigBee-based pressure sensor online calibration system.
Detailed Description
The ZigBee-based pressure sensor online calibration system and method according to the present invention will be further explained and explained with reference to the drawings and the specific embodiments of the specification, however, the explanation and explanation do not unduly limit the technical solution of the present invention.
Fig. 1 is a simple structural block diagram of an online calibration system of a ZigBee-based pressure sensor according to the present invention.
As shown in fig. 1, the ZigBee-based online calibration system for the pressure sensor in this embodiment mainly includes three aspects, which are data acquisition of the lower computer, data processing of the upper computer, and real-time display and alarm of android APP data.
The networking part of the sensor 1-1 is performed by using a ZigBee module and adopts a star topology structure, so that the networking can be completed only by connecting the coordinator 1-2 with the terminal equipment 1-3 during networking. When in design, a CC2530 development board, an IAR hardware development environment and a Z-Stack protocol Stack are used as a development platform, and related functions of the CC2530+ Z-Stack are used for completing the design. Data acquisition can be carried out only by connecting the pressure sensor and the temperature and humidity sensor to the interface written by the program. The WIFI modules 1-3 are connected to the coordinator, and data can be transmitted wirelessly.
With further reference to FIG. 1, it can be seen that the data is processed at the upper computer. Before processing, a user firstly logs in a mobile phone APP1-6 to input an IP address and a default value for data receiving, waits for whether an alarm short message is received after connection is successful, and starts an upper computer to process data 1-5 when an alarm is received. In the data processing system, data is received at first, then the data is stored and processed in the data processing module, the processed data is returned, a user needs to refresh the mobile phone APP and then receives the data again, when no short message alarm prompt exists, the sensor can be normally used, if the alarm still exists, related personnel need to be informed to repair or replace the sensor, and accidents are prevented.
It should be noted that, in the above solution, the pressure sensor used is a diffused silicon pressure sensor, and the selected core is a PC10 silicon piezoresistive pressure core, which has the advantages of high performance, full solid state, high reliability, etc. In particular, the plurality of pressure sensors includes a high-precision pressure sensor having a precision at least one to two orders higher than that of a general sensor, and all of the pressure sensors are of the same type. The temperature is used as the most main factor influencing the sensor, the temperature and humidity sensor is connected to be responsible for detecting the environmental condition when the pressure sensor is used, and the error parameter range and the alarm threshold value are better set according to environmental factors such as the temperature.
When a user receives an alarm short message, the upper computer processes the received data by using a pre-programmed program, the calibration system performs the steps shown in fig. 2 to perform online calibration of the pressure sensor, and fig. 2 is an algorithm flow chart of the online calibration system of the pressure sensor based on the ZigBee.
As shown in fig. 2, the method for the online calibration system of the ZigBee-based pressure sensor in the present embodiment includes the following steps.
(1) After receiving an instruction for calibrating the sensors, the WIFI module of the networking system 2-1 starts to transmit data, and after the mobile phone APP is successfully connected, an upper computer data processing interface is opened to receive the numerical values 2-2 of the sensors.
(2) Before the upper computer operation processing is carried out, the data of the high-precision sensor received in the mobile phone APP in the step 2-3 and the data line graph of the common sensor to be calibrated can be observed and compared, if the deviation is large, the sensor is locked in the step 2-4, subsequent calibration is needed, and the data of the sensor cannot participate in the subsequent fusion operation.
(3) And (3) performing data fusion processing on most of the data remaining after comparison, firstly preprocessing the sensor numerical value, and calculating the average value and the standard deviation of the data to be 2-5.
(4) And performing fusion calculation on the data acquired from the time t to the end, firstly grouping the sensors into groups 2-7, firstly solving the average value and standard deviation of each group 2-8, then solving the average value and standard deviation of each sensor 2-9, then determining the weight of each sensor 2-10 according to the standard deviation, finally obtaining a fusion result 2-11 through the average value and the weight, and taking the fusion result as a calibration reference value.
(5) The average value of the data measured by each sensor to be calibrated in the time is compared with the calibration reference value, and the calibration coefficient of each pressure sensor is obtained to be 2-12.
(6) And multiplying the numerical value of the sensor to be calibrated by the respective calibration coefficient to obtain a calibrated output value of 2-13, and finishing the calibration work of all the sensors to be calibrated.
It should be noted that, in order to ensure the accuracy of the detection result, a larger number, generally greater than or equal to 30, of samples can be preferably used, which conforms to the environment of using and calibrating a large number of pressure sensors in an oil field, so that the accuracy of data acquisition can be ensured as much as possible. Therefore, it is preferable to set the terminal devices in networking to be 30 or more, the used high-precision sensor is at least one to two levels higher than the ordinary sensor, and the set device distance should be within the required range of 40m to ensure the normal transmission of data.
The integration result and the calibration coefficient obtained by the online calibration method are used, after all sensors in the environment are calibrated and compensated, the compensated sensor output value is sent to the mobile phone APP, whether the alarm prompt appears again or not is observed, if the alarm prompt appears, relevant workers are immediately informed to replace or further process the sensors, if the alarm prompt does not appear, the calibration is completed, and the calibrated sensors can be normally used.
Fig. 3 is a network access flow chart of a terminal device of the ZigBee-based pressure sensor online calibration system.
As shown in fig. 3, during networking, firstly, initializing 3-1, then searching a channel 3-2, checking whether a network 3-3 exists around, if so, selecting a near network 3-4 and taking out an address 3-5 thereof, then sending a networking application 3-6, and completing networking after successful connection. When the temperature and humidity sensor collects temperature and humidity data, two files are needed, namely a Sample App.c file called under a protocol stack APP folder, and a DHT11.h header file is contained in the Sample App file. And a function in the ZigBee protocol stack is required to be called for acquiring the pressure data. Three communication modes of ZigBee: ordering, multicasting and broadcasting, the corresponding functions in the protocol stack are respectively: SampleApp _ P2P _ DstAddr, SampleApp _ SendFlashMessage, SampleApp _ SendPeriodicMessage. After the terminal node equipment runs the edited program, the data of the temperature and humidity sensor and the pressure sensor can be acquired, the data are made into data packets, and after the wireless networking is added, each node sends the data packets to the coordinator in a video-on-demand mode. The tasks of the terminal device are now fully completed. It should be noted that the terminal device may be added according to the actual requirements of the user, so as to expand the application range of the networking.
Fig. 4 is a flow chart of the coordinator networking of the online calibration system of the pressure sensor based on ZigBee according to the present invention.
As shown in fig. 4, when networking, the coordinator first needs to initialize 4-1 to process and establish a PAN personal area network 4-2, form an ID of a broadcast network and send a signal 4-3, then performs network monitoring 4-4, then waits for whether a terminal joins the network 4-5, after receiving an application, the coordinator starts to distribute the network ID to each node 4-6, and finally sends the received data under the control of the WIFI module 4-7. It should be noted that the coordinator part, which is the core of the star networking, must ensure its normal operation. Firstly, the WIFI module is ensured to be normal, data transmitted from the terminal equipment is packaged and stored, the data are stored in a buffer area, and the data are forwarded after the response of the WIFI module is received. In particular, the amount of data of the receiving terminal device can be changed at the connection coordinator according to the actual amount of the pressure sensors, so as to complete the reception of all the node data.
Fig. 5 is a data flow diagram of the ZigBee-based pressure sensor online calibration system according to the present invention.
As shown in FIG. 5, a data flow diagram of the ZigBee-based pressure sensor online calibration system is mainly divided into three parts, namely a ZigBee wireless networking 5-1, an upper computer data processing 5-2 and an android APP client 5-3. Data are firstly collected in terminal equipment networked by ZigBee modules 5-13, and data of a temperature and humidity sensor, a plurality of pressure sensors 5-11 and high-precision pressure sensors 5-12 are filtered, A/D converted and smoothed, then are converted into digital signals, and then are transmitted through a WIFI module; after the upper computer and the APP client are successfully connected with the ZigBee module, the upper computer and the APP client can receive data sent by the ZigBee module, the APP client firstly logs in a mobile phone APP5-31 to input an IP address to be connected with a default value of 5-32 when operating, then the data received in real time can be made into a line graph, the number of displayed sensors can be added by 5-34 or reduced at any time, and a threshold value of 5-33 can be changed by modifying parameters so that a user can receive a short message alarm prompt when observing that the data are abnormal; when a user receives an alarm prompt, a data receiving interface 5-21 of an upper computer is opened, the received data in a period of time is stored 5-22, data processing is carried out 5-23 in a data processing unit, and the processed data is sent to a ZigBee network through a data sending module 5-24; and finally, refreshing an APP data receiving interface to enable the mobile phone APP to receive the compensated data, observing whether the data is abnormal or not, and finishing the data calibration of the pressure sensor when the alarm prompt is not received any more.
Furthermore, the system can work alternately in a starting mode and a dormant mode when transmitting data, a user only needs to send an instruction to the data acquisition front end, then the ZigBee module judges the received instruction, judges whether the acquired data are sent, and carries out the data flow when the acquired data need to be sent. By the aid of the method, electric quantity consumption of the solar cell panel can be better saved, the problem that equipment is frequently disassembled due to insufficient electric quantity when the device is rainy in cloudy days can be solved, and the purpose of real-time calibration and detection can be achieved.
FIG. 6 is an APP menu bar of the ZigBee-based pressure sensor online calibration system.
As shown in FIG. 6, by developing and writing Android APP codes based on Android and applying java language, the APP menu bar 6-10 of the ZigBee-based pressure sensor online calibration system is totally divided into three parts, namely a learning interface 6-110, an equipment interface 6-120 and a my interface 6-130. And processing and identifying the acquired data and making a line graph by using android APP written based on Java language. When the user is connected with the network, the user enters a learning interface to learn three aspects of the sensors 6-111, the wireless networking 6-112 and the software development 6-113. Clicking on the device 6-120 first makes a Socket link and then displays a device list, which requires inputting an IP address and default values 6-121, and after the connection is successful, the graph displays the data in the form of line graphs 6-122. The functions of my interface 6-130 are to modify the password 6-131, modify the emergency contact 6-132, modify the threshold 6-133, introduce the function 6-134, and to log off the account number 6-135, etc. It should be noted that the number of the APP display devices can be changed according to the change of the detection site, so that the practicability and the application range can be enhanced.
In summary, the ZigBee-based pressure sensor online calibration system disclosed by the invention transmits a plurality of pressure and temperature values by using a ZigBee wireless networking technology, processes the acquired data in an upper computer, and finally displays the values before and after processing in an android APP compiled based on java language in a form of a line graph. The invention adopts a star-shaped networking mode, can reduce the use of modules and circuits and reduce the process error, and in addition, adds the same type of high-precision sensors while using the same type of pressure sensors, thus ensuring the authenticity of data when the sensors carry out data acquisition and calculation fusion results and improving the precision of sensor calibration. It should be pointed out that the user can control the sensor quantity of joining according to the actual conditions when measuring, shows the numerical value of all sensors that gather this moment with the mode of line graph on android APP, makes the change condition that the user can convenient audio-visual observation data. Therefore, the system solves the problem that the numerical value precision is not high after the data acquisition and data processing of the multiple sensors.
The embodiments of the invention shown and described above are intended to be used as examples only, and the scope of protection of the patent is not limited thereto. Various modifications and alterations to these embodiments will become apparent to those skilled in the art without departing from the spirit and scope of this invention, and such modifications are to be considered within the scope of this invention. Therefore, the protection scope of the present invention should be subject to the appended claims.

Claims (6)

1. Pressure sensor on-line calibration system based on zigBee, its characterized in that: the system comprises the contents of three aspects, namely data acquisition of a lower computer, data processing of an upper computer and data real-time display and alarm of Android APP, wherein a temperature and humidity sensor and a plurality of pressure sensors (1-1) are connected into a networking part, the networking part comprises a CC2530 terminal node module (1-2) and a CC2530 coordinator (1-3), the system adopts the automatic networking technology of the sensors, the used topological structure is a star-shaped structure, the coordinator is used as the center of the whole networking system, data transmission is carried out through a WIFI module (1-4), a computer is used for writing a used algorithm into a program and designing a data receiving interface to be displayed in the upper computer (1-5) so as to carry out subsequent data processing, Android codes are written by using an Android development-based java language, a user can download the logged APP (1-6) and connect signals sent by the upper computer, after the connection is successful, the information conditions of the pressure sensors are displayed in real time in a line graph mode.
2. The ZigBee-based pressure sensor online calibration system of claim 1, wherein: the networking of the ZigBee is realized by using a CC2530 development board, an IAR hardware development environment and a Z-Stack protocol Stack as a development platform, using related functions of CC2530+ Z-Stack for design and using a star-shaped topological structure for design, so that the networking part is only provided with two devices, namely a coordinator and a terminal node, the acquisition front end is simpler, the terminal node module can be added according to the number of detected sensors, the use range of the networking part is expanded, the topological structure takes the coordinator as the center of the whole networking system, all terminal nodes in the networking system send acquired data to the coordinator, and then data transmission is carried out through a WIFI module.
3. The ZigBee-based pressure sensor online calibration system of claim 1, wherein: the system is provided with a plurality of pressure sensors of the same type and the same model, wherein the pressure sensors also comprise a high-precision pressure sensor of the same type, a temperature and humidity sensor is arranged and used for collecting the ambient temperature when the pressure sensor works and connecting the ambient temperature and the ambient temperature with terminal node equipment of a networking, a high-precision pressure sensor used by a calibration system has the precision which is higher than that of a common pressure sensor by one to two levels, the arrangement mode can more accurately detect the pressure value of the site at the moment when data processing is carried out, firstly, the received values of the high-precision sensor and the common sensor are compared and analyzed, when the value curve of one sensor deviates from the value curve of the high-precision sensor within a certain range, the sensor needs to be calibrated and calibrated, and the residual sensor data are fused and calculated after the comparison and analysis, the calculated values will be more realistic.
4. The ZigBee-based pressure sensor online calibration system of claim 1, wherein: the data processing is carried out in an upper computer for receiving data, and the overall design flow of the data processing system is as follows:
(1) the upper computer and the android APP receive data sent by the coordinator at the same time, the numerical value of each sensor is compared with the numerical value of the high-precision sensor during data processing, and the pressure numerical value can display changes in the android APP in a line graph mode;
(2) if the data are abnormal after being compared, the user can receive a short message alarm prompt to indicate that the sensor exceeds a set error allowable range, lock the sensor and then process the data in the upper computer;
(3) carrying out numerical value normalization processing on data of a plurality of sensors including a high-precision sensor by using a computer, and then storing the processed data;
(4) performing data fusion calculation on the normalized data to obtain a decision value and a calibration coefficient under the environment; and (5) compensating the locked sensor and the sensor to be calibrated according to the calibration coefficient to obtain a more accurate output value, and completing calibration.
5. The ZigBee-based pressure sensor online calibration system of claim 1, wherein: the pressure sensor who connects the zigBee module can accomplish to start and dormancy alternative work when sending information, entire system provides power through using solar cell panel, the zigBee module uses is the CC2530 chip, whether data send the interrupt function who uses the chip, only need send the instruction to the zigBee module when the user needs to go forward the detection to the sensor, the coordinator will judge whether carry out the transmission of data through the WIFI module, start-up and the operating condition of dormancy when having accomplished data transmission.
6. The ZigBee-based pressure sensor online calibration system of claim 1, wherein: an APP menu bar (6-10) of the ZigBee-based online calibration system of the pressure sensor is realized as follows:
(1) a login interface, wherein a user logs in the interface, and the user can jump to the APP connection interface when a user name and a password are input;
(2) the learning interface (6-110) comprises a sensor part (6-111), a wireless networking part (6-112) and a software development part (6-113), and all the parts can be linked to a specified learning resource website after being connected to the Internet, so that new knowledge can be conveniently learned at any time;
(3) the android APP is connected with the coordinator after login, the client needs to input an IP address 192.168.4.1, the default value of an input box of the program port is 5000 (6-121), connected equipment and related information are displayed below after connection is successful, pressure values received by the sensor are displayed in a line graph (6-122) mode, and the number of the equipment (6-123) can be added according to different detection sites;
(4) my interface (6-130), a personal management interface, is responsible for providing personal services for the user in the software, such as modifying passwords (6-131), adding and modifying emergency contacts (6-132), setting alarm thresholds (6-133), introducing software functions (6-134), logging off accounts (6-135), and the like.
CN202111135968.1A 2021-09-27 2021-09-27 ZigBee-based pressure sensor online calibration system Pending CN113848015A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111135968.1A CN113848015A (en) 2021-09-27 2021-09-27 ZigBee-based pressure sensor online calibration system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111135968.1A CN113848015A (en) 2021-09-27 2021-09-27 ZigBee-based pressure sensor online calibration system

Publications (1)

Publication Number Publication Date
CN113848015A true CN113848015A (en) 2021-12-28

Family

ID=78979905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111135968.1A Pending CN113848015A (en) 2021-09-27 2021-09-27 ZigBee-based pressure sensor online calibration system

Country Status (1)

Country Link
CN (1) CN113848015A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114593845A (en) * 2022-03-04 2022-06-07 蚌埠高灵传感***工程有限公司 Load sensor safety monitoring system based on internet
CN114923627A (en) * 2022-04-19 2022-08-19 重庆川仪自动化股份有限公司 Pressure transmitter monitoring system, method, electronic device and readable storage medium
CN114942095A (en) * 2022-06-06 2022-08-26 山东省计量科学研究院 Automatic pressure detection system and method
CN116147713A (en) * 2023-04-23 2023-05-23 中国市政工程西南设计研究总院有限公司 Urban underground comprehensive pipe gallery online monitoring method, system and device and electronic equipment
CN116448315A (en) * 2023-06-12 2023-07-18 乐山市计量测试所 Online detection method for pressure gauge

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101669307A (en) * 2007-04-17 2010-03-10 埃森哲环球服务有限公司 Sensor network calibration
CN103837297A (en) * 2012-11-20 2014-06-04 大连睿科电子有限公司 GPRS wireless transmission-based digital pressure transmitter
CN103968998A (en) * 2014-04-12 2014-08-06 沈阳仪表科学研究院有限公司 Method for conducting pressure calibration on diffused silicon sensors through upper computer
CN204044102U (en) * 2014-08-21 2014-12-24 镇江坤泉电子科技有限公司 A kind of natural gas leaking monitoring system based on wireless sensor network
KR20160050013A (en) * 2016-03-10 2016-05-10 주식회사 블루비즈 Gateway device for production information sensor data and production management system including the same
CN106872650A (en) * 2017-03-08 2017-06-20 国睿集团有限公司 A kind of gas concentration lwevel calibration correction device and calibration correction method
CN208537087U (en) * 2018-08-24 2019-02-22 江苏智测计量技术有限公司 A kind of wireless standard dynamometer for on-site test
CN109855794A (en) * 2018-12-09 2019-06-07 北京航天计量测试技术研究所 A kind of pressure in-line calibration device based on the fusion of multi-communication protocol information
CN110617916A (en) * 2019-09-29 2019-12-27 歌尔股份有限公司 Calibration method and device of air pressure sensor
CN212378957U (en) * 2020-07-16 2021-01-19 太原无线电一厂有限公司 Air pressure sensor calibration detection system
CN112837521A (en) * 2021-02-22 2021-05-25 福建智汇芯辰信息科技有限公司 Ancient building stress monitoring and early warning system and method with calibration and automatic calibration capabilities

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101669307A (en) * 2007-04-17 2010-03-10 埃森哲环球服务有限公司 Sensor network calibration
CN103837297A (en) * 2012-11-20 2014-06-04 大连睿科电子有限公司 GPRS wireless transmission-based digital pressure transmitter
CN103968998A (en) * 2014-04-12 2014-08-06 沈阳仪表科学研究院有限公司 Method for conducting pressure calibration on diffused silicon sensors through upper computer
CN204044102U (en) * 2014-08-21 2014-12-24 镇江坤泉电子科技有限公司 A kind of natural gas leaking monitoring system based on wireless sensor network
KR20160050013A (en) * 2016-03-10 2016-05-10 주식회사 블루비즈 Gateway device for production information sensor data and production management system including the same
CN106872650A (en) * 2017-03-08 2017-06-20 国睿集团有限公司 A kind of gas concentration lwevel calibration correction device and calibration correction method
CN208537087U (en) * 2018-08-24 2019-02-22 江苏智测计量技术有限公司 A kind of wireless standard dynamometer for on-site test
CN109855794A (en) * 2018-12-09 2019-06-07 北京航天计量测试技术研究所 A kind of pressure in-line calibration device based on the fusion of multi-communication protocol information
CN110617916A (en) * 2019-09-29 2019-12-27 歌尔股份有限公司 Calibration method and device of air pressure sensor
CN212378957U (en) * 2020-07-16 2021-01-19 太原无线电一厂有限公司 Air pressure sensor calibration detection system
CN112837521A (en) * 2021-02-22 2021-05-25 福建智汇芯辰信息科技有限公司 Ancient building stress monitoring and early warning system and method with calibration and automatic calibration capabilities

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周银祥: "嵌入式***原理与实践——基于Cortex-M3(STM32) 下", 华中科技大学出版社, pages: 363 - 368 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114593845A (en) * 2022-03-04 2022-06-07 蚌埠高灵传感***工程有限公司 Load sensor safety monitoring system based on internet
CN114593845B (en) * 2022-03-04 2024-05-28 蚌埠高灵传感***工程有限公司 Load sensor safety monitoring system based on internet
CN114923627A (en) * 2022-04-19 2022-08-19 重庆川仪自动化股份有限公司 Pressure transmitter monitoring system, method, electronic device and readable storage medium
CN114942095A (en) * 2022-06-06 2022-08-26 山东省计量科学研究院 Automatic pressure detection system and method
CN116147713A (en) * 2023-04-23 2023-05-23 中国市政工程西南设计研究总院有限公司 Urban underground comprehensive pipe gallery online monitoring method, system and device and electronic equipment
CN116448315A (en) * 2023-06-12 2023-07-18 乐山市计量测试所 Online detection method for pressure gauge
CN116448315B (en) * 2023-06-12 2023-08-29 乐山市计量测试所 Online detection method for pressure gauge

Similar Documents

Publication Publication Date Title
CN113848015A (en) ZigBee-based pressure sensor online calibration system
CN103728891B (en) Method and device for controlling water quality on-line monitoring data
CN103034802B (en) A kind of automatic tour inspection system based on intelligent rules coupling and method
CN113542017A (en) Network fault positioning method based on network topology and multiple indexes
KR20140051678A (en) Apparatus and method for fault management of smart devices
CN107644474A (en) A kind of Power Line Inspection System for intelligent grid
CN112650068B (en) Household fault detection method and device based on intelligent current sensor
CN115951123B (en) Electric energy metering method and system based on wireless communication
CN107525955A (en) A kind of ammeter data processing method and processing device
CN106649798A (en) Beidou high precision-based structure monitoring data comparison and correlation analysis method
CN116247801A (en) Distribution equipment group monitoring system based on Internet of things
CN108680870A (en) A kind of removable automation calibration system and method for forming and capacity dividing test power supply
CN115203623A (en) Icing monitoring abnormal data quality evaluation processing method and system
CN115343631A (en) Online monitoring system based on hybrid electric vehicle lithium battery
CN114500615A (en) Intelligent terminal based on thing allies oneself with sensing technology
CN106768652A (en) Oil depot monitoring method and system
Hu Research on Battery Monitoring Technology Based on Internet of Things
CN114123511B (en) Method and system for monitoring and analyzing abnormal position of cable power distribution terminal
CN213986435U (en) Real-time water quality detection system
Zhang et al. On line monitoring method of forklift truck working condition based on multi sensor
CN108538418B (en) Nuclear power station redundancy analog quantity parameter display system and method
Chao et al. Research on the monitoring system of the grain quantity based on the CAN-bus
CN111784103B (en) Reagent quality whole-flow management system based on blockchain technology
CN108168602A (en) A kind of toxic gas diffusion monitoring system and its monitoring method
CN117972153A (en) Intelligent water meter data management and control method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination