Dual-mode wireless distance information transmission test method for intelligent street lamp

By acquiring the coordinates and route length of the smart streetlights, testing the transmission distance and cost of the modules, and optimizing the quantity and location of Wi-SUN and BT modules, the optimal installation problem of wireless communication in the smart streetlight system was solved, improving communication quality and reducing costs.

CN119030884AActive Publication Date: 2024-11-26FOSHAN HUIMING PHOTOELECTRIC CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411514615.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2024-11-26
Estimated Expiration
2044-10-29

AI Technical Summary

Technical Problem

In smart street light systems, existing technologies struggle to determine the optimal location and number of BT and Wi-SUN modules to meet the wireless communication needs of multiple smart street lights, while simultaneously balancing cost and compatibility, which affects the accuracy of distance information transmission.

Method used

By acquiring the coordinates of the smart streetlights, calculating the route length, testing the transmission distance and cost of the modules, and using a numerical sorting algorithm to optimize the number and location allocation of Wi-SUN and BT modules, we ensure that the wireless communication conditions are met, and verify the optimal solution through the controller.

Benefits of technology

This improved the communication quality of smart streetlights, reduced costs, and made wireless communication more aligned with actual needs, ensuring wireless communication coverage for multiple smart streetlights.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119030884A_ABST
    Figure CN119030884A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of signal transmission, in particular to a dual-mode wireless distance information transmission test method for an intelligent street lamp. The method comprises a preparation stage and a test stage, and adopts a numerical sorting algorithm to summarize multiple groups of book data; calling out the corresponding number of the Wi-SUN modules and the BT modules according to the cost data sorting weight, distributing the positions of the Wi-SUN modules and the BT modules on the whole route, verifying whether the Wi-SUN modules and the BT modules meet the wireless communication conditions of the plurality of intelligent street lamps or not through the controller, cooperatively analyzing the required number of the Wi-SUN modules and the BT modules for the plurality of intelligent street lamps of the whole route, and sending the required number of the Wi-SUN modules and the BT modules to the controller. On one hand, a plurality of intelligent street lamps can perform wireless communication, the optimal installation positions of the Wi-SUN module and the BT module are tested, and the communication quality of the intelligent street lamps is improved, and on the other hand, under the condition that the wireless communication condition is met, the cost is reduced as much as possible, and intelligent street lamp testing and planning are more practical.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of signal transmission, and in particular to a dual-mode wireless distance information transmission test method for intelligent street lamps. Background Art

[0002] Smart street lights, also known as intelligent street lights, or smart street lights, smart lighting, use the Internet of Things and cloud computing technologies to comprehensively upgrade the urban public lighting management system, realize centralized control of street lights, information-based operation and maintenance, and intelligent lighting. Currently, smart street lights use various terminal devices to control street light circuits or single lights in real time on the system operation interface, and execute scheduled tasks according to clear strategies; Current wireless communication technologies include BT modules and Wi-SUN modules, among which: BT module usually refers to Bluetooth module, which is a short-range wireless communication technology module used for data transmission and connection between devices. In some application scenarios, the power consumption of BT module is relatively low, which helps to extend the battery life of the device and has good device compatibility, but the transmission distance is limited: it is generally suitable for shorter-distance communication and is not suitable for long-distance transmission; Wi-SUN module is a wireless communication technology suitable for large-scale IoT networks. It has the characteristics of long-distance transmission, low power consumption, high security and self-organizing network. However, compared with some other wireless communication technologies (BT modules), the cost of Wi-SUN modules may be higher. In order to ensure that multiple smart street lights can communicate wirelessly on a long route, the existing technology uses BT modules and Wi-SUN modules as gateways to control the smart street lights. However, when installing multiple wireless communication devices on different road sections, it is unclear what the optimal location, spacing and optimal number of wireless communication devices should be, and the cost and compatibility should be taken into consideration, which affects the accuracy of the distance information transmission test in the scenario of multiple smart street lights. In view of this, we propose a dual-mode wireless distance information transmission test method for smart street lights. Summary of the invention

[0003] The purpose of the present invention is to provide a dual-mode wireless distance information transmission test method for smart street lamps to solve the problems raised in the above background technology.

