CN112054879B - Voltage regulation method and device and terminal equipment - Google Patents
Voltage regulation method and device and terminal equipment Download PDFInfo
- Publication number
- CN112054879B CN112054879B CN202010857913.0A CN202010857913A CN112054879B CN 112054879 B CN112054879 B CN 112054879B CN 202010857913 A CN202010857913 A CN 202010857913A CN 112054879 B CN112054879 B CN 112054879B
- Authority
- CN
- China
- Prior art keywords
- mcs index
- index value
- voltage
- power amplifier
- supply voltage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0002—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
- H04L1/0003—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate by switching between different modulation schemes
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05F—SYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
- G05F1/00—Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
- G05F1/10—Regulating voltage or current
- G05F1/46—Regulating voltage or current wherein the variable actually regulated by the final control device is dc
- G05F1/461—Regulating voltage or current wherein the variable actually regulated by the final control device is dc using an operational amplifier as final control device
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0009—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0015—Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy
- H04L1/0016—Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy involving special memory structures, e.g. look-up tables
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Automation & Control Theory (AREA)
- Transmitters (AREA)
Abstract
The invention discloses a voltage regulation method, a voltage regulation device and terminal equipment, wherein the method comprises the following steps: detecting a current first MCS index value; selecting a wireless rate based on a preset rate selection mechanism, and acquiring a second MCS index value corresponding to the selected wireless rate; acquiring a first voltage value corresponding to the second MCS index value according to a pre-stored mapping relation between different MCS index values and power amplifier supply voltage; and adjusting the supply voltage of the power amplifier according to the first voltage value. The embodiment of the invention realizes that the power amplifier can carry out voltage matching adjustment under different MCS index values, thereby improving the signal quality and reducing the power consumption; in addition, the invention also protects the voltage regulation process by setting the delay time, so that the whole voltage regulation process is more stable.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a voltage adjustment method and apparatus, and a terminal device.
Background
Wi-Fi adjusts wireless transmission rate based on MCS (Modulation and Coding Scheme, modulation and Coding strategy), different MCS have different radio frequency index requirements, MCS of high order Modulation generally needs better EVM (Error Vector Magnitude), linearity and power consumption requirements for PA (power amplifier), MCS of low order Modulation does not need much EVM, and PA needs much lower power consumption and better linearity.
In the existing Wi-Fi products, with the miniaturization of equipment and the increase of signal coverage, the problems of over-high power consumption temperature and even over-standard are generally encountered, mainly because when the efficiency of the PA is low, a large part of power is dissipated in a heat energy mode. The efficiency of the PA is in certain correlation with the supply voltage, and under the condition of transmitting the same power, when the supply voltage of the PA is reduced, the current change is small, the power consumption of the PA is approximately linearly reduced along with the voltage reduction, so that the efficiency of the PA is improved, but the linearity of the PA is reduced due to the reduction of the supply voltage, and further the EVM index is deteriorated.
The existing product basically adopts a fixed PA voltage power supply mode, the fixed voltages of 3.3V, 5V and the like are common, but the mode is limited by the requirement of a high-order modulation rate on an EVM (error vector modulation), when the high-order modulation rate works, a certain margin is left in the EVM, but when the low-order modulation rate works, the margin of the EVM is sufficient, so that most of power consumption is dissipated in a thermal energy mode.
Disclosure of Invention
Embodiments of the present invention provide a voltage adjustment method, an apparatus, and a terminal device, which implement voltage matching adjustment under different MCS index values, thereby improving signal quality and reducing power consumption.
The embodiment of the invention provides a voltage regulation method, which comprises the following steps:
detecting a current first MCS index value;
selecting a wireless rate based on a preset rate selection mechanism, and acquiring a second MCS index value corresponding to the selected wireless rate;
acquiring a first voltage value corresponding to the second MCS index value according to a pre-stored mapping relation between different MCS index values and power amplifier supply voltage; the mapping relation is established when the power amplifier power supply voltage is adjusted to enable circuit parameters to meet target parameters under different wireless rates tested in advance;
and adjusting the power supply voltage of the power amplifier according to the first voltage value.
Preferably, the mapping relationship is established when the power supply voltage of the power amplifier is adjusted to make the circuit parameter meet the target parameter according to different wireless rates tested in advance, and specifically includes:
fixing different wireless rates of each step;
adjusting a supply voltage of the power amplifier;
and finding the lowest power supply voltage meeting the EVM allowance requirement according to the EVM values when different power supply voltages output the target power, and establishing a mapping relation.
Preferably, the adjusting the supply voltage of the power amplifier according to the first voltage value includes:
and when the second MCS index value is larger than the first MCS index value, preferentially adjusting the power supply voltage of the power amplifier to the first voltage value, and then adjusting the MCS index value corresponding to the current wireless rate to the second MCS index value.
Preferably, the adjusting the supply voltage of the power amplifier according to the first voltage value further includes:
and when the second MCS index value is smaller than the first MCS index value, preferentially adjusting the MCS index value corresponding to the current wireless rate to the second MCS index value, and then adjusting the power supply voltage of the power amplifier to the first voltage value.
Preferably, after the adjusting the MCS index value corresponding to the current wireless rate to the second MCS index value, before adjusting the power supply voltage of the power amplifier to the first voltage value, the method further includes:
judging whether the MCS index value adjusted within the preset lag time is recovered to the first MCS index value;
if yes, ending the voltage regulation;
if not, executing the step of adjusting the power supply voltage of the power amplifier to the first voltage value.
Preferably, the adjusting the supply voltage of the power amplifier includes:
the enabling signal is controlled through the Wi-Fi chip so as to control the circuit structures of N module circuits (N is more than or equal to 1) to adjust the power supply voltage of the power amplifier; wherein, the circuit structure specifically is:
the first output end of the Wi-Fi chip is connected with the first input end of the power amplifier, and the first output end of the power amplifier is connected with an antenna;
the Wi-Fi chip is connected with the input end of the module circuit through a GPIO interface, and the output end of the module circuit is connected with the second input end of the power amplifier.
Preferably, the N module circuits are any one of a BJT discrete circuit, an LDO discrete circuit, an MOS discrete circuit, and a DCDC module circuit.
Correspondingly, an embodiment of the present invention further provides a voltage regulation apparatus, including: detection module, first acquisition module, second acquisition module and adjusting module, wherein:
the detection module is used for detecting a current first MCS index value;
the first obtaining module is configured to perform wireless rate selection based on a preset rate selection mechanism, and obtain a second MCS index value corresponding to the selected wireless rate;
the second obtaining module is configured to obtain a first voltage value corresponding to a second MCS index value according to a pre-stored mapping relationship between different MCS index values and a power amplifier supply voltage; the mapping relation is established when the power amplifier power supply voltage is adjusted to enable circuit parameters to meet target parameters under different wireless rates tested in advance;
and the adjusting module is used for adjusting the power supply voltage of the power amplifier according to the first voltage value.
Preferably, the adjusting module is specifically:
the enabling signal is controlled through the Wi-Fi chip so as to control the circuit structures of N module circuits (N is more than or equal to 1) to adjust the power supply voltage of the power amplifier; wherein, the circuit structure specifically is:
the first output end of the Wi-Fi chip is connected with the first input end of the power amplifier, and the first output end of the power amplifier is connected with the antenna;
the Wi-Fi chip is connected with the input end of the module circuit through a GPIO interface, and the output end of the module circuit is connected with the second input end of the power amplifier.
Preferably, the N module circuits are any one of BJT discrete circuits, LDO discrete circuits, MOS discrete circuits, and DCDC module circuits.
Accordingly, an embodiment of the present invention further provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the computer program is executed by the processor, the steps of the voltage regulation method are implemented.
Accordingly, an embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program, and when the computer program is executed by the processor, the computer program implements the steps of the voltage regulation method.
In the embodiment of the invention, the wireless rate selection is carried out based on a preset rate selection mechanism, the selected MCS index value is obtained, and then the voltage value of the power amplifier corresponding to the current MCS index value is obtained according to the prestored mapping relation, so that the power supply voltage of the power amplifier is adjusted, the power amplifier can carry out voltage matching adjustment under different MCS index values, the signal quality is improved, and the power consumption is reduced.
Furthermore, when the speed-up condition is met, the power supply voltage is preferentially adjusted, and the optimal performance of the equipment is ensured; when the condition of speed reduction is met, the wireless speed is preferably adjusted, the delay time is set, the frequent switching of the power supply voltage of the PA (power amplifier) caused by the instantaneous change of the wireless speed is avoided, and the stability of the system is improved.
Drawings
Fig. 1 is a schematic flow chart of a voltage regulation method provided in an embodiment of the present invention;
fig. 2 is a schematic diagram of an embodiment of obtaining a mapping relationship in a voltage adjustment method provided in the embodiment of the present invention;
fig. 3 is a schematic diagram of another embodiment of obtaining a mapping relationship in a voltage adjustment method provided in the embodiment of the present invention;
FIG. 4 is a schematic diagram of an embodiment of a process for regulating voltage in a voltage regulation method provided in an embodiment of the present invention;
FIG. 5 is a schematic diagram of one embodiment of regulating voltage in a voltage regulation method provided in embodiments of the present invention;
FIG. 6 is a schematic diagram of another embodiment of regulating voltage in a voltage regulation method provided in embodiments of the present invention;
FIG. 7 is a schematic structural diagram of an embodiment of a voltage regulation device provided by the present invention;
fig. 8 is a schematic structural diagram of an embodiment of a regulating module of the voltage regulating device provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
The following takes a terminal device as an example to exemplarily explain the voltage regulation method provided by the embodiment of the present invention.
Referring to fig. 1, a schematic flow chart of a voltage regulation method according to an embodiment of the present invention includes the following steps:
s101, detecting a current first MCS index value;
s102, selecting a wireless rate based on a preset rate selection mechanism, and acquiring a second MCS index value corresponding to the selected wireless rate;
s103, acquiring a first voltage value corresponding to the second MCS index value according to a pre-stored mapping relation between different MCS index values and power amplifier supply voltage; the mapping relation is established when the power amplifier power supply voltage is adjusted to enable circuit parameters to meet target parameters under different wireless rates tested in advance;
and S104, adjusting the power supply voltage of the power amplifier according to the first voltage value.
In an alternative embodiment, the variation factors of the Wi-Fi wireless speed and the terminal device are many, and usually the variation of the external interference intensity, the variation of the Wi-Fi distance and the like exist between the terminal device and the Wi-Fi. The invention dynamically adjusts the wireless rate, and can prevent the problem that the signal quality can not meet the protocol requirement and can not increase the speed due to low power supply voltage of the PA when the low rate jumps to the high rate. For example, when the current Wi-Fi is at a wireless rate corresponding to MCS 0, the PA supply voltage is 4.5V, and at this time, the terminal approaches Wi-Fi or external interference is reduced, and it is detected that the wireless rate at MCS7 can be selected, and it is necessary to dynamically adjust the ramp-up speed, but since the PA supply voltage of 4.5V causes the signal quality at MCS7 to be unsatisfactory, the wireless rate ramp-up fails; the supply voltage of the power amplifier needs to be adjusted according to the change of the Wi-Fi wireless speed.
In step 102, a wireless rate is selected based on a preset rate selection mechanism, wherein the wireless rate selection mechanism is determined by the wireless chip, and the wireless chip selects a suitable rate according to the current wireless environment and the link state to perform rate up/down adjustment. The method specifically comprises the following steps: and maintaining a speed table, wherein the speed table defines the speed sequence of the speed increasing or reducing and the related parameter threshold value for triggering the speed increasing or reducing at each gear speed. The wireless communication will initialize a wireless rate, periodically count the related parameters, and trigger the speed up or down according to whether the related parameters reach the threshold.
In an optional embodiment, a mapping relationship between a power supply voltage of a PA and an MCS (Modulation and Coding Scheme) index value is stored in storage devices such as Flash in advance, when a prototype is started, the data are loaded into a memory, when which MCS index value is selected is determined, the power supply voltage of the PA corresponding to the MCS index value is read from the memory, and meanwhile, the PA sends a control signal to adjust to the corresponding power supply voltage, and the whole process is basically at ms (millisecond); the voltage value in the mapping relationship is the lowest supply voltage of the PA when an Error Vector Magnitude (EVM) value satisfies a margin threshold (in this embodiment, 3dB is taken as an example).
In an optional embodiment, the manner of establishing the mapping relationship specifically includes:
fixing different wireless rates of each step;
adjusting a supply voltage of the power amplifier;
and according to the EVM values of different power supply voltages when the target power is output, finding the lowest power supply voltage meeting the EVM allowance requirement, and establishing a mapping relation.
How to establish the mapping relationship will be described in detail below with reference to fig. 2 to 4.
In this embodiment, as shown in fig. 2, the output end of the PA is connected to the input end of the comprehensive tester, and the output end of the comprehensive tester is connected to the input end of the Wi-Fi chip; the comprehensive tester is used for testing the EVM value of each step of wireless speed under different PA power supply voltages when different wireless speeds are tested; meanwhile, detecting the current of the PA by a power meter;
further, respectively fixing each-step wireless rate, and testing the EVM and the PA current under the output target power corresponding to each-step wireless rate under different input voltages;
further, the lowest power supply voltage and the corresponding lowest working current of each speed are found under the condition of meeting a certain margin of the EVM; in each-stage wireless rate mode, the EVM has certain allowance, and meanwhile, the working current of the corresponding PA is the lowest (namely the power consumption is the lowest), so that the balance between the performance and the lowest power consumption can be considered; as shown in fig. 3, for the lowest power supply voltage corresponding to the PA meeting the EVM margin in each-stage wireless rate mode, when the MCS index value is 0 or 1, the power supply voltage of the PA can meet the requirement between 4.5V and 5V, and when the MCS index value is 9, the PA can only operate at 5V, so that when Wi-Fi is at the wireless rate corresponding to MCS 1, the power supply voltage of the PA can be adjusted from 5V to 4.5V, thereby reducing the current of the PA and further reducing the overall power consumption; through this step, the mapping relation between the MCS index value and the lowest PA supply voltage is established.
In the embodiment, the lowest power supply voltage of the PA meeting the EVM allowance requirement is found by recording the circuit parameter data output by the PA at different wireless rates, so that the mapping relation between the MCS index value and the lowest power supply voltage of the PA is established, and then the mapping relation is stored in storage equipment such as Flash in advance.
Fig. 4 is a schematic diagram of an embodiment of adjusting a voltage in a voltage adjusting method provided in the embodiment of the present invention.
In an optional embodiment, in this embodiment, the wireless rate is dynamically adjusted according to a rate selection mechanism, if the second MCS index value is greater than the first MCS index value before change, it is determined that the wireless rate needs to be increased, the power supply voltage of the PA is immediately adjusted to be the lowest power supply voltage of the PA at a rate corresponding to the pre-stored mapping relationship, and under the pre-stored power supply voltage, the EVM value of the PA meets the margin requirement, and the wireless rate is increased to be the wireless rate corresponding to the second MCS index value; and if the second MCS index value is smaller than the first MCS index value before the change, determining that the wireless rate needs to be reduced, directly reducing the wireless rate by the Wi-Fi, and then reducing the power supply voltage of the PA so as to reduce the final power consumption of the whole machine.
For example, when the current Wi-Fi has a wireless rate corresponding to MCS 4, the power supply voltage of the PA is 4.7V, and at this time, the wireless rate is selected to a rate corresponding to MCS7, and according to the mapping relationship, the power supply voltage corresponding to MCS7 is obtained, and the power supply voltage range of the power amplifier PA is 4.8-5V, so the power supply voltage of the power amplifier PA is adjusted to 4.8V according to the mapping relationship, and since the EVM of the PA meets the margin requirement under the 4.8V power supply voltage, the rate corresponding to MCS7 is increased again, so as to prevent the situation that the device switches the wireless rate first, but the boosting fails due to too low signal quality because the power supply voltage does not meet; if the wireless rate is selected to the rate corresponding to the MCS being 0, the wireless rate corresponding to the MCS value being 0 is obtained according to the mapping relation, the power supply voltage range of the power amplifier PA is 4.5-5V, and the current power supply voltage meets the signal quality requirement, so that the wireless rate can be directly reduced to the rate corresponding to the MCS being 0, and after the wireless rate is stabilized, the lowest voltage corresponding to the power supply voltage of the PA being 0 is reduced by 4.5V.
In an alternative embodiment, adjusting the supply voltage of the PA comprises: the enabling signal is controlled through the Wi-Fi chip so as to control the circuit structure of N module circuits (N is more than or equal to 1) to adjust the power supply voltage of the PA; the output end of the Wi-Fi chip is connected with the input end of the power amplifier, the output end of the power amplifier is connected with the antenna, the Wi-Fi chip is connected with the input end of the module circuit through the GPIO interface, and the output end of the module circuit is connected with the input end of the power amplifier.
As shown in fig. 5, the N module circuits in this embodiment are specifically BJT discrete circuits, LDO discrete circuits, or MOS discrete circuits; as shown in fig. 6, the N module circuits in this embodiment are specifically DCDC module circuits.
In this embodiment, a plurality of module circuits are connected to the power supply end of the PA in parallel, each module circuit is provided with an enable control function, and the Wi-Fi master chip controls the corresponding enable signal through the GPIO interface to turn on/off the voltage so as to control the module circuits, thereby performing the PA supply voltage switching.
In a preferred embodiment, S104 specifically includes: then, the method also comprises the following steps:
when the second MCS index value is larger than the first MCS index value, the power supply voltage of the power amplifier is adjusted to the first voltage value, and then the MCS index value corresponding to the current wireless rate is adjusted to the second MCS index value.
Or when the second MCS index value is smaller than the first MCS index value, preferentially adjusting the MCS index value corresponding to the current wireless rate to the second MCS index value, and then adjusting the power supply voltage of the power amplifier to the first voltage value.
In this embodiment, since external transient interference may affect the Wi-Fi to change repeatedly between different MCS index values, in order to avoid frequent switching of the PA supply voltage due to instability of the MCS index values, in a speed reduction situation, a hysteresis time is set after the MCS index values change, and it is determined whether the MCS index values adjusted within the preset hysteresis time are restored to the first MCS index value. Within the lag time, if the current MCS index value returns to the MCS index value before the change, the original PA power supply voltage is kept unchanged; for example, the current Wi-Fi selects the rate corresponding to the MCS index value 4, because of the transient interference, the rate corresponding to the MCS index value 4 is decreased to the rate corresponding to the MCS index value 2, and within the preset delay time, because the transient interference disappears, the Wi-Fi reselects the rate corresponding to the MCS index value 4, and within this time, the PA does not adjust the power supply voltage, so that the decrease of the power supply voltage of the PA caused by the jump of the MCS index value due to the transient interference is avoided, and the frequent switching is avoided. After the hysteresis time is over, and the MCS index value is still 2, the power supply voltage of the PA is decreased. The invention also protects the voltage regulation process by setting the delay time, so that the whole voltage regulation process is more stable.
In this embodiment, in the case of speed increase, without setting the hysteresis time, after the MCS index value changes, the system first adjusts the power supply voltage of the power amplifier to a first voltage value, and then adjusts the MCS index value corresponding to the current wireless rate to a second MCS index value, so as to ensure the maximum performance of the system. For example, the current Wi-Fi selects the rate corresponding to the MCS index value 4, because the external interference is reduced, the rate corresponding to the MCS index value 4 is increased to the rate corresponding to the index value 7, the system first adjusts the PA power supply voltage to the lowest PA operating voltage corresponding to the MCS7, and then adjusts the MCS index value corresponding to the current wireless rate to 7, so that the normal adjustment is increased, and the maximum performance of the system is met.
An embodiment of the present invention further provides a voltage regulating apparatus, which is capable of implementing the flow of the voltage regulating method described in fig. 1, and is described in detail below with reference to fig. 7 to 8.
Referring to fig. 7, a voltage regulating apparatus according to an embodiment of the present invention includes a detecting module 201, a first obtaining module 202, a second obtaining module 203, and a regulating module 204.
The detecting module 201 is configured to detect a current first MCS index value;
the first obtaining module 202 is configured to perform wireless rate selection based on a preset rate selection mechanism, and obtain a second MCS index value corresponding to a selected wireless rate;
the second obtaining module 203 is configured to obtain a first voltage value corresponding to a second MCS index value according to a mapping relationship between different pre-stored MCS index values and a power amplifier supply voltage; the mapping relation is established when the power amplifier power supply voltage is adjusted to enable circuit parameters to meet target parameters under different wireless rates tested in advance;
the adjusting module 204 is configured to adjust a supply voltage of the power amplifier according to the first voltage value.
Further, the mapping relationship is established when the power supply voltage of the power amplifier is adjusted to make the circuit parameter meet the target parameter according to different wireless rates tested in advance, and specifically comprises the following steps:
fixing different wireless rate of each step;
adjusting a supply voltage of the power amplifier;
and according to the EVM values of different power supply voltages when the target power is output, finding the lowest power supply voltage meeting the EVM allowance requirement, and establishing a mapping relation.
Referring to fig. 8, a schematic structural diagram of an embodiment of a regulating module of a voltage regulating device according to an embodiment of the present invention is provided. An embodiment of the present invention provides an adjusting module 204, including:
a first adjusting unit 301, configured to preferentially adjust the power supply voltage of the power amplifier to the first voltage value when the second MCS index value is greater than the first MCS index value, and then adjust the MCS index value corresponding to the current wireless rate to the second MCS index value.
A second adjusting unit 302, configured to, when the second MCS index value is smaller than the first MCS index value, preferentially adjust the MCS index value corresponding to the current wireless rate to the second MCS index value, and then adjust the power supply voltage of the power amplifier to the first voltage value.
Further, the adjusting module 204 further includes: a hysteresis unit 401. A hysteresis unit 401, configured to determine, when the second MCS index value is smaller than the first MCS index value, whether the adjusted MCS index value is recovered to the first MCS index value within a preset hysteresis time after the MCS index value corresponding to the current wireless rate is adjusted to the second MCS index value and before the power supply voltage of the power amplifier is adjusted to the first voltage value; if yes, ending the voltage regulation; if not, executing the step of adjusting the power supply voltage of the power amplifier to the first voltage value.
Further, the adjusting module 204 is specifically:
the power supply voltage of the power amplifier is adjusted by controlling an enable signal through a Wi-Fi chip so as to control the circuit structure of N module circuits (N is more than or equal to 1); wherein, the circuit structure specifically is:
the first output end of the Wi-Fi chip is connected with the first input end of the power amplifier, and the first output end of the power amplifier is connected with the antenna;
the Wi-Fi chip is connected with the input end of the module circuit through a GPIO pin, and the output end of the module circuit is connected with the second input end of the power amplifier.
Furthermore, the N module circuits are BJT discrete circuits, LDO discrete circuits, MOS discrete circuits or DCDC module circuits.
An embodiment of the present invention further provides a terminal device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the voltage adjustment method embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition.
The terminal device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The terminal device may include, but is not limited to, a processor, a memory. It will be appreciated by those skilled in the art that the schematic diagram is merely an example of a terminal device and does not constitute a limitation of a terminal device, and may include more or less components than those shown, or combine certain components, or different components, for example, the terminal device may also include input output devices, network access devices, buses, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like, said processor being the control center of said terminal device, and various interfaces and lines are used to connect the various parts of the whole terminal device.
The memory may be used for storing the computer programs and/or modules, and the processor may implement various functions of the terminal device by executing or executing the computer programs and/or modules stored in the memory and calling data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the terminal device integrated module/unit can be stored in a computer readable storage medium if it is implemented in the form of software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments described above may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U.S. disk, removable hard disk, magnetic diskette, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signal, telecommunications signal, and software distribution medium, etc. It should be noted that the computer-readable medium may contain suitable additions or subtractions depending on the requirements of legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer-readable media may not include electrical carrier signals or telecommunication signals in accordance with legislation and patent practice.
Accordingly, an embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program, and when the computer program is executed by the processor, the computer program implements the steps of the voltage regulation method.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.
Claims (10)
1. A method of voltage regulation, the method comprising:
detecting a current first MCS index value;
selecting a wireless rate based on a preset rate selection mechanism, and acquiring a second MCS index value corresponding to the selected wireless rate; the wireless rate selection mechanism is determined by a wireless chip, and the wireless chip selects a proper rate according to the current wireless environment and the link state to adjust the rate increase and the rate decrease, and the method specifically comprises the following steps: maintaining a speed table, wherein the speed table defines the speed sequence when the speed is increased or reduced and the threshold value of the relevant parameters for triggering the speed increase or reduction under each gear speed;
acquiring a first voltage value corresponding to the second MCS index value according to a pre-stored mapping relation between different MCS index values and power amplifier supply voltage; the mapping relation is established when the power amplifier power supply voltage is adjusted to enable circuit parameters to meet target parameters under different wireless rates tested in advance;
adjusting a supply voltage of the power amplifier according to the first voltage value;
wherein the adjusting the supply voltage of the power amplifier according to the first voltage value comprises:
when the second MCS index value is larger than the first MCS index value, preferentially adjusting the power supply voltage of the power amplifier to the first voltage value, and then adjusting the MCS index value corresponding to the current wireless rate to the second MCS index value;
and when the second MCS index value is smaller than the first MCS index value, preferentially adjusting the MCS index value corresponding to the current wireless rate to the second MCS index value, and then adjusting the power supply voltage of the power amplifier to the first voltage value.
2. The voltage regulation method according to claim 1, wherein the mapping relationship is established when the power amplifier supply voltage is adjusted to make the circuit parameter meet the target parameter according to different wireless rates tested in advance, and specifically:
fixing different wireless rate of each step;
adjusting a supply voltage of the power amplifier;
and according to the EVM values of different power supply voltages when the target power is output, finding the lowest power supply voltage meeting the EVM allowance requirement, and establishing a mapping relation.
3. The voltage regulation method of claim 1, wherein after the adjusting the MCS index value corresponding to the current wireless rate to the second MCS index value, before adjusting the supply voltage of the power amplifier to the first voltage value, further comprising:
judging whether the MCS index value adjusted within the preset lag time is recovered to the first MCS index value;
if yes, ending the voltage regulation;
if not, executing the step of adjusting the power supply voltage of the power amplifier to the first voltage value.
4. The voltage regulation method of claim 1, wherein the regulating the supply voltage of the power amplifier comprises:
enabling signals are controlled through the Wi-Fi chip so as to control the circuit structures of the N module circuits to adjust the power supply voltage of the power amplifier; wherein N is more than or equal to 1, and the circuit structure specifically comprises:
the first output end of the Wi-Fi chip is connected with the first input end of the power amplifier, and the first output end of the power amplifier is connected with the antenna;
the Wi-Fi chip is connected with the input end of the module circuit through a GPIO interface, and the output end of the module circuit is connected with the second input end of the power amplifier.
5. The voltage regulation method of claim 4, wherein the N modular circuits are any one of BJT discrete circuits, LDO discrete circuits, MOS discrete circuits, and DCDC modular circuits.
6. A voltage regulation device, comprising: detection module, first acquisition module, second acquisition module and regulation module, wherein:
the detection module is used for detecting a current first MCS index value;
the first obtaining module is configured to select a wireless rate based on a preset rate selection mechanism, and obtain a second MCS index value corresponding to the selected wireless rate; the wireless rate selection mechanism is determined by a wireless chip, and the wireless chip selects a proper rate according to the current wireless environment and the link state to adjust the rate increase and the rate decrease, and specifically comprises the following steps: maintaining a speed table, establishing a speed sequence when increasing or decreasing the speed in the speed table, and triggering a related parameter threshold value of increasing or decreasing the speed at each gear speed;
the second obtaining module is configured to obtain a first voltage value corresponding to a second MCS index value according to a pre-stored mapping relationship between different MCS index values and a power amplifier supply voltage; the mapping relation is established when the power amplifier power supply voltage is adjusted to enable circuit parameters to meet target parameters under different wireless rates tested in advance;
the adjusting module is used for adjusting the power supply voltage of the power amplifier according to the first voltage value;
wherein, the regulation module includes:
a first adjusting unit, configured to preferentially adjust a supply voltage of the power amplifier to the first voltage value when the second MCS index value is greater than the first MCS index value, and then adjust an MCS index value corresponding to a current wireless rate to the second MCS index value;
and the second adjusting unit is configured to, when the second MCS index value is smaller than the first MCS index value, preferentially adjust the MCS index value corresponding to the current wireless rate to the second MCS index value, and then adjust the power supply voltage of the power amplifier to the first voltage value.
7. The voltage regulation device of claim 6, wherein the regulation module is specifically:
controlling an enabling signal through a Wi-Fi chip so as to control circuit structures of the N module circuits to adjust the power supply voltage of the power amplifier; wherein N is more than or equal to 1, and the circuit structure specifically comprises:
the first output end of the Wi-Fi chip is connected with the first input end of the power amplifier, and the first output end of the power amplifier is connected with an antenna;
the Wi-Fi chip is connected with the input end of the module circuit through a GPIO interface, and the output end of the module circuit is connected with the second input end of the power amplifier.
8. The voltage regulation device of claim 7, wherein the N modular circuits are any one of BJT discrete circuits, LDO discrete circuits, MOS discrete circuits, and DCDC modular circuits.
9. A terminal device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the voltage regulation method of any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the voltage regulation method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010857913.0A CN112054879B (en) | 2020-08-24 | 2020-08-24 | Voltage regulation method and device and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010857913.0A CN112054879B (en) | 2020-08-24 | 2020-08-24 | Voltage regulation method and device and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112054879A CN112054879A (en) | 2020-12-08 |
CN112054879B true CN112054879B (en) | 2022-12-09 |
Family
ID=73599932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010857913.0A Active CN112054879B (en) | 2020-08-24 | 2020-08-24 | Voltage regulation method and device and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112054879B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113572487B (en) * | 2021-07-23 | 2022-08-19 | 闻泰通讯股份有限公司 | Radio frequency signal clutter suppression method, base station and terminal |
CN118265092A (en) * | 2022-12-28 | 2024-06-28 | 华为技术有限公司 | LNA bypass threshold setting method, terminal equipment and storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104780593B (en) * | 2014-01-13 | 2018-08-21 | 华为终端(东莞)有限公司 | Reduce the method and apparatus of power consumption |
US9942858B1 (en) * | 2016-09-29 | 2018-04-10 | Nxp Usa, Inc. | Method for link adaptation and power amplifier voltage control and system therefor |
-
2020
- 2020-08-24 CN CN202010857913.0A patent/CN112054879B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN112054879A (en) | 2020-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111512542B (en) | Method and apparatus for digital envelope tracking with dynamically varying voltage levels | |
CN112054879B (en) | Voltage regulation method and device and terminal equipment | |
US11063517B2 (en) | Power supply circuit, electronic component, mobile phone terminal, and power supply control method | |
CN110995166A (en) | Open-loop digital PWM envelope tracking system with dynamic boosting function | |
US10587231B2 (en) | Multi-mode power amplifier | |
JPH11308126A (en) | Radio equipment, transmission power control method in the equipment and recording medium | |
CN101110620A (en) | Method for dynamically regulating mobile terminal emitting power and its terminal | |
CN112468176B (en) | Power supply method and device for radio frequency circuit, radio frequency circuit and electronic equipment | |
CN109548124B (en) | Wireless router power control method, device, storage medium and wireless router | |
CN114077296A (en) | Method and device for controlling output power of power supply and related equipment | |
CN110690866A (en) | Processing method and device for reducing power consumption of power amplifier and terminal | |
CN111600346A (en) | Ripple wave eliminating device of power supply of communication system | |
KR20210043337A (en) | Electronic device for controlling power switching mode and operating method thereof | |
US9871538B2 (en) | Method and apparatus for adjusting peak power capability | |
US20220210744A1 (en) | Transmitting power determination method, apparatus and communication device | |
CN111969966A (en) | Impedance adjusting method and device and terminal equipment | |
CN112054850A (en) | Optical power adjusting method and device, storage medium and ONU (optical network Unit) equipment | |
CN115348656A (en) | MiFi device, power adjusting method thereof, electronic device and system | |
US20230217376A1 (en) | Method for reporting and controlling power, and terminal, base station and communication system | |
CN113115333A (en) | Uplink parameter control method, uplink parameter control device and electronic equipment | |
CN115250133A (en) | Wireless communication control method and storage medium | |
CN105491628A (en) | Communication channel switching method and mobile terminal | |
CN112821874B (en) | Compression point adjusting method and device and power amplifier power supply circuit | |
CN111641953B (en) | Configuration method and device of radio frequency link, radio frequency system and storage medium | |
CN114679774B (en) | Method, device and system for adjusting transmission parameters |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |