A CMOS ring oscillator with adjustable pulse width and frequency
By designing inverted output Schmitt flip-flop and output stage circuit in the ring oscillator, the frequency and pulse width are adjusted by resistors and capacitors, the problem of unadjustable frequency and pulse width of the ring oscillator is solved, and the accuracy of the circuit is improved and anti-interference ability.
Patent Information
- Application Number
- CN201911312654.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-18
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2039-12-18
AI Technical Summary
The existing ring oscillators have high frequency and unadjustable frequency and pulse width, which leads to deviations from the actual test frequency and pulse width from the simulation value, reducing the accuracy of the circuit.
A CMOS ring oscillator including an inverted output Schmitt flip-flop and an output stage circuit is designed. The waveform of the inductor capacitor charge and discharge circuit is adjusted through the difference characteristics of the Schmitt flip-flop, and the frequency is employed by resistors and capacitors. and pulse width adjustment.
The frequency and pulse width adjustment is achieved, the circuit's anti-interference ability and design flexibility are improved, and the integration and practicality are enhanced.
Smart Images

Figure CN110943713B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of clock oscillators, and in particular relates to a CMOS ring oscillator with adjustable pulse width and frequency. Background Art
[0002] An oscillator circuit is a circuit that converts direct current into an alternating current signal with a certain frequency through self-excitation. With the development of integrated circuit technology, the position of oscillators in chips has become increasingly important. In order to meet the requirements of different types of oscillators in different occasions, new oscillators with various structures have emerged. Ring oscillators are widely used in integrated circuit chips because of their easy implementation, low power consumption, high integration and small chip area. For example, in phase-locked loop circuits, the Schmitt trigger is the most important component of the ring oscillator.
[0003] Currently, the frequency of the ring oscillator is high and the frequency and pulse width are not adjustable. Due to the influence of process manufacturing, the frequency and pulse width of the actual test deviate from the simulation value, which reduces the circuit accuracy. Summary of the invention
[0004] In order to solve the above problems, the present invention provides a CMOS ring oscillator with adjustable pulse width and frequency, including an inverting output Schmitt trigger and an output stage circuit connected thereto, which uses the hysteresis characteristic of the Schmitt trigger to adjust the waveform of the inductor and capacitor charging and discharging loop, thereby improving the anti-interference ability of the circuit. Even if the input signal contains a large amount of noise, a good pulse signal is generated after passing through the Schmitt trigger.
[0005] As a further illustration of the above scheme, the inverting output type Schmitt trigger includes a first P-type MOS transistor, a second P-type MOS transistor, a third P-type MOS transistor, a fourth P-type MOS transistor, a first N-type MOS transistor, a second N-type MOS transistor, a third N-type MOS transistor, a fourth N-type MOS transistor, an input end, and an output end;
[0006] The source of the first P-type MOS tube, the source of the third P-type MOS tube, and the source of the fourth P-type MOS tube are connected to a power source;
[0007] The gate of the first P-type MOS transistor, the gate of the second P-type MOS transistor, the gate of the first N-type MOS transistor, and the gate of the second N-type MOS transistor are connected to the input end;
[0008] The drain of the first P-type MOS transistor, the source of the second P-type MOS transistor and the drain of the third P-type MOS transistor MP3 are connected;
[0009] The drain of the second P-type MOS transistor, the gate of the fourth P-type MOS transistor, the drain of the second N-type MOS transistor MN2 and the gate of the fourth N-type MOS transistor are connected;
[0010] The gate of the third P-type MOS tube, the drain of the fourth P-type MOS tube, the gate of the third N-type MOS tube, and the drain of the fourth N-type MOS tube are connected to the output end;
[0011] The drain of the first N-type MOS tube, the source of the second N-type MOS tube and the drain of the third N-type MOS tube are connected;
[0012] The source of the first N-type MOS transistor, the source of the third N-type MOS transistor, and the source of the fourth N-type MOS transistor are connected to the ground.
[0013] As a further illustration of the above scheme, the output stage circuit includes a fifth N-type MOS transistor, a sixth N-type MOS transistor, a first resistor, a second resistor, a first inverter, a first inverter, a three-input AND gate, and a two-input AND gate;
[0014] The input end of the first inverter, the input end of the third inverter, the input end of the three-input AND gate are connected to the output end of the Schmitt trigger;
[0015] The output end of the first inverter is connected to one end of a first resistor;
[0016] The other end of the first resistor and the gate of the fifth N-type MOS transistor are both connected to the input end of the second inverter;
[0017] The output terminal of the second inverter is connected to the input terminal of the three-input AND gate;
[0018] The output end of the third inverter is connected to the input end of the two-input AND gate;
[0019] The output end of the two-input AND gate is connected to one end of the second resistor;
[0020] The other end of the second resistor, the gate of the sixth N-type MOS transistor and the input end of the Schmitt trigger are connected;
[0021] The drain of the fifth N-type MOS transistor, the source of the fifth N-type MOS transistor, the drain of the sixth N-type MOS transistor, and the source of the sixth N-type MOS transistor are all connected to the ground.
[0022] Beneficial effects of the present invention: The present invention has a simple structure and is easy to implement, and uses an N-type MOS tube as a delay capacitor, which has a smaller area and a higher degree of integration. The delay generated by adjusting the resistor and capacitor can adjust the frequency and pulse width, and the adjustable range is wide, which increases the flexibility of circuit design and has strong practicality. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 : A circuit structure diagram of a CMOS ring oscillator with adjustable pulse width and frequency according to the present invention; DETAILED DESCRIPTION
[0024] The following will be combined with the attached Figure 1 The present invention is further described with reference to the accompanying drawings and embodiments.
[0025] This embodiment provides a CMOS ring oscillator with adjustable pulse width and frequency, which includes an inverting output type Schmitt trigger and an output stage circuit and a power supply VDD connected thereto;
[0026] refer to Figure 1 , the inverting output type Schmitt trigger includes a first P-type MOS transistor MP1, a second P-type MOS transistor MP2, a third P-type MOS transistor MP3, a fourth P-type MOS transistor MP4, a first N-type MOS transistor MN1, a second N-type MOS transistor MN2, a third N-type MOS transistor MN3, a fourth N-type MOS transistor MN4, an input terminal X, and an output terminal Y;
[0027] The connection relationship of each device is as follows: the source of the first P-type MOS transistor MP1, the source of the third P-type MOS transistor MP3, and the source of the fourth P-type MOS transistor MP4 are connected to the power supply VDD, the gate of the first P-type MOS transistor MP1, the gate of the second P-type MOS transistor MP2, the gate of the first N-type MOS transistor MN1, and the gate of the second N-type MOS transistor MN2 are connected to the input terminal signal X, the drain of the first P-type MOS transistor MP1, the source of the second P-type MOS transistor MP2, and the drain of the third P-type MOS transistor MP3 are connected, the drain of the second P-type MOS transistor MP2, the drain of the fourth P-type MOS transistor MP4, and the drain of the fourth P-type MOS transistor MP5 are connected. The gate of the first N-type MOS transistor MN1, the drain of the second N-type MOS transistor MN2 and the gate of the fourth N-type MOS transistor MN4 are connected, the gate of the third P-type MOS transistor MP3, the drain of the fourth P-type MOS transistor MP4, the gate of the third N-type MOS transistor MN3 and the drain of the fourth N-type MOS transistor MN4 are connected to the output terminal signal Y, the drain of the first N-type MOS transistor MN1, the source of the second N-type MOS transistor MN2 and the drain of the third N-type MOS transistor MN3 are connected, and the source of the first N-type MOS transistor, the source of the third N-type MOS transistor MN3 and the source of the fourth N-type MOS transistor MN4 are connected to the ground GND.
[0028] The working process of the Schmitt trigger is as follows: if there is only the inverter composed of the first P-type MOS tube MP1 and the first N-type MOS tube MN1, its forward and reverse conversion levels are both around VDD / 2, and after the second and third P-type MOS tubes MP2 and MP3 and the second and third N-type MOS tubes MN2 and MN3 are added, when the voltage at point X is 0, the first N-type MOS tube MN1 and the second N-type MOS tube MN2 are both turned off. Figure 1When the voltage at point X increases to VTH, the first N-type MOS transistor MN1 is turned on, but at this time, the second N-type MOS transistor MN2 is still turned off due to the high potential of the source terminal. When the voltage at point X increases to VDD / 2, it is still turned off. Only when the voltage at point X increases and the first P-type MOS transistor MP1 and the second P-type MOS transistor MP2 are turned off, the voltage at point M is reduced, and the inverter output Y voltage composed of the fourth P-type MOS transistor MP4 and the fourth N-type MOS transistor MN4 is turned on to a high level. The third N-type MOS transistor MN3 is turned on to pull the source terminal voltage of the second N-type MOS transistor MN2 down to a low level, and the voltage at point M is pulled even lower, until 0V, thus forming a positive feedback. Similarly, when the voltage at point X is VDD, the first P-type MOS transistor MP1 and the second P-type MOS transistor MP2 are both turned off. At this time, the voltage at point M is a low level, and the first N-type MOS transistor MN1 and the second N-type MOS transistor MN2 are both turned on. The voltage at point X needs to be reduced to cut off the first N-type MOS transistor MN1, and the voltage at point M increases, and the voltage at point Y turns to a low level. The third P-type MOS transistor MP3 is turned on to pull the source voltage of the second P-type MOS transistor MP3 down to a high level, and the voltage at point M is pulled higher; therefore, the forward conduction voltage of the Schmitt trigger is greater than VDD / 2, and the reverse conduction voltage is less than VDD / 2, showing a hysteresis characteristic.
[0029] refer to Figure 1 The output stage circuit includes a fifth N-type MOS transistor MN5, a sixth N-type MOS transistor MN5, a first resistor R1, a second resistor R2, a first inverter INV1, a second inverter INV2, a third inverter INV3, a three-input AND gate AND3, and a two-input AND gate AND2;
[0030] The connection relationship of each device is as follows: the input end of the first inverter INV1, the input end of the third inverter INV3, and the input end C of the three-input AND gate are connected to the output end Y of the Schmitt trigger, the output end of the first inverter INV1 is connected to one end of the first resistor R1, the other end of the first resistor R1 and the gate of the fifth N-type MOS transistor MN5 are connected to the input end of the second inverter INV2, the output end of the second inverter INV2 is connected to the input end B of the three-input AND gate AND3, the input end A of the three-input AND gate AND3 and the input end A of the two-input AND gate AND2 are connected to the enable signal The first and second N-type MOS transistors MN6 and MN6 are connected to the input terminal X of the Schmitt trigger, and the drain of the fifth N-type MOS transistor MN5, the source of the fifth N-type MOS transistor MN5, the drain of the sixth N-type MOS transistor MN6, and the source of the sixth N-type MOS transistor MN6 are connected to the ground GND.
[0031] The working process of the output stage circuit is as follows. The output stage circuit is divided into two parts, the upper part and the inverting output type Schmitt trigger form an oscillation loop, and the hysteresis characteristic of the Schmitt trigger is used to rectify the waveform of the loop; the second resistor R2 and the sixth N-type MOS transistor MN6 form a delay unit to control the oscillation frequency of the oscillator, and different oscillation frequencies can be achieved by adjusting the capacitance value of the second resistor R2 or the sixth N-type MOS transistor MN6; the lower part is a clock output circuit; the MOS capacitor formed by the second resistor R2 and the sixth N-type MOS transistor MN6 realizes the frequency adjustment function by changing the delay size; the EN signal is used as the enable signal control terminal, and the oscillator works normally when the high level is high, and the oscillator does not work when the low level is low; the lower part of the output stage realizes the pulse width adjustable function, and the MOS capacitor formed by the first resistor R1 and the fifth N-type MOS transistor MN5 can generate delay, and different delays can be achieved by changing its capacitance value, thereby generating different pulse widths.
[0032] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A CMOS ring oscillator with adjustable pulse width and frequency, It is characterized in that It includes an inverting output type Schmitt trigger and an output stage circuit connected thereto; The inverting output type Schmitt trigger comprises a first P-type MOS tube, a second P-type MOS tube, a third P-type MOS tube, a fourth P-type MOS tube, a first N-type MOS tube, a second N-type MOS tube, a third N-type MOS tube, a fourth N-type MOS tube, an input end, and an output end; The source of the first P-type MOS tube, the source of the third P-type MOS tube, and the source of the fourth P-type MOS tube are connected to a power source; The gate of the first P-type MOS transistor, the gate of the second P-type MOS transistor, the gate of the first N-type MOS transistor, and the gate of the second N-type MOS transistor are connected to the input end; The drain of the first P-type MOS transistor, the source of the second P-type MOS transistor and the drain of the third P-type MOS transistor MP3 are connected; The drain of the second P-type MOS transistor, the gate of the fourth P-type MOS transistor, the drain of the second N-type MOS transistor MN2 and the gate of the fourth N-type MOS transistor are connected; The gate of the third P-type MOS tube, the drain of the fourth P-type MOS tube, the gate of the third N-type MOS tube, and the drain of the fourth N-type MOS tube are connected to the output end; The drain of the first N-type MOS tube, the source of the second N-type MOS tube and the drain of the third N-type MOS tube are connected; The source of the first N-type MOS transistor, the source of the third N-type MOS transistor, and the source of the fourth N-type MOS transistor are connected to the ground; The output stage circuit comprises a fifth N-type MOS transistor, a sixth N-type MOS transistor, a first resistor, a second resistor, a first inverter, a first inverter, a first inverter, a three-input AND gate, and a two-input AND gate; The input end of the first inverter, the input end of the third inverter, the input end of the three-input AND gate are connected to the output end of the Schmitt trigger; The output end of the first inverter is connected to one end of a first resistor; The other end of the first resistor and the gate of the fifth N-type MOS transistor are both connected to the input end of the second inverter; The output terminal of the second inverter is connected to the input terminal of the three-input AND gate; The output end of the third inverter is connected to the input end of the two-input AND gate; The output end of the two-input AND gate is connected to one end of the second resistor; The other end of the second resistor, the gate of the sixth N-type MOS transistor and the input end of the Schmitt trigger are connected; The drain of the fifth N-type MOS tube, the source of the fifth N-type MOS tube, the drain of the sixth N-type MOS tube, and the source of the sixth N-type MOS tube are all connected to the ground; The output stage circuit is divided into two parts, the upper part and the inverting output type Schmitt trigger form an oscillation loop, and the hysteresis characteristic of the Schmitt trigger is used to rectify the waveform of the loop; the second resistor R2 and the sixth N-type MOS transistor MN6 form a delay unit to control the oscillation frequency of the oscillator, and different oscillation frequencies can be achieved by adjusting the capacitance value of the second resistor R2 or the sixth N-type MOS transistor MN6; the lower part is a clock output circuit; the MOS capacitor formed by the second resistor R2 and the sixth N-type MOS transistor MN6 realizes the frequency adjustment function by changing the delay size; the EN signal is used as the enable signal control end, and the oscillator works normally when the high level is high, and the oscillator does not work when the low level is low; the lower part of the output stage realizes the pulse width adjustable function, and the MOS capacitor formed by the first resistor R1 and the fifth N-type MOS transistor MN5 can generate delay, and different delays can be achieved by changing its capacitance value, thereby generating different pulse widths.