[0004] To achieve the above object, the present invention provides a dual-mode wireless distance information transmission test method for a smart street lamp, comprising the following steps: S1. Preparation stage: Get the coordinates of multiple smart street lights and test the effective transmission distance of the BT module Effective transmission distance with Wi-SUN module , and get the unit price of BT module and the unit price of Wi-SUN module ; S2, testing phase: The length L of the entire route is calculated through the coordinate points of two adjacent smart street lamps, and the number of Wi-SUN modules traversed is , so that the number of BT modules is , and meet multiple smart street light wireless communication conditions; Specifically, the number of Wi-SUN modules is initialized to increase from 0, the number of BT modules is calculated in sequence, and the sum of the effective transmission distance of the number of BT modules and the effective transmission distance of the number of Wi-SUN modules is made consistent with the length of the entire route, and multiple groups of test data are output; The unit price calculations of Wi-SUN modules and BT modules are integrated according to multiple groups of test data, and multiple groups of cost data are output. The cost data sorting weights are output using a numerical sorting algorithm. The corresponding quantities of Wi-SUN modules and BT modules are called out according to the cost data sorting weights, and the positions of Wi-SUN modules and BT modules on the entire route are allocated. The controller verifies whether the Wi-SUN modules and BT modules meet the wireless communication conditions of multiple smart street lights. Until the wireless communication conditions of multiple smart street lights are met, the required quantities of Wi-SUN modules and BT modules are collaboratively analyzed for multiple smart street lights on the entire route.

[0005] As a further improvement of the technical solution, the step of obtaining the coordinate points of multiple smart street lamps in S1 and calculating the length of the entire route in S2 includes the following steps: The GPS receiver on each smart street light receives signals from multiple satellites and processes the received signals to obtain accurate satellite data. The pseudo-range between the receiver and the satellite is calculated based on the propagation time of the satellite signal. The position coordinates of the receiver are determined by measuring the distances to multiple satellites using the principle of triangulation. The distance between two adjacent smart street lamps is calculated by using the distance formula between two points, and the distances between multiple adjacent street lamps are summarized as the length of the entire route.

[0006] As a further improvement of the technical solution, the effective transmission distance of the BT module and the effective transmission distance of the Wi-SUN module are tested in S1, including the following steps: The signal strength RSSI values ​​of the BT module and Wi-SUN module in the current controller and smart street light are obtained through the signal strength indicator. The sending end device of the BT module and Wi-SUN module is installed on the controller, and the receiving end device of the BT module and Wi-SUN module is installed on the smart street light. The distance between the sending end and the receiving end is gradually increased, and the signal strength received by the receiving end device is recorded. When the signal strength of the receiving end device is detected to be lower than the signal threshold, the distance at this time is recorded as the maximum transmission distance of the BT module and Wi-SUN module. Therefore, the transmission loss of the radio signal in free space is estimated, and the maximum transmission distance of the BT module and the Wi-SUN module is corrected according to the transmission loss to obtain the effective transmission distance of the BT module and the Wi-SUN module.

[0007] As a further improvement of the technical solution, the principle steps of calculating the number of BT modules in S2 are as follows: in, is the number of BT modules, Indicates rounding up.

[0008] As a further improvement of the technical solution, the cost calculation of the Wi-SUN module and the BT module is integrated according to multiple groups of test data in S2, including the following steps: Get the unit price of Wi-SUN modules and BT modules from dealers; Calculate the cost: multiply the number of Wi-SUN modules by the cost of Wi-SUN modules to get the cost of Wi-SUN modules for the current test data. Multiply the number of BT modules by the unit price of BT modules to get the cost of BT modules for the current test data. Sum up the two costs and output the cost data for the current test data. Traverse multiple groups of test data, use the above cost calculation steps respectively, and output multiple groups of cost data.

