Oscillation circuit and electronic equipment

By designing an oscillator circuit that includes an oscillator, a current supply circuit, and a control circuit, the problems of complex structure and wasted area in existing oscillators are solved, and a simple structure and random frequency adjustment are achieved, making it suitable for RF switching applications.

CN121333231APending Publication Date: 2026-01-13GUANGZHOU HUIZHI MICROELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511507655.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-21
Publication Date
2026-01-13

AI Technical Summary

Technical Problem

Existing oscillators are complex in structure and waste area when generating random output signal frequencies, making it difficult to meet the requirements of radio frequency switches.

Method used

An oscillation circuit is designed, including an oscillator, a current supply circuit, a first control circuit, and a second control circuit. The current supply circuit supplies power to the oscillator, the first control circuit generates voltage and controls the frequency, and the second control circuit changes the charging and discharging current of the capacitor, thereby randomly adjusting the frequency of the output signal.

Benefits of technology

This invention achieves a simple oscillation circuit structure, saves area, allows for random adjustment of the output signal frequency, and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121333231A_ABST
    Figure CN121333231A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an oscillation circuit and electronic equipment, the oscillation circuit comprises an oscillator, a current supply circuit, a first control circuit and a second control circuit, the oscillator comprises a capacitor, and the oscillator is connected with the current supply circuit, the first control circuit and the second control circuit. The current supply circuit is further connected with the first control circuit and the second control circuit, and the first control circuit is further connected with the second control circuit. Wherein the current providing circuit is used for providing current for the oscillator; the oscillator is used for receiving the current and generating an output signal according to the current; the first control circuit is used for receiving the output signal, generating a first voltage according to the output signal and controlling the first voltage according to the frequency of the output signal; and the second control circuit is used for receiving the first voltage, controlling the current of the second control circuit according to the first voltage, and changing the magnitude of the current for charging and discharging the capacitor in the oscillator.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of integrated circuit technology, and more particularly to an oscillation circuit and electronic device. Background Technology

[0002] An oscillator is a device that converts a DC signal into an AC signal with a specific frequency, generating periodic signals. In some applications, the frequency of the oscillator's output signal needs to vary randomly. However, oscillators that generate random output signal frequencies in related technologies have some problems, such as complex structure and wasted space. Summary of the Invention

[0003] This disclosure provides an oscillation circuit and an electronic device.

[0004] In a first aspect, embodiments of this disclosure provide an oscillation circuit, the oscillation circuit including an oscillator, a current supply circuit, a first control circuit, and a second control circuit, the oscillator including a capacitor, the oscillator being connected to the current supply circuit, the first control circuit, and the second control circuit respectively, the current supply circuit being further connected to the first control circuit and the second control circuit respectively, and the first control circuit being further connected to the second control circuit; wherein: The current supply circuit is used to provide current to the oscillator; The oscillator is used to receive the current and generate an output signal based on the current; The first control circuit is configured to receive the output signal, generate a first voltage based on the output signal, and control the first voltage based on the frequency of the output signal. The second control circuit is used to receive the first voltage, control the current of the second control circuit according to the first voltage, and change the magnitude of the current for charging and discharging the capacitor in the oscillator.

[0005] In some embodiments, the oscillation circuit further includes a frequency divider circuit, which is connected to the oscillator and the first control circuit respectively; wherein: The frequency divider circuit is used to receive the output signal, perform frequency division processing on the output signal, and generate a frequency-divided signal. The first control circuit is configured to receive the frequency division signal, generate a second voltage based on the frequency division signal, and control the second voltage based on the frequency of the frequency division signal. The second control circuit is used to receive the second voltage, control the current of the second control circuit according to the second voltage, and change the magnitude of the current for charging and discharging the capacitor in the oscillator.

[0006] In some embodiments, the frequency divider circuit includes N flip-flops, where N is an integer greater than 0; wherein: The frequency of the frequency division signal is the frequency of the output signal. .

[0007] In some embodiments, when N equals 1, the clock terminal of the first flip-flop is used to receive the output signal, the input terminal of the first flip-flop is connected to the second output terminal of the first flip-flop, and the first output terminal of the first flip-flop is used to output the frequency division signal; When N is greater than 1, the input terminal of each of the second to Nth flip-flops is connected to the first output terminal of the previous flip-flop, the clock terminal of each of the second to Nth flip-flops is connected to its own second output terminal, and the first output terminal of the Nth flip-flop is used to output the frequency division signal.

[0008] In some embodiments, the first control circuit includes a first transistor, a second transistor, a first inverter, and a first capacitor; wherein: The first terminal of the first transistor is connected to the power supply terminal, the second terminal of the first transistor is connected to the first terminal of the first inverter, and the control terminal of the first transistor is connected to the current supply circuit, the oscillator, and the second control circuit, respectively. The first terminal of the second transistor is connected to the ground terminal, the second terminal of the second transistor is connected to the second terminal of the first inverter, and the control terminal of the second transistor is connected to the current supply circuit and the oscillator, respectively. The input terminal of the first inverter is used to receive the output signal or the frequency division signal, the output terminal of the first inverter is connected to the first plate of the first capacitor and the second control circuit, and is used to output the first voltage or the second voltage. The second plate of the first capacitor is connected to the ground terminal.

