JPH04150218A - Oscillation circuit - Google Patents

Oscillation circuit

Info

Publication number
JPH04150218A
JPH04150218A JP2271830A JP27183090A JPH04150218A JP H04150218 A JPH04150218 A JP H04150218A JP 2271830 A JP2271830 A JP 2271830A JP 27183090 A JP27183090 A JP 27183090A JP H04150218 A JPH04150218 A JP H04150218A
Authority
JP
Japan
Prior art keywords
comparator
output
oscillation
terminal
input terminal
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.)
Pending
Application number
JP2271830A
Other languages
Japanese (ja)
Inventor
Koji Yokozawa
晃二 横澤
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.)
NEC IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems 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 NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP2271830A priority Critical patent/JPH04150218A/en
Publication of JPH04150218A publication Critical patent/JPH04150218A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily set an optional duty ratio at a stable oscillation output by providing a specific oscillation section and a specific control voltage application section to the oscillation circuit. CONSTITUTION:The oscillation circuit is provided with an oscillation section formed by inputting a control voltage to a 1st input terminal of a comparator 10, connecting a 1st resistor R10 between a 2nd input terminal and the output terminal of the comparator 10, and connecting a capacitor C10 between the 2nd input terminal and a power terminal, and with a control voltage application section which applies a prescribed voltage to the comparator 10 through resistance division by means of analog switches 4, 5 whose control voltage is selected by the output of the comparator 10. Thus, the oscillating frequency and the duty ratio are made variable by setting the resistance and the level in the oscillating circuit is kept within a power supply voltage. Thus, a stable oscillation output is obtained and an optional duty ratio is easily set.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、発振回路に関し、 に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to an oscillation circuit, Regarding.

〔従来の技術〕[Conventional technology]

特にCR発振回路 用いて説明する。 Especially CR oscillation circuit I will explain using

この回路は、2個のインバータ21.22と、抵抗R3
゜、コンデンサC1゜とからなる。インバータ21の出
力がHレベル、インバータ22の出力がLレベルの時、
抵抗R0゜とコンデンサC1゜との充放電によりd点の
電位がLからHレベルへ変化し、インバータ21の論理
スレショールド電圧vTヨ以上になると、インバータ2
1の出力がLレベル、インバータ22の出力がHレベル
に反転シ、今度は抵抗R1゜とコンデンサC1゜との充
放電によりd点電位がHからLレベルへ変化してインバ
ータ21の論理スレショールド電圧V□以下になると、
再びインバータ21の出力がHレベル、インバータ22
の出力がLレベルに反転する。
This circuit consists of two inverters 21, 22 and a resistor R3.
゜, capacitor C1゜. When the output of inverter 21 is H level and the output of inverter 22 is L level,
When the potential at point d changes from L to H level due to charging and discharging of resistor R0° and capacitor C1°, and becomes higher than the logic threshold voltage vTyo of inverter 21, inverter 2
The output of the inverter 22 is inverted to the L level, and the output of the inverter 22 is inverted to the H level.Now, due to the charging and discharging of the resistor R1° and the capacitor C1°, the potential at point d changes from H to L level, and the logic threshold of the inverter 21 is reached. When the voltage drops below V□,
The output of the inverter 21 is at H level again, and the inverter 22
The output of is inverted to L level.

このような動作を繰り返し行なう事により発振が行われ
る。
Oscillation is performed by repeating such operations.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の発振回路では、d点の電位が電源電圧以
上に振幅するため、安定した発振出力を得るのは難かし
く、また、集積回路上に構成する事も困難である。さら
に、この種の発振回路では、発振出力のデユーティ比を
設定する事が出来ないという欠点があった。
In the conventional oscillation circuit described above, since the potential at point d swings higher than the power supply voltage, it is difficult to obtain a stable oscillation output, and it is also difficult to configure it on an integrated circuit. Furthermore, this type of oscillation circuit has the disadvantage that the duty ratio of the oscillation output cannot be set.

