1. Field of the Invention
The disclosures herein relate to a function generating circuit that produces a control signal for an oscillating circuit that vibrates a crystal unit.
2. Description of the Related Art
Crystal oscillators are known to have highly-stable frequency. Crystal oscillators have frequency-temperature characteristics that are approximated by a cubic function with respect to ambient temperature T, as illustrated by a solid line in
In general, the control voltage Vc generated by the temperature compensation circuit 20 is obtained by adding together voltages generated by a cubic-component generating circuit 6, a linear-component generating circuit 5, and a zero-order-component generating circuit 4, respectively. The control voltage Vc is defined by a temperature compensating curve expressed by a cubic function as shown below in an expression (1).
Vc=α(T−T0)3+β(T−T0)+γ (1)
Here, α is a coefficient for the third-order term, and β is a coefficient for the first-order term, with γ being a coefficient for the zero-order term. T0 is a temperature at the inflection point of the cubic curve (i.e., reference center temperature). A T0-adjustment circuit 3 adjusts T0. Specifically, the T0-adjustment circuit 3 adjusts T0 appearing in the expression (1) such that T0 coincides with the inflection-point temperature that is determined by the temperature characteristics of the crystal oscillator including a crystal unit 35.
Patent Documents 1, 2, and 3 are examples of related-art documents that disclose function generating circuits.
There is a limit to the accuracy with which a cubic function can approximate the frequency-temperature characteristics of a crystal oscillator. Especially in a higher-temperature range (e.g., 80 degrees Celsius or higher) and a lower-temperature range (e.g., −30 degrees Celsius or lower), it is difficult for the cubic function of the expression (1), as illustrated in
Accordingly, it is preferable to provide a function generating circuit, a control signal generating method, and a curve fitting method that can provide for a control signal of an oscillating circuit for vibrating a crystal unit to easily approximate a desired temperature compensating curve.
It is a general object of the present invention to provide a function generating circuit, a control signal generating method, and a curve-fitting method that substantially obviates one or more problems caused by the limitations and disadvantages of the related art.
According to an embodiment, a function generating circuit for producing a control signal for an oscillating circuit that vibrates a crystal unit includes a temperature detecting circuit to detect an ambient temperature, and a Bezier-curve generating circuit to produce a Bezier curve as the control signal in response to the ambient temperature detected by the temperature detecting circuit.
According to an embodiment, a control signal generating method includes generating, in response to a detected ambient temperature, a Bezier curve as a control signal for an oscillating circuit that vibrates a crystal unit.
According to an embodiment, a curve-fitting method includes utilizing a Bezier curve to approximate, in response to a detected ambient temperature, a control signal for an oscillating circuit that vibrates a crystal unit.
According to at least one embodiment, a control signal for an oscillating circuit that vibrates a crystal unit can easily approximate a desired temperature compensating curve.
Other objects and further features of the present invention will be apparent from the following detailed description when read in conjunction with the accompanying drawings, in which:
In the following, embodiments will be described with reference to the accompanying drawings.
The TCXO 100 includes a temperature compensating circuit 21, the oscillating circuit 30 for vibrating the AT-cut crystal unit 35, and a memory 40.
The temperature compensating circuit 21 is a function generating circuit that produces the control voltage Vc for the oscillating circuit 30 in response to the ambient temperature T.
The oscillating circuit 30 uses the crystal unit 35 as a resonator to generate an oscillating output at the OSCOUT terminal having constant oscillating frequency. The crystal unit 35 connected to the oscillating circuit 30 is externally attached to an input-side terminal XT1 and an output-side terminal XT2 of the TCXO 100.
As illustrated in
The memory 40 in
The temperature compensating circuit 21 serves as a function generating circuit that is provided with a temperature detecting circuit 2 and the Bezier-curve generating circuit 7.
The temperature detecting circuit 2 detects as the ambient temperature T the temperature of the TCXO 100 inclusive of the oscillating circuit and/or the temperature of the crystal unit 35. The temperature detecting circuit 2 produces a voltage responsive to the detected ambient temperature T as a detection voltage VT indicative of the ambient temperature T by use of linear temperature characteristics (e.g., negative linear temperature characteristics). The temperature detecting circuit 2 may produce the detection voltage VT indicative of the ambient temperature T that is a voltage monotonically decreasing with an increase of the ambient temperature T, i.e., a voltage exhibiting a change with negative linear temperature characteristics.
The Bezier-curve generating circuit 7 generates the control voltage Vc having a Bezier curve in response to the ambient temperature T detected by the temperature detecting circuit 2.
The Bezier curve is a m−1-th-order curve that is drawn by use of m control points. The Bezier curve is expressed as follows by use of control points B0, B1, . . . , Bm-1.
Here, J(m-1)i(t) is a blending function of a Bernstein basis function. In the expression (2), a Bezier curve having B0 and Bm-1 as two opposite ends is generated by changing parameter “t” from 0 to 1.
In the following, a description will be given of a quadratic Bezier curve for which m is equal to 3 and control points P0=(x0, y0), P1(x1, y1), and P2=(x2, y2) are provided, by referring to
Any point PB(t)=(Px(t), Py (t)) on the quadratic Bezier curve is expressed by functions of t as shown in expressions (3) and (4) (0≦t≦1).
P
x(t)=(1−t)2x0+2t(1−t)x1+t2x2 (3)
P
y(t)=(1−t)2y0+2t(1−t)y1+t2y2 (4)
PB(t) becomes P0 when t=0, and becomes P2 when t=1. A change in the coordinates of the control point P1 adjusts the degree of the curvature of the Bezier curve. The expression (3), when sorted by t, becomes a quadratic equation (5) with respect to t. Since the condition of 0≦t≦1 is satisfied, t is expressed by equation (6) by use of Px(t).
An equation (7) is obtained by incorporating the equation (6) into the expression (4). Namely, Py(t) becomes a function of Px(t). Py(t) corresponds to the control voltage Vc. Px(t) corresponds to the ambient temperature T.
Coefficients a, b, c, d, and e of the equation (7) are determined by the control points P0, P1, and P2 as shown in expressions (8) through (12), and can thus be readily obtained from the coordinates of these three points.
A quadratic-Bezier-curve circuit 16A that is a first circuit example illustrated in
The adder circuits 10 and 15, the multiplier circuits 9, 12, and 14, and the square-root circuit 11 illustrated in
The Bezier-curve generating circuit 7 operates the switch 18 in response to the detection voltage VT indicative of the ambient temperature T detected by the temperature detecting circuit 2, thereby selecting either one of the quadratic-Bezier-curve circuits 17A and 17B as the circuit for generating the control voltage Vc at the detected ambient temperature T.
Alternatively, the switch 18 serving as a switching unit for selecting the control points of a Bezier curve may switch the definition data of a Bezier curve retrieved from the ROM 41 of the memory 40 in response to the detection voltage VT indicative of the ambient temperature T detected by the temperature detecting circuit 2. The definition data of a Bezier curve includes the coordinate data of each control point P or the constants a, b, c, d, and e previously described, for example. The definition data are stored in the memory on a temperature-range-specific basis. The Bezier-curve generating circuit 7 uses the definition data of a Bezier curve of a temperature range corresponding to the detected ambient temperature T for a quadratic-Bezier-curve circuit illustrated in
According to the embodiments described heretofore, the control voltage Vc can easily approximate a desired temperature compensating curve that can accurately compensate for variation in the TCXO output caused by the frequency-temperature characteristics of a crystal oscillator. Namely, the Bezier-curve generating circuit 7 sets control points of a Bezier curve at the start point and end point of a desired temperature compensating curve, and adjusts the coordinate data of control points situated between the start point and the end point. In this manner, the Bezier-curve generating circuit 7 can generate the control voltage Vc that is curve-fitted accurately to the desired temperature compensating curve.
Accordingly, the temperature compensating circuit 21 using the Bezier-curve generating circuit can fit the control voltage Vc flexibly to the desired temperature compensating curve in a broadened temperature range even when the temperature compensation range of the TCXO is broadened to cover a temperature range lower than −30 degrees Celsius and a temperature range higher than 80 degrees Celsius.
There is no need to provide the temperature compensating circuit with a higher-order component generating circuit for generating fourth-or-higher order components in order to accurately compensate in the broadened temperature range. Circuit size can thus be reduced.
Further, the equation (7) does not include higher-order terms higher than or equal to the second order. With respect to the square-root term, also, noise included in Px(t) is suppressed to the square root thereof. This arrangement can thus provide a low-noise temperature compensation circuit.
Further, the present invention is not limited to these embodiments, but various variations and modifications may be made without departing from the scope of the present invention.
For example, the equation (7) may be modified into an equation (13), which does not include the first-order term, thereby providing a circuit with yet lower noise.
Moreover, the term that includes the square root in the equation (7) is modified into an expression (14).
In the expression (14), the value of k may be changed to adjust b′, c′, and d′. This fact reveals that gain may be distributed between b and a set of c and d. When k is set equal to 1/|b|, |b′| becomes equal to 1. In this case, the multiplier circuit 12 (i.e., amplifier for multiplication by b) can be omitted from the circuits illustrated in
In the case of a temperature compensation circuit using one or more quadratic-Bezier-curve circuits, an increase in the number of divided temperature ranges results in higher accuracy in the generation of the control voltage Vc.
A higher-order Bezier curve for m=4 or larger may also be implemented by representing Py(t) as a function of Px(t), using a memory such as a ROM or a digital arithmetic circuit for obtaining relevant constants, and performing the remaining arithmetic operations by use of analog arithmetic circuits, as was previously described. Since a higher-order Bezier curve for m=4 or larger has two or more extremal points, a temperature compensation circuit that achieves highly accurate approximation of a desired temperature compensating curve may be implemented even without dividing a temperature range in which the control voltage Vc is defined.
In the embodiments described above, the switch 18 was used as a switching unit for switching Bezier-curve control points in response to detected ambient temperature. The switch 18 may be implemented by use of hardware comprised of transistors and the like. Alternatively, the switch may be implemented as software by use of a program executed by a central processing unit (CPU).
The present application is based on Japanese priority application No. 2011-080172 filed on Mar. 31, 2011, with the Japanese Patent Office, the entire contents of which are hereby incorporated by reference.
Number | Date | Country | Kind |
---|---|---|---|
2011-080172 | Mar 2011 | JP | national |