[0009] In some embodiments, the first control circuit further includes a voltage changing circuit; wherein: The voltage changing circuit is used to make the first voltage or the second voltage greater than the target voltage.

[0010] In some embodiments, the voltage changing circuit includes a third transistor and a fourth transistor; wherein: The first terminal of the third transistor is connected to the power supply terminal, the second terminal of the third transistor is connected to the output terminal of the first inverter, the first plate of the first capacitor, the second terminal of the fourth transistor, the control terminal of the fourth transistor, and the second control circuit, the control terminal of the third transistor is connected to the control terminal of the first transistor, and the first terminal of the fourth transistor is connected to the ground terminal.

[0011] In some embodiments, the second control circuit includes a fifth transistor; wherein: The first terminal of the fifth transistor is connected to the ground terminal, the second terminal of the fifth transistor is connected to the current supply circuit, and the control terminal of the fifth transistor is connected to the output terminal of the first inverter, the first plate of the first capacitor, the second terminal of the third transistor, the second terminal of the fourth transistor, and the control terminal of the fourth transistor.

[0012] In some embodiments, the oscillator includes M second inverters and corresponding M sixth transistors, M seventh transistors, and M second capacitors, where M is an odd number greater than 0; wherein: The first terminal of the sixth transistor is connected to the power supply terminal, the second terminal of the sixth transistor is connected to the first terminal of the corresponding second inverter, and the control terminal of the sixth transistor is connected to the current supply circuit, the first control circuit, and the second control circuit, respectively. The first terminal of the seventh transistor is connected to the ground terminal, the second terminal of the seventh transistor is connected to the second terminal of the corresponding second inverter, and the control terminal of the seventh transistor is connected to the current supply circuit and the first control circuit, respectively. The output terminal of the second inverter is connected to the first plate of the corresponding second capacitor, and the second plate of the corresponding second capacitor is connected to the ground terminal. When M equals 1, the input terminal of the first second inverter is connected to the output terminal of the first second inverter, and the output terminal of the first second inverter is used to output the output signal; when M is greater than 1, the input terminal of the first second inverter is connected to the output terminal of the Mth second inverter, and the input terminal of each of the second to Mth second inverters is connected to the output terminal of the previous second inverter, and the output terminal of the Mth second inverter is used to output the output signal.

[0013] In a second aspect, embodiments of this disclosure provide an electronic device comprising an oscillation circuit as described in any one of the first aspects.

[0014] In some embodiments, the electronic device further includes a charge pump and a radio frequency switch, the oscillation circuit is connected to the charge pump, and the charge pump is connected to the radio frequency switch; wherein: The oscillation circuit is used to generate the output signal; The charge pump is used to receive the output signal and generate a control voltage; The radio frequency switch is used to receive the control voltage and control the radio frequency switch to be turned on or off according to the control voltage.

[0015] This disclosure provides an oscillation circuit and an electronic device. The oscillation circuit includes an oscillator, a current supply circuit, a first control circuit, and a second control circuit. The oscillator includes a capacitor and is connected to the current supply circuit, the first control circuit, and the second control circuit. The current supply circuit is also connected to the first control circuit and the second control circuit, and the first control circuit is also connected to the second control circuit. Specifically: the current supply circuit provides current to the oscillator; the oscillator receives the current and generates an output signal based on the current; the first control circuit receives the output signal, generates a first voltage based on the output signal, and controls the first voltage according to the frequency of the output signal; the second control circuit receives the first voltage and controls the current of the second control circuit based on the first voltage, thereby changing the magnitude of the current charging and discharging the capacitor in the oscillator. In this way, the oscillator generates an output signal based on the current obtained from the current supply circuit, and further, through the combined action of the oscillator, the first control circuit, and the second control circuit, changes the magnitude of the current charging and discharging the capacitor in the oscillator, thereby randomly changing the frequency of the oscillator's output signal. The oscillation circuit provided by this disclosure has a simple structure and implementation scheme, saves area, and thus saves cost. Attached Figure Description

[0016] Figure 1 A schematic diagram of an oscillation circuit provided in this embodiment of the present disclosure. Figure 1 ; Figure 2 A schematic diagram of an oscillation circuit provided in this embodiment of the present disclosure. Figure 2 ; Figure 3 A schematic diagram of an oscillation circuit provided in this embodiment of the present disclosure. Figure 3 ; Figure 4 A schematic diagram of an oscillation circuit provided in this embodiment of the present disclosure. Figure 4 ; Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0017] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only for explaining the relevant applications and are not intended to limit the scope of this disclosure. Furthermore, it should be noted that, for ease of description, only the parts relevant to the relevant applications are shown in the accompanying drawings.

[0018] 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 this disclosure belongs. The terminology used herein is for the purpose of describing embodiments of this disclosure only and is not intended to be limiting of this disclosure.

[0019] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0020] It should be noted that the terms "first, second, third" used in the embodiments of this disclosure are merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of this disclosure described herein can be implemented in an order other than that illustrated or described herein.