本発明の目的は、これらの欠点を除き、安定した発振出
力で任意のデユーティ比を容易に設定できる発振回路を
提供することにある。
An object of the present invention is to provide an oscillation circuit that eliminates these drawbacks and allows easy setting of any duty ratio with stable oscillation output.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の発振回路の構成は、制御電圧を比較器の第1の
入力端子に入力し、この比較器の第2の入力端子と出力
端子との間に第1の抵抗を接続し、この第2の入力端子
と電源端子との間にコンデンサを接続して構成される発
振部と、前記制御電圧が前記比較器の出力により切替え
られるアナログスイッチにより抵抗分割された所定電圧
が供給される制御電圧供給部と、を備えることを特徴と
する。
The configuration of the oscillation circuit of the present invention is such that a control voltage is input to a first input terminal of a comparator, a first resistor is connected between a second input terminal and an output terminal of this comparator, and a first resistor is connected between a second input terminal and an output terminal of this comparator. an oscillation unit configured by connecting a capacitor between the input terminal of the second input terminal and the power supply terminal, and a control voltage to which a predetermined voltage is supplied by resistance-dividing the control voltage by an analog switch that is switched by the output of the comparator. A supply unit.

〔実施例〕〔Example〕

次に本発明について図面を用いて説明する。 Next, the present invention will be explained using the drawings.

第1図は本発明の一実施例の回路図である。この回路は
、電源vDDと接地との間に直列接続した抵抗R1〜R
3の角接点す、cを切換えるインバータ8およびアナロ
グスイッチ4,5からなる電圧供給部と、抵抗R1゜、
コンデンサCIOと比較器10とからなる発振部とから
構成される。
FIG. 1 is a circuit diagram of an embodiment of the present invention. This circuit consists of resistors R1 to R connected in series between the power supply vDD and ground.
A voltage supply unit consisting of an inverter 8 and analog switches 4 and 5 that switch the corner contacts S and C of 3, and a resistor R1°,
It consists of an oscillation section consisting of a capacitor CIO and a comparator 10.

第1の電源端子(VDD)1と、第2の電源端子(GN
D)3との間に抵抗R1〜R3を直列接続し、抵抗R1
と抵抗R2との接続端子すとアナログスイッチ4の第1
の端子(入力端子)とを接続し、抵抗R2と抵抗R1と
の接続端子Cとアナログスイッチ5の入力端子との接続
する。また、コンデンサC1゜の第1の端子と第2の電
源端子3とを接続し、アナログスイッチ4の出力端子と
アナログスイッチ5の出力端子と比較器10の第1の入
力端子(+)とを接続し、比較器10の第2の入力端子
(−)とコンデンサC1゜の第2の端子と抵抗R1゜の
第1の端子とを接続し、比較器10の出力端子と発振出
力端子2と抵抗R1゜の第2の端子とを接続している。
The first power terminal (VDD) 1 and the second power terminal (GN
D) Connect resistors R1 to R3 in series between R1 and R3.
and the connection terminal between resistor R2 and the first terminal of analog switch 4.
(input terminal), and the connection terminal C between the resistor R2 and the resistor R1 is connected to the input terminal of the analog switch 5. Also, the first terminal of the capacitor C1° and the second power supply terminal 3 are connected, and the output terminal of the analog switch 4, the output terminal of the analog switch 5, and the first input terminal (+) of the comparator 10 are connected. The second input terminal (-) of the comparator 10, the second terminal of the capacitor C1°, and the first terminal of the resistor R1° are connected, and the output terminal of the comparator 10 and the oscillation output terminal 2 are connected. It is connected to the second terminal of the resistor R1°.

この比較器10の出力によりアナログスイッチ4,50
オン、オフが制御される回路で構成される。
The output of this comparator 10 causes the analog switches 4 and 50 to
It consists of a circuit that is controlled to turn on and off.

この発振回路の場合、比較器10の出力がHレベルとす
ると、アナログスイッチ4がオン、アナログスイッチ5
がオフとなり、比較器10の+側入力端子には電源電圧
を抵抗R1〜R3で分圧されたb点の電位が入力される
In the case of this oscillation circuit, when the output of the comparator 10 is at H level, the analog switch 4 is turned on and the analog switch 5 is turned on.
is turned off, and the potential at point b, which is obtained by dividing the power supply voltage by the resistors R1 to R3, is input to the + side input terminal of the comparator 10.

