JPH03293811A - High-precision programmable one shot circuit - Google Patents

High-precision programmable one shot circuit

Info

Publication number
JPH03293811A
JPH03293811A JP2095136A JP9513690A JPH03293811A JP H03293811 A JPH03293811 A JP H03293811A JP 2095136 A JP2095136 A JP 2095136A JP 9513690 A JP9513690 A JP 9513690A JP H03293811 A JPH03293811 A JP H03293811A
Authority
JP
Japan
Prior art keywords
semiconductor switch
capacitor
state
output
pulse width
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
JP2095136A
Other languages
Japanese (ja)
Inventor
Isao Sagara
相良 功
Takehiko Yoshino
吉野 武彦
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.)
Hitachi Information Systems Ltd
Original Assignee
Hitachi Information Systems 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 Hitachi Information Systems Ltd filed Critical Hitachi Information Systems Ltd
Priority to JP2095136A priority Critical patent/JPH03293811A/en
Publication of JPH03293811A publication Critical patent/JPH03293811A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily vary and set the pulse width of a trigger output pulse with a high precision by inverting a flip flop again at the time when the flip flop is set to the inverted state by the external trigger input and a capacitor is charged to reach a certain voltage. CONSTITUTION:When a flip flop 6 is set to the inverted state by the external trigger input, a capacitor 4 set to the discharging state by a second semiconductor switch 3 till then is set to the charging state. The capacitor 4 is charged like a ramp by the current from a programmable constant current source passing a first semiconductor switch 2; and when it is detected by a comparator 5 that the charging voltage reaches the certain voltage, the flip flop 6 is inverted again by the detection output, and the charged electric charge of the capacitor 4 is discharged through the second semiconductor switch 3 to prepare for the external trigger input. Thus, the trigger output pulse width is easily varied and set with a high precision.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、いわゆるワンショット回路に係オ)す、特に
そのトリガ出力パルス幅が任意に、しかも高精度に可変
設定可能とされた高精度プログラマブルワンショット回
路に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a so-called one-shot circuit, and in particular, a high-precision circuit whose trigger output pulse width can be set arbitrarily and highly precisely. It relates to programmable one-shot circuits.

[従来の技術] これまで、一般にワンショット回路(単安定マルチバイ
ブレータ)はその要部がIC化されており、したがって
、そのIC周辺には時定数回路を構成するコンデンサと
抵抗とが外付けされる必要があるものとなっている。こ
の時定数回路での時定数によって、トリガ出力パルス幅
が一義的に定められるようになっているわけである。
[Prior Art] Until now, the main parts of a one-shot circuit (monostable multivibrator) have generally been integrated into an IC, and therefore, a capacitor and a resistor that constitute a time constant circuit have been externally attached around the IC. It is now necessary to do so. The trigger output pulse width is uniquely determined by the time constant in this time constant circuit.

