A clock spread spectrum circuit and a clock spread spectrum method

By separating the clocks of the accumulator and decoder from the clock of the step calculation unit in the clock spread spectrum circuit, the problem of difficult timing convergence in high-speed data transmission is solved, and smaller phase fluctuations and higher timing margins are achieved. Spend.

CN115499002BActive Publication Date: 2024-09-06SHENZHEN PANGO MICROSYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211078571.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-05
Publication Date
2024-09-06
Estimated Expiration
2042-09-05

AI Technical Summary

Technical Problem

During high-speed data transmission, the internal timing of the calculation part of the existing clock spread spectrum circuit is difficult to converge, resulting in a drift of the receiving end's decision point and an increase in the bit error rate.

Method used

Design a clock spread spectrum circuit, including a data calculation unit, a first-order integrator, an accumulator, a decoder and an interpolator. By separating the clocks of the accumulator and decoder from the clock of the step calculation unit, the accumulator can be reduced. The number of required bits is increased, the clock frequency is accelerated, and the phase fluctuation caused by code word refresh is reduced.

Benefits of technology

Within the same spread spectrum range, the phase fluctuation caused by code word refresh is reduced, providing more timing margin for subsequent timing circuits, and avoiding the problems of receiving end decision point drift and increased bit error rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115499002B
    Figure CN115499002B
Patent Text Reader

Abstract

A clock spread spectrum circuit and a clock spread spectrum method, the clock spread spectrum circuit comprises a data calculation unit, a first-order integrator, an accumulator, a decoder and an interpolator connected in sequence, wherein: the data calculation unit is used to generate first accumulated data; the first-order integrator is used to shape the first accumulated data to obtain first shaped data; the accumulator is used to accumulate the first shaped data to obtain second accumulated data; the decoder is used to decode the second accumulated data to obtain a decoding result; the interpolator is used to interpolate the phase of the transmitting end clock according to the decoding result. The clock spread spectrum circuit provided by the present invention can effectively solve the problem that the internal timing of the spread spectrum circuit in the existing high-speed data transmission process is difficult to converge by differentiating the clocks of the accumulator and the decoder from the clock of the data calculation unit, reducing the number of bits required for the accumulator, and speeding up the clock frequency of the accumulator and the decoder.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of integrated circuits, and in particular relates to a clock spread spectrum circuit and a clock spread spectrum method. Background Art

[0002] At present, in the process of high-speed data transmission, the transmitter clock uses a high-frequency fixed clock, which will cause the energy of the transmitted electrical signal to be overly concentrated at a specific frequency point, leading to serious EMI (electromagnetic interference) problems. Therefore, a clock spread spectrum circuit is needed to expand the clock frequency and expand the energy of the transmitted electrical signal from a specific frequency point to a larger frequency range to avoid excessive energy concentration.

[0003] The existing spread spectrum circuit structure is as follows Figure 1 As shown, according to the input spread spectrum range, frequency modulation cycle and the digital clock cycle of the accumulator itself, the frequency that needs to be adjusted by the phase-locked loop or phase interpolator at different times is calculated, and then the frequency is integrated or accumulated to form a codeword corresponding to the phase adjustment, and then output to the phase-locked loop or phase interpolator to achieve frequency expansion. Furthermore, in order to avoid the influence of decimal precision and codeword input adjustment precision, a first-order integrator and decoder are added to the spread spectrum circuit, such as Figure 2 As shown. This spread spectrum method is usually completed in the digital domain, and the calculation accumulation steps and integral accumulation are all performed according to the digital clock cycle of the accumulator itself during its operation. However, as the operating frequency of the high-speed data transmission port becomes higher and higher, the digital clock designed by the code is difficult to keep up with the clock frequency of the transmitter. The accumulation steps calculated in this way need to be multiplied by a larger clock multiple, which will not only cause problems with the internal working timing of the spread spectrum circuit, but may also cause the decision point of the receiving end to drift and the bit error rate to increase. If the spread spectrum circuit is completely changed to a fully customized implementation, although it can keep up with the clock frequency of the transmitter, there will be a problem that the internal timing of the calculation part is difficult to converge. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a clock spread spectrum circuit and a clock spread spectrum method in view of the problem that the internal timing of the calculation part of the spread spectrum circuit in the above-mentioned existing high-speed data transmission process is difficult to converge.

[0005] In a first aspect, the present invention provides a clock spread spectrum circuit, comprising: a data calculation unit, a first-order integrator, an accumulator, a decoder and an interpolator connected in sequence, wherein:

[0006] A data calculation unit, used to generate first accumulated data required for each spread spectrum modulation cycle;

