JP3010708B2 - Pulse generator - Google Patents

Pulse generator

Info

Publication number
JP3010708B2
JP3010708B2 JP2230626A JP23062690A JP3010708B2 JP 3010708 B2 JP3010708 B2 JP 3010708B2 JP 2230626 A JP2230626 A JP 2230626A JP 23062690 A JP23062690 A JP 23062690A JP 3010708 B2 JP3010708 B2 JP 3010708B2
Authority
JP
Japan
Prior art keywords
pulse
output
inverter
circuit
level
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.)
Expired - Fee Related
Application number
JP2230626A
Other languages
Japanese (ja)
Other versions
JPH04117020A (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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP2230626A priority Critical patent/JP3010708B2/en
Publication of JPH04117020A publication Critical patent/JPH04117020A/en
Application granted granted Critical
Publication of JP3010708B2 publication Critical patent/JP3010708B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、一定周期および一定幅のパルスを発生する
パルス発生器に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pulse generator that generates pulses having a constant period and a constant width.

〔従来の技術〕[Conventional technology]

従来の光電スイッチの投光回路に一般的に用いられる
回路の構成を第3図に示す。
FIG. 3 shows a configuration of a circuit generally used for a light emitting circuit of a conventional photoelectric switch.

第3図においてパルス発生回路100内のインバータ1,
2,3,トライステート出力バッファ(以後、バッファ)4,
抵抗6,8がループ状にカスケード接続され、インバータ
2の出力と、抵抗6および抵抗8の接続点の間にコンデ
ンサ5が設けられている。
In FIG. 3, the inverters 1 and 2 in the pulse generation circuit 100 are shown.
2,3, tri-state output buffer (hereinafter buffer) 4,
The resistors 6 and 8 are cascaded in a loop, and a capacitor 5 is provided between the output of the inverter 2 and a connection point between the resistors 6 and 8.

出力バッファ4の出力と基準電位間に抵抗7が接続さ
れ、又、バッファ4の制御端子はインバータ3の出力に
接続されている。又、発光素子(LED)12,抵抗11,トラ
ンジスタ10の直列回路からなるLED駆動回路50が回路電
源Vccと基準電位間に接続され、トランジスタ10はイン
バータ3により駆動される。
The resistor 7 is connected between the output of the output buffer 4 and the reference potential, and the control terminal of the buffer 4 is connected to the output of the inverter 3. An LED driving circuit 50 composed of a series circuit of a light emitting element (LED) 12, a resistor 11, and a transistor 10 is connected between a circuit power supply Vcc and a reference potential, and the transistor 10 is driven by an inverter 3.

この様な回路構成において、最初インバータ2の出力
レベルが“H"から“L"に変った時点では(a)点の電位
はほぼ−1/2Vccとなり(第4図のタイミングT1)、又、
インバータ3の出力はレベル“H"となる。バッファ4の
制御端子もレベル“H"となるので、バッファ4の出力レ
ベルは“H"となる。
In such a circuit configuration, when the output level of the inverter 2 first changes from "H" to "L", the potential at the point (a) becomes substantially -1/2 Vcc (timing T1 in FIG. 4).
The output of inverter 3 is at level "H". Since the control terminal of the buffer 4 also has the level “H”, the output level of the buffer 4 becomes “H”.

この結果、コンデンサ5は抵抗6を介して充電されa
点の電位は上昇しインバータ1の入力電圧がしきい値に
達すると、インバータ1の出力はレベル“L"となり、イ
ンバータ2の出力がレベル“H"になる(第4図のタイミ
ングT2)。従って(a)点の電圧はほぼVccだけ高くな
ると同時にインバータ3の出力レベル“L"となり、バッ
ファ4の制御端子はレベル“L"となるので、バッファ4
はハイインピーダンス状態となる。
As a result, the capacitor 5 is charged through the resistor 6 and a
When the potential at the point rises and the input voltage of the inverter 1 reaches the threshold value, the output of the inverter 1 goes to level "L" and the output of the inverter 2 goes to level "H" (timing T2 in FIG. 4). Therefore, the voltage at the point (a) rises by almost Vcc and at the same time becomes the output level "L" of the inverter 3 and the control terminal of the buffer 4 becomes "L".
Is in a high impedance state.

