Crystal oscillator circuit with multi-frequency automatic switching
By designing a multi-frequency automatic switching crystal oscillator circuit, using multi-stage sub-crystal oscillator circuits and switching circuits to achieve fast and accurate switching of different frequencies in mobile phones and other communication equipment, the problem of unstable frequency switching in the existing technology is solved, and the equipment's ability to detect multiple frequencies is improved. The adaptability of signals and the service life of components.
Patent Information
- Application Number
- CN201811333993.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-11-09
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2038-11-09
AI Technical Summary
Existing technology makes it difficult to quickly and accurately switch clock signals of different frequencies in communication equipment such as mobile phones, especially during the frequency switching process between high-level networks such as 5G and low-level networks such as 3G.
Design a multi-frequency automatic switching crystal oscillator circuit, including a multi-level sub-crystal oscillator circuit and a switching circuit. The central processor controls the on and off of different sub-crystal oscillator circuits through pulse signals to achieve automatic switching of different oscillation frequencies. High-frequency and low-frequency voltages are used. Temperature-controlled complementary crystal oscillator and single-pole double-throw relay perform fast switching, and capacitor filtering is used to reduce clutter.
It achieves fast and accurate frequency switching in mobile phones and other communication equipment, reduces component loss, and improves adaptability to various signal requirements.
Smart Images

