Method and device for adjusting transmitting power, electronic equipment and medium
By combining closed-loop and open-loop power control, the power self-feedback loop and gain meter are used to adjust the transmit power, the stability and accuracy problems of electronic devices during large and small-power scenario switching are solved, and the adverse effects of device aging is reduced, the emission accuracy is improved and resources are saved.
Patent Information
- Application Number
- CN202410095469.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-23
- Publication Date
- 2025-07-25
AI Technical Summary
In the prior art, when electronic devices transmit wireless signals, it is difficult for them to maintain power stability and accuracy when switching between high-power and low-power scenarios, and the power deviation and frequency jump caused by device aging have a great impact.
The combination of closed-loop power control and open-loop power control is adopted to adjust the transmit power to compensate for power offset through the power self-feedback loop and gain meter to ensure that the actual transmit power is maintained when the target transmit power is reduced.
It improves the power transmission accuracy in low-power transmission scenarios, reduces power deviation and frequency jump caused by device aging, realizes smoothness and stability of switching between high-power to low-power scenarios, and saves memory resources.
Smart Images

Figure CN120379006A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of signal processing, and in particular, to a method, apparatus, electronic device, and medium for adjusting transmission power. Background Art
[0002] When an electronic device transmits a wireless signal, it first determines a target transmission power. After gain processing by a processing device and then transmission through a radio frequency device, the transmission power is different from the target transmission power, and this transmission power can be referred to as the actual transmission power. Summary of the Invention
[0003] To overcome the problems existing in the related art, the present disclosure provides a method, apparatus, electronic device, and medium for adjusting transmission power.
[0004] According to a first aspect of an embodiment of the present disclosure, there is provided a method for adjusting transmission power, which is characterized in that it is applied to an electronic device, and the method includes:
[0005] In response to the target transmission power being reduced to a first transmission power, determining a power offset, where the power offset is the power offset between the target transmission power and the corresponding actual transmission power;
[0006] During the period when the target transmission power is less than the first transmission power, adjusting the actual transmission power corresponding to the target transmission power according to the power offset.
[0007] In some possible embodiments, the first transmission power is greater than or equal to a second transmission power, and the second transmission power is a threshold power for switching between a closed-loop power control mode and an open-loop power control mode.
[0008] In some possible embodiments, the difference between the first transmission power and the second transmission power is less than a set value.
[0009] In some possible embodiments, the determining the power offset includes:
[0010] Determining the power offset according to a power self-feedback loop.
[0011] In some possible embodiments, the power self-feedback loop includes: a coupler and a detection circuit.
[0012] In some possible embodiments, the adjusting the actual transmission power corresponding to the target transmission power according to the power offset includes:
[0013] In a case where the aging degree of the processing device is greater than a preset value, determining the actual transmission power corresponding to the target transmission power as: the sum of the target transmission power and the power offset.
[0014] In some possible embodiments, when the power offset is less than 0, the actual transmission power corresponding to the target transmission power is determined as: the sum of the target transmission power and the power offset.
[0015] In some possible embodiments, adjusting the actual transmission power corresponding to the target transmission power according to the power offset includes:
[0016] When the power offset is greater than 0, the actual transmission power corresponding to the target transmission power is determined as: the difference between the target transmission power and the power offset.
[0017] In some possible embodiments, the target transmission power and the first transmission power are used to transmit wireless signals.
[0018] According to a second aspect of the embodiments of the present disclosure, there is provided a device for adjusting transmission power, which is characterized in that it is applied to an electronic device, and the device includes:
[0019] A processing module, configured to determine a power offset in response to the target transmission power decreasing to the first transmission power, where the power offset is the power offset between the target transmission power and the corresponding actual transmission power;
[0020] During the period when the target transmission power is less than the first transmission power, adjust the actual transmission power corresponding to the target transmission power according to the power offset.
[0021] According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, and the electronic device includes: a processor;
[0022] A memory for storing executable instructions of the processor;
[0023] Wherein, the processor is configured to execute the executable instructions in the memory to implement the method for adjusting transmission power as described in the first aspect.
[0024] According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, on which executable instructions are stored, and when the executable instructions are executed by a processor, the method for adjusting transmission power provided in the first aspect of the present disclosure is implemented.
[0025] Adopting the above method of the present disclosure has the following beneficial effects: improving the power transmission accuracy in low-power transmission scenarios, and making the switching from high-power transmission scenarios to low-power transmission scenarios smoother and more stable, reducing the power deviation caused by device aging, reducing the adverse effects brought by power jumps, and saving memory resources.
[0026] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and do not limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present invention, and are used together with the specification to explain the principles of the present invention.
[0028] Figure 1 is a structural diagram of a device for adjusting transmission power shown according to an exemplary embodiment;
[0029] Figure 2 is a structural diagram of a device for adjusting transmission power shown according to an exemplary embodiment;
[0030] Figure 3 is a flowchart of a method for adjusting transmission power shown according to an exemplary embodiment;
[0031] Figures 4a - 4c is a schematic diagram of adjusting transmission power shown according to an exemplary embodiment;
[0032] Figures 5a - 5d is a schematic diagram of adjusting transmission power shown according to an exemplary embodiment;
[0033] Figure 6 is a structural diagram of an electronic device shown according to an exemplary embodiment.
[0034] Figure 7 is a structural diagram of an electronic device shown according to an exemplary embodiment. DETAILED DESCRIPTION
[0035] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0036] An exemplary embodiment of the present disclosure provides a method for adjusting transmission power, which is applied to an electronic device. The method includes: during a period when the target transmission power is greater than the first transmission power, performing power control in a closed-loop power control (CLPC) manner; and during a period when the target transmission power is less than or equal to the threshold power, performing power control in an open-loop power control (OLPC) manner.
[0037] In some possible embodiments, the threshold power is the threshold power for switching between the closed-loop power control mode and the open-loop power control mode.
[0038] In some possible embodiments, the target transmit power greater than the threshold power may be referred to as high power, and the target transmit power less than the threshold power may be referred to as low power.
[0039] In some possible embodiments, CLPC is implemented through a power self-feedback loop.
[0040] In one example, the power self-feedback loop includes: a coupler, a detection circuit. As Figure 1 shown, the electronic device includes a processor device, a radio frequency device, and a coupling device. The radio frequency device includes a detection circuit. The electronic device detects the actual transmit power through the power self-feedback loop, calculates a power offset based on the difference between the actual transmit power and the target transmit power, and compensates the actual transmit power according to the power offset to improve the accuracy of the actual transmit power.
[0041] In one example, as Figure 2 shown, the electronic device includes a processor device, a radio frequency device, and a storage device. The storage device stores a power gain table, which records the one-to-one correspondence between the target transmit power and the gain parameter. When the radio frequency device transmits a signal, it queries the power gain table in the storage device and determines the actual transmit power according to the found gain parameter.
[0042] Optionally, the user can modify the values of different gain parameters in the power gain table according to the usage requirements.
[0043] In one example, the threshold power is 9 dBm.
[0044] In the embodiments of the present disclosure, CLPC is used for power control at high power, and OLPC is used for power control at low power. Compared with the method of using CLPC for power control at any power, resources can be saved.
[0045] An exemplary embodiment of the present disclosure provides a method for adjusting the transmit power, which is applied to an electronic device. The transmit power is used to transmit a wireless signal, which may be a short-range wireless signal, such as a Wireless Fidelity (WiFi) wireless signal, or a long-range wireless signal, such as a 5th Generation Mobile Communication Technology (5G) wireless signal. As Figure 3 shown, the method includes:
[0046] Step S301: Determine a power offset in response to the target transmit power being reduced to a first transmit power.
[0047] The power offset is the power offset between the target transmit power and the corresponding actual transmit power.
[0048] In some possible embodiments, the power offset between the target transmit power and the corresponding actual transmit power is: the difference between the actual transmit power and the target transmit power. For example, when the actual transmit power is greater than the target transmit power, the power offset is greater than 0; when the actual transmit power is less than the target transmit power, the power offset is less than 0.
[0049] In some possible embodiments, the first transmit power is greater than or equal to a second transmit power, and the second transmit power is a threshold power for switching between a closed-loop power control mode and an open-loop power control mode.
[0050] In some possible embodiments, in the stage where the target transmit power is greater than the first transmit power, a closed-loop power control (CLPC) method is used for power control.
[0051] In one example, the second transmit power is 9 dBm and the first transmit power is 9 dBm.
[0052] In another example, the second transmit power is 9 dBm and the first transmit power is 10 dBm.
[0053] In some possible embodiments, the difference between the first transmit power and the second transmit power is less than a set value.
[0054] In one example, the set value is 1 dBm, the second transmit power is 9 dBm, and the first transmit power is 9.5 dBm.
[0055] Optionally, the set value is a preset fixed value.
[0056] Optionally, the set value is a value calculated based on the first transmit power and changes accordingly as the first transmit power changes.
[0057] Optionally, the set value can be modified by the user according to usage requirements.
[0058] In some possible embodiments, CLPC is implemented through a power self-feedback loop.
[0059] In one example, the power self-feedback loop includes: a coupler and a detection circuit.
[0060] Such as Figure 1As shown in the figure, the electronic device includes a processing device, a radio frequency device, and a coupling device. The radio frequency device includes a detection circuit. The electronic device detects the actual transmission power through a power self-feedback loop, calculates a power offset based on the difference between the actual transmission power and the target transmission power, and compensates the actual transmission power according to the power offset to improve the accuracy of the actual transmission power.
[0061] Step S302, during the period when the target transmission power is less than the first transmission power, adjust the actual transmission power corresponding to the target transmission power according to the power offset.
[0062] In some possible embodiments, during the stage when the target transmission power is less than the first transmission power, power control is performed in the form of open loop power control (OLPC).
[0063] In an example, as Figure 3 shown in the figure, the electronic device includes a processing device, a radio frequency device, and a storage device. The storage device stores a power gain table, which records the one-to-one correspondence between the target transmission power and the gain parameter. When the radio frequency device transmits a signal, it queries the power gain table in the storage device and determines the actual transmission power according to the found gain parameter. Optionally, the user can modify the values of different gain parameters in the power gain table according to the usage requirements.
[0064] When the aging degree of the processing device is greater than the preset value, in the low-power transmission scenario, the actual transmission power is much less than the target transmission power, and the original calibration method cannot accurately calibrate, which will reduce the accuracy of the actual transmission power in the low-power transmission scenario.
[0065] In some possible embodiments, when the aging degree of the processing device is greater than the preset value, the actual transmission power corresponding to the target transmission power is determined as: the sum of the target transmission power and the power offset. Since, when the aging degree of the processing device is greater than the preset value, during the period when the target transmission power is less than the first transmission power, the power offset is less than 0.
[0066] In an example, the three target transmission powers include a, b, and c, which are arranged in ascending order as a, b, and c. Among them, a is the power in the low-power transmission scenario, b is the switching point power, and c is the high transmission power.
[0067] As Figure 4a shown in the figure, in the high-power transmission scenario, the CLPC method is used to calibrate the actual output power. When the target transmission power is c, its actual transmission power can also be maintained at c.
[0068] As Figure 4bAs shown, when the target transmit power is reduced to the switching point power, i.e., b, the actual output power is calibrated using the OLPC method. Due to the aging of the processing device, the actual transmit power after calibration is y, where b - y = δ. The power offset is determined to be δ.
[0069] As Figure 4c shown, when the target transmit power is reduced to a, due to the aging of the processing device, the actual transmit power is a'. According to the power offset for calibration, the actual transmit power after calibration is determined to be a' + δ, so that the actual transmit power after calibration overcomes the power reduction caused by the aging of the processing device and makes the actual transmit power after calibration more accurate.
[0070] When switching from a high-power transmit scenario to a low-power transmit scenario, frequency hopping is likely to occur, thereby reducing the accuracy of the actual transmit power in the low-power transmit scenario.
[0071] In some possible embodiments, when the power offset is less than 0, the actual transmit power corresponding to the target transmit power is determined to be: the sum of the target transmit power and the power offset. In this embodiment, the downward-jumping power offset can be corrected.
[0072] In some possible embodiments, when the power offset is less than 0, the actual transmit power corresponding to the target transmit power is determined to be: the sum of the target transmit power and the power offset; and when the power offset is greater than 0, the actual transmit power corresponding to the target transmit power is determined to be: the difference between the target transmit power and the power offset. In this embodiment, the downward-jumping and upward-jumping power offsets can be corrected.
[0073] Optionally, this embodiment is executed in the presence of power jumps.
[0074] In one example, the three target transmit powers include a, b, and c, which are in ascending order as a, b, and c. Among them, a is the power in the low-power transmit scenario, b is the switching point power, and c is the high transmit power.
[0075] As Figure 5a shown, in the high-power transmit scenario, the actual output power is calibrated using the CLPC method. When the target transmit power is c, its actual transmit power can also be maintained at c.
[0076] As Figure 5b shown, when the target transmit power is reduced to the switching point power, i.e., b, the actual output power is calibrated using the OLPC method. Due to the aging of the processing device, the actual transmit power after calibration is x, where x - y = Δ. The power offset is determined to be Δ.
[0077] As Figure 5cAs shown, when the target transmit power is reduced to a, due to the frequency hopping that can occur, when the actual transmit power is not calibrated, the actual transmit power is a". If calibrated according to the power offset Δ, if a" is greater than a, the calibrated actual transmit power is a" - Δ, making the calibrated actual transmit power more accurate.
[0078] As Figure 5d shown, when the target transmit power is reduced to a, due to the frequency hopping that can occur, when the actual transmit power is not calibrated, the actual transmit power is a". If calibrated according to the power offset Δ, if a" is less than a, the calibrated actual transmit power is a" + Δ, making the calibrated actual transmit power more accurate.
[0079] In the embodiments of the present disclosure, when the target transmit power is reduced to the first transmit power, the power offset is determined through a closed-loop power control method, and this power offset is used to calibrate the power in the low-power transmit scenario, improving the power transmission accuracy in the low-power transmit scenario. Moreover, when switching from the high-power transmit scenario to the low-power transmit scenario, it is smoother and more stable, reducing the power deviation caused by device aging, reducing the adverse effects brought by power jumps, and saving memory resources.
[0080] An exemplary embodiment of the present disclosure provides a device for adjusting the transmit power, which is applied to an electronic device. As Figure 6 shown, the device includes a processing module and a radio frequency module:
[0081] The processing module 601 is configured to determine a power offset in response to the target transmit power being reduced to the first transmit power, where the power offset is the power offset between the target transmit power and the corresponding actual transmit power; during the period when the target transmit power is less than the first transmit power, adjust the actual transmit power corresponding to the target transmit power according to the power offset.
[0082] The radio frequency module 602 is configured to transmit a wireless signal according to the adjusted actual transmit power.
[0083] Regarding the control device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated here.
[0084] Figure 7 is a block diagram of an electronic device 700 shown according to an exemplary embodiment. For example, the electronic device 700 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0085] Referring to Figure 7, the electronic device 700 may include one or more of the following components: a processing component 702, a memory 707, a power component 706, a multimedia component 708, an audio component 710, an input / output (I / O) interface 712, a sensor component 717, and a communication component 716.
[0086] The processing component 702 generally controls the overall operation of the electronic device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above methods. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 708 and the processing component 702.
[0087] The memory 707 is configured to store various types of data to support the operation of the electronic device 700. Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phone book data, messages, pictures, videos, and the like. The memory 707 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.
[0088] The power component 706 provides power to the various components of the electronic device 700. The power component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 700.
[0089] The multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of a touch or swipe action but also detect the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the electronic device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
[0090] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC) that is configured to receive external audio signals when the electronic device 700 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 707 or transmitted via the communication component 716. In some embodiments, the audio component 710 further includes a speaker for outputting audio signals.
[0091] The I / O interface 712 provides an interface between the processing component 702 and a peripheral interface module, which can be a keyboard, a click wheel, buttons, etc. These buttons can include but are not limited to: a home button, a volume button, a power button, and a lock button.
[0092] The sensor component 717 includes one or more sensors for providing an assessment of the various aspects of the status of the electronic device 700. For example, the sensor component 717 can detect the on / off state of the electronic device 700, the relative positioning of components, such as the display and keypad of the electronic device 700. The sensor component 717 can also detect a change in the position of the electronic device 700 or a component of the electronic device 700, the presence or absence of user contact with the electronic device 700, the orientation or acceleration / deceleration of the electronic device 700, and a change in the temperature of the electronic device 700. The sensor component 717 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 717 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 714 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0093] The communication component 716 is configured to facilitate communication between the electronic device 700 and other devices in a wired or wireless manner. The electronic device 700 can access a communication standard-based wireless network, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0094] In an exemplary embodiment, the electronic device 700 can be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above method.
[0095] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, and the above instructions can be executed by a processor 720 of the electronic device 700 to complete the above shooting control method. For example, the non-transitory computer-readable storage medium can be a ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0096] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the processing device of the electronic device to execute the shooting control method provided by the exemplary embodiments of the present disclosure.
[0097] Those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention, which follow the general principles of the present invention and include common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only to be considered as exemplary, and the true scope and spirit of the present invention are pointed out by the following claims.
[0098] It should be understood that the present invention is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the appended claims.
Claims
1. A method for adjusting transmission power, characterized in that, Applied to an electronic device, the method includes: In response to the target transmit power decreasing to a first transmit power, determining a power offset, where the power offset is the power offset between the target transmit power and the corresponding actual transmit power; During the period when the target transmit power is less than the first transmit power, adjusting the actual transmit power corresponding to the target transmit power according to the power offset.
2. The method according to claim 1, wherein The first transmit power is greater than or equal to a second transmit power, and the second transmit power is a threshold power for switching between a closed-loop power control mode and an open-loop power control mode.
3. The method according to claim 2, wherein The difference between the first transmit power and the second transmit power is less than a set value.
4. The method according to claim 1, characterized in that The determining the power offset includes: Determining the power offset according to a power self-feedback loop.
5. The method according to claim 4, characterized in that, The power self-feedback loop includes: a coupler and a detection circuit.
6. The method according to any one of claims 1 to 5, characterized in that, The adjusting the actual transmit power corresponding to the target transmit power according to the power offset includes: In a case where the aging degree of the processing device is greater than a preset value, determining the actual transmit power corresponding to the target transmit power as: the sum of the target transmit power and the power offset.
7. The method according to any one of claims 1 to 5, characterized in that When the power offset is less than 0, determining the actual transmit power corresponding to the target transmit power as: the sum of the target transmit power and the power offset.
8. The method according to claim 7, wherein, The adjusting the actual transmit power corresponding to the target transmit power according to the power offset includes: When the power offset is greater than 0, determining the actual transmit power corresponding to the target transmit power as: the difference between the target transmit power and the power offset.
9. The method according to any one of claims 1 to 5, characterized in that The target transmit power and the first transmit power are used to transmit wireless signals.
10. A device for adjusting transmission power, characterized in that, Applied to an electronic device, the apparatus includes: A processing module, configured to: in response to the target transmit power decreasing to a first transmit power, determine a power offset, where the power offset is the power offset between the target transmit power and the corresponding actual transmit power; during the period when the target transmit power is less than the first transmit power, adjust the actual transmit power corresponding to the target transmit power according to the power offset; A radio frequency module, configured to: transmit wireless signals according to the adjusted actual transmit power.
11. An electronic device, characterized in that, The electronic device includes: A processor; A memory for storing processor-executable instructions; Wherein, the processor is configured to execute the executable instructions in the memory to implement the method for adjusting the transmit power according to any one of claims 1 to 9.
12. A non-transitory computer-readable storage medium having executable instructions stored thereon, characterized in that, When the executable instructions are executed by the processor, the method for adjusting the transmit power according to any one of claims 1 to 9 is implemented.