A frequency synchronization method for a wireless BMS system

By allocating the frequency offset estimation and compensation tasks to multiple BP sub-nodes in the wireless BMS system, and concentrating the frequency synchronization overhead into PN frames, the problem of high computing overhead of AP nodes is solved, and the data throughput of the wireless BMS network is improved. Ability and BP sub-node capacity.

CN118400796BActive Publication Date: 2024-10-18HANGZHOU WANZHI MICROELECTRONICS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410854956.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-18
Estimated Expiration
2044-06-28

AI Technical Summary

Technical Problem

In the wireless BMS system, the deviation of the carrier crystal oscillator of the transceiver node leads to the frequency offset of the receiving end, which increases the computing overhead of the AP node and the risk of network stability. The existing frequency offset estimation and compensation module has high management requirements for multiple sub-nodes.

Method used

Through the AP node periodically sending binding frames, the BP sub-node estimates and compensates the frequency offset, and concentrates the frequency offset synchronization overhead into the PN frame, reducing the synchronization overhead of subsequent data frames and allocating the computational workload to multiple BP sub-nodes. .

Benefits of technology

It effectively reduces the computing power requirements of AP nodes, improves the data throughput capability and BP sub-node capacity of the wireless BMS network system, and reduces the complexity and computing pressure of frequency offset estimation and compensation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118400796B_ABST
    Figure CN118400796B_ABST
Patent Text Reader

Abstract

The present invention discloses a wireless BMS system frequency synchronization method, comprising an AP node and multiple BP sub-nodes managed by the AP node; the specific frequency synchronization steps of the AP node and the BP sub-node are as follows: 101) information sending step, 102) sub-node information processing and storage binding step, 103) information return step; the present invention provides a wireless BMS system frequency synchronization method with simple and reasonable design, which can effectively solve the deterioration of AP node demodulation performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of BMS, and more particularly to a frequency synchronization method for a wireless BMS system. Background Art

[0002] In a wireless BMS system, a large number of wireless communication nodes are distributed in a confined space and transmit signals simultaneously. To ensure that the multi-node communication nodes do not interfere with each other, the signals between the transmitting and receiving nodes are usually modulated to a specific carrier frequency for wireless transmission. Due to the deviation of the transmitting and receiving carrier crystal oscillators, the information received by the receiving end has a frequency deviation, which will cause the receiver demodulation performance to deteriorate.

[0003] In order to eliminate the impact of frequency offset on the demodulation performance of the receiver, existing solutions usually deploy frequency offset estimation and frequency offset compensation modules at the node. Specifically, the transmitted information contains a specific frequency offset estimation sequence. The receiving node estimates the frequency offset based on the received frequency offset estimation sequence, and uses the frequency offset compensation module to compensate the received signal for frequency offset before demodulating the signal. However, frequency offset estimation and frequency offset compensation have a large computational overhead. For AP nodes that need to manage multiple child nodes (BP) in the wireless BMS system, it is necessary to calculate and compensate for the frequency offset of a large number of BP child nodes separately. This places very high demands on the computing processing capabilities of the AP receiver, and also poses certain risks to the network operation stability of the wireless BMS system. Summary of the invention

[0004] The present invention overcomes the shortcomings of the prior art, provides a wireless BMS system frequency synchronization method which has a simple and reasonable design and can effectively solve the deterioration of AP node demodulation performance.

[0005] The technical solution of the present invention is as follows:

[0006] A frequency synchronization method for a wireless BMS system includes an AP node and multiple BP subnodes managed by the AP node; the specific frequency synchronization steps of the AP node and the BP subnode are as follows:

[0007] 101) Information sending step: The AP node periodically sends information including a binding frame to all BP child nodes;

[0008] 102) Subnode information storage and binding step: The BP subnode confirms the ownership relationship with the AP node through the information of the binding frame, performs the corresponding binding operation, and stores the corresponding information;

