CN114521009A - Power control method and device based on power supply voltage and baseband chip - Google Patents

Power control method and device based on power supply voltage and baseband chip Download PDF

Info

Publication number
CN114521009A
CN114521009A CN202210418118.0A CN202210418118A CN114521009A CN 114521009 A CN114521009 A CN 114521009A CN 202210418118 A CN202210418118 A CN 202210418118A CN 114521009 A CN114521009 A CN 114521009A
Authority
CN
China
Prior art keywords
power
radio frequency
physical layer
output voltage
frequency chip
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.)
Granted
Application number
CN202210418118.0A
Other languages
Chinese (zh)
Other versions
CN114521009B (en
Inventor
杨亚西
朱凌
王娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Dayu Semiconductor Co ltd
Original Assignee
Nanjing Dayu Semiconductor Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nanjing Dayu Semiconductor Co ltd filed Critical Nanjing Dayu Semiconductor Co ltd
Priority to CN202210418118.0A priority Critical patent/CN114521009B/en
Publication of CN114521009A publication Critical patent/CN114521009A/en
Application granted granted Critical
Publication of CN114521009B publication Critical patent/CN114521009B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
    • G01R19/2503Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques for measuring voltage only, e.g. digital volt meters (DVM's)
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/24TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
    • H04W52/241TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account channel quality metrics, e.g. SIR, SNR, CIR, Eb/lo
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a power control method and device based on power supply voltage and a baseband chip, and relates to the technical field of control. The method comprises the steps of judging whether preset voltage detection conditions are met or not according to the service state of a physical layer on a baseband chip and the state of a radio frequency chip on an Internet of things terminal; if the preset voltage detection condition is met, detecting a first actual output voltage of a battery in the terminal of the Internet of things; determining a first target transmitting power according to the first actual output voltage; and controlling the radio frequency chip to transmit signals by adopting the first target transmission power. Therefore, the transmission power is changed along with the change of the output voltage of the battery, so that the power consumption of the equipment is reduced and the service life of the battery is prolonged on the premise of ensuring the transmission quality of the communication service, and the normal communication service is not influenced even if the voltage of the battery is abnormal.

Description

Power control method and device based on power supply voltage and baseband chip
Technical Field
The invention relates to the technical field of control, in particular to a power control method and device based on power supply voltage and a baseband chip.
Background
With the continuous development of mobile communication technology, NBIOT (Narrow Band-Internet of Things) is an important technology of the Internet of Things, and the application range is more and more extensive under the push of operators and application requirements. NBIOT is used as an application of deep coverage, wide connection and low power consumption, and the power consumption of the NBIOT under the working scene is very important.
The power consumption of the terminal equipment of the internet of things in a working scene is mainly divided into a receiving part and a transmitting part, wherein the influence of the power consumption of the transmitting part on the whole power consumption is large, and the power consumption of the transmitting part is mainly determined by a power amplifier. In this case, if the original power is continuously maintained for transmission, the performance of the terminal device may also be degraded, even various problems such as abnormal service occur, and the user experience is greatly affected.
Disclosure of Invention
The present invention provides a power control method, device and baseband chip based on a power supply voltage to solve the problem that the voltage variation affects the performance of a terminal device in the prior art.
In order to achieve the above purpose, the embodiments of the present application adopt the following technical solutions:
in a first aspect, an embodiment of the present application provides a power control method based on a power supply voltage, which is applied to a baseband chip in an internet of things terminal, and the method includes:
judging whether a preset voltage detection condition is met or not according to the service state of a physical layer on the baseband chip and the state of a radio frequency chip on the Internet of things terminal;
if the preset voltage detection condition is met, detecting a first actual output voltage of a battery in the terminal of the Internet of things;
determining a first target transmitting power according to the first actual output voltage;
and controlling the radio frequency chip to transmit signals by adopting the first target transmission power.
Optionally, the determining whether a preset voltage detection condition is reached according to the service state of the physical layer on the baseband chip and the state of the radio frequency chip on the terminal of the internet of things includes:
judging whether the physical layer is in a service period or not according to the service state of the physical layer;
judging whether the radio frequency chip is in a closed state or not according to the state of the radio frequency chip;
if the physical layer is not in the service period and the radio frequency chip is in a closed state, determining that the preset voltage detection condition is met;
and if the physical layer has services and/or the radio frequency chip is not in a closed state, determining that the preset voltage detection condition is not met.
Optionally, the method further comprises:
if the preset voltage detection condition is not met, updating the failure mark times;
if the failure marking times reach a preset time threshold, judging whether the physical layer is in a service period or not according to the service state of the physical layer again;
if the physical layer is not in the service period, detecting a second actual output voltage of the battery, and resetting the failure marking times;
determining a second target transmitting power according to the second actual output voltage;
and controlling the radio frequency chip to transmit signals by adopting the second target transmission power.
Optionally, the method further comprises:
if the physical layer is in the service period, after the service execution of the physical layer is finished, when the physical layer and the radio frequency chip are both in the idle state, detecting a third actual output voltage of the battery, and resetting the failure marking times;
determining a third target transmitting power according to the third actual output voltage;
and controlling the radio frequency chip to transmit signals by adopting the third target transmission power.
Optionally, the detecting a second actual output voltage of the battery if the physical layer is not in the service period includes:
if the physical layer is not in the service period, judging whether the radio frequency chip is in the sleep period;
if the radio frequency chip is in a sleep period, detecting the second actual output voltage of the battery after awakening the radio frequency chip;
and if the radio frequency chip is not in the sleep period, directly detecting the second actual output voltage of the battery.
Optionally, the determining a first target transmission power according to the first actual output voltage includes:
inquiring a corresponding relation table of the output voltage and a power code table according to the first actual output voltage, and determining a power control word;
and determining the first target transmission power according to the power control word.
Optionally, the determining the first target transmission power according to the power control word includes:
and adjusting the previous transmitting power according to the power control word to obtain the first target transmitting power.
Optionally, the method further comprises:
acquiring a service quality parameter detected by the physical layer;
if the service quality parameter meets a preset quality parameter threshold, continuing to adjust the first target transmitting power according to the power control word, and controlling the radio frequency chip to transmit signals by adopting the adjusted transmitting power until the adjustment quantity of the first target transmitting power reaches the maximum power adjustment quantity corresponding to the power control word, and the service quality parameter detected after the power is adjusted meets the preset quality parameter threshold.
In a second aspect, an embodiment of the present application provides a power control apparatus based on a supply voltage, the apparatus including:
the judging module is used for judging whether a preset voltage detection condition is met or not according to the service state of a physical layer on the baseband chip and the state of a radio frequency chip on the Internet of things terminal;
the detection module is used for detecting a first actual output voltage of a battery in the terminal of the Internet of things if the preset voltage detection condition is met;
the determining module is used for determining first target transmitting power according to the first actual output voltage;
and the transmitting module is used for controlling the radio frequency chip to transmit signals by adopting the first target transmitting power.
In a third aspect, an embodiment of the present application provides a baseband chip, including: the power control method comprises a processor and a storage medium, wherein the processor and the storage medium are connected through bus communication, the storage medium stores program instructions executable by the processor, and the processor calls the program instructions stored in the storage medium to execute the steps of the power control method based on the power supply voltage according to any one of the first aspect.
Compared with the prior art, the method has the following beneficial effects: according to the power control method, the power control device and the baseband chip based on the power supply voltage, whether a preset voltage detection condition is met or not is judged according to the service state of a physical layer on the baseband chip and the state of a radio frequency chip on an Internet of things terminal; if the preset voltage detection condition is met, detecting a first actual output voltage of a battery in the terminal of the Internet of things; determining a first target transmitting power according to the first actual output voltage; and controlling the radio frequency chip to transmit signals by adopting the first target transmission power. Therefore, the transmission power is changed along with the change of the output voltage of the battery, so that the power consumption of the equipment is reduced and the service life of the battery is prolonged on the premise of ensuring the transmission quality of the communication service, and the normal communication service is not influenced even if the voltage of the battery is abnormal.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic flowchart of a power control method based on a supply voltage according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart illustrating a method for determining a predetermined voltage detection condition according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a second power control method based on a supply voltage according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a third power control method based on a supply voltage according to an embodiment of the present disclosure;
fig. 5 is a schematic flowchart of a determining method for detecting a second actual output voltage of a battery according to an embodiment of the present disclosure;
fig. 6 is a flowchart illustrating a method for determining a target transmission power according to an embodiment of the present application;
fig. 7 is a flowchart illustrating a method for adjusting transmission power according to an embodiment of the present application;
fig. 8 is a schematic diagram of a power control apparatus based on a supply voltage according to an embodiment of the present application;
fig. 9 is a schematic diagram of a baseband chip according to an embodiment of the present application.
Icon: 801-judgment module, 802-detection module, 803-determination module, 804-transmission module, 901-processor, 902-storage medium.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, as presented in the figures, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Furthermore, the appearances of the terms "first," "second," and the like, if any, are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
It should be noted that the features of the embodiments of the present invention may be combined with each other without conflict.
In order to improve the performance of the terminal equipment of the internet of things, the power control method and device based on the power supply voltage and the baseband chip are provided, the transmitting power of the terminal equipment of the internet of things is determined according to the acquired power supply voltage, and the power consumption can be reduced on the premise of ensuring the transmitting quality of the terminal.
A power control method based on a power supply voltage provided in the embodiments of the present application is explained below by way of specific examples. Fig. 1 is a schematic flowchart of a power control method based on a supply voltage according to an embodiment of the present disclosure, where an execution main body of the method may be a baseband chip in a terminal of an internet of things. As shown in fig. 1, the method includes:
s101, judging whether preset voltage detection conditions are met or not according to the service state of a physical layer on a baseband chip and the state of a radio frequency chip on the Internet of things terminal.
Before judging whether the preset voltage detection condition is met, a preset detection time interval is further set, and if the time interval between the current time point and the time point value which is judged whether the preset voltage detection condition is met last time is larger than or equal to the preset detection time interval, the preset voltage detection condition is judged this time. Illustratively, the preset detection time interval is set by the staff according to experience, for example: for 200 seconds.
S102, if the preset voltage detection condition is met, detecting a first actual output voltage of a battery in the terminal of the Internet of things.
And if the preset voltage detection condition is met, detecting a first actual output voltage of a battery in the terminal of the Internet of things. That is, when the first actual output voltage of the battery in the terminal of the internet of things is detected, the physical layer on the baseband chip and the radio frequency chip on the terminal of the internet of things are not in a working state, so that the normal operation of the current service and the function is not influenced. If no display interface is arranged in the terminal equipment of the Internet of things, the electric quantity condition of the battery can be mastered at any time by detecting the first actual output voltage of the battery in the terminal equipment of the Internet of things.
Illustratively, the connection port of the battery is detected through a GPADC module in a baseband chip in the terminal of the internet of things so as to detect the first actual output voltage of the battery.
The GPADC is a general analog-to-digital converter, reference voltage is arranged in the GPADC, and when the GPADC module obtains an input voltage, sampling of the analog quantity of the input voltage is completed by configuring port information, a mode, a clock and the like. And transmitting the sampling result to an output port or a buffer for software query.
The specific configuration process is as follows:
1. the software controls the digital circuit of the GPADC module to reset;
2. configuring and starting GPADC clock enable;
3. configuring a GPADC test buffer control module to be powered on;
4. configuring the operating voltage of the GPADC module, for example: the working voltage is configured to be 0.955V;
5. configuring the amplification factor of the GPADC module, for example: -12dB, -6dB, 0dB, 6dB, etc. configuration coefficients, configuring adc bias current, for example: 5uA or 6uA, and configuring the pga bias current, for example: 5uA or 6 uA;
6. input port selection, e.g., 6 ports for ports (ports) 0-5, and mode selection, e.g., to configure the GPADC module: single ended mode, differential mode, etc.;
7. and configuring the GPADC control signal module to be powered on and enabled.
After the configuration of the GPADC module is completed, the voltage input by the battery can be detected, and the detection result is calibrated and stored for later use. The selection of the parameters determines the working voltage range of the GPADC module and the range of the detectable power supply voltage, and the specific configuration parameter selection can be reasonably configured according to the design requirements of the terminal equipment. For example, the operating voltage range of the GPADC module is 0.864 mV-1.344V, then the detectable voltage range of the GPADC module is related to the operating voltage range and amplification factor of the GPADC module, and the voltage multiples corresponding to the four configurations of-12 dB, -6dB, 0dB, and 6dB in the amplification factor are 1/4, 1/2, 1, and 2 times, respectively, and the detectable range is [0, operating voltage/amplification factor ], that is, if the operating voltage is 0.955V and the amplification factor is-12 dB, then the detectable range is [0, 3.82] V.
Since the detection result obtained by the GPADC module is a digital quantity which is a 16-bit numerical value of 12 bits, the detection result does not directly display the voltage representative value, and the digital quantity has a corresponding relationship with the voltage representative value (analog quantity) of the output voltage. Therefore, it is necessary to determine the analog quantity corresponding to the digital quantity of the detection result of the first actual output voltage as the first actual output voltage according to the corresponding relation table of the analog-to-digital conversion of the output voltage. Illustratively, the correspondence table of the output voltage analog-to-digital conversion is a relationship table which is tested and determined in advance by a worker.
S103, determining a first target transmitting power according to the first actual output voltage.
And determining a first target transmitting power corresponding to the first actual output voltage according to the first actual output voltage. Even if the first actual output voltage changes, the corresponding first target transmission power will also change. If the battery voltage is abnormal, the first target transmitting power is changed along with the change of the first actual output voltage, and the accident condition caused by constant power is avoided. For example, the battery voltage drops sharply, and if the transmission power is not changed, the performance of signal transmission is affected, and even transmission failure is caused.
When the output voltage of the battery is the first actual output voltage, the first target transmitting power is the transmitting power with the minimum power value on the premise of meeting the signal transmitting requirement and stabilizing the system.
And S104, controlling the radio frequency chip to transmit signals by adopting the first target transmission power.
The radio frequency chip is controlled to transmit signals by adopting the first target transmission power, so that the transmission quality of communication services is met under the condition that the output voltage of the battery is the first actual output voltage, the power consumption can be reduced, and the endurance time of the battery is prolonged.
In summary, the power control method based on the power supply voltage provided by the embodiment of the present application judges whether a preset voltage detection condition is met according to a service state of a physical layer on a baseband chip and a state of a radio frequency chip on an internet of things terminal; if the preset voltage detection condition is met, detecting a first actual output voltage of a battery in the terminal of the Internet of things; determining a first target transmitting power according to the first actual output voltage; and controlling the radio frequency chip to transmit signals by adopting the first target transmission power. Therefore, the transmission power is changed along with the change of the output voltage of the battery, so that the power consumption of the equipment is reduced and the service life of the battery is prolonged on the premise of ensuring the transmission quality of the communication service, and the normal communication service is not influenced even if the voltage of the battery is abnormal.
On the basis of the power control method based on the power supply voltage shown in fig. 1, the embodiment of the present application further provides a method for determining a preset voltage detection condition. Fig. 2 is a schematic flowchart of a method for determining a preset voltage detection condition according to an embodiment of the present disclosure. As shown in fig. 2, in S101, whether a preset voltage detection condition is satisfied is determined according to a service state of a physical layer on a baseband chip and a state of a radio frequency chip on an internet of things terminal, where the method includes:
s201, judging whether the physical layer is in the service period or not according to the service state of the physical layer.
If there is a service on the physical layer, that is, in a working state, for example: signals of the communication service are being processed. Determining that the physical layer is in a service period; otherwise, the physical layer is not in the service period.
S202, judging whether the radio frequency chip is in a closed state or not according to the state of the radio frequency chip.
If the radio frequency chip is not in a closed state, the radio frequency chip can carry out normal transmission work; if the radio frequency chip is in the closed state, the radio frequency chip does not carry out emission work. Therefore, whether the radio frequency chip is in the closed state or not is judged according to the state of the radio frequency chip, and whether the radio frequency chip works or not can also be judged.
S203, if the physical layer is not in the service period and the radio frequency chip is in the closed state, determining that the preset voltage detection condition is met.
If the physical layer is not in service, the physical layer does not perform any service. The radio frequency chip is in an off state, that is, the radio frequency chip does not perform any transmitting function. In this case, the first voltage detection is performed without affecting normal operation of the service and function of the terminal device.
And S204, if the physical layer has a service and/or the radio frequency chip is not in a closed state, determining that the preset voltage detection condition is not met.
If the physical layer has service and/or the radio frequency chip is not in the off state, it indicates that the terminal device is processing service or transmitting signal. In this case, if the voltage detection is performed, the normal operation of the service and the function of the terminal device may be affected. And on the premise of ensuring normal operation of the service, performing voltage detection to determine corresponding transmitting power. Therefore, if the physical layer has a service and/or the radio frequency chip is not in the off state, the voltage detection is not performed.
In summary, according to the service state of the physical layer, whether the physical layer is in the service period is judged; judging whether the radio frequency chip is in a closed state or not according to the state of the radio frequency chip; if the physical layer is not in the service period and the radio frequency chip is in a closed state, determining that a preset voltage detection condition is met; and if the physical layer has services and/or the radio frequency chip is not in a closed state, determining that the preset voltage detection condition is not met. Therefore, the voltage detection is completed on the premise of not influencing the normal operation of the service and the function of the terminal equipment.
On the basis of the power control method based on the power supply voltage in fig. 1, the embodiment of the present application further provides a second power control method based on the power supply voltage. Fig. 3 is a schematic flowchart of a second power control method based on a supply voltage according to an embodiment of the present disclosure. As shown in fig. 3, the method includes:
and S301, if the preset voltage detection condition is not met, updating the failure mark times.
If the current condition does not meet the preset voltage detection condition through judgment, the voltage detection cannot be carried out; the number of recording failure marks is 1. And judging whether a preset voltage detection condition is met or not after a preset detection time interval from the current moment. And if so, finishing the voltage detection and clearing the failure marking times. If the voltage does not meet the preset voltage detection condition, the number of times of the failure mark is updated from 1 time to 2 times, and therefore if the preset voltage detection condition is not met continuously, the number of times of the failure mark is updated in a superposition mode continuously.
S302, if the failure marking frequency reaches a preset frequency threshold, judging whether the physical layer is in the service period or not according to the service state of the physical layer again.
If the current condition does not continuously satisfy the preset voltage detection condition during each judgment, the situation that the voltage detection cannot be completed occurs, and the corresponding transmitting power cannot be determined according to the detection voltage. Therefore, a preset number threshold is set, if the number of times of failure marking does not reach the preset number threshold, the process continues according to the step in S301, and if the number of times of failure marking reaches the preset number threshold, the physical layer is determined whether to be in the service period according to the service state of the physical layer again. Illustratively, the preset number threshold is set by the staff according to the actual requirement and the actual situation of the terminal device, for example: and 20 times.
And S303, if the physical layer is not in the service period, detecting a second actual output voltage of the battery, and resetting the failure marking times.
Under the condition that the number of times of the failure mark reaches the preset number threshold, the requirement of the voltage detection condition can be reduced. If the physical layer is not in the service period, the second actual output voltage of the battery can be detected. Since the voltage detection has been completed at this time, the number of times of resetting the fail flag is 0.
S304, determining a second target transmitting power according to the second actual output voltage.
And determining a second target transmitting power corresponding to the second actual output voltage according to the second actual output voltage. Even if the second actual output voltage changes, the corresponding second target transmitting power will also change. If the battery voltage is abnormal, the second target transmitting power is changed along with the change of the second actual output voltage, and the accident condition caused by constant power is avoided. For example, the battery voltage drops sharply, and if the transmission power is not changed, the performance of signal transmission is affected, and even transmission failure is caused.
When the output voltage of the battery is the second actual output voltage, the second target transmission power is the transmission power with the minimum power value on the premise of meeting the signal transmission requirement and stabilizing the system.
And S305, controlling the radio frequency chip to transmit signals by adopting a second target transmission power.
The radio frequency chip is controlled to transmit signals by adopting the second target transmission power, so that the transmission quality of communication services is met under the condition that the output voltage of the battery is the second actual output voltage, the power consumption can be reduced, and the endurance time of the battery is prolonged.
In conclusion, if the preset voltage detection condition is not met, updating the failure marking times; if the failure marking times reach a preset time threshold, judging whether the physical layer is in a service period or not according to the service state of the physical layer; if the physical layer is not in the service period, detecting a second actual output voltage of the battery, and resetting the failure marking times; determining a second target transmitting power according to the second actual output voltage; and controlling the radio frequency chip to transmit signals by adopting the second target transmission power. Therefore, when the number of times of failure marking and the service state of the physical layer meet the conditions, the corresponding transmitting power is determined according to the detection voltage, and signal transmission is completed.
On the basis of the second power control method based on the power supply voltage in fig. 3, the embodiment of the present application further provides a third power control method based on the power supply voltage. Fig. 4 is a flowchart illustrating a third power control method based on a power supply voltage according to an embodiment of the present disclosure. As shown in fig. 4, the method includes:
s401, if the physical layer is in the service period, after the service execution of the physical layer is finished, and when the physical layer and the radio frequency chip are both in the idle state, detecting a third actual output voltage of the battery, and resetting the failure marking times.
And under the condition that the number of times of the failure mark reaches a preset number threshold, if the physical layer is in the service period, in order not to influence the normal operation of the service of the physical layer, the voltage detection is not carried out at the moment. And after the service execution of the physical layer is finished, detecting a third actual output voltage of the battery when the physical layer and the radio frequency chip are both in an idle state, and resetting the failure marking frequency to be 0.
S402, determining third target transmitting power according to the third actual output voltage.
And determining a third target transmitting power corresponding to the third actual output voltage according to the third actual output voltage. Namely, the transmitting power with the minimum power value is obtained on the premise of meeting the signal transmitting requirement and stabilizing the system.
And S403, controlling the radio frequency chip to transmit signals by adopting the third target transmission power.
The radio frequency chip is controlled to transmit signals by adopting the third target transmission power, so that the transmission quality of communication services is met under the condition that the output voltage of the battery is the third actual output voltage, the power consumption can be reduced, and the endurance time of the battery is prolonged.
In summary, if the physical layer is in the service period, after the service execution of the physical layer is completed, and when the physical layer and the radio frequency chip are both in the idle state, detecting a third actual output voltage of the battery, and resetting the failure flag times; determining a third target transmitting power according to the third actual output voltage; and controlling the radio frequency chip to transmit signals by adopting the third target transmission power. Therefore, after the service of the physical layer is executed, the corresponding transmitting power is determined according to the detection voltage, the signal transmission is completed, and the normal service of the physical layer is not influenced.
On the basis of the second power control method based on the power supply voltage in fig. 3, an embodiment of the present application further provides a determination method for detecting a second actual output voltage of the battery. Fig. 5 is a schematic flowchart of a determination method for detecting a second actual output voltage of a battery according to an embodiment of the present disclosure. As shown in fig. 5, if the physical layer is not in the service period, S303 detecting the second actual output voltage of the battery includes:
s501, if the physical layer is not in the service period, judging whether the radio frequency chip is in the sleep period.
If the physical layer is not in service, the physical layer is not in working state. At this time, it is also determined whether the rf chip is in a sleep period.
And S502, if the radio frequency chip is in the sleep period, detecting a second actual output voltage of the battery after awakening the radio frequency chip.
And if the radio frequency chip is in the sleep period, waking up the radio frequency chip. And after waking up, finishing detecting the second actual output voltage of the battery.
And S503, if the radio frequency chip is not in the sleep period, directly detecting the second actual output voltage of the battery.
And if the radio frequency chip is not in the sleep period, directly detecting the second actual output voltage of the battery without any operation.
In summary, if the physical layer is not in the service period, it is determined whether the rf chip is in the sleep period; if the radio frequency chip is in the sleep period, detecting a second actual output voltage of the battery after awakening the radio frequency chip; and if the radio frequency chip is not in the sleep period, directly detecting the second actual output voltage of the battery. Therefore, the voltage detection is completed on the premise of not influencing the normal operation of the service.
On the basis of the power control method based on the power supply voltage in fig. 1, an embodiment of the present application further provides a method for determining a target transmit power. Fig. 6 is a flowchart illustrating a method for determining a target transmit power according to an embodiment of the present disclosure. As shown in fig. 6, determining the first target transmission power according to the first actual output voltage in S103 includes:
s601, inquiring a corresponding relation table of the output voltage and the power code table according to the first actual output voltage, and determining the power control word.
When signal transmission is performed for the first time, in order to ensure the service quality, a maximum power transmission signal is generally selected, for example: 23 dBm. However, when the battery output voltage is changed, if the maximum power transmission signal is still used, the transmission performance, even the transmission function, is affected. Therefore, according to the first actual output voltage, the corresponding relation table of the output voltage and the power code table is inquired, and the power control word is determined. The corresponding relation table of the output voltage and the power code table is a relation table which is tested and determined by a worker in advance, and the power control word is the maximum value of controllable adjustment of the current transmitting power.
For example, if the theoretical range of the input voltage of the terminal device is: 2.1V-4.2V, and two voltage demarcation thresholds VTH1 (2.4V) and VTH2 (3V) are obtained through actual measurement, and the two threshold voltages divide the input voltage into three sections: the maximum values of power adjustment are set to be 5 dBm, 3dBm and 1 dBm respectively in three sections of (2.1V-2.4V), (2.4V, 3V) and (3V, 4.2V). If the first actual output voltage is 2.3V and the corresponding voltage interval is [ 2.1V-2.4V ], the power control word is determined to be 5 dBm, i.e. the power can be adjusted within [18 dBm-23 dBm ].
S602, determining a first target transmitting power according to the power control word.
After the power control word is determined, a power adjustment range may be determined according to the power control word, and the first target transmit power may be determined within the power adjustment range. On the premise of meeting the service quality, the power adjustment is more flexible.
In conclusion, according to the first actual output voltage, inquiring a corresponding relation table of the output voltage and the power code table, and determining a power control word; a first target transmit power is determined based on the power control word. Therefore, the power control range is determined through the power control word, and the power adjustment is more flexible on the premise of meeting the service quality.
On the basis of the method for determining the target transmit power shown in fig. 6, an embodiment of the present application further provides a method for adjusting the transmit power. Fig. 7 is a flowchart illustrating a method for adjusting transmission power according to an embodiment of the present disclosure. As shown in fig. 7, the method includes:
s701, according to the power control word, adjusting the previous transmitting power to obtain a first target transmitting power.
And determining a power adjustment range according to the power control word, and adjusting the previous transmitting power according to the actual requirement of a worker in the power adjustment range to obtain the first target transmitting power.
Illustratively, to reduce the power consumption of the terminal device, the transmission power may be adjusted down within the power adjustment range; to meet the quality of service, the transmit power may be adjusted up within the power adjustment range.
With continued reference to fig. 7, the method further comprises:
s702, obtaining the service quality parameter detected by the physical layer.
When adjusting the transmission power, the reference is mainly based on the quality of service. Therefore, a quality of service parameter needs to be obtained after each adjustment to determine whether the current power adjustment has an impact on the quality of service.
Illustratively, the quality of service parameter may be SNR (signal to noise ratio) of the received signal and a CRC (cyclic redundancy check) result of channel data decoding. At medium to strong signal strengths, the SNR threshold is 3dbm, at weak signal strengths the SNR threshold is-10 dbm, and if below the SNR threshold, the signal quality is considered to be degraded. The decoding CRC result is shown in the BLER (block error rate) index, the BLER threshold is 5%, the signal quality is considered to be good when the BLER is within 5%, and the signal quality is considered to be deteriorated when the BLER exceeds 5%. The SNR threshold and the BLER threshold are preset quality parameter thresholds determined by staff according to experience.
S703, if the service quality parameter meets the preset quality parameter threshold, continuing to adjust the first target transmitting power according to the power control word, and controlling the radio frequency chip to transmit signals by adopting the adjusted transmitting power until the adjustment quantity of the first target transmitting power reaches the maximum power adjustment quantity corresponding to the power control word, and the service quality parameter detected after the power is adjusted meets the preset quality parameter threshold.
If the service quality parameter meets the preset quality parameter threshold, the service quality is good. The first target transmitting power may be continuously adjusted downward according to the power control word, where the adjustment amplitude of each time is a preset adjustment amplitude, and the preset adjustment amplitude is determined by the staff according to experience, for example, the preset adjustment amplitude is 1 dBm. And controlling the radio frequency chip to transmit signals by adopting the adjusted transmitting power.
And after the transmission is finished, continuously acquiring the service quality parameters detected by the physical layer, and if the service quality parameters meet the preset quality parameter threshold, continuously reducing the transmission power according to the preset adjustment amplitude. And finishing the adjustment until the adjustment amount of the first target transmitting power reaches the maximum power adjustment amount corresponding to the power control word and the detected service quality parameter after the power is adjusted meets a preset quality parameter threshold, and determining the first target transmitting power.
If the service quality parameter does not meet the preset quality parameter threshold, the service quality is deteriorated. Then, on the basis of the current transmitting power, the transmitting power is adjusted up according to the preset adjusting amplitude until the service quality parameter meets the preset quality parameter threshold. Therefore, on the basis of meeting the service quality, the power consumption of the equipment is reduced. It should be noted here that, in the process of power adjustment, the adjustment time spent is in the ms level, for example, the adjustment actually spent is 2-100 ms; the preset detection interval time is of the order of s, for example, the preset detection interval time is 200s, so that the time for controlling the power is far shorter than the detection interval time, that is, the effect of controlling the power according to the detection voltage can be reflected.
In conclusion, according to the power control word, the previous transmitting power is adjusted to obtain a first target transmitting power; acquiring a service quality parameter detected by a physical layer; if the service quality parameter meets the preset quality parameter threshold, the first target transmitting power is continuously adjusted according to the power control word, and the radio frequency chip is controlled to transmit signals by adopting the adjusted transmitting power until the adjustment quantity of the first target transmitting power reaches the maximum power adjustment quantity corresponding to the power control word, and the service quality parameter detected after the power is adjusted meets the preset quality parameter threshold. Therefore, on the basis of meeting the service quality, the power consumption of the equipment is reduced.
For the following description, specific implementation procedures and technical effects of the power control device, the electronic device, the storage medium, and the like based on the power supply voltage provided by the present application for execution are described above, and are not described again below.
Fig. 8 is a schematic diagram of a power control device based on a supply voltage according to an embodiment of the present application, and as shown in fig. 8, the power control device may include:
the determining module 801 is configured to determine whether a preset voltage detection condition is met according to a service state of a physical layer on the baseband chip and a state of a radio frequency chip on the internet of things terminal.
The detecting module 802 is configured to detect a first actual output voltage of a battery in the terminal of the internet of things if a preset voltage detection condition is met.
A determining module 803, configured to determine a first target transmit power according to the first actual output voltage.
And the transmitting module 804 is configured to control the radio frequency chip to transmit a signal with the first target transmission power.
Further, the determining module 801 is specifically configured to determine whether the physical layer is in a service period according to the service state of the physical layer; judging whether the radio frequency chip is in a closed state or not according to the state of the radio frequency chip; if the physical layer is not in the service period and the radio frequency chip is in a closed state, determining that a preset voltage detection condition is met; and if the physical layer has services and/or the radio frequency chip is not in a closed state, determining that the preset voltage detection condition is not met.
Further, the determining module 801 is specifically configured to update the failure flag number if the preset voltage detection condition is not met; if the failure marking times reach the preset times threshold, judging whether the physical layer is in the service period or not according to the service state of the physical layer again.
The detecting module 802 is further configured to detect a second actual output voltage of the battery and reset the number of fail flags if the physical layer is not in the service period.
The determining module 803 is further configured to determine a second target transmit power according to the second actual output voltage.
The transmitting module 804 is further configured to control the radio frequency chip to transmit a signal with the second target transmission power.
Further, the detecting module 802 is further configured to detect, if the physical layer is in the service period, after the service of the physical layer is completed, and when both the physical layer and the radio frequency chip are in an idle state, a third actual output voltage of the battery, and reset the number of times of the failure flag.
The determining module 803 is further configured to determine a third target transmit power according to the third actual output voltage.
The transmitting module 804 is further configured to control the radio frequency chip to transmit a signal with the third target transmission power.
Further, the determining module 801 is specifically configured to determine whether the rf chip is in a sleep period if the physical layer is not in the service period.
The detecting module 802 is further configured to detect a second actual output voltage of the battery after the rf chip is awakened during the sleep period.
The detecting module 802 is further configured to directly detect a second actual output voltage of the battery if the rf chip is not in the sleep period.
Further, the determining module 803 is specifically configured to query a correspondence table between the output voltage and the power code table according to the first actual output voltage, and determine the power control word; a first target transmit power is determined based on the power control word.
Further, the determining module 803 is specifically further configured to adjust the previous transmit power according to the power control word, so as to obtain the first target transmit power.
Further, the determining module 803 is specifically further configured to obtain a service quality parameter detected by the physical layer; if the service quality parameter meets the preset quality parameter threshold, the first target transmitting power is continuously adjusted according to the power control word, and the radio frequency chip is controlled to transmit signals by adopting the adjusted transmitting power until the adjustment quantity of the first target transmitting power reaches the maximum power adjustment quantity corresponding to the power control word, and the service quality parameter detected after the power is adjusted meets the preset quality parameter threshold.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 9 is a schematic diagram of a baseband chip according to an embodiment of the present application, where the baseband chip may be a chip with a computing processing function.
The baseband chip includes: a processor 901, a storage medium 902. The processor 901 and the storage medium 902 are connected via a bus.
The storage medium 902 is used for storing a program, and the processor 901 calls the program stored in the storage medium 902 to execute the above-mentioned method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the invention also provides a program product, for example a computer-readable storage medium, comprising a program which, when being executed by a processor, is adapted to carry out the above-mentioned method embodiments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a portable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other media capable of storing program codes.

Claims (10)

1. A power control method based on power supply voltage is characterized by being applied to a baseband chip in an Internet of things terminal, and the method comprises the following steps:
judging whether a preset voltage detection condition is met or not according to the service state of a physical layer on the baseband chip and the state of a radio frequency chip on the Internet of things terminal;
if the preset voltage detection condition is met, detecting a first actual output voltage of a battery in the terminal of the Internet of things;
determining a first target transmitting power according to the first actual output voltage;
and controlling the radio frequency chip to transmit signals by adopting the first target transmission power.
2. The method of claim 1, wherein the determining whether a preset voltage detection condition is met according to the service state of the physical layer on the baseband chip and the state of the radio frequency chip on the terminal of the internet of things comprises:
judging whether the physical layer is in a service period or not according to the service state of the physical layer;
judging whether the radio frequency chip is in a closed state or not according to the state of the radio frequency chip;
if the physical layer is not in the service period and the radio frequency chip is in a closed state, determining that the preset voltage detection condition is met;
and if the physical layer has services and/or the radio frequency chip is not in a closed state, determining that the preset voltage detection condition is not met.
3. The method of claim 1, further comprising:
if the preset voltage detection condition is not met, updating the failure mark times;
if the failure marking times reach a preset time threshold, judging whether the physical layer is in a service period or not according to the service state of the physical layer again;
if the physical layer is not in the service period, detecting a second actual output voltage of the battery, and resetting the failure marking times;
determining a second target transmitting power according to the second actual output voltage;
and controlling the radio frequency chip to transmit signals by adopting the second target transmission power.
4. The method of claim 3, further comprising:
if the physical layer is in the service period, after the service execution of the physical layer is finished, when the physical layer and the radio frequency chip are both in the idle state, detecting a third actual output voltage of the battery, and resetting the failure marking times;
determining a third target transmitting power according to the third actual output voltage;
and controlling the radio frequency chip to transmit signals by adopting the third target transmission power.
5. The method of claim 3, wherein detecting the second actual output voltage of the battery if the physical layer is not in a traffic period comprises:
if the physical layer is not in the service period, judging whether the radio frequency chip is in the sleep period;
if the radio frequency chip is in a sleep period, detecting the second actual output voltage of the battery after awakening the radio frequency chip;
and if the radio frequency chip is not in the sleep period, directly detecting the second actual output voltage of the battery.
6. The method of claim 1, wherein determining a first target transmit power based on the first actual output voltage comprises:
inquiring a corresponding relation table of the output voltage and a power code table according to the first actual output voltage, and determining a power control word;
and determining the first target transmission power according to the power control word.
7. The method of claim 6, wherein determining the first target transmit power according to the power control word comprises:
and adjusting the previous transmitting power according to the power control word to obtain the first target transmitting power.
8. The method of claim 7, further comprising:
acquiring a service quality parameter detected by the physical layer;
if the service quality parameter meets a preset quality parameter threshold, continuing to adjust the first target transmitting power according to the power control word, and controlling the radio frequency chip to transmit signals by adopting the adjusted transmitting power until the adjustment quantity of the first target transmitting power reaches the maximum power adjustment quantity corresponding to the power control word, and the service quality parameter detected after the power is adjusted meets the preset quality parameter threshold.
9. The utility model provides a power control device based on mains voltage which characterized in that is applied to the baseband chip in thing networking terminal, the device includes:
the judging module is used for judging whether a preset voltage detection condition is met or not according to the service state of a physical layer on the baseband chip and the state of a radio frequency chip on the Internet of things terminal;
the detection module is used for detecting a first actual output voltage of a battery in the terminal of the Internet of things if the preset voltage detection condition is met;
the determining module is used for determining first target transmitting power according to the first actual output voltage;
and the transmitting module is used for controlling the radio frequency chip to transmit signals by adopting the first target transmitting power.
10. A baseband chip, comprising: a processor, a storage medium, the processor and the storage medium are connected through bus communication, the storage medium stores program instructions executable by the processor, and the processor calls the program instructions stored in the storage medium to execute the steps of the power supply voltage-based power control method according to any one of claims 1 to 8.
CN202210418118.0A 2022-04-21 2022-04-21 Power control method and device based on power supply voltage and baseband chip Active CN114521009B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210418118.0A CN114521009B (en) 2022-04-21 2022-04-21 Power control method and device based on power supply voltage and baseband chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210418118.0A CN114521009B (en) 2022-04-21 2022-04-21 Power control method and device based on power supply voltage and baseband chip

Publications (2)

Publication Number Publication Date
CN114521009A true CN114521009A (en) 2022-05-20
CN114521009B CN114521009B (en) 2022-09-16

Family

ID=81600124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210418118.0A Active CN114521009B (en) 2022-04-21 2022-04-21 Power control method and device based on power supply voltage and baseband chip

Country Status (1)

Country Link
CN (1) CN114521009B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110620A (en) * 2007-08-25 2008-01-23 中兴通讯股份有限公司 Method for dynamically regulating mobile terminal emitting power and its terminal
US20080297124A1 (en) * 2007-05-30 2008-12-04 Jyrki Koljonen Transmission method, apparatus and module
US20140099934A1 (en) * 2012-10-05 2014-04-10 Htc Corporation Portable device with subscriber identity cards and method for controlling transmission power thereof
CN105866688A (en) * 2015-12-30 2016-08-17 乐视移动智能信息技术(北京)有限公司 Method of measuring mobile communication terminal equipment cell capacity and system thereof
CN108270494A (en) * 2018-02-01 2018-07-10 上海闻泰电子科技有限公司 Detection device, method and communication equipment
CN112311930A (en) * 2020-11-24 2021-02-02 惠州Tcl移动通信有限公司 Terminal testing method and device, storage medium and mobile terminal
CN112636790A (en) * 2020-12-14 2021-04-09 努比亚技术有限公司 Electronic price tag communication system, electronic price tag communication method and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080297124A1 (en) * 2007-05-30 2008-12-04 Jyrki Koljonen Transmission method, apparatus and module
CN101110620A (en) * 2007-08-25 2008-01-23 中兴通讯股份有限公司 Method for dynamically regulating mobile terminal emitting power and its terminal
US20140099934A1 (en) * 2012-10-05 2014-04-10 Htc Corporation Portable device with subscriber identity cards and method for controlling transmission power thereof
CN105866688A (en) * 2015-12-30 2016-08-17 乐视移动智能信息技术(北京)有限公司 Method of measuring mobile communication terminal equipment cell capacity and system thereof
CN108270494A (en) * 2018-02-01 2018-07-10 上海闻泰电子科技有限公司 Detection device, method and communication equipment
CN112311930A (en) * 2020-11-24 2021-02-02 惠州Tcl移动通信有限公司 Terminal testing method and device, storage medium and mobile terminal
CN112636790A (en) * 2020-12-14 2021-04-09 努比亚技术有限公司 Electronic price tag communication system, electronic price tag communication method and computer readable storage medium

Also Published As

Publication number Publication date
CN114521009B (en) 2022-09-16

Similar Documents

Publication Publication Date Title
CN108475935B (en) Battery charging management method and terminal
US6313832B1 (en) Remaining battery capacity display device
CN103327522B (en) The method used in wireless communications and WTRU
US7359713B1 (en) Battery consumption optimization for mobile users
EP2086269B1 (en) A transmit power controller
US7983863B2 (en) System and method of battery capacity estimation
US20050113124A1 (en) Method and apparatus for lowering power use by a ranging receiver
US7418356B2 (en) System and method of battery capacity estimation
EP2283574B1 (en) Methods of calibrating a clock using multiple clock periods with a single counter and related devices and methods
US8032154B2 (en) Wireless device
US20020081977A1 (en) Method and apparatus for reception quality indication in wireless communication
CN108768548B (en) Radio frequency calibration method, device, mobile terminal and computer readable storage medium
US6144858A (en) Mobile communication terminal apparatus with reception level measurement control
CN108770055B (en) Transmission power adjusting method and device and electronic device
US20020047797A1 (en) Monitoring circuit
US9806830B2 (en) Semiconductor device, radio communication device, and control method for radio communication device
WO2004029642A1 (en) System and method of battery capacity estimation
CN114521009B (en) Power control method and device based on power supply voltage and baseband chip
CN107222269B (en) GSM APC (global system for mobile communications) quick and accurate calibration implementation method based on saturated PA (power amplifier)
EP2511723B1 (en) Voltage indicating circuit of cellular phone battery
EP1630970A1 (en) Mobile telecommunication terminal device, mobile telecommunication method, and mobile telecommunication control program
CN108832944A (en) Power compensating method, device, terminal device and storage medium
EP2140720B1 (en) Methods and apparatus for out of service processing with varied behaviors
CN214315268U (en) SWP main interface circuit and terminal
JP2005127917A (en) Method and apparatus for detecting voltage and electronic apparatus

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