[0007] a first-order integrator, configured to perform shaping on the first accumulated data generated by the data calculation unit to obtain first shaped data, and output the first shaped data to an accumulator;

[0008] An accumulator, used for accumulating the first shaped data within the analog clock cycle of the accumulator and the decoder to obtain second accumulated data, and outputting the second accumulated data to the decoder for decoding;

[0009] A decoder, used for decoding the second accumulated data within the analog clock cycle of the accumulator and the decoder to obtain a decoding result, and transmitting the decoding result to the interpolator;

[0010] An interpolator is used to interpolate the phase of the sending end clock according to the decoding result transmitted by the decoder.

[0011] As a further improvement of the present invention, the first accumulated data is obtained by the following formula:

[0012]

[0013] Among them, n is the first accumulated data, ppm is the spread spectrum range, T_clkd is the digital clock frequency of the first-order integrator, T_clka is the analog clock frequency of the accumulator and decoder, T_mod is the spread spectrum modulation frequency, and T_clk is the transmitting end clock frequency.

[0014] As a further improvement of the present invention, the transmitting end clock frequency is greater than 1 GHz, the analog clock frequency of the accumulator and decoder and the digital clock frequency of the first-order integrator are both N divided by the transmitting end clock frequency, where N is an integer.

[0015] As a further improvement of the present invention, the analog clock frequency of the accumulator and the decoder is greater than the digital clock frequency of the first-order integrator, and the analog clock frequency of the accumulator and the decoder is an integer multiple of the digital clock frequency of the first-order integrator.

[0016] As a further improvement of the present invention, the first-order integrator performs integration shaping on the first accumulated data within a digital clock cycle in which the first-order integrator operates.

[0017] As a further improvement of the present invention, the first accumulated data is divided into an integer part and a decimal part, and the first-order integrator accumulates the decimal part of the first accumulated data to obtain the first shaped data.

[0018] As a further improvement of the present invention, the interpolator interpolates the phase of the transmitting end clock according to the decoding result transmitted by the decoder within the transmitting end clock cycle.

[0019] In a second aspect, the present invention further provides a clock spreading method, including the clock spreading circuit described in any one of the above embodiments, the clock spreading method comprising:

[0020] Set the spread spectrum range and spread spectrum modulation frequency;

[0021] Obtaining the first accumulated data according to a data calculation formula;

[0022] Accumulating the decimal part of the first accumulated data according to the digital clock cycle of the accumulator to obtain first shaped data;

[0023] Accumulating the first shaped data according to the analog clock cycle of the accumulator and the decoder to obtain second accumulated data;

[0024] Decoding the second accumulated data according to the analog clock cycle of the accumulator and the decoder to obtain a decoding result;

[0025] The phase of the transmitting end clock is interpolated according to the decoding result transmitted by the decoder.

[0026] As a further improvement of the present invention, the data calculation formula is:

[0027]

[0028] Among them, n is the first accumulated data, ppm is the spread spectrum range, T_clkd is the digital clock frequency of the first-order integrator, T_clka is the analog clock frequency of the accumulator and decoder, T_mod is the spread spectrum modulation frequency, and T_clk is the transmitting end clock frequency.

[0029] As a further improvement of the present invention, the clock frequency of the transmitting end is greater than 1 GHz, the analog clock frequency of the accumulator and the decoder and the digital clock frequency of the first-order integrator are both N divided by the clock frequency of the transmitting end, N is an integer, the analog clock frequency of the accumulator and the decoder is greater than the digital clock frequency of the first-order integrator, and the analog clock frequency of the accumulator and the decoder is an integer multiple of the digital clock frequency of the first-order integrator.

[0030] A clock spread spectrum circuit provided by the present invention reduces the maximum range of the first accumulated data and the number of bits required for the accumulator by separating the clocks of the accumulator and the decoder from the clock of the step calculation unit, thereby speeding up the clock frequencies of the accumulator and the decoder, thereby reducing the phase fluctuation caused by code word refresh within the same spread spectrum range and providing more timing margin for subsequent timing circuits.

[0031] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only part of the embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0033] Figure 1 It is a structural diagram of an existing spread spectrum circuit;

[0034] Figure 2 is another existing spread spectrum circuit structure diagram;

[0035] Figure 3 A clock spread spectrum circuit structure diagram provided by the present invention;

[0036] Figure 4 Another clock spread spectrum circuit structure diagram provided by the present invention;