[0009] As a further improvement of the technical solution, the numerical sorting algorithm is used in S2 to summarize multiple sets of cost data, including the following steps: According to the values ​​in multiple cost data, the data is divided and sorted. Each value in the sequence to be sorted is split into m digits. Then, the sequence to be sorted is divided into subsequences according to the order of digits intercepted from high to low. The data with the same high digits are arranged in the same subsequence. The data in each subsequence follows the rule that the segments are ordered and the segments are disordered. Then judge the data of each subsequence separately. If the sorting result has duplication and has not reached the bottom position, sort the subsequence composed of the next highest digits. Continue the above sorting and sorting work until the sorting result is complete without duplication. The sorting work is completed and the multiple sets of cost data are stored in the database according to the sorting weight from high to low.

[0010] As a further improvement of the technical solution, the positions of Wi-SUN modules and BT modules on the entire route are allocated in S2, and the number of Wi-SUN modules and BT modules is output by calling a group of test data with the highest sorting weight in the database. The allocation method includes the following gestures: Position 1: The Wi-SUN module and the BT module are allocated adjacently, and the adjacent distance is the sum of the effective transmission distance of the Wi-SUN module and the effective transmission distance of the BT module; Posture 2: Wi-SUN modules are allocated adjacently, and the adjacent distance is the sum of the effective transmission distances of the two Wi-SUN modules; Attitude 3: BT modules are allocated adjacently, then the adjacent distance is the sum of the effective transmission distances of the two BT modules; When the smart street light at the starting position is close to the Wi-SUN module, the distance between the initially allocated Wi-SUN module and the smart street light at the starting position is the effective transmission distance of the Wi-SUN module, and the coordinates of multiple Wi-SUN modules and BT modules under the allocation mode are output through the coordinates of the smart street light at the starting position; When the smart street lamp at the starting position is close to the BT module, the distance between the initially allocated BT module and the smart street lamp at the starting position is the effective transmission distance of the BT module, and the coordinates of multiple Wi-SUN modules and BT modules under the allocation mode are output through the coordinates of the smart street lamp at the starting position.

[0011] As a further improvement of the technical solution, when allocating the positions of the Wi-SUN module and the BT module on the entire route, a bending point detection algorithm is also included, including the following steps: Calculate the slope of the line segment between the coordinate points of adjacent smart street lamps, set a threshold for the slope change, and when the slope difference between two adjacent line segments exceeds the threshold, output that there is a bending point between the two smart street lamps; Detect whether there are coordinates of Wi-SUN module and BT module between two smart street lights; If it exists, delete the module, and re-verify the Wi-SUN module and BT module through the controller to see if they meet the wireless communication conditions of multiple smart street lights. If they do, reduce the signal of the transmission module by one and re-output the number of Wi-SUN modules and BT modules. If they do not meet the conditions, reallocate the deleted module to the previous position. If it does not exist, the module of the current bending point will not be deleted.

[0012] Compared with the prior art, the present invention has the following beneficial effects: In the dual-mode wireless distance information transmission test method for smart street lamps, the number of Wi-SUN modules is initialized to increase from 0 in sequence, the number of BT modules is calculated in sequence, and the sum of the effective transmission distance of the number of BT modules and the effective transmission distance of the number of Wi-SUN modules is consistent with the length of the entire route, multiple groups of test data are output to respectively integrate the unit price calculation of Wi-SUN modules and BT modules, multiple groups of cost data are output, and the multiple groups of cost data are summarized by a numerical sorting algorithm; the corresponding numbers of Wi-SUN modules and BT modules are called out according to the sorting weight of the cost data, the positions of the Wi-SUN modules and BT modules on the entire route are allocated, and the controller is used to verify whether the Wi-SUN modules and BT modules meet the wireless communication conditions of multiple smart street lamps until the wireless communication conditions of multiple smart street lamps are met, and the required numbers of Wi-SUN modules and BT modules are collaboratively analyzed for multiple smart street lamps on the entire route, so that on the one hand, multiple smart street lamps can perform wireless communication, and the best installation positions of Wi-SUN modules and BT modules are tested to improve the communication quality of smart street lamps, and on the other hand, the cost is reduced as much as possible when the wireless communication conditions are met, so that the testing and planning of smart street lamps are more practical. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 It is the overall flow chart of the present invention; Figure 2 It is a flowchart of the bending point detection algorithm of the present invention. DETAILED DESCRIPTION

