Automatic frequency control method and system, electronic equipment and medium
A technology of automatic frequency control and control word, which is applied in the direction of automatic power control and electrical components, and can solve the problem of narrow adjustable frequency deviation range
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] This embodiment provides an automatic frequency control method, referring to figure 1 , the automatic frequency control method includes the following steps:
[0058] Step S101, acquiring the output frequency offset of the crystal.
[0059] Step S102, adjusting the CAFC control word according to the output frequency offset.
[0060] Step S103, adjusting the CDAC control word according to the CAFC control word.
[0061] During specific implementation, the automatic frequency control method is applied to a frequency control module, including a crystal, a control unit, and an adjustable capacitor. The control unit generates a control word of the adjustable capacitor according to the automatic frequency control method of this embodiment, so as to adjust the adjustable capacitor to realize frequency control.
[0062] As an optional implementation manner, in step S101, the control unit acquires an output frequency offset of the crystal. In step S102, the control unit adjus...
Embodiment 2
[0064] On the basis of Embodiment 1, this embodiment provides an automatic frequency control method. In this embodiment, the first preset interval takes the first threshold as the lower limit of the interval, and takes the second threshold as the upper limit of the interval.
[0065] After the CDAC control word is adjusted accordingly in step S102, in step S103, if the CAFC control word is less than the first threshold, then the CDAC control word is reduced by a preset step size, and the CAFC control word is increased by a preset coefficient; If the CAFC control word is greater than the second threshold, increase the CDAC control word by a preset step size, and decrease the CAFC control word by a preset coefficient; if the CAFC control word belongs to the first preset interval, the adjustment ends.
[0066] As an optional implementation manner, the value of the preset step size is 1.
[0067] As an optional implementation, the preset coefficient factor=(FER_CDAC_a-FER_CDAC_b)...
Embodiment 3
[0075] This embodiment provides an automatic frequency control method. The automatic frequency control method in this embodiment is substantially the same as the automatic frequency control method in Embodiment 2, except that the settings of the preset coefficients are different.
[0076] In this embodiment, the first preset interval is divided into n subintervals, and the second preset interval is divided into m subintervals, then when the CDAC control word is in the ith subinterval and the CAFC control word is in the jth subinterval, the corresponding The preset coefficient factor[i,j]=(FER_CDAC_a i,j -FER_CDAC_a (i+1),j )*(CAFC_a j -CAFC_a j+1 ) / ((CDAC_a i -CDAC_a i+1 )*(FER_CAFC_a i,j -FER_CAFC_a i,(j+1) )), i∈[1,n], j∈[1,m]. Among them, CAFC_a j and CAFC_a j+1are the two endpoints of the jth subinterval of the second preset interval respectively, CDAC_a i and CDAC_a i+1 are respectively the two endpoints of the i-th subinterval of the first preset interval, i∈...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