[0021] In certain applications, the frequency of the oscillator's output signal needs to vary randomly. For example, an RF switch connects one or more of multiple RF signals through logic control to switch between different signal paths, specifically including switching between receiving and transmitting, and switching between different frequency bands. RF switches include WiFi switches and antenna tuning switches, and are widely used in base stations, mobile phones, and communication applications. RF switches consist of multiple metal-oxide-semiconductor field-effect transistors (MOSFETs). When an RF switch is turned on and off, a bias voltage needs to be applied to the gate and body of the MOSFETs, thus requiring a charge pump. Since the charge pump relies on an oscillator, the selection of the oscillator's output signal frequency is particularly important.

[0022] To avoid coupling, the frequency of the oscillator's output signal is typically designed to be very low. However, as system complexity increases, the time allotted for RF switches to power on and switch becomes shorter, so the frequency cannot be set too low. This significantly increases the coupling strength. To reduce coupling, an oscillator capable of generating random output signal frequencies is needed. However, in related technologies, such oscillators are complex in structure and waste space.

[0023] Based on this, the present disclosure provides an oscillation circuit, which includes an oscillator, a current supply circuit, a first control circuit, and a second control circuit. The oscillator includes a capacitor and is connected to the current supply circuit, the first control circuit, and the second control circuit. The current supply circuit is also connected to the first control circuit and the second control circuit, and the first control circuit is also connected to the second control circuit. Specifically: the current supply circuit provides current to the oscillator; the oscillator receives the current and generates an output signal based on the current; the first control circuit receives the output signal, generates a first voltage based on the output signal, and controls the first voltage based on the frequency of the output signal; the second control circuit receives the first voltage and controls the current of the second control circuit based on the first voltage, thereby changing the magnitude of the current charging and discharging the capacitor in the oscillator. In this way, the oscillator generates an output signal based on the current obtained from the current supply circuit, and further, through the combined action of the oscillator, the first control circuit, and the second control circuit, changes the magnitude of the current charging and discharging the capacitor in the oscillator, thereby randomly changing the frequency of the oscillator's output signal. The oscillation circuit provided by this disclosure has a simple structure and a simple implementation scheme, saving area and thus saving cost.

[0024] The embodiments of this disclosure will now be described in detail with reference to the accompanying drawings.

[0025] In one embodiment of this disclosure, see [link to embodiment]. Figure 1 It shows a schematic diagram of the structure of an oscillation circuit provided in an embodiment of this disclosure. Figure 1 .like Figure 1 As shown, the oscillation circuit 10 may include an oscillator 11, a current supply circuit 12, a first control circuit 13, and a second control circuit 14. The oscillator 11 includes a capacitor (not shown in the figure). The oscillator 11 is connected to the current supply circuit 12, the first control circuit 13, and the second control circuit 14, respectively. The current supply circuit 12 is also connected to the first control circuit 13 and the second control circuit 14, respectively. The first control circuit 13 is also connected to the second control circuit 14. Wherein: Current supply circuit 12 is used to provide current to oscillator 11; Oscillator 11 is used to receive current and generate an output signal based on the current. The first control circuit 13 is used to receive the output signal, generate a first voltage according to the output signal, and control the first voltage according to the frequency of the output signal. The second control circuit 14 is used to receive the first voltage and control the current of the second control circuit 14 according to the first voltage, thereby changing the magnitude of the current for charging and discharging the capacitor in the oscillator 11.

[0026] This disclosure provides an oscillation circuit 10, specifically an oscillation circuit that better generates random oscillation frequencies (i.e., the frequency of the output signal). This oscillation circuit has a small area and a simple implementation scheme.

[0027] In this embodiment, the oscillator 11 can be a ring oscillator or other types of oscillators, and there is no specific limitation thereto. Exemplarily, the specific implementation of the embodiment of this disclosure will be described in detail with the example of the oscillator 11 being a ring oscillator.

[0028] It should be noted that the current supply circuit 12 can be a bias circuit used to provide current to the oscillator 11, but the structure of the current supply circuit 12 is not specifically limited. The oscillator 11 receives the current and operates to generate an output signal. The output signal can be a clock signal or other periodic signals with a certain frequency, and there are no specific limitations on this.

[0029] It should also be noted that the first control circuit 13 generates a first voltage based on the output signal. The generated first voltage varies with different frequencies of the output signal; that is, changing the frequency of the output signal changes the first voltage. The second control circuit 14 controls its current based on the first voltage. The current in the second control circuit 14 varies with different first voltages. In other words, changing the first voltage changes the current in the second control circuit 14, thereby changing the current used to charge and discharge the capacitor in the oscillator 11, and consequently randomly changing the frequency of the output signal. This means changing the original frequency of the output signal, which refers to the frequency before the output signal of the oscillator 11 was adjusted. The current in the second control circuit 14 refers to the current flowing through the second control circuit 14 when it is turned on.

[0030] The different magnitudes of the charging and discharging currents of the capacitor in oscillator 11 result in different charging and discharging times, thus affecting the frequency of the output signal. Specifically, the larger the charging and discharging current of the capacitor in oscillator 11, the higher the frequency of the output signal; conversely, the smaller the charging and discharging current, the lower the frequency of the output signal. In this embodiment, the original output signal frequency can be set according to actual needs. Then, the frequency of the output signal controls the first voltage, which in turn controls the current of the second control circuit 14, which is then fed back to the oscillator 11, thereby allowing the frequency of the output signal to be changed randomly.

