Clock baseline tilt compensation methods, molecular clocks and electronic devices
By using 4FSK technology to calculate and compensate for the baseline tilt of the molecular clock, the problem of high complexity in existing frequency modulation is solved, and higher clock stability and accuracy are achieved.
Patent Information
- Application Number
- CN202511114573.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-11
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2045-08-11
AI Technical Summary
Existing molecular clock frequency modulation methods are highly complex, computationally intensive, and difficult to debug, leading to baseline tilt and frequency shift that affect clock stability and accuracy.
The fourth-order frequency shift keying (4FSK) technique is used to determine the baseline tilt and compensate for it by calculating the error signals of the two sets of modulation frequency offsets, simplifying the calculation process and eliminating the baseline tilt frequency shift.
It improves the stability and accuracy of molecular clocks, reduces computational complexity and debugging difficulty, and simplifies the clock modulation process.
Smart Images

Figure CN120601886B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of clock control, and more specifically, to a clock baseline tilt compensation method, a molecular clock, and an electronic device. Background Technology
[0002] Molecular clocks are modulated using frequency modulation (FM) to modulate the resonant signal, thereby obtaining an error signal based on the molecular absorption spectrum and locking the local oscillator frequency. However, FM modulation is more difficult and complex in generating the modulated signal and designing the demodulation algorithm, requiring more computation and increasing the difficulty of later debugging. Summary of the Invention
[0003] The purpose of this application is to provide a clock baseline tilt compensation method, a molecular clock, and an electronic device that can eliminate the baseline tilt frequency shift of a molecular clock in a simpler way, achieve clock modulation, and improve clock stability.
[0004] In a first aspect, this application provides a clock baseline tilt compensation method, comprising: calculating two sets of error signals based on two pre-selected sets of modulation frequency offsets; determining the baseline tilt according to the error signals; and performing baseline compensation according to the baseline tilt and the two sets of error signals to calculate a target error signal; wherein the target error signal is used as a feedback signal for a target clock.
[0005] In the above implementation method, the baseline tilt can be determined based on the selected modulation frequency offset, thereby compensating for the baseline tilt and eliminating the baseline tilt frequency shift of the clock, thus improving the stability and accuracy of the molecular clock. This method is relatively easy to implement, has low complexity and low computational cost, and the clock modulation is also simpler.
[0006] In one optional implementation, the two sets of modulation frequency offsets include a first set of modulation frequency offsets and a second set of modulation frequency offsets; the modulation depth coefficient of the second set of modulation frequency offsets is greater than a set value; determining the baseline tilt based on the error signal includes: determining the baseline tilt based on the error signal corresponding to the second set of modulation frequency offsets.
[0007] In the above implementation, since the modulation depth of the modulation frequency offset is large enough, the contribution of the molecular absorption term in the molecular spectrum to the error signal is negligible. Therefore, based on this characteristic, a second set of modulation frequency offsets with a modulation depth coefficient greater than a set value can be selected to approximate the baseline tilt. In other words, the baseline tilt can be directly calculated based on the error signal corresponding to the second set of modulation frequency offsets, reducing the computational complexity.
[0008] In one optional implementation, the baseline tilt is determined by:
[0009] ;
[0010] in, Indicates baseline tilt; This represents the error signal corresponding to the second group of modulation frequency offsets; This indicates the modulation depth of the second group of modulation frequency offsets; It represents the instantaneous frequency deviation relative to the center frequency.
[0011] In an optional implementation, the two sets of modulation frequency offsets include a first set of modulation frequency offsets and a second set of modulation frequency offsets; the first set of modulation frequency offsets includes a first frequency point and a second frequency point, and the second set of modulation frequency offsets includes a third frequency point and a fourth frequency point; the two sets of error signals include a first error signal and a second error signal; the calculation of the two sets of error signals based on the pre-selected two sets of modulation frequency offsets includes: for the first set of modulation frequency offsets, acquiring a first number of detector signals of the first frequency point and a first number of detector signals of the second frequency point; for the second set of modulation frequency offsets, acquiring a second number of detector signals of the third frequency point and a second number of detector signals of the fourth frequency point; calculating the first error signal based on the first number of detector signals of the first frequency point and the first number of detector signals of the second frequency point; and calculating the second error signal based on the second number of detector signals of the third frequency point and the second number of detector signals of the fourth frequency point.
[0012] In an optional implementation, the determination of the first quantity and the second quantity includes: for a first group of modulation frequency offsets, acquiring detection signals at the first frequency point and the second frequency point; for a second group of modulation frequency offsets, acquiring detection signals at the third frequency point and the fourth frequency point; based on the detection signals at the first frequency point, the second frequency point, the third frequency point, and the fourth frequency point, determining an expression for an error signal; wherein the expression for the error signal includes a first quantity to be determined and a second quantity to be determined; based on the expression for the error signal, determining an expression for noise power; based on the expression for noise power, determining a minimum value of noise power to obtain the first quantity and the second quantity; wherein, when the noise power is at its minimum value, the value of the first quantity to be determined is taken as the first quantity, and the value of the second quantity to be determined is taken as the second quantity.
[0013] In the above implementation, the first and second quantities are derived by constructing an expression for noise power, so that the noise power calculated by the determined first and second quantities is minimized, thereby minimizing the impact of noise on the clock and improving the stability of the clock.
[0014] In one optional implementation, determining the expression for noise power based on the expression for the error signal includes: measuring the amplitude of a first detection noise by measuring the target clock under the first group of modulation frequency offsets; measuring the amplitude of a second detection noise by measuring the target clock under the second group of modulation frequency offsets; and determining the expression for noise power based on the expression for the error signal, the amplitude of the first detection noise, and the amplitude of the second detection noise.
[0015] In an optional implementation, the expression of the error signal includes the modulation depth of a first set of modulation frequency offsets to be determined and the modulation depth of a second set of modulation frequency offsets to be determined; the method further includes: determining an expression for frequency discrimination efficiency based on the expression of the error signal; determining the maximum value of the frequency discrimination efficiency based on the expression of the frequency discrimination efficiency to obtain the modulation depth of the first set of modulation frequency offsets and the modulation depth of the second set of modulation frequency offsets; wherein, when the frequency discrimination efficiency is at its maximum value, the value of the modulation depth of the first set of modulation frequency offsets to be determined is taken as the modulation depth of the first set of modulation frequency offsets, and the value of the modulation depth of the second set of modulation frequency offsets to be determined is taken as the modulation depth of the second set of modulation frequency offsets.
[0016] In the above implementation, the modulation depth of the two sets of modulation frequency offsets is determined based on the expression of frequency discrimination efficiency, so that the modulation depth of the two sets of modulation frequency offsets can achieve higher frequency discrimination efficiency, thereby improving the stability of the clock.
[0017] In one optional implementation, the modulation depth of the second set of modulation frequency offsets is the maximum frequency offset of the phase-locked loop of the target clock.
[0018] In an optional implementation, the method further includes updating the first quantity, the second quantity, the modulation depth of the first group of modulation frequency offsets, and the modulation depth of the second group of modulation frequency offsets according to a set time pattern.
[0019] In the above implementation, considering the possible changes caused by some uncertain factors in the clock, the first quantity, the second quantity, the modulation depth of the first group of modulation frequency offsets and the modulation depth of the second group of modulation frequency offsets can be updated according to the set time pattern, so that the determined first quantity, the second quantity, the modulation depth of the first group of modulation frequency offsets and the modulation depth of the second group of modulation frequency offsets can better meet the needs of clock control and modulation.
[0020] Secondly, this application provides a molecular clock, including clock baseline tilt compensation using the method described above.
[0021] Thirdly, this application provides an electronic device including the aforementioned molecular clock. Attached Figure Description
[0022] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a schematic diagram of molecular absorption spectrum;
[0024] Figure 2 This is a schematic diagram of the error signal curve after modulation and demodulation using a first-order error signal;
[0025] Figure 3 A flowchart of the clock baseline tilt compensation method provided in the embodiments of this application;
[0026] Figure 4 A schematic diagram of the spectral absorption curve and the frequency points of the two sets of modulation frequency offsets selected by the 4FSK technology in an example provided for the embodiments of this application;
[0027] Figure 5 A schematic diagram of the error signal curve after baseline tilt compensation obtained through simulation, provided in an embodiment of this application;
[0028] Figure 6 A schematic diagram illustrating the total error signal after baseline tilting is eliminated using 4FSK technology, as provided in an embodiment of this application.
[0029] Figure 7 for Figure 6 A partially magnified schematic diagram of the total error signal shown;
[0030] Figure 8 A block diagram illustrating a molecular clock provided in an embodiment of this application. Detailed Implementation
[0031] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0032] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0033] In the description of this application, it should be noted that the terms "upper", "lower", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship in which the invention is usually placed when in use. They are only used to facilitate the description of this application and to simplify the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations of this application.
[0034] In the description of this application, it should also be noted that, unless otherwise expressly specified and limited, the terms "set," "install," and "connect" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection between two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.
[0035] Existing molecular clocks typically employ frequency modulation (FM) to modulate the resonant signal, thereby obtaining an error signal based on the molecular absorption spectrum and locking the local oscillator frequency. The basic process is as follows: a reference microwave signal is frequency-doubled to the molecular absorption band; then the microwave signal is FM modulated; the modulated signal is input into a gas chamber containing a specific gas; first-order and third-order error signals are obtained through detection and used for closed-loop control of the locking loop. Due to a tilt in the system baseline (i.e., the power before absorption), specifically as follows... Figure 1 As shown, Figure 1 A schematic diagram of molecular absorption spectrum is shown, which illustrates multiple data points and curves fitted based on those data points. Figure 1 The slanted green line represents the baseline tilt, which causes an asymmetric deviation in the first-order error signal on both sides of the spectral absorption point. Figure 1 The example shown illustrates the absorption spectrum of the molecule. Among them, Figure 1 In the example shown, the horizontal axis represents the relative frequency deviation of the microwave center frequency, and the vertical axis represents the power. Specifically, as shown... Figure 2As shown in the figure, the deviation between the blue and red curves indicates an asymmetric bias in the first-order error signal on both sides of the absorption point of the spectral line. Specifically, Figure 2 The example shown illustrates the demodulated Q value, demodulated I value, synchronously demodulated I value, and the zero-point position of the demodulated I value. The horizontal axis represents the relative frequency deviation of the microwave center frequency, and the vertical axis represents the normalized detector voltage. Current clock modulation methods have the following shortcomings: Frequency modulation (FM) is more difficult and complex in generating the modulating signal and designing the demodulation signal algorithm, requiring more computation and increasing the difficulty of later debugging. The first-order error signal is affected by baseline tilt, causing the lock point to shift and resulting in a decrease in short-term frequency stability.
[0036] Based on the above research, this application provides a clock baseline tilt compensation method, a molecular clock, and an electronic device. This method combines fourth-order frequency-shift keying (FSK) technology (also known as 4FSK) to modulate the clock and eliminate clock baseline tilt. The clock baseline tilt compensation method provided in this application is described below with reference to some embodiments.
[0037] Before introducing the clock baseline tilt compensation method provided in the embodiments of this application, the spectrum of the molecular clock is first introduced. The logarithm of the molecular spectrum and the molecular spectrum can be qualitatively described by the following formula:
[0038] ;
[0039] in, , , Represents any normalization parameter; Indicates the instantaneous frequency of the microwave; Indicates the molecular absorption term; Indicates baseline tilt; Represents the vacuum permittivity; Represents the imaginary part of the molecular dielectric constant; Represents the logarithm of the molecular spectrum; This represents the molecular spectrum.
[0040] For example, a Lorentz line type can be used in the design. This can be represented as:
[0041] ;
[0042] Represents any normalization coefficient; A dimensionless parameter describing the intensity of absorption; It represents the instantaneous frequency deviation relative to the center frequency.
[0043] Please see Figure 3 This is a flowchart of a clock baseline tilt compensation method provided in an embodiment of this application. The clock baseline tilt compensation method provided in this embodiment can be applied to a molecular clock, using this molecular clock to execute the steps in the clock baseline tilt compensation method. The following will describe... Figure 3 The specific process shown will be explained in detail.
[0044] Step 110: Based on the two pre-selected modulation frequency offsets, calculate two sets of error signals.
[0045] In this embodiment, each group of modulation frequency offsets may include two frequency points. The four frequency points can be represented as follows: , , , For example, each group can be a frequency point symmetrical about the origin. For instance, two groups of frequency points can be represented as follows: , ,in, , It is a positive number. That is, the four frequency points satisfy... - = , - = .
[0046] For a set of modulation frequency offsets, the error signal of that set of modulation frequency offsets can be obtained by taking half the difference between the logarithm of the molecular spectrum and the logarithm of the molecular spectrum.
[0047] For example, the two sets of error signals can be represented as and :
[0048] ;
[0049] ;
[0050] in, Indicates the center frequency; This represents the instantaneous frequency deviation relative to the center frequency; where, , , , This represents four specific instantaneous microwave frequencies.
[0051] like Figure 4 As shown, Figure 4 The diagram shows an example of a spectral absorption curve and a schematic diagram of the frequency points for two sets of modulation frequency offsets selected using the 4FSK technique. The horizontal axis represents the relative frequency deviation of the microwave center frequency, and the vertical axis represents the normalized detector voltage. Figure 4The example shown illustrates the frequency points of two selected sets of modulation frequency offsets. , , , .
[0052] The offset depth of the first group of modulation frequency offsets can be relatively small, while the offset depth of the second group of modulation frequency offsets can be relatively large. For example, the offset depth of the second group of modulation frequency offsets can be 40, 30, or 80 times that of the first group of modulation frequency offsets. In one example, the offset depth of the first group of modulation frequency offsets can be 0.4 or 0.5, and the offset depth of the second group of modulation frequency offsets can be 20 or 30.
[0053] Step 120: Determine the baseline tilt based on the error signal.
[0054] Based on the logarithm of the molecular spectrum and the qualitative description formula of the molecular spectrum, it can be determined that the molecular absorption term is inversely correlated with the instantaneous frequency deviation relative to the center frequency. Therefore, as the modulation frequency deviation increases, that is, the frequency deviation depth increases, the molecular absorption term can approach zero.
[0055] The baseline tilt can be calculated based on the above characteristics.
[0056] Step 130: Based on the baseline tilt and the two sets of error signals, perform baseline compensation to calculate the target error signal.
[0057] The target error signal is used as a feedback signal for the target clock.
[0058] The representation of the total target signal can be constructed based on the two sets of error signals. For example, the total target error signal can be represented as err, and then the total target error signal can be expressed by the following formula:
[0059] ;
[0060] err can be represented as the target error signal.
[0061] By setting the frequency offset to zero, the error signal becomes zero, and the error signal weight can be calculated. .
[0062] Based on this, and combining the above-mentioned Lorentz line type and baseline inclination determination, the above-mentioned... The value of can be used to obtain the target error signal.
[0063] Combining the Lorentz curve described above, we can obtain:
[0064]
[0065] ;
[0066]
[0067] ;
[0068] make Then we can get:
[0069] ;
[0070] ;
[0071] Therefore, the following condition is satisfied: .
[0072] At this point, simulation can yield a total error signal diagram after compensating for baseline tilt and frequency shift, as shown in the following figure. Figure 5 As shown. Figure 5 The example shown illustrates the first error signal curve, the second error signal curve, and the zero point. The horizontal axis represents the relative frequency deviation of the microwave center frequency, and the vertical axis represents the normalized detector voltage.
[0073] In the embodiments of this application, the baseline tilt can be determined based on the selected modulation frequency offset, thereby enabling compensation for the baseline tilt and eliminating the baseline tilt frequency shift of the clock, thus improving the stability and accuracy of the molecular clock. This approach is relatively easy to implement, has low complexity and low computational cost, and simplifies clock modulation.
[0074] As can be seen from the Lorentz curve above, the instantaneous frequency deviation between the molecular absorption term and the relative center frequency... The relationship is inversely proportional; however, the larger the selected modulation frequency deviation, the greater the increase, since the modulation frequency deviation is the instantaneous frequency deviation relative to the center frequency. The greater the modulation depth, the smaller the molecular absorption term. Therefore, when a large modulation frequency offset is selected, the values of the molecular dispersion and absorption terms can approach zero. Based on this, the two sets of modulation frequency offsets include a first set and a second set; the modulation depth coefficient of the second set of modulation frequency offsets is greater than a set value. This set value can be a large value. Step 120 above may include: determining the baseline tilt based on the error signal corresponding to the second set of modulation frequency offsets.
[0075] Optionally, the baseline tilt can be determined by:
[0076] ;
[0077] in, Indicates baseline tilt; This represents the error signal corresponding to the second group of modulation frequency offsets; This indicates the modulation depth of the second group of modulation frequency offsets; It represents the instantaneous frequency deviation relative to the center frequency.
[0078] For example, taking a modulation depth of 20 for the second group of modulation frequency offsets, the baseline tilt can be:
[0079] .
[0080] Of course, the above examples are merely illustrative; in actual use, the modulation depth of the second set of modulation frequency offsets... A larger value can also be chosen to further reduce the contribution of the molecular absorption term to the error signal. For example, the modulation depth of the second set of modulation frequency offsets can be much greater than the modulation depth of the first set of modulation frequency offsets. For instance, the modulation depth of the second set of modulation frequency offsets can be 30, 40, 35, etc., as long as the phase-locked loop of the target clock can achieve the required frequency offset.
[0081] Based on the above method for determining baseline tilt, a simpler calculation method can be used to determine baseline tilt, making it easier to compensate for baseline tilt.
[0082] In this embodiment, the two sets of modulation frequency offsets include a first set of modulation frequency offsets and a second set of modulation frequency offsets; the first set of modulation frequency offsets includes a first frequency point and a second frequency point, and the second set of modulation frequency offsets includes a third frequency point and a fourth frequency point; the two sets of error signals include a first error signal and a second error signal.
[0083] Step 110 above may include steps 111 to 114.
[0084] Step 111: For the first group of modulation frequency offsets, collect a first number of detection signals at the first frequency point and a first number of detection signals at the second frequency point.
[0085] For example, the number of sampling points in each modulation period are respectively , , , The number of sampling points can satisfy: = = , = = , + = ,in, For pre-set known quantities; Indicates the first quantity; Indicates the second quantity.
[0086] Based on step 111, the first frequency point can be obtained respectively. One detector signal, the second frequency point The first detected signal. The detector signal at the first frequency and the detector signal at the second frequency.
[0087] Step 112: For the second group of modulation frequency offsets, collect the second number of detection signals at the third frequency point and the second number of detection signals at the fourth frequency point.
[0088] Based on steps 112, the third frequency point can be obtained respectively. One detector signal, fourth frequency point One detected signal. That is, the second quantity. The detection signal at the third frequency point and the detection signal at the fourth frequency point.
[0089] Step 113: Calculate the first error signal based on the first number of detector signals at the first frequency point and the first number of detector signals at the second frequency point.
[0090] In this embodiment, the average detected signal at the first frequency point can be determined based on the detected signal at the first frequency point, and the average detected signal at the second frequency point can be determined based on the detected signal at the second frequency point.
[0091] The first error signal can be represented by the average detected signal at the first frequency point and the average detected signal at the second frequency point.
[0092] For example, the average detected signal at the first frequency point is expressed as: .
[0093] For example, the average detected signal at the second frequency point is expressed as: .
[0094] The first error signal can be expressed as: .
[0095] Step 114: Calculate the second error signal based on the second number of detector signals at the third frequency point and the second number of detector signals at the fourth frequency point.
[0096] In this embodiment, the average detected signal at the third frequency point can be determined based on the detected signal at the third frequency point, and the average detected signal at the fourth frequency point can be determined based on the detected signal at the fourth frequency point.
[0097] The second error signal can be represented by the average detected signal at the third frequency point and the average detected signal at the fourth frequency point.
[0098] For example, the average detected signal at the third frequency point is expressed as: .
[0099] For example, the average detected signal at the fourth frequency point is expressed as: .
[0100] The second error signal can be expressed as: .
[0101] In this example, the total target error signal can be expressed as: .
[0102] In this embodiment, when the first quantity and the second quantity, as well as the modulation depth of the first group of modulation frequency offsets and the modulation depth of the second group of modulation frequency offsets are all fixed values, the specific value of the total target error signal can be determined.
[0103] like Figure 6 and Figure 7 As shown, this diagram illustrates the total error signal after eliminating baseline tilt and frequency shift using 4FSK, showing the first error signal curve, the second error signal curve, and the zero-point position based on 4FSK modulation. Figure 6 In the example shown, the blue dashed curve (4FSK error curve) also represents the error curve after 4FSK modulation. It can represent the total error signal curve. Based on this curve, it can be seen that the amplitude of the total error signal is symmetrical about the origin, indicating that the 4FSK modulation method eliminates the baseline tilt. Furthermore, the X-axis coordinate of the zero-crossing point of the blue dashed curve is infinitely close to zero, which also shows that the frequency shift caused by the baseline tilt is eliminated by using 4FSK modulation. Figure 6 and Figure 7 In the example shown, the horizontal axis represents the relative frequency deviation of the microwave center frequency, and the vertical axis represents the normalized detector voltage. Figure 6 In the example shown, its FWHM = 0.88762MHz. FWHM stands for Full Width at Half Maximum.
[0104] In this embodiment, the determined target error signal can be fed back to the output voltage of the digital-to-analog converter (DAC) of the target clock. The output voltage of the DAC further controls the clock source of the target clock, thereby achieving a closed loop. Through real-time modulation with corresponding parameters, when the loop is locked, the frequency shift caused by the baseline tilt is eliminated from the frequency shift in the output frequency of the molecular clock, thus achieving stable operation of the target clock.
[0105] Different values of the first and second quantities, as well as the modulation depths of the first and second sets of modulation frequency offsets, may affect the modulation effect of the target clock. Therefore, before proceeding to steps 110 to 130, a more effective first and second quantity can be determined based on signal analysis.
[0106] Based on this, the method in the embodiments of this application may further include the following steps.
[0107] Step 210: For the first group of modulation frequency offsets, collect the detection signal at the first frequency point and the detection signal at the second frequency point.
[0108] Step 220: For the second group of modulation frequency offsets, acquire the detection signal at the third frequency point and the detection signal at the fourth frequency point.
[0109] Step 230: Based on the detector signals at the first frequency point, the second frequency point, the third frequency point, and the fourth frequency point, determine the expression for the error signal.
[0110] The expression for the error signal includes a first quantity to be determined and a second quantity to be determined.
[0111] Step 240: Based on the expression of the error signal, determine the expression of the noise power.
[0112] Optionally, the amplitude of the first detection noise can be obtained by measuring the target clock under the first group of modulation frequency offsets; the amplitude of the second detection noise can be obtained by measuring the target clock under the second group of modulation frequency offsets; and the expression for the noise power can be determined based on the expression for the error signal, the amplitude of the first detection noise, and the amplitude of the second detection noise.
[0113] Step 250: Based on the expression for noise power, determine the minimum value of noise power to obtain the first quantity and the second quantity.
[0114] Among them, when the noise power is at its minimum value, the value of the first quantity to be determined is taken as the first quantity, and the value of the second quantity to be determined is taken as the second quantity.
[0115] Furthermore, the expression for the error signal includes the modulation depth of the first set of modulation frequency offsets to be determined and the modulation depth of the second set of modulation frequency offsets to be determined.
[0116] Step 260: Based on the expression for the error signal, determine the expression for the frequency discrimination efficiency.
[0117] Step 270: Based on the expression for frequency discrimination efficiency, determine the maximum value of frequency discrimination efficiency to obtain the modulation depth of the first set of modulation frequency offsets and the modulation depth of the second set of modulation frequency offsets.
[0118] Among them, when the frequency discrimination efficiency is at its maximum value, the value of the modulation depth of the first group of modulation frequency offsets to be determined is taken as the modulation depth of the first group of modulation frequency offsets, and the value of the modulation depth of the second group of modulation frequency offsets to be determined is taken as the modulation depth of the second group of modulation frequency offsets.
[0119] The following example formulas illustrate the logic for determining the first quantity, the second quantity, the modulation depth of the first group of modulation frequency offsets, and the modulation depth of the second group of modulation frequency offsets.
[0120] The detector noise at the first frequency can be expressed as: .
[0121] The detector noise at the second frequency point can be expressed as: .
[0122] The detector noise at the third frequency point can be expressed as: .
[0123] The detector noise at the fourth frequency can be expressed as: .
[0124] Due to pre-setting = = ,and = = Therefore, we can obtain ; In this formula, This represents the amplitude of the detector noise, and by default, the amplitude of the detector noise is the same for all modulation frequency offsets. , can be used as a known quantity.
[0125] The total noise error signal standard deviation can be expressed as:
[0126] ;
[0127] The standard deviation of the total noise error signal can be used to represent the noise power, which can be expressed by the following formula:
[0128] ;
[0129] In this formula, the amplitude of the detector noise is defined as the amplitude of the first detector noise. Amplitude of the second detector noise And the amplitude of the first detector noise Amplitude of the second detector noise They may be equal or they may not be equal.
[0130] The short-term stability of a clock can be expressed by the following formula: ;in, Represents the time constant; This represents the power spectral density of the error signal; This indicates the frequency discrimination efficiency.
[0131] in, , Frequency discrimination efficiency The larger the value, the higher the power spectral density of the error signal. When the minimum value is reached, the optimal solution is the value of the first quantity, the second quantity, the modulation depth of the first group of modulation frequency offsets, and the modulation depth of the second group of modulation frequency offsets.
[0132] By simplifying the above formula for noise power, we can obtain:
[0133] ;
[0134] Further simplification yields:
[0135] .
[0136] Taking the derivative with respect to the noise power, we can obtain:
[0137] ;
[0138] Setting its derivative to zero, we have: ,as well as .
[0139] The target error signal can be expressed by the following formula:
[0140]
[0141] ;
[0142]
[0143] Based on this, the frequency discrimination efficiency can be obtained:
[0144]
[0145]
[0146] in, ;
[0147] right Differentiation yields .
[0148] In one example, the modulation depth of the first group of modulation frequency offsets is 0.4, and the modulation depth of the second group of modulation frequency offsets is infinite. That is... , When the optimal solution is found, short-term stability is achieved, while baseline tilt is eliminated.
[0149] However, in practice, the modulation depth of the second modulation frequency offset is limited by the frequency bandwidth of the target clock's phase-locked loop. For a finite value, when the modulation depth of the second group of modulation frequency offsets... The optimal solution is when the phase-locked loop has the maximum frequency offset, which maximizes the short-term stability of the target clock and better eliminates baseline tilt.
[0150] Furthermore, in practice, the frequency modulation-amplitude modulation conversion effect (FM-AM effect) of molecular spectroscopy on microwave source phase noise refers to the phenomenon where the amplitude of a frequency-modulated (FM) signal changes according to the original frequency modulation pattern after passing through certain systems or media, thus generating an amplitude-modulated (AM) component in the output signal. The noise power at different modulation frequency offsets is inconsistent, so dynamic parameter adjustments are needed based on real-time noise measurements. Under this logic, appropriate first and second quantities can be determined to achieve baseline tilt compensation.
[0151] Noise power can be expressed as: ;
[0152] in, These can be represented as the amplitude of the first detection noise under the first group of modulation frequency offsets, and the amplitude of the second detection noise under the second group of modulation frequency offsets, respectively.
[0153] For example, the amplitude of the first detection noise can be obtained by measuring the target clock under the first group of modulation frequency offsets, and the amplitude of the second detection noise can be obtained by measuring the target clock under the second group of modulation frequency offsets.
[0154] In this example, the parameters required for baseline tilt are dynamically adjusted by using parameters obtained through real-time measurement, thereby realizing a method for real-time calibration of molecular clock baseline tilt using 4FSK technology.
[0155] Regarding the noise power mentioned above Differentiate, such that The derivative of is zero, and satisfies = = , = = , + = .
[0156] Based on this, we can conclude that:
[0157] ;
[0158] Taking the derivative with respect to the noise power, we get:
[0159] ;
[0160] Therefore, when the derivative of the noise power is zero, that is... The noise power reaches its minimum value, that is: , can be obtained and The optimal solution.
[0161] Based on this , .
[0162] In the above formula Given quantities To achieve real-time measurement, the parameters are dynamically adjusted based on the real-time measured parameters, thus realizing a method for real-time calibration of the 4FSK technique to compensate for the baseline tilt of the molecular clock.
[0163] The embodiments of this application may further include: updating the first quantity, the second quantity, the modulation depth of the first group of modulation frequency offsets, and the modulation depth of the second group of modulation frequency offsets according to a set time pattern.
[0164] For example, the set time pattern can be a specified duration. The specified duration can be a week, half a month, or other durations.
[0165] In this embodiment, traditional FM modulation is replaced with 4FSK modulation, with offsets of ±Δf1 and ±Δf2 from the center frequency f_0, representing the first and second sets of modulation frequency offsets, respectively, forming four discrete frequency offset states. Where ±Δf1 = ±Δf2= ±Δf1 and ±Δf2 are automatically calculated by scanning the spectrum signal through program settings and then obtaining the error signal from the detection signal. Optionally, the first and second modulation frequency offsets are selected as 0.5 times and 20 times the linewidth, respectively. During demodulation, the decision circuit of the target clock can be used to extract the difference of the detection signal corresponding to the four frequency points, combine and calculate the error signal, retain only the second-order and higher terms of the spectrum, and completely eliminate the baseline tilt of the first-order term (e.g., ...). Figure 6 (As shown).
[0166] In this embodiment, a digital chip can be packaged within the molecular clock. For example, this digital chip can be modularly implemented in an FPGA / ASIC using Verilog to achieve 4FSK modulation and decision demodulation. Compared to FM first-order error signals and 2FSK error signals, the baseline tilt frequency shift elimination method provided in this application embodiment has a greater advantage in eliminating the spectral frequency shift caused by baseline tilt. It can also better improve short-term frequency stability while eliminating the frequency shift caused by baseline tilt.
[0167] In this embodiment, the digitized 4FSK modulation scheme offers advantages such as ease of theoretical analysis and flexible design of the maximum modulation frequency offset. The 4FSK IP core described in Verilog supports digital synthesis of various processes and is also easy to integrate into chips for relevant application scenarios.
[0168] Furthermore, fourth-order frequency-shift keying is introduced for the first time in a molecular clock. Based on real-time parameter adjustment, it eliminates the frequency shift caused by baseline tilt and improves short-term stability. A frequency offset decision and energy accumulation module implemented in Verilog enables purely digital demodulation. It supports mainstream process nodes and is easily integrated into on-chip systems.
[0169] Furthermore, the principle of eliminating the first and third error terms of the baseline was derived and verified based on simulation technology, and dynamic parameter adjustment was realized.
[0170] This application provides a molecular clock that compensates for baseline tilt using the aforementioned clock baseline tilt compensation method.
[0171] For details on the compensation of the baseline tilt of the molecular clock, please refer to the description of the aforementioned clock baseline tilt compensation method, which will not be repeated here.
[0172] like Figure 8 As shown, the molecular clock may also include a digitization chip 410, which includes a computing module. Exemplarily, this computing module can be implemented based on a Field Programmable Gate Array (FPGA) or an Application-Specific Integrated Circuit (ASIC). For example, 4FSK modulation and decision demodulation can be implemented modularly in the computing module using Verilog.
[0173] In this embodiment, as Figure 8 As shown, the molecular clock may also include a transmitter chip (TX chip) 420, a molecular gas cell 430, a crystal oscillator 440, and a receiver chip (RX chip) 450.
[0174] The molecular clock's digitization chip 410 can modulate the molecular clock using preset 4SK technology calculation logic based on the acquired detection signal. In the entire molecular clock control loop, the microwave source output frequency in the transmitting chip needs to be set to four frequency points. , , , Furthermore, the four frequency points switch according to a certain frequency, i.e., 4FSK; when the microwave signal enters the gas cell through the waveguide, it is absorbed by the molecules, and at the corresponding frequency points, there will be absorption signals of different amplitudes. Then, the detector in the receiving chip converts the spectral absorption signal into a voltage signal, which can be used to select the appropriate frequency when needed. , , , At that time, collection , , , Each detector signal is analyzed and processed by an algorithm, and the result is fed to the crystal oscillator of the molecular clock, thus achieving a closed loop. Furthermore, through real-time modulation using corresponding parameters, when the loop is locked, the frequency shift caused by baseline tilt is eliminated from the frequency shift in the output frequency of the molecular clock.
[0175] This application also provides an electronic device that may include a molecular clock.
[0176] The molecular clock can be similar to the molecular clock provided in the foregoing embodiments. For the molecular clock in the electronic device of this embodiment, please refer to the description in the foregoing embodiments, which will not be repeated here.
[0177] Depending on the specific needs, the electronic device may include even more components.
[0178] Optionally, the electronic device may also include a memory and a processor.
[0179] The memory can be, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), and Electrically Erasable Programmable Read-Only Memory (EEPROM). The memory stores programs, and after receiving execution instructions, the processor executes the programs. The methods executed by the electronic device defined by the process disclosed in any embodiment of this application can be applied to the processor or implemented by the processor.
[0180] The aforementioned processor may be an integrated circuit chip with signal processing capabilities. It can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a digital signal processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor.
[0181] For example, the electronic device needs to display the data generated during the calculation process or the calculation results. The electronic device may also include a display unit for displaying the data generated during the calculation process and the calculation results.
[0182] For example, if the electronic device also needs to communicate with other devices, the electronic device may further include a communication unit through which communication with other devices is achieved.
[0183] Furthermore, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the clock baseline tilt compensation method described in the above method embodiments.
[0184] The computer program product of the clock baseline tilt compensation method provided in this application includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the steps of the clock baseline tilt compensation method described in the above method embodiments. For details, please refer to the above method embodiments, which will not be repeated here.
[0185] The above description is merely an optional embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application. It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0186] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A clock baseline tilt compensation method, characterized in that, include: Based on two pre-selected sets of modulation frequency offsets, two sets of error signals are calculated; the two sets of modulation frequency offsets include the first set of modulation frequency offsets and the second set of modulation frequency offsets. The first set of modulation frequency offsets includes a first frequency point and a second frequency point, the second set of modulation frequency offsets includes a third frequency point and a fourth frequency point, and the two sets of error signals include a first error signal and a second error signal; The calculation of two sets of error signals based on two pre-selected sets of modulation frequency offsets includes: for the first set of modulation frequency offsets, acquiring a first number of detector signals at the first frequency point and a first number of detector signals at the second frequency point; for the second set of modulation frequency offsets, acquiring a second number of detector signals at the third frequency point and a second number of detector signals at the fourth frequency point; calculating a first error signal based on the first number of detector signals at the first frequency point and the first number of detector signals at the second frequency point; and calculating a second error signal based on the second number of detector signals at the third frequency point and the second number of detector signals at the fourth frequency point. Based on the error signal, the baseline tilt is determined; Based on the baseline tilt and the two sets of error signals, baseline compensation is performed to calculate the target error signal; wherein, the target error signal is used as a feedback signal for the target clock; The determination of the first quantity and the second quantity includes: for the first group of modulation frequency offsets, acquiring the detection signal at the first frequency point and the detection signal at the second frequency point; for the second group of modulation frequency offsets, acquiring the detection signal at the third frequency point and the detection signal at the fourth frequency point; based on the detection signals at the first frequency point, the second frequency point, the third frequency point, and the fourth frequency point, determining an expression for an error signal; wherein the expression for the error signal includes a first quantity to be determined and a second quantity to be determined; based on the expression for the error signal, determining an expression for noise power; based on the expression for noise power, determining the minimum value of noise power to obtain the first quantity and the second quantity; wherein, when the noise power is at its minimum value, the value of the first quantity to be determined is taken as the first quantity, and the value of the second quantity to be determined is taken as the second quantity.
2. The method according to claim 1, characterized in that, The two sets of modulation frequency offsets include a first set of modulation frequency offsets and a second set of modulation frequency offsets; the modulation depth coefficient of the second set of modulation frequency offsets is greater than a set value; Determining the baseline tilt based on the error signal includes: The baseline tilt is determined based on the error signal corresponding to the second group of modulation frequency offsets.
3. The method according to claim 2, characterized in that, The methods for determining the baseline tilt include: ; in, Indicates baseline tilt; This represents the error signal corresponding to the second group of modulation frequency offsets; This indicates the modulation depth of the second group of modulation frequency offsets; It represents the instantaneous frequency deviation relative to the center frequency.
4. The method according to claim 1, characterized in that, The expression for determining the noise power based on the expression for the error signal includes: The amplitude of the first detector noise is obtained by measuring the target clock under the first group of modulation frequency offsets; The amplitude of the second detector noise is obtained by measuring the target clock under the second group of modulation frequency offsets; The expression for the noise power is determined based on the expression for the error signal, the amplitude of the first detection noise, and the amplitude of the second detection noise.
5. The method according to claim 1, characterized in that, The expression for the error signal includes the modulation depth of the first set of modulation frequency offsets to be determined and the modulation depth of the second set of modulation frequency offsets to be determined. The method further includes: Based on the expression for the error signal, the expression for the frequency discrimination efficiency is determined; Based on the expression for the frequency discrimination efficiency, the maximum value of the frequency discrimination efficiency is determined to obtain the modulation depth of the first group of modulation frequency offsets and the modulation depth of the second group of modulation frequency offsets; wherein, when the frequency discrimination efficiency is at its maximum value, the value of the modulation depth of the first group of modulation frequency offsets to be determined is taken as the modulation depth of the first group of modulation frequency offsets, and the value of the modulation depth of the second group of modulation frequency offsets to be determined is taken as the modulation depth of the second group of modulation frequency offsets.
6. The method according to claim 5, characterized in that, The modulation depth of the second group of modulation frequency offsets is the maximum frequency offset of the phase-locked loop of the target clock.
7. The method according to any one of claims 5 or 6, characterized in that, The method further includes: The first quantity, the second quantity, the modulation depth of the first group of modulation frequency offsets, and the modulation depth of the second group of modulation frequency offsets are updated according to a set time pattern.
8. A molecular clock, characterized in that, This includes clock baseline tilt compensation achieved using the method described in any one of claims 1-7.
9. An electronic device, characterized in that, Includes the molecular clock as described in claim 8.
