A detection system for identifying the external power consumption performance of intelligent switch meters
By designing a detection system including test host, smart switch, down-connection meter, under-meter load, line-controlled switch and off-meter load, the problem of lack of unified standards for external power use recognition performance detection of intelligent switches is solved, and the unified evaluation of the quality of intelligent switches and the effect of improving detection standards is achieved.
Patent Information
- Application Number
- CN202411017250.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2044-07-26
AI Technical Summary
The lack of general testing processes in the prior art has led to uneven quality of smart switches put into use on the market in terms of off-meter power identification performance.
It provides a detection system for the external power identification performance of intelligent switch meter, including test host, intelligent switch, down-mounted meter, under-meter load, line-controlled switch and off-meter load. By testing the host control line control switch for off-on-off switch, verifying the external power consumption identification and reporting performance of the smart switch.
It provides an open and general external power identification performance detection solution for intelligent switches, ensuring the uniformity of quality assessment of intelligent switches and improving the standardization and reliability of inspection.
Smart Images

Figure CN118707317B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of data processing, and in particular to a detection system for identifying the external power consumption performance of an intelligent switch meter. Background Art
[0002] Off-meter electricity consumption refers to the use of electricity directly without being measured by an electricity meter, such as private wiring, changing the structure of the electricity meter, using illegal electricity theft devices, etc. Smart switches are a new type of switch / circuit breaker with increased software processing capabilities, data storage capabilities, and data communication capabilities. Off-meter electricity recognition performance is one of the important performances of this type of new switch / circuit breaker. Before this type of new switch / circuit breaker leaves the factory, the off-meter electricity recognition performance should be tested, but there is currently no universal testing process on the market for reference, which will lead to uneven quality of off-meter electricity recognition performance among various smart switches put into use on the market. Summary of the invention
[0003] The purpose of the present invention is to provide a detection system for the off-meter electricity consumption identification performance of an intelligent switch in view of the defects of the prior art. The detection system comprises: a test host, an intelligent switch, a plurality of downstream electricity meters, a plurality of off-meter loads, an off-meter switch and an off-meter load; wherein the test host and the intelligent switch are connected to a normal power supply line network in parallel, the intelligent switch is connected to one or more downstream electricity meters through the power line downward, each downstream electricity meter is connected to a corresponding off-meter load through the power line downward, a line-controlled switch is connected in parallel to the power line between the intelligent switch and a downstream electricity meter, and the line-controlled switch is connected to a corresponding off-meter load through the power line downward; the test host controls the line-controlled switch to perform off-on-off switching; and in the process of off-on-off switching, the identification performance of the off-meter electricity consumption occurrence / recovery event of the intelligent switch (the off-meter electricity consumption occurrence event refers to the situation where off-meter electricity consumption has occurred, and the off-meter electricity consumption recovery event refers to the situation where off-meter electricity consumption has not occurred) is verified, and the reporting performance of the off-meter electricity consumption occurrence event of the intelligent switch is verified, and the overall verification result is displayed. The present invention can provide a public and universal off-meter electricity consumption identification performance detection solution, and provide a unified quality assessment method for various intelligent switches used in the market.
[0004] To achieve the above-mentioned purpose, an embodiment of the present invention provides a detection system for identifying the off-meter electricity consumption performance of an intelligent switch, the detection system comprising: a test host, an intelligent switch, a plurality of downstream electricity meters, a plurality of off-meter loads, an off-meter switch and an off-meter load;
[0005] The test host is connected in parallel with the intelligent switch to the normal power supply network; the data communication methods between the test host and the intelligent switch include power line communication methods and non-power line communication methods. The power line communication method includes HPLC communication method, and the non-power line communication methods include serial port communication method, network cable communication method, Bluetooth communication method, and WI-FI communication method; the intelligent switch accesses one or more of the downstream electric meters through the power line downward, and the data communication method between the intelligent switch and each downstream electric meter is the power line communication method; each downstream electric meter accesses a corresponding load under the meter through the power line downward; a line control switch is connected in parallel to the power line between the intelligent switch and one of the downstream electric meters, and the data communication method between the line control switch and the test host is the non-power line communication method; the line control switch accesses a corresponding load outside the meter through the power line downward;
[0006] The test host is used to take the next three times as the corresponding time t1, time t2, and time t3, where t1 < t2 < t3; and record the time period between t1 and t2 as the corresponding time period T 12 ; and record the time period between t2 and t3 as the corresponding time period T 23 ; and based on a preset first delay duration threshold L d1 、second delay duration threshold L d2 and first test duration L1 to constrain the time periods T 12 、T 23 ,T 12 >L d1 +L1,T 23 ≥L d2 ; and select three time points in the time period T 12 and record them as the corresponding t a 、t b and t c ,t1 < t a < t b < t c < t2; and record the time period between t1 and t a as the corresponding time period T 1a ,the time period between t a 、t b as the corresponding time period T ab ,the time period between t a 、t c as the corresponding time period T ac ,the time period between t b 、t2 as the corresponding time period T b2 ,the time period between t cThe time period between t and t2 is recorded as the corresponding time period T c2 ; and based on the preset second test duration L2, the time period T ab To constrain, T ab =L2,L2 <L d1 ; and based on the first delay time threshold L d1 For the period T ac To constrain, T ac ≥L1; and based on the first delay time threshold L d1 For the period T b2 To constrain, T b2 ≥ L1; and based on the first test duration L1, the time period T c2 To constrain, T c2 =L1; wherein the first delay time threshold L d1 The maximum delay time for the intelligent switch to timely identify the off-meter power consumption, and the second delay time threshold L d2 The maximum delay time for the intelligent switch to report data after the reporting time point; at time t 1 / a / b / c / 2 / 3 The time interval between any two times is greater than a preset first switch identification period, where the first switch identification period is a time period for the smart switch to identify off-meter electricity consumption;
[0007] The test host is used to 12 Before, the intelligent switch is controlled by the non-power line communication method to set the switch side reporting time parameter according to the time t2;
[0008] The test host is also used to 1a , the time period T ab And the time period T ab In the following three time intervals, the wire-controlled switch is controlled by the non-power line communication method to perform off-on-off switching;
[0009] The test host is also used to c2 At any time point within the time period T, the intelligent switch ac The total number of off-meter electricity consumption event records generated within the meter is counted to obtain the corresponding first total number of records; and the first total number of records is identified; if the first total number of records is 0, the corresponding first verification result is set to failure; if the first total number of records is greater than 0, the corresponding first verification result is set to success; the first verification result includes success and failure;
[0010] The test host is also used to 23 At any time point within the time period T, the intelligent switchb2 The total number of off-meter power recovery event records generated in the meter is counted to obtain the corresponding second total number of records; and the second total number of records is identified; if the second total number of records is 0, the corresponding second verification result is set to failure; if the second total number of records is greater than 0, the corresponding second verification result is set to success; the second verification result includes success and failure;
[0011] The test host is also used to 23 The reported data of the smart switch is monitored in real time by the power line communication method, and the reporting performance of the off-meter power consumption event of the smart switch is verified according to the monitoring result to obtain a corresponding third verification result; the third verification result includes success and failure;
[0012] The test host is also used to set and display the overall verification result of the intelligent switch according to the obtained first, second and third verification results.
[0013] Preferably, the test host is specifically used to process the control of the smart switch through the non-power line communication method to perform switch side reporting time parameter setting according to the time t2, encapsulate the time setting instruction according to the time t2 and a preset time setting instruction template to obtain a corresponding first time setting instruction; and send the first time setting instruction to the smart switch through the non-power line communication method; receive the first setting status sent back by the smart switch through the non-power line communication method; and when the first setting status is successful, confirm that the time setting instruction is executed successfully.
[0014] Preferably, the intelligent switch is used to parse the corresponding time t2 from the first time setting instruction based on a preset time setting instruction parsing rule when receiving the first time setting instruction sent by the test host through the non-power line communication method; and extract the remaining time information of the time t2 excluding the year and month information as the corresponding current single-day time; and reset the daily reporting time stored locally on the switch based on the current single-day time; and reset the daily reporting status stored locally on the switch to not reported; and when both the daily reporting time and the daily reporting status are reset successfully, set the corresponding first setting status to success; and send the first setting status back to the test host through the non-power line communication method; the daily reporting status includes reported and not reported;
[0015] The intelligent switch is also used for periodically encapsulating meter reading instructions according to a preset meter reading instruction template based on a preset first meter reading frequency to obtain a corresponding first meter reading instruction; and sending the first meter reading instruction to all the downstream electric meters in a group based on the power line communication method; and receiving the first meter reading record sent back by each downstream electric meter through the power line communication method within a specified first receiving time after the group sending of the instruction; and forming a corresponding first meter reading record set from all the first meter reading records received within the first receiving time and storing it locally on the switch; wherein the first meter reading record set includes one or more of the first meter reading records; and the first meter reading record includes at least a first meter identification, a first meter reading time, a first meter accumulated electricity consumption and a first meter power;
[0016] The intelligent switch is further configured to, when each first meter reading record set is successfully saved, use the first meter reading record set saved at that time as the corresponding current meter reading record set; and calculate the sum of all the first meter powers of the current meter reading record set to obtain the corresponding first meter total power P sum ; and the port of the switch connected to the normal power supply network is recorded as the corresponding current input port; and the real-time current and real-time power input to the current input port are detected and sampled multiple times at a preset first sampling frequency within a preset first hour period to obtain corresponding multiple pairs of first sampling currents I x and the first sampling power P x , the first hour period is less than the second test time L2, the sampling index x is an integer greater than 1, and the first sampling current I x With the first sampling power P x One-to-one correspondence; and according to each of the first sampling powers P x Two corresponding dynamic power thresholds are calculated and recorded as the corresponding first dynamic power threshold P H1,x and the second dynamic power threshold P H2,x , P H1,x =P x ×10%,P H2,x =P x ×30%; and according to each of the first sampling powers P x and the total power P of the first electric meter sum Calculate and generate a corresponding first power difference △P x =P x -P sum ; and in each of the first sampling current I x Greater than or equal to the preset first current threshold I H When the first power difference △P x Greater than the corresponding first dynamic power threshold PH1,x and is greater than the preset first static power threshold P S1 Then set the corresponding first judgment flag G x If there is suspected off-meter electricity consumption, the corresponding first power difference △P x is less than or equal to the corresponding first dynamic power threshold P H1,x Or less than or equal to the first static power threshold P S1 Then set the corresponding first judgment flag G x There is no off-meter electricity consumption; and in each of the first sampling currents I x is less than the first current threshold I H When the first power difference △P x Greater than the corresponding second dynamic power threshold P H2,x and is greater than the preset second static power threshold P S2 Then set the corresponding first judgment flag G x If there is suspected off-meter electricity consumption, the corresponding first power difference △P x is less than or equal to the corresponding second dynamic power threshold P H2,x Or less than or equal to the second static power threshold P S2 Then set the corresponding first judgment flag G x As there is no off-meter electricity consumption, P S2 <P S1 ; and all the first judgment marks G corresponding to the current first hour period x Whether all suspected off-meter electricity is identified, if yes, set a corresponding first event type as an off-meter electricity occurrence event, if not, set a corresponding first event type as an off-meter electricity recovery event; and use the current switch time as the corresponding first identification time; and form a corresponding first off-meter electricity event record with the first identification time and the first event type and store it locally on the switch; wherein, the first off-meter electricity event record includes the first identification time and the first event type; the first event type includes an off-meter electricity occurrence event and an off-meter electricity recovery event;
[0017] The intelligent switch is also used to reset the daily reporting status to unreported when the real-time time of the daily switch matches the daily reporting time; and form a corresponding first record set from all the first off-meter electricity consumption event records stored on that day; and extract the first off-meter electricity consumption event records whose first event type is an off-meter electricity consumption event in the first record set to form a corresponding second record set; and perform statistics on the total number of records in the second record set to generate a corresponding first total number; and when the first total number is greater than 0, use the current switch time as the corresponding first reporting time, set a corresponding first reporting event type as an off-meter electricity consumption event, and set all the second record sets as The first identification time is extracted and sorted in chronological order to form a corresponding first identification time sequence, and the first reporting time, the first reporting event type and the first identification time sequence form a corresponding first reporting event record; and the first reporting event record is reported to the test host through the power line communication method; and when the reporting is completed, the daily reporting status is reset to reported; wherein, the first reporting event record includes the first reporting time, the first reporting event type and the first identification time sequence; the first reporting event type includes at least off-meter electricity consumption events, and the first identification time sequence is composed of one or more of the first identification times sorted in sequence.
[0018] Preferably, each of the downstream electric meters is used to supply power to the downstream loads based on the connected power lines;
[0019] Each of the downstream electric meters is also used to record the port of the electric meter connected to the power line as the corresponding current input port each time the first meter reading instruction sent by the intelligent switch group is received through the power line communication method; and detect the real-time power input to the current input port to obtain the corresponding first electric meter power; and use the current electric meter time as the corresponding first meter reading time; and use the unique identifier of the current electric meter as the corresponding first electric meter identifier; and use the accumulated electricity consumption of the current electric meter as the corresponding accumulated electricity consumption of the first electric meter; and the first electric meter identifier, the first meter reading time, the accumulated electricity consumption of the first electric meter and the first electric meter power form a corresponding first meter reading record; and send the first meter reading record back to the intelligent switch through the power line communication method.
[0020] Preferably, the test host is specifically used to process the 1a , the time period T ab And the time period T ab When the wire-controlled switch is controlled to switch off-on-off by the non-power line communication method in the following three time intervals:
[0021] First, at the time t1, a disconnection setting instruction is encapsulated according to a preset disconnection setting instruction template to obtain a corresponding first disconnection setting instruction; and the first disconnection setting instruction is sent to the wire-controlled switch through the non-power line communication method; and a first disconnection state sent back by the wire-controlled switch is received through the non-power line communication method; and when the first disconnection state is successful, it is confirmed that the current disconnection setting instruction is executed successfully;
[0022] Then at the time t a The method comprises the steps of: encapsulating the closing setting instruction according to the preset closing setting instruction template to obtain the corresponding first closing setting instruction; sending the first closing setting instruction to the wire-controlled switch through the non-power line communication method; receiving the first closing state sent back by the wire-controlled switch through the non-power line communication method; and confirming that the closing setting instruction is successfully executed when the first closing state is successful;
[0023] Then at the time t b The circuit breaker setting instruction is encapsulated according to the circuit breaker setting instruction template to obtain a corresponding second circuit breaker setting instruction; the second circuit breaker setting instruction is sent to the wire-controlled power switch through the non-power line communication method; the second circuit breaker status sent back by the wire-controlled power switch is received through the non-power line communication method; and when the second circuit breaker status is successful, it is confirmed that the current circuit breaker setting instruction is executed successfully.
[0024] Preferably, the line-controlled switch is used to connect the off-meter load to the power line through an internal switch;
[0025] The line-controlled switch is further used to perform a disconnection operation on the internal switch used to connect the off-meter load when the first or second disconnection setting instruction sent by the test host is received through the non-power line communication method; and when the disconnection operation is successful, set the corresponding first or second disconnection state to success; and send the first or second disconnection state back to the test host through the non-power line communication method;
[0026] The line-controlled switch is also used to close the internal switch for connecting the off-meter load when the first closing setting instruction sent by the test host is received through the non-power line communication method; and when the closing operation is successful, set the corresponding first closing state to success; and send the first closing state back to the test host through the non-power line communication method.
[0027] Preferably, the test host is specifically used to process the test of the intelligent switch in the time period T acWhen the total number of off-meter electricity consumption event records generated within the time period T is counted to obtain the corresponding first total number of records, ac and encapsulating the off-meter electricity event record reading instruction with the preset off-meter electricity event record reading instruction template to obtain the corresponding first off-meter electricity event record reading instruction; and sending the first off-meter electricity event record reading instruction to the smart switch through the non-power line communication method; and receiving the first record sequence sent back by the smart switch through the non-power line communication method; and identifying whether the first record sequence is an empty sequence; if so, setting the corresponding first total number of records to 0; if not, counting the total number of records of the first off-meter electricity event records in the first record sequence whose first event type is an off-meter electricity occurrence event to obtain the corresponding first total number of records; wherein, when the first record sequence is not an empty sequence, it is composed of one or more of the first off-meter electricity event records sorted in chronological order;
[0028] The test host is specifically used to process the intelligent switch in the time period T b2 When the total number of off-meter power recovery event records generated within the time period T is counted to obtain the corresponding second total number of records, b2 The off-meter electricity consumption event record reading instruction template is used to encapsulate the off-meter electricity consumption event record reading instruction to obtain a corresponding second off-meter electricity consumption event record reading instruction; and the second off-meter electricity consumption event record reading instruction is sent to the smart switch via the non-power line communication method; and the second record sequence sent back by the smart switch is received via the non-power line communication method; and whether the second record sequence is an empty sequence is identified; if so, the corresponding second total number of records is set to 0; if not, the total number of records of the first off-meter electricity consumption event records whose first event type is an off-meter electricity recovery event in the second record sequence is counted to obtain the corresponding second total number of records; wherein, when the second record sequence is not an empty sequence, it is composed of one or more of the first off-meter electricity consumption event records sorted in chronological order.
[0029] Preferably, the intelligent switch is used to parse the corresponding time period T from the first or second off-meter electricity consumption event record reading instruction based on a preset off-meter electricity consumption event record reading instruction parsing rule when receiving the first or second off-meter electricity consumption event record reading instruction sent by the test host through the non-power line communication method. ac or the period T b2as the corresponding current retrieval period; and among all the first off-meter electricity consumption event records locally stored in the switch, the first off-meter electricity consumption event records whose first identification time meets the current retrieval period are all recorded as corresponding matching period records; and the total number of the matching period records is counted to obtain the corresponding first matching record total number; and the first matching record total number is identified; if the first matching record total number is 0, the corresponding first or second record sequence is set to an empty sequence; if the first matching record total number is greater than 0, all the matching period records obtained are sorted in chronological order to form the corresponding first or second record sequence; and the corresponding first or second record sequence is sent back to the test host via the non-power line communication method.
[0030] Preferably, the test host is specifically used to process the 23 When the reported data of the smart switch is monitored in real time by the power line communication method and the reporting performance of the off-meter power consumption event of the smart switch is verified according to the monitoring result to obtain a corresponding third verification result, in the time period T 23 The first reported event record reported by the intelligent switch is monitored in real time through the power line communication method within the time period T; if the first reported event record reported by the intelligent switch can be monitored in real time within the time period T 23 If the first reporting event record is detected within the time period T, the corresponding third verification result is set to success; if the first reporting event record is not detected within the time period T 23 If the first reporting event record is intercepted internally, the corresponding third verification result is set to failure.
[0031] Preferably, the test host is specifically used to process the setting and display of the overall verification result of the intelligent switch according to the obtained first, second and third verification results, and to identify whether the first, second and third verification results are all successful; if so, the corresponding overall verification result is set to success; if not, the corresponding overall verification result is set to failure; and the overall verification result after setting is displayed.
[0032] An embodiment of the present invention provides a detection system for the off-meter power consumption identification performance of an intelligent switch, the detection system comprising: a test host, an intelligent switch, a plurality of downstream electricity meters, a plurality of off-meter loads, an off-meter switch and an off-meter load; wherein the test host and the intelligent switch are connected to a normal power supply line network in parallel, the intelligent switch is connected to one or more downstream electricity meters through a power line downward, each downstream electricity meter is connected to a corresponding off-meter load through a power line downward, a line-controlled switch is connected in parallel to the power line between the intelligent switch and a downstream electricity meter, and the line-controlled switch is connected to a corresponding off-meter load through the power line downward; the test host controls the line-controlled switch to perform off-on-off switching; and in the process of off-on-off switching, the recognition performance of off-meter power consumption occurrence / recovery events of the intelligent switch (off-meter power consumption occurrence events refer to situations where off-meter power consumption has occurred, and off-meter power consumption recovery events refer to situations where off-meter power consumption has not occurred) is verified, and the reporting performance of the off-meter power consumption occurrence events of the intelligent switch is verified, and the overall verification results are displayed. The embodiment of the present invention provides a public and universal off-meter electricity consumption identification performance detection solution, which provides a unified quality assessment method for various smart switches used in the market. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A module structure diagram of a detection system for identifying the external power consumption of an intelligent switch meter provided by an embodiment of the present invention;
[0034] Figure 2 A schematic diagram of the test period and the state of the wire-controlled switch provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0035] 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.
[0036] The embodiment of the present invention provides a detection system for identifying the external power consumption of an intelligent switch meter, such as Figure 1 As shown in the module structure diagram of a detection system for the off-meter electricity consumption identification performance of an intelligent switch provided in an embodiment of the present invention, it includes: a test host 1, an intelligent switch 2, multiple downstream electricity meters 3, multiple downstream loads 4, an off-meter switch and an off-meter load 6.
[0037] In the system of the embodiments of the present invention, the connection relationships of the system components are as follows: The test host 1 and the intelligent switch 2 are connected in parallel to the normal power supply network; the data communication methods between the test host 1 and the intelligent switch 2 include power line communication methods and non-power line communication methods. The power line communication methods include High Speed Power Line Carrier (HPLC) communication methods, and the non-power line communication methods include serial port communication methods, network cable communication methods, Bluetooth communication methods, and WIFI communication methods; the intelligent switch 2 is connected to one or more downstream electric meters 3 through the power line downward, and the data communication method between the intelligent switch 2 and each downstream electric meter 3 is a power line communication method; each downstream electric meter 3 is connected to a corresponding load 4 under the meter through the power line downward; a line control switch 5 is connected in parallel to the power line between the intelligent switch 2 and a downstream electric meter 3, and the data communication method between the line control switch 5 and the test host 1 is a non-power line communication method; the line control switch 5 is connected to a corresponding load 6 outside the meter through the power line downward.
[0038] (1). Test host 1:
[0039] The test host 1 in the embodiments of the present invention is a device, equipment, terminal, computer, notebook, server, system or platform for testing. It is also the detection and control party in the system of the embodiments of the present invention.
[0040] The test host 1 is used to take the next three times as the corresponding time t1, time t2, and time t3, where t1 < t2 < t3; and record the time period between t1 and t2 as the corresponding time period T 12 ; and record the time period between t2 and t3 as the corresponding time period T 23 ; and based on the preset first delay duration threshold L d1 、second delay duration threshold L d2 and the first test duration L1 to constrain the time periods T 12 、T 23 , T 12 > L d1 + L1, T 23 ≥L d2 ; and select three time points in the time period T 12 and record them as the corresponding t a 、t b and t c , where t1 < t a < t b < t c < t2; and record the time period between t1 and t a as the corresponding time period T 1a , the time period between t a 、t b is recorded as the corresponding time period Tab , time t a ,t c The time period between is recorded as the corresponding time period T ac , time t b The time period between t and t2 is recorded as the corresponding time period T b2 , time t c The time period between t and t2 is recorded as the corresponding time period T c2 ; and based on the preset second test duration L2 for the time period T ab To constrain, T ab =L2,L2 <L d1 ; and based on the first delay time threshold L d1 For period T ac To constrain, T ac ≥L1; and based on the first delay time threshold L d1 For period T b2 To constrain, T b2 ≥ L1; and based on the first test duration L1, the time period T c2 To constrain, T c2 =L1;
[0041] Among them, the first delay time threshold L d1 is the maximum delay time for the smart switch 2 to timely identify the off-meter power consumption, and the second delay time threshold L d2 L is the maximum delay time for smart switch 2 to report data after the reporting time point. d1 , L d2 When the smart switch 2 is selected, two fixed thresholds are not adjustable; the first test duration L1 and the second test duration L2 are two preset time length parameters, which can be adjusted according to application requirements; in addition, at time t 1 / a / b / c / 2 / 3 The length of the time interval between any two times is greater than a preset first switch identification cycle, which is a time period for the known intelligent switch 2 to perform off-meter electricity consumption identification.
[0042] Here, the above-mentioned time and period are as follows Figure 2 The test period and the wire-controlled switch state schematic diagram provided in the embodiment of the present invention are shown.
[0043] Test host 1 is used to 12 Previously, the intelligent switch 2 was controlled by a non-power line communication method to set the switch side reporting time parameter according to the time t2.
[0044] Test host 1 is also used to 1a , Time period T ab and time period T abIn the following three time intervals, the wire-controlled switch 5 is controlled by non-power line communication to perform off-on-off switching.
[0045] Here, the off-on-off state of the wire-controlled switch 5 in each period is as follows: Figure 2 shown.
[0046] Test host 1 is also used to c2 At any time point within the period T, the intelligent switch 2 ac The total number of off-meter electricity consumption event records generated in the meter is counted to obtain the corresponding first total number of records; and the first total number of records is identified; if the first total number of records is 0, the corresponding first verification result is set to fail; if the first total number of records is greater than 0, the corresponding first verification result is set to succeed;
[0047] The first verification result includes success and failure.
[0048] Test host 1 is also used to 23 At any time point within the period T, the intelligent switch 2 b2 The total number of off-meter power recovery event records generated in the meter is counted to obtain the corresponding second total number of records; and the second total number of records is identified; if the second total number of records is 0, the corresponding second verification result is set to fail; if the second total number of records is greater than 0, the corresponding second verification result is set to succeed;
[0049] The second verification result includes success and failure.
[0050] Test host 1 is also used to 23 The reported data of the smart switch 2 is monitored in real time by means of power line communication, and the reporting performance of the off-meter power consumption event of the smart switch 2 is verified according to the monitoring result to obtain a corresponding third verification result;
[0051] The third verification result includes success and failure.
[0052] The test host 1 is also used to set and display the overall verification result of the intelligent switch 2 according to the obtained first, second and third verification results.
[0053] In a specific implementation of the embodiment of the present invention, the test host 1 is specifically used to process the control of the intelligent switch 2 by a non-power line communication method to set the switch side reporting time parameter according to the time t2:
[0054] Step A1, encapsulating the time setting instruction according to the time t2 and a preset time setting instruction template to obtain a corresponding first time setting instruction;
[0055] Here, the time setting instruction is an operation instruction pre-agreed between the test host 1 and the intelligent switch 2. The operation instruction should at least have a time parameter. The time setting instruction template is a formatted packaging template of the instruction.
[0056] Step A2, and sending the first time setting instruction to the smart switch 2 through the non-power line communication method;
[0057] Step A3, and receiving the first setting state sent back by the intelligent switch 2 through a non-power line communication method;
[0058] Step A4: when the first setting status is successful, confirm that the time setting instruction is executed successfully.
[0059] In another specific implementation of the embodiment of the present invention, the test host 1 is specifically used to process 1a , Time period T ab and time period T ab When the wire-controlled switch 5 is controlled to switch off-on-off by non-power line communication in the following three time intervals:
[0060] Step B1, first encapsulate the disconnection setting instruction according to the preset disconnection setting instruction template at time t1 to obtain the corresponding first disconnection setting instruction; and send the first disconnection setting instruction to the wire-controlled switch 5 through the non-power line communication method; and receive the first disconnection state sent back by the wire-controlled switch 5 through the non-power line communication method; and when the first disconnection state is successful, confirm that the current disconnection setting instruction is executed successfully;
[0061] Here, the switch-off setting instruction is an operation instruction pre-agreed between the test host 1 and the line-controlled switch 5, and the operation instruction does not carry any parameters. The switch-off setting instruction template is a formatted packaging template of the instruction;
[0062] Step B2, at time t a The first closing setting instruction is encapsulated according to the preset closing setting instruction template to obtain the corresponding first closing setting instruction; the first closing setting instruction is sent to the wire-controlled switch 5 through the non-power line communication method; the first closing state sent back by the wire-controlled switch 5 is received through the non-power line communication method; and when the first closing state is successful, it is confirmed that the current closing setting instruction is executed successfully;
[0063] Here, the closing setting instruction is an operation instruction pre-agreed between the test host 1 and the line-controlled switch 5. The operation instruction does not carry any parameters, and the closing setting instruction template is a formatted packaging template of the instruction.
[0064] Step B3, at time t bThe circuit breaker setting instruction is encapsulated according to the circuit breaker setting instruction template to obtain the corresponding second circuit breaker setting instruction; the second circuit breaker setting instruction is sent to the wire-controlled power switch 5 through a non-power line communication method; the second circuit breaker status sent back by the wire-controlled power switch 5 is received through the non-power line communication method; and when the second circuit breaker status is successful, it is confirmed that the current circuit breaker setting instruction is executed successfully.
[0065] In another specific implementation of the embodiment of the present invention, the test host 1 is specifically used to process the intelligent switch 2 in the time period T ac When the total number of off-meter electricity consumption event records generated within the meter is counted to obtain the corresponding total number of first records:
[0066] Step C1, according to the time period T ac The off-meter electricity consumption event record reading instruction is encapsulated with the preset off-meter electricity consumption event record reading instruction template to obtain a corresponding first off-meter electricity consumption event record reading instruction;
[0067] Here, the off-meter electricity consumption event record reading instruction is an operation instruction pre-agreed between the test host 1 and the intelligent switch 2. The operation instruction should have at least one time parameter. The off-meter electricity consumption event record reading instruction template is a formatting encapsulation template of the instruction.
[0068] Step C2, and sending the first off-meter power consumption event record reading instruction to the smart switch 2 through the non-power line communication method;
[0069] Step C3, and receiving the first record sequence sent back by the intelligent switch 2 in a non-power line communication manner;
[0070] Here, the first record sequence may be an empty sequence; when the first record sequence is not an empty sequence, it is composed of one or more first off-meter electricity consumption event records arranged in chronological order;
[0071] Step C4, and identify whether the first record sequence is an empty sequence; if so, set the corresponding total number of first records to 0; if not, count the total number of first off-meter electricity consumption event records in the first record sequence whose first event type is an off-meter electricity consumption event to obtain the corresponding total number of first records.
[0072] In another specific implementation of the embodiment of the present invention, the test host 1 is specifically used to process the intelligent switch 2 in the time period T b2 When the total number of off-meter power recovery event records generated within the meter is counted to obtain the corresponding total number of second records:
[0073] Step D1, according to the time period T b2 The off-meter electricity event record reading instruction template is used to encapsulate the off-meter electricity event record reading instruction to obtain a corresponding second off-meter electricity event record reading instruction;
[0074] Step D2, and sending the second off-meter electricity consumption event record reading instruction to the smart switch 2 through the non-power line communication method;
[0075] Step D3, and receiving the second record sequence sent back by the intelligent switch 2 through the non-power line communication method;
[0076] Here, the second record sequence may be an empty sequence; when the second record sequence is not an empty sequence, it is composed of one or more first off-meter electricity consumption event records arranged in chronological order;
[0077] Step D4, and identify whether the second record sequence is an empty sequence; if so, set the corresponding second record total to 0; if not, count the total number of first off-meter electricity event records whose first event type is an off-meter electricity recovery event in the second record sequence to obtain the corresponding second record total.
[0078] In another specific implementation of the embodiment of the present invention, the test host 1 is specifically used to process 23 When the reported data of the smart switch 2 is monitored in real time through the power line communication mode and the reporting performance of the off-meter power consumption event of the smart switch 2 is verified according to the monitoring result to obtain the corresponding third verification result:
[0079] Step E1, during time period T 23 The first reporting event record reported by the intelligent switch 2 is monitored in real time through the power line communication method;
[0080] Step E2, if the 23 If the first reporting event record is detected, the corresponding third verification result is set to success;
[0081] Step E3: If the 23 If the first reporting event record is intercepted, the corresponding third verification result is set to failure.
[0082] In another specific implementation of the embodiment of the present invention, the test host 1 is specifically used to process and set and display the overall verification result of the intelligent switch 2 according to the obtained first, second and third verification results:
[0083] Step F1, identifying whether the first, second and third verification results are all successful; if so, setting the corresponding overall verification result to success; if not, setting the corresponding overall verification result to failure;
[0084] Step F2, and display the overall verification result after setting.
[0085] (II) Intelligent switch 2:
[0086] The intelligent switch 2 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, and is also a detection object in the system of the embodiment of the present invention.
[0087] The intelligent switch 2 is used for receiving the first time setting instruction sent by the test host 1 through the non-power line communication mode:
[0088] Step G1, parsing the corresponding time t2 from the first time setting instruction based on a preset time setting instruction parsing rule;
[0089] Step G2, extract the remaining time information from time t2 excluding the year and month information as the corresponding current single-day time;
[0090] Step G3, resetting the daily reporting time stored locally on the switch based on the current single day time;
[0091] Step G4, and reset the daily reporting status stored locally on the switch to not reported;
[0092] Here, the daily reporting status includes reported and unreported;
[0093] Step G5, when both the daily reporting time and the daily reporting status are reset successfully, setting the corresponding first setting status to success;
[0094] Step G6, and sending the first setting state back to the test host 1 via the non-power line communication method.
[0095] The intelligent switch 2 is also used to encapsulate the meter reading instruction according to the preset meter reading instruction template regularly based on the preset first meter reading frequency to obtain the corresponding first meter reading instruction; and to send the first meter reading instruction to all the downstream electric meters 3 in a group based on the power line communication method; and to receive the first meter reading record sent back by each downstream electric meter 3 in a specified first receiving time after the group instruction is sent through the power line communication method; and to form a corresponding first meter reading record set from all the first meter reading records received in the first receiving time and store it locally on the switch;
[0096] Among them, the first meter reading frequency is a preset time frequency parameter; the first meter reading record set includes one or more first meter reading records; the first meter reading record at least includes the first meter identification, the first meter reading time, the first meter accumulated electricity consumption and the first meter power.
[0097] The intelligent switch 2 is further configured to: when a first meter reading record set is successfully saved:
[0098] Step H1, taking the first meter reading record set saved at that time as the corresponding current meter reading record set;
[0099] Step H2, the sum of all the first electric meter powers in the current meter reading record set is calculated to obtain the corresponding first electric meter total power P sum ;
[0100] Step H3, and record the port of the switch connected to the normal power supply network as the corresponding current input port;
[0101] Step H4, and perform multiple detection sampling of the real-time current and real-time power inputted by the current input port at a preset first sampling frequency within a preset first hour period to obtain corresponding multiple pairs of first sampling currents I x and the first sampling power P x ;
[0102] Here, the first hour period is less than the second test time L2, the sampling index x is an integer greater than 1, and the first sampling current I x With the first sampling power P x One to one correspondence;
[0103] Step H5, and according to each first sampling power P x Two corresponding dynamic power thresholds are calculated and recorded as the corresponding first dynamic power threshold P H1,x and the second dynamic power threshold P H2,x ;
[0104] Here, P H1,x =P x ×10%,P H2,x =P x ×30%;
[0105] Step H6, and according to each first sampling power P x And the total power of the first meter P sum Calculate and generate a corresponding first power difference △P x ;
[0106] Here, △P x =P x -P sum ;
[0107] Step H7, and at each first sampling current I x Greater than or equal to the preset first current threshold I H When the corresponding first power difference △P x Greater than the corresponding first dynamic power threshold P H1,x and is greater than the preset first static power threshold P S1 Then set the corresponding first judgment flag G x If there is suspected off-meter electricity consumption, the corresponding first power difference △P xLess than or equal to the corresponding first dynamic power threshold P H1,x Or less than or equal to the first static power threshold P S1 Then set the corresponding first judgment flag G x There is no off-meter electricity consumption;
[0108] Here, the first current threshold I H is a preset current threshold value, which will not change during the test; the first static power threshold value P S1 It is a pre-set power threshold that does not change during the test;
[0109] The current step H7 is described using a conditional expression as follows:
[0110] I x ≥I H When △P x >P H1,x And △P x >P S1 , then G x = suspected off-meter electricity consumption; if △P x ≤P H1,x or △P x ≤P S1 , then G x = No off-meter electricity consumption;
[0111] Step H8, and at each first sampling current I x Less than the first current threshold I H When the corresponding first power difference △P x Greater than the corresponding second dynamic power threshold P H2,x and is greater than the preset second static power threshold P S2 Then set the corresponding first judgment flag G x If there is suspected off-meter electricity consumption, the corresponding first power difference △P x Less than or equal to the corresponding second dynamic power threshold P H2,x Or less than or equal to the second static power threshold P S2 Then set the corresponding first judgment flag G x There is no off-meter electricity consumption;
[0112] Here, the second static power threshold P S2 is a preset power threshold that will not change during the test. S2 <P S1 ;
[0113] The current step H8 is described using conditional expressions as follows:
[0114] I xH When △P x >P H2,x And △P x >P S2 , then G x = suspected off-meter electricity consumption; if △P x ≤P H2,x or △P x ≤P S2 , then G x = No off-meter electricity consumption;
[0115] Step H9, all first judgment marks G corresponding to the current first hour period are x Whether all suspected off-meter electricity consumption is identified, if yes, a corresponding first event type is set as an off-meter electricity consumption occurrence event, if no, a corresponding first event type is set as an off-meter electricity consumption recovery event;
[0116] Step H10, and use the current switch time as the corresponding first identification time; and form a corresponding first off-meter electricity consumption event record with the first identification time and the first event type and store it locally on the switch;
[0117] Here, the first off-meter electricity consumption event record in the embodiment of the present invention includes a first identification time and a first event type; the first event type includes an off-meter electricity consumption occurrence event and an off-meter electricity consumption recovery event.
[0118] Smart switch 2 is also used when the real time of daily switch matches the daily reporting time:
[0119] Step I1, reset the daily reporting status to unreported;
[0120] Step I2, forming a corresponding first record set from all first off-meter electricity consumption event records stored on that day;
[0121] Step 13, extracting the first off-meter electricity consumption event record whose first event type is an off-meter electricity consumption event in the first record set to form a corresponding second record set;
[0122] Step I4, and counting the total number of records in the second record set to generate a corresponding first total number;
[0123] Step I5, when the first total is greater than 0, the current switching time is used as the corresponding first reporting time, and a corresponding first reporting event type is set as an off-meter electricity consumption event, and all first identification times of the second record set are extracted and sorted in chronological order to form a corresponding first identification time sequence, and a corresponding first reporting event record is formed by the first reporting time, the first reporting event type and the first identification time sequence;
[0124] Here, the first reporting event record of the embodiment of the present invention includes a first reporting time, a first reporting event type and a first identification time sequence; the first reporting event type includes at least an off-meter electricity consumption event, and the first identification time sequence is formed by sequentially sorting one or more first identification times;
[0125] Step 16, and reporting the first reporting event record to the test host 1 through the power line communication method;
[0126] Step I 7, and when the reporting is completed, reset the daily reporting status to reported.
[0127] The intelligent switch 2 is used for receiving the first or second off-meter power consumption event record reading instruction sent by the test host 1 through the non-power line communication mode:
[0128] Step J1: parse the corresponding time period T from the first or second off-meter electricity consumption event record reading instruction based on the preset off-meter electricity consumption event record reading instruction parsing rule. ac or time period T b2 as the corresponding current search period;
[0129] Step J2: Among all first off-meter electricity usage event records stored locally on the switch, first off-meter electricity usage event records whose first identification time meets the current search period are recorded as corresponding matching period records;
[0130] Step J3, counting the total number of matching period records to obtain the corresponding total number of first matching records;
[0131] Step J4, identifying the total number of first matching records;
[0132] Step J5, if the total number of first matching records is 0, the corresponding first or second record sequence is set to an empty sequence;
[0133] Step J6, if the total number of first matching records is greater than 0, all the matching time period records obtained are sorted in chronological order to form a corresponding first or second record sequence;
[0134] Step J7, and send the corresponding first or second record sequence back to the test host 1 via the non-power line communication method.
[0135] (III) Connect the electric meter 3:
[0136] Each downstream electricity meter 3 in the embodiment of the present invention is a type of smart electricity meter with data communication capability.
[0137] Each downstream electric meter 3 is used to supply power to a downstream load 4 based on the connected power line.
[0138] Each downstream electric meter 3 is also used for receiving the first meter reading instruction sent by the intelligent switch 2 in a group through the power line communication mode:
[0139] Step K1, recording the port of the electric meter connected to the power line as the corresponding current input port; and detecting the real-time power input to the current input port to obtain the corresponding first electric meter power;
[0140] Step K2, and taking the current meter time as the corresponding first meter reading time;
[0141] Step K3, and taking the unique identifier of the current electric meter as the corresponding first electric meter identifier;
[0142] Step K4, and taking the accumulated electricity consumption of the current electricity meter as the accumulated electricity consumption of the corresponding first electricity meter;
[0143] Step K5, forming a corresponding first meter reading record by the first meter identifier, the first meter reading time, the first meter accumulated electricity usage and the first meter power;
[0144] Step K6, and sending the first meter reading record back to the intelligent switch 2 via the power line communication method.
[0145] (IV) Wire-controlled switch 5:
[0146] The remote-controlled switch 5 of the embodiment of the present invention is also called a remote-controlled circuit breaker (Remote Control Circuit Breaker), which is a device used to control circuit interruption and connection, and can implement corresponding closing / breaking functions through control instructions.
[0147] The line-controlled switch 5 is used to connect the off-meter load 6 to the power line through an internal switch.
[0148] The line-controlled switch 5 is also used to perform a disconnection operation on the internal switch used to connect the off-meter load 6 when the first or second disconnection setting instruction is received from the test host 1 through a non-power line communication method; and when the disconnection operation is successful, set the corresponding first or second disconnection state to success; and send the first or second disconnection state back to the test host 1 through a non-power line communication method.
[0149] The line-controlled switch 5 is also used to close the internal switch used to connect the off-meter load 6 when receiving the first closing setting instruction sent by the test host 1 through the non-power line communication method; and when the closing operation is successful, set the corresponding first closing state to success; and send the first closing state back to the test host 1 through the non-power line communication method.
[0150] (V) Under-meter load 4, external load 6:
[0151] Each off-meter load 4 in the embodiment of the present invention is any type of active load module, device, terminal, instrument or equipment; the off-meter load 6 in the embodiment of the present invention is also any type of active load module, device, terminal, instrument or equipment.
[0152] In summary, an embodiment of the present invention provides a detection system for the off-meter electricity consumption identification performance of an intelligent switch, the detection system comprising: a test host, an intelligent switch, a plurality of downstream electricity meters, a plurality of off-meter loads, an off-meter switch and an off-meter load; wherein the test host and the intelligent switch are connected to a normal power supply network in parallel, the intelligent switch is connected to one or more downstream electricity meters through the power line downward, each downstream electricity meter is connected to a corresponding off-meter load through the power line downward, a line-controlled switch is connected in parallel on the power line between the intelligent switch and a downstream electricity meter, and the line-controlled switch is connected to a corresponding off-meter load through the power line downward; the test host controls the line-controlled switch to perform off-on-off switching; and in the process of off-on-off switching, the recognition performance of off-meter electricity consumption occurrence / recovery events (off-meter electricity consumption occurrence events refer to the situation where off-meter electricity consumption has occurred, and off-meter electricity consumption recovery events refer to the situation where off-meter electricity consumption has not occurred) of the intelligent switch is verified, and the reporting performance of off-meter electricity consumption occurrence events of the intelligent switch is verified, and the overall verification result is displayed. The embodiment of the present invention provides a public and universal off-meter electricity consumption identification performance detection solution, which provides a unified quality assessment method for various smart switches used in the market.
[0153] 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.
[0154] The steps of the system, 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.
[0155] 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 detection system for identifying the external power consumption of an intelligent switch, characterized in that: The detection system comprises: a test host, an intelligent switch, a plurality of down-connected electric meters, a plurality of down-meter loads, an off-meter switch and an off-meter load; The test host and the intelligent switch are connected to the normal power supply network in parallel; the data communication mode between the test host and the intelligent switch includes power line communication mode and non-power line communication mode, the power line communication mode includes HPLC communication mode, and the non-power line communication mode includes serial communication mode, network cable communication mode, Bluetooth communication mode and WIFI communication mode; the intelligent switch is connected to one or more of the lower-connected electric meters downward through the power line, and the data communication mode between the intelligent switch and each of the lower-connected electric meters is the power line communication mode; each of the lower-connected electric meters is connected to a corresponding load below the meter downward through the power line; a line-controlled switch is connected in parallel on the power line between the intelligent switch and one of the lower-connected electric meters, and the data communication mode between the line-controlled switch and the test host is the non-power line communication mode; the line-controlled switch is connected to a corresponding load outside the meter downward through the power line; The test host is used to take the next three times as the corresponding time t1, time t2, and time t3, where t1 < t2 < t3; and record the time period between t1 and t2 as the corresponding time period T 12 ; and record the time period between t2 and t3 as the corresponding time period T 23 ; and based on a preset first delay duration threshold L d1 and a second delay duration threshold L d2 and a first test duration L1, constrain the time periods T 12 , T 23 , where T 12 > L d1 + L1, and T 23 ≥ L d2 ; and select three time points in the time period T 12 and record them as the corresponding t a , t b , and t c , where t1 < t a < t b < t c < t2; and record the time period between t1 and t a as the corresponding time period T 1a , the time period between t a and t b as the corresponding time period T ab , the time period between t a and t c as the corresponding time period T ac , the time period between t b and t2 as the corresponding time period T b2 , the time period between t c and t2 as the corresponding time period T c2 ; and based on a preset second test duration L2, constrain the time period T ab , where T ab = L2, and L2 < L d1 ; and based on the first delay duration threshold L d1 , constrain the time period T ac , where T ac ≥ L1; and based on the first delay duration threshold L d1 , constrain the time period T b2 , where T b2 ≥ L1; and based on the first test duration L1, constrain the time period T c2 , where T c2 = L1; where the first delay duration threshold L d1 The maximum delay time for the intelligent switch to timely identify the off-meter power consumption, and the second delay time threshold L d2 The maximum delay time for the intelligent switch to report data after the reporting time point; at time t 1 / a / b / c / 2 / 3 The time interval between any two times is greater than a preset first switch identification period, where the first switch identification period is a time period for the smart switch to identify off-meter electricity consumption; The test host is used to 12 Before, the intelligent switch is controlled by the non-power line communication method to set the switch side reporting time parameter according to the time t2; The test host is also used to 1a , the time period T ab And the time period T ab In the following three time intervals, the wire-controlled switch is controlled by the non-power line communication method to perform off-on-off switching; The test host is also used to c2 At any time point within the time period T, the intelligent switch ac The total number of off-meter electricity consumption event records generated within the meter is counted to obtain the corresponding first total number of records; and the first total number of records is identified; if the first total number of records is 0, the corresponding first verification result is set to failure; if the first total number of records is greater than 0, the corresponding first verification result is set to success; the first verification result includes success and failure; The test host is also used to 23 At any time point within the time period T, the intelligent switch b2 The total number of off-meter power recovery event records generated in the meter is counted to obtain the corresponding second total number of records; and the second total number of records is identified; if the second total number of records is 0, the corresponding second verification result is set to failure; if the second total number of records is greater than 0, the corresponding second verification result is set to success; the second verification result includes success and failure; The test host is also used to 23 The reported data of the smart switch is monitored in real time by the power line communication method, and the reporting performance of the off-meter power consumption event of the smart switch is verified according to the monitoring result to obtain a corresponding third verification result; the third verification result includes success and failure; The test host is also used to set and display the overall verification result of the intelligent switch according to the obtained first, second and third verification results.
2. The detection system for identifying the external power consumption of the intelligent switch according to claim 1 is characterized in that: The test host is specifically used to process the control of the smart switch through the non-power line communication method to set the switch side reporting time parameters according to the time t2, encapsulate the time setting instruction according to the time t2 and the preset time setting instruction template to obtain the corresponding first time setting instruction; and send the first time setting instruction to the smart switch through the non-power line communication method; receive the first setting status sent back by the smart switch through the non-power line communication method; and when the first setting status is successful, confirm that the time setting instruction is executed successfully.
3. The detection system for identifying the external power consumption of the intelligent switch according to claim 2 is characterized in that: The intelligent switch is used for, when receiving the first time setting instruction sent by the test host through the non-power line communication method, parsing the corresponding time t2 from the first time setting instruction based on the preset time setting instruction parsing rule; and extracting the remaining time information of the time t2 excluding the year and month information as the corresponding current single-day time; and resetting the daily reporting time stored locally on the switch based on the current single-day time; and resetting the daily reporting status stored locally on the switch to not reported; and when the daily reporting time and the daily reporting status are reset successfully, setting the corresponding first setting status to success; and sending the first setting status back to the test host through the non-power line communication method; the daily reporting status includes reported and not reported; The intelligent switch is also used for periodically encapsulating meter reading instructions according to a preset meter reading instruction template based on a preset first meter reading frequency to obtain a corresponding first meter reading instruction; and sending the first meter reading instruction to all the downstream electric meters in a group based on the power line communication method; and receiving the first meter reading record sent back by each downstream electric meter through the power line communication method within a specified first receiving time after the group sending of the instruction; and forming a corresponding first meter reading record set from all the first meter reading records received within the first receiving time and storing it locally on the switch; wherein the first meter reading record set includes one or more of the first meter reading records; and the first meter reading record includes at least a first meter identification, a first meter reading time, a first meter accumulated electricity consumption and a first meter power; The intelligent switch is further configured to, when each first meter reading record set is successfully saved, use the first meter reading record set saved at that time as the corresponding current meter reading record set; and calculate the sum of all the first meter powers of the current meter reading record set to obtain the corresponding first meter total power P sum ; and the port of the switch connected to the normal power supply network is recorded as the corresponding current input port; and the real-time current and real-time power input to the current input port are detected and sampled multiple times at a preset first sampling frequency within a preset first hour period to obtain corresponding multiple pairs of first sampling currents I x and the first sampling power P x , the first hour period is less than the second test time L2, the sampling index x is an integer greater than 1, and the first sampling current I x With the first sampling power P x One-to-one correspondence; and according to each of the first sampling powers P x Two corresponding dynamic power thresholds are calculated and recorded as the corresponding first dynamic power threshold P H1,x and the second dynamic power threshold P H2,x , P H1,x =P x ×10%,P H2,x =P x ×30%; and according to each of the first sampling powers P x and the total power P of the first electric meter sum Calculate and generate a corresponding first power difference △P x =P x -P sum ; and in each of the first sampling current I x Greater than or equal to the preset first current threshold I H When the first power difference △P x Greater than the corresponding first dynamic power threshold P H1,x and is greater than the preset first static power threshold P S1 Then set the corresponding first judgment flag G x If there is suspected off-meter electricity consumption, the corresponding first power difference △P x is less than or equal to the corresponding first dynamic power threshold P H1,x Or less than or equal to the first static power threshold P S1 Then set the corresponding first judgment flag G x There is no off-meter electricity consumption; and in each of the first sampling currents I x is less than the first current threshold I H When the first power difference △P x Greater than the corresponding second dynamic power threshold P H2,x and is greater than the preset second static power threshold P S2 Then set the corresponding first judgment flag G x If there is suspected off-meter electricity consumption, the corresponding first power difference △P x is less than or equal to the corresponding second dynamic power threshold P H2,x Or less than or equal to the second static power threshold P S2 Then set the corresponding first judgment flag G x As there is no off-meter electricity consumption, P S2 <P S1 ; and all the first judgment marks G corresponding to the current first hour period x Whether all suspected off-meter electricity is identified, if yes, set a corresponding first event type as an off-meter electricity occurrence event, if not, set a corresponding first event type as an off-meter electricity recovery event; and use the current switch time as the corresponding first identification time; and form a corresponding first off-meter electricity event record with the first identification time and the first event type and store it locally on the switch; wherein, the first off-meter electricity event record includes the first identification time and the first event type; the first event type includes an off-meter electricity occurrence event and an off-meter electricity recovery event; The intelligent switch is also used to reset the daily reporting status to unreported when the real-time time of the daily switch matches the daily reporting time; and form a corresponding first record set from all the first off-meter electricity consumption event records stored on that day; and extract the first off-meter electricity consumption event records whose first event type is an off-meter electricity consumption event in the first record set to form a corresponding second record set; and perform statistics on the total number of records in the second record set to generate a corresponding first total number; and when the first total number is greater than 0, use the current switch time as the corresponding first reporting time, set a corresponding first reporting event type as an off-meter electricity consumption event, and set all the second record sets as The first identification time is extracted and sorted in chronological order to form a corresponding first identification time sequence, and the first reporting time, the first reporting event type and the first identification time sequence form a corresponding first reporting event record; and the first reporting event record is reported to the test host through the power line communication method; and when the reporting is completed, the daily reporting status is reset to reported; wherein, the first reporting event record includes the first reporting time, the first reporting event type and the first identification time sequence; the first reporting event type includes at least off-meter electricity consumption events, and the first identification time sequence is composed of one or more of the first identification times sorted in sequence.
4. The detection system for identifying the external power consumption of the intelligent switch according to claim 3 is characterized in that: Each of the downstream electric meters is used to supply power to the downstream loads based on the connected power lines; Each of the downstream electric meters is also used to record the port of the electric meter connected to the power line as the corresponding current input port each time the first meter reading instruction sent by the intelligent switch group is received through the power line communication mode; and detect the real-time power input to the current input port to obtain the corresponding first electric meter power; and taking the current meter time as the corresponding first meter reading time; and taking the unique identifier of the current electric meter as the corresponding first electric meter identifier; The accumulated electricity consumption of the current meter is used as the accumulated electricity consumption of the corresponding first meter; the first meter identifier, the first meter reading time, the accumulated electricity consumption of the first meter and the power of the first meter form a corresponding first meter reading record; and the first meter reading record is sent back to the smart switch via the power line communication method.
5. The detection system for identifying the external power consumption of an intelligent switch according to claim 1 is characterized in that: The test host is specifically used to process the 1a , the time period T ab And the time period T ab When the wire-controlled switch is controlled to switch off-on-off by the non-power line communication method in the following three time intervals: First, at the time t1, a disconnection setting instruction is encapsulated according to a preset disconnection setting instruction template to obtain a corresponding first disconnection setting instruction; and the first disconnection setting instruction is sent to the wire-controlled switch through the non-power line communication method; and a first disconnection state sent back by the wire-controlled switch is received through the non-power line communication method; and when the first disconnection state is successful, it is confirmed that the current disconnection setting instruction is executed successfully; Then at the time t a The method comprises the steps of: encapsulating the closing setting instruction according to the preset closing setting instruction template to obtain the corresponding first closing setting instruction; sending the first closing setting instruction to the wire-controlled switch through the non-power line communication method; receiving the first closing state sent back by the wire-controlled switch through the non-power line communication method; and confirming that the closing setting instruction is successfully executed when the first closing state is successful; Then at the time t b The circuit breaker setting instruction is encapsulated according to the circuit breaker setting instruction template to obtain a corresponding second circuit breaker setting instruction; the second circuit breaker setting instruction is sent to the wire-controlled power switch through the non-power line communication method; the second circuit breaker status sent back by the wire-controlled power switch is received through the non-power line communication method; and when the second circuit breaker status is successful, it is confirmed that the current circuit breaker setting instruction is executed successfully.
6. The detection system for identifying the external power consumption of the intelligent switch according to claim 5 is characterized in that: The line-controlled switch is used to connect the off-meter load to the power line through an internal switch; The line-controlled switch is further used to perform a disconnection operation on the internal switch used to connect the off-meter load when the first or second disconnection setting instruction sent by the test host is received through the non-power line communication method; and when the disconnection operation is successful, set the corresponding first or second disconnection state to success; and send the first or second disconnection state back to the test host through the non-power line communication method; The line-controlled switch is also used to close the internal switch for connecting the off-meter load when the first closing setting instruction sent by the test host is received through the non-power line communication method; and when the closing operation is successful, set the corresponding first closing state to success; and send the first closing state back to the test host through the non-power line communication method.
7. The detection system for identifying the external power consumption of an intelligent switch according to claim 3 is characterized in that: The test host is specifically used to process the intelligent switch in the time period T ac When the total number of off-meter electricity consumption event records generated within the time period T is counted to obtain the corresponding first total number of records, ac and encapsulating the off-meter electricity event record reading instruction with the preset off-meter electricity event record reading instruction template to obtain a corresponding first off-meter electricity event record reading instruction; and sending the first off-meter electricity event record reading instruction to the smart switch through the non-power line communication method; and receiving the first record sequence sent back by the smart switch through the non-power line communication method; and identifying whether the first record sequence is an empty sequence; if so, setting the corresponding total number of the first records to 0; If not, then the total number of records of the first off-meter electricity usage event records whose first event type is an off-meter electricity usage event in the first record sequence is counted to obtain the corresponding total number of the first records; wherein, when the first record sequence is not an empty sequence, it is composed of one or more first off-meter electricity usage event records sorted in chronological order; The test host is specifically used to process the intelligent switch in the time period T b2 When the total number of off-meter power recovery event records generated within the time period T is counted to obtain the corresponding second total number of records, b2 The off-meter electricity consumption event record reading instruction template is used to encapsulate the off-meter electricity consumption event record reading instruction to obtain a corresponding second off-meter electricity consumption event record reading instruction; and the second off-meter electricity consumption event record reading instruction is sent to the smart switch via the non-power line communication method; and the second record sequence sent back by the smart switch is received via the non-power line communication method; and whether the second record sequence is an empty sequence is identified; if so, the corresponding second total number of records is set to 0; if not, the total number of records of the first off-meter electricity consumption event records whose first event type is an off-meter electricity consumption recovery event in the second record sequence is counted to obtain the corresponding second total number of records; wherein, when the second record sequence is not an empty sequence, it is composed of one or more of the first off-meter electricity consumption event records sorted in chronological order.
8. The detection system for identifying the external power consumption of an intelligent switch according to claim 7 is characterized in that: The intelligent switch is used to parse the first or second off-meter electricity consumption event record reading instruction to obtain the corresponding time period T from the first or second off-meter electricity consumption event record reading instruction based on a preset off-meter electricity consumption event record reading instruction parsing rule when receiving the first or second off-meter electricity consumption event record reading instruction sent by the test host through the non-power line communication method. ac or the period T b2 as the corresponding current search period; And among all the first off-meter electricity usage event records locally stored in the switch, all the first off-meter electricity usage event records whose first identification time meets the current search time period are recorded as corresponding matching time period records; The total number of matching period records is counted to obtain the corresponding total number of first matching records; the first total number of matching records is identified; if the first total number of matching records is 0, the corresponding first or second record sequence is set to an empty sequence; if the first total number of matching records is greater than 0, all the matching period records obtained are sorted in chronological order to form the corresponding first or second record sequence; and the corresponding first or second record sequence is sent back to the test host via the non-power line communication method.
9. The detection system for identifying the external power consumption of the intelligent switch according to claim 3 is characterized in that: The test host is specifically used to process the 23 When the reported data of the smart switch is monitored in real time by the power line communication method and the reporting performance of the off-meter power consumption event of the smart switch is verified according to the monitoring result to obtain a corresponding third verification result, in the time period T 23 The first reporting event record reported by the intelligent switch is monitored in real time through the power line communication method; If the 23 If the first reporting event record is detected, the corresponding third verification result is set to success; If you fail to do so within the specified time period T 23 If the first reporting event record is intercepted internally, the corresponding third verification result is set to failure.
10. The detection system for identifying the external power consumption of an intelligent switch according to claim 1, characterized in that: The test host is specifically used to process the setting and display of the overall verification result of the intelligent switch according to the obtained first, second and third verification results, and to identify whether the first, second and third verification results are all successful; if so, the corresponding overall verification result is set to success; if not, the corresponding overall verification result is set to failure; and the overall verification result after setting is displayed.
Citation Information
Patent Citations
Intelligent power grid load testing and recognition method based on steady state and transient state characteristic joint matching
CN103105556A
Inductive transducer uncovering detection method
CN110333376A