[0031] It should also be noted that the frequency of the output signal can be randomly changed within a certain range, or no range can be set; there is no specific limitation on this. For example, when the oscillation circuit 10 is applied to an electronic device, specifically to a radio frequency switch therein, the frequency can be randomly varied near the original frequency of the output signal. Specifically, if the adjusted frequency of the output signal is too high, it will increase the coupling strength; if the adjusted frequency of the output signal is too low, it will fail to meet the power-on timing requirements. Therefore, a range of randomly varying output signal frequencies is set near the original frequency of the output signal.

[0032] In some embodiments, based on Figure 1 The oscillating circuit 10 shown is as follows: Figure 2 As shown, the oscillation circuit 10 may further include a frequency divider circuit 15, which is connected to the oscillator 11 and the first control circuit 13 respectively; wherein: Frequency divider circuit 15 is used to receive the output signal, perform frequency division processing on the output signal, and generate a frequency-divided signal; The first control circuit 13 is used to receive the frequency division signal, generate the second voltage according to the frequency division signal, and control the second voltage according to the frequency of the frequency division signal. The second control circuit 14 is used to receive the second voltage and control the current of the second control circuit 14 according to the second voltage, thereby changing the magnitude of the current for charging and discharging the capacitor in the oscillator 11.

[0033] It should be noted that changing the frequency of the frequency-divided signal can change the second voltage, which in turn changes the current in the second control circuit 14, thereby altering the magnitude of the current used to charge and discharge the capacitor in the oscillator 11, and consequently randomly changing the frequency of the frequency-divided signal. Furthermore, different magnitudes of the charging and discharging currents in the oscillator 11 result in different frequencies of the output signal, thus leading to different frequencies of the frequency-divided signal obtained by frequency division. In this embodiment, the original output signal frequency and the frequency division ratio can be set according to actual needs. The frequency of the frequency-divided signal controls the second voltage, which in turn controls the current in the second control circuit 14, which is then fed back to the oscillator 11, thereby allowing the frequency of the frequency-divided signal to be changed randomly.

[0034] It should also be noted that the frequency of the frequency division signal can be randomly changed within a certain range, or no range can be set; there is no specific limitation on this. For example, when the oscillation circuit 10 is applied to an electronic device, specifically to a radio frequency switch therein, a range of randomly changing frequencies of the frequency division signal is set near the original frequency of the frequency division signal.

[0035] In this embodiment, the frequency of the frequency divider signal is lower than that of the output signal, so the period of the frequency divider signal is longer. More frequencies can be randomly selected within the longer period, resulting in lower white noise in the power of the frequency divider signal.

[0036] In some embodiments, such as Figure 3 As shown, the frequency divider circuit 15 may include N flip-flops 151, where N is an integer greater than 0; where: The frequency of the frequency divider signal is the frequency of the output signal. .

[0037] It should be noted that the value of N can be determined according to actual needs. This disclosure does not specifically limit the number of flip-flops 151. The frequency divider circuit 15 may include one flip-flop 151 or multiple flip-flops 151. When the frequency divider circuit 15 includes multiple flip-flops 151, the multiple flip-flops 151 are cascaded. For example, the specific implementation of this disclosure embodiment will be described in detail with the example of the frequency divider circuit 15 including two flip-flops 151.

[0038] It should also be noted that when the frequency divider circuit 15 includes one flip-flop 151, the frequency of the divided signal is half the frequency of the output signal; when the frequency divider circuit 15 includes two flip-flops 151, the frequency of the divided signal is one-quarter the frequency of the output signal; and so on, without further explanation.

[0039] In some embodiments, when N equals 1, the clock terminal of the first flip-flop 151 is used to receive the output signal, the input terminal of the first flip-flop 151 is connected to the second output terminal of the first flip-flop 151, and the first output terminal of the first flip-flop 151 is used to output the frequency division signal. When N is greater than 1, the input of each of the second to Nth flip-flops 151 is connected to the first output of the previous flip-flop 151, the clock terminal of each of the second to Nth flip-flops 151 is connected to its own second output, and the first output of the Nth flip-flop 151 is used to output the frequency division signal.

[0040] It should be noted that flip-flop 151 can be a D-type flip-flop (Data Flip-Flop or Delay Flip-Flop, DFF). For flip-flop 151, this can include a clock input (CK), an input (D), a first output (Q), and a second output (…). In addition, it may include a set terminal (SET) and a reset terminal (RST), but these are not shown in the figure.

[0041] For example, such as Figure 3As shown, the frequency divider circuit 15 includes two flip-flops 151. The clock terminal of the first flip-flop 151 (which can be represented as 151-1) is used to receive the output signal. The input terminal of the first flip-flop 151 is connected to the second output terminal of the first flip-flop 151. The first output terminal of the first flip-flop 151 is connected to the input terminal of the second flip-flop 151 (which can be represented as 151-2). The clock terminal of the second flip-flop 151 is connected to its own second output terminal. The first output terminal of the second flip-flop 151 is used to output the frequency divider signal.