[0009] 103) Information feedback step: The BP subnode sends corresponding information to the AP node at a specific frequency and time according to actual needs. The corresponding information sent will first perform pre-frequency offset estimation and frequency offset compensation.

[0010] In a further embodiment, the information sent by the AP node to all BP subnodes includes PN frames, TOD frames and binding frames; TOD frames and binding frames are data frames; PN frames include long PN sequences and frequency deviation training words, which are used to calculate the frequency deviation between the AP node and the BP subnode and store them. TOD frames include short PN sequences and phase estimation, which are used to locate and calibrate the phase of the data, respectively.

[0011] In a further embodiment, the BP subnode has a built-in mixing module and is set at a specific frequency. If the frequency set by the BP subnode is different from the information frequency sent by the AP node, the signal received by the BP subnode through the mixer of the mixing module will have a very large frequency deviation and will not be able to receive the wireless signal; if the frequency set by the BP subnode matches the information frequency sent by the AP node, the BP subnode can detect the PN frame sent by the corresponding AP node and perform further frequency deviation estimation.

[0012] In another scheme of the present invention, the BP sub-node first receives the PN frame in sequence, performs arrival detection and rough frequency deviation estimation based on the long PN sequence, and performs precise frequency deviation estimation in combination with the Fre_est frequency deviation training word; then receives the TOD frame of the data frame, and locates and phase-calibrates the data according to the short PN sequence and Ph phase estimation in the TOD frame; finally receives the binding frame to determine whether the frame received this time is for the BP sub-node. That is, an independent PN frame is used to concentrate most of the frequency deviation synchronization overhead requirements for all wireless messages into the PN frame. Subsequent TOD frames continue to use the frequency deviation estimation data of the PN frame, and no frequency deviation estimation operation is performed. In the entire cycle, the number of data frames is much larger than the PN frame. The frequency synchronization overhead is concentrated through the PN frame, which effectively saves the synchronization overhead of subsequent data frames, and greatly improves the data throughput capacity and BP sub-node capacity of the wireless BMS network system.

[0013] Another solution of the present invention further includes step 104) a repeating step, repeating the above steps 101) to 102) at intervals to perform rebinding and frequency synchronization correction.

[0014] In another embodiment of the present invention, the first information feedback after the BP subnode completes the binding includes a binding feedback frame, and the AP node confirms the completion of the binding with the BP subnode according to the binding feedback frame. After the AP node establishes two-way communication with the BP subnode, the AP node does not need to perform frequency deviation estimation calculation on the communication information.

[0015] Another aspect of the invention provides a computer program comprising instructions arranged to implement a method and / or device according to any one of the above aspects when executed. Another aspect provides a machine readable storage storing such a program.

[0016] The advantages of the present invention are:

[0017] This scheme is simple and reasonable in design. It distributes the frequency offset estimation and frequency offset compensation tasks between the AP node and multiple BP sub-nodes to multiple BP sub-nodes. This scheme also uses independent PN frames to concentrate most of the frequency offset synchronization overhead requirements for all wireless messages into PN frames. As a result, this scheme can avoid the problem of repeated calculation and compensation of carrier frequency deviations between AP nodes and BP sub-nodes, effectively reducing the computing power requirements for AP nodes, while spreading the amount of computing to all BP sub-nodes, and will not significantly increase the computing pressure of BP sub-nodes; on the other hand, in the sending cycle, the number of data frames is much larger than PN frames. The frequency synchronization overhead is concentrated through PN frames, which effectively saves the synchronization overhead of subsequent data frames, greatly improving the data throughput capacity and BP sub-node capacity of the wireless BMS network system. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a communication schematic diagram of the present invention;

[0019] Figure 2 It is a schematic diagram of the communication information modulation process between the AP node and the BP sub-node of the present invention;

[0020] Figure 3 It is a schematic diagram of the structure of the PN frame of the present invention;

[0021] Figure 4 It is a schematic diagram of the structure of the TOD frame of the present invention;

[0022] Figure 5 The figure is a schematic diagram of the sequence of wireless information transmission from the AP node to the BP sub-node according to the present invention. DETAILED DESCRIPTION