従ってコンデンサ5は抵抗6と抵抗7の直列抵抗によ
り放電を行い(a)点の電圧が下がってきてインバータ
1のしきい値電圧に達すると(第4図のタイミングT
3)、インバータ1の出力がレベル“H"、インバータ2
の出力がレベル“L"、インバータ3の出力がレベル“H"
となる。この結果バッファ4は制御端子がレベル“H"と
なるので、バッファ4の出力は再びレベル“H"となる。
Accordingly, the capacitor 5 discharges by the series resistance of the resistor 6 and the resistor 7, and when the voltage at the point (a) decreases and reaches the threshold voltage of the inverter 1 (timing T in FIG. 4).
3) The output of inverter 1 is at level "H" and inverter 2
Output is at level "L" and the output of inverter 3 is at level "H"
Becomes As a result, since the control terminal of the buffer 4 is at the level "H", the output of the buffer 4 is again at the level "H".

以下、この動作のくり返しとなりトランジスタ10はイ
ンバータ3の出力がレベル“H"のとき抵抗9を介して導
通され、LED12と抵抗11の直列回路に電流を供給する。
抵抗6は、抵抗7より充分小さいのでLED12は点灯時間
に対し充分な非点灯時間を有する。
Hereinafter, this operation is repeated, and the transistor 10 is turned on through the resistor 9 when the output of the inverter 3 is at the level “H”, and supplies a current to the series circuit of the LED 12 and the resistor 11.
Since the resistor 6 is sufficiently smaller than the resistor 7, the LED 12 has a sufficient non-lighting time for the lighting time.

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

従来の光電スイッチの投光回路に用いるパルス発生器
においては、パルス幅と周期はコンデンサ5の容量,抵
抗6,抵抗7,抵抗8等の部品定数の他にインバータ1のし
きい値電圧により影響されるので、インバータ1のしき
い値電圧のバラツキや温度変化があるとパルス幅と周期
の変動が大きく、光電スイッチの感度や応答時間が安定
しないという問題があった。
In the pulse generator used in the conventional light emitting circuit of the photoelectric switch, the pulse width and the cycle are affected by the threshold voltage of the inverter 1 in addition to the capacitance of the capacitor 5, the component constants of the resistors 6, 7, and 8, and the like. Therefore, if there is a variation in the threshold voltage of the inverter 1 or a change in temperature, the pulse width and the period greatly fluctuate, and there is a problem that the sensitivity and the response time of the photoelectric switch become unstable.

そこで、本発明の課題は、コンデンサの充放電による
電圧をしきい値比較することによりパルスを発生するパ
ルス発生器においてもパルス幅,発生周期を一定とする
ことの可能なパルス発生器を提供することにある。
Therefore, an object of the present invention is to provide a pulse generator that can maintain a constant pulse width and a constant generation period even in a pulse generator that generates a pulse by comparing a threshold value of a voltage caused by charging and discharging of a capacitor. It is in.

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

このような目的を達成するために、本発明は、コンデ
ンサの充放電により生じる電圧変化をしきい値比較する
ことによりパルスを発生するパルス発生回路と、前記パ
ルス発生回路により発生されるパルスを1/2分周するこ
とにより一定周期のパルスを発生する分周回路と、前記
コンデンサにおける大きさの異なる2種の充放電時定数
を、前記分周回路の出力により前記パルス発生回路から
パルスが発生される毎に交互に切替設定する制御回路と
を具えたことを特徴とする。
In order to achieve such an object, the present invention provides a pulse generation circuit that generates a pulse by comparing a voltage change caused by charging and discharging of a capacitor with a threshold, and a pulse generation circuit that generates a pulse by one pulse. A pulse is generated from the pulse generating circuit by an output of the frequency dividing circuit, and a frequency dividing circuit that generates a pulse of a fixed cycle by dividing by two, and two types of charge / discharge time constants having different sizes in the capacitor. And a control circuit for alternately switching and setting each time the operation is performed.

〔作 用〕(Operation)

本発明は、コンデンサの充放電時間は常に一定である
ことに着目し、従来のパルス発生器のコンデンサに対し
て大きさの異なる充放電時定数を交互に設定する。この
とき、第1のパルスの立ち上がりから次の第2のパルス
の立ち上がりまでの時間は第1の充放電時定数により規
定される。また、上記第2のパルスの立ち上がりから次
の第1のパルスの立ち上がりまでの時間は第2の充放電
時定数により規定される。また、上記2種の時間はたと
え比較用しきい値にバラツキがあっても常にそれぞれ常
に一定であることから、第1のパルスを1/2分周するこ
とにより出力用のパルスの山部分が作成され、第2のパ
ルスを1/2分周することにより出力用パルスの谷部分が
作成される。このため、このように作成された出力用パ
ルスはパルス幅、周期共に常に一定となる。
The present invention focuses on the fact that the charging / discharging time of the capacitor is always constant, and alternately sets different charging / discharging time constants for the capacitor of the conventional pulse generator. At this time, the time from the rise of the first pulse to the rise of the next second pulse is defined by the first charge / discharge time constant. The time from the rise of the second pulse to the rise of the next first pulse is defined by the second charge / discharge time constant. Further, since the two types of time are always constant, even if the comparison threshold value varies, the peak portion of the output pulse is obtained by dividing the first pulse by 1/2. The valley portion of the output pulse is created by dividing the second pulse by 1/2. For this reason, the output pulse created in this manner is always constant in both pulse width and cycle.

