JP7206062B2 - Oscillator circuit and method of controlling the oscillator circuit - Google Patents

Oscillator circuit and method of controlling the oscillator circuit Download PDF

Info

Publication number
JP7206062B2
JP7206062B2 JP2018116316A JP2018116316A JP7206062B2 JP 7206062 B2 JP7206062 B2 JP 7206062B2 JP 2018116316 A JP2018116316 A JP 2018116316A JP 2018116316 A JP2018116316 A JP 2018116316A JP 7206062 B2 JP7206062 B2 JP 7206062B2
Authority
JP
Japan
Prior art keywords
voltage value
reference voltage
circuit
signal
capacitor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018116316A
Other languages
Japanese (ja)
Other versions
JP2019220824A (en
Inventor
民夫 堀江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shindengen Electric Manufacturing Co Ltd
Original Assignee
Shindengen Electric Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shindengen Electric Manufacturing Co Ltd filed Critical Shindengen Electric Manufacturing Co Ltd
Priority to JP2018116316A priority Critical patent/JP7206062B2/en
Publication of JP2019220824A publication Critical patent/JP2019220824A/en
Application granted granted Critical
Publication of JP7206062B2 publication Critical patent/JP7206062B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、発振回路および発振回路の制御方法に関する。 The present invention relates to an oscillator circuit and a control method for the oscillator circuit.

従来、発振回路においては、外付けコンデンサへの定電流による充放電電圧をコンパレータで閾値電圧と比較し、比較結果に応じて充放電を切り替えることで、外付けコンデンサの電圧に応じた三角波信号を生成していた。 Conventionally, in an oscillator circuit, a comparator compares the charging and discharging voltage of an external capacitor with a constant current with a threshold voltage, and by switching charging and discharging according to the comparison result, a triangular wave signal corresponding to the voltage of the external capacitor is generated. had generated.

特開2003-188693号公報JP-A-2003-188693

しかしながら、従来は、高周波の三角波信号を生成する場合に、コンパレータの応答遅れによって三角波信号のオーバーシュートが発生してしまい、高周波に適切に対応することができないといった問題が生じていた。このような問題は、充電電流を増加させたり、コンデンサを小さくしたりしても解決することができなかった。 Conventionally, however, when generating a triangular wave signal of high frequency, overshoot of the triangular wave signal occurs due to response delay of the comparator, resulting in a problem that high frequencies cannot be properly handled. Such problems could not be solved by increasing the charging current or reducing the size of the capacitor.

そこで、本発明は、三角波信号の周波数が高い場合においても、オーバーシュートが抑制された適正な波形の三角波信号を生成することができる発振回路および発振回路の制御方法を提供することを目的とする。 SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide an oscillation circuit and an oscillation circuit control method capable of generating a triangular wave signal having an appropriate waveform in which overshoot is suppressed even when the frequency of the triangular wave signal is high. .

本発明の一態様に係る発振回路は、
電源から供給される電力によるキャパシタの充放電を制御し、前記キャパシタの充電電圧に応じた三角波信号を生成する充放電回路と、
前記三角波信号と基準信号とが入力され、前記三角波信号の電圧値と前記基準信号の基準電圧値とを比較し、比較結果に応じて前記キャパシタの充電と放電とを切り替えるように前記充放電回路を制御する充放電制御回路と、
前記基準信号を生成して前記充放電制御回路に出力し、前記基準信号の前記基準電圧値を切り替える基準電圧値切替回路と、
前記基準信号を調整する基準信号調整回路と、を備え、
前記基準電圧値切替回路は、
前記充放電制御回路による前記キャパシタの放電から充電に切り替えるために、前記基準信号の前記基準電圧値を前記三角波信号の下限電圧値から上限電圧値に切り替え、一方、前記充放電制御回路による前記キャパシタの充電から放電に切り替えるために、前記基準信号の前記基準電圧値を前記上限電圧値から前記下限電圧値に切り替え、
前記基準信号調整回路は、
前記基準電圧値切替回路が前記基準電圧値を前記上限電圧値に切り替えたときに、前記充放電制御回路に出力される前記基準電圧値が前記上限電圧値よりも低い第1基準電圧値になるように前記基準信号を調整し、一方、前記基準電圧値切替回路が前記基準電圧値を前記下限電圧値に切り替えたときに、前記充放電制御回路に出力される前記基準電圧値が前記下限電圧値よりも高く前記第1基準電圧値よりも低い第2基準電圧値になるように前記基準信号を調整する。
An oscillation circuit according to an aspect of the present invention includes:
a charging/discharging circuit that controls charging/discharging of a capacitor with power supplied from a power source and generates a triangular wave signal corresponding to the charged voltage of the capacitor;
The charging/discharging circuit receives the triangular wave signal and the reference signal, compares the voltage value of the triangular wave signal with the reference voltage value of the reference signal, and switches between charging and discharging of the capacitor according to the comparison result. a charge/discharge control circuit for controlling the
a reference voltage value switching circuit that generates the reference signal, outputs it to the charge/discharge control circuit, and switches the reference voltage value of the reference signal;
a reference signal adjustment circuit that adjusts the reference signal,
The reference voltage value switching circuit is
In order to switch the capacitor from discharging to charging by the charge/discharge control circuit, the reference voltage value of the reference signal is switched from a lower limit voltage value to an upper limit voltage value of the triangular wave signal, while the capacitor is controlled by the charge/discharge control circuit. switching the reference voltage value of the reference signal from the upper limit voltage value to the lower limit voltage value to switch from charging to discharging of the
The reference signal adjustment circuit is
When the reference voltage value switching circuit switches the reference voltage value to the upper limit voltage value, the reference voltage value output to the charge/discharge control circuit becomes a first reference voltage value lower than the upper limit voltage value. On the other hand, when the reference voltage value switching circuit switches the reference voltage value to the lower limit voltage value, the reference voltage value output to the charge/discharge control circuit is the lower limit voltage value. adjusting the reference signal to a second reference voltage value that is higher than the first reference voltage value and lower than the first reference voltage value.

前記発振回路において、
前記充放電制御回路は、
前記キャパシタの充電中に前記三角波信号の電圧値が前記第1基準電圧値に達した場合に、前記キャパシタの充電から放電に切り替えるように前記充放電回路を制御し、
前記キャパシタの放電中に前記三角波信号の電圧値が前記第2基準電圧値に達した場合に、前記キャパシタの放電から充電に切り替えるように前記充放電回路を制御してもよい。
In the oscillation circuit,
The charge/discharge control circuit is
controlling the charge/discharge circuit to switch from charging to discharging the capacitor when the voltage value of the triangular wave signal reaches the first reference voltage value during charging of the capacitor;
The charging/discharging circuit may be controlled to switch from discharging to charging the capacitor when the voltage value of the triangular wave signal reaches the second reference voltage value during discharging of the capacitor.

前記発振回路において、
前記基準信号は、前記三角波信号よりも振幅が小さい三角波信号であってもよい。
In the oscillation circuit,
The reference signal may be a triangular wave signal having an amplitude smaller than that of the triangular wave signal.

前記発振回路において、
前記基準信号調整回路は、前記三角波信号の周波数が高いほど前記第1基準電圧値が小さくなり、かつ、前記第2基準電圧値が大きくなるように前記基準信号を調整してもよい。
In the oscillation circuit,
The reference signal adjustment circuit may adjust the reference signal such that the higher the frequency of the triangular wave signal, the smaller the first reference voltage value and the larger the second reference voltage value.

前記発振回路において、
基準信号調整回路は、前記基準電圧値切替回路によって前記基準電圧値が前記上限電圧値に維持されている期間において、前記充放電制御回路に出力される前記基準電圧値が前記第2基準電圧値から前記第1基準電圧値まで増加するように前記基準信号を調整し、前記基準電圧値切替回路によって前記基準電圧値が前記下限電圧値に維持されている期間において、前記充放電制御回路に出力される前記基準電圧値が前記第1基準電圧値から前記第2基準電圧値まで減少するように前記基準信号を調整してもよい。
In the oscillation circuit,
The reference signal adjustment circuit changes the reference voltage value output to the charge/discharge control circuit to the second reference voltage value during a period in which the reference voltage value is maintained at the upper limit voltage value by the reference voltage value switching circuit. to the first reference voltage value, and output to the charge/discharge control circuit during a period in which the reference voltage value is maintained at the lower limit voltage value by the reference voltage value switching circuit The reference signal may be adjusted such that the reference voltage value applied decreases from the first reference voltage value to the second reference voltage value.

前記発振回路において、
前記充放電制御回路は、前記三角波信号を入力する第1入力端子と、前記基準信号を入力する第2入力端子と、前記充放電回路による前記キャパシタの充放電を制御するための制御信号を出力する出力端子と、を有するコンパレータを備えてもよい。
In the oscillation circuit,
The charge/discharge control circuit has a first input terminal for inputting the triangular wave signal, a second input terminal for inputting the reference signal, and outputs a control signal for controlling charging/discharging of the capacitor by the charge/discharge circuit. and a comparator having an output terminal for

前記発振回路において、
前記基準電圧値切替回路は、
前記電源と固定電位との間で直列接続された複数の抵抗と、
前記複数の抵抗に対する前記第2入力端子の接点を、前記電源の電圧を前記三角波信号の上限電圧に分圧する第1接点と、前記電源の電圧を前記三角波信号の下限電圧に分圧する第2接点との間で切り替えるスイッチと、を有し、
前記基準信号調整回路は、
前記第2入力端子が前記第1接点に接続されたときに、前記充放電制御回路に出力される前記基準電圧値が前記第1基準電圧値になるように前記基準信号を調整し、
前記第2入力端子が前記第2接点に接続されたときに、前記充放電制御回路に出力される前記基準電圧値が前記第2基準電圧値になるように前記基準信号を調整してもよい。
In the oscillation circuit,
The reference voltage value switching circuit is
a plurality of resistors connected in series between the power supply and a fixed potential;
The contacts of the second input terminal for the plurality of resistors are a first contact that divides the voltage of the power supply to the upper limit voltage of the triangular wave signal, and a second contact that divides the voltage of the power supply to the lower limit voltage of the triangular wave signal. and a switch for switching between
The reference signal adjustment circuit is
adjusting the reference signal so that the reference voltage value output to the charge/discharge control circuit becomes the first reference voltage value when the second input terminal is connected to the first contact;
The reference signal may be adjusted such that the reference voltage value output to the charge/discharge control circuit becomes the second reference voltage value when the second input terminal is connected to the second contact. .

前記発振回路において、
前記スイッチは、前記出力端子から出力される前記制御信号が前記キャパシタの充電を指示する場合に、前記第2入力端子を前記第1接点に接続し、前記制御信号が前記キャパシタの放電を指示する場合に、前記第2入力端子を前記第2接点に接続してもよい。
In the oscillation circuit,
The switch connects the second input terminal to the first contact when the control signal output from the output terminal instructs charging of the capacitor, and the control signal instructs discharging of the capacitor. case, the second input terminal may be connected to the second contact.

前記発振回路において、
前記基準信号調整回路は、一端が前記スイッチおよび前記第2入力端子に接続され、他端が固定電位に接続された第2のキャパシタを有してもよい。
In the oscillation circuit,
The reference signal adjustment circuit may have a second capacitor having one end connected to the switch and the second input terminal and the other end connected to a fixed potential.

前記発振回路において、
前記第2のキャパシタは、前記スイッチによって前記第2入力端子が前記第1接点に接続されたときに、前記複数の抵抗のうちの前記第1接点と前記第2接点との間の第1抵抗および前記第2接点と前記固定電位との間の第2抵抗に接続され、前記スイッチによって前記第2入力端子が前記第2接点に接続されたときに、前記第2抵抗に接続されてもよい。
In the oscillation circuit,
The second capacitor acts as a first resistor between the first contact and the second contact among the plurality of resistors when the second input terminal is connected to the first contact by the switch. and a second resistor between the second contact and the fixed potential, and may be connected to the second resistor when the switch connects the second input terminal to the second contact. .

前記発振回路において、
前記基準信号調整回路は、一端が前記スイッチおよび前記第2入力端子に接続され、他端が固定電位に接続された第2のキャパシタを有し、
前記スイッチは、
一端が前記第2のキャパシタの一端に接続され、他端が前記第1接点に接続され、制御端子が前記コンパレータの出力端子側に接続された第1スイッチング素子と、
一端が前記第2のキャパシタの一端に接続され、他端が前記第2接点に接続され、制御端子が前記コンパレータの出力端子側に接続された第2スイッチング素子と、を有してもよい。
In the oscillation circuit,
The reference signal adjustment circuit has a second capacitor having one end connected to the switch and the second input terminal and the other end connected to a fixed potential,
The switch is
a first switching element having one end connected to one end of the second capacitor, the other end connected to the first contact, and a control terminal connected to the output terminal side of the comparator;
a second switching element having one end connected to one end of the second capacitor, the other end connected to the second contact, and a control terminal connected to the output terminal side of the comparator.

前記発振回路において、
前記第1入力端子は、非反転入力端子であり、
前記第2入力端子は、反転入力端子であり、
前記コンパレータは、前記キャパシタの充電から放電に切り替える場合に、前記出力端子からハイレベルの制御信号を出力し、一方、前記キャパシタの放電から充電に切り替える場合に、前記出力端子からローレベルの制御信号を出力し、
前記基準電圧切替回路は、一端が前記コンパレータの出力端子に接続され、他端が前記第1スイッチング素子の制御端子および前記第2スイッチング素子の制御端子に接続されたインバータを更に有し、
前記第1スイッチング素子は、前記ローレベルの制御信号を前記インバータで論理反転した第1反転信号によってオンし、前記ハイレベルの制御信号を前記インバータで論理反転した第2反転信号によってオフし、
前記第2スイッチング素子は、前記第1反転信号によってオフし、前記第2反転信号によってオンしてもよい。
In the oscillation circuit,
the first input terminal is a non-inverting input terminal;
the second input terminal is an inverting input terminal;
The comparator outputs a high-level control signal from the output terminal when switching from charging to discharging the capacitor, and outputs a low-level control signal from the output terminal when switching from discharging to charging the capacitor. and
The reference voltage switching circuit further includes an inverter having one end connected to the output terminal of the comparator and the other end connected to a control terminal of the first switching element and a control terminal of the second switching element,
The first switching element is turned on by a first inverted signal obtained by logically inverting the low level control signal by the inverter, and turned off by a second inverted signal obtained by logically inverting the high level control signal by the inverter,
The second switching element may be turned off by the first inversion signal and turned on by the second inversion signal.

前記発振回路において、
前記第1入力端子は、非反転入力端子であり、
前記第2入力端子は、反転入力端子であり、
前記コンパレータは、前記キャパシタの充電から放電に切り替える場合に、前記出力端子からハイレベルの制御信号を出力し、一方、前記キャパシタの放電から充電に切り替える場合に、前記出力端子からローレベルの制御信号を出力し、
前記第1スイッチング素子は、前記ローレベルの制御信号によってオンし、前記ハイレベルの制御信号によってオフし、
前記第2スイッチング素子は、前記ローレベルの制御信号によってオフし、前記ハイレベルの制御信号によってオンしてもよい。
In the oscillation circuit,
the first input terminal is a non-inverting input terminal;
the second input terminal is an inverting input terminal;
The comparator outputs a high-level control signal from the output terminal when switching from charging to discharging the capacitor, and outputs a low-level control signal from the output terminal when switching from discharging to charging the capacitor. and
the first switching element is turned on by the low level control signal and turned off by the high level control signal;
The second switching element may be turned off by the low level control signal and turned on by the high level control signal.

前記発振回路において、
前記充放電回路は、
前記電源と前記キャパシタの一端との間に接続された第1定電流回路と、
一端が前記キャパシタの一端に接続され、制御端子が前記コンパレータの出力端子に接続されたトランジスタと、
前記トランジスタの他端と固定電位との間に接続された第2定電流回路と、を有してもよい。
In the oscillation circuit,
The charge/discharge circuit is
a first constant current circuit connected between the power supply and one end of the capacitor;
a transistor having one end connected to one end of the capacitor and having a control terminal connected to the output terminal of the comparator;
and a second constant current circuit connected between the other end of the transistor and a fixed potential.

本発明の一態様に係る発振回路の制御方法は、
電源から供給される電力によるキャパシタの充放電を制御し、前記キャパシタの充電電圧に応じた三角波信号を生成する充放電回路と、
前記三角波信号と基準信号とが入力され、前記三角波信号の電圧値と前記基準信号の基準電圧値とを比較し、比較結果に応じて前記キャパシタの充電と放電とを切り替えるように前記充放電回路を制御する充放電制御回路と、
前記基準信号を生成して前記充放電制御回路に出力し、前記基準信号の前記基準電圧値を切り替える基準電圧値切替回路と、
前記基準信号を調整する基準信号調整回路と、を備えた発振回路を制御し、
前記発振回路の制御は、
前記基準電圧値切替回路が、
前記充放電制御回路による前記キャパシタの放電から充電に切り替えるために、前記基準信号の前記基準電圧値を前記三角波信号の下限電圧値から上限電圧値に切り替え、一方、前記充放電制御回路による前記キャパシタの充電から放電に切り替えるために、前記基準信号の前記基準電圧値を前記上限電圧値から前記下限電圧値に切り替え、
前記基準信号調整回路が、
前記基準電圧値切替回路が前記基準電圧値を前記上限電圧値に切り替えたときに、前記充放電制御回路に出力される前記基準電圧値が前記上限電圧値よりも低い第1基準電圧値になるように前記基準信号を調整し、一方、前記基準電圧値切替回路が前記基準電圧値を前記下限電圧値に切り替えたときに、前記充放電制御回路に出力される前記基準電圧値が前記下限電圧値よりも高く前記第1基準電圧値よりも低い第2基準電圧値になるように前記基準信号を調整することを含む。
A control method for an oscillator circuit according to an aspect of the present invention includes:
a charging/discharging circuit that controls charging/discharging of a capacitor with power supplied from a power source and generates a triangular wave signal corresponding to the charged voltage of the capacitor;
The charging/discharging circuit receives the triangular wave signal and the reference signal, compares the voltage value of the triangular wave signal with the reference voltage value of the reference signal, and switches between charging and discharging of the capacitor according to the comparison result. a charge/discharge control circuit for controlling the
a reference voltage value switching circuit that generates the reference signal, outputs it to the charge/discharge control circuit, and switches the reference voltage value of the reference signal;
controlling an oscillation circuit comprising a reference signal adjustment circuit that adjusts the reference signal;
The control of the oscillation circuit includes:
The reference voltage value switching circuit
In order to switch the capacitor from discharging to charging by the charge/discharge control circuit, the reference voltage value of the reference signal is switched from a lower limit voltage value to an upper limit voltage value of the triangular wave signal, while the capacitor is controlled by the charge/discharge control circuit. switching the reference voltage value of the reference signal from the upper limit voltage value to the lower limit voltage value to switch from charging to discharging of the
The reference signal adjustment circuit is
When the reference voltage value switching circuit switches the reference voltage value to the upper limit voltage value, the reference voltage value output to the charge/discharge control circuit becomes a first reference voltage value lower than the upper limit voltage value. On the other hand, when the reference voltage value switching circuit switches the reference voltage value to the lower limit voltage value, the reference voltage value output to the charge/discharge control circuit is the lower limit voltage value. adjusting the reference signal to a second reference voltage value that is higher than the first reference voltage value and lower than the first reference voltage value.

本発明の一態様に係る発振回路は、電源から供給される電力によるキャパシタの充放電を制御し、キャパシタの充電電圧に応じた三角波信号を生成する充放電回路と、三角波信号と基準信号とが入力され、三角波信号の電圧値と基準信号の基準電圧値とを比較し、比較結果に応じてキャパシタの充電と放電とを切り替えるように充放電回路を制御する充放電制御回路と、基準信号を生成して充放電制御回路に出力し、基準信号の基準電圧値を切り替える基準電圧値切替回路と、基準信号を調整する基準信号調整回路と、を備え、基準電圧値切替回路は、充放電制御回路によるキャパシタの放電から充電に切り替えるために、基準信号の基準電圧値を三角波信号の下限電圧値から上限電圧値に切り替え、一方、充放電制御回路によるキャパシタの充電から放電に切り替えるために、基準信号の基準電圧値を上限電圧値から下限電圧値に切り替え、基準信号調整回路は、基準電圧値切替回路が基準電圧値を上限電圧値に切り替えたときに、充放電制御回路に出力される基準電圧値が上限電圧値よりも低い第1基準電圧値になるように基準信号を調整し、一方、基準電圧値切替回路が基準電圧値を下限電圧値に切り替えたときに、充放電制御回路に出力される基準電圧値が下限電圧値よりも高く第1基準電圧値よりも低い第2基準電圧値になるように基準信号を調整する。
本発明によれば、基準信号調整回路によって基準信号の基準電圧値を調整することで、充放電制御回路の遅延時間を考慮して、三角波信号が上限電圧値および下限電圧値に達する前に充放電の制御を切り替えることで、オーバーシュートの発生を抑制することができる。
これにより、本発明によれば、三角波信号の周波数が高い場合においても、オーバーシュートが抑制された適正な波形の三角波信号を生成することができる。
An oscillation circuit according to one embodiment of the present invention includes a charging/discharging circuit that controls charging/discharging of a capacitor with power supplied from a power source and generates a triangular wave signal according to the charged voltage of the capacitor, and a triangular wave signal and a reference signal. A charge/discharge control circuit that compares the voltage value of the input triangular wave signal with the reference voltage value of the reference signal, and controls the charge/discharge circuit to switch between charging and discharging of the capacitor according to the comparison result; a reference voltage value switching circuit that generates and outputs to a charge/discharge control circuit and switches the reference voltage value of the reference signal; and a reference signal adjustment circuit that adjusts the reference signal. In order to switch the capacitor from discharging to charging by the circuit, the reference voltage value of the reference signal is switched from the lower limit voltage value to the upper limit voltage value of the triangular wave signal. The reference voltage value of the signal is switched from the upper limit voltage value to the lower limit voltage value, and the reference signal adjustment circuit changes the reference voltage value output to the charge/discharge control circuit when the reference voltage value switching circuit switches the reference voltage value to the upper limit voltage value. The reference signal is adjusted so that the voltage value becomes a first reference voltage value lower than the upper limit voltage value, and when the reference voltage value switching circuit switches the reference voltage value to the lower limit voltage value, the charge/discharge control circuit The reference signal is adjusted so that the output reference voltage value becomes a second reference voltage value higher than the lower limit voltage value and lower than the first reference voltage value.
According to the present invention, by adjusting the reference voltage value of the reference signal by the reference signal adjustment circuit, charging is performed before the triangular wave signal reaches the upper limit voltage value and the lower limit voltage value in consideration of the delay time of the charge/discharge control circuit. By switching the discharge control, it is possible to suppress the occurrence of overshoot.
Thus, according to the present invention, even when the frequency of the triangular wave signal is high, it is possible to generate a triangular wave signal with an appropriate waveform in which overshoot is suppressed.

第1の実施形態に係る発振回路の一例を示す回路図である。1 is a circuit diagram showing an example of an oscillator circuit according to a first embodiment; FIG. 第1の実施形態に係る発振回路の動作波形図である。4 is an operation waveform diagram of the oscillation circuit according to the first embodiment; FIG. 比較例に係る発振回路の動作波形図である。FIG. 4 is an operation waveform diagram of an oscillation circuit according to a comparative example; 第2の実施形態に係る発振回路の一例を示す回路図である。FIG. 5 is a circuit diagram showing an example of an oscillator circuit according to a second embodiment; 第3の実施形態に係る発振回路の一例を示す回路図である。FIG. 11 is a circuit diagram showing an example of an oscillator circuit according to a third embodiment; 第4の実施形態に係る発振回路の一例を示す回路図である。FIG. 11 is a circuit diagram showing an example of an oscillator circuit according to a fourth embodiment; 第5の実施形態に係る発振回路の一例を示す回路図である。FIG. 11 is a circuit diagram showing an example of an oscillator circuit according to a fifth embodiment;

以下、図面を参照して本発明に係る実施形態を説明する。本実施形態は、本発明を限定するものではない。 Hereinafter, embodiments according to the present invention will be described with reference to the drawings. This embodiment does not limit the present invention.

(第1の実施形態)
先ず、第1の実施形態に係る発振回路およびその制御方法について説明する。図1は、第1の実施形態に係る発振回路1の一例を示す回路図である。図2は、第1の実施形態に係る発振回路1の動作波形図である。
(First embodiment)
First, the oscillator circuit and its control method according to the first embodiment will be described. FIG. 1 is a circuit diagram showing an example of an oscillation circuit 1 according to the first embodiment. FIG. 2 is an operation waveform diagram of the oscillation circuit 1 according to the first embodiment.

第1の実施形態に係る発振回路1は、図1に示すように、充放電回路2と、充放電制御回路3と、基準電圧値切替回路4と、基準信号調整回路5とを備える。以下、これらの発振回路1の構成部について詳しく説明する。 The oscillation circuit 1 according to the first embodiment includes a charge/discharge circuit 2, a charge/discharge control circuit 3, a reference voltage value switching circuit 4, and a reference signal adjustment circuit 5, as shown in FIG. The components of these oscillation circuits 1 will be described in detail below.

(充放電回路2)
充放電回路2は、電源から供給される電力による第1キャパシタC1の充放電を制御する回路である。
(Charge/discharge circuit 2)
The charging/discharging circuit 2 is a circuit that controls charging/discharging of the first capacitor C1 with power supplied from the power supply.

充放電回路2は、第1キャパシタC1の充電電圧に応じた三角波信号Aを生成する。 The charging/discharging circuit 2 generates a triangular wave signal A according to the charging voltage of the first capacitor C1.

三角波信号Aを生成するための具体的な構成として、充放電回路2は、第1定電流回路21と、トランジスタTrと、第2定電流回路22とを有する。 As a specific configuration for generating the triangular wave signal A, the charge/discharge circuit 2 has a first constant current circuit 21 , a transistor Tr, and a second constant current circuit 22 .

第1定電流回路21は、電源VDDと第1キャパシタC1の一端との間に接続されている。 The first constant current circuit 21 is connected between the power supply VDD and one end of the first capacitor C1.

トランジスタTrは、一端が第1キャパシタC1の一端に接続され、制御端子が後述する充放電制御回路3のコンパレータ31の出力端子に接続されている。トランジスタTrは、図1に示すように、ハイレベルの制御信号によってオンし、ローレベルの制御信号によってオフするnMOSFETであってもよい。 The transistor Tr has one end connected to one end of the first capacitor C1, and a control terminal connected to the output terminal of the comparator 31 of the charge/discharge control circuit 3, which will be described later. The transistor Tr may be an nMOSFET that is turned on by a high-level control signal and turned off by a low-level control signal, as shown in FIG.

第2定電流回路22は、トランジスタTrの他端と固定電位の一例である接地電位との間に接続されている。 The second constant current circuit 22 is connected between the other end of the transistor Tr and a ground potential, which is an example of a fixed potential.

このような構成を有する充放電回路2は、後述するコンパレータ31の出力端子からの制御信号に応じてトランジスタTrがオフすることで、第1キャパシタC1を充電させる。一方、充放電回路2は、コンパレータ31の出力端子からの制御信号に応じてトランジスタTrがオンすることで、第1キャパシタC1を放電させる。 The charging/discharging circuit 2 having such a configuration charges the first capacitor C1 by turning off the transistor Tr in response to a control signal from the output terminal of the comparator 31, which will be described later. On the other hand, the charging/discharging circuit 2 discharges the first capacitor C1 by turning on the transistor Tr according to the control signal from the output terminal of the comparator 31 .

より具体的には、トランジスタTrがオフしたときに、第1定電流回路21は、所望の周波数に応じた抵抗値の調整によって決められた定電流を第1キャパシタC1に出力することで、第1キャパシタC1を定電流で充電させる。一方、トランジスタTrがオンしたときに、第2定電流回路22は、第1キャパシタC1の蓄積電荷と第1定電流回路21の定電流とを吸い込むために定電流を流し、第1キャパシタC1を定電流で放電する。 More specifically, when the transistor Tr is turned off, the first constant current circuit 21 outputs a constant current determined by adjusting the resistance value according to the desired frequency to the first capacitor C1. 1. Charge the capacitor C1 with a constant current. On the other hand, when the transistor Tr is turned on, the second constant current circuit 22 supplies a constant current to absorb the accumulated charge of the first capacitor C1 and the constant current of the first constant current circuit 21, and the first capacitor C1 is turned on. Discharge with constant current.

そして、充放電回路2は、第1定電流回路21とトランジスタTrとの間のノードNから、後述するコンパレータ31の非反転入力端子に対して、第1キャパシタC1の充電電圧に応じた三角波信号Aを出力する。 Then, the charging/discharging circuit 2 supplies a triangular wave signal corresponding to the charging voltage of the first capacitor C1 to the non-inverting input terminal of the comparator 31, which will be described later, from the node N between the first constant current circuit 21 and the transistor Tr. Output A.

(充放電制御回路3)
充放電制御回路3は、充放電回路2を制御する回路である。充放電制御回路3には、充放電回路2から出力された三角波信号Aと、後述する基準電圧値切替回路4から出力された基準信号Bとが入力される。基準信号Bは、例えば、図2に示すように、三角波信号Aよりも振幅が小さい三角波信号である。
(Charge/discharge control circuit 3)
The charge/discharge control circuit 3 is a circuit that controls the charge/discharge circuit 2 . The charging/discharging control circuit 3 receives the triangular wave signal A output from the charging/discharging circuit 2 and the reference signal B output from the reference voltage value switching circuit 4, which will be described later. The reference signal B is, for example, a triangular wave signal whose amplitude is smaller than that of the triangular wave signal A, as shown in FIG.

充放電制御回路3は、三角波信号Aの電圧値と基準信号Bの基準電圧値とを比較し、比較結果に応じて第1キャパシタC1の充電と放電とを切り替えるように充放電回路2を制御する。 The charge/discharge control circuit 3 compares the voltage value of the triangular wave signal A and the reference voltage value of the reference signal B, and controls the charge/discharge circuit 2 to switch between charging and discharging of the first capacitor C1 according to the comparison result. do.

充放電回路2を制御するための具体的な構成として、充放電制御回路3は、図1に示すように、コンパレータ31を備える。コンパレータ31は、第1入力端子の一例である非反転入力端子(+)と、第2入力端子の一例である反転入力端子(-)と、出力端子とを有する。 As a specific configuration for controlling the charge/discharge circuit 2, the charge/discharge control circuit 3 includes a comparator 31 as shown in FIG. The comparator 31 has a non-inverting input terminal (+) which is an example of a first input terminal, an inverting input terminal (-) which is an example of a second input terminal, and an output terminal.

非反転入力端子には、充放電回路2から三角波信号Aが入力される。反転入力端子には、後述する基準電圧値切替回路4から基準信号Bが入力される。出力端子からは、充放電回路2のトランジスタTrの制御端子に対して、充放電回路2による第1キャパシタC1の充放電を制御するための制御信号が出力される。 A triangular wave signal A is input from the charging/discharging circuit 2 to the non-inverting input terminal. A reference signal B is input to the inverting input terminal from a reference voltage value switching circuit 4, which will be described later. A control signal for controlling charging/discharging of the first capacitor C<b>1 by the charging/discharging circuit 2 is output from the output terminal to the control terminal of the transistor Tr of the charging/discharging circuit 2 .

このような構成を有する充放電制御回路3は、図2において三角波信号Aが上昇(増加)する期間である第1キャパシタC1の充電中に、三角波信号Aの電圧値が第1基準電圧値Vr1に達した場合に、三角波信号Aの電圧値が第1基準電圧値Vr1から上限電圧値VC1Hに達するまでのコンパレータ31の応答時間(すなわち、遅延時間)をかけて、第1キャパシタC1の充電から放電に切り替えるように充放電回路2を制御する。 In the charge/discharge control circuit 3 having such a configuration, the voltage value of the triangular wave signal A rises to the first reference voltage value Vr1 during the charging of the first capacitor C1, which is the period in which the triangular wave signal A rises (increases) in FIG. When the voltage value of the triangular wave signal A reaches from the first reference voltage value Vr1 to the upper limit voltage value VC1H, the response time (that is, the delay time) of the comparator 31 is applied to charge the first capacitor C1 to The charge/discharge circuit 2 is controlled to switch to discharge.

一方、充放電制御回路3は、図2において三角波信号Aが下降(減少)する期間である第1キャパシタC1の放電中に、三角波信号Aの電圧値が第2基準電圧値Vr2に達した場合に、第1キャパシタC1の放電から充電に切り替えるように充放電回路2を制御する。 On the other hand, when the voltage value of the triangular wave signal A reaches the second reference voltage value Vr2 during the discharge of the first capacitor C1, which is the period in which the triangular wave signal A descends (decreases) in FIG. Then, the charging/discharging circuit 2 is controlled to switch from discharging to charging the first capacitor C1.

より具体的には、コンパレータ31は、第1キャパシタC1の充電中に、非反転入力端子に入力された三角波信号Aの電圧値が、反転入力端子に入力された基準信号Bの第1基準電圧値Vr1に達した場合に、充放電回路2のトランジスタTrの制御端子に対して、出力端子から第1キャパシタC1の放電を指示するハイレベルの制御信号を出力する。すなわち、コンパレータ31は、第1キャパシタC1の充電から放電に切り替える場合に、出力端子からハイレベルの制御信号を出力する。トランジスタTrは、ハイレベルの制御信号によってオンすることで、第1キャパシタC1を放電する。 More specifically, while the first capacitor C1 is being charged, the comparator 31 changes the voltage value of the triangular wave signal A input to the non-inverting input terminal to the first reference voltage of the reference signal B input to the inverting input terminal. When the voltage reaches the value Vr1, a high-level control signal is output from the output terminal to the control terminal of the transistor Tr of the charging/discharging circuit 2 to instruct discharging of the first capacitor C1. That is, the comparator 31 outputs a high-level control signal from the output terminal when switching from charging to discharging the first capacitor C1. The transistor Tr is turned on by a high-level control signal to discharge the first capacitor C1.

このとき、コンパレータ31の非反転入力端子に入力された三角波信号Aの電圧値が第1基準電圧値Vr1に達してからコンパレータ31の出力端子からハイレベルの制御信号が出力されるまでの間には、コンパレータ31の応答時間(すなわち、遅延時間)を要する。 At this time, the voltage value of the triangular wave signal A input to the non-inverting input terminal of the comparator 31 reaches the first reference voltage value Vr1 until the high level control signal is output from the output terminal of the comparator 31. requires the response time (that is, delay time) of the comparator 31 .

このコンパレータ31の応答時間は、三角波信号Aの電圧値が第1基準電圧値Vr1から上限電圧値VC1Hに達するまでの時間に相当する。言い換えれば、第1基準電圧値Vr1は、この電圧値Vr1に三角波信号Aが達したときから、コンパレータ31の応答時間が経過したときに、三角波信号Aが上限電圧値VC1Hに達するように調整された電圧である。 The response time of the comparator 31 corresponds to the time required for the voltage value of the triangular wave signal A to reach the upper limit voltage value VC1H from the first reference voltage value Vr1. In other words, the first reference voltage value Vr1 is adjusted so that the triangular wave signal A reaches the upper limit voltage value VC1H when the response time of the comparator 31 elapses after the triangular wave signal A reaches this voltage value Vr1. voltage.

このように調整された第1基準電圧値Vr1をコンパレータ31で三角波信号Aと比較することで、第1キャパシタC1の充電から放電に切り替えるときに三角波信号Aが上限電圧値VC1Hより大きくなるオーバーシュートが発生することを抑制することができる。 By comparing the first reference voltage value Vr1 adjusted in this way with the triangular wave signal A in the comparator 31, the triangular wave signal A becomes larger than the upper limit voltage value VC1H when the first capacitor C1 is switched from charging to discharging. can be suppressed.

一方、コンパレータ31は、第1キャパシタC1の充電中に、非反転入力端子に入力された三角波信号Aの電圧値が、反転入力端子に入力された基準信号Bの第1基準電圧値Vr1に達していない場合に、トランジスタTrの制御端子に対して、出力端子から第1キャパシタC1の充電を指示するローレベルの制御信号を出力し続ける。トランジスタTrは、ローレベルの制御信号によってオフし続けることで、第1キャパシタC1を充電し続ける。 On the other hand, while the first capacitor C1 is being charged, the voltage value of the triangular wave signal A input to the non-inverting input terminal of the comparator 31 reaches the first reference voltage value Vr1 of the reference signal B input to the inverting input terminal. If not, a low-level control signal instructing charging of the first capacitor C1 is continuously output from the output terminal to the control terminal of the transistor Tr. The transistor Tr keeps charging the first capacitor C1 by keeping it turned off by the low-level control signal.

また、コンパレータ31は、第1キャパシタC1の放電中に、非反転入力端子に入力された三角波信号Aの電圧値が、反転入力端子に入力された基準信号Bの第2基準電圧値Vr2に達した場合に、充放電回路2のトランジスタTrの制御端子に対して、出力端子から第1キャパシタC1の充電を指示するローレベルの制御信号を出力する。すなわち、コンパレータ31は、第1キャパシタC1の放電から充電に切り替える場合に、出力端子からローレベルの制御信号を出力する。トランジスタTrは、ローレベルの制御信号によってオフすることで、第1キャパシタC1を充電する。 The voltage value of the triangular wave signal A input to the non-inverting input terminal of the comparator 31 reaches the second reference voltage value Vr2 of the reference signal B input to the inverting input terminal while the first capacitor C1 is being discharged. In this case, a low-level control signal instructing charging of the first capacitor C1 is output from the output terminal to the control terminal of the transistor Tr of the charging/discharging circuit 2 . That is, the comparator 31 outputs a low-level control signal from the output terminal when switching from discharging to charging the first capacitor C1. The transistor Tr is turned off by a low-level control signal to charge the first capacitor C1.

このとき、コンパレータ31の非反転入力端子に入力された三角波信号Aの電圧値が第2基準電圧値Vr2に達してからコンパレータ31の出力端子からローレベルの制御信号が出力されるまでの間には、コンパレータ31の応答時間を要する。 At this time, the voltage value of the triangular wave signal A input to the non-inverting input terminal of the comparator 31 reaches the second reference voltage value Vr2 until the low level control signal is output from the output terminal of the comparator 31. requires the response time of the comparator 31 .

このコンパレータ31の応答時間は、三角波信号Aの電圧値が第2基準電圧値Vr2から下限電圧値VC1Lに達するまでの時間に相当する。言い換えれば、第2基準電圧値Vr2は、この電圧値Vr2に三角波信号Aが達したときから、コンパレータ31の応答時間が経過したときに、三角波信号Aが下限電圧値VC1Lに達するように調整された電圧である。 The response time of the comparator 31 corresponds to the time required for the voltage value of the triangular wave signal A to reach the lower limit voltage value VC1L from the second reference voltage value Vr2. In other words, the second reference voltage value Vr2 is adjusted so that the triangular wave signal A reaches the lower limit voltage value VC1L when the response time of the comparator 31 elapses after the triangular wave signal A reaches this voltage value Vr2. voltage.

このように調整された第2基準電圧値Vr2をコンパレータ31で三角波信号Aと比較することで、第1キャパシタC1の放電から充電に切り替えるときに三角波信号Aが下限電圧値VC1Lより小さくなるオーバーシュートが発生することを抑制することができる。 By comparing the second reference voltage value Vr2 adjusted in this way with the triangular wave signal A in the comparator 31, when the first capacitor C1 is switched from discharging to charging, the triangular wave signal A becomes smaller than the lower limit voltage value VC1L. can be suppressed.

一方、コンパレータ31は、第1キャパシタC1の放電中に、非反転入力端子に入力された三角波信号Aの電圧値が、反転入力端子に入力された基準信号Bの第2基準電圧値Vr2に達していない場合に、トランジスタTrの制御端子に対して、出力端子から第1キャパシタC1の放電を指示するハイレベルの制御信号を出力し続ける。トランジスタTrは、ハイレベルの制御信号によってオンし続けることで、第1キャパシタC1を放電し続ける。 On the other hand, the voltage value of the triangular wave signal A input to the non-inverting input terminal of the comparator 31 reaches the second reference voltage value Vr2 of the reference signal B input to the inverting input terminal while the first capacitor C1 is being discharged. If not, a high-level control signal instructing discharge of the first capacitor C1 is continuously output from the output terminal to the control terminal of the transistor Tr. The transistor Tr continues to discharge the first capacitor C1 by being kept on by the high-level control signal.

このようにしてコンパレータ31の出力端子から充放電回路2のトランジスタTrの制御端子に制御信号が出力されることで、充放電回路2による第1キャパシタC1の充放電が制御される。 By outputting the control signal from the output terminal of the comparator 31 to the control terminal of the transistor Tr of the charging/discharging circuit 2 in this manner, the charging/discharging of the first capacitor C1 by the charging/discharging circuit 2 is controlled.

(基準電圧値切替回路4)
基準電圧値切替回路4は、基準信号Bを生成して充放電制御回路3に出力し、基準信号Bの基準電圧値を切り替える回路である。
(Reference voltage value switching circuit 4)
The reference voltage value switching circuit 4 is a circuit that generates a reference signal B, outputs it to the charge/discharge control circuit 3, and switches the reference voltage value of the reference signal B. FIG.

基準電圧値切替回路4は、充放電制御回路3による第1キャパシタC1の放電から充電に切り替えるために、基準信号Bの基準電圧値を三角波信号Aの下限電圧値VC1Lから上限電圧値VC1Hに切り替える。 The reference voltage value switching circuit 4 switches the reference voltage value of the reference signal B from the lower limit voltage value VC1L of the triangular wave signal A to the upper limit voltage value VC1H in order to switch the first capacitor C1 from discharging to charging by the charge/discharge control circuit 3. .

一方、基準電圧値切替回路4は、充放電制御回路3による第1キャパシタC1の充電から放電に切り替えるために、基準信号Bの基準電圧値を上限電圧値VC1Hから下限電圧値VC1Lに切り替える。 On the other hand, the reference voltage value switching circuit 4 switches the reference voltage value of the reference signal B from the upper limit voltage value VC1H to the lower limit voltage value VC1L in order to switch the charge/discharge control circuit 3 from charging the first capacitor C1 to discharging it.

基準信号Bの生成および切り替えのための具体的な構成として、基準電圧値切替回路4は、図1に示すように、複数の抵抗の一例である3つの抵抗R1、R2、R3と、スイッチSWと、インバータ41とを備える。抵抗R2は、第1抵抗の一例である。抵抗R3は、第2抵抗の一例である。スイッチSWは、第1スイッチング素子の一例である第1トランスファーゲートTG1と、第2スイッチング素子の一例である第2トランスファーゲートTG2とを有する。 As a specific configuration for generating and switching the reference signal B, the reference voltage value switching circuit 4, as shown in FIG. and an inverter 41 . The resistor R2 is an example of a first resistor. The resistor R3 is an example of a second resistor. The switch SW has a first transfer gate TG1, which is an example of a first switching element, and a second transfer gate TG2, which is an example of a second switching element.

抵抗R1~R3は、電源VDDと固定電位の一例である接地電位との間で直列接続されている。より詳しくは、抵抗R1は、一端が電源VDDに接続され、他端が抵抗R2の一端に接続されている。抵抗R2の他端は、抵抗R3の一端に接続されている。抵抗R3の他端は、接地電位に接続されている。 The resistors R1 to R3 are connected in series between the power supply VDD and the ground potential, which is an example of a fixed potential. More specifically, the resistor R1 has one end connected to the power supply VDD and the other end connected to one end of the resistor R2. The other end of the resistor R2 is connected to one end of the resistor R3. The other end of resistor R3 is connected to the ground potential.

スイッチSWは、第1~第3抵抗R1~R3に対するコンパレータ31の反転入力端子の接点を、抵抗R1と抵抗R2との間の第1ノードN1(第1接点)と、抵抗R2と抵抗R3との間の第2ノードN2(第2接点)との間で切り替える。 The switch SW connects the contacts of the inverting input terminal of the comparator 31 with respect to the first to third resistors R1 to R3 to the first node N1 (first contact) between the resistors R1 and R2 and the resistors R2 and R3. and the second node N2 (second contact) between.

第1ノードN1は、電源電圧(以下、電源と同一の符号VDDで表す)を三角波信号Aの上限電圧VC1Hに分圧するためのスイッチSWの接点である。第2ノードN2は、電源電圧VDDを三角波信号Aの下限電圧VC1Lに分圧するためのスイッチSWの接点である。 The first node N1 is a contact of a switch SW for dividing the power supply voltage (hereinafter denoted by the same symbol VDD as the power supply) to the upper limit voltage VC1H of the triangular wave signal A. FIG. The second node N2 is a contact of a switch SW for dividing the power supply voltage VDD to the lower limit voltage VC1L of the triangular wave signal A. FIG.

スイッチSWの第1トランスファーゲートTG1は、一端が後述する基準信号調整回路5の第2キャパシタC2の一端に接続され、他端が第1ノードN1に接続され、制御端子がコンパレータ31の出力端子側に接続されている。 The first transfer gate TG1 of the switch SW has one end connected to one end of the second capacitor C2 of the reference signal adjustment circuit 5 described later, the other end connected to the first node N1, and a control terminal connected to the output terminal side of the comparator 31. It is connected to the.

スイッチSWの第2トランスファーゲートTG2は、一端が第2キャパシタC2の一端に接続され、他端が第2ノードN2に接続され、制御端子がコンパレータ31の出力端子側に接続されている。 The second transfer gate TG2 of the switch SW has one end connected to one end of the second capacitor C2, the other end connected to the second node N2, and a control terminal connected to the output terminal side of the comparator 31. FIG.

インバータ41は、一端がコンパレータ31の出力端子に接続され、他端が第1トランスファーゲートTG1の制御端子および第2トランスファーゲートTG2の制御端子に接続されている。 The inverter 41 has one end connected to the output terminal of the comparator 31 and the other end connected to the control terminal of the first transfer gate TG1 and the control terminal of the second transfer gate TG2.

スイッチSWは、コンパレータ31の出力端子から出力された制御信号が第1キャパシタC1の充電を指示する場合(すなわち、ローレベルの制御信号である場合)には、コンパレータ31の反転入力端子を第1ノードN1に接続する。コンパレータ31の反転入力端子を第1ノードN1に接続することで、スイッチSWは、基準信号Bの基準電圧値を三角波信号Aの下限電圧値VC1Lから上限電圧値VC1Hに切り替える。 When the control signal output from the output terminal of the comparator 31 instructs charging of the first capacitor C1 (that is, when the control signal is at a low level), the switch SW switches the inverting input terminal of the comparator 31 to the first Connect to node N1. By connecting the inverting input terminal of the comparator 31 to the first node N1, the switch SW switches the reference voltage value of the reference signal B from the lower limit voltage value VC1L of the triangular wave signal A to the upper limit voltage value VC1H.

一方、スイッチSWは、コンパレータ31の出力端子から出力された制御信号が第1キャパシタC1の放電を指示する場合(すなわち、ハイレベルの制御信号である場合)には、コンパレータ31の反転入力端子を第2ノードN2に接続する。コンパレータ31の反転入力端子を第2ノードN2に接続することで、スイッチSWは、基準信号Bの基準電圧値を上限電圧値VC1Hから下限電圧値VC1Lに切り替える。 On the other hand, when the control signal output from the output terminal of the comparator 31 instructs to discharge the first capacitor C1 (that is, when the control signal is at a high level), the switch SW switches the inverting input terminal of the comparator 31 to It connects to the second node N2. By connecting the inverting input terminal of the comparator 31 to the second node N2, the switch SW switches the reference voltage value of the reference signal B from the upper limit voltage value VC1H to the lower limit voltage value VC1L.

より具体的には、第1トランスファーゲートTG1は、コンパレータ31の出力端子から出力された制御信号が第1キャパシタC1の充電を指示するローレベルの制御信号である場合に、ローレベルの制御信号をインバータ41で論理反転した第1反転信号によってオンする。第1反転信号によってオンすることで、第1トランスファーゲートTG1は、コンパレータ31の反転入力端子を第1ノードN1に接続し、基準信号Bの基準電圧値を三角波信号Aの下限電圧値VC1Lから上限電圧値VC1Hに切り替える。 More specifically, the first transfer gate TG1 outputs a low-level control signal when the control signal output from the output terminal of the comparator 31 is a low-level control signal instructing charging of the first capacitor C1. It is turned on by the first inverted signal logically inverted by the inverter 41 . By being turned on by the first inversion signal, the first transfer gate TG1 connects the inversion input terminal of the comparator 31 to the first node N1, and increases the reference voltage value of the reference signal B from the lower limit voltage value VC1L of the triangular wave signal A to the upper limit. Switch to voltage value VC1H.

一方、第1トランスファーゲートTG1は、コンパレータ31の出力端子から出力された制御信号が第1キャパシタC1の放電を指示するハイレベルの制御信号である場合に、ハイレベルの制御信号をインバータ41で論理反転した第2反転信号によってオフする。第2反転信号によってオフすることで、第1トランスファーゲートTG1は、コンパレータ31の反転入力端子を第1ノードN1から切断する。 On the other hand, when the control signal output from the output terminal of the comparator 31 is a high level control signal instructing discharge of the first capacitor C1, the first transfer gate TG1 outputs a high level control signal to the inverter 41. It is turned off by the inverted second inverted signal. By being turned off by the second inverted signal, the first transfer gate TG1 disconnects the inverted input terminal of the comparator 31 from the first node N1.

また、第2トランスファーゲートTG2は、コンパレータ31の出力端子から出力された制御信号が第1キャパシタC1の充電を指示するローレベルの制御信号である場合に、ローレベルの制御信号をインバータ41で論理反転した第1反転信号によってオフする。第1反転信号によってオフすることで、第2トランスファーゲートTG2は、コンパレータ31の反転入力端子を第2ノードN2から切断する。 When the control signal output from the output terminal of the comparator 31 is a low-level control signal instructing charging of the first capacitor C1, the second transfer gate TG2 outputs a low-level control signal through the inverter 41. It is turned off by the inverted first inversion signal. By being turned off by the first inverted signal, the second transfer gate TG2 disconnects the inverted input terminal of the comparator 31 from the second node N2.

一方、第2トランスファーゲートTG2は、コンパレータ31の出力端子から出力された制御信号が第1キャパシタC1の放電を指示するハイレベルの制御信号である場合に、ハイレベルの制御信号をインバータ41で論理反転した第2反転信号によってオンする。第2反転信号によってオンすることで、第2トランスファーゲートTG2は、コンパレータ31の反転入力端子を第2ノードN2に接続し、基準信号Bの基準電圧値を三角波信号Aの上限電圧値VC1Hから下限電圧値VC1Lに切り替える。 On the other hand, when the control signal output from the output terminal of the comparator 31 is a high-level control signal instructing the discharge of the first capacitor C1, the second transfer gate TG2 outputs a high-level control signal through the inverter 41. It is turned on by the inverted second inverted signal. By being turned on by the second inverted signal, the second transfer gate TG2 connects the inverted input terminal of the comparator 31 to the second node N2, and changes the reference voltage value of the reference signal B from the upper limit voltage value VC1H of the triangular wave signal A to the lower limit. Switch to the voltage value VC1L.

(基準信号調整回路5)
基準信号調整回路5は、基準信号Bを調整する回路である。
(Reference signal adjustment circuit 5)
The reference signal adjustment circuit 5 is a circuit that adjusts the reference signal B. FIG.

基準信号調整回路5は、第1キャパシタC1の放電から充電に切り替えるために基準電圧値切替回路4が基準電圧値を上限電圧値VC1Hに切り替えたときに、充放電制御回路3に出力される基準電圧値が上限電圧値VC1Hよりも低い第1基準電圧値Vr1になるように基準信号Bを調整する。 The reference signal adjustment circuit 5 adjusts the reference voltage output to the charge/discharge control circuit 3 when the reference voltage value switching circuit 4 switches the reference voltage value to the upper limit voltage value VC1H in order to switch from discharging to charging the first capacitor C1. The reference signal B is adjusted so that the voltage value becomes a first reference voltage value Vr1 lower than the upper limit voltage value VC1H.

すなわち、基準信号調整回路5は、コンパレータ31の反転入力端子が第1ノードN1に接続されたときに、充放電制御回路3に出力される基準電圧値が第1基準電圧値Vr1になるように基準信号Bを調整する。 That is, the reference signal adjustment circuit 5 adjusts the reference voltage value output to the charge/discharge control circuit 3 to the first reference voltage value Vr1 when the inverting input terminal of the comparator 31 is connected to the first node N1. Adjust the reference signal B.

一方、基準信号調整回路5は、第1キャパシタC1の充電から放電に切り替えるために基準電圧値切替回路4が基準電圧値を下限電圧値VC1Lに切り替えたときに、充放電制御回路3に出力される基準電圧値が下限電圧値VC1Lよりも高く第1基準電圧値Vr1よりも低い第2基準電圧値Vr2になるように基準信号Bを調整する。 On the other hand, the reference signal adjustment circuit 5 outputs to the charge/discharge control circuit 3 when the reference voltage value switching circuit 4 switches the reference voltage value to the lower limit voltage value VC1L in order to switch from charging to discharging the first capacitor C1. The reference signal B is adjusted so that the reference voltage value is a second reference voltage value Vr2 higher than the lower limit voltage value VC1L and lower than the first reference voltage value Vr1.

すなわち、基準信号調整回路5は、コンパレータ31の反転入力端子が第2ノードN2に接続されたときに、充放電制御回路3に出力される基準電圧値が第2基準電圧値Vr2になるように基準信号Bを調整する。 That is, the reference signal adjustment circuit 5 adjusts the reference voltage value output to the charge/discharge control circuit 3 to the second reference voltage value Vr2 when the inverting input terminal of the comparator 31 is connected to the second node N2. Adjust the reference signal B.

基準信号調整回路5は、三角波信号Aの周波数が高いほど第1基準電圧値Vr1が小さくなり、かつ、第2基準電圧値Vr2が大きくなるように基準信号Bを調整してもよい。 The reference signal adjustment circuit 5 may adjust the reference signal B so that the higher the frequency of the triangular wave signal A, the smaller the first reference voltage value Vr1 and the larger the second reference voltage value Vr2.

より具体的には、基準信号調整回路5は、図2において破線の矩形波形で示すように、基準電圧値切替回路4によって基準信号Bの基準電圧値が上限電圧値VC1Hに維持されている期間T1において、充放電制御回路3に出力される基準電圧値が第2基準電圧値Vr2から第1基準電圧値Vr1まで増加するように基準信号B(実線波形)を調整する。基準信号調整回路5は、基準電圧値が第2基準電圧値から第1基準電圧値まで一次関数にしたがって増加するように基準信号Bを調整してもよい。 More specifically, the reference signal adjustment circuit 5 operates during the period in which the reference voltage value of the reference signal B is maintained at the upper limit voltage value VC1H by the reference voltage value switching circuit 4, as indicated by the dashed rectangular waveform in FIG. At T1, the reference signal B (solid line waveform) is adjusted so that the reference voltage value output to the charge/discharge control circuit 3 increases from the second reference voltage value Vr2 to the first reference voltage value Vr1. The reference signal adjustment circuit 5 may adjust the reference signal B so that the reference voltage value increases from the second reference voltage value to the first reference voltage value according to a linear function.

一方、基準信号調整回路5は、基準電圧値切替回路4によって基準電圧値が下限電圧値VC1Lに維持されている期間T2において、充放電制御回路3に出力される基準電圧値が第1基準電圧値Vr1から第2基準電圧値Vr2まで減少するように基準信号Bを調整する。基準信号調整回路5は、基準電圧値が第1基準電圧値Vr1から第2基準電圧値Vr2まで一次関数にしたがって減少するように基準信号Bを調整してもよい。 On the other hand, in the period T2 in which the reference voltage value is maintained at the lower limit voltage value VC1L by the reference voltage value switching circuit 4, the reference signal adjustment circuit 5 changes the reference voltage value output to the charge/discharge control circuit 3 to the first reference voltage value. The reference signal B is adjusted to decrease from the value Vr1 to the second reference voltage value Vr2. The reference signal adjustment circuit 5 may adjust the reference signal B so that the reference voltage value decreases from the first reference voltage value Vr1 to the second reference voltage value Vr2 according to a linear function.

基準信号Bを調整するための具体的な構成例として、基準信号調整回路5は、第2キャパシタC2を有する。第2キャパシタC2は、一端がスイッチSWおよびコンパレータ31の反転入力端子に接続され、他端が固定電位の一例である接地電位に接続されている。 As a specific configuration example for adjusting the reference signal B, the reference signal adjustment circuit 5 has a second capacitor C2. The second capacitor C2 has one end connected to the switch SW and the inverting input terminal of the comparator 31, and the other end connected to a ground potential, which is an example of a fixed potential.

第2キャパシタC2は、スイッチSWによってコンパレータ31の反転入力端子が第1ノードN1に接続されたときに、第1~第3抵抗R1~R3のうちの第1ノードN1と第2ノードN2との間の抵抗R2および第2ノードN2と接地電位との間の抵抗R3に接続される。 The second capacitor C2 connects the first node N1 and the second node N2 among the first to third resistors R1 to R3 when the inverting input terminal of the comparator 31 is connected to the first node N1 by the switch SW. and a resistor R3 between the second node N2 and the ground potential.

抵抗R2および抵抗R3に接続されることで、第2キャパシタC2は、基準電圧値切替回路4が基準電圧値を上限電圧値VC1Hに切り替えたときに、充放電制御回路3に出力される基準電圧値が上限電圧値VC1Hよりも低い第1基準電圧値Vr1になるように基準信号Bを調整する。より具体的には、第2キャパシタC2、抵抗R2および抵抗R3で構成される回路の時定数によって、基準電圧値切替回路4が基準電圧値を上限電圧値VC1Hに切り替えたときにコンパレータ31の反転入力端子に出力される基準電圧値が、第1基準電圧値Vr1に調整される。 By being connected to the resistor R2 and the resistor R3, the second capacitor C2 provides the reference voltage output to the charge/discharge control circuit 3 when the reference voltage value switching circuit 4 switches the reference voltage value to the upper limit voltage value VC1H. The reference signal B is adjusted so that the value becomes a first reference voltage value Vr1 lower than the upper limit voltage value VC1H. More specifically, the comparator 31 is inverted when the reference voltage value switching circuit 4 switches the reference voltage value to the upper limit voltage value VC1H due to the time constant of the circuit composed of the second capacitor C2, the resistor R2, and the resistor R3. The reference voltage value output to the input terminal is adjusted to the first reference voltage value Vr1.

一方、第2キャパシタC2は、スイッチSWによってコンパレータ31の反転入力端子が第2ノードN2に接続されたときに、抵抗R3に接続される。 On the other hand, the second capacitor C2 is connected to the resistor R3 when the switch SW connects the inverting input terminal of the comparator 31 to the second node N2.

抵抗R3に接続されることで、第2キャパシタC2は、基準電圧値切替回路4が基準電圧値を下限電圧値VC1Lに切り替えたときに、充放電制御回路3に出力される基準電圧値が下限電圧値VC1Lよりも高く第1基準電圧値Vr1よりも低い第2基準電圧値Vr2になるように基準信号Bを調整する。より具体的には、第2キャパシタC2および抵抗R3で構成される回路の時定数によって、基準電圧値切替回路4が基準電圧値を下限電圧値VC1Lに切り替えたときにコンパレータ31の反転入力端子に出力される基準電圧値が、第2基準電圧値Vr2に調整される。 By being connected to the resistor R3, the second capacitor C2 allows the reference voltage value output to the charge/discharge control circuit 3 to be the lower limit when the reference voltage value switching circuit 4 switches the reference voltage value to the lower limit voltage value VC1L. The reference signal B is adjusted to a second reference voltage value Vr2 higher than the voltage value VC1L and lower than the first reference voltage value Vr1. More specifically, when the reference voltage value switching circuit 4 switches the reference voltage value to the lower limit voltage value VC1L due to the time constant of the circuit composed of the second capacitor C2 and the resistor R3, the inverting input terminal of the comparator 31 The output reference voltage value is adjusted to the second reference voltage value Vr2.

ここで、もし、第1キャパシタC1の放電から充電に切り替えるときに、基準電圧値切替回路4で設定された三角波信号Aの上限電圧値VC1Hを、そのままコンパレータ31の反転入力端子に出力する場合、コンパレータ31は、充電の開始後に、非反転入力端子に入力される三角波信号Aが上限電圧値VC1Hに達したことを契機として、充電を指示するローレベルの制御信号の出力から、放電を指示するハイレベルの制御信号の出力へと切り替える。しかしながら、この制御信号の出力の切り替えには、コンパレータ31の応答時間(すなわち、遅延時間)を要する。応答時間を要することで、図3に示すように、三角波信号Aが上限電圧値VC1Hに達した後も、ローレベルの制御信号の出力が継続されることで第1キャパシタC1が充電され続けてしまい、結果的に三角波信号Aが上限電圧値VC1Hより大きくなるオーバーシュートが生じてしまう。 Here, if the upper limit voltage value VC1H of the triangular wave signal A set by the reference voltage value switching circuit 4 is directly output to the inverting input terminal of the comparator 31 when switching from discharging to charging the first capacitor C1, When the triangular wave signal A input to the non-inverting input terminal reaches the upper limit voltage value VC1H after the start of charging, the comparator 31 outputs a low-level control signal instructing charging to instruct discharging. Switch to high-level control signal output. However, switching the output of this control signal requires a response time (that is, a delay time) of the comparator 31 . Since the response time is required, as shown in FIG. 3, even after the triangular wave signal A reaches the upper limit voltage value VC1H, the first capacitor C1 continues to be charged by continuing to output the low-level control signal. As a result, an overshoot occurs in which the triangular wave signal A becomes larger than the upper limit voltage value VC1H.

これに対して、基準信号調整回路5によれば、第1キャパシタC1の放電から充電に切り替えるときに、基準電圧値切替回路4で設定された三角波信号Aの上限電圧値VC1Hよりも低い第1基準電圧値Vr1を、コンパレータ31の反転入力端子に出力することができる。そして、コンパレータ31は、充電の開始後に、非反転入力端子に入力される三角波信号Aが第1基準電圧値Vr1に達したことを契機として、充電を指示するローレベルの制御信号の出力から、放電を指示するハイレベルの制御信号の出力へと切り替える。この制御信号の切り替えには、コンパレータ31の応答時間(すなわち、遅延時間)を要する。応答時間を要することで、図2に示すように、三角波信号Aが第1基準電圧値Vr1に達した後も第1キャパシタC1が充電され続ける。 On the other hand, according to the reference signal adjustment circuit 5, when the first capacitor C1 is switched from discharging to charging, the first voltage lower than the upper limit voltage value VC1H of the triangular wave signal A set by the reference voltage value switching circuit 4 is set. A reference voltage value Vr1 can be output to the inverting input terminal of the comparator 31 . When the triangular wave signal A input to the non-inverting input terminal reaches the first reference voltage value Vr1 after the start of charging, the comparator 31 outputs a low-level control signal instructing charging to Switch to the output of a high-level control signal that instructs discharge. The switching of the control signal requires a response time (that is, a delay time) of the comparator 31 . By requiring a response time, as shown in FIG. 2, the first capacitor C1 continues to be charged even after the triangular wave signal A reaches the first reference voltage value Vr1.

しかるに、三角波信号Aが上限電圧値VC1Hに達したときには、コンパレータ31の応答時間が経過することで、コンパレータ31がハイレベルの制御信号を出力することができ、第1キャパシタC1の放電に切り替えることができる。この結果、三角波信号Aが上限電圧値VC1Hより大きくなるオーバーシュートを抑制することができる。 However, when the triangular wave signal A reaches the upper limit voltage value VC1H, the response time of the comparator 31 elapses, so that the comparator 31 can output a high-level control signal and switch to discharge the first capacitor C1. can be done. As a result, it is possible to suppress an overshoot in which the triangular wave signal A becomes larger than the upper limit voltage value VC1H.

また、もし、第1キャパシタC1の充電から放電に切り替えるときに、基準電圧値切替回路4で設定された三角波信号Aの下限電圧値VC1Lを、そのままコンパレータ31の反転入力端子に出力する場合、コンパレータ31は、放電の開始後に、非反転入力端子に入力される三角波信号Aが下限電圧値VC1Lに達したことを契機として、放電を指示するハイレベルの制御信号の出力から、充電を指示するローレベルの制御信号の出力へと切り替える。しかしながら、この制御信号の出力の切り替えには、コンパレータ31の応答時間(すなわち、遅延時間)を要する。応答時間を要することで、図3に示すように、三角波信号Aが下限電圧値VC1Lに達した後も、ハイレベルの制御信号の出力が継続されることで第1キャパシタC1が放電され続けてしまい、結果的に三角波信号Aが下限電圧値VC1Lより小さくなるオーバーシュートが生じてしまう。 Further, if the lower limit voltage value VC1L of the triangular wave signal A set by the reference voltage value switching circuit 4 is directly output to the inverting input terminal of the comparator 31 when switching from charging to discharging the first capacitor C1, the comparator 31 is triggered by the fact that the triangular wave signal A input to the non-inverting input terminal reaches the lower limit voltage value VC1L after the start of discharging, and the output of a high level control signal instructing discharging is changed to a low level instructing charging. Switch to level control signal output. However, switching the output of this control signal requires a response time (that is, a delay time) of the comparator 31 . Since the response time is required, as shown in FIG. 3, even after the triangular wave signal A reaches the lower limit voltage value VC1L, the first capacitor C1 continues to be discharged by continuing to output the high-level control signal. As a result, an overshoot occurs in which the triangular wave signal A becomes smaller than the lower limit voltage value VC1L.

これに対して、基準信号調整回路5によれば、第1キャパシタC1の充電から放電に切り替えるときに、基準電圧値切替回路4で設定された三角波信号Aの下限電圧値VC1Lよりも高い第2基準電圧値Vr2を、コンパレータ31の反転入力端子に出力することができる。そして、コンパレータ31は、放電の開始後に、非反転入力端子に入力される三角波信号Aが第2基準電圧値Vr2に達したことを契機として、放電を指示するハイレベルの制御信号の出力から、充電を指示するローレベルの制御信号の出力へと切り替える。この制御信号の切り替えには、コンパレータ31の応答時間(すなわち、遅延時間)を要する。応答時間を要することで、図2に示すように、三角波信号Aが第2基準電圧値Vr2に達した後も第1キャパシタC1が放電され続ける。 On the other hand, according to the reference signal adjustment circuit 5, when switching from charging to discharging of the first capacitor C1, the second voltage higher than the lower limit voltage value VC1L of the triangular wave signal A set by the reference voltage value switching circuit 4 is set. A reference voltage value Vr2 can be output to the inverting input terminal of the comparator 31 . After the discharge is started, the comparator 31 is triggered by the fact that the triangular wave signal A input to the non-inverting input terminal reaches the second reference voltage value Vr2, and from the output of the high-level control signal instructing the discharge, Switch to the output of a low-level control signal instructing charging. The switching of the control signal requires a response time (that is, a delay time) of the comparator 31 . By requiring a response time, as shown in FIG. 2, the first capacitor C1 continues to be discharged even after the triangular wave signal A reaches the second reference voltage value Vr2.

しかるに、三角波信号Aが下限電圧値VC1Lに達したときには、コンパレータ31の応答時間が経過することで、コンパレータ31がローレベルの制御信号を出力することができ、第1キャパシタC1の充電に切り替えることができる。この結果、三角波信号Aが下限電圧値VC1Lより小さくなるオーバーシュートを抑制することができる。 However, when the triangular wave signal A reaches the lower limit voltage value VC1L, the response time of the comparator 31 elapses, so that the comparator 31 can output a low-level control signal and switch to charging the first capacitor C1. can be done. As a result, it is possible to suppress an overshoot in which the triangular wave signal A becomes smaller than the lower limit voltage value VC1L.

このように、基準信号調整回路5によれば、第1キャパシタC1の放電から充電に切り替えるときには、三角波信号Aの上限電圧値VC1Hよりも低い第1基準電圧値Vr1をコンパレータ31に設定することで、三角波信号Aの上限側でのオーバーシュートを抑制することができる。また、基準信号調整回路5によれば、第1キャパシタC1の充電から放電に切り替えるときには、三角波信号Aの下限電圧値VC1Lよりも高い第2基準電圧値Vr2をコンパレータ31に設定することで、三角波信号Aの下限側でのオーバーシュートを抑制することができる。 As described above, according to the reference signal adjustment circuit 5, when switching from discharging to charging the first capacitor C1, the first reference voltage value Vr1 lower than the upper limit voltage value VC1H of the triangular wave signal A can be set in the comparator 31. , the overshoot on the upper limit side of the triangular wave signal A can be suppressed. Further, according to the reference signal adjustment circuit 5, when switching from charging to discharging of the first capacitor C1, by setting the second reference voltage value Vr2 higher than the lower limit voltage value VC1L of the triangular wave signal A to the comparator 31, the triangular wave Overshoot on the lower limit side of signal A can be suppressed.

次に、以上のように構成された第1の実施形態に係る発振回路1によってもたらされる作用について説明する。 Next, the operation brought about by the oscillation circuit 1 according to the first embodiment configured as described above will be described.

既述したように、第1の実施形態に係る発振回路1は、充放電回路2と、充放電制御回路3と、基準電圧値切替回路4と、基準信号調整回路5とを備える。充放電回路2は、電源から供給される電力による第1キャパシタC1の充放電を制御し、第1キャパシタC1の充電電圧に応じた三角波信号Aを生成する。充放電制御回路3は、三角波信号Aと基準信号Bとが入力され、三角波信号Aの電圧値と基準信号Bの基準電圧値とを比較し、比較結果に応じて第1キャパシタC1の充電と放電とを切り替えるように充放電回路2を制御する。基準電圧値切替回路4は、基準信号Bを生成して充放電制御回路3に出力し、基準信号Bの基準電圧値を切り替える。基準信号調整回路5は、基準信号Bを調整する。基準電圧値切替回路4は、充放電制御回路3による第1キャパシタC1の放電から充電に切り替えるために、基準信号Bの基準電圧値を三角波信号Aの下限電圧値VC1Lから上限電圧値VC1Hに切り替え、一方、充放電制御回路3による第1キャパシタC1の充電から放電に切り替えるために、基準信号Bの基準電圧値を上限電圧値VC1Hから下限電圧値VC1Lに切り替える。 As described above, the oscillation circuit 1 according to the first embodiment includes the charging/discharging circuit 2, the charging/discharging control circuit 3, the reference voltage switching circuit 4, and the reference signal adjusting circuit 5. The charging/discharging circuit 2 controls charging/discharging of the first capacitor C1 with power supplied from the power source, and generates a triangular wave signal A according to the charging voltage of the first capacitor C1. The charge/discharge control circuit 3 receives the triangular wave signal A and the reference signal B, compares the voltage value of the triangular wave signal A and the reference voltage value of the reference signal B, and charges the first capacitor C1 according to the comparison result. The charging/discharging circuit 2 is controlled to switch between discharging and discharging. The reference voltage value switching circuit 4 generates a reference signal B, outputs it to the charge/discharge control circuit 3, and switches the reference voltage value of the reference signal B. FIG. The reference signal adjustment circuit 5 adjusts the reference signal B. FIG. The reference voltage value switching circuit 4 switches the reference voltage value of the reference signal B from the lower limit voltage value VC1L of the triangular wave signal A to the upper limit voltage value VC1H in order to switch from discharging to charging the first capacitor C1 by the charge/discharge control circuit 3. On the other hand, in order to switch from charging of the first capacitor C1 to discharging by the charge/discharge control circuit 3, the reference voltage value of the reference signal B is switched from the upper limit voltage value VC1H to the lower limit voltage value VC1L.

そして、基準信号調整回路5は、基準電圧値切替回路4が基準電圧値を上限電圧値VC1Hに切り替えたときに、充放電制御回路3に出力される基準電圧値が上限電圧値VC1Hよりも低い第1基準電圧値Vr1になるように基準信号Bを調整する。一方、基準信号調整回路5は、基準電圧値切替回路4が基準電圧値を下限電圧値VC1Lに切り替えたときに、充放電制御回路3に出力される基準電圧値が下限電圧値VC1Lよりも高く第1基準電圧値Vr1よりも低い第2基準電圧値Vr2になるように基準信号Bを調整する。 When the reference voltage value switching circuit 4 switches the reference voltage value to the upper limit voltage value VC1H, the reference signal adjustment circuit 5 outputs a reference voltage value lower than the upper limit voltage value VC1H to the charge/discharge control circuit 3. The reference signal B is adjusted so as to become the first reference voltage value Vr1. On the other hand, in the reference signal adjustment circuit 5, when the reference voltage value switching circuit 4 switches the reference voltage value to the lower limit voltage value VC1L, the reference voltage value output to the charge/discharge control circuit 3 is higher than the lower limit voltage value VC1L. The reference signal B is adjusted to have a second reference voltage value Vr2 lower than the first reference voltage value Vr1.

このような構成によれば、基準信号調整回路5によって基準信号Bの基準電圧値を調整することで、充放電制御回路3の遅延時間を考慮して、三角波信号Aが上限電圧値VC1Hおよび下限電圧値VC1Lに達する前に充放電の制御を切り替えることで、オーバーシュートの発生を抑制することができる。 According to such a configuration, by adjusting the reference voltage value of the reference signal B by the reference signal adjustment circuit 5, the triangular wave signal A is adjusted to the upper limit voltage value VC1H and the lower limit voltage value VC1H in consideration of the delay time of the charge/discharge control circuit 3. By switching the charge/discharge control before reaching the voltage value VC1L, it is possible to suppress the occurrence of overshoot.

これにより、第1の実施形態によれば、三角波信号Aの周波数が高い場合においても、オーバーシュートが抑制された適正な波形の三角波信号を生成することができる。 Thus, according to the first embodiment, even when the frequency of the triangular wave signal A is high, it is possible to generate a triangular wave signal with an appropriate waveform in which overshoot is suppressed.

また、既述したように、充放電制御回路3は、第1キャパシタC1の充電中に三角波信号Aの電圧値が第1基準電圧値Vr1に達した場合に、三角波信号Aの電圧値が第1基準電圧値Vr1から上限電圧値VC1Hに達するまでの充放電制御回路3の応答時間をかけて、第1キャパシタC1の充電から放電に切り替えるように充放電回路2を制御する。また、充放電制御回路3は、第1キャパシタC1の放電中に三角波信号Aの電圧値が第2基準電圧値Vr2に達した場合に、第1キャパシタC1の放電から充電に切り替えるように充放電回路2を制御する。 Further, as described above, the charge/discharge control circuit 3 causes the voltage value of the triangular wave signal A to increase to the first reference voltage value Vr1 when the voltage value of the triangular wave signal A reaches the first reference voltage value Vr1 while the first capacitor C1 is being charged. The charging/discharging circuit 2 is controlled to switch from charging to discharging the first capacitor C1 over the response time of the charging/discharging control circuit 3 from the reference voltage value Vr1 to the upper limit voltage value VC1H. Further, the charge/discharge control circuit 3 switches the first capacitor C1 from discharging to charging when the voltage value of the triangular wave signal A reaches the second reference voltage value Vr2 during discharging of the first capacitor C1. Controls circuit 2.

このような構成によれば、充放電制御回路3の遅延時間を考慮して、三角波信号Aが上限電圧値VC1Hおよび下限電圧値VC1Lに達したときに第1キャパシタC1の充放電が実際に切り替わるようにすることができるので、実際の充放電の切替わりが早過ぎることによるアンダーシュートの発生も抑制することができる。 According to such a configuration, in consideration of the delay time of the charge/discharge control circuit 3, charging/discharging of the first capacitor C1 is actually switched when the triangular wave signal A reaches the upper limit voltage value VC1H and the lower limit voltage value VC1L. Therefore, it is possible to suppress the occurrence of undershoot due to too early actual switching between charging and discharging.

また、既述したように、基準信号Bは、三角波信号Aよりも振幅が小さい三角波信号である。 Further, as described above, the reference signal B is a triangular wave signal with an amplitude smaller than that of the triangular wave signal A. FIG.

このような構成によれば、シンプルな基準信号Bの信号波形により、基準信号Bが第1基準電圧値Vr1または第2基準電圧値Vr2に達するまでは、充放電が切り替わらないようにすることができる。 According to such a configuration, the simple signal waveform of the reference signal B prevents charging and discharging from switching until the reference signal B reaches the first reference voltage value Vr1 or the second reference voltage value Vr2. can.

また、既述したように、基準信号調整回路5は、三角波信号Aの周波数が高いほど第1基準電圧値Vr1が小さくなり、かつ、第2基準電圧値Vr2が大きくなるように基準信号Bを調整してもよい。 Further, as described above, the reference signal adjustment circuit 5 adjusts the reference signal B so that the higher the frequency of the triangular wave signal A, the smaller the first reference voltage value Vr1 and the larger the second reference voltage value Vr2. may be adjusted.

このような構成によれば、簡便な手法により、三角波信号Aの周波数にかかわらず、オーバーシュートが抑制された適正な波形の三角波信号を生成することができる。 According to such a configuration, regardless of the frequency of the triangular wave signal A, it is possible to generate a triangular wave signal with an appropriate waveform in which overshoot is suppressed by a simple technique.

また、既述したように、基準信号調整回路5は、基準電圧値切替回路4によって基準電圧値が上限電圧値VC1Hに維持されている期間において、充放電制御回路3に出力される基準電圧値が第2基準電圧値Vr2から第1基準電圧値Vr1まで増加するように基準信号Bを調整する。また、基準信号調整回路5は、基準電圧値切替回路4によって基準電圧値が下限電圧値VC1Lに維持されている期間において、充放電制御回路3に出力される基準電圧値が第1基準電圧値Vr1から第2基準電圧値Vr2まで減少するように基準信号Bを調整する。 Further, as described above, the reference signal adjustment circuit 5 outputs the reference voltage value to the charge/discharge control circuit 3 during the period in which the reference voltage value switching circuit 4 maintains the reference voltage value at the upper limit voltage value VC1H. increases from the second reference voltage value Vr2 to the first reference voltage value Vr1. Further, the reference signal adjustment circuit 5 changes the reference voltage value output to the charge/discharge control circuit 3 to the first reference voltage value while the reference voltage value is maintained at the lower limit voltage value VC1L by the reference voltage value switching circuit 4. The reference signal B is adjusted to decrease from Vr1 to a second reference voltage value Vr2.

このような構成によれば、第1基準電圧値Vr1の放電中に、三角波信号Aが第2基準電圧値Vr2に達した後は、基準電圧値切替回路4の基準電圧を上限電圧値VC1Hに切り替え、上限電圧値VC1Hの維持期間をかけて、基準信号Bの基準電圧値を第2基準電圧値Vr2から第1基準電圧値Vr1まで上昇させることができる。また、第1基準電圧値Vr1の充電中に、三角波信号Aが第1基準電圧値Vr1に達した後は、基準電圧値切替回路4の基準電圧を下限電圧値VC1Lに切り替え、下限電圧値VC1Lの維持期間をかけて、基準信号Bの基準電圧値を第1基準電圧値Vr1から第2基準電圧値Vr2まで下降させることができる。これにより、基準電圧値切替回路4による基準電圧値の設定状態に基づいて、基準信号調整回路5が基準信号Bを第1基準電圧値Vr1と第2基準電圧値Vr2との間で適切に調整することができる。 According to such a configuration, after the triangular wave signal A reaches the second reference voltage value Vr2 during discharging of the first reference voltage value Vr1, the reference voltage of the reference voltage value switching circuit 4 is set to the upper limit voltage value VC1H. The reference voltage value of the reference signal B can be increased from the second reference voltage value Vr2 to the first reference voltage value Vr1 by switching and maintaining the upper limit voltage value VC1H. Further, after the triangular wave signal A reaches the first reference voltage value Vr1 during charging of the first reference voltage value Vr1, the reference voltage of the reference voltage value switching circuit 4 is switched to the lower limit voltage value VC1L, over the sustain period, the reference voltage value of the reference signal B can be decreased from the first reference voltage value Vr1 to the second reference voltage value Vr2. As a result, the reference signal adjustment circuit 5 appropriately adjusts the reference signal B between the first reference voltage value Vr1 and the second reference voltage value Vr2 based on the setting state of the reference voltage value by the reference voltage value switching circuit 4. can do.

また、既述したように、充放電制御回路3は、三角波信号Aを入力する非反転入力端子(第1入力端子)と、基準信号Bを入力する反転入力端子(第2入力端子)と、充放電回路2による第1キャパシタC1の充放電を制御するための制御信号を出力する出力端子と、を有するコンパレータ31を備える。 Further, as described above, the charge/discharge control circuit 3 includes a non-inverting input terminal (first input terminal) for inputting the triangular wave signal A, an inverting input terminal (second input terminal) for inputting the reference signal B, and an output terminal for outputting a control signal for controlling charging/discharging of the first capacitor C1 by the charging/discharging circuit 2.

このような構成によれば、簡易な構成により、三角波信号Aと基準信号Bとの比較に基づく充放電の切り替えを制御することができる。 According to such a configuration, it is possible to control switching between charging and discharging based on comparison between the triangular wave signal A and the reference signal B with a simple configuration.

また、既述したように、基準電圧値切替回路4は、電源と接地電位(固定電位)との間で直列接続された複数の抵抗R1~R3と、複数の抵抗R1~R3に対する反転入力端子(第2入力端子)の接点を、電源の電圧VDDを三角波信号Aの上限電圧値VC1Hに分圧する第1ノードN1(第1接点)と、電源の電圧VDDを三角波信号Aの下限電圧値VC1Lに分圧する第2ノードN2(第2接点)との間で切り替えるスイッチSWと、を有する。そして、基準信号調整回路5、反転入力端子が第1ノードN1に接続されたときに、充放電制御回路3に出力される基準電圧値が第1基準電圧値Vr1になるように基準信号Bを調整する。また、基準信号調整回路5は、反転入力端子が第2ノードN2に接続されたときに、充放電制御回路3に出力される基準電圧値が第2基準電圧値Vr2になるように基準信号Bを調整する。スイッチSWは、出力端子から出力される制御信号が第1キャパシタC1の充電を指示する場合に、反転入力端子を第1ノードN1接続し、制御信号が第1キャパシタC1の放電を指示する場合に、反転入力端子を第2ノードN2に接続する。 Further, as described above, the reference voltage value switching circuit 4 includes a plurality of resistors R1 to R3 connected in series between the power source and the ground potential (fixed potential), and an inverting input terminal for the plurality of resistors R1 to R3. (second input terminal) is connected to the first node N1 (first contact) that divides the power supply voltage VDD into the upper limit voltage value VC1H of the triangular wave signal A, and the power supply voltage VDD is connected to the lower limit voltage of the triangular wave signal A. a switch SW for switching between a second node N2 (second contact) that divides the voltage to the value VC1L. Then, the reference signal B is adjusted so that the reference voltage value output to the charge/discharge control circuit 3 becomes the first reference voltage value Vr1 when the inverting input terminal of the reference signal adjustment circuit 5 is connected to the first node N1. adjust. Further, the reference signal adjustment circuit 5 adjusts the reference signal B so that the reference voltage value output to the charge/discharge control circuit 3 becomes the second reference voltage value Vr2 when the inverting input terminal is connected to the second node N2. to adjust. The switch SW connects the inverting input terminal to the first node N1 when the control signal output from the output terminal instructs charging of the first capacitor C1, and connects when the control signal instructs discharging of the first capacitor C1. , the inverting input terminal is connected to the second node N2.

このような構成によれば、第1ノードN1または第2ノードN2への反転入力端子の接続を切り替える簡便な制御によって、基準電圧値を第1基準電圧値Vr1と第2基準電圧値Vr2との間で適切に切り替えることができる。 According to such a configuration, the reference voltage value can be changed between the first reference voltage value Vr1 and the second reference voltage value Vr2 by simple control for switching the connection of the inverting input terminal to the first node N1 or the second node N2. You can switch between them appropriately.

また、既述したように、基準信号調整回路5は、一端がスイッチSWおよび反転入力端子に接続され、他端が接地電位に接続された第2キャパシタC2を有する。 Further, as described above, the reference signal adjustment circuit 5 has a second capacitor C2 whose one end is connected to the switch SW and the inverting input terminal and whose other end is connected to the ground potential.

このような構成によれば、基準信号調整回路5の部品点数を最小限に抑えることができる。 With such a configuration, the number of parts of the reference signal adjustment circuit 5 can be minimized.

また、既述したように、第2キャパシタC2は、スイッチSWによって反転入力端子が第1ノードN1に接続されたときに、複数の抵抗R1~R3のうちの第1ノードN1と第2ノードN2との間の抵抗R2および第2ノードN2と接地電位との間の抵抗R3に接続される。また、第2キャパシタC2は、スイッチSWによって反転入力端子が第2ノードN2に接続されたときに、抵抗R3に接続される。 Further, as described above, the second capacitor C2 is connected to the first node N1 and the second node N2 among the plurality of resistors R1 to R3 when the inverting input terminal is connected to the first node N1 by the switch SW. and a resistor R3 between the second node N2 and the ground potential. Also, the second capacitor C2 is connected to the resistor R3 when the switch SW connects the inverting input terminal to the second node N2.

このような構成によれば、反転入力端子が第1ノードN1に接続されて基準電圧値切替回路4に上限電圧値VC1Hが設定された場合には、第2キャパシタC2、抵抗R2および抵抗R3で構成される回路の時定数によって、オーバーシュートを生じさせない充電制御から放電制御への切り替えを行うのに好適なタイミングで、コンパレータ31の反転入力端子に第1基準電圧値Vr1を出力することができる。また、反転入力端子が第2ノードN2に接続されて基準電圧値切替回路4に下限電圧値VC1Lが設定された場合には、第2キャパシタC2および抵抗R3で構成される回路の時定数によって、オーバーシュートを生じさせない放電制御から充電制御への切り替えを行うのに好適なタイミングで、コンパレータ31の反転入力端子に第2基準電圧値Vr2を出力することができる。 According to such a configuration, when the inverting input terminal is connected to the first node N1 and the upper limit voltage value VC1H is set in the reference voltage value switching circuit 4, the second capacitor C2, the resistor R2 and the resistor R3 Due to the time constant of the configured circuit, the first reference voltage value Vr1 can be output to the inverting input terminal of the comparator 31 at a timing suitable for switching from charge control that does not cause overshoot to discharge control. . Further, when the inverting input terminal is connected to the second node N2 and the lower limit voltage value VC1L is set in the reference voltage value switching circuit 4, the time constant of the circuit composed of the second capacitor C2 and the resistor R3 causes The second reference voltage value Vr2 can be output to the inverting input terminal of the comparator 31 at a suitable timing for switching from the discharge control that does not cause overshoot to the charge control.

また、既述したように、スイッチSWは、一端が第2キャパシタC2の一端に接続され、他端が第1ノードN1に接続され、制御端子がコンパレータ31の出力端子側に接続された第1トランスファーゲートTG1(第1スイッチング素子)と、一端が第2キャパシタC2の一端に接続され、他端が第2ノードN2に接続され、制御端子がコンパレータ31の出力端子側に接続された第2トランスファーゲートTG2(第2スイッチング素子)とを有する。 As described above, the switch SW has one end connected to one end of the second capacitor C2, the other end connected to the first node N1, and the control terminal connected to the output terminal side of the comparator 31. a transfer gate TG1 (first switching element) and a second transfer having one end connected to one end of a second capacitor C2, the other end connected to a second node N2, and a control terminal connected to the output terminal side of the comparator 31; and a gate TG2 (second switching element).

このような構成によれば、第1トランスファーゲートTG1および第2トランスファーゲートTG2による簡易な回路構成によってスイッチSWを構成することができる。 With such a configuration, the switch SW can be configured with a simple circuit configuration using the first transfer gate TG1 and the second transfer gate TG2.

また、既述したように、コンパレータ31は、第1キャパシタC1の充電から放電に切り替える場合に、出力端子からハイレベルの制御信号を出力し、一方、第1キャパシタC1の放電から充電に切り替える場合に、出力端子からローレベルの制御信号を出力する。また、基準電圧値切替回路4は、一端がコンパレータ31の出力端子に接続され、他端が第1トランスファーゲートTG1の制御端子および第2トランスファーゲートTG2の制御端子に接続されたインバータ41を更に有する。第1トランスファーゲートTG1は、ローレベルの制御信号をインバータ41で論理反転した第1反転信号によってオンし、ハイレベルの制御信号をインバータ41で論理反転した第2反転信号によってオフする。第2トランスファーゲートTG2は、第1反転信号によってオフし、第2反転信号によってオンする。 As described above, the comparator 31 outputs a high-level control signal from the output terminal when switching from charging to discharging the first capacitor C1, and when switching from discharging to charging the first capacitor C1. , a low-level control signal is output from the output terminal. The reference voltage value switching circuit 4 further includes an inverter 41 having one end connected to the output terminal of the comparator 31 and the other end connected to the control terminal of the first transfer gate TG1 and the control terminal of the second transfer gate TG2. . The first transfer gate TG1 is turned on by a first inverted signal obtained by logically inverting the low level control signal by the inverter 41, and turned off by a second inverted signal obtained by logically inverting the high level control signal by the inverter 41. FIG. The second transfer gate TG2 is turned off by the first inverted signal and turned on by the second inverted signal.

このような構成によれば、コンパレータ31からの制御信号に基づくインバータ41からの反転信号によって第1トランスファーゲートTG1と第2トランスファーゲートTG2とを相補的に動作させることで、基準電圧値切替回路4における基準電圧値の切り替えを適切に行うことができる。 According to such a configuration, the reference voltage value switching circuit 4 can can appropriately switch the reference voltage value.

また、既述したように、充放電回路2は、電源と第1キャパシタC1の一端との間に接続された第1定電流回路21と、一端が第1キャパシタC1の一端に接続され、制御端子がコンパレータ31の出力端子に接続されたトランジスタTrと、トランジスタTrの他端と接地電位との間に接続された第2定電流回路22と、を有する。 Further, as described above, the charging/discharging circuit 2 includes a first constant current circuit 21 connected between the power source and one end of the first capacitor C1, and one end connected to one end of the first capacitor C1. It has a transistor Tr whose terminal is connected to the output terminal of the comparator 31, and a second constant current circuit 22 connected between the other end of the transistor Tr and the ground potential.

このような構成によれば、第1キャパシタC1を定電流充電させることで三角波信号Aを適切な波形で上昇させることができ、第1キャパシタC1を定電流放電させることで三角波信号Aを適切な波形で下降させることができる。 According to such a configuration, by charging the first capacitor C1 with a constant current, the triangular wave signal A can be increased with an appropriate waveform, and by discharging the first capacitor C1 with a constant current, the triangular wave signal A can be increased to an appropriate level. It can be lowered in waves.

(第2の実施形態)
次に、インバータ41を省略した第2の実施形態について、第1の実施形態との差異を中心に説明する。図4は、第2の実施形態に係る発振回路1の一例を示す回路図である。
(Second embodiment)
Next, a second embodiment in which the inverter 41 is omitted will be described, focusing on differences from the first embodiment. FIG. 4 is a circuit diagram showing an example of the oscillation circuit 1 according to the second embodiment.

第1の実施形態と同様に、コンパレータ31は、第1キャパシタC1の充電から放電に切り替える場合に、出力端子からハイレベルの制御信号を出力し、一方、第1キャパシタC1の放電から充電に切り替える場合に、出力端子からローレベルの制御信号を出力する。 As in the first embodiment, the comparator 31 outputs a high-level control signal from the output terminal when switching from charging to discharging the first capacitor C1, while switching from discharging to charging the first capacitor C1. A low-level control signal is output from the output terminal.

第1の実施形態と異なり、第1トランスファーゲートTG1の制御端子は、インバータ41を介さずに直接コンパレータ31の出力端子に接続されている。そして、第1トランスファーゲートTG1は、は、ローレベルの制御信号によってオンし、ハイレベルの制御信号によってオフする。 Unlike the first embodiment, the control terminal of the first transfer gate TG1 is directly connected to the output terminal of the comparator 31 without the inverter 41 intervening. The first transfer gate TG1 is turned on by a low level control signal and turned off by a high level control signal.

また、第1の実施形態と異なり、第2トランスファーゲートTG2の制御端子は、インバータ41を介さずに直接コンパレータ31の出力端子に接続されている。そして、第2トランスファーゲートTG2は、ローレベルの制御信号によってオフし、ハイレベルの制御信号によってオンする。 Also, unlike the first embodiment, the control terminal of the second transfer gate TG2 is directly connected to the output terminal of the comparator 31 without the inverter 41 intervening. The second transfer gate TG2 is turned off by a low level control signal and turned on by a high level control signal.

このような構成によれば、インバータ41を省略することができるので、部品点数を削減することができる。 With such a configuration, the inverter 41 can be omitted, so the number of parts can be reduced.

(第3の実施形態)
次に、基準信号調整回路5が更に抵抗を有する第3の実施形態について、第1の実施形態との差異を中心に説明する。図5は、第3の実施形態に係る発振回路1の一例を示す回路図である。
(Third embodiment)
Next, a third embodiment in which the reference signal adjustment circuit 5 further includes a resistor will be described, focusing on differences from the first embodiment. FIG. 5 is a circuit diagram showing an example of the oscillation circuit 1 according to the third embodiment.

第3の実施形態における基準信号調整回路5は、図5に示すように、既述した第2キャパシタC2に加えて、更に、第2キャパシタC2と接地電位との間において第2キャパシタC2に直接接続された抵抗Rを有する。 As shown in FIG. 5, the reference signal adjustment circuit 5 in the third embodiment, in addition to the already-described second capacitor C2, directly connects the second capacitor C2 between the second capacitor C2 and the ground potential. with a resistor R connected.

第3の実施形態によれば、第2キャパシタC2に加えて抵抗Rを有することで、基準信号調整回路5の時定数を高精度に制御することができる。これにより、三角波信号Aの周波数が高い場合においても、オーバーシュートがより効果的に抑制され、より適正な波形の三角波信号を生成することができる。 According to the third embodiment, by including the resistor R in addition to the second capacitor C2, the time constant of the reference signal adjustment circuit 5 can be controlled with high accuracy. As a result, even when the frequency of the triangular wave signal A is high, the overshoot can be suppressed more effectively, and a triangular wave signal with a more appropriate waveform can be generated.

(第4の実施形態)
次に、第4の実施形態について、第1の実施形態との差異を中心に説明する。図6は、第4の実施形態に係る発振回路1の一例を示す回路図である。
(Fourth embodiment)
Next, the fourth embodiment will be described, focusing on differences from the first embodiment. FIG. 6 is a circuit diagram showing an example of the oscillation circuit 1 according to the fourth embodiment.

第4の実施形態における充放電回路2は、図6に示すように、第1の実施形態における充放電回路2の構成に加えて、更に、トランジスタTr2とインバータ23とを備える。 The charging/discharging circuit 2 in the fourth embodiment further includes a transistor Tr2 and an inverter 23 in addition to the configuration of the charging/discharging circuit 2 in the first embodiment, as shown in FIG.

トランジスタTr2は、一端が第1定電流回路21に接続され、他端がトランジスタTrの一端すなわちノードNに接続されている。トランジスタTr2は、ローレベルの制御信号によってオンし、ハイレベルの制御信号によってオフするpMOSFETであってもよい。 The transistor Tr2 has one end connected to the first constant current circuit 21 and the other end connected to one end of the transistor Tr, that is, the node N. As shown in FIG. The transistor Tr2 may be a pMOSFET that is turned on by a low level control signal and turned off by a high level control signal.

インバータ23は、一端がコンパレータ31の出力端に接続され、他端がトランジスタTr2の制御端子に接続されている。 The inverter 23 has one end connected to the output end of the comparator 31 and the other end connected to the control terminal of the transistor Tr2.

また、第4の実施形態における基準電圧値切替回路4は、第1の実施形態における抵抗R1~R3の代わりに、定電圧源42、43を備える。 Further, the reference voltage value switching circuit 4 in the fourth embodiment includes constant voltage sources 42 and 43 instead of the resistors R1 to R3 in the first embodiment.

定電圧源42は、第1トランスファーゲートTG1と接地電位との間に接続され、定電圧として上限電圧値VC1Hを有する。 Constant voltage source 42 is connected between first transfer gate TG1 and the ground potential, and has an upper limit voltage value VC1H as a constant voltage.

定電圧源43は、第2トランスファーゲートTG2と接地電位との間に接続され、定電圧として下限電圧値VC1Lを有する。 Constant voltage source 43 is connected between second transfer gate TG2 and the ground potential, and has lower limit voltage value VC1L as a constant voltage.

また、第4の実施形態における基準信号調整回路5は、第1の実施形態の構成に加えて、更に、抵抗rを備える。 Further, the reference signal adjustment circuit 5 in the fourth embodiment further includes a resistor r in addition to the configuration of the first embodiment.

抵抗rは、一端が第2キャパシタC2の一端に接続され、他端が第1トランスファーゲートTG1および第2トランスファーゲートTG2に接続されている。 The resistor r has one end connected to one end of the second capacitor C2 and the other end connected to the first transfer gate TG1 and the second transfer gate TG2.

第4の実施形態の構成によれば、充放電回路2がトランジスタTr2を有することで、第1キャパシタC1の充放電を更に適切に制御することができる。また、基準電圧値切替回路4が定電圧源42、43を有することで、簡便かつ適切に基準電圧を上限電圧値VC1Hと下限電圧値VC1Lとの間で切り替えることができる。また、基準信号調整回路5が抵抗rを備えることで、基準信号調整回路5の時定数を高精度に制御することができる。 According to the configuration of the fourth embodiment, since the charge/discharge circuit 2 includes the transistor Tr2, the charge/discharge of the first capacitor C1 can be controlled more appropriately. Further, since the reference voltage value switching circuit 4 has the constant voltage sources 42 and 43, the reference voltage can be easily and appropriately switched between the upper limit voltage value VC1H and the lower limit voltage value VC1L. Further, since the reference signal adjustment circuit 5 includes the resistor r, the time constant of the reference signal adjustment circuit 5 can be controlled with high accuracy.

(第5の実施形態)
次に、第5の実施形態について、第1の実施形態との差異を中心に説明する。図7は、第5の実施形態に係る発振回路1の一例を示す回路図である。
(Fifth embodiment)
Next, the fifth embodiment will be described, focusing on differences from the first embodiment. FIG. 7 is a circuit diagram showing an example of the oscillator circuit 1 according to the fifth embodiment.

第5の実施形態における基準信号調整回路5は、図7に示すように、第1の実施形態における基準信号調整回路5の構成に加えて、更に、抵抗r1、r2を備える。 As shown in FIG. 7, the reference signal adjustment circuit 5 in the fifth embodiment further includes resistors r1 and r2 in addition to the configuration of the reference signal adjustment circuit 5 in the first embodiment.

抵抗r1は、一端が第2キャパシタC2の一端に接続され、他端が第1トランスファーゲートTG1に接続されている。 The resistor r1 has one end connected to one end of the second capacitor C2 and the other end connected to the first transfer gate TG1.

抵抗r2は、一端が第2キャパシタC2の一端に接続され、他端が第2トランスファーゲートTG2に接続されている。 The resistor r2 has one end connected to one end of the second capacitor C2 and the other end connected to the second transfer gate TG2.

なお、基準電圧値切替回路4の構成は、第4の実施形態と同様である。 The configuration of the reference voltage value switching circuit 4 is the same as that of the fourth embodiment.

第5の実施形態の構成によれば、基準信号調整回路5が抵抗r1、r2を備えることで、基準信号調整回路5の時定数を高精度に制御することができる。 According to the configuration of the fifth embodiment, since the reference signal adjustment circuit 5 includes the resistors r1 and r2, the time constant of the reference signal adjustment circuit 5 can be controlled with high accuracy.

上述した実施形態は、あくまで一例であって、発明の範囲を限定するものではない。発明の要旨を逸脱しない限度において、上述した実施形態に対して種々の変更を行うことができる。変更された実施形態は、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。 The embodiment described above is merely an example and does not limit the scope of the invention. Various modifications can be made to the above-described embodiments without departing from the scope of the invention. Modified embodiments are included in the scope of the invention described in the claims and equivalents thereof.

1 発振回路
2 充放電回路
3 充放電制御回路
4 基準電圧値切替回路
5 基準信号調整回路
1 oscillation circuit 2 charge/discharge circuit 3 charge/discharge control circuit 4 reference voltage value switching circuit 5 reference signal adjustment circuit

Claims (15)

電源から供給される電力によるキャパシタの充放電を制御し、前記キャパシタの充電電圧に応じた三角波信号を生成する充放電回路と、
前記三角波信号と基準信号とが入力され、前記三角波信号の電圧値と前記基準信号の基準電圧値とを比較し、比較結果に応じて前記キャパシタの充電と放電とを切り替えるように前記充放電回路を制御する充放電制御回路と、
前記基準信号を生成して前記充放電制御回路に出力し、前記基準信号の前記基準電圧値を切り替える基準電圧値切替回路と、
前記基準信号を調整する基準信号調整回路と、を備え、
前記基準電圧値切替回路は、
前記充放電制御回路による前記キャパシタの放電から充電に切り替えるために、前記基準信号の前記基準電圧値を前記三角波信号の下限電圧値から上限電圧値に切り替え、一方、前記充放電制御回路による前記キャパシタの充電から放電に切り替えるために、前記基準信号の前記基準電圧値を前記上限電圧値から前記下限電圧値に切り替え、
前記基準信号調整回路は、
前記基準電圧値切替回路が前記基準電圧値を前記上限電圧値に切り替えたときに、前記充放電制御回路に出力される前記基準電圧値が前記上限電圧値よりも低い第1基準電圧値になるように前記基準信号を調整し、一方、前記基準電圧値切替回路が前記基準電圧値を前記下限電圧値に切り替えたときに、前記充放電制御回路に出力される前記基準電圧値が前記下限電圧値よりも高く前記第1基準電圧値よりも低い第2基準電圧値になるように前記基準信号を調整することを特徴とする発振回路。
a charging/discharging circuit that controls charging/discharging of a capacitor with power supplied from a power source and generates a triangular wave signal corresponding to the charged voltage of the capacitor;
The charging/discharging circuit receives the triangular wave signal and the reference signal, compares the voltage value of the triangular wave signal with the reference voltage value of the reference signal, and switches between charging and discharging of the capacitor according to the comparison result. a charge/discharge control circuit for controlling the
a reference voltage value switching circuit that generates the reference signal, outputs it to the charge/discharge control circuit, and switches the reference voltage value of the reference signal;
a reference signal adjustment circuit that adjusts the reference signal,
The reference voltage value switching circuit is
In order to switch the capacitor from discharging to charging by the charge/discharge control circuit, the reference voltage value of the reference signal is switched from a lower limit voltage value to an upper limit voltage value of the triangular wave signal, while the capacitor is controlled by the charge/discharge control circuit. switching the reference voltage value of the reference signal from the upper limit voltage value to the lower limit voltage value to switch from charging to discharging of the
The reference signal adjustment circuit is
When the reference voltage value switching circuit switches the reference voltage value to the upper limit voltage value, the reference voltage value output to the charge/discharge control circuit becomes a first reference voltage value lower than the upper limit voltage value. On the other hand, when the reference voltage value switching circuit switches the reference voltage value to the lower limit voltage value, the reference voltage value output to the charge/discharge control circuit is the lower limit voltage value. and adjusting the reference signal to a second reference voltage value higher than the first reference voltage value and lower than the first reference voltage value.
前記充放電制御回路は、
前記キャパシタの充電中に前記三角波信号の電圧値が前記第1基準電圧値に達した場合に、前記キャパシタの充電から放電に切り替えるように前記充放電回路を制御し、
前記キャパシタの放電中に前記三角波信号の電圧値が前記第2基準電圧値に達した場合に、前記キャパシタの放電から充電に切り替えるように前記充放電回路を制御することを特徴とする請求項1に記載の発振回路。
The charge/discharge control circuit is
controlling the charge/discharge circuit to switch from charging to discharging the capacitor when the voltage value of the triangular wave signal reaches the first reference voltage value during charging of the capacitor;
2. The charging/discharging circuit is controlled to switch from discharging to charging the capacitor when the voltage value of the triangular wave signal reaches the second reference voltage value during discharging of the capacitor. The oscillation circuit described in .
前記基準信号は、前記三角波信号よりも振幅が小さい三角波信号であることを特徴とする請求項1に記載の発振回路。 2. The oscillator circuit according to claim 1, wherein the reference signal is a triangular wave signal having an amplitude smaller than that of the triangular wave signal. 前記基準信号調整回路は、前記三角波信号の周波数が高いほど前記第1基準電圧値が小さくなり、かつ、前記第2基準電圧値が大きくなるように前記基準信号を調整することを特徴とする請求項1に記載の発振回路。 The reference signal adjustment circuit adjusts the reference signal such that the higher the frequency of the triangular wave signal, the smaller the first reference voltage value and the larger the second reference voltage value. Item 2. The oscillation circuit according to item 1. 基準信号調整回路は、前記基準電圧値切替回路によって前記基準電圧値が前記上限電圧値に維持されている期間において、前記充放電制御回路に出力される前記基準電圧値が前記第2基準電圧値から前記第1基準電圧値まで増加するように前記基準信号を調整し、前記基準電圧値切替回路によって前記基準電圧値が前記下限電圧値に維持されている期間において、前記充放電制御回路に出力される前記基準電圧値が前記第1基準電圧値から前記第2基準電圧値まで減少するように前記基準信号を調整することを特徴とする請求項1に記載の発振回路。 The reference signal adjustment circuit changes the reference voltage value output to the charge/discharge control circuit to the second reference voltage value during a period in which the reference voltage value is maintained at the upper limit voltage value by the reference voltage value switching circuit. to the first reference voltage value, and output to the charge/discharge control circuit during a period in which the reference voltage value is maintained at the lower limit voltage value by the reference voltage value switching circuit 2. The oscillator circuit of claim 1, wherein the reference signal is adjusted such that the reference voltage value applied decreases from the first reference voltage value to the second reference voltage value. 前記充放電制御回路は、前記三角波信号を入力する第1入力端子と、前記基準信号を入力する第2入力端子と、前記充放電回路による前記キャパシタの充放電を制御するための制御信号を出力する出力端子と、を有するコンパレータを備えることを特徴とする請求項1に記載の発振回路。 The charge/discharge control circuit has a first input terminal for inputting the triangular wave signal, a second input terminal for inputting the reference signal, and outputs a control signal for controlling charging/discharging of the capacitor by the charge/discharge circuit. 2. The oscillator circuit according to claim 1, comprising a comparator having an output terminal for 前記基準電圧値切替回路は、
前記電源と固定電位との間で直列接続された複数の抵抗と、
前記複数の抵抗に対する前記第2入力端子の接点を、前記電源の電圧を前記三角波信号の上限電圧に分圧する第1接点と、前記電源の電圧を前記三角波信号の下限電圧に分圧する第2接点との間で切り替えるスイッチと、を有し、
前記基準信号調整回路は、
前記第2入力端子が前記第1接点に接続されたときに、前記充放電制御回路に出力される前記基準電圧値が前記第1基準電圧値になるように前記基準信号を調整し、
前記第2入力端子が前記第2接点に接続されたときに、前記充放電制御回路に出力される前記基準電圧値が前記第2基準電圧値になるように前記基準信号を調整することを特徴とする請求項6に記載の発振回路。
The reference voltage value switching circuit is
a plurality of resistors connected in series between the power supply and a fixed potential;
The contacts of the second input terminal for the plurality of resistors are a first contact that divides the voltage of the power supply to the upper limit voltage of the triangular wave signal, and a second contact that divides the voltage of the power supply to the lower limit voltage of the triangular wave signal. and a switch for switching between
The reference signal adjustment circuit is
adjusting the reference signal so that the reference voltage value output to the charge/discharge control circuit becomes the first reference voltage value when the second input terminal is connected to the first contact;
The reference signal is adjusted so that the reference voltage value output to the charge/discharge control circuit becomes the second reference voltage value when the second input terminal is connected to the second contact. 7. The oscillator circuit according to claim 6, wherein:
前記スイッチは、前記出力端子から出力される前記制御信号が前記キャパシタの充電を指示する場合に、前記第2入力端子を前記第1接点に接続し、前記制御信号が前記キャパシタの放電を指示する場合に、前記第2入力端子を前記第2接点に接続することを特徴とする請求項7に記載の発振回路。 The switch connects the second input terminal to the first contact when the control signal output from the output terminal instructs charging of the capacitor, and the control signal instructs discharging of the capacitor. 8. The oscillator circuit according to claim 7, wherein said second input terminal is connected to said second contact in a case where said second input terminal is connected to said second contact. 前記基準信号調整回路は、一端が前記スイッチおよび前記第2入力端子に接続され、他端が固定電位に接続された第2のキャパシタを有することを特徴とする請求項7に記載の発振回路。 8. The oscillator circuit according to claim 7, wherein said reference signal adjusting circuit has a second capacitor having one end connected to said switch and said second input terminal and the other end connected to a fixed potential. 前記第2のキャパシタは、前記スイッチによって前記第2入力端子が前記第1接点に接続されたときに、前記複数の抵抗のうちの前記第1接点と前記第2接点との間の第1抵抗および前記第2接点と前記固定電位との間の第2抵抗に接続され、前記スイッチによって前記第2入力端子が前記第2接点に接続されたときに、前記第2抵抗に接続されることを特徴とする請求項9に記載の発振回路。 The second capacitor acts as a first resistor between the first contact and the second contact among the plurality of resistors when the second input terminal is connected to the first contact by the switch. and a second resistor between the second contact and the fixed potential, and connected to the second resistor when the switch connects the second input terminal to the second contact. 10. The oscillator circuit according to claim 9. 前記基準信号調整回路は、一端が前記スイッチおよび前記第2入力端子に接続され、他端が固定電位に接続された第2のキャパシタを有し、
前記スイッチは、
一端が前記第2のキャパシタの一端に接続され、他端が前記第1接点に接続され、制御端子が前記コンパレータの出力端子側に接続された第1スイッチング素子と、
一端が前記第2のキャパシタの一端に接続され、他端が前記第2接点に接続され、制御端子が前記コンパレータの出力端子側に接続された第2スイッチング素子と、を有することを特徴とする請求項7に記載の発振回路。
The reference signal adjustment circuit has a second capacitor having one end connected to the switch and the second input terminal and the other end connected to a fixed potential,
The switch is
a first switching element having one end connected to one end of the second capacitor, the other end connected to the first contact, and a control terminal connected to the output terminal side of the comparator;
a second switching element having one end connected to one end of the second capacitor, the other end connected to the second contact, and a control terminal connected to the output terminal side of the comparator. 8. The oscillator circuit according to claim 7.
前記第1入力端子は、非反転入力端子であり、
前記第2入力端子は、反転入力端子であり、
前記コンパレータは、前記キャパシタの充電から放電に切り替える場合に、前記出力端子からハイレベルの制御信号を出力し、一方、前記キャパシタの放電から充電に切り替える場合に、前記出力端子からローレベルの制御信号を出力し、
前記基準電圧値切替回路は、一端が前記コンパレータの出力端子に接続され、他端が前記第1スイッチング素子の制御端子および前記第2スイッチング素子の制御端子に接続されたインバータを更に有し、
前記第1スイッチング素子は、前記ローレベルの制御信号を前記インバータで論理反転した第1反転信号によってオンし、前記ハイレベルの制御信号を前記インバータで論理反転した第2反転信号によってオフし、
前記第2スイッチング素子は、前記第1反転信号によってオフし、前記第2反転信号によってオンすることを特徴とする請求項11に記載の発振回路。
the first input terminal is a non-inverting input terminal;
the second input terminal is an inverting input terminal;
The comparator outputs a high-level control signal from the output terminal when switching from charging to discharging the capacitor, and outputs a low-level control signal from the output terminal when switching from discharging to charging the capacitor. and
The reference voltage value switching circuit further includes an inverter having one end connected to the output terminal of the comparator and the other end connected to a control terminal of the first switching element and a control terminal of the second switching element,
The first switching element is turned on by a first inverted signal obtained by logically inverting the low level control signal by the inverter, and turned off by a second inverted signal obtained by logically inverting the high level control signal by the inverter,
12. The oscillator circuit according to claim 11, wherein said second switching element is turned off by said first inverted signal and turned on by said second inverted signal.
前記第1入力端子は、非反転入力端子であり、
前記第2入力端子は、反転入力端子であり、
前記コンパレータは、前記キャパシタの充電から放電に切り替える場合に、前記出力端子からハイレベルの制御信号を出力し、一方、前記キャパシタの放電から充電に切り替える場合に、前記出力端子からローレベルの制御信号を出力し、
前記第1スイッチング素子は、前記ローレベルの制御信号によってオンし、前記ハイレベルの制御信号によってオフし、
前記第2スイッチング素子は、前記ローレベルの制御信号によってオフし、前記ハイレベルの制御信号によってオンすることを特徴とする請求項11に記載の発振回路。
the first input terminal is a non-inverting input terminal;
the second input terminal is an inverting input terminal;
The comparator outputs a high-level control signal from the output terminal when switching from charging to discharging the capacitor, and outputs a low-level control signal from the output terminal when switching from discharging to charging the capacitor. and
the first switching element is turned on by the low level control signal and turned off by the high level control signal;
12. The oscillator circuit according to claim 11, wherein said second switching element is turned off by said low level control signal and turned on by said high level control signal.
前記充放電回路は、
前記電源と前記キャパシタの一端との間に接続された第1定電流回路と、
一端が前記キャパシタの一端に接続され、制御端子が前記コンパレータの出力端子に接続されたトランジスタと、
前記トランジスタの他端と固定電位との間に接続された第2定電流回路と、を有することを特徴とする請求項6に記載の発振回路。
The charge/discharge circuit is
a first constant current circuit connected between the power supply and one end of the capacitor;
a transistor having one end connected to one end of the capacitor and having a control terminal connected to the output terminal of the comparator;
7. The oscillator circuit according to claim 6, further comprising a second constant current circuit connected between the other end of said transistor and a fixed potential.
電源から供給される電力によるキャパシタの充放電を制御し、前記キャパシタの充電電圧に応じた三角波信号を生成する充放電回路と、
前記三角波信号と基準信号とが入力され、前記三角波信号の電圧値と前記基準信号の基準電圧値とを比較し、比較結果に応じて前記キャパシタの充電と放電とを切り替えるように前記充放電回路を制御する充放電制御回路と、
前記基準信号を生成して前記充放電制御回路に出力し、前記基準信号の前記基準電圧値を切り替える基準電圧値切替回路と、
前記基準信号を調整する基準信号調整回路と、を備えた発振回路を制御し、
前記発振回路の制御は、
前記基準電圧値切替回路が、
前記充放電制御回路による前記キャパシタの放電から充電に切り替えるために、前記基準信号の前記基準電圧値を前記三角波信号の下限電圧値から上限電圧値に切り替え、一方、前記充放電制御回路による前記キャパシタの充電から放電に切り替えるために、前記基準信号の前記基準電圧値を前記上限電圧値から前記下限電圧値に切り替え、
前記基準信号調整回路が、
前記基準電圧値切替回路が前記基準電圧値を前記上限電圧値に切り替えたときに、前記充放電制御回路に出力される前記基準電圧値が前記上限電圧値よりも低い第1基準電圧値になるように前記基準信号を調整し、一方、前記基準電圧値切替回路が前記基準電圧値を前記下限電圧値に切り替えたときに、前記充放電制御回路に出力される前記基準電圧値が前記下限電圧値よりも高く前記第1基準電圧値よりも低い第2基準電圧値になるように前記基準信号を調整することを含むことを特徴とする発振回路の制御方法。
a charging/discharging circuit that controls charging/discharging of a capacitor with power supplied from a power source and generates a triangular wave signal corresponding to the charged voltage of the capacitor;
The charging/discharging circuit receives the triangular wave signal and the reference signal, compares the voltage value of the triangular wave signal with the reference voltage value of the reference signal, and switches between charging and discharging of the capacitor according to the comparison result. a charge/discharge control circuit for controlling the
a reference voltage value switching circuit that generates the reference signal, outputs it to the charge/discharge control circuit, and switches the reference voltage value of the reference signal;
controlling an oscillation circuit comprising a reference signal adjustment circuit that adjusts the reference signal;
The control of the oscillation circuit includes:
The reference voltage value switching circuit
In order to switch the capacitor from discharging to charging by the charge/discharge control circuit, the reference voltage value of the reference signal is switched from a lower limit voltage value to an upper limit voltage value of the triangular wave signal, while the capacitor is controlled by the charge/discharge control circuit. switching the reference voltage value of the reference signal from the upper limit voltage value to the lower limit voltage value to switch from charging to discharging of the
The reference signal adjustment circuit is
When the reference voltage value switching circuit switches the reference voltage value to the upper limit voltage value, the reference voltage value output to the charge/discharge control circuit becomes a first reference voltage value lower than the upper limit voltage value. On the other hand, when the reference voltage value switching circuit switches the reference voltage value to the lower limit voltage value, the reference voltage value output to the charge/discharge control circuit is the lower limit voltage value. adjusting the reference signal to a second reference voltage value higher than the first reference voltage value and lower than the first reference voltage value.
JP2018116316A 2018-06-19 2018-06-19 Oscillator circuit and method of controlling the oscillator circuit Active JP7206062B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018116316A JP7206062B2 (en) 2018-06-19 2018-06-19 Oscillator circuit and method of controlling the oscillator circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018116316A JP7206062B2 (en) 2018-06-19 2018-06-19 Oscillator circuit and method of controlling the oscillator circuit

Publications (2)

Publication Number Publication Date
JP2019220824A JP2019220824A (en) 2019-12-26
JP7206062B2 true JP7206062B2 (en) 2023-01-17

Family

ID=69097104

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018116316A Active JP7206062B2 (en) 2018-06-19 2018-06-19 Oscillator circuit and method of controlling the oscillator circuit

Country Status (1)

Country Link
JP (1) JP7206062B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117093047A (en) * 2023-08-30 2023-11-21 合芯科技(苏州)有限公司 Acceleration voltage stabilizing circuit, low-dropout linear voltage stabilizer and electronic product

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003188693A (en) 2001-12-20 2003-07-04 Nec Kansai Ltd Oscillation circuit

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60103717A (en) * 1983-11-09 1985-06-08 Mitsubishi Electric Corp Voltage-frequency converting circuit
JP3622102B2 (en) * 1997-07-24 2005-02-23 日本プレシジョン・サーキッツ株式会社 CR oscillation circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003188693A (en) 2001-12-20 2003-07-04 Nec Kansai Ltd Oscillation circuit

Also Published As

Publication number Publication date
JP2019220824A (en) 2019-12-26

Similar Documents

Publication Publication Date Title
US10547297B2 (en) Digital clock duty cycle correction
KR101200946B1 (en) Pulse width modulation circuit
US20090315530A1 (en) Pulse controlled soft start scheme for buck converter
US7324358B2 (en) Power supply apparatus including charge-pump type step-up circuit operated at clock signal frequency
US8570021B2 (en) DC/DC converter having a delay generator circuit positioned between a comparator and a pulse generator and a DC/DC converter control method
US7741887B2 (en) Triangular wave generator
US9590500B2 (en) Voltage generator
US10826288B1 (en) Power circuit for reducing inrush current
US20160268900A1 (en) Power supply circuit and control method thereof
JP2007159288A (en) Soft start circuit and power supply
CN114189233A (en) Drive control circuit
US6822884B1 (en) Pulse width modulated charge pump
JP2008205901A (en) Triangular wave generation circuit
JP7206062B2 (en) Oscillator circuit and method of controlling the oscillator circuit
US8334715B1 (en) Method to achieve constant slew rate (over process corners) for an output buffer
JP3981612B2 (en) Triangular wave generator, pulse width modulation signal generator, and external synchronization / internal synchronization / asynchronous switching device
US9354647B2 (en) Adjustable reference current generating circuit and method for driving the same
US10680524B2 (en) Fast-charging voltage generator
JP7281805B2 (en) Charge pump control circuit and battery control circuit
US6329884B1 (en) Oscillator circuit with current limiting devices
JP6543133B2 (en) POWER SUPPLY DEVICE AND ITS CONTROL METHOD
JP2009010623A (en) Oscillator circuit and method of generating pulse signal
US20050035811A1 (en) Apparatus for controlling a boosted voltage and method of controlling a boosted voltage
JP2004048880A (en) Switched capacitor type stabilized power supply unit
US7123179B1 (en) Apparatus and method for duty cycle conversion

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210614

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220614

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20221206

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230104

R150 Certificate of patent or registration of utility model

Ref document number: 7206062

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150