[0023] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments are only specific descriptions of the present invention, and their purpose is to allow those skilled in the art to better understand the technical solutions of the present invention, and should not be regarded as limitations of the present invention. Example

[0024] like Figure 1 , Figure 2 As shown, a frequency synchronization method for a wireless BMS system includes an AP node and multiple BP sub-nodes managed by the AP node. Due to the deviation of the transceiver carrier crystal oscillators of the traditional AP node and multiple BP sub-nodes, the data received by the receiving AP node has a frequency deviation, resulting in the deterioration of the demodulation performance of the AP node. Therefore, it is necessary to adjust the internal module and adopt a new synchronization method.

[0025] Specifically, the BP subnode includes frequency offset estimation and frequency offset compensation functions, that is, the structure of the BP subnode itself does not need to be modified. When performing frequency synchronization adjustment, after the BP subnode receives the corresponding information from the AP node, it estimates and compensates the corresponding information, and performs demodulation at the BP subnode. The BP subnode transmits the corresponding information that needs to be fed back to the AP node, thereby distributing the frequency offset estimation operation to each BP node, greatly reducing the amount of calculation of the AP node and improving the data processing speed of the AP node.

[0026] The specific steps for frequency synchronization between AP nodes and BP subnodes are as follows:

[0027] 101) Information sending step: The AP node periodically sends binding information to all BP subnodes. That is, the AP node needs to modulate the binding information of each BP subnode to the corresponding frequency point and send it. Since the AP node manages multiple BP nodes, it is necessary to organize the ID information of each BP subnode into binding information, modulate it to the corresponding frequency point and send it in sequence; the information modulation process is as follows: Figure 2 As shown, the wireless transmission sequence is as follows Figure 5 shown.

[0028] In the specific implementation, the binding information includes the arrival detection sequence, the frequency offset estimation sequence, the ID information of the BP subnode, etc. The arrival detection sequence is used to complete the detection of the binding information; the frequency offset estimation sequence is used to complete the frequency offset estimation between the AP node and the BP subnode; the ID information of the BP subnode is used for information binding confirmation.

[0029] 102) Subnode information storage and binding step: The BP subnode confirms the ownership relationship with the AP node through the subnode ID in the binding information, performs the corresponding binding operation, and stores the corresponding information.

[0030] Specifically, the BP node polls and monitors all channels in the working channel set, and the monitoring dwell time of each channel is recorded as T. If the BP child node detects binding information at a specific frequency point, after completing the frequency offset estimation and compensation, when it is parsed that the child node ID is the same as its own ID information, it performs the corresponding binding operation and stores the corresponding information. The arrival detection can be completed through the PN sequence in the binding information sent by the monitored AP node, and the frequency offset estimation can be completed through the frequency offset estimation sequence. The specific scheme for detecting the binding information and estimating the frequency offset and completing the frequency offset compensation can be selected by the user according to his own needs, and can be implemented by conventional technical means, so it will not be repeated here.

[0031] During the wireless channel polling monitoring process of the BP node, if the frequency set by the BP sub-node is different from the information frequency sent by the AP node, the signal received by the BP sub-node through the mixer will have a large frequency deviation (integer multiples of the channel interval) and cannot receive wireless signals. If the frequency set by the BP sub-node matches the information frequency sent by the AP node, the BP sub-node can detect the binding information sent by the corresponding AP node and perform further frequency deviation estimation.

[0032] 103) Information feedback step: The BP subnode sends response information to the AP node at a specific frequency point and time according to actual needs. The response information sent will be pre-compensated for frequency offset. Therefore, when the AP node communicates with the BP subnode, the AP node no longer needs to perform frequency offset estimation and frequency offset compensation.