〔実施例〕〔Example〕

以下、図面を参照して本発明の実施例を詳細に説明す
る。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明実施例の光電スイッチにおける投光回
路の回路構成を示す。
FIG. 1 shows a circuit configuration of a light emitting circuit in a photoelectric switch according to an embodiment of the present invention.

なお、第3図に示す従来例と同様の箇所には同一の符
号を付し、詳細な説明を省略する。
The same parts as those in the conventional example shown in FIG. 3 are denoted by the same reference numerals, and detailed description will be omitted.

第1図において、第3図の従来点と異なる点は第3図
のバッファ4に代え2つのバッファ13,14を並列接続
し、バッファ13,14の開閉をフリップフロップ20により
交互に行うようにした点にある。フリップフロップ20は
インバータ2の出力をクロック入力し、入力クロックの
倍周クロックを出力する。フリップフロップ20が本発明
の制御回路の一部を構成すると共に本発明の分周回路と
して動作する。本例ではフリップフロップ20のQ出力が
LED駆動回路50に対する駆動パルスとなる。
In FIG. 1, the point different from the conventional point in FIG. 3 is that two buffers 13, 14 are connected in parallel instead of the buffer 4 in FIG. 3, and the buffers 13, 14 are opened and closed alternately by flip-flops 20. It is in the point which did. The flip-flop 20 receives the clock of the output of the inverter 2 and outputs a frequency-multiplied clock of the input clock. The flip-flop 20 forms a part of the control circuit of the present invention and operates as the frequency dividing circuit of the present invention. In this example, the Q output of flip-flop 20 is
It becomes a drive pulse for the LED drive circuit 50.

このような回路構成において、最初インバータ2の出
力がレベル“L"の状態から(a)点の電圧がインバータ
1のしきい値(CMOS回路では略々Vccの1/2)を越えて、
インバータ2の出力がレベル“H"に反転した時点(第2
図のタイミングT11)では(a)点の電圧はほぼVcc×1.
5となっている。このときフリップフロップ20のQ出力
がレベル“H"であるとすると、バッファ13の制御端子は
レベル“H"となる。
In such a circuit configuration, the voltage at the point (a) initially exceeds the threshold value of the inverter 1 (substantially 1/2 of Vcc in a CMOS circuit) from the state where the output of the inverter 2 is at the level "L".
When the output of the inverter 2 is inverted to the level “H” (second
At the timing T11), the voltage at the point (a) is almost Vcc × 1.
It is 5. At this time, assuming that the Q output of the flip-flop 20 is at the level “H”, the control terminal of the buffer 13 is at the level “H”.

バッファ13はインバータ3の出力、すなわちレベル
“L"を出力する。バッファ14の制御端子はレベル“L"で
あるからバッファ14の出力はハイインピーダンスとな
る。従って抵抗6を通ってバッファ13の出力に電流が流
れ、コンデンサ5が放電して(a)点の電圧が下降す
る。(a)点の電圧がインバータ1のしきい値を下まわ
ると(第2図のタイミングT12)、インバータ1の出力
はレベル“H"、インバータ2の出力はレベル“L"、イン
バータ3の出力はレベル“H"に転じる。また(a)点の
電圧はほぼ−1/2Vccとなる。
The buffer 13 outputs the output of the inverter 3, that is, the level "L". Since the control terminal of the buffer 14 is at the level “L”, the output of the buffer 14 becomes high impedance. Therefore, a current flows to the output of the buffer 13 through the resistor 6, the capacitor 5 is discharged, and the voltage at the point (a) decreases. When the voltage at the point (a) falls below the threshold value of the inverter 1 (timing T12 in FIG. 2), the output of the inverter 1 is at the level "H", the output of the inverter 2 is at the level "L", and the output of the inverter 3 is Turns to level "H". The voltage at the point (a) is approximately -1/2 Vcc.

