CN109639238B - Passive crystal oscillator driving regulation and control method, device, equipment and storage medium - Google Patents
Passive crystal oscillator driving regulation and control method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN109639238B CN109639238B CN201811518777.1A CN201811518777A CN109639238B CN 109639238 B CN109639238 B CN 109639238B CN 201811518777 A CN201811518777 A CN 201811518777A CN 109639238 B CN109639238 B CN 109639238B
- Authority
- CN
- China
- Prior art keywords
- crystal oscillator
- passive crystal
- output frequency
- current output
- preset
- 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
Links
- 239000013078 crystal Substances 0.000 title claims abstract description 149
- 230000033228 biological regulation Effects 0.000 title claims abstract description 40
- 238000000034 method Methods 0.000 title claims abstract description 35
- 239000003990 capacitor Substances 0.000 claims description 21
- 230000001105 regulatory effect Effects 0.000 claims description 17
- 230000017525 heat dissipation Effects 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 10
- 238000001514 detection method Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000003247 decreasing effect Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000010355 oscillation Effects 0.000 description 2
- 230000007488 abnormal function Effects 0.000 description 1
- 230000032683 aging Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03B—GENERATION OF OSCILLATIONS, DIRECTLY OR BY FREQUENCY-CHANGING, BY CIRCUITS EMPLOYING ACTIVE ELEMENTS WHICH OPERATE IN A NON-SWITCHING MANNER; GENERATION OF NOISE BY SUCH CIRCUITS
- H03B5/00—Generation of oscillations using amplifier with regenerative feedback from output to input
- H03B5/02—Details
- H03B5/06—Modifications of generator to ensure starting of oscillations
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03B—GENERATION OF OSCILLATIONS, DIRECTLY OR BY FREQUENCY-CHANGING, BY CIRCUITS EMPLOYING ACTIVE ELEMENTS WHICH OPERATE IN A NON-SWITCHING MANNER; GENERATION OF NOISE BY SUCH CIRCUITS
- H03B5/00—Generation of oscillations using amplifier with regenerative feedback from output to input
- H03B5/02—Details
- H03B5/04—Modifications of generator to compensate for variations in physical values, e.g. power supply, load, temperature
Landscapes
- Oscillators With Electromechanical Resonators (AREA)
Abstract
The invention discloses a method, a device, equipment and a computer readable storage medium for passive crystal oscillator drive regulation, comprising the following steps: acquiring the current output frequency of a passive crystal oscillator in a server system; judging whether the current output frequency of the passive crystal oscillator meets a preset frequency precision range or not; and if the current output frequency does not meet the preset precision range, dynamically adjusting the load capacitance and/or the series resistance of the passive crystal oscillator until the obtained updated output frequency meets the preset frequency precision range. According to the method, the device, the equipment and the computer readable storage medium provided by the invention, the output frequency of the passive crystal oscillator is ensured to be within the preset frequency precision range by dynamically adjusting the series resistance and the load capacitance of the passive crystal oscillator, so that the reliability of the whole server system is improved.
Description
Technical Field
The invention relates to the technical field of server systems, in particular to a passive crystal oscillator driving regulation and control method, device, equipment and a computer readable storage medium.
Background
With the development of board card scale of storage and server systems, various IC circuit modules are increasingly widely used. The passive crystal oscillator provides clock guarantee for the normal operation of the IC modules. The load capacitance and the series resistance at the periphery of the crystal oscillator are the key points for the normal operation of the crystal oscillator. In normal board card application, factors such as the material of the PCB, the working temperature and aging may cause changes in the load capacitance and the series resistance, which easily causes the clock of the IC circuit to drift, resulting in abnormal functions of part of the system, and further affecting the reliability of the whole system.
From the above, it can be seen that how to ensure that the output frequency of the passive crystal oscillator is kept within the precision range required by the system is the problem to be solved at present.
Disclosure of Invention
The invention aims to provide a passive crystal oscillator driving regulation and control method, a passive crystal oscillator driving regulation and control device, passive crystal oscillator driving regulation and control equipment and a computer readable storage medium, and aims to solve the problem that the clock of an IC circuit is deviated due to the abnormity of a load capacitor and a series resistor in the prior art, so that the reliability of a system is influenced.
In order to solve the above technical problem, the present invention provides a passive crystal oscillator driving and regulating method, which includes: acquiring the current output frequency of a passive crystal oscillator in a server system; judging whether the current output frequency of the passive crystal oscillator meets a preset frequency precision range or not; and if the current output frequency does not meet the preset precision range, dynamically adjusting the load capacitance and/or the series resistance of the passive crystal oscillator until the obtained updated output frequency meets the preset frequency precision range.
Preferably, the determining whether the output frequency of the passive crystal oscillator meets a preset frequency precision range includes:
calculating the ratio of the current output frequency of the passive crystal oscillator to a preset output frequency;
judging whether the ratio is within the preset frequency precision range or not;
if the ratio is within the preset frequency precision range, judging that the current output frequency meets the preset precision range;
and if the ratio is not within the preset frequency precision range, judging that the current output frequency does not meet the preset precision range.
Preferably, if the current output frequency does not satisfy the preset precision range, dynamically adjusting the load capacitance and/or the series resistance of the passive crystal oscillator until the obtained updated output frequency satisfies the preset frequency precision range includes:
when the current output frequency does not meet the preset precision range, judging the regulation trend of the current output frequency;
if the adjustment trend of the current output frequency is towards increasing, increasing the resistance value corresponding to the current output frequency from the resistance value corresponding to the current level t to the resistance value corresponding to the level t + 1;
reducing the resistance value corresponding to the current output frequency from the resistance value corresponding to the current level f to the capacitance value corresponding to the level f-1, and acquiring and judging whether the updated output frequency of the passive crystal oscillator meets the preset frequency precision range;
if the updated output frequency meets the preset frequency precision range, finishing the passive crystal oscillator driving and adjusting operation;
the adjustable grade range of the series resistor is 1-N grade, the adjustable grade range of the load capacitor is 1-M grade, t is more than or equal to 1 and less than t +1 and less than or equal to N, and f is more than or equal to 1 and less than or equal to f-1 and less than or equal to M.
Preferably, before acquiring the current output frequency of the passive crystal oscillator in the server system, the method further includes:
acquiring the working environment temperature of the passive crystal oscillator by using a temperature detection module;
and directionally radiating the passive crystal oscillator by using a radiating module according to the working environment temperature, so that the load capacitor and the series resistor of the passive crystal oscillator work within a preset allowable temperature range.
Preferably, the directionally dissipating heat of the passive crystal oscillator by using the heat dissipation module includes:
if the working environment temperature of the passive crystal oscillator cannot be regulated through the heat dissipation module, generating a built-in capacitance value-temperature curve and a resistance value-temperature curve;
and replacing the load capacitor and the series resistor of the passive crystal oscillator according to the built-in capacitance value-temperature curve and the resistance value-temperature curve.
Preferably, before acquiring the current output frequency of the passive crystal oscillator in the server system, the method further includes:
recording the working time of the server system, and drawing a built-in capacity value-duration curve and a resistance value-duration curve;
and replacing the load capacitor of the passive crystal oscillator and the redundant device in the series resistor according to the built-in capacitance value-duration curve and the resistance value-duration curve.
The invention also provides a device for driving and regulating the passive crystal oscillator, which comprises:
the acquisition module is used for acquiring the current output frequency of the passive crystal oscillator in the server system;
the judging module is used for judging whether the current output frequency of the passive crystal oscillator meets a preset frequency precision range;
and the adjusting module is used for dynamically adjusting the load capacitance and/or the series resistance of the passive crystal oscillator if the current output frequency does not meet the preset precision range until the obtained updated output frequency meets the preset frequency precision range.
Preferably, the determining module is specifically configured to:
calculating the ratio of the current output frequency of the passive crystal oscillator to a preset output frequency;
judging whether the ratio is within the preset frequency precision range or not;
if the ratio is within the preset frequency precision range, judging that the current output frequency meets the preset precision range;
and if the ratio is not within the preset frequency precision range, judging that the current output frequency does not meet the preset precision range.
The invention also provides a device for passive crystal oscillator driving regulation, which comprises:
a memory for storing a computer program; and the processor is used for realizing the steps of the passive crystal oscillator driving regulation and control method when executing the computer program.
The invention also provides a computer readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the above-mentioned method for passive crystal oscillator drive regulation.
The passive crystal oscillator driving regulation and control method provided by the invention obtains the current output frequency of the passive crystal oscillator of the server system. And judging whether the current output frequency meets a preset frequency precision range. And if the current output frequency of the passive crystal oscillator does not meet the preset frequency precision range, indicating that the clock of the IC circuit of the server system drifts. Because the load capacitor and the series resistor have large influence on the passive crystal oscillator, the output frequency of the passive crystal oscillator is ensured to be within the preset frequency precision range by dynamically adjusting the series resistor and the load capacitor of the passive crystal oscillator, and the reliability of the whole server system is improved.
Correspondingly, the passive crystal oscillator driving regulation and control device, the passive crystal oscillator driving regulation and control equipment and the computer readable storage medium have the beneficial effects.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a flowchart of a first embodiment of a passive crystal oscillator driving regulation method according to the present invention;
FIG. 2 is a flowchart of a second embodiment of a passive crystal oscillator driving regulation method according to the present invention;
fig. 3 is a block diagram of a passive crystal oscillator driving and regulating apparatus according to an embodiment of the present invention;
fig. 4 is a block diagram of a passive crystal oscillator driving and regulating device according to an embodiment of the present invention.
Detailed Description
The core of the invention is to provide a method, a device, equipment and a computer readable storage medium for driving and regulating a passive crystal oscillator, which ensure that the output frequency of the passive crystal oscillator is within a preset frequency precision range by dynamically adjusting the series resistance and the load capacitance of the passive crystal oscillator, and improve the reliability of the whole system of a server.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a passive crystal oscillator driving regulation method according to a first embodiment of the present invention; the specific operation steps are as follows:
step S101: acquiring the current output frequency of a passive crystal oscillator in a server system;
in this embodiment, payment is performed by using signals such as frequency offset and power supply output of the passive crystal oscillator. And the real-time correction of the output frequency and amplitude is carried out through a capacitance network and a resistance network.
Step S102: judging whether the current output frequency of the passive crystal oscillator meets a preset frequency precision range or not;
calculating the ratio of the current output frequency of the passive crystal oscillator to a preset output frequency; judging whether the ratio is within the preset frequency precision range or not; if the ratio is within the preset frequency precision range, judging that the current output frequency meets the preset precision range; and if the ratio is not within the preset frequency precision range, judging that the current output frequency does not meet the preset precision range.
Step S103: and if the current output frequency does not meet the preset precision range, dynamically adjusting the load capacitance and/or the series resistance of the passive crystal oscillator until the obtained updated output frequency meets the preset frequency precision range.
In this embodiment, when the output frequency of the passive crystal oscillator does not satisfy the preset precision range, it is first determined whether the current output frequency needs to be increased or decreased. Increasing the load capacitance can reduce the output frequency of the passive crystal oscillator, and decreasing the load capacitance can increase the output frequency of the passive crystal oscillator; the increase series resistance can prevent that the crystal oscillator drive from taking place to overdrive excessively to lead to whole output frequency to rise, reduces the series resistance and can improve the drive ability, improves the start-up time of passive crystal oscillator.
The adjustable grade range of the series resistor is 1-N grade, and the adjustable grade range of the load capacitor is 1-M grade. The more the levels of the series resistance and the load capacitance are set to be adjustable, the more finely the output frequency is adjusted.
And taking the current output frequency needing to be increased as a column, preferentially adjusting the series resistance of the passive crystal oscillator, and recording an output frequency when the series resistance is increased by one or more levels. Judging whether the output frequency corresponding to each different resistance value of the series resistor meets the preset frequency precision or not; and whether the variation between the respective output frequencies is significant. If only the series resistor is adjusted, the difference value between the output frequencies corresponding to the resistance values is small, and the output frequency within the preset frequency precision range does not exist; it means that the output frequency within the preset precision range cannot be obtained by adjusting the series resistor.
After the series resistor is adjusted, when the target output frequency is not obtained, the load capacitance of the passive crystal oscillator can be adjusted. In order to increase the output frequency of the passive crystal oscillator, the current capacitance value of the load capacitor may be reduced to the capacitance value corresponding to the level 1, the output frequency corresponding to each capacitance value is recorded, the output frequency corresponding to each capacitance value is determined, and whether a target output frequency meeting a preset frequency precision range is obtained by adjustment is determined.
If the load capacitance value is adjusted independently or the series resistance is adjusted independently without adjusting the target output frequency, the load capacitance value and the series resistance can be adjusted simultaneously. For example: and the load capacitance is reduced by 1 grade, and after the series resistance is increased by 1 grade, the output frequency is calculated for judgment. The load capacitance and the series resistance may not be the same level of each adjustment. And if the difference between the current output frequency and the output frequency required by the user is more, the number of the grades adjusted each time can be a plurality of grades instead of one grade.
Based on the above embodiments, in this embodiment, the load capacitor and the series resistor may also be dynamically adjusted by using the working temperature of the passive crystal oscillator and the working time of the whole machine. Referring to fig. 2, fig. 2 is a flowchart illustrating a passive crystal oscillator driving regulation method according to a second embodiment of the present invention;
step S201: acquiring the working environment temperature of a passive crystal oscillator in a server system by using a temperature detection module;
step S202: according to the working environment temperature, the passive crystal oscillator is subjected to directional heat dissipation by using a heat dissipation module, so that the load capacitance and the series resistance of the passive crystal oscillator work within a preset allowable temperature range;
step S203: if the working environment temperature of the passive crystal oscillator cannot be regulated through the heat dissipation module, generating a built-in capacitance value-temperature curve and a resistance value-temperature curve;
step S204: according to the built-in capacitance value-temperature curve and the resistance value-temperature curve, replacing the load capacitor and the series resistor with the internal temperature not in accordance with a preset allowable temperature range;
step S205: recording the working time of the server system, and drawing a built-in capacity value-duration curve and a resistance value-duration curve;
step S206: replacing the load capacitor of the passive crystal oscillator and the redundant device in the series resistor according to the built-in capacitance value-duration curve and the resistance value-duration curve;
step S207: acquiring the current output frequency of a passive crystal oscillator in the server system;
step S208: judging whether the current output frequency of the passive crystal oscillator meets a preset frequency precision range or not;
step S209: and if the current output frequency does not meet the preset precision range, dynamically adjusting the load capacitance and/or the series resistance of the passive crystal oscillator until the obtained updated output frequency meets the preset frequency precision range.
In this embodiment, the load capacitance and the series resistance are dynamically adjusted automatically according to the output frequency fed back by the passive crystal oscillator, the working temperature of the passive crystal oscillator, the working time of the whole machine, and the like, so that the output frequency of the passive crystal oscillator is always kept within the precision range required by the system, and the reliability of the whole machine system is further improved.
Referring to fig. 3, fig. 3 is a block diagram of a passive crystal oscillator driving and regulating apparatus according to an embodiment of the present invention; the specific device may include:
an obtaining module 100, configured to obtain a current output frequency of a passive crystal oscillator in a server system;
the judging module 200 is configured to judge whether the current output frequency of the passive crystal oscillator meets a preset frequency precision range;
and an adjusting module 300, configured to dynamically adjust the load capacitance and/or the series resistance of the passive crystal oscillator if the current output frequency does not meet the preset precision range until the obtained updated output frequency meets the preset frequency precision range.
The passive crystal oscillator driving and regulating device of this embodiment is used for implementing the foregoing passive crystal oscillator driving and regulating method, and therefore specific embodiments of the passive crystal oscillator driving and regulating device may be found in the foregoing embodiment sections of the passive crystal oscillator driving and regulating method, for example, the obtaining module 100, the judging module 200, and the adjusting module 300 are respectively used for implementing steps S101, S102, and S103 in the foregoing passive crystal oscillator driving and regulating method, so that the specific embodiments thereof may refer to descriptions of corresponding respective section embodiments, and are not described herein again.
The specific embodiment of the present invention further provides a device for passive crystal oscillator driving regulation, including: a memory for storing a computer program; and the processor is used for realizing the steps of the passive crystal oscillator driving regulation and control method when executing the computer program.
Referring to fig. 4, fig. 4 is a block diagram of a passive crystal oscillator driving and regulating device according to an embodiment of the present invention; the specific device may include:
the passive crystal oscillator driving and regulating device provided by the embodiment comprises: the passive crystal oscillator driving and regulating module, the capacitor network module, the resistor network module and the hardware switch. The passive crystal oscillator driving regulation and control module is used as a processor of the equipment, is positioned on a board card, and is mainly applied to programmable logic devices such as CPLDs, FPGAs and the like. The passive crystal oscillator driving regulation and control module monitors the signal quality including frequency deviation, voltage and the like of the output of the prime number passive crystal oscillator through the gating of the hardware switch. And the real-time correction of the output frequency and amplitude is carried out through a capacitance network and a resistance network. Increasing the load capacitance can reduce the oscillation frequency of the crystal oscillator, and decreasing the load capacitance can increase the oscillation frequency; the increase series resistance can prevent that the crystal oscillator drive from taking place to overdrive excessively to lead to whole output frequency to rise, reduces the series resistance and can improve the drive ability, improves the start-up time of passive crystal oscillator. The capacitance network module is positioned on the board card and can dynamically adjust the load capacitance of the passive crystal oscillator under the direct control of the passive crystal oscillator driving regulation module. The resistance network module is positioned on the board card and can dynamically adjust the series resistance of the passive crystal oscillator under the direct control of the passive crystal oscillator driving regulation module.
In this embodiment, the device further comprises a temperature detection module and a heat dissipation module. The temperature detection module is positioned on the board card and can send the real-time working temperature of the passive crystal oscillator to the board card under the direct control of the passive crystal oscillator driving regulation module. The heat dissipation module is located on the board card and is directly controlled by the passive crystal oscillator driving regulation module, and heat dissipation action of the passive crystal oscillator can be performed through heat dissipation ways such as a fan.
The passive crystal oscillator driving regulation and control module can perform directional heat dissipation on the passive crystal oscillator through the heat dissipation module according to the passive crystal oscillator working temperature acquired by the temperature detection module, so that the capacitor network and the resistor network can be guaranteed to work within an allowable temperature range, and if the working environment temperature cannot be controlled through the heat dissipation module, the regulation and control module can replace the load capacitor and the series resistor according to a built-in capacitance value-temperature curve, a resistance value-temperature curve and the like. The passive crystal oscillator driving regulation and control module can also record the working time of the whole machine and replace redundant devices in a capacitor network and a resistor network according to a built-in capacitance value-time length curve, a resistance value-time length curve and the like. Through the series of actions of the module, the output frequency of the passive crystal oscillator is ensured to be always kept in the precision range required by the system, and the reliability of the whole system is further improved.
In this embodiment, the apparatus may further include: the device comprises an indication module, a serial port module and a wireless module. The indication module is located on the board card and is directly controlled by the serial port module to externally indicate the real-time state of the current passive crystal oscillator driving regulation and control module. The wireless module can convert the serial port module signal into wireless signals such as WIFI, and the external world can carry out information interaction with the passive crystal oscillator driving regulation and control module without an entity serial port line. The serial port module is characterized in that: and information interaction between the outside and the passive crystal oscillator driving regulation and control module and starting of related functions can be carried out through the serial port module.
The specific embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for passive crystal oscillator drive regulation and control are implemented.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The method, apparatus, device and computer readable storage medium for passive crystal oscillator driving regulation provided by the present invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
Claims (9)
1. A passive crystal oscillator driving regulation method is characterized by comprising the following steps:
acquiring the current output frequency of a passive crystal oscillator in a server system;
judging whether the current output frequency of the passive crystal oscillator meets a preset frequency precision range or not;
if the current output frequency does not meet the preset frequency precision range, dynamically adjusting the load capacitance and/or the series resistance of the passive crystal oscillator until the obtained updated output frequency meets the preset frequency precision range;
before obtaining the current output frequency of the passive crystal oscillator in the server system, the method further includes:
recording the working time of the server system, and drawing a built-in capacity value-duration curve and a resistance value-duration curve;
and replacing the load capacitor of the passive crystal oscillator and the redundant device in the series resistor according to the built-in capacitance value-duration curve and the resistance value-duration curve.
2. The method of claim 1, wherein the determining whether the output frequency of the passive crystal oscillator satisfies a predetermined frequency accuracy range comprises:
calculating the ratio of the current output frequency of the passive crystal oscillator to a preset output frequency;
judging whether the ratio is within the preset frequency precision range or not;
if the ratio is within the preset frequency precision range, judging that the current output frequency meets the preset frequency precision range;
and if the ratio is not within the preset frequency precision range, judging that the current output frequency does not meet the preset frequency precision range.
3. The method according to claim 1, wherein the dynamically adjusting the load capacitance and/or the series resistance of the passive crystal oscillator until the obtained updated output frequency satisfies the preset frequency accuracy range if the current output frequency does not satisfy the preset frequency accuracy range comprises:
when the current output frequency does not meet the preset frequency precision range, judging the regulation trend of the current output frequency;
if the adjustment trend of the current output frequency is towards increasing, increasing the resistance value corresponding to the current output frequency from the resistance value corresponding to the current level t to the resistance value corresponding to the level t + 1;
reducing the resistance value corresponding to the current output frequency from the resistance value corresponding to the current level f to the capacitance value corresponding to the level f-1, and acquiring and judging whether the updated output frequency of the passive crystal oscillator meets the preset frequency precision range;
if the updated output frequency meets the preset frequency precision range, finishing the passive crystal oscillator driving and adjusting operation;
the adjustable grade range of the series resistor is 1-N grade, the adjustable grade range of the load capacitor is 1-M grade, t is more than or equal to 1 and less than t +1 and less than or equal to N, and f is more than or equal to 1 and less than or equal to f-1 and less than or equal to M.
4. The method of claim 1, wherein obtaining the current output frequency of the passive crystal oscillator in the server system further comprises:
acquiring the working environment temperature of the passive crystal oscillator by using a temperature detection module;
and directionally radiating the passive crystal oscillator by using a radiating module according to the working environment temperature, so that the load capacitor and the series resistor of the passive crystal oscillator work within a preset allowable temperature range.
5. The method of claim 4, wherein the directionally dissipating heat from the passive crystal oscillator using the heat dissipation module comprises:
if the working environment temperature of the passive crystal oscillator cannot be regulated through the heat dissipation module, generating a built-in capacitance value-temperature curve and a resistance value-temperature curve;
and replacing the load capacitor and the series resistor of the passive crystal oscillator according to the built-in capacitance value-temperature curve and the resistance value-temperature curve.
6. A passive crystal oscillator driven regulation device is characterized by comprising:
the acquisition module is used for acquiring the current output frequency of the passive crystal oscillator in the server system;
the judging module is used for judging whether the current output frequency of the passive crystal oscillator meets a preset frequency precision range;
the adjusting module is used for dynamically adjusting the load capacitance and/or the series resistance of the passive crystal oscillator if the current output frequency does not meet the preset frequency precision range until the obtained updated output frequency meets the preset frequency precision range;
the acquisition module is further used for recording the working time of the server system, drawing a built-in capacitance value-duration curve and a resistance value-duration curve, and replacing a load capacitor of the passive crystal oscillator and a redundant device in the series resistor according to the built-in capacitance value-duration curve and the resistance value-duration curve.
7. The apparatus of claim 6, wherein the determining module is specifically configured to:
calculating the ratio of the current output frequency of the passive crystal oscillator to a preset output frequency;
judging whether the ratio is within the preset frequency precision range or not;
if the ratio is within the preset frequency precision range, judging that the current output frequency meets the preset frequency precision range;
and if the ratio is not within the preset frequency precision range, judging that the current output frequency does not meet the preset frequency precision range.
8. A passive crystal oscillator driven regulation device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of a passive crystal-driven regulation method according to any one of claims 1 to 5 when executing the computer program.
9. A computer-readable storage medium, having stored thereon a computer program for implementing, when being executed by a processor, the steps of a method of passive crystal-driven regulation according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811518777.1A CN109639238B (en) | 2018-12-12 | 2018-12-12 | Passive crystal oscillator driving regulation and control method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811518777.1A CN109639238B (en) | 2018-12-12 | 2018-12-12 | Passive crystal oscillator driving regulation and control method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109639238A CN109639238A (en) | 2019-04-16 |
CN109639238B true CN109639238B (en) | 2022-03-22 |
Family
ID=66073151
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811518777.1A Active CN109639238B (en) | 2018-12-12 | 2018-12-12 | Passive crystal oscillator driving regulation and control method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109639238B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112800714B (en) * | 2020-12-30 | 2024-05-31 | 科大讯飞股份有限公司 | Printed circuit board design method and related device |
CN114020343B (en) * | 2021-12-27 | 2022-04-22 | 苏州浪潮智能科技有限公司 | Driving capability adjusting method, device and equipment and readable storage medium |
CN114019342B (en) * | 2022-01-05 | 2022-04-05 | 深圳佑驾创新科技有限公司 | Passive crystal oscillator test circuit |
CN114689964B (en) * | 2022-02-28 | 2023-11-24 | 深圳市造物工场科技有限公司 | Crystal oscillator starting stability testing circuit, testing and adjusting method |
CN118249805B (en) * | 2024-05-27 | 2024-09-03 | 杭州胜金微电子有限公司 | Crystal oscillator starting control circuit, crystal oscillator starting control method, electronic equipment and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101714872A (en) * | 2009-11-11 | 2010-05-26 | 苏州麦格芯微电子有限公司 | Temperature compensation system and method of sound surface wave frequency device |
CN103716042A (en) * | 2013-12-26 | 2014-04-09 | 北京无线电计量测试研究所 | Temperature compensation method used for simulating temperature compensated crystal oscillator |
CN104065374A (en) * | 2014-05-19 | 2014-09-24 | 浪潮电子信息产业股份有限公司 | Crystal oscillator accuracy control method based on capacitive load automatic adjusting technology |
CN104135232A (en) * | 2014-07-29 | 2014-11-05 | 深圳市锐能微科技有限公司 | Crystal oscillator and frequency searching method |
CN104716904A (en) * | 2014-12-30 | 2015-06-17 | 广东大普通信技术有限公司 | Crystal oscillator frequency compensation method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7227422B2 (en) * | 2002-12-17 | 2007-06-05 | Nxp B.V. | Temperature compensated R-C oscillator |
-
2018
- 2018-12-12 CN CN201811518777.1A patent/CN109639238B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101714872A (en) * | 2009-11-11 | 2010-05-26 | 苏州麦格芯微电子有限公司 | Temperature compensation system and method of sound surface wave frequency device |
CN103716042A (en) * | 2013-12-26 | 2014-04-09 | 北京无线电计量测试研究所 | Temperature compensation method used for simulating temperature compensated crystal oscillator |
CN104065374A (en) * | 2014-05-19 | 2014-09-24 | 浪潮电子信息产业股份有限公司 | Crystal oscillator accuracy control method based on capacitive load automatic adjusting technology |
CN104135232A (en) * | 2014-07-29 | 2014-11-05 | 深圳市锐能微科技有限公司 | Crystal oscillator and frequency searching method |
CN104716904A (en) * | 2014-12-30 | 2015-06-17 | 广东大普通信技术有限公司 | Crystal oscillator frequency compensation method |
Non-Patent Citations (2)
Title |
---|
A 0.1 ppm Successive Approximation Frequency-Temperature Compensation Method for Temperature Compensated Crystal Oscillators (TCXO);M. Zhang and W. -x. Cao;《2009 WRI World Congress on Computer Science and Information Engineering》;20090624;493-498 * |
于新型电容阵列的数控晶体振荡器;李东岳;《微电子学》;20110820;550-553 * |
Also Published As
Publication number | Publication date |
---|---|
CN109639238A (en) | 2019-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109639238B (en) | Passive crystal oscillator driving regulation and control method, device, equipment and storage medium | |
US10114442B2 (en) | System and a method for controlling operating voltage | |
US20070011477A1 (en) | Method, system, and apparatus for dynamically configuring the operating point utilized for thermal management of an integrated circuit | |
US20150180482A1 (en) | Apparatus and method for reacting to a change in supply voltage | |
US20240372554A1 (en) | Adaptive frequency scaling based on clock cycle time measurement | |
CN116610522A (en) | Working frequency adjusting method, device and system | |
US10659063B2 (en) | Adaptive voltage frequency scaling for optimal power efficiency | |
US20090015232A1 (en) | Method and device for regulating a voltage supply to a semiconductor device | |
US8117466B2 (en) | Data processing device and power supply voltage generator that control a power supply voltage during an auxiliary period, and method of controlling the power supply voltage thereof during an auxiliary period | |
JP5590174B2 (en) | Temperature compensated oscillation circuit, real-time clock device and electronic equipment | |
WO2002076061A1 (en) | Method of correcting a real-time clock of an electronic apparatus | |
JP6098418B2 (en) | Signal control circuit, information processing apparatus, and duty calculation method | |
US6930521B2 (en) | Circuit for controlling the performance of an integrated circuit | |
CN102460885B (en) | Power supply circuit and power supply method | |
CN104075821A (en) | Semiconductor device and measurement method | |
KR20070095213A (en) | Clock frequency variation of a clocked current consumer | |
US7356719B2 (en) | Microcomputer | |
TW201813303A (en) | Mitigation of long wake-up delay of a crystal oscillator | |
KR20180062248A (en) | Circuit for controlling oscillator and apparatus including the same | |
JP7528049B2 (en) | Oscillator circuit with negative resistance margin test | |
JP6585977B2 (en) | Semiconductor device and oscillation circuit control method | |
CN115237243A (en) | Chip protection method, device, medium and computing equipment | |
US9543837B2 (en) | Apparatus and system for adjusting internal voltage | |
CN113644910B (en) | Clock generation method and system based on standard frequency signal | |
CN111490777B (en) | Crystal oscillator frequency detection processing method and device, logic device and storage medium |
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 |