ここで第1の電源端子lの入力電圧をV工、第2の電源
端子30入力電圧をGND=OVとすると、b点の電位
は次式で表わされる。
Here, if the input voltage of the first power supply terminal l is V and the input voltage of the second power supply terminal 30 is GND=OV, then the potential at point b is expressed by the following equation.

Rl””’ Rsの抵抗値、Vつ。は電源電圧とする。Rl””’ Resistance value of Rs, V. is the power supply voltage.

第2図は第1図の各部の動作波形図である。FIG. 2 is an operational waveform diagram of each part of FIG. 1.

一方、比較器10の一側入力端子には、抵抗R1゜とコ
ンデンサC1゜による充放電電圧(a点の電位)が入力
されている。このa点の電位は、比較器10の出力がH
レベルとするとコンデンサC1゜は除々に充電されるが
、やがてb点の電位(V、)以上となった瞬間に(この
時を第2図のt、とする)、比較器10の出力はLレベ
ルになりアナログスイッチ4がオフ、アナログスイッチ
5がオンとなり、比較器10の+側入力端子には抵抗R
1〜R3で分圧された0点の電位が入力される。この0
点の電位V。は(2)式で表わされる。
On the other hand, a charging/discharging voltage (potential at point a) generated by a resistor R1° and a capacitor C1° is input to one side input terminal of the comparator 10. The potential at point a is such that the output of the comparator 10 is H.
The capacitor C1° is gradually charged, but at the moment when it reaches the potential (V, ) at point b (this time is designated as t in Figure 2), the output of the comparator 10 becomes L. level, the analog switch 4 is turned off, the analog switch 5 is turned on, and the + side input terminal of the comparator 10 is connected to the resistor R.
The potential at the 0 point divided by 1 to R3 is input. This 0
Potential of point V. is expressed by equation (2).

また、比較器10の出力がLレベルになったことで、a
点の電位は抵抗R1゜とコンデンサC1゜の時定数で除
々に放電され、やがて0点の電位(Vc)以下となった
瞬間に(第2図のt2とする)、再び比較器10の出力
はHレベルになりアナログスイッチ4がオン、アナログ
スイッチ5がオフとなる。
Also, since the output of the comparator 10 has become L level, a
The potential at the point is gradually discharged with the time constant of the resistor R1° and the capacitor C1°, and at the moment when it becomes below the zero point potential (Vc) (denoted as t2 in Fig. 2), the output of the comparator 10 is again discharged. becomes H level, analog switch 4 is turned on, and analog switch 5 is turned off.

再び、比較器10の出力がHレベルになったことでコン
デンサC1゜は充電され始め、a点の電位がb点の電位
71以上となった瞬間に(第2図tlとする)、また比
較器10の出力がLレベルになる。
As the output of the comparator 10 becomes H level again, the capacitor C1° starts to be charged, and at the moment when the potential at point a becomes equal to or higher than the potential 71 at point b (denoted as tl in Fig. 2), the comparison starts again. The output of the device 10 becomes L level.

これらの動作を繰り返す事により発振する。Oscillation occurs by repeating these operations.

次に、この発振回路の発振周波数fを求める。Next, the oscillation frequency f of this oscillation circuit is determined.

まず、第2図のtlからt2までの時間Tlを求める。First, the time Tl from tl to t2 in FIG. 2 is determined.

コンデンサC1゜の容量C,,,抵抗R1゜の抵抗値r
+oとすると、 次式が得られる。
Capacitance C of capacitor C1゜, resistance value r of resistor R1゜
+o, the following formula is obtained.

y by c=v bl−6CI+ ’ r la・・
・(3) (3)式に(1)(2)式を代入し、 簡単化すると、 次式と なる。
y by c=v bl-6CI+' r la...
・(3) By substituting equations (1) and (2) into equation (3) and simplifying it, we get the following equation.

