CN113746589A - Station area identification method based on zero crossing NTB - Google Patents

Station area identification method based on zero crossing NTB Download PDF

Info

Publication number
CN113746589A
CN113746589A CN202111023853.3A CN202111023853A CN113746589A CN 113746589 A CN113746589 A CN 113746589A CN 202111023853 A CN202111023853 A CN 202111023853A CN 113746589 A CN113746589 A CN 113746589A
Authority
CN
China
Prior art keywords
ntb
sequence
station
identified
coordinator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111023853.3A
Other languages
Chinese (zh)
Other versions
CN113746589B (en
Inventor
卢金龙
夏凡
施惠丰
潘宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HI-TREND TECHNOLOGY (SHANGHAI) CO LTD
Original Assignee
HI-TREND TECHNOLOGY (SHANGHAI) CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by HI-TREND TECHNOLOGY (SHANGHAI) CO LTD filed Critical HI-TREND TECHNOLOGY (SHANGHAI) CO LTD
Priority to CN202111023853.3A priority Critical patent/CN113746589B/en
Publication of CN113746589A publication Critical patent/CN113746589A/en
Application granted granted Critical
Publication of CN113746589B publication Critical patent/CN113746589B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a station area identification method based on zero crossing NTB, which comprises the following steps: respectively acquiring evaluation groups of all central coordinators in an area to which a site to be identified belongs; acquiring recognition results based on all the grading groups through a preset recognition mode, and returning the recognition results to all the central coordinators; the method for acquiring the NTB sequence of the station by acquiring the station characteristics of the station to be identified comprises the following steps: determining a local central coordinator from all central coordinators in an area to which a site to be identified belongs; converting the beacon timestamp of the station to be identified and the beacon timestamp of the central coordinator into a beacon timestamp of the local central coordinator; calculating the delay time of the station to be identified based on the converted beacon timestamp of the station to be identified and the beacon timestamp of the central coordinator; and setting a high-precision timer based on the delay time, and acquiring the characteristic data by a zero-crossing NTB acquisition method to obtain the NTB sequence of the station to be identified. The station area identification method based on the zero-crossing NTB has better identification stability and higher identification precision.

Description

Station area identification method based on zero crossing NTB
Technical Field
The invention relates to the technical field of power line carriers, in particular to a station area identification method based on zero-crossing NTB (network node B) based on the technical specification of low-voltage power line high-speed carrier communication interconnection and intercommunication of a national power grid.
Background
The accurate establishment of the station area house change relationship is the key point for ensuring the accurate calculation of the line loss of the station area, and the station area identification technology can be used for identifying the working station areas of different HPLC networks, so that the accuracy of judging the house change relationship is improved, the management of the line loss of the station area is facilitated, and the economic operation level of a power grid is improved.
The national grid 'technical specification of interconnection and intercommunication of low-voltage power line high-speed carrier communication' and the 'station area household variable relation identification message' have detailed regulations on the format and the identification process of the station area identification message, and the problem that a power line communication module cannot accurately and accurately identify an affiliation station area exists in the existing station area identification scheme proposed based on the regulations.
Disclosure of Invention
The invention aims to solve the technical problem that a power line communication module cannot accurately and efficiently and correctly identify an attributive station area in the existing station area identification scheme provided based on the national power grid station area identification message format and the identification flow regulation.
Respectively acquiring evaluation groups of all central coordinators in an area to which a site to be identified belongs;
acquiring recognition results based on all the grading groups in a preset recognition mode, and returning the recognition results to all the central coordinators;
wherein, obtaining the scoring set of the station to be identified for a single central coordinator in the region to which the station belongs comprises:
the central coordinator sends a station area characteristic acquisition starting message to the station to be identified;
the station to be identified acquires the NTB sequence of the station by station area characteristic acquisition;
the central coordinator sends a station area characteristic information informing message to the station to be identified;
the station to be identified acquires a score value based on the station area characteristic information notification message and the station NTB sequence, and the identification round is added with 1;
judging whether the identification turns are smaller than preset times, if so, continuing to send a station area feature acquisition starting message to the station to be identified by the central coordinator, acquiring a new score value and judging the new identification turns, and otherwise, forming the score group by the station to be identified aiming at all the score values acquired by the central coordinator; the initial value of the identification round is 1,
the acquiring of the station NTB sequence of the station to be identified by the station feature acquisition comprises the following steps:
taking a central coordinator corresponding to a network into which the station to be identified is accessed as a local central coordinator;
the beacon timestamp of the central coordinator is differed from the beacon timestamp of the central coordinator to obtain a timestamp difference;
calculating a delay time of the station to be identified based on the start NTB of the central coordinator, the timestamp difference and a beacon timestamp of the station to be identified;
and setting a high-precision timer based on the delay time, and acquiring the characteristic data of the station to be identified by a zero-crossing NTB acquisition method to obtain the NTB sequence of the station to be identified.
Preferably, the generating, by the central coordinator, the platform characteristic information notification message includes:
taking a phase line accessed by a first wiring pin of the central coordinator as a reference phase line, and respectively collecting a zero-crossing NTB sequence of the first wiring pin of the central coordinator, a zero-crossing NTB sequence of a second wiring pin and a zero-crossing NTB sequence of a third wiring pin;
and calculating a reference phase line-based real phase sequence of the central coordinator based on the zero-crossing NTB sequence of the first wiring pin, the zero-crossing NTB sequence of the second wiring pin and the zero-crossing NTB sequence of the third wiring pin, and generating a coordinator NTB sequence based on the reference phase line-based real phase sequence.
Preferably, when the central coordinator performs zero-crossing NTB sequence acquisition, a start point of a rising edge of the zero-crossing NTB sequence is delayed from a start point of a falling edge of the zero-crossing NTB sequence.
Preferably, the step of obtaining a score value by the station to be identified based on the station area feature information notification packet and the station NTB sequence includes:
analyzing the station area characteristic information notification message to acquire a coordinator NTB sequence;
matching the site NTB sequence with an initial node of the coordinator NTB sequence to obtain an effective site NTB sequence and a coordinator NTB phase line sequence matched with the effective site NTB sequence;
calculating the effective site NTB sequence and a coordinator NTB phase line sequence matched with the effective site NTB sequence through a preset algorithm to obtain a result value;
and acquiring a scoring value based on the result value.
Preferably, the step of obtaining the NTB sequence of the valid station and the step of obtaining the result value further include:
rejecting abnormal data nodes in the effective site NTB sequence and the coordinator NTB phase line sequence matched with the effective site NTB sequence; and the abnormal data node is a point with a numerical value larger than a first threshold value.
Preferably, the step of removing the abnormal data nodes in the valid site NTB sequence and the coordinator NTB phase line sequence matched with the valid site NTB sequence and the step of obtaining the result value further include:
and dividing the effective site NTB sequence into at least two sections to obtain a plurality of sections of effective site NTB subsequences.
Preferably, the step of calculating the effective NTB sequence and the coordinator NTB sequence matched with the effective NTB sequence through a preset algorithm, and obtaining a result value includes:
sequentially calculating all the effective site NTB subsequences and coordinator NTB sequences matched with the effective site NTB subsequences by a preset algorithm to obtain a plurality of calculation results;
sequentially judging whether all the calculation results are smaller than or equal to a second threshold value, if so, considering that the NTB sub-sequence corresponding to the effective site is effective, otherwise, considering that the NTB sub-sequence corresponding to the effective site is ineffective;
and taking the preset values of the calculation results of all the effective site NTB subsequences as the result values of the effective site NTB sequences.
Preferably, the preset algorithm is a mean square algorithm or a linear correlation algorithm;
when the preset algorithm is a mean square algorithm, the expression of the mean square algorithm is as follows:
Figure BDA0003240917570000031
wherein R ismseDenotes the root mean square result, Xsta,iPoint i, Y, representing the valid site NTB subsequencecco,iRepresents the ith point of the coordinator NTB sequence, n is the number of the points in the effective site NTB subsequence,
when the preset algorithm is a linear correlation algorithm, the linear correlation algorithm expression is as follows:
Figure BDA0003240917570000032
wherein, r (X)sta,Ycco) Representing the correlation coefficient result, Cov (X)sta,Ycco) Represents the covariance, Var [ X ], of the active site NTB subsequences and the coordinator NTB sequencessta]The variance, Var [ Y ], of the effective site NTB subsequencescco]Representing the variance of the coordinator NTB sequence.
Preferably, the step of the station to be identified obtaining a score value based on the station zone characteristic information notification packet and the station NTB sequence further includes:
storing the scoring values through a sliding window.
Preferably, the obtaining of the recognition result through a preset recognition mode based on all the score groups includes:
sequentially judging whether the number of the scoring numerical values in all the scoring groups is larger than a third threshold value, if so, taking the scoring groups as effective scoring groups, and if not, taking the scoring groups as ineffective scoring groups;
respectively acquiring the percentage of the score value of all the effective score groups which is greater than or equal to a fourth threshold value as a score percentage, and finding out the maximum score percentage and the second maximum score percentage from all the score percentages as a first score percentage and a second score percentage respectively;
and judging whether the difference value between the first score percentage and the second score percentage is greater than or equal to a fifth threshold, if so, the central coordinator corresponding to the first score percentage is the station area of the station to be identified, and otherwise, the station area of the station to be identified is considered to be unidentifiable.
Compared with the prior art, one or more embodiments in the above scheme can have the following advantages or beneficial effects:
the station area identification method based on the zero-crossing NTB provided by the embodiment of the invention can be applied to the power environment specified by 'station area household variation relation identification messages' in the 'technical specification of interconnection and intercommunication of low-voltage power line high-speed carrier communication' of the national power grid, and solves the problem that the existing power line communication module cannot accurately and efficiently identify the home station area. Namely, the station area identification method based on the zero-crossing NTB has better identification stability and higher identification precision.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic flow chart illustrating a method for identifying a station zone based on zero crossing NTB according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a process of obtaining the scoring groups of sites to be identified for a single central coordinator in the area to which the sites belong according to a first embodiment of the present invention;
fig. 3 shows a schematic flow chart of zero-crossing NTB acquisition in the first embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating a process of obtaining a score value according to a root mean square algorithm and storing the score value after matching a site NTB sequence and a coordinator NTB sequence according to a first embodiment of the present invention;
fig. 5 is a schematic flow chart illustrating a process of obtaining and storing a score value according to a linear correlation algorithm after matching a site NTB sequence and a coordinator NTB sequence according to a first embodiment of the present invention;
fig. 6 shows a node schematic of the coordinator NTB sequence of the central coordinator 612704123600 and the site NTB sequence of the site;
fig. 7 shows a node schematic of the coordinator NTB sequence of the central coordinator 739014800300 and the site NTB sequence of the site;
FIG. 8 is a diagram illustrating a scoring set of sites to be identified for a central coordinator according to an embodiment of the present invention;
FIG. 9 is a diagram of partial zero crossing NTB sequence data of a central coordinator according to an embodiment of the present invention.
Detailed Description
The following detailed description of the embodiments of the present invention will be provided with reference to the drawings and examples, so that how to apply the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented. It should be noted that, as long as there is no conflict, the embodiments and the features of the embodiments of the present invention may be combined with each other, and the technical solutions formed are within the scope of the present invention.
The specifications in the national grid "technical specification for interconnecting and intercommunicating low-voltage power line high-speed carrier communication" include:
CCO is Central Coordinator (Central Coordinator); STA is Station (Station); NTB is Network Time Base; the initial NTB is the NTB at the time of starting acquisition of the whole network; the collection number is the number of continuously collected characteristic information.
The acquisition mode is that the field is only effective when the characteristic type is a power frequency period characteristic. 0 retention, 1 falling edge acquisition, 2 rising edge acquisition, and 3 double edge acquisition. When the acquisition mode is a rising edge or a falling edge, fields of 'initial acquisition NTB 2' and 'station area characteristic information sequence 2' are not filled; when the acquisition mode is double-edge, "start acquisition NTB 1" and "station characteristic information sequence 1" are falling edge data, and "start acquisition NTB 2" and "station characteristic information sequence 2" are rising edge data.
The start acquisition NTB1 represents the start time of the zero crossing point of this acquisition, i.e. the acquisition time of the first feature data, and the start time in the start acquisition command. Initial collection NTB 2: this field is only used when the signature type is a "power frequency cycle" signature. Define the same initial collection NTB 1.
Fig. 6 shows a node schematic of the coordinator NTB sequence of the central coordinator 612704123600 and the site NTB sequence of the site; fig. 7 shows a node schematic of the coordinator NTB sequence of the central coordinator 739014800300 and the site NTB sequence of the site; as can be seen from fig. 6 and 7, the degree of matching between the sequence of the coordinator NTB of the central coordinator (612704123600) and the sequence of the site NTB of the site is very high, and it is known that the central coordinator 612704123600 is the home zone of the site, whereas the degree of matching between the sequence of the coordinator (739014800300) belonging to the non-home zone is very low. Based on the principle, the following station area identification method based on the zero crossing NTB is designed.
Example one
In order to solve the technical problems in the prior art, the embodiment of the invention provides a station area identification method based on zero-crossing NTB.
Fig. 1 is a schematic flow chart illustrating a method for identifying a station zone based on zero crossing NTB according to an embodiment of the present invention; referring to fig. 1, a method for identifying a station zone based on zero crossing NTB according to an embodiment of the present invention includes the following steps.
Step S101, respectively obtaining the evaluation groups of all central coordinators in the area to which the station to be identified belongs.
Specifically, a Station (STA) requiring station identification is set as a station to be identified, and the station of the station to be identified should exist in a Central Coordinator (CCO) within the range to which the station belongs, so that the station to be identified sends an identification message to the station to be identified through all the central coordinators within the range to which the station to be identified belongs, so that the station to be identified respectively obtains evaluation packets for all the central coordinators, and further serves as a data basis for the station to be identified to identify the station.
Further, the process of acquiring scoring groups for all central coordinators by a station to be identified is the same, so the process of acquiring scoring groups for a single central coordinator by a station to be identified is taken as an example in the following. And in order not to cause ambiguity, all the following central coordinators are set to belong to the range of the station to be identified.
FIG. 2 is a schematic flow chart illustrating a process of obtaining the scoring groups of sites to be identified for a single central coordinator in the area to which the sites belong according to a first embodiment of the present invention; referring to fig. 2, the step of acquiring the scoring set for the single central coordinator in the region to which the station to be identified belongs includes the following steps.
Step S1011, the central coordinator sends a station area characteristic acquisition starting message to the station to be identified.
Step S1012, the station to be identified performs station area feature acquisition to obtain a station NTB sequence.
Specifically, before acquiring the station characteristic data, in order to ensure synchronization of acquisition time, the station to be identified and the beacon timestamp of the central coordinator need to be synchronized, but since the station to be identified needs to acquire evaluation groups for a plurality of central coordinators, and in subsequent steps, the station of the station to be identified needs to be identified by comparing the evaluation groups. Therefore, in order to avoid errors, a central coordinator corresponding to the network where the station to be identified is accessed needs to be used as a local central coordinator; and then the beacon timestamp of the central coordinator is differed with the beacon timestamp of the central coordinator to obtain a timestamp difference. It should be noted that, if the central coordinator performing the calculation is the local coordinator, the timestamp difference is zero, and the beacon timestamp of the local central coordination is equal to the beacon timestamp of the station to be identified.
In a near step, because the central coordinator adopts a high-precision active 25MHz crystal oscillator, the hardware difference of different manufacturers is smaller than that of a site end, so that the site is replacedAnd taking the central coordinator corresponding to the network as a local coordinator, and taking the beacon timestamp of the local coordinator as a reference beacon timestamp. Before a station to be identified performs single station area characteristic acquisition, when the station to be identified receives a beacon timestamp of a non-local central coordinator each time, the beacon timestamp of the central coordinator needs to be differed from the beacon timestamp of the central coordinator, and the locally-stored timestamp difference of the non-local central coordinator, namely Tdiff. And then calculating the delay time of the station to be identified based on the initial NTB of the central coordinator, the timestamp difference and the beacon timestamp of the station to be identified.
The delay time is calculated as follows:
when the central coordinator of the station to be identified is the local central coordinator, the delay time of the timer of the station to be identified is as follows:
Dsta=(Tas-Tsta)×0.04
wherein D isstaThe unit is the delay time of the station to be identified, which is us; that is, the timer of the station to be identified is waiting for DstaAfter microseconds, starting local zero crossing NTB acquisition; t isasThe numerical value of 'initial NTB' issued for the local central coordinator; t isstaAnd the converted beacon timestamp of the station to be identified.
When the central coordinator of the station to be identified is not the local central coordinator, the delay time of the timer of the station to be identified is as follows: assume that the central coordinator, which is not a local coordinator, is:
Dsta=(Tbs+Tdiff-Tsta)×0.04
wherein D isstaThe unit is the delay time of the station to be identified, which is us; waiting for the timer of the station to be identified to be DstaAfter microseconds, starting local zero crossing NTB acquisition; t isbsThe numerical value of 'initial NTB' issued for the non-local central coordinator; t isdiffIs the deviation value of the beacon time stamp of the non-local coordinator from the beacon time stamp of the local coordinator, TstaAnd the converted beacon timestamp of the station to be identified.
After the delay time of the station to be identified is obtained, a high-precision timer of the station to be identified is set based on the delay time, and the characteristic data of the station to be identified is collected through a zero-crossing NTB collection method, so that the NTB sequence of the station to be identified is obtained. Fig. 3 shows a schematic flow chart of zero-crossing NTB acquisition in the first embodiment of the present invention; referring to fig. 3, the high-precision timer of the station to be identified is triggered to enable local zero-crossing interruption, the zero-crossing interruption is triggered periodically, the acquisition of NTB values is realized in a zero-crossing interruption service function, and when the acquired zero-crossing number meets the requirement, the NTB sequence of the station is stored in a data cache opened for the corresponding network by the station to be identified.
Step S1013, the central coordinator sends a station area characteristic information informing message to the station to be identified.
Specifically, when the central coordinator performs NTB data acquisition, the concentrator binding posts are sequentially connected to the 1 st phase line, the 2 nd phase line, the 3 rd phase line and the zero line, and ideally, the central coordinator needs to be connected to the concentrator device through pins in an inserting manner, so that the power supply line sequence of the central coordinator is consistent with the power supply line sequence of the concentrator wiring terminals, wherein the central coordinator uses the phase line connected to the first wiring pin as a reference (as phase a), and the actually expected wiring phase of the central coordinator is ABC. But due to field wiring confusion, the phase of the central coordinator may be ACB. In this case, if the central coordinator sequentially reads data from the pins as a "station characteristic information notification message", the zero-crossing data of the C-phase is filled in the second outgoing line position. According to the protocol specification, the 'station area characteristic information informing message' issued by the central coordinator only contains 'initial acquisition NTB' of the upper edge and the lower edge of the first outgoing line; therefore, the message must guarantee to fill the NTB sequence of phase ABC in sequence. Otherwise, when the physical connection of the station is the phase B or the phase C, the matching is completely wrong, and the identification cannot be carried out.
In order to solve the above problems, in this embodiment, a phase line accessed by a first wiring pin of the central coordinator is used as a reference phase line, and a zero-crossing NTB sequence of the first wiring pin of the central coordinator, a zero-crossing NTB sequence of the second wiring pin, and a zero-crossing NTB sequence of the third wiring pin are respectively collected; and calculating a real phase sequence of the central coordinator based on the reference phase line according to the zero-crossing NTB sequence of the first wiring pin, the zero-crossing NTB sequence of the second wiring pin and the zero-crossing NTB sequence of the third wiring pin, and generating the NTB sequence of the coordinator based on the real phase sequence of the reference phase line. And then the central coordinator generates a station area characteristic information informing message based on the coordinator NTB sequence and sends the message to the station to be identified.
It should be noted that, when the central coordinator performs zero-crossing NTB sequence acquisition, a start point of a rising edge of the zero-crossing NTB sequence is delayed from a start point of a falling edge of the zero-crossing NTB sequence. Namely, based on the description of the station area household variable relation identification message in the technical specification of interconnection and intercommunication of low-voltage power line high-speed carrier communication, when the acquisition mode is double-edge, the initial acquisition NTB1 and the station area characteristic information sequence 1 are falling edge data, and the initial acquisition NTB2 and the station area characteristic information sequence 2 are rising edge data. In the actual acquisition process, because the initial acquisition time of the CCO is uncertain, the "initial acquisition NTB 2" leads "the initial acquisition NTB 1", and after the "initial acquisition NTB 1" is specified to be valid, the next rising edge NTB can be used as the "initial acquisition NTB 2", so that the "initial acquisition NTB 1" is always before the "initial acquisition NTB 2".
Step S1014, the station to be identified informs the message and the NTB sequence of the station to acquire a score value based on the station area characteristic information, and the identification round is added with 1, wherein the initial value of the identification round is 1.
Specifically, the station to be identified needs to analyze the station area characteristic information notification packet to obtain the coordinator NTB sequence of the central coordinator. Further, the station to be identified analyzes the station zone characteristic information notification message to obtain fields of "initial acquisition NTB 1" and "initial acquisition NTB 2", and restores the coordinator NTB sequence of the central coordinator, wherein the restoration formula is as follows:
Pi=Pi-1+(Ti<<3)+20×25000
wherein, i is a zero crossing point (i is more than 0) of a central coordinator in any phase line sequence; t isiIs the original value of the zero crossing; piThe NTB value after the zero crossing point is restored; pi-1Is the previous zero-crossing point and has beenReduced NTB value. In particular, when i is 0, PiEqual to "initial harvest NTB". The main purpose of the shift processing is to keep consistent with the format of the site NTB, so as to facilitate the subsequent data processing.
And matching the site NTB sequence with the initial node of the coordinator NTB sequence to obtain an effective site NTB sequence. Further, the NTB sequence of the coordinator is symmetrical in three-phase circuit and simultaneously comprises upper edge sampling and lower edge sampling. If any zero crossing point is taken as the starting reference, the difference between each subsequent zero crossing point time and the previous zero crossing point time is T/6(T is a power frequency period, generally 20 ms). FIG. 9 is a diagram of partial zero crossing NTB sequence data of a central coordinator according to an embodiment of the present invention. As shown in fig. 9, the first outgoing line (falling edge) of the central coordinator is used as the starting reference, and the third outgoing line rising edge, the second outgoing line falling edge, the first outgoing line rising edge, the third outgoing line falling edge, and the second outgoing line rising edge correspond in sequence.
And respectively matching the first node (namely the initial node) of the site NTB sequence of the site to be identified with the six-way phase line sequence of the coordinator NTB sequence, discarding the initial node if the initial node of the site NTB sequence is not in the six-way phase line sequence of the coordinator NTB sequence, and selecting the next node of the site NTB sequence for matching until the initial node can be matched. Because the power frequency period has deviation, a certain error range can be added before and after the zero crossing point during matching. And if no node can be matched, the NTB data of the station to be identified is considered to be invalid. Of course, the same effect can be achieved by using the site NTB sequence as a reference and performing matching comparison by using the coordinator NTB sequence. It should be noted that once the matching node is found, the remaining NTB sequence at the position is intercepted as an effective NTB sequence starting from the matching node for subsequent calculation. And the effective site NTB sequence and the coordinator NTB phase line sequence successfully matched with the effective site NTB sequence are used as a data basis of a subsequent preset algorithm.
It should be noted that, a certain edge of the central coordinator may also be selected for matching, and if the range of the STA is located near (outgoing node + T/2), it may be determined that the connection mode of the station to be identified is "zero fire reverse connection". If the station is in a reverse connection state, the station to be identified needs to match data opposite to the local edge in a message sent by the central coordinator.
After the effective site NTB sequence and the coordinator NTB phase line sequence successfully matched with the effective site NTB sequence are obtained, the effective site NTB sequence and the coordinator NTB phase line sequence successfully matched with the effective site NTB sequence need to be subjected to exception filtering, namely a first threshold value is set, data nodes which are larger than the first threshold value in the effective site NTB sequence and the coordinator NTB phase line sequence successfully matched with the effective site NTB sequence are removed, and the coordinator NTB phase line sequence which is the effective site NTB sequence of normal data nodes and successfully matched with the effective site NTB sequence is left.
Because dozens of data points still exist in the abnormally filtered effective site NTB data, the stability of the algorithm is ensured, and the problem that the algorithm is invalid due to the fact that the site NTB data acquired at a certain time are abnormal is prevented. In this embodiment, the NTB sequence of the effective site is divided into at least two segments, so as to obtain multiple segments of NTB subsequences of the effective site.
And calculating the effective site NTB sequence and the coordinator NTB phase line sequence matched with the effective site NTB sequence through a preset algorithm to obtain a result value. Further, calculating all effective site NTB subsequences and coordinator NTB phase line sequences matched with the effective site NTB subsequences in sequence through a preset algorithm to obtain a plurality of calculation results; then, sequentially judging whether all calculation results are smaller than or equal to a second threshold value, if so, considering the NTB sub-sequence of the corresponding effective site to be effective, and otherwise, considering the NTB sub-sequence of the corresponding effective site to be ineffective; and selecting preset values of the calculation results of all the effective site NTB subsequences as result values of the effective site NTB sequences. Preferably, the preset value may be a median, an average or a minimum.
The preset algorithm is a root-mean-square algorithm or a linear correlation algorithm. The identification based on the power frequency zero-crossing sequence is differentiated by 'similarity degree'; because certain interference exists in the practical application environment, the acquired data has larger deviation, and therefore, the processing algorithm becomes more important.
Fig. 4 is a schematic flow chart illustrating a process of obtaining a score value according to a root mean square algorithm and storing the score value after matching a site NTB sequence and a coordinator NTB sequence according to a first embodiment of the present invention; fig. 5 is a flowchart illustrating a process of obtaining and storing a score value according to a linear correlation algorithm after matching a site NTB sequence and a coordinator NTB sequence according to a first embodiment of the present invention.
Further, when the preset algorithm is a root-mean-square algorithm, the root-mean-square algorithm expression is as follows:
Figure BDA0003240917570000091
wherein R ismseDenotes the root mean square result, Xsta,iI point, Y, representing valid site NTB subsequencecco,iThe ith point of the coordinator NTB sequence is shown, and n is the number of points in the effective site NTB subsequence.
When the preset algorithm is a linear correlation algorithm, the linear correlation algorithm expression is as follows:
Figure BDA0003240917570000092
wherein, r (X)sta,Ycco) Representing the correlation coefficient result, Cov (X)sta,Ycco) Represents the covariance of the active site NTB subsequences and the coordinator NTB sequences, Var [ X ]sta]The variance, Var [ Y ], of the effective site NTB subsequencescco]Representing the variance of the coordinator NTB sequence.
And after the result value of the effective site NTB sequence is obtained, obtaining a score value based on the result value. Further, when the preset algorithm is a root mean square algorithm, obtaining a score numerical expression based on the result value is as follows:
P=100–100*Rmse/Y
wherein P is a score value, Y is a first threshold, RmseAs a root mean square result;
when the preset algorithm is a linear correlation algorithm, obtaining a scoring numerical expression based on the result value is as follows:
P=r(Xsta,Ycco)*100
wherein P is a score value and m is a result value.
And after the score value is obtained, adding 1 to the identification round value, setting the initial value of the identification round to be 1, and storing the score value in a sliding window storage mode.
It should be noted that, because the station area identification process is generally 24 hours, the issued rounds can be considered to be enough, and the count of the identification rounds is to ensure that the data amount is enough and the effectiveness of the algorithm is ensured.
In application, let the launch turn be N (N >0), the sliding window size be M, and N is much larger than M. When the sliding window is full, every time a new group of calculation results is obtained, deleting the 1 st position data in the M groups of sequences, sequentially filling the 2 nd to M th position data to the 1-M-1 position, and storing the new calculation results to the M position, namely, adopting a 'sliding window' algorithm to ensure that the data in the M groups are valid data in the latest time period.
In step S1015, it is determined whether the identification round is less than the preset number, if so, go to step S1011, otherwise go to step S1016.
Specifically, whether the identification round is less than the preset number is judged to judge whether the number of times of acquiring the NTB sequence of the station to be identified reaches the set number, if not, step S1011 is executed to re-acquire the NTB sequence of the station to be identified and acquire a new score value, otherwise, acquisition completion is indicated to acquire all score values.
Step S1016, all the scoring values obtained by the station to be identified aiming at the central coordinator are combined into scoring groups.
Fig. 8 is a schematic diagram of scoring groups of sites to be identified for a central coordinator according to an embodiment of the present invention. It should be noted that step S1015 and step S1016 are implemented in the site to be identified.
And step S102, acquiring recognition results through a preset recognition mode based on all the grading groups, and returning the recognition results to all the central coordinators.
Specifically, whether the number of scoring numerical values in all scoring groups is larger than a third threshold value or not is sequentially judged, if yes, the scoring groups are used as effective scoring groups, and if not, the scoring groups are used as ineffective scoring groups; respectively acquiring the percentage of the score value of all the effective score groups which is greater than or equal to a fourth threshold value as a score percentage, and finding out the maximum score percentage and the second maximum score percentage from all the score percentages of the preset values as a first score percentage and a second score percentage; and judging whether the difference value between the first score percentage and the second score percentage is greater than or equal to a fifth threshold, if so, the central coordinator corresponding to the first score percentage is the station area of the station to be identified with the preset value, and otherwise, the station area of the station to be identified is considered to be unidentifiable. Wherein the third threshold is the average of the number of scoring values in all scoring groups.
The station area identification method based on the zero-crossing NTB provided by the embodiment of the invention can be applied to the power environment specified by the station area household variable relation identification message in the technical specification of interconnection and intercommunication of low-voltage power line high-speed carrier communication of the national power grid, and solves the problem that the existing power line communication module cannot accurately and accurately identify the home station area. Namely, the station area identification method based on the zero-crossing NTB has better identification stability and higher identification precision.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A station area identification method based on zero crossing NTB comprises the following steps:
respectively acquiring evaluation groups of all central coordinators in an area to which a site to be identified belongs;
acquiring recognition results based on all the grading groups in a preset recognition mode, and returning the recognition results to all the central coordinators;
wherein, obtaining the scoring set of the station to be identified for a single central coordinator in the region to which the station belongs comprises:
the central coordinator sends a station area characteristic acquisition starting message to the station to be identified;
the station to be identified acquires the NTB sequence of the station by station area characteristic acquisition;
the central coordinator sends a station area characteristic information informing message to the station to be identified;
the station to be identified acquires a score value based on the station area characteristic information notification message and the station NTB sequence, and the identification round is added with 1;
judging whether the identification turns are smaller than preset times, if so, continuing to send a station area feature acquisition starting message to the station to be identified by the central coordinator, acquiring a new score value and judging the new identification turns, and otherwise, forming the score group by the station to be identified aiming at all the score values acquired by the central coordinator; the initial value of the identification round is 1,
the acquiring of the station NTB sequence of the station to be identified by the station feature acquisition comprises the following steps:
taking a central coordinator corresponding to a network into which the station to be identified is accessed as a local central coordinator;
the beacon timestamp of the central coordinator is differed from the beacon timestamp of the central coordinator to obtain a timestamp difference;
calculating a delay time of the station to be identified based on the start NTB of the central coordinator, the timestamp difference and a beacon timestamp of the station to be identified;
and setting a high-precision timer based on the delay time, and acquiring the characteristic data of the station to be identified by a zero-crossing NTB acquisition method to obtain the NTB sequence of the station to be identified.
2. The method of claim 1, wherein the central coordinator generating the station feature information notification message comprises:
taking a phase line accessed by a first wiring pin of the central coordinator as a reference phase line, and respectively collecting a zero-crossing NTB sequence of the first wiring pin of the central coordinator, a zero-crossing NTB sequence of a second wiring pin and a zero-crossing NTB sequence of a third wiring pin;
and calculating a reference phase line-based real phase sequence of the central coordinator based on the zero-crossing NTB sequence of the first wiring pin, the zero-crossing NTB sequence of the second wiring pin and the zero-crossing NTB sequence of the third wiring pin, and generating a coordinator NTB sequence based on the reference phase line-based real phase sequence.
3. The method according to claim 1, wherein the central coordinator performs zero-crossing NTB sequence acquisition, wherein a start point of a rising edge of the zero-crossing NTB sequence is delayed from a start point of a falling edge of the zero-crossing NTB sequence.
4. The method according to claim 1, wherein the step of the station to be identified obtaining a score value based on the station zone characteristic information notification packet and the station NTB sequence comprises:
analyzing the station area characteristic information notification message to acquire a coordinator NTB sequence;
matching the site NTB sequence with an initial node of the coordinator NTB sequence to obtain an effective site NTB sequence and a coordinator NTB phase line sequence matched with the effective site NTB sequence;
calculating the effective site NTB sequence and a coordinator NTB phase line sequence matched with the effective site NTB sequence through a preset algorithm to obtain a result value;
and acquiring a scoring value based on the result value.
5. The method of claim 4, wherein the step of obtaining the NTB sequence of the valid station and the step of obtaining the result value further comprise:
rejecting abnormal data nodes in the effective site NTB sequence and the coordinator NTB phase line sequence matched with the effective site NTB sequence; and the abnormal data node is a point with a numerical value larger than a first threshold value.
6. The method according to claim 5, wherein the step of eliminating abnormal data nodes in the valid site NTB sequence and the coordinator NTB phase line sequence matched with the valid site NTB sequence and the step of obtaining the result value further comprise:
and dividing the effective site NTB sequence into at least two sections to obtain a plurality of sections of effective site NTB subsequences.
7. The method according to claim 6, wherein the effective NTB sequence and the coordinator NTB sequence matched therewith are calculated by a preset algorithm, and the step of obtaining the result value comprises:
sequentially calculating all the effective site NTB subsequences and coordinator NTB sequences matched with the effective site NTB subsequences by a preset algorithm to obtain a plurality of calculation results;
sequentially judging whether all the calculation results are smaller than or equal to a second threshold value, if so, considering that the NTB sub-sequence corresponding to the effective site is effective, otherwise, considering that the NTB sub-sequence corresponding to the effective site is ineffective;
and taking the preset values of the calculation results of all the effective site NTB subsequences as the result values of the effective site NTB sequences.
8. The method according to claim 7, wherein the predetermined algorithm is a mean square algorithm or a linear correlation algorithm;
when the preset algorithm is a mean square algorithm, the expression of the mean square algorithm is as follows:
Figure FDA0003240917560000021
wherein R ismseDenotes the root mean square result, Xsta,iPoint i, Y, representing the valid site NTB subsequencecco,iI point representing the coordinator NTB sequence, n isThe number of the points in the effective site NTB subsequence,
when the preset algorithm is a linear correlation algorithm, the linear correlation algorithm expression is as follows:
Figure FDA0003240917560000031
wherein, r (X)sta,Ycco) Representing the correlation coefficient result, Cov (X)sta,Ycco) Represents the covariance, Var [ X ], of the active site NTB subsequences and the coordinator NTB sequencessta]The variance, Var [ Y ], of the effective site NTB subsequencescco]Representing the variance of the coordinator NTB sequence.
9. The method according to claim 4, wherein the step of the station to be identified obtaining a score value based on the station zone feature information notification packet and the station NTB sequence further comprises:
storing the scoring values through a sliding window.
10. The method of claim 1, wherein obtaining recognition results based on all the score groups through a preset recognition mode comprises:
sequentially judging whether the number of the scoring numerical values in all the scoring groups is larger than a third threshold value, if so, taking the scoring groups as effective scoring groups, and if not, taking the scoring groups as ineffective scoring groups;
respectively acquiring the percentage of the score value of all the effective score groups which is greater than or equal to a fourth threshold value as a score percentage, and finding out the maximum score percentage and the second maximum score percentage from all the score percentages as a first score percentage and a second score percentage respectively;
and judging whether the difference value between the first score percentage and the second score percentage is greater than or equal to a fifth threshold, if so, the central coordinator corresponding to the first score percentage is the station area of the station to be identified, and otherwise, the station area of the station to be identified is considered to be unidentifiable.
CN202111023853.3A 2021-09-01 2021-09-01 Zero-crossing NTB-based area identification method Active CN113746589B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111023853.3A CN113746589B (en) 2021-09-01 2021-09-01 Zero-crossing NTB-based area identification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111023853.3A CN113746589B (en) 2021-09-01 2021-09-01 Zero-crossing NTB-based area identification method

