CN116634308B - Instrument abnormal event acquisition method and system - Google Patents

Instrument abnormal event acquisition method and system Download PDF

Info

Publication number
CN116634308B
CN116634308B CN202310889557.4A CN202310889557A CN116634308B CN 116634308 B CN116634308 B CN 116634308B CN 202310889557 A CN202310889557 A CN 202310889557A CN 116634308 B CN116634308 B CN 116634308B
Authority
CN
China
Prior art keywords
acquisition
instrument
acquisition terminal
abnormal
abnormal event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310889557.4A
Other languages
Chinese (zh)
Other versions
CN116634308A (en
Inventor
马小辉
陈飞虎
吴丽云
王伟亮
江少辉
李冬
谢加庆
邱杏飞
孙嘉伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Sunrise Technology Co ltd
Original Assignee
Hangzhou Sunrise Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Sunrise Technology Co ltd filed Critical Hangzhou Sunrise Technology Co ltd
Priority to CN202310889557.4A priority Critical patent/CN116634308B/en
Publication of CN116634308A publication Critical patent/CN116634308A/en
Application granted granted Critical
Publication of CN116634308B publication Critical patent/CN116634308B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D18/00Testing or calibrating apparatus or arrangements provided for in groups G01D1/00 - G01D15/00
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/14Two-way operation using the same type of signal, i.e. duplex
    • H04L5/16Half-duplex systems; Simplex/duplex switching; Transmission of break signals non-automatically inverting the direction of transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/70Arrangements in the main station, i.e. central controller
    • H04Q2209/75Arrangements in the main station, i.e. central controller by polling or interrogating the sub-stations
    • H04Q2209/756Arrangements in the main station, i.e. central controller by polling or interrogating the sub-stations where the polling of the sub-stations is cyclic, e.g. round-robin
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/80Arrangements in the sub-station, i.e. sensing device
    • H04Q2209/84Measuring functions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/80Arrangements in the sub-station, i.e. sensing device
    • H04Q2209/86Performing a diagnostic of the sensing device

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention discloses a method and a system for collecting an abnormal event of an instrument, wherein the system comprises a collecting main station, a collecting terminal and a collecting link, wherein the collecting terminal collects the event data of the instrument through the collecting link and analyzes the collected abnormal event data and sends the analyzed abnormal event data to the collecting main station; in the process of real-time acquisition, the acquisition terminal acquires real-time data and historical data according to configured frequency and sequence, when an abnormal event occurs, the acquisition terminal receiving pin is pulled down to destroy the acquisition link state so as to interrupt the acquisition, the acquisition is turned to perform abnormal event data acquisition, and then the acquired data is analyzed and then sent to the acquisition master station.

Description

Instrument abnormal event acquisition method and system
Technical Field
The application relates to the technical field of instrument event acquisition, in particular to an instrument abnormal event acquisition method and system.
Background
The instrument abnormal event acquisition system generally comprises a main station, an acquisition terminal and various monitoring instruments, wherein the acquisition terminal is connected with the main station through 4G, ethernet and the like in the uplink, and is connected with the monitoring instruments through channels such as carrier waves, wireless, RS485, M-BUS and the like in the downlink. The acquisition terminal needs to acquire current data and historical data of the monitoring instrument and also needs to monitor abnormal states of the instrument in real time. The acquisition link between the acquisition terminal and the monitoring meter is generally divided into two types of full duplex and half duplex,
full Duplex (Full Duplex) communication, among other things, allows data to be transmitted simultaneously in both directions, which corresponds in capability to a combination of two simplex communication modes. Full duplex refers to the ability to simultaneously (instantaneously) bi-directionally transmit signals (a→b and b→a). Refer to A.fwdarw.B while B.fwdarw.A, are instantaneously synchronized. Half Duplex (Half Duplex) data transmission means that data can be transmitted in both directions of one signal carrier, but cannot be transmitted simultaneously.
In the instrument abnormal event acquisition system, for a full duplex communication link, a monitoring instrument can report an abnormal event immediately once the abnormal event occurs, but for a half duplex link, the abnormal event of the instrument can be acquired only by a polling mode of an acquisition terminal, and the mode wastes channel resources (most inquiry instructions, the instrument replies no event), and the real-time performance of the instrument abnormal event is not ensured (when the instrument abnormal event occurs, the acquisition terminal is reading real-time and historical data of other instruments).
In the prior art, an alarm method for instrument abnormality is different from the prior art, and observers cannot intuitively judge whether the fluctuation of a medium is normal or not through the instrument, so that whether the instrument works normally or not cannot be judged. By adopting the technical scheme, the time domain data acquired by the instrument from the time domain are converted into the frequency domain data in the frequency domain, whether the frequency domain data is in the threshold range is judged, and if the frequency domain data is not in the threshold range, an alarm signal is output. Although the fluctuation of the medium is detected, the alarm can be given out in time when the instrument is abnormal, and the scheme is executed through equipment, so that technicians do not need to observe the state of the instrument at any time, the waste of human resources is reduced, and the timeliness of the alarm is improved. But the real-time performance of the abnormal event of the instrument is not guaranteed.
Disclosure of Invention
The utility model provides an instrument abnormal event collection method and system, through setting up the mode of collection main website, collection terminal, collection link, instrument event under half duplex link gathers, through the mode of pulling down the receiving foot in order to destroy the link state when the instrument is unusual, interrupt the data acquisition of collection terminal, and carry out specific collection to the abnormal event, then analyze the abnormal event data of gathering and present to the collection main website, in order to guarantee the real-time of abnormal event collection under half duplex link, improve the efficiency of abnormal event collection.
The first aspect of the application provides a method for collecting abnormal events of an instrument, which comprises the following steps:
the acquisition terminal acquires real-time data of the detection instrument through an acquisition link according to a preset acquisition frequency and an acquisition sequence;
when an abnormal event occurs to the instrument, the receiving pin level of the acquisition terminal is pulled down, so that the acquisition terminal generates abnormal interruption of receiving;
the acquisition terminal sends an acquisition event inquiry command to inquire an instrument address addr, an abnormal event code T in the history data of the instrument and accumulated abnormal occurrence times N to form a queue [ addr, T, N ];
and sequentially collecting the last N times of T events of the instrument according to the queue [ addr, T and N ], and analyzing to obtain the abnormal event data of the instrument.
According to the method, the real-time data and the historical data of the instrument are collected by utilizing the collection frequency and the collection sequence preset by the collection terminal, the data are monitored in real time in the real-time collection process of the data, and once an abnormal event occurs to the instrument, the state of a collection link is destroyed by pulling down the receiving pin, so that the collection is interrupted. In turn, specific acquisitions are made for the abnormal event. The acquisition terminal sends a query command to query the address addr of the instrument, the abnormal event code T and the occurrence times N to form a queue [ addr, T and N ], acquires the last N times of T events of the instrument according to the queue [ addr, T and N ] in sequence, decodes the acquired events and then sends the events to the acquisition master station, thereby completing the acquisition of the abnormal event. The acquisition terminal continuously acquires real-time data and historical data of the detection instrument through the acquisition link according to the preset acquisition frequency and the acquisition sequence, and the real-time acquisition of the abnormal event of the instrument is realized. The method can effectively ensure the real-time performance of the abnormal event collection under the half duplex link and improve the efficiency of the abnormal event collection.
Optionally, the preset collection frequency and collection sequence are preset according to a task configuration scheme.
The preset sequence is ordered according to the period, and the shorter the period is, the earlier the ordering is.
The preset acquisition frequency and the acquisition sequence are generally preset according to a task configuration scheme. The acquisition frequency is preset according to the task condition, for example, the acquisition period of some tasks is hours, and the acquisition frequency is set according to the period of hours; if the collection period is a day, that is collected once every other day. If the acquisition period is a month, then it is acquired once every other month, and so on. For the acquisition sequence, the sequencing is performed according to the length of the acquisition period, and the shorter the acquisition period is, the earlier the sequencing is.
Optionally, the pulling down the receiving pin level of the acquisition terminal is specifically to set the receiving pin level of the acquisition terminal to a level value lower than a preset level value.
The step of setting the level of the receiving pin of the acquisition terminal to be a level value lower than a preset level value is specifically to set the level value of the receiving pin of the acquisition terminal to be 0.
As the acquisition link between the acquisition terminal and the instrument is used as a link channel, the acquisition link is finally a serial port, such as RS485, M-BUS and the like, in the equipment. For the device capable of IO multiplexing, the sending pin can be configured as a common IO port, then the IO port is controlled to be configured low to pull down the bus, if the device cannot be configured as the common IO port, the low-speed baud rate sending string can be used for achieving the effect of pulling down by 0, if the normal communication baud rate is 9600, when the instrument generates an abnormal event, the instrument continuously sends 0 at the baud rate of 300, and the acquisition terminal can receive the abnormal event.
Meter generation anomalies, which may vary depending on the type of meter, for example meter anomalies such as meters typically include over-voltage, under-voltage, unbalance, theft of electricity, arcing, etc. Meter anomalies for water meters include valve anomalies, and other common anomalies such as clock errors, low battery voltage, memory anomalies, and the like. In summary, the abnormal phenomenon of the meter is called meter abnormality.
Optionally, the acquisition link adopts a preset baud rate and a check code to realize communication between the acquisition terminal and the instrument. The acquisition terminal and the instrument communicate through an acquisition link, and the fixed baud rate and the check code are generally adopted to realize the communication in the acquisition link in order to ensure the quality of the communication.
Optionally, the parsing specifically includes decomposing and reorganizing the queue [ addr, T, N ] according to a data format of the acquisition terminal.
The analysis is to decompose and sort the event content returned by the instrument according to the data tax of the acquisition terminal, the purpose of analysis is the conversion of the protocol,
the second aspect of the application provides an instrument abnormal event acquisition system, which comprises an acquisition main station, an acquisition terminal and an acquisition link;
the acquisition terminal acquires abnormal information of the instrument through an acquisition link; analyzing the abnormal information of the instrument, and then sending the abnormal information to an acquisition master station, wherein the abnormal information of the instrument is specifically:
the acquisition terminal acquires real-time data of the detection instrument through an acquisition link according to a preset acquisition frequency and an acquisition sequence;
when an abnormal event occurs to the instrument, the receiving pin level of the acquisition terminal is pulled down, so that the acquisition terminal generates abnormal interruption of receiving;
the acquisition terminal sends an acquisition event inquiry command to inquire an instrument address addr, an abnormal event code T in the history data of the instrument and accumulated abnormal occurrence times N to form a queue [ addr, T, N ];
collecting the last N times of T events of the instrument according to the queues [ addr, T and N ] in sequence, and analyzing to obtain abnormal event data of the instrument; and sending the analyzed abnormal data of the instrument to the acquisition master station.
The preset acquisition frequency and the acquisition sequence are preset according to a task configuration scheme.
The preset sequence is ordered according to the period, and the shorter the period is, the earlier the ordering is.
The preset acquisition frequency and the acquisition sequence are generally preset according to a task configuration scheme. The acquisition frequency is preset according to the task condition, for example, the acquisition period of some tasks is hours, and the acquisition frequency is set according to the period of hours; if the collection period is a day, that is collected once every other day. If the acquisition period is a month, then it is acquired once every other month, and so on. For the acquisition sequence, the sequencing is performed according to the length of the acquisition period, and the shorter the acquisition period is, the earlier the sequencing is.
The step of pulling down the receiving pin level of the acquisition terminal is specifically to place the receiving pin level of the acquisition terminal at a level value lower than a preset level value.
The step of setting the level of the receiving pin of the acquisition terminal to be a level value lower than a preset level value is specifically to set the level value of the receiving pin of the acquisition terminal to be 0.
As the acquisition link between the acquisition terminal and the instrument is used as a link channel, the acquisition link is finally a serial port, such as RS485, M-BUS and the like, in the equipment. For the reusable equipment, the sending pin can be configured as a common IO port, then the IO port is controlled to be configured low to pull down the bus, if the reusable equipment cannot be configured as the common IO port, the low-speed baud rate sending string can be used for achieving the effect of pulling down by 0, if the normal communication baud rate is 9600, when the instrument generates an abnormal event, the instrument continuously sends 0 at the baud rate of 300, and the acquisition terminal can receive the abnormal event.
Meter generation anomalies, which may vary depending on the type of meter, for example meter anomalies such as meters typically include over-voltage, under-voltage, unbalance, theft of electricity, arcing, etc. Meter anomalies for water meters include valve anomalies, and other common anomalies such as clock errors, low battery voltage, memory anomalies, and the like. In summary, the abnormal phenomenon of the meter is called meter abnormality.
Optionally, the acquisition link adopts a preset baud rate and a check code to realize communication between the acquisition terminal and the instrument; the acquisition terminal and the instrument communicate through an acquisition link, and the fixed baud rate and the check code are generally adopted to realize the communication in the acquisition link in order to ensure the quality of the communication.
The analysis is specifically to decompose and reorganize the queues [ addr, T, N ] according to the data format of the acquisition terminal. The analysis is to decompose and sort the event content returned by the instrument according to the data tax of the acquisition terminal, and the purpose of analysis is to convert the protocol.
As can be seen from the above, the system comprises a main acquisition station, an acquisition terminal and an acquisition link, wherein the acquisition terminal acquires instrument event data through the acquisition link, analyzes the acquired abnormal event data and sends the analyzed abnormal event data to the main acquisition station; in the time acquisition process, the acquisition terminal acquires real-time data and historical data of the instrument according to configured frequency and sequence, when an abnormal event occurs, the acquisition link state is destroyed by pulling down the receiving pin to interrupt the acquisition, the acquisition is turned to perform abnormal event data acquisition, and then the acquired data is analyzed and then sent to the acquisition master station.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the embodiments of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for collecting an abnormal event of an instrument according to an embodiment of the present application.
Fig. 2 is a block diagram of an abnormal event collection system of an instrument according to an embodiment of the present application.
Fig. 3 is a flowchart of the method for implementing the instrument abnormal event collection by the instrument abnormal event collection system provided in the embodiment of the present application.
In the figure: the system comprises a 2-meter abnormal event acquisition system, a 21-acquisition master station, a 22-acquisition terminal, a 23-acquisition link and a 24-meter.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that like reference numerals and letters refer to like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, a flowchart of a method for collecting an abnormal event of an instrument in some embodiments of the present application is shown.
As shown in fig. 1, the present application discloses a method for collecting an abnormal event of an instrument, the method comprising the following steps:
s101: the acquisition terminal acquires real-time data of the detection instrument through an acquisition link according to a preset acquisition frequency and an acquisition sequence;
s102: when an abnormal event occurs to the instrument, the receiving pin level of the acquisition terminal is pulled down, so that the acquisition terminal generates abnormal interruption of receiving;
s103: the acquisition terminal sends an acquisition event inquiry command to inquire an instrument address addr, an abnormal event code T in the history data of the instrument and accumulated abnormal occurrence times N to form a queue [ addr, T, N ];
s104: and sequentially collecting the last N times of T events of the instrument according to the queue [ addr, T and N ], and analyzing to obtain the abnormal event data of the instrument.
It should be noted that, according to the method, the real-time data and the historical data of the instrument are collected by utilizing the collection terminal to preset the collection frequency and the collection sequence, the data are monitored in real time in the real-time collection process of the data, and once the instrument is abnormal, the state of a collection link is destroyed by pulling down the receiving pin, so that the collection is interrupted. In turn, specific acquisitions are made for the abnormal event. The acquisition terminal sends a query command to query the address addr of the instrument, the abnormal event code T and the occurrence times N to form a queue [ addr, T, N ], and the latest N times T events of the instrument are sequentially acquired according to the queue [ addr, T, N ] and then are decoded and sent to the acquisition master station, so that the acquisition of the abnormal event is completed. The acquisition terminal continuously acquires real-time data and historical data of the detection instrument through the acquisition link according to the preset acquisition frequency and the acquisition sequence, and the real-time acquisition of the abnormal event of the instrument is realized. The method can effectively ensure the real-time performance of the abnormal event collection under the half duplex link and improve the efficiency of the abnormal event collection.
The preset acquisition frequency and the acquisition sequence are preset according to a task configuration scheme.
It should be noted that the preset collection frequency and collection sequence are generally preset according to a task configuration scheme. The acquisition frequency is preset according to the task condition, for example, the acquisition period of some tasks is hours, and the acquisition frequency is set according to the period of hours; if the collection period is a day, that is collected once every other day. If the acquisition period is a month, then it is acquired once every other month, and so on. For the acquisition sequence, the sequencing is performed according to the length of the acquisition period, and the shorter the acquisition period is, the earlier the sequencing is.
As a specific example. In this embodiment, the preset frequency is specifically: daily data are collected once a day; month data is collected once a month; the curve data are collected once in 5-15 minutes, and the real-time data are collected once in 1-5 minutes.
The preset sequence is ordered according to the period, and the shorter the period is, the earlier the ordering is.
According to the embodiment of the invention, the level of the receiving pin of the acquisition terminal is specifically set to be a level value lower than a preset level value.
The step of setting the level of the receiving pin of the acquisition terminal to be a level value lower than a preset level value is specifically to set the level value of the receiving pin of the acquisition terminal to be 0.
It should be noted that, because the acquisition link between the acquisition terminal and the meter is used as a link channel, serial ports, such as RS485, M-BUS, etc., are all arranged inside the device. For the reusable equipment, the outlet can be configured as a common IO port, then the IO port is controlled to be configured low to pull down the bus, if the reusable equipment cannot be configured as the common IO port, the low-speed baud rate long string 0 can be adopted to achieve the effect of pulling down, if the normal communication baud rate is 9600, when an abnormal event occurs to the instrument, the equipment continuously sends 0 at the baud rate of 300 at the moment, and the acquisition terminal can receive the abnormal event.
It should be noted that, the abnormal event generated by the meter may be different according to the type of the meter, for example, the abnormal meter of the electric meter generally includes overvoltage, voltage loss, unbalance, electricity larceny, arc discharge, etc. Meter anomalies for water meters include valve anomalies, and other common anomalies such as clock errors, low battery voltage, memory anomalies, and the like. In summary, the abnormal phenomenon of the meter is called meter abnormality.
According to the embodiment of the invention, the acquisition link adopts the preset baud rate and the check code to realize the communication between the acquisition terminal and the instrument.
The acquisition terminal and the instrument communicate through an acquisition link, and in order to ensure the quality of communication in the acquisition link, the communication is generally realized by adopting a fixed baud rate and a check code.
As a specific embodiment, in the embodiment, the acquisition link state is generally communicated by adopting a fixed baud rate and a check code, for example, the baud rate is 9600, the check code is even check, and when the communication state on the acquisition link is damaged, various errors such as check code errors or frame errors are generated when the acquisition terminal receives the acquisition link, and the acquisition link state is considered to be damaged as long as any error occurs.
The state of the broken acquisition link is specifically: the acquisition link is broken by changing the baud rate or the check code.
According to the embodiment of the invention, the analysis is specifically to decompose and reorganize the queues [ addr, T, N ] according to the data format of the acquisition terminal.
It should be noted that, in the analysis in the present application, the event content returned by the meter is decomposed and arranged according to the data tax of the acquisition terminal, the secondary judgment is not performed in the present application, and the purpose of analysis is the conversion of the protocol, because the communication protocol between the acquisition terminal and the acquisition master station and the communication protocol between the meter are different, for example, DL/T376.1 and DL/T689.45 are generally adopted between the acquisition terminal and the acquisition master station. The protocols between the acquisition terminal and the instrument are DL/T465, DL/T188, MODBUS and the like, so that conversion is needed.
Of the three parameters in the queue [ addr, T, N ] in this application, addr determines which meter has an event to collect, T indicates which type of event to collect, and N indicates that this event has occurred several times recently. The latest abnormal event related data of the instrument can be all collected through the three parameters and analyzed and reported to the collecting main station.
Referring to fig. 2, a block diagram of an abnormal event collection system of an instrument in some embodiments of the present application is shown.
As shown in fig. 2, the application discloses an instrument abnormal event collection system, wherein the instrument abnormal event collection system 2 comprises a collection main station 21, a collection terminal 22 and a collection link 23; the system can realize the method for collecting the abnormal event of the instrument.
Fig. 3 is a flowchart of the method for implementing the method for collecting the abnormal events of the instrument by the system for collecting the abnormal events of the instrument.
As shown in fig. 3, the acquisition terminal 22 acquires abnormal information of the meter 24 through an acquisition link 23; and the abnormal information of the instrument 24 is analyzed and then sent to the acquisition master station 21, specifically:
the acquisition terminal 22 acquires real-time data of the detection instrument 24 through the acquisition link 23 according to a preset acquisition frequency and an acquisition sequence;
when the meter 24 generates an abnormal event, the collection terminal 22 generates abnormal interruption of receiving by pulling down the collection terminal 22 to receive the foot so as to destroy the state of the collection link;
the acquisition terminal 22 sends an acquisition event inquiry command to inquire about the meter address addr, and the abnormal event code T and the occurrence number N of the abnormal event in the meter history data to form a queue [ addr, T, N ]
And sequentially collecting the last N times of T events of the meter 24 according to the queue [ addr, T and N ], analyzing to obtain abnormal event data of the meter 24, and transmitting the analyzed abnormal event data of the meter 24 to the collecting main station 21.
In this embodiment, the acquisition master station 21 and the acquisition terminal 22 communicate with each other via a 4G ethernet.
It should be noted that, the system described in the present application may implement the method for collecting abnormal events of the meter 24, where the collection terminal 22 is used to preset the collection frequency and the collection sequence to collect real-time data and historical data of the meter 24, and real-time monitoring is performed on the data in the real-time collection process of the data, and once the meter 24 has an abnormal event, the state of the collection link 23 is destroyed by pulling down the receiving pin, so as to cause the collection interruption. In turn, specific acquisitions are made for the abnormal event. The acquisition terminal 22 sends a query command to query the address addr of the meter 24, the abnormal event code T and the occurrence number N of the abnormal event to form a queue [ addr, T, N ], and sequentially acquires the latest N times of T events of the meter 24 according to the queue [ addr, T, N ], decodes the queue [ addr, T, N ], and sends the decoded queue [ addr, T, N ] to the acquisition master station 21, thereby completing the acquisition of the abnormal event. The acquisition terminal 22 continuously acquires real-time data and historical data of the detection instrument 24 through the acquisition link 23 according to preset acquisition frequency and acquisition sequence, and the real-time acquisition of abnormal events of the instrument 24 is realized repeatedly. The method can effectively ensure the real-time performance of the abnormal event collection under the half duplex link and improve the efficiency of the abnormal event collection.
According to the embodiment of the invention, the preset acquisition frequency and the acquisition sequence are preset according to a task configuration scheme.
It should be noted that the preset collection frequency and collection sequence are generally preset according to a task configuration scheme. The acquisition frequency is preset according to the task condition, for example, the acquisition period of some tasks is hours, and the acquisition frequency is set according to the period of hours; if the collection period is a day, that is collected once every other day. If the acquisition period is a month, then it is acquired once every other month, and so on. For the acquisition sequence, the sequencing is performed according to the length of the acquisition period, and the shorter the acquisition period is, the earlier the sequencing is.
In this embodiment, the preset frequency is specifically: daily data are collected once a day; month data is collected once a month; the curve data are collected once in 5-15 minutes, and the real-time data are collected once in 1-5 minutes.
The preset sequence is ordered according to the period, and the shorter the period is, the earlier the ordering is.
According to the embodiment of the invention, the level of the receiving pin of the acquisition terminal is specifically set to be a level value lower than a preset level value.
The step of setting the level of the receiving pin of the acquisition terminal to be a level value lower than a preset level value is specifically to set the level value of the receiving pin of the acquisition terminal to be 0. It should be noted that, since the acquisition link 23 between the acquisition terminal 22 and the meter 24 is used as a link channel, serial ports, such as RS485, M-BUS, etc., are all located inside the device. For the reusable device, the outlet can be configured as a common IO port, then the IO port is controlled to be configured low to pull down the bus, if the device cannot be configured as the common IO port, the low-speed baud rate long string 0 can be adopted to achieve the effect of pulling down, if the normal communication baud rate is 9600, when the meter 24 generates an abnormal event, the device continuously sends 0 at the baud rate of 300 at this time, and the acquisition terminal 22 will receive abnormally when receiving.
It should be noted that, the abnormal event generated by the meter 24 may be different according to the type of the meter 24, for example, the abnormal meter 24 of the electric meter generally includes overvoltage, voltage loss, unbalance, electricity larceny, arc discharge, etc. Meter 24 anomalies for water meters include valve anomalies, and other common anomalies such as clock errors, low battery voltage, memory anomalies, and the like. In summary, an abnormal condition for the meter 24 is referred to as a meter 24 abnormality.
According to the embodiment of the invention, the acquisition link 23 adopts a fixed baud rate and a check code to realize the communication between the acquisition terminal 22 and the meter 24;
the communication between the acquisition terminal 22 and the meter 24 is performed through the acquisition link 23, and in order to ensure the quality of the communication, the acquisition link 23 generally uses a fixed baud rate and a check code to implement the communication.
As a specific embodiment, in the present embodiment, the state of the acquisition link 23 is generally communicated by using a fixed baud rate and a check code, for example, the baud rate is 9600, the check code is even check, and when the communication state on the acquisition link 23 is damaged, various errors such as a check code error or a frame error will be generated when the acquisition terminal 22 receives the acquisition link 23, and as long as any error occurs, the state of the acquisition link 23 is considered to be damaged.
The state of the broken acquisition link 23 is specifically: breaking the acquisition link 23 by changing the baud rate or the check code;
the parsing specifically includes decomposing and reorganizing the queues [ addr, T, N ] according to the data format of the acquisition terminal 22.
It should be noted that, in the analysis described in the present application, the event content returned by the meter 24 is decomposed and arranged according to the data tax of the acquisition terminal 22, and the analysis is not performed for the second time in the present application, and the purpose of the analysis is the conversion of the protocol, because the communication protocol between the acquisition terminal 22 and the acquisition master station 21 and the communication protocol between the meter 24 are different, for example, DL/T376.1 and DL/T689.45 are generally adopted between the acquisition terminal 22 and the acquisition master station 21. The protocols between the acquisition terminal 22 and the meter 24 are DL/T465, DL/T188, MODBUS, etc., and therefore require conversion.
Of the three parameters in the queue [ addr, T, N ] in this application, addr determines which meter 24 has an event to collect, T indicates which type of event to collect, and N indicates that this event has occurred several times recently. The latest abnormal event related data of the instrument 24 can be all collected through the three parameters and analyzed and reported to the collecting main station 21.
As can be seen from the above, the system comprises a main acquisition station, an acquisition terminal and an acquisition link, wherein the acquisition terminal acquires instrument event data through the acquisition link, analyzes the acquired abnormal event data and sends the analyzed abnormal event data to the main acquisition station; in the time acquisition process, the acquisition terminal acquires real-time data and historical data of the instrument according to configured frequency and sequence, when an abnormal event occurs, the acquisition link state is destroyed by pulling down the receiving pin to interrupt the acquisition, the acquisition is turned to perform abnormal event data acquisition, and then the acquired data is analyzed and then sent to the acquisition master station.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present invention may be stored in a readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.

Claims (2)

1. A method for collecting an abnormal event of an instrument, the method comprising the steps of:
the acquisition terminal acquires real-time data of the detection instrument through an acquisition link according to a preset acquisition frequency and an acquisition sequence;
when an abnormal event occurs to the instrument, the receiving pin level of the acquisition terminal is pulled down, so that the acquisition terminal generates abnormal interruption of receiving;
the acquisition terminal sends an acquisition event inquiry command to inquire an instrument address addr, an abnormal event code T in the history data of the instrument and accumulated abnormal occurrence times N to form a queue [ addr, T, N ];
collecting the last N times of T events of the instrument according to the queues [ addr, T and N ] in sequence, and analyzing to obtain abnormal event data of the instrument;
the step of pulling down the receiving pin level of the acquisition terminal is specifically to place the receiving pin level of the acquisition terminal at a level value lower than a preset level value;
the step of setting the level of the receiving pin of the acquisition terminal to be a level value lower than a preset level value is specifically that setting the level value of the level of the receiving pin of the acquisition terminal to be 0;
the acquisition link adopts a preset baud rate and a check code to realize communication between the acquisition terminal and the instrument;
the analysis is specifically to decompose and reorganize the queues [ addr, T, N ] according to the data format of the acquisition terminal.
2. The instrument abnormal event acquisition system is characterized by comprising an acquisition main station, an acquisition terminal and an acquisition link;
the acquisition terminal acquires abnormal information of the instrument through an acquisition link; analyzing the abnormal information of the instrument, and then sending the abnormal information to an acquisition master station, wherein the abnormal information of the instrument is specifically:
the acquisition terminal acquires real-time data of the detection instrument through an acquisition link according to a preset acquisition frequency and an acquisition sequence;
when an abnormal event occurs to the instrument, the receiving pin level of the acquisition terminal is pulled down, so that the acquisition terminal generates abnormal interruption of receiving;
the acquisition terminal sends an acquisition event inquiry command to inquire an instrument address addr, an abnormal event code T in the history data of the instrument and accumulated abnormal occurrence times N to form a queue [ addr, T, N ];
collecting the last N times of T events of the instrument according to the queues [ addr, T and N ] in sequence, and analyzing to obtain abnormal event data of the instrument; the analyzed abnormal data of the instrument is sent to the acquisition master station;
the step of pulling down the receiving pin level of the acquisition terminal is specifically to place the receiving pin level of the acquisition terminal at a level value lower than a preset level value;
the step of setting the level of the receiving pin of the acquisition terminal to be a level value lower than a preset level value is specifically that setting the level value of the level of the receiving pin of the acquisition terminal to be 0;
the acquisition link adopts a preset baud rate and a check code to realize communication between the acquisition terminal and the instrument;
the analysis is specifically to decompose and reorganize the queues [ addr, T, N ] according to the data format of the acquisition terminal.
CN202310889557.4A 2023-07-20 2023-07-20 Instrument abnormal event acquisition method and system Active CN116634308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310889557.4A CN116634308B (en) 2023-07-20 2023-07-20 Instrument abnormal event acquisition method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310889557.4A CN116634308B (en) 2023-07-20 2023-07-20 Instrument abnormal event acquisition method and system

Publications (2)

Publication Number Publication Date
CN116634308A CN116634308A (en) 2023-08-22
CN116634308B true CN116634308B (en) 2023-12-26

Family

ID=87621553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310889557.4A Active CN116634308B (en) 2023-07-20 2023-07-20 Instrument abnormal event acquisition method and system

Country Status (1)

Country Link
CN (1) CN116634308B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4070648A (en) * 1976-06-18 1978-01-24 Ncr Corporation Computer to computer communication system
JP2009100392A (en) * 2007-10-19 2009-05-07 Sharp Corp Terminal network control apparatus, and telemeter system equipped with the same
CN106850303A (en) * 2017-02-15 2017-06-13 合肥美的电冰箱有限公司 The recording method of refrigerator event and record system and refrigerator
CN110187172A (en) * 2019-07-04 2019-08-30 中材晶通新能源科技(北京)有限公司 A kind of ammeter monitoring system converted based on infrared modulated with wireless communication
CN110351125A (en) * 2019-06-21 2019-10-18 中国科学院城市环境研究所 A kind of distributed environment facility intelligence operation management system and method
CN210222118U (en) * 2019-07-04 2020-03-31 中材晶通新能源科技(北京)有限公司 Ammeter monitoring system based on infrared modulation conversion and wireless communication
CN111223286A (en) * 2019-10-18 2020-06-02 北京研华兴业电子科技有限公司 Meter BUS-based data acquisition device and method
CN112118083A (en) * 2020-09-02 2020-12-22 广东瑞德智能科技股份有限公司 Single-wire half-duplex communication method, communication device and equipment
CN113194554A (en) * 2020-12-16 2021-07-30 上海欣芙信息科技有限公司 Multi-protocol intelligent acquisition gateway system for water and electricity meters and use method thereof
CN113766360A (en) * 2021-11-09 2021-12-07 国网江苏省电力有限公司营销服务中心 Full-link fault diagnosis method and system supporting high-frequency data acquisition
KR102495230B1 (en) * 2022-05-12 2023-02-07 예영동 Counter terminal to check the number of communication outputs
CN116170295A (en) * 2023-02-28 2023-05-26 青岛鼎信通讯股份有限公司 Method for self-adaptively reading according to network state of ammeter group

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11405700B2 (en) * 2019-03-08 2022-08-02 Copper Labs, Inc. Method and apparatus for instantaneous energy resource use monitoring and customer engagement

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4070648A (en) * 1976-06-18 1978-01-24 Ncr Corporation Computer to computer communication system
JP2009100392A (en) * 2007-10-19 2009-05-07 Sharp Corp Terminal network control apparatus, and telemeter system equipped with the same
CN106850303A (en) * 2017-02-15 2017-06-13 合肥美的电冰箱有限公司 The recording method of refrigerator event and record system and refrigerator
CN110351125A (en) * 2019-06-21 2019-10-18 中国科学院城市环境研究所 A kind of distributed environment facility intelligence operation management system and method
CN110187172A (en) * 2019-07-04 2019-08-30 中材晶通新能源科技(北京)有限公司 A kind of ammeter monitoring system converted based on infrared modulated with wireless communication
CN210222118U (en) * 2019-07-04 2020-03-31 中材晶通新能源科技(北京)有限公司 Ammeter monitoring system based on infrared modulation conversion and wireless communication
CN111223286A (en) * 2019-10-18 2020-06-02 北京研华兴业电子科技有限公司 Meter BUS-based data acquisition device and method
CN112118083A (en) * 2020-09-02 2020-12-22 广东瑞德智能科技股份有限公司 Single-wire half-duplex communication method, communication device and equipment
CN113194554A (en) * 2020-12-16 2021-07-30 上海欣芙信息科技有限公司 Multi-protocol intelligent acquisition gateway system for water and electricity meters and use method thereof
CN113766360A (en) * 2021-11-09 2021-12-07 国网江苏省电力有限公司营销服务中心 Full-link fault diagnosis method and system supporting high-frequency data acquisition
KR102495230B1 (en) * 2022-05-12 2023-02-07 예영동 Counter terminal to check the number of communication outputs
CN116170295A (en) * 2023-02-28 2023-05-26 青岛鼎信通讯股份有限公司 Method for self-adaptively reading according to network state of ammeter group

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
用电信息采集系统RS485通信智能适配器的研发;陈宏远;陈新;周灵江;郑剑波;丁虹引;;信息技术与信息化(04);全文 *

Also Published As

Publication number Publication date
CN116634308A (en) 2023-08-22

Similar Documents

Publication Publication Date Title
CN103296757B (en) Multi-parameter identification based secondary system fault diagnosing method for intelligent substation
CN101706372B (en) Electronic-control vehicle remote diagnosis system and diagnosis method thereof
CN102905299B (en) Method for carrying out automatic monitoring and abnormality alarming on wireless APs (Access Points) by user behavior simulation
CN111581196A (en) Supply and distribution power grid intelligent data acquisition and arrangement system based on intelligent factory framework
CN106374993A (en) Full-automatic unattended satellite telemetering monitoring platform and data processing method
CN110803064A (en) Electric automobile fills electric pile BMS data monitoring device
CN105375638A (en) Intelligent transformer station secondary system real-time alarm analytical apparatus and method
CN104201782A (en) Transformer substation troubleshooting system
US6671636B2 (en) Apparatus, method and article of manufacture for utility monitoring
CN110969375A (en) Intelligent substation alarm processing method and device, terminal and storage medium
CN114374268B (en) Internet of things edge processing method and Internet of things edge processing unit for power grid terminal
CN116634308B (en) Instrument abnormal event acquisition method and system
CN101567581B (en) Universal intelligent low-voltage monitoring system
CN112947364B (en) System and method for early warning of equipment faults of power distribution station based on big data
CN114204677A (en) Remote monitoring method and system for power generation equipment
CN201138365Y (en) CVT on-line monitoring terminal
CN109510724B (en) Data acquisition and application method based on TAS device
CN110908956A (en) Information protection main station system and fault information filing method thereof
CN102158381A (en) Dual-mode network data acquisition device in smart grid and network data acquisition system
CN215930978U (en) Intelligent remote water amount monitoring system based on NB-IoT
EP2749975A1 (en) Method for collection, selection and conversion of measurement data enabling diagnosis of electricity devices, especially in industrial plants and a concentrator for applying this method
CN115396752A (en) Redis-based biplane data acquisition method and system
CN112290680B (en) Electric power communication system capable of monitoring communication state
CN114363347A (en) Self-adaptive industrial equipment data acquisition method and system
CN202035001U (en) Dual mode network data acquisition device and network data acquisition system of intelligent electric network

Legal Events

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