A quick response control method for transmitting power of a WiFi module
Patent Information
- Application Number
- CN202611038552.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-13
- Publication Date
- 2026-10-16
AI Technical Summary
并且,若强行加快硬件的电压切换速度,又会立刻导致射频信号波形严重失真
通过持续扫描发送队列并获取当前信道竞争状态,当识别到待发送数据帧为高优先级且信道拥堵时,生成跨层中断信令并直接下发给功率放大器,使其在数据帧到达物理层前提前进行功率预热。随后,调用射频开关矩阵在电源管理芯片的多个固定电压轨中直接选通目标电压轨,使功率放大器的供电电压瞬间完成离散式硬切换。在此过程中,实时获取功率放大器的当前结温,通过基带芯片的多维映射表匹配出对应的预畸变补偿系数并生成反向畸变信号,随后将硬件触发时钟与反向畸变信号的信号时钟进行纳秒级对齐,向数字域同步注入该反向畸变信号,以完美抵消电压瞬变产生的物理失真。接着,当判断需要下调目标发射功率时,根据计算出的物理覆盖范围收缩比例,同步上调设备的空闲信道评估阈值,以屏蔽远端微弱信号的干扰。最后,当结温逼近保护临界值且面临极高优先级业务时,系统将屏蔽常规的高频降频保护机制,允许透支热量强行以最大功率发送,并在发送完毕后强制挂起低优先级队列进行散热。提升了WiFi模组发射功率响应的快速性、稳定性和数据安全性。
Smart Images

