Method for determining the phase shift between a first clock signal received by a first electronic component and a second clock signal received by a second electronic component
The method measures and corrects phase shifts between clock signals by emitting calibration signals and counting clock ticks, addressing the complexity and resource issues of existing methods, ensuring precise and adaptive phase alignment.
Patent Information
- Application Number
- FR2022009612
- Authority / Receiving Office
- FR · FR
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-09-22
- Publication Date
- 2024-10-04
- Estimated Expiration
- 2042-09-22
AI Technical Summary
Existing methods for determining phase shifts between clock signals in electronic components are complex, costly, and prone to errors due to manufacturing variations and aging, requiring extensive real-time calibration that disrupts system operation and consumes significant resources.
A method involving the emission of calibration signals between electronic components to measure phase shifts using edge comparisons and clock ticks, allowing for precise determination and correction of phase differences without external assistance.
Enables accurate, real-time phase shift measurement and correction with minimal system disruption, reducing complexity and resource consumption, and adapting to environmental changes.
Smart Images

Figure 00000014_0000 
Figure 00000014_0001 
Figure 00000015_0000
Abstract
Description
Title of the invention: Method for determining the phase shift between a first clock signal received by a first electronic component and a second clock signal received by a second electronic component Technical field
[0001] The invention relates to a method for determining the phase shift between a first clock signal received by a first electronic component and a second clock signal received by a second electronic component, as well as to a system for determining the phase shift between a first clock signal received by a first electronic component and a second clock signal received by a second electronic component.
[0002] Clock distribution constraints in an electronic system increase with the clock frequency. It is sometimes necessary to control the alignment of clocks between different components of the same type to make them work together, for example several analog / digital converters in an antenna array or in an active antenna radar. These clock alignments sometimes require accuracies below a degree. For example, for a 12 GHz clock, one degree of phase shift corresponds to approximately 200 fs. These small required phase shifts are directly impacted by routing, process variations during PCB manufacturing, or even components. This makes clock alignment difficult.
[0003] In a configuration with several electronic components, one or more clock generators transmit a clock signal on different clock paths. Due to the dispersions mentioned above, the clock signal may undergo a phase shift from one component to another, which may compromise the synchronization of the electronic components.
[0004] To achieve an alignment of the order of a hundred femtoseconds, the phase shift between each component must be measured, then corrected either by post-processing, or by adding delay to the clock paths, or using solutions embedded in the components.
[0005] To measure the phase shift, a known solution consists of calibrating the final system after manufacturing. A predetermined signal is injected at the input of the different components, and the phase shifts between the channels are compared in post-processing.
[0006] This solution has the following drawbacks:
[0007] - for each system, it is necessary to carry out a characterization of the phase shift over the entire operating range (temperature, supply voltage level, working frequency). This requires complex and expensive testing equipment
[0008] - it is necessary to control the value of these parameters in real time, to apply the good correction, with the consequence of significant additional complexity, especially when the number of channels is large
[0009] - the calibration may change over time due to the aging of the components. It must therefore be updated regularly.
[0010] Some systems integrate calibration channels to update the phase shift measurement in real time. The main advantage of this solution is to eliminate the factory characterization phase over the entire operating range. The phase shift is measured in real time, and the corresponding correction is applied. The correction takes into account the aging of the components.
[0011] However, known solutions for measuring phase shift in real time have the following drawbacks:
[0012] - specific channels must be provided for calibration, which increases the size, the power consumption, cost, and system complexity. In addition, switches are required to switch between calibration mode and normal operating mode. These switches can degrade RF performance by generating high-frequency spurious signals.
[0013] - the calibration mode and the normal operating mode are exclusive. There is therefore loss of service during calibration.
[0014] - the measurement of the phase shift consists of making correlations between the different channels. These correlations are computationally intensive, especially when the number of channels is high. Since these calculations are embedded in the system, the resources used for calibration are not available for other tasks.
[0015] There is therefore a need for a method for determining in real time the phase shift of clock signals distributed to electronic components, which does not cause loss of service during calibration. Summary of the invention
[0016] An object of the invention is therefore a method for determining the phase shift between a first clock signal received by a first electronic component and a second clock signal received by a second electronic component, the first clock signal and the second clock signal being generated synchronously and having an identical clock period, comprising the steps of:
[0017] S10) transmission of a first calibration signal by the first electronic component synchronously with the first clock signal;
[0018] S20) measurement of a first delay between an active edge of the first calibration signal and an active edge of the second clock signal following the active edge of the first calibration signal;
[0019] S30) emission of a second calibration signal by the second electronic component electronics synchronously with the second clock signal;
[0020] S40) measurement of a second delay between an active edge of the second signal calibration and an active edge of the first clock signal following the active edge of the second calibration signal;
[0021] S50) measurement of the number of clock ticks between the emission of the first signal calibration and the active edge of the first clock signal following the active edge of the second calibration signal, the number of clock ticks corresponding to a multiple of the clock period;
[0022] S60) determination of the phase shift as a function of the parity of the number of strokes clock.
[0023] Advantageously,
[0024] 7^ = if n is odd
[0025] 7^ — if n is even
[0026] Where n corresponds to the number of clock ticks, corresponds to the phase shift between the first clock signal and the second clock signal, Tj corresponds to the first delay, T2 corresponds to the second delay, and Tc corresponds to the clock period.
[0027] Advantageously, the second calibration signal is emitted after a predetermined number of clock ticks following the first delay.
[0028] Advantageously, the method further comprises a step of correcting the phase shift between the first electronic component and the second electronic component, as a function of the phase shift determined in step S60).
[0029] Advantageously, the determination of the phase shift is carried out periodically.
[0030] Advantageously, the first calibration signal is routed on a first line, the second calibration signal is routed on a second line, the length of the first line and the length of the second line being equal.
[0031] Alternatively, the first calibration signal and the second calibration signal are routed on a single bidirectional line, the second calibration signal being delayed relative to the reception of the first calibration signal so as to avoid a conflict between the first calibration signal and the second calibration signal.
[0032] The invention also relates to a system for determining the phase shift between a first clock signal received by a first electronic component and a second clock signal received by a second electronic component, the first clock signal and the second clock signal being generated synchronously and having an identical clock period, the system being configured to:
[0033] - emit a first calibration signal by the first electronic component of synchronously with the first clock signal;
[0034] - measure a first delay between an active edge of the first calibration signal and a active edge of the second clock signal following the active edge of the first calibration signal;
[0035] - emit a second calibration signal by the second electronic component synchronously with the second clock signal;
[0036] - measure a second delay between an active edge of the second calibration signal and an active edge of the first clock signal following the active edge of the second calibration signal;
[0037] - measure a number of clock ticks between the first delay and the second delay, the number of clock ticks corresponding to a multiple of the clock period;
[0038] - determine a phase shift as a function of the parity of the number of clock ticks.
[0039] Advantageously:
[0040] t = TrTz _ Zç if11 is odd
[0041] if n is even
[0042] Where n corresponds to the number of clock ticks, corresponds to the phase shift between the first clock signal and the second clock signal, Tj corresponds to the first delay, T2 corresponds to the second delay, and Tc corresponds to the clock period.
[0043] Advantageously, the first electronic component and the second electronic component are analog / digital converters or digital / analog converters.
[0044] The invention also relates to an array antenna system which comprises at least the aforementioned phase shift determination system. Description of figures
[0045] Other characteristics, details and advantages of the invention will emerge from reading the description given with reference to the appended drawings given by way of example.
[0046] [Fig.l] illustrates a system according to the invention.
[0047] [Fig.2] illustrates the different stages of the method according to the invention.
[0048] [Fig.3] illustrates the principle of phase shift measurement according to the invention.
[0049] Figures 4 to 9 illustrate timing diagrams for the different scenarios as a function of the values 0 and 3.
[0050] A "clock signal" is an oscillating electrical signal that sets the rhythm for the actions of a circuit. Its period is called a clock cycle.
[0051] A "channel" (communication channel or transmission channel) is a medium (physical or not) allowing the transmission of a certain quantity of information, from a source (or transmitter) to a recipient (or receiver).
[0052] The configuration in which the invention is implemented is illustrated in Figure 1. A clock signal having a clock period Tc is generated by a clock generator GH. The clock generator GH may be a piezoelectric quartz-based oscillator, or any other component capable of providing a clock signal, having a stable clock cycle.
[0053] A first electronic component CEI and a second electronic component CE2 operate synchronously and use the clock signal for this purpose. According to one embodiment of the invention, the first electronic component CEI and the second electronic component CE2 are analog / digital converters, or digital / analog converters of an antenna array.
[0054] In the remainder of the description, it is considered that the first electronic component CEI receives a first clock signal CK1, and that the second electronic component CE2 receives a second clock signal CK2. The first clock signal CK1 and the second clock signal CK2 are generated synchronously: they either come from the same clock signal supplied by the clock generator GH, or they come from several clock generators which work synchronously.
[0055] Due to technological dispersions between the components, environmental constraints such as temperature, or different cable lengths between the clock generator GH and the first electronic component CEI on the one hand, and between the clock generator GH and the second electronic component CE2 on the other hand, the clock signal is phase-shifted at the time it is received by each of the components: the active edge (rising edge or falling edge) of the clock signal is time-shifted from one component to another.
[0056] In the remainder of the description, it is considered that, despite the phase shift between the two clock signals, the clock cycle (period Tj is identical, and corresponds to the clock cycle imposed by the clock generator GH.
[0057] To measure the phase shift, the invention is based on a principle of comparing the position of a known calibration signal edge with the clock edge, using a calibration line between neighboring components. The components send each other, on this calibration line, an edge synchronous with their clock. It is not necessary to provide a centralized calibration line, with communication with a central control unit, which facilitates implementation on PCB. The invention in fact uses an existing channel, which is used to synchronize the digital interfaces of the converters.
[0058] In Figure 3, the first clock signal CK1 and the second clock signal CK2 are phase-shifted by an angle ¢ (see (1)), or offset by a duration T, the two being linked by the following relationship:
[0059] $ = 'liïT^Fc, with Fc = 1 / Tc.
[0060] In a first step S10 of the method according to the invention, a first calibration signal S12 is emitted by the first electronic component CEI synchronously with the first clock signal CK1 (see (2) in Figure 3). The first calibration signal S12 is a binary signal. In Figure 3, the propagation delay Tp between the emission by the first electronic component CEI and its reception by the second electronic component CE2 corresponds to the delay between the rising edge of the clock signal CK1 used to emit the first calibration signal S12 on the side of the first electronic component CEI and the rising edge of the calibration signal S12 on the side of the second electronic component CE2 (see (3) in [Fig.3]), but it could just as well be decided to consider the falling edges instead of the rising edges, without this modifying the method according to the invention.
[0061] In a second step S20, a first delay T] is measured between an active edge of the first calibration signal S12 and an active edge of the second clock signal CK2 following the active edge of the first calibration signal S12. The first delay T { is separated from the next clock edge of the first electronic component IEC by a delay <5 (cf. (4) in [Fig.3]).
[0062] In a third step S30, a second calibration signal S21 is emitted by the second electronic component CE2 synchronously with the second clock signal CK2 (see (5) in [Fig.3]). In [Fig.3], the emission takes place on a rising edge of the second clock signal CK2; this is a convention, and the invention could also be implemented by emitting the calibration signals on falling edges.
[0063] The second calibration signal S21 is a binary signal. In Figure 3, the propagation delay Tp between the transmission by the second electronic component CE2 and its reception by the first electronic component CEI corresponds to the delay between the rising edge on the side of the first electronic component CEI and the rising edge on the side of the second electronic component CE2 (see (6) in [Fig.3]).
[0064] The lines on which the first calibration signal S12 and the second calibration signal S21 are transmitted have an identical length, so that the propagation delays of the calibration signals are themselves identical. Alternatively, the first calibration signal S12 and the second calibration signal S21 can be transmitted on a bidirectional line. In this case, bidirectional buffers introducing predefined delays would have to be provided, so as to avoid a conflict between the first calibration signal S12 and the second calibration signal S21.
[0065] The second calibration signal S21 may be emitted on the active edge immediately following receipt of the first calibration signal S12. However, it is preferable to re-emit the second calibration signal S21 after a number known as a clock tick. This makes it possible to give a deterministic character to the measurement, and thus to abstract from certain external influences such as technological dispersions and environmental constraints.
[0066] In a fourth step S40, a second delay T2 is measured between an active edge of the second calibration signal S21 and an active edge of the first clock signal CK1 following the active edge of the second calibration signal S21. The second calibration signal S21 arrives at the first electronic component IEC at a delay T2 before the next clock edge of the first clock signal CK1, and at a delay δ before the next clock edge of the second clock signal CK2 (see (7) in [Fig.3])•
[0067] In a fifth step S50, the number n of clock pulses between the emission of the first calibration signal S12 and the active edge of the first clock signal CK1 following the active edge of the second calibration signal S21 is determined. A clock pulse corresponds to a clock cycle of period Te. This number can be determined by a counting unit embedded in the first electronic component CEI. The second electronic component CE2 can also comprise a counting unit, which allows it to initiate the procedure for determining the phase shift.
[0068] In a sixth step S60, the phase shift is determined as a function of the parity of the number n of clock ticks. In FIG. 3, as an example, n = 5.
[0069] The transmission of the calibration signals and the determination of the parity of the number of clock ticks add very little complexity to the component, so that it can easily be integrated into the component design. In addition, only two simple PCB lines between neighboring components are required to transmit the calibration signals. In a particularly advantageous embodiment, a single PCB line is required, in the context of a bidirectional link. The measurement can be made in real time, in a completely transparent manner (without loss of service) for the user of the system.
[0070] Figure 3 has presented, in detail, a specific case in which d><7T (therefore rÿ <l / 2.Tc)etô<^.
[0071] Figures 4 to 9 illustrate timing diagrams for all possible scenarios.
[0072] In all cases, from the time limits defined previously, it is possible to write the following formulas:
[0073] n-Tc = 2Tp + T} + T2 (generic equation no. 1)
[0074] In a more general form, a number of clock ticks can be added to the previous formula to take into account a time delay between the end of the first delay T1 and the emission of the second calibration signal S21. This number being known, it does not does not change anything in the various calculation steps below. It will therefore be considered, to simplify the calculations, that the number of timer clock ticks is equal to zero.
[0075] : We can decompose Tp into the sum of an integer number of clock ticks and a stay :
[0076] Tp — q. Tc + r,q^^ (generic equation no. 2)
[0077] According to the definition of <5, it comes:
[0078] Tc -r + ô (generic equation no. 3)
[0079] Figure 4 illustrates the first case, in which 0 < tt and ô < T¢.
[0080] In this first case, the first delay and the second delay 73 are respectively:
[0081] Ti = 5 + T^ (specific equation no. 1 of case 1)
[0082] T2 = <5 - T $ + T c (specific equation n°2 of case 1)
[0083] Thus, we obtain the following relationship:
[0084]
[0085] By combining the generic equations and the specific equations of case 1, we thus obtain:
[0086] nTc = 2.7'P + T ±+T2
[0087] n,Tc = 2. (q.Tc + r) + 2^ + Tc
[0088] nTc= (2q+3).Tc
[0089] n — 2q + 3
[0090] Thus, for case 1, n is odd.
[0091] In the same way, for case 2 illustrated by figure 5, for which (p < ~ and T¢<Ô< first delay T and the second delay T2 are respectively:
[0092] Ti — Ô 4- Tÿ (specific equation no. 1 of case 2)
[0093] T2 - Ô-T^ (specific equation no. 2 of case 2)
[0094] Thus, we obtain the following relationship:
[0095]
[0096] By applying the same calculations as previously, we obtain:
[0097] n = 2(^ / +1)
[0098] Thus, for case 2, n is even.
[0099] For case 3 illustrated by figure 6, for which 0 < tt and ô > Tc - T, the first delay T and the second delay 73 are respectively:
[0100] T j = Ô+T^- Tc (specific equation no. 1 of case 3)
[0101] T^ — Ô-Tÿ (specific equation n°2 of case 3)
[0102] Thus, we obtain the following relationship:
[0103] t Zx
[0104] By applying the same calculations as previously, we obtain:
[0105] n = 2#+l
[0106] Thus, for case 3, n is odd.
[0107] For case 4 illustrated by figure 7, for which > tt and Ô < Tc - T^, the first delay E j and the second delay T2 are respectively:
[0108] T= 5 + T¢, (specific equation no. 1 of case 4)
[0109] T2 = Ô - T+ T c (specific equation no. 2 of case 4)
[0110] Thus, we obtain the following relationship: [YES] T' -LZi.L.
[0112] By applying the same calculations as previously, we obtain:
[0113] rt = 2^ + 3
[0114] Thus, for case 4, n is odd.
[0115] For case 5 illustrated by figure 8, for which ( / ) > tt and Tc - Tÿ <5< T^, the first delay T} and the second delay T2 are respectively:
[0116] Tj = 5 + Tÿ-Tc (specific equation no. 1 of case 5)
[0117] T2~Ô-T + Tc (specific equation no. 2 of case 5)
[0118] Thus, we obtain the following relationship:
[0119] Tt=^
[0120] By applying the same calculations as previously, we obtain:
[0121] n = 2(^ / +1)
[0122] Thus, for case 5, n is even.
[0123] For case 6 illustrated by figure 9, for which 0 > tc and (5 > T¢, the first delay and the second delay T2 are respectively:
[0124] Ti = (5+ Ttp-Tc (specific equation no. 1 of case 6)
[0125] T^ — Ô-Tÿ (specific equation no. 2 of case 6)
[0126] Thus, we obtain the following relationship:
[0127] L ÿ “ 2 2
[0128] By applying the same calculations as previously, we obtain:
[0129] tt = 2 < / +l
[0130] Thus, for case 6, n is odd.
[0131] Whatever the case, it can therefore be concluded that:
[0132] _ JL if n is odd
[0133] if n is even
[0134] The angular value 0 of the phase shift between the clock signals is related to T $ by the formula <î> = 2tlT^ C- with Fc = 1 / Tc.
[0135] Counting the number of clock pulses 11 between the emission of the first calibration signal S12 and the active edge of the first clock signal CK1 following the active edge of the second calibration signal S21 thus makes it possible to determine the formula to be used to calculate the phase shift between the two clock signals.
[0136] According to one embodiment, the first delay T} and the second delay T2 can be determined by determining the delay usually used to detect the meta-stabilities of the synchronization signals (synchronization signal too close to a clock edge) and described in particular in patent application FR 3 043 477 A1.
[0137] The method for determining the phase shift can be implemented periodically. This can be advantageous in particular in environments with large temperature variations, which can cause significant phase shifts between the clocks. In the context of using analog / digital converters or digital / analog converters in antennas networked in a satellite, it is essential that the phase alignments are controlled.
[0138] The method according to the invention may also comprise a step of correcting the phase of one of the two clock signals, as a function of the phase shift determined according to the method described previously. The correction may be done automatically, using TDA (Time Delay Adjustment) type solutions embedded in the electronic component.
[0139] The invention has been described for determining the phase shift between the clock signals received by two electronic components. If necessary, the phase shift between more than two clock signals received by more than two electronic components can be determined, by coupling the electronic components two by two, and transmitting the phase shift values to a control unit.
[0140] It may also be advantageous to pair two electronic components that are very far apart from each other (which may be the case for a very extensive antenna network), to determine the phase shift between the clock signals, and to apply the corresponding correction to one of the two electronic components, as well as to other electronic components arranged near the electronic component.
[0141] The method and system according to the invention thus make it possible to measure phase shift errors without any assistance from an external component, which facilitates its implementation.
Claims
Claims
1. A method for determining the phase shift between a first clock signal (CK1) received by a first electronic component (CEI) and a second clock signal (CK2) received by a second electronic component (CE2), the first clock signal (CK1) and the second clock signal (CK2) being generated synchronously and having an identical clock period (Tc), comprising the steps of: S10) transmitting a first calibration signal (S12) by the first electronic component (CEI) synchronously with the first clock signal (CK1); S20) measurement of a first delay (7^ between an active edge of the first calibration signal (S 12) and an active edge of the second clock signal (CK2) following the active edge of the first calibration signal (S 12); S30) emission of a second calibration signal (S21) by the second electronic component (CE2) synchronously with the second clock signal (CK2);S40) measurement of a second delay (T 2) between an active edge of the second calibration signal (S21) and an active edge of the first clock signal (CK1) following the active edge of the second calibration signal (S21); S50) measurement of the number (n) of clock ticks between the emission of the first calibration signal (S 12) and the active edge of the first clock signal (CK1) following the active edge of the second calibration signal (S21), the number (?î) of clock ticks corresponding to a multiple of the clock period (1^; S60) determination of the phase shift as a function of the parity of the number (?i) of clock ticks.;
2. Method according to claim 1, in which: 7'^ — 1 _ Zï sin is odd 7^ _ if n is even Where n corresponds to the number of clock ticks, T $ corresponds to the phase shift between the first clock signal (CK1) and the second clock signal (CK2), Tj corresponds to the first delay, T2 corresponds to the second delay, and Tc corresponds to the clock period.
3. Method according to one of the preceding claims, in which the second calibration signal (S21) is emitted after a predetermined number of clock ticks following the first delay (T
4. 4. Method according to one of the preceding claims, comprising in in addition to a step of correcting the phase shift between the first electronic component (CEI) and the second electronic component (CE2), as a function of the phase shift determined in step S60).
5. 5. Method according to one of the preceding claims, in which the determination of the phase shift is carried out periodically.
6. 6. Method according to one of the preceding claims, in which the first calibration signal (S12) is routed on a first line (L1), the second calibration signal (S21) is routed on a second line (L2), the length of the first line (L1) and the length of the second line (L2) being equal.
7. 7. Method according to one of claims 1 to 5, in which the first calibration signal (S 12) and the second calibration signal (S21) are routed on a single bidirectional line, the second calibration signal (S21) being delayed with respect to the reception of the first calibration signal (S 12) so as to avoid a conflict between the first calibration signal (S 12) and the second calibration signal (S21).
8. System for determining the phase shift between a first clock signal (CK1) received by a first electronic component (CEI) and a second clock signal (CK2) received by a second electronic component (CE2), the first clock signal (CK1) and the second clock signal (CK2) being generated synchronously and having an identical clock period (Tc), the system being configured to: - emit a first calibration signal (S 12) by the first electronic component (CEI) synchronously with the first clock signal (CK1); - measure a first delay (T9 between an active edge of the first calibration signal (S 12) and an active edge of the second clock signal (CK2) consecutive to the active edge of the first calibration signal (S 12); - emit a second calibration signal (S21) by the second electronic component (CE2) synchronously with the second clock signal (CK2);- measuring a second delay (T2) between an active edge of the second calibration signal (S21) and an active edge of the first clock signal (CK1) following the active edge of the second calibration signal (S21); - measuring a number (n) of clock ticks between the first delay (Tj) and the second delay (E2), the number (n) of clock ticks corresponding to a multiple of the clock period (T^; - determining a phase shift as a function of the parity of the number (n) of; clock strikes.
9. 9. System according to claim 8, in which: T. — 1 '1 if n is odd J “ 2 2 y — £2^2 if n is even Where n corresponds to the number of clock ticks, T¢ corresponds to the phase shift between the first clock signal (CK1) and the second clock signal (CK2), Ti corresponds to the first delay, T2 corresponds to the second delay, and Tc corresponds to the clock period.
10. 10. System according to one of claims 8 or 9, in which the first electronic component (CEI) and the second electronic component (CE2) are analog / digital converters or digital / analog converters.
11. 11. Network antenna system, characterized in that it comprises at least one phase shift determination system according to one of claims 8 to 10.
