An adaptive adjustment method, system and storage medium of a crystal oscillator signal
By using an adaptive adjustment method for a multi-level threshold comparison link, the problems of high power consumption, difficulty in filtering spurious frequencies, and phase noise in portable and low-power applications of crystal oscillator signals are solved, achieving adaptive optimization of the signal processing link and high-frequency, high-precision output.
Patent Information
- Application Number
- CN202611336815.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-31
- Publication Date
- 2026-11-24
AI Technical Summary
Existing crystal oscillator signal conditioning schemes have high power consumption, cannot effectively filter out stray frequency components, introduce phase noise, and lack adaptive capabilities in portable and low-power applications, resulting in insufficient spectral purity of the output signal, making it difficult to meet the requirements of high-frequency or high-precision applications.
By constructing a multi-level threshold comparison link, the amplitude, frequency, sideband noise amplitude, link reflection coefficient, and output load characteristics of the crystal oscillator signal are sequentially subjected to a series of threshold judgments and dynamic responses, thereby achieving adaptive and coordinated adjustment of each link in the signal processing, including waking up the amplification link, matching the gain mapping table, gating the resonant branch, adjusting the depth of the filter network, dynamically adjusting the impedance compensation parameters, and switching the output matching network topology.
It achieves adaptive dynamic configuration and collaborative optimization of each link in the crystal oscillator signal processing link, improves the spectral purity and output quality of the signal, adapts to flexible adjustments of different frequencies and output indicators, and meets the needs of portable and low-power applications.
Smart Images

