CN109873636B - Frequency adjustment method and mobile terminal - Google Patents

Frequency adjustment method and mobile terminal Download PDF

Info

Publication number
CN109873636B
CN109873636B CN201910237828.1A CN201910237828A CN109873636B CN 109873636 B CN109873636 B CN 109873636B CN 201910237828 A CN201910237828 A CN 201910237828A CN 109873636 B CN109873636 B CN 109873636B
Authority
CN
China
Prior art keywords
change rate
frequency
frequency change
heat source
mobile terminal
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
Application number
CN201910237828.1A
Other languages
Chinese (zh)
Other versions
CN109873636A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910237828.1A priority Critical patent/CN109873636B/en
Publication of CN109873636A publication Critical patent/CN109873636A/en
Application granted granted Critical
Publication of CN109873636B publication Critical patent/CN109873636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention provides a frequency adjustment method and a mobile terminal, wherein the method comprises the following steps: determining a frequency change rate of the crystal oscillator; judging the magnitude relation between the frequency change rate and the first frequency change rate threshold value; and if the frequency change rate is greater than or equal to the first frequency change rate threshold, adjusting the temperature change speed of the target heat source in the heat sources based on the frequency change rate so that the frequency change rate is smaller than the first frequency change rate threshold. According to the technical scheme provided by the embodiment of the invention, the influence of temperature change on the frequency of the crystal oscillator can be reduced, so that the satellite capturing time length can be reduced and the positioning precision can be improved.

Description

Frequency adjustment method and mobile terminal
Technical Field
The present invention relates to the field of terminals, and in particular, to a frequency adjustment method and a mobile terminal.
Background
Currently, many mobile terminals, such as mobile phones and car computers, have positioning devices built therein, and the positioning devices, such as GPS (Global Positioning System ), are increasingly used, and a stable local clock signal is required in the positioning devices to accurately perform positioning.
In one solution, a mobile terminal uses a quartz crystal oscillator to provide a local clock signal. However, quartz crystal oscillators have the inherent property of "temperature drift", i.e. the frequency of the crystal oscillator varies with temperature. Therefore, in this technical solution, since the frequency of the crystal oscillator changes with the temperature, the satellite capturing time of the positioning device becomes long or the satellite is lost in the scene where there is a temperature change.
Disclosure of Invention
The embodiment of the invention aims to provide a frequency adjustment method and a mobile terminal, which solve the problem that the satellite capturing time of a positioning device becomes long or a satellite is lost due to the fact that the frequency of a crystal oscillator changes along with the change of temperature.
In order to solve the technical problems, the embodiment of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for adjusting a frequency of a crystal oscillator, which is applied to a mobile terminal, where the mobile terminal includes the crystal oscillator and a heat source, and the method for adjusting a frequency includes: determining a rate of change of frequency of the crystal oscillator; judging the magnitude relation between the frequency change rate and a first frequency change rate threshold value; and if the frequency change rate is greater than or equal to the first frequency change rate threshold, adjusting the temperature change speed of a target heat source in the heat sources based on the frequency change rate so that the frequency change rate is smaller than the first frequency change rate threshold.
In a second aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes a crystal oscillator and a heat source, and the mobile terminal further includes: the frequency offset determining module is used for determining the frequency change rate of the crystal oscillator; the judging module is used for judging the magnitude relation between the frequency change rate and the first frequency change rate threshold value; and the adjusting module is used for adjusting the temperature change speed of the target heat source in the heat sources based on the frequency change rate if the frequency change rate is greater than or equal to the first frequency change rate threshold value so that the frequency change rate is smaller than the first frequency change rate threshold value.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including: a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the frequency adjustment method as described in the first aspect above.
In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the frequency adjustment method as described in the first aspect above.
According to the technical scheme provided by the embodiment of the invention, on one hand, when the frequency change rate of the crystal oscillator is larger than or equal to the first frequency change rate threshold value, the temperature change speed of the target heat source is adjusted based on the frequency change rate, so that the influence of temperature change on the frequency of the crystal oscillator can be reduced, the satellite capturing time length can be reduced, and the positioning precision can be improved; on the other hand, since an analog-to-digital conversion circuit of a thermosensitive crystal and an integrated thermistor is not required, the cost can be reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic block diagram illustrating an application scenario of a frequency adjustment method provided according to some embodiments of the present invention;
fig. 2 illustrates a flow diagram of a frequency adjustment method provided in accordance with some embodiments of the present invention;
fig. 3 is a flow chart illustrating a frequency adjustment method according to other embodiments of the present invention;
fig. 4 is a flow chart of a frequency adjustment method according to further embodiments of the present invention;
fig. 5 is a flow chart illustrating a frequency adjustment method according to further embodiments of the present invention;
FIG. 6 illustrates a schematic block diagram of a mobile terminal provided in accordance with some embodiments of the present invention; and
fig. 7 illustrates a schematic block diagram of a mobile terminal provided in accordance with some embodiments of the present invention.
Detailed Description
In order to make the technical solution of the present invention better understood by those skilled in the art, the technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, shall fall within the scope of the invention.
Fig. 1 illustrates a schematic block diagram of an application scenario of a frequency adjustment method provided according to some embodiments of the present invention. Referring to fig. 1, the frequency adjustment method is applied to a mobile terminal 100, the mobile terminal 100 includes a crystal oscillator 110 and a heat source including a CPU120, a power amplifier 130, and a charging module 140. The crystal oscillator 110 is capable of generating a frequency signal for providing a local clock signal, and the heat generated by a heat source such as the CPU120, the power amplifier 130, or the charging module 140 may change the temperature of the crystal oscillator 110, resulting in a change in the frequency of the frequency signal generated by the crystal oscillator 110.
It should be noted that, the mobile terminal of fig. 1 includes, but is not limited to, a smart terminal such as a mobile phone, a tablet computer, a wearable device, a vehicle-mounted computer, and the like. A frequency adjustment method according to an exemplary embodiment of the present invention is described below with reference to fig. 2 in conjunction with the application scenario of fig. 1. It should be noted that the above application scenario is only shown for the convenience of understanding the spirit and principle of the present invention, and the embodiments of the present invention are not limited in any way. Rather, embodiments of the invention may be applied to any scenario where applicable.
Fig. 2 illustrates a flow diagram of a frequency adjustment method provided in accordance with some embodiments of the present invention. The frequency adjustment method includes steps S210 to S230, and can be applied to the mobile terminal of fig. 1, which includes a crystal oscillator and a heat source. The frequency input method in the exemplary embodiment of fig. 2 is described in detail below.
Referring to fig. 2, in step S210, a frequency change rate of the crystal oscillator is determined.
In an example embodiment, prior to performing positioning, a frequency change rate Δf of the crystal oscillator is detected, the frequency change rate of the crystal oscillator representing an amount of frequency change per unit time, e.g., per second, in ppb/s.
It should be noted that, in the exemplary embodiment, the crystal oscillator may be a common crystal oscillator, a voltage-controlled crystal oscillator, or other suitable crystal oscillators, such as a temperature-compensated crystal oscillator and a digital-compensated crystal oscillator, which is not particularly limited in the present invention.
In step S220, a magnitude relation between the frequency change rate and the first frequency change rate threshold is determined.
In an example embodiment, after determining the frequency change rate of the crystal oscillator, it is determined whether the frequency change rate of the crystal oscillator is greater than or equal to a first frequency change rate threshold Δf 0 . The first frequency change rate threshold is a frequency change rate threshold allowed by a positioning device, such as a GPS (Global Positioning System ), that is, a frequency change rate allowed by the positioning device to be able to work normally, and is related to the frequency stability of the crystal oscillator and the positioning accuracy of the positioning device.
It should be noted that, in the exemplary embodiment, the first frequency change rate threshold may be a frequency change rate threshold allowed by the positioning device, or may be smaller than the frequency change rate threshold allowed by the positioning device, which is also within the protection scope of the present invention.
In step S230, if the frequency change rate is greater than or equal to the first frequency change rate threshold, the temperature change rate of the target heat source of the heat sources is adjusted based on the frequency change rate so that the frequency change rate is less than the first frequency change rate threshold.
In an example embodiment, if the frequency change rate of the crystal oscillator is greater than or equal to the first frequency change rate threshold, the temperature change rate of a target heat source of the heat sources of the mobile terminal is adjusted based on the frequency change rate so that the frequency change rate of the crystal oscillator is less than the first frequency change rate threshold, thereby enabling rapid acquisition of satellites and accurate positioning. The target heat source of the mobile terminal may include at least one of a CPU (Central Processing Unit ), a radio frequency power amplifier, and a charging module, and the target heat source may also include other suitable heat sources such as a bluetooth module or a WiFi (Wireless-Fidelity) module, which is also within the scope of the present invention.
Specifically, when the frequency change rate of the crystal oscillator is greater than or equal to the first frequency change rate threshold, if the target heat source includes a CPU, adjusting the operating frequency of the CPU based on the frequency change rate of the crystal oscillator; and/or if the target heat source comprises a radio frequency power amplifier, adjusting the transmitting power of the radio frequency power amplifier based on the frequency change rate of the crystal oscillator; and/or, if the target heat source comprises a charging module, adjusting the charging current of the charging module based on the frequency change rate of the crystal oscillator.
According to the frequency adjustment method in the exemplary embodiment of fig. 2, on the one hand, when the frequency change rate of the crystal oscillator is greater than or equal to the first frequency change rate threshold, the temperature change speed of the target heat source is adjusted based on the frequency change rate, so that the influence of the temperature change on the frequency of the crystal oscillator can be reduced, and the satellite capturing duration can be reduced and the positioning accuracy can be improved; on the other hand, since an analog-to-digital conversion circuit of a thermosensitive crystal and an integrated thermistor is not required, the cost can be reduced.
The following describes the case where the target heat source includes a CPU, a radio frequency power amplifier, or a charging module, respectively. In the case where the target heat source includes a CPU, in an example embodiment, if the frequency change rate of the crystal oscillator is a negative value, the operating frequency of the CPU is reduced; or if the frequency change rate of the crystal oscillator is a positive value, the operating frequency of the CPU is increased.
In the case where the target heat source comprises a radio frequency power amplifier, in an example embodiment, if the frequency change rate of the crystal oscillator is negative, reducing the transmit power of the radio frequency power amplifier; or if the frequency change rate of the crystal oscillator is positive, the transmitting power of the radio frequency power amplifier is increased.
In an example embodiment, if the frequency change rate of the crystal oscillator is negative, the charging current of the charging module is reduced; or if the frequency change rate of the crystal oscillator is positive, the charging current of the charging module is increased.
In addition, if the adjustment of the temperature change speed of the target heat source is stopped when the frequency change rate of the crystal oscillator is just smaller than the first frequency change rate threshold, frequent adjustment of the target heat source can be caused, and normal operation of the mobile terminal is affected. Thus, in an example embodiment, if the frequency change rate of the crystal oscillator is less than a first frequency change rate threshold, determining whether the frequency change rate of the crystal oscillator is less than a second frequency change rate threshold; and if the frequency change rate of the crystal oscillator is smaller than the second frequency change rate threshold, stopping adjusting the heat source, wherein the second frequency change rate threshold is smaller than the first frequency change rate threshold, and the second frequency change rate threshold is related to the frequency stability of the crystal oscillator and the positioning precision of the positioning device. By setting the second frequency change rate threshold, frequent adjustment of the temperature change speed of the target heat source can be avoided, and adjustment efficiency can be improved.
Fig. 3 is a flow chart illustrating a frequency adjustment method according to other embodiments of the present invention.
Referring to fig. 3, in step S310, according to the layout situation of the crystal oscillator in the mobile terminal, a plurality of temperature change scenes, that is, a heating scene and a cooling scene, are preset, for example, the heating scene includes at least one of a CPU starting heavy load operation, a Power Amplifier (PA) starting transmission, and a charging module starting charging; the cooling scene comprises at least one scene of stopping heavy load work of the CPU, stopping emission of the radio frequency PA and stopping charging of the charging module.
In step S320, a first frequency change rate threshold Δf is set 0 The first frequency change rate threshold is a frequency change allowed by the positioning device, such as a GPS, that is, a frequency change allowed by the positioning device to be able to operate normally, and is related to the frequency stability of the crystal oscillator and the positioning accuracy of the positioning device. By adjusting the magnitude of the first frequency change rate threshold, the response speed to adjust the heat source can be dynamically adjusted.
In step S330, the frequency change rate Δf of the crystal oscillator, which represents the frequency change amount per unit time, for example, per second, is determined.
In step S340, it is determined whether the frequency change rate Δf of the crystal oscillator is smaller than the first frequency change rate threshold Δf 0 If smaller than the first frequency change rate threshold value delta f 0 Proceed to step S350; if greater than or equal to the first frequency change rate threshold Δf 0 Proceed to step S360.
In step S360, it is determined whether the value of the frequency change rate Δf of the crystal oscillator is a positive value or a negative value, and if the value is a negative value, it indicates that the frequency change rate of the crystal oscillator is a negative frequency change, and if the result indicates that the temperature rise is a temperature rise scenario, the process proceeds to step S370; if the frequency change rate is positive, it indicates that the frequency change rate of the crystal oscillator is a forward frequency change, and the step S380 is proceeded to if the frequency change rate is positive, which indicates a cooling scene.
In step S370, the temperature rising speed of the heat source is reduced, for example, the operating frequency of the CPU is reduced, the emission power of the rf PA is reduced, or the charging current of the charging module is reduced, so as to alleviate the temperature change rate of the crystal oscillator by reducing the temperature rising speed of the heat source;
in step S380, the cooling speed of the heat source is reduced, for example, the operating frequency of the CPU is increased, the emission power of the radio frequency AP is increased, or the charging current of the charging module is increased, so that the temperature change rate of the crystal oscillator is relieved by reducing the cooling speed of the heat source.
In step S390, a jump to step S330 is made to wait for a specific time T1, for example, 3S, and the frequency change rate Δf of the crystal oscillator is continuously determined.
In the embodiment of the invention, after waiting for a first preset time period, for example, 3S, the frequency change rate is reacquired, and the magnitude relation between the newly acquired frequency change rate and the first frequency change rate threshold is judged.
Fig. 4 is a flow chart illustrating a frequency adjustment method according to further embodiments of the present invention.
Referring to fig. 4, in step S410, a second frequency change rate threshold Δf is set 1 The second frequency change rate threshold valueLess than the first frequency change rate threshold value Deltaf 0 A second frequency change rate threshold Deltaf 1 Indicating the normal frequency change of the crystal oscillator if the frequency change rate of the crystal oscillator is + -Deltaf 1 Within the range (2), there is no need to adjust the temperature change rate of the heat source.
In step S415, the frequency change rate Δf of the crystal oscillator, which represents the amount of frequency change per unit time, for example, per second, is determined.
In step S420, it is determined whether the frequency change rate Δf of the crystal oscillator is smaller than the first frequency change rate threshold Δf 0 If smaller than the first frequency change rate threshold value delta f 0 Proceed to step S440; if greater than or equal to the first frequency change rate threshold Δf 0 Proceed to step S425.
In step S425, it is determined whether the value of the frequency change rate Δf of the crystal oscillator is a positive value or a negative value, and if the value is a negative value, it indicates that the frequency change of the crystal oscillator is a negative frequency change, and if the result is a temperature rise scene, the process proceeds to step S430; if the frequency change is positive, the crystal oscillator frequency change is a forward frequency change, and the cooling scene is indicated, and the process proceeds to step S435.
In step S430, the heating rate of the heat source is reduced, for example, the operating frequency of the CPU is reduced, the emission power of the rf PA is reduced, or the charging current of the charging module is reduced, so as to alleviate the temperature change rate of the crystal oscillator by reducing the heating rate of the heat source;
in step S435, the cooling speed of the heat source is reduced, for example, the operating frequency of the CPU is increased, the emission power of the radio frequency AP is increased, or the charging current of the charging module is increased, so that the temperature change rate of the crystal oscillator is relieved by reducing the cooling speed of the heat source.
In step S440, a positioning device, such as a GPS, stably tracks and acquires satellite signals to position the mobile terminal based on the acquired satellite signals.
In step S445, the frequency change rate Δf of the crystal oscillator is determined.
In step S450, the crystal oscillation is judgedWhether the frequency change rate Δf of the receiver is smaller than the second frequency change rate threshold Δf 1 If it is smaller than the second frequency change rate threshold, the process proceeds to step S455; if not less than the second frequency change rate threshold, the process proceeds to step S460.
In step S455, the warm-up measures for the heat source, such as stopping lowering or raising the operating frequency of the CPU, are canceled.
In step S460, the step of waiting for a specific time T1, for example, 3S, jumps to step S415, and the frequency change rate Δf of the crystal oscillator is continuously determined.
Fig. 5 is a flow chart illustrating a frequency adjustment method according to still other embodiments of the present invention.
Referring to fig. 5, in step S510, it is determined that the frequency change rate Δf of the crystal oscillator is equal to the first frequency change rate threshold Δf 0 If the frequency change rate Δf of the crystal oscillator is smaller than the first frequency change rate threshold Δf 0 Proceed to step S520; if the frequency change rate Δf of the crystal oscillator is greater than or equal to the first frequency change rate threshold Δf 0 Proceed to step S530.
In step S520, the GPS module of the mobile terminal rapidly acquires satellite signals and locates the mobile terminal.
In step S530, the temperature change speed of the target heat source of the heat sources of the mobile terminal is adjusted, for example, by inputting a control signal to the target heat source such as the CPU, the rf PA, etc., to adjust the operating frequency of the CPU or the transmit power of the rf PA.
In step S540, the temperature change speed of the target heat source is changed.
In step S550, the temperature change speed of the crystal oscillator is changed.
In step S560, the frequency variation amount of the crystal oscillator is determined.
In step S570, the frequency change rate Δf of the crystal oscillator is determined, and then the process proceeds to step S510, where effective closed-loop control is formed to control the frequency change of the crystal oscillator within an allowable range.
Fig. 6 illustrates a schematic block diagram of a mobile terminal provided in accordance with some embodiments of the present invention. Referring to fig. 6, the mobile terminal 600 includes: a determining module 610, a first judging module 620, and an adjusting module 630. Wherein the determining module 610 is configured to determine a frequency change rate of the crystal oscillator; the first determining module 620 is configured to determine a magnitude relation between the frequency change rate and a first frequency change rate threshold; the adjustment module 630 is configured to adjust the temperature change speed of the target heat source of the heat sources based on the frequency change rate if the frequency change rate is greater than or equal to the first frequency change rate threshold, so that the frequency change rate is less than the first frequency change rate threshold.
In some embodiments of the present invention, based on the above-mentioned scheme, the target heat source includes at least one of a central processing unit CPU, a radio frequency power amplifier, and a charging module; wherein, the adjustment module includes: a CPU adjustment unit configured to adjust a working frequency of the CPU based on the frequency change rate if the target heat source includes the CPU; and/or a radio frequency adjustment unit for adjusting the emission power of the radio frequency power amplifier based on the frequency change rate if the target heat source includes the radio frequency power amplifier; and/or a charging adjustment unit for adjusting the charging current of the charging module based on the frequency change rate if the target heat source includes the charging module.
In some embodiments of the present invention, based on the above-described scheme, the CPU adjusting unit includes: the frequency reducing unit is used for reducing the working frequency of the CPU if the frequency change rate is a negative value; or an up-conversion unit, configured to increase the operating frequency of the CPU if the frequency change rate is a positive value.
In some embodiments of the present invention, based on the above-mentioned scheme, the radio frequency adjustment unit includes: a power reduction unit, configured to reduce the transmit power of the radio frequency power amplifier if the frequency change rate is negative; or, a power boosting unit, configured to boost the transmit power of the radio frequency power amplifier if the frequency change rate is a positive value.
In some embodiments of the present invention, based on the above-described aspects, the charge adjusting unit includes: the current reducing unit is used for reducing the charging current of the charging module if the frequency change rate is a negative value; and/or an up-current unit for increasing the charging current of the charging module if the frequency change rate is a positive value.
In some embodiments of the present invention, based on the above solution, the mobile terminal further includes: a second judging module, configured to determine whether the frequency change rate is smaller than a second frequency change rate threshold if the frequency change rate is smaller than the first frequency change rate threshold, where the second frequency change rate threshold is smaller than the first frequency change rate threshold; and the stop adjustment unit is used for stopping adjusting the heat source if the frequency change rate is smaller than the second frequency change rate threshold value.
In some embodiments of the present invention, after adjusting the temperature change speed of the target heat source of the heat sources based on the above scheme, the first determining module 620 is configured to: and after a first preset time period, re-judging the magnitude relation between the frequency change rate and the first frequency change rate threshold value.
Fig. 7 is a schematic hardware structure of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 7, the mobile terminal 700 includes, but is not limited to: radio frequency unit 701, network module 702, audio output unit 703, input unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, processor 710, and power supply 711. Those skilled in the art will appreciate that the mobile terminal structure shown in fig. 7 is not limiting of the mobile terminal and that the mobile terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. In the embodiment of the invention, the mobile terminal comprises, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer and the like.
The mobile terminal further includes a crystal oscillator and a heat source, and the memory 709 stores a computer program, which when executed by the processor 710, can implement the following procedures: determining a rate of change of frequency of the crystal oscillator; judging the magnitude relation between the frequency change rate and a first frequency change rate threshold value; and if the frequency change rate is greater than or equal to the first frequency change rate threshold, adjusting the temperature change speed of a target heat source in the heat sources based on the frequency change rate so that the frequency change rate is smaller than the first frequency change rate threshold.
Optionally, the target heat source comprises at least one of a central processing unit CPU, a radio frequency power amplifier, and a charging module; the computer program, when executed by the processor 810, adjusts a temperature change rate of a target heat source of the heat sources based on the frequency change rate, comprising: if the target heat source comprises the CPU, adjusting the working frequency of the CPU based on the frequency change rate; and/or if the target heat source comprises the radio frequency power amplifier, adjusting the transmission power of the radio frequency power amplifier based on the frequency change rate; and/or if the target heat source includes the charging module, adjusting a charging current of the charging module based on the rate of change of frequency.
Optionally, when the computer program is executed by the processor 810, the adjusting the operating frequency of the CPU based on the frequency change rate includes: if the frequency change rate is a negative value, the working frequency of the CPU is reduced; or if the frequency change rate is a positive value, the working frequency of the CPU is increased.
Optionally, when the computer program is executed by the processor 810, the adjusting the transmit power of the radio frequency power amplifier based on the frequency variation includes: if the frequency change rate is a negative value, reducing the transmitting power of the radio frequency power amplifier; or if the frequency change rate is positive, increasing the transmitting power of the radio frequency power amplifier.
Optionally, when the computer program is executed by the processor 810, the adjusting the charging current of the charging module based on the rate of change of frequency comprises: if the frequency change rate is a negative value, reducing the charging current of the charging module; or if the frequency change rate is positive, increasing the charging current of the charging module.
Optionally, when the computer program is executed by the processor 810, the frequency adjustment method further comprises: if the frequency change rate is smaller than the first frequency change rate threshold, determining whether the frequency change rate is smaller than a second frequency change rate threshold, wherein the second frequency change rate threshold is smaller than the first frequency change rate threshold; and if the frequency change rate is smaller than the second frequency change rate threshold value, stopping adjusting the temperature change speed of the target heat source in the heat sources.
Optionally, after adjusting the temperature change speed of the target heat source of the heat sources when the computer program is executed by the processor 810, the frequency adjustment method further includes: and after waiting for a first preset time period, re-judging the magnitude relation between the frequency change rate and the first frequency change rate threshold value.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and transmitting signals during the process of receiving and transmitting information or communication, specifically, receiving downlink data from a base station, and then processing the received downlink data by the processor 710; and, the uplink data is transmitted to the base station. Typically, the radio unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio unit 701 may also communicate with networks and other devices through a wireless communication system.
The mobile terminal provides wireless broadband internet access to the user through the network module 702, such as helping the user to send and receive e-mail, browse web pages, access streaming media, etc.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the mobile terminal 700. The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used for receiving an audio or video signal. The input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, the graphics processor 7041 processing image data of still pictures or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphics processor 7041 may be stored in memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 701 in the case of a telephone call mode.
The mobile terminal 700 also includes at least one sensor 705, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 7061 and/or the backlight when the mobile terminal 700 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 705 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., and will not be described again here.
The display unit 706 is used to display information input by a user or information provided to the user. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 707 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 7071 or thereabout using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 7071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 710, and receives and executes commands sent from the processor 710. In addition, the touch panel 7071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 710 to determine a type of a touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 708 is an interface to which an external device is connected to the mobile terminal 700. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 700 or may be used to transmit data between the mobile terminal 700 and an external device.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 709 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 710 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby performing overall monitoring of the mobile terminal. Processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 710.
The mobile terminal 700 may also include a power supply 711 (e.g., a battery) for powering the various components, and the power supply 711 may preferably be logically coupled to the processor 710 via a power management system, such as to perform charge, discharge, and power consumption management functions via the power management system.
In addition, the mobile terminal 700 includes some functional modules, which are not shown, and will not be described herein.
The mobile terminal in the embodiment of the present application can implement each process of the foregoing frequency adjustment method, and achieve the same effects and functions, which are not repeated here.
Further, the embodiment of the present invention further provides a computer readable storage medium, on which a computer program is stored, where the computer program when executed by a processor implements each process of the foregoing frequency adjustment method embodiment, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the above-mentioned embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (15)

1. A frequency adjustment method applied to a mobile terminal, the mobile terminal comprising a crystal oscillator and a heat source, the frequency adjustment method comprising:
determining a rate of change of frequency of the crystal oscillator;
judging the magnitude relation between the frequency change rate and a first frequency change rate threshold value;
and if the frequency change rate is greater than or equal to the first frequency change rate threshold, adjusting the temperature change speed of a target heat source in the heat sources based on the frequency change rate so that the frequency change rate is smaller than the first frequency change rate threshold.
2. The method of claim 1, wherein the target heat source comprises at least one of a central processing unit CPU, a radio frequency power amplifier, and a charging module;
wherein the adjusting the temperature change rate of the target heat source of the heat sources based on the frequency change rate includes:
if the target heat source comprises the CPU, adjusting the working frequency of the CPU based on the frequency change rate; and/or
If the target heat source comprises the radio frequency power amplifier, adjusting the transmitting power of the radio frequency power amplifier based on the frequency change rate; and/or
And if the target heat source comprises the charging module, adjusting the charging current of the charging module based on the frequency change rate.
3. The frequency adjustment method according to claim 2, wherein the adjusting the operating frequency of the CPU based on the frequency change rate includes:
if the frequency change rate is a negative value, the working frequency of the CPU is reduced; or (b)
And if the frequency change rate is a positive value, increasing the working frequency of the CPU.
4. The method of frequency adjustment according to claim 2, wherein said adjusting the transmit power of the radio frequency power amplifier based on the rate of change of frequency comprises:
if the frequency change rate is a negative value, reducing the transmitting power of the radio frequency power amplifier; or (b)
And if the frequency change rate is positive, increasing the transmitting power of the radio frequency power amplifier.
5. The method of frequency adjustment according to claim 2, wherein the adjusting the charging current of the charging module based on the rate of change of frequency comprises:
if the frequency change rate is a negative value, reducing the charging current of the charging module; or (b)
And if the frequency change rate is a positive value, increasing the charging current of the charging module.
6. The frequency adjustment method according to claim 1, characterized in that the frequency adjustment method further comprises:
if the frequency change rate is smaller than the first frequency change rate threshold, determining whether the frequency change rate is smaller than a second frequency change rate threshold, wherein the second frequency change rate threshold is smaller than the first frequency change rate threshold;
and if the frequency change rate is smaller than the second frequency change rate threshold value, stopping adjusting the temperature change speed of the target heat source in the heat sources.
7. The frequency adjustment method according to any one of claims 1 to 6, characterized in that after adjusting a temperature change speed of a target heat source among the heat sources, the frequency adjustment method further comprises:
and after a first preset time period, re-judging the magnitude relation between the frequency change rate and the first frequency change rate threshold value.
8. A mobile terminal comprising a crystal oscillator and a heat source, the mobile terminal further comprising:
a determining module for determining a rate of change of frequency of the crystal oscillator;
the first judging module is used for judging the magnitude relation between the frequency change rate and the first frequency change rate threshold;
and the adjusting module is used for adjusting the temperature change speed of the target heat source in the heat sources based on the frequency change rate if the frequency change rate is greater than or equal to the first frequency change rate threshold value so that the frequency change rate is smaller than the first frequency change rate threshold value.
9. The mobile terminal of claim 8, wherein the target heat source comprises at least one of a central processing unit CPU, a radio frequency power amplifier, a charging module;
wherein, the adjustment module includes:
a CPU adjustment unit configured to adjust a working frequency of the CPU based on the frequency change rate if the target heat source includes the CPU; and/or
The radio frequency adjusting unit is used for adjusting the transmitting power of the radio frequency power amplifier based on the frequency change rate if the target heat source comprises the radio frequency power amplifier; and/or
And the charging adjustment unit is used for adjusting the charging current of the charging module based on the frequency change rate if the target heat source comprises the charging module.
10. The mobile terminal according to claim 9, wherein the CPU adjustment unit includes:
the frequency reducing unit is used for reducing the working frequency of the CPU if the frequency change rate is a negative value; or (b)
And the frequency raising unit is used for raising the working frequency of the CPU if the frequency change rate is a positive value.
11. The mobile terminal of claim 9, wherein the radio frequency adjustment unit comprises:
a power reduction unit, configured to reduce the transmit power of the radio frequency power amplifier if the frequency change rate is negative; or alternatively, the first and second heat exchangers may be,
and the power raising unit is used for raising the transmitting power of the radio frequency power amplifier if the frequency change rate is a positive value.
12. The mobile terminal according to claim 9, wherein the charge adjustment unit includes:
the current reducing unit is used for reducing the charging current of the charging module if the frequency change rate is a negative value; or (b)
And the current rising unit is used for rising the charging current of the charging module if the frequency change rate is a positive value.
13. The mobile terminal of claim 8, wherein the mobile terminal further comprises:
a second judging module, configured to determine whether the frequency change rate is smaller than a second frequency change rate threshold if the frequency change rate is smaller than the first frequency change rate threshold, where the second frequency change rate threshold is smaller than the first frequency change rate threshold;
and the stop adjustment unit is used for stopping adjusting the temperature change speed of the target heat source in the heat sources if the frequency change rate is smaller than the second frequency change rate threshold value.
14. A mobile terminal, comprising: memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the frequency adjustment method according to any one of claims 1 to 7.
15. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the steps of the frequency adjustment method according to any one of claims 1 to 7.
CN201910237828.1A 2019-03-27 2019-03-27 Frequency adjustment method and mobile terminal Active CN109873636B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910237828.1A CN109873636B (en) 2019-03-27 2019-03-27 Frequency adjustment method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910237828.1A CN109873636B (en) 2019-03-27 2019-03-27 Frequency adjustment method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109873636A CN109873636A (en) 2019-06-11
CN109873636B true CN109873636B (en) 2023-05-05