[0042] In some embodiments, such as Figure 3 As shown, the first control circuit 13 may include a first transistor 131, a second transistor 132, a first inverter 133, and a first capacitor 134; wherein: The first terminal of the first transistor 131 is connected to the power supply terminal, and the second terminal of the first transistor 131 is connected to the first terminal of the first inverter 133. The control terminal of the first transistor 131 is connected to the current supply circuit 12, the oscillator 11, and the second control circuit 14, respectively. The first terminal of the second transistor 132 is connected to the ground terminal, and the second terminal of the second transistor 132 is connected to the second terminal of the first inverter 133. The control terminal of the second transistor 132 is connected to the current supply circuit 12 and the oscillator 11, respectively. The input terminal of the first inverter 133 is used to receive the output signal or the frequency division signal. The output terminal of the first inverter 133 is connected to the first plate of the first capacitor 134 and the second control circuit 14, respectively, and is used to output the first voltage or the second voltage. The second plate of the first capacitor 134 is connected to the ground terminal.

[0043] It should be noted that if the oscillation circuit 10 does not include the frequency divider circuit 15, then the input terminal of the first inverter 133 is used to receive the output signal, and the output terminal of the first inverter 133 is used to output the first voltage; if the oscillation circuit 10 includes the frequency divider circuit 15, then the input terminal of the first inverter 133 is used to receive the frequency-divided signal, and the output terminal of the first inverter 133 is used to output the second voltage. For example, taking the oscillation circuit 10 including the frequency divider circuit 15, the input terminal of the first inverter 133 being used to receive the frequency-divided signal, and the output terminal of the first inverter 133 being used to output the second voltage as an example, the specific implementation of the embodiments of this disclosure will be described in detail.

[0044] Here, the power supply terminal can be used to provide the power supply voltage VDD, and the ground terminal can be used to provide the ground voltage VSS.

[0045] In addition, for the MOS transistors involved in the embodiments of this disclosure and the following description, the control terminal is usually the gate, one of the first terminal and the second terminal is the source, and the other is the drain, which will not be described again later.

[0046] It should be noted that the first inverter 133 may include transistor a1 and transistor a2; please refer to [reference needed] for the specific connection relationship. Figure 3 .

[0047] It should also be noted that the frequency of the output signal or the frequency division signal controls the switching on and off of transistors a1 and a2, causing the first inverter 133 to operate. The current from the first transistor 131 and the second transistor 132 then charges and discharges the first capacitor 134. The first voltage or the second voltage obtained from charging or discharging the first capacitor 134 will differ.

[0048] In some embodiments, based on Figure 3 The oscillating circuit 10 shown is as follows: Figure 4 As shown, the first control circuit 13 may further include a voltage changing circuit 135; wherein: The voltage changing circuit 135 is used to make a first voltage or a second voltage greater than a target voltage.

[0049] It should be noted that the target voltage can be greater than or equal to the threshold voltage of the transistor, but there is no specific limitation on this.

[0050] In this embodiment, the voltage changing circuit 135 can control the second control circuit 14 to continuously supply current to the oscillator 11. If the first control circuit 13 does not include the voltage changing circuit 135, the oscillator 11 will generate the original output signal frequency for a period of time, without generating a random frequency (i.e., the random output signal frequency or the random frequency of the frequency division signal). If the first control circuit 13 includes the voltage changing circuit 135, the original output signal frequency of the oscillator 11 will not occur, and the output signal frequency of the oscillator 11 will continuously change, as will the frequency of the frequency division signal of the oscillator 11.

[0051] In some embodiments, such as Figure 4 As shown, the voltage changing circuit 135 may include a third transistor b1 and a fourth transistor b2; wherein: The first terminal of the third transistor b1 is connected to the power supply terminal. The second terminal of the third transistor b1 is connected to the output terminal of the first inverter 133, the first plate of the first capacitor 134, the second terminal of the fourth transistor b2, the control terminal of the fourth transistor b2, and the second control circuit 14. The control terminal of the third transistor b1 is connected to the control terminal of the first transistor 131. The first terminal of the fourth transistor b2 is connected to the ground terminal.

[0052] Here, the control terminal of the first transistor 131 is connected to the current supply circuit 12, the oscillator 11, and the second control circuit 14, respectively. Therefore, the control terminal of the third transistor b1 is connected to the control terminal of the first transistor 131, the current supply circuit 12, the oscillator 11, and the second control circuit 14, respectively.

[0053] It should be noted that the second terminal of the fourth transistor b2 is connected to the control terminal to form a diode structure, and current can be generated through the third transistor b1 and the fourth transistor b2.

[0054] In some embodiments, such as Figure 4 As shown, the second control circuit 14 may include a fifth transistor 141; wherein: The first terminal of the fifth transistor 141 is connected to the ground terminal, the second terminal of the fifth transistor 141 is connected to the current supply circuit 12, and the control terminal of the fifth transistor 141 is connected to the output terminal of the first inverter 133, the first plate of the first capacitor 134, the second terminal of the third transistor b1, the second terminal of the fourth transistor b2, and the control terminal of the fourth transistor b2, respectively.

[0055] It should be noted that the second terminal of the fifth transistor 141 is also connected to the first control circuit 13 and the oscillator 11, respectively.