Publications (2)

Publication Number Publication Date
CN113746589A true CN113746589A (en) 2021-12-03
CN113746589B CN113746589B (en) 2024-01-30

Family

ID=78734832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111023853.3A Active CN113746589B (en) 2021-09-01 2021-09-01 Zero-crossing NTB-based area identification method

Country Status (1)

Country Link
CN (1) CN113746589B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979316A (en) * 2022-05-09 2022-08-30 佳源科技股份有限公司 Power line carrier communication-based electric meter time synchronization system and method
CN116859296A (en) * 2023-09-04 2023-10-10 北京智芯微电子科技有限公司 Phase line identification method and device, chip, electronic equipment and storage medium
CN117148010A (en) * 2023-09-01 2023-12-01 北京佳悦灏源科技有限公司 HPLC signal characteristic and voltage correlation-based platform region identification method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070025266A1 (en) * 2005-07-27 2007-02-01 Neal Riedel Communicating schedule and network information in a powerline network
CN108710060A (en) * 2018-06-11 2018-10-26 南京南瑞微电子技术有限公司 A kind of taiwan area recognition methods and device
CN109547065A (en) * 2018-10-30 2019-03-29 国网北京市电力公司 Platform area identifying system and its recognition methods
CN110212518A (en) * 2019-04-30 2019-09-06 北京市腾河智慧能源科技有限公司 The recognition methods of platform area, computer-readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070025266A1 (en) * 2005-07-27 2007-02-01 Neal Riedel Communicating schedule and network information in a powerline network
CN108710060A (en) * 2018-06-11 2018-10-26 南京南瑞微电子技术有限公司 A kind of taiwan area recognition methods and device
CN109547065A (en) * 2018-10-30 2019-03-29 国网北京市电力公司 Platform area identifying system and its recognition methods
CN110212518A (en) * 2019-04-30 2019-09-06 北京市腾河智慧能源科技有限公司 The recognition methods of platform area, computer-readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979316A (en) * 2022-05-09 2022-08-30 佳源科技股份有限公司 Power line carrier communication-based electric meter time synchronization system and method
CN117148010A (en) * 2023-09-01 2023-12-01 北京佳悦灏源科技有限公司 HPLC signal characteristic and voltage correlation-based platform region identification method
CN117148010B (en) * 2023-09-01 2024-04-05 北京佳悦灏源科技有限公司 HPLC signal characteristic and voltage correlation-based platform region identification method
CN116859296A (en) * 2023-09-04 2023-10-10 北京智芯微电子科技有限公司 Phase line identification method and device, chip, electronic equipment and storage medium
CN116859296B (en) * 2023-09-04 2024-01-23 北京智芯微电子科技有限公司 Phase line identification method and device, chip, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113746589B (en) 2024-01-30