Figure CN122934428A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication technology, and in particular to a fast response control method for the transmit power of a WiFi module. Background Technology
[0002] In wireless communication networks, the WiFi module is the core hub for data transmission, and its transmission power control directly affects the overall network communication quality and the degree of signal interference between nodes. In high-density wireless network environments, adjusting the transmission power reasonably and quickly is a key factor in reducing the probability of channel collisions and ensuring efficient data frame transmission.
[0003] In existing technologies, adjusting the transmit power of WiFi modules typically relies on conventional software scheduling algorithms combined with continuous linear voltage regulation technology from power management chips. This approach has two drawbacks: firstly, conventional software feedback regulation mechanisms suffer from significant cross-layer transmission delays. By the time the power adjustment command reaches the physical layer, the channel contention state has often changed, easily leading to data packet collisions; secondly, traditional continuous voltage regulation methods are limited by the physical characteristics of the underlying capacitor's charging and discharging, resulting in noticeable voltage ramp-up delays that cannot meet the microsecond-level response requirements of modern communications. Furthermore, forcibly accelerating the hardware voltage switching speed immediately causes severe distortion of the RF signal waveform. Therefore, overcoming the delay barriers between software and hardware to achieve rapid response control and stable output of WiFi module transmit power has become a pressing issue. Summary of the Invention
[0004] The purpose of this invention is to provide a fast response control method for the transmission power of a WiFi module to solve the problems mentioned in the background art.
[0005] This application provides a fast response control method for the transmit power of a WiFi module, the method comprising: The system continuously scans the transmission queue and obtains the current channel contention status. When it is identified that the current priority of the data frame to be transmitted at the head of the transmission queue is high and the current channel is congested, a cross-layer interruption signaling is generated. The cross-layer interrupt signaling is directly sent to the power amplifier, which controls the power amplifier to perform power preheating before the data frame to be sent arrives at the physical layer. Based on the cross-layer interrupt signaling, a preset RF switch matrix is invoked to select the target voltage rail from multiple fixed voltage rails output by the power management chip, and the power supply voltage of the power amplifier is switched to the target voltage rail; Obtain the current junction temperature of the power amplifier and the multidimensional mapping table in the baseband chip, match the pre-distortion compensation coefficient of the target voltage rail at the current junction temperature according to the multidimensional mapping table, and generate a reverse distortion signal according to the pre-distortion compensation coefficient. Extract the trigger clock of the RF switch matrix and the signal clock of the inverse distortion signal, and perform clock alignment to obtain the target trigger clock. Based on the target trigger clock, inject the inverse distortion signal into the digital domain. When it is determined that the target transmit power of the data frame to be transmitted needs to be reduced based on the current channel contention state and the current priority, the proportion of physical coverage area caused by the reduction is identified, and the idle channel evaluation threshold is increased based on the proportion of physical coverage area. When the current junction temperature reaches the preset protection threshold and the current priority is high priority, the device's preset high-frequency reduction protection mechanism is disabled, and the data frame to be sent is sent. After the sending is completed, the low-priority data frame queue is forcibly suspended for heat dissipation.
[0006] Preferably, the step of continuously scanning the transmission queue and obtaining the current channel contention status, and generating cross-layer interrupt signaling when the current priority of the data frame to be transmitted at the head of the transmission queue is identified as high priority and the current channel is congested, specifically includes: Obtain the transmission queue located within the media access control layer, parse the header data of the transmission queue, extract the service control field of the header data, and determine the current priority of the data frame to be transmitted based on the service control field; The inter-frame interval time window preset in the communication standard is used to perform snapshot sampling of the channel noise floor and received signal strength indication parameters within the inter-frame interval time window, generate environmental sampling feature data, and obtain the current channel contention state based on the environmental sampling feature data. Arrange the continuous environmental sampling feature data in chronological order, and extract the noise rise slope in the environmental sampling feature data; The noise rise slope is compared with a preset congestion determination threshold. When the noise rise slope exceeds the congestion determination threshold, the current channel is determined to be congested. The current priority is identified. When the current priority is identified as high and the current channel is congested, the physical layer direct interface is invoked, and cross-layer interruption signaling that bypasses the regular data payload path is generated based on the physical layer direct interface.
[0007] Preferably, the step of directly sending the cross-layer interrupt signaling to the power amplifier and controlling the power amplifier to perform power preheating before the data frame to be transmitted arrives at the physical layer specifically includes: The cross-layer interrupt signaling is directly sent to the power amplifier in the underlying radio frequency communication link to wake up the power amplifier; After receiving the cross-layer interruption signaling, the power amplifier extracts the power level indication parameter from the cross-layer interruption signaling and determines the target bias current value required by the power amplifier based on the power level indication parameter. Extract the transmission delay time parameter of the data frame to be sent from the medium access control layer to the physical layer, and configure the transmission delay time parameter as the warm-up time window of the power amplifier; During the preheating time window, the target bias current value is injected into the power amplifier, so that the power amplifier enters the corresponding power preheating state before the data frame to be sent arrives at the physical layer.
[0008] Preferably, the step of calling a preset RF switch matrix to select a target voltage rail from multiple fixed voltage rails output by the power management chip based on the cross-layer interrupt signaling, and switching the power amplifier's supply voltage to the target voltage rail, specifically includes: Obtain the parallel output pin located inside the power management chip, and control the parallel output pin to synchronously output multiple fixed voltage rails that are independent of each other and have different voltage amplitudes; Based on the power level indication parameters, a matching and screening process is performed among multiple fixed voltage rails to obtain a target voltage rail that meets the transmission requirements of the data frame to be sent. The semiconductor switching circuit connected in series between the power management chip and the power supply terminal of the power amplifier is invoked, and the semiconductor switching circuit is used as a preset radio frequency switch matrix; The radio frequency switch matrix is controlled to close the physical gating circuit corresponding to the target voltage rail, so that the power supply voltage of the power amplifier is discretely switched to the target voltage rail.
[0009] Preferably, the steps of obtaining the current junction temperature of the power amplifier and the multidimensional mapping table in the baseband chip, matching the pre-distortion compensation coefficient of the target voltage rail at the current junction temperature according to the multidimensional mapping table, and generating a reverse distortion signal according to the pre-distortion compensation coefficient are specifically as follows: A digital temperature sensor is attached to the heat-generating core of the power amplifier. The actual temperature value of the core inside the power amplifier is collected in real time through the digital temperature sensor, and the actual temperature value is used as the current junction temperature. Extract the multidimensional mapping table pre-stored in the baseband chip. The multidimensional mapping table contains the numerical correspondence between different power supply voltages, different chip temperatures and the nonlinear distortion parameters of the power amplifier. Extract the voltage amplitude of the target voltage rail, use the voltage amplitude and the current junction temperature as index labels, and perform cross-data retrieval in the multidimensional mapping table to obtain the pre-distortion compensation coefficient; The pre-distortion compensation coefficients are input into the digital signal processor inside the baseband chip, and the digital signal processor performs an inverse operation on the pre-distortion compensation coefficients to generate an inverse distortion signal.
[0010] Preferably, the step of extracting the trigger clock of the RF switch matrix and the signal clock of the inverse distortion signal, aligning the clocks to obtain the target trigger clock, and injecting the inverse distortion signal into the digital domain according to the target trigger clock specifically includes: Acquire a first edge trigger signal that controls the RF switch matrix to perform a closing action, extract a first timestamp of the first edge trigger signal, and use the first timestamp as the trigger clock of the RF switch matrix; The second edge trigger signal of the baseband chip scheduling the inverse distortion signal into the transmitted data stream is obtained, the second timestamp of the second edge trigger signal is extracted, and the second timestamp is used as the signal clock of the inverse distortion signal. The phase error between the trigger clock and the signal clock is captured, and clock alignment compensation is performed based on the phase error to generate a target trigger clock that is completely synchronized with the phase. Based on the target trigger clock, during the same cycle in which the power amplifier's supply voltage switches to the target voltage rail, the baseband chip is controlled to directly inject the reverse distortion signal into the baseband signal stream in the digital domain.
[0011] Preferably, when it is determined that the target transmit power of the data frame to be transmitted needs to be reduced based on the current channel contention state and the current priority, the step of identifying the physical coverage area ratio caused by the reduction and increasing the idle channel evaluation threshold according to the physical coverage area ratio specifically includes: By combining the overall network load parameters in the current channel contention state with the current priority, a reference transmit power is obtained to maintain the optimal throughput of the entire network. Determine whether the reference transmit power is lower than the rated power of the power amplifier. If the reference transmit power is lower than the rated power, then extract the target transmit power of the data frame to be transmitted that needs to be reduced. Extract the power difference between the target transmission power and the rated power, and obtain the value of the reduction in communication coverage radius due to the power reduction based on the power difference; Obtain the original rated communication radius in the channel, and calculate the ratio of the reduced communication coverage radius to the original rated communication radius to obtain the physical coverage ratio; Obtain the initial receive sensitivity threshold of the local machine, obtain the corresponding noise shielding compensation value according to the physical coverage ratio, combine the initial receive sensitivity threshold with the noise shielding compensation value, and increase the idle channel evaluation threshold of the local machine.
[0012] Preferably, the steps of determining that when the current junction temperature reaches a preset protection threshold and the current priority is high priority, the device's preset high-frequency down-frequency protection mechanism is disabled, and the data frame to be sent is transmitted, and the low-priority data frame queue is forcibly suspended for heat dissipation after transmission is completed, specifically include: The current junction temperature, which is collected in real time, is compared with a preset protection threshold value to determine whether the current junction temperature is greater than the protection threshold value. If it is determined that the current junction temperature has reached the protection threshold and the current priority of the data frame to be sent is high priority, an over-authorization control command is generated and sent to the power management unit of the WiFi module. Based on the unauthorized control command, the temperature protection interruption request signal line is cut off, and the high-frequency reduction protection mechanism preset by the shielding device is shielded. The transmission status of the data frame to be sent is monitored. After the data frame to be sent is completed, the newly accumulated heat due to heat overdraft is obtained, and a forced sleep time window is generated based on the newly accumulated heat. Within the forced sleep time window, a queue freeze command is generated. Based on the queue freeze command, the low-priority data frame queue in the media access control layer is forcibly suspended to stop the transmission scheduling, and the power amplifier is cooled.
[0013] In summary, this application includes at least one of the following beneficial technical effects: By continuously scanning the transmission queue and acquiring the current channel contention status, when a high-priority data frame to be transmitted is identified and the channel is congested, a cross-layer interrupt signaling is generated and directly sent to the power amplifier, allowing it to preheat its power before the data frame reaches the physical layer. Subsequently, the RF switch matrix is invoked to directly select the target voltage rail from multiple fixed voltage rails of the power management chip, enabling the power amplifier's supply voltage to instantly complete a discrete hard switch. During this process, the current junction temperature of the power amplifier is acquired in real time, and the corresponding pre-distortion compensation coefficient is matched using the multi-dimensional mapping table of the baseband chip to generate a reverse distortion signal. Then, the hardware trigger clock is aligned with the signal clock of the reverse distortion signal at the nanosecond level, and the reverse distortion signal is synchronously injected into the digital domain to perfectly cancel the physical distortion caused by voltage transients. Next, when it is determined that the target transmit power needs to be reduced, the idle channel evaluation threshold of the device is synchronously increased according to the calculated physical coverage shrinkage ratio to shield the interference of weak signals from afar. Finally, when the junction temperature approaches the protection threshold and is subjected to extremely high-priority services, the system will disable the conventional high-frequency down-conversion protection mechanism, allowing it to overheat and transmit at maximum power. After transmission is complete, it will forcibly suspend low-priority queues for heat dissipation. This improves the speed, stability, and data security of the WiFi module's transmit power response. Attached Figure Description
[0014] Figure 1 This is a flowchart of a fast response control method for the transmission power of a WiFi module provided in an embodiment of this application. Detailed Implementation
[0015] The following combination Figure 1 This application will be described in further detail, but the embodiments of the present invention are not limited thereto.
[0016] This application discloses a fast response control method for the transmission power of a WiFi module.
[0017] In this embodiment, a fast response control method for the transmission power of a WiFi module is provided, the method comprising: S100: Continuously scan the transmission queue and obtain the current channel contention status. When it is identified that the current priority of the data frame to be transmitted at the head of the transmission queue is high and the current channel is congested, generate cross-layer interruption signaling. S200: Directly send the cross-layer interrupt signaling to the power amplifier to control the power amplifier to perform power preheating before the data frame to be sent arrives at the physical layer; S300: Based on cross-layer interrupt signaling, it calls a preset RF switch matrix to select the target voltage rail from multiple fixed voltage rails output by the power management chip, and switches the power supply voltage of the power amplifier to the target voltage rail; S400: Obtain the current junction temperature of the power amplifier and the multidimensional mapping table in the baseband chip, match the pre-distortion compensation coefficient of the target voltage rail at the current junction temperature according to the multidimensional mapping table, and generate the reverse distortion signal according to the pre-distortion compensation coefficient. S500: Extracts the trigger clock of the RF switch matrix and the signal clock of the reverse distortion signal, performs clock alignment to obtain the target trigger clock, and injects the reverse distortion signal into the digital domain according to the target trigger clock. S600: When it is determined that the target transmit power of the data frame to be transmitted needs to be reduced based on the current channel contention status and current priority, the physical coverage area ratio caused by the reduction is identified, and the idle channel evaluation threshold is increased according to the physical coverage area ratio. S700: When the current junction temperature reaches the preset protection threshold and the current priority is high priority, the device's preset high-frequency reduction protection mechanism is disabled, and the data frame to be sent is sent. After the sending is completed, the low-priority data frame queue is forcibly suspended for heat dissipation.
[0018] The process of continuously scanning the transmission queue and obtaining the current channel contention status, and generating cross-layer interrupt signaling when the current priority of the data frame to be transmitted at the head of the transmission queue is identified as high, and the current channel is congested, is as follows: Obtain the transmission queue located within the media access control layer, parse the header data of the transmission queue, extract the service control field from the header data, and determine the current priority of the data frame to be transmitted based on the service control field; The system collects the inter-frame interval time window preset in the communication standard, performs snapshot sampling of the channel noise floor and received signal strength indication parameters within the inter-frame interval time window, generates environmental sampling feature data, and obtains the current channel contention state based on the environmental sampling feature data. Arrange continuous environmental sampling feature data in chronological order and extract the noise rise slope from the environmental sampling feature data. The noise rise slope is compared with a preset congestion threshold. When the noise rise slope exceeds the congestion threshold, the current channel is determined to be congested. The current priority is identified. When the current priority is identified as high and the current channel is congested, the physical layer direct interface is invoked, and cross-layer interruption signaling that bypasses the regular data payload path is generated based on the physical layer direct interface.
[0019] In practice, let's take a WiFi module operating in a high-density office building as an example. This WiFi module is installed in the office building's conference room, responsible for providing network connectivity for a large number of mobile devices. First, the module's media access control layer has a transmission queue, which stores data frames waiting to be transmitted. The system retrieves this transmission queue and parses the fields of a data frame at the head of the queue. After parsing, it is found that the header data of this data frame contains a service control field, the value of which is marked as "urgent video stream". Based on this mark, the system determines that the current priority of this data frame to be transmitted is high priority. At the same time, the system needs to determine the current channel contention status. According to the communication standard, the system quickly samples the channel noise floor and received signal strength indicator parameters within a preset inter-frame interval time window. The sampling results show that in the last five time windows, the average noise floor has risen rapidly from -90dBm to -75dBm, and the received signal strength indicator parameter shows that there are more than fifteen active signal sources in the vicinity. These sampled data are organized into environmental sampling feature data. The system arranges these continuous feature data in chronological order and extracts the noise rise slope from them. Calculations revealed that the noise level increased by 15 dB in the last 2 milliseconds, with a slope of 7.5 dB / ms. The system compared this slope with the preset congestion threshold of 5 dB / ms. Since 7.5 is greater than 5, the system determined that the current channel was congested. Next, the system identified the current priority as high and the current channel as congested. Therefore, it invoked the physical layer direct interface, which can bypass the regular data payload path and directly generate a cross-layer interrupt signaling. This signaling was immediately created and prepared for transmission.
[0020] The process of directly sending cross-layer interrupt signaling to the power amplifier and controlling the power amplifier to perform power preheating before the data frame to be transmitted arrives at the physical layer is as follows: The cross-layer interrupt signaling is directly sent to the power amplifier in the underlying radio frequency communication link to wake up the power amplifier; After receiving the cross-layer interrupt signaling, the power amplifier extracts the power level indication parameter from the cross-layer interrupt signaling and determines the target bias current value required by the power amplifier based on the power level indication parameter. Extract the transmission delay time parameter of the data frame to be sent from the medium access control layer to the physical layer, and configure the transmission delay time parameter as the warm-up time window of the power amplifier; During the warm-up time window, the target bias current value is injected into the power amplifier so that the power amplifier enters the corresponding power warm-up state before the data frame to be sent arrives at the physical layer.
[0021] In practice, let's take a WiFi module operating in a high-density office building as an example. The generated cross-layer interruption signal is directly sent to the power amplifier in the underlying RF communication link. This power amplifier is a key component of the module, responsible for amplifying the signal. After receiving this cross-layer interruption signal, the power amplifier first extracts the power level indication parameter from the signal. The parameter indicates that the transmit power needs to be increased to level 3, corresponding to the maximum power output. Based on this level, the power amplifier calculates the required target bias current value of 120mA. At the same time, the system knows that the "emergency video stream" data frame to be sent is being transmitted from the Media Access Control layer down to the Physical layer. The system extracts the delay time parameter of this transmission process; empirical data shows that this delay is usually around 1.5 milliseconds. The system configures this 1.5 milliseconds as the warm-up time window for the power amplifier. Within this 1.5 millisecond warm-up time window, the system injects a target bias current of 120mA into the power amplifier. This allows the internal circuitry of the power amplifier to quickly activate and stabilize to the working state. As a result, before the "emergency video stream" data frame arrives at the physical layer to be RF modulated and transmitted, the power amplifier has already entered the corresponding power preheating state, ready for high-power transmission, eliminating the possibility of transmission delay due to hardware startup delay.
[0022] Based on cross-layer interrupt signaling, the steps of calling a preset RF switch matrix to select a target voltage rail from multiple fixed voltage rails output by the power management chip, and switching the power amplifier's supply voltage to the target voltage rail are as follows: Obtain the parallel output pins located inside the power management chip, and control the parallel output pins to synchronously output multiple fixed voltage rails that are independent of each other and have different voltage amplitudes; Based on the power level indication parameters, a target voltage rail that meets the transmission requirements of the data frame to be sent is obtained by matching and filtering among multiple fixed voltage rails. The semiconductor switching circuit connected in series between the power management chip and the power amplifier is invoked, and the semiconductor switching circuit is used as a preset RF switch matrix. The control RF switch matrix closes the physical gating circuit corresponding to the target voltage rail, so that the power amplifier's supply voltage is discretely switched to the target voltage rail.
[0023] In practice, let's take a WiFi module operating in a high-density office building as an example. Based on the generated cross-layer interrupt signaling, the system begins processing the power amplifier's supply voltage switching. First, it obtains the parallel output pins located inside the power management chip. These pins are controlled to simultaneously output three independent fixed voltage rails with different voltage amplitudes: 3.3V, 4.2V, and 5.0V. The system matches and filters among these three fixed voltage rails according to the power level indication parameter (Level 3, corresponding to high power) in the cross-layer interrupt signaling. Level 3 requires higher voltage support, so the system selects the 5.0V voltage rail as the target voltage rail to meet the transmission requirements of the "emergency video stream" data frames. Next, the system calls the semiconductor switching circuit connected in series between the power management chip and the power amplifier's power supply terminal. This circuit, composed of high-speed MOSFET switches, is used as a preset RF switch matrix. The system controls this RF switch matrix to close the physical selection loop corresponding to the 5.0V target voltage rail. Simultaneously, the 3.3V loop originally connected to the power amplifier is disconnected. This process was completed almost instantaneously, with the power amplifier's supply voltage switching directly from 3.3V to 5.0V in a discrete manner, without undergoing a slow voltage ramp-up process, thus providing an immediate and stable voltage supply for subsequent high-power transmission.
[0024] The steps of obtaining the current junction temperature of the power amplifier and the multidimensional mapping table in the baseband chip, matching the pre-distortion compensation coefficient of the target voltage rail at the current junction temperature according to the multidimensional mapping table, and generating the reverse distortion signal according to the pre-distortion compensation coefficient are as follows: A digital temperature sensor is attached to the heat-generating core of the power amplifier. The actual temperature value of the core inside the power amplifier is collected in real time through the digital temperature sensor, and the actual temperature value is used as the current junction temperature. Extract the multidimensional mapping table pre-stored in the baseband chip. The multidimensional mapping table contains the numerical correspondence between different supply voltages, different chip temperatures and power amplifier nonlinear distortion parameters. Extract the voltage amplitude of the target voltage rail, use the voltage amplitude and the current junction temperature as index labels, and perform cross-data retrieval in the multidimensional mapping table to obtain the pre-distortion compensation coefficient; The pre-distortion compensation coefficients are input into the digital signal processor inside the baseband chip. The digital signal processor performs an inverse operation on the pre-distortion compensation coefficients to generate an inverse distortion signal.
[0025] In practice, let's take a WiFi module operating in a high-density office building as an example. During power supply voltage switching, the system needs to handle signal distortion that may be caused by voltage transients. It first acquires data from a digital temperature sensor attached to the heat-generating core of the power amplifier. This sensor collects the actual temperature of the power amplifier's internal core in real time; the current reading is 65 degrees Celsius, which the system uses as the current junction temperature of the power amplifier. Then, the system retrieves a pre-stored multidimensional mapping table from the baseband chip. This table contains specific numerical correspondences between different supply voltages (e.g., 3.3V, 4.2V, 5.0V), different chip temperatures (from 40°C to 90°C), and nonlinear distortion parameters of the power amplifier (e.g., harmonic distortion). The system extracts the voltage amplitude of the selected target voltage rail, 5.0V, and uses this 5.0V and the current junction temperature of 65°C as a pair of index labels for cross-data retrieval in the multidimensional mapping table. The search results show that under 5.0V power supply and 65°C junction temperature conditions, the power amplifier will produce a specific nonlinear distortion, with a corresponding pre-distortion compensation coefficient of 0.15. The system inputs this coefficient of 0.15 into the digital signal processor (DSP) inside the baseband chip. The DSP inverts this coefficient, calculating its reciprocal of approximately 6.67, and generates a specific inverse distortion signal based on this value. This signal has the exact opposite waveform to the distortion that the amplifier will produce, and is prepared for subsequent digital domain injection to compensate for the physical distortion.
[0026] The steps of extracting the trigger clock of the RF switch matrix and the signal clock of the inverse distortion signal, aligning the clocks to obtain the target trigger clock, and injecting the inverse distortion signal into the digital domain based on the target trigger clock are as follows: Acquire the first edge trigger signal that controls the RF switch matrix to perform a closing action, extract the first timestamp of the first edge trigger signal, and use the first timestamp as the trigger clock of the RF switch matrix; The second edge trigger signal of the baseband chip scheduling reverse distortion signal is obtained into the transmitted data stream. The second timestamp of the second edge trigger signal is extracted and used as the signal clock of the reverse distortion signal. Capture the phase error between the trigger clock and the signal clock, perform clock alignment compensation based on the phase error, and generate a target trigger clock that is completely phase synchronized; Based on the target trigger clock, during the same cycle when the power amplifier's supply voltage switches to the target voltage rail, the control baseband chip directly injects the reverse distortion signal into the baseband signal stream in the digital domain.
[0027] In practice, let's take a WiFi module operating in a high-density office building as an example. The system needs to ensure that the injection timing of the reverse distortion signal is perfectly synchronized with the voltage switching to effectively cancel out distortion. It first acquires the first edge trigger signal that controls the RF switch matrix to perform a closing action (i.e., switching to 5.0V). This signal is a digital pulse, and the system extracts its precise timestamp, denoted as T1 = 1523345.667 nanoseconds, and uses this as the trigger clock for the RF switch matrix. Simultaneously, the system acquires the second edge trigger signal that schedules the reverse distortion signal into the transmitted data stream via the baseband chip. This signal is also a digital pulse with a timestamp of T2 = 1523345.662 nanoseconds, which the system uses as the signal clock for the reverse distortion signal. The system captures the phase error between these two clocks and calculates that T2 is 5 nanoseconds earlier than T1. Based on this 5-nanosecond phase error, the system performs clock alignment compensation, generating a new, perfectly synchronized target trigger clock by delaying the scheduling of the reverse distortion signal, thus aligning the start time of the two actions to 1523345.667 nanoseconds. Based on this precisely aligned target trigger clock, the system controls the baseband chip to directly inject the generated inverse distortion signal into the baseband signal stream in the digital domain within the same cycle (i.e., the cycle starting at 1523345.667 nanoseconds) when the power amplifier's supply voltage switches to the 5.0V target voltage rail. In this way, the physical distortion caused by the voltage switching and the inverse distortion injected into the digital domain are perfectly matched in time, thus pre-canceling the distortion before signal transmission.
[0028] When it is determined that the target transmit power of the data frame to be transmitted needs to be reduced based on the current channel contention state and current priority, the steps to identify the physical coverage area ratio resulting from the reduction and to increase the idle channel evaluation threshold based on the physical coverage area ratio are as follows: By combining the overall network load parameters and current priority in the current channel contention state, the reference transmit power for maintaining the optimal throughput of the entire network is obtained; Determine whether the reference transmit power is lower than the rated power of the power amplifier. If it is determined that the reference transmit power is lower than the rated power, then extract the target transmit power of the data frame to be transmitted that needs to be reduced. Extract the power difference between the target transmit power and the rated power, and based on the power difference, obtain the value of the reduction in communication coverage radius due to power reduction; Obtain the original rated communication radius in the channel, calculate the ratio of the reduced communication coverage radius to the original rated communication radius, and obtain the physical coverage ratio. Obtain the initial receive sensitivity threshold of the local machine, obtain the corresponding noise shielding compensation value according to the proportion of physical coverage, combine the initial receive sensitivity threshold with the noise shielding compensation value, and adjust the idle channel evaluation threshold of the local machine upward.
[0029] In practice, let's take a WiFi module operating in a high-density office building as an example. After sending a high-priority frame, the system continuously monitors the network. Combining the data from the current channel contention state (overall network load parameters show an increase in active nodes to 20) and the current priority of subsequent data frames to be sent (at this point, a new data frame is identified with a normal priority), the system calculates that to maintain optimal network throughput for the entire office building, the current reference transmit power should be level 1 (lower power). The system determines that this reference transmit power level 1 is lower than the current rated power level 3 of the power amplifier. Therefore, the system determines that the target transmit power of this new data frame needs to be reduced. The system extracts the power difference between the target transmit power (level 1) and the rated power (level 3). This difference leads to a decrease in the strength of the transmitted signal, thereby reducing the communication coverage radius. Based on the known power-radius model, the system calculates that due to the power reduction, the communication coverage radius is reduced by approximately 8 meters. The system obtains the original rated communication radius of this module at rated power, assumed to be 50 meters. It calculates the ratio of the reduced radius of 8 meters to the original radius of 50 meters, resulting in a physical coverage ratio of 0.16 (i.e., 16%). Next, the system obtains the initial receiver sensitivity threshold, assumed to be -82dBm. Based on the physical coverage ratio of 0.16, the system calculates the corresponding noise shielding compensation value of 3dB. It combines the initial receiver sensitivity threshold of -82dBm with the compensation value of 3dB, raising the threshold to -79dBm, and accordingly increasing the idle channel assessment threshold of the device. This means that when determining whether a channel is idle, the module will ignore weaker signals (signals below -79dBm), thus avoiding misjudging that weak signals from afar are occupying the channel due to its own power reduction, and reducing unnecessary transmission waiting.
[0030] When the current junction temperature reaches the preset protection threshold and the current priority is high, the device's preset high-frequency throttling protection mechanism is disabled, and the data frame to be sent is transmitted. After transmission is completed, the low-priority data frame queue is forcibly suspended for heat dissipation. The specific steps are as follows: The current junction temperature, collected in real time, is compared with the preset protection threshold to determine whether the current junction temperature exceeds the protection threshold. If it is determined that the current junction temperature has reached the protection threshold and the current priority of the data frame to be sent is high priority, an over-authority control command is generated and sent to the power management unit of the WiFi module. The temperature protection interruption request signal line is cut off based on the unauthorized control command, and the high-frequency reduction protection mechanism preset by the shielding device is shielded. The transmission status of the data frame to be sent is monitored. After the data frame to be sent is completed, the newly accumulated heat due to heat overdraft is obtained, and a forced sleep time window is generated based on the newly accumulated heat. Within the forced sleep time window, a queue freeze command is generated. Based on the queue freeze command, the low-priority data frame queue in the media access control layer is forcibly suspended to stop the transmission schedule, and the power amplifier is cooled.
[0031] In practice, let's take a WiFi module operating in a high-density office building as an example. The system continuously monitors the temperature of the power amplifier. The current junction temperature, collected in real time by the digital temperature sensor, continues to rise, reaching 78 degrees Celsius. The system compares this 78 degrees Celsius with the preset protection threshold of 75 degrees Celsius, determining that the current junction temperature exceeds the threshold. Simultaneously, the system detects a new data frame to be sent at the head of the transmission queue, its service control field marked as "Emergency Control Command," with a high priority. In this situation, the system generates an overriding control command and sends it to the WiFi module's power management unit. Based on this overriding control command, the system hardware-wise disconnects a dedicated temperature protection interrupt request signal line used to trigger temperature protection, thereby disabling the device's preset high-frequency frequency reduction protection mechanism (this mechanism typically reduces the chip's operating frequency to cool it down at high temperatures). After this disabling, the system allows the power amplifier to continue operating at high power. The system monitors the transmission of this "Emergency Control Command" data frame, which is successfully transmitted. After transmission, the power amplifier generated additional heat due to continued high power operation at high junction temperature. Based on temperature sensor data, the system estimated the additional accumulated heat to be 15 joules. Based on this heat value, the system generated a forced sleep window of 100 milliseconds. Within this 100-millisecond forced sleep window, the system generated a queue freeze command. According to this command, the system forcibly suspended all data frame queues marked "low" or "normal" priority in the media access control layer, ceasing the transmission scheduling of data frames in these queues. During this period, the power amplifier stopped transmitting, allowing its internal circuitry and heat sink to dissipate heat at full capacity, with the temperature gradually decreasing from 78 degrees Celsius, restoring safe operating temperature conditions for subsequent potentially high-priority tasks.
[0032] The above are all preferred embodiments of this application, and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the structure, shape and principle of this application should be covered within the scope of protection of this application.
Claims
1. A fast response control method for the transmission power of a WiFi module, characterized in that, include: The system continuously scans the transmission queue and obtains the current channel contention status. When it is identified that the current priority of the data frame to be transmitted at the head of the transmission queue is high and the current channel is congested, a cross-layer interruption signaling is generated. The cross-layer interrupt signaling is directly sent to the power amplifier, which controls the power amplifier to perform power preheating before the data frame to be sent arrives at the physical layer. Based on the cross-layer interrupt signaling, a preset RF switch matrix is invoked to select the target voltage rail from multiple fixed voltage rails output by the power management chip, and the power supply voltage of the power amplifier is switched to the target voltage rail; Obtain the current junction temperature of the power amplifier and the multidimensional mapping table in the baseband chip, match the pre-distortion compensation coefficient of the target voltage rail at the current junction temperature according to the multidimensional mapping table, and generate a reverse distortion signal according to the pre-distortion compensation coefficient. Extract the trigger clock of the RF switch matrix and the signal clock of the inverse distortion signal, and perform clock alignment to obtain the target trigger clock. Based on the target trigger clock, inject the inverse distortion signal into the digital domain. When it is determined that the target transmit power of the data frame to be transmitted needs to be reduced based on the current channel contention state and the current priority, the proportion of physical coverage area caused by the reduction is identified, and the idle channel evaluation threshold is increased based on the proportion of physical coverage area. When the current junction temperature reaches the preset protection threshold and the current priority is high priority, the device's preset high-frequency reduction protection mechanism is disabled, and the data frame to be sent is sent. After the sending is completed, the low-priority data frame queue is forcibly suspended for heat dissipation.
2. The fast response control method for the transmission power of a WiFi module according to claim 1, characterized in that, The steps for continuously scanning the transmission queue and obtaining the current channel contention status, and generating cross-layer interruption signaling when the current priority of the data frame to be transmitted at the head of the transmission queue is identified as high priority and the current channel is congested, are as follows: Obtain the transmission queue located within the media access control layer, parse the header data of the transmission queue, extract the service control field of the header data, and determine the current priority of the data frame to be transmitted based on the service control field; The inter-frame interval time window preset in the communication standard is used to perform snapshot sampling of the channel noise floor and received signal strength indication parameters within the inter-frame interval time window, generate environmental sampling feature data, and obtain the current channel contention state based on the environmental sampling feature data. Arrange the continuous environmental sampling feature data in chronological order, and extract the noise rise slope in the environmental sampling feature data; The noise rise slope is compared with a preset congestion determination threshold. When the noise rise slope exceeds the congestion determination threshold, the current channel is determined to be congested. The current priority is identified. When the current priority is identified as high and the current channel is congested, the physical layer direct interface is invoked, and cross-layer interruption signaling that bypasses the regular data payload path is generated based on the physical layer direct interface.
3. The fast response control method for the transmission power of a WiFi module according to claim 2, characterized in that, The step of directly sending the cross-layer interrupt signaling to the power amplifier and controlling the power amplifier to perform power preheating before the data frame to be transmitted arrives at the physical layer is as follows: The cross-layer interrupt signaling is directly sent to the power amplifier in the underlying radio frequency communication link to wake up the power amplifier; After receiving the cross-layer interruption signaling, the power amplifier extracts the power level indication parameter from the cross-layer interruption signaling and determines the target bias current value required by the power amplifier based on the power level indication parameter. Extract the transmission delay time parameter of the data frame to be sent from the medium access control layer to the physical layer, and configure the transmission delay time parameter as the warm-up time window of the power amplifier; During the preheating time window, the target bias current value is injected into the power amplifier, so that the power amplifier enters the corresponding power preheating state before the data frame to be sent arrives at the physical layer.
4. The fast response control method for the transmission power of a WiFi module according to claim 3, characterized in that, Based on the cross-layer interrupt signaling, the step of calling a preset RF switch matrix to select a target voltage rail from multiple fixed voltage rails output by the power management chip, and switching the power amplifier's supply voltage to the target voltage rail, specifically includes: Obtain the parallel output pin located inside the power management chip, and control the parallel output pin to synchronously output multiple fixed voltage rails that are independent of each other and have different voltage amplitudes; Based on the power level indication parameters, a matching and screening process is performed among multiple fixed voltage rails to obtain a target voltage rail that meets the transmission requirements of the data frame to be sent. The semiconductor switching circuit connected in series between the power management chip and the power supply terminal of the power amplifier is invoked, and the semiconductor switching circuit is used as a preset radio frequency switch matrix; The radio frequency switch matrix is controlled to close the physical gating circuit corresponding to the target voltage rail, so that the power supply voltage of the power amplifier is discretely switched to the target voltage rail.
5. The fast response control method for the transmission power of a WiFi module according to claim 4, characterized in that, The steps of obtaining the current junction temperature of the power amplifier and the multidimensional mapping table in the baseband chip, matching the pre-distortion compensation coefficient of the target voltage rail at the current junction temperature according to the multidimensional mapping table, and generating a reverse distortion signal according to the pre-distortion compensation coefficient are as follows: A digital temperature sensor is attached to the heat-generating core of the power amplifier. The actual temperature value of the core inside the power amplifier is collected in real time through the digital temperature sensor, and the actual temperature value is used as the current junction temperature. Extract the multidimensional mapping table pre-stored in the baseband chip. The multidimensional mapping table contains the numerical correspondence between different power supply voltages, different chip temperatures and the nonlinear distortion parameters of the power amplifier. Extract the voltage amplitude of the target voltage rail, use the voltage amplitude and the current junction temperature as index labels, and perform cross-data retrieval in the multidimensional mapping table to obtain the pre-distortion compensation coefficient; The pre-distortion compensation coefficients are input into the digital signal processor inside the baseband chip, and the digital signal processor performs an inverse operation on the pre-distortion compensation coefficients to generate an inverse distortion signal.
6. The fast response control method for the transmission power of a WiFi module according to claim 5, characterized in that, The steps of extracting the trigger clock of the RF switch matrix and the signal clock of the inverse distortion signal, aligning the clocks to obtain the target trigger clock, and injecting the inverse distortion signal into the digital domain according to the target trigger clock are as follows: Acquire a first edge trigger signal that controls the RF switch matrix to perform a closing action, extract a first timestamp of the first edge trigger signal, and use the first timestamp as the trigger clock of the RF switch matrix; The second edge trigger signal of the baseband chip scheduling the inverse distortion signal into the transmitted data stream is obtained, the second timestamp of the second edge trigger signal is extracted, and the second timestamp is used as the signal clock of the inverse distortion signal. The phase error between the trigger clock and the signal clock is captured, and clock alignment compensation is performed based on the phase error to generate a target trigger clock that is completely synchronized with the phase. Based on the target trigger clock, during the same cycle in which the power amplifier's supply voltage switches to the target voltage rail, the baseband chip is controlled to directly inject the reverse distortion signal into the baseband signal stream in the digital domain.
7. The fast response control method for the transmission power of a WiFi module according to claim 6, characterized in that, When it is determined, based on the current channel contention state and the current priority, that the target transmit power of the data frame to be transmitted needs to be reduced, the step of identifying the physical coverage area ratio resulting from the reduction and increasing the idle channel evaluation threshold according to the physical coverage area ratio is as follows: By combining the overall network load parameters in the current channel contention state with the current priority, a reference transmit power is obtained to maintain the optimal throughput of the entire network. Determine whether the reference transmit power is lower than the rated power of the power amplifier. If the reference transmit power is lower than the rated power, then extract the target transmit power of the data frame to be transmitted that needs to be reduced. Extract the power difference between the target transmission power and the rated power, and obtain the value of the reduction in communication coverage radius due to the power reduction based on the power difference; Obtain the original rated communication radius in the channel, and calculate the ratio of the reduced communication coverage radius to the original rated communication radius to obtain the physical coverage ratio; Obtain the initial receive sensitivity threshold of the local machine, obtain the corresponding noise shielding compensation value according to the physical coverage ratio, combine the initial receive sensitivity threshold with the noise shielding compensation value, and increase the idle channel evaluation threshold of the local machine.
8. The fast response control method for the transmission power of a WiFi module according to claim 7, characterized in that, The steps of determining that the current junction temperature reaches a preset protection threshold and the current priority is high priority, disabling the device's preset high-frequency down-frequency protection mechanism, sending the data frame to be sent, and forcibly suspending the low-priority data frame queue for heat dissipation after sending are as follows: The current junction temperature, which is collected in real time, is compared with a preset protection threshold value to determine whether the current junction temperature is greater than the protection threshold value. If it is determined that the current junction temperature has reached the protection threshold and the current priority of the data frame to be sent is high priority, an over-authorization control command is generated and sent to the power management unit of the WiFi module. Based on the unauthorized control command, the temperature protection interruption request signal line is cut off, and the high-frequency reduction protection mechanism preset by the shielding device is shielded. The transmission status of the data frame to be sent is monitored. After the data frame to be sent is completed, the newly accumulated heat due to heat overdraft is obtained, and a forced sleep time window is generated based on the newly accumulated heat. Within the forced sleep time window, a queue freeze command is generated. Based on the queue freeze command, the low-priority data frame queue in the media access control layer is forcibly suspended to stop the transmission scheduling, and the power amplifier is cooled.