[0037] Figure 5 A flow chart of a clock spread spectrum method provided by the present invention. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0039] In order to make the description of the disclosed content more detailed and complete, the following is an illustrative description of the implementation mode and specific examples of the present invention; however, this is not the only form of implementing or applying the specific embodiments of the present invention. The implementation mode covers the features of multiple specific embodiments and the method steps and their sequence for constructing and operating these specific embodiments. However, other specific embodiments can also be used to achieve the same or equal functions and step sequences. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0040] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein.

[0041] In the description of the embodiments of the present invention, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two, and other quantifiers are similar. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention, and the embodiments of the present application and the features in the embodiments may be combined with each other without conflict.

[0042] The existing spread spectrum method is usually completed in the digital domain, and the calculation accumulation steps and integral accumulation are all performed according to the digital clock cycle of the accumulator itself during its working process. However, as the operating frequency of the high-speed data transmission port becomes higher and higher, the digital clock designed by the code is difficult to keep up with the clock frequency of the transmitter. The accumulation steps calculated in this way need to be multiplied by a larger clock multiple, which will not only cause problems with the internal working timing of the spread spectrum circuit, but may also cause the decision point of the receiving end to drift and the bit error rate to increase. If the spread spectrum circuit is completely changed to a fully customized implementation, although it can keep up with the clock frequency of the transmitter, there will be a problem that the internal timing of the calculation part is difficult to converge.

[0043] In order to solve the problem that the internal timing of the calculation part of the spread spectrum circuit in the above-mentioned existing high-speed data transmission process is difficult to converge, an embodiment of the present invention provides a clock spread spectrum circuit, such as Figure 3 and Figure 4 As shown, it includes: a data calculation unit, a first-order sigma-delta integrator, an accumulator, a decoder and a phase interpolator, and the data calculation unit, the first-order sigma-delta integrator, the accumulator, the decoder and the phase interpolator are connected in sequence.

[0044] As an embodiment of the present invention, the data calculation unit is used to generate the first accumulated data required for each spread spectrum modulation cycle. Specifically, the first accumulated data is obtained by the following formula:

[0045]

[0046] Among them, n is the first accumulated data, ppm is the spread spectrum range, T_clkd is the digital clock frequency of the first-order sigma-delta integrator, T_clka is the analog clock frequency of the accumulator and decoder, T_mod is the spread spectrum modulation frequency, and T_clk is the transmitting end clock frequency.

[0047] Preferably, the clock frequency of the transmitting end is greater than 1 GHz, the analog clock frequency of the accumulator and the decoder and the digital clock frequency of the first-order sigma-delta integrator are both N divided by the clock frequency of the transmitting end, N is an integer, the analog clock frequency of the accumulator and the decoder is greater than the digital clock frequency of the first-order sigma-delta integrator, and the analog clock frequency of the accumulator and the decoder is an integer multiple of the digital clock frequency of the first-order sigma-delta integrator.

[0048] A first-order sigma-delta integrator is used to integrate and shape the first accumulated data generated by the data calculation unit to obtain first shaped data, and output the first shaped data to the accumulator. Specifically, the first accumulated data is divided into an integer part and a decimal part. The first-order sigma-delta integrator accumulates the decimal part of the first accumulated data within a digital clock cycle in which the first-order sigma-delta integrator works to obtain the first shaped data.

[0049] Specifically, the first accumulated data calculated according to the above formula usually has a large fractional part. Directly discarding the fractional part of the first accumulated data will cause a large change in the spread spectrum modulation period. Therefore, in this embodiment, a first-order sigma-delta integrator is added to accumulate the fractional part of the first accumulated data, thereby effectively reducing the error caused by the large change in the spread spectrum modulation period due to directly discarding the fractional part of the first accumulated data.

[0050] The accumulator is used to accumulate the first shaped data within the analog clock cycle of the accumulator and the decoder to obtain second accumulated data, and output the second accumulated data to the decoder for decoding.

[0051] As an embodiment of the present invention, it should be noted that the accumulator selected in this embodiment has an analog clock frequency that is greater than the digital clock frequency of the first-order sigma-delta integrator, and the analog clock frequency of the accumulator is an integer multiple of the digital clock frequency of the first-order sigma-delta integrator, which is used to perform high-speed accumulation of the first shaped data.

[0052] The decoder is used for decoding the second accumulated data within the analog clock cycle of the accumulator and the decoder to obtain a decoding result, and transmit the decoding result to the phase interpolator.

[0053] Specifically, a decoder is used to decode the second accumulated data, which effectively avoids the generation of glitches in the phase jump of the phase interpolator caused by the delay of different bit data.

[0054] The phase interpolator is used to interpolate the phase of the transmitter clock according to the decoding result transmitted by the decoder, so as to modulate the frequency of the transmitter clock and realize spread spectrum. Preferably, the phase interpolator interpolates the phase of the transmitter clock within the transmitter clock cycle.