[0014] The following will be combined with the accompanying drawings in the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0015] Example 1 See also Figure 1-Figure 2 As shown, this embodiment provides a dual-mode wireless distance information transmission test method for a smart street lamp, comprising the following steps: S1. Preparation stage: Get the coordinates of multiple smart street lights and test the effective transmission distance of the BT module Effective transmission distance with Wi-SUN module , and get the unit price of BT module and the unit price of Wi-SUN module ; S2, testing phase: The length L of the entire route is calculated through the coordinate points of two adjacent smart street lamps, and the number of Wi-SUN modules traversed is , so that the number of BT modules is , and meet multiple intelligent street lamp wireless communication conditions, the expression is: ; Specifically, the number of Wi-SUN modules is initialized to increase from 0, the number of BT modules is calculated in sequence, and the sum of the effective transmission distance of the number of BT modules and the effective transmission distance of the number of Wi-SUN modules is made consistent with the length of the entire route, and multiple groups of test data are output (indicating the number of Wi-SUN modules and BT modules that meet the wireless communication conditions); The unit price calculation of Wi-SUN modules and BT modules is integrated according to multiple groups of test data, multiple groups of cost data are output, and the cost data sorting weight is output by using a numerical sorting algorithm; the corresponding quantity of Wi-SUN modules and BT modules is called out according to the cost data sorting weight, the positions of Wi-SUN modules and BT modules on the entire route are allocated, and the controller is used to verify whether the Wi-SUN modules and BT modules meet the wireless communication conditions of multiple smart street lights, until the wireless communication conditions of multiple smart street lights are met, and the required quantity of Wi-SUN modules and BT modules is collaboratively analyzed for multiple smart street lights on the entire route. On the one hand, multiple smart street lights can communicate wirelessly, and the best installation positions of Wi-SUN modules and BT modules are tested to improve the communication quality of smart street lights. On the other hand, the cost is reduced as much as possible while meeting the wireless communication conditions, so that the testing and planning of smart street lights are more practical.

[0016] Specifically, obtaining the coordinate points of multiple smart street lamps in S1 and calculating the length of the entire route in S2 include the following steps: The GPS receiver on each smart street light receives signals from multiple satellites. The signals contain information such as the satellite number, location, and transmission time. The received signals are processed, including noise removal and information decoding, to obtain accurate satellite data. The pseudorange between the receiver and the satellite is calculated based on the propagation time of the satellite signal. The pseudorange refers to the time it takes for the signal to propagate from the satellite to the receiver multiplied by the speed of light. However, due to factors such as clock errors, this distance is not the real distance, but an estimated value containing errors. Since the position of the satellite is known, the distance to multiple satellites is measured and the position coordinates of the receiver are determined using the principle of triangulation. Specifically, assuming that the coordinates of the receiver are (x, y, z), there are three satellites with coordinates of (x1, y1, z1), (x2, y2, z2), and (x3, y3, z3), and the pseudoranges are P1, P2, and P3, respectively. Therefore, the coordinate solution formula is: in, is the clock error of the receiver. As the number of satellites increases, the receiver coordinates and clock error can be solved according to the above formula; The distance between two adjacent smart street lamps is calculated by using the distance formula between two points, and the distances between multiple adjacent street lamps are summarized as the length of the entire route. For example, if the distance between two adjacent street lamps is d1, d2, d3, ..., dk, then L=d1+d2+d3+...+dk, which is conducive to the subsequent judgment of the required wireless communication distance based on the distance.