従って今度はバッファ13の出力はレベル“H"となり抵
抗6を通じてコンデンサ5を充電し、(a)点の電位を
上昇させる。(a)点の電位がインバータ1のしきい値
をこえると(第2図のタイミングT13)、インバータ1
の出力はレベル“L"となり、インバータ2の出力はレベ
ル“H"、インバータ3の出力はレベル“L"となる。イン
バータ2の出力がレベル“L"からレベル“H"に変化する
ことによりフリップフロップ20はインバータ2の出力パ
ルスの倍周パルスとなるように、Q出力(d点の電圧)
をレベル“L"とする(第2図のタイミングT13)。
Therefore, the output of the buffer 13 becomes "H" level this time, charges the capacitor 5 through the resistor 6, and raises the potential at the point (a). (A) When the potential at the point exceeds the threshold value of the inverter 1 (timing T13 in FIG. 2), the inverter 1
Is at level "L", the output of inverter 2 is at level "H", and the output of inverter 3 is at level "L". When the output of the inverter 2 changes from the level “L” to the level “H”, the flip-flop 20 outputs the Q output (the voltage at the point d) so that the output pulse of the inverter 2 becomes a double pulse.
Is set to the level “L” (timing T13 in FIG. 2).

従ってバッファ13とバッファ14の制御端子信号はそれ
それ“L"と“H"になる。バッファ13はハイインピーダン
スとなり、バッファ14はインバータ3の出力と同じレベ
ル信号を出力する。これはフリップフロップ20が“H"の
ときと比べ抵抗6が抵抗7にかわっただけであるから全
く同様の動作を第2図のタイミングT13〜T14の間で繰り
返すが抵抗7の抵抗値を抵抗6より大きく設定しておく
ことによりフリップフロップ20の出力がレベル“H"の時
間に対し“L"の時間を長くとるように予め設定してお
く。
Therefore, the control terminal signals of the buffers 13 and 14 become "L" and "H", respectively. The buffer 13 becomes high impedance, and the buffer 14 outputs the same level signal as the output of the inverter 3. This is because the same operation is repeated between the timings T13 and T14 in FIG. 2 except that the resistor 6 is replaced by the resistor 7 as compared with the case where the flip-flop 20 is "H". By setting it larger than 6, the output of the flip-flop 20 is set in advance so that the time of "L" is longer than the time of "H".

トランジスタ10はフリップフロップ20の出力が“H"の
期間(第2図のタイミングT11〜T13)導通しLED12にパ
ルス電流を流す。
The transistor 10 conducts while the output of the flip-flop 20 is “H” (timing T11 to T13 in FIG. 2), and causes a pulse current to flow to the LED 12.

このように、抵抗6,7,バッファ13,14およびフリップ
フロップ20が本発明の制御回路としてコンデンサ5に対
する2種の充放電時定数を交互に設定するのでインバー
タ2は第2図に示すような第1,第2の2種の周期のパル
スを交互に発生する。第1のパルスの立ち上がりから次
の第2のパルスの立ち上がりまでの時間は第1の充放電
時定数により規定される。また、上記第2のパルスの立
ち上がりから次の第1のパルスの立ち上がりまでの時間
は第2の充放電時定数により規定される。また、上記2
種の時間はたとえ比較用しきい値にバラツキがあっても
常にそれぞれ常に一定であることから、第1のパルスを
1/2分周することにより出力用のパルスの山部分が作成
され、第2のパルスを1/2分周することにより出力用パ
ルスの谷部分が作成される。このため、このように作成
された出力用パルスはパルス幅、周期共に常に一定とな
る。
In this way, the resistors 6 and 7, the buffers 13 and 14 and the flip-flop 20 alternately set two kinds of charge / discharge time constants for the capacitor 5 as the control circuit of the present invention. First and second two types of pulses are generated alternately. The time from the rise of the first pulse to the rise of the next second pulse is defined by the first charge / discharge time constant. The time from the rise of the second pulse to the rise of the next first pulse is defined by the second charge / discharge time constant. In addition, the above 2
Since the seed time is always constant, even if the comparison threshold value varies, the first pulse
The peak of the output pulse is created by dividing the frequency by half, and the trough of the output pulse is created by dividing the frequency of the second pulse by half. For this reason, the output pulse created in this manner is always constant in both pulse width and cycle.

本実施例の他に次の例が挙げられる。 The following examples are given in addition to this embodiment.

1)本実施例のインバータ1とインバータ2として構成
する直列回路は1ヶのシュミット回路で置きかえること
も可能である。
1) The series circuit configured as the inverter 1 and the inverter 2 in the present embodiment can be replaced by one Schmitt circuit.

2)本実施例のバッファ13,14についてはアナログスイ
ッチ回路で置きかえることが可能である。
2) The buffers 13 and 14 of this embodiment can be replaced by analog switch circuits.

