CN109525223B - System, method and chip for obtaining working current of crystal oscillator - Google Patents

System, method and chip for obtaining working current of crystal oscillator Download PDF

Info

Publication number
CN109525223B
CN109525223B CN201811399709.8A CN201811399709A CN109525223B CN 109525223 B CN109525223 B CN 109525223B CN 201811399709 A CN201811399709 A CN 201811399709A CN 109525223 B CN109525223 B CN 109525223B
Authority
CN
China
Prior art keywords
crystal oscillator
dead time
current
control circuit
working current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811399709.8A
Other languages
Chinese (zh)
Other versions
CN109525223A (en
Inventor
徐以军
彭新朝
张亮
殷惠萍
冯玉明
黄穗彪
王静
王聪
张永光
谢育桦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Zero Boundary Integrated Circuit Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201811399709.8A priority Critical patent/CN109525223B/en
Publication of CN109525223A publication Critical patent/CN109525223A/en
Application granted granted Critical
Publication of CN109525223B publication Critical patent/CN109525223B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K3/00Circuits for generating electric pulses; Monostable, bistable or multistable circuits
    • H03K3/01Details
    • H03K3/012Modifications of generator to improve response time or to decrease power consumption

Landscapes

  • Oscillators With Electromechanical Resonators (AREA)

Abstract

The invention discloses a system, a method and a chip for obtaining the working current of a crystal oscillator, comprising a time detection module for detecting the dead time of the crystal oscillator; the control circuit is connected with the time detection module and the crystal oscillator, provides input current for the crystal oscillator according to the dead time detected by the time detection module, and repeats the steps of increasing the input current of the crystal oscillator and detecting the dead time of the crystal oscillator until the dead time of the crystal oscillator is smaller than the preset threshold value to obtain the working current of the crystal oscillator when the dead time of the crystal oscillator is larger than or equal to the preset threshold value. According to the invention, the input current of the crystal oscillator is repeatedly adjusted according to the dead time of the crystal oscillator to obtain the working current of the crystal oscillator, and the proper working current of the crystal oscillator is selected through multiple iterations, so that the overall power consumption of the circuit is effectively reduced, the stable oscillation frequency is output, and the power consumption of a chip is reduced under the condition that the crystal oscillator can normally work.

Description

System, method and chip for obtaining working current of crystal oscillator
Technical Field
The invention relates to the field of integrated circuit design, in particular to a system, a method and a chip for obtaining the working current of a crystal oscillator.
Background
In the existing integrated circuit chip, it is a very challenging matter to design a clock generator with very low power consumption and high performance, which is stable for a long time, and is less affected by other factors such as time and external impact, etc., the crystal oscillator is an oscillator with high precision and high stability, has very high frequency stability and excellent phase noise performance, can provide highly accurate reference clock signals for various electronic systems, and is widely applied to various handheld devices and portable electronic products. After a crystal device is produced, specific process parameters of the crystal device are determined, different process parameters exist in products produced by different batches and different manufacturers, the intrinsic Gm (gain margin value, which determines whether an oscillator can start oscillation normally) is greatly changed, in the process of designing a crystal driving circuit, the driving Gmc of the circuit needs to meet Gmc >5Gm, the process parameters, temperature and voltage in design are added, the Gm of the driving circuit is far larger than the value of 5Gm, the driving capability is far larger than the required value, and in practical application, the power consumption consumed by the crystal oscillator driving circuit is large.
Disclosure of Invention
The invention aims to overcome the technical problem that a crystal oscillator in the prior art consumes large power, and provides a system, a method and a chip for acquiring the working current of the crystal oscillator.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows: a system for obtaining crystal oscillator operating current, comprising:
the time detection module is used for detecting the dead time of the crystal oscillator;
and the control circuit is connected with the time detection module and the crystal oscillator and used for providing input current for the crystal oscillator according to the dead time detected by the time detection module, wherein when the dead time of the crystal oscillator is greater than or equal to a preset threshold value, the steps of increasing the input current of the crystal oscillator and detecting the dead time of the crystal oscillator are repeated until the dead time of the crystal oscillator is less than the preset threshold value so as to obtain the working current of the crystal oscillator.
Further, the control circuit is further configured to, when the dead time of the crystal oscillator is smaller than a preset threshold, repeat the steps of reducing the input current of the crystal oscillator and detecting the dead time of the crystal oscillator until the dead time of the crystal oscillator is approximately equal to the preset threshold to obtain the working current of the crystal oscillator.
Furthermore, the control circuit comprises a digital control circuit and a current source adjusting module, the digital control circuit is connected with the time detection module, the current source adjusting module is respectively connected with the digital control circuit and the crystal oscillator, and the digital control circuit controls the current source adjusting module to repeatedly adjust the input current of the crystal oscillator according to the dead time of the crystal oscillator.
Further, the crystal oscillator control circuit comprises a temperature detection module, wherein the temperature detection module is used for detecting the change of the environment temperature of the crystal oscillator, and when the change of the environment temperature of the crystal oscillator exceeds an early warning range, the control circuit repeatedly adjusts the input current of the crystal oscillator according to the dead time of the crystal oscillator again to obtain the working current of the crystal oscillator.
The control circuit is used for repeatedly adjusting the input current of the crystal oscillator according to the dead time of the crystal oscillator to obtain the working current of the crystal oscillator when the voltage change of the power supply of the crystal oscillator exceeds an early warning range.
The crystal oscillator control circuit comprises a control circuit, a register and a control circuit, wherein the control circuit is used for controlling the crystal oscillator to work in a preset working current range, and the register is used for storing and memorizing the working current of the crystal oscillator readjusted when the environmental temperature change and/or the power supply voltage change exceed the early warning range, and reading the corresponding working current according to the environmental temperature of the crystal oscillator and/or the power supply voltage to realize self-adaptive adjustment.
A chip comprises the system for obtaining the working current of the crystal oscillator.
A method of obtaining crystal oscillator operating current, comprising:
providing an initial input current to the crystal oscillator;
detecting whether the dead time of the crystal oscillator is larger than or equal to a preset threshold value or not;
when the dead time of the crystal oscillator is larger than or equal to a preset threshold, the steps of increasing the input current of the crystal oscillator and detecting the dead time of the crystal oscillator are repeated until the dead time of the crystal oscillator is smaller than the preset threshold so as to obtain the working current of the crystal oscillator.
Further, the method also comprises the following steps: when the dead time of the crystal oscillator is smaller than a preset threshold value, the steps of reducing the input current of the crystal oscillator and detecting the dead time of the crystal oscillator are repeated until the dead time of the crystal oscillator is approximately equal to the preset threshold value so as to obtain the working current of the crystal oscillator.
Further, the change of the environment temperature of the crystal oscillator is detected, wherein when the change of the environment temperature of the crystal oscillator exceeds an early warning range, the input current of the crystal oscillator is repeatedly adjusted according to the dead time of the crystal oscillator again to obtain the working current of the crystal oscillator.
Further, the change of the power supply voltage of the crystal oscillator is detected, wherein when the change of the power supply voltage of the crystal oscillator exceeds an early warning range, the input current of the crystal oscillator is repeatedly adjusted according to the dead time of the crystal oscillator again to obtain the working current of the crystal oscillator.
Further, the working current of the crystal oscillator which is readjusted when the environmental temperature change and/or the power supply voltage change exceed the early warning range is stored and memorized, and the corresponding working current is read according to the environmental temperature of the crystal oscillator and/or the power supply voltage to realize self-adaptive adjustment.
As can be seen from the above description of the present invention, compared with the prior art, according to the system, the method, and the chip for obtaining the working current of the crystal oscillator provided by the present invention, the input current of the crystal oscillator is repeatedly adjusted according to the comparison result between the dead time of the crystal oscillator and the preset threshold to obtain the working current of the crystal oscillator, and a suitable working current of the crystal oscillator is selected through multiple iterations.
Drawings
FIG. 1 is a block diagram of a system for obtaining a working current of a crystal oscillator according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for obtaining a working current of a crystal oscillator according to an embodiment of the present invention;
FIG. 3 is a block diagram of a system for obtaining the operating current of a crystal oscillator according to a second embodiment of the present invention;
FIG. 4 is a flowchart of a method for obtaining a working current of a crystal oscillator according to a second embodiment of the present invention;
FIG. 5 is a block diagram of a system for obtaining the operating current of a crystal oscillator according to a third embodiment of the present invention;
FIG. 6 is a flowchart of a method for obtaining a working current of a crystal oscillator according to a third embodiment of the present invention;
FIG. 7 is a block diagram of a system for obtaining the operating current of a crystal oscillator according to a fourth embodiment of the present invention;
fig. 8 is a flowchart of a method for obtaining a working current of a crystal oscillator according to a fourth embodiment of the present invention.
Detailed Description
The technical solutions in the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments.
The first embodiment is as follows:
as shown in fig. 1, a system for obtaining the working current of a crystal oscillator comprises a time detection module 1, a control circuit 2,
the time detection module 1 detects the dead time of the crystal oscillator, the time detection module adopts a controllable clock, and the controllable clock can accurately detect the dead time of the crystal oscillator;
the control circuit 2 is connected with the time detection module 1 and the crystal oscillator, and provides an input current to the crystal oscillator according to the dead time detected by the time detection module 1, wherein when the dead time of the crystal oscillator is greater than or equal to a preset threshold, the steps of increasing the input current of the crystal oscillator and detecting the dead time of the crystal oscillator are repeated until the dead time of the crystal oscillator is less than the preset threshold so as to obtain the working current of the crystal oscillator, when the dead time of the crystal oscillator is less than the preset threshold, the steps of decreasing the input current of the crystal oscillator and detecting the dead time of the crystal oscillator are repeated until the dead time of the crystal oscillator is approximately equal to the preset threshold so as to obtain the working current of the crystal oscillator, wherein, the control circuit 2 comprises a digital control circuit 21 and a current source adjusting module 22, the digital control circuit 21 is connected with the time detection module 1, the current source adjusting module 22 is respectively connected with the digital control circuit 21 and the crystal oscillator, the digital control circuit 21 controls the current source adjusting module 22 to repeatedly adjust the input current of the crystal oscillator according to the dead time of the crystal oscillator, the digital control circuit has very high control precision and very high anti-interference performance, a preset threshold value can be set according to requirements, for example, the dead time is set to be 1s, the crystal oscillator works normally when the dead time is less than 1s, the crystal oscillator works abnormally when the dead time is more than 1s, a proper crystal oscillator working current is selected through multiple iterations, under the condition of ensuring the crystal oscillator to work normally, the circuit effectively reduces the whole power consumption and outputs stable oscillation frequency.
A chip comprises the system for obtaining the working current of the crystal oscillator.
As shown in fig. 2, a method for obtaining an operating current of a crystal oscillator includes the following steps:
s101: providing an initial input current Ibias to the crystal oscillator,
taking a 10MHz clock as an example, the current capable of maintaining the normal work of the crystal oscillator driving circuit is 500uA-1mA, and the initial input current Ibias can be adjusted to 1mA firstly;
s102: detecting whether the dead time of the crystal oscillator is larger than or equal to a preset threshold value, when the dead time is larger than or equal to the preset threshold value, entering step S103, when the dead time is smaller than the preset threshold value, entering step S104,
after waiting for the initial input current Ibias to be stable, detecting whether the dead time of the crystal oscillator is greater than or equal to a preset threshold, for example, setting the dead time to be 1S, when the dead time is greater than or equal to 1S, the crystal oscillator works abnormally, and at this time, the input current Ibias is low, proceeding to step S103,
s103: repeatedly increasing the input current of the crystal oscillator and detecting the dead time of the crystal oscillator until the dead time of the crystal oscillator is smaller than a preset threshold value to obtain the working current of the crystal oscillator;
when the dead time is less than 1S, the crystal oscillator works normally, and the input current Ibias is high, step S104 is entered,
s104: repeating the steps of reducing the input current of the crystal oscillator and detecting the dead time of the crystal oscillator until the dead time of the crystal oscillator is approximately equal to a preset threshold value to obtain the working current of the crystal oscillator,
after the steps S103 and S104 are iterated for multiple times, a stable input current Ibias with the lowest power consumption is selected as the working current when the crystal oscillator normally works, so that the crystal oscillator is in the optimal working state, stable oscillation frequency is output, and the power consumption is the lowest.
According to the system, the method and the chip for obtaining the working current of the crystal oscillator, the input current of the crystal oscillator is repeatedly adjusted according to the comparison result of the dead time of the crystal oscillator and the preset threshold value so as to obtain the working current of the crystal oscillator, and the proper working current of the crystal oscillator is selected through multiple iterations.
The second embodiment is as follows:
as shown in fig. 3, the system for obtaining the working current of the crystal oscillator of the present embodiment has the same time detection module 1 and the same control circuit 2 as the first embodiment, and is different from the first embodiment in that, because the ambient temperature change where the crystal oscillator is located is uncontrollable, the present embodiment further includes a temperature detection module 3 and a register 4,
the temperature detection module 3 detects the change of the ambient temperature of the crystal oscillator, wherein when the change of the ambient temperature of the crystal oscillator exceeds an early warning range, the control circuit 2 repeatedly adjusts the input current of the crystal oscillator according to the dead time of the crystal oscillator to obtain the working current of the crystal oscillator, the register 4 stores and memorizes the working current of the crystal oscillator readjusted by the control circuit 2 when the change of the ambient temperature exceeds the early warning range, and reads the corresponding working current according to the change of the ambient temperature where the crystal oscillator is located to realize self-adaptive adjustment.
A chip comprises the system for obtaining the working current of the crystal oscillator.
Since the temperature variation of the working environment where the crystal oscillator is located is not controllable, the method for obtaining the working current of the crystal oscillator of the present embodiment is different from the first embodiment in that the method further includes: and detecting the ambient temperature change of the crystal oscillator, and storing and memorizing the ambient temperature change to realize self-adaptive adjustment.
As shown in fig. 4, a method for obtaining an operating current of a crystal oscillator includes the following steps:
s201: providing an initial input current Ibias to the crystal oscillator,
taking a 10MHz clock as an example, the current capable of maintaining the normal work of the crystal oscillator driving circuit is 500uA-1mA, and the initial input current Ibias can be adjusted to 1mA firstly;
s202: detecting whether the dead time of the crystal oscillator is larger than or equal to a preset threshold value, when the dead time is larger than or equal to the preset threshold value, entering step S203, and when the dead time is smaller than the preset threshold value, entering step S304,
after waiting for the initial input current Ibias to be stable, detecting whether the dead time of the crystal oscillator is greater than or equal to a preset threshold, for example, setting the dead time to be 1S, when the dead time is greater than or equal to 1S, the crystal oscillator works abnormally, and at this time, the input current Ibias is low, proceeding to step S203,
s203: repeatedly increasing the input current of the crystal oscillator and detecting the dead time of the crystal oscillator until the dead time of the crystal oscillator is smaller than a preset threshold value to obtain the working current of the crystal oscillator;
when the dead time is less than 1S, the crystal oscillator works normally, and the input current Ibias is high, step S204 is entered,
s204: repeating the steps of reducing the input current of the crystal oscillator and detecting the dead time of the crystal oscillator until the dead time of the crystal oscillator is approximately equal to a preset threshold value to obtain the working current of the crystal oscillator,
after the steps S203 and S204 are iterated for multiple times, a stable input current Ibias with the lowest power consumption is selected as a working current when the crystal oscillator normally works, the crystal oscillator is ensured to be in an optimal working state, stable oscillation frequency is output, and the power consumption is lowest;
s205: and detecting the change of the environment temperature of the crystal oscillator, wherein when the change of the environment temperature of the crystal oscillator exceeds an early warning range, the step S202 is re-entered, and the input current of the crystal oscillator is repeatedly adjusted according to the dead time of the crystal oscillator so as to obtain the working current of the crystal oscillator.
S206: and storing and memorizing the readjusted working current of the crystal oscillator when the environmental temperature change exceeds the early warning range, and reading the corresponding working current according to the environmental temperature change of the crystal oscillator to realize self-adaptive adjustment.
The third concrete embodiment:
as shown in fig. 5, the system for obtaining the working current of the crystal oscillator of the present embodiment has the same time detection module 1 and the same control circuit 2 as the first embodiment, and is different from the first embodiment in that, in the environment powered by the battery, the power voltage of the crystal oscillator is a variable value, and the GM value of the driving circuit of the crystal oscillator is a variable value with the power voltage under different power voltages, so the present embodiment further includes a voltage detection module 5 and a register 4,
the voltage detection module 5 detects the power supply voltage change of the crystal oscillator, wherein when the power supply voltage change of the crystal oscillator exceeds an early warning range, the control circuit repeatedly adjusts the input current of the crystal oscillator according to the dead time of the crystal oscillator to obtain the working current of the crystal oscillator, the register 4 stores and memorizes the working current of the crystal oscillator readjusted by the control circuit when the power supply voltage change exceeds the early warning range, and reads the corresponding working current according to the power supply voltage of the crystal oscillator to realize self-adaptive adjustment.
A chip comprises the system for obtaining the working current of the crystal oscillator.
Since the power supply voltage of the crystal oscillator is a variable value in a battery-powered environment, and the GM value of the driving circuit of the crystal oscillator is a variable value with the power supply voltage under different power supply voltages, the method for obtaining the operating current of the crystal oscillator of the present embodiment is different from the first embodiment in that the method further includes: and detecting the power supply voltage change of the crystal oscillator and storing and memorizing the power supply voltage change so as to realize self-adaptive adjustment.
As shown in fig. 6, a method for obtaining an operating current of a crystal oscillator includes the following steps:
s301: providing an initial input current Ibias to the crystal oscillator,
taking a 10MHz clock as an example, the current capable of maintaining the normal work of the crystal oscillator driving circuit is 500uA-1mA, and the initial input current Ibias can be adjusted to 1mA firstly;
s302: detecting whether the dead time of the crystal oscillator is larger than or equal to a preset threshold value, when the dead time is larger than or equal to the preset threshold value, entering step S303, when the dead time is smaller than the preset threshold value, entering step S304,
after waiting for the initial input current Ibias to be stable, detecting whether the dead time of the crystal oscillator is greater than or equal to a preset threshold, for example, setting the dead time to be 1S, when the dead time is greater than or equal to 1S, the crystal oscillator works abnormally, and at this time, the input current Ibias is low, proceeding to step S303,
s303: repeatedly increasing the input current of the crystal oscillator and detecting the dead time of the crystal oscillator until the dead time of the crystal oscillator is smaller than a preset threshold value to obtain the working current of the crystal oscillator;
when the dead time is less than 1S, the crystal oscillator works normally, and the input current Ibias is high, step S304 is entered,
s304: repeating the steps of reducing the input current of the crystal oscillator and detecting the dead time of the crystal oscillator until the dead time of the crystal oscillator is approximately equal to a preset threshold value to obtain the working current of the crystal oscillator,
after the steps S303 and S304 are iterated for multiple times, a stable input current Ibias with the lowest power consumption is selected as a working current when the crystal oscillator normally works, so that the crystal oscillator is in an optimal working state, stable oscillation frequency is output, and the power consumption is lowest;
s305: and detecting the change of the power supply voltage of the crystal oscillator, wherein when the change of the power supply voltage of the crystal oscillator exceeds an early warning range, the step S302 is re-entered, and the input current of the crystal oscillator is repeatedly adjusted according to the dead time of the crystal oscillator so as to obtain the working current of the crystal oscillator.
S306: and storing and memorizing the readjusted working current of the crystal oscillator when the power supply voltage change exceeds the early warning range, and reading the corresponding working current according to the power supply voltage of the crystal oscillator to realize self-adaptive adjustment.
In the system, the method, and the chip for obtaining the working current of the crystal oscillator provided in this embodiment, the input current of the crystal oscillator is repeatedly adjusted according to the comparison result between the dead time of the crystal oscillator and the preset threshold to obtain the working current of the crystal oscillator, a proper working current of the crystal oscillator is selected through multiple iterations, under the condition that the crystal oscillator can normally work, the circuit which is effectively reduced reduces the overall power consumption, outputs a stable oscillation frequency, reduces the power consumption of the chip, is additionally provided with the voltage detection module and the register to detect the change of the power supply voltage of the crystal oscillator, the input current of the crystal oscillator is repeatedly adjusted according to the dead time of the crystal oscillator to obtain the working current of the crystal oscillator, and the readjusted working current of the crystal oscillator when the change of the power supply voltage exceeds the early warning range is stored and memorized, and reading corresponding working current according to the power supply voltage of the crystal oscillator to realize self-adaptive adjustment, outputting stable oscillation frequency in a larger voltage range, and reducing the power consumption of the chip.
The fourth concrete embodiment:
as shown in fig. 7, the system for obtaining the working current of the crystal oscillator of the present embodiment has the same time detection module 1 and the same control circuit 2 as the first embodiment, and is different from the first embodiment in that the temperature variation of the working environment where the crystal oscillator is located is uncontrollable, in the battery powered environment, the power voltage where the crystal oscillator is located is a variable value, and in different power voltages, the GM value of the driving circuit of the crystal oscillator is a value varying with the power voltage, so the present embodiment further includes a temperature detection module 3, a register 4, and a voltage detection module 5,
the temperature detection module 3 detects the change of the environment temperature of the crystal oscillator, when the change of the environment temperature of the crystal oscillator exceeds an early warning range, the control circuit repeatedly adjusts the input current of the crystal oscillator according to the dead time of the crystal oscillator again to obtain the working current of the crystal oscillator,
the voltage detection module 5 detects the change of the power supply voltage of the crystal oscillator, wherein when the change of the power supply voltage of the crystal oscillator exceeds an early warning range, the control circuit repeatedly adjusts the input current of the crystal oscillator according to the dead time of the crystal oscillator again to obtain the working current of the crystal oscillator,
and the register 4 stores and memorizes the working current of the crystal oscillator readjusted by the control circuit when the environmental temperature change and the power supply voltage change exceed the early warning range, and reads the corresponding working current according to the environmental temperature of the crystal oscillator and the power supply voltage to realize self-adaptive adjustment.
A chip comprises the system for obtaining the working current of the crystal oscillator.
Since the temperature variation of the working environment of the crystal oscillator is uncontrollable, in the battery-powered environment, the power voltage of the crystal oscillator is a variable value, and the GM value of the driving circuit of the crystal oscillator is a value varying with the power voltage under different power voltages, the method for obtaining the working current of the crystal oscillator of this embodiment is different from the first embodiment in that the method further comprises: detecting the change of the environmental temperature of the crystal oscillator, and storing and memorizing the change to realize self-adaptive adjustment; and detecting the change of the power supply voltage of the crystal oscillator power supply, and storing and memorizing the change to realize self-adaptive adjustment.
As shown in fig. 8, a method for obtaining an operating current of a crystal oscillator includes the following steps:
s401: providing an initial input current Ibias to the crystal oscillator,
taking a 10MHz clock as an example, the current capable of maintaining the normal work of the crystal oscillator driving circuit is 500uA-1mA, and the initial input current Ibias can be adjusted to 1mA firstly;
s402: detecting whether the dead time of the crystal oscillator is greater than or equal to a preset threshold, when the dead time is greater than or equal to the preset threshold, entering step S403, when the dead time is less than the preset threshold, entering step S404,
after waiting for the initial input current Ibias to be stable, detecting whether the dead time of the crystal oscillator is greater than or equal to a preset threshold, for example, setting the dead time to be 1S, when the dead time is greater than or equal to 1S, the crystal oscillator works abnormally, and at this time, the input current Ibias is low, proceeding to step S403,
s403: repeatedly increasing the input current of the crystal oscillator and detecting the dead time of the crystal oscillator until the dead time of the crystal oscillator is smaller than a preset threshold value to obtain the working current of the crystal oscillator;
when the dead time is less than 1S, the crystal oscillator works normally, and the input current Ibias is high, step S304 is entered,
s404: repeating the steps of reducing the input current of the crystal oscillator and detecting the dead time of the crystal oscillator until the dead time of the crystal oscillator is approximately equal to a preset threshold value to obtain the working current of the crystal oscillator,
after the steps S403 and S404 are iterated for multiple times, a stable input current Ibias with the lowest power consumption is selected as a working current when the crystal oscillator normally works, the crystal oscillator is ensured to be in an optimal working state, stable oscillation frequency is output, and the power consumption is lowest;
s405: detecting the change of the environment temperature of the crystal oscillator, wherein when the change of the environment temperature of the crystal oscillator exceeds an early warning range, the step S402 is re-entered, and the input current of the crystal oscillator is repeatedly adjusted according to the dead time of the crystal oscillator so as to obtain the working current of the crystal oscillator;
s406: detecting the change of the power supply voltage of the crystal oscillator, wherein when the change of the power supply voltage of the crystal oscillator exceeds an early warning range, the step S402 is re-entered, and the input current of the crystal oscillator is repeatedly adjusted according to the dead time of the crystal oscillator so as to obtain the working current of the crystal oscillator;
s407: and storing and memorizing the readjusted working current of the crystal oscillator when the environmental temperature change and the power supply voltage change exceed the early warning range, and reading the corresponding working current according to the environmental temperature of the crystal oscillator and the power supply voltage to realize self-adaptive adjustment.
According to the system, the method and the chip for obtaining the working current of the crystal oscillator, the input current of the crystal oscillator is repeatedly adjusted according to the comparison result of the dead time of the crystal oscillator and the preset threshold value so as to obtain the working current of the crystal oscillator, the proper working current of the crystal oscillator is selected through multiple iterations, under the condition that the crystal oscillator can normally work, the overall power consumption of a circuit which is effectively reduced is reduced, stable oscillation frequency is output, the power consumption of the chip is reduced, a temperature detection module, a voltage detection module and a register are added, the ambient temperature change and the power supply voltage change of the crystal oscillator are detected, the input current of the crystal oscillator is repeatedly adjusted according to the dead time of the crystal oscillator so as to obtain the working current of the crystal oscillator, and the crystal oscillator which is readjusted when the ambient temperature change and the power supply voltage change exceed the early warning range is stored and memorized And reading the corresponding working current according to the environment temperature of the crystal oscillator and the power supply voltage to realize self-adaptive adjustment, outputting stable oscillation frequency in a larger environment temperature range and a larger voltage range, and reducing the power consumption of the chip.
The above description is only a few specific embodiments of the present invention, but the design concept of the present invention is not limited thereto, and any insubstantial modifications made by the design concept should fall within the scope of the present invention.

Claims (12)

1. A system for obtaining crystal oscillator operating current, comprising:
the time detection module is used for detecting the dead time of the crystal oscillator;
and the control circuit is connected with the time detection module and the crystal oscillator and used for providing input current for the crystal oscillator according to the dead time detected by the time detection module, wherein when the dead time of the crystal oscillator is greater than or equal to a preset threshold value, the steps of increasing the input current of the crystal oscillator and detecting the dead time of the crystal oscillator are repeated until the dead time of the crystal oscillator is less than the preset threshold value so as to obtain the working current of the crystal oscillator.
2. The system for obtaining crystal oscillator operating current of claim 1, wherein: the control circuit is further configured to, when the dead time of the crystal oscillator is less than a preset threshold, repeat the steps of reducing the input current of the crystal oscillator and detecting the dead time of the crystal oscillator until the dead time of the crystal oscillator is approximately equal to the preset threshold to obtain the working current of the crystal oscillator.
3. The system for obtaining crystal oscillator operating current of claim 1 or 2, wherein: the control circuit comprises a digital control circuit and a current source adjusting module, the digital control circuit is connected with the time detection module, the current source adjusting module is respectively connected with the digital control circuit and the crystal oscillator, and the digital control circuit controls the current source adjusting module to repeatedly adjust the input current of the crystal oscillator according to the dead time of the crystal oscillator.
4. The system for obtaining crystal oscillator operating current of claim 1, wherein: the temperature detection module is used for detecting the change of the environment temperature of the crystal oscillator, wherein when the change of the environment temperature of the crystal oscillator exceeds an early warning range, the control circuit repeatedly adjusts the input current of the crystal oscillator according to the dead time of the crystal oscillator again to obtain the working current of the crystal oscillator.
5. The system for obtaining crystal oscillator operating current of claim 1 or 4, wherein: the control circuit is used for repeatedly adjusting the input current of the crystal oscillator according to the dead time of the crystal oscillator to obtain the working current of the crystal oscillator.
6. The system for obtaining crystal oscillator operating current of claim 5, wherein: the crystal oscillator control circuit comprises a control circuit, a register and a control circuit, wherein the control circuit is used for storing and memorizing the working current of the crystal oscillator readjusted when the environmental temperature change and/or the power supply voltage change exceed the early warning range, and reading the corresponding working current according to the environmental temperature and/or the power supply voltage of the crystal oscillator to realize self-adaptive adjustment.
7. A chip, characterized by: a system for obtaining crystal oscillator operating current comprising any of claims 1-6.
8. A method of obtaining crystal oscillator operating current, comprising:
providing an initial input current to the crystal oscillator;
detecting whether the dead time of the crystal oscillator is larger than or equal to a preset threshold value or not;
when the dead time of the crystal oscillator is larger than or equal to a preset threshold, the steps of increasing the input current of the crystal oscillator and detecting the dead time of the crystal oscillator are repeated until the dead time of the crystal oscillator is smaller than the preset threshold so as to obtain the working current of the crystal oscillator.
9. The method of deriving crystal oscillator operating current according to claim 8, further comprising: when the dead time of the crystal oscillator is smaller than a preset threshold value, the steps of reducing the input current of the crystal oscillator and detecting the dead time of the crystal oscillator are repeated until the dead time of the crystal oscillator is approximately equal to the preset threshold value so as to obtain the working current of the crystal oscillator.
10. The method of claim 8, wherein the step of obtaining the crystal oscillator operating current comprises: and detecting the change of the environment temperature of the crystal oscillator, wherein when the change of the environment temperature of the crystal oscillator exceeds an early warning range, the input current of the crystal oscillator is repeatedly adjusted according to the dead time of the crystal oscillator again to obtain the working current of the crystal oscillator.
11. A method of obtaining crystal oscillator operating current as claimed in claim 8 or 10, characterised in that: and detecting the change of the voltage of the power supply of the crystal oscillator, wherein when the change of the voltage of the power supply of the crystal oscillator exceeds an early warning range, the input current of the crystal oscillator is repeatedly adjusted according to the dead time of the crystal oscillator to obtain the working current of the crystal oscillator.
12. The method of claim 11, wherein the step of obtaining the operating current of the crystal oscillator comprises: and storing and memorizing the readjusted working current of the crystal oscillator when the environmental temperature change and/or the power supply voltage change exceed the early warning range, and reading the corresponding working current according to the environmental temperature and/or the power supply voltage of the crystal oscillator to realize self-adaptive adjustment.
CN201811399709.8A 2018-11-22 2018-11-22 System, method and chip for obtaining working current of crystal oscillator Active CN109525223B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811399709.8A CN109525223B (en) 2018-11-22 2018-11-22 System, method and chip for obtaining working current of crystal oscillator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811399709.8A CN109525223B (en) 2018-11-22 2018-11-22 System, method and chip for obtaining working current of crystal oscillator

Publications (2)

Publication Number Publication Date
CN109525223A CN109525223A (en) 2019-03-26
CN109525223B true CN109525223B (en) 2020-06-26

Family

ID=65779026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811399709.8A Active CN109525223B (en) 2018-11-22 2018-11-22 System, method and chip for obtaining working current of crystal oscillator

Country Status (1)

Country Link
CN (1) CN109525223B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114295955A (en) * 2021-12-03 2022-04-08 山东岱微电子有限公司 Chip screening method and device and chip screening equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882909A (en) * 2009-05-08 2010-11-10 深圳迈瑞生物医疗电子股份有限公司 Circuit for implementing voltage-controlled oscillator with dead zone and resonant power supply
CN102256425A (en) * 2011-06-23 2011-11-23 西安电子科技大学 Self-adaptive dead-zone time control circuit in half-bridge driver chip of electronic ballast
CN102291912A (en) * 2011-06-23 2011-12-21 西安电子科技大学 Multi-frequency oscillator having dead time in electronic ballast
CN102938613A (en) * 2012-11-21 2013-02-20 东文高压电源(天津)有限公司 Positive polarity adjustable high-voltage power circuit consisting of TL5001A

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8354798B2 (en) * 2011-01-13 2013-01-15 Simplexgrinnell Lp Compensation circuit for current peaking reduction in notification appliances

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882909A (en) * 2009-05-08 2010-11-10 深圳迈瑞生物医疗电子股份有限公司 Circuit for implementing voltage-controlled oscillator with dead zone and resonant power supply
CN102256425A (en) * 2011-06-23 2011-11-23 西安电子科技大学 Self-adaptive dead-zone time control circuit in half-bridge driver chip of electronic ballast
CN102291912A (en) * 2011-06-23 2011-12-21 西安电子科技大学 Multi-frequency oscillator having dead time in electronic ballast
CN102938613A (en) * 2012-11-21 2013-02-20 东文高压电源(天津)有限公司 Positive polarity adjustable high-voltage power circuit consisting of TL5001A

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
集成恒温晶体振荡器的设计与研究;赵宏建;《中国优秀硕士学位论文全文数据库》;20141015;全文 *

Also Published As

Publication number Publication date
CN109525223A (en) 2019-03-26

Similar Documents

Publication Publication Date Title
KR101107430B1 (en) Power supply circuit
JP5961374B2 (en) Power supply device, control method for power supply device, and electronic device
CN108415502B (en) Digital linear voltage-stabilized power supply without finite period oscillation and voltage stabilizing method
US8531234B2 (en) Temperature detection device
KR20080011088A (en) Constant voltage supply circuit
US6552446B1 (en) Method and device for electric supply in a mobile apparatus
JP2005071320A (en) Power supply circuit and semiconductor integrated circuit device
US8792946B2 (en) Electronic circuit and radio communications system
CN109525223B (en) System, method and chip for obtaining working current of crystal oscillator
JP2007020245A (en) Charging circuit and semiconductor device equipepd with charging circuit
CN110109501B (en) Load jump quick response circuit and quick response method
CN111209712B (en) System, method and chip for obtaining working voltage of crystal oscillator
CN116679821B (en) Voltage adjusting method and electronic equipment
CN107196352B (en) Battery cell control circuit
JP2002055130A (en) Frequency judgment circuit and data processor
US7882392B2 (en) Electronic device and method of controlling electronic device
US11742798B2 (en) Oscillation device and electronic device
CN112882560B (en) Power management method, power device, electronic apparatus, and storage medium
CN210626994U (en) Start control device and electronic equipment
KR101128613B1 (en) Quick Start Crystal oscillator and calibration method thereof
CN110729984B (en) Clock signal generation circuit and electronic equipment
US20090021075A1 (en) Semiconductor device
CN104168015A (en) Oscillation device and clock pulse signal generation method
US7088164B2 (en) Semiconductor integrated circuit device and electronic appliance with power control
CN219960534U (en) Power amplifier switch control device and power amplifier system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201209

Address after: 519070, Jinji Hill Road, front hill, Zhuhai, Guangdong

Patentee after: GREE ELECTRIC APPLIANCES,Inc.OF ZHUHAI

Patentee after: Zhuhai Zero Boundary Integrated Circuit Co.,Ltd.

Address before: 519070, Jinji Hill Road, front hill, Zhuhai, Guangdong

Patentee before: GREE ELECTRIC APPLIANCES,Inc.OF ZHUHAI