[0017] Furthermore, the testing of the effective transmission distance of the BT module and the effective transmission distance of the Wi-SUN module in S1 includes the following steps: The signal strength RSSI values ​​of the BT module and Wi-SUN module in the current controller and smart street light are obtained through the signal strength indicator. The sending end device of the BT module and Wi-SUN module is installed on the controller, and the receiving end device of the BT module and Wi-SUN module is installed on the smart street light. The distance between the sending end and the receiving end is gradually increased, and the signal strength received by the receiving end device is recorded. When the signal strength of the receiving end device is detected to be lower than the signal threshold, the distance at this time is recorded as the maximum transmission distance of the BT module and Wi-SUN module. The greater the transmission power of the BT module, the longer the transmission distance in theory, but it will also increase power consumption. Obstacles (such as buildings, walls, trees, etc.) and electromagnetic interference will weaken the signal strength, thereby reducing the transmission distance. The frequency band and channel selection used by the Wi-SUN module will affect signal propagation and interference. The antenna performance of the transmitter and receiver has an important impact on the transmission distance, including antenna gain and directivity. At the same time, similar to the BT module, environmental factors such as obstacles, terrain, and climate will affect the propagation of Wi-SUN signals. Therefore, the transmission loss of the radio signal in free space is estimated, and the maximum transmission distance of the BT module and the Wi-SUN module is corrected according to the transmission loss to obtain the effective transmission distance of the BT module and the Wi-SUN module, so as to achieve a more accurate transmission distance of the BT module and the Wi-SUN module. Specifically, for the BT module: the transmission loss of the radio signal in free space is estimated by the Friis transmission equation, and considering the existence of obstacles and interference in the actual environment, the equation needs to be corrected as follows: , where Q is the transmission loss, D is the distance between the transmitter and the receiver, is the wavelength of the signal, and K is the environmental factor, which needs to be determined through actual testing and experience. It reflects the impact of obstacles, electromagnetic interference, etc. on signal transmission.

[0018] Furthermore, the principle steps for calculating the number of BT modules in S2 are as follows: in, is the number of BT modules, It means rounding up. By rounding up, the sum of the effective transmission distance of the BT modules and the effective transmission distance of the Wi-SUN modules is consistent with the length of the entire route, ensuring that the multiple test data can meet the wireless communication needs of multiple smart street lights. After rounding up, the number of BT modules is just enough to ensure transmission, avoiding further increasing the number, which will increase the cost and help reduce the cost.

[0019] Then, the cost calculation of the Wi-SUN module and the BT module is integrated according to the multiple test data in S2, including the following steps: Get the unit price of Wi-SUN modules and BT modules from dealers. Since market prices may fluctuate, it is recommended to compare and consult multiple channels or determine the unit price based on the supplier with which the enterprise currently signs a contract, so as to obtain the most reasonable cost information. Calculate the cost: multiply the number of Wi-SUN modules by the cost of Wi-SUN modules to get the cost of Wi-SUN modules for the current test data. Multiply the number of BT modules by the unit price of BT modules to get the cost of BT modules for the current test data. Sum up the two costs and output the cost data for the current test data. Traverse multiple groups of test data, use the above cost calculation steps respectively, and output multiple groups of cost data.

[0020] Furthermore, the S2 uses a numerical sorting algorithm to summarize multiple sets of cost data, including the following steps: According to the values ​​in multiple cost data, the data is divided and sorted. Each value in the sequence to be sorted is split into m digits. Then, the sequence to be sorted is divided into subsequences according to the order of digits intercepted from high to low. The data with the same high digits are arranged in the same subsequence. The data in each subsequence follows the rule that the segments are ordered and the segments are disordered. Then judge the data of each subsequence separately. If the sorting result has duplication and has not reached the lowest position, sort the subsequence composed of the next highest digits. Continue the above sorting and sorting work until the sorting result has no duplication. The sorting work is completed and the multiple cost data sets are stored in the database according to the sorting weight from high to low. A value is composed of multiple digits: for example, the values ​​213, 285, 351, and 215 include units, tens, and hundreds, three digits, with the hundreds being the highest digit and the tens being the second highest digit. When sorting the high digits, 3 is used as a subsequence and 2 is used as a subsequence, 3 (351) → 2 (213, 285, and 215). If the sorting result has duplicates and has not yet reached the bottom digit, it means that there are multiple duplicate high digits in the subsequence of 2, and the bottom digit (units) is not sorted at this time, then the sorting continues in the subsequence of 2 until all digits are sorted to form the final sorting result. Specifically, the calculation formula is as follows: F is the result of numerical comparison output, A is one of the cost data, B is another cost data, A1 is the high value of one of the cost data, B1 is the high value of the other cost data, A0 is the low value of one of the cost data, B0 is the low value of the other cost data. Multiple data are compared in sequence, + means parallel, * means simultaneous satisfaction.

