CN115149981A - Phase recognition method, phase recognition device, communication system, and storage medium - Google Patents
Phase recognition method, phase recognition device, communication system, and storage medium Download PDFInfo
- Publication number
- CN115149981A CN115149981A CN202210744342.9A CN202210744342A CN115149981A CN 115149981 A CN115149981 A CN 115149981A CN 202210744342 A CN202210744342 A CN 202210744342A CN 115149981 A CN115149981 A CN 115149981A
- Authority
- CN
- China
- Prior art keywords
- information
- zero
- phase
- ntb
- reference time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 146
- 238000000034 method Methods 0.000 title claims abstract description 69
- 238000003860 storage Methods 0.000 title claims abstract description 18
- 238000004590 computer program Methods 0.000 claims description 13
- 230000008569 process Effects 0.000 abstract description 10
- 101800001295 Putative ATP-dependent helicase Proteins 0.000 description 95
- 101800001006 Putative helicase Proteins 0.000 description 95
- 230000000875 corresponding effect Effects 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 238000009826 distribution Methods 0.000 description 9
- 230000000630 rising effect Effects 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000006855 networking Effects 0.000 description 3
- 230000005611 electricity Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000010248 power generation Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/02—Details
- H04B3/46—Monitoring; Testing
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/175—Indicating the instants of passage of current or voltage through a given value, e.g. passage through zero
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R25/00—Arrangements for measuring phase angle between a voltage and a current or between voltages or currents
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/54—Systems for transmission via power distribution lines
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Engineering (AREA)
- Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
Abstract
The embodiment of the invention discloses a phase identification method, a phase identification device, a communication system and a storage medium.A first matching array is formed by acquiring local three-phase zero-crossing network reference time (NTB) information and acquiring information meeting a first preset condition, or a second matching array is formed by acquiring information meeting a second preset condition when determining that a communication node to be identified has no zero-fire reverse connection condition; acquiring the NTB information of the zero-crossing network reference time of the communication node to be identified, and taking any one of the NTB information as the information to be matched; and searching zero-crossing network reference time NTB information which is closest to the information to be matched in the first matching array or the second matching array, wherein the phase of the closest zero-crossing network reference time NTB information is the phase of the communication node to be identified. Therefore, the realization process is simple, and the identification is high-speed and accurate.
Description
Technical Field
The present invention relates to the field of power line communication technologies, and in particular, to a phase identification method, apparatus, communication system, and storage medium.
Background
The Power Line Communication (PLC) technology, defined in GB/T31983.31, refers to: the method is a technology for realizing communication or control between data terminals by modulating information data onto a proper carrier frequency and carrying out data transmission by taking a power line as a physical medium. The power line is the most popular physical medium with the widest coverage range, the power line is used for transmitting data information, great convenience is achieved, and all electric equipment connected with the power line can form a communication network without rewiring to carry out information interaction and communication. The method is simple to implement and convenient to maintain, can effectively reduce the operation cost and reduce the expenditure for constructing a new communication network, and therefore, the method becomes a main communication means for application of smart grids, energy management, smart homes, photovoltaic power generation, electric vehicle charging and the like.
According to different angles, power line communication can be classified as follows:
1. from the power line application range, there can be divided into communication systems utilizing high/medium voltage distribution networks and communication systems generally utilizing only medium/low voltage distribution networks. The former is mainly applied to a communication system (which can provide long-distance communication, such as a power carrier system) in a power system, and the latter is mainly applied to an access system of communication services of public users.
2. From the range of communication service applications, this classification method is generally applied to communication systems using medium/low voltage distribution networks, which are classified into narrowband communication applications and broadband communication applications. The narrow-band communication application mainly utilizes a frequency band of 3 kHz-500 kHz, and typical low-voltage narrow-band power line communication application situations comprise centralized meter reading (AMR) of an intelligent electric energy meter, AMI/AMM (advanced measurement system/automatic meter reading), intelligent household control, street lamp control, intelligent buildings, centralized meter reading of four meters and other applications of an intelligent power Grid (Smart Grid), for example: electric vehicle charging control, and the like. Broadband communication applications are access that can be implemented to provide general services for public users, such as data, voice, images, etc. The broadband PLC may be divided into a low voltage PLC and a medium voltage PLC according to the applied voltage class of the distribution network. The low-voltage PLC uses a low-voltage (220V/380V) power line as a transmission medium, and provides applications such as Internet access, a home local area network, remote meter reading, intelligent home furnishing and the like for a user. The medium-voltage PLC uses a medium-voltage (10 kV) power line as a communication link, and provides a transmission channel for applications such as access to a backbone network, distribution network automation, user demand side management and rural telephones.
The narrow-band PLC system usually does not open communication services to public users, and mainly collects, monitors and transmits data of the power system. In contrast, the broadband PLC is currently widely applied to the field of public telecommunication, and national standard GB/T33854 "power line networking for broadband client network networking technology based on public telecommunication network" in China stipulates a broadband PLC system based on HomePlug AV technology.
With the popularization of power line communication technology and the wide use of electronic electric energy meters in charging systems, the proportion of meter reading systems adopting a power line carrier communication mode is increasing. The power line carrier communication meter reading system generally comprises: a master station, a concentrator and a communication node. The concentrator is a central management device and a control device of a remote centralized meter reading system, is responsible for regularly reading data of the communication nodes, and has the functions of command transmission, data communication, network management, event recording, transverse data transmission and the like of the system. The power line carrier communication meter reading system takes a low-voltage PLC network as a main communication channel, and takes common communication channels such as GPRS, GSM, CDMA and the like and part of RS485 bus channels as auxiliary communication channels. The main line of low pressure PLC network generally adopts three-phase four-wire system power supply, and ordinary resident's user power consumption only takes one of them looks as live wire (L), gets the ground wire and regards as zero line (N), and some mills need to use three-phase electricity because of the production, consequently, most communication nodes are single-phase electric energy meter in the power line carrier communication meter reading system, and the minority is three-phase electric energy meter. For low-voltage PLC communication, on one hand, since a signal transmission path is lengthened and noise is increased when communication nodes perform cross-phase communication, in low-voltage PLC communication, communication nodes in the same phase should be selected as much as possible to perform relay communication when routing is performed, so as to reduce interference and ensure communication quality. On the other hand, in order to improve the utilization rate of the distribution transformer, the master station needs to move some users with heavy load to another lighter phase for load so as to realize load balance of each phase line, because if the three-phase load of the power supply line is unbalanced, the power supply efficiency of the line and the distribution transformer is reduced slightly, and if the heavy load phase is overloaded, serious consequences such as burning of a conductor of a certain phase, burning of a switch, even burning of a single phase of the distribution transformer and the like can be caused. For the reasons, it is very important to accurately judge the phases of the electric consumers and know the distribution of the electric meters of the electric consumers on the phase lines.
At present, a plurality of methods for phase identification in a power line communication meter reading system exist, and one method is to transmit an identification signal to a user electric meter through an intelligent terminal, and the user electric meter identifies the phase information of the user electric meter in a mode of determining the phase information of the user electric meter based on the identification signal and feeding the phase information back to the intelligent terminal. However, this method has problems that: when the distance between the intelligent terminal and the user electric meter is long, attenuation of the identification signal may be caused due to the long distance, so that phase information identification of the user electric meter is failed; in another method, A, B, C three phases of the transformer area general table are used as references, correlation operation is respectively carried out on voltage values of a user electric energy meter at several moments and voltage values of the transformer area general table at the corresponding same moment, and the phase is determined by selecting the phase with the highest correlation degree. The method has the disadvantages that the correlation between the user electric energy meter voltage sequence data and each phase voltage sequence data of the transformer area general table A, B, C is measured by adopting the Pearson correlation coefficient, the requirement on data quality is high, the accuracy is poor (the two sequences are required to be linearly correlated, equal in length and normally distributed), the implementation process is complex, and the calculation amount is large.
Based on the above, there is a need to provide a phase identification method, a phase identification device, a phase identification communication system, and a storage medium based on a low voltage power line broadband communication network, which are simple in implementation process and accurate in identification speed, so as to overcome the limitations and drawbacks in the prior art.
Disclosure of Invention
In view of this, embodiments of the present invention provide a phase identification method, apparatus, communication system and storage medium, where local three-phase zero-crossing NTB information is obtained, a corresponding matching array is formed according to different preset conditions, and then one piece of zero-crossing NTB information of a communication node to be identified is compared with each array element to obtain the closest zero-crossing NTB information, and then the phase to which the zero-crossing NTB information belongs is the phase of the communication node to be identified.
In a first aspect, an embodiment of the present invention provides a phase identification method, applied to a master node of a low-voltage power line broadband communication network, including at least:
acquiring local three-phase zero-crossing network reference time NTB information, and taking the information meeting a first preset condition to form a first matching array, or taking the information meeting a second preset condition to form a second matching array when determining that the communication node to be identified has no condition of zero-fire reverse connection; wherein the first preset condition is: the first matching array elements are six types of three-phase double-edge collection respectively, and each type comprises at least one array element; the second preset condition is that: the second matching array elements are three types of three-phase same-edge acquisition respectively, and at least one array element in each type;
acquiring the NTB information of the zero-crossing network reference time of the communication node to be identified, and taking any one of the NTB information as the information to be matched;
searching zero-crossing network reference time NTB information which is closest to the information to be matched in the first matching array or the second matching array, wherein the phase to which the closest zero-crossing network reference time NTB information belongs is the phase of the communication node to be identified.
Preferably, the searching for the zero-crossing network reference time NTB information closest to the information to be matched in the first matching array or the second matching array specifically includes:
calculating the offset of the information to be matched relative to each array element in the first matching array or the second matching array in one power cycle;
when the calculated offset meets a third preset condition, wherein zero-crossing network reference time NTB information corresponding to the minimum offset is the zero-crossing network reference time NTB information closest to the information to be matched;
wherein the third preset condition comprises: the offset is not greater than a preset maximum offset threshold and the offsets are not equal to each other.
Preferably, the offset of the information to be matched with respect to each array element in the first matching array or the second matching array in one power cycle is calculated by the following formula:
NtbOffset[i]=(NtbSta–NtbCco[i])Mod NtbPowerPeriod;
the network reference time value corresponding to a power cycle is NtbPowerPeriod, ntbSta is the value of the information to be matched, ntbCco [ i ] is the value of the first matching array or the second matching array element i, ntbOffset [ i ] is the offset of the information to be matched relative to the first matching array or the second matching array element i in a power cycle, and i is a non-zero integer.
Preferably, when the to-be-matched information and the closest zero-crossing network reference time NTB information are different in acquisition edge type and the closest zero-crossing network reference time NTB information is the first matching array element, the zero-fire reverse connection state of the to-be-identified communication node is zero-fire reverse connection: and when the information to be matched and the closest zero-crossing network reference time NTB information have the same acquisition edge type and are the first matching array elements, the zero-fire reverse connection state of the communication node to be identified is normal wiring.
Preferably, before the method is executed, the method further comprises:
and judging whether the current environment is a strong-current environment and whether unidentified communication nodes exist, and if the current environment is a strong-current environment and the unidentified communication nodes exist, executing the method.
Preferably, the determining whether the current environment is a strong electric environment specifically includes:
and executing the operation of acquiring local zero-crossing network reference time NTB information within preset time, checking whether zero-crossing network reference time NTB information exists, and if so, determining that the current network reference time NTB information is in a strong current environment.
In a second aspect, an embodiment of the present invention provides a phase identification apparatus, which is disposed in a master node of a low voltage power line broadband communication network, and at least includes:
the matching array generating module is used for acquiring local three-phase zero-crossing network reference time NTB information, and acquiring information meeting a first preset condition to form a first matching array, or acquiring information meeting a second preset condition to form a second matching array when determining that the communication node to be identified has no zero-fire reverse connection condition; wherein the first preset condition is that: the first matching array elements are respectively six types of three-phase double-edge acquisition, and each type comprises at least one array element; the second preset condition is that: the second matching array elements are three types of three-phase same-edge collection, and at least one array element is arranged in each type;
the matching information acquisition module is used for acquiring the NTB information of the zero-crossing network reference time of the communication node to be identified, and selecting one of the NTB information as the matching information;
and the phase identification module is configured to search zero-crossing network reference time NTB information which is closest to the information to be matched in the first matching array or the second matching array, wherein the phase to which the closest zero-crossing network reference time NTB information belongs is the phase of the communication node to be identified.
In a third aspect, an embodiment of the present invention provides a communication apparatus, which includes a memory and a processor, where the processor executes program instructions in the memory, so as to implement the method in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a communication system, which at least includes: a low voltage power line broadband communication network master node provided with the communication device of the second aspect.
In a fifth aspect, an embodiment of the present invention provides a storage medium, where the storage medium is used to store a computer program, and the computer program is used to implement the method in the first aspect.
According to the embodiment of the invention, the local three-phase zero-crossing NTB information is obtained, the corresponding matching array is formed according to different preset conditions, and then one piece of zero-crossing NTB information of the communication node to be identified is compared with each array element to obtain the closest zero-crossing NTB information, so that the phase to which the zero-crossing NTB information belongs is the phase of the communication node to be identified, the implementation process is simple, and the identification is high-speed and accurate.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
fig. 1 is a structural model of a low voltage broadband PLC network system;
FIG. 2 is a flow chart of a phase identification method according to an embodiment of the present invention;
fig. 3 is a flowchart of acquiring zero-crossing NTB information of a communication node to be identified according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a phase recognition apparatus according to an embodiment of the present invention;
fig. 5 is a schematic hardware configuration diagram of a communication device according to an embodiment of the present invention.
Detailed Description
The present invention will be described below based on examples, but the present invention is not limited to only these examples. In the following detailed description of the present invention, certain specific details are set forth. It will be apparent to one skilled in the art that the present invention may be practiced without these specific details. Well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the present invention.
Further, those of ordinary skill in the art will appreciate that the drawings provided herein are for illustrative purposes and are not necessarily drawn to scale.
Meanwhile, it should be understood that, in the following description, a "circuit" refers to a conductive loop constituted by at least one element or sub-circuit through electrical or electromagnetic connection. When an element or circuit is referred to as being "connected to" another element or element/circuit is referred to as being "connected between" two nodes, it may be directly coupled or connected to the other element or intervening elements may be present, and the connection between the elements may be physical, logical, or a combination thereof. In contrast, when an element is referred to as being "directly coupled" or "directly connected" to another element, it is intended that there are no intervening elements present.
Unless the context clearly requires otherwise, throughout the description, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, what is meant is "including but not limited to".
In the description of the present invention, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified.
The phase identification method is based on a zero-crossing detection method, and the technical premise is that: network time synchronization is needed, and a master node device side and a slave node device side in a network are provided with zero-crossing circuits, wherein the meaning of the network time synchronization is that the network reference time of the master node device and the network reference time of the slave node device are synchronous, and the zero-crossing circuits are used for collecting zero-crossing NTB information.
Fig. 1 is a structural model of a low-voltage broadband PLC network system, as shown in fig. 1, the system includes the following nodes: a Central Controller (CCO), a workstation (STA); there may also be a Proxy Controller (PCO), a proxy workstation (PSTA) and a hidden workstation (HSTA) in the system. Only one CCO can exist in one network, and other STAs operate under CCO cooperation. STAs that cannot communicate directly with the CCO are HSTAs, which communicate with other nodes in the system through a Proxy Controller (PCO) or proxy workstation (PSTA).
In the practical application of the meter reading system based on the low-voltage broadband PLC, in general, the CCO is in communication connection with the concentrator, and the STA is in communication connection with the communication node, namely the user electric meter, so that the concentrator communicates with the communication node through the CCO and then through the STA, and therefore transmission of protocol related command information and acquisition of user electricity utilization data are achieved.
Fig. 2 is a flowchart of a phase identification method according to an embodiment of the present invention, where the method is applied to a master node of a low-voltage power line broadband communication network, and for a low-voltage broadband PLC network, the master node is a CCO, and a slave node is an STA, specifically as shown in fig. 2, the method includes the following steps:
step S210: acquiring local three-phase zero-crossing network reference time NTB information, and taking information meeting a first preset condition to form a first matching array, or taking information meeting a second preset condition to form a second matching array when determining that the communication node to be identified has no zero-fire reverse connection condition; wherein the first preset condition is: the first matching array elements are six types of three-phase double-edge collection respectively, and each type comprises at least one array element; the second preset condition is that: the second matching array elements are three types of three-phase same-edge collection, and at least one array element is arranged in each type;
it should be noted that: local refers to the equipment where the main node is located, the equipment where the main node is located uses low-voltage alternating current, so that the voltage of A, B, C with three phases, A, B, C with three phases, and double edges refer to rising edges and falling edges. "NTB" is an abbreviation for "NetworkTime Base" and means "network reference time".
This step describes that the generation of the matching array can be done in two ways:
the first mode is as follows: after local three-phase zero-crossing NTB information is obtained, the information meeting a first preset condition is taken to form a first matching array. The first preset condition is as follows: the elements in the array are respectively collected by three phases and two edges, namely: the phase A rising edge, the phase A falling edge, the phase B rising edge, the phase B falling edge, the phase C rising edge and the phase C falling edge, wherein each type comprises at least one array element, namely: the first matching array has at least six elements, each element being one of the six types described above.
The second mode is as follows: and after local three-phase zero-crossing NTB information is acquired, the information meeting a second preset condition is taken to form a second matching array. The second preset condition is as follows: the elements in the array are collected along the same edge of three phases respectively, namely, two conditions exist, one can be: the other type can be three types of A-phase rising edge, B-phase rising edge and C-phase falling edge, and each type has at least one array element, namely: the second match array has at least three elements, each element being one of the three types in the two cases. It should be noted that: the method is not suitable for phase identification of all communication nodes to be identified, and the second matching array in the method can be used for phase identification only when the condition that the communication nodes to be identified have no zero-fire reverse connection is determined, otherwise, the condition of misjudgment occurs.
The difference is that the first matching array comprises all six types of zero-crossing NTB information of two collection edges combined by three phases, and the second matching array only comprises three types of zero-crossing NTB information of a rising edge combined by three phases or a falling edge combined by three phases.
Specifically, how to acquire local three-phase zero-crossing NTB information can be achieved according to the method in the prior art.
Step S220: acquiring zero-crossing network reference time NTB information of a communication node to be identified, and taking any one of the NTB information as information to be matched;
in this step, the implementation process of acquiring the zero-crossing NTB information of the communication node to be identified is performed through message interaction between the CCO and the STA on the side of the communication node to be identified. As shown in fig. 3, the method comprises the following steps:
step S221: and the CCO sends a zero-crossing NTB acquisition indication message to the STA.
The format of the zero-crossing NTB acquisition indication message is as follows:
collecting quantity: representing the total number of zero crossings NTB that need to be acquired. Namely: after the indication message is issued, the total number of zero crossing point NTBs needs to be continuously collected at the specified station.
In the invention, the number of zero-crossing NTBs needed to be used in specific phase identification is not large, so that the zero-crossing NTB information acquired by the CCO indication STA does not require much, and the specific acquisition number is generally set to be single digit or a number within 20 according to an empirical value, so that the setting has the advantages that: frequent zero-crossing interrupt processing and excessive zero-crossing data buffering can be reduced.
Step S222: and the STA receives a zero-crossing NTB acquisition indication message issued by the CCO, and performs zero-crossing NTB information acquisition and storage according to the configuration requirement in the message.
How to acquire zero-crossing NTB information by the STA can be realized according to the method in the prior art.
Step S223: and the STA reports the acquired zero-crossing NTB data to the CCO through a zero-crossing NTB notification message specified in the PLC protocol.
Specifically, the definition of the zero-crossing NTB notification message format is as follows:
wherein, TEI represents a station informing NTB information of zero crossing; the total number of advertisements represents the number of zero crossings NTB advertised by the station; the phase line difference informing quantity represents the quantity of the zero-crossing NTB difference value of the corresponding phase line informed by the station. The reference NTB indicates the reference NTB notified by the station. This NTB is the first zero-crossing NTB value reported by the station, and is the reference NTB used by the subsequent zero-crossings NTB to calculate the difference. The NTB value stored in this field is the acquired zero-crossing point NTB value, i.e., the original 32-bit data, and the data after right shifting by 8 bits is equivalent to the high 24-bit data of the original data.
The method for calculating the zero-crossing NTB difference value comprises the following steps: starting with the reference NTB, calculating the difference between each subsequent zero-crossing NTB and the previous NTB; and right shifting the calculated difference data by 8 bits, and only reserving a high-bit part. And taking the finally obtained difference as a zero-crossing NTB difference, storing the zero-crossing NTB difference into a field of zero-crossing NTB difference according to a time sequence, and reporting the CCO.
It should be noted that: in the power frequency period of the power line, the interval of zero-crossing points is generally about 10ms, and the NTB difference between two zero-crossing points does not exceed the representation interval of 20 bits. Therefore, the zero-crossing point NTB difference needs to be represented by a 12-bit field after being shifted by 8 bits in the right direction.
Step S224: after receiving the zero-crossing notification message reported by the STA, the CCO extracts zero-crossing NTB information from the zero-crossing notification message.
After the zero-crossing NTB information of the communication node to be identified is acquired through the above steps S221 to S224, any one of the obtained information is taken as information to be matched, where the information to be matched may be acquired at a rising edge or a falling edge, and is not particularly limited.
It should be noted that, the steps S210 and S220 are not executed in the order of executing the step S210 first and then executing the step S220, and the step S220 may be executed first and then executing the step S210.
Step S230: and searching zero-crossing NTB information which is closest to the information to be matched in the first matching array or the second matching array, wherein the phase to which the closest zero-crossing NTB information belongs is the phase of the communication node to be identified.
The implementation process of the step is carried out by adopting an approach method, namely: judging which phase the zero crossing point of the communication node to be identified is close to and the communication node to be identified belongs to, specifically, the offset of the information to be matched with respect to each array element in the first matching array or the second matching array in a power cycle is calculated, and the offset is specifically calculated by the following formula:
NtbOffset[i]=(NtbSta–NtbCco[i])Mod NtbPowerPeriod;
wherein, ntbpower period is a network reference time value corresponding to a power cycle, nttbsta is a value of the information to be matched, ntbCco [ i ] is a value of the first matching array or the second matching array element i, ntbOffset [ i ] is an offset of the information to be matched relative to the first matching array or the second matching array element i in a power cycle, and i is a non-zero integer.
"Mod" in the above two equations is a remainder operator, which is an operator that divides the difference between NtbSta-NtbCco [ i ] by NtbPowerPeriod and returns the remainder. The remainder is based on that the two zero-crossing NTB data of the difference may not be in one power cycle, and the resulting offset ntoffset i is guaranteed to be in one power cycle by the remainder.
It should be noted that: ideally, a power cycle is 20ms, but in practice, the power cycle fluctuates slightly in the grid, and may be slightly greater than 20ms or slightly less than 20 ms. Therefore, when the nttb STA-ntbco [ i ] is too large, it means that the time interval between the zero-crossing point NTB data collected by the CCO and the zero-crossing point NTB data collected by the STA is too long, which is caused by the accumulated error due to the fluctuation of the power period value, so that the calculated value of nttboffset [ i ] may deviate from the true value, and further the accuracy of the subsequent phase identification may be affected.
According to repeated experiments, if the value of NtbSta-NtbCco [ i ] exceeds 1.5 seconds, errors are accumulated, the value of NtbOffset [ i ] deviates from the true value, and the phase is erroneously determined. In this case, it is determined that the NtbOffset [ i ] is invalid. In addition, there may be a case where a plurality of the values of the NtbOffset [ i ] are equal, and in this case, it is also determined that the NtbOffset [ i ] is invalid. In both cases, the identification is abandoned and the phase identification process is restarted. Based on this, a preset maximum offset threshold value of 1.5 seconds or other empirical values may be defined in a specific implementation, the offset is predetermined when determining the phase based on the offset in the following, and the phase is identified by using the offset when the offset is within the preset maximum offset threshold value. When the offset amounts are compared, it is determined whether or not a plurality of offset amounts are equal, and when the offset amounts are not equal, the phase is identified by using the offset amounts.
After each offset is calculated by using the above formula, when the calculated offset meets a third preset condition, the minimum offset is found by comparing the calculated offset, and the zero-crossing NTB information corresponding to the minimum offset is the zero-crossing NTB information closest to the information to be matched, so that the phase to which the closest zero-crossing NTB information belongs is the phase of the communication node to be identified. Wherein, the third preset condition includes but is not limited to: the offset is not greater than a preset maximum offset threshold and the offsets are mutually unequal.
According to the steps, the phase of the communication node to be identified can be identified. In addition, when the phase identification is carried out by using the first matching array, the identification of the zero-fire reverse connection state can also be carried out at the same time. Specifically, when the to-be-matched information and the closest zero-crossing NTB information have different acquisition edge types and the closest zero-crossing NTB information is the first matching array element, the zero-fire reverse connection state of the to-be-identified communication node is zero-fire reverse connection: and when the type of the acquisition edge of the information to be matched is the same as that of the closest zero-crossing NTB information, and the closest zero-crossing NTB information is the first matching array element, the zero-fire reverse connection state of the communication node to be identified is normal wiring. For the second matching array, only phase identification is possible.
For convenience of explanation, the following description will discuss the process of calculating the offset and performing phase identification and zero hot reversal state identification according to the offset by way of example:
for the case where the match array is the first match array, assume that:
NtbCco[0]=NtbArise;NtbOffset[0]=NtbOffsetArise;
NtbCco[1]=NtbAfall;NtbOffset[1]=NtbOffsetAfall;
NtbCco[2]=NtbBrise;NtbOffset[2]=NtbOffsetBrise;
NtbCco[3]=NtbBfall;NtbOffset[3]=NtbOffsetBfall;
NtbCco[4]=NtbCrise;NtbOffset[4]=NtbOffsetCrise;
NtbCco[5]=NtbCfall;NtbOffset[5]=NtbOffsetCfall;
the offset of the information to be matched with respect to each array element is respectively:
NtbOffsetArise=(NtbSta–NtbArise)Mod NtbPowerPeriod;
NtbOffsetAfall=(NtbSta–NtbAfall)Mod NtbPowerPeriod;
NtbOffsetBrise=(NtbSta–NtbBrise)Mod NtbPowerPeriod;
NtbOffsetBfall=(NtbSta–NtbBfall)Mod NtbPowerPeriod;
NtbOffsetCrise=(NtbSta–NtbCrise)Mod NtbPowerPeriod;
NtbOffsetCfall=(NtbSta–NtbCfall)Mod NtbPowerPeriod;
assuming that the information to be matched is collected at a rising edge, the calculated offset is not greater than a preset maximum offset threshold and is not equal to each other, and comparing the sizes of the calculated offset with the preset maximum offset threshold, then:
if NtbOffsetArise is the minimum value, the phase and the zero-fire reverse connection state of the communication node to be identified are as follows: phase A, normal wiring;
if NtbOffsetaFall is the minimum value, the phase and the zero fire reverse connection state of the communication node to be identified are as follows: phase A, reverse connection with zero fire;
if NtbOffsetBrise is the minimum value, the phase and zero fire reverse connection status of the communication node to be identified is: b phase, normal wiring;
if NtbOffsetBfall is the minimum value, the phase and the zero fire reverse connection state of the communication node to be identified are as follows: phase B, zero fire reverse connection;
if NtbOffsetCrise is the minimum value, the phase and the zero-fire reverse connection state of the communication node to be identified are as follows: c phase, normal wiring;
if NtbOffsetCfall is the minimum value, the phase and the zero-fire reverse connection state of the communication node to be identified are as follows: phase C, reverse connection with zero fire;
assuming that the information to be matched is collected at a falling edge, the calculated offset is not greater than a preset maximum offset threshold and is not equal to each other, and comparing the sizes, then:
if NtbOffsetArise is the minimum value, the phase and the zero-fire reverse connection state of the communication node to be identified are as follows: phase A, reverse connection with zero fire;
if NtbOffsetaFall is the minimum value, the phase and the zero fire reverse connection state of the communication node to be identified are as follows: phase A, normal wiring;
if NtbOffsetBrise is the minimum value, the phase and zero fire reverse connection status of the communication node to be identified is: phase B, reversal connection with zero fire;
if NtbOffsetBfall is the minimum value, the phase and the zero fire reverse connection state of the communication node to be identified are as follows: b phase, normal wiring;
if NtbOffsetcCrise is the minimum value, the phase and the zero-fire reverse connection state of the communication node to be identified are as follows: phase C, reverse connection with zero fire;
if NtbOffsetCfall is the minimum value, the phase and the zero fire reverse connection state of the communication node to be identified are as follows: and C phase, normal wiring.
For the case where the match array is the second match array, assume:
NtbCco[0]=NtbAfall;NtbOffset[0]=NtbOffsetAfall;
NtbCco[1]=NtbBfall;NtbOffset[1]=NtbOffsetBfall;
NtbCco[2]=NtbCfall;NtbOffset[2]=NtbOffsetCfall;
or,
NtbCco[0]=NtbAfall;NtbOffset[0]=NtbOffsetAfall;
NtbCco[1]=NtbBfall;NtbOffset[1]=NtbOffsetBfall;
NtbCco[2]=NtbCfall;NtbOffset[2]=NtbOffsetCfall;
the offset of the information to be matched with respect to each element is:
NtbOffsetArise=(NtbSta–NtbArise)Mod NtbPowerPeriod;
NtbOffsetBrise=(NtbSta–NtbBrise)Mod NtbPowerPeriod;
NtbOffsetCrise=(NtbSta–NtbCrise)Mod NtbPowerPeriod;
or,
NtbOffsetAfall=(NtbSta–NtbAfall)Mod NtbPowerPeriod;
NtbOffsetBfall=(NtbSta–NtbBfall)Mod NtbPowerPeriod;
NtbOffsetCfall=(NtbSta–NtbCfall)Mod NtbPowerPeriod;
assuming that the calculated offset is not greater than the preset maximum offset threshold and is not equal to each other, by comparing the magnitudes, then:
if either NtbOffsetArise or NtbOffsetAfall is the minimum value, the phase of the communication node to be identified is: phase A;
if either NtbOffsetBrise or NtbOffsetBfall is the minimum value, the phase of the communication node to be identified is: phase B;
if either NtbOffsetCrise or NtbOffsetCfall is the minimum value, the phase of the communication node to be identified is: and C phase.
In practical applications, the CCO starts to execute the phase identification method after networking is completed or the number of network access nodes exceeds a certain number. Before phase identification is carried out according to the method, whether the current environment is in a strong current environment or not and whether unidentified communication nodes exist or not are judged, and the method for specifically judging whether the current environment is in the strong current environment is as follows: and executing the operation of acquiring local zero-crossing NTB information within preset time, checking whether zero-crossing NTB information exists, and if so, determining that the current device is in a strong electric environment. And if the current environment is a strong current environment and unidentified communication nodes exist, executing the phase identification method flow.
Upon phase identification for an unidentified communication node, a phase identification timeout timer may be started for limiting the maximum time for the phase identification process to be performed to balance the performance of other high priority tasks.
As can be seen from the above steps, in the embodiment of the present invention, by acquiring local three-phase zero-crossing NTB information, forming a corresponding matching array according to different preset conditions, and then comparing one zero-crossing NTB information of a communication node to be identified with each array element to obtain the closest zero-crossing NTB information, the phase to which the zero-crossing NTB information belongs is the phase of the communication node to be identified, so that the implementation process is simple, and the identification is high-speed and accurate.
Fig. 4 is a schematic structural diagram of a phase identification device according to an embodiment of the present invention, which is disposed on a master node of a low-voltage power line broadband communication network, and at least includes the following modules:
the matching array generating module 410 is configured to acquire local three-phase zero-crossing network reference time NTB information, and acquire information meeting a first preset condition to form a first matching array, or acquire information meeting a second preset condition to form a second matching array when determining that the communication node to be identified has no zero-fire reverse connection condition; wherein the first preset condition is: the first matching array elements are six types of three-phase double-edge collection respectively, and each type comprises at least one array element; the second preset condition is that: the second matching array elements are three types of three-phase same-edge acquisition respectively, and at least one array element in each type;
the information to be matched acquisition module 420 is configured to acquire zero-crossing network reference time NTB information of the communication node to be identified, and any one of the information to be matched is taken as information to be matched;
the phase identifying module 430 is configured to search for zero-crossing network reference time NTB information that is closest to the information to be matched in the first matching array or the second matching array, where a phase to which the closest zero-crossing network reference time NTB information belongs is a phase of the communication node to be identified.
Fig. 5 is a schematic diagram of a hardware structure of a communication device according to an embodiment of the present invention. As shown in fig. 5, the communication apparatus includes: memory 510 and processor 520, wherein memory 510 and processor 520 are in communication; illustratively, the memory 510 and the processor 520 communicate via a communication bus 530, the memory 510 being used for storing computer programs, the processor 520 executing the computer programs to implement the methods shown in the above embodiments.
Optionally, the communication device may further comprise a transmitter and/or a receiver.
Alternatively, the Processor may be a Central Processing Unit (CPU), or may be implemented by other general-purpose processors, a PLC (Programmable Logic Controller), an FPGA (Field-Programmable Gate Array), a DSP (Digital Signal Processor), or an ASIC (Application Specific Integrated Circuit). A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of hardware and software modules.
An embodiment of the present invention further provides a communication system, which at least includes: the low-voltage power line broadband communication network main node is provided with the communication device.
An embodiment of the present invention provides a storage medium, where the storage medium is used to store a computer program, and the computer program is used to implement the phase identification method described in any of the above method embodiments.
The embodiment of the present invention provides a chip, where the chip is used to support a receiving device (for example, a terminal device, a network device, and the like) to implement the functions shown in the embodiment of the present invention, and the chip is specifically used in a chip system, where the chip system may be formed by a chip, and may also include a chip and other discrete devices. When the chip in the receiving device implementing the method includes a processing unit, the chip may further include a communication unit, and when the chip includes a communication unit, the communication unit may be, for example, an input/output interface, a pin, a circuit, or the like. The processing unit executes all or part of the actions executed by the processing modules in the embodiment of the invention, and the communication unit executes corresponding receiving or sending actions. In another specific embodiment, the processing module of the receiving device in the embodiment of the present invention may be a processing unit of a chip, and the receiving module or the transmitting module of the control device is a communication unit of the chip.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus (device) or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may employ a computer program product embodied on one or more computer-readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations of methods, apparatus (devices) and computer program products according to embodiments of the application. It will be understood that each flow in the flow diagrams can be implemented by computer program instructions.
These computer program instructions may be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows.
These computer program instructions may also be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows.
Another embodiment of the invention is directed to a non-transitory storage medium storing a computer-readable program for causing a computer to perform some or all of the above-described method embodiments.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be accomplished by specifying the relevant hardware through a program, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made to the present invention by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A phase identification method is applied to a main node of a low-voltage power line broadband communication network, and is characterized by at least comprising the following steps:
acquiring local three-phase zero-crossing network reference time NTB information, and taking the information meeting a first preset condition to form a first matching array, or taking the information meeting a second preset condition to form a second matching array when determining that the communication node to be identified has no condition of zero-fire reverse connection; wherein the first preset condition is: the first matching array elements are six types of three-phase double-edge collection respectively, and each type comprises at least one array element; the second preset condition is that: the second matching array elements are three types of three-phase same-edge acquisition respectively, and at least one array element in each type;
acquiring the NTB information of the zero-crossing network reference time of the communication node to be identified, and taking any one of the NTB information as the information to be matched;
searching zero-crossing network reference time NTB information which is closest to the information to be matched in the first matching array or the second matching array, wherein the phase to which the closest zero-crossing network reference time NTB information belongs is the phase of the communication node to be identified.
2. The method according to claim 1, wherein the searching for the zero-crossing network reference time NTB information closest to the information to be matched in the first matching array or the second matching array specifically includes:
calculating the offset of the information to be matched relative to each array element in the first matching array or the second matching array in one power cycle;
when the calculated offset meets a third preset condition, wherein zero-crossing network reference time NTB information corresponding to the minimum offset is the zero-crossing network reference time NTB information closest to the information to be matched;
wherein the third preset condition comprises: the offset is not greater than a preset maximum offset threshold and the offsets are not equal to each other.
3. The method according to claim 2, wherein the calculating of the offset of the information to be matched with respect to each array element in the first matching array or the second matching array in one power cycle is specifically calculated by the following formula:
NtbOffset[i]=(NtbSta–NtbCco[i])Mod NtbPowerPeriod;
wherein, ntbpower period is a network reference time value corresponding to a power cycle, nttbsta is a value of the information to be matched, ntbCco [ i ] is a value of the first matching array or the second matching array element i, ntbOffset [ i ] is an offset of the information to be matched relative to the first matching array or the second matching array element i in a power cycle, and i is a non-zero integer.
4. The method according to claim 3, wherein when the information to be matched and the closest zero-crossing network reference time NTB information are different in acquisition edge type and the closest zero-crossing network reference time NTB information is the first matching array element, the zero-fire reverse connection state of the communication node to be identified is zero-fire reverse connection: and when the information to be matched and the closest zero-crossing network reference time NTB information have the same acquisition edge type and are the first matching array elements, the zero-fire reverse connection state of the communication node to be identified is normal wiring.
5. The method of any of claims 1-4, further comprising, prior to performing the method:
and judging whether the current environment is a strong-current environment and whether unidentified communication nodes exist, and if the current environment is a strong-current environment and the unidentified communication nodes exist, executing the method.
6. The method according to claim 5, wherein the determining whether the current environment is a strong electric environment includes:
and executing the operation of acquiring local zero-crossing network reference time NTB information within preset time, checking whether zero-crossing network reference time NTB information exists or not, and if so, determining that the current environment is in a strong current environment.
7. The utility model provides a phase place recognition device, sets up in low pressure power line broadband communication network main node, its characterized in that includes at least:
the matching array generating module is used for acquiring local three-phase zero-crossing network reference time NTB information, and acquiring information meeting a first preset condition to form a first matching array, or acquiring information meeting a second preset condition to form a second matching array when determining that the communication node to be identified has no zero-fire reverse connection condition; wherein the first preset condition is: the first matching array elements are respectively six types of three-phase double-edge acquisition, and each type comprises at least one array element; the second preset condition is that: the second matching array elements are three types of three-phase same-edge acquisition respectively, and at least one array element in each type;
the matching information acquisition module is arranged for acquiring the NTB information of the zero-crossing network reference time of the communication node to be identified, and selecting one of the NTB information as the matching information;
and the phase identification module is configured to search zero-crossing network reference time NTB information which is closest to the information to be matched in the first matching array or the second matching array, wherein the phase to which the closest zero-crossing network reference time NTB information belongs is the phase of the communication node to be identified.
8. A communications apparatus comprising a memory and a processor, the processor executing program instructions in the memory for implementing the method of any one of claims 1 to 6.
9. A communication system, characterized by comprising at least: a low voltage power line broadband communication network master node provided with a communication device according to claim 8.
10. A storage medium for storing a computer program for implementing the method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210744342.9A CN115149981A (en) | 2022-06-28 | 2022-06-28 | Phase recognition method, phase recognition device, communication system, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210744342.9A CN115149981A (en) | 2022-06-28 | 2022-06-28 | Phase recognition method, phase recognition device, communication system, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115149981A true CN115149981A (en) | 2022-10-04 |
Family
ID=83410342
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210744342.9A Pending CN115149981A (en) | 2022-06-28 | 2022-06-28 | Phase recognition method, phase recognition device, communication system, and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115149981A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116566439A (en) * | 2023-07-06 | 2023-08-08 | 北京智芯半导体科技有限公司 | HPLC network optimization method, device, electronic equipment and storage medium |
-
2022
- 2022-06-28 CN CN202210744342.9A patent/CN115149981A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116566439A (en) * | 2023-07-06 | 2023-08-08 | 北京智芯半导体科技有限公司 | HPLC network optimization method, device, electronic equipment and storage medium |
CN116566439B (en) * | 2023-07-06 | 2023-11-14 | 北京智芯半导体科技有限公司 | HPLC network optimization method, device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110633744B (en) | Region identification method for intelligent electric meter | |
CN1997900B (en) | Method and device for detecting the wiring phase of an arbitrary unknown phase voltage relative to a reference phase voltage | |
US9379773B2 (en) | Phase detection in power line communication systems | |
US9584185B2 (en) | Relative phase detection in power line communications networks | |
CN103457635B (en) | The phase recognition methods of communication node in low-voltage power line carrier communication system | |
CN101980451B (en) | Time-interval-adaptation-based power line power frequency communication system and method | |
CN209250634U (en) | Platform area identifying system based on broadband power line carrier and power frequency communication | |
CN102025194B (en) | Power frequency communication synchronous detection method and device for industrial power grid | |
CN111342425A (en) | Residual current operated circuit breaker and platform area network topology identification method | |
CN113992241B (en) | Automatic identification and analysis method for district topology based on power frequency communication | |
CN110739774A (en) | Internet of things system of low-voltage distribution network | |
CN201681481U (en) | Distribution network meter reading system | |
CN115149981A (en) | Phase recognition method, phase recognition device, communication system, and storage medium | |
CN112600589B (en) | Low-voltage user variation relation identification method and system based on power frequency variation trend | |
CN103337155A (en) | Multi-environment-adaptive all-weather dynamic-management low-voltage power line carrier remote centralized meter reading method | |
CN203301475U (en) | Carrier communication unit | |
CN114336968A (en) | Low-voltage power distribution system and data communication method of low-voltage power distribution system | |
CN211701459U (en) | Realize residual current operated circuit breaker device | |
CN115144654A (en) | Phase recognition method, phase recognition device, communication system, and storage medium | |
CN114069608B (en) | Voltage-based distributed type platform area identification method | |
CN112883998B (en) | Power distribution area household transformation relation identification method | |
CN112748391B (en) | Electric energy meter online fault detection method and system based on power broadband carrier communication | |
CN203588452U (en) | Electric power data multi-way communication system and multi-way centralized meter reading system | |
CN113252978A (en) | Phase identification method and identification device for target power supply area | |
CN111736028B (en) | Method for identifying phase and station area of user |
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 | ||
CB02 | Change of applicant information |
Country or region after: China Address after: Room 401-13, Block A, Building 1, No. 195 Huilongguan East Street, Changping District, Beijing, 102208 Applicant after: Core Semiconductor Technology (Beijing) Co.,Ltd. Address before: 303-1, 303-3, 3rd Floor, Building 1, Courtyard No. 318, Huilongguan East Street, Changping District, Beijing 102206 (Changping Demonstration Park) Applicant before: Core Semiconductor Technology (Beijing) Co.,Ltd. Country or region before: China |
|
CB02 | Change of applicant information |