Similar Documents

Publication Publication Date Title
CN113746589A (en) Station area identification method based on zero crossing NTB
US11982695B2 (en) Transformer area identification method and computer-readable storage medium
US9835662B2 (en) Electrical network topology determination
CN109165229B (en) Method, device, equipment and storage medium for checking local block synchronization
CN108710060A (en) A kind of taiwan area recognition methods and device
CN108257374A (en) Family becomes recognition methods and the device of relationship
CN113630156B (en) Method for identifying starting area of crosstalk area by judging carrier signal
CN111446988A (en) Low-voltage transformer area line-changing user topology identification edge calculation method based on HP L C carrier communication
CN111366801B (en) Method for identifying topology of switch in transformer area
CN107369308A (en) A kind of power information acquisition system communication means that mechanism is perceived based on the whole network
CN112232382B (en) Branching and ammeter membership identification method and system for low-voltage transformer area
CN111711192A (en) Real-time line loss analysis method and system for lean management of line loss of support station area
CN106452648A (en) Time synchronization method and communication terminal
CN111711469B (en) Signal-to-noise ratio-based station area identification method and system, storage medium and STA node
CN104080060A (en) Method of transmitting antitheft short message through mobile terminal
CN107359952B (en) A kind of clock Dynamic Compression towards time-triggered network
CN114069608B (en) Voltage-based distributed type platform area identification method
CN110032586A (en) Storage method, querying method and the acquisition and memory system of energy storage battery core data
CN109120637B (en) Network security supervision platform and method
CN107509227A (en) A kind of power information acquisition system micropower wireless network communication method
CN112116802A (en) Method for collecting and reporting real-time data of power collection system
WO2019223118A1 (en) Method and apparatus for evaluating reliability of wide area protection system
CN111753003B (en) Method for improving success rate of reporting data of concentrator
CN115685817B (en) Method, device and medium for processing data concurrency during CAN (controller area network) multi-node communication
CN114567471B (en) Electric power communication network safety detection system and method based on 5G

Legal Events

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