[0021] Specifically, the above calculation formula is interpreted by comparing the values ​​when splitting by bit: Situation 1: :One of the cost data is greater than the other cost data, so the logic indicates that there are two situations: ①, It means that the high value of one cost data is greater than the high value of the other cost data (for example, when comparing the values ​​of 65 and 45, the high value of the former is greater than the high value of the latter, 6>4, in this case, it can be directly determined that 65>45 without comparing the low value); ②, It means that the high value of one cost data is equal to the high value of another cost data, and at the same time, the low value of one cost data is greater than the low value of the other cost data (for example, if the high value 4 of 45 and 42 are the same, then the low value of the former is greater than the low value of the latter, and 5>2, it means 45>42); Situation 2: :One of the cost data is less than the other cost data, so the logic indicates that there are two situations: ①, It means that the high value of one cost data is less than the high value of the other cost data (for example, when comparing the values ​​of 45 and 65, the high value of the former is less than the high value of the latter, and 6<4. In this case, it can be directly determined that 45 is less than 65 without comparing the low value); ②, It means that the high value of one cost data is equal to the high value of another cost data, and at the same time, the low value of one cost data is less than the low value of another cost data (for example, if the high value 4 of 42 and 45 are the same, then the low value of the former is greater than the low value of the latter, and 2<5, which means 42<45); Situation 3: :One of the cost data is equal to the other cost data, so the logic indicates that there is a situation, ①, It means that the high value of one cost data is equal to the high value of another cost data, and at the same time, the low value of one cost data is equal to the low value of another cost data (for example, if the values ​​of 45 and 45 are compared, the high value 4 and the low value are the same, then 45=45).

[0022] In addition, the positions of Wi-SUN modules and BT modules on the entire route are allocated in S2, and the number of Wi-SUN modules and BT modules is output by calling a group of test data with the highest sorting weight in the database. The allocation method includes the following postures: Position 1: The Wi-SUN module and the BT module are allocated adjacently, and the adjacent distance is the sum of the effective transmission distance of the Wi-SUN module and the effective transmission distance of the BT module; Posture 2: Wi-SUN modules are allocated adjacently, and the adjacent distance is the sum of the effective transmission distances of the two Wi-SUN modules; Attitude 3: BT modules are allocated adjacently, then the adjacent distance is the sum of the effective transmission distances of the two BT modules; When the smart street light at the starting position is close to the Wi-SUN module, the distance between the initially allocated Wi-SUN module and the smart street light at the starting position is the effective transmission distance of the Wi-SUN module, and the coordinates of multiple Wi-SUN modules and BT modules under the allocation method are output through the coordinates of the smart street light at the starting position. Assuming that the coordinates of the starting position are (x0, y0, z0), the coordinates of the initially allocated Wi-SUN module are ,Similarly, the subsequent modules add the distance in the X coordinate system once to obtain the coordinates of all modules; When the smart street light at the starting position is close to the BT module, the distance between the initially allocated BT module and the smart street light at the starting position is the effective transmission distance of the BT module, and the coordinates of multiple Wi-SUN modules and BT modules under the allocation method are output through the coordinates of the smart street light at the starting position. Assuming that the coordinates of the starting position are (x0, y0, z0), the coordinates of the initially allocated BT module are ,Similarly, the subsequent modules add the distance in the X coordinate system once to obtain the ,coordinates of all modules.

