Signal frequency division system and method, fractional frequency divider and electronic equipment
By dynamically adjusting the frequency division ratio, the problem of output frequency deviation in traditional frequency dividers is solved, and higher flexibility and accuracy are achieved, ensuring the stability of the output frequency.
Patent Information
- Application Number
- CN202411036658.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-11-26
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Due to the fixed frequency division ratio, traditional frequency dividers are prone to large deviations between the actual output frequency and the expected output frequency, which lacks flexibility and accuracy.
By configuring the module to set the phase offset and frequency division ratio, the accumulating module accumulates the phase offset, the phase judgment module dynamically adjusts the frequency division ratio, and the frequency division module performs frequency division processing based on the adjusted frequency division ratio to realize dynamic frequency adjustment .
The error between the actual output frequency and the expected output frequency is reduced, the flexibility and accuracy of the system is improved, and the stability and reliability of the output frequency is ensured.
Smart Images

Figure CN119030531A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of fractional frequency division, and further to a signal frequency division system, method, fractional frequency divider and electronic equipment. Background Art
[0002] A frequency divider is an electronic circuit used to reduce the frequency of an input signal to a desired frequency. In digital circuits, frequency dividers are widely used in clock management, signal synchronization, and data transmission. Traditional frequency dividers are mainly divided into two types: integer frequency dividers and fractional frequency dividers. Both integer frequency dividers and fractional frequency dividers mostly divide the input signal by a fixed frequency division ratio, which is prone to large deviations over time. Summary of the invention
[0003] In order to solve the above technical problems, the present application provides a signal frequency division system, method, fractional frequency divider and electronic device, which reduce the error between the actual output frequency and the expected output frequency.
[0004] In a first aspect, the present application provides a signal frequency division system, comprising: a configuration module, the configuration module is used to collect the input frequency of an external input signal, and configure a phase offset, a first threshold and a target frequency division ratio according to the input frequency and the target output frequency; an accumulation module, the accumulation module receives the phase offset, and accumulates and sums the phase offset within a preset time to obtain a first total phase offset; a phase judgment module, the phase judgment module receives the first threshold, the target frequency division ratio and the first total phase offset, and is used to adjust the initial frequency division ratio of the external input signal to the target frequency division ratio; a frequency division module, the frequency division module is used to generate an update instruction; the phase judgment module is also used to adjust the target frequency division ratio to the first frequency division ratio based on the update instruction when the first total phase offset is not less than the first threshold, and adjust the target frequency division ratio to the second frequency division ratio based on the update instruction when the first total phase offset is less than the first threshold; the frequency division module is also used to receive the first frequency division ratio or the second frequency division ratio, and perform frequency division processing on the external input signal according to the first frequency division ratio or the second frequency division ratio, and output a frequency division signal.
[0005] In the above signal frequency division system, the configuration module sets the phase offset, the first threshold and the target frequency division ratio based on the input frequency and the target output frequency set by the user. The accumulation module accumulates the phase offset to obtain the total phase offset. The phase judgment module decides whether to use the first frequency division ratio or the second frequency division ratio based on this accumulation result, the first threshold and the update instruction. The frequency division module divides the external input signal based on the first frequency division ratio or the second frequency division ratio to generate the output frequency required by the user. The system dynamically adjusts the frequency division ratio to accurately control the output frequency to meet the specific needs of different users for the output frequency, thereby improving the flexibility and accuracy of the system and reducing the error between the actual output frequency and the expected output frequency.
[0006] In one implementation, the frequency division module is also used to, after the frequency division processing is completed, enable the phase judgment module to obtain the second total phase offset obtained by the accumulation module during the frequency division processing; the phase judgment module is also used to adjust the target frequency division ratio again according to the second total phase offset, the first threshold and the update instruction, so that the frequency division module performs frequency division processing on the external input signal again according to the adjusted target frequency division ratio.
[0007] In the above signal frequency division system, the phase judgment module evaluates the relationship between the second total phase offset and the preset first threshold value, and dynamically adjusts the target frequency division ratio, thereby guiding the frequency division module to readjust the frequency division process of the external input signal according to the updated target frequency division ratio, thereby further improving the flexibility of the frequency adjustment of the system, and by continuously judging the relationship between the total phase offset and the first threshold value and adjusting the frequency division ratio in real time, the accuracy of the frequency division processing of the system is further improved, thereby ensuring the stability and reliability of the output frequency.
[0008] In one implementation, the accumulation module is also used to determine whether the first total phase offset or the second total phase offset is greater than a preset second threshold; when the first total phase offset or the second total phase offset is greater than the second threshold, the accumulation module retains the part greater than the second threshold to participate in the next phase accumulation.
[0009] The accumulation module integrates a self-truncation function, which allows the system to have higher flexibility and control accuracy when processing phase offsets. Specifically, when any total phase offset calculated by the accumulation module, whether it is the first total phase offset or the second total phase offset, exceeds the set second threshold, the accumulation module will not simply discard the excess part, but retain it and include it in the next phase accumulation process. This mechanism ensures the continuity of phase accumulation, the cumulative effect, and the accuracy of phase judgment, avoids possible information loss during the phase accumulation process, and further reduces the error between the actual output frequency and the expected output frequency.
[0010] In one implementation, the first frequency division ratio is N+1 frequency division, and the second frequency division ratio is N frequency division.
[0011] In one implementation, the phase offset is (the input frequency / the target output frequency)*2 28 ; The first threshold is 2 28 -(1-the target output frequency / the input frequency).
[0012] In a second aspect, the present application provides a signal frequency division method, which is applied to any of the frequency division systems implemented above, including: collecting the input frequency of the external input signal through the configuration module, and configuring the phase offset, the first threshold and the target frequency division ratio according to the input frequency and the target output frequency, and sending the phase offset to the accumulation module; controlling the accumulation module to accumulate and sum the phase offset within a preset time to obtain a first total phase offset, sending the first threshold, the target frequency division ratio and the first total phase offset to the phase judgment module, and adjusting the initial frequency division ratio of the external input signal to the target frequency division ratio through the phase judgment module; Control the frequency division module to send the generated update instruction to the phase judgment module; determine whether the first total phase offset is less than the first threshold value through the phase judgment module; when the first total phase offset is not less than the first threshold value, adjust the target frequency division ratio to the first frequency division ratio based on the update instruction; when the first total phase offset is less than the first threshold value, adjust the target frequency division ratio to the second frequency division ratio based on the update instruction; send the first frequency division ratio or the second frequency division ratio to the frequency division module; according to the first frequency division ratio or the second frequency division ratio, control the frequency division module to perform frequency division processing on the external input signal and output a frequency division signal.
[0013] In one implementation, it also includes: after the frequency division processing is completed, controlling the phase judgment module to obtain the second total phase offset obtained by the accumulation module during the frequency division processing; according to the second total phase offset, the first threshold and the update instruction, controlling the phase judgment module to adjust the target frequency division ratio again, and sending the adjusted target frequency division ratio to the frequency division module; controlling the frequency division module to perform frequency division processing on the external input signal again according to the adjusted target frequency division ratio.
[0014] In one implementation, it also includes: judging, by the accumulation module, whether the first total phase offset or the second total phase offset is greater than a preset second threshold; when the first total phase offset or the second total phase offset is greater than the second threshold, controlling the accumulation module to retain the part greater than the second threshold to participate in the next phase accumulation.
[0015] In a third aspect, the present application also provides a fractional frequency divider, comprising any of the signal frequency division systems described above.
[0016] In a fourth aspect, the present application also provides an electronic device, comprising any of the above-described signal frequency division systems.
[0017] Compared with the prior art, the present invention has at least one of the following beneficial effects:
[0018] 1. The configuration module sets the phase offset, the first threshold and the target frequency division ratio based on the input frequency and the target output frequency set by the user. The accumulation module accumulates the phase offset to obtain the total phase offset. The phase judgment module decides whether to use the first frequency division ratio or the second frequency division ratio based on this accumulation result, the first threshold and the update instruction. The frequency division module divides the external input signal based on the first frequency division ratio or the second frequency division ratio to generate the output frequency required by the user. The system dynamically adjusts the frequency division ratio to accurately control the output frequency to meet the specific needs of different users for the output frequency, improves the flexibility and accuracy of the system, and reduces the error between the actual output frequency and the expected output frequency.
[0019] 2. The phase judgment module evaluates the relationship between the second total phase offset and the preset first threshold value, and dynamically adjusts the target division ratio, guiding the division module to readjust the division process of the external input signal according to the updated target division ratio, thereby further improving the flexibility of the frequency adjustment of the system, and by continuously judging the relationship between the total phase offset and the first threshold value and adjusting the division ratio in real time, the accuracy of the frequency division processing of the system is further improved, thereby ensuring the stability and reliability of the output frequency.
[0020] 3. The accumulation module integrates a self-truncation function, which allows the system to have higher flexibility and control accuracy when processing phase offsets. Specifically, when any total phase offset calculated by the accumulation module, whether it is the first total phase offset or the second total phase offset, exceeds the set second threshold, the accumulation module will not simply discard the excess part, but retain it and include it in the next phase accumulation process. This mechanism ensures the continuity of phase accumulation, the cumulative effect, and the accuracy of phase judgment, avoids possible information loss during the phase accumulation process, and further reduces the error between the actual output frequency and the expected output frequency. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The preferred implementation modes will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and implementation methods of the present invention.
[0022] Figure 1A schematic diagram of the structure of a signal frequency division system provided by an embodiment of the present application is shown;
[0023] Figure 2 A flow chart of a signal frequency division method provided by an embodiment of the present application is shown;
[0024] Figure 3 A flow chart of a signal frequency division method provided by an embodiment of the present application is shown.
[0025] Figure Number:
[0026] Configuration module 100; accumulation module 200; phase determination module 300; frequency division module 400. DETAILED DESCRIPTION
[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.
[0028] In order to simplify the drawings, only the parts related to the invention are schematically shown in each figure, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only one of the parts with the same structure or function is schematically drawn or marked. In this article, "one" not only means "only one", but also means "more than one".
[0029] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0030] In this document, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0031] In addition, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0032] It should be noted that the above embodiments can be freely combined as needed. The above are only preferred embodiments of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be regarded as the protection scope of the present invention.
[0033] A frequency divider is an electronic circuit whose main function is to convert a high-frequency signal into a lower-frequency signal. In digital circuits and communication systems, frequency dividers are widely used in key areas such as clock management, signal synchronization, and data transmission. Frequency dividers include integer frequency dividers, fractional frequency dividers, and fractional frequency dividers.
[0034] A fractional divider is a special digital divider that can divide the frequency of the input signal by a non-integer ratio to produce an accurate fractional multiple of the output frequency. Compared with traditional integer dividers, fractional dividers provide higher frequency adjustment flexibility, which is very important for certain application scenarios that require precise clock signals.
[0035] The frequency division ratio is a parameter that describes how the frequency divider converts the frequency of the input signal into the frequency of the output signal. It defines the proportional relationship between the output frequency and the input frequency. For example, the frequency division ratio can be expressed as the ratio of the output frequency of the signal to the input frequency. The frequency division ratio includes decimal frequency division ratio, integer frequency division ratio and fractional frequency division ratio.
[0036] A fractional divider is a special case of a fractional divider, which is a decimal number and is often used in applications that require very precise frequency control. Typically, a fractional divider uses a fractional divider.
[0037] In the design of electronic systems, frequency dividers play a vital role and are responsible for converting the frequency of input signals into the desired output frequency. Although frequency divider technology has made significant progress, most existing technologies are still based on fixed frequency division ratio designs. This means that once a frequency divider is designed and manufactured, its frequency division ratio can no longer be adjusted. This fixedness limits the applicability of frequency dividers in dynamically changing application scenarios, such as in systems where clock frequencies need to be adjusted according to real-time conditions to optimize performance or power consumption. At the same time, over time, the accumulated calculation errors of frequency dividers with fixed frequency division ratios during operation may cause deviations between the actual output frequency and the expected output frequency. Therefore, the embodiment of the present application determines the relationship between the result of the cumulative summation of the input signal phase offset and the preset threshold value through a phase judgment module, and dynamically adjusts the frequency division ratio, which can achieve at least one of the following beneficial effects: by dynamically adjusting the frequency division ratio, the error between the actual output frequency and the expected output frequency can be reduced; since the frequency division ratio is adjustable, the functions of an integer frequency divider or a fractional frequency divider can be implemented on a frequency divider.
[0038] Reference Figure 1 , which shows a schematic diagram of the structure of a signal frequency division system provided by an embodiment of the present application, such as Figure 1 As shown, the system includes: a configuration module 100, an accumulation module 200, a phase judgment module 300, and a frequency division module 400. The configuration module 100 is used to collect the input frequency of the external input signal, and configure the phase offset, the first threshold value, and the target frequency division ratio according to the input frequency and the target output frequency; the accumulation module 200 receives the phase offset, and accumulates and sums the phase offset within a preset time to obtain a first total phase offset; the phase judgment module 300 receives the first threshold value, the target frequency division ratio, and the first total phase offset, and is used to adjust the initial frequency division ratio of the external input signal to the target frequency division ratio; the frequency division module 400 is used to generate an update instruction. The phase judgment module 300 is also used to adjust the target frequency division ratio to the first frequency division ratio based on the update instruction when the first total phase offset is not less than the first threshold, and to adjust the target frequency division ratio to the second frequency division ratio based on the update instruction when the first total phase offset is less than the first threshold; the frequency division module 400 is also used to receive the first frequency division ratio or the second frequency division ratio, and perform frequency division processing on the external input signal according to the first frequency division ratio or the second frequency division ratio, and output the frequency division signal.
[0039] In the embodiment of the present application, the external input signal may be a clock signal, a data signal, an analog signal, a test signal, a signal processing signal, etc. The accumulation module 200 may be an accumulation register, an arithmetic logic unit, an accumulator circuit, a central processing unit, etc. The configuration module 100 may be a programmable logic controller, a field programmable gate array, and a dedicated configuration register or memory, etc. The phase determination module 300 may be a phase detector, a phase comparator, etc. The frequency division module 400 may be a programmable frequency divider, a phase-locked loop, a delay-locked loop, etc.
[0040] Taking the external input signal as a clock signal and the accumulation module 200 as an accumulation register as an example, the configuration module 100 configures the phase offset, the first threshold and the target frequency division ratio according to the input frequency of the collected external input signal and the target output frequency input according to the user's needs. Among them, the target output frequency is the frequency of the signal after the user expects the external input signal to be divided by the signal division system. The calculation formula of the phase offset is (input frequency / target output frequency)*2 28 , the calculation formula of the first threshold is 2 28-(1-target output frequency / input frequency), the target frequency division ratio is: target output frequency / input frequency. The configuration module 100 sends the phase offset to the accumulation module 200, and the accumulation module 200 accumulates and sums the phase offsets within the preset time to obtain the first total phase offset. Regarding the setting of the preset time, since the external input signal in the embodiment of the present application is a clock signal, the N cycles of the external input signal can be used as the preset time, which can be set according to the actual situation. The phase judgment module 300 receives the first threshold, the target frequency division ratio and the first total phase offset sent by the accumulation module 200 sent by the configuration module 100. The phase judgment module 300 first adjusts the initial frequency division ratio of the external input signal (the initial frequency division ratio is when the target frequency division ratio is not configured, the frequency of the external input signal and the signal output by the signal frequency division system are equal, so the initial frequency division ratio is 1:1) to the target frequency division ratio. Then the external input signal is divided according to the value of the target frequency division ratio. The phase judgment module 300 determines whether the first total phase offset is less than the first threshold. When the first total phase offset is not less than the first threshold value, and the update instruction (Update) sent by the frequency division module 400 to the phase judgment module 300 is valid, the phase judgment module 300 adjusts the target frequency division ratio to the first frequency division ratio; when the first total phase offset is less than the first threshold value, and the update instruction (Update) sent by the frequency division module 400 to the phase judgment module 300 is valid, the phase judgment module 300 adjusts the target frequency division ratio to the second frequency division ratio. The frequency division module 400 receives the first frequency division ratio or the second frequency division ratio sent by the phase judgment module 300, and performs frequency division processing on the external input signal according to the first frequency division ratio or the second frequency division ratio, so that the frequency of the frequency division signal output by the frequency division module 400 is 1 / the first frequency division ratio or 1 / the second frequency division ratio of the input frequency.
[0041] The configuration module of the embodiment of the present application sets the phase offset, the first threshold value and the target division ratio based on the input frequency and the target output frequency set by the user. The accumulation module accumulates the phase offset to obtain the total phase offset. The phase judgment module decides whether to use the first division ratio or the second division ratio based on this accumulation result, the first threshold value and the update instruction. The division module divides the external input signal based on the first division ratio or the second division ratio to generate the output frequency required by the user. The system dynamically adjusts the division ratio to accurately control the output frequency to meet the specific needs of different users for the output frequency, thereby improving the flexibility and accuracy of the system and reducing the error between the actual output frequency and the expected output frequency.
[0042] In some embodiments of the present application, the first frequency division ratio is N+1 frequency division, and the second frequency division ratio is N frequency division.
[0043] In some embodiments of the present application, the accumulation module 200 can also perform accumulation and summation in the process of the frequency division module 400 dividing the external input signal according to the first frequency division ratio or the second frequency division ratio. After the frequency division process is completed, the accumulation module 200 will generate a new total phase offset. At this time, the phase judgment module 300 can adjust the frequency division ratio again according to the size relationship between the new total phase offset and the first threshold value, so that the frequency division module 400 performs frequency division processing on the external input signal again according to the newly adjusted frequency division ratio. For example, refer to the attached Figure 1 In the embodiment of the present application, the phase judgment module 300 is also used to obtain the second total phase offset obtained by the accumulation module 200 in the frequency division process after the frequency division process is completed; the phase judgment module 300 is also used to adjust the target frequency division ratio again according to the second total phase offset, the first threshold and the update instruction, so that the frequency division module 400 performs frequency division processing on the external input signal again according to the adjusted target frequency division ratio.
[0044] In the embodiment of the present application, the phase judgment module 300 obtains the second total phase offset obtained by the accumulation module 200 by accumulating and summing within the second preset time (the first total phase offset and the second total phase offset are the same parameter, and the distinction between the first and the second is only to clarify that the value of the total phase offset may change). Among them, the second preset time can be the time for the frequency division module 400 to perform frequency division processing on the external input signal according to the first frequency division ratio or the second frequency division ratio. Then, the phase judgment module 300 again determines whether the second total phase offset is less than the first threshold value, and adjusts the target frequency division ratio according to the judgment result and the update instruction newly generated by the frequency division module 400 (the update instruction in the embodiment of the present application is the same as the update instruction in the aforementioned embodiment, that is, before the phase judgment module adjusts the target frequency division ratio each time, the frequency division module will generate an update instruction) so that the frequency division module 400 performs frequency division processing on the external input signal again according to the adjusted target frequency division ratio and outputs a new frequency division signal.
[0045] In the embodiment of the present application, the phase judgment module evaluates the relationship between the second total phase offset and the preset first threshold value, and dynamically adjusts the target frequency division ratio, thereby guiding the frequency division module to readjust the frequency division process of the external input signal according to the updated target frequency division ratio, thereby further improving the flexibility of the frequency adjustment of the system, and by continuously judging the relationship between the total phase offset and the first threshold value and adjusting the frequency division ratio in real time, the accuracy of the frequency division processing of the system is further improved, thereby ensuring the stability and reliability of the output frequency.
[0046] In some embodiments of the present application, the accumulation module 200 is also used to determine whether the first total phase offset or the second total phase offset is greater than a preset second threshold; when the first total phase offset or the second total phase offset is greater than the second threshold, the accumulation module retains the part greater than the second threshold to participate in the next phase accumulation.
[0047] In the embodiment of the present application, the accumulation module 200 has a self-truncation function. When the calculated first total phase offset or the second total phase offset is greater than the second threshold value (the second threshold value may be 2 28 ), the accumulation module retains the portion greater than the second threshold value and participates in the next phase accumulation. For example, if the first total phase offset is greater than the second threshold value, the accumulation module 200 retains the portion of the first total phase offset greater than the second threshold value as part of the second total phase offset accumulation process. Similarly, if the second total phase offset is greater than the second threshold value, the accumulation module 200 retains the portion of the second total phase offset greater than the second threshold value as part of the next total phase offset accumulation process.
[0048] In the embodiment of the present application, the accumulation module integrates a self-truncation function, which allows the system to have higher flexibility and control accuracy when processing phase offsets. Specifically, when any total phase offset calculated by the accumulation module, whether it is the first total phase offset or the second total phase offset, exceeds the set second threshold, the accumulation module will not simply discard the excess part, but retain it and include it in the next phase accumulation process. This mechanism ensures the continuity of phase accumulation, the cumulative effect and the accuracy of phase judgment, avoids the information loss that may occur during the phase accumulation process, and further reduces the error between the actual output frequency and the expected output frequency.
[0049] Reference Figure 2 , which shows a flow chart of a signal frequency division method provided by an embodiment of the present application, such as Figure 2 As shown, the method includes:
[0050] S200, collecting the input frequency of the external input signal through the configuration module, and configuring the phase offset, the first threshold and the target frequency division ratio according to the input frequency and the target output frequency, and sending the phase offset to the accumulation module.
[0051] S210, controlling the accumulation module to accumulate and sum the phase offsets within a preset time to obtain a first total phase offset, sending the first threshold, the target frequency division ratio and the first total phase offset to the phase judgment module, and adjusting the initial frequency division ratio of the external input signal to the target frequency division ratio through the phase judgment module.
[0052] S220, controlling the frequency division module to send the generated update instruction to the phase determination module.
[0053] S230: Determine, by a phase determination module, whether the first total phase offset is less than a first threshold.
[0054] S240, when the first total phase offset is not less than the first threshold, adjust the target frequency division ratio to the first frequency division ratio based on the update instruction; when the first total phase offset is less than the first threshold, adjust the target frequency division ratio to the second frequency division ratio based on the update instruction.
[0055] S250, sending the first frequency division ratio or the second frequency division ratio to the frequency division module.
[0056] S260, controlling the frequency division module to perform frequency division processing on the external input signal according to the first frequency division ratio or the second frequency division ratio, and outputting a frequency division signal.
[0057] The method flow described in the embodiment of the present application has been described in detail in the signal frequency division system in the aforementioned embodiment, and will not be repeated here.
[0058] Reference Figure 3 , which shows a flow chart of a signal frequency division method provided by an embodiment of the present application, such as Figure 3 As shown, the method includes:
[0059] S300, after the frequency division process is completed, the phase determination module is controlled to obtain the second total phase offset obtained by the accumulation module through accumulation and summing during the frequency division process.
[0060] S310, according to the second total phase offset, the first threshold and the update instruction, control the phase determination module to adjust the target frequency division ratio again, and send the adjusted target frequency division ratio to the frequency division module.
[0061] S320, controlling the frequency division module to divide the external input signal again according to the adjusted target frequency division ratio.
[0062] The method flow described in the embodiment of the present application has been described in detail in the signal frequency division system in the aforementioned embodiment, and will not be repeated here.
[0063] In some embodiments of the present application, it also includes: judging through an accumulation module whether the first total phase offset or the second total phase offset is greater than a preset second threshold; when the first total phase offset or the second total phase offset is greater than the second threshold, controlling the accumulation module to retain the part greater than the second threshold to participate in the next phase accumulation.
[0064] An embodiment of the present application further provides an electronic device, comprising the signal frequency division system described in any of the aforementioned embodiments.
[0065] An embodiment of the present application further provides a fractional frequency divider, comprising the signal frequency division system described in any of the aforementioned embodiments.
[0066] It should be noted that the above embodiments can be freely combined as needed. The above are only preferred embodiments of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be regarded as the protection scope of the present invention.
Claims
1. A signal frequency division system, It is characterized in that include: A configuration module, the configuration module is used to collect the input frequency of the external input signal, and configure the phase offset, the first threshold and the target frequency division ratio according to the input frequency and the target output frequency; An accumulation module, the accumulation module receives the phase offset and accumulates and sums the phase offset within a preset time to obtain a first total phase offset; a phase determination module, the phase determination module receiving the first threshold, the target frequency division ratio and the first total phase offset, and being used for adjusting the initial frequency division ratio of the external input signal to the target frequency division ratio; A frequency division module, the frequency division module is used to generate an update instruction; The phase determination module is further configured to adjust the target frequency division ratio to a first frequency division ratio based on the update instruction when the first total phase offset is not less than the first threshold, and to adjust the target frequency division ratio to a second frequency division ratio based on the update instruction when the first total phase offset is less than the first threshold; The frequency division module is further used to receive the first frequency division ratio or the second frequency division ratio, perform frequency division processing on the external input signal according to the first frequency division ratio or the second frequency division ratio, and output a frequency division signal.
2. The signal frequency division system according to claim 1, It is characterized in that After the frequency division process is completed, the phase determination module obtains the second total phase offset obtained by the accumulation module through accumulation and summing during the frequency division process; The phase determination module is further used to adjust the target frequency division ratio again according to the second total phase offset, the first threshold and the update instruction, so that the frequency division module performs frequency division processing on the external input signal again according to the adjusted target frequency division ratio.
3. The signal frequency division system according to claim 2, It is characterized in that The accumulation module is further used to determine whether the first total phase offset or the second total phase offset is greater than a preset second threshold; When the first total phase offset or the second total phase offset is greater than the second threshold, the accumulation module retains the portion greater than the second threshold to participate in the next phase accumulation.
4. The signal frequency division system according to any one of claims 1 to 3, It is characterized in that The first frequency division ratio is N+1 frequency division, and the second frequency division ratio is N frequency division.
5. The signal frequency division system according to any one of claims 1 to 3, It is characterized in that The phase offset is (the input frequency / the target output frequency)*2 28 ; The first threshold is 2 28 -(1-the target output frequency / the input frequency).
6. A signal frequency division method, It is characterized in that The signal frequency division system used in any one of claims 1 to 5 comprises: The configuration module collects the input frequency of the external input signal, configures the phase offset, the first threshold and the target frequency division ratio according to the input frequency and the target output frequency, and sends the phase offset to the accumulation module; Control the accumulation module to accumulate and sum the phase offsets within a preset time to obtain a first total phase offset, send the first threshold, the target frequency division ratio and the first total phase offset to the phase determination module, and adjust the initial frequency division ratio of the external input signal to the target frequency division ratio through the phase determination module; Controlling the frequency division module to send the generated update instruction to the phase determination module; Determine, by the phase determination module, whether the first total phase offset is less than the first threshold; When the first total phase offset is not less than the first threshold, adjusting the target frequency division ratio to a first frequency division ratio based on the update instruction; when the first total phase offset is less than the first threshold, adjusting the target frequency division ratio to a second frequency division ratio based on the update instruction; Sending the first frequency division ratio or the second frequency division ratio to the frequency division module; According to the first frequency division ratio or the second frequency division ratio, the frequency division module is controlled to perform frequency division processing on the external input signal and output a frequency division signal.
7. The signal frequency division method according to claim 6, It is characterized in that Also includes: After the frequency division process is completed, controlling the phase determination module to obtain the second total phase offset obtained by the accumulation module through accumulation and summing during the frequency division process; According to the second total phase offset, the first threshold and the update instruction, controlling the phase determination module to adjust the target frequency division ratio again, and sending the adjusted target frequency division ratio to the frequency division module; The frequency division module is controlled to perform frequency division processing on the external input signal again according to the adjusted target frequency division ratio.
8. The signal frequency division method according to claim 7, It is characterized in that Also includes: Determining, by the accumulation module, whether the first total phase offset or the second total phase offset is greater than a preset second threshold; When the first total phase offset or the second total phase offset is greater than the second threshold, the accumulation module is controlled to retain the portion greater than the second threshold for participation in the next phase accumulation.
9. A fractional frequency divider, It is characterized in that A signal frequency division system comprising any one of claims 1-5.
10. An electronic device, It is characterized in that A signal frequency division system comprising any one of claims 1-5.
Citation Information
Patent Citations
Self-adaptive baud rate generation method and chip for high-speed serial bus communication
CN116501679A
Frequency dividing circuit and calibration method thereof, electronic equipment and storage medium
CN117914311A
Mark frequency divider based on phase accumulator
CN205490487U
Fractional phase-locked loop with dynamic divide ratio adjustment
US8674731B1
Accumulator-based phase memory
US9671817B1