〔発明の効果〕〔The invention's effect〕

以上、説明したように、本発明によれば、パルス発生
用のしきい値(電圧)にバラツキが生じても一定周期,
一定幅のパルスが発生されるので、パルス発生器を使用
する機器の動作精度を向上させることができるという効
果が得られる。
As described above, according to the present invention, even if the threshold (voltage) for pulse generation varies, a constant period,
Since a pulse having a constant width is generated, an effect is obtained that the operation accuracy of a device using the pulse generator can be improved.

【図面の簡単な説明】[Brief description of the drawings]

第1図は本発明実施例の回路構成を示す回路図、 第2図は第1図の回路における信号の波形を示す波形
図、 第3図は従来例の回路構成を示す回路図、 第4図は第3図の回路における信号の波形を示す波形図
である。 1〜3,15……インバータ、 5……コンデンサ、 14,15……(トライステート出力)バッファ、 20……フリップフロップ。
FIG. 1 is a circuit diagram showing a circuit configuration of an embodiment of the present invention, FIG. 2 is a waveform diagram showing signal waveforms in the circuit of FIG. 1, FIG. 3 is a circuit diagram showing a circuit configuration of a conventional example, FIG. The figure is a waveform diagram showing signal waveforms in the circuit of FIG. 1-3,15 ... Inverter, 5 ... Capacitor, 14,15 ... (tristate output) buffer, 20 ... Flip-flop.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】コンデンサの充放電により生じる電圧変化
をしきい値比較することによりパルスを発生するパルス
発生回路と、 前記パルス発生回路により発生されるパルスを1/2分周
することにより一定周期のパルスを発生する分周回路
と、 前記コンデンサにおける大きさの異なる2種の充放電時
定数を、前記分周回路の出力により前記パルス発生回路
からパルスが発生される毎に交互に切替設定する制御回
路と を具えたことを特徴とするパルス発生器。
1. A pulse generation circuit for generating a pulse by comparing a voltage change caused by charging and discharging of a capacitor with a threshold value, and a fixed period by dividing a pulse generated by the pulse generation circuit by 1/2. And a charging / discharging time constant having different sizes in the capacitor are alternately switched and set every time a pulse is generated from the pulse generating circuit by an output of the frequency dividing circuit. A pulse generator comprising: a control circuit;
JP2230626A 1990-09-03 1990-09-03 Pulse generator Expired - Fee Related JP3010708B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2230626A JP3010708B2 (en) 1990-09-03 1990-09-03 Pulse generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2230626A JP3010708B2 (en) 1990-09-03 1990-09-03 Pulse generator

Publications (2)

Publication Number Publication Date
JPH04117020A JPH04117020A (en) 1992-04-17
JP3010708B2 true JP3010708B2 (en) 2000-02-21

Family

ID=16910728

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2230626A Expired - Fee Related JP3010708B2 (en) 1990-09-03 1990-09-03 Pulse generator

Country Status (1)

Country Link
JP (1) JP3010708B2 (en)

Also Published As

Publication number Publication date
JPH04117020A (en) 1992-04-17

Similar Documents

Publication Publication Date Title
US4208595A (en) Substrate generator
US4785262A (en) Pulse generator producing pulses having a width free from a power voltage and a threshold voltage of an inverter used therein
US6388479B1 (en) Oscillator based power-on-reset circuit
JP3010708B2 (en) Pulse generator
US6891443B2 (en) Oscillator
KR0168079B1 (en) Clock generating apparatus
JP2500507B2 (en) Temperature detection circuit
US4262213A (en) Universal power module
JP3750288B2 (en) Semiconductor integrated device
JPH0854474A (en) Electrostatic capacitance type proximity sensor
KR100228284B1 (en) Discharge circuit using timing sequence
JPH0677781A (en) Oscillation circuit
JP3392278B2 (en) Oscillator
JPH09107273A (en) Pulse oscillator
KR100446276B1 (en) Pulse signal generator
JPH06350421A (en) Photodetector
KR19990076264A (en) Charge-Discharge Oscillator Using Constant Current and Its Oscillation Method
JP4343338B2 (en) Input buffer circuit
JPS6243367B2 (en)
JP2567112B2 (en) One-shot pulse generator
KR19990017143A (en) Oscillation circuit of the circuit for switching power supply control
JP2836235B2 (en) Clock generation control circuit
SU1248032A1 (en) Pulser
SU790123A1 (en) Single-shot multivibrator
KR930009425B1 (en) System initial reset circuit

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees