Frequency calibration method, device and electronic equipment
By using calibration voltage adjustment and signal strength judgment in wireless communication equipment to determine the frequency calibration value, the problem of frequency calibration equipment dependence in the existing technology is solved, and equipment-free calibration is achieved, which improves customer experience and reduces costs.
Patent Information
- Application Number
- CN202111584443.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-22
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2041-12-22
AI Technical Summary
In the existing technology, frequency calibration requires additional equipment, resulting in a reduced customer experience and high costs.
By using the successive adjustment of the calibration voltage and the signal strength judgment in the wireless communication device to determine the frequency calibration value, the frequency calibration is realized and the use of additional frequency calibration equipment is avoided.
Frequency calibration is completed without the need for additional equipment, improving customer experience and saving calibration costs.
Smart Images

Figure CN114244355B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of frequency calibration, and in particular to a frequency calibration method, device and electronic equipment. Background Art
[0002] In all current communication terminal products, the accuracy of the frequency source directly affects the quality of communication. The frequency accuracy is highly dependent on the stability of the crystal oscillator. After long-term use and over time, the frequency of the crystal oscillator will drift. When the frequency drift reaches a certain level, it will cause a large deviation in the frequency source, resulting in a decrease in reception performance or no reception; the transmitted frequency will make it impossible for the other party to receive it.
[0003] In order to avoid the above problems, it is necessary to constantly calibrate the frequency of the terminal product. The commonly used calibration solutions in the prior art are as follows: Figure 1 As shown in the figure: The device to be calibrated transmits a signal to a test instrument (such as a spectrum analyzer or integrated tester). The test instrument then measures the output frequency of the device to be calibrated. Using the host computer software, a specific control circuit is used to control the device to increase or decrease its output frequency according to the target frequency, thereby achieving the target frequency value, thus achieving the calibration function. However, this frequency calibration method requires additional frequency calibration equipment, which reduces the customer experience and is costly. Summary of the Invention
[0004] In view of this, the present application provides a frequency calibration method, device and electronic device, which achieve frequency calibration without the need for additional frequency calibration equipment, thereby improving customer experience.
[0005] A technical solution adopted in this application is: a frequency calibration method, comprising:
[0006] Acquiring a target frequency, and using the target frequency as an initial receiving frequency;
[0007] gradually adjusting the calibration voltage from the first extreme value toward the second extreme value according to a predetermined adjustment amount to adjust the receiving frequency accordingly, and during the calibration voltage adjustment process, using the calibration voltage corresponding to the first time a signal sent by the transmitting device is received as the first frequency adjustment value, and using the calibration voltage corresponding to the last time a signal sent by the transmitting device is received as the second frequency adjustment value;
[0008] determining a frequency calibration value based on the first frequency adjustment value and the second frequency adjustment value;
[0009] The target frequency is corrected according to the frequency calibration value.
[0010] Optionally, the first extreme value is a maximum value of the calibration voltage, and the second extreme value is a minimum value of the calibration voltage.
[0011] Optionally, the first extreme value is a minimum value of the calibration voltage, and the second extreme value is a maximum value of the calibration voltage.
[0012] Optionally, using a calibration voltage corresponding to the first time a signal sent by a transmitting device is received as a first frequency adjustment value, and using a calibration voltage corresponding to the last time a signal sent by the transmitting device is received as a second frequency adjustment value, includes:
[0013] The calibration voltage corresponding to the first time when the signal strength value of the signal sent by the transmitting device is greater than the preset threshold is used as the first frequency adjustment value;
[0014] The calibration voltage corresponding to the last time the signal strength value of the signal sent by the sending device is greater than a preset threshold is used as the second frequency adjustment value.
[0015] Optionally, the preset threshold is a signal strength value corresponding to being able to receive the signal sent by the sending device.
[0016] Optionally, determining a frequency calibration value based on the first frequency adjustment value and the second frequency adjustment value includes:
[0017] Calculating an average of the first frequency adjustment value and the second frequency adjustment value;
[0018] The mean value is converted into a corresponding frequency value and the frequency value is used as a frequency calibration value.
[0019] Another technical solution adopted in this application is: a frequency calibration device, comprising:
[0020] a setting unit, configured to obtain a target frequency and use the target frequency as an initial receiving frequency;
[0021] an adjustment unit, configured to adjust the calibration voltage successively from the first extreme value toward the second extreme value according to a predetermined adjustment amount, so as to adjust the receiving frequency accordingly, and during the process of adjusting the calibration voltage, using the calibration voltage corresponding to the first time a signal sent by the transmitting device is received as the first frequency adjustment value, and using the calibration voltage corresponding to the last time a signal sent by the transmitting device is received as the second frequency adjustment value;
[0022] a determining unit, configured to determine a frequency calibration value based on the first frequency adjustment value and the second frequency adjustment value;
[0023] A correction unit is used to correct the target frequency according to the frequency calibration value.
[0024] Optionally, the adjustment unit includes:
[0025] A first determining subunit is configured to use a calibration voltage corresponding to when the signal strength value of the signal sent by the transmitting device is greater than a preset threshold for the first time as a first frequency adjustment value;
[0026] The second determining subunit is configured to use a calibration voltage corresponding to the last time a signal strength value of a signal sent by the sending device is greater than a preset threshold as a second frequency adjustment value.
[0027] Optionally, the determining unit is specifically configured to:
[0028] An average of the first frequency adjustment value and the second frequency adjustment value is calculated, and the average is converted into a corresponding frequency value and the frequency value is used as a frequency calibration value.
[0029] Another technical solution adopted in this application is: an electronic device, comprising:
[0030] A memory and a processor, wherein the memory is used to store a program, and the processor is used to implement the above-mentioned frequency calibration method when executing the program stored in the memory.
[0031] The frequency calibration method disclosed in the present application includes: obtaining a target frequency, using the target frequency as the initial receiving frequency, and adjusting the calibration voltage from a first extreme value toward a second extreme value according to a predetermined adjustment amount to adjust the receiving frequency accordingly. During the calibration voltage adjustment process, the calibration voltage corresponding to the first time a signal sent by a transmitting device is received is used as a first frequency adjustment value, and the calibration voltage corresponding to the last time a signal sent by the transmitting device is received is used as a second frequency adjustment value. Based on the first and second frequency adjustment values, a frequency calibration value is determined, and the target frequency is corrected according to the frequency calibration value. In this way, frequency calibration is achieved without the need for additional frequency calibration equipment, thereby improving customer experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0033] Figure 1 A schematic diagram showing frequency calibration in the prior art is shown;
[0034] Figure 2A flow chart of a frequency calibration method provided in an embodiment of the present application is shown;
[0035] Figure 3 Another flow chart of a frequency calibration method provided in an embodiment of the present application is shown;
[0036] Figure 4 Another flow chart of a frequency calibration method provided by an embodiment of the present application is shown;
[0037] Figure 5 A schematic structural diagram of a frequency calibration device provided in an embodiment of the present application is shown;
[0038] Figure 6 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0040] In all current communication terminal products, the accuracy of the frequency source directly affects the quality of communication. The frequency accuracy is highly dependent on the stability of the crystal oscillator. After long-term use and over time, the frequency of the crystal oscillator will drift. When the frequency drift reaches a certain level, it will cause a large deviation in the frequency source, resulting in a decrease in reception performance or no reception; the transmitted frequency will make it impossible for the other party to receive it.
[0041] In order to avoid the above problems, it is necessary to constantly calibrate the frequency of the terminal product. The commonly used calibration solutions in the prior art are as follows: Figure 1 As shown: the frequency device to be calibrated transmits a signal to the detection instrument (spectrum analyzer / comprehensive tester, etc.), and the detection instrument tests the output frequency of the frequency device to be calibrated. The host computer software on the computer side controls the frequency device to be calibrated through a specific control circuit according to the target frequency to increase or decrease the output frequency so that it reaches the target frequency value, thereby realizing the calibration function.
[0042] However, this frequency calibration method requires additional frequency calibration equipment, which reduces customer experience and is costly.
[0043] To this end, the inventors have discovered through research that in normal usage scenarios, the device that needs to be calibrated can be put into calibration mode. By changing the receiving frequency of the device that needs to be calibrated, the frequency calibration value can be determined based on whether the calibration voltage corresponding to the signal sent by the sending device can be received. The target frequency can then be corrected according to the frequency calibration value to complete the frequency calibration work. This method does not require the use of professional frequency testing instruments and corresponding professional accessories, greatly improves the customer experience, and saves the application cost of calibration.
[0044] Based on the above content, an embodiment of the present application provides a frequency calibration method. The executor of the frequency calibration method is a device to be calibrated, and the device to be calibrated is a wireless communication device. This embodiment describes the frequency calibration method using a walkie-talkie as an example. In order to achieve frequency calibration of the walkie-talkie, a sending device is introduced in this embodiment. The sending device can be a walkie-talkie, but is not limited to a walkie-talkie, and can also be other communication devices or instruments.
[0045] refer to Figure 2 The frequency calibration method provided in this embodiment includes the following steps:
[0046] S101: Acquire a target frequency, and use the target frequency as an initial receiving frequency.
[0047] In this embodiment, the above-mentioned sending device transmits a signal carrying target frequency information to the intercom to be calibrated. After receiving the signal transmitted by the sending device, the intercom to be calibrated parses the signal and obtains the target frequency from it. Then, the intercom to be calibrated sets its own receiving frequency to the target frequency.
[0048] It should be noted that, in this embodiment, only the initial receiving frequency of the intercom to be calibrated needs to be set as the target frequency, and no requirement is placed on the frequency of the transmitting device.
[0049] In this embodiment, before executing step S101, the transmitting frequency of the transmitting device may be set to the target frequency in advance, that is, the transmitting frequency of the transmitting device is consistent with the receiving frequency of the intercom to be calibrated.
[0050] S102: The calibration voltage is adjusted successively from the first extreme value toward the second extreme value according to a predetermined adjustment amount to adjust the receiving frequency accordingly. During the calibration voltage adjustment process, the calibration voltage corresponding to the first time a signal sent by the transmitting device is received is used as the first frequency adjustment value, and the calibration voltage corresponding to the last time a signal sent by the transmitting device is received is used as the second frequency adjustment value.
[0051] In this embodiment, before the intercom to be calibrated is calibrated, the calibration voltage for starting to receive signals is uncertain. In order to determine the range of the calibration voltage for receiving signals, adjustment can be performed starting from the extreme value of the calibration voltage.
[0052] The first extreme value can be either the maximum value or the minimum value of the calibration voltage, or in other words, the first extreme value can be the maximum value to which the calibration voltage can be adjusted, or the first extreme value can be the minimum value to which the calibration voltage can be adjusted. In this embodiment, the purpose of adjusting the calibration voltage of the intercom to be calibrated to the maximum or minimum value is to place the calibration voltage at both ends of the adjustable range. Subsequently, adjusting the calibration voltage in one direction can allow the calibration voltage to pass through the optimal frequency calibration point. If the calibration voltage is not at either end of the adjustable range, that is, the calibration voltage is somewhere in the middle of the adjustable range, it is impossible to determine whether the calibration voltage needs to be adjusted in the direction of increasing or decreasing the calibration voltage, and it is possible that the optimal frequency calibration point cannot be found or repeated adjustments may be required to find the optimal frequency calibration point. Therefore, in this embodiment, adjusting the calibration voltage of the intercom to be calibrated starting from the maximum or minimum value not only allows the optimal frequency calibration point to be found, but also improves the efficiency of finding the optimal frequency calibration point.
[0053] In this embodiment, the first extreme value and the second extreme value may include the following two cases:
[0054] Case 1: The first extreme value is the maximum value of the calibration voltage, and the second extreme value is the minimum value of the calibration voltage.
[0055] Case 2: The first extreme value is the minimum value of the calibration voltage, and the second extreme value is the maximum value of the calibration voltage.
[0056] If it is case one, the voltage value can be continuously reduced, and in the process of continuously reducing the voltage value, the calibration voltage corresponding to the first time the signal sent by the sending device is received is used as the first frequency adjustment value, and the calibration voltage corresponding to the last time the signal sent by the sending device is received is used as the second frequency adjustment value.
[0057] More specifically, the calibration voltage corresponding to the first time when the signal strength value of the signal sent by the transmitting device is greater than the preset threshold is used as the first frequency adjustment value.
[0058] In the process of continuously reducing the voltage value according to the predetermined adjustment amount, the intercom to be calibrated will gradually receive the signal sent by the transmitting device. When the signal sent by the transmitting device is received for the first time, it means that the signal strength (RSSI signal strength) of the signal sent by the transmitting device received by the intercom to be calibrated at this time meets the condition of being greater than the preset threshold for the first time, wherein the preset threshold is the signal strength value corresponding to the signal sent by the transmitting device that can be received, that is, when the signal strength of the signal sent by the transmitting device is greater than the preset threshold, it indicates that the intercom to be calibrated can receive the signal sent by the transmitting device. Otherwise, it indicates that the intercom to be calibrated cannot receive the signal sent by the transmitting device.
[0059] At this point, the calibration voltage is recorded as the first frequency adjustment value. The voltage is then continuously reduced. When the intercom to be calibrated stops receiving signals, i.e., when it last received a signal from the transmitting device, the calibration voltage at this time is recorded as the second frequency adjustment value. Specifically, the calibration voltage corresponding to the last time the signal strength value of the signal received from the transmitting device exceeded a preset threshold is used as the second frequency adjustment value.
[0060] During actual use, if the walkie-talkie to be calibrated receives a signal, a reception indication will be generated, indicating that the walkie-talkie to be calibrated has received the signal. Therefore, in the process of continuously reducing the voltage value, when the walkie-talkie to be calibrated generates a reception indication for the first time, it indicates that the signal has been received, and the first frequency adjustment value when the indication is received is recorded. Then, the voltage value continues to be reduced. When the walkie-talkie to be calibrated no longer generates a reception indication, the second frequency adjustment value when the indication was last received is recorded.
[0061] If it is case two, the voltage value can be continuously increased according to the predetermined adjustment amount, and in the process of continuously increasing the voltage value, the calibration voltage corresponding to the first time the signal sent by the sending device is received is used as the first frequency adjustment value, and the calibration voltage corresponding to the last time the signal sent by the sending device is received is used as the second frequency adjustment value.
[0062] In the process of gradually increasing the voltage value according to the predetermined adjustment amount, the walkie-talkie to be calibrated gradually receives the signal sent by the transmitting device. When the walkie-talkie to be calibrated receives the signal sent by the transmitting device for the first time, that is, when the signal strength value of the signal sent by the transmitting device meets the condition of being greater than the preset threshold for the first time, the calibration voltage at this time is recorded as the first frequency adjustment value. Thereafter, the voltage value is continuously increased. When the walkie-talkie to be calibrated changes from being able to receive the signal to being unable to receive the signal, that is, when it receives the signal sent by the transmitting device for the last time, the calibration voltage at this time is recorded as the second frequency adjustment value. That is, the calibration voltage corresponding to the last time the signal strength value of the signal sent by the transmitting device meets the condition of being greater than the preset threshold is used as the second frequency adjustment value.
[0063] During actual use, if the walkie-talkie to be calibrated receives a signal, a reception indication will be generated, indicating that the walkie-talkie to be calibrated has received the signal. Therefore, in the process of continuously increasing the voltage value, when the walkie-talkie to be calibrated generates a reception indication for the first time, it indicates that the signal has been received, and the first frequency adjustment value when the indication is received is recorded. Then, the voltage value continues to be increased. When the walkie-talkie to be calibrated no longer generates a reception indication, the second frequency adjustment value when the indication was last received is recorded.
[0064] In this embodiment, the calibration voltage is gradually reduced or increased in order to make the calibration voltage close to the normal value. When the intercom to be calibrated can receive a signal, it means that the calibration voltage is already within the usable voltage value range. If it is further adjusted to a smaller or larger value, the receiver will leave the receiving range again from the receiving state, and then the optimal frequency adjustment value can be determined within the receiving range.
[0065] In this embodiment, the calibration voltage is the output voltage of the DAC in the intercom to be calibrated. This voltage controls the frequency change of the reference crystal, and ultimately achieves the following change of the actual RF frequency. During the actual frequency calibration process, the output voltage of the DAC of the intercom to be calibrated can be controlled by a specific button, thereby achieving the adjustment of the calibration frequency.
[0066] S103: Determine a frequency calibration value based on the first frequency adjustment value and the second frequency adjustment value.
[0067] In this embodiment, as can be seen from the above description, during the process of adjusting the calibration voltage, the intercom to be calibrated switches from a state in which it cannot receive a signal to a state in which it receives a signal and then to a state in which it no longer receives a signal. During this process, the first frequency adjustment value when the signal is first received and the second frequency adjustment value when the signal is last received are recorded. The optimal frequency calibration value can be considered to be within the range between the first frequency adjustment value and the second frequency adjustment value.
[0068] Optionally, an intermediate value between the first frequency adjustment value and the second frequency adjustment value may be used as the frequency calibration value. Specifically, S103 includes:
[0069] Calculate the average of the first frequency adjustment value and the second frequency adjustment value;
[0070] The mean value is converted into a corresponding frequency value and the frequency value is used as the frequency calibration value.
[0071] Specifically, the frequency value corresponding to the average of the first frequency adjustment value and the second frequency adjustment value is used as the frequency calibration value and saved.
[0072] S104: Correct the target frequency according to the frequency calibration value.
[0073] Specifically, the frequency calibration value is saved as the final crystal calibration value in the crystal frequency calibration register, ending the frequency calibration. Maintaining the target frequency and the corresponding frequency calibration value in the crystal frequency calibration register can store and overwrite the original frequency calibration value, so that the frequency calibration value corresponding to the target frequency can be directly called later.
[0074] After completing the frequency calibration, restart the machine and it will work according to the calibrated target frequency.
[0075] In this embodiment, as can be seen from the above description, the first extreme value of the calibration voltage can be the maximum value to which the intercom to be calibrated can be adjusted, or it can be the minimum value to which the intercom to be calibrated can be adjusted. Based on these two situations, the frequency calibration method can include the following two implementation methods:
[0076] Implementation method 1: Reference Figure 3 , shows a flow chart of implementation mode 1 of a frequency calibration method disclosed in an embodiment of the present application, including:
[0077] Set the receiving frequency of the walkie-talkie to be calibrated to the target frequency, adjust the calibration voltage value to the maximum value, and continuously reduce the calibration voltage value to detect whether the signal sent by the transmitting device is received. If the signal sent by the transmitting device is received, record the first frequency adjustment value at this time, and continue to reduce the calibration voltage value; detect whether the signal sent by the transmitting device is received. If the signal sent by the transmitting device is no longer received, record the second frequency adjustment value of the last signal received, and use the average of the first adjustment value and the second adjustment value as the frequency calibration value.
[0078] Implementation method 2, reference Figure 4 , shows a flow chart of implementation mode 1 of a frequency calibration method disclosed in an embodiment of the present invention, including:
[0079] Set the receiving frequency of the walkie-talkie to be calibrated to the target frequency, adjust the calibration voltage to the minimum value, and continuously increase the calibration voltage value to detect whether the signal sent by the transmitting device is received. If the signal sent by the transmitting device is received, record the first frequency adjustment value at this time, and continue to increase the calibration voltage value to detect whether the signal sent by the transmitting device is received. If the signal sent by the transmitting device is no longer received, record the second frequency adjustment value of the last received signal, and use the average of the first adjustment value and the second adjustment value as the frequency calibration value.
[0080] In this embodiment, a target frequency is obtained and used as the initial receiving frequency. The calibration voltage is adjusted sequentially from a first extreme value toward a second extreme value according to a predetermined adjustment amount to adjust the receiving frequency accordingly. During the calibration voltage adjustment process, the calibration voltage corresponding to the first reception of a signal from a transmitting device is used as a first frequency adjustment value, and the calibration voltage corresponding to the last reception of a signal from the transmitting device is used as a second frequency adjustment value. A frequency calibration value is determined based on the first and second frequency adjustment values, and the target frequency is corrected according to the frequency calibration value. This achieves frequency calibration without the need for additional frequency calibration equipment, thereby improving the customer experience.
[0081] Reference Figure 5 Based on the above-mentioned embodiment of the frequency calibration method, an embodiment of the present application provides a frequency calibration device, which may include:
[0082] A setting unit 11 is used to obtain a target frequency and use the target frequency as an initial receiving frequency;
[0083] an adjusting unit 12, configured to adjust the calibration voltage successively from the first extreme value toward the second extreme value according to a predetermined adjustment amount, so as to adjust the receiving frequency accordingly, and during the calibration voltage adjustment process, using the calibration voltage corresponding to the first time a signal sent by the transmitting device is received as the first frequency adjustment value, and using the calibration voltage corresponding to the last time a signal sent by the transmitting device is received as the second frequency adjustment value;
[0084] A determining unit 13, configured to determine a frequency calibration value based on the first frequency adjustment value and the second frequency adjustment value;
[0085] The correction unit 14 is configured to correct the target frequency according to the frequency calibration value.
[0086] Furthermore, the first extreme value is the maximum value of the calibration voltage, and the second extreme value is the minimum value of the calibration voltage.
[0087] Furthermore, the first extreme value is a minimum value of the calibration voltage, and the second extreme value is a maximum value of the calibration voltage.
[0088] Furthermore, the adjustment unit includes:
[0089] A first determining subunit is configured to use a calibration voltage corresponding to when the signal strength value of the signal sent by the transmitting device is greater than a preset threshold for the first time as a first frequency adjustment value;
[0090] The second determining subunit is configured to use a calibration voltage corresponding to the last time a signal strength value of a signal sent by the sending device is greater than a preset threshold as a second frequency adjustment value.
[0091] Furthermore, the preset threshold is a signal strength value corresponding to being able to receive a signal sent by the sending device.
[0092] Furthermore, the determination unit is specifically used for:
[0093] An average of the first frequency adjustment value and the second frequency adjustment value is calculated, and the average is converted into a corresponding frequency value and the frequency value is used as a frequency calibration value.
[0094] In this embodiment, a target frequency is obtained and used as the initial receiving frequency. The calibration voltage is adjusted sequentially from a first extreme value toward a second extreme value according to a predetermined adjustment amount to adjust the receiving frequency accordingly. During the calibration voltage adjustment process, the calibration voltage corresponding to the first reception of a signal from the transmitting device is used as the first frequency adjustment value, and the calibration voltage corresponding to the last reception of a signal from the transmitting device is used as the second frequency adjustment value. A frequency calibration value is determined based on the first and second frequency adjustment values, and the target frequency is corrected according to the frequency calibration value. This achieves frequency calibration without the need for additional frequency calibration equipment, improving the customer experience.
[0095] It should be noted that, for the working process of each unit and sub-unit in this embodiment, please refer to the corresponding description in the above embodiment.
[0096] refer to Figure 6 , shows a schematic structural diagram of an electronic device provided in an embodiment of the present application. In this embodiment, the electronic device includes:
[0097] The memory 601 and the processor 602 , the memory is used to store programs, and the processor is used to implement the frequency calibration method in the above embodiment when executing the programs stored in the memory.
[0098] It should be noted that the various embodiments of the present application are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referenced to each other.
[0099] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present application. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A frequency calibration method, characterized in that: include: Acquiring a target frequency and using the target frequency as an initial receiving frequency, wherein the target frequency is obtained by parsing a signal transmitted by a transmitting device and carrying target frequency information; gradually adjusting the calibration voltage from the first extreme value toward the second extreme value according to a predetermined adjustment amount to adjust the receiving frequency accordingly, and during the calibration voltage adjustment process, using the calibration voltage corresponding to the first time a signal sent by the transmitting device is received as the first frequency adjustment value, and using the calibration voltage corresponding to the last time a signal sent by the transmitting device is received as the second frequency adjustment value; determining a frequency calibration value based on the first frequency adjustment value and the second frequency adjustment value; The target frequency is corrected according to the frequency calibration value.
2. The frequency calibration method according to claim 1, wherein: The first extreme value is the maximum value of the calibration voltage, and the second extreme value is the minimum value of the calibration voltage.
3. The frequency calibration method according to claim 1, wherein: The first extreme value is a minimum value of the calibration voltage, and the second extreme value is a maximum value of the calibration voltage.
4. The frequency calibration method according to claim 1, wherein: The method further comprises: using a calibration voltage corresponding to a first reception of a signal sent by a transmitting device as a first frequency adjustment value, and using a calibration voltage corresponding to a last reception of a signal sent by the transmitting device as a second frequency adjustment value. The calibration voltage corresponding to the first time when the signal strength value of the signal sent by the transmitting device is greater than the preset threshold is used as the first frequency adjustment value; The calibration voltage corresponding to the last time the signal strength value of the signal sent by the sending device is greater than a preset threshold is used as the second frequency adjustment value.
5. The frequency calibration method according to claim 4, characterized in that: The preset threshold is a signal strength value corresponding to being able to receive the signal sent by the sending device. The frequency calibration method according to claim 1 , wherein: Determining a frequency calibration value based on the first frequency adjustment value and the second frequency adjustment value includes: Calculating an average of the first frequency adjustment value and the second frequency adjustment value; The mean value is converted into a corresponding frequency value and the frequency value is used as a frequency calibration value.
7. A frequency calibration device, characterized in that: include: a setting unit, configured to obtain a target frequency and use the target frequency as an initial receiving frequency, wherein the target frequency is obtained by parsing a signal carrying target frequency information transmitted by a transmitting device; an adjustment unit, configured to adjust the calibration voltage successively from the first extreme value toward the second extreme value according to a predetermined adjustment amount, so as to adjust the receiving frequency accordingly, and during the process of adjusting the calibration voltage, using the calibration voltage corresponding to the first time a signal sent by the transmitting device is received as the first frequency adjustment value, and using the calibration voltage corresponding to the last time a signal sent by the transmitting device is received as the second frequency adjustment value; a determining unit, configured to determine a frequency calibration value based on the first frequency adjustment value and the second frequency adjustment value; A correction unit is used to correct the target frequency according to the frequency calibration value.
8. The frequency calibration device according to claim 7, characterized in that: The adjustment unit includes: A first determining subunit is configured to use a calibration voltage corresponding to when the signal strength value of the signal sent by the transmitting device is greater than a preset threshold for the first time as a first frequency adjustment value; The second determining subunit is configured to use a calibration voltage corresponding to the last time a signal strength value of a signal sent by the sending device is greater than a preset threshold as a second frequency adjustment value.
9. The frequency calibration device according to claim 7, characterized in that: The determining unit is configured to: An average of the first frequency adjustment value and the second frequency adjustment value is calculated, and the average is converted into a corresponding frequency value and the frequency value is used as a frequency calibration value.
10. An electronic device, characterized in that: include: A memory and a processor, wherein the memory is used to store a program, and the processor is used to implement the frequency calibration method according to any one of claims 1 to 6 when executing the program stored in the memory.
Citation Information
Patent Citations
Method and device for automatic calibration of third-generation TD-SCDMA mobile terminal
CN101047915A
Terminal and frequency calibration method of terminal
CN102651673A