Figure CN109194308B
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of crystal oscillator circuits, in particular to a multi-frequency automatic switching crystal oscillator circuit. Background Art
[0002] At present, single-chip microcomputers and other central processing units or integrated chips need clock circuits to provide them with stable clock oscillation frequencies, that is, time signals, when they are working. The faster the clock oscillation frequency of the clock circuit, the more accurate the time that the central processing unit or integrated chip can control. The clock circuit mainly relies on crystal oscillator circuits to generate oscillation frequencies. In technologies such as 5G that require high clock frequencies, crystal oscillator circuits are required to generate extremely high and stable oscillation frequencies. Conventional high-frequency crystal oscillator circuits are very susceptible to external conditions such as temperature and vibration, and are difficult to use for a long time. Therefore, when using high-frequency crystal oscillator circuits, most manufacturers will add various compensation circuits to the high-frequency crystal oscillator circuits, or directly use low-frequency crystal oscillator circuits to amplify the frequency.
[0003] The central processing unit 1 in current communication devices such as mobile phones requires a crystal oscillator circuit to provide clock signals of different frequencies.
[0004] The prior art can refer to the Chinese invention patent with application announcement number CN102694523A, which discloses a crystal oscillator circuit, which includes a parallel resonant quartz crystal oscillator and a variable capacitor connected in parallel with the quartz crystal oscillator. In this way, the reference frequency of the clock signal generated by the crystal oscillator circuit can be adjusted by changing the capacitance value of the variable capacitor.
[0005] The above-mentioned existing technical solutions have the following defects: when mobile phones and other communication devices access 5G or other higher-level mobile networks, the required clock signal reference frequency is higher. However, when mobile phones and other communication devices suddenly access lower-level mobile networks such as 4G and 3G due to signal problems, the required clock signal reference frequency is lower, so a crystal oscillator circuit that can provide different oscillation frequencies is required; when the above-mentioned technology changes the oscillation frequency of the crystal oscillator circuit, since the oscillation frequency is changed by changing the capacitance value, it is difficult to accurately change to the required oscillation frequency during the rapid switching process. Utility Model Content
[0006] The utility model aims to provide a multi-frequency automatic switching crystal oscillator circuit, which can automatically switch among different oscillation frequencies, and the switching is accurate and fast.
[0007] The above technical objectives of the utility model are achieved through the following technical solutions:
[0008] A multi-frequency automatic switching crystal oscillator circuit, comprising:
[0009] A multi-stage crystal oscillator circuit, the multi-stage crystal oscillator circuit comprising a plurality of sub-crystal oscillator circuits capable of outputting reference frequencies of different clock signals;
[0010] A switching circuit is provided, wherein the switching circuit connects a central processing unit and a multi-stage crystal oscillator circuit. The central processing unit outputs a corresponding pulse signal to the switching circuit according to the reference frequency of the currently required clock signal. When the switching circuit receives the pulse signal, the corresponding sub-crystal oscillator circuit path is controlled, and other sub-crystal oscillator circuits are disconnected.
[0011] By adopting the above scheme, each sub-crystal oscillator circuit can output a clock signal with a fixed oscillation frequency. The central processing unit sends a request to the switching circuit according to the reference frequency of the currently required clock signal. The switching circuit controls the operation of different sub-crystal oscillator circuits to realize automatic switching of the crystal oscillator circuit among different oscillation frequencies. Each sub-crystal oscillator circuit can accurately output a clock signal of the corresponding oscillation frequency when switching. The switching process is relatively fast and can be changed in time when the signal of a communication device such as a mobile phone suddenly changes.
[0012] The utility model is further configured as follows: the sub-crystal oscillator circuit includes a low-frequency voltage-controlled temperature-compensated crystal oscillator capable of outputting a relatively low-frequency clock signal and a high-frequency voltage-controlled crystal oscillator capable of outputting a relatively high-frequency clock signal;
[0013] When the CPU needs a higher frequency clock signal reference frequency, the CPU outputs a high level signal to the switching circuit, the switching circuit controls the high frequency voltage controlled crystal oscillator path, and the low frequency voltage controlled temperature compensated crystal oscillator is disconnected;
[0014] When the central processing unit needs a reference frequency of a clock signal with a lower frequency, the central processing unit does not output a signal to the switching circuit, and the switching circuit controls the low-frequency voltage-controlled temperature-compensated crystal oscillator path and disconnects the high-frequency voltage-controlled crystal oscillator.
[0015] By adopting the above solution, using only two voltage-controlled temperature-compensated crystal oscillators is usually sufficient to cope with changes in signals of communication equipment such as mobile phones. When using low-frequency voltage-controlled temperature-compensated crystal oscillators, the central processing unit does not need to output signals to the switching circuit, further saving losses.
[0016] The utility model is further configured as follows: the switching circuit includes a single-pole double-throw relay electrically connected to the central processing unit, and the single-pole double-throw relay is also electrically connected to the VC port of the low-frequency voltage-controlled temperature-compensated crystal oscillator and the VC port of the high-frequency voltage-controlled crystal oscillator;
[0017] When the central processor outputs a high-level signal to the single-pole double-throw relay, the single-pole double-throw relay controls the VC port of the high-frequency voltage-controlled crystal oscillator to be connected to the central processor;
[0018] When the central processing unit stops outputting a high-level signal to the single-pole double-throw relay, the single-pole double-throw relay controls the VC port of the low-frequency voltage-controlled temperature-compensated crystal oscillator to be connected to the central processing unit.
[0019] By adopting the above solution, a single-pole double-throw relay is used for switching, the switching is accurate and fast, the structure is simple, and the loss of components during repeated switching is small.
[0020] The utility model is further configured as follows: the OUT port of the low-frequency voltage-controlled temperature-compensated crystal oscillator is electrically connected to a capacitor C1, and the other end of the capacitor C1 is electrically connected to the central processing unit; the OUT port of the high-frequency voltage-controlled crystal oscillator is electrically connected to a capacitor C2, and the other end of the capacitor C2 is electrically connected to the central processing unit.
[0021] By adopting the above scheme, capacitor C1 filters the clock signal output by the low-frequency voltage-controlled temperature-compensated crystal oscillator, reducing the noise in the clock signal output by the low-frequency voltage-controlled temperature-compensated crystal oscillator, and capacitor C2 filters the clock signal output by the high-frequency voltage-controlled crystal oscillator, reducing the noise in the clock signal output by the high-frequency voltage-controlled crystal oscillator, thereby ensuring the stability of the oscillation frequency.
[0022] The utility model is further configured as follows: the switching circuit includes a CMOS transistor Q1 electrically connected to the central processing unit, the gate of the CMOS transistor Q1 is electrically connected to the central processing unit, the source of the CMOS transistor Q1 is electrically connected to a power supply VCC, the drain of the CMOS transistor Q1 is electrically connected to a DC relay and a CMOS transistor Q2, the DC relay is electrically connected to the VCC port of a low-frequency voltage-controlled temperature-compensated crystal oscillator; the gate of the CMOS transistor Q2 is electrically connected to the drain of the CMOS transistor Q1, and the drain of the CMOS transistor Q2 is electrically connected to the VCC port of a high-frequency voltage-controlled crystal oscillator.
[0023] By adopting the above scheme, the switching is more stable. Since only the power supply part of the voltage-controlled temperature-compensated crystal oscillator is controlled, the clock pulse output by the central processing unit to the voltage-controlled temperature-compensated crystal oscillator is more stable. When switching from a low-frequency voltage-controlled temperature-compensated crystal oscillator to a high-frequency voltage-controlled crystal oscillator, the time for changing the single-pole double-throw relay contacts is reduced, and the switching speed is faster.
[0024] The utility model is further configured as follows: the VCC port of the high-frequency voltage-controlled crystal oscillator is electrically connected to a capacitor C7, and the drain of the CMOS transistor Q2 is electrically connected to the other end of the capacitor C7.
[0025] By adopting the above solution, since the current received by the VCC port of the high-frequency voltage-controlled crystal oscillator passes through the CMOS transistor Q1 and the CMOS transistor Q2, more noise will be generated, and the capacitor C7 is required to filter the current entering the high-frequency voltage-controlled crystal oscillator.
[0026] The utility model is further configured as follows: the central processing unit is electrically connected to a capacitor C5, and the other end of the capacitor C5 is electrically connected to a VC port of a low-frequency voltage-controlled temperature-compensated crystal oscillator and a VC port of a high-frequency voltage-controlled crystal oscillator.
[0027] By adopting the above solution, capacitor C5 can filter the clock pulse output by the central processing unit, so that the clock pulse received by the low-frequency voltage-controlled temperature-compensated crystal oscillator and the high-frequency voltage-controlled crystal oscillator is more stable.
[0028] The utility model is further configured as follows: each sub-crystal oscillator circuit is configured as a sub-voltage-controlled temperature-compensated crystal oscillator of different frequencies, the VC port of each sub-voltage-controlled temperature-compensated crystal oscillator is electrically connected to the central processing unit, the OUT port of each sub-voltage-controlled temperature-compensated crystal oscillator is electrically connected to the central processing unit, the VCC port of each sub-voltage-controlled temperature-compensated crystal oscillator is electrically connected to a CMOS transistor Q3, the drain of each CMOS transistor Q3 is electrically connected to the VCC port of the sub-voltage-controlled temperature-compensated crystal oscillator, the source of each CMOS transistor Q3 is electrically connected to a power supply VCC, and the gate of each CMOS transistor Q3 is electrically connected to the central processing unit.
[0029] By adopting the above solution, it is possible to achieve the transformation of multi-level clock frequencies with a higher degree of freedom, and to adapt to signals with various requirements.
[0030] The utility model is further configured as follows: the gate of each CMOS transistor Q3 is electrically connected to a diode D1, the anode of the diode D1 is electrically connected to the gate of the CMOS transistor Q3, and the cathode of the diode D1 is electrically connected to the central processing unit.
[0031] By adopting the above solution, the diode D1 can block the signal mistakenly sent by the central processor. Only when the central processor outputs a high level, the diode D1 will be broken down and the gate of the corresponding CMOS transistor Q3 can be powered.
[0032] The utility model is further configured as follows: a capacitor C14 and a capacitor C15 connected in series are connected in parallel between the OUT port of each sub-voltage-controlled temperature-compensated crystal oscillator and the central processor, and adjacent ends of the capacitor C14 and the capacitor C15 are commonly grounded.
[0033] By adopting the above solution, capacitors C14 and C15 perform unified filtering on the clock signal received by the central processing unit, thereby reducing noise in the clock signal received by the central processing unit.
[0034] In summary, the utility model has the following beneficial effects:
[0035] 1. Each sub-crystal oscillator circuit can output a clock signal with a fixed oscillation frequency. The central processor sends a request to the switching circuit according to the reference frequency of the clock signal currently required. The switching circuit controls the operation of different sub-crystal oscillator circuits to realize the automatic switching of the crystal oscillator circuit between different oscillation frequencies. Each sub-crystal oscillator circuit can accurately output a clock signal with the corresponding oscillation frequency when switching. The switching process is relatively fast, and it can be changed in time when the signal of a mobile phone or other communication device suddenly changes;
[0036] 2. When using a high-frequency voltage-controlled crystal oscillator and a low-frequency voltage-controlled temperature-compensated crystal oscillator, using only two voltage-controlled temperature-compensated crystal oscillators is usually sufficient to cope with changes in signals from mobile phones and other communication devices. When using a low-frequency voltage-controlled temperature-compensated crystal oscillator, the central processor does not need to output signals to the switching circuit, further saving losses.
[0037] 3. When using a solution of multiple sub-voltage-controlled temperature-compensated crystal oscillators, it is possible to achieve the transformation of multi-level clock frequencies, with a higher degree of freedom, and can adapt to signals with various requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is an overall module block diagram of the first embodiment;
[0039] Figure 2 is a schematic diagram of a circuit highlighting the whole in the first embodiment;
[0040] Figure 3 is an overall circuit diagram of Embodiment 2;
[0041] Figure 4 is the overall module block diagram of Embodiment 3;
[0042] Figure 5 It is a schematic diagram of the circuit highlighting the whole in the third embodiment.
[0043] In the figure, 1, central processing unit; 2, switching circuit; 21, single-pole double-throw relay; 22, DC relay; 3, multi-stage crystal oscillator circuit; 31, sub-crystal oscillator circuit; 311, low-frequency voltage-controlled temperature-compensated crystal oscillator; 312, high-frequency voltage-controlled crystal oscillator; 313, sub-voltage-controlled temperature-compensated crystal oscillator. DETAILED DESCRIPTION
[0044] Embodiment 1: A multi-frequency automatic switching crystal oscillator circuit, such as Figure 1 and Figure 2As shown, it includes a switching circuit 2 connected to a central processing unit 1 and a multi-stage crystal oscillator circuit 3 connected to the switching circuit 2. The multi-stage crystal oscillator circuit 3 includes multiple crystal oscillator circuits, and the sub-crystal oscillator circuit 31 includes a low-frequency voltage-controlled temperature-compensated crystal oscillator 311 and a high-frequency voltage-controlled crystal oscillator 312. Both the low-frequency voltage-controlled temperature-compensated crystal oscillator 311 and the high-frequency voltage-controlled crystal oscillator 312 can use a voltage-controlled temperature-compensated crystal oscillator of model VCTCXO. The low-frequency voltage-controlled temperature-compensated crystal oscillator 311 can output a clock signal of a lower frequency, and the high-frequency voltage-controlled crystal oscillator 312 can output a clock signal of a higher frequency.
[0045] like Figure 2 As shown, the switching circuit 2 includes a single-pole double-throw relay 21 electrically connected to the central processing unit 1. The single-pole double-throw relay 21 can be a subminiature signal relay of model HFD4. The single-pole double-throw relay 21 includes an electromagnetic coil KA1 electrically connected to the central processing unit 1, a contact S1 electrically connected to the central processing unit 1, a contact S2 electrically connected to the VC port of the low-frequency voltage-controlled temperature-compensated crystal oscillator 311, and a contact S3 electrically connected to the VC port of the high-frequency voltage-controlled crystal oscillator 312. The other end of the electromagnetic coil KA1 is grounded. When the electromagnetic coil KA1 is not energized, the contact S1 is connected to the contact S2, and the central processing unit 1 transmits a clock pulse to the low-frequency voltage-controlled temperature-compensated crystal oscillator 311. When the central processing unit 1 outputs a high-level signal to the electromagnetic coil KA1, the contact S1 is connected to the contact S3, and the central processing unit 1 transmits a clock pulse to the high-frequency voltage-controlled crystal oscillator 312.
[0046] like Figure 2 As shown, the VCC port of the low-frequency voltage-controlled temperature-compensated crystal oscillator 311 is electrically connected to a resistor R1, and the other end of the resistor R1 is electrically connected to a power supply VCC. The GND port of the low-frequency voltage-controlled temperature-compensated crystal oscillator 311 is grounded, and the OUT port of the low-frequency voltage-controlled temperature-compensated crystal oscillator 311 is electrically connected to a capacitor C1, and the other end of the capacitor C1 is electrically connected to the central processing unit 1. After receiving the clock pulse, the low-frequency voltage-controlled temperature-compensated crystal oscillator 311 transmits a low-frequency clock signal to the central processing unit 1 through the capacitor C1. The capacitor C1 filters the clock signal output by the low-frequency voltage-controlled temperature-compensated crystal oscillator 311, reduces the noise in the clock signal output by the low-frequency voltage-controlled temperature-compensated crystal oscillator 311, and ensures the stability of the oscillation frequency.
[0047] like Figure 2As shown, the VCC port of the high-frequency voltage-controlled crystal oscillator 312 is electrically connected to a resistor R2, and the other end of the resistor R2 is electrically connected to a power supply VCC. The GND port of the high-frequency voltage-controlled crystal oscillator 312 is grounded, and the OUT port of the high-frequency voltage-controlled crystal oscillator 312 is electrically connected to a capacitor C2, and the other end of the capacitor C2 is electrically connected to the central processing unit 1. After receiving the clock pulse, the high-frequency voltage-controlled crystal oscillator 312 transmits a high-frequency clock signal to the central processing unit 1 through the capacitor C2. The capacitor C2 filters the clock signal output by the high-frequency voltage-controlled crystal oscillator 312, reduces the noise in the clock signal output by the high-frequency voltage-controlled crystal oscillator 312, and ensures the stability of the oscillation frequency.
[0048] like Figure 2 As shown, capacitors C3 and C4 are connected in series between capacitor C2 and CPU 1, and adjacent ends of capacitors C3 and C4 are grounded. Capacitors C3 and C4 perform uniform filtering on the clock signal received by CPU 1 to reduce noise in the clock signal received by CPU 1.
[0049] Usage: When mobile phones and other communication devices are connected to higher-level networks such as 5G, the central processor 1 outputs a high-level signal to the electromagnetic coil KA1. At this time, contacts S1 and S3 are turned on, and the central processor 1 outputs a clock pulse to the high-frequency voltage-controlled crystal oscillator 312. The high-frequency voltage-controlled crystal oscillator 312 outputs a high-frequency clock signal to the central processor 1 for use by the central processor 1.
[0050] When a mobile phone or other communication device suddenly falls into a lower-level network such as 4G or 3G, the CPU 1 stops outputting a high-level signal to the electromagnetic coil KA1. At this time, the contacts S1 and S2 are turned on, and the CPU 1 outputs a clock pulse to the low-frequency voltage-controlled temperature-compensated crystal oscillator 311, and the low-frequency voltage-controlled temperature-compensated crystal oscillator 311 outputs a low-frequency clock signal to the CPU 1 for use by the CPU 1. The automatic switching of the crystal oscillator circuit between different oscillation frequencies is realized, the switching is accurate and fast, and the loss of components is small during repeated switching.
[0051] Embodiment 2: A multi-frequency automatic switching crystal oscillator circuit, such as Figure 3As shown, the switching circuit 2 includes a CMOS transistor Q1 electrically connected to the central processing unit 1, the gate of the CMOS transistor Q1 is electrically connected to the central processing unit 1, the source of the CMOS transistor Q1 is electrically connected to a resistor R3, and the other end of the resistor R3 is electrically connected to the power supply VCC. The drain of the CMOS transistor Q1 is electrically connected to a DC relay 22, and the DC relay 22 includes an electromagnetic coil KA2 electrically connected to the drain of the CMOS transistor Q1 and a normally closed contact KA2-1 electrically connected to the VCC port of the low-frequency voltage-controlled temperature-compensated crystal oscillator 311. The other end of the electromagnetic coil KA2 is grounded, and the other end of the normally closed contact KA2-1 is electrically connected to a resistor R5, and the other end of the resistor R5 is electrically connected to the power supply VCC.
[0052] like Figure 3 As shown, a CMOS transistor Q2 is electrically connected between the drain of the CMOS transistor Q1 and the electromagnetic coil KA2, and the gate of the CMOS transistor Q2 is electrically connected to the drain of the CMOS transistor Q1. The source of the CMOS transistor Q2 is electrically connected to a resistor R4, and the other end of the resistor R4 is electrically connected to a power supply VCC. The drain of the CMOS transistor Q2 is electrically connected to a capacitor C7, and the other end of the capacitor C7 is electrically connected to the VCC port of the high-frequency voltage-controlled crystal oscillator 312.
[0053] When a mobile phone or other communication device is connected to a higher-level network such as 5G, the central processor 1 outputs a high-level signal to the gate of the CMOS transistor Q1, so that the source and drain of the CMOS transistor Q1 are turned on, and the electromagnetic coil KA2 and the gate of the CMOS transistor Q2 are powered. The electromagnetic coil KA2 controls the normally closed contact KA2-1 to disconnect, so that the low-frequency voltage-controlled temperature-compensated crystal oscillator 311 loses power and stops working. The source and drain of the CMOS transistor Q2 are turned on, so that the high-frequency voltage-controlled crystal oscillator 312 is powered and starts working.
[0054] When a mobile phone or other communication device suddenly falls into a lower level network such as 4G or 3G, the central processor 1 stops outputting a high level signal to the gate of the CMOS transistor Q1. At this time, the low frequency voltage-controlled temperature-compensated crystal oscillator 311 is powered on and starts working, and the high frequency voltage-controlled crystal oscillator 312 is powered off and stops working. Since the current received by the VCC port of the high frequency voltage-controlled crystal oscillator 312 passes through the CMOS transistor Q1 and the CMOS transistor Q2, more noise will be generated, and the capacitor C7 is required to filter the current entering the high frequency voltage-controlled crystal oscillator 312.
[0055] like Figure 3 As shown, the CPU 1 is electrically connected to a capacitor C5, and the other end of the capacitor C5 is electrically connected to the VC port of the low-frequency voltage-controlled temperature-compensated crystal oscillator 311 and the VC port of the high-frequency voltage-controlled crystal oscillator 312. The CPU 1 transmits clock pulses to the low-frequency voltage-controlled temperature-compensated crystal oscillator 311 and the high-frequency voltage-controlled crystal oscillator 312 at the same time.
[0056] like Figure 3 As shown, the GND port of the low-frequency voltage-controlled temperature-compensated crystal oscillator 311 is grounded, and the OUT port of the low-frequency voltage-controlled temperature-compensated crystal oscillator 311 is electrically connected to a capacitor C6, and the other end of the capacitor C6 is electrically connected to the central processing unit 1. The OUT port of the high-frequency voltage-controlled crystal oscillator 312 is electrically connected to a capacitor C8, and the other end of the capacitor C8 is electrically connected between the central processing unit 1 and the capacitor C6. Between the capacitor C8 and the central processing unit 1, there are capacitors C9 and C10 connected in series in parallel, and the adjacent ends of the capacitors C9 and C10 are grounded together. The low-frequency voltage-controlled temperature-compensated crystal oscillator 311 can transmit a low-frequency clock signal to the central processing unit 1 through the capacitor C6. The high-frequency voltage-controlled crystal oscillator 312 can transmit a high-frequency clock signal to the central processing unit 1 through the capacitor C8.
[0057] Embodiment 3: A multi-frequency automatic switching crystal oscillator circuit, such as Figure 4 and Figure 5 As shown, the difference from the first embodiment is that each sub-crystal oscillator circuit 31 is set as a sub-voltage-controlled temperature-compensated crystal oscillator 313 of different frequencies. The VC port of each sub-voltage-controlled temperature-compensated crystal oscillator 313 is electrically connected to a capacitor C11, and the other end of the capacitor C11 is electrically connected to the central processing unit 1. The GND port of each sub-voltage-controlled temperature-compensated crystal oscillator 313 is grounded. The OUT port of each sub-voltage-controlled temperature-compensated crystal oscillator 313 is electrically connected to a capacitor C12, and the other end of the capacitor C12 is electrically connected to the central processing unit 1. The VCC port of each sub-voltage-controlled temperature-compensated crystal oscillator 313 is electrically connected to a CMOS transistor Q3, and the drain of each CMOS transistor Q3 is electrically connected to the VCC port of the sub-voltage-controlled temperature-compensated crystal oscillator 313. The source of each CMOS transistor Q3 is electrically connected to a resistor R6, and the other end of the resistor R6 is electrically connected to the power supply VCC. The gate of each CMOS transistor Q3 is electrically connected to a diode D1, the anode of the diode D1 is electrically connected to the gate of the CMOS transistor Q3, the cathode of the diode D1 is electrically connected to the CPU 1, and each diode D1 is electrically connected to a different pin of the CPU 1. A capacitor C14 and a capacitor C15 connected in series are connected in parallel between the capacitor C12 and the CPU 1, and the adjacent ends of the capacitor C14 and the capacitor C15 are grounded together.
[0058] When a mobile phone or other communication device is connected to a network with different required clock frequencies, the central processor 1 outputs a high level to the gate of the CMOS transistor Q3 in different sub-crystal oscillator circuits 31 according to different networks. When the gate of the CMOS transistor Q3 of the corresponding sub-crystal oscillator circuit 31 is powered, the corresponding sub-voltage-controlled temperature-compensated crystal oscillator 313 is powered and starts working. The central processor 1 transmits clock pulses to the VC ports of all sub-voltage-controlled temperature-compensated crystal oscillators 313, and the working sub-voltage-controlled temperature-compensated crystal oscillators 313 will transmit clock signals to the central processor 1 to achieve the conversion of multi-level clock frequencies, with higher degrees of freedom and able to adapt to signals with various requirements. The diode D1 can block the signal sent by the central processor 1 by mistake. Only when the central processor 1 outputs a high level, the diode D1 will be broken down and the gate of the corresponding CMOS transistor Q3 can be powered.
[0059] The embodiments of this specific implementation method are all preferred embodiments of the utility model, and are not intended to limit the protection scope of the utility model. Therefore, all equivalent changes made based on the structure, shape, and principle of the utility model should be included in the protection scope of the utility model.
Claims
1. A multi-frequency automatic switching crystal oscillator circuit, characterized in that ,include: A multi-stage crystal oscillator circuit (3), the multi-stage crystal oscillator circuit (3) comprising a plurality of sub-crystal oscillator circuits (31) capable of outputting reference frequencies of different clock signals; A switching circuit (2), wherein the switching circuit (2) is connected to a central processing unit (1) and a multi-stage crystal oscillator circuit (3), wherein the central processing unit (1) outputs a corresponding pulse signal to the switching circuit (2) according to a reference frequency of a currently required clock signal, and when the switching circuit (2) receives the pulse signal, the corresponding sub-crystal oscillator circuit (31) is controlled to be connected, and other sub-crystal oscillator circuits (31) are disconnected; The sub-crystal oscillator circuit (31) comprises a low-frequency voltage-controlled temperature-compensated crystal oscillator (311) capable of outputting a relatively low-frequency clock signal and a high-frequency voltage-controlled crystal oscillator (312) capable of outputting a relatively high-frequency clock signal; When the central processing unit (1) requires a reference frequency of a clock signal with a higher frequency, the central processing unit (1) outputs a high-level signal to the switching circuit (2), and the switching circuit (2) controls the high-frequency voltage-controlled crystal oscillator (312) to open the circuit, and the low-frequency voltage-controlled temperature-compensated crystal oscillator (311) to open the circuit; When the central processing unit (1) requires a reference frequency of a clock signal with a lower frequency, the central processing unit (1) does not output a signal to the switching circuit (2), and the switching circuit (2) controls the low-frequency voltage-controlled temperature-compensated crystal oscillator (311) to open the circuit, and the high-frequency voltage-controlled crystal oscillator (312) to open the circuit; The switching circuit (2) comprises a CMOS transistor Q1 electrically connected to the central processing unit (1); the gate of the CMOS transistor Q1 is electrically connected to the central processing unit (1); the source of the CMOS transistor Q1 is electrically connected to a power supply VCC; the drain of the CMOS transistor Q1 is electrically connected to a DC relay (22) and a CMOS transistor Q2; the DC relay (22) is electrically connected to the VCC port of a low-frequency voltage-controlled temperature-compensated crystal oscillator (311); the gate of the CMOS transistor Q2 is electrically connected to the drain of the CMOS transistor Q1; and the drain of the CMOS transistor Q2 is electrically connected to the VCC port of a high-frequency voltage-controlled crystal oscillator (312).
2. The multi-frequency automatic switching crystal oscillator circuit according to claim 1, characterized in that: The switching circuit (2) comprises a single-pole double-throw relay (21) electrically connected to the central processing unit (1), and the single-pole double-throw relay (21) is also electrically connected to the VC port of the low-frequency voltage-controlled temperature-compensated crystal oscillator (311) and the VC port of the high-frequency voltage-controlled crystal oscillator (312); When the central processing unit (1) outputs a high level signal to the single-pole double-throw relay (21), the single-pole double-throw relay (21) controls the VC port of the high-frequency voltage-controlled crystal oscillator (312) to be connected to the central processing unit (1); When the central processing unit (1) stops outputting a high level signal to the single-pole double-throw relay (21), the single-pole double-throw relay (21) controls the VC port of the low-frequency voltage-controlled temperature-compensated crystal oscillator (311) to be connected to the central processing unit (1).
3. The multi-frequency automatic switching crystal oscillator circuit according to claim 1, characterized in that: The OUT port of the low-frequency voltage-controlled temperature-compensated crystal oscillator (311) is electrically connected to a capacitor C1, and the other end of the capacitor C1 is electrically connected to the central processing unit (1); the OUT port of the high-frequency voltage-controlled crystal oscillator (312) is electrically connected to a capacitor C2, and the other end of the capacitor C2 is electrically connected to the central processing unit (1).
4. The multi-frequency automatic switching crystal oscillator circuit according to claim 1, characterized in that: The VCC port of the high frequency voltage controlled crystal oscillator (312) is electrically connected to a capacitor C7, and the drain of the CMOS transistor Q2 is electrically connected to the other end of the capacitor C7.
5. The multi-frequency automatic switching crystal oscillator circuit according to claim 1, characterized in that: The central processing unit (1) is electrically connected to a capacitor C5, and the other end of the capacitor C5 is electrically connected to a VC port of a low-frequency voltage-controlled temperature-compensated crystal oscillator (311) and a VC port of a high-frequency voltage-controlled crystal oscillator (312).
6. The multi-frequency automatic switching crystal oscillator circuit according to claim 1, characterized in that: Each sub-crystal oscillator circuit (31) is configured as a sub-voltage-controlled temperature-compensated crystal oscillator (313) of different frequencies; the VC port of each sub-voltage-controlled temperature-compensated crystal oscillator (313) is electrically connected to the central processing unit (1); the OUT port of each sub-voltage-controlled temperature-compensated crystal oscillator (313) is electrically connected to the central processing unit (1); the VCC port of each sub-voltage-controlled temperature-compensated crystal oscillator (313) is electrically connected to a CMOS transistor Q3; the drain of each CMOS transistor Q3 is electrically connected to the VCC port of the sub-voltage-controlled temperature-compensated crystal oscillator (313); the source of each CMOS transistor Q3 is electrically connected to a power supply VCC; and the gate of each CMOS transistor Q3 is electrically connected to the central processing unit (1).
7. The multi-frequency automatic switching crystal oscillator circuit according to claim 6, characterized in that: The gate of each CMOS transistor Q3 is electrically connected to a diode D1, the anode of the diode D1 is electrically connected to the gate of the CMOS transistor Q3, and the cathode of the diode D1 is electrically connected to the central processing unit (1).
8. The multi-frequency automatic switching crystal oscillator circuit according to claim 6, characterized in that: A capacitor C14 and a capacitor C15 connected in series are connected in parallel between the OUT port of each sub-voltage-controlled temperature-compensated crystal oscillator (313) and the central processor (1), and adjacent ends of the capacitor C14 and the capacitor C15 are grounded in common.
