CN117453962A - Data storage method and system of measuring instrument - Google Patents

Data storage method and system of measuring instrument Download PDF

Info

Publication number
CN117453962A
CN117453962A CN202311575105.5A CN202311575105A CN117453962A CN 117453962 A CN117453962 A CN 117453962A CN 202311575105 A CN202311575105 A CN 202311575105A CN 117453962 A CN117453962 A CN 117453962A
Authority
CN
China
Prior art keywords
abnormal
storage tank
value
information
data
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
CN202311575105.5A
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.)
Shenzhen Dingjitian Electronics Co ltd
Original Assignee
Shenzhen Dingjitian Electronics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Dingjitian Electronics Co ltd filed Critical Shenzhen Dingjitian Electronics Co ltd
Priority to CN202311575105.5A priority Critical patent/CN117453962A/en
Publication of CN117453962A publication Critical patent/CN117453962A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/906Clustering; Classification

Abstract

The invention discloses a data storage method and a system of a measuring instrument, and relates to the technical field of data storage.A real-time storage tank state data packet is formed by collecting state information of the inside and the outside of a storage tank through an information collection module when the system is in operation, a first data set and a second data set are obtained by processing the real-time storage tank state data packet through a preprocessing module, a historical data average value stored in the system is obtained to form a third data set, and calculation is performed to obtain: judging the index Pdzs, comparing the index Pdzs with a preset abnormal threshold S, acquiring an abnormal scheme, inquiring and matching the abnormal scheme content to execute the abnormal scheme content, and specifically notifying related staff of the abnormal scheme to prompt the related staff to process, so that abnormal data is effectively recorded and notified, and the subsequent problem investigation and processing are facilitated by classifying and storing the abnormal data and an independent storage mode comprising newly built and overlapped storage.

Description

