Digital oscillator
By using the first delay circuit, the second delay circuit and the trigger circuit in the digital oscillator, the problems of complex design and high power consumption of traditional analog oscillators are solved, the oscillation circuit operation in a low-power consumption scenario is realized, and the cost is reduced Design complexity and power consumption.
Patent Information
- Application Number
- CN202420365744.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-27
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2034-02-27
AI Technical Summary
The design of traditional analog oscillators is complex, increases chip area and power consumption, and has no advantages in low-power consumption scenarios.
Design a digital oscillator, including a first delay circuit, a second delay circuit and a trigger circuit. Through these circuits, the oscillator circuit can work in a low-power consumption scenario, using the preset time of the first delay circuit and the second delay circuit. Delay the output clock signal, and the trigger circuit updates the output state according to the input signal to generate a square wave clock signal with stable frequency.
It realizes the operation of the oscillator circuit in a scenario with a small number of devices, small occupation area, and low power consumption, reducing design complexity and power consumption, and improving the integration of the oscillator.
Smart Images

Figure CN221886451U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of oscillators, in particular to a digital oscillator. Background Art
[0002] Traditional oscillators are mainly analog oscillators, which use capacitors, inductors, crystals and other electronic components to generate frequency signals. These electronic components can generate continuously changing analog signals. However, traditional analog oscillators need to carefully consider the loop Barkhausen criterion and loop stability issues. The design process is relatively cumbersome, increasing circuit complexity, chip area and power consumption. In the context of increasing chip integration and decreasing power consumption, traditional analog oscillators do not have an advantage. Utility Model Content
[0003] The main purpose of the utility model is to provide a digital oscillator, which has the characteristics of simple structure and small occupied area, and can realize the operation of the oscillation circuit in a low-power circuit scenario.
[0004] The utility model provides a digital oscillator, the digital oscillator comprising: a first delay circuit, the input end of the first delay circuit is used to access a pull-up signal; the first delay circuit is used to output a first clock signal after delaying to a first preset time when receiving the pull-up signal; a trigger circuit, the controlled end of the trigger circuit is connected to the output end of the first delay circuit, the reset end of the trigger circuit is used to access the pull-up signal, and the input end of the trigger circuit is used to access the power supply end; the trigger circuit is used to reset when receiving the pull-up signal via the reset end, so that the output state of the output end is reset to the initial state, and the first clock signal is received via the controlled end; a second delay circuit, the first input end of the second delay circuit is connected to the output end of the first delay circuit, the reset end of the trigger circuit is used to access the pull-up signal, and the input end of the trigger circuit is used to access the power supply end; the trigger circuit is used to reset when receiving the pull-up signal via the reset end, so that the output state of the output end is reset to the initial state, and the first clock signal is received via the controlled end; Used to access the pull-up signal, the second input end of the second delay circuit is connected to the output end of the trigger circuit, and the output end of the second delay circuit is respectively connected to the input end of the first delay circuit and the reset end of the trigger circuit; the second delay circuit is used to output a pull-down signal to the first delay circuit and the trigger circuit after delaying to a second preset time when the first input end is not connected to the pull-up signal, so that the first delay circuit outputs a second clock signal to the trigger circuit after delaying to a first preset time; the trigger circuit is also used to update the output state of the output end according to the input signal of the input end when the controlled end receives the second clock signal, so as to output a first voltage signal consistent with the voltage of the power supply end through the output end.
[0005] Optionally, the first clock signal is a high-level signal, and the second clock signal is a low-level signal.
[0006] Optionally, the second delay circuit is further used to output a pull-up signal to the trigger circuit and the first delay circuit after delaying to a second preset time when receiving the first voltage signal of the trigger circuit; the first delay circuit is further used to output a third clock signal to the trigger circuit after delaying to a first preset time when receiving the pull-up signal; the trigger circuit is further used to reset when receiving the pull-up signal via the reset end, so that the output state of the output end is reset to an initial state, and receive the third clock signal via the controlled end.
[0007] Optionally, the second delay circuit is further used to output a pull-down signal to the trigger circuit and the first delay circuit after a delay of a second preset time when the output state of the trigger circuit is an initial state; the first delay circuit is further used to output a fourth clock signal after a delay of a first preset time when receiving the pull-down signal; the trigger circuit is further used to update the output state of the output end according to the input signal of the input end when receiving the fourth clock signal via the controlled end, so as to output a second voltage signal consistent with the voltage of the power supply end through the output end.
[0008] Optionally, the third clock signal is a high level signal, and the fourth clock signal is a low level signal.
[0009] Optionally, the digital oscillator also includes: a reset control circuit, the input end of the reset control circuit is used to connect to the power supply end, and the output end of the reset control circuit is respectively connected to the first delay circuit and the trigger circuit; the reset control circuit is used to output a pull-up signal to the first delay circuit and the trigger circuit within a third preset time after power-on, and stop outputting the pull-up signal to the first delay circuit and the trigger circuit after the third preset time is reached.
[0010] Optionally, the reset control circuit includes: a power-on reset circuit, which is used to output a turn-on signal within a third preset time after power-on, and output a turn-off signal after the third preset time is reached; a switching circuit, wherein the controlled end of the switching circuit is connected to the power-on reset circuit, and the output end of the switching circuit is respectively connected to the first delay circuit and the trigger circuit, and the interconnection point thereof is used to connect to the ground end; the switching circuit is used to turn on the path between the power supply end and the ground end when receiving a turn-on signal, and output a pull-up signal to the first delay circuit and the trigger circuit; and to turn off the path between the power supply end and the ground end when receiving a turn-off signal, and stop outputting the pull-up signal to the first delay circuit and the trigger circuit.
[0011] Optionally, the switch circuit includes: a MOS tube, a controlled end of the MOS tube is connected to the power-on reset circuit, an output end of the MOS tube is respectively connected to the first delay circuit and the trigger circuit, and their interconnection points are used to connect to the ground end.
[0012] Optionally, the trigger circuit includes: a trigger, the trigger having a clock pin, a reset pin, an input pin and an output pin; the clock pin is connected to the output end of the first delay circuit, the reset pin is used to access the pull-up signal, the interconnection point is connected to the output end of the second delay circuit, the input pin is used to access the power supply end, and the output pin is connected to the second input end of the second delay circuit.
[0013] Optionally, the first preset time is set in the range of 1ns to 5ns.
[0014] The utility model proposes a digital oscillator, including: a first delay circuit, a second delay circuit and a trigger circuit. When the first delay circuit receives a pull-up signal, it delays to a first preset time and then outputs a first clock signal; when the trigger circuit receives the pull-up signal, it resets so that the output state of the output terminal is reset to the initial state, and receives the first clock signal at the same time; when the second delay circuit is not connected to the pull-up signal, it delays to a second preset time and then outputs a pull-down signal to the first delay circuit, so that the first delay circuit delays to a first preset time and then outputs a second clock signal to the trigger circuit; when the trigger circuit receives the second clock signal, it generates a falling edge, updates the output state of the output terminal according to the input signal of the input terminal, and outputs a first voltage signal consistent with the voltage of the power supply terminal through the output terminal. The utility model realizes the operation of the oscillation circuit in a scenario where the number of devices is small, the occupied area is small, and the power consumption is low. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0016] Figure 1 This is a circuit flow chart of a digital oscillator of the utility model;
[0017] Figure 2 This is a circuit flow chart of another embodiment of a digital oscillator of the utility model.
[0018] The realization of the purpose, functional features and advantages of the utility model will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0020] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back...), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0021] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the utility model, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, if the meaning of "and / or" appearing in the full text is to include three parallel schemes, taking "A and / or B" as an example, it includes scheme A, or scheme B, or a scheme that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the utility model.
[0022] It is understandable that the design process of traditional analog oscillators is relatively cumbersome, increasing circuit complexity, chip area and power consumption. In the context of increasingly higher chip integration and lower power consumption, traditional analog oscillators do not have an advantage.
[0023] Therefore, in order to reduce the design cost of the oscillator, the utility model proposes a digital oscillator, referring to Figure 1 , the digital oscillator comprises: a second delay circuit 30 and a trigger circuit 20;
[0024] A first delay circuit 10, wherein an input end of the first delay circuit 10 is used to receive a pull-up signal; the first delay circuit 10 is used to output a first clock signal after delaying for a first preset time when receiving the pull-up signal;
[0025] A trigger circuit 20, wherein a controlled end of the trigger circuit 20 is connected to an output end of the first delay circuit 10, a reset end of the trigger circuit 20 is used to access a pull-up signal, and an input end of the trigger circuit 20 is used to access a power supply end VDD; the trigger circuit 20 is used to reset when receiving the pull-up signal via the reset end, so that the output state of the output end is reset to an initial state, and receive the first clock signal via the controlled end;
[0026] A second delay circuit 30, wherein the first input end of the second delay circuit 30 is used to receive a pull-up signal, the second input end of the second delay circuit 30 is connected to the output end of the trigger circuit 20, and the output end of the second delay circuit 30 is respectively connected to the input end of the first delay circuit 10 and the reset end of the trigger circuit 20; the second delay circuit 30 is used to output a pull-down signal to the first delay circuit 10 and the trigger circuit 20 after delaying to a second preset time when the pull-up signal is not received at the first input end, so that the first delay circuit 10 outputs a second clock signal to the trigger circuit 20 after delaying to the first preset time;
[0027] The trigger circuit 20 is further configured to update the output state of the output terminal according to the input signal of the input terminal when receiving the second clock signal via the controlled terminal, so as to output a first voltage signal consistent with the voltage of the power terminal VDD through the output terminal.
[0028] It is understandable that the design process of a traditional analog oscillator is relatively cumbersome, and its internal circuit is complex, which increases the chip area and power consumption. In order to overcome the above problems, the utility model proposes a digital oscillator, which realizes the operation of the oscillation circuit through a first delay circuit 10, a second delay circuit 30 and a trigger circuit 20 in a scenario with a small number of components, a small occupied area and low power consumption.
[0029] In this embodiment, the trigger circuit 20 is implemented by a trigger U1. In practical applications, when the power supply terminal VDD is not powered on, the voltages outputted by the controlled terminal of the trigger U1, the reset terminal of the trigger U1, and the output terminal of the trigger U1 are all 0, thereby forming a stable state of the circuit; when the power supply terminal VDD is powered on, the circuit generates a pull-up signal accordingly and delays to a third preset time. The input terminal of the first delay circuit 10 is connected to the pull-up signal, and after delaying to the first preset time, the first clock signal is output to the controlled terminal of the trigger U1. Since the pull-up signal is a high-level signal, the first clock signal corresponds to a high-level signal. When the first delay circuit 10 is connected to the pull-up signal, the reset terminal of the trigger U1 is connected to the pull-up signal. Since the pull-up signal is a high-level signal, the trigger U1 is reset, so that the output state of its output terminal is reset to the initial state, that is, the output terminal of the trigger U1 outputs logic 0; after the power supply terminal VDD is powered on and delayed to the third preset time, the circuit stops generating the pull-up signal. At this time, since the output end of the trigger U1 outputs logic 0 and no pull-up signal is connected to the second delay circuit 30, the second delay circuit 30 outputs a pull-down signal to the input end of the first delay circuit 10 and the reset end of the trigger U1 after the second preset time. The access end of the first delay circuit 10 receives the pull-down signal, and outputs the second clock signal to the controlled end of the trigger U1 after the first preset time. Since the pull-down signal is a low-level signal, the second clock signal corresponds to a low-level signal. The controlled end of the trigger U1 receives the low-level signal, and the controlled end of the trigger U1 changes from the original high-level signal to a low-level signal, generating a falling edge. The trigger U1 updates the output state of the output end according to the input signal of the input end, so as to output a signal consistent with the input end through the output end. Since the input end of the trigger U1 is connected to the power supply end VDD, when a falling edge is generated, the output end of the trigger U1 outputs a first voltage signal consistent with the voltage of the power supply end VDD. In this cycle, the trigger U1 periodically outputs a voltage signal to generate a square wave clock signal with a stable frequency, thereby realizing the operation of the oscillation circuit.
[0030] It should be understood that, since the second delay circuit 30 is respectively connected to the output end of the trigger U1 and the reset end of the trigger U1, when the output end of the trigger U1 currently outputs a logic 0, the second delay circuit 30 should output a pull-down signal to the output end of the trigger U1 and the reset end of the trigger U1. However, due to the existence of the pull-up signal, the pull-down capability of the second delay circuit 30 is not as good as the pull-up capability brought by the power supply terminal VDD being powered on, and the second delay circuit 30 outputs a pull-up signal to the reset end of the trigger U1, so that the trigger U1 is reset. That is, although the trigger U1 outputs a logic 0 after being reset, as long as the pull-up signal generated by the power supply terminal VDD being powered on is connected to the second delay circuit 30, the level of the reset end of the trigger U1 will be pulled high, and the output end of the trigger U1 outputs a logic 0.
[0031] In addition, the first delay circuit 10 is used to eliminate the competition and hazard between the controlled end of the trigger U1 and the reset end of the trigger U1; the second delay circuit 30 is used to eliminate the competition and hazard between the output end of the trigger U1 and the reset end of the trigger U1. The first preset time generated by the first delay circuit 10 can be several nanoseconds, and the second preset time generated by the second delay circuit 30 can adjust the frequency of the output voltage signal of the trigger U1. The longer the second preset time delay is, the lower the clock frequency is.
[0032] The utility model provides a digital oscillator, which includes: a first delay circuit 10, a second delay circuit 30 and a trigger circuit 20. The input end of the first delay circuit 10 is used to access a pull-up signal; the controlled end of the trigger circuit 20 is connected to the output end of the first delay circuit 10, the reset end of the trigger circuit 20 is used to access the pull-up signal, and the input end of the trigger circuit 20 is used to access the power supply end VDD; the first input end of the second delay circuit 30 is used to access the pull-up signal, the second input end of the second delay circuit 30 is connected to the output end of the trigger circuit 20, and the output end of the second delay circuit 30 is respectively connected to the input end of the first delay circuit 10 and the reset end of the trigger circuit 20. In practical applications, when the first delay circuit 10 receives a pull-up signal, it delays to a first preset time before outputting a first clock signal; when the trigger circuit 20 receives a pull-up signal, it resets so that the output state of the output terminal is reset to the initial state, and receives the first clock signal at the same time; when the second delay circuit 30 is not connected to the pull-up signal, it delays to a second preset time before outputting a pull-down signal to the first delay circuit 10, so that the first delay circuit 10 delays to a first preset time before outputting a second clock signal to the trigger circuit 20; when the trigger circuit 20 receives the second clock signal, it generates a falling edge, updates the output state of the output terminal according to the input signal of the input terminal, and outputs a first voltage signal consistent with the voltage of the power supply terminal VDD through the output terminal. The utility model realizes the operation of the oscillation circuit through the first delay circuit 10, the second delay circuit 30 and the trigger circuit 20 in a scenario with a small number of devices, a small occupied area and low power consumption.
[0033] In one embodiment, the first clock signal is a high level signal, and the second clock signal is a low level signal.
[0034] It can be understood that the controlled end of the trigger circuit 20 receives the second clock signal after a period of time after receiving the first clock signal. Since the first clock signal is a high-level signal and the second clock signal is a low-level signal, the controlled end of the trigger circuit 20 changes from the original high-level signal to a low-level signal, and the trigger circuit 20 generates a falling edge and updates the output state of the output end according to the input signal of the input end.
[0035] In one embodiment, referring to Figure 1The second delay circuit 30 is further used to output a pull-up signal to the trigger circuit 20 and the first delay circuit 10 after delaying to a second preset time when receiving the first voltage signal of the trigger circuit 20;
[0036] The first delay circuit 10 is further used to output a third clock signal to the trigger circuit 20 after delaying to a first preset time when receiving the pull-up signal;
[0037] The trigger circuit 20 is further configured to reset when receiving the pull-up signal via the reset end, so that the output state of the output end is reset to the initial state, and receive the third clock signal via the controlled end;
[0038] The second delay circuit 30 is further used for outputting a pull-down signal to the trigger circuit 20 and the first delay circuit 10 after a delay of a second preset time when the output state of the trigger circuit 20 is an initial state;
[0039] The first delay circuit 10 is further used to output a fourth clock signal after delaying to a first preset time when receiving a pull-down signal;
[0040] The trigger circuit 20 is further configured to update the output state of the output terminal according to the input signal of the input terminal when receiving the fourth clock signal via the controlled terminal, so as to output a second voltage signal consistent with the voltage of the power terminal VDD through the output terminal.
[0041] It can be understood that, in this embodiment, the trigger circuit 20 is implemented by a trigger U1. The trigger U1 outputs a first voltage signal to the second delay circuit 30 when a falling edge is generated. Since the first voltage signal is the same as the voltage of the power supply terminal VDD, the first voltage signal is a high-level signal. The second delay circuit 30 outputs a pull-up signal to the reset end of the trigger circuit 20 and the input end of the first delay circuit 10 after delaying to the second preset time. The input end of the first delay circuit 10 is connected to the pull-up signal, and after delaying to the first preset time, the third clock signal is output to the controlled end of the trigger U1. Since the pull-up signal is a high-level signal, the third clock signal corresponds to a high-level signal. When the first delay circuit 10 is connected to the pull-up signal, the reset end of the trigger U1 is connected to the pull-up signal. Since the pull-up signal is a high-level signal, the trigger U1 is reset to reset the output state of its output end to the initial state, that is, the output end of the trigger U1 outputs logic 0; when the output end of the trigger U1 is currently outputting logic 0, the second delay circuit 30 outputs a pull-down signal to the reset end of the trigger circuit 20 and the input end of the first delay circuit 10 after delaying to the second preset time. The input end of the first delay circuit 10 is connected to the pull-up signal, and after delaying to the first preset time, the fourth clock signal is output to the controlled end of the trigger U1. Since the pull-down signal is a low-level signal, the fourth clock signal corresponds to a low-level signal. The controlled end of the trigger U1 receives the low-level signal, and the controlled end of the trigger U1 changes from the original high-level signal to the low-level signal, generating a falling edge. The trigger U1 updates the output state of the output end according to the input signal of the input end to output a second voltage signal consistent with the voltage of the power supply end VDD.
[0042] It should be understood that the above signal oscillation process is realized after the power supply terminal VDD is powered on for a period of time. The first delay circuit 10, the second delay circuit 30 and the trigger circuit 20 cooperate with each other to realize the cycle, so that the trigger U1 periodically outputs a voltage signal to generate a square wave clock signal with a stable frequency.
[0043] In one embodiment, the third clock signal is a high level signal, and the fourth clock signal is a low level signal.
[0044] It can be understood that the controlled end of the trigger circuit 20 receives the fourth clock signal after a period of time after receiving the third clock signal. Since the third clock signal is a high-level signal and the fourth clock signal is a low-level signal, the controlled end of the trigger circuit 20 changes from the original high-level signal to a low-level signal, and the trigger circuit 20 generates a falling edge and updates the output state of the output end according to the input signal of the input end.
[0045] In one embodiment, referring to Figure 2 , the digital oscillator further comprises:
[0046] A reset control circuit 40, wherein the input end of the reset control circuit 40 is used to access the power supply end VDD, and the output end of the reset control circuit 40 is respectively connected to the first delay circuit 10 and the trigger circuit 20;
[0047] The reset control circuit 40 is used to output a pull-up signal to the first delay circuit 10 and the trigger circuit 20 within a third preset time after power-on, and stop outputting the pull-up signal to the first delay circuit 10 and the trigger circuit 20 after the third preset time is reached.
[0048] It can be understood that in this embodiment, the digital oscillator also includes a reset control circuit 40. Since the voltages outputted by the controlled end of the trigger U1, the reset end of the trigger U1, and the output end of the trigger U1 are all 0 when the power supply terminal VDD is not powered on, a stable state of the circuit is formed. The reset control circuit 40 is used to break this stable state by outputting a pull-up when the power supply terminal VDD is powered on, so as to maintain the output of the pull-up signal to the first delay circuit 10, the second delay circuit 30, and the trigger U1 within a third preset time. After the third preset time is reached, the reset control circuit 40 stops outputting the pull-up signal and changes to outputting a stable power supply voltage.
[0049] In one embodiment, referring to Figure 2 , the reset control circuit 40 comprises:
[0050] A power-on reset circuit 410, configured to output a turn-on signal within a third preset time after power-on, and output a turn-off signal after the third preset time is reached;
[0051] A switch circuit, wherein a controlled end of the switch circuit is connected to the power-on reset circuit 410, an output end of the switch circuit is respectively connected to the first delay circuit 10 and the trigger circuit 20, and a connection point thereof is used to connect to a ground end;
[0052] The switching circuit is used to turn on the path between the power supply terminal VDD and the ground terminal when receiving a turn-on signal, and output a pull-up signal to the first delay circuit 10 and the trigger circuit 20; and to turn off the path between the power supply terminal VDD and the ground terminal when receiving a turn-off signal, and stop outputting the pull-up signal to the first delay circuit 10 and the trigger circuit 20.
[0053] It can be understood that in this embodiment, when the power supply terminal VDD is powered on, the power-on reset circuit 410 maintains the output of a low-level signal within the third preset time, and the low-level signal corresponds to the conduction signal mentioned in the above content. The low-level signal puts the switch circuit in the on state to conduct the path between the power supply terminal VDD and the ground terminal. At the same time, the switch circuit outputs a high-level signal to the first delay circuit 10 and the trigger circuit 20 due to its pull-up capability, so that the trigger circuit 20 is reset and outputs logic 0, and also causes the controlled end of the trigger circuit 20 to receive the high-level signal; after the third preset time after the power supply terminal VDD is powered on, the power-on reset circuit 410 outputs a high-level signal, and the high-level signal corresponds to the shutdown signal mentioned in the above content. The high-level signal puts the switch circuit in the off state to shut off the path between the power supply terminal VDD and the ground terminal. At the same time, the switch circuit loses its pull-up capability due to being in the off state, and the reset end and the controlled end of the trigger circuit 20 change according to the output end of the second delay circuit 30.
[0054] In one embodiment, referring to Figure 2 , the switch circuit comprises:
[0055] MOS transistor Q1, the controlled end of the MOS transistor Q1 is connected to the power-on reset circuit 410, the output end of the MOS transistor Q1 is respectively connected to the first delay circuit 10 and the trigger circuit 20, and the interconnection point is used to connect the ground end.
[0056] It can be understood that in this embodiment, when the power supply terminal VDD is powered on, the power-on reset circuit 410 maintains the output of a low-level signal within the third preset time, and the low-level signal puts the MOS tube Q1 in a conducting state to conduct the path between the power supply terminal VDD and the ground terminal. At the same time, the MOS tube Q1 outputs a high-level signal to the first delay circuit 10 and the trigger circuit 20 due to its pull-up capability, so that the trigger circuit 20 is reset and outputs a logic 0, and also causes the controlled end of the trigger circuit 20 to receive the high-level signal; after the third preset time after the power supply terminal VDD is powered on, the power-on reset circuit 410 outputs a high-level signal, and the high-level signal puts the MOS tube Q1 in a shut-off state to shut off the path between the power supply terminal VDD and the ground terminal. At the same time, the MOS tube Q1 loses its pull-up capability due to being in the shut-off state, and the reset end and the controlled end of the trigger circuit 20 change according to the output end of the second delay circuit 30.
[0057] In one embodiment, referring to Figure 2 , the trigger circuit 20 comprises:
[0058] A trigger U1, wherein the trigger U1 has a clock pin CLK, a reset pin RESET, an input pin D and an output pin Q;
[0059] The clock pin CLK is connected to the output end of the first delay circuit 10, the reset pin RESET is used to access the pull-up signal, and their interconnection point is connected to the output end of the second delay circuit 30, the input pin D is used to access the power supply terminal VDD, and the output pin Q is connected to the second input end of the second delay circuit 30.
[0060] It can be understood that, in the present embodiment, when the reset pin RESET of the trigger U1 is connected to a high-level signal, the trigger U1 is reset, so that the output state of its output pin Q is reset to the initial state, and the output pin Q of the trigger U1 outputs logic 0; the clock pin CLK of the trigger U1 is connected to a high-level signal and a low-level signal after a period of time, and the trigger U1 generates a falling edge to update the output state of the output pin Q according to the input signal of the input pin D, so as to output a signal consistent with the input pin D through the output pin Q.
[0061] In one embodiment, the first preset time is set in the range of 1 ns to 5 ns.
[0062] It can be understood that the first delay circuit 10 is used to eliminate the competition and hazard between the controlled end of the trigger U1 and the reset end of the trigger U1. The first preset time generated by the first delay circuit 10 can be several nanoseconds. In this embodiment, the first preset time is set in the range of 1ns to 5ns.
[0063] The above embodiments are only preferred embodiments of the present invention, and do not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by 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 digital oscillator, It is characterized in that The digital oscillator comprises: A first delay circuit, wherein an input end of the first delay circuit is used to receive a pull-up signal; the first delay circuit is used to output a first clock signal after delaying for a first preset time when receiving the pull-up signal; a trigger circuit, wherein a controlled end of the trigger circuit is connected to an output end of the first delay circuit, a reset end of the trigger circuit is used to access a pull-up signal, and an input end of the trigger circuit is used to access a power supply end; the trigger circuit is used to reset when receiving the pull-up signal via the reset end, so that an output state of the output end is reset to an initial state, and receive the first clock signal via the controlled end; a second delay circuit, wherein the first input end of the second delay circuit is used to receive a pull-up signal, the second input end of the second delay circuit is connected to the output end of the trigger circuit, and the output end of the second delay circuit is respectively connected to the input end of the first delay circuit and the reset end of the trigger circuit; the second delay circuit is used to output a pull-down signal to the first delay circuit and the trigger circuit after delaying to a second preset time when the first input end is not connected to the pull-up signal, so that the first delay circuit outputs a second clock signal to the trigger circuit after delaying to the first preset time; The trigger circuit is also used to update the output state of the output end according to the input signal of the input end when receiving the second clock signal via the controlled end, so as to output a first voltage signal consistent with the voltage of the power supply end through the output end.
2. The digital oscillator as claimed in claim 1, It is characterized in that The first clock signal is a high level signal, and the second clock signal is a low level signal.
3. The digital oscillator as claimed in claim 1, It is characterized in that The second delay circuit is further configured to output a pull-up signal to the trigger circuit and the first delay circuit after delaying to a second preset time when receiving the first voltage signal of the trigger circuit; The first delay circuit is further used for outputting a third clock signal to the trigger circuit after delaying to a first preset time when receiving the pull-up signal; The trigger circuit is further used for resetting when receiving the pull-up signal via the reset end, so that the output state of the output end is reset to the initial state, and receiving the third clock signal via the controlled end.
4. The digital oscillator as claimed in claim 3, It is characterized in that The second delay circuit is further used for outputting a pull-down signal to the trigger circuit and the first delay circuit after a delay of a second preset time when the output state of the trigger circuit is an initial state; The first delay circuit is further used for outputting a fourth clock signal after delaying for a first preset time when receiving a pull-down signal; The trigger circuit is also used to update the output state of the output end according to the input signal of the input end when receiving the fourth clock signal via the controlled end, so as to output a second voltage signal consistent with the voltage of the power supply end through the output end.
5. The digital oscillator as claimed in claim 4, It is characterized in that The third clock signal is a high level signal, and the fourth clock signal is a low level signal.
6. The digital oscillator as claimed in claim 1, It is characterized in that The digital oscillator further comprises: A reset control circuit, wherein an input end of the reset control circuit is used to access a power supply end, and an output end of the reset control circuit is respectively connected to the first delay circuit and the trigger circuit; The reset control circuit is used to output a pull-up signal to the first delay circuit and the trigger circuit within a third preset time after power-on, and stop outputting the pull-up signal to the first delay circuit and the trigger circuit after the third preset time is reached.
7. The digital oscillator as claimed in claim 6, It is characterized in that The reset control circuit comprises: A power-on reset circuit, configured to output a turn-on signal within a third preset time after power-on, and output a turn-off signal after the third preset time is reached; A switch circuit, wherein a controlled end of the switch circuit is connected to the power-on reset circuit, an output end of the switch circuit is respectively connected to the first delay circuit and the trigger circuit, and a connection point thereof is used to connect to a ground end; The switching circuit is used to turn on the path between the power supply terminal and the ground terminal when receiving a turn-on signal, and output a pull-up signal to the first delay circuit and the trigger circuit; and to turn off the path between the power supply terminal and the ground terminal when receiving a turn-off signal, and stop outputting the pull-up signal to the first delay circuit and the trigger circuit.
8. The digital oscillator as claimed in claim 7, It is characterized in that The switch circuit comprises: A MOS tube, wherein the controlled end of the MOS tube is connected to the power-on reset circuit, the output end of the MOS tube is respectively connected to the first delay circuit and the trigger circuit, and the interconnection point thereof is used to connect to the ground end.
9. The digital oscillator as claimed in claim 1, It is characterized in that The trigger circuit comprises: A trigger, wherein the trigger has a clock pin, a reset pin, an input pin and an output pin; The clock pin is connected to the output end of the first delay circuit, the reset pin is used to access the pull-up signal, and the interconnection point is connected to the output end of the second delay circuit, the input pin is used to access the power supply end, and the output pin is connected to the second input end of the second delay circuit.
10. The digital oscillator according to claim 1, It is characterized in that The first preset time is set in the range of 1ns~5ns.