[0056] It should also be noted that the current of the second control circuit 14 specifically refers to the current flowing through the fifth transistor 141 when the fifth transistor 141 is turned on.

[0057] It should also be noted that the target voltage can be greater than or equal to the threshold voltage of the fifth transistor 141. The first capacitor 134 starts charging from 0V and it takes a period of time to charge to the threshold voltage of the fifth transistor 141. During this period, if the first control circuit 13 does not include the voltage changing circuit 135, the oscillator 11 generates the original frequency of the output signal; if the first control circuit 13 includes the voltage changing circuit 135, when the first capacitor 134 is not charging or has not yet charged to the threshold voltage of the fifth transistor 141, current is generated through the third transistor b1 and the fourth transistor b2 to provide a bias voltage to the control terminal of the fifth transistor 141, causing the fifth transistor 141 to conduct and generate current, so that the frequency of the output signal of the oscillator 11 keeps changing, thereby generating a random output signal frequency or a frequency of a frequency-divided signal.

[0058] It should also be noted that the frequency of the output signal or the frequency division signal controls the on / off state of transistors a1 and a2. The current from the first transistor 131 and the second transistor 132 charges and discharges the first capacitor 134, thereby controlling the voltage at the control terminal of the fifth transistor 141. This, in turn, controls the magnitude of the current in the fifth transistor 141, which in turn controls the magnitude of the charging and discharging current of the capacitor in the oscillator 11. Specifically, when the fifth transistor 141 is on, the higher the voltage at its control terminal, the higher the current in the fifth transistor 141, resulting in a larger charging and discharging current for the capacitor in the oscillator 11 and a higher frequency of the output signal. Conversely, the lower the voltage at the control terminal, the lower the current in the fifth transistor 141, resulting in a smaller charging and discharging current for the capacitor in the oscillator 11 and a lower frequency of the output signal. In this way, the frequency of the output signal of the oscillator 11 can be randomly changed.

[0059] In some embodiments, such as Figure 4 As shown, the oscillator 11 may include M second inverters 111 and corresponding M sixth transistors 112, M seventh transistors 113, and M second capacitors 114, where M is an odd number greater than 0; wherein: The first terminal of the sixth transistor 112 is connected to the power supply terminal, the second terminal of the sixth transistor 112 is connected to the first terminal of the corresponding second inverter 111, and the control terminal of the sixth transistor 112 is connected to the current supply circuit 12, the first control circuit 13, and the second control circuit 14, respectively. The first terminal of the seventh transistor 113 is connected to the ground terminal, the second terminal of the seventh transistor 113 is connected to the second terminal of the corresponding second inverter 111, and the control terminal of the seventh transistor 113 is connected to the current supply circuit 12 and the first control circuit 14, respectively. The output terminal of the second inverter 111 is connected to the first plate of the corresponding second capacitor 114, and the second plate of the corresponding second capacitor 114 is connected to the ground terminal. When M equals 1, the input terminal of the first second inverter 111 is connected to the output terminal of the first second inverter 111, and the output terminal of the first second inverter 111 is used to output the output signal; when M is greater than 1, the input terminal of the first second inverter 111 is connected to the output terminal of the Mth second inverter 111, and the input terminal of each of the second to Mth second inverters 111 is connected to the output terminal of the previous second inverter 111, and the output terminal of the Mth second inverter 111 is used to output the output signal.

[0060] It should be noted that the value of M can be determined according to actual needs, and no specific limitation is made. For example, such as... Figure 4As shown, M=3, the oscillator 11 includes 3 second inverters 111 and corresponding 3 sixth transistors 112, 3 seventh transistors 113 and 3 second capacitors 114 (all are shown with a label in the figure).

[0061] It should also be noted that the sixth transistor 112 and the seventh transistor 113 provide current to the corresponding second inverter 111. Additionally, exemplarily, such as... Figure 4 As shown, the oscillator 11 includes three second capacitors 114, one of which is a charging capacitor and the other is a discharging capacitor, but the magnitude of the charging and discharging currents is changed.

[0062] In some embodiments, the second inverter 111 may include transistor c1 and transistor c2; please refer to [reference needed] for the specific connection relationship. Figure 4 .

[0063] In some embodiments, such as Figure 4 As shown, the current supply circuit 12 may include a resistor 121, an eighth transistor 122, a ninth transistor 123, and a tenth transistor 124. Please refer to the diagram for the specific connection relationships. Figure 4 In this circuit, the second terminals of the eighth transistor 122 and the tenth transistor 124 are connected to form a diode structure, and the current supply circuit 12 as a whole forms a current mirror structure, which can generate current.

[0064] It should be noted that the control terminal of the sixth transistor 112 is connected to the current supply circuit 12, the first control circuit 13, and the second control circuit 14, respectively. Specifically, the control terminal of the sixth transistor 112 is connected to the second terminal of the tenth transistor 124, the control terminal of the tenth transistor 124, the control terminal of the third transistor b1, the control terminal of the first transistor 131, and the second terminal of the fifth transistor 141, respectively. The control terminal of the seventh transistor 113 is connected to the current supply circuit 12 and the first control circuit 14, respectively. Specifically, the control terminal of the seventh transistor 113 is connected to the control terminal of the ninth transistor 123, the control terminal of the second transistor 132, the second terminal of the eighth transistor 122, and the control terminal of the eighth transistor 122, respectively.