Data storage method and system of measuring instrument
Technical Field
The invention relates to the technical field of data storage, in particular to a data storage method and system of a measuring instrument.
Background
In the field of chemical enterprise measurement, monitoring key parameters in the chemical reaction process is crucial for ensuring production safety and production quality, a storage tank measuring instrument in the chemical enterprise is used for monitoring liquid level and pressure key parameters in a storage tank in real time so as to ensure safe operation of the storage tank and prevent leakage accidents, and a system comprising data acquisition, data storage and abnormal alarm is generally established for data storage of the storage tank measuring instrument in the chemical enterprise so as to monitor the accuracy of data and the safe operation of the storage tank.
Because the data storage of the various sensors for data collection is concentrated in one database, the data is difficult to be personalized and managed, in addition, the singleness of the storage mode makes it difficult to quickly locate and extract specific abnormal data fragments in the subsequent analysis and problem searching processes, especially for data with a large number of duration time periods, the problem is particularly prominent when the data with different duration time periods are required to be compared, the source behind the abnormal data is searched or long-term data analysis is carried out, and the defect of the storage mode limits the possibility of deep mining and analysis of the abnormal data, so that flexibility and high efficiency are lacking in processing complex storage tank data.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a data storage method and a data storage system of a measuring instrument, and solves the problems in the background art.
In order to achieve the above purpose, the invention is realized by the following technical scheme: the data storage method and system of the measuring instrument comprise an information collection module, a preprocessing module, an abnormality judgment module, an abnormality storage module and an abnormality reminding module;
the information collection module collects the state information of the storage tank through a sensor group arranged inside and outside the storage tank to form a real-time storage tank state data packet;
the preprocessing module analyzes and preprocesses the real-time storage tank state data packet, acquires sensor mark information, classifies the sensor mark information by the mark information, acquires physical information to form a first data set, acquires flow information to form a second data set, and acquires a physical information group and a flow information group data average value in the last fixed period stored in the system to form a third data set;
the judging module performs normalization processing on the first data set, the second data set and the third data set to enable the first data set, the second data set and the third data set to be in a unified dimension, and performs calculation to obtain: judging the index Pdzs, and comparing the preset abnormal threshold S with the judging index Pdzs to obtain an abnormal scheme;
the decision index Pdzs is obtained by the following formula:
Pdzs=[(A*Wlxs)+(B*Llxs)]*50%+C;
wherein Wlxs represents a tank physical state coefficient, llxs represents a tank flow state coefficient, A and B represent proportional coefficients of the tank physical state coefficient Wlxs and the tank flow state coefficient Llxs, respectively, and C represents a correction constant;
the physical state coefficient Wlxs of the storage tank is obtained through calculation of a first data set and a third data set;
the storage tank flow state coefficient Llxs is obtained through calculation of a second data set and a third data set;
the abnormal storage module performs query matching according to the abnormal scheme content, and performs specific execution of the abnormal scheme content according to a query matching result;
the abnormal reminding module executes specific notification according to the abnormal scheme, so that related staff receives the abnormal scheme content and specifically processes the related staff according to the abnormal scheme content.
Preferably, the information collection module comprises a physical information collection unit, a flow information collection unit and a transmission unit;
the physical information acquisition unit acquires the physical information through a liquid level sensor: a height value and a volume value of the liquid in the storage tank;
pressure sensor acquisition: an internal pressure value;
and (3) acquiring and storing by a temperature sensor: the method comprises the steps of marking a sensor of an information source by a liquid temperature value of a storage tank and a temperature value of a liquid-free area inside the storage tank to form sensor marking information so as to form a physical information group;
the flow information acquisition unit is obtained through a vortex street flow sensor: a flow value of the fluid, a velocity value of the fluid, and a flow rate fluctuation difference value of the fluid;
electromagnetic flow sensor acquisition: the conductivity value of the fluid and marks the sensor of the information source to form sensor mark information so as to form a flow information group;
and the transmission unit integrates the physical information group, the flow information group and the historical information group to form a real-time storage tank state data packet and sends the real-time storage tank state data packet to the preprocessing module for processing.
Preferably, the preprocessing module comprises a processing unit, a classifying unit and a storage tank history calibration unit;
the processing unit analyzes the real-time storage tank state data packet, extracts an original data set in the real-time storage tank state data packet, and performs denoising and data calibration processing according to different sensor mark information;
the classifying unit classifies the data according to different sensor mark information, and respectively forms a first data set by physical information and a second data set by flow information;
the first data set includes: a height value Gdz, a volume value Tjz, a pressure value Ylz, a liquid temperature value Ytwd, and a liquid free region temperature value Wywd;
the second data set includes: a flow value Llz, a velocity value Sdz, a ripple value Bdz, and a conductivity value Ddlz;
the storage tank history calibration unit acquires an average value of data stored in the system in a last fixed period, and the storage tank history calibration unit comprises: the average height value LsGd, the average volume value LsTj, the average pressure value LsYl, the average liquid temperature value LsYt, the average liquid-free region temperature value LsWy, the average flow rate value LsLl, the average velocity value LsSd, the average fluctuation value LsBd, and the average conductivity value LsDd constitute a third data set.
Preferably, the judging module comprises a normalization unit, a calculation unit and a comparison unit;
the normalization mode of the normalization unit comprises the following steps: maximum-minimum normalization and Z-score normalization such that the first data set and the second data set have a uniform dimension;
the computing unit computes the first data set and the third data set to obtain: calculating a physical state coefficient Wlxs of the storage tank, and obtaining a second data set and a third data set: and (3) calculating the storage tank flow state coefficient Llxs again through the storage tank physical state coefficient Wlxs and the storage tank flow state coefficient Llxs to obtain: a judgment index Pdzs;
the comparison unit compares the preset abnormal threshold S with the judgment index Pdzs to obtain an abnormal scheme.
Preferably, the physical state coefficient Wlxs of the storage tank is obtained by the following calculation formula:
Wlxs=|[(LsGd-Gdz)+(LsTj-Tjz)+(LsYl-Ylz)+(LsYt-Ytwd)+(LsWy-Wywd)]+D;
wherein, the absolute value of the difference value between the average height value LsGd, the average volume value LsTj, the average pressure value LsYI, the average liquid temperature value LsYt and the average liquid-free area temperature value LsWy and the height value Gdz, the volume value Tjz, the pressure value Ylz, the liquid temperature value Ytwd and the liquid-free area temperature value Wywd is used for obtaining the physical state coefficient Wlxs of the storage tank, and further judging the abnormal state of the physical state of the storage tank through the value of the physical state coefficient Wlxs of the storage tank, wherein D represents a correction constant;
the abnormal state of the numerical value of the physical state of the storage tank is obtained by comparing a physical state threshold W of the storage tank preset by the system with a physical state coefficient Wlxs of the storage tank:
the storage tank physical state coefficient Wlxs is less than the storage tank physical state threshold W, and the numerical value of the storage tank physical state is as follows: height value Gdz, volume value Tjz, pressure value Ylz, liquid temperature value Ytwd, and no liquid zone temperature value Wywd, no abnormal state values;
the storage tank physical state coefficient Wlxs is more than or equal to the storage tank physical state threshold W, and the numerical value of the storage tank physical state is as follows: height value Gdz, volume value Tjz, pressure value Ylz, liquid temperature value Ytwd, and liquid free zone temperature value Wywd, there are abnormal status values;
an initial abnormality determination of the physical state of the tank is formed.
Preferably, the tank flow state coefficient Llxs is obtained by the following formula:
Llxs=|[(LsLl-Llz)+(LsSd-Sdz)+(LsBd-Bdz)+(LsDd-Ddlz)]+E;
wherein, the absolute value of the difference value between the average flow value Lsl, the average speed value Lsd, the average fluctuation value LsBd and the average conductivity value LsDd and the flow value Llz, the speed value Sdz, the fluctuation value Bdz and the conductivity value Dlz is used for obtaining a storage tank flow state coefficient Llxs, and further judging the abnormal state of the storage tank flow state through the value of the storage tank flow state coefficient Llxs, wherein E represents a correction constant;
the method comprises the steps of comparing a storage tank flow state threshold L preset by a system with a storage tank flow state coefficient Llxs to obtain an abnormal state of a numerical value of a storage tank flow state:
the storage tank flow state coefficient Llxs is less than the storage tank flow state threshold L, and the value of the storage tank flow state is as follows: flow value Llz, velocity value Sdz, ripple value Bdz, and conductivity value Ddlz, without abnormal state values;
the storage tank flow state coefficient Llxs is greater than or equal to the storage tank flow state threshold L, and the value of the storage tank flow state is as follows: flow value Llz, speed value Sdz, ripple value Bdz, and conductivity value Ddlz, there are abnormal state values;
an initial anomaly determination of the tank flow condition is made.
Preferably, the abnormal regimen is obtained by the following comparative means:
judging that the index Pdzs is smaller than an abnormal threshold S, classifying and storing data according to the sensor mark information, setting uniform acquisition time, filing the data into a group of acquisition data in a fixed acquisition period, and not executing historical abnormal information inquiry, wherein the flow state of the storage tank and the physical state of the storage tank are normal;
the judgment index Pdzs is more than or equal to an abnormal threshold S, the flow state of the storage tank and the physical state of the storage tank are abnormal, classified storage data is carried out according to sensor mark information, unified acquisition time is set, and then the storage tank is archived as a group of acquisition data in a fixed acquisition period, historical abnormal information inquiry is executed, and the inquired historical abnormal information, real-time abnormal sensor mark information and the acquisition time are combined and stored as abnormal sensor information.
Preferably, the abnormal storage module comprises a query unit and a storage unit;
the inquiring unit carries out historical inquiry according to abnormal sensor mark information in abnormal scheme content to obtain historical abnormal information, and when the historical abnormal information is empty, an empty information set is also obtained for feedback;
the storage unit combines the queried historical abnormal information, the real-time abnormal sensor mark information and the acquisition time, stores the combined historical abnormal information, the real-time abnormal sensor mark information and the acquisition time into the abnormal sensor information classification for storage, and simultaneously combines the sensor mark information and the acquisition time when the historical abnormal information set is empty, so as to further create the abnormal sensor information classification.
Preferably, the abnormality alert module includes a notification unit;
the notification unit fills a preset abnormal notification document according to the content of the abnormal scheme to form a notification document, and further transmits the notification document including specific abnormal parameters, occurrence time and position information through internal communication equipment, short messages and broadcasting, so that staff knows the abnormal condition in a short time to process.
The data storage method of the measuring instrument comprises the following steps:
step one: collecting state information of the inside and the outside of the storage tank through an information collecting module to form a real-time storage tank state data packet;
step two: processing the real-time storage tank state data packet through a preprocessing module, acquiring physical information to form a first data set, acquiring flow information to form a second data set, and acquiring a historical physical information set and a flow information set data average value stored in the system to form a third data set;
step four: calculating the first data set, the second data set and the third data set through a judging module to obtain: judging the index Pdzs, and comparing with a preset abnormal threshold S to obtain an abnormal scheme;
step five: the abnormal scheme content is inquired and matched through an abnormal storage module, and the abnormal scheme content is executed specifically;
step six: and carrying out specific notification on the content of the abnormal scheme through the abnormal reminding, so as to prompt related staff to process.
The invention provides a data storage method and a data storage system for a measuring instrument, which have the following beneficial effects:
(1) When the system operates, state information of the inside and the outside of the storage tank is collected through the information collection module to form a real-time storage tank state data packet, the real-time storage tank state data packet is processed through the preprocessing module to obtain a first data set and a second data set, a historical data average value stored in the system is obtained to form a third data set, and calculation and acquisition are performed: the judgment index Pdzs is compared with a preset abnormal threshold S, an abnormal scheme is obtained, query matching is carried out through the abnormal scheme content to execute the abnormal scheme content, and related staff is specifically notified of the abnormal scheme, so that the related staff is prompted to process the abnormal data, the abnormal data is effectively recorded and notified, and the combination mode of the marked sensor and the acquisition time is combined by classifying and storing the abnormal data and independent storage modes including newly-built and overlapped storage, so that follow-up problem checking and problem processing are facilitated, and the efficiency and accuracy of management work are improved.
(2) The specific installation positions of the sensor for marking the information source and the recording sensor are used for accurately knowing the specific environment of data acquisition when analyzing the data so as to better judge the source and influence factors of abnormal data, and in addition, the acquisition time is also taken into the marking information to help determine the time point of data acquisition, so that the source and change condition of the data can be traced back better, and the subsequent data analysis and processing work can be facilitated.
(3) Through the initial abnormal judgment of the physical state of the storage tank and the flow state of the storage tank, accurate monitoring and abnormal identification of the storage tank state are realized, meanwhile, the abnormal state of the physical state of the storage tank and the flow state of the storage tank is measured based on the calculation mode of the absolute value of the difference value, and an abnormal scheme is obtained by comparing the judgment index Pdzs with a preset abnormal threshold S, so that the recording and storage of abnormal data are more complete and systematic according to the scheme content, and the evolution and development trend of the abnormal situation can be comprehensively known.
(4) According to the method, through the first step to the sixth step, information acquisition on the inner part and the outer part of the storage tank is achieved, a real-time storage tank state data packet is formed, the real-time storage tank state data packet is processed, physical information and flow information are acquired to form a first data set and a second data set, meanwhile, historical data average values are acquired to form a third data set, and then calculation is carried out to obtain: the judgment index Pdzs is compared with a preset abnormal threshold S to obtain an abnormal scheme, finally, query and match are carried out according to the content of the abnormal scheme, the content of the abnormal scheme is stored, related staff is informed, the related staff is promoted to go to process, unified collection and archiving of data are realized, data abnormal monitoring is more efficient, sources and change conditions of the data are better traced, and subsequent data abnormal analysis and abnormal processing work is facilitated.
Drawings
FIG. 1 is a block diagram of a data storage system of the meter of the present invention;
FIG. 2 is a schematic diagram showing the steps of a data storage method of the measuring instrument of the present invention.
Detailed Description
The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, but not all embodiments, and all other embodiments obtained by those skilled in the art without making any inventive effort based on the embodiments of the present invention are within the scope of protection of the present invention.
In the field of chemical enterprise measurement, monitoring key parameters in the chemical reaction process is crucial for ensuring production safety and production quality, a storage tank measuring instrument in the chemical enterprise is used for monitoring liquid level and pressure key parameters in a storage tank in real time so as to ensure safe operation of the storage tank and prevent leakage accidents, and a system comprising data acquisition, data storage and abnormal alarm is generally established for data storage of the storage tank measuring instrument in the chemical enterprise so as to monitor the accuracy of data and the safe operation of the storage tank.
Because the data storage of the various sensors for data collection is concentrated in one database, the data is difficult to be personalized and managed, in addition, the singleness of the storage mode makes it difficult to quickly locate and extract specific abnormal data fragments in the subsequent analysis and problem searching processes, especially for data with a large number of duration time periods, the problem is particularly prominent when the data with different duration time periods are required to be compared, the source behind the abnormal data is searched or long-term data analysis is carried out, and the defect of the storage mode limits the possibility of deep mining and analysis of the abnormal data, so that flexibility and high efficiency are lacking in processing complex storage tank data.
Example 1
The invention provides a data storage system of a measuring instrument, referring to fig. 1, which comprises an information collection module, a preprocessing module, an abnormality judgment module, an abnormality storage module and an abnormality reminding module;
the information collection module collects the state information of the storage tank through a sensor group arranged inside and outside the storage tank to form a real-time storage tank state data packet;
the preprocessing module analyzes and preprocesses the real-time storage tank state data packet, acquires sensor mark information, classifies the sensor mark information by the mark information, acquires physical information to form a first data set, acquires flow information to form a second data set, and acquires a physical information group and a flow information group data average value in the last fixed period stored in the system to form a third data set;
the judging module performs normalization processing on the first data set, the second data set and the third data set to enable the first data set, the second data set and the third data set to be in a unified dimension, and performs calculation to obtain: judging the index Pdzs, and comparing the preset abnormal threshold S with the judging index Pdzs to obtain an abnormal scheme;
the decision index Pdzs is obtained by the following formula:
Pdzs=[(A*Wlxs)+(B*Llxs)]*50%+C;
wherein Wlxs represents a tank physical state coefficient, llxs represents a tank flow state coefficient, A and B represent proportional coefficients of the tank physical state coefficient Wlxs and the tank flow state coefficient Llxs, respectively, and C represents a correction constant;
wherein A is more than or equal to 0.37 and less than or equal to 0.49,0.39, B is more than or equal to 0.51, and A+B is more than or equal to 1.0;
the physical state coefficient Wlxs of the storage tank is obtained through calculation of a first data set and a third data set;
the storage tank flow state coefficient Llxs is obtained through calculation of a second data set and a third data set;
the abnormal storage module performs query matching according to the abnormal scheme content, and performs specific execution of the abnormal scheme content according to a query matching result;
the abnormal reminding module executes specific notification according to the abnormal scheme, so that related staff receives the abnormal scheme content and specifically processes the related staff according to the abnormal scheme content.
In this embodiment, the information collecting module collects the state information of the inside and the outside of the storage tank to form a real-time storage tank state data packet, the preprocessing module processes the real-time storage tank state data packet, acquires physical information to form a first data set, acquires flow information to form a second data set, acquires the average value of the physical information group and the flow information group in the last fixed period stored in the system to form a third data set, and calculates the first data set, the second data set and the third data set through the judging module to acquire: judging the index Pdzs, comparing the index Pdzs with a preset abnormal threshold S, acquiring an abnormal scheme, inquiring and matching the abnormal scheme content through an abnormal storage module, specifically executing the abnormal scheme content according to the inquiring and matching result, and specifically notifying the abnormal scheme through an abnormal reminding module, so that related staff receives the abnormal scheme content, and the related staff is prompted to process the abnormal scheme content, so that abnormal data is effectively recorded and notified, and the combination mode of classifying and storing the abnormal data and including newly-built and overlapped storage is combined with the marked sensor and acquisition time, thereby being beneficial to follow-up investigation and processing of problems and improving the efficiency and accuracy of management work.
Example 2
This embodiment is explained in embodiment 1, please refer to fig. 1, specifically: the information collection module comprises a physical information collection unit, a flow information collection unit and a transmission unit;
the physical information acquisition unit acquires the physical information through a liquid level sensor: a height value and a volume value of the liquid in the storage tank;
pressure sensor acquisition: an internal pressure value;
and (3) acquiring and storing by a temperature sensor: the method comprises the steps of forming sensor marking information by marking a sensor from which information is sourced, the mounting position and the acquisition time of the sensor, and the liquid temperature value of a storage tank and the temperature value of a liquid-free area inside the storage tank to form a physical information group;
the flow information acquisition unit is obtained through a vortex street flow sensor: a flow value of the fluid, a velocity value of the fluid, and a flow rate fluctuation difference value of the fluid;
electromagnetic flow sensor acquisition: the conductivity value of the fluid, a sensor for marking the information source, the mounting position and the acquisition time of the marking sensor, and sensor marking information are formed to form a flow information group;
and the transmission unit integrates the physical information group, the flow information group and the historical information group to form a real-time storage tank state data packet and sends the real-time storage tank state data packet to the preprocessing module for processing.
The pretreatment module comprises a processing unit, a classification unit and a storage tank history calibration unit;
the processing unit analyzes the real-time storage tank state data packet, extracts an original data set in the real-time storage tank state data packet, and performs denoising and data calibration processing according to different sensor mark information;
the classifying unit classifies the data according to different sensor mark information, and respectively forms a first data set by physical information and a second data set by flow information;
the first data set includes: a height value Gdz, a volume value Tjz, a pressure value Ylz, a liquid temperature value Ytwd, and a liquid free region temperature value Wywd;
the second data set includes: a flow value Llz, a velocity value Sdz, a ripple value Bdz, and a conductivity value Ddlz;
the storage tank history calibration unit obtains a plurality of groups of data stored in the last fixed period stored in the system to calculate an average value, and the storage tank history calibration unit comprises: the average height value LsGd, the average volume value LsTj, the average pressure value LsYl, the average liquid temperature value LsYt, the average liquid-free region temperature value LsWy, the average flow rate value LsLl, the average velocity value LsSd, the average fluctuation value LsBd, and the average conductivity value LsDd constitute a third data set.
The judging module comprises a normalization unit, a calculation unit and a comparison unit;
the normalization mode of the normalization unit comprises the following steps: maximum-minimum normalization and Z-score normalization such that the first data set and the second data set have a uniform dimension;
the computing unit computes the first data set and the third data set to obtain: calculating a physical state coefficient Wlxs of the storage tank, and obtaining a second data set and a third data set: and (3) calculating the storage tank flow state coefficient Llxs again through the storage tank physical state coefficient Wlxs and the storage tank flow state coefficient Llxs to obtain: a judgment index Pdzs;
the comparison unit compares the preset abnormal threshold value S with the judgment index Pdzs to obtain an abnormal scheme, wherein the preset abnormal threshold value S is a typical abnormal value range and a related statistical index which are usually obtained by related staff according to historical data analysis, and is set and continuously corrected by combining the actual running state of the storage tank and the industry standard.
In this embodiment, the specific installation positions of the sensor from which the tag information is derived and the recording sensor are used to more accurately understand the specific environment of data acquisition when analyzing the data, so as to better judge the source and influencing factors of the abnormal data, and in addition, the acquisition time is also included in the tag information to help determine the time point of data acquisition, so that the source and changing conditions of the data can be better traced back, and the subsequent data analysis and processing work can be facilitated.
Example 3
This embodiment is explained in embodiment 1, please refer to fig. 1, specifically: the physical state coefficient Wlxs of the storage tank is obtained through the following calculation formula:
Wlxs=|[(LsGd-Gdz)+(LsTj-Tjz)+(LsYl-Ylz)+(LsYt-Ytwd)+(LsWy-Wywd)]+D;
wherein, the absolute value of the difference value between the average height value LsGd, the average volume value LsTj, the average pressure value LsYI, the average liquid temperature value LsYt and the average liquid-free area temperature value LsWy and the height value Gdz, the volume value Tjz, the pressure value Ylz, the liquid temperature value Ytwd and the liquid-free area temperature value Wywd is used for obtaining the physical state coefficient Wlxs of the storage tank, and further judging the abnormal state of the physical state of the storage tank through the value of the physical state coefficient Wlxs of the storage tank, wherein D represents a correction constant;
the abnormal state of the numerical value of the physical state of the storage tank is obtained by comparing a physical state threshold W of the storage tank preset by the system with a physical state coefficient Wlxs of the storage tank:
the physical state coefficient Wlxs of the storage tank is smaller than the physical state threshold W of the storage tank, the state is normal, and the physical state of the storage tank has the numerical value: height value Gdz, volume value Tjz, pressure value Ylz, liquid temperature value Ytwd and no-liquid-area temperature value Wywd, no abnormal state values, and no abnormal state for liquid level sensor, pressure sensor and temperature sensor;
the physical state coefficient Wlxs of the storage tank is more than or equal to the physical state threshold W of the storage tank, the state is abnormal, and the physical state of the storage tank is the numerical value: the height value Gdz, the volume value Tjz, the pressure value Ylz, the liquid temperature value Ytwd and the liquid-free area temperature value Wywd have abnormal state values, and the liquid level sensor, the pressure sensor and the temperature sensor have abnormal states so as to flash with red lamplight, so that a worker can quickly position the abnormal position;
and forming initial abnormality judgment of the physical state of the storage tank, recording the value of the abnormal state of the physical state of the storage tank when the value of the abnormal state exists, acquiring sensor mark information for combination, and sending the sensor mark information to an abnormal storage module and an abnormal reminding module for inquiring, storing and informing in real time.
The storage tank flow state coefficient Llxs is obtained by the following formula:
Llxs=|[(LsLl-Llz)+(LsSd-Sdz)+(LsBd-Bdz)+(LsDd-Ddlz)]+E;
wherein, the absolute value of the difference value between the average flow value Lsl, the average speed value Lsd, the average fluctuation value LsBd and the average conductivity value LsDd and the flow value Llz, the speed value Sdz, the fluctuation value Bdz and the conductivity value Dlz is used for obtaining a storage tank flow state coefficient Llxs, and further judging the abnormal state of the storage tank flow state through the value of the storage tank flow state coefficient Llxs, wherein E represents a correction constant;
the method comprises the steps of comparing a storage tank flow state threshold L preset by a system with a storage tank flow state coefficient Llxs to obtain an abnormal state of a numerical value of a storage tank flow state:
the storage tank flow state coefficient Llxs is smaller than the storage tank flow state threshold value L, the state is normal, and the value of the storage tank flow state is as follows: the flow value Llz, the speed value Sdz, the fluctuation value Bdz and the conductivity value Ddlz have no abnormal state values, and the vortex street flow sensor and the electromagnetic flow sensor have no abnormal states;
the storage tank flow state coefficient Llxs is more than or equal to the storage tank flow state threshold value L, the state is abnormal, and the numerical value of the storage tank flow state is as follows: the flow value Llz, the speed value Sdz, the fluctuation value Bdz and the conductivity value Ddlz have abnormal state values, the vortex street flow sensor and the electromagnetic flow sensor have abnormal states, and red lamplight is used for flashing when the abnormal states exist, so that a worker can quickly locate the abnormal position;
and forming initial abnormality judgment of the flow state of the storage tank, recording the value of the abnormal state of the flow of the storage tank when the value of the abnormal state exists, acquiring sensor mark information for combination, and sending the sensor mark information to an abnormality storage module and an abnormality reminding module for inquiring, storing and notifying in real time.
The abnormal scheme is obtained by the following comparison mode:
judging that the index Pdzs is smaller than an abnormal threshold S, classifying and storing data according to the sensor mark information, setting uniform acquisition time, filing the data into a group of acquisition data in a fixed acquisition period, and not executing historical abnormal information inquiry, wherein the flow state of the storage tank and the physical state of the storage tank are normal;
the judgment index Pdzs is more than or equal to an abnormal threshold S, the flow state of the storage tank and the physical state of the storage tank are abnormal, classified storage data is carried out according to sensor mark information, unified acquisition time is set, and then the storage tank is archived as a group of acquisition data in a fixed acquisition period, historical abnormal information inquiry is executed, and the inquired historical abnormal information, real-time abnormal sensor mark information and the acquisition time are combined and stored as abnormal sensor information.
In this embodiment, through the initial anomaly determination of the physical state of the storage tank and the flow state of the storage tank, accurate monitoring and anomaly identification of the storage tank state are realized, meanwhile, based on the calculation mode of the absolute value of the difference, the anomaly state of the physical state of the storage tank and the flow state is measured, and through comparing the determination index Pdzs with the preset anomaly threshold value S, an anomaly scheme is obtained, according to the scheme content, the recording and storage of anomaly data are more complete and systematic, and the comprehensive understanding of the evolution and development trend of the anomaly condition is facilitated.
Example 4
This embodiment is explained in embodiment 1, please refer to fig. 1, specifically: the abnormal storage module comprises a query unit and a storage unit;
the inquiring unit carries out historical inquiry according to abnormal sensor mark information in abnormal scheme content to obtain historical abnormal information, and when the historical abnormal information is empty, an empty information set is also obtained for feedback;
the storage unit combines the queried historical abnormal information, the real-time abnormal sensor mark information and the acquisition time, stores the combined historical abnormal information, the real-time abnormal sensor mark information and the acquisition time into the abnormal sensor information classification for storage, and simultaneously combines the sensor mark information and the acquisition time when the historical abnormal information set is empty, so as to further create the abnormal sensor information classification.
The abnormality reminding module comprises a notification unit;
the notification unit fills a preset abnormal notification document according to the content of the abnormal scheme to form a notification document, and further transmits the notification document including specific abnormal parameters, occurrence time and position information through internal communication equipment, short messages and broadcasting, so that staff knows the abnormal condition in a short time to process.
Example 5
Referring to fig. 2, for a data storage method of the measuring apparatus, specific details are as follows: the method comprises the following steps:
step one: collecting state information of the inside and the outside of the storage tank through an information collecting module to form a real-time storage tank state data packet;
step two: processing the real-time storage tank state data packet through a preprocessing module, acquiring physical information to form a first data set, acquiring flow information to form a second data set, and acquiring a historical physical information set and a flow information set data average value stored in the system to form a third data set;
step four: calculating the first data set, the second data set and the third data set through a judging module to obtain: judging the index Pdzs, and comparing with a preset abnormal threshold S to obtain an abnormal scheme;
step five: the abnormal scheme content is inquired and matched through an abnormal storage module, and the abnormal scheme content is executed specifically;
step six: and carrying out specific notification on the content of the abnormal scheme through the abnormal reminding, so as to prompt related staff to process.
According to the method, through the first step to the sixth step, information acquisition on the inner part and the outer part of the storage tank is achieved, a real-time storage tank state data packet is formed, the real-time storage tank state data packet is processed, physical information and flow information are acquired to form a first data set and a second data set, meanwhile, historical data average values are acquired to form a third data set, and then calculation is carried out to obtain: the judgment index Pdzs is compared with a preset abnormal threshold S to obtain an abnormal scheme, finally, query and match are carried out according to the content of the abnormal scheme, the content of the abnormal scheme is stored, related staff is informed, the related staff is promoted to go to process, unified collection and archiving of data are realized, data abnormal monitoring is more efficient, sources and change conditions of the data are better traced, and subsequent data abnormal analysis and abnormal processing work is facilitated.
Specific examples: a data storage system for a meter used in some chemical manufacturing industry will use specific parameters and values to demonstrate how to calculate: determining an index Pdzs, a storage tank physical state coefficient Wlxs and a storage tank flow state coefficient Llxs;
assume that the following parameter values are owned:
third data set: average height value LsGd:18.5, average volume value LsTj: 58. average pressure value LsYl:1.15, average liquid temperature value LsYt: 24. average liquid free region temperature value LsWy: 19. average flow value LsLl: 55. average speed value LsSd: 2. average fluctuation value LsBd:0.20 and average conductivity value LsDd:15;
the first data set includes: height value Gdz: 19. volume value Tjz: 60. pressure value Ylz:1.1, liquid temperature value Ytwd:22 and liquid free zone temperature value Wywd:20, correction constant D:1, a step of;
obtaining according to a calculation formula of a physical state coefficient Wlxs of the storage tank:
Wlxs=|[(18.5-19)+(58-60)+(1.15-1.1)+(24-22)+(19-20)]|+1=2.45;
setting a storage tank physical state threshold W to be 5, and comparing the storage tank physical state threshold W with a storage tank physical state coefficient Wlxs to obtain: the storage tank physical state coefficient Wlxs is less than the storage tank physical state threshold W, and the numerical value of the storage tank physical state is as follows: height value Gdz, volume value Tjz, pressure value Ylz, liquid temperature value Ytwd, and no liquid zone temperature value Wywd, no abnormal state values;
the second data set includes: flow value Llz: 53. velocity value Sdz:1.8, fluctuation value Bdz:0.21 and conductivity value Ddlz:13, correction constant E:1, a step of;
obtaining according to a calculation formula of a storage tank flow state coefficient Llxs:
Llxs=|[(55-53)+(2-1.8)+(0.20-0.21)+(15-14)]|+1=4.19;
setting a storage tank flow state threshold L to be 5, comparing with a storage tank flow state coefficient Llxs, and obtaining: the storage tank flow state coefficient Llxs is less than the storage tank flow state threshold L, and the value of the storage tank flow state is as follows: flow value Llz, velocity value Sdz, ripple value Bdz, and conductivity value Ddlz, without abnormal state values;
scaling factor: a:0.47 and B:0.49, correction constant C:1, a step of;
obtaining according to a calculation formula of the judgment index Pdzs:
Pdzs=[(0.47*2.45)+(0.49*4.19)]+1=4.20;
setting the abnormality threshold S to 5, comparing with the judgment index Pdzs, and obtaining: the judgment index Pdzs is smaller than the abnormal threshold S, the flow state of the storage tank and the physical state of the storage tank are normal, classified storage data are carried out according to the sensor mark information, the unified acquisition time is set, and then the storage tank is archived as a group of acquisition data in a fixed acquisition period, and no history abnormal information query is executed.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (10)