[発明が解決しようとする課題] しかしながら、これまでのワンショット回路ではそのト
リガ出力パルス幅の変更は容易でないものとなっている
。これは、時定数回路での回路定数が一般に固定化され
ているからである。したがって、そのパルス幅を変更可
能とするためには、外付けされているコンデンサ、抵抗
のうち、少なくとも何れか一方での回路定数を可変なも
のとして構成する必要があるものとなっている。トリガ
出力パルス幅が所望値となるべ(、その回路定数を可変
調整する必要があったわけである。しかしながら、その
トリガ出力パルス幅を所望値に設定調整する作業は煩わ
しいばかりか、そのパルス幅も高精度に設定され得ない
ものとなっている。
[Problems to be Solved by the Invention] However, in conventional one-shot circuits, it is not easy to change the trigger output pulse width. This is because the circuit constants in the time constant circuit are generally fixed. Therefore, in order to be able to change the pulse width, it is necessary to configure the circuit constant of at least one of the externally attached capacitor and resistor to be variable. In order for the trigger output pulse width to reach the desired value, it was necessary to variably adjust the circuit constants.However, setting and adjusting the trigger output pulse width to the desired value is not only troublesome, but also increases the It cannot be set with high precision.

本発明の目的は、トリガ出力パルス幅の可変設定が容易
とされ、しかもそのパルス幅が高精度に設定可能とされ
た高精度プログラマブルワンショット回路を供するにあ
る。
SUMMARY OF THE INVENTION An object of the present invention is to provide a highly accurate programmable one-shot circuit in which the trigger output pulse width can be easily varied and the pulse width can be set with high accuracy.

[課題を解決するための手段] 上記目的は、外部トリガ入力によってフリップフロップ
が反転状態におかれた場合には、第1の半導体スイッチ
を介し、プログラマブル定電流源からの定電流によって
それまで放電状態におかれていたコンデンサを充電せし
める一方、コンパレータでコンデンサでの充電電圧が一
定電圧に達したことが検出された場合には、その検出出
力をしてフリップフロップを再び反転せしめることで達
成される。
[Means for Solving the Problem] The above object is to prevent the flip-flop from being discharged by a constant current from a programmable constant current source through the first semiconductor switch when the flip-flop is placed in an inverted state by an external trigger input. This is achieved by charging the capacitor that was left in the state, and when the comparator detects that the charging voltage on the capacitor has reached a certain voltage, the detection output is used to invert the flip-flop again. Ru.

[作用] 初期状態におかれているフリップフロップが外部トリガ
入力によって反転状態におかれた場合は、それまでに第
2の半導体スイッチによって放電状態におかれていたコ
ンデンサは、初めて充電状態におかれるようになってい
るものである。コンデンサは第1の半導体スイッチを介
された、プログラマブル定電流源からの電流によってラ
ンプ状にに充電されるわけであるが、その充電電圧が一
定電圧に達したことがコンパレータで検出された場合に
は、コンパレータからの検出出力をしてフリップフロッ
プは再び反転されるとともに、コンデンサでの充電電荷
は第2の半導体スイッチによって放電されることで、再
び外部からのトリガ入力に備えるところとなるものであ
る。この場合、プログラマブル定電流源からの定電流は
高精度に制御されたものとされ、しがもコンパレータに
て一定電圧が比較用電圧として適当に設定されている場
合は、フリップフロップが外部トリガ入力にょって反転
された時点から、再びコンパレータによって反転される
までの時間はその定電流のみによって制御されることか
ら、可変に設定された定電流に応じたパルス幅をもった
トリガ出力パルスがフリップフロップより容易に得られ
るところとなるものである。
[Operation] When the flip-flop in the initial state is placed in the inverted state by an external trigger input, the capacitor that had been placed in the discharged state by the second semiconductor switch is placed in the charged state for the first time. It is designed to be used. The capacitor is charged in a ramp-like manner by the current from the programmable constant current source via the first semiconductor switch, and when the comparator detects that the charging voltage has reached a constant voltage, The flip-flop is inverted again by the detection output from the comparator, and the charge stored in the capacitor is discharged by the second semiconductor switch, so that it is again ready for external trigger input. be. In this case, the constant current from the programmable constant current source is assumed to be controlled with high precision, and if the constant voltage is appropriately set as the comparison voltage by the comparator, the flip-flop is used as an external trigger input. Since the time from when it is inverted by the switch to when it is inverted again by the comparator is controlled only by the constant current, the trigger output pulse with a pulse width that corresponds to the variably set constant current is generated by the flip-flop. This is something that can be obtained more easily than other types.

[実施例コ 以下、本発明を第1図から第4図により説明するが、そ
の前に本発明による高精度プログラマブルワンショット
回路のその動作原理について簡単ながら説明すれば、以
下のようである。
[Embodiment] The present invention will be explained below with reference to FIGS. 1 to 4, but before that, the operating principle of the high precision programmable one-shot circuit according to the present invention will be briefly explained as follows.

即ち、一般にコンデンサが充電される場合には、その容
量Cと、充電電圧(端子間電圧)■、電荷Qとの間には
Q=C−Vなる関係があり、また、電流i (t)と電
荷Qとの間にはf i (Udt= Qなる関係が成立
することは周知となっている。したがって、1(t)=
1(定数)とすれば、コンデンサが放電状態から時間T
とともに定電流Iで以て充電されるとすれば、その充電
電圧Vは時間TとともにV=I−T/Cとして変化する
ことは明かである。
That is, in general, when a capacitor is charged, there is a relationship between its capacitance C, charging voltage (voltage between terminals), and charge Q as follows: Q = C - V, and the current i (t) It is well known that the relationship f i (Udt=Q holds true between the charge Q and the charge Q. Therefore, 1(t)=
If it is 1 (constant), then the time T from the discharge state of the capacitor
If it is charged with a constant current I, it is clear that the charging voltage V changes with time T as V=IT/C.

よって、容量Cを一定とした場合に、充電電圧Vが一定
電圧(=VTM)に達するまでの時間Tは、T=C・V
T+4/Iから求められるというわけである。
Therefore, when the capacitance C is constant, the time T until the charging voltage V reaches a constant voltage (=VTM) is T=C・V
It can be found from T+4/I.

換言すれば、定電流Iに応じてその時間Tは一義的に定
まるというわけである。したがって、プログラマブル定
電流源(具体的にはR−2Rラダー抵抗を用いた電流出
力型D/Aコンバータを以て構成され得る)で定電流I
が外部からのプログラム設定によって可変に設定される
とすれば、その設定された定電流Iに応じたパルス幅で
、フリップフロップからはトリガ出力パルスが高精度に
得られるものである。
In other words, the time T is uniquely determined according to the constant current I. Therefore, a constant current I
If it is variably set by an external program setting, a trigger output pulse can be obtained from the flip-flop with high accuracy with a pulse width corresponding to the set constant current I.

さて、本発明による高精度プログラマブルワンショット
回路を具体的に説明すれば、第1図はその一例での概要
構成を、また、第2図は一例でのその要部入出力信号波
形を示したものである。第1図に示すように、高精度プ
ログラマブルワンショット回路は、コンデンサ4とこれ
に並列接続された放電用の半導体スイッチ3の周辺には
、外部トリガ入力によってセット状態におかれるD型工
ッジトリガフリップフロップ(以下、単にF/Fと称す
)6、セット状態におかれたF/F6によってオン状態
におかれる半導体スイッチ2、外部から定電流値が可変
としてプログラム設定可とされた電流出力型D/Aコン
バータ(プログラマブル定電流源)1、コンデンサ4で
の充電電圧■を一定電圧vTHと比較するコンパレータ
5が配されたものとなっている。
Now, to specifically explain the high-precision programmable one-shot circuit according to the present invention, FIG. 1 shows the general configuration of one example, and FIG. 2 shows the input/output signal waveforms of the main parts of one example. It is something. As shown in Fig. 1, the high-precision programmable one-shot circuit has a D-type device around the capacitor 4 and the discharge semiconductor switch 3 connected in parallel to the capacitor 4, which is set in the set state by an external trigger input. A trigger flip-flop (hereinafter simply referred to as F/F) 6, a semiconductor switch 2 that is turned on by the F/F 6 in the set state, and a current output whose constant current value can be programmed as variable from the outside. A type D/A converter (programmable constant current source) 1 and a comparator 5 for comparing the charging voltage (2) at the capacitor 4 with a constant voltage vTH are arranged.

ここで、その回路動作について第2図をも参照しつつ説
明すれば、初期状態においてはF/F6はリセット状態
にあり、したがって、半導体スイッチ2はオフ状態に、
また、半導体スイッチ3は適当な手段によって、それま
でに少なくとも一旦オン状態におかれたものとなってい
る。この状態では、コンデンサ4での電荷は完全に半導
体スイッチ3によって放電された状態となっているもの
である。また、電流出力型D/Aコンバータ1からはプ
ログラム設定に応じた定電流工が出力され得る状態とな
っている。
Here, the circuit operation will be explained with reference to FIG. 2. In the initial state, the F/F 6 is in the reset state, and therefore the semiconductor switch 2 is in the off state.
Furthermore, the semiconductor switch 3 has been turned on at least once by appropriate means. In this state, the charge in the capacitor 4 has been completely discharged by the semiconductor switch 3. Further, the current output type D/A converter 1 is in a state where it can output a constant current according to the program settings.

さて、そのような状態で、外部トリガ入力が出現すれば
、その立上り時点でF/F6はセット状態におかれるこ
とで、F/F出力(本例ではQ出力)Aは立上るように
なっている。これと同時に少なくとも半導体スイッチ3
はオフ状態におかれるようになっている。この結果、F
/F出力出力室上れば、半導体スイッチ2がオン状態に
おかれることで、電流出力型D/Aコンバータ1からの
定電流Iは半導体スイッチ2を介しコンデンサ4を充電
するところとなるものである。この充電によりコンデン
サ4での充電電圧Vは徐々に上昇することになるが、そ
の充電電圧Vは常時コンパレータ5で監視されるように
なっている。やがて、充電電圧Vが一定電圧v7Hに達
したことがコンパレータ5で検出されれば、その検出出
力をしてF/F6がリセットされることで、それまで立
上っていたF/F出力出力室下り、半導体スイッチ2は
オフ状態におかれるところとなるものである。即ち、F
/F出力A1あるいはF/F6の回出力がトリガ出力パ
ルスとして得られるものである。なお、半導体スイッチ
3は次の外部トリガ入力が入力されるまでに、コンデン
サ4での充電電荷を放電させるべく少なくとも一旦オン
状態におかれる必要があるものとなっている。
Now, in such a state, if an external trigger input appears, F/F6 will be placed in the set state at the time of its rise, and the F/F output (Q output in this example) will start to rise. ing. At the same time, at least the semiconductor switch 3
is set to be in the off state. As a result, F
/F output When the output chamber goes up, the semiconductor switch 2 is turned on, and the constant current I from the current output type D/A converter 1 charges the capacitor 4 via the semiconductor switch 2. be. Due to this charging, the charging voltage V at the capacitor 4 gradually increases, but the charging voltage V is constantly monitored by the comparator 5. Eventually, when the comparator 5 detects that the charging voltage V has reached the constant voltage v7H, it outputs that detection and resets the F/F 6, thereby reducing the F/F output that had been rising until then. When leaving the room, the semiconductor switch 2 is turned off. That is, F
/F output A1 or F/F6 output is obtained as a trigger output pulse. Note that the semiconductor switch 3 needs to be turned on at least once in order to discharge the charge stored in the capacitor 4 before the next external trigger input is input.

第3図はまた半導体スイッチ3に対するオン/オフ制御
が具体的に考慮された、本発明による高精度プログラマ
ブルワンショット回路を示したものである。図示のよう
に、半導体スイッチ3は半導体スイッチ2とは逆に動作
すべく、半導体スイッチ3にはF/F6のQ出力がイン
バータ7を介し与えられているが、F/F6の回出力が
直接与えられるようにしてもよいものである、このよう
にする場合は、半導体スイッチ3は外部制御入力(例え
ば外部トリガ入力のパルス幅がトリガ出力パルス幅より
も相当大きい場合は、その外部トリガ入力そのものを外
部制御入力として用い得る)を特に必要とすることなく
、内部で発生された信号で所定にオン/オフ制御され得
るものである。
FIG. 3 also shows a high-precision programmable one-shot circuit according to the present invention, in which on/off control of the semiconductor switch 3 is specifically taken into consideration. As shown in the figure, the semiconductor switch 3 operates in the opposite manner to the semiconductor switch 2, so the Q output of the F/F 6 is applied to the semiconductor switch 3 via the inverter 7, but the Q output of the F/F 6 is directly applied to the semiconductor switch 3. In this case, the semiconductor switch 3 may be configured to use an external control input (for example, if the pulse width of the external trigger input is considerably larger than the trigger output pulse width, the external trigger input itself (which can be used as an external control input) can be controlled on/off in a predetermined manner by an internally generated signal.

第4図はまたその際での要部入出力信号波形を示すが、
これについては明かであるので、特に説明は要しない。
Figure 4 also shows the main input/output signal waveforms at that time.
This is obvious and does not require any special explanation.

[発明の効果コ 以上説明したように、本発明によれば、トリガ出力パル
ス幅の可変設定が容易とされ、しかもそのパルス幅が高
精度に設定され得ることになる。
[Effects of the Invention] As explained above, according to the present invention, the trigger output pulse width can be easily set variable, and the pulse width can be set with high precision.

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

第1図は、本発明による高精度プログラマブルワンショ
ット回路の一例での概要構成を示す図、第2図は一例で
のその要部入出力信号波形を示す図、第3図は、より具
体的に構成された、本発明による高精度プログラマブル
ワンショット回路の一例での構成を示す図、第4図は、
−例でのその要部入出力信号波形を示す図である。
FIG. 1 is a diagram showing a general configuration of an example of a high-precision programmable one-shot circuit according to the present invention, FIG. 2 is a diagram showing main part input/output signal waveforms of an example, and FIG. 3 is a diagram showing a more specific example. FIG. 4 is a diagram showing an example of the configuration of a high-precision programmable one-shot circuit according to the present invention configured as follows.
- is a diagram showing the main part input/output signal waveforms in an example.

Claims (1)

【特許請求の範囲】[Claims] 1、電流値が可変設定可とされたプログラマブル定電流
源と、外部トリガ入力によって反転状態におかれるフリ
ップフロップと、該フリップフロップの外部トリガ入力
による反転状態出力によってオン状態におかれ、上記プ
ログラマブル定電流源からの電流をオン、オフ制御する
第1の半導体スイッチと、該第1の半導体スイッチとは
逆の状態におかれる第2の半導体スイッチと、該第2の
半導体スイッチに並列接続され、上記第1の半導体スイ
ッチからの電流によって充電されるコンデンサと、該コ
ンデンサでの充電電圧が一定電圧に達した時点で出力を
発し、該出力によって上記フリップフロップを反転せし
めるコンパレータとからなる構成の高精度プログラマブ
ルワンショット回路。
1. A programmable constant current source whose current value can be set variably, a flip-flop that is put into an inverted state by an external trigger input, and a flip-flop that is turned on by an inverted state output by the external trigger input, A first semiconductor switch that controls on and off the current from a constant current source, a second semiconductor switch that is placed in a state opposite to that of the first semiconductor switch, and a second semiconductor switch that is connected in parallel to the second semiconductor switch. , consisting of a capacitor charged by the current from the first semiconductor switch, and a comparator that outputs an output when the charging voltage of the capacitor reaches a certain voltage and inverts the flip-flop by the output. High precision programmable one-shot circuit.
JP2095136A 1990-04-12 1990-04-12 High-precision programmable one shot circuit Pending JPH03293811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2095136A JPH03293811A (en) 1990-04-12 1990-04-12 High-precision programmable one shot circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2095136A JPH03293811A (en) 1990-04-12 1990-04-12 High-precision programmable one shot circuit

Publications (1)

Publication Number Publication Date
JPH03293811A true JPH03293811A (en) 1991-12-25

Family

ID=14129401

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2095136A Pending JPH03293811A (en) 1990-04-12 1990-04-12 High-precision programmable one shot circuit

Country Status (1)

Country Link
JP (1) JPH03293811A (en)

Similar Documents

Publication Publication Date Title
CN111108684A (en) Oscillation circuit, chip, and electronic device
JPS62149215A (en) Time constant circuit
US4607238A (en) Monolithic integrated RC-oscillator
US3453453A (en) One-shot circuit with short retrigger time
JPH03293811A (en) High-precision programmable one shot circuit
JPH0428171B2 (en)
KR20050004003A (en) Method and apparatus for determination of ratio between time constant in integrated circuit and desired value
US3204153A (en) Relaxation divider
US5475654A (en) Intermittent operation circuit
JPS6022850B2 (en) timer device
US3660692A (en) Electronic interval timer
KR20160025520A (en) Delay circuit, oscillation circuit, and semiconductor device
KR0153866B1 (en) A timer
TWI801623B (en) Voltage detection circuit, semiconductor device, and method for manufacturing semiconductor device
JPH04267490A (en) Programmable one-shot circuit and re-trigger programmable one-shot circuit
CN108649900B (en) Oscillator link delay correction circuit
US4642609A (en) Integration type analog-to-digital converter having continuously charging and discharging functions
JPS625664Y2 (en)
JPH01151818A (en) Synchronizing signal generating circuit
JPH0241954Y2 (en)
JPH0642767B2 (en) System reset circuit
JPS602675Y2 (en) discharge timer device
JPS61195022A (en) Delay switch
SU1190426A1 (en) Time delay
JPH02162821A (en) Chattering elimination circuit