A communication system and method for low-voltage power line high-speed carrier to Bluetooth
By introducing the Bluetooth dual-mode module into the low-voltage power line high-speed carrier communication system, combined with the HPLC communication module, the problem of lack of communication interfaces and difficulty in clustering in on-site operation and maintenance and smart station areas has been solved, and convenient operation, maintenance and monitoring have been achieved, improving Improve system interoperability and maintainability.
Patent Information
- Application Number
- CN202010092224.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-02-14
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2040-02-14
AI Technical Summary
The existing low-voltage power line high-speed carrier communication system has problems in on-site operation and maintenance and smart station areas, such as poor interoperability, inconsistent tools, lack of circuit breaker communication interfaces, complex and error-prone RS485 communication, and difficulty in clustering small wireless communications.
Design a low-voltage power line high-speed carrier-to-Bluetooth communication system. Through the combination of Bluetooth dual-mode meter module, Bluetooth dual-mode II collector and Bluetooth slave module, combined with the HPLC communication module, the organic combination of HPLC and Bluetooth communication is realized. Using Bluetooth The communication module performs friendly access and monitoring, and realizes clustering and physical topological relationship analysis within the station area.
It enables on-site operation and maintenance personnel to use mobile phones or PADs for convenient installation and debugging, effectively monitors and early warns household meter power consumption, and realizes clustering of meter boxes in the station area, improving the interoperability and maintainability of the communication network.
Smart Images

