A crystal oscillator amplitude detection and calibration device and its detection and calibration method
By combining the DC voltage output from the quartz crystal with the bias voltage adjustment terminal, the problem of amplitude detection distortion in the Colpitts oscillator was solved, achieving accurate amplitude detection and calibration, and improving the stability and performance of the oscillator.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-05
- Publication Date
- 2026-04-03
AI Technical Summary
In the prior art, the amplitude detection circuit of the Colpitts oscillator suffers from parasitic capacitance, which leads to detection distortion, and there is a lack of effective calibration methods.
By using the DC voltage acquisition terminal and bias voltage adjustment terminal of the quartz crystal, combined with bias current control, the amplitude of the Colpitts oscillator can be detected and calibrated, avoiding the addition of extra parasitic capacitance. The forward voltage acquisition and bias voltage adjustment of the electrostatic protection diode are used to ensure detection accuracy.
Without adding extra parasitic capacitance, the amplitude information of the Colpitts oscillator is accurately obtained, and the bias current and voltage are adjusted by calibration to ensure the amplitude stability and phase noise optimization of the oscillator.
Smart Images

Figure CN121441232B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of analog integrated circuit technology, specifically to a crystal oscillator amplitude detection and calibration device and its detection and calibration method. Background Technology
[0002] Crystal oscillators are an indispensable and crucial module in integrated circuits. They provide clocks for processors and high-performance reference clocks for frequency synthesizers in RF transceiver systems. The performance of integrated circuits is closely related to process variations, operating voltage, and operating temperature, and the performance of crystal oscillators is in turn dependent on the performance of external crystals. Therefore, the oscillation amplitude of a crystal oscillator varies drastically with changes in process angle, voltage, temperature, and crystal performance.
[0003] Taking RF transceiver circuits as an example, if the crystal oscillation amplitude is too small, it will significantly degrade the phase noise of the crystal circuit and affect the RF transceiver performance. On the other hand, if the crystal oscillation amplitude is too large, it will reduce the crystal lifespan and thus shorten the service life of the equipment. Therefore, it is necessary to introduce a crystal amplitude calibration device.
[0004] To calibrate the crystal oscillation amplitude, the first step is to read the crystal's amplitude information. Crystal oscillators are based on the basic three-point oscillator, with the Pierce oscillator and Colpitts oscillator being the most commonly used types. The Pierce oscillator connects to the crystal pins via xtal_in and xtal_out, and amplitude information can be effectively read using a simple differential amplitude detection circuit. Amplitude calibration is then performed by adjusting the crystal oscillator's operating current. The Colpitts crystal oscillator has only one crystal pin connected to the circuit, offering advantages such as no need for additional load capacitors, large oscillation amplitude, and good phase noise. However, its large amplitude detection circuit has always been a challenge in Colpitts circuit design. Furthermore, unlike the Pierce oscillator, the Colpitts oscillator is highly sensitive to parasitic capacitance introduced by the oscillation circuit. This parasitic capacitance affects the oscillation amplitude, leading to amplitude detection distortion. Therefore, the Colpitts oscillator requires a large amplitude detection circuit without parasitic capacitance and a matching calibration method.
[0005] It should be noted that the above introduction to the technical background is only for the purpose of providing a clear and complete explanation of the technical solutions of this application and facilitating understanding by those skilled in the art. It should not be assumed that these technical solutions are known to those skilled in the art simply because they have been described in the background section of this application. Summary of the Invention
[0006] To address at least one of the aforementioned problems, as well as one or more other potential problems, this disclosure proposes a crystal oscillator amplitude detection and calibration device and method thereof, which aims to accurately and effectively acquire the amplitude information of a Colpitts oscillator without adding additional parasitic capacitance.
[0007] In a first aspect of this disclosure, a Colpitts crystal oscillator amplitude detection and calibration apparatus is provided. The apparatus includes: a quartz crystal output DC voltage acquisition terminal, for connecting to the output pin of the quartz crystal of the Colpitts oscillator under test, to detect the DC voltage output by the output pin of the quartz crystal of the Colpitts oscillator under test; and a quartz crystal output pin bias voltage adjustment terminal, for connecting to the output pin of the quartz crystal of the Colpitts oscillator under test via a connecting resistor, to adjust the bias voltage applied to the output pin of the quartz crystal of the Colpitts oscillator under test according to the DC voltage detected by the quartz crystal output DC voltage acquisition terminal.
[0008] Furthermore, in some embodiments, the above-mentioned Colpitts crystal oscillator amplitude detection and calibration device is configured to: when the DC voltage detected by the DC voltage acquisition terminal of the quartz crystal output exceeds the bias voltage applied by the bias voltage adjustment terminal of the quartz crystal output pin, adjust and increase the applied bias voltage so that the DC voltage is exactly equal to the bias voltage; and obtain the amplitude value of the voltage waveform output by the output pin of the quartz crystal of the Colpitts oscillator under test based on the current DC voltage value and the conduction voltage value of the electrostatic protection diode of the Colpitts oscillator under test.
[0009] Furthermore, in some embodiments, the amplitude detection and calibration device further includes: a bias current control terminal, which is connected to the bias current of the Cobbitz oscillator under test, so as to control the voltage waveform amplitude output by the output pin of the quartz crystal of the Cobbitz oscillator under test by controlling the bias current of the Cobbitz oscillator under test.
[0010] Furthermore, in some embodiments, the aforementioned Colpitts crystal oscillator amplitude detection and calibration device is configured to: adjust the bias voltage (Vbias=Vtarget-Vdio) applied to the bias voltage adjustment terminal of the quartz crystal output pin according to the target amplitude value and the conduction voltage value of the electrostatic protection diode of the Colpitts oscillator under test; adjust the bias current of the Colpitts oscillator under test so that the amplitude of the voltage waveform output by the output pin of the quartz crystal of the Colpitts oscillator under test gradually increases (sufficiently large), so that the DC voltage detected by the DC voltage acquisition terminal of the quartz crystal output exceeds the bias voltage applied to the bias voltage adjustment terminal of the quartz crystal output pin; and adjust and reduce the bias current so that the DC voltage is exactly equal to the bias voltage.
[0011] Furthermore, in some embodiments, the amplitude detection and calibration device further includes: an electrostatic protection diode forward voltage acquisition terminal, used to connect with a detection circuit of the same type of electrostatic protection diode in the Colpitts oscillator under test, so as to detect the forward voltage of the electrostatic protection diode of the same type as the Colpitts oscillator under test, thereby obtaining the forward voltage value of the electrostatic protection diode of the Colpitts oscillator under test.
[0012] Furthermore, in some embodiments, the Colpitts oscillator under test includes: a PMOS transistor with its drain grounded, the gate of which is connected to the output pin of a quartz crystal, and an electrostatic discharge protection diode disposed between the gate and drain of the PMOS transistor; a connecting resistor having a first terminal and a second terminal, the first terminal of which is connected to the gate of the PMOS transistor, and the second terminal of which is connected to the bias voltage adjustment terminal of the output pin of the quartz crystal; and a bias current having its output terminal connected to the source of the PMOS transistor.
[0013] Furthermore, in some embodiments, the bias current is set to an adjustable bias current.
[0014] Furthermore, in some embodiments, the amplitude detection and calibration device further includes a bias voltage unit, configured to be connected to the output pin of the quartz crystal of the Colpitts oscillator under test via the aforementioned connection resistor, for adjusting the DC voltage output by the output pin of the quartz crystal of the Colpitts oscillator under test by controlling the aforementioned bias voltage.
[0015] A second aspect of this disclosure provides an amplitude detection method based on the aforementioned device, the amplitude detection method comprising: detecting a DC voltage output from the output pin of the quartz crystal of the Colpitts oscillator under test and a bias voltage applied to the output pin of the quartz crystal of the Colpitts oscillator under test; when the DC voltage exceeds the bias voltage, adjusting and increasing the applied bias voltage so that the DC voltage is exactly equal to the bias voltage.
[0016] A third aspect of this disclosure provides an amplitude calibration method based on the aforementioned apparatus, the amplitude calibration method comprising: determining a target amplitude value of the voltage waveform output by the output pin of the quartz crystal of the Colpitts oscillator under test; determining a target bias voltage adjustment value based on the target amplitude value of the voltage waveform, and adjusting the applied bias voltage to the determined target bias voltage adjustment value; adjusting the bias current of the Colpitts oscillator under test such that the amplitude of the voltage waveform output by the output pin of the quartz crystal of the Colpitts oscillator under test gradually increases (sufficiently large), sufficiently large to make the DC voltage exceed the bias voltage; and adjusting and decreasing the bias current such that the DC voltage is exactly equal to the bias voltage.
[0017] This disclosure has the following advantages over the prior art:
[0018] In some embodiments, the DC voltage output by the output pin of the quartz crystal of the Colpitts oscillator under test can be detected through the DC voltage acquisition terminal of the quartz crystal output of the crystal oscillator amplitude detection and calibration device; and the amplitude information of the Colpitts oscillator can be accurately and effectively obtained by adjusting the bias voltage through the bias voltage adjustment terminal of the quartz crystal output pin without increasing additional parasitic capacitance. Furthermore, by combining this with adjusting the bias current of the Colpitts oscillator under test, amplitude calibration of the Colpitts oscillator can be achieved. Attached Figure Description
[0019] The above and other features, advantages and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description, wherein:
[0020] Figure 1 The circuit diagrams of three three-point crystal oscillators are shown;
[0021] Figure 2 A schematic diagram of the voltage waveform output from the output pin of a quartz crystal of a Colpitts oscillator under test according to an embodiment of the present disclosure is shown.
[0022] Figure 3 A schematic diagram of the voltage waveform output from the output pin of the quartz crystal of another Colpitts oscillator under test according to an embodiment of the present disclosure is shown.
[0023] Figure 4 A schematic diagram of the voltage waveform output from the output pin of a quartz crystal in another test Colpitts oscillator according to an embodiment of the present disclosure is shown.
[0024] Figure 5 A schematic diagram of a Colpitts crystal oscillator amplitude detection and calibration apparatus according to an embodiment of the present disclosure is shown;
[0025] Figure 6 A schematic diagram of yet another Colpitts crystal oscillator amplitude detection and calibration apparatus according to an embodiment of the present disclosure is shown;
[0026] Figure 7 A schematic diagram showing the connection between a Colpitts crystal oscillator amplitude detection and calibration device according to an embodiment of the present disclosure and the Colpitts oscillator under test is shown.
[0027] Figure 8 A schematic flowchart of a Colpitts crystal oscillator amplitude detection method according to an embodiment of the present disclosure is shown;
[0028] Figure 9A schematic flowchart of a Colpitts crystal oscillator amplitude calibration method according to an embodiment of the present disclosure is shown; and
[0029] In the various figures, the same or corresponding reference numerals indicate the same or corresponding parts. Detailed Implementation
[0030] Embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the accompanying drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0031] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "this embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below. It should also be understood that the term "and / or" as used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0032] It should be understood that although the terms first, second, third, etc., may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, a first state may also be referred to as a second state, and similarly, a second state may also be referred to as a first state. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."
[0033] Generally, calibrating crystal oscillation amplitude requires first reading the crystal's amplitude information. Crystal oscillators are based on the basic three-point oscillator, with Pierce and Colpitts being the most commonly used types. Pierce oscillators connect to the crystal pins via xtal_in (crystal input) and xtal_out (crystal output), and amplitude information can be effectively read using a simple differential amplitude detection circuit. Amplitude calibration is then performed by adjusting the crystal oscillator's operating current. Colpitts crystal oscillators have only one crystal pin connected to the circuit, offering advantages such as no need for additional load capacitors, large oscillation amplitude, and good phase noise. However, the large amplitude detection circuit has always been a challenge in Colpitts circuit design. Furthermore, unlike Pierce oscillators, Colpitts oscillators are highly sensitive to parasitic capacitance introduced by the oscillation circuit; this parasitic capacitance affects the oscillation amplitude, leading to amplitude detection distortion.
[0034] Furthermore, the various embodiments of this disclosure will be explained in conjunction with specific crystal oscillators, such as... Figure 1 As shown, all crystal oscillators are three-point oscillators, and their specific implementation depends on which node of the transistor is grounded. The leftmost image shows a schematic diagram of a typical three-point crystal oscillator prototype circuit, while the two on the right and middle represent two commonly used structures: the Pierce crystal oscillator and the Colpitts crystal oscillator. The Pierce crystal oscillator typically uses an NMOS transistor with its source grounded, while the Colpitts crystal oscillator typically uses a PMOS transistor with its drain grounded. Furthermore, based on the above explanation, the Colpitts oscillator requires a large-amplitude detection circuit without parasitic capacitance.
[0035] Furthermore, Colpitts oscillators offer advantages such as large oscillation amplitude, good phase noise, and the use of only one pin. The amplitude stability of a crystal oscillator is crucial for the clock performance stability of a chip and the lifespan and reliability of the crystal. However, for a long time, there has been no good method for reading the amplitude information of Colpitts oscillators. The difficulty lies in two aspects: First, Colpitts oscillators are very sensitive to parasitic capacitance introduced by the oscillation circuit, which affects the oscillation amplitude and leads to amplitude detection distortion; secondly, as follows... Figure 2 and Figure 3 As shown, actual oscillator circuits also include diodes for electrostatic discharge (ESD) protection. Generally, the amplitude of a Colpitts oscillator is significantly greater than the diode's forward voltage; therefore, the diode causes clamping distortion in the oscillation waveform, which exacerbates the distortion in amplitude information reading. It should be understood that... Figure 2 In this case, because the amplitude is less than the forward voltage of the diode for electrostatic protection, the voltage value obtained by Vbias + Vdio is not the actual waveform amplitude Vamp. Accordingly, Figure 3 In this case, because the amplitude is greater than the forward voltage of the diode for electrostatic protection, the voltage value obtained by Vbias+Vdio is not the actual waveform amplitude Vamp.
[0036] Furthermore, by examining the distorted waveform, it can be observed that when the trough of the oscillating sine wave is lower than the diode's forward voltage Vdio, for example, as... Figure 3 When the conduction voltage exceeds -0.7, the trough is clamped, and the average voltage of the waveform, i.e., the DC voltage, will be greater than the bias voltage. If the bias voltage is actively increased at this point, the distortion caused by diode clamping of the trough can be avoided. Figure 4 As shown. At this point, it can be observed that if the trough of the waveform is exactly equal to the forward voltage of the diode, then the oscillation amplitude is naturally Vamp = Vbias + Vdio.
[0037] To address at least one of the aforementioned problems, and one or more other potential problems, this disclosure provides a Colpitts crystal oscillator amplitude detection and calibration device. A detailed explanation is provided in conjunction with the accompanying drawings.
[0038] Figure 5 A schematic diagram of a Colpitts crystal oscillator amplitude detection and calibration apparatus according to an embodiment of the present disclosure is shown. The apparatus clearly includes: a quartz crystal output DC voltage acquisition terminal; and a quartz crystal output pin bias voltage adjustment terminal. The quartz crystal output DC voltage acquisition terminal is connected to the output pin of the quartz crystal of the Colpitts oscillator under test to detect the DC voltage output by the output pin of the quartz crystal. Correspondingly, the quartz crystal output pin bias voltage adjustment terminal is connected to the output pin of the quartz crystal of the Colpitts oscillator under test via a connecting resistor to adjust the bias voltage applied to the output pin of the quartz crystal of the Colpitts oscillator under test based on the DC voltage detected by the quartz crystal output DC voltage acquisition terminal. It should be understood that, in some embodiments, for this Colpitts crystal oscillator amplitude detection and calibration device, when the DC voltage detected by the quartz crystal output DC voltage acquisition terminal exceeds the bias voltage applied by the bias voltage adjustment terminal of the quartz crystal output pin, the applied bias voltage is increased so that the DC voltage is exactly equal to the bias voltage; the amplitude value of the voltage waveform output by the output pin of the quartz crystal of the Colpitts oscillator under test is obtained based on the current DC voltage value and the conduction voltage value of the electrostatic protection diode of the Colpitts oscillator under test. Therefore, the amplitude detection of the Colpitts crystal oscillator can be performed using the Colpitts crystal oscillator amplitude detection and calibration device described in this embodiment.
[0039] Furthermore, in other embodiments, such as Figure 6As shown, the Colpitts crystal oscillator amplitude detection and calibration device includes, in addition to, [the following components are included]... Figure 5 In addition to the quartz crystal output DC voltage acquisition terminal and quartz crystal output pin bias voltage adjustment terminal identical to those in the example embodiment, the following additional terminals may be included: a bias current control terminal, for connection to the bias current of the Colpitts oscillator under test, to control the voltage waveform amplitude output by the output pin of the quartz crystal of the Colpitts oscillator under test by controlling the bias current of the Colpitts oscillator under test; and an electrostatic discharge (ESD) protection diode forward voltage acquisition terminal, for connection to a detection circuit of the same type of ESD protection diode in the Colpitts oscillator under test, to detect the forward voltage of the ESD protection diode of the same type as the Colpitts oscillator under test, thereby obtaining the forward voltage value of the ESD protection diode of the Colpitts oscillator under test.
[0040] It should be understood that, in order to further illustrate the various embodiments of this disclosure, Figure 7 An exemplary schematic diagram of the connection between a Colpitts crystal oscillator and a Colpitts crystal oscillator amplitude detection and calibration device is shown. In this illustrated embodiment, the Colpitts oscillator under test includes: a PMOS transistor P0 with its drain grounded, the gate of which is connected to the output pin of a quartz crystal X0, and an electrostatic discharge protection diode D0 is disposed between the gate and drain of the PMOS transistor; a connecting resistor R0, which has a first terminal and a second terminal, the first terminal of which is connected to the gate of the PMOS transistor P0, and the second terminal of which is connected to the bias voltage adjustment terminal of the output pin of the quartz crystal; and a bias current, the output of which is connected to the source of the PMOS transistor P0. Further, see... Figure 7 This also includes capacitor C1 located between the gate and source of the aforementioned PMOS transistor P0, and capacitor C2 located between the drain and source of the aforementioned PMOS transistor P0. It should also be noted that the input terminal Xtal_input formed by the output pin of quartz crystal X0 is directly connected to the quartz crystal X0 output voltage detection circuit in the lower left corner. After passing through resistor R1 and the path from ground via capacitor C3 as shown in the diagram, it is input as the DC voltage Vdc of quartz crystal X0 to the Colpitts crystal oscillator amplitude detection and calibration device. Further, in this illustrated embodiment, the electrostatic protection diode D0 forward voltage obtained by the electrostatic protection diode forward voltage acquisition terminal is a simulated acquisition method; that is, by detecting the forward voltage of the electrostatic protection diode D1, which is of the same type as the Colpitts oscillator under test, the forward voltage value Vdio of the electrostatic protection diode of the Colpitts oscillator under test is obtained. It should also be noted that the second end of the connecting resistor R0 is directly connected to the bias voltage, which can apply a bias voltage to the output pin of the quartz crystal X0. This bias voltage is used in conjunction with the DC voltage detected by the output pin of the quartz crystal X0 to complete the amplitude detection and calibration of the Colpitts oscillator under test.
[0041] Furthermore, in some embodiments, the amplitude detection and calibration device further includes a bias voltage configured to be connected to the output pin of the quartz crystal of the Colpitts oscillator under test via the aforementioned connection resistor, for adjusting the DC voltage output by the output pin of the quartz crystal of the Colpitts oscillator under test by controlling the aforementioned bias voltage. It should also be understood that, as Figure 7 As shown, based on the Colpitts oscillator, a bias voltage, a DC voltage Vdc extraction and filtering circuit (i.e., the circuit shown, composed of resistor R1 and capacitor C3), a diode voltage detection circuit (as shown, the circuit composed of diode D1 and bias current), and the Colpitts crystal oscillator amplitude detection and calibration device of this application are introduced. The filter composed of resistor R1 and capacitor C3 can obtain the DC voltage Vdc of the oscillation waveform, and resistor R1 is a large resistor (e.g., 500 kOhm) to avoid introducing parasitic capacitance. Furthermore, since the diode's forward voltage is greatly affected by the manufacturing process, a diode D1 with bias current is also introduced. Diode D1 and diode D0 are of the same type or have the same forward voltage to extract the forward voltage Vdio of diode D0.
[0042] Furthermore, in some embodiments, in order to detect and calibrate the amplitude of the Colpitts oscillator under test, the Colpitts crystal oscillator amplitude detection and calibration device is configured to: adjust the bias current of the Colpitts oscillator under test so that the amplitude of the voltage waveform output by the output pin of the quartz crystal of the Colpitts oscillator under test gradually increases (sufficiently large), so that the DC voltage detected by the DC voltage acquisition terminal of the quartz crystal output exceeds the bias voltage applied by the bias voltage adjustment terminal of the quartz crystal output pin; adjust and decrease the bias current so that the DC voltage is exactly equal to the bias voltage; thereby calibrating the amplitude value of the voltage waveform output by the output pin of the quartz crystal of the Colpitts oscillator under test.
[0043] In addition to the aforementioned device, this disclosure also proposes an amplitude detection method for a Colpitts oscillator. The amplitude detection method includes: detecting the DC voltage output by the output pin of the quartz crystal of the Colpitts oscillator under test and the bias voltage applied to the output pin of the quartz crystal of the Colpitts oscillator under test; when the DC voltage exceeds the bias voltage, adjusting and increasing the applied bias voltage so that the DC voltage is exactly equal to the bias voltage.
[0044] Furthermore, in some embodiments, the amplitude detection method of the Colpitts oscillator can be as follows: Figure 8 Flowchart. (For example) Figure 8As shown, an initial bias voltage Vbias is set, and the diode forward voltage Vdio and DC voltage Vdc are read. When the bias voltage is too low, the trough will be clamped and distorted by the diode, causing Vdc to be greater than Vbias. Therefore, when Vdc > Vbias, Vbias needs to be increased to avoid waveform distortion. When Vdc = Vbias, that is, when Vdc goes from exceeding Vbias to exactly equal, it means that the waveform is not clamped and distorted. At this time, the amplitude value Vamp = Vbias + Vdio can be obtained.
[0045] Furthermore, this disclosure also provides an amplitude detection method based on the aforementioned device, the amplitude detection method comprising: detecting the DC voltage output by the output pin of the quartz crystal of the Colpitts oscillator under test and the bias voltage applied to the output pin of the quartz crystal of the Colpitts oscillator under test; adjusting the bias current of the Colpitts oscillator under test so that the amplitude of the voltage waveform output by the output pin of the quartz crystal of the Colpitts oscillator under test gradually increases (sufficiently large), sufficiently large to make the DC voltage exceed the bias voltage; and adjusting and decreasing the bias current so that the DC voltage is exactly equal to the bias voltage.
[0046] Furthermore, this disclosure provides an amplitude calibration method based on the aforementioned device. The amplitude calibration method includes: determining a target amplitude value of the voltage waveform output by the output pin of the quartz crystal of the Colpitts oscillator under test; determining a target bias voltage adjustment value based on the target amplitude value of the voltage waveform, and adjusting the applied bias voltage to the determined target bias voltage adjustment value; adjusting the bias current of the Colpitts oscillator under test so that the amplitude of the voltage waveform output by the output pin of the quartz crystal gradually increases (sufficiently large), large enough to make the DC voltage exceed the bias voltage; and adjusting and decreasing the bias current so that the DC voltage is exactly equal to the bias voltage. It should be understood that the oscillation amplitude can be calibrated to a suitable value by adjusting the bias current, as follows: Figure 9 As shown. Read the diode forward voltage Vdio. Based on the target calibration amplitude value, Vbias = Vtag_amp - Vdio. Then read Vdc. When Vdc > Vbias, it indicates that the oscillation amplitude exceeds the target value, and the current needs to be reduced until Vdc = Vbias, at which point the amplitude calibration is complete.
[0047] It should also be understood that, Figure 8 and 9 In this context, increasing or decreasing Vbias, or increasing or decreasing the bias current, all refer to adjusting or changing one level (or, in some scenarios, the smallest step, one bit, or 1 bit).
[0048] In other embodiments, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method described above.
[0049] In some other embodiments, a computer-readable storage medium is also provided, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the method described above.
[0050] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or technical improvements to the embodiments in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.
[0051] The above description is merely an optional embodiment of this disclosure and is not intended to limit this disclosure. Various modifications and variations can be made to this disclosure by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A Colpitts crystal oscillator amplitude detection and calibration device, characterized in that, include: The quartz crystal output DC voltage acquisition terminal is used to connect to the output pin of the quartz crystal of the Colpitts oscillator under test in order to detect the DC voltage output by the output pin of the quartz crystal of the Colpitts oscillator under test; The quartz crystal output pin bias voltage adjustment terminal is used to connect to the output pin of the quartz crystal of the Colpitts oscillator under test via a connecting resistor, so as to adjust the bias voltage applied to the output pin of the quartz crystal of the Colpitts oscillator under test according to the DC voltage detected by the quartz crystal output DC voltage acquisition terminal. The Colpitts crystal oscillator amplitude detection and calibration device is configured to: When the DC voltage detected by the DC voltage acquisition terminal of the quartz crystal output exceeds the bias voltage applied by the bias voltage adjustment terminal of the quartz crystal output pin, the applied bias voltage is increased so that the DC voltage is exactly equal to the bias voltage, thereby calibrating the amplitude value of the voltage waveform output by the output pin of the quartz crystal of the tested Colpitts oscillator. The amplitude of the voltage waveform output by the output pin of the quartz crystal of the Colpitts oscillator under test is obtained by using the current DC voltage value and the conduction voltage value of the electrostatic protection diode of the Colpitts oscillator under test.
2. The amplitude detection and calibration device according to claim 1, characterized in that, Also includes: The bias current control terminal is used to connect to the bias current of the Colpitts oscillator under test, so as to control the voltage waveform amplitude output by the output pin of the quartz crystal of the Colpitts oscillator under test by controlling the bias current of the Colpitts oscillator under test.
3. The amplitude detection and calibration device according to claim 2, characterized in that, The Colpitts crystal oscillator amplitude detection and calibration device is configured to: The bias voltage applied to the bias voltage adjustment terminal of the quartz crystal output pin is adjusted according to the target amplitude value and the conduction voltage value of the electrostatic protection diode of the Cobbitz oscillator under test. The bias current of the Colpitts oscillator under test is adjusted so that the amplitude of the voltage waveform output by the output pin of the quartz crystal of the Colpitts oscillator under test gradually increases, so that the DC voltage detected by the DC voltage acquisition terminal of the quartz crystal output exceeds the bias voltage applied by the bias voltage adjustment terminal of the quartz crystal output pin. Then the bias current is adjusted to decrease so that the DC voltage is exactly equal to the bias voltage.
4. The amplitude detection and calibration device according to claim 1, characterized in that, Also includes: The electrostatic discharge protection diode forward voltage acquisition terminal is used to connect with the electrostatic discharge protection diode detection circuit of the same type in the Colpitts oscillator under test, so as to detect the forward voltage of the electrostatic discharge protection diode of the same type in the Colpitts oscillator under test, thereby obtaining the forward voltage value of the electrostatic discharge protection diode of the Colpitts oscillator under test.
5. The amplitude detection and calibration device according to claim 1, characterized in that, The tested Colpitts oscillator includes: A PMOS transistor with its drain grounded, wherein the gate of the PMOS transistor is connected to the output pin of a quartz crystal, and an electrostatic protection diode is provided between the gate and the drain of the PMOS transistor. A connecting resistor is provided with a first end and a second end. The first end of the connecting resistor is configured to be connected to the gate of the PMOS transistor, and the second end of the connecting resistor is configured to be connected to the bias voltage adjustment terminal of the quartz crystal output pin. The bias current is configured such that its output is connected to the source of the PMOS transistor.
6. The amplitude detection and calibration device according to claim 5, characterized in that, The bias current is configured as an adjustable bias current.
7. The amplitude detection and calibration device according to claim 1, characterized in that, Also includes: A bias voltage unit is configured to be connected to the output pin of the quartz crystal of the Colpitts oscillator under test via the connection resistor, for adjusting the DC voltage output by the output pin of the quartz crystal of the Colpitts oscillator under test by controlling the bias voltage.
8. An amplitude detection method for the apparatus as described in any one of claims 1-7, characterized in that, include: The DC voltage output from the output pin of the quartz crystal of the Colpitts oscillator under test and the bias voltage applied to the output pin of the quartz crystal of the Colpitts oscillator under test are detected. When the DC voltage exceeds the bias voltage, the applied bias voltage is increased so that the DC voltage is exactly equal to the bias voltage, thereby calibrating the amplitude of the voltage waveform output by the output pin of the quartz crystal of the tested Colpitts oscillator. The amplitude of the voltage waveform output by the output pin of the quartz crystal of the Colpitts oscillator under test is obtained by using the current DC voltage value and the conduction voltage value of the electrostatic protection diode of the Colpitts oscillator under test.
9. An amplitude calibration method for the device as described in claim 2 or 3, characterized in that, include: Determine the target amplitude value of the voltage waveform output by the output pin of the quartz crystal of the Colpitts oscillator under test; The target bias voltage adjustment value is determined based on the target amplitude value of the voltage waveform, and the applied bias voltage is adjusted to the determined target bias voltage adjustment value. Adjust the bias current of the Colpitts oscillator under test so that the amplitude of the voltage waveform output by the output pin of the quartz crystal of the Colpitts oscillator under test gradually increases, so that the DC voltage exceeds the bias voltage; Adjust and reduce the bias current so that the DC voltage is exactly equal to the bias voltage.
Citation Information
Patent Citations
Crystal oscillator and phase noise reduction method thereof
CN114123975A
Crystal oscillation circuit and crystal oscillator
CN119582762A