Can space application offset-type quartz oscillator and compensation method
Technical field
The present invention relates to quartz oscillator fields, more specifically say it is it is a kind of can space application offset-type quartz
Crystal oscillator, the invention further relates to it is this can space application offset-type quartz oscillator compensation method.
Background technique
Quartz oscillator is carry in modem electronic circuitry with its exclusive frequency characteristic to give the correct time, synchronizes, measuring
Etc. various important functions.
With the development of every profession and trade, crystal oscillator index demand is also constantly being promoted, such as miniaturization, high stability, low function
Consumption etc..
But reliability design and guarantee are carried out in device selection, circuit structure, control algolithm, stablizes frequency-temperature
It spends index to be promoted, credit rating promotion is problem current in the industry.
Summary of the invention
The first object of the present invention is to overcome the shortcoming of above-mentioned background technology, and providing one kind can space application
Offset-type quartz oscillator.
The second object of the present invention be to provide it is this can space application offset-type quartz oscillator compensation method.
To achieve the goals above, the technical solution of the present invention is as follows: can space application offset-type quartz oscillator,
It is characterized by comprising entrance power circuit, numerical portion voltage regulator circuit, analog portion voltage regulator circuit, crystal oscillating circuits, pressure
Control voltage modulation circuit, temperature collection circuit, digital processing circuit, frequency conversion output circuit;
The entrance power circuit is defeated with the input terminal of numerical portion voltage regulator circuit and analog portion voltage regulator circuit respectively
Enter end connection;
The output end of the numerical portion voltage regulator circuit respectively with the input terminal of temperature collection circuit and digital processing circuit
Input terminal connection;
The output end of the analog portion voltage regulator circuit respectively with the input terminal of crystal oscillating circuit and voltage-controlled voltage modulated
The input terminal of circuit connects;
The temperature collection circuit is integrated form temperature sensor or discrete temperature sensing device;
The digital processing circuit includes two I/O mouthfuls, and one I/O mouthfuls receive as signal input from temperature acquisition
The digital temperature signal of circuit, the I/O mouthfuls of pulse signals sent as signal output to voltage-controlled voltage modulation circuit;
The voltage-controlled voltage modulation circuit receives digital processing circuit and sends pulse signal, after treatment passes through signal
The output end of voltage-controlled voltage modulation circuit is exported to the voltage-controlled end of crystal oscillating circuit;
The oscillator signal output end of the crystal oscillating circuit is connect by frequency conversion output circuit with OUT terminal or crystal oscillation
The oscillator signal output end of circuit is directly connect with OUT terminal.
In the above-mentioned technical solutions, when the temperature collection circuit selects integrated form temperature sensor, by temperature signal
Being converted directly into high-resolution digital signal, to be sent to digital processing circuit I/O mouthfuls corresponding;
When the temperature collection circuit select discrete temperature sensing device when, by discrete temperature sensing device because temperature change is drawn
The analog voltage risen is connected to I/O mouth of the digital processing circuit with A/D function.
In the above-mentioned technical solutions, it receives as signal input there are one I/O mouthfuls on the digital processing circuit
From the modulated signal of frequency modulation port, frequency modulation(PFM) port is connect with industrial personal computer, and industrial personal computer is connect with Frequency tester.
In the above-mentioned technical solutions, the frequency conversion output circuit is connect with Frequency tester, and frequency modulation(PFM) port is located at work
On control machine.
In the above-mentioned technical solutions, the voltage-controlled voltage modulation circuit is receiving digital processing circuit transmission pulse signal
Afterwards, it further integrates, amplify, filtering, trim process, and after being avoided the security loop of amplifier self-excitation, signal is passed through
The output end of voltage-controlled voltage modulation circuit is exported to the voltage-controlled end of crystal oscillating circuit.
The second object of the present invention be to provide it is a kind of can space application offset-type quartz oscillator compensation method,
There are two kinds of modes.
First way therein uses temperature-frequency approximate algorithm;
It is characterized by comprising following steps:
A1 step: the output frequency of Frequency tester reading frequency conversion output circuit OUT terminal;
A2 step: the standard being arranged in the output frequency and digital processing circuit of OUT terminal is calculated by digital processing circuit
The difference of frequency;
A3 step: digital processing circuit output offset voltage value corresponding with mark frequency difference, the voltage value pass through voltage-controlled voltage
Offset voltage is generated after modulation circuit processing, crystal oscillating circuit readjusts frequency conversion output circuit under the control of offset voltage
Output frequency;
A4 step: the output frequency after readjustment regenerates mark frequency difference again with mark frequency ratio pair;
A5 step: mark frequency difference is determined again;If unqualified, step A1 is repeated;
A6 step: if qualified, offset voltage value is accessed;
A7 step: compensation is completed.
The second way uses cycle detection and again backoff algorithm.
It is characterized by comprising following steps:
B1 step: the output frequency of Frequency tester reading frequency conversion output circuit OUT terminal;
B2 step: the standard being arranged in the output frequency and digital processing circuit of OUT terminal is calculated by digital processing circuit
The difference of frequency;
B3 step: digital processing circuit output offset voltage value corresponding with mark frequency difference, the voltage value pass through voltage-controlled voltage
Offset voltage is generated after modulation circuit processing, crystal oscillating circuit readjusts frequency conversion output circuit under the control of offset voltage
Output frequency;
B4 step: the output frequency after readjustment regenerates mark frequency difference again with mark frequency ratio pair;
B5 step: mark frequency difference is determined again;If unqualified, step A1 is repeated;
B6 step: if qualified, offset voltage value is accessed;
B7 step: compensation is completed, and stops compensation;
B8 step: it works a time cycle by the voltage value of access compensation;
B9 step: measuring current frequency again and marks the difference of frequency;
B10 step: frequency difference judgement is carried out again;
B11 step: if unqualified, rapid B5 is repeated;
If qualified, compensation is completed.
The present invention has the advantage that
1) present invention carries out reliability design and guarantee in device selection, circuit structure, control algolithm, makes frequency-temperature
Degree Stability index by it is conventional≤| ± 1ppm | be promoted to≤| ± 0.1ppm |, credit rating is promoted to space application level.
Quartz oscillator of the invention selects that low in energy consumption, noise is low, stability is high, the electronic component of high reliablity.
2) present invention is by digital/analog circuitry subregion, and when wiring carries out the differentiation of D/A power supply;The differentiation of D/A, from physics knot
Signal cross-talk is reduced on structure, it is ensured that the frequency of oscillator output mutually makes an uproar that it is pure to stablize.
Detailed description of the invention
Fig. 1 is the structural diagram of the present invention.
Fig. 2 is structural schematic diagram of the invention when temperature collection circuit uses integrated form temperature sensor.
Fig. 3 is structural schematic diagram of the invention when temperature collection circuit uses discrete temperature sensing device.
Fig. 4 is structural schematic diagram of the invention when frequency conversion output circuit is vacant.
The structural block diagram of Fig. 5 temperature-frequency approximate algorithm.
The structural block diagram of Fig. 6 cycle detection and again backoff algorithm.
Specific embodiment
The performance that the invention will now be described in detail with reference to the accompanying drawings, but they and do not constitute a limitation of the invention, only
It is for example.Advantages of the present invention is set to will become clearer and be readily appreciated that by explanation simultaneously.
Refering to known to attached drawing 1-4: can space application offset-type quartz oscillator, including entrance power circuit 1, number
Character segment voltage regulator circuit 2, analog portion voltage regulator circuit 3, crystal oscillating circuit 4, voltage-controlled voltage modulation circuit 5, temperature acquisition electricity
Road 6, digital processing circuit 7, frequency conversion output circuit 8;
The entrance power circuit 1 respectively with the input terminal of numerical portion voltage regulator circuit 2 and analog portion voltage regulator circuit 3
Input terminal connection;
The output end of the numerical portion voltage regulator circuit 2 is electric with the input terminal of temperature collection circuit 6 and digital processing respectively
The input terminal on road 7 connects;
The output end of the analog portion voltage regulator circuit 3 respectively with the input terminal of crystal oscillating circuit 4 and voltage-controlled voltage tune
The input terminal of circuit 5 processed connects;
The temperature collection circuit 6 can be integrated form temperature sensor and discrete temperature sensing device;
The digital processing circuit 7 includes two I/O mouthfuls, and one I/O mouthfuls are adopted as signal input reception from temperature
The digital temperature signal of collector 6, the one I/O mouthfuls pulses sent as signal output to voltage-controlled voltage modulation circuit 5
Signal;
The voltage-controlled voltage modulation circuit 5 receives digital processing circuit 7 and sends pulse signal, after treatment leads to signal
The output end for crossing voltage-controlled voltage modulation circuit 5 is exported to the voltage-controlled end of crystal oscillating circuit 4;
The oscillator signal output end of the crystal oscillating circuit 4 is connect by frequency conversion output circuit 8 with OUT terminal or crystal vibration
The oscillator signal output end for swinging circuit 4 is directly connect with OUT terminal.
When the temperature collection circuit 6 selects integrated form temperature sensor, temperature signal is converted directly into high-resolution
The digital signal of rate is sent to corresponding I/O mouthfuls of digital processing circuit 7;
When the temperature collection circuit 6 select discrete temperature sensing device when, by discrete temperature sensing device because of temperature change
Caused analog voltage is connected to I/O mouth of the digital processing circuit 7 with A/D function.
It is received as signal input from frequency modulation(PFM) port 9 on the digital processing circuit 7 there are one I/O mouthfuls
Modulated signal, frequency modulation(PFM) port 9 are connect with industrial personal computer 11, and industrial personal computer 11 is connect with Frequency tester 10.
The frequency conversion output circuit 8 is connect with Frequency tester 10, and frequency modulation(PFM) port 9 is located on industrial personal computer 11.
The voltage-controlled voltage modulation circuit 5 receive digital processing circuit 7 send pulse signal after, further integrate,
Amplification, filtering, trim process, and after being avoided the security loop of amplifier self-excitation, signal is passed through into voltage-controlled voltage modulation circuit 5
Output end export to the voltage-controlled end of crystal oscillating circuit 4.
Entrance power circuit 1 of the invention uses more powerful filtering net, and more preferably isolation external disturbance seals in, In
There is preferable performance in terms of EMC.
Numerical portion voltage regulator circuit 2 and analog portion voltage regulator circuit 3 use low pressure difference linear voltage regulator, preferably by two kinds
Operational module realizes interference and insulation, and can more flexibly realize the matching of various device operation levels.
Crystal oscillating circuit 4 and frequency conversion output circuit 8 use integrated patch temperature compensation and the frequency conversion core based on PLL technology
Oscillation, output Shaping and flexible frequency conversion function are integrated in one by piece, sufficiently realize more, small in size, the low in energy consumption feature of function.
Frequency conversion section is not limited to PLL mode simultaneously, is also possible to other any conversion systems.
Voltage-controlled voltage modulation circuit 5 realizes ratio, integral, amplification by amplifier, ensure that amplifier by anti-self-excitation loop
The reliability of work, realizes the fine tuning of output voltage by supplementing ratio loop, realizes voltage-controlled electricity by supplement filtering loop
The purification of pressure.
Temperature collection circuit 6 is using integrated form high-resolution digital type temperature sensor (integrated form temperature sensor) or solely
It stands analog thermistor (discrete temperature sensing device), the accurate acquisition of temperature can be achieved in two ways.With prior art phase
Than separate analogue formula thermistor need to assist more algorithms to support, but can preferably realize that structure is simplified and reliability improves.
Digital processing circuit 7 is connect in crystal oscillator initial phase, by frequency modulation(PFM) port 9 with Frequency tester 10, frequency
Rate tester 10 is connect with industrial personal computer 11, realizes frequency related with crystal oscillator, the closed-loop control of time, temperature, voltage-controlled voltage, journey
Sequence content, which maximizes, realizes lookup table mode, improves programmed readability and reliability;Wherein core algorithm and control function can be independent
It is debugged and is optimized in hardware circuit variation.
The frequency modulation(PFM) port 9, Frequency tester 10, industrial personal computer 11, digital processing circuit 7, voltage-controlled voltage modulated electricity
Road 5, crystal oscillating circuit 4 and frequency conversion output circuit form closed loop.
The present invention the first can space application offset-type quartz oscillator compensation method, it is characterised in that including
Following steps:
A1 step: the output frequency at the reading of Frequency tester 10 end frequency conversion output circuit 8OUT;
A2 step: the standard being arranged in the output frequency and digital processing circuit of OUT terminal is calculated by digital processing circuit 7
The difference of frequency;
A3 step: the output of digital processing circuit 7 offset voltage value corresponding with mark frequency difference, the voltage value pass through voltage-controlled voltage
Offset voltage is generated after the processing of modulation circuit 5, crystal oscillating circuit 4 readjusts frequency conversion output electricity under the control of offset voltage
The output frequency on road 8;
A4 step: the output frequency after readjustment regenerates mark frequency difference again with mark frequency ratio pair;
A5 step: mark frequency difference is determined again;If unqualified, step A1 is repeated;
A6 step: if qualified, offset voltage value is accessed;
A7 step: compensation is completed.
Another kind can space application offset-type quartz oscillator compensation method, it is characterised in that including walking as follows
It is rapid:
B1 step: the output frequency at the reading of Frequency tester 10 end frequency conversion output circuit 8OUT;
B2 step: the standard being arranged in the output frequency and digital processing circuit of OUT terminal is calculated by digital processing circuit 7
The difference of frequency;
B3 step: the output of digital processing circuit 7 offset voltage value corresponding with mark frequency difference, the voltage value pass through voltage-controlled voltage
Offset voltage is generated after the processing of modulation circuit 5, crystal oscillating circuit 4 readjusts frequency conversion output electricity under the control of offset voltage
The output frequency on road 8;
B4 step: the output frequency after readjustment regenerates mark frequency difference again with mark frequency ratio pair;
B5 step: mark frequency difference is determined again;If unqualified, step A1 is repeated;
B6 step: if qualified, offset voltage value is accessed;
B7 step: compensation is completed, and stops compensation;
B8 step: it works a time cycle by the voltage value of access compensation;
B9 step: measuring current frequency again and marks the difference of frequency;
B10 step: frequency difference judgement is carried out again;
B11 step: if unqualified, rapid B5 is repeated;
If qualified, compensation is completed.
There are three embodiments altogether by the present invention:
Embodiment one, when temperature collection circuit 6 uses integrated form high-resolution digital type temperature sensor (integrated form temperature
Sensor), as shown in Figure 2:
Entrance power circuit 1 is that primary bulky capacitor filtering is arranged at power import, is effectively improved power supply ripple, improves
The anti-interference level of EMC.
Numerical portion voltage regulator circuit 2 and analog portion voltage regulator circuit 3 are steady by increasing by two after entrance power circuit 1
Depressor and filter capacitor setting, realize the distribution and isolation of digital power and analog power;For digital circuits section, can make to count
Word circuit part level equalization, it is ensured that various numeric doors are reliably overturn;For artificial circuit part, digital circuit can be effectively isolated
It is caused spuious, promote the purity of frequency spectrum of crystal oscillator frequency signal output.
Crystal oscillator oscillating circuit 4 is using mature temperature compensating crystal oscillator circuit, and for the indexs such as mutually make an uproar of circuit, to promote reserved debugging empty
Between, and ensure the frequency-temperature stability indicator of temperature compensating crystal oscillator unit reach before digital compensation≤| ± 1ppm | horizontal, crystal oscillator
The frequency of the output customer demand of oscillating circuit 4.
Voltage-controlled voltage modulation circuit 5 is the operational amplifier circuit and ratio debug circuit based on amplifier, is realized to from number
The pulse that word processing circuit 7 exports carries out active loop filtering, finally obtains and stablizes clean and can carry out the voltage-controlled of ratio fine tuning
Voltage finally changes the frequency characteristic under the conditions of each temperature, realizes the steady target of height of frequency-temperature Stability index;In addition, In
Two circuits IN- and IN+ of amplifier are respectively provided with anti-self-excited circuit, improve operational amplifier circuit reliability.
For temperature collection circuit 6 when using digital sensor, temperature signal can realize that A/D turns inside digital sensor
It changes, i.e., temperature is directly changed into digital signal, Measurement Resolution is determined by the digital sensor model selected, usually measurement point
Resolution is up to 0.0625 DEG C.And digital processing circuit 7 receives the digital temperature signal of digital sensor, it can be in internal directly temperature
It spends compensation rate to calculate, suitably simplifies algorithm routine used in digital processing circuit 7.
When work, temperature collection circuit 6 acquires the environment temperature of quartz oscillator at that time, different environment temperatures pair
Different offset voltages (being compensated by voltage-controlled voltage modulation circuit 5) is answered, that is, it is corresponding with offset voltage to establish environment temperature
Relationship.
Digital processing circuit 7 is one based on dsp chip and carries out the circuit of necessary exterior arrangement;Its main function
It can be temperature signal of the real-time reception from temperature collection circuit 6, temperature and compensation rate are established by inner parameter inquiry table
Relationship, to the PWM modulation signal of voltage-controlled voltage modulation circuit 5 output compensation;For the readability and reliability for improving program, ginseng
Number, which calls, uses lookup table mode.
It, can when frequency conversion output circuit 8 is that the high frequency stabilization rate that can be provided when crystal oscillating circuit 4 is unsatisfactory for final output frequency
New frequency synthesis is carried out by frequency conversion output circuit 8.Usually when final output frequency is nonstandard or Frequency point less, it can make
Frequency conversion acquisition is carried out with the common frequencies point for being easier to realize.Conversion system is and of the invention usually by frequency dividing, frequency multiplication, DDS, PLL etc.
Selection multiple (coefficient) is most flexible, frequency spectrum deteriorates the smallest PLL mode.
Frequency debugging port 9, Frequency tester 10 and industrial personal computer 11 are the external accessories of scheduling and planning of the present invention, are led to
On-line debugging is crossed, test parameter is generated into parameter query table mode, is finally cured to the program storage of digital processing circuit 7.
It after parameter testing, can be disconnected with external accessory, become the digital compensation type temperature compensating crystal oscillator that can work independently.
Industrial personal computer 11 therein controls the movement of Frequency tester 10, and Frequency tester 10 tests digital processing circuit 7
Frequency.
Embodiment two, temperature collection circuit 6 use the simple thermistor partial-pressure structure of discrete (discrete temperature sensing device),
It is as shown in Figure 3:
Except temperature collection circuit 6 is using in addition to the simple thermistor partial-pressure structure of discrete, remaining circuit scheme with scheme 1
It is similar or identical.
Temperature collection circuit 6 is that one kind is easier to reach space application and wants using the simple thermistor partial-pressure structure of discrete
The scheme asked;Thermistor be it is single discrete from device, IC higher compared with integrated level is to be easier to obtain to have space using matter
Amount guarantees the device of qualification;Since thermistor partial-pressure structure can only obtain the electricity varied with temperature in temperature change
Buckling line at this time can only be by analog input to the corresponding port AD DSP for analog quantity, and analog/digital turns inside realization dsp chip
It changes, is aided with internal control algorithm, realize scheduled measurement resolution ratio and conversion accuracy;Therefore, relatively made with thermistor partial-pressure structure
It is needed voluntarily to assist more programs and algorithm with digital temperature sensor.
Embodiment three, the vacant scheme of frequency conversion output circuit, as shown in Figure 4:
In addition to frequency conversion output circuit 8 is vacant, remaining circuit scheme can be similar or identical with scheme 1 or scheme 2.
It, can be by frequency conversion output circuit 8 when the high frequency stabilization rate provided by the crystal oscillating circuit 4 is identical as final output frequency
It is vacant, 4 frequency output terminal of crystal oscillating circuit is crossed into vacant frequency conversion output circuit 8 with external OUT terminal and is directly connected to.
Algorithm of the invention includes temperature-frequency approximate algorithm, cycle detection and backoff algorithm, multi-point temperature-frequency again
Rate error fit algorithm, temperature-frequency multichannel automatic compensation algorithm, distinct temperature section prevent frequency over shoot predictive compensation from calculating
Method, temperature-frequency approximate algorithm is as shown in figure 5, cycle detection and backoff algorithm is as shown in Figure 6 again.
The present invention takes into account the uniform principle of distribution of weight in fabric swatch design, it is ensured that pcb board load-bearing is uniform, improves mechanics consciously
Performance;Fabric swatch of the present invention take into account function division and can flexible combination principle.
The structural block diagram of temperature-frequency approximate algorithm of the present invention as shown in Figure 5, algorithm flow are as follows:
A1 step: the output frequency at the Frequency tester reading end frequency conversion output circuit 8OUT;
A2 step: it is calculated in the output frequency (current frequency) and digital processing circuit of OUT terminal by digital processing circuit 7
The difference of the standard frequency (referred to as mark frequency) of setting;
A3 step: the output of digital processing circuit 7 offset voltage value corresponding with mark frequency difference, the voltage value pass through voltage-controlled voltage
Offset voltage is generated after the processing of modulation circuit 5, crystal oscillating circuit 4 readjusts frequency conversion output electricity under the control of offset voltage
The output frequency on road 8;
A4 step: the output frequency after readjustment regenerates mark frequency difference again with mark frequency ratio pair;
A5 step: mark frequency difference is determined again;If unqualified, step A1 is repeated;
A6 step: if qualified, offset voltage value is accessed;
A7 step: compensation is completed.
The advantages of another kind compensation method of the invention are as follows: since there are drift characteristics for quartz-crystal resonator, to inhibit to be somebody's turn to do
Characteristic is needed to carry out frequency confirmation again or be compensated again after period regular hour that works.Carry out repetition measurement, the purpose of repetition measurement
It is the qualification rate in order to improve product, and improves compensation precision.
If Fig. 6 is cycle detection and the structural block diagram of backoff algorithm again, algorithm flow are as follows:
B1 step: the output frequency at the Frequency tester reading end frequency conversion output circuit 8OUT;
B2 step: it is calculated in the output frequency (current frequency) and digital processing circuit of OUT terminal by digital processing circuit 7
The difference of the standard frequency (referred to as mark frequency) of setting;
B3 step: the output of digital processing circuit 7 offset voltage value corresponding with mark frequency difference, the voltage value pass through voltage-controlled voltage
Offset voltage is generated after the processing of modulation circuit 5, crystal oscillating circuit 4 readjusts frequency conversion output electricity under the control of offset voltage
The output frequency on road 8;
B4 step: the output frequency after readjustment regenerates mark frequency difference again with mark frequency ratio pair;
B5 step: mark frequency difference is determined again;If unqualified, step A1 is repeated;
B6 step: if qualified, offset voltage value is accessed;
B7 step: compensation is completed, and stops compensation;
B8 step: (time cycle is adjustable) is worked a time cycle by the voltage value of access compensation;
B9 step: measuring current frequency again and marks the difference of frequency;
B10 step: frequency difference judgement is carried out again;
B11 step: if unqualified, rapid B5 is repeated;
If qualified, compensation is completed.
Other unspecified parts belong to the prior art.