[0055] As an embodiment of the present invention, preferably ppm=5000, T_mod=33KHz, T_clkd=500MHz, T_clka=4GHz, T_clk=16GHz, and the final spread spectrum is about 78.3MHz, which is in line with expectations.

[0056] A clock spread spectrum circuit provided by the present invention reduces the maximum range of the first accumulated data and the number of bits required for the accumulator by separating the clocks of the accumulator and the decoder from the clock of the step calculation unit, thereby speeding up the clock frequencies of the accumulator and the decoder, thereby reducing the phase fluctuation caused by code word refresh within the same spread spectrum range and providing more timing margin for subsequent timing circuits.

[0057] Figure 5 A flow chart of a clock spread spectrum method provided by the present invention, such as Figure 5 As shown, the method comprises the following steps:

[0058] S110. Set the spread spectrum range and spread spectrum modulation frequency.

[0059] Preferably, in this embodiment, the spread spectrum range is set to ppm=5000, and the spread spectrum modulation frequency T_mod=33KHz.

[0060] S120. Obtain first accumulated data according to a data calculation formula.

[0061] Specifically, the data calculation formula is:

[0062]

[0063] Among them, n is the first accumulated data, ppm is the spread spectrum range, T_clkd is the digital clock frequency of the first-order sigma-delta integrator, T_clka is the analog clock frequency of the accumulator and decoder, T_mod is the spread spectrum modulation frequency, and T_clk is the transmitting end clock frequency.

[0064] Preferably, as an embodiment of the present invention, the clock frequency of the transmitting end is greater than 1 GHz, the analog clock frequency of the accumulator and the decoder and the digital clock frequency of the first-order sigma-delta integrator are both N divided by the clock frequency of the transmitting end, N is an integer, the analog clock frequency of the accumulator and the decoder is greater than the digital clock frequency of the first-order sigma-delta integrator, and the analog clock frequency of the accumulator and the decoder is an integer multiple of the digital clock frequency of the first-order sigma-delta integrator.

[0065] S130. Accumulate the decimal part of the first accumulated data according to the digital clock cycle of the accumulator to obtain first shaped data.

[0066] Specifically, the first accumulated data calculated according to the above formula usually has a large fractional part. Directly discarding the fractional part of the first accumulated data will cause a large change in the spread spectrum modulation period. Therefore, in this embodiment, by accumulating the fractional part of the first accumulated data, the error caused by the large change in the spread spectrum modulation period due to directly discarding the fractional part of the first accumulated data is effectively reduced.

[0067] S140. Accumulate the first shaped data according to the analog clock cycle of the accumulator and the decoder to obtain second accumulated data.

[0068] As an embodiment of the present invention, it should be noted that the accumulator selected in this embodiment has an analog clock frequency that is greater than the digital clock frequency of the first-order sigma-delta integrator, and the analog clock frequency of the accumulator is an integer multiple of the digital clock frequency of the first-order sigma-delta integrator, which is used to perform high-speed accumulation of the first shaped data.

[0069] S150. Decode the second accumulated data according to the analog clock cycle of the accumulator and the decoder to obtain a decoding result.

[0070] Specifically, by decoding the second accumulated data, it is effectively avoided that the delay of different bit data causes the phase jump in the phase interpolator to produce burrs.

[0071] S160. Interpolate the phase of the transmitting end clock according to the decoding result transmitted from the decoder to achieve spectrum spreading.

[0072] Preferably, as an embodiment of the present invention, the spectrum of the original clock with an expected spreading effect of 16 GHz is spread, that is, the transmitting end clock frequency T_clk is 16 GHz, and the analog clock frequency T_clka of the accumulator and the decoder is taken as 4 divided by the transmitting end clock frequency T_clk, which is 4 GHz; the digital clock frequency of the first-order sigma-delta integrator is 32 divided by the transmitting end clock frequency T_clk, which is 500 MHz. The final spread spectrum is about 78.3 MHz, which is in line with expectations.

[0073] For other details about how the above-mentioned technical solutions are implemented in each part of the above-mentioned clock spread spectrum method, reference may be made to the description of the clock spread spectrum circuit provided in the above-mentioned invention embodiment, which will not be repeated here.

[0074] A clock spread spectrum method provided by the present invention reduces the maximum range of the first accumulated data and the number of bits required for the accumulator by separating the clocks of the accumulator and the decoder from the clock of the step calculation unit, thereby speeding up the clock frequencies of the accumulator and the decoder, thereby reducing the phase fluctuation caused by code word refresh within the same spread spectrum range and providing more timing margin for subsequent timing circuits.