Family

ID=66921374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910237828.1A Active CN109873636B (en) 2019-03-27 2019-03-27 Frequency adjustment method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109873636B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110277987A (en) * 2019-06-27 2019-09-24 Oppo广东移动通信有限公司 Temperature-compensation method and device, electronic equipment, the storage medium of crystal oscillator
CN112422084B (en) * 2019-08-20 2024-04-19 Oppo广东移动通信有限公司 Temperature compensation method and device for crystal oscillator, electronic equipment and storage medium
FR3107626B1 (en) * 2020-02-21 2022-03-11 St Microelectronics Grenoble 2 Drift compensation
CN112859994A (en) * 2021-01-11 2021-05-28 湖南国科微电子股份有限公司 Voltage regulation method, device, equipment and medium of integrated chip

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006170673A (en) * 2004-12-13 2006-06-29 Epson Toyocom Corp Temperature-compensating piezoelectric oscillator and receiving device using it
CN101295961A (en) * 2007-04-25 2008-10-29 泰艺电子股份有限公司 Temperature compensation type oscillator capable of remaining constant temperature
CN102868363A (en) * 2011-07-05 2013-01-09 富士通半导体股份有限公司 System and method for reducing temperature-dependent and process-dependent frequency variation of a crystal oscillator circuit
CN103546148A (en) * 2012-07-09 2014-01-29 日本电波工业株式会社 Oven controlled crystal oscillator
CN203759687U (en) * 2011-12-21 2014-08-06 英特尔公司 Adaptive compensation device and system applied to reverse temperature dependence
CN104954303A (en) * 2014-03-28 2015-09-30 联发科技股份有限公司 Handheld device and frequency tracking method thereof
CN105743498A (en) * 2016-02-01 2016-07-06 江汉大学 Time reference system and apparatus, and method and device for time reference
CN107134995A (en) * 2016-02-29 2017-09-05 日本电波工业株式会社 The crystal oscillator of attached thermostat
CN109039574A (en) * 2018-08-21 2018-12-18 维沃移动通信有限公司 A kind of method and its terminal device reducing frequency deviation

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006170673A (en) * 2004-12-13 2006-06-29 Epson Toyocom Corp Temperature-compensating piezoelectric oscillator and receiving device using it
CN101295961A (en) * 2007-04-25 2008-10-29 泰艺电子股份有限公司 Temperature compensation type oscillator capable of remaining constant temperature
CN102868363A (en) * 2011-07-05 2013-01-09 富士通半导体股份有限公司 System and method for reducing temperature-dependent and process-dependent frequency variation of a crystal oscillator circuit
CN203759687U (en) * 2011-12-21 2014-08-06 英特尔公司 Adaptive compensation device and system applied to reverse temperature dependence
CN103546148A (en) * 2012-07-09 2014-01-29 日本电波工业株式会社 Oven controlled crystal oscillator
CN104954303A (en) * 2014-03-28 2015-09-30 联发科技股份有限公司 Handheld device and frequency tracking method thereof
CN105743498A (en) * 2016-02-01 2016-07-06 江汉大学 Time reference system and apparatus, and method and device for time reference
CN107134995A (en) * 2016-02-29 2017-09-05 日本电波工业株式会社 The crystal oscillator of attached thermostat
CN109039574A (en) * 2018-08-21 2018-12-18 维沃移动通信有限公司 A kind of method and its terminal device reducing frequency deviation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种新的晶体振荡器自动稳频技术;徐泽雨,黄可;《电子科技大学学报》;19940228(第01期);全文 *
晶体振荡器的频率稳定度和老化特性研究;赵岩等;《时间频率学报》;20180715(第03期);全文 *

