The present invention relates to an oscillator circuit outputting two triangle waves having the same amplitude but whose phases are inverted, and a pulse width modulator (PWM) circuit using such an oscillator circuit.
Heretofore, when two triangle waves having the same amplitude but whose phases are inverted are generated, triangle waves generated by a triangle oscillator are inverted using an amplifier.
In the first conventional embodiment shown in
In the second conventional embodiment shown in
P. R. Gray, P. J. Hurst, S. H. Lewis, R. G. Meyer, “ANALYSTS AND DESIGN OF ANALOG INTEGRATED CIRCUITS Fourth Edition”, John Wiley & Sons, Inc., 2001, pp. 808-809, 823-830, and 839
An invention to control discharge current to two capacitors by in-phase feedback not by inverting amplification to simultaneously produce two triangle waves is disclosed in Japanese Patent Laid-Open No. 2006-50310.
In the first conventional embodiment, however, when oscillating frequency exceeds several hundred kilohertz, the waveform of triangle waves in an output signal S4 from an output terminal 4 is distorted as compared with an output signal S5 from an output terminal 5 as shown in
In the second conventional embodiment, since the output impedance is high, the transmission of harmonics of a triangle waveform is impeded by the parasitic capacitance of wirings to the PWM comparator or the input capacitance of the differential input stage of the PWM comparator or distort both the output signals S4 and S5 as shown in
To solve the problems described above, it is an object of the present invention to provide a highly accurate oscillator having a low-impedance output that operates at not less than several hundred kilohertz, and generating two triangle waves having the same amplitude and whose phases are inverted.
A triangle oscillator according to claim 1 of the present invention includes a Schmitt circuit having two different threshold voltages for an input, exhibiting a first output state when an input voltage elevates and reaches a first threshold voltage, and exhibiting a second output state when the input voltage lowers and reaches a second threshold voltage; a charge pump circuit whose input is connected to the output of the Schmitt circuit, whose output current has a constant value, and having output that switches two directions of pulling in and flowing out; a capacitor one of whose ends is connected to the output of the charge pump circuit; and a two-output differential amplification circuit whose first input terminal is connected to the connecting point of the output of the charge pump circuit with the capacitor, whose second input terminal is connected to a reference voltage, and whose first output terminal is connected to the other end of the capacitor, outputting a voltage formed by amplifying voltage difference between the first input terminal and the second input terminal as voltage difference between the first output terminal and the second output terminal, and connecting one of the first output terminal or the second output terminal with the input of the Schmitt circuit, wherein the output current of the charge pump circuit is charged or discharged in a first current direction when the Schmitt circuit is in the first output state, the output current of the charge pump circuit is charged or discharged in a second current direction when the Schmitt circuit is in the second output state, thereby to positively feed back the voltage or the inverted voltage integrated by the capacitor and the two-output differential amplification circuit, to generate triangle waves in the first output terminal of the two-output differential amplification circuit, and to generate phase-inverted triangle waves in the second output terminal.
A triangle oscillator according to claim 2 of the present invention is constituted so that the Schmitt circuit in claim 1 is composed of two comparators and an RS flip flop; one input of the first comparator among the comparators is connected to one input of the second comparator to be the input of the Schmitt circuit; different constant voltages providing a threshold are applied to the other input of the first comparator and the other input of the second comparator, respectively; the output of the first comparator is connected to the set input of the RS flip flop; the output of the second comparator is connected to the reset input of the RS flip flop; and the output of the RS flip flop is applied to the input of the charge pump circuit to control the charge pump circuit so as to switch the first current direction and the second current direction of the output current.
A triangle oscillator according to claim 3 of the present invention is constituted so that the Schmitt circuit in claim 1 is composed of a hysteresis comparator having high and low threshold vantage values, and the output of the hysteresis comparator is applied to the input of the charge pump circuit, to control the first current direction and the second current direction of the output current of the charge pump circuit to be switched.
A pulse width modulator according to claim 4 of the present invention is constituted so that the two outputs of the triangle oscillator according to claim 1 are connected to one input terminal of each of the two comparators, and the same input voltage is applied to the other terminals to generate two pulse width modulated pulse outputs at outputs of the two comparators.
A actuator driver according to claim 5 of the present invention applies the two pulse outputs of the pulse width modulator according to claim 4 to the input of the respective pre-drivers, chop-controls each arm of an H-bridge driver using each pre-driver, and drives an actuator, which is the load of the H-bridge driver.
An output stage of the present invention is composed of a differential amplification circuit, and low-output impedance can be achieved. In addition, since the differential amplification circuit is integrally operated, the waveform of the triangle wave can be faithfully outputted without distortion.
The present invention will be described referring to
In
The output current of the charge pump circuit 2 is charged or discharged in a first current direction when the Schmitt circuit 1 is in the first output state, the output current of the charge pump circuit 2 is charged or discharged in a second current direction when the Schmitt circuit 1 is in the second output state, thereby to positively feed back the voltage integrated by the capacitor 3 and the two-output differential amplification circuit 6 by the connection described above, to generate triangle waves in the first output terminal 4 of the two-output differential amplification circuit 6. At the same time, inverted triangle waves of the first output terminal 4 is outputted in the second output terminal 5 by the two-output differential amplification circuit 6. By such an integration circuit, since the phase margin of the two-output differential amplification circuit 6 is corrected by the capacitor 3, and the phase compensating capacitor in the two-output differential amplification circuit 6 is not required, or a sufficient phase margin is obtained by an extremely small quantity of several picofarads or less, an effect that the distortion of waveform due to transient response is difficult to occur even if the oscillation frequency is elevated can be obtained.
The accuracy of oscillation amplitudes depends only on the accuracy of the threshold of the Schmitt circuit 1, and does not depend on the input voltage offset of the two-output differential amplification circuit 6. Therefore, since the input stage that composes the two-output differential amplification circuit 6 may have offset, a simple configuration can be taken.
By connecting the first output terminal 4 and the second output terminal 5 of the triangle oscillator 7 shown in
The two PWM signals 12 and 13 generated from the PWM circuit 10 are applied to pre-drivers 14A and 14B, respectively, the pre-drivers 14A and 14B chop-control each arm of the H-bridge driver 15, and drive the actuator 16. By such a configuration, an effect to generate duty ratio accurately proportional to the input signal 11 on the basis of the excellent characteristics of the triangle oscillator 7 can be obtained.
The Schmitt circuit 1 can be composed of two comparators 17 and 18 and an RS flip-flop 19 as shown in
Referring to
The charge pump circuit 2 pulls in and flows out a constant current, and the direction of the current is switched corresponding to the first and second output states of the Schmitt circuit 1. Specifically, when the Schmitt circuit 1 is in the first output state, the output current in the charge pump circuit 2 flows out in the first current direction to charge the capacitor 3; on the contrary, when the Schmitt circuit 1 is in the second output state, the output current in the charge pump circuit 2 is drawn in the second current direction to discharge the capacitor 3.
This utilizes an OTA (operational transconductance amplifier) described by P. R. Gray, et al. By connecting output Q20 and inverted output NQ21 of the RS flip-flop 19 shown in
The two-output differential amplification circuit 6 is composed of a complete differential amplification circuit described by P. R. Gray, et al., and consists of an operational amplifier 24 and a common-mode feedback circuit 25. One of the outputs is negatively fed back to one of the inputs by the capacitor 3, and the voltage is substantially matched with the potential of first reference voltage 26 by virtual grounding. As shown in the waveforms in
Since the second output terminal 5 is subjected to negative feedback by the common-mode feedback circuit 25 of the two-output differential amplification circuit 6 so that the intermediate voltage of the voltage of the first output terminal 4 and the second output terminal 5 matches the second reference voltage 27, a triangle wave having an inverted waveform of the first output terminal 4; specifically, a triangle wave having the same amplitude with the phase inverted is generated with respect to the second reference voltage.
In the Schmitt circuit 1, the two comparators 17 and 18, and RS flip-flop 19 shown in
Although the input of the Schmitt circuit 1 is positively fed back by connecting to the first output terminal 4 of the output differential amplification circuit 6 to which the capacitor 3 is connected, the input of the Schmitt circuit 1 may be connected to the second output terminal 5 to which the capacitor 3 is not connected. In this case, the output state of the Schmitt circuit 1 is switched to the current-flow direction of the charge pump circuit 2 so as to be positively fed back. Specifically, the polarities of the output Q20 and the output NQ21 of the RS flip-flop 19 can be replaced.
Although it has been described that the pulled in and flowed out currents of the charge pump circuit 2 have the same quantity but the directions thereof are inverted, by optionally setting the current ratios of the both currents, any triangle waves and saw-tooth waves can be generated. In the charge pump circuit in
The circuit shown in
The actuator driving circuit having a configuration connecting and chopping the H-bridge driver 15 that drives the actuator 16 in
The PWM circuit 10 in the present embodiment can also be used in optional H-bridge driving circuits other than the actuator driving circuit.
The triangle oscillator and pulse width modulator according to the present invention have an effect of preventing the distortion of waveforms even at frequencies of several hundred kilohertz or higher, and are useful as a two-output triangle oscillator and pulse width modulator controlled by two PWM frequencies of several hundred kilohertz or higher, such as a PWM controlled H-bridge driving device including audio amplifiers and actuator driving devices.
Number | Date | Country | Kind |
---|---|---|---|
2006-353568 | Dec 2006 | JP | national |