[0033] This scheme distributes the frequency offset estimation and frequency offset compensation tasks between the AP node and multiple BP sub-nodes to multiple BP sub-nodes, thereby avoiding the problem of repeated calculation and compensation of the carrier frequency deviation between the AP node and the BP sub-nodes, and effectively reducing the computing power requirements of the AP node; at the same time, all the computing power in this scheme is evenly distributed to all BP sub-nodes, and will not significantly increase the computing pressure of the BP sub-nodes. Example

[0034] Based on the first embodiment, Figure 3 As shown, the binding information sent by the AP node includes a PN frame, a TOD frame and a binding frame. The TOD frame and the binding frame are data frames and are sent in this order. The data content of the TOD frame is the network control information, and the data content of the binding frame is the ID information of the BP subnode.

[0035] The structure of PN frame is as follows Figure 3 As shown, the PN frame includes a long PN sequence and a frequency deviation training word, which are used to calculate the frequency deviation between the AP node and the BP subnode and store it. Specifically, the PN frame also includes TG time slot protection, FC frequency switching time, AGC, a long PN sequence and Fre_est frequency deviation training word (i.e., frequency deviation sequence). AGC is used by the BP subnode to adjust the amplitude of the wireless received signal. The long PN sequence is used by the BP subnode for arrival detection and rough estimation of frequency deviation. The frequency deviation sequence is used by the BP subnode for accurate frequency deviation estimation, that is, the Fre_est frequency deviation training word is accurate information that can be used directly.

[0036] This solution uses independent PN frames to concentrate most of the frequency offset synchronization overhead requirements for all wireless messages into PN frames. As a result, in this solution, the number of data frames is much larger than PN frames during the information transmission cycle. By concentrating the frequency synchronization overhead through PN frames, the synchronization overhead of subsequent data frames is effectively saved, greatly improving the data throughput capacity and BP sub-node capacity of the wireless BMS network system.

[0037] like Figure 4 As shown, the TOD frame follows the PN frame, and the TOD frame includes a short PN sequence and a phase estimate, which are used to locate and phase calibrate the data, respectively. In terms of specific structure, the TOD frame also includes the head and tail TG time slot protection, AGC, a short PN sequence, a Ph phase estimate, and data. The time point at which the BP sub-node sends a response to the AP node is the time slot. AGC is used to adjust the amplitude of the received signal, and the short PN sequence and the Ph phase estimate are used to perform timing and phase calibration on the data. The data includes the data sent by the AP node to the BP sub-node, which also includes the response time point when the BP sub-node needs to send information to the AP node.

[0038] Specifically, the BP subnode first receives the PN frame in sequence, performs arrival detection and rough frequency deviation estimation based on the long PN sequence, and performs accurate frequency deviation estimation in combination with the Fre_est frequency deviation training word; that is, the frequency deviation training word is used to estimate the frequency deviation between the received wireless signal and the local crystal oscillator. Specific users can choose the implementation scheme of the arrival detection and frequency deviation estimation algorithm according to their own needs, which can be achieved by conventional technical means, so it will not be repeated here.

[0039] After receiving and processing the PN frame, the BP subnode receives the TOD frame of the data frame, and locates and calibrates the phase of the data according to the short PN sequence and Ph phase estimation in the TOD frame, so as to directly compensate the frequency offset of the data frame; finally, it receives the binding frame to determine whether the received frame is for the BP subnode. Specifically, the BP subnode first adjusts the amplitude of the subsequent signal of the received data frame according to AGC; then, according to the short PN sequence after AGC, it accurately locates the beginning of the data sequence; next, the BP subnode calculates the initial phase and compensation of the subsequent signal of the data frame according to the phase estimation.

[0040] After completing the above content, the BP sub-node decodes the data in the data frame and obtains the specific data information sent by the AP node to the BP sub-node.

[0041] In summary, adjusting the amplitude of the data frame, locating the starting position of the data symbol, and calculating and compensating the initial phase of the data frame can help eliminate interference items when decoding the data segment data and reduce the bit error rate when decoding the data. In the data frame structure, it is no longer necessary to use long PN sequences and frequency deviation estimation sequences to synchronize the frequency deviation. The BP subnode can extract the wireless network control information of the current AP node from the TOD frame; it can extract the ID information of each BP subnode from the binding frame and determine whether it belongs to the current AP node. The corresponding specific scheme can be selected according to its own needs, and the specific scheme of starting positioning, amplitude adjustment, and phase correction can be achieved by conventional technical means, so it will not be repeated here. Example