Also Published As

Publication number Publication date
CN109873636A (en) 2019-06-11

Similar Documents

Publication Publication Date Title
CN109873636B (en) Frequency adjustment method and mobile terminal
CN107196363B (en) Method for adjusting charging current, terminal and computer readable storage medium
CN108073343B (en) display interface adjusting method and mobile terminal
CN109981009B (en) Control method of stepping motor and mobile terminal
CN109509473B (en) Voice control method and terminal equipment
CN108494030B (en) Wireless charging method, terminal and transmitting terminal equipment
CN107911812B (en) Method for adjusting preferred public land mobile network PPLMN list and mobile terminal
CN108984066B (en) Application icon display method and mobile terminal
CN111049510B (en) Touch key, control method and electronic equipment
CN109739394B (en) SAR value processing method and mobile terminal
CN109062634B (en) Application starting method and mobile terminal
CN108196753B (en) Interface switching method and mobile terminal
CN109195191B (en) Cell reselection control method and terminal
CN109041190B (en) Power control method and terminal
CN109947345B (en) Fingerprint identification method and terminal equipment
CN109947617B (en) Method, terminal and readable storage medium for monitoring display content of application interface
CN108089799B (en) Control method of screen edge control and mobile terminal
CN108924319B (en) Proximity detection method and mobile terminal
CN108108608B (en) Control method of mobile terminal and mobile terminal
CN107894958B (en) Junk information cleaning method, terminal, server and computer readable storage medium
CN107562305B (en) Method for setting dynamic icon, terminal and computer readable storage medium
US11741881B2 (en) Display image compensation method, device, electronic equipment, and storage medium
CN111522691B (en) Downtime processing method and device and electronic equipment
CN114582264A (en) Display brightness control method and device, electronic equipment and storage medium
CN109831771B (en) Bluetooth searching method and device, mobile terminal and storage medium

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