Oscillation circuit and electronic device
By combining mirror units and comparator units, and using mirror current signals and clamping voltage control, the problem of frequency instability in traditional ring oscillators is solved, achieving frequency stability and consistency, and reducing frequency variations caused by the impedance and temperature characteristics of switching devices.
Patent Information
- Application Number
- CN202210490443.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-07
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2042-05-07
AI Technical Summary
The oscillation frequency of traditional ring oscillators is greatly affected by temperature and process parameter drift, as well as the impedance dispersion of switching devices, resulting in large frequency variations and difficulty in control.
By employing a combination of mirror units, switching units, and comparator units, and controlling the mirror current signal and clamping voltage, the oscillation signal is limited to a specific threshold voltage range, reducing the dispersion caused by switching devices and temperature characteristics. The precise matching of the mirror current signal and clamping voltage reduces frequency variations.
It achieves stability and consistency of oscillation frequency, reduces frequency variation caused by impedance and temperature characteristics of switching devices, and improves frequency convergence.
Smart Images

Figure CN114744983B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of electronics, in particular to an oscillation circuit and electronic equipment. BACKGROUND
[0002] The ring oscillator refers to a closed loop formed by a series of odd number of invertors connected in series (that is, the last output is the initial input). If the initial trigger is given as "1", the last output is "0", and then the input is naturally "0"; then the output becomes "1". In this way, the fixed frequency alternating oscillation output of "0" and "1" is realized. Figure 1 The circuit schematic diagram is shown as a traditional ring oscillator. The traditional ring oscillator generally controls the charge and discharge time constant (RC) by changing the size of the capacitor or the size of the switch device to obtain the required frequency.
[0003] The ring oscillator is applied in many integrated circuit chips due to its simple structure, convenient use and strong adjustable range, but its oscillation frequency is greatly affected by the drift of temperature and process parameters and the power voltage rejection ratio, which greatly affects the stability of the circuit. Especially, there is a problem of impedance discreteness of the switch device (such as PMOS tube or NMOS tube), which leads to a large variation of the oscillation frequency of the entire ring oscillator, and the discreteness of the temperature characteristic cannot be controlled. SUMMARY
[0004] Therefore, it is necessary to provide an oscillation circuit and electronic equipment aiming at the deficiencies in the prior art.
[0005] In one aspect, according to some embodiments, an oscillation circuit is provided, characterized in that it comprises a mirror unit, and
[0006] A first switch unit is connected with the mirror unit and is used for receiving a first current signal provided by the mirror unit;
[0007] A second switch unit is connected with the mirror unit and is used for receiving a second current signal provided by the mirror unit; the first current signal and the second current signal are mirror current signals of each other;
[0008] A comparison unit is connected with the second switch unit and is used for storing energy according to the second current signal and providing a clamping voltage; if the clamping voltage exceeds a first threshold voltage, the second switch unit is controlled to be grounded to control the comparison unit to discharge; if the clamping voltage is less than or equal to a second threshold voltage, the comparison unit continues to charge; the first threshold voltage is greater than the second threshold voltage.
[0009] In the oscillation circuit provided by the above embodiment, the signal inputted into the oscillation circuit and the signal outputted from the oscillation circuit are both limited between the first threshold voltage and the second threshold voltage by the comparison unit, so as to form the oscillation signal. The clamping voltage is provided by the comparison unit according to the energy stored by the second current signal, and the second current signal and the first current signal are mirror current signals. In this way, the clamping voltage provided by the comparison unit can be accurately matched to the first current signal, and the change of the clamping voltage is only related to the first current signal and the second threshold voltage, so as to reduce the discreteness caused by the impedance of the switching device in the oscillation circuit and / or the discreteness caused by the temperature characteristics. The oscillation circuit provided by the above embodiment can at least make the frequency change amount of the above two aspects converge significantly.
[0010] In one of the embodiments, the first switching unit comprises a first switch tube and an impedance unit; the first end of the first switch tube is connected with the mirror unit, the second end of the first switch tube is connected with the comparison unit, and the control end of the first switch tube is connected with the first end of the impedance unit; the second end of the impedance unit is connected with the comparison unit; and the first switching unit is configured to:
[0011] When the first switch tube is turned on, the first switching unit receives the first current signal provided by the mirror unit; and the first current signal flows to the ground through the impedance unit.
[0012] The second switching unit comprises a second switch tube; the first end of the second switch tube is connected with the mirror unit, and the second end and the control end of the second switch tube are both connected with the comparison unit; and the second switching unit is configured to:
[0013] When the second switch tube is turned on, the second current signal provided by the mirror unit is received.
[0014] The comparison unit comprises a third switch tube and a capacitive resistance unit; the first end of the third switch tube is connected with the mirror unit, the second end of the third switch tube is connected with the second end of the capacitive resistance unit, and the control end of the third switch tube is connected with the first end of the capacitive resistance unit; the first threshold voltage is the size of the threshold voltage of the first switch tube and the size of the threshold voltage of the third switch tube; and the comparison unit is configured to:
[0015] charge the capacitive resistance unit according to the second current signal to provide the clamping voltage; if the clamping voltage exceeds the first threshold voltage, the third switch tube is turned on, and the capacitive resistance unit is discharged; and if the capacitive resistance unit is discharged to the clamping voltage less than or equal to the second threshold voltage, the capacitive resistance unit is continuously charged according to the second current signal.
[0016] In the oscillation circuit provided by the above embodiment, the input signal and the output signal of the oscillation circuit are both limited between the threshold voltage of the third switch tube and the second threshold voltage by the third switch tube and the capacitive impedance unit, so as to form an oscillation signal. As mentioned above, the second current signal and the first current signal are mirror current signals. In the embodiment, the first current signal is only related to the first switch tube and the impedance unit, so that the second current signal is also only related to the first switch tube and the impedance unit. In this way, the clamping voltage provided by the comparison unit can be accurately matched to the first switch tube, the impedance unit and the capacitive impedance unit, i.e. the clamping voltage provided by the comparison unit is only related to the first switch tube, the impedance unit and the capacitive impedance unit, and is irrelevant to the first switch tube, the second switch tube and / or the third switch tube.
[0017] In one of the embodiments, when the first switch tube is turned on, the first current signal is determined based on the following formula:
[0018] I1=V th1 / R1; wherein I1 is the size of the first current signal; V th1 is the size of the threshold voltage of the first switch tube; and R1 is the resistance of the impedance unit.
[0019] The second current signal is determined based on the following formula:
[0020] I2=V th1 / R1; wherein I2 is the size of the second current signal.
[0021] In the oscillation circuit provided by the above embodiment, the size I1 of the first current signal is only determined based on the size V th1 of the threshold voltage of the first switch tube and the resistance R1 of the impedance unit; since the second current signal and the first current signal are mirror current signals, the size I2 of the second current signal should be the same as the size I1 of the first current signal, so that the size I1 of the second current signal is also only determined based on the size V th1 of the threshold voltage of the first switch tube and the resistance R1 of the impedance unit; the current flowing through the impedance unit is related to the size V th1 of the threshold voltage of the first switch tube; at the same time, the second current signal I2 charging the capacitive impedance unit is also related to the size V th1The period of the oscillation signal generated by the oscillation circuit is only related to the capacitance value of the capacitive unit and the resistance value R1 of the impedance unit, and is not related to the first switch tube, the second switch tube and / or the third switch tube. Further, since the frequency of the oscillation signal generated by the oscillation circuit can be determined according to the period of the oscillation signal generated by the oscillation circuit, the frequency of the oscillation signal generated by the oscillation circuit is also only related to the capacitance value of the capacitive unit and the resistance value R1 of the impedance unit, and is not related to the first switch tube, the second switch tube and / or the third switch tube.
[0022] In one of the embodiments, the oscillation circuit further comprises a waveform shaping unit.
[0023] The waveform shaping unit is connected to the comparison unit, and is configured to shape the signal output by the comparison unit.
[0024] In one of the embodiments, the first switch tube is a metal oxide semiconductor field effect transistor, a junction field effect transistor or a triode.
[0025] In one of the embodiments, the first switch tube is an NMOS tube; and the gate of the first switch tube is the control end of the first switch tube.
[0026] In one of the embodiments, the third switch tube is a metal oxide semiconductor field effect transistor, a junction field effect transistor or a triode.
[0027] In one of the embodiments, the third switch tube is an NMOS tube; and the gate of the third switch tube is the control end of the second switch tube.
[0028] In one of the embodiments, the mirror unit comprises a current mirror.
[0029] In another aspect, the present application also provides an electronic device according to some embodiments, which comprises the oscillation circuit according to any of the above embodiments.
[0030] The electronic device provided by the above embodiments can comprise the oscillation circuit according to any of the above embodiments, and thus can achieve the technical effects of the oscillation circuit, which will not be described here again. BRIEF DESCRIPTION OF DRAWINGS
[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present application or the prior art, the drawings needed in the following embodiment or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can also obtain other drawings according to these drawings without creative labor.
[0032] Figure 1A circuit diagram of a conventional ring oscillator;
[0033] Figure 2 A circuit diagram of an oscillation circuit provided in one embodiment of the present application.
[0034] Explanation of reference numerals:
[0035] 1, first switch unit; 2, second switch unit; 3, waveform shaping unit; 4, comparison unit; 5, mirror unit. DETAILED DESCRIPTION
[0036] For the purpose of understanding the present application, the present application will be described in more detail by referring to the attached drawings. The embodiments of the present application are shown in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that the disclosure of the present application is more complete and thorough.
[0037] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs. The terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application.
[0038] It can be understood that the terms "first", "second", and the like used in the description of the present application can be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from another element. For example, without departing from the scope of the present application, the first switch unit can be referred to as the second switch unit; and similarly, the second switch unit can be referred to as the first switch unit. The first switch unit and the second switch unit are both switch units, but they are not the same switch unit.
[0039] It can be understood that "connection" in the following embodiments, if the circuits, modules, units, etc. connected to each other have the transmission of electrical signals or data, it should be understood as "electrically connected", "communicatively connected", etc.
[0040] As used herein, the singular forms "a", "an" and "the" can include plural forms unless the context clearly indicates otherwise. It should also be understood that the terms "comprise / comprising" or "have / having" specify the presence of stated features, integers, components, parts, or combinations thereof, but do not exclude the presence or addition of one or more other features, integers, components, parts, or combinations thereof.
[0041] The present application aims to provide a solution that can solve the shortcomings of the prior art. The detailed content will be described in the subsequent embodiments.
[0042] According to some embodiments, the present application provides an oscillation circuit. The oscillation circuit according to the present application can be applied in a ring oscillator or other similar electronic devices.
[0043] Referring to Figure 2 The oscillation circuit can include a first switch unit 1, a second switch unit 2, a comparison unit 4 and a mirror unit 5.
[0044] The first switch unit 1 is connected to the mirror unit 5 and can be used to receive a first current signal I1 provided by the mirror unit 5.
[0045] The second switch unit 2 is connected to the mirror unit 5 and can be used to receive a second current signal I2 provided by the mirror unit 5. It should be noted that the first current signal I1 and the second current signal I2 are mirror current signals; that is, the current characteristics of the first current signal I1 and the second current signal I2 are consistent, and the current sizes are also the same.
[0046] The comparison unit 4 is connected to the second switch unit 2 and can be used to store energy according to the second current signal I2 and provide a clamping voltage. If the clamping voltage exceeds a first threshold voltage, the second switch unit 2 is controlled to be grounded to control the comparison unit 4 to discharge; if the clamping voltage is less than or equal to a second threshold voltage, the comparison unit 4 continues to charge. It should be noted that in the present application, the first threshold voltage is greater than the second threshold voltage.
[0047] It can be understood that the second threshold voltage according to the present application is the lower limit of the output signal of the oscillation circuit, and the second threshold voltage can be used to limit the discreteness of the oscillation circuit.
[0048] The performance of a conventional ring oscillator is affected by temperature, mainly due to the fact that the performance of a switching device is easily changed with temperature. When the temperature changes, the mobility of the carriers and the threshold voltage will change, thereby affecting the performance of the ring oscillator. In the oscillation circuit provided in the above embodiment, the input signal and the output signal of the oscillation circuit are both limited to between the first threshold voltage and the second threshold voltage by the comparison unit 4, thereby forming an oscillation signal. The clamping voltage is provided by the comparison unit 4 according to the storage of the second current signal I2, and the second current signal I2 and the first current signal I1 are mirror current signals. In this way, the clamping voltage provided by the comparison unit 4 can be accurately matched to the first current signal I1, and the change of the clamping voltage is only related to the first current signal I1 and the second threshold voltage, thereby reducing the discreteness caused by the impedance of the switching device in the oscillation circuit and / or the discreteness caused by the temperature characteristics. The oscillation circuit provided in the above embodiment can at least make the frequency change amount of the above two aspects converge significantly.
[0049] It should be noted that the size of the second threshold voltage can be adjusted adaptively according to the actual working condition of the oscillation circuit.
[0050] Meanwhile, the application does not make specific limitation on the form of the first current signal I1 and the second current signal I2. As an example, the first current signal I1 and the second current signal I2 can both be direct current with constant size.
[0051] The application also does not make specific limitation on the form of the mirror unit 5.
[0052] Please continue to refer to Figure 2 In one of the embodiments, the mirror unit 5 can include a first transistor P1, a second transistor P2, a third transistor P3, a fourth transistor P4 and a fifth transistor P5.
[0053] Specifically, the control end of the first transistor P1 is connected with the control end of the second transistor P2, the control end of the third transistor P3 and the control end of the fourth transistor P4. The first end a of the first transistor P1 is connected with the first end b of the second transistor P2, the first end c of the third transistor P3 and the first end d of the fourth transistor P4. The second end e of the first transistor P1 is connected with the first switch unit 1. The second end f of the second transistor P2 is connected with the first end g of the fifth transistor P5. The second end h of the third transistor P3 and the second end i of the fourth transistor P4 are both connected with the second switch unit 2. The control end of the fifth transistor P5 is connected with the second end e of the first transistor P1, and the second end j of the fifth transistor P5 is connected with the first switch unit 1.
[0054] In other possible embodiments, the mirror unit 5 can also include a current mirror.
[0055] The following takes Figure 2 The circuit shown is taken as an example to specifically describe the first switch unit 1, the second switch unit 2 and the comparison unit 4.
[0056] In one of the embodiments, the first switch unit 1 can include a first switch tube M1 and an impedance unit R1. Specifically, the first end k of the first switch tube M1 is connected with the mirror unit 5, the second end l of the first switch tube M1 is connected with the comparison unit 4, and the control end of the first switch tube M1 is connected with the first end m of the impedance unit R1; the second end n of the impedance unit R1 is connected with the comparison unit 4.
[0057] The first switch unit 1 can be configured to receive the first current signal I1 provided by the mirror unit 5 when the first switch tube M1 is turned on. On this basis, the first current signal I1 should flow through the impedance unit R1 to ground.
[0058] The first switch tube M1 is not limited in form in the present application. For example, the first switch tube M1 can include, but is not limited to, a metal-oxide-semiconductor field-effect transistor (MOS tube), a junction field-effect transistor (JEFT), a triode, or the like.
[0059] In the present embodiment, the second switch unit 2 can include a second switch tube M2. Specifically, a first end o of the second switch tube M2 can be connected with the mirroring unit 5, and a second end p and a control end of the second switch tube M2 can be connected with the comparison unit 4.
[0060] The second switch unit 2 can be configured to receive the second current signal I2 provided by the mirroring unit 5 when the second switch tube M2 is turned on.
[0061] The second switch tube M2 is not limited in form in the present application. For example, the second switch tube M2 can include, but is not limited to, a metal-oxide-semiconductor field-effect transistor, a junction field-effect transistor, a triode, or the like.
[0062] In the present embodiment, the comparison unit 4 can include a third switch tube M3 and a capacitive resistance unit C1. Specifically, a first end q of the third switch tube M3 can be connected with the mirroring unit 5, a second end r of the third switch tube M3 can be connected with a second end s of the capacitive resistance unit C1, and a control end of the third switch tube M3 can be connected with a first end t of the capacitive resistance unit C1. At this time, the first threshold voltage should be the size of the threshold voltage of the first switch tube M1, and also the size of the threshold voltage of the third switch tube M3.
[0063] It should be noted that in some possible embodiments of the present application, the first switch tube M1 and the third switch tube M3 can be completely identical switch tubes. At this time, the first switch tube M1 and the third switch tube M3 not only have the same size of threshold voltage, but also have completely identical performance parameters in other aspects. In this way, the matching accuracy of the first switch tube M1 and the third switch tube M3 can be improved, so as to further reduce the discreteness in the oscillation circuit due to the impedance of the switching device, and / or the discreteness due to the temperature characteristics.
[0064] For example, the performance parameters involved in the present application include, but are not limited to, drain-source breakdown voltage, gate-source breakdown voltage, on-resistance, on-delay time, rise time, and fall time, and the like.
[0065] The comparison unit 4 can be configured to charge the capacitive impedance unit C1 according to the second current signal I2 to provide a clamping voltage; if the clamping voltage exceeds the first threshold voltage, the third switch tube M3 is turned on, and the capacitive impedance unit C1 is discharged; if the capacitive impedance unit C1 is discharged to the clamping voltage being less than or equal to the second threshold voltage, the charging of the capacitive impedance unit C1 according to the second current signal I2 is continued.
[0066] Since the threshold voltage of the third switch tube M3 is the first threshold voltage, when the capacitive impedance unit C1 is charged to the voltage across the capacitive impedance unit C1 exceeding the first threshold voltage, the voltage at the VB is flipped, and at the same time, the third switch tube M3 is turned on, and the capacitive impedance unit C1 starts to be discharged. The capacitive impedance unit C1 continues to be discharged, and when the capacitive impedance unit C1 is discharged to the voltage across the capacitive impedance unit C1 being less than or equal to the second threshold voltage, the voltage at the VB is flipped again, so that the charging of the capacitive impedance unit C1 according to the second current signal I2 is continued. This is repeated to generate an oscillation signal.
[0067] In the oscillation circuit provided in the above embodiment, the input signal and the output signal of the oscillation circuit are both limited to the range between the threshold voltage of the third switch tube M3 and the second threshold voltage through the third switch tube M3 and the capacitive impedance unit C1, so that the oscillation signal is formed. As described above, the second current signal I2 and the first current signal I1 are mirror current signals of each other; in this embodiment, the first current signal I1 is only related to the first switch tube M1 and the impedance unit R1, so that the second current signal I2 is also only related to the first switch tube M1 and the impedance unit R1, so that the clamping voltage provided by the comparison unit 4 can be accurately matched to the first switch tube M1, the impedance unit R1 and the capacitive impedance unit C1, that is, the clamping voltage provided by the comparison unit 4 is only related to the first switch tube M1, the impedance unit R1 and the capacitive impedance unit C1, and is not related to the first switch tube M1, the second switch tube M2 and / or the third switch tube M3.
[0068] The form of the third switch tube M3 is not limited in the present application; for example, the third switch tube M3 can include but is not limited to a metal oxide semiconductor field effect transistor, a junction field effect transistor or a triode, etc.
[0069] Meanwhile, the implementation of the capacitive impedance unit C1 starting to be discharged when the voltage at the VB is flipped, and the charging of the capacitive impedance unit C1 according to the second current signal I2 when the voltage at the VB is flipped again is not limited in the present application. In one of the embodiments, the comparison unit 4 further includes a fourth switch tube M4; in this embodiment, the charging of the capacitive impedance unit C1 according to the second current signal I2 when the voltage at the VB is flipped again can be implemented in the following way:
[0070] The first end w of the fourth switch tube M4 is connected with the first end t of the capacitive resistance unit C1, the second end x of the fourth switch tube M4 is connected with the second end s of the capacitive resistance unit C1, and the control end of the fourth switch tube M4 is connected with VB. When the voltage at VB is reversed, the fourth switch tube M4 is turned on, and an electric circuit is formed with the capacitive resistance unit C1, and the capacitive resistance unit C1 starts to discharge. During the continuous discharging of the capacitive resistance unit C1, when the voltage at VB is reversed again, the fourth switch tube M4 is turned off, so that the capacitive resistance unit C1 should continue to be charged according to the second current signal I2.
[0071] In one embodiment, when the first switch tube M1 is turned on, the size of the first current signal I1 can be determined based on the following formula:
[0072] I1=V th1 / R1
[0073] Wherein, I1 is the size of the first current signal I1; V th1 is the size of the threshold voltage of the first switch tube M1; and R1 is the resistance value of the impedance unit R1.
[0074] Therefore, the size of the first current signal I1 is determined only based on the size of the threshold voltage of the first switch tube M1 and the resistance value of the impedance unit R1.
[0075] Since the second current signal I2 and the first current signal I1 are mirror current signals, the size of the second current signal I2 should be the same as the size of the first current signal I1, and the second current signal I2 can be determined based on the following formula:
[0076] I2=V th1 / R1
[0077] Wherein, I2 is the size of the second current signal I2.
[0078] In the oscillation circuit provided in the above embodiment, the current flowing through the impedance unit R1 is related to the size of the threshold voltage of the first switch tube M1; at the same time, the second current signal I2 charging the capacitive resistance unit C1 is also related to the size of the threshold voltage of the first switch tube M1. According to the formula:
[0079] I1*Δt=C1*V th2
[0080] Wherein, Δt is the time when the first current signal I1 is turned on; C1 is the capacitance value of the capacitive resistance unit C1; and V th2 is the size of the threshold voltage of the third switch tube M2.
[0081] It can be obtained that:
[0082] (V th1 / R1*Δt=C1*Vth2
[0083] Meanwhile, since the first threshold voltage is the size of the threshold voltage of the first switch Ml and the size of the threshold voltage of the third switch M3, i.e. V th1 = V th2 ; therefore the above formula can be converted to:
[0084] (V th1 / R1*Δt = C1*V th1
[0085] It can be obtained that:
[0086] Δt = C1*V th1 / (V th1 / R1
[0087] Δt = C1 / R1
[0088] It can be understood that Δt is the period of the oscillation signal generated by the oscillation circuit, which is only related to the capacitance value C1 of the capacitive unit C1 and the resistance value R1 of the impedance unit R1, and is irrelevant to the first switch Ml, the second switch M2 and / or the third switch M3. Further, since the frequency of the oscillation signal generated by the oscillation circuit is determined according to f = 1 / Δt, the frequency of the oscillation signal generated by the oscillation circuit is also only related to the capacitance value C1 of the capacitive unit C1 and the resistance value R1 of the impedance unit R1, and is irrelevant to the first switch Ml, the second switch M2 and / or the third switch M3.
[0089] Please continue to refer to Figure 2 In one embodiment, the oscillation circuit can further include a waveform shaping unit 3.
[0090] Specifically, the waveform shaping unit 3 is connected to the comparison unit 4 and can be used to shape the signal output by the comparison unit 4.
[0091] The application does not make specific limitations on the form of shaping the signal output by the comparison unit 4 by the waveform shaping unit 3. As an example, the waveform shaping unit 3 can receive a signal similar to a sine wave from the output of the comparison unit 4, and output a rectangular wave required by the outside through the internal circuit thereof.
[0092] It can be understood that the specific structure of the internal circuit of the waveform shaping unit 3 is not the focus of the application, and will not be further described here.
[0093] In one embodiment, the first switch Ml can be an N-type metal-oxide-semiconductor (NMOS) tube.
[0094] On this basis, the gate of the first switch tube M1 is the control end of the first switch tube M1.
[0095] In one of the embodiments, the second switch tube M2 can be an NMOS tube.
[0096] On this basis, the gate of the second switch tube M2 is the control end of the second switch tube M2.
[0097] In one of the embodiments, the third switch tube M3 can be an NMOS tube.
[0098] On this basis, the gate of the third switch tube M3 is the control end of the third switch tube M3.
[0099] According to some embodiments, the application further provides an electronic device. The electronic device can comprise the oscillation circuit provided by any of the above embodiments.
[0100] The electronic device provided by the above embodiments can comprise the oscillation circuit provided by any of the above embodiments, and thus can achieve the technical effects of the oscillation circuit, which will not be described here in detail.
[0101] In the description of the present specification, the description of the terms "some embodiments", "other embodiments", "ideal embodiments", and the like means that the specific features, structures, materials, or characteristics described in connection with the embodiments or examples are included in at least one embodiment or example of the present application. In the present specification, the illustrative description of the above terms does not necessarily refer to the same embodiment or example.
[0102] The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist contradictory, it should be considered as the scope of the present application.
[0103] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.
Claims
1. An oscillation circuit characterized by comprising: The mirror unit and The first switch unit is connected with the mirror unit and is configured to receive a first current signal provided by the mirror unit; the first switch unit comprises a first switch tube and an impedance unit; The second switch unit is connected with the mirror unit and is configured to receive a second current signal provided by the mirror unit; The first current signal and the second current signal are mirror current signals; The comparison unit is connected with the second switch unit and is configured to store energy according to the second current signal and provide a clamping voltage; if the clamping voltage exceeds a first threshold voltage, the second switch unit is connected to the ground to control the comparison unit to discharge; if the clamping voltage is less than or equal to a second threshold voltage, the comparison unit continues to charge; the first threshold voltage is greater than the second threshold voltage; a first end of the first switch tube is connected with the mirror unit, a second end of the first switch tube is connected with the comparison unit, and a control end of the first switch tube is connected with a first end of the impedance unit; a second end of the impedance unit is connected with the comparison unit; the comparison unit comprises a third switch tube, a fourth switch tube and a capacitive reactance unit; a first end of the third switch tube is connected with the mirror unit, a second end of the third switch tube is connected with a second end of the capacitive reactance unit, and a control end of the third switch tube is connected with a first end of the capacitive reactance unit; the first threshold voltage is the size of the threshold voltage of the first switch tube and the size of the threshold voltage of the third switch tube; a first end of the fourth switch tube is connected with the first end of the capacitive reactance unit, a second end of the fourth switch tube is connected with the second end of the capacitive reactance unit, and a control end of the fourth switch tube is connected with a node VB; when the voltage of the node VB flips, the fourth switch tube is turned on, the capacitive reactance unit discharges, when the voltage of the node VB flips again, the fourth switch tube is turned off, and the capacitive reactance unit charges according to the second current signal to generate an oscillation signal of a target frequency; the first current signal is only related to the first switch tube and the impedance unit, and the target frequency is only related to the capacitance value of the capacitive reactance unit and the resistance value of the impedance unit.
2. The oscillator circuit of claim 1, wherein The first switch unit is configured to: When the first switch tube is turned on, the first switch unit receives the first current signal provided by the mirror unit; the first current signal flows through the impedance unit to the ground; The second switch unit comprises a second switch tube; a first end of the second switch tube is connected with the mirror unit, and a second end and a control end of the second switch tube are connected with the comparison unit; the second switch unit is configured to: When the second switch tube is turned on, the second switch unit receives the second current signal provided by the mirror unit.
3. The oscillator circuit of claim 2, wherein When the first switch tube is turned on, the first current signal is determined based on the following formula: I1 = V th1 / R1; wherein I1 is a magnitude of the first current signal; V th1 is a magnitude of the threshold voltage of the first switch tube; and R1 is a resistance value of the impedance unit. The second current signal is determined based on the following formula: I2= V th1 R1; wherein I2 is a magnitude of the second current signal.
4. The oscillator circuit of claim 1, wherein The oscillation circuit further comprises a waveform shaping unit; The waveform shaping unit is connected with the comparison unit and is configured to shape the signal output by the comparison unit.
5. The oscillator circuit of claim 2, wherein, The first switch tube is a metal oxide semiconductor field effect tube, a junction field effect tube or a triode.
6. The oscillator circuit of claim 5, wherein, The first switch tube is an NMO S tube; a gate of the first switch tube is a control end of the first switch tube.
7. The oscillator circuit of claim 6, wherein The third switch tube is a metal oxide semiconductor field effect tube, a junction field effect tube or a triode.
8. The oscillator circuit of claim 7, wherein, The third switch tube is an NMO S tube; a gate of the third switch tube is a control end of the third switch tube.
9. The oscillator circuit of claim 1, wherein, The mirror unit includes a current mirror.
10. An electronic device, comprising: An oscillation circuit comprising any one of claims 1 to 9.
Citation Information
Patent Citations
Ring oscillation circuit
CN107370473A
Oscillator
CN201854256U