[0042] On the basis of the first or second embodiment, the first information feedback after the BP subnode completes the binding includes a binding feedback frame, and the AP node confirms the completion of the binding with the BP subnode according to the binding feedback frame. Naturally, the binding feedback frame may not be included in practice. In the initial design, the AP node can know how many BP subnodes need to be bound. As long as it sends the corresponding information, the BP subnode is bound accordingly by default. The feedback system designed here can better confirm the corresponding information.

[0043] The data sent by the BP child node to the AP node adopts the TOD frame format. The binding feedback frame can be sent later.

[0044] After the AP node establishes two-way communication with the BP subnode, the AP node does not need to perform frequency offset estimation calculations on the communication information. That is, the subsequent AP node can directly demodulate the data without performing frequency offset estimation and frequency offset compensation calculations, reducing the amount of calculations of the AP node. Because the crystal oscillator deviation between the AP node and the BP subnode can be considered to remain unchanged in a short period of time, the frequency offset information estimated by the BP subnode during the receiving process can be used in its sending process.

[0045] Specifically, when the BP subnode determines that it belongs to the current AP node, it will send a binding feedback frame to the AP node when sending information for the first time. After the BP subnode modulates the binding feedback frame information, it directly performs frequency deviation compensation for the information sent, that is, Figure 2 The pre-mixed part is sent in the process, and then the compensated information is mixed up and sent out. The frequency of the up-mixed frequency is the sending frequency of the AP node.

[0046] When the AP node receives the binding feedback frame, it can directly demodulate the data without performing frequency offset estimation and frequency offset compensation operations to obtain the information of the bound BP sub-nodes, thereby reducing the amount of calculation of the AP node.

[0047] When each BP sub-node sends binding feedback results to the AP node in the wireless BMS network system, it needs to determine the time point (also called time slot) of its own transmission through the network control information in the TOD frame to avoid signal interference problems that may be caused by multiple BP sub-nodes sending information at the same time.

[0048] After the AP node detects the information sent by the BP subnode, it confirms that the binding with the BP subnode is completed. The BP subnode may no longer send feedback binding frame information subsequently. Example

[0049] On the basis of Example 1, Example 2 or Example 3, as a preference, it also includes step 104) repeating step, repeating the above steps 101) to step 102) at intervals to perform rebinding and frequency synchronization correction. That is, under normal circumstances, in a short period of time, the subsequent two-way communication between the AP node and the BP subnode continues to operate, that is, the AP node and the BP subnode continue to use the frequency deviation estimation operation at the time of the initial binding for the data information, and there is no need to repeat the frequency deviation estimation operation. However, due to the particularity of the actual situation, if the BP subnode cannot be bound, it is necessary to change the frequency point for retransmission, or the frequency deviation error increases as time goes by, and the frequency synchronization needs to be re-performed. Therefore, it can also be set to re-operate the corresponding steps after a period of time to update the frequency deviation between the AP node and the BP subnode, and to ensure that the AP node and the BP subnode always maintain frequency synchronization and maintain binding connection.

[0050] In summary, this solution significantly reduces the amount of computation of AP nodes by allocating the frequency offset estimation operation to each BP sub-node, thereby improving the data processing speed of AP nodes. In addition, the frequency offset compensation of the two-way communication between AP nodes and BP sub-nodes is completely concentrated in the BP sub-node, avoiding the problem of repeated calculation and compensation of the same frequency offset between AP nodes and BP sub-nodes, reducing the implementation complexity and operating power consumption. On the other hand, in the transmission cycle, the number of data frames is much larger than that of PN frames. The frequency synchronization overhead is concentrated through PN frames, which effectively saves the synchronization overhead of subsequent data frames, and greatly improves the data throughput capacity and BP sub-node capacity of the wireless BMS network system.