[0065] It should also be noted that this disclosure does not specifically limit the structure of the current supply circuit 12, and any structure that can generate current can be used as the current supply circuit 12.

[0066] In some embodiments, the second transistor 132, transistor a2, the fourth transistor b2, the fifth transistor 141, the seventh transistor 113, the transistor c2, the eighth transistor 122, and the ninth transistor 123 can be N-type metal-oxide-semiconductor field-effect transistors (NMOS transistors), and the first transistor 131, transistor a1, the third transistor b1, the sixth transistor 112, the transistor c1, and the tenth transistor 124 can be P-type metal-oxide-semiconductor field-effect transistors (PMOS transistors).

[0067] It should be noted that there are no specific restrictions on the type of each MOSFET; the type of each MOSFET can be changed in reverse, that is, an NMOS transistor can be changed to a PMOS transistor, and a PMOS transistor can be changed to an NMOS transistor. Correspondingly, the specific connection relationship, power supply terminal, and ground terminal will also change.

[0068] This disclosure provides an oscillation circuit 10 that can randomly change the frequency of the output signal of the oscillator, and the oscillation circuit 10 has a small area and a simple implementation scheme.

[0069] In another embodiment of this disclosure, see Figure 5 This illustrates a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. For example... Figure 5 As shown, the electronic device 20 includes the aforementioned oscillation circuit 10.

[0070] It should be noted that electronic device 20 can be a wireless communication device, microprocessor, application-specific integrated circuit, sensor, etc., without specific limitations.

[0071] In the case where the electronic device 20 is a wireless communication device, in some embodiments, the electronic device 20 may further include a charge pump and a radio frequency switch, with the oscillation circuit 10 connected to the charge pump and the charge pump connected to the radio frequency switch; wherein: Oscillator circuit 10 is used to generate output signal; A charge pump is used to receive output signals and generate control voltage. Radio frequency (RF) switches are used to receive control voltages and control the RF switch to turn on or off based on the control voltages.

[0072] It should be noted that when the oscillation circuit 10 includes the frequency divider circuit 15, the charge pump can also receive the frequency divider signal to generate the control voltage, and there is no specific limitation on this.

[0073] In this case, the oscillation circuit 10 can reduce the coupling between the charge pump and the RF switch. This disclosure provides an oscillation circuit 10 that generates a more efficient random oscillation frequency to improve the coupling between the RF switch and the charge pump.

[0074] It should also be noted that in this case, the output signal or frequency divider signal is a clock signal, and the charge pump generates a control voltage larger than its input voltage based on the clock signal. RF switches typically consist of multiple MOSFETs stacked in series. A positive voltage is required when the MOSFETs are turned on, and a negative voltage is required when they are turned off. Therefore, a charge pump is needed to provide the RF switch with control voltages (positive and negative voltages). However, generating the control voltage based on the output signal or frequency divider signal will produce ripple. When the RF switch is turned on or off according to the control voltage, the output signal or frequency divider signal will couple into the transmitted RF signal, increasing the coupling strength and generating noise.

[0075] In this embodiment, the oscillation circuit 10 can generate random output signal frequencies. Thus, the power at each frequency point is equivalent to white noise, reducing the coupling power and making the interference from the output signal coupling negligible. This improves the coupling between the RF switch and the charge pump. Furthermore, the oscillation circuit 10 has a simple structure and implementation, saving area and thus reducing cost.

[0076] For details not disclosed in the embodiments of this disclosure, please refer to the description of the foregoing embodiments for understanding.

[0077] The above description is merely a preferred embodiment of this disclosure and is not intended to limit the scope of protection of this disclosure.

[0078] It should be noted that, in this disclosure, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0079] The sequence numbers of the embodiments disclosed above are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0080] The methods disclosed in the several method embodiments provided in this disclosure can be arbitrarily combined without conflict to obtain new method embodiments.

[0081] The features disclosed in the several product embodiments provided in this disclosure can be combined arbitrarily without conflict to obtain new product embodiments.

[0082] The features disclosed in the several method or device embodiments provided in this disclosure can be arbitrarily combined without conflict to obtain new method or device embodiments.

[0083] The above description is merely a specific embodiment of this disclosure, but the scope of protection of this disclosure is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this disclosure should be included within the scope of protection of this disclosure. Therefore, the scope of protection of this disclosure should be determined by the scope of the claims.

Claims

1. An oscillation circuit, characterized in that, The oscillation circuit includes an oscillator, a current supply circuit, a first control circuit, and a second control circuit. The oscillator includes a capacitor. The oscillator is connected to the current supply circuit, the first control circuit, and the second control circuit, respectively. The current supply circuit is also connected to the first control circuit and the second control circuit, respectively. The first control circuit is also connected to the second control circuit. Wherein: The current supply circuit is used to provide current to the oscillator; The oscillator is used to receive the current and generate an output signal based on the current; The first control circuit is configured to receive the output signal, generate a first voltage based on the output signal, and control the first voltage based on the frequency of the output signal. The second control circuit is used to receive the first voltage, control the current of the second control circuit according to the first voltage, and change the magnitude of the current for charging and discharging the capacitor in the oscillator.