[0023] Embodiment 2: Considering that the entire route is not necessarily a straight line, the smart street lights that are close to each other at the bends are close. If the Wi-SUN module and the BT module are installed at the bends, when the smart street lights are controlled by the controller, wireless communication can control relatively more smart street lights. Therefore, when allocating the positions of the Wi-SUN module and the BT module on the entire route, a bend point detection algorithm is also included, including the following steps: Calculate the slope of the line segment between the coordinate points of adjacent smart street lamps, set a threshold for the slope change, and when the slope difference between two adjacent line segments exceeds the threshold, output that there is a bending point between the two smart street lamps; Detect whether there are coordinates of Wi-SUN module and BT module between two smart street lights; If it exists, delete the module, and re-verify the Wi-SUN module and BT module through the controller to see if they meet the wireless communication conditions of multiple smart street lights. If they do, reduce the signal of the transmission module by one and re-output the number of Wi-SUN modules and BT modules. If they do not meet the conditions, reallocate the deleted module to the previous position. If it does not exist, the module of the current bending point will not be deleted; Specifically, when calculating the slope of a line segment, assuming that the coordinate points of two adjacent smart street lamps are (x1, y1) and (x2, y2), the following formula is used to calculate the slope of the line segment between them: : ,like , then the output has a bending point, if , then the output shows that there is no bending point. If the Wi-SUN module and BT module are found at the bending point, remove the modules as needed, use the controller to control the smart street lights on the entire route, and check whether all smart street lights can respond to the control signal normally. If all smart street lights can be successfully controlled, the output result shows that the solution is feasible; if some smart street lights cannot be controlled, it means that there is a problem with communication coverage after removing or replacing the module. At this time, the disassembly operation should not be performed, or other solutions should be considered, such as adjusting the module position or adding signal enhancement equipment.

[0024] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A dual-mode wireless distance information transmission test method for smart street lamps, characterized in that: The following steps are involved: S1. Preparation stage: Get the coordinates of multiple smart street lights and test the effective transmission distance of the BT module Effective transmission distance with Wi-SUN module , and get the unit price of BT module and the unit price of Wi-SUN module ; S2, testing phase: The length L of the entire route is calculated through the coordinate points of two adjacent smart street lamps, and the number of Wi-SUN modules traversed is , so that the number of BT modules is , and meet multiple smart street light wireless communication conditions; Specifically, the number of Wi-SUN modules is initialized to increase from 0, the number of BT modules is calculated in sequence, and the sum of the effective transmission distance of the number of BT modules and the effective transmission distance of the number of Wi-SUN modules is made consistent with the length of the entire route, and multiple groups of test data are output; The unit price calculations of Wi-SUN modules and BT modules are integrated according to multiple groups of test data, and multiple groups of cost data are output. The cost data sorting weights are output using a numerical sorting algorithm. The corresponding quantities of Wi-SUN modules and BT modules are called out according to the cost data sorting weights, and the positions of Wi-SUN modules and BT modules on the entire route are allocated. The controller verifies whether the Wi-SUN modules and BT modules meet the wireless communication conditions of multiple smart street lights. Until the wireless communication conditions of multiple smart street lights are met, the required quantities of Wi-SUN modules and BT modules are collaboratively analyzed for multiple smart street lights on the entire route.

2. The dual-mode wireless distance information transmission test method for smart street lamps according to claim 1 is characterized in that: The step of obtaining the coordinate points of a plurality of intelligent street lamps in S1 and calculating the length of the entire route in S2 includes the following steps: The GPS receiver on each smart street light receives signals from multiple satellites and processes the received signals to obtain accurate satellite data. The pseudo-range between the receiver and the satellite is calculated based on the propagation time of the satellite signal. The position coordinates of the receiver are determined by measuring the distances to multiple satellites using the principle of triangulation. The distance between two adjacent smart street lamps is calculated by using the distance formula between two points, and the distances between multiple adjacent street lamps are summarized as the length of the entire route.

3. The dual-mode wireless distance information transmission test method for smart street lamps according to claim 2 is characterized in that: The effective transmission distance of the BT module and the effective transmission distance of the Wi-SUN module are tested in S1, including the following steps: The signal strength RSSI values ​​of the BT module and Wi-SUN module in the current controller and smart street light are obtained through the signal strength indicator. The sending end device of the BT module and Wi-SUN module is installed on the controller, and the receiving end device of the BT module and Wi-SUN module is installed on the smart street light. The distance between the sending end and the receiving end is gradually increased, and the signal strength received by the receiving end device is recorded. When the signal strength of the receiving end device is detected to be lower than the signal threshold, the distance at this time is recorded as the maximum transmission distance of the BT module and Wi-SUN module. Therefore, the transmission loss of the radio signal in free space is estimated, and the maximum transmission distance of the BT module and the Wi-SUN module is corrected according to the transmission loss to obtain the effective transmission distance of the BT module and the Wi-SUN module.