r2+rl r、+rz+r+ +r2+r3 同様に第2図のt2からt、までの時間T2を求める。r2+rl r, +rz+r+ +r2+r3 Similarly, time T2 from t2 to t in FIG. 2 is determined.

したがって、 第1図の発振回路の発振周波数f は次式のようになる。therefore, Oscillation frequency f of the oscillation circuit in Figure 1 is as follows.

また、発振出力のデユーティ比TI/T2は、(5)、
 (6)式より次式のようになる。
Moreover, the duty ratio TI/T2 of the oscillation output is (5),
From equation (6), the following equation is obtained.

こりように本実施例の回路によれば、抵抗値を設定する
ことにより、発振周波数およびデユーティ比を可変でき
る発振回路が得られる。
According to the circuit of this embodiment, an oscillation circuit can be obtained in which the oscillation frequency and duty ratio can be varied by setting the resistance value.

第3図は本発明の第2の実施例の回路図で、複数の直列
接続抵抗R1〜R5の接続点をアナログスイッチ4〜7
で選択する回路が示されている。これらアナログスイッ
チ4〜7は、比較器10の出力に従ってデータセレクタ
9が切換えている。この場合も同様に、(7)、 (8
)式により周波数、デーティ比が可変できることは明ら
かである。
FIG. 3 is a circuit diagram of a second embodiment of the present invention, in which connection points of a plurality of series-connected resistors R1 to R5 are connected to analog switches 4 to 7.
The circuit to be selected is shown. These analog switches 4 to 7 are switched by a data selector 9 according to the output of a comparator 10. In this case as well, (7), (8
) It is clear that the frequency and duty ratio can be varied using the equation.

第4図は本発明の第3の実施例の回路図で、抵抗R1〜
R3の接続点を比較器10の出力によりオ訃 ン・オフされるNチャンネル型電譚効果トランジスタQ
1により切換えたものである。
FIG. 4 is a circuit diagram of a third embodiment of the present invention, in which resistors R1 to
The connection point of R3 is connected to an N-channel electric current effect transistor Q which is turned on and off by the output of the comparator 10.
1.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、発振回路内の電位
が電源電圧範囲内で動作しており、安定した発振出力が
得られ、かつ抵抗値を設定することにより任意のデユー
ティ比を容易に設定することができる。また、この回路
は集積回路に内蔵するのも容易であり、それが廉価に実
現できるという効果がある。
As explained above, according to the present invention, the potential in the oscillation circuit operates within the power supply voltage range, stable oscillation output can be obtained, and any duty ratio can be easily set by setting the resistance value. Can be set. Further, this circuit can be easily incorporated into an integrated circuit, and has the advantage that it can be realized at a low cost.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例の回路図、第2図は第1図の
回路の主要信号の波形図、第3図、第4図は本発明の第
2.第3の実施例の回路図、第5図は従来例の回路図、
第6図は第5図の主要信号の波形図である。 l・・・・・・第1の電源端子、2・・・・・・発振出
力端子、3・・・・・・第2の電源端子、4〜7・・・
・・・アナログスイッチ、8,11,21.22・・・
・・・インバータ、9・・・・・・データセレクタ、1
0・・・・・・比較器、R1−R6゜R1゜、R11・
・・・・・抵抗% ell C2・・・・・・コンデン
サ、Ql・・・・・・Nチャンネル型電界効果トランジ
スタ。 代理人 弁理士  内 原   音 光1 図 F12 図 第3図
FIG. 1 is a circuit diagram of an embodiment of the present invention, FIG. 2 is a waveform diagram of main signals of the circuit of FIG. 1, and FIGS. 3 and 4 are diagrams of a second embodiment of the present invention. The circuit diagram of the third embodiment, FIG. 5 is the circuit diagram of the conventional example,
FIG. 6 is a waveform diagram of the main signals in FIG. l...First power supply terminal, 2...Oscillation output terminal, 3...Second power supply terminal, 4-7...
...Analog switch, 8, 11, 21.22...
...Inverter, 9...Data selector, 1
0...Comparator, R1-R6゜R1゜, R11.
...Resistance% ell C2...Capacitor, Ql...N-channel field effect transistor. Agent Patent Attorney Otoko Uchihara 1 Figure F12 Figure 3

