Phase Identification Method, Apparatus, Communication Device, Communication System, and Storage Medium
By obtaining the zero-crossing network reference time NTB information in the power line communication meter reading system, and using the twelve-partition method to calculate the offset recognition phase, the problems of failure and poor accuracy in the prior art are solved, and fast and accurate phase recognition is achieved.
Patent Information
- Application Number
- CN202210742289.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-28
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2042-06-28
AI Technical Summary
In the existing power line communication meter reading system, the phase recognition method has problems such as failure in recognition and poor accuracy, especially when the distance is long, the signal attenuation is serious, and the existing method has a large amount of calculation and high data quality requirements.
By obtaining the zero-crossing network reference time NTB information of the local and communication nodes to be identified, selecting one as the reference origin and comparison point, calculating the offset and using the twelve-partition method to identify the phase, simplifying the calculation process.
It realizes the phase of communication nodes quickly and accurately in the low-voltage power line broadband communication network, reducing the computational complexity and identification time.
Smart Images

Figure CN115144654B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power line communication, and particularly to a phase identification method, device, communication device, communication system, and storage medium. Background Art
[0002] Power Line Communication (PLC) technology, as defined in GB / T 31983.31, refers to a technology that modulates information data onto a suitable carrier frequency and uses the power line as the physical medium for data transmission to achieve communication or control between data terminals. Since the power line is the most popular and widely covered physical medium, using the power line to transmit data information has great convenience. Without the need for re-wiring, all electrical devices connected to the power line can be formed into a communication network for information interaction and communication. This method is simple to implement and easy to maintain, which can effectively reduce the operating cost and reduce the expenditure on building a new communication network. Therefore, it has become the main communication means for applications such as smart grid, energy management, smart home, photovoltaic power generation, and electric vehicle charging.
[0003] According to different perspectives, power line communication can be classified as follows:
[0004] 1. Classified by the application scope of the power line, it can be divided into a communication system using the high / medium voltage distribution network and a communication system usually only using the medium / low voltage distribution network. The former is mainly applied to the communication system within the power system (it can provide long-distance communication, such as a power carrier system), and the latter is mostly applied to the access system for the communication services of public users.
[0005] 2. Classified by the application scope of the communication service, this classification method is usually for the communication system using the medium / low voltage distribution network, which is divided into narrowband communication applications and broadband communication applications. Narrowband communication applications mainly use the frequency band of 3 kHz to 500 kHz. Typical low-voltage narrowband power line communication application scenarios include automatic meter reading (AMR) of smart electricity meters, AMI / AMM (Advanced Metering Infrastructure / Automatic Meter Reading), home intelligent control, street lamp control, intelligent building, centralized meter reading of four meters, and other applications of the Smart Grid, such as electric vehicle charging control, etc. Broadband communication applications can provide access to comprehensive services such as data, voice, and images for public users. Broadband PLC can be divided into low-voltage PLC and medium-voltage PLC according to the voltage level of the distribution network applied. Low-voltage PLC uses low-voltage (220V / 380V) power lines as the transmission medium to provide applications such as Internet access, home local area network, remote meter reading, and smart home for users. Medium-voltage PLC uses medium-voltage (10 kV) power lines as the communication link to provide a transmission channel for applications such as access to the backbone network, distribution network automation, user demand-side management, and rural telephony.
[0006] Among them, narrowband PLC systems usually do not open communication services to public users, and are mainly used for data collection, monitoring and transmission of power system data. In contrast, broadband PLC is currently widely used in the field of public communication. my country's national standard GB / T33854 "Technical requirements for broadband customer network networking based on public telecommunications network - power line networking" stipulates broadband PLC systems based on HomePlugAV technology.
[0007] With the popularization of power line communication technology and the widespread use of electronic energy meters in billing systems, the proportion of meter reading systems using power line carrier communication is increasing. Power line carrier communication meter reading systems usually include: master station, concentrator and communication node. Among them, the communication node corresponds to various types of energy meters. The concentrator is the central management device and control device of the remote centralized meter reading system. It is responsible for the functions of regularly reading communication node data, system command transmission, data communication, network management, event recording, and horizontal transmission of data. Its function is to collect a batch of energy meter data to the local device through carrier and other methods, and then transmit it to the master station through wired or wireless networks. The power line carrier communication meter reading system uses the low-voltage PLC network as the main communication channel, and public communication channels such as GPRS, GSM, CDMA and some RS485 bus channels as auxiliary communication channels. The main line of the low-voltage PLC network generally adopts a three-phase four-wire system for power supply. Ordinary residential users only use one phase as the live wire (L) and the ground wire as the neutral wire (N). Some factories use three-phase electricity for production needs. Therefore, most of the communication nodes in the power line carrier communication meter reading system are single-phase energy meters, and a small number are three-phase energy meters. For low-voltage PLC communication, on the one hand, since the signal transmission path is lengthened and the noise increases when the communication nodes communicate across phases, low-voltage PLC communication should try to select the same-phase communication nodes for relay communication when selecting routes to reduce interference and ensure communication quality. On the other hand, in order to improve the utilization rate of distribution transformers, the master station needs to move some users with heavier loads to another phase with lighter loads to achieve load balancing 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 will be reduced at the least, and the heavy load phase will be overloaded, which will cause serious consequences such as burning of a phase conductor, burning of switches, and even burning of single-phase distribution transformers. Based on the above reasons, it is very important to accurately determine the phases of these electricity users and know the distribution of each electricity user's electricity meter on each phase line.
[0008] There are many methods for the phase recognition problem in the current power line communication meter reading system. One method is to send a recognition signal from an intelligent terminal to a user's electricity meter, and the user's electricity meter determines its own phase information based on this recognition signal and feeds it back to the intelligent terminal for the phase information recognition of the user's electricity meter. However, the problem with this method is that when the distance between the intelligent terminal and the user's electricity meter is relatively far, the recognition signal may attenuate due to the long distance, resulting in the failure of the phase information recognition of the user's electricity meter. There is also a method that uses the A, B, and C phases of the total meter in the transformer substation area as a reference, and performs correlation operations on the voltage values of the user's electricity meter at several moments and the corresponding voltage values of the total meter in the transformer substation area at the same moments respectively, and selects the one with the highest correlation degree to determine the phase. The disadvantage of this method is that the Pearson correlation coefficient is used to measure the correlation between the voltage sequence data of the user's electricity meter and the voltage sequence data of each phase of the A, B, and C phases of the total meter in the transformer substation area. It has high requirements for data quality and poor accuracy (requiring that the two sequences are linearly correlated, of equal length, and normally distributed), and the calculation amount is large.
[0009] Based on the above content, there is an urgent need to propose a phase recognition method, device, communication device, communication system, and storage medium based on a low-voltage power line broadband communication network that are simple to calculate, fast and accurate in recognition, so as to overcome the limitations and defects existing in the prior art. Summary of the Invention
[0010] In view of this, the embodiments of the present invention provide a phase recognition method, device, communication device, communication system, and storage medium, which can accurately recognize the phase of a communication node only through two zero-crossing NTB information, and have the characteristics of simple calculation, fast and accurate recognition compared with other methods in the prior art.
[0011] In a first aspect, the embodiments of the present invention provide a phase recognition method, which is applied to the main node of a low-voltage power line broadband communication network and at least includes:
[0012] Obtain the zero-crossing network reference time NTB information of one or more phases locally, denoted as the first zero-crossing network reference time NTB information;
[0013] Obtain the zero-crossing network reference time NTB information of the communication node to be recognized, denoted as the second zero-crossing network reference time NTB information;
[0014] Only select one zero-crossing network reference time NTB of any phase in the first zero-crossing network reference time NTB information as the reference origin; only select one zero-crossing network reference time NTB in the second zero-crossing network reference time NTB information as the comparison point;
[0015] Calculate the offset of the comparison point relative to the reference origin within one power cycle;
[0016] Determine the phase of the communication node to be identified according to the offset.
[0017] Preferably, calculate the offset of the comparison point relative to the reference origin within one power cycle, specifically calculated by the following formula:
[0018] NtbOffset = (NtbSta – NtbCco) Mod NtbPowerPeriod;
[0019] Wherein, NtbPowerPeriod is the network reference time value corresponding to one power cycle, NtbSta is the value of the comparison point, NtbCco is the value of the reference origin, and NtbOffset is the offset of the comparison point relative to the reference origin within one power cycle.
[0020] Preferably, determining the phase of the communication node to be identified according to the offset is specifically:
[0021] Divide the network reference time value NtbPeriod corresponding to one power cycle into 12 intervals in advance, and preset the corresponding relationship between the phase preset interval and the phase of the zero-crossing network reference time NTB information at the start moment of the power cycle;
[0022] When the offset is not greater than the preset maximum offset threshold, determine the interval to which the offset belongs, and determine the phase of the communication node to be identified according to the interval to which the offset belongs and the corresponding relationship.
[0023] Preferably, dividing the network reference time value NtbPeriod corresponding to one power cycle into 12 intervals in advance and presetting the corresponding relationship between the phase preset interval and the phase of the zero-crossing network reference time NTB information at the start moment of the power cycle is specifically:
[0024] Define NtbCut12 as the length value of each interval, then:
[0025] NtbCut12 = [NtbPeriod / 12], wherein, the NtbCut12 is a non-zero integer;
[0026] Record the equal division boundary values of the 12 intervals as: array NtbCut[i] = NtbCut12 × i, where i is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 and 12;
[0027] When the zero-crossing network reference time NTB information at the start moment of the power cycle is phase A, the corresponding relationship is:
[0028] The phase corresponding to the interval [NtbCut[0], NtbCut[1)) is: Phase A;
[0029] The phase corresponding to the interval [NtbCut[1], NtbCut[3)) is: Phase C;
[0030] The phase corresponding to the interval [NtbCut[3], NtbCut[5)) is: Phase B;
[0031] The phase corresponding to the interval [NtbCut[5], NtbCut[7)) is: Phase A;
[0032] The phase corresponding to the interval [NtbCut[7], NtbCut[9)) is: Phase C;
[0033] The phase corresponding to the interval [NtbCut[9], NtbCut[11)) is: Phase B;
[0034] The phase corresponding to the interval [NtbCut
[11] , NtbCut
[12] ] is: Phase A;
[0035] When the zero-crossing network reference time NTB information at the start time of the power cycle is Phase B, the corresponding relationship is:
[0036] The phase corresponding to the interval [NtbCut[0], NtbCut[1)) is: Phase B;
[0037] The phase corresponding to the interval [NtbCut[1], NtbCut[3)) is: Phase A;
[0038] The phase corresponding to the interval [NtbCut[3], NtbCut[5)) is: Phase C;
[0039] The phase corresponding to the interval [NtbCut[5], NtbCut[7)) is: Phase B;
[0040] The phase corresponding to the interval [NtbCut[7], NtbCut[9)) is: Phase A;
[0041] The phase corresponding to the interval [NtbCut[9], NtbCut[11)) is: Phase C;
[0042] The phase corresponding to the interval [NtbCut
[11] , NtbCut
[12] ] is: Phase B;
[0043] When the zero-crossing network reference time NTB information at the start time of the power cycle is Phase C, the corresponding relationship is:
[0044] The phase corresponding to the interval [NtbCut[0], NtbCut[1)) is: Phase C;
[0045] The phase corresponding to the interval [NtbCut[1], NtbCut[3)) is: Phase B;
[0046] The phase corresponding to the interval [NtbCut[3], NtbCut[5)) is: Phase A;
[0047] The phase corresponding to the interval [NtbCut[5], NtbCut[7)) is: Phase C;
[0048] The phase corresponding to the interval [NtbCut[7], NtbCut[9)) is: Phase B;
[0049] The phase corresponding to the interval [NtbCut[9], NtbCut[11)) is: Phase A;
[0050] The phase corresponding to the interval [NtbCut
[11] , NtbCut
[12] ] is: Phase C.
[0051] Preferably, to determine the interval to which the offset belongs, and determine the phase of the communication node to be identified according to the interval to which the offset belongs and the corresponding relationship, specifically:
[0052] Calculate the number PhaseVal of NtbCut12 in the offset through the following formula
[0053] PhaseVal = [NtbOffset / NtbCut12], where the value of PhaseVal is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11;
[0054] When the reference origin is Phase A,
[0055] When PhaseVal is any one of 0, 5, 6, 11, the phase of the communication node to be identified is: Phase A;
[0056] When PhaseVal is any one of 3, 4, 9, 10, the phase of the communication node to be identified is: Phase B;
[0057] When PhaseVal is any one of 1, 2, 7, 8, the phase of the communication node to be identified is: Phase C;
[0058] When the reference origin is Phase B,
[0059] When PhaseVal is any one of 0, 5, 6, 11, the phase of the communication node to be identified is: Phase B;
[0060] When the PhaseVal is any one of 3, 4, 9, and 10, the phase of the communication node to be identified is: Phase C;
[0061] When the PhaseVal is any one of 1, 2, 7, and 8, the phase of the communication node to be identified is: Phase A;
[0062] When the reference origin is Phase C,
[0063] When the PhaseVal is any one of 0, 5, 6, and 11, the phase of the communication node to be identified is: Phase C;
[0064] When the PhaseVal is any one of 3, 4, 9, and 10, the phase of the communication node to be identified is: Phase A;
[0065] When the PhaseVal is any one of 1, 2, 7, and 8, the phase of the communication node to be identified is: Phase B.
[0066] Preferably, when the comparison point and the reference origin collect information at the same rising edge or the same falling edge, the method further includes:
[0067] Determine the zero-fire reverse connection state of the communication node to be identified according to the offset;
[0068] Wherein, the zero-fire reverse connection state is: normal wiring or zero-fire reverse connection;
[0069] The determining the zero-fire reverse connection state of the communication node to be identified according to the offset is specifically:
[0070] When the PhaseVal is any one of 0, 3, 4, 7, 8, and 11, the zero-fire reverse connection state of the communication node to be identified is: normal wiring;
[0071] When the PhaseVal is any one of 1, 2, 5, 6, 9, and 10, the zero-fire reverse connection state of the communication node to be identified is: zero-fire reverse connection.
[0072] Preferably, before the method is executed, it further includes:
[0073] Judge whether the current is in a strong electric environment and whether there are unrecognized communication nodes. If the current is in a strong electric environment and there are unrecognized communication nodes, then execute the method.
[0074] Preferably, the judging whether the current is in a strong electric environment is specifically:
[0075] Perform the operation of collecting the local zero-crossing network reference time NTB information within a preset time, and check whether there is zero-crossing network reference time NTB information. If it exists, the current is in a strong electric environment.
[0076] In a second aspect, an embodiment of the present invention provides a phase identification device, which is arranged at the main node of a low-voltage power line broadband communication network and at least includes:
[0077] A first zero-crossing NTB information acquisition module, configured to acquire the zero-crossing network reference time NTB information of one or more phases locally, denoted as the first zero-crossing network reference time NTB information;
[0078] A second zero-crossing NTB information acquisition module, configured to acquire the zero-crossing network reference time NTB information of the communication node to be identified, denoted as the second zero-crossing network reference time NTB information;
[0079] A reference origin and comparison point selection module, configured to select only one zero-crossing network reference time NTB of any phase in the first zero-crossing network reference time NTB information as the reference origin; and select only one zero-crossing network reference time NTB in the second zero-crossing network reference time NTB information as the comparison point;
[0080] An offset calculation module, configured to calculate the offset of the comparison point relative to the reference origin within one power cycle;
[0081] A phase identification module, configured to determine the phase of the communication node to be identified according to the offset.
[0082] In a third aspect, an embodiment of the present invention provides a communication device, including a memory and a processor. The processor executes program instructions in the memory to implement the method described in the first aspect.
[0083] In a fourth aspect, an embodiment of the present invention provides a communication system, at least including: a main node of a low-voltage power line broadband communication network provided with the communication device described in the second aspect.
[0084] In a fifth aspect, an embodiment of the present invention provides a storage medium, which is used to store a computer program, and the computer program is used to implement the method described in the first aspect.
[0085] In the embodiment of the present invention, only by using any one zero-crossing NTB information obtained locally and one zero-crossing NTB information of the communication node to be identified, calculate the offset between the two, and adopt the twelve-point method identification method. According to this offset, the phase of the communication node to be identified can be identified, with simple calculation and high-speed and accurate identification. Description of the Drawings
[0086] Through the following description of the embodiments of the present invention with reference to the accompanying drawings, the above and other objects, features and advantages of the present invention will become more apparent. In the drawings:
[0087] Figure 1 is the structural model of the low-voltage broadband PLC network system;
[0088] Figure 2 is the flowchart of the phase identification method according to the embodiment of the present invention;
[0089] Figure 3 is the flowchart of obtaining the zero-crossing NTB information of the communication node to be identified according to the embodiment of the present invention;
[0090] Figure 4 is the timing diagram of the zero-crossing points of the three-phase power when the reference origin is the rising edge of phase A in the embodiment of the present invention;
[0091] Figure 5 is the timing diagram of the zero-crossing points of the three-phase power when the reference origin is the falling edge of phase A in the embodiment of the present invention;
[0092] Figure 6 is the timing diagram of the zero-crossing points of the three-phase power when the reference origin is the rising edge of phase B in the embodiment of the present invention;
[0093] Figure 7 is the timing diagram of the zero-crossing points of the three-phase power when the reference origin is the falling edge of phase B in the embodiment of the present invention;
[0094] Figure 8 is the timing diagram of the zero-crossing points of the three-phase power when the reference origin is the rising edge of phase C in the embodiment of the present invention;
[0095] Figure 9 is the timing diagram of the zero-crossing points of the three-phase power when the reference origin is the falling edge of phase C in the embodiment of the present invention;
[0096] Figure 10 is the schematic structural diagram of the phase identification device according to the embodiment of the present invention;
[0097] Figure 11 is the schematic hardware structure diagram of the communication device according to the embodiment of the present invention. Detailed Embodiments
[0098] The present invention will be described below based on embodiments, but the present invention is not limited to these embodiments. In the following detailed description of the present invention, some specific details are described in detail. Those skilled in the art can fully understand the present invention without the description of these details. In order to avoid obscuring the essence of the present invention, well-known methods, processes, procedures, components and circuits are not described in detail.
[0099] In addition, those of ordinary skill in the art should understand that the accompanying drawings provided herein are for illustrative purposes only and are not necessarily drawn to scale.
[0100] Meanwhile, it should be understood that in the following description, a "circuit" refers to a conductive loop formed by at least one component or sub-circuit through electrical connection or electromagnetic connection. When it is said that a component or circuit is "connected to" another component or that a component / circuit is "connected between" two nodes, it can be directly coupled or connected to another component or there may be intermediate components. The connection between components can be physical, logical, or a combination thereof. On the contrary, when it is said that a component is "directly coupled to" or "directly connected to" another component, it means that there are no intermediate components between the two.
[0101] Unless the context clearly requires otherwise, words such as "including" and "comprising" in the specification should be construed in an inclusive sense rather than an exclusive or exhaustive sense; that is, in the sense of "including but not limited to".
[0102] In the description of the present invention, it should be understood that terms such as "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "a plurality of" is two or more.
[0103] The phase recognition method in the present invention is based on the "zero-crossing detection method", and the technical prerequisites for implementation are as follows: network time synchronization is required and the master and slave node devices in the network have zero-crossing circuits. The meaning of network time synchronization is that the NTBs of the master and slave node devices are synchronized, and the zero-crossing circuit is used when collecting zero-crossing NTB information.
[0104] Figure 1 is the structural model of a low-voltage broadband PLC network system, as Figure 1 shown, 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. There can only be one CCO in a network, and other STAs work under the coordination of the CCO. An STA that cannot communicate directly with the CCO is an HSTA, and the HSTA communicates with other nodes in the system through a proxy controller (PCO) or a proxy workstation (PSTA).
[0105] In the actual application of a meter reading system based on low-voltage broadband PLC, generally, the CCO is communicatively connected to a concentrator, and the STA is communicatively connected to a communication node, that is, a user electric meter, so that the concentrator communicates with the communication node through the CCO and the CCO through the STA, thereby realizing the transmission of protocol-related command information and obtaining user electricity consumption data.
[0106] Figure 2 It is a flowchart of the phase identification method according to an embodiment of the present invention. This method is applied to the master node of a low-voltage power line broadband communication network. For a low-voltage broadband PLC network, the master node is the CCO, and the slave node is the STA. Specifically, as Figure 2 shown, it includes the following steps:
[0107] Step S210: Obtain the zero-crossing network reference time NTB information of one or more local phases, denoted as the first zero-crossing network reference time NTB information;
[0108] It should be noted that: "local" refers to the device where the master node is located. The device where the master node is located uses low-voltage alternating current, so there are voltages of three phases A, B, and C. "NTB" is the abbreviation of "Network Time Base", which means "network reference time".
[0109] The zero-crossing NTB information obtained in this step can be that of one of the phases A, B, and C, or that of multiple phases. For example: the zero-crossing NTB information of A and B, A and C, B and C, or A, B, and C. In specific implementation, the zero-crossing NTB information of the three phases A, B, and C can be defaultly obtained, so as to judge the situation of phase loss.
[0110] Specifically, how to collect the zero-crossing NTB information of the local three phases can be based on the existing technology.
[0111] Step S220: Obtain the zero-crossing network reference time NTB information of the communication node to be identified, denoted as the second zero-crossing network reference time NTB information;
[0112] The implementation process of this step is carried out through message interaction between the CCO and the STA on the side of the communication node to be identified. Specifically, as Figure 3 shown, it is realized through the following steps:
[0113] Step S221: The CCO sends a zero-crossing NTB collection indication message to the STA.
[0114] Among them, the format of the zero-crossing NTB collection indication message is as follows:
[0115]
[0116] Collection quantity: It represents the total quantity of zero-crossing NTBs to be collected. That is: after the indication message is sent, the specified station needs to continuously collect the total quantity of zero-crossing NTBs.
[0117] In the present invention, not many zero-crossing NTBs are required for specific phase identification. Therefore, the CCO does not require too much zero-crossing NTB information indicated for the STA to collect. The specific number of collections is generally set to a single-digit number or a number within 20 according to empirical values. The advantage of such a setting is that it can reduce frequent zero-crossing interruption processing and excessive zero-crossing data caching.
[0118] Step S222: The STA receives the zero-crossing NTB collection indication message sent by the CCO, and collects and stores the zero-crossing NTB information according to the configuration requirements inside the message.
[0119] Specifically, for how the STA collects the zero-crossing NTB information, the existing techniques can be followed.
[0120] Step S223: The STA reports the collected zero-crossing NTB data to the CCO through the zero-crossing NTB notification message specified in the PLC protocol.
[0121] Specifically, the definition of the zero-crossing NTB notification message format is shown in the following table:
[0122]
[0123] Among them, TEI represents the station that notifies the zero-crossing NTB information; the total number of notifications represents the number of zero-crossing NTBs notified by the station; the number of phase wire difference notifications represents the number of zero-crossing NTB differences of the corresponding phase wire notified by the station. The reference NTB represents the reference NTB notified by the station. This NTB is the first zero-crossing NTB value notified by the station and is the reference NTB for subsequent zero-crossing NTBs to calculate the difference. The NTB value saved in this field is the original 32-bit data of the collected zero-crossing NTB value, and the data after shifting 8 bits to the right, which is equivalent to the high 24-bit data of the original data.
[0124] Calculation method of the zero-crossing NTB difference: Starting from the reference NTB, each subsequent zero-crossing NTB is used to calculate the difference with the previous NTB; the calculated difference data is shifted 8 bits to the right, and only the high-bit part is retained. The finally obtained difference is used as the zero-crossing NTB difference and is stored in the "zero-crossing NTB difference" field in chronological order and reported to the CCO.
[0125] It should be noted that: in the power frequency cycle of the power line, the interval between zero-crossing points is generally about 10 ms, and the NTB difference between two zero-crossing points will not exceed the representation range of 20 bits. Therefore, after shifting the zero-crossing point NTB difference 8 bits to the right, a 12-bit field is required to represent it.
[0126] Step S224: After the CCO receives the zero-crossing NTB notification message reported by the STA, it extracts the zero-crossing NTB information therefrom, which is recorded as the second zero-crossing network timing base (NTB) information.
[0127] It should be noted that step S210 and step S220 are not executed in the order of first executing step S210 and then executing step S220. It is also possible to first execute step S220 and then execute step S210.
[0128] Step S230: Only select one zero-crossing network timing base (NTB) of any phase in the first zero-crossing NTB information as the reference origin; only select one zero-crossing NTB in the second zero-crossing NTB information as the comparison point;
[0129] The selection of the reference origin in this step is based on the first zero-crossing NTB information obtained in step S210. Only one zero-crossing NTB information is selected therefrom as the reference origin, and this reference origin can be any zero-crossing NTB information in any of the A, B, or C phases.
[0130] The selection of the comparison point in this step is based on the second zero-crossing NTB information obtained in step S220. Only one zero-crossing NTB information is selected therefrom as the comparison point. It should be noted that: the selected comparison point and the reference origin can both be information collected at the rising edge or both be information collected at the falling edge, or one of them is information collected at the rising edge and the other is information collected at the falling edge. Specifically, when the comparison point and the reference origin are both information collected at the rising edge or both are information collected at the falling edge, in addition to being able to perform phase identification of the communication node to be identified, it is also possible to perform zero-fire reverse connection state identification of the communication node to be identified as needed.
[0131] In this step, when calculating the offset of the comparison point relative to the reference origin within one power cycle, it can be calculated by the following formula:
[0132] NtbOffset = (NtbSta – NtbCco) Mod NtbPowerPeriod;
[0133] Where, NtbPowerPeriod is the network timing base value corresponding to one power cycle, NtbSta is the value of this comparison point, NtbCco is the value of this reference origin, and NtbOffset is the offset of this comparison point relative to this reference origin within one power cycle.
[0134] The "Mod" in the above two formulas is the remainder operator, which is an operator that divides the difference between NtbSta and NtbCco by NtbPowerPeriod and then returns the remainder. Taking the remainder is based on the fact that the two zero-crossing NTB data for making the difference may not be within the same power cycle. By taking the remainder, it is ensured that the obtained offset NtbOffset is within one power cycle.
[0135] Under ideal conditions, one power cycle is 20 ms. However, in the actual power grid, the power cycle has a slight fluctuation. It may be a little larger than 20 ms or a little smaller than 20 ms. Therefore, when NtbSta - NtbCco is too large, it means that the time interval between the zero-crossing NTB data collected by CCO and the zero-crossing NTB data collected by STA is too long. This situation is caused by the accumulated error due to the fluctuation of the power cycle value. In this case, the calculated NtbOffset value will deviate from the true value, which will in turn affect the correctness of the subsequent phase identification.
[0136] According to repeated experiments, if the value of NtbSta - NtbCco exceeds 1.5 seconds, the error will accumulate, the NtbOffset value will deviate from the true value, and the phase will be misjudged. In this case, it is determined that this NtbOffset is invalid, this identification is abandoned, and the next round of phase identification process is restarted. Based on this, a preset maximum offset threshold of 1.5 seconds or other empirical values can be defined in the specific implementation. When determining the phase based on the offset later, the offset is pre-judged. When the offset is within the preset maximum offset threshold, the offset is used for phase identification.
[0137] Step S250: Determine the phase of the communication node to be identified according to the offset.
[0138] This step determines the phase of the communication node to be identified based on the NtbOffset calculated in step S240. During the phase identification process, the twelve-point method is used. The specific process is as follows:
[0139] First, the network reference time value NtbPeriod corresponding to one power cycle is equally divided into 12 intervals in advance. Assume: NtbCut12 = [NtbPeriod / 12], that is: NtbCut12 is
[0140] One-twelfth of NtbPeriod, and then the obtained value is rounded. Therefore, NtbCut12 is a non-zero integer. The array NtbCut[i] = NtbCut12 × i is the boundary value of each equal division, where i is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, and 12.
[0141] Then, according to the correspondence between the preset interval of the phase to which the zero-crossing network reference time NTB information (i.e., the reference origin) at the start time of the power cycle belongs and the phase, the phase corresponding to the zero-crossing network reference time NTB information at the start time of the power cycle, if combined with the acquisition edge category, there are six cases in total, specifically: rising edge of phase A, falling edge of phase A, rising edge of phase B, falling edge of phase B, rising edge of phase C, and falling edge of phase C. The zero-crossing network reference time NTB information at the start time of a power cycle corresponds to different three-phase power zero-crossing timing diagrams in each case. Figures 4 - 9 They are the three-phase power zero-crossing timing diagrams in each case. Among them, the vertical axis is voltage and the horizontal axis is the time axis.
[0142] From Figures 4 - 9 it can be seen that when the zero-crossing NTB information at the start time of the power cycle is phase A, the corresponding relationship is:
[0143] The phase corresponding to the interval [NtbCut[0], NtbCut[1)) is: phase A;
[0144] The phase corresponding to the interval [NtbCut[1], NtbCut[3)) is: phase C;
[0145] The phase corresponding to the interval [NtbCut[3], NtbCut[5)) is: phase B;
[0146] The phase corresponding to the interval [NtbCut[5], NtbCut[7)) is: phase A;
[0147] The phase corresponding to the interval [NtbCut[7], NtbCut[9)) is: phase C;
[0148] The phase corresponding to the interval [NtbCut[9], NtbCut[11)) is: phase B;
[0149] The phase corresponding to the interval [NtbCut
[11] , NtbCut
[12] ] is: phase A.
[0150] When the zero-crossing NTB information at the start time of the power cycle is phase B, the corresponding relationship is:
[0151] The phase corresponding to the interval [NtbCut[0], NtbCut[1)) is: phase B;
[0152] The phase corresponding to the interval [NtbCut[1], NtbCut[3)) is: phase A;
[0153] The phase corresponding to the interval [NtbCut[3], NtbCut[5)) is: phase C;
[0154] The phase corresponding to the interval [NtbCut[5], NtbCut[7)) is: Phase B;
[0155] The phase corresponding to the interval [NtbCut[7], NtbCut[9)) is: Phase A;
[0156] The phase corresponding to the interval [NtbCut[9], NtbCut[11)) is: Phase C;
[0157] The phase corresponding to the interval [NtbCut
[11] , NtbCut
[12] ] is: Phase B.
[0158] When the zero-crossing NTB information at the start moment of the power cycle is Phase C, the corresponding relationship is:
[0159] The phase corresponding to the interval [NtbCut[0], NtbCut[1)) is: Phase C;
[0160] The phase corresponding to the interval [NtbCut[1], NtbCut[3)) is: Phase B;
[0161] The phase corresponding to the interval [NtbCut[3], NtbCut[5)) is: Phase A;
[0162] The phase corresponding to the interval [NtbCut[5], NtbCut[7)) is: Phase C;
[0163] The phase corresponding to the interval [NtbCut[7], NtbCut[9)) is: Phase B;
[0164] The phase corresponding to the interval [NtbCut[9], NtbCut[11)) is: Phase A;
[0165] The phase corresponding to the interval [NtbCut
[11] , NtbCut
[12] ] is: Phase C.
[0166] Finally, determine whether the offset is within the preset maximum offset threshold. When the offset is not greater than the preset maximum offset threshold, determine the interval to which the offset belongs, and determine the phase of the communication node to be recognized according to the interval to which the offset belongs and the above corresponding relationship.
[0167] Specifically, when determining the interval to which the offset belongs, it is possible to first calculate how many NtbCut12 are there in the offset NtbOffset, and then find the corresponding interval according to the obtained result. Assuming PhaseVal is the obtained result value, it can be specifically calculated by the following formula:
[0168] PhaseVal = [NtbOffset / NtbCut12]
[0169] Among them, PhaseVal is the result of rounding the difference between NtbOffset and NtbCut12, and its value is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11.
[0170] As mentioned above, when selecting the reference origin and the comparison point, both can collect information at the rising edge, or one can collect information at the rising edge and the other at the falling edge. In either case, it does not affect the identification of the phase of the communication node to be identified. In practical applications, when both collect information at the rising edge or the falling edge, not only can the phase of the communication node be identified, but also the zero-fire reverse connection state can be identified. Specifically, it can also be determined according to the calculated PhaseVal above. Among them, the zero-fire reverse connection state is: normal wiring or zero-fire reverse connection.
[0171] According to Figures 4 - 9 As can be seen from the following, the correspondence table of the PhaseVal value, the phase to which the reference origin belongs, the acquisition edge category, and the phase is as follows:
[0172]
[0173] Based on Figures 4 - 9 As can be seen from the following, the voltage waveform formed by reversing the A-phase voltage waveform (i.e., the wave peak becomes the wave valley) is the voltage waveform after the A-phase is reversely connected. Similarly, the voltage waveform formed by reversing the B-phase voltage waveform is the voltage waveform after the B-phase is reversely connected, and the voltage waveform formed by reversing the C-phase voltage waveform is the voltage waveform after the C-phase is reversely connected. In this way, by corresponding the voltage waveforms after each phase is reversely connected to the above intervals, the zero-fire reverse connection state corresponding to each PhaseVal value can be judged. The correspondence table of the PhaseVal value, the phase to which the reference origin belongs, the acquisition edge category, and the zero-fire reverse connection state information is as follows:
[0174] Among them, the "+" sign in the zero-fire reverse connection state information represents normal wiring, and the "-" sign represents zero-fire reverse connection.
[0175]
[0176] It can be seen from this that:
[0177] When the PhaseVal value is 0, it corresponds to the interval [NtbCut[0], NtbCut[1));
[0178] When the PhaseVal values are 1 and 2, they correspond to the interval [NtbCut[1], NtbCut[3));
[0179] When the value of PhaseVal is 3 or 4, the corresponding interval is [NtbCut[3], NtbCut[5));
[0180] When the value of PhaseVal is 5 or 6, the corresponding interval is [NtbCut[5], NtbCut[7));
[0181] When the value of PhaseVal is 7 or 8, the corresponding interval is [NtbCut[7], NtbCut[9));
[0182] When the value of PhaseVal is 9 or 10, the corresponding interval is [NtbCut[9], NtbCut[11));
[0183] When the value of PhaseVal is 11, the corresponding interval is [NtbCut
[11] , NtbCut
[12] ];
[0184] Then, for phase recognition,
[0185] When the reference origin is phase A,
[0186] When PhaseVal is any one of 0, 5, 6, 11, the phase of the communication node to be recognized is: phase A;
[0187] When PhaseVal is any one of 3, 4, 9, 10, the phase of the communication node to be recognized is: phase B;
[0188] When PhaseVal is any one of 1, 2, 7, 8, the phase of the communication node to be recognized is: phase C;
[0189] When the reference origin is phase B,
[0190] When PhaseVal is any one of 0, 5, 6, 11, the phase of the communication node to be recognized is: phase B;
[0191] When PhaseVal is any one of 3, 4, 9, 10, the phase of the communication node to be recognized is: phase C;
[0192] When PhaseVal is any one of 1, 2, 7, 8, the phase of the communication node to be recognized is: phase A;
[0193] When the reference origin is phase C,
[0194] When PhaseVal is any one of 0, 5, 6, 11, the phase of the communication node to be recognized is: phase C;
[0195] When the PhaseVal is any one of 3, 4, 9, and 10, the phase of the communication node to be identified is: Phase A;
[0196] When the PhaseVal is any one of 1, 2, 7, and 8, the phase of the communication node to be identified is: Phase B;
[0197] For the recognition of the reversed phase and neutral connection state,
[0198] When the PhaseVal takes any one of 0, 3, 4, 7, 8, and 11, the reversed phase and neutral connection state of the communication node to be identified is: normal wiring;
[0199] When the PhaseVal takes any one of 1, 2, 5, 6, 9, and 10, the reversed phase and neutral connection state of the communication node to be identified is: reversed phase and neutral connection.
[0200] According to the above corresponding relationship, the phase and the reversed phase and neutral connection state of the communication node to be identified can be determined.
[0201] In practical applications, after the CCO completes the network formation or the number of networked nodes exceeds a certain number, the above phase recognition method is started. Before specifically performing phase recognition according to the above method, it will first be judged whether it is in a strong electrical environment and whether there are unrecognized communication nodes. The specific method for judging whether it is in a strong electrical environment is: perform the operation of collecting the local zero-crossing NTB information within a preset time, and check whether there is zero-crossing NTB information. If there is, it is currently in a strong electrical environment. If it is currently in a strong electrical environment and there are unrecognized communication nodes, the above phase recognition method process is executed.
[0202] When performing phase recognition on unrecognized communication nodes, a phase recognition timeout timer can be started to limit the maximum time for the execution of the phase recognition process to balance the execution of other high-priority tasks.
[0203] As can be seen from the above steps, in the embodiment of the present invention, only by obtaining any one local zero-crossing NTB information and one zero-crossing NTB information of the communication node to be identified, calculating the offset between the two, and adopting the twelve-point method recognition method, the phase of the communication node to be identified can be recognized according to the offset. The calculation is simple, and the recognition is fast and accurate.
[0204] Figure 10 It is a schematic structural diagram of the phase recognition device in the embodiment of the present invention, which is set in the main node of the low-voltage power line broadband communication network and at least includes the following modules:
[0205] The first zero-crossing NTB information acquisition module 101 is set to acquire the zero-crossing network reference time NTB information of one or more phases locally, denoted as the first zero-crossing network reference time NTB information;
[0206] A second zero-crossing NTB information acquisition module 102 is configured to acquire zero-crossing network reference time NTB information of a communication node to be identified, recorded as second zero-crossing network reference time NTB information;
[0207] The reference origin and comparison point selection module 103 is configured to select only one zero-crossing network reference time NTB of any phase in the first zero-crossing network reference time NTB information as the reference origin; and select only one zero-crossing network reference time NTB in the second zero-crossing network reference time NTB information as the comparison point;
[0208] An offset calculation module 104 is configured to calculate an offset of the comparison point relative to the reference origin within a power cycle;
[0209] The phase identification module 105 is configured to determine the phase of the communication node to be identified according to the offset.
[0210] Figure 11 FIG. 1 is a schematic diagram of the hardware structure of a communication device according to an embodiment of the present invention. Figure 11 As shown, the communication device includes: a memory 111 and a processor 112, wherein the memory 111 and the processor 112 communicate with each other; exemplarily, the memory 111 and the processor 112 communicate with each other via a communication bus 113, the memory 111 is used to store a computer program, and the processor 112 executes the computer program to implement the method shown in the above embodiment.
[0211] Optionally, the communication device may further include a transmitter and / or a receiver.
[0212] Optionally, the processor may be a central processing unit (CPU), or other general-purpose processors, PLC (Programmable Logic Controller), FPGA (Field-Programmable Gate Array), DSP (Digital Signal Processor) or ASIC (Application Specific Integrated Circuit). A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the present invention may be directly implemented as being executed by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
[0213] An embodiment of the present invention further provides a communication system, at least including: a low-voltage power line broadband communication network master node provided with the communication device as described above.
[0214] An embodiment of the present invention provides a storage medium for storing a computer program for implementing the phase recognition method described in any of the above method embodiments.
[0215] An embodiment of the present invention provides a chip for supporting a receiving device (such as a terminal device, a network device, etc.) to implement the functions shown in the embodiments of the present invention. Specifically, the chip is used for a chip system, which may be composed of a chip or may include a chip and other discrete devices. When the chip in the receiving device implements the above method, the chip includes a processing unit. Further, the chip may also include a communication unit. The processing unit may be a processor, for example. When the chip includes a communication unit, the communication unit may be an input / output interface, a pin, or a circuit, etc. The processing unit executes all or part of the actions performed by each processing module in the embodiments of the present invention, and the communication unit may perform corresponding receiving or sending actions. In another specific embodiment, the processing module of the receiving device in the embodiments of the present invention may be the processing unit of the chip, and the receiving module or sending module of the control device is the communication unit of the chip.
[0216] Those skilled in the art should understand that the embodiments of the present application may be provided as a method, an apparatus (device), or a computer program product. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application may be implemented as a computer program product on one or more computer-readable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program code.
[0217] The present application is described with reference to the flowcharts of methods, apparatuses (devices), and computer program products according to the embodiments of the present application. It should be understood that each process in the flowchart can be implemented by computer program instructions.
[0218] These computer program instructions can be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device that implements the Figure 1 functions specified in one process or multiple processes.
[0219] These computer program instructions may also be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce means for implementing the functions specified in one process Figure 1 or a plurality of processes.
[0220] Another embodiment of the present invention relates to a non-volatile storage medium for storing a computer-readable program, which is used for a computer to execute the above-mentioned partial or all method embodiments.
[0221] That is, those skilled in the art can understand that all or part of the steps in implementing the methods of the above embodiments can be completed by specifying relevant hardware through a program. The program is stored in a storage medium and includes several instructions to enable a device (which may be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. The foregoing storage medium includes: USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs and other various media that can store program codes.
[0222] The foregoing are only the preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A phase recognition method, applied to the main node of a low-voltage power line broadband communication network, characterized in that At least: Obtaining local zero-crossing network reference time NTB information of one or more phases, recorded as first zero-crossing network reference time NTB information; Obtaining zero-crossing network reference time NTB information of the communication node to be identified, recorded as second zero-crossing network reference time NTB information; Only one zero-crossing network reference time NTB of any phase in the first zero-crossing network reference time NTB information is selected as a reference origin; Only one zero-crossing network reference time NTB in the second zero-crossing network reference time NTB information is selected as a comparison point; Calculating the offset of the comparison point relative to the reference origin within one power cycle; Determine the phase of the communication node to be identified according to the offset; The calculation of the offset of the comparison point relative to the reference origin within one power cycle is specifically calculated by the following formula: NtbOffset=(NtbSta–NtbCco)ModNtbPowerPeriod; Wherein, NtbPowerPeriod is the network reference time value corresponding to one power cycle, NtbSta is the value of the comparison point, NtbCco is the value of the reference origin, and NtbOffset is the offset of the comparison point relative to the reference origin within one power cycle; The determining the phase of the communication node to be identified according to the offset is specifically: The network reference time value NtbPeriod corresponding to a power cycle is divided into 12 intervals in advance, and the corresponding relationship between the interval and the phase is preset according to the phase to which the zero-crossing network reference time NTB information at the start of the power cycle belongs; When the offset is not greater than a preset maximum offset threshold, the interval to which the offset belongs is determined, and the phase of the communication node to be identified is determined according to the interval to which the offset belongs and the corresponding relationship.
2. The method according to claim 1, wherein The network reference time value NtbPeriod corresponding to a power cycle is divided into 12 intervals in advance, and the corresponding relationship between the phase preset interval and the phase according to the zero-crossing network reference time NTB information at the start of the power cycle is specifically as follows: Define NtbCut12 as the length value of each interval, then: NtbCut12=[NtbPeriod / 12], wherein NtbCut12 is a non-zero integer; The equally divided boundary values of the 12 intervals are recorded as: array NtbCut[i]=NtbCut12×i, where i is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 and 12; When the zero-crossing network reference time NTB information at the start of the power cycle is phase A, the corresponding relationship is: The phase corresponding to the interval [NtbCut[0], NtbCut[1]) is: Phase A; The phase corresponding to the interval [NtbCut[1], NtbCut[3]) is: phase C; The phase corresponding to the interval [NtbCut[3], NtbCut[5]) is: phase B; The phase corresponding to the interval [NtbCut[5], NtbCut[7]) is: phase A; The phase corresponding to the interval [NtbCut[7], NtbCut[9)) is: Phase C; The phase corresponding to the interval [NtbCut[9], NtbCut[11)) is: Phase B; The phase corresponding to the interval [NtbCut[11], NtbCut[12]] is: Phase A; When the zero-crossing network reference time NTB information at the start time of the power cycle is Phase B, the corresponding relationship is: The phase corresponding to the interval [NtbCut[0], NtbCut[1)) is: Phase B; The phase corresponding to the interval [NtbCut[1], NtbCut[3)) is: Phase A; The phase corresponding to the interval [NtbCut[3], NtbCut[5)) is: Phase C; The phase corresponding to the interval [NtbCut[5], NtbCut[7)) is: Phase B; The phase corresponding to the interval [NtbCut[7], NtbCut[9)) is: Phase A; The phase corresponding to the interval [NtbCut[9], NtbCut[11)) is: Phase C; The phase corresponding to the interval [NtbCut[11], NtbCut[12]] is: Phase B; When the zero-crossing network reference time NTB information at the start time of the power cycle is Phase C, the corresponding relationship is: The phase corresponding to the interval [NtbCut[0], NtbCut[1)) is: Phase C; The phase corresponding to the interval [NtbCut[1], NtbCut[3)) is: Phase B; The phase corresponding to the interval [NtbCut[3], NtbCut[5)) is: Phase A; The phase corresponding to the interval [NtbCut[5], NtbCut[7)) is: Phase C; The phase corresponding to the interval [NtbCut[7], NtbCut[9)) is: Phase B; The phase corresponding to the interval [NtbCut[9], NtbCut[11)) is: Phase A; The phase corresponding to the interval [NtbCut[11], NtbCut[12]] is: Phase C.
3. The method according to claim 2, characterized in that, To determine the interval to which the offset belongs, and based on the interval to which the offset belongs and the corresponding relationship, determine the phase of the communication node to be identified. Specifically: Calculate the number PhaseVal of NtbCut12 in the offset through the following formula PhaseVal = [NtbOffset / NtbCut12], where the value of PhaseVal is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11; When the reference origin is Phase A When PhaseVal is any one of 0, 5, 6, 11, the phase of the communication node to be identified is: Phase A; When PhaseVal is any one of 3, 4, 9, 10, the phase of the communication node to be identified is: Phase B; When PhaseVal is any one of 1, 2, 7, 8, the phase of the communication node to be identified is: Phase C; When the reference origin is Phase B When the PhaseVal is any one of 0, 5, 6, and 11, the phase of the communication node to be recognized is: Phase B; When the PhaseVal is any one of 3, 4, 9, and 10, the phase of the communication node to be recognized is: Phase C; When the PhaseVal is any one of 1, 2, 7, and 8, the phase of the communication node to be recognized is: Phase A; When the reference origin is Phase C, When the PhaseVal is any one of 0, 5, 6, and 11, the phase of the communication node to be recognized is: Phase C; When the PhaseVal is any one of 3, 4, 9, and 10, the phase of the communication node to be recognized is: Phase A; When the PhaseVal is any one of 1, 2, 7, and 8, the phase of the communication node to be recognized is: Phase B.
4. The method according to claim 3, wherein When the comparison point and the reference origin collect information at the same rising edge or the same falling edge, the method further includes: Determining the zero-fire reverse connection state of the communication node to be recognized according to the offset; Wherein, the zero-fire reverse connection state is: normal wiring or zero-fire reverse connection; The determining the zero-fire reverse connection state of the communication node to be recognized according to the offset is specifically: When the PhaseVal is any one of 0, 3, 4, 7, 8, and 11, the zero-fire reverse connection state of the communication node to be recognized is: normal wiring; When the PhaseVal is any one of 1, 2, 5, 6, 9, and 10, the zero-fire reverse connection state of the communication node to be recognized is: zero-fire reverse connection.
5. The method according to any one of claims 1 to 4, characterized in that, Before the method is executed, it further includes: Judging whether it is in a strong electricity environment currently and whether there are unrecognized communication nodes. If it is in a strong electricity environment and there are unrecognized communication nodes currently, then execute the method.
6. The method according to claim 5, characterized in that The judging whether it is in a strong electricity environment currently is specifically: Performing an operation of collecting the zero-crossing network reference time NTB information of the local area within a preset time, and checking whether there is zero-crossing network reference time NTB information. If there is, then it is in a strong electricity environment currently.
7. A phase identification device is provided at the main node of the low-voltage power line broadband communication network, characterized in that, At least includes: The first zero-crossing NTB information acquisition module is set to acquire the zero-crossing network reference time NTB information of one or more phases of the local area, denoted as the first zero-crossing network reference time NTB information; The second zero-crossing NTB information acquisition module is set to acquire the zero-crossing network reference time NTB information of the communication node to be recognized, denoted as the second zero-crossing network reference time NTB information; The reference origin and comparison point selection module is set to only select any one zero-crossing network reference time NTB of any phase in the first zero-crossing network reference time NTB information as the reference origin; Only select one zero-crossing network reference time NTB in the second zero-crossing network reference time NTB information as the comparison point; The offset calculation module is set to calculate the offset of the comparison point relative to the reference origin within one power cycle; The phase recognition module is set to determine the phase of the communication node to be recognized according to the offset; The offset calculation module is specifically set to: NtbOffset = (NtbSta – NtbCco) Mod NtbPowerPeriod; Wherein, NtbPowerPeriod is the network reference time value corresponding to one power cycle, NtbSta is the value of the comparison point, NtbCco is the value of the reference origin, and NtbOffset is the offset of the comparison point relative to the reference origin within one power cycle; The phase identification module is specifically configured as follows: Equally divide the network reference time value NtbPeriod corresponding to one power cycle into 12 intervals in advance, and preset the corresponding relationship between the interval to which the zero-crossing network reference time NTB information at the start moment of the power cycle belongs and the phase; When the offset is not greater than the preset maximum offset threshold, determine the interval to which the offset belongs, and determine the phase of the communication node to be identified according to the interval to which the offset belongs and the corresponding relationship.
8. A communication device, characterized in that, It includes a memory and a processor, and the processor executes the program instructions in the memory to implement the method according to any one of claims 1 to 6.
9. A communication system, characterized in that, At least includes: A low-voltage power line broadband communication network master node provided with the communication device as described in claim 8.
10. A storage medium, characterized in that, The storage medium is used to store a computer program, and the computer program is used to implement the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Phase identification method and device in power line broadband carrier communication network
CN109391288A
Residual sampling clock skew compensation method and device based on BPLC system
CN114430290A