[0075] A clock spread spectrum circuit and a clock spread spectrum method disclosed in an embodiment of the present invention are introduced in detail above. Although the preferred embodiment of the present invention has been described, it is only used as an example, and the present invention is not limited to the specific implementation mode described above. Once the technical personnel in this field know the basic creative concept, they can make additional changes and modifications to these embodiments. Therefore, for the technical personnel in this field, according to the idea of ​​the present invention, the equivalent modification or substitution of the invention is also within the scope of the present invention, and the equal transformation, modification, improvement, etc. made without departing from the spirit and principle of the present invention should be included in the scope of the present invention. In summary, the content of this specification should not be understood as a limitation of the present invention.

Claims

1. A clock spread spectrum circuit, characterized in that: It includes a data calculation unit, a first-order integrator, an accumulator, a decoder and an interpolator connected in sequence, wherein: A data calculation unit, used to generate first accumulated data required for each spread spectrum modulation cycle; a first-order integrator, configured to perform shaping on the first accumulated data generated by the data calculation unit to obtain first shaped data, and output the first shaped data to an accumulator; An accumulator, used for accumulating the first shaped data within the analog clock cycle of the accumulator and the decoder to obtain second accumulated data, and outputting the second accumulated data to the decoder for decoding; A decoder, used for decoding the second accumulated data within the analog clock cycle of the accumulator and the decoder to obtain a decoding result, and transmitting the decoding result to the interpolator; An interpolator, used for interpolating the phase of the transmitting end clock according to the decoding result transmitted by the decoder; The first accumulated data is obtained by the following formula: Among them, n is the first accumulated data, ppm is the spread spectrum range, T_clkd is the digital clock frequency of the first-order integrator, T_clka is the analog clock frequency of the accumulator and the decoder, T_mod is the spread spectrum modulation frequency, T_clk is the transmitting end clock frequency, the transmitting end clock frequency is greater than 1 GHz, the analog clock frequency of the accumulator and the decoder and the digital clock frequency of the first-order integrator are both N divided by the transmitting end clock frequency, and N is an integer.

2. The clock spread spectrum circuit according to claim 1, characterized in that: The analog clock frequency of the accumulator and the decoder is greater than the digital clock frequency of the first-order integrator, and the analog clock frequency of the accumulator and the decoder is an integer multiple of the digital clock frequency of the first-order integrator.

3. The clock spread spectrum circuit according to claim 1, characterized in that: The first-order integrator performs integration shaping on the first accumulated data within a digital clock cycle in which the first-order integrator operates.

4. The clock spread spectrum circuit according to claim 1, characterized in that: The first accumulated data is divided into an integer part and a decimal part, and the first-order integrator accumulates the decimal part of the first accumulated data to obtain the first shaped data.

5. The clock spread spectrum circuit according to claim 1, characterized in that: The interpolator interpolates the phase of the transmitting end clock according to the decoding result transmitted by the decoder within the transmitting end clock cycle.

6. A clock spread spectrum method, characterized in that: The clock spectrum spreading circuit comprises any one of claims 1 to 5, wherein the clock spectrum spreading method comprises: Set the spread spectrum range and spread spectrum modulation frequency; Obtaining the first accumulated data according to a data calculation formula; Accumulating the decimal part of the first accumulated data according to the digital clock cycle of the accumulator to obtain first shaped data; Accumulating the first shaped data according to the analog clock cycle of the accumulator and the decoder to obtain second accumulated data; Decoding the second accumulated data according to the analog clock cycle of the accumulator and the decoder to obtain a decoding result; The phase of the transmitting end clock is interpolated according to the decoding result transmitted by the decoder.

7. The spectrum spreading method according to claim 6, characterized in that: The data calculation formula is: Among them, n is the first accumulated data, ppm is the spread spectrum range, T_clkd is the digital clock frequency of the first-order integrator, T_clka is the analog clock frequency of the accumulator and decoder, T_mod is the spread spectrum modulation frequency, and T_clk is the transmitting end clock frequency.

8. The spectrum spreading method according to claim 7, characterized in that: The clock frequency of the transmitting end is greater than 1 GHz, the analog clock frequency of the accumulator and the decoder and the digital clock frequency of the first-order integrator are both N-divided frequencies of the clock frequency of the transmitting end, where N is an integer, the analog clock frequency of the accumulator and the decoder is greater than the digital clock frequency of the first-order integrator, and the analog clock frequency of the accumulator and the decoder is an integer multiple of the digital clock frequency of the first-order integrator.