Crystal oscillator circuits, integrated circuits and electronic equipment
By designing a crystal oscillation circuit including an oscillation module, a reference oscillation module, a rectifier module and an adjustment module, the problem in the existing technology that it is difficult to accurately control the oscillation amplitude and power consumption under a wide voltage range and different process conditions is solved, and the High-precision oscillation control and low power consumption.
Patent Information
- Application Number
- CN202111678523.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2041-12-31
AI Technical Summary
It is difficult for existing crystal oscillation circuits to accurately control the oscillation amplitude and power consumption under wide voltage range and different integrated circuit process conditions, resulting in poor control effect.
A crystal oscillation circuit including an oscillation module, a reference oscillation module, a rectifier module and an adjustment module is designed. The rectification module generates a rectification signal and a reference voltage signal, and the adjustment module controls the amplitude of the oscillation module based on these signals.
It achieves precise control of the oscillation amplitude of the crystal oscillator under a wide voltage range and different process conditions, reduces power consumption, and improves control accuracy.
Smart Images

Figure CN114337548B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic circuits, and in particular to a crystal oscillator circuit, an integrated circuit and an electronic device. Background Art
[0002] In ultra-high-precision integrated circuit products such as RTC timing, Gigabit Ethernet communication and other products, the clock generated by the RC oscillation circuit can no longer meet the application requirements of these products. In order to meet their application requirements, a crystal oscillation circuit is usually used to generate a clock with a stable frequency. The crystal oscillation circuit consists of an off-chip quartz crystal and an on-chip integrated circuit. The quartz crystal is a passive component and will produce energy loss during the oscillation process. Therefore, the circuit needs to provide energy to maintain the oscillation state of the quartz crystal.
[0003] In different integrated circuit processes, the current of the crystal oscillator circuit is different, and the energy loss of the quartz crystal with the same resonant frequency is also different. In order for the crystal oscillator to work normally, the current must meet the worst working conditions of the crystal oscillator circuit. However, when the working conditions of the current are too poor, it will cause a lot of power consumption. An existing crystal oscillator circuit controls the oscillation amplitude and power consumption of the crystal oscillator by detecting the oscillation amplitude peak of the crystal oscillator circuit. In the crystal oscillator circuit of the background technology, when the wide voltage range is different or the process of the integrated circuit is different, the control effect of the oscillation amplitude and power consumption is not good. Summary of the invention
[0004] In view of the above problems, the present invention provides a crystal oscillator circuit, an integrated circuit and an electronic device to solve the above technical problems.
[0005] The technical solution of the present invention is as follows:
[0006] A crystal oscillator circuit is provided, comprising:
[0007] An oscillation module, used for generating a first oscillation signal and a second oscillation signal, and outputting the first oscillation signal and the second oscillation signal to the rectification module;
[0008] A reference oscillation module, used to generate a reference common-mode signal according to a common-mode signal of the first oscillation signal and the second oscillation signal, and output the reference common-mode signal to the rectification module;
[0009] A rectifier module, used to generate a reference voltage signal according to a reference common-mode signal, generate a rectified signal according to the first oscillation signal and the second oscillation signal, and output the reference voltage signal and the rectified signal to the regulating module;
[0010] The regulating module is used for outputting a regulating control signal to the oscillating module according to the reference voltage signal and the rectified signal, so as to control the amplitude of the first oscillating signal and the second oscillating signal.
[0011] In some embodiments, the regulation control signal is a regulation current; the regulation module is used to generate a regulation voltage signal according to a reference voltage signal and a rectified signal, and to generate a regulation current according to the regulation voltage signal.
[0012] In some embodiments, the rectifier module includes:
[0013] A first rectifier circuit, used for generating a reference voltage signal according to a reference common mode signal, and outputting the reference voltage signal to the regulating module;
[0014] The second rectifier circuit is used to generate a rectified signal according to the first oscillation signal and the second oscillation signal, and output the rectified signal to the regulating module.
[0015] In some embodiments, the oscillation module includes a second transistor, a third transistor, and a first impedance unit;
[0016] The first electrode of the second transistor is used to connect to the power supply, the second electrode of the second transistor is connected to the regulating module, and the third electrode of the second transistor is used to connect to the bias module;
[0017] A first electrode of the third transistor is grounded, a second electrode of the third transistor is connected to the first end of the first impedance unit, the second electrode of the second transistor and the second rectifier circuit, and a third electrode of the third transistor is connected to the second end of the first impedance unit and the second rectifier circuit;
[0018] The third electrode of the third transistor is also used to be grounded through the first load capacitor, the second electrode of the third transistor is also used to be grounded through the second load capacitor, and the first impedance unit is also used to be connected in parallel with the quartz crystal.
[0019] In some embodiments, the reference oscillation module includes a fourth transistor, a fifth transistor, and a second impedance unit;
[0020] The first electrode of the fourth transistor is used to connect to the power supply, the second electrode of the fourth transistor is connected to the first end of the second impedance unit, and the third electrode of the fourth transistor is used to connect to the bias module;
[0021] The first electrode of the fifth transistor is grounded, the second electrode of the fifth transistor is connected to the second end of the second impedance unit, and the third electrode of the fifth transistor is connected to the first end of the second impedance unit and connected to the first rectifier circuit. In some embodiments, the crystal oscillator circuit further includes a bias module, which includes a first transistor and a first current source module;
[0022] The first electrode of the first transistor is used to connect to the power supply, the second electrode of the first transistor is connected to the first end of the first current source module, and the third electrode of the first transistor is connected to the second electrode of the first transistor and is connected to the oscillation module and the reference oscillation module;
[0023] The second terminal of the first current source module is grounded.
[0024] In some embodiments, the first rectifier circuit includes a sixth transistor, a seventh transistor, a second current source module, and a reference voltage setting module;
[0025] The third electrode of the sixth transistor and the third electrode of the seventh transistor are respectively connected to the output end of the reference oscillation module to receive the reference common mode signal;
[0026] The second electrode of the sixth transistor and the second electrode of the seventh transistor are respectively used to connect to the power supply, the first electrode of the sixth transistor and the first electrode of the seventh transistor are respectively connected to the first input terminal of the regulating module, and output the reference voltage signal to the regulating module;
[0027] A first end of the second current source module is connected to the first input end of the regulating module, and a second end of the second current source module is grounded;
[0028] A first terminal of the reference voltage setting module is connected to a first input terminal of the regulating module, and a second terminal of the reference voltage setting module is grounded.
[0029] In some embodiments, the second rectifier circuit includes an eighth transistor, a ninth transistor, a third current source module, and a filter circuit module;
[0030] The third electrode of the eighth transistor is connected to the first output end of the oscillation module to receive the first oscillation signal, the second electrode of the eighth transistor is used to connect to the power supply, and the first electrode of the eighth transistor is connected to the first end of the filter circuit module;
[0031] The third electrode of the ninth transistor is connected to the second output end of the oscillation module to receive the second oscillation signal, the second electrode of the ninth transistor is used to connect to the power supply, and the first electrode of the ninth transistor is connected to the first end of the filter circuit module;
[0032] A first end of the third current source module is connected to the first end of the filter circuit module, and a second end of the third current source module is grounded;
[0033] The second end of the filter circuit module is connected to the second input end of the regulating module, and the third end of the filter circuit module is grounded.
[0034] In some embodiments, the regulating module includes an amplifier unit, a tenth transistor;
[0035] The first input end of the amplifier unit is connected to the first rectifier circuit, the second input end of the amplifier unit is connected to the second rectifier circuit, and the output end of the amplifier unit is connected to the third electrode of the tenth transistor;
[0036] The first electrode of the tenth transistor is used to connect to the power supply, and the second electrode of the tenth transistor is connected to the oscillation module.
[0037] Another technical solution of the present invention is as follows:
[0038] An integrated circuit is provided, comprising any one of the crystal oscillator circuits described above.
[0039] Another technical solution of the present invention is as follows:
[0040] An electronic device is provided, comprising a device body and the above-mentioned integrated circuit arranged in the device body.
[0041] The crystal oscillator circuit, integrated circuit and electronic device provided by the present invention, the bias module of the crystal oscillator circuit provides working conditions for its oscillation module and reference oscillation module, the oscillation module generates a first oscillation signal and a second oscillation signal, and outputs them to the second rectifier circuit, the second rectifier circuit generates a rectifier signal according to the input oscillation signal and outputs it to the second input end of the adjustment module, the reference oscillation module generates a reference common mode signal and outputs it to the first rectifier circuit, the first rectifier circuit generates a reference voltage signal according to the reference common mode signal and inputs it to the first input end of the adjustment module, the adjustment module generates an adjustment voltage signal according to the input reference voltage signal and the rectifier signal to control the adjustment current signal, and controls the amplitude of the first oscillation signal and the second oscillation signal generated by the oscillation module according to the change of the adjustment current signal; through the above method, the circuit structure provided by the present invention can detect the oscillation amplitude of the crystal oscillator and control the oscillation signal generated by the crystal oscillator according to the oscillation amplitude, so as to realize the precise control of the oscillation amplitude of the crystal oscillator under a wide voltage range and when the integrated circuit process changes. In addition, the circuit structure is simple in design, small in circuit area, and low in power consumption during the oscillation process of the crystal oscillator. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 A module block diagram of a crystal oscillator circuit provided in an embodiment of the present invention;
[0044] Figure 2 A block diagram of a rectifier module provided in an embodiment of the present invention;
[0045] Figure 3 A schematic diagram of the circuit structure of a crystal oscillator circuit provided in an embodiment of the present invention;
[0046] Figure 4 A schematic diagram of the structure of a first rectifier circuit provided in an embodiment of the present invention;
[0047] Figure 5 A schematic diagram of the structure of a second rectifier circuit provided in an embodiment of the present invention;
[0048] Figure 6 A schematic diagram of an integrated circuit structure provided by an embodiment of the present invention;
[0049] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0050] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. It should be clear that the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0051] It should be noted that in the description of the embodiments, the suffixes of "module" and "unit" are used to facilitate the description of the present application and have no specific meaning in themselves; and the "connection" described in the present embodiments refers to electrical connection, which can be a direct connection relationship or an indirect connection relationship.
[0052] The embodiment of the present application provides a crystal oscillator circuit, an integrated circuit and an electronic device, the crystal oscillator circuit includes an oscillation module, a reference oscillation module, a rectifier module and an adjustment module, wherein the oscillation module is used to generate a first oscillation signal and a second oscillation signal, and output the first oscillation signal and the second oscillation signal to the rectifier module; the reference oscillation module is used to generate a reference common mode signal, and output the reference common mode signal to the rectifier module; the rectifier module is used to generate a reference voltage signal according to the reference oscillation signal and the common mode signal, and generate a rectifier signal according to the first oscillation signal and the second oscillation signal input by the oscillation module, and output the reference voltage signal and the rectifier signal to the adjustment module; the adjustment module is used to generate an adjustment voltage signal according to the reference voltage signal and the rectifier signal input by the rectifier module, and control the adjustment current according to the adjustment voltage signal, and output the adjustment current to the oscillation module to control the amplitude of the first oscillation signal and the second oscillation signal generated by the oscillation module; the crystal oscillator circuit also includes a bias module, which is used to make the oscillation module and the reference oscillation module work normally. The circuit structure provided in the embodiment of the present application can detect the oscillation amplitude of the crystal oscillator and control the oscillation signal generated by the crystal oscillator according to the oscillation amplitude, so as to achieve accurate control of the oscillation amplitude of the crystal oscillator under a wide voltage range and when the integrated circuit process changes. Moreover, the circuit structure is simple in design, the circuit area is small, and the power consumption during the oscillation process of the crystal oscillator circuit is low.
[0053] like Figure 1The embodiment of the present application provides a crystal oscillator circuit 100, which includes a bias module 110, an oscillation module 120, a reference oscillation module 130, a rectifier module 140 and an adjustment module 150, wherein the bias module 110 is used to enable the oscillation module 120 and the reference oscillation module 130 to work normally; the oscillation module 120 generates a first oscillation signal and a second oscillation signal and outputs them to the rectifier module 140; the reference oscillation module 130 generates a reference common-mode signal and outputs it to the rectifier module 140; the rectifier module 140 generates a reference voltage signal according to the reference common-mode signal, generates a rectified signal according to the first oscillation signal and the second oscillation signal, and outputs the reference voltage signal and the rectified signal to the adjustment module 150; the adjustment module 150 generates an adjustment voltage signal according to the reference voltage signal and the rectified signal, controls an adjustment current according to the adjustment voltage signal and outputs the adjustment current to the oscillation module 120 to control the first oscillation signal and the second oscillation signal generated by the oscillation module 120.
[0054] Optionally, the rectifier module 140 includes a first rectifier circuit 141 and a second rectifier circuit 142. The first rectifier circuit 141 generates a reference voltage signal based on a reference common-mode signal input by a reference oscillation signal, and outputs the reference voltage signal to the regulation module 150; the second rectifier circuit 142 generates a rectified signal based on the input first oscillation signal and the second oscillation signal, and outputs it to the regulation module 150.
[0055] In the circuit structure of this embodiment, the bias module 110 includes a first transistor and a first current source module; the first electrode of the first transistor is used to connect to the power supply VDD, the second electrode of the first transistor is connected to the first end Ib1 of the first current source module, the third electrode of the first transistor is connected to its second electrode, and is connected to the third electrode of the second transistor of the oscillation module 120 and the third electrode of the fourth transistor of the reference oscillation module 130; the second end Ib2 of the first current source module is grounded.
[0056] As an implementation method of this embodiment, Figure 3 As shown in the circuit structure diagram, the bias module 110 includes a first MOS transistor MP0 and a first current source module; the source of the first MOS transistor MP0 is used to connect to the power supply VDD, the drain of the first MOS transistor MP0 is connected to the first end Ib1 of the first current source module, the gate of the first MOS transistor MP0 is connected to its drain, and is connected to the gate of the second MOS transistor MP1 of the oscillation module 120 and the gate of the fourth MOS transistor MP1' of the reference oscillation module 130; the second end Ib2 of the first current source module is grounded.
[0057] Specifically, the bias module 110 is connected to the oscillation module 120 and the reference oscillation module 130 respectively. The first current source module of the bias module 110 is generated from the bandgap reference circuit, which is a common circuit structure in the bias circuit. The bandgap reference circuit is not described in detail here. The first MOS transistor MP0, the second MOS transistor MP1 and the fourth MOS transistor MP1' together form a current mirror, so that the second MOS transistor MP1 and the fourth MOS transistor MP1' can mirror the current of the first MOS transistor MP0, thereby providing bias current for the reference oscillation module 130 and the oscillation module 120. Specifically, the first current source module provides a bias voltage for the gate and source of the first MOS tube, and the voltage signal affects the voltage signal between the gate and source of the second MOS tube MP1 of the oscillation module 120 and the fourth MOS tube of the reference oscillation module 130, and the voltage signal between the gate and the source is proportional to the bias voltage signal based on the size of the first MOS tube MP0, the second MOS tube MP1 and the fourth MOS tube MP1', so that the current of the second MOS tube MP1 and the fourth MOS tube MP1' is proportional to the current of the first MOS tube MP0. The size parameter refers to the channel width and channel length of the MOS tube. When the size of the second MOS tube MP1 and the fourth MOS tube MP1' is the same as that of the first MOS tube MP0, the current of the second MOS tube MP1 and the fourth MOS tube MP1' is the same as that of the first MOS tube MP0.
[0058] In the circuit structure of this embodiment, the oscillation module 120 includes a second transistor, a third transistor, and a first impedance unit R; the first electrode of the second transistor is used to connect to the power supply VDD, the second electrode of the second transistor is connected to the adjustment module 150, and the third electrode of the second transistor is connected to the bias module 110; the first electrode of the third transistor is grounded, the second electrode of the third transistor is connected to the first end of the first impedance unit R, the second electrode of the second transistor, and the second rectifier circuit 142Rec2, and the third electrode of the third transistor is connected to the second end of the first impedance unit R and the second rectifier circuit 142Rec2; and the third electrode of the third transistor is also used to be grounded through the first load capacitor C1, the second electrode of the third transistor is also used to be grounded through the second load capacitor C2, and the first impedance unit R is also used to be connected in parallel with the quartz crystal XC.
[0059] As an implementation method of this embodiment, Figure 3As shown in the circuit structure diagram, the oscillation module 120 includes a second MOS transistor MP1, a third MOS transistor MN0, and a first impedance unit R; the source of the second MOS transistor MP1 is used to connect to the power supply VDD, the gate of the second MOS transistor MP1 is used to connect to the gate of the first MOS transistor MP0 of the bias module 110, and the drain of the second MOS transistor MP1 is connected to the drain of the tenth MOS transistor of the adjustment module 150; the source of the third MOS transistor MN0 is grounded, the drain of the third MOS transistor MN0 is connected to the first end of the first impedance unit R and the second rectifier circuit 142Rec2, and the gate of the third MOS transistor MN0 is connected to the second end of the first impedance unit R and the second rectifier circuit 142Rec2; and the gate of the third MOS transistor MN0 is also used to be grounded through the first load capacitor C1, the drain of the third MOS transistor MN0 is also used to be grounded through the second load capacitor C2, and the first impedance unit R is also used to be connected in parallel with the quartz crystal XC.
[0060] Specifically, in the oscillation module 120, the quartz crystal XC generates an oscillation signal, generates a first oscillation signal xi and a second oscillation signal xo, and then outputs the generated first oscillation signal xi and second oscillation signal xo to the second rectifier circuit 142Rec2. In order to compensate for the energy loss of the quartz crystal, the circuit is also used to provide energy to the quartz crystal XC to maintain the oscillation state of the quartz crystal Xc.
[0061] In the circuit structure of this embodiment, the reference oscillation module 130 includes a fourth transistor, a fifth transistor and a second impedance unit; the first electrode of the fourth transistor is used to connect to the power supply VDD, the third electrode of the fourth transistor is connected to the third electrode of the first transistor, and the second electrode of the fourth transistor is connected to the first end of the second impedance unit R'; the first electrode of the fifth transistor is grounded, the second electrode of the fifth transistor is connected to the second end of the second impedance unit, the third electrode of the fifth transistor is connected to the first end of the second impedance unit, and is connected to the first rectifier circuit 141Rec1.
[0062] As an implementation method of this embodiment, Figure 3 As shown in the circuit structure diagram, the reference oscillation module 130 includes a fourth MOS transistor MP1', a fifth MOS transistor MN0' and a second impedance unit R'; the source of the fourth MOS transistor MP1' is used to connect to the power supply VDD, the gate of the fourth MOS transistor MP1' is connected to the gate of the first MOS transistor MP1, and the drain of the fourth MOS transistor MP1' is connected to the first end of the second impedance unit R'; the source of the fifth MOS transistor MN0' is grounded, the drain of the fifth MOS transistor MN0' is connected to the second end of the second impedance unit, the gate of the fifth MOS transistor MN0' is connected to the first end of the second impedance unit, and is connected to the first rectifier circuit 141Rec1.
[0063] Specifically, the fourth MOS transistor MP1' and the fifth MOS transistor MN0' of the reference oscillation module 130 are respectively proportional to the sizes of the second MOS transistor MP1 and the third MOS transistor MN0 of the oscillation module 120, and the size parameters refer to the channel width and the channel length of the MOS transistor. The second impedance unit R' of the reference oscillation circuit is proportional to the first impedance unit R of the oscillation module 120, that is, compared with the oscillation module 120, the reference oscillation module 130 only lacks the off-chip quartz crystal XC, the first load capacitor C1, and the second load capacitor C2. The first oscillation signal xi and the second oscillation signal xo generated by the oscillation module 120 are approximately differential signals. The above-mentioned MOS tube size and impedance unit in this embodiment are set to be equal in proportion, and the common mode of the first oscillation signal xi and the second oscillation signal xo initially generated by the oscillation module 120 is also approximately equal to the reference common mode signal VRB outputted by the reference oscillation signal. If the above-mentioned MOS tube size and impedance unit in this embodiment are set to be other proportions, the common mode of the first oscillation signal xi and the second oscillation signal xo initially generated by the oscillation module 120 is proportional to the reference common mode signal VRB outputted by the reference oscillation signal, that is, in this embodiment, the reference common mode signal outputted by the reference oscillation module can be controlled by manual operation.
[0064] In the circuit structure of this embodiment, the first rectifier circuit 141Rec1 includes a sixth transistor, a seventh transistor, a second current source module and a reference voltage setting module ISET; the third electrode of the sixth transistor is connected to the third electrode of the fifth transistor and to the third electrode of the seventh transistor, the second electrode of the sixth transistor is connected to the power supply VDD, and the first electrode of the sixth transistor is connected to the first input terminal V1 of the amplifier unit of the regulating module 150; the third electrode of the seventh transistor is connected to the third electrode of the sixth transistor, the second electrode of the seventh transistor is connected to the power supply VDD, and the first electrode of the seventh transistor is connected to the first input terminal V1 of the amplifier unit of the regulating module 150; the first end Ic1' of the second current source module is connected to the first input terminal V1 of the regulating module 150, and the second end Ic2' of the second current source module is grounded; the first end ISET1 of the reference voltage setting module ISET is connected to the first input terminal V1 of the amplifier unit of the regulating module 150, and the second end ISET2 of the reference voltage setting module ISET is grounded.
[0065] As an implementation method of this embodiment, Figure 4As shown in the circuit structure diagram, the first rectifier circuit 141Rec1 includes a sixth MOS transistor MN1', a seventh MOS transistor MN2', a second current source module and a reference voltage setting module ISET; the gate of the sixth MOS transistor MN1' is connected to the gate of the fifth MOS transistor MN0' and the gate of the seventh MOS transistor MN2', the drain of the sixth MOS transistor MN1' is connected to the power supply VDD, and the source of the sixth MOS transistor MN1' is connected to the first input terminal V1 of the amplifier unit of the regulating module 150; the gate of the seventh MOS transistor MN2' is connected to the gate of the sixth MOS transistor MN1', the drain of the seventh MOS transistor MN2' is connected to the power supply VDD, and the source of the seventh MOS transistor MN2' is connected to the first input terminal V1 of the amplifier unit of the regulating module 150; the first terminal Ic1' of the second current source module is connected to the first input terminal V1 of the regulating module 150, and the second terminal Ic2' of the second current source module is grounded; the first terminal ISET1 of the reference voltage setting module ISET is connected to the first input terminal V1 of the amplifier unit of the regulating module 150, and the second terminal ISET2 of the reference voltage setting module ISET is grounded.
[0066] Specifically, the reference common-mode signal VRB is input to the gate of the sixth MOS transistor MN1' and output from the source of the sixth MOS transistor MN1'. The first rectifier circuit 141Rec1 has a reference voltage setting module ISET for setting the value of the input reference common-mode signal VRB, generating a reference voltage VREF, and then outputting the reference voltage VREF to the first input terminal V1 of the amplifier unit of the adjustment module 150.
[0067] In the circuit structure of the present embodiment, the second rectifier circuit 142 includes an eighth transistor, a ninth transistor, a third current source module and a filter circuit module; the gate of the eighth transistor is connected to the gate of the third transistor of the oscillation module 120, the drain of the eighth transistor is connected to the power supply VDD, and the source of the eighth transistor is connected to the first end Rc1 of the filter circuit module; the gate of the ninth transistor is connected to the drain of the third transistor, the drain of the ninth transistor is connected to the power supply VDD, and the source of the ninth transistor is connected to the first end Rc1 of the filter circuit module; the first end Ic1 of the third current source module is connected to the first end Rc1 of the filter circuit module, and the second end Ic2 of the third current source module is grounded; the second end Rc2 of the filter circuit module is connected to the second input end V2 of the adjustment module 150, and the third end Rc3 of the filter circuit is grounded.
[0068] As an implementation method of this embodiment, Figure 5As shown in the circuit structure diagram, the second rectifier circuit 142 includes an eighth MOS transistor MN1, a ninth MOS transistor MN2, a third current source module and a filter circuit module; the gate of the eighth MOS transistor MN1 is connected to the gate of the third MOS transistor MN0 of the oscillation module 120, the drain of the eighth MOS transistor MN1 is connected to the power supply VDD, and the source of the eighth MOS transistor MN1 is connected to the first end Rc1 of the filter circuit module; the gate of the ninth MOS transistor MN2 is connected to the drain of the third MOS transistor MN0, the drain of the ninth MOS transistor MN2 is connected to the power supply VDD, and the source of the ninth MOS transistor MN2 is connected to the first end Rc1 of the filter circuit module; the first end Ic1 of the third current source module is connected to the first end Rc1 of the filter circuit module, and the second end Ic2 of the third current source module is grounded; the second end Rc2 of the filter circuit module is connected to the second input end V2 of the adjustment module 150, and the third end Rc3 of the filter circuit is grounded.
[0069] Specifically, the first oscillation signal xi generated by the oscillation module 120 is input to the gate of the eighth MOS transistor MN1, and the second oscillation signal xo generated by the oscillation module 120 is input to the gate of the ninth MOS transistor MN2. After passing through the RC filter circuit in the filter circuit module, the two input oscillation signals xi and xo are extracted and output as the rectified signal VCM to the second input terminal V2 of the amplifier unit of the adjustment module 150.
[0070] In the circuit structure of this embodiment, the adjustment module 150 includes an amplifier unit and a tenth transistor; the first input terminal V1 of the amplifier unit is connected to the first rectifier circuit 141, the second input terminal V2 of the amplifier is connected to the second rectifier circuit 142, and the output terminal V3 of the amplifier unit is connected to the third electrode of the tenth transistor; the first electrode of the tenth transistor is used to connect to the power supply VDD, and the second electrode of the tenth transistor is connected to the second electrode of the second transistor.
[0071] The regulating module 150 includes an amplifier unit and a tenth MOS transistor MP2; a first input terminal V1 of the amplifier unit is connected to the first rectifier circuit 141, a second input terminal V2 of the amplifier is connected to the second rectifier circuit 142, and an output terminal V3 of the amplifier unit is connected to the gate of the tenth MOS transistor MP2; a source of the tenth MOS transistor MP2 is connected to a power supply VDD, and a drain of the tenth MOS transistor MP2 is connected to the drain of the second MOS transistor MP1.
[0072] Specifically, the reference voltage signal VREF output by the first rectifier circuit 141 is input to the first input terminal V1 of the amplifier unit, and the rectifier signal VCM output by the second rectifier circuit 142 is input to the second input terminal V2 of the amplifier unit. The difference between the reference voltage signal VREF and the rectifier signal VCM is amplified by the amplifier unit to generate an adjustment voltage signal. The adjustment voltage signal changes with the difference between the reference voltage signal VREF and the rectifier signal VCM, so that the adjustment current of the adjustment module 150 changes accordingly. The changed adjustment current is input to the second MOS tube MP2 of the oscillation module 120 through the tenth MOS tube MP1, thereby controlling the oscillation signals xi and xo generated by the oscillation module 120.
[0073] In another embodiment, the difference between the reference voltage signal VREF and the rectified signal VCM is almost equal, and the regulating current of the regulating module 150 hardly changes. At this time, the oscillation signal generated by the oscillation module 120 maintains a fixed amplitude.
[0074] As an implementation method of this embodiment, Figure 3 As shown in the circuit structure diagram, the first MOS tube MP0, the second MOS tube MP1, the fourth MOS tube MP1' and the tenth MOS tube MP2 are all P-channel MOS tubes, and the third MOS tube MN0, the fifth MOS tube MN0', the sixth MOS tube MN1', the seventh MOS tube MN2', the eighth MOS tube MN1 and the ninth MOS tube MN2 are all N-channel MOS tubes.
[0075] It should be understood that in this embodiment, each of the above transistors can be a MOS transistor or a triode. When a MOS transistor is used, the first and second electrodes of the above transistor are the source or drain, and the third electrode is the gate; when a triode is used, the first and second electrodes of the above transistor are the emitter or collector, and the third electrode is the base.
[0076] In addition, when MOS tubes are used, the channel types of the above-mentioned MOS tubes in this embodiment are only examples. In actual applications, the channel types of the MOS tubes used are selected based on issues such as circuit design cost and design complexity. In fact, the channel types of the MOS tubes in the circuit can be changed according to the characteristics and correlations of the P-type MOS tubes and the N-type MOS tubes. In addition, the emergence of MOS tubes has replaced the position of triodes in integrated circuits. MOS tubes and triodes still have certain commonalities, that is, the circuit structure can be adjusted to use triodes to replace the MOS tubes in this circuit. Similarly, each impedance unit in this embodiment takes a resistor element as an example, but in actual applications, each impedance unit can also be composed of multiple resistor elements connected in series and parallel. The amplifier unit in this embodiment also includes an amplifier device having a function of comparing two or more signals, such as a differential amplifier. The above should all be regarded as the protection scope of the present invention.
[0077] like Figure 6 As shown, an embodiment of the present application further provides an integrated circuit 200, and the integrated circuit 200 includes the above-mentioned crystal oscillator circuit.
[0078] The integrated circuit provided by the embodiment of the present application includes an oscillation module, a reference oscillation module, a rectifier module and an adjustment module, wherein the oscillation module is used to generate a first oscillation signal and a second oscillation signal, and output the first oscillation signal and the second oscillation signal to the rectifier module; the reference oscillation module is used to generate a reference common-mode signal, and output the reference common-mode signal to the rectifier module; the rectifier module is used to generate a reference voltage signal according to the reference oscillation signal and the common-mode signal, and generate a rectifier signal according to the first oscillation signal and the second oscillation signal input by the oscillation module, and output the reference voltage signal and the rectifier signal to the adjustment module; the adjustment module is used to generate an adjustment voltage signal according to the reference voltage signal and the rectifier signal input by the rectifier module, and control the adjustment current according to the adjustment voltage signal, and output the adjustment current to the oscillation module to control the amplitude of the first oscillation signal and the second oscillation signal generated by the oscillation module; the crystal oscillator circuit also includes a bias module for making the oscillation module and the reference oscillation module work normally. The circuit structure provided by the embodiment of the present application can detect the oscillation amplitude of the crystal oscillator and control the oscillation signal generated by the crystal oscillator according to the oscillation amplitude, so as to achieve accurate control of the oscillation amplitude of the crystal oscillator under a wide voltage range and when the integrated circuit process changes. Moreover, the circuit structure is simple in design, the circuit area is small, and the power consumption during the oscillation process of the crystal oscillator circuit is low.
[0079] like Figure 7 As shown, the embodiment of the present application further provides an electronic device 300, which includes a device body 310 and the above-mentioned integrated circuit 200. The integrated circuit 200 is disposed in the device body 300.
[0080] The electronic device provided by the embodiment of the present application includes an oscillation module, a reference oscillation module, a rectifier module and an adjustment module, wherein the oscillation module is used to generate a first oscillation signal and a second oscillation signal, and output the first oscillation signal and the second oscillation signal to the rectifier module; the reference oscillation module is used to generate a reference common-mode signal, and output the reference common-mode signal to the rectifier module; the rectifier module is used to generate a reference voltage signal according to the reference oscillation signal and the common-mode signal, and generate a rectifier signal according to the first oscillation signal and the second oscillation signal input by the oscillation module, and output the reference voltage signal and the rectifier signal to the adjustment module; the adjustment module is used to generate an adjustment voltage signal according to the reference voltage signal and the rectifier signal input by the rectifier module, and control the adjustment current according to the adjustment voltage signal, and output the adjustment current to the oscillation module to control the amplitude of the first oscillation signal and the second oscillation signal generated by the oscillation module; the crystal oscillator circuit also includes a bias module for making the oscillation module and the reference oscillation module work normally. The circuit structure provided by the embodiment of the present application can detect the oscillation amplitude of the crystal oscillator and control the oscillation signal generated by the crystal oscillator according to the oscillation amplitude, so as to achieve accurate control of the oscillation amplitude of the crystal oscillator under a wide voltage range and when the integrated circuit process changes. Moreover, the circuit structure is simple in design, the circuit area is small, and the power consumption during the oscillation process of the crystal oscillator circuit is low.
[0081] The above contents are further detailed descriptions of the present invention in combination with specific implementation methods, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as the protection scope of the present invention.
Claims
1. A crystal oscillator circuit, characterized in that: include: An oscillation module, used for generating a first oscillation signal and a second oscillation signal, and outputting the first oscillation signal and the second oscillation signal to a rectification module; A reference oscillation module, used for generating a reference common mode signal according to a common mode signal of the first oscillation signal and the second oscillation signal, and outputting the reference common mode signal to a rectification module; A rectifier module, used to generate a reference voltage signal according to the reference common-mode signal, generate a rectified signal according to the first oscillation signal and the second oscillation signal, and output the reference voltage signal and the rectified signal to a regulating module; The regulating module is used for outputting a regulating control signal to the oscillating module according to the reference voltage signal and the rectified signal, so as to control the amplitude of the first oscillating signal and the second oscillating signal.
2. The crystal oscillator circuit according to claim 1, characterized in that: The regulation control signal is a regulation current; The regulating module is used to generate a regulating voltage signal according to the reference voltage signal and the rectified signal, and to generate the regulating current according to the regulating voltage signal.
3. The crystal oscillator circuit according to claim 1, wherein: The rectifier module comprises: a first rectifier circuit, configured to generate a reference voltage signal according to the reference common-mode signal, and output the reference voltage signal to the regulating module; The second rectifier circuit is used to generate a rectified signal according to the first oscillation signal and the second oscillation signal, and output the rectified signal to the regulating module.
4. The crystal oscillator circuit according to claim 3, characterized in that: The oscillation module includes a second transistor, a third transistor, and a first impedance unit; The first electrode of the second transistor is used to connect to a power supply, the second electrode of the second transistor is connected to the regulating module, and the third electrode of the second transistor is used to connect to a bias module; The first electrode of the third transistor is grounded, the second electrode of the third transistor is connected to the first end of the first impedance unit, the second electrode of the second transistor and the second rectifier circuit, and the third electrode of the third transistor is connected to the second end of the first impedance unit and the second rectifier circuit; The third electrode of the third transistor is also used to be grounded through a first load capacitor, the second electrode of the third transistor is also used to be grounded through a second load capacitor, and the first impedance unit is also used to be connected in parallel with a quartz crystal.
5. The crystal oscillator circuit according to claim 3, characterized in that: The reference oscillation module includes a fourth transistor, a fifth transistor and a second impedance unit; The first electrode of the fourth transistor is used to connect to a power supply, the second electrode of the fourth transistor is connected to the first end of the second impedance unit, and the third electrode of the fourth transistor is used to connect to a bias module; A first electrode of the fifth transistor is grounded, a second electrode of the fifth transistor is connected to the second end of the second impedance unit, and a third electrode of the fifth transistor is connected to the first end of the second impedance unit and connected to the first rectifier circuit.
6. The crystal oscillator circuit according to claim 1, wherein: The crystal oscillator circuit further includes a bias module, and the bias module includes a first transistor and a first current source module; The first electrode of the first transistor is used to connect to a power supply, the second electrode of the first transistor is connected to the first end of the first current source module, and the third electrode of the first transistor is connected to the second electrode of the first transistor and is connected to the oscillation module and the reference oscillation module; The second terminal of the first current source module is grounded.
7. The crystal oscillator circuit according to claim 3, characterized in that: The first rectifier circuit includes a sixth transistor, a seventh transistor, a second current source module and a reference voltage setting module; The third electrode of the sixth transistor and the third electrode of the seventh transistor are respectively connected to the output end of the reference oscillation module to receive the reference common mode signal; The second electrode of the sixth transistor and the second electrode of the seventh transistor are respectively used to connect to a power supply, the first electrode of the sixth transistor and the first electrode of the seventh transistor are respectively connected to the first input terminal of the regulating module, and output the reference voltage signal to the regulating module; A first end of the second current source module is connected to the first input end of the regulating module, and a second end of the second current source module is grounded; A first terminal of the reference voltage setting module is connected to a first input terminal of the regulating module, and a second terminal of the reference voltage setting module is grounded.
8. The crystal oscillator circuit according to claim 3, characterized in that: The second rectifier circuit includes an eighth transistor, a ninth transistor, a third current source module and a filter circuit module; The third electrode of the eighth transistor is connected to the first output end of the oscillation module to receive the first oscillation signal, the second electrode of the eighth transistor is used to connect to a power supply, and the first electrode of the eighth transistor is connected to the first end of the filter circuit module; The third electrode of the ninth transistor is connected to the second output end of the oscillation module to receive the second oscillation signal, the second electrode of the ninth transistor is used to connect to a power supply, and the first electrode of the ninth transistor is connected to the first end of the filter circuit module; The first end of the third current source module is connected to the first end of the filter circuit module, and the second end of the third current source module is grounded; The second end of the filter circuit module is connected to the second input end of the adjustment module, and the third end of the filter circuit module is grounded.
9. The crystal oscillator circuit according to claim 3, characterized in that: The regulating module includes an amplifier unit and a tenth transistor; The first input end of the amplifier unit is connected to the first rectifier circuit, the second input end of the amplifier unit is connected to the second rectifier circuit, and the output end of the amplifier unit is connected to the third electrode of the tenth transistor; The first electrode of the tenth transistor is used to connect to a power source, and the second electrode of the tenth transistor is connected to the oscillation module.
10. An integrated circuit, characterized in that: A crystal oscillator circuit comprising any one of claims 1 to 9.
11. An electronic device, characterized in that: The device comprises a device body and the integrated circuit according to claim 10 arranged in the device body.
Citation Information
Patent Citations
Low power crystal oscillator
CN111478686A
Self-adaptive amplitude adjustment oscillating circuit
CN113612446A