[0051] It is worth noting that other technical features of the present invention belong to the existing technology and will not be described in detail.

[0052] The above is only a preferred embodiment of the present invention. It should be pointed out that ordinary technicians in this technical field can make several improvements and modifications without departing from the concept of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A frequency synchronization method for a wireless BMS system, Features: It includes an AP node and multiple BP sub-nodes managed by the AP node; the specific frequency synchronization steps of the AP node and the BP sub-node are as follows: 101) Information sending step: The AP node periodically sends information including PN frames, TOD frames and binding frames to all BP child nodes in sequence; 102) Sub-node information processing and storage binding steps: The BP sub-node estimates the frequency deviation through the PN frame, obtains the network control information through the TOD frame, confirms the ownership relationship with the AP node through the information of the binding frame, performs frequency deviation estimation and binding operations, and stores the corresponding information; 103) Information return step: The BP subnode sends corresponding information to the AP node at a specific frequency and time according to actual needs. The corresponding information sent will be pre-compensated for frequency deviation; Among them, TOD frame and binding frame belong to data frame; PN frame includes long PN sequence and Fre_est frequency deviation training word, which is used to calculate the frequency deviation between AP node and BP sub-node; PN frame also includes TG time slot protection, FC frequency switching time, AGC; AGC is used by BP sub-node to adjust the amplitude of wireless receiving signal, long PN sequence is used by BP sub-node for arrival detection and rough frequency deviation estimation, and Fre_est frequency deviation training word is used by BP sub-node for accurate frequency deviation estimation; The data frame also includes a short PN sequence and a Ph phase estimate, which are used to locate and calibrate the data phase, respectively; The BP sub-node first receives the PN frame in sequence, performs arrival detection and rough frequency deviation estimation based on the long PN sequence, and accurately estimates the frequency deviation in combination with the Fre_est frequency deviation training word; then receives the TOD frame of the data frame, and locates and phase-calibrates the data according to the short PN sequence and Ph phase estimation in the TOD frame; finally, receives the binding frame to determine whether the frame received this time is for the BP sub-node; uses an independent PN frame to concentrate the frequency deviation synchronization overhead requirements for all wireless messages into the PN frame, and subsequent TOD frames use the frequency deviation estimation data of the PN frame, and no longer perform frequency deviation estimation operations. In the entire cycle, the number of data frames is greater than the PN frame, and the frequency synchronization overhead is concentrated through the PN frame.

2. A wireless BMS system frequency synchronization method according to claim 1, Features: The data content of the TOD frame is the network control information, and the data content of the binding frame is the ID information of the BP subnode.

3. A wireless BMS system frequency synchronization method according to claim 1, Features: The BP subnode has a built-in mixer and is set at a specific frequency. If the frequency set by the BP subnode is different from the frequency of the information sent by the AP node, the signal received by the BP subnode through the mixer will have a very large frequency deviation and cannot be received and demodulated; If the frequency set by the BP sub-node matches the frequency of the information sent by the AP node, the BP sub-node can detect the PN frame sent by the corresponding AP node and perform further frequency offset estimation.

4. A wireless BMS system frequency synchronization method according to claim 1, Features: The method further comprises step 104) repeating the step of repeating the steps 101) to 102) at intervals to perform rebinding and frequency synchronization correction.

5. A wireless BMS system frequency synchronization method according to claim 1, Features: The first information feedback after the BP subnode completes the binding includes a binding feedback frame, and the AP node confirms the completion of the binding with the BP subnode according to the binding feedback frame.

6. A wireless BMS system frequency synchronization method according to claim 5, Features: After the AP node establishes two-way communication with the BP sub-node, the AP node does not need to perform frequency offset estimation and frequency offset compensation for the communication information.

Citation Information

Patent Citations

  • Method for realizing synchronization of carrier and sampling clock, and user site device

    CN102694762A