Claims (1)

【特許請求の範囲】[Claims] 制御電圧を比較器の第1の入力端子に入力し、この比較
器の第2の入力端子と出力端子との間に第1の抵抗を接
続し、この第2の入力端子と電源端子との間にコンデン
サを接続して構成される発振部と、前記制御電圧が前記
比較器の出力により切替えられるアナログスイッチによ
り抵抗分割された所定電圧が供給される制御電圧供給部
と、を備えることを特徴とする発振回路。
A control voltage is input to a first input terminal of the comparator, a first resistor is connected between the second input terminal and the output terminal of the comparator, and a voltage between the second input terminal and the power supply terminal is connected. An oscillation unit configured by connecting a capacitor between them, and a control voltage supply unit to which a predetermined voltage obtained by resistance-dividing the control voltage by an analog switch switched by the output of the comparator is supplied. oscillation circuit.
JP2271830A 1990-10-09 1990-10-09 Oscillation circuit Pending JPH04150218A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2271830A JPH04150218A (en) 1990-10-09 1990-10-09 Oscillation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2271830A JPH04150218A (en) 1990-10-09 1990-10-09 Oscillation circuit

Publications (1)

Publication Number Publication Date
JPH04150218A true JPH04150218A (en) 1992-05-22

Family

ID=17505457

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2271830A Pending JPH04150218A (en) 1990-10-09 1990-10-09 Oscillation circuit

Country Status (1)

Country Link
JP (1) JPH04150218A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809071A (en) * 2018-08-28 2018-11-13 上海艾为电子技术股份有限公司 A kind of SS (soft start) control circuit and Switching Power Supply of Switching Power Supply

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60128708A (en) * 1983-12-15 1985-07-09 Toshiba Corp Oscillating circuit
JPS6032834B2 (en) * 1978-03-22 1985-07-30 ダイキン工業株式会社 Air conditioner timer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6032834B2 (en) * 1978-03-22 1985-07-30 ダイキン工業株式会社 Air conditioner timer
JPS60128708A (en) * 1983-12-15 1985-07-09 Toshiba Corp Oscillating circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809071A (en) * 2018-08-28 2018-11-13 上海艾为电子技术股份有限公司 A kind of SS (soft start) control circuit and Switching Power Supply of Switching Power Supply
CN108809071B (en) * 2018-08-28 2024-05-03 上海艾为电子技术股份有限公司 Soft start control circuit of switching power supply and switching power supply

Similar Documents

Publication Publication Date Title
US3419784A (en) Magnitude-to-frequency converters
JPH05111241A (en) Dc/dc converter
JPH04165809A (en) Ring oscillator
CA2052248C (en) Constant current circuit and an oscillating circuit controlled by the same
US4904960A (en) Precision CMOS oscillator circuit
JPH04150218A (en) Oscillation circuit
US7466178B2 (en) Multivibrator with reduced average offset voltage
JP2003134799A5 (en)
US4465983A (en) CMOS Oscillator having positive feedback capacitor charged and discharged with constant currents
JPH0338925A (en) Digital/analog converter
SU1411927A1 (en) Pulse generator
JPH0810816B2 (en) Oscillator circuit
JPH03121614A (en) Oscillating circuit
JPH01126822A (en) Programmable input circuit
JPS5831614A (en) Triangle wave oscillator
JPH062345Y2 (en) Proximity switch
JPS62171305A (en) Offset compensating circuit
JPS63294012A (en) Hysteresis circuit
JPH06216722A (en) Triangular wave oscillating circuit
JPS60100819A (en) Oscillating circuit
JPS60107913A (en) Triangular wave oscillation circuit
JP2785395B2 (en) One shot circuit
JP3194738B2 (en) CR oscillation circuit
JPS62217711A (en) Schmitt trigger circuit
US20020060593A1 (en) Stable frequency clock generator