2. The oscillation circuit according to claim 1, characterized in that, The oscillation circuit further includes a frequency divider circuit, which is connected to both the oscillator and the first control circuit; wherein: The frequency divider circuit is used to receive the output signal, perform frequency division processing on the output signal, and generate a frequency-divided signal. The first control circuit is configured to receive the frequency division signal, generate a second voltage based on the frequency division signal, and control the second voltage based on the frequency of the frequency division signal. The second control circuit is used to receive the second voltage, control the current of the second control circuit according to the second voltage, and change the magnitude of the current for charging and discharging the capacitor in the oscillator.

3. The oscillation circuit according to claim 2, characterized in that, The frequency divider circuit includes N flip-flops, where N is an integer greater than 0; where: The frequency of the frequency division signal is the frequency of the output signal. .

4. The oscillation circuit according to claim 3, characterized in that, When N equals 1, the clock terminal of the first flip-flop is used to receive the output signal, the input terminal of the first flip-flop is connected to the second output terminal of the first flip-flop, and the first output terminal of the first flip-flop is used to output the frequency division signal; When N is greater than 1, the input terminal of each of the second to Nth flip-flops is connected to the first output terminal of the previous flip-flop, the clock terminal of each of the second to Nth flip-flops is connected to its own second output terminal, and the first output terminal of the Nth flip-flop is used to output the frequency division signal.

5. The oscillation circuit according to claim 2, characterized in that, The first control circuit includes a first transistor, a second transistor, a first inverter, and a first capacitor; wherein: The first terminal of the first transistor is connected to the power supply terminal, the second terminal of the first transistor is connected to the first terminal of the first inverter, and the control terminal of the first transistor is connected to the current supply circuit, the oscillator, and the second control circuit, respectively. The first terminal of the second transistor is connected to the ground terminal, the second terminal of the second transistor is connected to the second terminal of the first inverter, and the control terminal of the second transistor is connected to the current supply circuit and the oscillator, respectively. The input terminal of the first inverter is used to receive the output signal or the frequency division signal, the output terminal of the first inverter is connected to the first plate of the first capacitor and the second control circuit, and is used to output the first voltage or the second voltage. The second plate of the first capacitor is connected to the ground terminal.

6. The oscillation circuit according to claim 5, characterized in that, The first control circuit further includes a voltage changing circuit; wherein: The voltage changing circuit is used to make the first voltage or the second voltage greater than the target voltage.

7. The oscillation circuit according to claim 6, characterized in that, The voltage changing circuit includes a third transistor and a fourth transistor; wherein: The first terminal of the third transistor is connected to the power supply terminal, the second terminal of the third transistor is connected to the output terminal of the first inverter, the first plate of the first capacitor, the second terminal of the fourth transistor, the control terminal of the fourth transistor, and the second control circuit, the control terminal of the third transistor is connected to the control terminal of the first transistor, and the first terminal of the fourth transistor is connected to the ground terminal.

8. The oscillation circuit according to claim 7, characterized in that, The second control circuit includes a fifth transistor; wherein: The first terminal of the fifth transistor is connected to the ground terminal, the second terminal of the fifth transistor is connected to the current supply circuit, and the control terminal of the fifth transistor is connected to the output terminal of the first inverter, the first plate of the first capacitor, the second terminal of the third transistor, the second terminal of the fourth transistor, and the control terminal of the fourth transistor.

9. The oscillation circuit according to claim 1, characterized in that, The oscillator comprises M second inverters and corresponding M sixth transistors, M seventh transistors, and M second capacitors, where M is an odd number greater than 0; wherein: The first terminal of the sixth transistor is connected to the power supply terminal, the second terminal of the sixth transistor is connected to the first terminal of the corresponding second inverter, and the control terminal of the sixth transistor is connected to the current supply circuit, the first control circuit, and the second control circuit, respectively. The first terminal of the seventh transistor is connected to the ground terminal, the second terminal of the seventh transistor is connected to the second terminal of the corresponding second inverter, and the control terminal of the seventh transistor is connected to the current supply circuit and the first control circuit, respectively. The output terminal of the second inverter is connected to the first plate of the corresponding second capacitor, and the second plate of the corresponding second capacitor is connected to the ground terminal. When M equals 1, the input terminal of the first second inverter is connected to the output terminal of the first second inverter, and the output terminal of the first second inverter is used to output the output signal; when M is greater than 1, the input terminal of the first second inverter is connected to the output terminal of the Mth second inverter, and the input terminal of each of the second to Mth second inverters is connected to the output terminal of the previous second inverter, and the output terminal of the Mth second inverter is used to output the output signal.

10. An electronic device, characterized in that, The electronic device includes an oscillation circuit as described in any one of claims 1 to 9.

11. The electronic device according to claim 10, characterized in that, The electronic device further includes a charge pump and a radio frequency switch, the oscillation circuit is connected to the charge pump, and the charge pump is connected to the radio frequency switch; wherein: The oscillation circuit is used to generate the output signal; The charge pump is used to receive the output signal and generate a control voltage; The radio frequency switch is used to receive the control voltage and control the radio frequency switch to be turned on or off according to the control voltage.