4. The dual-mode wireless distance information transmission test method for smart street lamps according to claim 3 is characterized in that: The principle steps for calculating the number of BT modules in S2 are as follows: in, is the number of BT modules, Indicates rounding up.

5. The dual-mode wireless distance information transmission test method for smart street lamps according to claim 4 is characterized in that: In S2, the cost calculation of the Wi-SUN module and the BT module are integrated according to the multiple groups of test data, including the following steps: Get the unit price of Wi-SUN module and BT module; Calculate the cost: multiply the number of Wi-SUN modules by the unit price of Wi-SUN modules to get the cost of Wi-SUN modules for the current test data. Multiply the number of BT modules by the unit price of BT modules to get the cost of BT modules for the current test data. Sum up the costs of the two and output the cost data for the current test data. Traverse multiple groups of test data, use the above cost calculation steps respectively, and output multiple groups of cost data.

6. The dual-mode wireless distance information transmission test method for smart street lamps according to claim 5, characterized in that: In S2, a numerical sorting algorithm is used to summarize multiple sets of cost data, including the following steps: According to the values ​​in multiple cost data, the data is divided and sorted. Each value in the sequence to be sorted is split into m digits. Then, the sequence to be sorted is divided into subsequences according to the order of digits intercepted from high to low. The data with the same high digits are arranged in the same subsequence. The data in each subsequence follows the rule that the segments are ordered and the segments are disordered. Then judge the data of each subsequence separately. If the sorting result has duplication and has not reached the bottom position, sort the subsequence composed of the next highest digits. Continue the above sorting and sorting work until the sorting result is complete without duplication. The sorting work is completed and the multiple sets of cost data are stored in the database according to the sorting weight from high to low.

7. The dual-mode wireless distance information transmission test method for smart street lamps according to claim 6, characterized in that: In S2, the positions of Wi-SUN modules and BT modules on the entire route are allocated. By calling a group of test data with the highest sorting weight in the database, the number of Wi-SUN modules and BT modules is output. The allocation method includes the following postures: Position 1: The Wi-SUN module and the BT module are allocated adjacently, and the adjacent distance is the sum of the effective transmission distance of the Wi-SUN module and the effective transmission distance of the BT module; Posture 2: Wi-SUN modules are allocated adjacently, and the adjacent distance is the sum of the effective transmission distances of the two Wi-SUN modules; Attitude 3: BT modules are allocated adjacently, then the adjacent distance is the sum of the effective transmission distances of the two BT modules; When the smart street light at the starting position is close to the Wi-SUN module, the distance between the initially allocated Wi-SUN module and the smart street light at the starting position is the effective transmission distance of the Wi-SUN module, and the coordinates of multiple Wi-SUN modules and BT modules under the allocation mode are output through the coordinates of the smart street light at the starting position; When the smart street lamp at the starting position is close to the BT module, the distance between the initially allocated BT module and the smart street lamp at the starting position is the effective transmission distance of the BT module, and the coordinates of multiple Wi-SUN modules and BT modules under the allocation mode are output through the coordinates of the smart street lamp at the starting position.

8. The dual-mode wireless distance information transmission test method for smart street lamps according to claim 7, characterized in that: When allocating the positions of Wi-SUN modules and BT modules along the entire route, a bending point detection algorithm is also used, including the following steps: Calculate the slope of the line segment between the coordinate points of adjacent smart street lamps, set a threshold for the slope change, and when the slope difference between two adjacent line segments exceeds the threshold, output that there is a bending point between the two smart street lamps; Detect whether there is a Wi-SUN module or BT module coordinates between two smart street lights; If it exists, delete the module, and re-verify the Wi-SUN module and BT module through the controller to see if they meet the wireless communication conditions of multiple smart street lights. If they do, reduce the signal of the transmission module by one and re-output the number of Wi-SUN modules and BT modules. If they do not meet the conditions, reallocate the deleted module to the previous position. If it does not exist, the module of the current bending point will not be deleted.

Citation Information

Patent Citations

  • Method and system for synchronously covering intelligent street lamps based on wireless communication

    CN117939762A

  • Modifiable network operations in a streetlight control node

    US20190007898A1

  • Proximity-based connection for bluetooth devices

    US20220361264A1