1. A data storage system for a meter, characterized by: the system comprises an information collection module, a preprocessing module, an abnormality judgment module, an abnormality storage module and an abnormality reminding module;
the information collection module collects the state information of the storage tank through a sensor group arranged inside and outside the storage tank to form a real-time storage tank state data packet;
the preprocessing module analyzes and preprocesses the real-time storage tank state data packet, acquires sensor mark information, classifies the sensor mark information by the mark information, acquires physical information to form a first data set, acquires flow information to form a second data set, and acquires a physical information group and a flow information group data average value in the last fixed period stored in the system to form a third data set;
the judging module performs normalization processing on the first data set, the second data set and the third data set to enable the first data set, the second data set and the third data set to be in a unified dimension, and performs calculation to obtain: judging the index Pdzs, and comparing the preset abnormal threshold S with the judging index Pdzs to obtain an abnormal scheme;
the decision index Pdzs is obtained by the following formula:
Pdzs=[(A*Wlxs)+(B*Llxs)]*50%+C;
wherein Wlxs represents a tank physical state coefficient, llxs represents a tank flow state coefficient, A and B represent proportional coefficients of the tank physical state coefficient Wlxs and the tank flow state coefficient Llxs, respectively, and C represents a correction constant;
the physical state coefficient Wlxs of the storage tank is obtained through calculation of a first data set and a third data set;
the storage tank flow state coefficient Llxs is obtained through calculation of a second data set and a third data set;
the abnormal storage module performs query matching according to the abnormal scheme content, and performs specific execution of the abnormal scheme content according to a query matching result;
the abnormal reminding module executes specific notification according to the abnormal scheme, so that related staff receives the abnormal scheme content and specifically processes the related staff according to the abnormal scheme content.
2. The data storage system of the meter of claim 1, wherein: the information collection module comprises a physical information collection unit, a flow information collection unit and a transmission unit;
the physical information acquisition unit acquires the physical information through a liquid level sensor: a height value and a volume value of the liquid in the storage tank;
pressure sensor acquisition: an internal pressure value;
and (3) acquiring and storing by a temperature sensor: the method comprises the steps of marking a sensor of an information source by a liquid temperature value of a storage tank and a temperature value of a liquid-free area inside the storage tank to form sensor marking information so as to form a physical information group;
the flow information acquisition unit is obtained through a vortex street flow sensor: a flow value of the fluid, a velocity value of the fluid, and a flow rate fluctuation difference value of the fluid;
electromagnetic flow sensor acquisition: the conductivity value of the fluid and marks the sensor of the information source to form sensor mark information so as to form a flow information group;
and the transmission unit integrates the physical information group, the flow information group and the historical information group to form a real-time storage tank state data packet and sends the real-time storage tank state data packet to the preprocessing module for processing.
3. The data storage system of the meter of claim 2, wherein: the pretreatment module comprises a processing unit, a classification unit and a storage tank history calibration unit;
the processing unit analyzes the real-time storage tank state data packet, extracts an original data set in the real-time storage tank state data packet, and performs denoising and data calibration processing according to different sensor mark information;
the classifying unit classifies the data according to different sensor mark information, and respectively forms a first data set by physical information and a second data set by flow information;
the first data set includes: a height value Gdz, a volume value Tjz, a pressure value Ylz, a liquid temperature value Ytwd, and a liquid free region temperature value Wywd;
the second data set includes: a flow value Llz, a velocity value Sdz, a ripple value Bdz, and a conductivity value Ddlz;
the storage tank history calibration unit acquires an average value of data stored in the system in a last fixed period, and the storage tank history calibration unit comprises: the average height value LsGd, the average volume value LsTj, the average pressure value LsYl, the average liquid temperature value LsYt, the average liquid-free region temperature value LsWy, the average flow rate value LsLl, the average velocity value LsSd, the average fluctuation value LsBd, and the average conductivity value LsDd constitute a third data set.
4. The data storage system of the meter of claim 1, wherein: the judging module comprises a normalization unit, a calculation unit and a comparison unit;
the normalization mode of the normalization unit comprises the following steps: maximum-minimum normalization and Z-score normalization such that the first data set and the second data set have a uniform dimension;
the computing unit computes the first data set and the third data set to obtain: calculating a physical state coefficient Wlxs of the storage tank, and obtaining a second data set and a third data set: and (3) calculating the storage tank flow state coefficient Llxs again through the storage tank physical state coefficient Wlxs and the storage tank flow state coefficient Llxs to obtain: a judgment index Pdzs;
the comparison unit compares the preset abnormal threshold S with the judgment index Pdzs to obtain an abnormal scheme.
5. The data storage system of the meter of claim 4, wherein: the physical state coefficient Wlxs of the storage tank is obtained through the following calculation formula:
Wlxs=|[(LsGd-Gdz)+(LsTj-Tjz)+(LsYl-Ylz)+(LsYt-Ytwd)+(LsWy-Wywd)]+D;
wherein, the absolute value of the difference value between the average height value LsGd, the average volume value LsTj, the average pressure value LsYI, the average liquid temperature value LsYt and the average liquid-free area temperature value LsWy and the height value Gdz, the volume value Tjz, the pressure value Ylz, the liquid temperature value Ytwd and the liquid-free area temperature value Wywd is used for obtaining the physical state coefficient Wlxs of the storage tank, and further judging the abnormal state of the physical state of the storage tank through the value of the physical state coefficient Wlxs of the storage tank, wherein D represents a correction constant;
the abnormal state of the numerical value of the physical state of the storage tank is obtained by comparing a physical state threshold W of the storage tank preset by the system with a physical state coefficient Wlxs of the storage tank:
the physical state coefficient Wlxs of the storage tank is smaller than the physical state threshold W of the storage tank, and the physical state of the storage tank has no abnormal state value;
the physical state coefficient Wlxs of the storage tank is more than or equal to the physical state threshold W of the storage tank, and the physical state of the storage tank has abnormal state values;
an initial abnormality determination of the physical state of the tank is formed.
6. The data storage system of the meter of claim 4, wherein: the storage tank flow state coefficient Llxs is obtained by the following formula:
Llxs=|[(LsLl-Llz)+(LsSd-Sdz)+(LsBd-Bdz)+(LsDd-Ddlz)]+E;
wherein, the absolute value of the difference value between the average flow value Lsl, the average speed value Lsd, the average fluctuation value LsBd and the average conductivity value LsDd and the flow value Llz, the speed value Sdz, the fluctuation value Bdz and the conductivity value Dlz is used for obtaining a storage tank flow state coefficient Llxs, and further judging the abnormal state of the storage tank flow state through the value of the storage tank flow state coefficient Llxs, wherein E represents a correction constant;
the method comprises the steps of comparing a storage tank flow state threshold L preset by a system with a storage tank flow state coefficient Llxs to obtain an abnormal state of a numerical value of a storage tank flow state:
the flow state coefficient Llxs of the storage tank is smaller than the flow state threshold L of the storage tank, and the flow state of the storage tank has no abnormal state value;
the storage tank flow state coefficient Llxs is more than or equal to the storage tank flow state threshold value L, and an abnormal state value exists in the storage tank flow state;
an initial anomaly determination of the tank flow condition is made.
7. The data storage system of the meter of claim 4, wherein: the abnormal scheme is obtained by the following comparison mode:
judging that the index Pdzs is smaller than an abnormal threshold S, classifying and storing data according to the sensor mark information, and not executing historical abnormal information inquiry, wherein the flow state of the storage tank and the physical state of the storage tank are normal;
and judging that the index Pdzs is more than or equal to an abnormal threshold S, classifying and storing data according to the sensor mark information, executing historical abnormal information inquiry, and storing abnormal sensor information when the flow state or the physical state of the storage tank is abnormal.
8. The data storage system of the meter of claim 7, wherein: the abnormal storage module comprises a query unit and a storage unit;
the inquiring unit carries out historical inquiry according to abnormal sensor mark information in abnormal scheme content to obtain historical abnormal information, and when the historical abnormal information is empty, an empty information set is also obtained for feedback;
the storage unit combines the queried historical abnormal information, the real-time abnormal sensor mark information and the acquisition time, stores the combined historical abnormal information, the real-time abnormal sensor mark information and the acquisition time into the abnormal sensor information classification for storage, and simultaneously combines the sensor mark information and the acquisition time when the historical abnormal information set is empty, so as to further create the abnormal sensor information classification.
9. The data storage system of the meter of claim 7, wherein: the abnormality reminding module comprises a notification unit;
the notification unit fills a preset abnormal notification document according to the content of the abnormal scheme to form a notification document, and further transmits the notification document including specific abnormal parameters, occurrence time and position information through internal communication equipment, short messages and broadcasting, so that staff knows the abnormal condition in a short time to process.
10. A method of data storage for a meter comprising the data storage system of a meter according to any one of the preceding claims 1 to 9, characterized in that: the method comprises the following steps:
step one: collecting state information of the inside and the outside of the storage tank through an information collecting module to form a real-time storage tank state data packet;
step two: processing the real-time storage tank state data packet through a preprocessing module, acquiring physical information to form a first data set, acquiring flow information to form a second data set, and acquiring a historical physical information set and a flow information set data average value stored in the system to form a third data set;
step four: calculating the first data set, the second data set and the third data set through a judging module to obtain: judging the index Pdzs, and comparing with a preset abnormal threshold S to obtain an abnormal scheme;
step five: the abnormal scheme content is inquired and matched through an abnormal storage module, and the abnormal scheme content is executed specifically;
step six: and carrying out specific notification on the content of the abnormal scheme through the abnormal reminding, so as to prompt related staff to process.
CN202311575105.5A 2023-11-24 2023-11-24 Data storage method and system of measuring instrument Pending CN117453962A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311575105.5A CN117453962A (en) 2023-11-24 2023-11-24 Data storage method and system of measuring instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311575105.5A CN117453962A (en) 2023-11-24 2023-11-24 Data storage method and system of measuring instrument

