A heterogeneous CCO concurrent networking meter reading system
By constructing multiple logically independent virtual communication networks through a heterogeneous CCO concurrent networking meter reading system, the problems of high-frequency noise interference and signal attenuation under the single CCO architecture are solved, achieving efficient concurrent meter reading and meeting the real-time communication needs of low-voltage distribution areas.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- 古桥信息科技(郑州)有限公司
- Filing Date
- 2026-05-20
- Publication Date
- 2026-07-03
AI Technical Summary
The existing single CCO communication architecture faces problems such as high-frequency noise interference, signal attenuation, communication capacity limitations, and low concurrent meter reading efficiency in low-voltage distribution areas with large-scale distributed photovoltaic, energy storage equipment, and charging pile access, making it difficult to meet the real-time and high-frequency service requirements.
A heterogeneous CCO concurrent networking meter reading system is adopted. Multiple logically independent virtual communication networks are constructed through the MCU main control module and multiple CCO communication modules. Each CCO module has HPLC/HRF dual-mode communication capability, forming multiple independent communication networks. Concurrent communication is achieved by using multiple independent PA transceiver links. Combined with virtual address mapping and task scheduling mechanism, the communication capacity and concurrent meter reading capability are improved.
It significantly improves the communication capacity and concurrent meter reading efficiency of the distribution area, shortens the networking time, meets the real-time collection needs of full marketing data, minute-level photovoltaic data and photovoltaic control, and improves the stability and reliability of the system.
Smart Images