Figure CN111193530B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power transmission communication, and in particular to a low-voltage power line high-speed carrier to Bluetooth communication system and method. Background Art
[0002] At present, low-voltage power line high-speed carrier communication (High Power Line Carrier), referred to as HPLC, is a stable and reliable communication method with fast communication rate and secure data transmission, which can use power lines for data transmission. It adopts OFDM modulation method, and the communication frequency range is 0.7M-12M, which effectively avoids the low-frequency noise of power lines and has good anti-interference and strong robustness. In addition, the communication method of power lines does not require rewiring, and data transmission can be completed using existing power lines. With the continuous development of low-voltage power line high-speed carrier communication technology, in order to more conveniently and quickly complete the data interaction between power lines and other network communication equipment, it is necessary for the power line network and other network equipment to be more friendly to access.
[0003] At present, due to the interoperability of HPLC communication manufacturers, the current operation site is a mixture of various solutions, the on-site operation and maintenance debugging tools are inconsistent, and the interface is not unified and unfriendly, which brings great inconvenience to the on-site operation and maintenance personnel; on the other hand, with the development of new smart substations, the demand for ubiquitous Internet of Things and edge computing is becoming more and more urgent. The existing circuit breakers in traditional substations do not have communication interfaces and cannot effectively monitor household meters; although the later developed circuit breakers are equipped with RS485 communication interfaces or small wireless communication interfaces, the RS485 bus communication method has complex on-site construction and is prone to errors, and the small wireless communication method has the problem that adjacent meter boxes are not easy to cluster, which brings certain difficulties to the analysis of on-site physical topology.
[0004] Therefore, in view of the above-mentioned inconveniences and defects existing in the current application of the prior art, it is necessary to conduct further research to provide a more advanced technical solution to solve the problems existing in the current prior art. Summary of the invention
[0005] In order to adapt to the actual needs of the power transmission and communication field, the present invention overcomes the shortcomings of the prior art and solves the following technical problems: providing a low-voltage power line high-speed carrier to Bluetooth communication system and method, which can realize the organic combination of HPLC carrier communication module and Bluetooth communication module, and utilize the popularity and friendly access of Bluetooth communication to well meet the needs of on-site operation and maintenance personnel to complete installation and debugging work using easy-to-use tools such as mobile phones or PADs; on the other hand, in conjunction with the application of intelligent Bluetooth communication circuit breakers in intelligent substations, it can effectively monitor and warn the electricity consumption of household meters, and can realize the clustering of meter boxes in the substation, that is, the physical topological relationship.
[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is: a low-voltage power line high-speed carrier to Bluetooth communication system, including a Bluetooth dual-mode meter module, a Bluetooth dual-mode II collector and a Bluetooth slave module; the Bluetooth dual-mode meter module is arranged on an intelligent carrier meter, including an HPLC communication meter module and a first Bluetooth main module, the Bluetooth dual-mode II collector is arranged on an RS485 meter, including an HPLC communication II collector and a second Bluetooth main module; the Bluetooth slave module is arranged on an intelligent circuit breaker, and Bluetooth networking and Bluetooth communication with the meter are performed through the first Bluetooth main module or the second Bluetooth main module, and the intelligent carrier meter and the RS485 meter communicate with the master station through the HPLC communication network.
[0007] The HPLC communication table module includes: a first HPLC communication chip SSC1667, a single-phase signal transmission amplification circuit, a single-phase signal reception filtering circuit, a single-phase low-voltage coupling circuit and a single-phase power supply module, wherein the single-phase power supply module is used for power supply, the input end of the first HPLC communication chip SSC1667 is connected to the single-phase power line through the single-phase reception filtering circuit and the single-phase low-voltage coupling circuit, and the output end is connected to the single-phase power line through the single-phase signal transmission amplification circuit and the single-phase low-voltage coupling circuit; the first Bluetooth main module is a Bluetooth transceiver circuit, which is connected to the input and output ends of the HPLC communication chip SSC1667;
[0008] The HPLC communication type II collector includes: a second HPLC communication chip SSC1667, a signal sending amplification circuit, a signal receiving filtering circuit, a low-voltage coupling circuit and a power module, wherein the power module is used for power supply, the input end of the second HPLC communication chip SSC1667 is connected to the power line through the signal receiving filtering circuit and the low-voltage coupling circuit, and the output end is connected to the power line through the signal sending amplification circuit and the low-voltage coupling circuit; the second Bluetooth main module is a Bluetooth transceiver circuit, which is connected to the input and output ends of the HPLC communication chip SSC1667.
[0009] The low-voltage power line high-speed carrier to Bluetooth communication system also includes a dual-mode routing module, which is arranged on the concentrator, and includes an HPLC routing communication module and a Bluetooth communication module. The HPLC routing communication module is connected to the Bluetooth dual-mode table module and the Bluetooth dual-mode II type collector through the HPLC communication network; and the HPLC routing communication module is the master node in the HPLC communication network, the HPLC communication table module and the HPLC communication II type collector are slave nodes in the HPLC communication network, and the HPLC routing communication module is connected to the mobile terminal through the Bluetooth communication module.
[0010] The HPLC routing communication module includes an HPLC communication chip SSC1668, a three-phase power supply module, a three-phase signal sending amplifying circuit, a three-phase signal receiving filtering circuit, a three-phase low-voltage coupling circuit and a FLASH module. The three-phase power supply module is used for power supply. The input end of the HPLC communication chip SSC1668 is connected to the three-phase power line through the three-phase signal receiving filtering circuit and the three-phase low-voltage coupling circuit, and the output end is connected to the three-phase power line through the three-phase signal sending amplifying circuit and the three-phase low-voltage coupling circuit; the input and output ends of the HPLC communication chip SSC1668 are connected to the Bluetooth communication module.
[0011] The present invention also provides a communication method of the above-mentioned low-voltage power line high-speed carrier to Bluetooth communication system, comprising the following steps:
[0012] S1, the Bluetooth main module acts as a cluster head, automatically scans the surrounding Bluetooth devices, and collects the absolute value of RSSI of each surrounding Bluetooth device in turn within the T time period, and takes the average value, and then determines whether each surrounding Bluetooth device is a valid device based on the average value of the absolute value of RSSI and the number of times the cluster head scans;
[0013] S2. Select the Bluetooth slave device with the smallest absolute RSSI value among all valid devices as the cluster head and add it to the cluster, and define the Bluetooth slave device with the largest absolute RSSI value among all cluster members that have joined the network as the cluster tail;
[0014] S3, Bluetooth devices whose RSSI average value is less than the cluster radius R are added to the cluster as Bluetooth slave nodes in turn to establish a connection;
[0015] S4. During the communication process, the cluster head re-detects the RSSI value of the cluster members each time the communication is performed. When the RSSI value exceeds the cluster radius, the Bluetooth slave device is automatically kicked out of the cluster, and the device re-executes the cluster entry strategy.
[0016] The communication method of the low-voltage power line high-speed carrier to Bluetooth communication system includes the steps of probing communication, and the specific method is as follows:
[0017] After the Bluetooth master module is powered on and obtains the MAC address, the timing is 15s for the trial communication stage. In this stage, the Bluetooth master module establishes a connection with all legal Bluetooth slave modules in the environment and sends a trial frame. After the trial frame is sent, it actively disconnects from the Bluetooth slave module. For the Bluetooth slave module that has been tried, it will be added to the blacklist and no secondary trial will be performed in this trial communication stage. And so on, to ensure that in this trial stage, the host establishes a connection with all slaves in the environment and sends a trial frame;
[0018] After the Bluetooth slave module is powered on and obtains the router address, it starts the trial communication phase for 15 seconds. During this period, a Bluetooth master module establishes a connection with it. After obtaining the RSSI absolute value and MAC address of the Bluetooth master module and storing them, it actively disconnects from the Bluetooth master module. Then, the Bluetooth slave module obtains the optimal RSSI absolute value RSSI_min and the corresponding MAC address of the Bluetooth master module.
[0019] The communication method of the low-voltage power line high-speed carrier to Bluetooth communication system, in the formal networking stage, after the Bluetooth slave module is successfully connected to the Bluetooth master module, the RSSI absolute value RSSI_cur of the Bluetooth master module in the current stage is obtained again. If RSSI_cur≤RSSI_min, it is considered that the current connection is valid; otherwise, if RSSI_cur>RSSI_min, it is determined whether the MAC address of the Bluetooth master module of the current connection is the same as the MAC address corresponding to the optimal RSSI stored in the trial stage. If they are the same, the connection is also considered valid. Otherwise, the current connection is disconnected until a connection is established with a valid device.
[0020] Before the Bluetooth slave device enters the cluster and establishes a connection, it periodically sends a broadcast to the surrounding Bluetooth master modules. After the manufacturer information carried in the broadcast frame is scanned and identified by the Bluetooth master module, it participates in the subsequent clustering strategy.
[0021] The cluster radius R is defined as: R = RSSI 簇尾 +grad, where grad represents the step value, and the value range of grad is: grad=[0,grad_max]; RSSI 簇尾 It represents the RSSI value of the cluster tail. Each time the RSSI value of the cluster tail changes, the step value grad will be traversed in sequence with a step of 1dbm until a new cluster tail appears or the step maximum value grad_max is reached. The step maximum value grad_max is an empirical value. The test method is: measure the minimum RSSI absolute value when the master Bluetooth device and the slave Bluetooth device are located in different meter boxes, and the maximum RSSI absolute value when they are located in the same meter box, and take their difference as the value of the step maximum value grad_max.
[0022] The maximum step value grad_max is 12dB.
[0023] Compared with the prior art, the present invention has the following beneficial effects: the present invention provides a low-voltage power line high-speed carrier to Bluetooth communication system and method, which can realize the organic combination of HPLC carrier communication module and Bluetooth communication module, and utilize the popularity and friendly access of Bluetooth communication to well meet the needs of on-site operation and maintenance personnel to complete installation and debugging work using easy-to-use tools such as mobile phones or PADs; on the other hand, in conjunction with the application of intelligent Bluetooth communication circuit breakers in intelligent substations, it can effectively monitor and warn the electricity consumption of household meters, and can realize the clustering of meter boxes in the substation, that is, the physical topological relationship.
[0024] The present invention innovatively combines an HPLC routing communication module, an HPLC communication table module, an HPLC communication type II collector, and a Bluetooth communication module to obtain a low-voltage power line high-speed carrier-to-Bluetooth communication system including a Bluetooth dual-mode routing module, a Bluetooth dual-mode table module, and a Bluetooth dual-mode II collector. The system utilizes the powerful processing capability of the HPLC carrier module and combines it with the Bluetooth communication module to organically combine the HPLC communication network and the Bluetooth communication network without adding additional equipment, thereby realizing mutual transmission of data on a power line channel and a Bluetooth channel. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 A structural block diagram of a low-voltage power line high-speed carrier to Bluetooth communication system provided by an embodiment of the present invention;
[0026] Figure 2 A system structure block diagram of the construction of an HPLC communication network and a Bluetooth communication network in an embodiment of the present invention;
[0027] Figure 3 4 is a hardware structure block diagram of the dual-mode routing module in an embodiment of the present invention.
[0028] Figure 4 The hardware structure block diagram of the Bluetooth dual-mode meter module in the embodiment of the present invention.
[0029] Figure 5 The hardware structure block diagram of the Bluetooth dual-mode II collector in the embodiment of the present invention.
[0030] Figure 6 This is a flowchart of Bluetooth master-slave module networking in Embodiment 2 of the present invention.
[0031] Figure 7 This is a diagram of the Bluetooth master-slave module networking clustering model in an embodiment of the present invention. DETAILED DESCRIPTION
[0032] In order to make the technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in combination with specific embodiments and drawings. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0033] like Figure 1 As shown, an embodiment of the present invention provides a low-voltage power line high-speed carrier to Bluetooth communication system, including a dual-mode routing module, a Bluetooth dual-mode meter module, a Bluetooth dual-mode II collector and a Bluetooth slave module.
[0034] Wherein, the dual-mode routing module is arranged on the concentrator, and includes an HPLC routing communication module and a Bluetooth communication module. The HPLC routing communication module is connected to the Bluetooth dual-mode table module and the Bluetooth dual-mode II collector through the HPLC communication network; and the HPLC routing communication module is the master node in the HPLC communication network, the HPLC communication table module and the HPLC communication II collector are the slave nodes in the HPLC communication network, and the HPLC routing communication module is connected to the mobile terminal through the Bluetooth communication module. The HPLC routing communication module is a local communication unit installed on the concentrator, and as the master node role in the HPLC communication network, it is responsible for completing functions such as networking control and network maintenance management; the Bluetooth dual-mode routing module has all the functions of the HPLC routing communication module and the Bluetooth communication function. On-site operation and maintenance personnel can use handheld units with Bluetooth communication functions such as PAD or mobile phones to access the Bluetooth dual-mode routing module, manage the routing to perform corresponding copying tasks, read the relevant parameters of the routing, and obtain the topological information of the entire routing network and the relevant parameters of the carrier communication to achieve the purpose of operation and maintenance.
[0035] The Bluetooth dual-mode meter module is arranged on the intelligent carrier meter, and includes an HPLC communication meter module and a first Bluetooth main module. The HPLC communication meter module is a communication unit installed on the intelligent carrier meter. As a slave node in the HPLC communication network, it is an information transmission transfer station between the master station and the carrier meter, and plays a very important role in the automatic meter reading system. The signal sent by the master station is received and demodulated by the module via the power line, and then sent to the carrier meter for processing. Then the data responded by the carrier meter is modulated and sent back to the master station via the power line to complete the interaction between the master station and the carrier meter; the Bluetooth dual-mode meter module has all the functions of the HPLC communication meter module and the Bluetooth communication function. The first Bluetooth main module on it plays the role of the master node in the Bluetooth communication network. As the downlink communication channel of the Bluetooth dual-mode meter module, it can realize the data interaction between the master station and the Bluetooth intelligent circuit breaker.
[0036] The Bluetooth dual-mode II collector is arranged on the RS485 meter, and includes an HPLC communication II collector and a second Bluetooth master module. The HPLC communication II collector is an independent device, and as a slave node in the HPLC communication network, it is an information transmission transfer station between the master station and the RS485 meter, and realizes the data interaction between the master station and the RS85 meter; the second Bluetooth master module on the Bluetooth dual-mode II collector plays the role of a master node in the Bluetooth communication network, and as a downlink communication channel of the Bluetooth dual-mode II collector, it can realize the data interaction between the master station and the Bluetooth smart circuit breaker.
[0037] The Bluetooth slave module is arranged on the intelligent circuit breaker, and the Bluetooth network and the electric meter are communicated with by Bluetooth through the first Bluetooth master module or the second Bluetooth master module, and the intelligent carrier meter and the RS485 electric meter communicate with the master station through the HPLC communication network. The Bluetooth slave module is an independent module, which can be built into other devices, and as a slave node in the Bluetooth communication network, it is now applied to the Bluetooth intelligent circuit breaker to play the uplink communication function, and can realize data interaction with the master station through Bluetooth networking and communication with the Bluetooth dual-mode meter module or the Bluetooth master module in the Bluetooth dual-mode II collector, with the help of the HPLC communication network.
[0038] like Figure 3 As shown, it is a structural block diagram of the dual-mode routing module in this embodiment, wherein the HPLC routing communication module includes an HPLC communication chip SSC1668, a three-phase power supply module, a three-phase signal transmission amplification circuit, a three-phase signal receiving filter circuit, a three-phase low-voltage coupling circuit and a FLASH module, the three-phase power supply module is used for power supply, the input end of the HPLC communication chip SSC1668 is connected to the three-phase power line through the three-phase signal receiving filter circuit and the three-phase low-voltage coupling circuit, and the output end is connected to the three-phase power line through the three-phase signal transmission amplification circuit and the three-phase low-voltage coupling circuit; the input and output ends of the HPLC communication chip SSC1668 are connected to the Bluetooth communication module. In addition, the dual-mode routing module also includes peripheral circuits such as FLASH circuit, reset circuit, clock circuit, indicator light circuit, etc.
[0039] In this embodiment, the appearance structure and size of the dual-mode routing module and the definition of the weak current interface meet the State Grid Corporation of China Q / GDW 1375.2-2013 "Electric Power User Electricity Consumption Information Collection System Type Specification: Concentrator Type Specification". The hardware has a three-phase carrier transceiver circuit, supports A, B, C three-phase carrier communication, and the carrier frequency band is 0.7-12MHZ; it has a clock circuit to meet the clock accuracy requirements; the power light and the three-phase carrier transceiver light indicate the current state of the carrier; it has a hardware reset circuit and a low-level reset module; the flash can store necessary information; the Bluetooth transceiver circuit includes a Bluetooth chip, the module has a built-in Bluetooth onboard antenna, and an RC matching circuit; the broadband power line carrier communication chip SSC1668, which integrates analog front-end, baseband modulation and demodulation, digital signal processing, CPU core and rich functional peripherals, and provides a complete power line communication solution such as physical layer (PHY), media access control layer (MAC), adaptation layer (ADP), network layer (NET), and application layer (APP). The SSC1668 chip has a wide signal bandwidth and a high transmission rate, which can better meet the needs of power grid meter reading applications and various applications of smart grids.
[0040] like Figure 4 As shown in the figure, it is a hardware structure block diagram of the Bluetooth dual-mode meter module in this embodiment. It can be seen from the figure that the HPLC communication meter module includes: a first HPLC communication chip SSC1667, a single-phase signal transmission amplifier circuit, a single-phase signal receiving filter circuit, a single-phase low-voltage coupling circuit and a single-phase power supply module, the single-phase power supply module is used for power supply, the input end of the first HPLC communication chip SSC1667 is connected to the single-phase power line through a single-phase receiving filter circuit and a single-phase low-voltage coupling circuit, and the output end is connected to the single-phase power line through a single-phase signal transmission amplifier circuit and a single-phase low-voltage coupling circuit; the first Bluetooth main module is a Bluetooth transceiver circuit, which is connected to the input and output ends of the HPLC communication chip SSC1667. In addition, the Bluetooth dual-mode meter module also includes peripheral circuits such as a reset circuit, a clock circuit, and an indicator light circuit.
[0041] In this embodiment, the appearance structure and size of the Bluetooth dual-mode meter module and the weak current interface definition meet the requirements of the State Grid Corporation Q / GDW 1355-2013 "Single-phase Smart Electric Energy Meter Type Specification", the hardware has a single-phase carrier transceiver circuit, supports single-phase carrier communication, and the carrier frequency band is 0.7-12MHZ; it has a clock circuit to meet the clock accuracy requirements; it has a power light, a single-phase carrier transceiver light and other rich status indicator lights; it has a hardware reset circuit and a low-level reset module; a power failure and restoration identification circuit, the module can obtain the power failure and restoration status; the Bluetooth transceiver circuit includes a Bluetooth chip, the module has a built-in Bluetooth onboard antenna, and an RC matching circuit; the UART serial port circuit can adapt to 1200, 2400, 4800, 9600 and other baud rates to communicate with the smart meter; the event reporting STA identification circuit realizes the notification when the meter actively reports; the broadband power line carrier communication chip SSC1667 carrier chip, which integrates analog front-end, baseband modulation and demodulation, digital signal processing, CPU core and rich functional peripherals, and provides a complete power line communication solution such as physical layer (PHY), media access control layer (MAC), adaptation layer (ADP), network layer (NET), and application layer (APP).
[0042] like Figure 5 As shown in the figure, it is a hardware structure block diagram of the Bluetooth dual-mode II collector in this embodiment. Figure 5 It can be seen that the HPLC communication type II collector includes: a second HPLC communication chip SSC1667, a signal transmission amplification circuit, a signal reception filter circuit, a low-voltage coupling circuit and a power module, the power module is used for power supply, the input end of the second HPLC communication chip SSC1667 is connected to the power line through the signal reception filter circuit and the low-voltage coupling circuit, and the output end is connected to the power line through the signal transmission amplification circuit and the low-voltage coupling circuit; the second Bluetooth main module is a Bluetooth transceiver circuit, which is connected to the input and output ends of the HPLC communication chip SSC1667. In addition, the Bluetooth dual-mode type II collector also includes peripheral circuits such as a reset circuit, a clock circuit, and an indicator light circuit.
[0043] In this embodiment, the appearance structure, size and weak current interface definition of the Bluetooth dual-mode II collector meet the requirements of the State Grid Corporation of China's "Electric Power User Electricity Consumption Information Collection System". The hardware has a single-phase carrier transceiver circuit, supports single-phase carrier communication, and has a carrier frequency band of 0.7-12MHZ. It has a clock circuit; it meets the clock accuracy requirements, and has a variety of status indicator lights such as a power light and a single-phase carrier transceiver light; it has a hardware reset circuit and a low-level reset module; a power failure and recovery identification circuit, and the collector can obtain the power failure and recovery status; the Bluetooth transceiver circuit includes a Bluetooth chip, the module has a built-in Bluetooth onboard antenna, and an RC matching circuit. 1 channel; infrared transceiver circuit, which can communicate via infrared; 1 channel RS485 can adapt to 1200, 2400, 4800, 9600 and other baud rates to achieve communication with RS485 meters; broadband power line carrier communication chip SSC1667 carrier chip, which integrates analog front end, baseband modulation and demodulation, digital signal processing, CPU core and rich functional peripherals, provides complete power line communication solutions such as physical layer (PHY), media access control layer (MAC), adaptation layer (ADP), network layer (NET), application layer (APP), etc.
[0044] In this embodiment, the Bluetooth dual-mode routing module is installed on the concentrator. Through the Bluetooth communication module in the Bluetooth dual-mode routing module, on-site operation and maintenance personnel can use a handheld unit with Bluetooth communication function such as a PAD or a mobile phone to access the Bluetooth dual-mode routing module, thereby realizing the management and maintenance of the network.
[0045] In this embodiment, the Bluetooth dual-mode meter module is installed on the smart carrier meter and can be used in the entire carrier area. In each meter box, one Bluetooth dual-mode module is used to replace one ordinary HPLC communication meter module, so that the HPLC communication network and the Bluetooth communication network can be effectively integrated. The Bluetooth main module of the Bluetooth dual-mode module forms a Bluetooth network with the Bluetooth slave module in the smart circuit breaker through a clustering algorithm, so as to realize the management and maintenance of the smart Bluetooth circuit breaker.
[0046] In this embodiment, the Bluetooth dual-mode II collector can be used for the R485 electric meter. In each meter box, the Bluetooth dual-mode II collector can be used to replace the ordinary HPLC communication II collector, so that the HPLC communication network and the Bluetooth communication network can be effectively integrated. The Bluetooth main module of the Bluetooth dual-mode II collector forms a Bluetooth network with the Bluetooth slave module in the intelligent circuit breaker through a clustering algorithm, so as to realize the management and maintenance of the intelligent Bluetooth circuit breaker.
[0047] Furthermore, if Figure 6 As shown, another embodiment of the present invention provides a communication method of the above-mentioned low-voltage power line high-speed carrier to Bluetooth communication system, comprising the following steps:
[0048] S1, the Bluetooth main module acts as a cluster head, automatically scans the surrounding Bluetooth devices, and collects the absolute value of RSSI of each surrounding Bluetooth device in turn within the T time period, and takes the average value, and then determines whether each surrounding Bluetooth device is a valid device based on the average value of the absolute value of RSSI and the number of times the cluster head scans;
[0049] S2. Select the Bluetooth slave device with the smallest absolute RSSI value among all valid devices as the cluster head and add it to the cluster, and define the Bluetooth slave device with the largest absolute RSSI value among all cluster members that have joined the network as the cluster tail;
[0050] S3, Bluetooth devices whose RSSI average value is less than the cluster radius R are added to the cluster as Bluetooth slave nodes in turn to establish a connection;
[0051] S4. During the communication process, the cluster head re-detects the RSSI value of the cluster members each time the communication is performed. When the RSSI value exceeds the cluster radius, the Bluetooth slave device is automatically kicked out of the cluster, and the device re-executes the cluster entry strategy.
[0052] Combine the following Figure 7 The strategy and optimized algorithm of Bluetooth networking clustering in this embodiment are specifically introduced.
[0053] 1. Clustering Strategy
[0054] Before a BLE slave device (i.e., a Bluetooth slave module) enters a cluster and establishes a connection, it will periodically broadcast to the surrounding BLE master devices (i.e., Bluetooth master modules). The broadcast frame carries manufacturer information that can be scanned and identified by the BLE master device. Only devices that can be identified by the BLE master device with valid manufacturer information and can successfully obtain RSSI values are valid devices and participate in the subsequent clustering strategy.
[0055] The definition of cluster members is as follows:
[0056] Cluster head: BLE main module (collector end), there is only one cluster head in each meter box. The cluster head node is a fixed node and its role will not change. Cluster head: The BLE node closest to the cluster head, that is, the circuit breaker device with the strongest RSSI signal among the neighboring nodes that the cluster head can detect. Cluster tail: Corresponding to the cluster head, the BLE node farthest from the cluster head, that is, the circuit breaker device with the weakest RSSI value among the current cluster members. This node may change at any time as nodes are added. Cluster members: All BLE slave devices that have joined the cluster network and whose RSSI values are between the cluster head and the cluster tail.
[0057] Cluster head determination method
[0058] After the cluster head device is powered on and starts up, it automatically scans the surrounding devices. At the same time, the surrounding BLE slave devices will also actively send broadcasts. The cluster head collects the absolute values of the RSSI of each slave device in turn within the T time period and takes the average value. After the T time period, valid devices are screened out from all the RSSI collection lists of the slave devices: within the T period, if the number of times scanned by the cluster head is greater than Scan_num times and the average value of the absolute value of the RSSI < RSSI_MAX, it is a valid device. Among all the valid devices, the one with the smallest RSSI (absolute value) is selected as the cluster head. Note: Among them, T, Scan_num, and RSSI_MAX are all empirical values, obtained through actual environment testing. The current values are: T = 5000ms, Scan_num = 10 times, RSSI_MAX = 80dB.
[0059] Determination method of cluster tail
[0060] The device with the largest RSSI value (absolute value) among all cluster members that have joined the network. When there is only one member in the cluster (except the cluster head), the cluster head and the cluster tail are the same device.
[0061] Determination method of cluster radius:
[0062] Since the placement positions of the devices in the meter box are less regular and the universality of using a fixed cluster radius is poor, a dynamic radius method is adopted in this strategy. The final cluster radius detection method is as follows:
[0063] Cluster radius (R) = RSSI 簇尾 + grad.
[0064] Among them, grad represents the step value, and the value range of grad is: grad = [0, grad_max];
[0065] Each time the RSSI value of the cluster tail changes, grad will increase and traverse in steps of 1dbm in turn until a new cluster tail appears or grad_max is reached. The advantage of this method is that when the BLE self-organizing network is formed, it can ensure that the nodes close to the cluster head, that is, the nodes with strong RSSI, will join the cluster and establish connections first.
[0066] Note: grad_max is an empirical value obtained through testing. The value-taking method is the difference between the minimum value of the RSSI (absolute value) measured when the master and slave devices are in different meter boxes and the maximum value of the RSSI (absolute value) measured when the master and slave devices are in the same meter box during the actual testing process. In this strategy, the value of grad_max is 12dB.
[0067] Device clustering strategy
[0068] First, add the cluster head to the cluster. At this time, the cluster head and the cluster tail are the same device. After the cluster tail RSSI is determined, other slave devices are allowed to formally join the cluster. Only when the RSSI average value of the slave device (values taken at least Scan_num times are valid) is less than the cluster radius R, can it be allowed to join the cluster and establish a connection.
[0069] Device cluster exit strategy
[0070] During the communication process, the cluster head will re-detect the RSSI value of the cluster members each time. When the RSSI value exceeds the cluster radius, the device will be automatically kicked out of the cluster. The device will re-execute the cluster entry strategy.
[0071] 2. Optimization algorithm for BLE cluster networking
[0072] According to feedback from the on-site test environment, the circuit breaker meter box environments and styles are diverse, and the host-led clustering strategy cannot effectively ensure the accuracy of BLE slave clustering. There are phenomena such as wrong connection and missed connection between BLE master and slave devices.
[0073] Based on the above phenomenon, the BLE clustering strategy is optimized. The basic idea is to conduct a tentative connection communication with all the master devices in the environment before the slave device establishes a connection with the master device, ensuring that the slave device can establish a connection with all the master devices once and obtain their RSSI values in the tentative stage, and select the one with the best signal. When the master and slave devices are connected in the formal connection stage, the slave device determines whether the master device is the one with the best signal in the tentative stage, otherwise it disconnects until the one with the best signal establishes a connection with the slave device.
[0074] 1. Trial communication stage
[0075] Since the slave device cannot obtain the host RSSI before establishing a connection with the host device, a connection must be established between the master and slave devices before the slave device can obtain the RSSI of the host.
[0076] After the Bluetooth master module is powered on and obtains the MAC address, the timing is 15s for the trial communication stage. In this stage, the Bluetooth master module establishes a connection with all legal Bluetooth slave modules in the environment and sends a trial frame. After the trial frame is sent, it actively disconnects from the Bluetooth slave module. For the Bluetooth slave modules that have been probed, they are added to the blacklist and no secondary probe is performed in this trial communication stage. And so on, ensuring that in this trial stage, the host establishes a connection with all slaves in the environment and sends a trial frame. According to preliminary tests, a host can complete a trial connection with more than 10 slaves within 3 seconds, so it can complete the trial with at least 50 slaves within 15 seconds.
[0077] After the Bluetooth slave module is powered on and obtains the router address, it will be timed for 15 seconds as the trial communication phase. During this period, a Bluetooth master module will establish a connection with it. After obtaining the RSSI absolute value and MAC address of the Bluetooth master module and storing them, it will actively disconnect from the Bluetooth master module. Then the Bluetooth slave module will obtain the optimal RSSI absolute value RSSI_min and the corresponding MAC address of the Bluetooth master module. Within 15 seconds, it can ensure that the slave device establishes a connection with all master devices in the environment. And obtain the optimal RSSI_min and the corresponding MAC of the master device.
[0078] After the detection phase, the formal networking phase begins.
[0079] BLE host operation: In the formal networking stage, the host continues the previously established cluster networking strategy, but can relax the cluster radius and increase the threshold.
[0080] BLE slave operation: In the formal networking stage, after the slave successfully connects to the host, it will obtain the RSSI_cur (RSSI absolute value of the current stage) of the host again. If RSSI_cur <= RSSI_min (optimal RSSI absolute value in the trial stage), the current connection is considered valid. Otherwise, if RSSI_cur> RSSI_min, it is determined whether the MAC of the master device connected this time is the same as the MAC corresponding to the optimal RSSI stored in the trial stage. If they are the same, the connection is also considered valid; this is done to prevent RSSI jumps from causing a connection failure. Otherwise, disconnect the current connection. Until a connection is established with a valid device.
[0081] The present invention provides a low-voltage power line high-speed carrier to Bluetooth communication system and method, which can realize the organic combination of HPLC carrier communication module and Bluetooth communication module, and utilize the popularity and friendly access of Bluetooth communication to well meet the needs of on-site operation and maintenance personnel to complete installation and debugging work using easy-to-use tools such as mobile phones or PADs; on the other hand, in conjunction with the application of intelligent Bluetooth communication circuit breakers in intelligent substations, it can effectively monitor and warn the electricity consumption of household meters, and can realize the clustering of meter boxes in the substation, that is, the physical topological relationship.
[0082] The present invention innovatively combines the HPLC routing communication module, the HPLC communication table module, the HPLC communication type II collector, and the Bluetooth communication module, and derives three products according to different application scenarios, including a Bluetooth dual-mode routing module, a Bluetooth dual-mode table module, and a Bluetooth dual-mode type II collector. By utilizing the powerful processing power of the HPLC carrier module and combining it with the Bluetooth communication module, the HPLC communication network and the Bluetooth communication network can be organically combined without adding additional equipment, and data can be transmitted to each other on the power line channel and the Bluetooth channel. The HPLC carrier communication follows the State Grid's mature standard "Technical Specifications for Interoperability of Low-Voltage Power Line High-Speed Carrier Communication".
[0083] The Bluetooth communication module in the Bluetooth dual-mode meter module and the Bluetooth dual-mode II collector serves as the Bluetooth master module, and the Bluetooth module in the Bluetooth smart circuit breaker serves as the Bluetooth slave module. The Bluetooth master-slave modules can form their own network, and can realize automatic clustering for the coexistence of multiple masters and multiple slaves in the field environment; the Bluetooth module has two-way identity authentication and identification functions, and only authenticated devices are allowed to access the Bluetooth communication network; it supports AES128 hardware encryption and dynamic keys to ensure the security of data transmission; it has good Bluetooth protocol compatibility and can adaptively be compatible with BLE4.0, BLE4.2, and BLE5.0; it has a high transmission rate and supports 1M / 2M air rate; GPIO supports free mapping; it has two communication interfaces, 1 SPI and 1 UART, and the pins can be freely mapped, which can be flexibly and freely selected according to different application manufacturers; it supports OTA upgrades, which can be upgraded through the Bluetooth channel or through the carrier channel to transmit the upgrade package for upgrade, which is easy for iteration and update of product functions.
[0084] The embodiments of the present invention are described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in this field without departing from the purpose of the present invention.
Claims
1. A low-voltage power line high-speed carrier to Bluetooth communication system, It is characterized in that It includes a Bluetooth dual-mode meter module, a Bluetooth dual-mode II collector and a Bluetooth slave module; the Bluetooth dual-mode meter module is arranged on the intelligent carrier meter, including an HPLC communication meter module and a first Bluetooth master module, the Bluetooth dual-mode II collector is arranged on the RS485 electric meter, including an HPLC communication II collector and a second Bluetooth master module; the Bluetooth slave module is arranged on the intelligent circuit breaker, and Bluetooth networking and Bluetooth communication with the electric meter are performed through the first Bluetooth master module or the second Bluetooth master module, and the intelligent carrier meter and the RS485 electric meter communicate with the master station through the HPLC communication network; It also includes a dual-mode routing module, which is arranged on the concentrator, and includes an HPLC routing communication module and a Bluetooth communication module. The HPLC routing communication module is connected to the Bluetooth dual-mode table module and the Bluetooth dual-mode II type collector through the HPLC communication network; and the HPLC routing communication module is the master node in the HPLC communication network, the HPLC communication table module and the HPLC communication II type collector are slave nodes in the HPLC communication network, and the HPLC routing communication module is connected to the mobile terminal through the Bluetooth communication module.
2. According to claim 1, a low-voltage power line high-speed carrier to Bluetooth communication system, It is characterized in that The HPLC communication table module includes: a first HPLC communication chip SSC1667, a single-phase signal transmission amplification circuit, a single-phase signal reception filtering circuit, a single-phase low-voltage coupling circuit and a single-phase power supply module, wherein the single-phase power supply module is used for power supply, the input end of the first HPLC communication chip SSC1667 is connected to the single-phase power line through the single-phase reception filtering circuit and the single-phase low-voltage coupling circuit, and the output end is connected to the single-phase power line through the single-phase signal transmission amplification circuit and the single-phase low-voltage coupling circuit; the first Bluetooth main module is a Bluetooth transceiver circuit, which is connected to the input and output ends of the first HPLC communication chip SSC1667; The HPLC communication type II collector includes: a second HPLC communication chip SSC1667, a signal sending amplification circuit, a signal receiving filtering circuit, a low-voltage coupling circuit and a power module, wherein the power module is used for power supply, the input end of the second HPLC communication chip SSC1667 is connected to the power line through the signal receiving filtering circuit and the low-voltage coupling circuit, and the output end is connected to the power line through the signal sending amplification circuit and the low-voltage coupling circuit; the second Bluetooth main module is a Bluetooth transceiver circuit, which is connected to the input and output ends of the second HPLC communication chip SSC1667.
3. According to claim 1, a low-voltage power line high-speed carrier to Bluetooth communication system, It is characterized in that The HPLC routing communication module includes an HPLC communication chip SSC1668, a three-phase power supply module, a three-phase signal sending amplifying circuit, a three-phase signal receiving filtering circuit, a three-phase low-voltage coupling circuit and a FLASH module. The three-phase power supply module is used for power supply. The input end of the HPLC communication chip SSC1668 is connected to the three-phase power line through the three-phase signal receiving filtering circuit and the three-phase low-voltage coupling circuit, and the output end is connected to the three-phase power line through the three-phase signal sending amplifying circuit and the three-phase low-voltage coupling circuit; the input and output ends of the HPLC communication chip SSC1668 are connected to the Bluetooth communication module.
4. The communication method of a low-voltage power line high-speed carrier to Bluetooth communication system according to claim 1, It is characterized in that The following steps are involved: S1, the Bluetooth master module acts as a cluster head, automatically scans the surrounding Bluetooth devices, and collects the absolute value of RSSI of each Bluetooth slave module in the T time period, and takes the average value, and then judges whether each Bluetooth slave module in the surrounding is a valid device based on the average value of the absolute value of RSSI and the number of times the cluster head scans; S2. Select the Bluetooth slave module with the smallest absolute RSSI value among all valid devices as the cluster head and add it to the cluster, and define the Bluetooth slave module with the largest absolute RSSI value among all cluster members that have joined the network as the cluster tail; S3, adding the Bluetooth slave modules whose RSSI average value is less than the cluster radius R as Bluetooth slave nodes to the cluster in sequence to establish a connection; S4. During the communication process, the cluster head re-detects the RSSI value of the cluster members each time the communication is performed. When the RSSI value exceeds the cluster radius, the Bluetooth module is automatically kicked out of the cluster, and the module re-executes the cluster entry strategy.
5. The communication method of a low-voltage power line high-speed carrier to Bluetooth communication system according to claim 4, It is characterized in that The method includes the steps of probing communication, and the specific method is as follows: After the Bluetooth master module is powered on and obtains the MAC address, the timing is 15s for the trial communication stage. In this stage, the Bluetooth master module establishes a connection with all legal Bluetooth slave modules in the environment and sends a trial frame. After the trial frame is sent, it actively disconnects from the Bluetooth slave module. For the Bluetooth slave module that has been tried, it will be added to the blacklist and no secondary trial will be performed in this trial communication stage. And so on, to ensure that the Bluetooth master module establishes a connection with all Bluetooth slave modules in the environment and sends a trial frame in this trial stage; After the Bluetooth slave module is powered on and obtains the router address, it starts the trial communication phase for 15 seconds. During the trial communication phase, the Bluetooth master module establishes a connection with it, obtains the RSSI absolute value and MAC address of the Bluetooth master module, and then actively disconnects from the Bluetooth master module. Then the Bluetooth slave module obtains the optimal RSSI absolute value RSSI_min and the corresponding MAC address of the Bluetooth master module.
6. The communication method of a low-voltage power line high-speed carrier to Bluetooth communication system according to claim 5, It is characterized in that In the formal networking stage, after the Bluetooth slave module is successfully connected to the Bluetooth master module, the RSSI absolute value RSSI_cur of the Bluetooth master module in the current stage is obtained again. If RSSI_cur≤RSSI_min, the current connection is considered valid; otherwise, if RSSI_cur>RSSI_min, it is determined whether the MAC address of the Bluetooth master module of the current connection is the same as the MAC address corresponding to the optimal RSSI stored in the trial stage. If they are the same, the connection is also considered valid. Otherwise, the current connection is disconnected until a connection is established with a valid device.
7. The communication method of a low-voltage power line high-speed carrier to Bluetooth communication system according to claim 4, It is characterized in that Before the Bluetooth slave module enters the cluster and establishes a connection, it periodically sends a broadcast to the surrounding Bluetooth master modules. After the manufacturer information carried in the broadcast frame is scanned and identified by the Bluetooth master module, it participates in the subsequent clustering strategy.
8. The communication method of a low-voltage power line high-speed carrier to Bluetooth communication system according to claim 4, It is characterized in that The cluster radius R is defined as: R = RSSI 簇尾 + grad, where grad represents the step value, and the value range of grad is: grad=[0,grad_max]; RSSI 簇尾 It represents the RSSI value of the cluster tail. Each time the RSSI value of the cluster tail changes, the step value grad will be traversed in sequence with a step of 1dbm until a new cluster tail appears or the step maximum value grad_max is reached. The step maximum value grad_max is an empirical value. The test method is: measure the minimum RSSI absolute value when the Bluetooth master module and the Bluetooth slave module are located in different meter boxes, and the maximum RSSI absolute value when they are located in the same meter box, and take their difference as the value of the step maximum value grad_max.
9. The communication method of a low-voltage power line high-speed carrier to Bluetooth communication system according to claim 8, It is characterized in that The maximum step value grad_max is 12dB.
Citation Information
Cited By
Miniature circuit breaker state monitoring and abnormity reporting system and method
CN115102579A