Publications (1)

Publication Number Publication Date
CN117453962A true CN117453962A (en) 2024-01-26

Family

ID=89596761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311575105.5A Pending CN117453962A (en) 2023-11-24 2023-11-24 Data storage method and system of measuring instrument

Country Status (1)

Country Link
CN (1) CN117453962A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117711473A (en) * 2024-02-06 2024-03-15 南京扬贺扬微电子科技有限公司 Self-checking data management system and method based on memory device
CN117711473B (en) * 2024-02-06 2024-05-14 南京扬贺扬微电子科技有限公司 Self-checking data management system and method based on memory device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117711473A (en) * 2024-02-06 2024-03-15 南京扬贺扬微电子科技有限公司 Self-checking data management system and method based on memory device
CN117711473B (en) * 2024-02-06 2024-05-14 南京扬贺扬微电子科技有限公司 Self-checking data management system and method based on memory device
CN117880760B (en) * 2024-03-12 2024-05-17 深圳市诚立业科技发展有限公司 Short message distribution method based on multiple channels

Similar Documents

Publication Publication Date Title
CN111984503B (en) Method and device for identifying abnormal data of monitoring index data
CN113255795A (en) Equipment state monitoring method based on multi-index cluster analysis
CN106368813A (en) Abnormal alarm data detection method based on multivariate time series
CN109325692A (en) The data real-time analysis method and device of pipe network
CN104462794A (en) Algorithm for finding abnormal data of environmental monitoring based on comparative statistic analysis
EP3499329A1 (en) A data driven method for automated detection of anomalous work pieces during a production process
CN115858303B (en) Zabbix-based server performance monitoring method and system
WO2019091773A1 (en) A method of determining a microbiological risk level in a food batch
JP6948197B2 (en) Process monitoring device
CN115876258A (en) Livestock and poultry breeding environment abnormity monitoring and alarming system based on multi-source data
CN117032004A (en) Industrial production automatic control platform based on Internet of things
CN117171366B (en) Knowledge graph construction method and system for power grid dispatching operation situation
CN110866558A (en) Multi-source data fusion analysis-based rotating equipment state early warning method
CN114757927A (en) Part surface burr detection method based on machine vision
CN116738353B (en) Pharmaceutical workshop air filter element performance detection method based on data analysis
CN117453962A (en) Data storage method and system of measuring instrument
CN116300690B (en) Radial drilling machine fault monitoring and early warning system based on edge calculation
CN107093568B (en) Method and device for on-line monitoring of crystal element
CN117010549A (en) Information tracing method and terminal based on big data management system
CN104133437B (en) Continuous-type chemical-engineering device and performance indicator real-time evaluation method and device thereof
CN112287302B (en) Method for detecting pH value of oil, computing equipment and computer storage medium
CN110020000A (en) Determine the method and apparatus of abnormal air speed data
CN115511237A (en) Device operation condition monitoring method and system
CN111737247A (en) Implementation method for data quality control
CN117057676B (en) Multi-data fusion fault analysis method, equipment and storage medium

Legal Events

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