Figure CN123163618A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of crystal oscillator signal processing technology, and more specifically, to an adaptive adjustment method, system, and storage medium for crystal oscillator signals. Background Technology
[0002] As the integration of communication equipment and electronic systems continues to increase, the quality of the output signal of the crystal oscillator, as the core clock source or frequency reference, directly affects the stability and reliability of the entire system. Therefore, the adjustment and purification of the crystal oscillator signal has always been a key technical challenge in the field of electronic circuit design.
[0003] In existing technologies, crystal oscillator signal conditioning solutions are mainly divided into two categories: integrated chip solutions and discrete component-based solutions. First, integrated chip solutions typically employ inverters or phase-locked loops (PLLs), with their internal signal processing links fixed, resulting in high overall power consumption and difficulty meeting the needs of portable and low-power applications. Second, these chips lack dedicated frequency-selective filtering structures, failing to effectively filter out spurious frequency components in the crystal oscillator output signal, leading to insufficient spectral purity. Third, chip solutions utilize digital logic processing, and their internal oscillators and frequency dividers introduce significant phase noise during operation, severely degrading the purity of the crystal oscillator signal, particularly detrimental to high-frequency or high-precision applications. Finally, while manually building the conditioning circuit using discrete analog components can mitigate the power consumption and phase noise issues of chip solutions to some extent, the subsequent construction process is cumbersome, the circuit integration is low, and once completed, the frequency selection network and matching parameters are fixed. When adapting to different crystal frequencies or adjusting output parameters, it often requires redesigning and replacing the entire circuit board, lacking flexible and convenient adjustments to key components according to actual needs and exhibiting a lack of self-adaptive capability. Summary of the Invention
[0004] In view of the above problems, the purpose of this invention is to provide an adaptive adjustment method, system and storage medium for crystal oscillator signals. By constructing a multi-level threshold comparison link, the amplitude, frequency, sideband noise amplitude, link reflection coefficient and output load characteristics of the crystal oscillator signal are sequentially subjected to a series of threshold judgments and dynamic responses, thereby realizing adaptive and coordinated adjustment of each link of signal processing.
[0005] The first aspect of this invention provides an adaptive adjustment method for a crystal oscillator signal, the method comprising: The amplitude of the crystal oscillator signal is obtained, and it is determined whether the amplitude exceeds a preset activation threshold. If so, the primary amplification link is activated and the corresponding gain mapping table is matched according to the amplitude. The frequency of the crystal oscillator signal after primary amplification is obtained, and it is determined whether the frequency is within a preset locked frequency band threshold range. If so, the corresponding resonant branch is selected to extract the main frequency signal; The main frequency signal is connected to the secondary amplification link to obtain the sideband noise amplitude after secondary amplification; Determine whether the sideband noise amplitude exceeds a preset purity threshold; If so, adjust the access depth of the filtering network; The signal after adjusting the filtering network is sequentially connected to multiple frequency selection units to determine whether the signal reflection coefficient in the link exceeds the preset transmission efficiency threshold. If so, then dynamically adjust the impedance compensation parameters; The signal after impedance adjustment is transmitted to the output matching unit, and the parameters of the output matching network are adjusted until the load characteristics at the output end match the preset load template threshold.
[0006] In this scheme, the step of matching the gain mapping table corresponding to the amplitude specifically includes: Read the amplitude of the crystal oscillator signal; The amplitude is compared with a plurality of preset amplitude ranges to determine the target range to which the amplitude belongs; Based on the interval identifier of the target interval, the corresponding gain configuration parameters are retrieved from the preset mapping table; The gain configuration parameters are loaded into the bias network of the primary amplifier to set the operating point of the primary amplifier link.
[0007] In this scheme, the selection of the corresponding resonant branch to extract the main frequency signal specifically includes: Obtain the frequency of the primary amplified crystal oscillator signal; The frequency is then compared with the preset resonant frequency threshold of each resonant branch to obtain multiple frequency differences. Select the resonant branch corresponding to the deviation value with the smallest absolute value from the plurality of frequency differences as the target branch; The control switch element is activated to connect the target branch to the signal transmission link and disconnect the remaining resonant branches.
[0008] In this solution, adjusting the access depth of the filtering network specifically includes: The impedance adjustment amount of the filter network is determined based on the amount by which the sideband noise amplitude exceeds the purity threshold. According to the impedance adjustment amount, adjust the bias voltage of the varactor diode in the filter network to change the resonant point of the filter network; After adjusting the bias voltage, the current sideband noise amplitude is reacquired, and it is determined whether the current sideband noise amplitude still exceeds the purity threshold. If so, continue adjusting the bias voltage until the sideband noise amplitude is suppressed to below the purity threshold.
[0009] In this solution, the dynamically adjusted impedance compensation parameters specifically include: The deviation direction is obtained by comparing the signal reflection coefficient with the transmission efficiency threshold. Based on the deviation direction, determine the adjustment step direction of the adjustable element in the impedance compensation network; The parameter values of the adjustable element are gradually adjusted according to the adjustment step direction. After each adjustment, the current signal reflection coefficient is detected in real time to determine whether the current signal reflection coefficient is lower than the transmission efficiency threshold. If not, continue iterative adjustment according to the adjustment step direction until the current signal reflection coefficient is lower than the transmission efficiency threshold.
[0010] In this solution, adjusting the parameters of the output matching network until the load characteristics at the output end match the preset load template threshold specifically includes: Obtain the current load impedance value at the output terminal; The current load impedance value is compared with the load template threshold to calculate the mismatch error value; Based on the mismatch error value, determine the topology adjustment strategy for the inductor and capacitor elements in the output matching network; According to the topology adjustment strategy, switch the series and parallel connection relationship of the inductor and the capacitor; After each switch, the updated load impedance value is reacquired, and it is determined whether the updated load impedance value is consistent with the load template threshold. If not, continue executing the topology adjustment strategy until the updated load impedance value matches the load template threshold.
[0011] A second aspect of the present invention provides an adaptive adjustment system for a crystal oscillator signal, comprising an adaptive adjustment method program for the crystal oscillator signal, wherein the adaptive adjustment method program for the crystal oscillator signal, when executed by the processor, performs the following steps: The amplitude of the crystal oscillator signal is obtained, and it is determined whether the amplitude exceeds a preset activation threshold. If so, the primary amplification link is activated and the corresponding gain mapping table is matched according to the amplitude. The frequency of the crystal oscillator signal after primary amplification is obtained, and it is determined whether the frequency is within a preset locked frequency band threshold range. If so, the corresponding resonant branch is selected to extract the main frequency signal; The main frequency signal is connected to the secondary amplification link to obtain the sideband noise amplitude after secondary amplification; Determine whether the sideband noise amplitude exceeds a preset purity threshold; If so, adjust the access depth of the filtering network; The signal after adjusting the filtering network is sequentially connected to multiple frequency selection units to determine whether the signal reflection coefficient in the link exceeds the preset transmission efficiency threshold. If so, then dynamically adjust the impedance compensation parameters; The signal after impedance adjustment is transmitted to the output matching unit, and the parameters of the output matching network are adjusted until the load characteristics at the output end match the preset load template threshold.
[0012] A third aspect of the present invention provides a computer-readable storage medium comprising an adaptive adjustment method program for a crystal oscillator signal, wherein when the adaptive adjustment method program for the crystal oscillator signal is executed by a processor, the steps of the adaptive adjustment method for the crystal oscillator signal as described in any of the preceding claims are implemented.
[0013] This invention provides an adaptive adjustment method, system, and storage medium for crystal oscillator signals. By constructing a signal processing link consisting of a multi-stage amplification link, multiple adjustable frequency selection units, and an output matching network, the crystal oscillator input signal is sequentially subjected to amplitude activation threshold comparison, frequency lock threshold comparison, sideband noise purity threshold comparison, link reflection coefficient transmission efficiency threshold comparison, and output load characteristic threshold comparison, forming a chain-like dynamic judgment and adjustment process. When each threshold is passed or exceeded, the amplification link is woken up and the gain mapping table is matched, the resonant branch is selected to extract the main frequency, the filter network access depth is adjusted, the impedance compensation parameters are dynamically adjusted, and the output matching network topology is switched until the output signal meets the requirements. This achieves adaptive dynamic configuration and collaborative optimization of each link in the crystal oscillator signal processing link. Attached Figure Description
[0014] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope.
[0015] Figure 1 A schematic diagram of a crystal oscillator signal adjustment circuit is shown; Figure 2 A flowchart of an adaptive adjustment method for crystal oscillator signals according to the present invention is shown; Figure 3 A block diagram of an adaptive adjustment system for a crystal oscillator signal according to the present invention is shown. Detailed Implementation
[0016] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0017] Unless otherwise defined, all terms (including technical and scientific terms) used in embodiments of this invention shall have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. It should also be understood that terms such as those defined in a common dictionary shall be interpreted as having a meaning consistent with their meaning in the context of the relevant art, and not as being interpreted in an idealized or highly formalized sense, unless expressly defined in this embodiment of the invention.
[0018] The terms "first," "second," and similar words used in the embodiments of this invention do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "an," "a," or "the" do not indicate a quantity limitation, but rather indicate the presence of at least one. Similarly, terms such as "including" or "comprising" mean that the element or object preceding the word encompasses the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. The steps preceding or following the steps in the method of the embodiments of this invention are not necessarily performed precisely in sequence. Instead, various steps can be processed in reverse order or simultaneously. Furthermore, other operations can be added to these processes, or one or more steps can be removed from these processes.
[0019] In addition, the functional modules in the various embodiments of the present invention can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0020] Figure 1 A schematic diagram of a crystal oscillator signal adjustment circuit is shown.
[0021] like Figure 1 As shown, a crystal oscillator signal adjustment circuit is provided. The circuit includes a primary amplifier composed of a first transistor, a secondary amplifier composed of a second transistor, multiple LC adjustable frequency selection units, and an output matching unit.
[0022] It should be noted that the primary amplifier includes a first transistor, with its input terminal connected to the input signal and its output terminal connected to a first adjustable frequency selection unit; the secondary amplifier includes a second transistor, with its input terminal connected to the first adjustable frequency selection unit and its output terminal connected to the second adjustable frequency selection unit; the signal output terminal of the second adjustable frequency selection unit is connected to the adjustable output matching unit, and the output terminal of the adjustable output matching unit forms the signal output terminal of the crystal oscillator signal conditioning circuit module. The first adjustable frequency selection unit is an LC series resonant circuit, and its working principle is based on the LC series resonance characteristics. When the signal frequency equals the resonant frequency, the circuit impedance is minimal, allowing the signal to pass through to the maximum extent.
[0023] Figure 2 A flowchart of an adaptive adjustment method for crystal oscillator signals according to the present invention is shown.
[0024] like Figure 2 As shown, the first aspect of this invention discloses an adaptive adjustment method for a crystal oscillator signal, the method comprising: S202, Obtain the amplitude of the crystal oscillator signal and determine whether the amplitude exceeds a preset activation threshold; S204, if so, then wake up the primary amplification link and match the corresponding gain mapping table according to the amplitude; S206, acquire the frequency of the crystal oscillator signal after primary amplification, and determine whether the frequency is within the preset locked frequency band threshold range; S208, if so, then select the corresponding resonant branch to extract the main frequency signal; S210, the main frequency signal is connected to the secondary amplification link to obtain the sideband noise amplitude after secondary amplification; S212, determine whether the sideband noise amplitude exceeds a preset purity threshold; S214, if so, then adjust the access depth of the filter network; S216, the signal after the adjustment of the filtering network is sequentially connected to multiple frequency selection units to determine whether the signal reflection coefficient in the link exceeds the preset transmission efficiency threshold. S218, if so, then dynamically adjust the impedance compensation parameters; S220 transmits the impedance-adjusted signal to the output matching unit, adjusts the parameters of the output matching network until the load characteristics at the output end match the preset load template threshold.
[0025] It should be noted that in this embodiment, the input crystal oscillator signal is first impedance matched by an input matching network before being sent to an amplitude detection comparator. This comparator compares the amplitude of the input signal with a preset activation threshold. When the amplitude exceeds the activation threshold, the system determines it as a valid signal input and wakes up the primary amplification link, which is in a low-power standby state. Simultaneously, based on the measured amplitude value range, the corresponding bias configuration parameters are retrieved from multiple pre-stored gain mapping tables and loaded into the bias network of the primary amplifier. Subsequently, the signal amplified by the primary amplifier is sent to the first adjustable frequency selection unit. This unit integrates multiple sets of LC resonant branches that can be selected by switches. The system obtains the current frequency of the amplified signal through a frequency detection circuit and compares this frequency with a preset locked frequency band threshold range. When the frequency falls within this range, the resonant branch with the smallest deviation from the current frequency is selected to extract the main frequency signal. The extracted main frequency signal is transmitted through an interstage coupling network to a secondary amplification link composed of a second transistor for further amplification. The amplified signal is then sent to the second adjustable frequency selection unit. The noise detection circuit in this unit extracts the sideband noise amplitude of the signal and compares it with a preset purity threshold. When the sideband noise amplitude exceeds this threshold, the bias voltage of the varactor diode in the filtering network is adjusted to change the resonant depth, thereby suppressing spurious components. The suppressed signal is then sequentially connected to the third and fourth adjustable frequency selection units. The reflection coefficient detection circuit in each unit monitors the signal reflection coefficient in the link in real time and compares it with a transmission efficiency threshold. When the reflection coefficient exceeds the threshold, the resistance value of the adjustable resistor in the impedance compensation network is dynamically adjusted to optimize transmission efficiency. Finally, the signal is transmitted to the adjustable output matching unit. This unit obtains the current load impedance value at the output terminal through an impedance detection circuit and compares it with a preset load template threshold. Based on the comparison result, the series and parallel topology of the inductor and capacitor elements in the output matching network is switched until the load characteristics match the load template threshold, and the adjusted crystal oscillator signal is output. This embodiment achieves full-link dynamic optimization of crystal oscillator signals through multi-level threshold comparison and adaptive parameter adjustment mechanisms.
[0026] According to an embodiment of the present invention, the step of matching the gain mapping table corresponding to the amplitude specifically includes: Read the amplitude of the crystal oscillator signal; The amplitude is compared with a plurality of preset amplitude ranges to determine the target range to which the amplitude belongs; Based on the interval identifier of the target interval, the corresponding gain configuration parameters are retrieved from the preset mapping table; The gain configuration parameters are loaded into the bias network of the primary amplifier to set the operating point of the primary amplifier link.
[0027] It should be noted that in this embodiment, the input crystal oscillator signal is converted into a digital amplitude value via an analog-to-digital converter and then sent to an amplitude range discriminator. This discriminator has multiple preset amplitude ranges, each corresponding to a different input signal strength level. The discriminator compares the read amplitude value with the boundary values of each range sequentially to determine the target range to which the amplitude belongs and the corresponding range identifier. After obtaining the range identifier, the system uses the identifier as an index to extract the gain configuration parameters associated with the identifier from the mapping table stored in non-volatile memory. These parameters include the voltage division ratio configuration values of each bias resistor in the primary amplifier bias network. The extracted gain configuration parameters are converted into an analog control voltage via a digital-to-analog converter and applied to the bias generation circuit of the primary amplifier to adjust the base bias current and emitter feedback depth of the first transistor in the primary amplifier, thereby setting the operating point of the primary amplification link and achieving precise matching between the input signal amplitude and the amplifier gain.
[0028] According to an embodiment of the present invention, the selection of the corresponding resonant branch to extract the main frequency signal specifically includes: Obtain the frequency of the primary amplified crystal oscillator signal; The frequency is then compared with the preset resonant frequency threshold of each resonant branch to obtain multiple frequency differences. Select the resonant branch corresponding to the deviation value with the smallest absolute value from the plurality of frequency differences as the target branch; The control switch element is activated to connect the target branch to the signal transmission link and disconnect the remaining resonant branches.
[0029] It should be noted that in this embodiment, the crystal oscillator signal, after primary amplification, is simultaneously fed to the frequency detection module and multiple LC resonant branches. The frequency detection module measures the current frequency value of the signal using a zero-crossing counting method. The system performs difference calculations between this frequency value and the preset center frequency threshold of each resonant branch to obtain multiple frequency deviation values, where each deviation value represents the degree of deviation between the signal frequency and the resonant frequency of the corresponding branch. Subsequently, the system selects the deviation value with the smallest absolute value from all the calculated deviation values and determines the resonant branch corresponding to this deviation value as the target branch. After determining the target branch, the system sends a gating signal to the switch control element connected to the input terminal of each resonant branch. This gating signal drives the switch element to connect the target branch to the main signal transmission link, while simultaneously sending a disconnect signal to the switch elements corresponding to the other resonant branches to block their access, thereby achieving rapid and accurate extraction of the main frequency signal.
[0030] According to an embodiment of the present invention, adjusting the access depth of the filtering network specifically includes: The impedance adjustment amount of the filter network is determined based on the amount by which the sideband noise amplitude exceeds the purity threshold. According to the impedance adjustment amount, adjust the bias voltage of the varactor diode in the filter network to change the resonant point of the filter network; After adjusting the bias voltage, the current sideband noise amplitude is reacquired, and it is determined whether the current sideband noise amplitude still exceeds the purity threshold. If so, continue adjusting the bias voltage until the sideband noise amplitude is suppressed to below the purity threshold.
[0031] It should be noted that in this embodiment, the second adjustable frequency selection unit incorporates a noise amplitude detection circuit. This circuit extracts sideband noise signals deviating from the preset offset range of the main frequency in the secondary amplified signal in real time and performs amplitude quantization. The system compares the quantized sideband noise amplitude with a preset purity threshold and calculates the excess. Then, based on this excess, it determines the bias voltage adjustment step value of the varactor diode in the filter network through a mapping relationship. The system gradually adjusts the bias voltage of the varactor diode according to this step value. The junction capacitance of the varactor diode changes with the bias voltage, thereby adjusting the resonant impedance characteristics of the filter network to deepen or weaken the filtering depth. After each adjustment of the bias voltage, the noise amplitude detection circuit re-acquires the current sideband noise amplitude and compares it with the purity threshold again. If it still exceeds the threshold, the bias voltage continues to be adjusted according to the step value until the sideband noise amplitude is suppressed below the purity threshold; thus, fine-grained suppression of sideband noise is achieved.
[0032] According to an embodiment of the present invention, the dynamic adjustment of impedance compensation parameters specifically includes: The deviation direction is obtained by comparing the signal reflection coefficient with the transmission efficiency threshold. Based on the deviation direction, determine the adjustment step direction of the adjustable element in the impedance compensation network; The parameter values of the adjustable element are gradually adjusted according to the adjustment step direction. After each adjustment, the current signal reflection coefficient is detected in real time to determine whether the current signal reflection coefficient is lower than the transmission efficiency threshold. If not, continue iterative adjustment according to the adjustment step direction until the current signal reflection coefficient is lower than the transmission efficiency threshold.
[0033] It should be noted that, in this embodiment, during the process of the signal sequentially accessing multiple frequency selection units, the reflection coefficient detection circuit at the input of each frequency selection unit samples the amplitude ratio of the forward transmission signal to the reverse reflection signal in real time, and uses this ratio as the current signal reflection coefficient. The system compares the detected signal reflection coefficient with a preset transmission efficiency threshold and calculates the direction of their deviation. This deviation direction is used to determine whether the current reflection coefficient is higher or lower than the threshold. Based on the deviation direction, the system determines the adjustment step direction of the adjustable element in the impedance compensation network. If the reflection coefficient is higher than the threshold, it is adjusted in the direction of decreasing impedance; otherwise, it is adjusted in the direction of increasing impedance. The system gradually adjusts the parameter values of the adjustable element according to the determined adjustment step direction. After each adjustment step, the reflection coefficient detection circuit updates the current signal reflection coefficient in real time and compares it with the transmission efficiency threshold again. If it is still not lower than the threshold, it continues to perform the next round of iterative adjustment in the same step direction until the reflection coefficient falls back below the transmission efficiency threshold, thereby achieving dynamic impedance matching optimization of the signal transmission link.
[0034] According to an embodiment of the present invention, adjusting the parameters of the output matching network until the load characteristics at the output end match a preset load template threshold specifically includes: Obtain the current load impedance value at the output terminal; The current load impedance value is compared with the load template threshold to calculate the mismatch error value; Based on the mismatch error value, determine the topology adjustment strategy for the inductor and capacitor elements in the output matching network; According to the topology adjustment strategy, switch the series and parallel connection relationship of the inductor and the capacitor; After each switch, the updated load impedance value is reacquired, and it is determined whether the updated load impedance value is consistent with the load template threshold. If not, continue executing the topology adjustment strategy until the updated load impedance value matches the load template threshold.
[0035] It should be noted that, in this embodiment, the output terminal of the adjustable output matching unit is equipped with an impedance detection circuit, which obtains the current load impedance value of the output port through a directional coupler. The system compares the current load impedance value with a preset load template threshold and calculates the mismatch error value, which includes information on both amplitude deviation and phase deviation. Based on the mismatch error value, the system determines the topology adjustment strategy for inductors and capacitors in the output matching network from a preset topology configuration table. This strategy specifically involves switching the series-parallel connection relationships between each inductor and capacitor. The system controls the switch array to operate according to the topology adjustment strategy, switching the series-parallel connection relationships of inductors and capacitors to change the impedance transformation ratio of the output matching network. After each topology switch, the impedance detection circuit re-obtains the updated load impedance value and checks its consistency with the load template threshold. If they are inconsistent, the next round of topology adjustment strategy is executed until the updated load impedance value matches the load template threshold.
[0036] It is worth mentioning that it also includes: In response to the access of the crystal oscillator signal, the start-up time parameter of the crystal oscillator signal is extracted; Based on the oscillation start-up time parameter, it is matched with multiple preset crystal oscillator type templates to determine the type identifier of the current crystal oscillator; Based on the type identifier, retrieve the initial values of the activation threshold, the locked frequency band threshold range, and the purity threshold corresponding to the type identifier from the preset configuration library; The retrieved initial values are loaded into the corresponding threshold comparators to complete the threshold initialization configuration.
[0037] It should be noted that in this embodiment, when the crystal oscillator input signal is connected to the system, the system starts an oscillation detection timer to record the time required from signal connection to the signal amplitude reaching a stable predetermined value, and uses this time as the oscillation time parameter. The system matches the extracted oscillation time parameter with multiple crystal oscillator type templates pre-stored in the configuration library. Each type template contains the standard oscillation time range for that type of crystal oscillator, and the type identifier corresponding to the successfully matched template is the type identifier of the current crystal oscillator. Based on this type identifier, the system retrieves the initial values of the activation threshold, locked frequency band threshold range, and purity threshold associated with the type identifier from the preset configuration library. These initial values are pre-calibrated preferred threshold parameters for the signal characteristics of that type of crystal oscillator. The system loads each retrieved initial threshold value into the register of the corresponding threshold comparator to complete the threshold initialization configuration, realizing plug-and-play adaptation for different types of crystal oscillators.
[0038] It is worth mentioning that, after adjusting the access depth of the filtering network, the following is also included: Obtain the frequency distribution information of residual harmonics in the signal after adjusting the filtering network; Based on the frequency distribution information, determine the frequency bands to be suppressed for each of the multiple frequency selection units currently accessing the network; According to the preset cascading order, the center frequency of each frequency selection unit is adjusted so that the suppression frequency band of each frequency selection unit covers the frequency band to be suppressed in sequence according to the cascading order; If the signal spectrum after being suppressed by the multiple frequency selection units is monitored, and there are still residual components exceeding the preset amplitude threshold, the resonance parameters of each frequency selection unit are iteratively adjusted.
[0039] It should be noted that in this embodiment, after adjusting the depth of the filtering network, the system obtains the frequency distribution information of residual harmonics in the signal through a spectrum scanning circuit. This distribution information includes the center frequency and amplitude of each harmonic component. Based on the frequency distribution information, the system determines the frequency bands to be suppressed for each of the multiple frequency selection units in the currently accessed signal transmission link. The frequency band to be suppressed for each frequency selection unit is determined independently based on its link location and the residual spectral characteristics after the previous stage filtering. The system adjusts the center frequency of each frequency selection unit sequentially from front to back according to the cascading order of the multiple frequency selection units in the link, so that the suppression frequency band of each frequency selection unit sequentially covers its corresponding frequency band to be suppressed. After completing one round of cascading adjustment, the spectrum scanning circuit re-monitors the signal spectrum after being suppressed by multiple frequency selection units. If there are still residual components in the spectrum with amplitudes exceeding a preset amplitude threshold, the next round of iterative adjustment of the resonance parameters of each frequency selection unit is initiated to achieve progressive depth suppression of spurious harmonics.
[0040] It is worth mentioning that after selecting the corresponding resonant branch to extract the main frequency signal, the process also includes: Obtain the amplitude stability parameter of the main frequency signal; The current signal quality level is determined based on the amplitude stability parameter. If the signal quality level is the first level, then the secondary amplification link and subsequent filtering network are bypassed, and the main frequency signal is directly sent to the output matching unit. If the signal quality level is the second level, then the secondary amplification link is turned on and the subsequent sideband noise amplitude judgment step is executed; If the signal quality level is level three, then the backup resonant branch is activated to replace the currently selected resonant branch.
[0041] It should be noted that, in this embodiment, after selecting the corresponding resonant branch to extract the main frequency signal, the system obtains the amplitude fluctuation value of the main frequency signal within a preset time window through an amplitude detection circuit, and uses this amplitude fluctuation value as an amplitude stability parameter. The system compares the amplitude stability parameter with preset multiple level judgment thresholds to determine the current signal quality level. If the signal quality level is level one, it indicates that the signal has sufficient purity, and the system controls the bypass switch to operate, directly transmitting the main frequency signal to the output matching unit, bypassing the secondary amplification link and subsequent filtering network. If the signal quality level is level two, it indicates that the signal needs further amplification and filtering, and the system turns on the secondary amplification link and executes the subsequent sideband noise amplitude judgment step. If the signal quality level is level three, it indicates that the currently selected resonant branch cannot meet the requirements, and the system activates a backup resonant branch to replace the currently selected resonant branch, realizing adaptive optimization configuration of the signal processing path.
[0042] Figure 3 A block diagram of an adaptive adjustment system for a crystal oscillator signal according to the present invention is shown.
[0043] like Figure 3 As shown, a second aspect of the present invention discloses an adaptive adjustment system 3 for a crystal oscillator signal, comprising a memory 31 and a processor 32. The memory includes a program for an adaptive adjustment method of the crystal oscillator signal. When the processor executes the program for the adaptive adjustment method of the crystal oscillator signal, it performs the following steps: The amplitude of the crystal oscillator signal is obtained, and it is determined whether the amplitude exceeds a preset activation threshold. If so, the primary amplification link is activated and the corresponding gain mapping table is matched according to the amplitude. The frequency of the crystal oscillator signal after primary amplification is obtained, and it is determined whether the frequency is within a preset locked frequency band threshold range. If so, the corresponding resonant branch is selected to extract the main frequency signal; The main frequency signal is connected to the secondary amplification link to obtain the sideband noise amplitude after secondary amplification; Determine whether the sideband noise amplitude exceeds a preset purity threshold; If so, adjust the access depth of the filtering network; The signal after adjusting the filtering network is sequentially connected to multiple frequency selection units to determine whether the signal reflection coefficient in the link exceeds the preset transmission efficiency threshold. If so, then dynamically adjust the impedance compensation parameters; The signal after impedance adjustment is transmitted to the output matching unit, and the parameters of the output matching network are adjusted until the load characteristics at the output end match the preset load template threshold.
[0044] It should be noted that in this embodiment, the input crystal oscillator signal is first impedance matched by an input matching network before being sent to an amplitude detection comparator. This comparator compares the amplitude of the input signal with a preset activation threshold. When the amplitude exceeds the activation threshold, the system determines it as a valid signal input and wakes up the primary amplification link, which is in a low-power standby state. Simultaneously, based on the measured amplitude value range, the corresponding bias configuration parameters are retrieved from multiple pre-stored gain mapping tables and loaded into the bias network of the primary amplifier. Subsequently, the signal amplified by the primary amplifier is sent to the first adjustable frequency selection unit. This unit integrates multiple sets of LC resonant branches that can be selected by switches. The system obtains the current frequency of the amplified signal through a frequency detection circuit and compares this frequency with a preset locked frequency band threshold range. When the frequency falls within this range, the resonant branch with the smallest deviation from the current frequency is selected to extract the main frequency signal. The extracted main frequency signal is transmitted through an interstage coupling network to a secondary amplification link composed of a second transistor for further amplification. The amplified signal is then sent to the second adjustable frequency selection unit. The noise detection circuit in this unit extracts the sideband noise amplitude of the signal and compares it with a preset purity threshold. When the sideband noise amplitude exceeds this threshold, the bias voltage of the varactor diode in the filtering network is adjusted to change the resonant depth, thereby suppressing spurious components. The suppressed signal is then sequentially connected to the third and fourth adjustable frequency selection units. The reflection coefficient detection circuit in each unit monitors the signal reflection coefficient in the link in real time and compares it with a transmission efficiency threshold. When the reflection coefficient exceeds the threshold, the resistance value of the adjustable resistor in the impedance compensation network is dynamically adjusted to optimize transmission efficiency. Finally, the signal is transmitted to the adjustable output matching unit. This unit obtains the current load impedance value at the output terminal through an impedance detection circuit and compares it with a preset load template threshold. Based on the comparison result, the series and parallel topology of the inductor and capacitor elements in the output matching network is switched until the load characteristics match the load template threshold, and the adjusted crystal oscillator signal is output. This embodiment achieves full-link dynamic optimization of crystal oscillator signals through multi-level threshold comparison and adaptive parameter adjustment mechanisms.
[0045] According to an embodiment of the present invention, the step of matching the gain mapping table corresponding to the amplitude specifically includes: Read the amplitude of the crystal oscillator signal; The amplitude is compared with a plurality of preset amplitude ranges to determine the target range to which the amplitude belongs; Based on the interval identifier of the target interval, the corresponding gain configuration parameters are retrieved from the preset mapping table; The gain configuration parameters are loaded into the bias network of the primary amplifier to set the operating point of the primary amplifier link.
[0046] It should be noted that in this embodiment, the input crystal oscillator signal is converted into a digital amplitude value via an analog-to-digital converter and then sent to an amplitude range discriminator. This discriminator has multiple preset amplitude ranges, each corresponding to a different input signal strength level. The discriminator compares the read amplitude value with the boundary values of each range sequentially to determine the target range to which the amplitude belongs and the corresponding range identifier. After obtaining the range identifier, the system uses the identifier as an index to extract the gain configuration parameters associated with the identifier from the mapping table stored in non-volatile memory. These parameters include the voltage division ratio configuration values of each bias resistor in the primary amplifier bias network. The extracted gain configuration parameters are converted into an analog control voltage via a digital-to-analog converter and applied to the bias generation circuit of the primary amplifier to adjust the base bias current and emitter feedback depth of the first transistor in the primary amplifier, thereby setting the operating point of the primary amplification link and achieving precise matching between the input signal amplitude and the amplifier gain.
[0047] According to an embodiment of the present invention, the selection of the corresponding resonant branch to extract the main frequency signal specifically includes: Obtain the frequency of the primary amplified crystal oscillator signal; The frequency is then compared with the preset resonant frequency threshold of each resonant branch to obtain multiple frequency differences. Select the resonant branch corresponding to the deviation value with the smallest absolute value from the plurality of frequency differences as the target branch; The control switch element is activated to connect the target branch to the signal transmission link and disconnect the remaining resonant branches.
[0048] It should be noted that in this embodiment, the crystal oscillator signal, after primary amplification, is simultaneously fed to the frequency detection module and multiple LC resonant branches. The frequency detection module measures the current frequency value of the signal using a zero-crossing counting method. The system performs difference calculations between this frequency value and the preset center frequency threshold of each resonant branch to obtain multiple frequency deviation values, where each deviation value represents the degree of deviation between the signal frequency and the resonant frequency of the corresponding branch. Subsequently, the system selects the deviation value with the smallest absolute value from all the calculated deviation values and determines the resonant branch corresponding to this deviation value as the target branch. After determining the target branch, the system sends a gating signal to the switch control element connected to the input terminal of each resonant branch. This gating signal drives the switch element to connect the target branch to the main signal transmission link, while simultaneously sending a disconnect signal to the switch elements corresponding to the other resonant branches to block their access, thereby achieving rapid and accurate extraction of the main frequency signal.
[0049] According to an embodiment of the present invention, adjusting the access depth of the filtering network specifically includes: The impedance adjustment amount of the filter network is determined based on the amount by which the sideband noise amplitude exceeds the purity threshold. According to the impedance adjustment amount, adjust the bias voltage of the varactor diode in the filter network to change the resonant point of the filter network; After adjusting the bias voltage, the current sideband noise amplitude is reacquired, and it is determined whether the current sideband noise amplitude still exceeds the purity threshold. If so, continue adjusting the bias voltage until the sideband noise amplitude is suppressed to below the purity threshold.
[0050] It should be noted that in this embodiment, the second adjustable frequency selection unit incorporates a noise amplitude detection circuit. This circuit extracts sideband noise signals deviating from the preset offset range of the main frequency in the secondary amplified signal in real time and performs amplitude quantization. The system compares the quantized sideband noise amplitude with a preset purity threshold and calculates the excess. Then, based on this excess, it determines the bias voltage adjustment step value of the varactor diode in the filter network through a mapping relationship. The system gradually adjusts the bias voltage of the varactor diode according to this step value. The junction capacitance of the varactor diode changes with the bias voltage, thereby adjusting the resonant impedance characteristics of the filter network to deepen or weaken the filtering depth. After each adjustment of the bias voltage, the noise amplitude detection circuit re-acquires the current sideband noise amplitude and compares it with the purity threshold again. If it still exceeds the threshold, the bias voltage continues to be adjusted according to the step value until the sideband noise amplitude is suppressed below the purity threshold; thus, fine-grained suppression of sideband noise is achieved.
[0051] According to an embodiment of the present invention, the dynamic adjustment of impedance compensation parameters specifically includes: The deviation direction is obtained by comparing the signal reflection coefficient with the transmission efficiency threshold. Based on the deviation direction, determine the adjustment step direction of the adjustable element in the impedance compensation network; The parameter values of the adjustable element are gradually adjusted according to the adjustment step direction. After each adjustment, the current signal reflection coefficient is detected in real time to determine whether the current signal reflection coefficient is lower than the transmission efficiency threshold. If not, continue iterative adjustment according to the adjustment step direction until the current signal reflection coefficient is lower than the transmission efficiency threshold.
[0052] It should be noted that, in this embodiment, during the process of the signal sequentially accessing multiple frequency selection units, the reflection coefficient detection circuit at the input of each frequency selection unit samples the amplitude ratio of the forward transmission signal to the reverse reflection signal in real time, and uses this ratio as the current signal reflection coefficient. The system compares the detected signal reflection coefficient with a preset transmission efficiency threshold and calculates the direction of their deviation. This deviation direction is used to determine whether the current reflection coefficient is higher or lower than the threshold. Based on the deviation direction, the system determines the adjustment step direction of the adjustable element in the impedance compensation network. If the reflection coefficient is higher than the threshold, it is adjusted in the direction of decreasing impedance; otherwise, it is adjusted in the direction of increasing impedance. The system gradually adjusts the parameter values of the adjustable element according to the determined adjustment step direction. After each adjustment step, the reflection coefficient detection circuit updates the current signal reflection coefficient in real time and compares it with the transmission efficiency threshold again. If it is still not lower than the threshold, it continues to perform the next round of iterative adjustment in the same step direction until the reflection coefficient falls back below the transmission efficiency threshold, thereby achieving dynamic impedance matching optimization of the signal transmission link.
[0053] According to an embodiment of the present invention, adjusting the parameters of the output matching network until the load characteristics at the output end match a preset load template threshold specifically includes: Obtain the current load impedance value at the output terminal; The current load impedance value is compared with the load template threshold to calculate the mismatch error value; Based on the mismatch error value, determine the topology adjustment strategy for the inductor and capacitor elements in the output matching network; According to the topology adjustment strategy, switch the series and parallel connection relationship of the inductor and the capacitor; After each switch, the updated load impedance value is reacquired, and it is determined whether the updated load impedance value is consistent with the load template threshold. If not, continue executing the topology adjustment strategy until the updated load impedance value matches the load template threshold.
[0054] It should be noted that, in this embodiment, the output terminal of the adjustable output matching unit is equipped with an impedance detection circuit, which obtains the current load impedance value of the output port through a directional coupler. The system compares the current load impedance value with a preset load template threshold and calculates the mismatch error value, which includes information on both amplitude deviation and phase deviation. Based on the mismatch error value, the system determines the topology adjustment strategy for inductors and capacitors in the output matching network from a preset topology configuration table. This strategy specifically involves switching the series-parallel connection relationships between each inductor and capacitor. The system controls the switch array to operate according to the topology adjustment strategy, switching the series-parallel connection relationships of inductors and capacitors to change the impedance transformation ratio of the output matching network. After each topology switch, the impedance detection circuit re-obtains the updated load impedance value and checks its consistency with the load template threshold. If they are inconsistent, the next round of topology adjustment strategy is executed until the updated load impedance value matches the load template threshold.
[0055] It is worth mentioning that it also includes: In response to the access of the crystal oscillator signal, the start-up time parameter of the crystal oscillator signal is extracted; Based on the oscillation start-up time parameter, it is matched with multiple preset crystal oscillator type templates to determine the type identifier of the current crystal oscillator; Based on the type identifier, retrieve the initial values of the activation threshold, the locked frequency band threshold range, and the purity threshold corresponding to the type identifier from the preset configuration library; The retrieved initial values are loaded into the corresponding threshold comparators to complete the threshold initialization configuration.
[0056] It should be noted that in this embodiment, when the crystal oscillator input signal is connected to the system, the system starts an oscillation detection timer to record the time required from signal connection to the signal amplitude reaching a stable predetermined value, and uses this time as the oscillation time parameter. The system matches the extracted oscillation time parameter with multiple crystal oscillator type templates pre-stored in the configuration library. Each type template contains the standard oscillation time range for that type of crystal oscillator, and the type identifier corresponding to the successfully matched template is the type identifier of the current crystal oscillator. Based on this type identifier, the system retrieves the initial values of the activation threshold, locked frequency band threshold range, and purity threshold associated with the type identifier from the preset configuration library. These initial values are pre-calibrated preferred threshold parameters for the signal characteristics of that type of crystal oscillator. The system loads each retrieved initial threshold value into the register of the corresponding threshold comparator to complete the threshold initialization configuration, realizing plug-and-play adaptation for different types of crystal oscillators.
[0057] It is worth mentioning that, after adjusting the access depth of the filtering network, the following is also included: Obtain the frequency distribution information of residual harmonics in the signal after adjusting the filtering network; Based on the frequency distribution information, determine the frequency bands to be suppressed for each of the multiple frequency selection units currently accessing the network; According to the preset cascading order, the center frequency of each frequency selection unit is adjusted so that the suppression frequency band of each frequency selection unit covers the frequency band to be suppressed in sequence according to the cascading order; If the signal spectrum after being suppressed by the multiple frequency selection units is monitored, and there are still residual components exceeding the preset amplitude threshold, the resonance parameters of each frequency selection unit are iteratively adjusted.
[0058] It should be noted that in this embodiment, after adjusting the depth of the filtering network, the system obtains the frequency distribution information of residual harmonics in the signal through a spectrum scanning circuit. This distribution information includes the center frequency and amplitude of each harmonic component. Based on the frequency distribution information, the system determines the frequency bands to be suppressed for each of the multiple frequency selection units in the currently accessed signal transmission link. The frequency band to be suppressed for each frequency selection unit is determined independently based on its link location and the residual spectral characteristics after the previous stage filtering. The system adjusts the center frequency of each frequency selection unit sequentially from front to back according to the cascading order of the multiple frequency selection units in the link, so that the suppression frequency band of each frequency selection unit sequentially covers its corresponding frequency band to be suppressed. After completing one round of cascading adjustment, the spectrum scanning circuit re-monitors the signal spectrum after being suppressed by multiple frequency selection units. If there are still residual components in the spectrum with amplitudes exceeding a preset amplitude threshold, the next round of iterative adjustment of the resonance parameters of each frequency selection unit is initiated to achieve progressive depth suppression of spurious harmonics.
[0059] It is worth mentioning that after selecting the corresponding resonant branch to extract the main frequency signal, the process also includes: Obtain the amplitude stability parameter of the main frequency signal; The current signal quality level is determined based on the amplitude stability parameter. If the signal quality level is the first level, then the secondary amplification link and subsequent filtering network are bypassed, and the main frequency signal is directly sent to the output matching unit. If the signal quality level is the second level, then the secondary amplification link is turned on and the subsequent sideband noise amplitude judgment step is executed; If the signal quality level is level three, then the backup resonant branch is activated to replace the currently selected resonant branch.
[0060] It should be noted that, in this embodiment, after selecting the corresponding resonant branch to extract the main frequency signal, the system obtains the amplitude fluctuation value of the main frequency signal within a preset time window through an amplitude detection circuit, and uses this amplitude fluctuation value as an amplitude stability parameter. The system compares the amplitude stability parameter with preset multiple level judgment thresholds to determine the current signal quality level. If the signal quality level is level one, it indicates that the signal has sufficient purity, and the system controls the bypass switch to operate, directly transmitting the main frequency signal to the output matching unit, bypassing the secondary amplification link and subsequent filtering network. If the signal quality level is level two, it indicates that the signal needs further amplification and filtering, and the system turns on the secondary amplification link and executes the subsequent sideband noise amplitude judgment step. If the signal quality level is level three, it indicates that the currently selected resonant branch cannot meet the requirements, and the system activates a backup resonant branch to replace the currently selected resonant branch, realizing adaptive optimization configuration of the signal processing path.
[0061] A third aspect of the present invention provides a computer-readable storage medium comprising an adaptive adjustment method program for a crystal oscillator signal, wherein when the adaptive adjustment method program for the crystal oscillator signal is executed by a processor, the steps of the adaptive adjustment method for the crystal oscillator signal as described in any of the preceding claims are implemented.
[0062] In summary, this invention provides an adaptive adjustment method, system, and storage medium for crystal oscillator signals. By constructing a signal processing link consisting of a multi-stage amplification link, multiple adjustable frequency selection units, and an output matching network, the crystal oscillator input signal is sequentially subjected to amplitude activation threshold comparison, frequency lock threshold comparison, sideband noise purity threshold comparison, link reflection coefficient transmission efficiency threshold comparison, and output load characteristic threshold comparison, forming a chain-like dynamic judgment and adjustment process. When each threshold judgment passes or exceeds, the amplification link is woken up and the gain mapping table is matched, the resonant branch is selected to extract the main frequency, the filter network access depth is adjusted, the impedance compensation parameters are dynamically adjusted, and the output matching network topology is switched until the output signal meets the requirements. Thus, adaptive dynamic configuration and collaborative optimization of each link in the crystal oscillator signal processing link are achieved.
[0063] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0064] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. An adaptive adjustment method for a crystal oscillator signal, applied to an adaptive adjustment circuit for a crystal oscillator signal, the circuit comprising a primary amplifier composed of a first transistor, a secondary amplifier composed of a second transistor, multiple LC adjustable frequency selection units, and an output matching unit; Its features are, The method includes: The amplitude of the crystal oscillator signal is obtained, and it is determined whether the amplitude exceeds a preset activation threshold. If so, the primary amplification link is activated and the corresponding gain mapping table is matched according to the amplitude. The frequency of the crystal oscillator signal after primary amplification is obtained, and it is determined whether the frequency is within a preset locked frequency band threshold range. If so, the corresponding resonant branch is selected to extract the main frequency signal; The main frequency signal is connected to the secondary amplification link to obtain the sideband noise amplitude after secondary amplification; Determine whether the sideband noise amplitude exceeds a preset purity threshold; If so, adjust the access depth of the filtering network; The signal after adjusting the filtering network is sequentially connected to multiple frequency selection units to determine whether the signal reflection coefficient in the link exceeds the preset transmission efficiency threshold. If so, then dynamically adjust the impedance compensation parameters; The signal after impedance adjustment is transmitted to the output matching unit, and the parameters of the output matching network are adjusted until the load characteristics at the output end match the preset load template threshold.
2. The adaptive adjustment method for crystal oscillator signals according to claim 1, characterized in that, The step of matching the gain mapping table corresponding to the amplitude specifically includes: Read the amplitude of the crystal oscillator signal; The amplitude is compared with a plurality of preset amplitude ranges to determine the target range to which the amplitude belongs; Based on the interval identifier of the target interval, the corresponding gain configuration parameters are retrieved from the preset mapping table; The gain configuration parameters are loaded into the bias network of the primary amplifier to set the operating point of the primary amplifier link.
3. The adaptive adjustment method for crystal oscillator signals according to claim 1, characterized in that, The selection of the corresponding resonant branch to extract the main frequency signal specifically includes: Obtain the frequency of the primary amplified crystal oscillator signal; The frequency is then compared with the preset resonant frequency threshold of each resonant branch to obtain multiple frequency differences. Select the resonant branch corresponding to the deviation value with the smallest absolute value from the plurality of frequency differences as the target branch; The control switch element is activated to connect the target branch to the signal transmission link and disconnect the remaining resonant branches.
4. The adaptive adjustment method for a crystal oscillator signal according to claim 1, characterized in that, The adjustment of the access depth of the filtering network specifically includes: The impedance adjustment amount of the filter network is determined based on the amount by which the sideband noise amplitude exceeds the purity threshold. According to the impedance adjustment amount, adjust the bias voltage of the varactor diode in the filter network to change the resonant point of the filter network; After adjusting the bias voltage, the current sideband noise amplitude is reacquired, and it is determined whether the current sideband noise amplitude still exceeds the purity threshold. If so, continue adjusting the bias voltage until the sideband noise amplitude is suppressed to below the purity threshold.
5. The adaptive adjustment method for a crystal oscillator signal according to claim 1, characterized in that, The dynamically adjusted impedance compensation parameters specifically include: The deviation direction is obtained by comparing the signal reflection coefficient with the transmission efficiency threshold. Based on the deviation direction, determine the adjustment step direction of the adjustable element in the impedance compensation network; The parameter values of the adjustable element are gradually adjusted according to the adjustment step direction. After each adjustment, the current signal reflection coefficient is detected in real time to determine whether the current signal reflection coefficient is lower than the transmission efficiency threshold. If not, continue iterative adjustment according to the adjustment step direction until the current signal reflection coefficient is lower than the transmission efficiency threshold.
6. The adaptive adjustment method for a crystal oscillator signal according to claim 1, characterized in that, The adjustment of the parameters of the output matching network until the load characteristics at the output end match the preset load template threshold specifically includes: Obtain the current load impedance value at the output terminal; The current load impedance value is compared with the load template threshold to calculate the mismatch error value; Based on the mismatch error value, determine the topology adjustment strategy for the inductor and capacitor elements in the output matching network; According to the topology adjustment strategy, switch the series and parallel connection relationship of the inductor and the capacitor; After each switch, the updated load impedance value is reacquired, and it is determined whether the updated load impedance value is consistent with the load template threshold. If not, continue executing the topology adjustment strategy until the updated load impedance value matches the load template threshold.
7. An adaptive adjustment system for crystal oscillator signals, characterized in that, An adjustment circuit for a crystal oscillator signal is provided, the circuit comprising a primary amplifier composed of a first transistor, a secondary amplifier composed of a second transistor, multiple LC adjustable frequency selection units, and an output matching unit. The system includes a memory and a processor. The memory includes a program for an adaptive adjustment method of a crystal oscillator signal. When the processor executes the program for the adaptive adjustment method of the crystal oscillator signal, it performs the following steps: The amplitude of the crystal oscillator signal is obtained, and it is determined whether the amplitude exceeds a preset activation threshold. If so, the primary amplification link is activated and the corresponding gain mapping table is matched according to the amplitude. The frequency of the crystal oscillator signal after primary amplification is obtained, and it is determined whether the frequency is within a preset locked frequency band threshold range. If so, the corresponding resonant branch is selected to extract the main frequency signal; The main frequency signal is connected to the secondary amplification link to obtain the sideband noise amplitude after secondary amplification; Determine whether the sideband noise amplitude exceeds a preset purity threshold; If so, adjust the access depth of the filtering network; The signal after adjusting the filtering network is sequentially connected to multiple frequency selection units to determine whether the signal reflection coefficient in the link exceeds the preset transmission efficiency threshold. If so, then dynamically adjust the impedance compensation parameters; The signal after impedance adjustment is transmitted to the output matching unit, and the parameters of the output matching network are adjusted until the load characteristics at the output end match the preset load template threshold.
8. The adaptive adjustment system for a crystal oscillator signal according to claim 7, characterized in that, The step of matching the gain mapping table corresponding to the amplitude specifically includes: Read the amplitude of the crystal oscillator signal; The amplitude is compared with a plurality of preset amplitude ranges to determine the target range to which the amplitude belongs; Based on the interval identifier of the target interval, the corresponding gain configuration parameters are retrieved from the preset mapping table; The gain configuration parameters are loaded into the bias network of the primary amplifier to set the operating point of the primary amplifier link.
9. The adaptive adjustment system for a crystal oscillator signal according to claim 7, characterized in that, The selection of the corresponding resonant branch to extract the main frequency signal specifically includes: Obtain the frequency of the primary amplified crystal oscillator signal; The frequency is then compared with the preset resonant frequency threshold of each resonant branch to obtain multiple frequency differences. Select the resonant branch corresponding to the deviation value with the smallest absolute value from the plurality of frequency differences as the target branch; The control switch element is activated to connect the target branch to the signal transmission link and disconnect the remaining resonant branches.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer-readable storage medium includes a method program for adaptive adjustment of a crystal oscillator signal, which, when executed by a processor, implements the steps of the adaptive adjustment method for a crystal oscillator signal as described in any one of claims 1 to 6.