Figure CN122340378A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electricity information collection and local communication technology, and more specifically, to a heterogeneous CCO concurrent networking meter reading system. Background Technology
[0002] With the continuous advancement of the construction of new power systems, the number of distributed photovoltaic, energy storage equipment, electric vehicle charging piles, and smart energy terminals in low-voltage distribution substations continues to increase. The electricity information collection system not only needs to complete the traditional residential electricity energy collection business, but also needs to undertake new businesses such as minute-level photovoltaic data collection, energy storage status monitoring, charging load monitoring, remote fee control, and distributed energy regulation, which puts forward higher requirements for the real-time performance, reliability, and concurrent communication capabilities of the local communication network.
[0003] Currently, the State Grid's low-voltage electricity consumption information acquisition system mainly adopts an HPLC+HRF dual-mode local communication scheme. HPLC is a high-speed power line carrier communication method that transmits data via power lines, typically operating in the 0.7MHz–12MHz frequency band. HRF is a high-speed low-power wireless communication method, typically operating in the 470MHz–510MHz frequency band. This HPLC and HRF dual-mode communication scheme, through the coordinated operation of power line communication and wireless communication, can improve communication reliability to a certain extent and solve the communication blind spot problem in some complex distribution areas.
[0004] In existing HPLC / HDC communication networks, a single CCO networking architecture is typically adopted. This means that a single CCO acts as the central coordinator, handling tasks such as network establishment, STA node authentication, time slot allocation, route maintenance, and data aggregation for the entire distribution area. All STA nodes are connected to the same communication network. STA nodes join the network by listening to HPLC beacons and HRF beacons sent by the CCO, and perform data upload and meter reading communication through the single CCO.
[0005] However, in practical applications, the single CCO communication architecture has the following problems: First, with the large-scale integration of distributed photovoltaic (PV) systems, energy storage devices, and charging piles, high-frequency noise interference in the power line environment has increased significantly. For example, PV inverters typically employ high-frequency PWM switching technology, and their harmonic components may cover the 0MHz to 12MHz broadband carrier frequency band. The AC / DC or DC / DC high-frequency switching modules inside charging piles also generate broadband harmonic interference, which can easily lead to increased HPLC channel bit error rate, increased communication latency, and decreased network stability.
[0006] Secondly, in large low-voltage distribution areas, due to factors such as long underground cable distances, complex power line impedance variations, and meter box shielding, HPLC signals exhibit significant attenuation. Furthermore, HRF wireless communication is easily affected by obstruction, distance, and multipath effects, resulting in limited single CCO communication coverage.
[0007] Furthermore, in the existing single CCO architecture, all STA nodes share the same communication resources. When there are a large number of smart meters, distributed photovoltaic devices, and energy storage devices in the distribution area, the amount of concurrent data in the communication network grows rapidly, and the communication capacity of a single CCO is likely to reach its limit. This results in excessively long network setup time, decreased efficiency of concurrent meter reading, and the inability to meet real-time requirements for minute-level data collection.
[0008] For example, in a typical low-voltage distribution area of 300 households, including 280 single-phase meters, 20 three-phase meters, 10 single-phase photovoltaic (PV) meters, and 20 three-phase PV meters, the existing local carrier communication solution is insufficient to simultaneously meet the needs of full marketing data collection, minute-level PV data collection, and PV control services. Traditional single-CCO communication methods are prone to communication congestion, meter reading timeouts, and offline issues for some STA nodes when performing minute-level concurrent meter reading tasks.
[0009] Although the existing HPLC+HRF dual-mode communication scheme can improve link reliability through the dual-link mechanism, it is still essentially a single CCO networking mode. There is only one communication network in the entire distribution area, and the overall communication capability of the system is still limited by the communication capacity of a single CCO. Therefore, it is difficult to further improve the concurrent networking capability and concurrent meter reading capability in large-scale distribution areas.
[0010] Therefore, there is an urgent need for a heterogeneous CCO concurrent networking meter reading system to solve these problems. Summary of the Invention
[0011] The purpose of this invention is to solve the technical problems mentioned in the background section and to provide a heterogeneous CCO concurrent networking meter reading system.
[0012] The above-mentioned objective of the present invention is achieved as follows: A heterogeneous CCO concurrent networking meter reading system includes a terminal, an MCU main control module, and at least two CCO communication modules; The MCU main control module is connected to the terminal and multiple CCO communication modules respectively, and is used for protocol parsing, task scheduling, address mapping, whitelist management, data aggregation and topology management; The multiple CCO communication modules each construct an independent communication network and establish communication connections with multiple STA nodes through HPLC and HRF dual-mode communication. Each CCO communication module has independent network initialization, dual-mode networking, dual-link routing establishment, and concurrent meter reading capabilities. The MCU main control module is used to map the master node address sent by the terminal to generate multiple virtual master node addresses, and allocate them to the corresponding CCO communication modules respectively, so that multiple CCO communication modules form multiple logically independent virtual communication networks in the same area; Multiple CCO communication modules are physically coupled to phases A, B, and C of the power grid, respectively, and operate in parallel on the same or different bands, forming multiple logically independent communication networks. Their communication capacity satisfies the following Shannon capacity formula: C=∑(i=1→Nmin)Blog2(1+SNRi) Where C represents the communication data capacity, B represents the OFDM subcarrier bandwidth, SNRi represents the signal-to-noise ratio of the i-th subcarrier, and Nmin represents the minimum number of PAs at the transmitter and receiver, satisfying the following: Nmin = min(NTx, NRx) Where NTx represents the number of PAs at the transmitting end and NRx represents the number of PAs at the receiving end; Multiple CCO communication modules communicate concurrently through multiple independent transceiver PAs, thereby enabling concurrent networking of multiple networks and concurrent meter reading.
[0013] As a preferred technical solution of the present invention, the MCU main control module includes a protocol processing module, a concurrent task scheduling module, an address mapping and whitelist processing module, a data aggregation and filtering module, and a topology management relay aggregation module; The protocol processing module is used to parse, encapsulate, and verify Q / GDW376.2 protocol messages; The concurrent task scheduling module is used to manage the meter reading task queue, synchronously send meter reading tasks to multiple CCO communication modules, and resend or terminate timed-out tasks. The address mapping and whitelist processing module is used to maintain the mapping relationship between the MCU logical address and multiple CCO virtual addresses, and to maintain the online whitelist linked list and offline linked list corresponding to each CCO communication module; The data aggregation and filtering module is used to merge, deduplicatize, and verify the validity of data reported by multiple CCO communication modules. The topology management relay aggregation module is used to integrate the network topology structures corresponding to multiple CCO communication modules and generate a global network topology view.
[0014] As a preferred technical solution of the present invention, each CCO communication module adopts a dual-mode OFDM modulation communication method of HPLC and HRF, wherein the HPLC communication frequency band is 0.7MHz to 12MHz and the HRF communication frequency band is 470MHz to 510MHz; After each STA node is powered on, it simultaneously monitors the HPLC beacon and the HRF beacon, and completes clock synchronization and link establishment based on the dual-channel signal quality. The STA node simultaneously sends association request frames through dual channels and reports its MAC address, dual-mode capability information, HPLC channel quality information, and HRF channel quality information to the CCO communication module in order to establish a dual-path communication route.
[0015] As a preferred technical solution of the present invention, after receiving the master node address sent by the terminal, the MCU master control module generates multiple virtual master node addresses according to the following mapping method: Y=X+0xX00000000000; where Y represents the mapped virtual master node address, X represents the mapping identifier bit, and the value of X ranges from 1 to 9 and A to F; the MCU master control module sends the generated multiple virtual master node addresses to the corresponding CCO communication modules respectively, so that the multiple CCO communication modules form corresponding independent logical networks.
[0016] As a preferred technical solution of the present invention, after receiving the meter whitelist file sent by the terminal, the MCU main control module synchronously sends all whitelist files to each CCO communication module. Each CCO communication module establishes a communication connection with the corresponding STA node based on its own link quality and network path; The STA node achieves dual-mode synchronization by simultaneously monitoring the HPLC beacon and the HRF beacon, and sends association request frames through dual channels to establish dual-path communication routes.
[0017] As a preferred technical solution of the present invention, the MCU main control module is also used to execute the meter file synchronization processing flow, which includes obtaining the number of slave nodes, obtaining slave node information, deleting slave nodes, adding slave nodes, and regularly updating the online whitelist. When the number of slave nodes returned by multiple CCO communication modules is inconsistent, the MCU master control module sends a hardware initialization command to each CCO communication module to reacquire the meter file information. When multiple CCO communication modules return the same number of slave nodes, the MCU master control module assembles packets according to the Q / GDW376.2 protocol format and reports them to the terminal.
[0018] As a preferred technical solution of the present invention, the MCU main control module maintains the online and offline linked lists of nodes, and periodically queries the online and offline STA node information in each CCO communication module; The MCU main control module performs deduplication and statistics on the online STA node addresses reported by multiple CCO communication modules, and determines that the network has entered a stable state when the sum of the total number of online nodes and the total number of offline nodes equals the total number of whitelist nodes. After the network enters a stable state, the MCU main control module continuously updates the online and offline linked list information.
[0019] As a preferred technical solution of the present invention, after receiving the concurrent meter reading task sent by the terminal, the MCU main control module performs task scheduling and allocation for the corresponding meter address according to the online whitelist information fed back by multiple CCO communication modules. Before sending the meter reading task to the target CCO communication module, the MCU main control module performs virtual address replacement on the source address field in the Q / GDW376.2 protocol message to generate the target meter reading message corresponding to the CCO communication module; After the target CCO communication module completes the meter reading, it uploads the reply data to the MCU main control module. The MCU main control module then restores the original master node address, reassembles the packet, and reports it to the terminal.
[0020] As a preferred technical solution of the present invention, when the MCU main control module detects that the target meter address sent by the terminal does not exist in the online whitelist of any CCO communication module, the MCU main control module directly generates an empty data response message and returns it to the terminal in accordance with the Q / GDW376.2 protocol format; the empty data response message is used to indicate that there is no valid communication link for the corresponding target meter address.
[0021] As a preferred technical solution of the present invention, the MCU main control module is constructed using the GD32F527RST7 chip, and the multiple CCO communication modules are constructed using the GQX3211 chip. The MCU main control module is connected to the terminal and multiple CCO communication modules through multiple UART interfaces, wherein UART1 is used to communicate with the terminal, and the other UART interfaces communicate with the corresponding CCO communication modules respectively. Each CCO communication module supports HPLC and HRF dual-mode communication, OFDM modulation, Turbo forward error correction and full-duplex communication, and has independent MAC layer, network layer and application layer communication capabilities. Multiple CCO communication modules form multiple virtual communication networks within the same distribution area through heterogeneous concurrent communication, thereby improving the network formation success rate, shortening the network formation time, and increasing the concurrent meter reading rate.
[0022] Compared with the prior art, the present invention has the following beneficial effects: This invention centrally controls multiple CCO communication modules through a single MCU master control module, constructing multiple logically independent virtual communication networks within the same distribution area. This achieves the transformation from a traditional single-CCO network structure to a multi-CCO heterogeneous concurrent network structure. Each CCO communication module possesses independent HPLC / HRF dual-mode communication capabilities and establishes communication connections with corresponding STA nodes through different virtual master node addresses. This expands the original single-network communication mode into a multi-network parallel communication mode, significantly improving the overall communication capacity and concurrent communication capability of the distribution area.
[0023] This invention establishes a virtual address mapping mechanism through the MCU main control module and combines it with Q / GDW376.2 protocol message dynamic replacement technology to achieve logical isolation and unified management among multiple CCO communication modules. The MCU main control module can dynamically schedule different meter reading tasks to the corresponding CCO communication modules for execution based on online whitelist information, link quality, and node status. After meter reading is completed, it uniformly restores the original master node address and completes protocol packet reporting, thereby enabling concurrent meter reading collaborative processing among multiple CCO communication modules and improving meter reading efficiency and communication reliability in large-scale STA node scenarios.
[0024] This invention further achieves stable communication and dynamic fault tolerance in complex distribution area environments through online whitelist management, task mapping, and abnormal rescheduling mechanisms. When some CCO communication modules malfunction, the MCU main control module can automatically reschedule the corresponding meter reading tasks to other normal CCO communication modules, preventing the entire distribution area from failing due to a single CCO failure. Simultaneously, by deduplicating and dynamically maintaining the online node information of multiple CCO communication modules, the network success rate and node online rate in complex interference environments can be improved.
[0025] Furthermore, this invention utilizes multiple CCO communication modules to form independent parallel OFDM communication links, enabling the total system communication capacity to approximately satisfy the superposition relationship of multi-link capacity. Under ideal conditions, it can achieve nearly three times the concurrent communication capacity of a single CCO system, thereby effectively shortening the network setup time of the distribution area and meeting the real-time acquisition needs of high-frequency services such as full marketing data, minute-level photovoltaic data, energy storage data, and photovoltaic regulation, thus possessing good engineering application value. Attached Figure Description
[0026] Figure 1 Traditional single CCO network topology; Figure 2 HPLC+HRF dual-mode networking process; Figure 3 The overall process of this invention; Figure 4 Heterogeneous CCO concurrent networking architecture. Detailed Implementation
[0027] To make the objectives, technical solutions, and advantages of this invention clearer, the following description is provided in conjunction with embodiments and appendices. Figure 1-4 The present invention will be further described in detail below. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0028] The present invention will now be described in further detail with reference to the accompanying drawings.
[0029] like Figure 1 As shown, existing HPLC / HDC local communication networks typically employ a single CCO networking structure, where a single CCO acts as the central coordinator, establishing communication connections with multiple STA nodes. In this networking approach, all STA nodes share the same communication network and resources. When there are numerous distributed photovoltaic (PV) systems, energy storage devices, and charging piles in the distribution area, high-frequency PWM harmonics, power line attenuation, and broadband noise interference can easily degrade the HPLC channel communication quality, leading to decreased networking efficiency and increased meter reading latency. Especially in minute-level PV data acquisition and high-frequency control scenarios, the traditional single CCO communication architecture is prone to insufficient communication bandwidth, extended meter reading cycles, and increased node downtime.
[0030] like Figure 2 As shown, in the existing HPLC+HRF dual-mode communication system, after the STA node is powered on, it simultaneously listens to the HPLC beacon and the HRF beacon, and completes clock synchronization based on the dual-channel signal quality. Subsequently, the STA node sends association request frames simultaneously through the dual channels and reports the MAC address, HPLC channel quality, HRF channel quality, and dual-mode capability information to the CCO to establish the dual-path communication topology corresponding to the HPLC path, HRF path, and hybrid relay path.
[0031] Although dual-mode communication can improve link reliability to some extent, the existing solutions still use a single CCO communication architecture, so the communication capacity of a single network is still limited. In scenarios with large-scale STA node concurrent communication, it is still difficult to meet the real-time communication needs of marketing full data, minute-level photovoltaic data, and photovoltaic regulation business.
[0032] To solve the above problems, such as Figure 4As shown, this invention proposes a heterogeneous CCO concurrent networking meter reading system. The system includes a terminal, an MCU main control module, and multiple CCO communication modules. The MCU main control module is connected to the terminal and multiple CCO communication modules respectively. Each CCO communication module establishes an HPLC / HRF dual-mode communication network with multiple STA nodes, thereby forming multiple logically independent virtual communication networks within the same distribution area to achieve concurrent networking and concurrent meter reading.
[0033] In this embodiment, the MCU main control module and each CCO communication module internally include a CPU, RAM, Flash, and a communication interface module. After the system is powered on, the system initialization process is executed first, including terminal initialization, MCU initialization, UART initialization, clock initialization, GPIO initialization, and watchdog initialization.
[0034] In this embodiment, the MCU main control module is configured with 4 UART interfaces, of which UART1 is used to communicate with the terminal, and UART2, UART3 and UART4 communicate with CCO1, CCO2 and CCO3 respectively; when more CCO communication modules are configured in the system, the number of UART interfaces of the MCU main control module is expanded accordingly.
[0035] The system initialization phase further includes message queue initialization and memory management initialization. Message queue initialization is used to create message queue tasks and manage data interaction between tasks; this embodiment uses the FreeRTOS real-time operating system for task scheduling, but is not limited to this system. Memory management initialization is used to divide the MCU's internal storage space into a protocol cache area, a whitelist cache area, an online node cache area, an offline node cache area, and a task scheduling cache area, to achieve isolated management and security control of different business data.
[0036] After completing the basic initialization, the MCU main control module further completes the initialization of the protocol processing module, concurrent task scheduling module, address mapping and whitelist processing module, data aggregation and filtering module, and topology management relay aggregation module.
[0037] The protocol processing module is used to parse, encapsulate, and verify Q / GDW376.2 protocol messages; the concurrent task scheduling module is used to manage the meter reading task queue and synchronously send meter reading tasks to multiple CCO communication modules, while retransmitting or terminating timed-out tasks; the address mapping and whitelist processing module is used to maintain the mapping relationship between the MCU logical address and multiple CCO virtual addresses, and maintain online whitelist linked lists and offline linked lists; the data aggregation and filtering module is used to merge, deduplicate, and verify the validity of data reported by multiple CCO communication modules; and the topology management relay aggregation module is used to integrate the network topology structure corresponding to multiple CCO communication modules and generate a global network topology view.
[0038] After all initializations are complete, the MCU main control module starts the task scheduler and monitors the status of each communication port in real time via asynchronous triggering. This embodiment uses serial communication to achieve data interaction between the MCU and multiple CCOs, but is not limited to serial communication. When a protocol message or communication event is detected, the MCU main control module performs module identification, master node settings, meter file synchronization, and concurrent meter reading task processing according to different protocol types.
[0039] like Figure 3 As shown, after system initialization is completed, the system sequentially executes the following processes: module identification, master node address configuration, meter file synchronization, online whitelist management, and concurrent meter reading task scheduling.
[0040] During the module identification process, the terminal first resets the heterogeneous CCO hardware system and waits for the MCU main control module to actively report the CCO mode information AFN=03H-F10; if the corresponding information is not received within the preset time, the terminal actively sends the "CCO mode information" query command AFN=03H-F10.
[0041] After receiving the query command, the MCU main control module parses the current heterogeneous CCO working mode and returns the mode information to the terminal. The terminal further determines whether the current local communication module master node address is consistent with the terminal address. When the two are inconsistent, the terminal issues the "Set Master Node Address" command AFN=05H-F1.
[0042] After receiving the master node address setting command, the MCU master control module first parses the master node address sent by the terminal and saves the master node address.
[0043] For example, after the terminal sends the master node address 000012345678, the MCU main control module generates multiple virtual master node addresses according to the following address mapping formula: Y = X + 0xX00000000000; Where Y represents the address of the mapped virtual master node; X represents the mapping identifier bit, and the value of X ranges from 1 to 9 and from A to F.
[0044] In this embodiment, taking three CCO communication modules as an example, the MCU main control module generates three virtual master node addresses: 100012345678, 200012345678, and 300012345678, corresponding to CCO1, CCO2, and CCO3, respectively. Subsequently, the MCU main control module sends 05F1 messages conforming to the Q / GDW376.2 protocol to CCO1, CCO2, and CCO3 via UART2, UART3, and UART4, respectively, to complete the virtual master node address configuration. After each CCO communication module returns an acknowledgment frame, the MCU main control module determines that the master node address has been successfully set.
[0045] After completing the master node configuration, the terminal further distributes the whitelist meter files. Upon receiving the whitelist files, the MCU master control module does not split the files, but instead synchronously distributes the complete whitelist files to all CCO communication modules.
[0046] For example, when the terminal sends out 300 meter records, the MCU main control module simultaneously sends all 300 meter addresses to CCO1, CCO2, and CCO3. After receiving the whitelist records, each CCO communication module processes them accordingly. Figure 2 The HPLC / HRF dual-mode networking process shown establishes a communication connection with the corresponding STA node.
[0047] After the STA node is powered on, it simultaneously listens to the HPLC beacon and the HRF beacon, and completes clock synchronization based on the dual-channel communication quality. The STA node further sends association request frames simultaneously through both channels and reports the MAC address, HPLC channel quality, HRF channel quality, and dual-mode capability information to the CCO communication module.
[0048] After the CCO communication module completes STA certification, it assigns TEI addresses to STA nodes and establishes dual-path communication topologies corresponding to the HPLC path, HRF path, and hybrid relay path.
[0049] Since each of the multiple CCO communication modules has an independent PA transmit / receive link, the overall communication capacity of the system satisfies the following Shannon capacity relationship: C=∑(i=1→Nmin)Blog2(1+SNRi); Where C represents the communication data capacity; B represents the OFDM subcarrier bandwidth; SNRi represents the signal-to-noise ratio of the i-th subcarrier; Nmin represents the minimum number of PAs at the transmitter and receiver, satisfying the following: Nmin = min(NTx, NRx); Where NTx represents the number of PAs at the transmitting end; NRx represents the number of PAs at the receiving end.
[0050] Since multiple CCO communication modules form independent parallel OFDM communication links, the total communication capacity of the system approximately satisfies the superposition relationship of multi-link capacity, and under ideal conditions, it can achieve nearly 3 times the concurrent communication capacity of a single CCO system.
[0051] After the whitelist files are synchronized, the system enters the meter file synchronization process.
[0052] The terminal first issues the command "Get number of slave nodes" AFN=10H-F1. The MCU main control module forwards the corresponding command to CCO1, CCO2 and CCO3 respectively, and obtains the slave node number information returned by each CCO communication module.
[0053] When the number of files returned by multiple CCO communication modules is inconsistent, the MCU main control module sends a re-initialization command to the corresponding CCO communication module to reacquire the meter file information; when the number of files returned by multiple CCO communication modules is consistent, the MCU main control module completes packet assembly according to the Q / GDW376.2 protocol format and reports it to the terminal.
[0054] Subsequently, the terminal further issued the "Get Slave Node Information" command AFN=10H-F2. The MCU main control module forwarded the corresponding command to each CCO communication module and obtained the corresponding whitelisted meter address information.
[0055] In this embodiment, the MCU main control module reports packets in groups of 10 address information, but is not limited to groups of 10 addresses.
[0056] When the terminal issues the "Delete Slave Node" command AFN=11H-F2 or the "Parameter Area Initialization" command AFN=01H-F2, the MCU main control module forwards the corresponding command to CCO1, CCO2 and CCO3 respectively, and each CCO communication module performs the slave node deletion process.
[0057] When the terminal issues the "Add Slave Node" command AFN=11H-F1, the MCU main control module first generates the corresponding meter address KEY value according to the hash mapping algorithm, and establishes the mapping relationship between the meter address and the KEY value for subsequent fast traversal and query; then the MCU main control module forwards the add slave node command to each CCO communication module, and each CCO communication module completes the corresponding STA node to join the network.
[0058] During the online whitelist management process, the MCU main control module maintains the online node linked list and the offline node linked list, and periodically queries the online STA node information in each CCO communication module.
[0059] For example, after the terminal sends out 336 whitelisted meter addresses, the number of online nodes in CCO1 is 116, the number of online nodes in CCO2 is 114, and the number of online nodes in CCO3 is 116.
[0060] Every 10 seconds, the MCU main control module queries CCO1, CCO2, and CCO3 for online node information and performs deduplication statistics on the online addresses returned by each CCO communication module. When the sum of the total number of online nodes and the total number of offline nodes equals 336, the MCU main control module determines that the current network has entered a stable state and continuously updates the online node list and the offline node list.
[0061] To achieve concurrent meter reading task scheduling, the MCU main control module further establishes a task mapping table: TaskMap={MeterAddr, CCOID, LinkQuality, State}; Where MeterAddr represents the meter address; CCOID represents the corresponding CCO number; LinkQuality represents the link quality; and State represents the node's online status.
[0062] The MCU main control module dynamically schedules meter reading tasks to the target CCO communication module based on LinkQuality priority and online status.
[0063] After the terminal sends the concurrent meter reading command AFN=F1-F1, the MCU main control module assigns the corresponding meter address to the corresponding CCO communication module according to the task mapping table.
[0064] For example, when a meter address corresponds to CCO1, the MCU main control module first replaces the source address A1 in the Q / GDW376.2 protocol message from 785634120000 to the virtual address 100012345678 corresponding to CCO1, and then re-compiles the 10376.2 protocol packet before sending it to CCO1.
[0065] Taking the concurrent meter reading F1-F1 message issued by the concentrator as an example: 682F0043040000000000785634120000588592360100F101000200100068588592360100681104333334335816CB16.
[0066] Among them, 785634120000 is the source address A1, 588592360100 is the destination address A3, F1 represents the concurrent meter reading application function code, and the subsequent data area is the DL / T645-2007 meter reading transparent transmission data.
[0067] When the MCU main control module performs task scheduling, it replaces the source address A1 with the virtual address corresponding to the target CCO and sends it to the corresponding CCO communication module, thereby achieving logical isolation between multiple CCO communication modules.
[0068] After CCO1 completes the meter reading, it uploads the meter reply data to the MCU main control module via the UART interface. The MCU main control module then restores the destination address A3 in the reply message from 100012345678 to 785634120000, and reassembles the packet according to the Q / GDW376.2 protocol format before reporting it to the terminal.
[0069] Taking the electricity meter reply and concurrent meter reading F1-F1 message as an example: 68320083040000000000588592360100785634120000F10100021400685885923601006891083333343333333333A816AF16.
[0070] Among them, 588592360100 is the source address A1 of the reply, 785634120000 is the destination address A3, and the subsequent data area is the meter reading reply data of DL / T645-2007.
[0071] If the MCU main control module detects that the target meter address does not exist in the online whitelist of any CCO communication module, the MCU main control module directly generates an empty data response message and returns it to the terminal to avoid invalid meter reading tasks occupying communication resources.
[0072] In addition, when a CCO communication module fails to return an acknowledgment frame within a preset time, the MCU main control module will mark the corresponding CCO as abnormal and reschedule the corresponding meter reading task to other normal CCO communication modules, thereby ensuring the reliability of system communication.
[0073] In this embodiment, the MCU main control module is built using the GD32F527RST7 chip, which supports 7680KB Flash, 512KB RAM and 4 UART interfaces, and supports hardware watchdog and hard reset functions.
[0074] Each CCO communication module is built using the GQX3211 chip. The GQX3211 chip adopts the Cortex-M3 architecture, supports 1MB SRAM and 1MB Flash, supports MAC layer, network layer and application layer communication protocol processing, and supports HPLC and HRF dual-mode OFDM modulation, Turbo forward error correction and full-duplex communication.
[0075] Each CCO communication module is equipped with an independent AP power amplifier module, which supports a maximum signal amplification factor of 28 times. It is coupled to the A, B and C phases of the power grid through coupling transformers, thereby realizing multi-network concurrent communication in the same transformer area.
[0076] This invention uses a single MCU to centrally control multiple CCO communication modules, constructing multiple logically independent virtual communication networks in the same distribution area. This enables heterogeneous CCO concurrent networking and concurrent meter reading. Compared with traditional single CCO communication systems, it can significantly improve networking efficiency, concurrent meter reading capability, and communication stability under complex interference environments, and meet the high-frequency business needs such as full marketing data, minute-level photovoltaic data, and photovoltaic regulation.
[0077] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A heterogeneous CCO concurrent network meter reading system, characterized in that, Includes a terminal, an MCU main control module, and at least two CCO communication modules; The MCU main control module is connected to the terminal and multiple CCO communication modules respectively, and is used for protocol parsing, task scheduling, address mapping, whitelist management, data aggregation and topology management; The multiple CCO communication modules each construct an independent communication network and establish communication connections with multiple STA nodes through HPLC and HRF dual-mode communication. Each CCO communication module has independent network initialization, dual-mode networking, dual-link routing establishment, and concurrent meter reading capabilities. The MCU main control module is used to map the master node address sent by the terminal to generate multiple virtual master node addresses, and allocate them to the corresponding CCO communication modules respectively, so that multiple CCO communication modules form multiple logically independent virtual communication networks in the same area; Multiple CCO communication modules are physically coupled to phases A, B, and C of the power grid, respectively, and operate in parallel on the same or different bands, forming multiple logically independent communication networks. Their communication capacity satisfies the following Shannon capacity formula: C=∑(i=1→Nmin)Blog2(1+SNRi) Where C represents the communication data capacity, B represents the OFDM subcarrier bandwidth, SNRi represents the signal-to-noise ratio of the i-th subcarrier, and Nmin represents the minimum number of PAs at the transmitter and receiver, satisfying the following: Nmin = min(NTx, NRx) Where NTx represents the number of PAs at the transmitting end and NRx represents the number of PAs at the receiving end; Multiple CCO communication modules communicate concurrently through multiple independent transceiver PAs, thereby enabling concurrent networking of multiple networks and concurrent meter reading.
2. The heterogeneous CCO concurrent network meter reading system according to claim 1, characterized in that, The MCU main control module includes a protocol processing module, a concurrent task scheduling module, an address mapping and whitelist processing module, a data aggregation and filtering module, and a topology management relay aggregation module. The protocol processing module is used to parse, encapsulate, and verify Q / GDW376.2 protocol messages; The concurrent task scheduling module is used to manage the meter reading task queue, synchronously send meter reading tasks to multiple CCO communication modules, and resend or terminate timed-out tasks. The address mapping and whitelist processing module is used to maintain the mapping relationship between the MCU logical address and multiple CCO virtual addresses, and to maintain the online whitelist linked list and offline linked list corresponding to each CCO communication module; The data aggregation and filtering module is used to merge, deduplicatize, and verify the validity of data reported by multiple CCO communication modules. The topology management relay aggregation module is used to integrate the network topology structures corresponding to multiple CCO communication modules and generate a global network topology view.
3. The heterogeneous CCO concurrent network meter reading system according to claim 1, characterized in that, Each CCO communication module adopts a dual-mode OFDM modulation communication method of HPLC and HRF, with the HPLC communication frequency band being 0.7MHz to 12MHz and the HRF communication frequency band being 470MHz to 510MHz; After each STA node is powered on, it simultaneously monitors the HPLC beacon and the HRF beacon, and completes clock synchronization and link establishment based on the dual-channel signal quality. The STA node simultaneously sends association request frames through dual channels and reports its MAC address, dual-mode capability information, HPLC channel quality information, and HRF channel quality information to the CCO communication module in order to establish a dual-path communication route.
4. The heterogeneous CCO concurrent network meter reading system according to claim 1, characterized in that, After receiving the master node address sent by the terminal, the MCU master control module generates multiple virtual master node addresses according to the following mapping method: Y=X+0xX00000000000; where Y represents the mapped virtual master node address, X represents the mapping identifier bit, and the value of X ranges from 1 to 9 and A to F; the MCU master control module sends the generated multiple virtual master node addresses to the corresponding CCO communication modules respectively, so that the multiple CCO communication modules form corresponding independent logical networks.
5. The heterogeneous CCO concurrent network meter reading system according to claim 1, characterized in that, After receiving the meter whitelist file from the terminal, the MCU main control module will simultaneously send all whitelist files to each CCO communication module. Each CCO communication module establishes a communication connection with the corresponding STA node based on its own link quality and network path; The STA node achieves dual-mode synchronization by simultaneously monitoring the HPLC beacon and the HRF beacon, and sends association request frames through dual channels to establish dual-path communication routes.
6. The heterogeneous CCO concurrent network meter reading system according to claim 5, characterized in that, The MCU main control module is also used to execute the meter file synchronization process, which includes obtaining the number of slave nodes, obtaining slave node information, deleting slave nodes, adding slave nodes, and regularly updating the online whitelist. When the number of slave nodes returned by multiple CCO communication modules is inconsistent, the MCU master control module sends a hardware initialization command to each CCO communication module to reacquire the meter file information. When multiple CCO communication modules return the same number of slave nodes, the MCU master control module assembles packets according to the Q / GDW376.2 protocol format and reports them to the terminal.
7. The heterogeneous CCO concurrent network meter reading system according to claim 1, characterized in that, The MCU main control module maintains the online and offline linked lists of nodes, and periodically queries the online and offline STA node information in each CCO communication module; The MCU main control module performs deduplication and statistics on the online STA node addresses reported by multiple CCO communication modules, and determines that the network has entered a stable state when the sum of the total number of online nodes and the total number of offline nodes equals the total number of whitelist nodes. After the network enters a stable state, the MCU main control module continuously updates the online and offline linked list information.
8. The heterogeneous CCO concurrent network meter reading system according to claim 1, characterized in that, After receiving the concurrent meter reading task from the terminal, the MCU main control module performs task scheduling and allocation for the corresponding meter address based on the online whitelist information fed back by multiple CCO communication modules. Before sending the meter reading task to the target CCO communication module, the MCU main control module performs virtual address replacement on the source address field in the Q / GDW376.2 protocol message to generate the target meter reading message corresponding to the CCO communication module; After the target CCO communication module completes the meter reading, it uploads the reply data to the MCU main control module. The MCU main control module then restores the original master node address, reassembles the packet, and reports it to the terminal.
9. The heterogeneous CCO concurrent network meter reading system according to claim 8, characterized in that, When the MCU main control module detects that the target meter address sent by the terminal does not exist in the online whitelist of any CCO communication module, the MCU main control module directly generates an empty data response message and returns it to the terminal in accordance with the Q / GDW376.2 protocol format; the empty data response message is used to indicate that there is no valid communication link for the corresponding target meter address.
10. The heterogeneous CCO concurrent network meter reading system according to claim 1, characterized in that, The MCU main control module is built using the GD32F527RST7 chip, and the multiple CCO communication modules are built using the GQX3211 chip. The MCU main control module is connected to the terminal and multiple CCO communication modules through multiple UART interfaces, wherein UART1 is used to communicate with the terminal, and the other UART interfaces communicate with the corresponding CCO communication modules respectively. Each CCO communication module supports HPLC and HRF dual-mode communication, OFDM modulation, Turbo forward error correction and full-duplex communication, and has independent MAC layer, network layer and application layer communication capabilities. Multiple CCO communication modules form multiple virtual communication networks within the same distribution area through heterogeneous concurrent communication, thereby improving the network formation success rate, shortening the network formation time, and increasing the concurrent meter reading rate.