Method for processing abnormal event of downward-connected electric energy meter by intelligent switch
By initializing the abnormal event list in the intelligent switch and performing real-time detection and regular reporting, the problem that the intelligent switch cannot identify and record abnormal events of the power meter is solved, and the real-time monitoring efficiency and energy consumption management of the power monitoring network are improved.
Patent Information
- Application Number
- CN202411002221.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-11-12
AI Technical Summary
Existing smart switches lack local electrical parameter detection and data storage capabilities, cannot effectively identify and record diversified abnormal events connected to power meters, and cannot report them in real time, resulting in inefficiency of power monitoring networks.
The list of abnormal events is initialized when the smart switch is started, and the data is monitored in real time through the electrical parameter detection module, the list of meter reading is updated regularly, the abnormal events are reported regularly to the remote server, and the counter is cleared regularly to realize the diversified abnormal events Identify, record and report.
By distributing abnormal event recognition to each switch side, the energy consumption of the central server is reduced, the real-time monitoring efficiency of the power monitoring network is improved, and effective identification and recording of multiple types of abnormal events are achieved.
Smart Images

Figure CN118938111A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method for an intelligent switch to process abnormal events of a downstream electric energy meter. Background Art
[0002] The switch / circuit breaker can be connected to one or more corresponding electric energy meters through one or more switch devices. Conventional switches / circuit breakers generally configure an electrical parameter detection module based on a hardware module for each connected electric energy meter based on the maximum number of switch connections, and use the electrical parameter detection module to detect overload and short circuit of the downstream electric energy meter, and control the corresponding switch device to trip when overload, short circuit, etc. are found; however, this conventional switch / circuit breaker does not have software processing capabilities, data storage capabilities, and data communication capabilities, and naturally cannot identify, record, and report various abnormal events on the downstream electric energy meters.
[0003] Intelligent switches are new switches / circuit breakers with increased software processing, data storage and data communication capabilities. These new switches / circuit breakers not only have all the hardware modules of conventional switches / circuit breakers (such as electrical parameter detection modules and switch device lights), but also have some new functions that conventional switches / circuit breakers do not have: such as application software installation / operation functions, data storage functions, data communication functions, etc. At present, most intelligent switches can regularly read the connected electric energy meters through the meter reading software installed / run on the switch side, and can store the meter reading data locally.
[0004] That is to say, in principle, the newly added functions of the smart switch can achieve the technical goal of identifying, recording and reporting abnormal events of the downstream electric energy meter. The technical problem to be solved by the present invention is how to identify, record and report various abnormal events of the downstream electric energy meter based on the local electrical parameter detection module and the locally stored meter reading data on the smart switch side. Summary of the invention
[0005] The purpose of the present invention is to provide a method for an intelligent switch to handle abnormal events of downstream electric energy meters in view of the defects of the prior art. The intelligent switch of the present invention first initializes a corresponding abnormal event list for each downstream electric energy meter when the switch is started; and performs a closing operation on the switch device corresponding to each downstream electric energy meter; and during the operation of the switch, updates the corresponding abnormal event list based on the real-time detection data of the electrical parameter detection module corresponding to each downstream electric energy meter on the switch side; and regularly performs meter reading operations on all downstream electric energy meters to obtain the latest meter reading record set and save it, and updates all abnormal event lists based on the latest meter reading record set; and regularly reports abnormal events to the remote service end according to all abnormal event lists; and regularly clears the abnormal counters of all abnormal event lists. Through the present invention, various abnormal events (15 types of abnormal events, including meter overload abnormality, meter short circuit abnormality, meter overcurrent abnormality, meter pressure loss abnormality, meter phase failure abnormality, meter power failure abnormality, meter power outage abnormality, meter cover opening abnormality, meter clock battery status abnormality, meter clock abnormality, meter data clearing abnormality, meter magnetic field interference abnormality, meter meter metering stop abnormality, meter meter metering flyaway abnormality and meter meter metering drop abnormality) of all downstream electric energy meters can be identified, recorded and reported on the intelligent switch side based on the local electrical parameter detection module and the locally stored meter reading data; through the present invention, the abnormal event identification work originally concentrated on the central server of the power monitoring network can be dispersed to each switch side for execution, which can not only reduce the energy consumption of the central server, but also improve the real-time monitoring efficiency of the entire power monitoring network.
[0006] To achieve the above object, an embodiment of the present invention provides a method for a smart switch to process an abnormal event of a downstream electric energy meter, the method comprising:
[0007] When the first intelligent switch is started, a corresponding first abnormal event list is initialized for each first electric energy meter connected thereto; and a first switch device corresponding to each first electric energy meter is closed; the first intelligent switch has one or more first switch devices and one or more first electrical parameter detection modules built in, each of the first switch devices is connected to a corresponding first electric energy meter through a corresponding power line, the first electrical parameter detection module corresponds to the first switch device one by one, and each of the first electrical parameter detection modules is used to detect the real-time current and real-time voltage passing through the corresponding first switch device; the first intelligent switch is connected to the first remote service end through a data communication line through an HPLC communication method or a wireless radio frequency communication method; the first intelligent switch is connected to each of the first electric energy meters through a serial communication method or a Bluetooth communication method;
[0008] During the operation of the switch, the first intelligent switch updates the corresponding first abnormal event list based on the real-time detection data of each first electrical parameter detection module;
[0009] During the operation of the switch, the first intelligent switch periodically reads all the first electric energy meters based on a preset first time frequency to obtain and save the latest first meter reading record set; and updates all the first abnormal event lists based on the latest first meter reading record set;
[0010] During the operation of the switch, the first intelligent switch periodically reports abnormal events to the first remote server according to all the first abnormal event lists based on a preset second time frequency;
[0011] During the operation of the switch, the first intelligent switch periodically clears the counters of all the first abnormal event lists based on a preset third time frequency.
[0012] Preferably, the first abnormal event list includes a first electricity meter identifier and a plurality of first abnormal entries;
[0013] The first electric meter identifier is a unique identifier of the corresponding first electric energy meter;
[0014] The first exception entry includes a first exception type, a first exception counter, a first exception reporting control parameter group, a first exception record queue and a first reporting record queue;
[0015] The first abnormality type includes meter overload abnormality, meter short circuit abnormality, meter overcurrent abnormality, meter pressure loss abnormality, meter phase failure abnormality, meter power failure abnormality, meter power outage abnormality, meter cover opening abnormality, meter clock battery status abnormality, meter clock abnormality, meter data clearing abnormality, meter magnetic field interference abnormality, meter meter measurement stop abnormality, meter meter measurement flight abnormality and meter measurement drop abnormality;
[0016] The first exception counter is used to count the number of records of the corresponding exception; the first exception counter is set to 0 when initialized and is cleared regularly;
[0017] The first abnormal reporting control parameter group includes a first reporting control state and a first reporting completion state; the first reporting control state includes reporting required and reporting not required; when the first reporting control state is reporting required, the corresponding first reporting completion state includes completed and incomplete and is set to incomplete at initialization and reset to incomplete periodically; when the first reporting control state is reporting not required, the corresponding first reporting completion state is set to empty at initialization;
[0018] The first exception record queue is a first-in-first-out circular queue, which is composed of a first preset number of first exception records; each of the first exception records is composed of a corresponding first exception time and first exception data; the first preset number is a preset positive integer; the first exception record queue is set to an empty queue when initialized;
[0019] The first reporting record queue is a first-in-first-out circular queue, which is composed of a second preset number of first reporting records; each of the first reporting records is composed of a corresponding first reporting time and first reporting data; the second preset number is a preset positive integer; the first reporting record queue is set to an empty queue when initialized;
[0020] The first meter reading record set includes a plurality of first meter reading records;
[0021] The first meter reading record corresponds one-to-one to the first electric energy meter connected to the first intelligent switch;
[0022] The first meter reading record includes the second meter identification, the first switch side meter reading instruction sending time, the first meter side meter reading instruction receiving time, the first meter side meter reading data sending time, the first meter side current parameter group, the first meter side voltage parameter group, the first meter side electric energy metering degree, the first meter side cover opening state, the first meter side clock battery state, the first meter side data clearing state and the first meter side electromagnetic interference state;
[0023] The second electric energy meter identifier is a unique identifier of the corresponding first electric energy meter;
[0024] The first switch-side meter reading instruction sending time is the instruction sending time carried in the first meter reading instruction sent by the first intelligent switch to the corresponding first electric energy meter;
[0025] The first meter-side meter reading instruction reception time is the instruction reception time obtained based on the local timer when the corresponding first electric energy meter receives the first meter reading instruction sent by the first intelligent switch;
[0026] The first meter-side meter reading data sending time is the instruction sending time obtained based on the local timer before the first electric energy meter sends the current first meter reading record to the first intelligent switch; the local timer is a timing module or device with a battery on the first electric energy meter;
[0027] The first meter-side current parameter group includes current phase type and full-phase current parameters; the current phase type includes single-phase and three-phase types; when the current phase type is single-phase, the corresponding full-phase current parameter is a corresponding single-phase current data; when the current phase type is three-phase, the corresponding full-phase current parameter includes A-phase current data, B-phase current data and C-phase current data;
[0028] The first meter-side voltage parameter group includes a voltage phase type and a full-phase voltage parameter; the voltage phase type includes two types: single-phase and three-phase; the voltage phase type is consistent with the current phase type; when the voltage phase type is single-phase, the corresponding full-phase voltage parameter is a corresponding single-phase voltage data; when the voltage phase type is three-phase, the corresponding full-phase voltage parameter includes A-phase voltage data, B-phase voltage data and C-phase voltage data;
[0029] The first meter-side electric energy measurement degree is one electric energy measurement degree;
[0030] The first meter side cover opening state includes open cover and unopen cover; when the first meter side cover opening state is open cover, it indicates that the corresponding first electric energy meter is currently opened by external force; when the first meter side cover opening state is unopen cover, it indicates that the corresponding first electric energy meter is currently not opened by external force;
[0031] The first meter-side clock battery status is the remaining power percentage of the built-in battery of the local timer of the corresponding first electric energy meter;
[0032] The first meter side data clearing state includes clearing and not clearing; when the first meter side data clearing state is clearing, it means that the local meter reading backup data of the corresponding first electric energy meter has been completely deleted; when the first meter side data clearing state is not clearing, it means that the local meter reading backup data of the corresponding first electric energy meter has not been completely deleted;
[0033] The first meter side electromagnetic interference state includes being interfered with and not being interfered with; when the first meter side electromagnetic interference state is being interfered with, it means that the corresponding first electric energy meter is currently being subjected to external electromagnetic interference; when the first meter side electromagnetic interference state is not being interfered with, it means that the corresponding first electric energy meter is not currently being subjected to external electromagnetic interference.
[0034] Preferably, the updating of the corresponding first abnormal event list based on the real-time detection data of each first electrical parameter detection module specifically includes:
[0035] The first intelligent switch monitors the real-time current detection data of each first electrical parameter detection module in real time;
[0036] When the real-time current detection data of any of the first electrical parameter detection modules exceeds a preset overload current threshold value but does not exceed a preset short-circuit current threshold value, the first abnormal entry in the first abnormal event list corresponding to the current first electrical parameter detection module, in which the first abnormal type is an electric meter overload abnormality, is used as the corresponding current abnormal entry; the first abnormal counter of the current abnormal entry is increased by 1; the current switching time is used as the corresponding first abnormal time; a corresponding first abnormal data is generated according to a preset electric meter overload abnormal data template; a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and is added to the first abnormal record queue of the current abnormal entry;
[0037] And when the real-time current detection data of any of the first electrical parameter detection modules exceeds the short-circuit current threshold, the first switching device corresponding to the current first electrical parameter detection module is tripped; and the first abnormal entry in the first abnormal event list corresponding to the current first electrical parameter detection module, in which the first abnormal type is the meter short-circuit abnormality, is used as the corresponding current abnormal entry; and the first abnormal counter of the current abnormal entry is increased by 1; and the current switching time is used as the corresponding first abnormal time; and a corresponding first abnormal data is generated according to a preset meter short-circuit abnormal data template; and a corresponding first abnormal record composed of the obtained first abnormal time and the first abnormal data is added to the first abnormal record queue of the current abnormal entry.
[0038] Preferably, the periodically performing meter reading operations on all the first electric energy meters based on a preset first time frequency to obtain and save the latest first meter reading record set specifically includes:
[0039] The first intelligent switch periodically sends the first meter reading instruction with the instruction sending time to all the first electric energy meters connected to it based on the first time frequency; and receives the first meter reading record sent back by each of the first electric energy meters; and forms the latest first meter reading record set from all the obtained first meter reading records and saves it.
[0040] Preferably, the method further comprises:
[0041] When receiving the first meter reading instruction, each of the first electric energy meters obtains the current local time through the local timer as the corresponding first meter-side meter reading instruction reception time; and extracts the corresponding instruction sending time from the first meter reading instruction as the corresponding first switch-side meter reading instruction sending time;
[0042] and using the electric energy meter identification data stored locally in the electric energy meter as the corresponding second electric energy meter identification;
[0043] The corresponding current phase type is set based on the single-phase or three-phase phase characteristics of the local current of the electric energy meter; the average current data of the local single-phase current or three-phase current of the electric energy meter in the most recent first time period is calculated based on the current phase type and the corresponding full-phase current parameter is set based on the calculation result; and the corresponding first meter-side current parameter group is formed by the obtained current phase type and the full-phase current parameter;
[0044] The corresponding voltage phase type is set based on the single-phase or three-phase phase characteristics of the local voltage of the electric energy meter; the average voltage data of the local single-phase voltage or three-phase voltage of the electric energy meter in the most recent first time period is calculated based on the voltage phase type and the corresponding full-phase voltage parameter is set based on the calculation result; and the corresponding first meter-side voltage parameter group is formed by the obtained voltage phase type and the full-phase voltage parameter;
[0045] and taking the latest local electric energy meter reading as the corresponding first meter-side electric energy meter reading;
[0046] and identifying the current cover opening state of the electric energy meter. If the cover is currently opened by external force, the corresponding first cover opening state of the meter side is set to open; if the cover is not currently opened by external force, the corresponding first cover opening state of the meter side is set to not open;
[0047] And identify the remaining power percentage of the battery of the local timer to obtain the corresponding current remaining power percentage; and use the current remaining power percentage as the corresponding battery state of the first watch side clock;
[0048] and identifying whether the meter reading data locally backed up by the electric energy meter has been completely deleted, if so, setting the corresponding first meter side data clearing state to cleared, if not, setting the corresponding first meter side data clearing state to not cleared;
[0049] and identifying whether the electric energy meter is currently being subjected to external electromagnetic interference, if so, setting the corresponding first meter side electromagnetic interference state to be interfered with, if not, setting the corresponding first meter side electromagnetic interference state to be not interfered with;
[0050] and obtaining the latest local timing time through the local timer as the corresponding first meter side meter reading data sending time;
[0051] The first meter reading record corresponding to the obtained second meter identifier, the first switch side meter reading instruction sending time, the first meter side meter reading instruction receiving time, the first meter side meter reading data sending time, the first meter side current parameter group, the first meter side voltage parameter group, the first meter side electric energy measurement degree, the first meter side cover opening state, the first meter side clock battery state, the first meter side data clearing state and the first meter side electromagnetic interference state is sent back to the first smart switch.
[0052] Preferably, the updating operation on all the first abnormal event lists based on the latest first meter reading record set specifically includes:
[0053] Step 601: the first intelligent switch records the latest first meter reading record set as the corresponding current meter reading record set; and records the previous first meter reading record set corresponding to the current meter reading record set as the corresponding previous meter reading record set; and records the first first meter reading record of the current meter reading record set as the corresponding current meter reading record;
[0054] Step 602, and taking the first abnormal event list corresponding to the current meter reading record as the corresponding current list;
[0055] Step 603, and identify whether the maximum current data in the full-phase current parameters of the current meter reading record is within the preset overcurrent state current threshold range; if so, the first abnormal entry in the current list whose first abnormal type is the meter overcurrent abnormality is taken as the corresponding current overcurrent entry, and the first abnormal counter of the current overcurrent entry is increased by 1, and the current switching time is taken as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to the preset meter overcurrent abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current overcurrent entry;
[0056] Step 604, and identify whether the maximum voltage data in the all-phase voltage parameters of the current meter reading record is within the preset voltage threshold range of the voltage loss state; if so, take the first abnormal entry in the current list whose first abnormal type is the meter pressure loss abnormality as the corresponding current pressure loss entry, and add 1 to the first abnormal counter of the current pressure loss entry, and take the current switching time as the corresponding first abnormal time, and generate a corresponding first abnormal data according to the preset meter pressure loss abnormal data template, and form a corresponding first abnormal record with the obtained first abnormal time and the first abnormal data, and add it to the first abnormal record queue of the current pressure loss entry;
[0057] Step 605, and identify whether the maximum voltage data in the all-phase voltage parameters of the current meter reading record is within the preset power-off state voltage threshold range; if so, take the first abnormal entry in the current list whose first abnormal type is the meter power-off abnormality as the corresponding current power-off entry, and add 1 to the first abnormal counter of the current power-off entry, and take the current switching time as the corresponding first abnormal time, and generate a corresponding first abnormal data according to the preset meter power-off abnormal data template, and form a corresponding first abnormal record with the obtained first abnormal time and the first abnormal data, and add it to the first abnormal record queue of the current power-off entry;
[0058] Step 606, and identify whether the maximum voltage data in the all-phase voltage parameters of the current meter reading record is within the preset power outage state voltage threshold range; if so, take the first abnormal entry in the current list whose first abnormal type is the meter power outage abnormality as the corresponding current power outage entry, and add 1 to the first abnormal counter of the current power outage entry, and take the current switching time as the corresponding first abnormal time, and generate a corresponding first abnormal data according to the preset meter power outage abnormal data template, and form a corresponding first abnormal record with the obtained first abnormal time and the first abnormal data, and add it to the first abnormal record queue of the current power outage entry;
[0059] Step 607, when the current phase type and the voltage phase type of the current meter reading record are both single-phase, the full-phase current parameters and the full-phase voltage parameters of the current meter reading record are identified; if the full-phase current parameters meet the preset current threshold range of the phase-out state and the full-phase voltage parameters meet the preset voltage threshold range of the phase-out state, the first abnormal entry in the current list whose first abnormal type is the meter phase-out abnormality is taken as the corresponding current phase-out entry, and the first abnormality counter of the current phase-out entry is increased by 1, and the current switching time is taken as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to the preset meter phase-out abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current phase-out entry;
[0060] Step 608, when the current phase type and the voltage phase type of the current meter reading record are both three-phase, the full-phase current parameters and the full-phase voltage parameters of the current meter reading record are identified; if one or more current data among the A, B, and C phase current data of the full-phase current parameters meet the current threshold range of the phase-out state and one or more voltage data among the A, B, and C phase voltage data of the full-phase voltage parameters meet the voltage threshold range of the phase-out state, then the first abnormal entry whose first abnormal type is the meter phase-out abnormality in the current list is taken as the corresponding current phase-out entry, and the first abnormality counter of the current phase-out entry is increased by 1, and the current switching time is taken as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to the meter phase-out abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current phase-out entry;
[0061] Step 609, and identify whether the first meter side cover opening state of the current meter reading record is cover opening; if so, take the first abnormal entry of the first abnormal type in the current list as the meter cover opening abnormality as the corresponding current cover opening entry, and add 1 to the first abnormal counter of the current cover opening entry, and take the current switch time as the corresponding first abnormal time, and generate a corresponding first abnormal data according to the preset meter cover opening abnormal data template, and form a corresponding first abnormal record with the obtained first abnormal time and the first abnormal data, and add it to the first abnormal record queue of the current cover opening entry;
[0062] Step 610, and identify whether the first meter-side clock battery state of the current meter reading record is lower than the preset normal working condition battery power percentage threshold; if so, take the first abnormal entry of the first abnormal type of the meter clock battery state abnormality in the current list as the corresponding current battery state entry, and add 1 to the first abnormal counter of the current battery state entry, and take the current switching time as the corresponding first abnormal time, and generate a corresponding first abnormal data according to the preset meter clock battery state abnormal data template, and form a corresponding first abnormal record with the obtained first abnormal time and the first abnormal data, and add it to the first abnormal record queue of the current battery state entry;
[0063] Step 611, and identify that the first meter-side data clearing state of the current meter reading record is clearing; if so, the first abnormal entry of the first abnormal type in the current list is the meter data clearing abnormality as the corresponding current clearing entry, and the first abnormal counter of the current clearing entry is increased by 1, and the current switching time is used as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to a preset meter data clearing abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current clearing entry;
[0064] Step 612, and identify the first meter-side electromagnetic interference state of the current meter reading record as being interfered; if so, the first abnormal entry in the current list whose first abnormal type is the meter magnetic field interference abnormality is taken as the corresponding current magnetic field interference entry, and the first abnormality counter of the current magnetic field interference entry is increased by 1, and the current switching time is taken as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to a preset meter magnetic field interference abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current magnetic field interference entry;
[0065] Step 613, and record the sending time of the first switch-side meter reading instruction of the current meter reading record as the first time, and record the receiving time of the first meter-side meter reading instruction as the second time, and compare the first and second times; if the first time is later than the second time, set the corresponding first comparison result as comparison abnormality; if the first time is not later than the second time but the time interval between the first and second times exceeds the preset maximum time interval threshold, set the corresponding first comparison result as comparison abnormality; if the first time is not later than the second time and the time interval between the first and second times does not exceed the maximum time interval threshold, set the corresponding first comparison result as comparison normal; and when the first comparison result is comparison abnormality, take the first abnormal entry whose first abnormality type is meter clock abnormality in the current list as the corresponding current clock entry, add 1 to the first abnormality counter of the current clock entry, take the current switch time as the corresponding first abnormal time, and generate a corresponding first abnormal data according to the preset meter clock abnormal data template, and form a corresponding first abnormal record with the obtained first abnormal time and the first abnormal data to add to the first abnormal record queue of the current clock entry;
[0066] Step 614, and use the second meter identifier of the current meter reading record as the corresponding current meter identifier; and use the first meter reading record in which the second meter identifier in the previous meter reading record set matches the current meter identifier as the corresponding previous meter reading record; and use the first meter-side electric energy measurement degrees of the previous and current meter reading records as the corresponding previous electric energy measurement degrees and current electric energy measurement degrees; and use the difference between the current electric energy measurement degree and the previous electric energy measurement degree as the corresponding first degree difference; and use the previous electric energy measurement degree and a preset The product of the flight multiple multiplied by the flight multiple is used as the corresponding current flight threshold, and the flight multiple is an integer greater than 1; and the first degree difference is identified; if the first degree difference is less than 0, the corresponding second comparison result is set to be metering decrease; if the first degree difference is 0, the corresponding second comparison result is set to be metering stop; if the first degree difference is greater than 0 and less than the current flight threshold, the corresponding second comparison result is set to be metering normal; if the first degree difference is greater than the current flight threshold, the corresponding second comparison result is set to be metering flight;
[0067] Step 615, when the second comparison result is metering decrease, the first abnormal entry in the current list whose first abnormal type is metering decrease abnormality is used as the corresponding current metering decrease entry, and the first abnormality counter of the current metering decrease entry is increased by 1, and the current switching time is used as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to a preset metering decrease abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data, and is added to the first abnormal record queue of the current metering decrease entry;
[0068] Step 616, when the second comparison result is metering stop and go, the first abnormal entry in the current list whose first abnormal type is metering stop and go abnormality is used as the corresponding current metering stop and go entry, and the first abnormality counter of the current metering stop and go entry is increased by 1, and the current switching time is used as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to a preset metering stop and go abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data, and is added to the first abnormal record queue of the current metering stop and go entry;
[0069] Step 617, when the second comparison result is metering flight away, the first abnormal entry in the current list whose first abnormality type is metering flight away abnormality is used as the corresponding current metering flight away entry, and the first abnormality counter of the current metering flight away entry is increased by 1, and the current switching time is used as the corresponding first abnormality time, and a corresponding first abnormality data is generated according to a preset metering flight away abnormality data template, and a corresponding first abnormality record is formed by the obtained first abnormality time and the first abnormality data and added to the first abnormality record queue of the current metering flight away entry;
[0070] Step 618, identifying whether the current meter reading record is the last of the first meter reading record in the current meter reading record set; if not, taking the next first meter reading record in the current meter reading record set as the new current meter reading record and returning to step 602; if so, ending the update operation of all the first abnormal event lists.
[0071] Preferably, the periodically reporting abnormal events to the first remote server according to all the first abnormal event lists based on the preset second time frequency specifically includes:
[0072] Step 71, the first intelligent switch periodically uses the first first abnormal event list as the corresponding current list based on the second time frequency;
[0073] Step 72, and using the first electric meter identifier in the current list as the corresponding current electric meter identifier;
[0074] Step 73, and perform a round of traversal for all the first abnormal items in the current list; and in this round of traversal, the first abnormal item currently traversed is used as the corresponding current abnormal item; and when the first reporting control state of the current abnormal item is required to be reported and the first reporting completion state is not completed, the first abnormal type of the current abnormal item is used as the corresponding current abnormal type, and the current switching time is used as the corresponding first reporting time, and the unique switch identifier stored in the local intelligent switch is extracted as the corresponding current switch identifier, and the current switch identifier, the current meter identifier and the current abnormal type are composed of a corresponding first reporting data, and a corresponding first reporting record composed of the obtained first reporting time and the first reporting data is added to the first reporting record queue corresponding to the current abnormal entry; and at the end of this round of traversal, it is identified whether the total number of all the first reporting records obtained in this round of traversal is 0, if not, a corresponding first electric meter abnormality list is composed of all the first reporting records obtained in this round of traversal and sent to the first remote service end, and when the sending is successful, the first reporting completion status of the first abnormal entry corresponding to each of the first reporting records obtained in this round of traversal in the current list is set to completed;
[0075] Step 74, identifying whether the current list is the last one of the first abnormal event lists; if not, taking the next one of the first abnormal event lists as the new current list and returning to step 72; if so, ending the abnormal event reporting operation.
[0076] Preferably, the periodically performing a counter clearing operation on all the first abnormal event lists based on a preset third time frequency specifically includes:
[0077] The first intelligent switch periodically performs a round of traversal of all the first abnormal entries in all the first abnormal event lists based on the third time frequency; and during this round of traversal, the first abnormal entry currently traversed is used as the corresponding current abnormal entry; and the first abnormal counter of the current abnormal entry is cleared; and when the first reporting control state of the current abnormal entry is that reporting is required, the corresponding first reporting completion state is reset to incomplete.
[0078] The embodiment of the present invention provides a method for an intelligent switch to handle abnormal events of a downstream electric energy meter. It can be seen from the above content that the intelligent switch of the embodiment of the present invention first initializes a corresponding abnormal event list for each downstream electric energy meter when the switch is started; and performs a closing operation on the switch device corresponding to each downstream electric energy meter; and during the operation of the switch, updates the corresponding abnormal event list based on the real-time detection data of the electrical parameter detection module corresponding to each downstream electric energy meter on the switch side; and regularly performs meter reading operations on all downstream electric energy meters to obtain the latest meter reading record set and save it, and updates all abnormal event lists based on the latest meter reading record set; and regularly reports abnormal events to the remote service end according to all abnormal event lists; and regularly clears the abnormal counters of all abnormal event lists. Through the embodiments of the present invention, various abnormal events (15 types of abnormal events, including meter overload abnormality, meter short circuit abnormality, meter overcurrent abnormality, meter pressure loss abnormality, meter phase failure abnormality, meter power failure abnormality, meter power outage abnormality, meter cover opening abnormality, meter clock battery status abnormality, meter clock abnormality, meter data clearing abnormality, meter magnetic field interference abnormality, meter meter metering stop abnormality, meter meter metering flyaway abnormality and meter meter metering drop abnormality) can be identified, recorded and reported on the intelligent switch side based on the local electrical parameter detection module and the locally stored meter reading data; through the embodiments of the present invention, the abnormal event identification work originally concentrated on the central server of the power monitoring network can be dispersed to each switch side for execution, which not only reduces the energy consumption of the central server, but also improves the real-time monitoring efficiency of the entire power monitoring network. BRIEF DESCRIPTION OF THE DRAWINGS
[0079] Figure 1 A schematic diagram of a method for a smart switch to handle abnormal events of a downstream electric energy meter provided by an embodiment of the present invention;
[0080] Figure 2 A schematic diagram of the connection relationship between the first smart switch, the first electric energy meter and the first remote service terminal provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0081] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0082] An embodiment of the present invention provides a method for a smart switch to handle abnormal events of a downstream electric energy meter, such as Figure 1A method for processing an abnormal event of a downstream electric energy meter by a smart switch provided in an embodiment of the present invention is shown in a schematic diagram, which mainly includes the following steps:
[0083] Step 1: When the first intelligent switch is started, a corresponding first abnormal event list is initialized for each first electric energy meter connected thereto; and a closing operation is performed on the first switch device corresponding to each first electric energy meter.
[0084] Here, the first intelligent switch of the embodiment of the present invention is a new type of switch / circuit breaker with increased software processing capability, data storage capability and data communication capability. The embedded operating system of the first intelligent switch is an embedded real-time operating system supporting time-sharing task scheduling, such as RTOS, FreeRTOS, etc.
[0085] The first intelligent switch of the embodiment of the present invention has one or more first switch devices and one or more first electrical parameter detection modules built in; wherein each first switch device is connected to a corresponding first electric energy meter through a corresponding power line; the first electrical parameter detection module corresponds one-to-one to the first switch device; each first electrical parameter detection module is used to detect the real-time current and real-time voltage passing through the corresponding first switch device.
[0086] The first intelligent switch of the embodiment of the present invention is connected to the first remote server through a data communication line via an HPLC communication method or a wireless radio frequency communication method; in addition, the first intelligent switch is also connected to each first electric energy meter through a serial communication method or a Bluetooth communication method. The connection relationship is as follows: Figure 2 The connection relationship diagram of the first intelligent switch, the first electric energy meter and the first remote server provided in the embodiment of the present invention is shown. The first remote server here is a remote module, device, terminal, equipment, server, system or platform, which can be a remote management module, device, terminal, equipment, server, system or platform in the power monitoring network in practical applications, such as a regional server or a central server.
[0087] The first abnormal event list of the embodiment of the present invention includes a first meter identifier and a plurality of first abnormal entries; wherein,
[0088] The first electric meter identifier is a unique identifier of the corresponding first electric energy meter;
[0089] The first abnormal entry includes a first abnormal type, a first abnormal counter, a first abnormal reporting control parameter group, a first abnormal record queue and a first reporting record queue; wherein,
[0090] The first abnormality type includes meter overload abnormality, meter short circuit abnormality, meter overcurrent abnormality, meter voltage loss abnormality, meter phase failure abnormality, meter power failure abnormality, meter power outage abnormality, meter cover opening abnormality, meter clock battery status abnormality, meter clock abnormality, meter data clearing abnormality, meter magnetic field interference abnormality, meter meter measurement stop abnormality, meter meter measurement flight abnormality and meter measurement drop abnormality;
[0091] The first exception counter is used to count the number of records of the corresponding exception; the first exception counter is set to 0 when initialized and is cleared periodically;
[0092] The first abnormal reporting control parameter group includes a first reporting control state and a first reporting completion state; the first reporting control state includes reporting required and reporting not required; when the first reporting control state is reporting required, the corresponding first reporting completion state includes completed and incomplete, and is set to incomplete during initialization, and is reset to incomplete periodically; when the first reporting control state is reporting not required, the corresponding first reporting completion state is set to empty during initialization;
[0093] The first exception record queue is a first-in-first-out circular queue, which is composed of a first preset number of first exception records; each first exception record is composed of a corresponding first exception time and first exception data; the first preset number is a preset positive integer; the first exception record queue is set to an empty queue when initialized;
[0094] The first reporting record queue is a first-in-first-out circular queue, which is composed of a second preset number of first reporting records; each first reporting record is composed of a corresponding first reporting time and first reporting data; the second preset number is a pre-set positive integer; the first reporting record queue is set to an empty queue during initialization.
[0095] Step 2: During the operation of the switch, the first intelligent switch updates the corresponding first abnormal event list based on the real-time detection data of each first electrical parameter detection module;
[0096] Specifically, it includes: step 21, the first intelligent switch monitors the real-time current detection data of each first electrical parameter detection module in real time;
[0097] Step 22, when the real-time current detection data of any first electrical parameter detection module exceeds the preset overload current threshold but does not exceed the preset short-circuit current threshold, the first abnormal entry with the first abnormal type of meter overload abnormality in the first abnormal event list corresponding to the current first electrical parameter detection module is used as the corresponding current abnormal entry; and the first abnormal counter of the current abnormal entry is increased by 1; and the current switching time is used as the corresponding first abnormal time; and a corresponding first abnormal data is generated according to the preset meter overload abnormal data template; and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current abnormal entry;
[0098] Here, the overload current threshold and the short-circuit current threshold are two preset current thresholds, and the overload current threshold is less than the short-circuit current threshold; these two current thresholds can be set according to specific application requirements;
[0099] Step 23, when the real-time current detection data of any first electrical parameter detection module exceeds the short-circuit current threshold, the first switching device corresponding to the current first electrical parameter detection module is tripped; and the first abnormal entry with the first abnormal type of the electric meter short-circuit abnormality in the first abnormal event list corresponding to the current first electrical parameter detection module is used as the corresponding current abnormal entry; and the first abnormal counter of the current abnormal entry is increased by 1; and the current switching time is used as the corresponding first abnormal time; and a corresponding first abnormal data is generated according to the preset electric meter short-circuit abnormal data template; and a corresponding first abnormal record composed of the obtained first abnormal time and the first abnormal data is added to the first abnormal record queue of the current abnormal entry.
[0100] Step 3: During the operation of the switch, the first intelligent switch periodically reads all first electric energy meters based on a preset first time frequency to obtain and save the latest first meter reading record set; and updates all first abnormal event lists based on the latest first meter reading record set;
[0101] Specifically, it includes: step 31, during the switch operation process, the first intelligent switch periodically reads all first electric energy meters based on a preset first time frequency to obtain the latest first meter reading record set and save it;
[0102] The first time frequency is a preset frequency parameter, which can be set according to specific application requirements;
[0103] The first meter reading record set includes a plurality of first meter reading records;
[0104] The first meter reading record corresponds one-to-one to the first electric energy meter connected to the first intelligent switch;
[0105] The first meter reading record includes the second meter identification, the first switch side meter reading instruction sending time, the first meter side meter reading instruction receiving time, the first meter side meter reading data sending time, the first meter side current parameter group, the first meter side voltage parameter group, the first meter side electric energy metering degree, the first meter side cover opening state, the first meter side clock battery state, the first meter side data clearing state and the first meter side electromagnetic interference state;
[0106] The second electric energy meter identifier is the unique identifier of the corresponding first electric energy meter;
[0107] The first switch side meter reading instruction sending time is the instruction sending time carried in the first meter reading instruction sent by the first intelligent switch to the corresponding first electric energy meter; here, the first meter reading instruction is an instruction information pre-agreed between the first intelligent switch and each first electric energy meter, and the format of the instruction information can be set according to specific application requirements, but the instruction sending time must be included therein;
[0108] The first meter-side meter reading instruction reception time is the instruction reception time obtained based on the local timer when the corresponding first electric energy meter receives the first meter reading instruction sent by the first intelligent switch; here, in the embodiment of the present invention, both the first intelligent switch and each first electric energy meter have a timing module or device with a battery power supply, and the timing module or device is called a local timer, and the local timer is used to provide a timing function for the switch or electric energy meter;
[0109] The first meter-side meter reading data sending time is the instruction sending time obtained based on the local timer before the corresponding first electric energy meter sends the current first meter reading record to the first intelligent switch;
[0110] The first meter-side current parameter group includes current phase type and full-phase current parameter; the current phase type includes single-phase and three-phase types; when the current phase type is single-phase, the corresponding full-phase current parameter is a corresponding single-phase current data; when the current phase type is three-phase, the corresponding full-phase current parameter includes A-phase current data, B-phase current data and C-phase current data;
[0111] The first meter-side voltage parameter group includes voltage phase type and full-phase voltage parameters; the voltage phase type includes single-phase and three-phase types; the voltage phase type is consistent with the current phase type; when the voltage phase type is single-phase, the corresponding full-phase voltage parameter is a corresponding single-phase voltage data; when the voltage phase type is three-phase, the corresponding full-phase voltage parameter includes A-phase voltage data, B-phase voltage data and C-phase voltage data;
[0112] The first meter-side electric energy metering degree is an electric energy metering degree, which is also commonly known as the accumulated electric energy consumption degree;
[0113] The first meter side cover opening state includes open cover and unopen cover; when the first meter side cover opening state is open cover, it indicates that the corresponding first electric energy meter is currently opened by external force; when the first meter side cover opening state is unopen cover, it indicates that the corresponding first electric energy meter is currently not opened by external force;
[0114] The first meter-side clock battery status is the remaining power percentage of the battery of the local timer of the corresponding first electric energy meter;
[0115] The first meter side data clearing state includes clearing and not clearing; when the first meter side data clearing state is clearing, it means that the local meter reading backup data of the corresponding first electric energy meter has been completely deleted; when the first meter side data clearing state is not clearing, it means that the local meter reading backup data of the corresponding first electric energy meter has not been completely deleted;
[0116] The first meter-side electromagnetic interference state includes being interfered with and not being interfered with; when the first meter-side electromagnetic interference state is being interfered with, it indicates that the corresponding first electric energy meter is currently being interfered with by external electromagnetic interference; when the first meter-side electromagnetic interference state is not being interfered with, it indicates that the corresponding first electric energy meter is currently not being interfered with by external electromagnetic interference;
[0117] The current step 31 specifically includes: the first intelligent switch periodically sends a first meter reading instruction with the instruction sending time to all first electric energy meters connected to it based on the first time frequency; and receives the first meter reading record sent back by each first electric energy meter; and forms the latest first meter reading record set from all the obtained first meter reading records and saves it;
[0118] It should be noted that the operation steps of each first electric energy meter in the embodiment of the present invention after receiving the first meter reading instruction are shown in the following steps A1-A11:
[0119] Step A1, when receiving the first meter reading instruction, each first electric energy meter obtains the current local timing time through the local timer as the corresponding first meter-side meter reading instruction reception time; and extracts the corresponding instruction sending time from the first meter reading instruction as the corresponding first switch-side meter reading instruction sending time;
[0120] Step A2, and using the electric energy meter identification data stored locally in the electric energy meter as the corresponding second electric energy meter identification;
[0121] Step A3, and setting a corresponding current phase type based on the single-phase or three-phase phase characteristics of the local current of the electric energy meter; and calculating the average current data of the local single-phase current or three-phase current of the electric energy meter in the most recent first time period based on the current phase type and setting the corresponding full-phase current parameter based on the calculation result; and forming a corresponding first meter-side current parameter group with the obtained current phase type and full-phase current parameters;
[0122] Here, the first time period is a preset time length, which can be set according to actual application requirements; each first electric energy meter in the embodiment of the present invention can regularly perform real-time detection of the local single-phase current or three-phase current of the electric energy meter, and store the detection results. When calculating the average current data in the most recent first time period, the corresponding average current data can be obtained by performing mean calculation based on all real-time detection results stored in the most recent first time period;
[0123] Step A4, and setting a corresponding voltage phase type based on the single-phase or three-phase phase characteristics of the local voltage of the electric energy meter; and calculating the average voltage data of the local single-phase voltage or three-phase voltage of the electric energy meter in the most recent first time period based on the voltage phase type and setting the corresponding full-phase voltage parameters based on the calculation result; and forming a corresponding first meter-side voltage parameter group with the obtained voltage phase type and full-phase voltage parameters;
[0124] Here, each first electric energy meter of the embodiment of the present invention can regularly perform real-time detection of the local single-phase voltage or three-phase voltage of the electric energy meter, and store the detection results. When calculating the average voltage data in the most recent first period, the corresponding average voltage data can be obtained by performing mean calculation based on all the real-time detection results stored in the most recent first period;
[0125] Step A5, and taking the latest local electric energy meter reading as the corresponding first meter-side electric energy meter reading;
[0126] Step A6, identifying the current cover opening state of the electric energy meter, if the cover is currently opened by external force, setting the corresponding first meter side cover opening state to open cover, if the cover is not currently opened by external force, setting the corresponding first meter side cover opening state to unopened cover;
[0127] Here, each first electric energy meter of the embodiment of the present invention can be provided with a mechanical or electronic sensing module or device on the housing of the electric energy meter, and the sensing module or device can set a corresponding broken state on a storage medium of the electric energy meter when the housing of the electric energy meter is broken by external force, and the sensing module or device can also switch the above-mentioned broken state back to the closed state when the housing of the electric energy meter is closed; and the first electric energy meter identifies the current open cover state of the electric energy meter through the broken / return closed state on the storage medium;
[0128] Step A7, identifying the remaining power percentage of the local timer's own battery to obtain the corresponding current remaining power percentage; and using the current remaining power percentage as the corresponding first watch-side clock battery status;
[0129] Here, each first electric energy meter in the embodiment of the present invention provides a corresponding remaining power percentage query interface for the battery component of the local timer, through which the corresponding remaining power percentage can be obtained;
[0130] Step A8, identifying whether the meter reading data backed up locally by the electric energy meter has been completely deleted, if so, setting the corresponding first meter side data clearing state to cleared, if not, setting the corresponding first meter side data clearing state to not cleared;
[0131] Here, each first electric energy meter in the embodiment of the present invention will plan a storage area on the internal storage medium for storing the backup meter reading data, and will provide a format difference between the valid storage data and the invalid storage data. If the first electric energy meter finds that the data format of the data stored in the storage area is an invalid data format, it can be confirmed that the local backup meter reading data has been completely deleted, otherwise it can be confirmed that the local backup meter reading data has not been completely deleted;
[0132] Step A9, identifying whether the electric energy meter is currently subjected to external electromagnetic interference, if so, setting the corresponding first meter-side electromagnetic interference state to be interfered with, otherwise setting the corresponding first meter-side electromagnetic interference state to be not interfered with;
[0133] Here, each first electric energy meter of the embodiment of the present invention can be equipped with a mechanical or electronic electromagnetic induction module or device in the electric energy meter, and the electromagnetic induction module or device can generate a corresponding induced current when the electric energy meter is subjected to continuous magnetic field interference; and the first electric energy meter determines whether the electric energy meter is currently subjected to external electromagnetic interference by identifying the induced current output by the electromagnetic induction module or device;
[0134] Step A10, and obtaining the latest local timing time through the local timer as the corresponding first meter side meter reading data sending time;
[0135] Step A11, a first meter reading record corresponding to the obtained second meter identifier, the first switch side meter reading instruction sending time, the first meter side meter reading instruction receiving time, the first meter side meter reading data sending time, the first meter side current parameter group, the first meter side voltage parameter group, the first meter side electric energy metering degree, the first meter side cover opening state, the first meter side clock battery state, the first meter side data clearing state and the first meter side electromagnetic interference state is formed and sent back to the first smart switch;
[0136] Step 32, updating all first abnormal event lists based on the latest first meter reading record set;
[0137] Step 3201, the first intelligent switch records the latest first meter reading record set as the corresponding current meter reading record set; and records the previous first meter reading record set corresponding to the current meter reading record set as the corresponding previous meter reading record set; and records the first first meter reading record in the current meter reading record set as the corresponding current meter reading record;
[0138] Step 3202, and taking the first abnormal event list corresponding to the current meter reading record as the corresponding current list;
[0139] Step 3203, and identify whether the maximum current data in the full-phase current parameters of the current meter reading record is within the preset overcurrent state current threshold range; if so, the first abnormal entry with the first abnormal type of the current list as the meter overcurrent abnormality is taken as the corresponding current overcurrent entry, and the first abnormal counter of the current overcurrent entry is increased by 1, and the current switching time is taken as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to the preset meter overcurrent abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current overcurrent entry;
[0140] Here, the overcurrent state current threshold range is a current value range composed of a set of corresponding maximum and minimum current thresholds, and the set of maximum and minimum current thresholds can be set according to actual application requirements, for example, it is set to a current value range greater than the rated current threshold and less than the short-circuit current threshold, and the rated current threshold in the text is the rated current of the corresponding electric energy meter; the meter overcurrent abnormal data template is a pre-set formatted data template, which can be set according to actual application requirements;
[0141] Step 3204, and identify whether the maximum voltage data in the full-phase voltage parameters of the current meter reading record is within the preset voltage threshold range of the voltage loss state; if so, the first abnormal entry with the first abnormal type of the electric meter pressure loss abnormality in the current list is taken as the corresponding current pressure loss entry, and the first abnormal counter of the current pressure loss entry is increased by 1, and the current switching time is taken as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to the preset electric meter pressure loss abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current pressure loss entry;
[0142] Here, the voltage threshold range of the voltage loss state is a voltage value range composed of a group of corresponding maximum and minimum voltage thresholds, and the group of maximum and minimum voltage thresholds can be set according to actual application requirements, for example, it is set to a voltage value range between 0.78*rated voltage threshold and 0.85*rated voltage threshold, and the rated voltage threshold in the text is the rated voltage of the corresponding electric energy meter; the meter voltage loss abnormal data template is a pre-set formatted data template, which can be set according to actual application requirements;
[0143] Step 3205, and identify whether the maximum voltage data in the full-phase voltage parameters of the current meter reading record is within the preset power-off state voltage threshold range; if so, the first abnormal entry with the first abnormal type of the current list as the meter power-off abnormality is taken as the corresponding current power-off entry, and the first abnormal counter of the current power-off entry is increased by 1, and the current switching time is taken as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to the preset meter power-off abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current power-off entry;
[0144] Here, the power-off state voltage threshold range is a voltage value range composed of a group of corresponding maximum and minimum voltage thresholds, and the group of maximum and minimum voltage thresholds can be set according to actual application requirements, for example, it is set to a voltage value range between 0.05*rated voltage threshold and the critical voltage of the electric energy meter (for example, 0.6*rated voltage threshold); the electric energy meter power-off abnormal data template is a pre-set formatted data template, which can be set according to actual application requirements;
[0145] Step 3206, and identify whether the maximum voltage data in the full-phase voltage parameters of the current meter reading record is within the preset power outage voltage threshold range; if so, the first abnormal entry with the first abnormal type of the electric meter power outage abnormality in the current list is taken as the corresponding current power outage entry, and the first abnormal counter of the current power outage entry is increased by 1, and the current switching time is taken as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to the preset electric meter power outage abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current power outage entry;
[0146] Here, the power outage state voltage threshold range is a voltage value range composed of a group of corresponding maximum and minimum voltage thresholds, and the group of maximum and minimum voltage thresholds can be set according to actual application requirements, for example, it is set to a voltage value range between 0 and 0.05*rated voltage threshold; the meter power outage abnormal data template is a pre-set formatted data template, which can be set according to actual application requirements;
[0147] Step 3207, when the current phase type and the voltage phase type of the current meter reading record are both single-phase, the full-phase current parameters and the full-phase voltage parameters of the current meter reading record are identified; if the full-phase current parameters meet the preset current threshold range of the phase-out state and the full-phase voltage parameters meet the preset voltage threshold range of the phase-out state, the first abnormal entry with the first abnormal type of the electric meter phase-out abnormality in the current list is taken as the corresponding current phase-out entry, and the first abnormal counter of the current phase-out entry is increased by 1, and the current switching time is taken as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to the preset electric meter phase-out abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current phase-out entry;
[0148] Here, the current threshold range of the phase failure state is a current value range composed of a group of corresponding maximum and minimum current thresholds, and the group of maximum and minimum current thresholds can be set according to actual application requirements, for example, it is set to a current value range between 0 and the starting current of the electric energy meter (for example, 0.6*rated current threshold); the voltage threshold range of the phase failure state is a voltage value range composed of a group of corresponding maximum and minimum voltage thresholds, and the group of maximum and minimum voltage thresholds can be set according to actual application requirements, for example, it is set to a voltage value range between 0 and the critical voltage of the electric energy meter (for example, 0.6*rated voltage threshold); the electric meter phase failure abnormal data template is a pre-set formatted data template, which can be set according to actual application requirements;
[0149] Step 3208, when the current phase type and voltage phase type of the current meter reading record are both three-phase, identify the full-phase current parameters and full-phase voltage parameters of the current meter reading record; if one or more current data of the A, B, and C phase current data of the full-phase current parameters meet the current threshold range of the phase-out state and one or more voltage data of the A, B, and C phase voltage data of the full-phase voltage parameters meet the voltage threshold range of the phase-out state, then the first abnormal entry with the first abnormal type of the electric meter phase-out abnormality in the current list is taken as the corresponding current phase-out entry, and the first abnormal counter of the current phase-out entry is increased by 1, and the current switching time is taken as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to the electric meter phase-out abnormal data template, and a corresponding first abnormal record composed of the obtained first abnormal time and the first abnormal data is added to the first abnormal record queue of the current phase-out entry;
[0150] Step 3209, and identify whether the first meter side cover opening state of the current meter reading record is cover opening; if so, take the first abnormal entry of the current list with the first abnormal type of the meter cover opening abnormality as the corresponding current cover opening entry, and add 1 to the first abnormal counter of the current cover opening entry, and take the current switch time as the corresponding first abnormal time, and generate a corresponding first abnormal data according to the preset meter cover opening abnormal data template, and form a corresponding first abnormal record with the obtained first abnormal time and the first abnormal data, and add it to the first abnormal record queue of the current cover opening entry;
[0151] Here, the meter cover opening abnormal data template is a pre-set formatted data template, which can be set according to actual application requirements;
[0152] Step 3210, and identify whether the first meter-side clock battery state of the current meter reading record is lower than the preset normal working condition battery power percentage threshold; if so, the first abnormal entry with the first abnormal type of the meter clock battery state abnormality in the current list is used as the corresponding current battery state entry, and the first abnormal counter of the current battery state entry is increased by 1, and the current switching time is used as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to the preset meter clock battery state abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current battery state entry;
[0153] Here, the normal working condition battery power percentage threshold is a preset percentage value, which can be set according to actual application requirements; the meter clock battery status abnormal data template is a pre-set formatted data template, which can be set according to actual application requirements;
[0154] Step 3211, and identify that the first meter-side data clearing state of the current meter reading record is clearing; if so, the first abnormal entry with the first abnormal type of the current list as the meter data clearing abnormality is taken as the corresponding current clearing entry, and the first abnormal counter of the current clearing entry is increased by 1, and the current switching time is taken as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to the preset meter data clearing abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current clearing entry;
[0155] Here, the meter data clearing abnormal data template is a pre-set formatted data template, which can be set according to actual application requirements;
[0156] Step 3212, and identify the first meter-side electromagnetic interference state of the current meter reading record as being interfered; if so, the first abnormal entry in the current list whose first abnormal type is the meter magnetic field interference abnormality is taken as the corresponding current magnetic field interference entry, and the first abnormal counter of the current magnetic field interference entry is increased by 1, and the current switching time is taken as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to the preset meter magnetic field interference abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current magnetic field interference entry;
[0157] Here, the meter magnetic field interference abnormal data template is a pre-set formatted data template, which can be set according to actual application requirements;
[0158] Step 3213, and record the sending time of the first switch side meter reading instruction of the current meter reading record as the first time, and record the receiving time of the first meter side meter reading instruction as the second time, and compare the first and second times; if the first time is later than the second time, set the corresponding first comparison result as comparison abnormality; if the first time is not later than the second time but the time interval between the first and second times exceeds the preset maximum time interval threshold, set the corresponding first comparison result as comparison abnormality; if the first time is not later than the second time and the time interval between the first and second times does not exceed the maximum time interval threshold, set the corresponding first comparison result as comparison normal; and when the first comparison result is comparison abnormality, take the first abnormal entry with the first abnormal type of meter clock abnormality in the current list as the corresponding current clock entry, add 1 to the first abnormal counter of the current clock entry, take the current switch time as the corresponding first abnormal time, and generate a corresponding first abnormal data according to the preset meter clock abnormal data template, and form a corresponding first abnormal record with the obtained first abnormal time and the first abnormal data to add to the first abnormal record queue of the current clock entry;
[0159] Here, the first comparison result includes two states: abnormal comparison and normal comparison; when the first comparison result is abnormal comparison, it means that there is an obvious difference in the timing time difference between the local timer on the electric energy meter side and the local timer on the smart switch side, which should not happen under normal circumstances; the maximum time interval threshold is a preset time length, which can be set according to actual application requirements; the meter clock abnormal data template is a preset formatted data template, which can be set according to actual application requirements;
[0160] Step 3214, and use the second meter identifier of the current meter reading record as the corresponding current meter identifier; and use the first meter reading record in the previous meter reading record set whose second meter identifier matches the current meter identifier as the corresponding previous meter reading record; and use the first meter-side electric energy metering degrees of the previous and current meter reading records as the corresponding previous electric energy metering degrees and current electric energy metering degrees; and use the difference between the current electric energy metering degree and the previous electric energy metering degree as the corresponding first degree difference; and use the product of the previous electric energy metering degree and a preset flight away multiple as the corresponding current flight away threshold; and identify the first degree difference; if the first degree difference is less than 0, set the corresponding second comparison result as metering decrease; if the first degree difference is 0, set the corresponding second comparison result as metering stop; if the first degree difference is greater than 0 and less than the current flight away threshold, set the corresponding second comparison result as metering normal; if the first degree difference is greater than the current flight away threshold, set the corresponding second comparison result as metering flight away;
[0161] Here, the fly-away multiple is a pre-set integer value greater than 1, and the specific value can be set according to the actual application requirements; the second comparison result includes four states: metering decrease, metering stop, metering fly-away and metering normal; when the second comparison result is metering decrease, it means that the cumulative electricity metering degree of the electric energy meter is smaller than the cumulative electricity metering degree of the last statistics, that is, the cumulative electricity metering degree of the electric energy meter is decreasing, which will never happen under normal circumstances; when the second comparison result is metering stop, it means that the cumulative electricity metering degree of the electric energy meter is the same as the cumulative electricity metering degree of the last statistics, that is, the cumulative electricity metering degree of the electric energy meter has not changed, which is unlikely to happen under normal circumstances; when the second comparison result is metering fly-away, it means that the cumulative electricity metering degree of the electric energy meter is far more than N times the cumulative electricity metering degree of the last statistics (N=fly-away multiple>1), which is also unlikely to happen under normal circumstances;
[0162] Step 3215, when the second comparison result is metering decrease, the first abnormal entry in the current list whose first abnormal type is metering decrease abnormality is used as the corresponding current metering decrease entry, and the first abnormal counter of the current metering decrease entry is increased by 1, and the current switching time is used as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to a preset metering decrease abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current metering decrease entry;
[0163] Here, the meter measurement drop abnormal data template is a pre-set formatted data template, which can be set according to actual application requirements;
[0164] Step 3216, when the second comparison result is metering stop and go, the first abnormal entry with the first abnormal type of the current list being the metering stop and go abnormality is used as the corresponding current metering stop and go entry, and the first abnormal counter of the current metering stop and go entry is increased by 1, and the current switching time is used as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to a preset metering stop and go abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current metering stop and go entry;
[0165] Here, the meter measurement stop and go abnormal data template is a pre-set formatted data template, which can be set according to actual application requirements;
[0166] Step 3217, when the second comparison result is metering flight away, the first abnormal entry of the first abnormal type in the current list is the metering flight away abnormality as the corresponding current metering flight away entry, and the first abnormal counter of the current metering flight away entry is increased by 1, and the current switching time is used as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to the preset metering flight away abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data, and is added to the first abnormal record queue of the current metering flight away entry;
[0167] Here, the meter measurement flyaway abnormal data template is a pre-set formatted data template, which can be set according to actual application requirements;
[0168] Step 3218, identify whether the current meter reading record is the last first meter reading record of the current meter reading record set; if not, take the next first meter reading record of the current meter reading record set as the new current meter reading record and return to step 3202; if so, end the update operation of all first abnormal event lists.
[0169] Step 4: During the switch operation, the first intelligent switch periodically reports abnormal events to the first remote server according to all first abnormal event lists based on a preset second time frequency;
[0170] The second time frequency is a preset frequency parameter, which can be set according to specific application requirements; it should be noted that the second time frequency < the first time frequency;
[0171] Specifically, it includes: step 41, the first intelligent switch periodically uses the first first abnormal event list as the corresponding current list based on the second time frequency;
[0172] Step 42, and taking the first meter identifier in the current list as the corresponding current meter identifier;
[0173] Step 43, and perform a round of traversal for all the first abnormal items in the current list; and in this round of traversal, the first abnormal item currently traversed is used as the corresponding current abnormal item; and when the first reporting control state of the current abnormal item is that reporting is required and the first reporting completion state is incomplete, the first abnormal type of the current abnormal item is used as the corresponding current abnormal type, and the current switching time is used as the corresponding first reporting time, and the unique switch identifier stored locally in the intelligent switch is extracted as the corresponding current switch identifier, and the current switch identifier, the current meter identifier and the current abnormal type form a corresponding first reporting data, and the obtained first reporting time and the first reporting data form a corresponding first reporting record and add it to the first reporting record queue corresponding to the current abnormal item; and at the end of this round of traversal, it is identified whether the total number of all the first reporting records obtained in this round of traversal is 0, if not, all the first reporting records obtained in this round of traversal form a corresponding first meter abnormal list and send it to the first remote server, and when the sending is successful, the first reporting completion state of the first abnormal items in the current list corresponding to each first reporting record obtained in this round of traversal is set to completed;
[0174] Step 44, identifying whether the current list is the last first abnormal event list; if not, taking the next first abnormal event list as the new current list and returning to step 42; if so, ending the abnormal event reporting operation.
[0175] Step 5: During the switch operation, the first intelligent switch periodically clears the counters of all first abnormal event lists based on a preset third time frequency;
[0176] The third time frequency is a preset frequency parameter, which can be set according to specific application requirements; it should be noted that the third time frequency < the second time frequency < the first time frequency;
[0177] Specifically, it includes: the first intelligent switch periodically traverses all first abnormal items in all first abnormal event lists based on a third time frequency; and during this round of traversal, the currently traversed first abnormal item is used as the corresponding current abnormal item; and the first abnormal counter of the current abnormal item is cleared; and when the first reporting control state of the current abnormal item is that reporting is required, the corresponding first reporting completion state is reset to incomplete.
[0178] In summary, the embodiment of the present invention provides a method for an intelligent switch to handle abnormal events of downstream electric energy meters. It can be seen from the above content that the intelligent switch of the embodiment of the present invention first initializes a corresponding abnormal event list for each downstream electric energy meter when the switch is started; and performs a closing operation on the switch device corresponding to each downstream electric energy meter; and during the operation of the switch, the corresponding abnormal event list is updated based on the real-time detection data of the electrical parameter detection module corresponding to each downstream electric energy meter on the switch side; and the meter reading operation is performed regularly on all downstream electric energy meters to obtain the latest meter reading record set and save it, and all abnormal event lists are updated based on the latest meter reading record set; and abnormal events are regularly reported to the remote service end according to all abnormal event lists; and the abnormal counters of all abnormal event lists are regularly cleared. Through the embodiments of the present invention, various abnormal events (15 types of abnormal events, including meter overload abnormality, meter short circuit abnormality, meter overcurrent abnormality, meter pressure loss abnormality, meter phase failure abnormality, meter power failure abnormality, meter power outage abnormality, meter cover opening abnormality, meter clock battery status abnormality, meter clock abnormality, meter data clearing abnormality, meter magnetic field interference abnormality, meter meter metering stop abnormality, meter meter metering flyaway abnormality and meter meter metering drop abnormality) can be identified, recorded and reported on the intelligent switch side based on the local electrical parameter detection module and the locally stored meter reading data; through the embodiments of the present invention, the abnormal event identification work originally concentrated on the central server of the power monitoring network can be dispersed to each switch side for execution, which not only reduces the energy consumption of the central server, but also improves the real-time monitoring efficiency of the entire power monitoring network.
[0179] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0180] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0181] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for processing abnormal events of a downstream electric energy meter by an intelligent switch, characterized in that: The method comprises: When the first intelligent switch is started, a corresponding first abnormal event list is initialized for each first electric energy meter connected thereto; and a first switch device corresponding to each first electric energy meter is closed; the first intelligent switch has one or more first switch devices and one or more first electrical parameter detection modules built in, each of the first switch devices is connected to a corresponding first electric energy meter through a corresponding power line, the first electrical parameter detection module corresponds to the first switch device one by one, and each of the first electrical parameter detection modules is used to detect the real-time current and real-time voltage passing through the corresponding first switch device; the first intelligent switch is connected to the first remote service end through a data communication line through an HPLC communication method or a wireless radio frequency communication method; the first intelligent switch is connected to each of the first electric energy meters through a serial communication method or a Bluetooth communication method; During the operation of the switch, the first intelligent switch updates the corresponding first abnormal event list based on the real-time detection data of each first electrical parameter detection module; During the operation of the switch, the first intelligent switch periodically reads all the first electric energy meters based on a preset first time frequency to obtain and save the latest first meter reading record set; and updates all the first abnormal event lists based on the latest first meter reading record set; During the operation of the switch, the first intelligent switch periodically reports abnormal events to the first remote server according to all the first abnormal event lists based on a preset second time frequency; During the operation of the switch, the first intelligent switch periodically clears the counters of all the first abnormal event lists based on a preset third time frequency.
2. The method for processing abnormal events of the downstream electric energy meter by the intelligent switch according to claim 1 is characterized in that: The first abnormal event list includes a first electricity meter identifier and a plurality of first abnormal items; The first electric meter identifier is a unique identifier of the corresponding first electric energy meter; The first exception entry includes a first exception type, a first exception counter, a first exception reporting control parameter group, a first exception record queue and a first reporting record queue; The first abnormality type includes meter overload abnormality, meter short circuit abnormality, meter overcurrent abnormality, meter pressure loss abnormality, meter phase failure abnormality, meter power failure abnormality, meter power outage abnormality, meter cover opening abnormality, meter clock battery status abnormality, meter clock abnormality, meter data clearing abnormality, meter magnetic field interference abnormality, meter meter measurement stop abnormality, meter meter measurement flight abnormality and meter measurement drop abnormality; The first exception counter is used to count the number of records of the corresponding exception; the first exception counter is set to 0 when initialized and is cleared regularly; The first abnormal reporting control parameter group includes a first reporting control state and a first reporting completion state; the first reporting control state includes reporting required and reporting not required; when the first reporting control state is reporting required, the corresponding first reporting completion state includes completed and incomplete and is set to incomplete at initialization and reset to incomplete periodically; when the first reporting control state is reporting not required, the corresponding first reporting completion state is set to empty at initialization; The first exception record queue is a first-in-first-out circular queue, which is composed of a first preset number of first exception records; each of the first exception records is composed of a corresponding first exception time and first exception data; the first preset number is a preset positive integer; the first exception record queue is set to an empty queue when initialized; The first reporting record queue is a first-in-first-out circular queue, which is composed of a second preset number of first reporting records; each of the first reporting records is composed of a corresponding first reporting time and first reporting data; the second preset number is a preset positive integer; the first reporting record queue is set to an empty queue when initialized; The first meter reading record set includes a plurality of first meter reading records; The first meter reading record corresponds one-to-one to the first electric energy meter connected to the first intelligent switch; The first meter reading record includes the second meter identification, the first switch side meter reading instruction sending time, the first meter side meter reading instruction receiving time, the first meter side meter reading data sending time, the first meter side current parameter group, the first meter side voltage parameter group, the first meter side electric energy metering degree, the first meter side cover opening state, the first meter side clock battery state, the first meter side data clearing state and the first meter side electromagnetic interference state; The second electric energy meter identifier is a unique identifier of the corresponding first electric energy meter; The first switch-side meter reading instruction sending time is the instruction sending time carried in the first meter reading instruction sent by the first intelligent switch to the corresponding first electric energy meter; The first meter-side meter reading instruction reception time is the instruction reception time obtained based on the local timer when the corresponding first electric energy meter receives the first meter reading instruction sent by the first intelligent switch; The first meter-side meter reading data sending time is the instruction sending time obtained based on the local timer before the first electric energy meter sends the current first meter reading record to the first intelligent switch; the local timer is a timing module or device with a battery on the first electric energy meter; The first meter-side current parameter group includes current phase type and full-phase current parameters; the current phase type includes single-phase and three-phase types; when the current phase type is single-phase, the corresponding full-phase current parameter is a corresponding single-phase current data; when the current phase type is three-phase, the corresponding full-phase current parameter includes A-phase current data, B-phase current data and C-phase current data; The first meter-side voltage parameter group includes a voltage phase type and a full-phase voltage parameter; the voltage phase type includes two types: single-phase and three-phase; the voltage phase type is consistent with the current phase type; when the voltage phase type is single-phase, the corresponding full-phase voltage parameter is a corresponding single-phase voltage data; when the voltage phase type is three-phase, the corresponding full-phase voltage parameter includes A-phase voltage data, B-phase voltage data and C-phase voltage data; The first meter-side electric energy measurement degree is one electric energy measurement degree; The first meter side cover opening state includes open cover and unopen cover; when the first meter side cover opening state is open cover, it indicates that the corresponding first electric energy meter is currently opened by external force; when the first meter side cover opening state is unopen cover, it indicates that the corresponding first electric energy meter is currently not opened by external force; The first meter-side clock battery status is the remaining power percentage of the built-in battery of the local timer of the corresponding first electric energy meter; The first meter side data clearing state includes clearing and not clearing; when the first meter side data clearing state is clearing, it means that the local meter reading backup data of the corresponding first electric energy meter has been completely deleted; when the first meter side data clearing state is not clearing, it means that the local meter reading backup data of the corresponding first electric energy meter has not been completely deleted; The first meter-side electromagnetic interference state includes interference and non-interference; when the first meter-side electromagnetic interference state is interference, it indicates that the corresponding first electric energy meter is currently subject to external electromagnetic interference; When the first meter-side electromagnetic interference state is not interfered with, it indicates that the corresponding first electric energy meter is not currently subject to external electromagnetic interference.
3. The method for processing abnormal events of the downstream electric energy meter by the intelligent switch according to claim 2 is characterized in that: The updating of the corresponding first abnormal event list based on the real-time detection data of each first electrical parameter detection module specifically includes: The first intelligent switch monitors the real-time current detection data of each first electrical parameter detection module in real time; When the real-time current detection data of any of the first electrical parameter detection modules exceeds a preset overload current threshold value but does not exceed a preset short-circuit current threshold value, the first abnormal entry in the first abnormal event list corresponding to the current first electrical parameter detection module, in which the first abnormal type is an electric meter overload abnormality, is used as the corresponding current abnormal entry; the first abnormal counter of the current abnormal entry is increased by 1; the current switching time is used as the corresponding first abnormal time; a corresponding first abnormal data is generated according to a preset electric meter overload abnormal data template; a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and is added to the first abnormal record queue of the current abnormal entry; And when the real-time current detection data of any of the first electrical parameter detection modules exceeds the short-circuit current threshold, the first switching device corresponding to the current first electrical parameter detection module is tripped; and the first abnormal entry in the first abnormal event list corresponding to the current first electrical parameter detection module, in which the first abnormal type is the meter short-circuit abnormality, is used as the corresponding current abnormal entry; and the first abnormal counter of the current abnormal entry is increased by 1; and the current switching time is used as the corresponding first abnormal time; and a corresponding first abnormal data is generated according to a preset meter short-circuit abnormal data template; and a corresponding first abnormal record composed of the obtained first abnormal time and the first abnormal data is added to the first abnormal record queue of the current abnormal entry.
4. The method for processing abnormal events of the downstream electric energy meter by the intelligent switch according to claim 2 is characterized in that: The periodically performing meter reading operations on all the first electric energy meters based on the preset first time frequency to obtain and save the latest first meter reading record set specifically includes: The first intelligent switch periodically sends the first meter reading instruction with the instruction sending time to all the first electric energy meters connected to it based on the first time frequency; and receives the first meter reading record sent back by each of the first electric energy meters; and forms the latest first meter reading record set from all the obtained first meter reading records and saves it.
5. The method for processing abnormal events of the downstream electric energy meter by the intelligent switch according to claim 4 is characterized in that: The method further comprises: When receiving the first meter reading instruction, each of the first electric energy meters obtains the current local time through the local timer as the corresponding first meter-side meter reading instruction reception time; and extracts the corresponding instruction sending time from the first meter reading instruction as the corresponding first switch-side meter reading instruction sending time; and using the electric energy meter identification data stored locally in the electric energy meter as the corresponding second electric energy meter identification; The corresponding current phase type is set based on the single-phase or three-phase phase characteristics of the local current of the electric energy meter; the average current data of the local single-phase current or three-phase current of the electric energy meter in the most recent first time period is calculated based on the current phase type and the corresponding full-phase current parameter is set based on the calculation result; and the corresponding first meter-side current parameter group is formed by the obtained current phase type and the full-phase current parameter; The corresponding voltage phase type is set based on the single-phase or three-phase phase characteristics of the local voltage of the electric energy meter; the average voltage data of the local single-phase voltage or three-phase voltage of the electric energy meter in the most recent first time period is calculated based on the voltage phase type and the corresponding full-phase voltage parameter is set based on the calculation result; and the corresponding first meter-side voltage parameter group is formed by the obtained voltage phase type and the full-phase voltage parameter; and taking the latest local electric energy meter reading as the corresponding first meter-side electric energy meter reading; and identifying the current cover opening state of the electric energy meter. If the cover is currently opened by external force, the corresponding first cover opening state of the meter side is set to open; if the cover is not currently opened by external force, the corresponding first cover opening state of the meter side is set to not open; And identify the remaining power percentage of the battery of the local timer to obtain the corresponding current remaining power percentage; and use the current remaining power percentage as the corresponding battery state of the first watch side clock; and identifying whether the meter reading data backed up locally by the electric energy meter has been completely deleted, if so, setting the corresponding first meter side data clearing state to cleared, if not, setting the corresponding first meter side data clearing state to not cleared; and identifying whether the electric energy meter is currently subjected to external electromagnetic interference, if so, setting the corresponding first meter side electromagnetic interference state to be interfered with, if not, setting the corresponding first meter side electromagnetic interference state to be not interfered with; and obtaining the latest local timing time through the local timer as the corresponding first meter side meter reading data sending time; The first meter reading record corresponding to the obtained second meter identifier, the first switch side meter reading instruction sending time, the first meter side meter reading instruction receiving time, the first meter side meter reading data sending time, the first meter side current parameter group, the first meter side voltage parameter group, the first meter side electric energy measurement degree, the first meter side cover opening state, the first meter side clock battery state, the first meter side data clearing state and the first meter side electromagnetic interference state is sent back to the first smart switch.
6. The method for processing abnormal events of downstream electric energy meters by the intelligent switch according to claim 2 is characterized in that: The updating operation of all the first abnormal event lists based on the latest first meter reading record set specifically includes: Step 601: the first intelligent switch records the latest first meter reading record set as the corresponding current meter reading record set; and records the previous first meter reading record set corresponding to the current meter reading record set as the corresponding previous meter reading record set; and records the first first meter reading record of the current meter reading record set as the corresponding current meter reading record; Step 602, and taking the first abnormal event list corresponding to the current meter reading record as the corresponding current list; Step 603, and identify whether the maximum current data in the full-phase current parameters of the current meter reading record is within the preset overcurrent state current threshold range; if so, the first abnormal entry in the current list whose first abnormal type is the meter overcurrent abnormality is taken as the corresponding current overcurrent entry, and the first abnormal counter of the current overcurrent entry is increased by 1, and the current switching time is taken as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to the preset meter overcurrent abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current overcurrent entry; Step 604, and identify whether the maximum voltage data in the all-phase voltage parameters of the current meter reading record is within the preset voltage threshold range of the voltage loss state; if so, take the first abnormal entry in the current list whose first abnormal type is the meter pressure loss abnormality as the corresponding current pressure loss entry, and add 1 to the first abnormal counter of the current pressure loss entry, and take the current switching time as the corresponding first abnormal time, and generate a corresponding first abnormal data according to the preset meter pressure loss abnormal data template, and form a corresponding first abnormal record with the obtained first abnormal time and the first abnormal data, and add it to the first abnormal record queue of the current pressure loss entry; Step 605, and identify whether the maximum voltage data in the all-phase voltage parameters of the current meter reading record is within the preset power-off state voltage threshold range; if so, take the first abnormal entry in the current list whose first abnormal type is the meter power-off abnormality as the corresponding current power-off entry, and add 1 to the first abnormal counter of the current power-off entry, and take the current switching time as the corresponding first abnormal time, and generate a corresponding first abnormal data according to the preset meter power-off abnormal data template, and form a corresponding first abnormal record with the obtained first abnormal time and the first abnormal data, and add it to the first abnormal record queue of the current power-off entry; Step 606, and identify whether the maximum voltage data in the all-phase voltage parameters of the current meter reading record is within the preset power outage state voltage threshold range; if so, take the first abnormal entry in the current list whose first abnormal type is the meter power outage abnormality as the corresponding current power outage entry, and add 1 to the first abnormal counter of the current power outage entry, and take the current switching time as the corresponding first abnormal time, and generate a corresponding first abnormal data according to the preset meter power outage abnormal data template, and form a corresponding first abnormal record with the obtained first abnormal time and the first abnormal data, and add it to the first abnormal record queue of the current power outage entry; Step 607, when the current phase type and the voltage phase type of the current meter reading record are both single-phase, the full-phase current parameters and the full-phase voltage parameters of the current meter reading record are identified; if the full-phase current parameters meet the preset current threshold range of the phase-out state and the full-phase voltage parameters meet the preset voltage threshold range of the phase-out state, the first abnormal entry in the current list whose first abnormal type is the meter phase-out abnormality is taken as the corresponding current phase-out entry, and the first abnormality counter of the current phase-out entry is increased by 1, and the current switching time is taken as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to the preset meter phase-out abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current phase-out entry; Step 608, when the current phase type and the voltage phase type of the current meter reading record are both three-phase, the full-phase current parameters and the full-phase voltage parameters of the current meter reading record are identified; if one or more current data among the A, B, and C phase current data of the full-phase current parameters meet the current threshold range of the phase-out state and one or more voltage data among the A, B, and C phase voltage data of the full-phase voltage parameters meet the voltage threshold range of the phase-out state, then the first abnormal entry whose first abnormal type is the meter phase-out abnormality in the current list is taken as the corresponding current phase-out entry, and the first abnormality counter of the current phase-out entry is increased by 1, and the current switching time is taken as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to the meter phase-out abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current phase-out entry; Step 609, and identify whether the first meter side cover opening state of the current meter reading record is cover opening; if so, take the first abnormal entry of the first abnormal type in the current list as the meter cover opening abnormality as the corresponding current cover opening entry, and add 1 to the first abnormal counter of the current cover opening entry, and take the current switch time as the corresponding first abnormal time, and generate a corresponding first abnormal data according to the preset meter cover opening abnormal data template, and form a corresponding first abnormal record with the obtained first abnormal time and the first abnormal data, and add it to the first abnormal record queue of the current cover opening entry; Step 610, and identify whether the first meter-side clock battery state of the current meter reading record is lower than the preset normal working condition battery power percentage threshold; if so, take the first abnormal entry of the first abnormal type of the meter clock battery state abnormality in the current list as the corresponding current battery state entry, and add 1 to the first abnormal counter of the current battery state entry, and take the current switching time as the corresponding first abnormal time, and generate a corresponding first abnormal data according to the preset meter clock battery state abnormal data template, and form a corresponding first abnormal record with the obtained first abnormal time and the first abnormal data, and add it to the first abnormal record queue of the current battery state entry; Step 611, and identify that the first meter-side data clearing state of the current meter reading record is clearing; if so, the first abnormal entry of the first abnormal type in the current list is the meter data clearing abnormality as the corresponding current clearing entry, and the first abnormal counter of the current clearing entry is increased by 1, and the current switching time is used as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to a preset meter data clearing abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current clearing entry; Step 612, and identify the first meter-side electromagnetic interference state of the current meter reading record as being interfered; if so, the first abnormal entry in the current list whose first abnormal type is the meter magnetic field interference abnormality is taken as the corresponding current magnetic field interference entry, and the first abnormality counter of the current magnetic field interference entry is increased by 1, and the current switching time is taken as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to a preset meter magnetic field interference abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data and added to the first abnormal record queue of the current magnetic field interference entry; Step 613, and record the sending time of the first switch-side meter reading instruction of the current meter reading record as the first time, and record the receiving time of the first meter-side meter reading instruction as the second time, and compare the first and second times; if the first time is later than the second time, set the corresponding first comparison result as comparison abnormality; if the first time is not later than the second time but the time interval between the first and second times exceeds the preset maximum time interval threshold, set the corresponding first comparison result as comparison abnormality; if the first time is not later than the second time and the time interval between the first and second times does not exceed the maximum time interval threshold, set the corresponding first comparison result as comparison normal; and when the first comparison result is comparison abnormality, take the first abnormal entry whose first abnormality type is meter clock abnormality in the current list as the corresponding current clock entry, add 1 to the first abnormality counter of the current clock entry, take the current switch time as the corresponding first abnormal time, and generate a corresponding first abnormal data according to the preset meter clock abnormal data template, and form a corresponding first abnormal record with the obtained first abnormal time and the first abnormal data to add to the first abnormal record queue of the current clock entry; Step 614, and use the second meter identifier of the current meter reading record as the corresponding current meter identifier; and use the first meter reading record in which the second meter identifier in the previous meter reading record set matches the current meter identifier as the corresponding previous meter reading record; and use the first meter-side electric energy measurement degrees of the previous and current meter reading records as the corresponding previous electric energy measurement degrees and current electric energy measurement degrees; and use the difference between the current electric energy measurement degree and the previous electric energy measurement degree as the corresponding first degree difference; and use the previous electric energy measurement degree and a preset The product of the flight multiple multiplied by the flight multiple is used as the corresponding current flight threshold, and the flight multiple is an integer greater than 1; and the first degree difference is identified; if the first degree difference is less than 0, the corresponding second comparison result is set to be metering decrease; if the first degree difference is 0, the corresponding second comparison result is set to be metering stop; if the first degree difference is greater than 0 and less than the current flight threshold, the corresponding second comparison result is set to be metering normal; if the first degree difference is greater than the current flight threshold, the corresponding second comparison result is set to be metering flight; Step 615, when the second comparison result is metering decrease, the first abnormal entry in the current list whose first abnormal type is metering decrease abnormality is used as the corresponding current metering decrease entry, and the first abnormality counter of the current metering decrease entry is increased by 1, and the current switching time is used as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to a preset metering decrease abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data, and is added to the first abnormal record queue of the current metering decrease entry; Step 616, when the second comparison result is metering stop and go, the first abnormal entry in the current list whose first abnormal type is metering stop and go abnormality is used as the corresponding current metering stop and go entry, and the first abnormality counter of the current metering stop and go entry is increased by 1, and the current switching time is used as the corresponding first abnormal time, and a corresponding first abnormal data is generated according to a preset metering stop and go abnormal data template, and a corresponding first abnormal record is formed by the obtained first abnormal time and the first abnormal data, and is added to the first abnormal record queue of the current metering stop and go entry; Step 617, when the second comparison result is metering flight away, the first abnormal entry in the current list whose first abnormality type is metering flight away abnormality is used as the corresponding current metering flight away entry, and the first abnormality counter of the current metering flight away entry is increased by 1, and the current switching time is used as the corresponding first abnormality time, and a corresponding first abnormality data is generated according to a preset metering flight away abnormality data template, and a corresponding first abnormality record is formed by the obtained first abnormality time and the first abnormality data and added to the first abnormality record queue of the current metering flight away entry; Step 618, identifying whether the current meter reading record is the last of the first meter reading record in the current meter reading record set; if not, taking the next first meter reading record in the current meter reading record set as the new current meter reading record and returning to step 602; if so, ending the update operation of all the first abnormal event lists.
7. The method for processing abnormal events of downstream electric energy meters by the intelligent switch according to claim 2 is characterized in that: The periodically reporting the abnormal event to the first remote server according to all the first abnormal event lists based on the preset second time frequency specifically includes: Step 71, the first intelligent switch periodically uses the first first abnormal event list as the corresponding current list based on the second time frequency; Step 72, and using the first electric meter identifier in the current list as the corresponding current electric meter identifier; Step 73, and perform a round of traversal for all the first abnormal items in the current list; and in this round of traversal, the first abnormal item currently traversed is used as the corresponding current abnormal item; and when the first reporting control state of the current abnormal item is required to be reported and the first reporting completion state is not completed, the first abnormal type of the current abnormal item is used as the corresponding current abnormal type, and the current switching time is used as the corresponding first reporting time, and the unique switch identifier stored in the local intelligent switch is extracted as the corresponding current switch identifier, and the current switch identifier, the current meter identifier and the current abnormal type are composed of a corresponding first reporting data, and a corresponding first reporting record composed of the obtained first reporting time and the first reporting data is added to the first reporting record queue corresponding to the current abnormal entry; and at the end of this round of traversal, it is identified whether the total number of all the first reporting records obtained in this round of traversal is 0, if not, a corresponding first electric meter abnormality list is composed of all the first reporting records obtained in this round of traversal and sent to the first remote service end, and when the sending is successful, the first reporting completion status of the first abnormal entry corresponding to each of the first reporting records obtained in this round of traversal in the current list is set to completed; Step 74, identifying whether the current list is the last one of the first abnormal event lists; if not, taking the next one of the first abnormal event lists as the new current list and returning to step 72; if so, ending the abnormal event reporting operation.
8. The method for processing abnormal events of downstream electric energy meters by the intelligent switch according to claim 2 is characterized in that: The periodically performing a counter clearing operation on all the first abnormal event lists based on a preset third time frequency specifically includes: The first intelligent switch periodically performs a round of traversal of all the first abnormal entries in all the first abnormal event lists based on the third time frequency; and during this round of traversal, the first abnormal entry currently traversed is used as the corresponding current abnormal entry; and the first abnormal counter of the current abnormal entry is cleared; and when the first reporting control state of the current abnormal entry is that reporting is required, the corresponding first reporting completion state is reset to incomplete.
Citation Information
Patent Citations
Power distribution area monitoring system and monitoring method based on intelligent fusion terminal
CN113410910A
Method for accurately positioning abnormal electricity utilization or electricity stealing users in electric power system
CN115097244A
Novel intelligent measuring system of metering box
CN116826952A
Intelligent measuring switch with electricity larceny prevention function
CN218180958U
Universal synchronized packet radio telemetry data communications
WO2001056204A1
