JPS6156810B2 - - Google Patents
Info
- Publication number
- JPS6156810B2 JPS6156810B2 JP56207602A JP20760281A JPS6156810B2 JP S6156810 B2 JPS6156810 B2 JP S6156810B2 JP 56207602 A JP56207602 A JP 56207602A JP 20760281 A JP20760281 A JP 20760281A JP S6156810 B2 JPS6156810 B2 JP S6156810B2
- Authority
- JP
- Japan
- Prior art keywords
- output
- processing unit
- central processing
- circuit
- resistor
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/05—Digital input using the sampling of an analogue quantity at regular intervals of time, input from a/d converter or output to d/a converter
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
Description
【発明の詳細な説明】
(1) 発明の技術分野
この発明は、時系列的な複数のデータ信号をサ
ンプルホールドして出力するアナログ出力回路に
関するものである。DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention relates to an analog output circuit that samples and holds a plurality of time-series data signals and outputs the sample-and-hold data signals.
(2) 従来技術
中央処理装置よりの時系列的な複数のデータ信
号を切換えてサンプルホールドして出力する場
合、中央処理装置が故障等で誤動作を起こすと、
正しいサンプルホールド信号が得られない不都合
がある。(2) Prior art When switching, sample-holding, and outputting multiple time-series data signals from a central processing unit, if the central processing unit malfunctions due to a failure, etc.
There is an inconvenience that a correct sample and hold signal cannot be obtained.
(3) 発明の目的
この発明の目的は、以上の点に鑑み、中央処理
装置の誤動作を検知するようにしたアナログ出力
回路を提供することである。(3) Purpose of the Invention In view of the above points, the purpose of the present invention is to provide an analog output circuit that detects malfunctions of a central processing unit.
(4) 発明の実施例
第1図は、この発明の一実施例を示す構成説明
図である。(4) Embodiment of the Invention FIG. 1 is a configuration explanatory diagram showing an embodiment of the invention.
図において、1は、時系列的な複数のデータ信
号、箇所(チヤンネル)選択信号、およびこれら
の信号を送出するためのクロツク信号を発生する
マイクロプロセツサのような中央処理装置、21
は中央処理装置1のデータ信号を一時保持しクロ
ツク信号により出力する第1のレジスタ、3は第
1のレジスタ21の出力をアナログ信号に変換す
るD−A変換器、4はD−A変換器3のアナログ
出力を順次切換選択して取り出す例えばFETの
ような半導体のアナログのスイツチ41,42,
……よりなる切換回路、51,52,……は切換
回路4の各スイツチ41,42……により取出さ
れた出力をサンプルホールドする抵抗r1,r2,…
…、コンデンサC1,C2,……よりなる時定数回
路および増幅器A1,A2……を含むサンプルホー
ルド回路、61,62,……はサンプルホールド
回路51,52,……の出力を取り出す出力端子
である。 In the figure, reference numeral 1 denotes a central processing unit such as a microprocessor that generates a plurality of time-series data signals, a location (channel) selection signal, and a clock signal for transmitting these signals;
1 is a first register that temporarily holds the data signal of the central processing unit 1 and outputs it in response to a clock signal; 3 is a DA converter that converts the output of the first register 21 into an analog signal; 4 is a DA converter For example, semiconductor analog switches 41, 42, such as FETs, sequentially select and take out the analog outputs of 3.
The switching circuit 51, 52, . . . consists of resistors r 1 , r 2 , . . . which sample and hold the outputs taken out by the switches 41, 42 .
..., a time constant circuit consisting of capacitors C 1 , C 2 , ... and a sample-and-hold circuit including amplifiers A 1 , A 2 ..., 61, 62, ... output from the sample-and-hold circuits 51, 52, ... This is the output terminal to take out.
また、22は、中央処理装置1の箇所選択信号
を一時保持しクロツク信号により出力する第2の
レジスタ、7は複数のオア回路よりなり切換回路
4のいずれかのスイツチ41,42,……を駆動
するゲート回路、8は中央処理装置1のクロツク
信号の有無を検出し、クロツク信号が来なくなつ
たとき第1のレジスタ21の内容をリセツトする
とともにゲート回路7の全箇所をハイレベルとす
る検知回路である。なお検知回路8は、例えば、
クロツク信号を反転するインバータI、このイン
バータIの出力が抵抗R3を介してベースBに供
給されるトランジスタTr等のスイツチ手段、ト
ランジスタTrのコレクタCと電源Vcc間に抵抗
R1、コレクタC、エミツタE間に抵抗R2、コン
デンサC′が直列接続され、コンデンサC′の出力
が第1のレジスタ21、ゲート回路7に供給され
るよう構成されている。なお、R1≫R2とされて
コンデンサC′の充電は遅く、放電は速いものと
されている。 Further, 22 is a second register that temporarily holds the location selection signal of the central processing unit 1 and outputs it in response to a clock signal. A driving gate circuit 8 detects the presence or absence of a clock signal from the central processing unit 1, and when the clock signal no longer comes, it resets the contents of the first register 21 and sets all parts of the gate circuit 7 to a high level. This is a detection circuit. Note that the detection circuit 8 is, for example,
An inverter I inverts the clock signal, a switching means such as a transistor Tr whose output is supplied to the base B via a resistor R3 , and a resistor between the collector C of the transistor Tr and the power supply Vcc.
A resistor R 2 and a capacitor C' are connected in series between R 1 , the collector C, and the emitter E, and the output of the capacitor C' is supplied to the first register 21 and the gate circuit 7. It is assumed that R 1 ≫ R 2 and that the charging of the capacitor C′ is slow and the discharging is fast.
次に動作を説明する。 Next, the operation will be explained.
中央処理装置1は、所定の周期で各チヤンネル
に対応したデータ信号および箇所選択信号を発生
し、クロツク信号によりデータ信号は第1のレジ
スタ21、D−A変換器3を介して切換回路4に
供給される。このデータ信号がどの箇所から出力
するかを決める箇所選択信号も第2のレジスタ2
2、ゲート回路7を経て切換回路4の各スイツチ
41,42,……を順次所定の時間ずつオンとな
るよう働き、各サンプルホールド回路51,5
2,……にD−A変換器3の出力信号が取り込ま
れ、出力端子61,62,……より出力される。
そして、こうした動作は順次くり返えされ、チヤ
ンネル毎に連続的なアナログ出力が得られること
になる。 The central processing unit 1 generates a data signal and a location selection signal corresponding to each channel at a predetermined period, and the data signal is sent to the switching circuit 4 via the first register 21 and the DA converter 3 according to the clock signal. Supplied. The location selection signal that determines from which location this data signal is output is also stored in the second register 2.
2. Through the gate circuit 7, each switch 41, 42, .
The output signal of the DA converter 3 is taken in by the terminals 2, . . . and outputted from the output terminals 61, 62, .
These operations are then repeated in sequence to obtain continuous analog output for each channel.
他方、検知回路8は、第2図a前半のクロツク
信号が中央処理装置1より来る毎にトランジスタ
TrはオンしてコンデンサC′に充電された電荷を
放電し、次のクロツク信号が来るまで充電を続け
る。再び次のクロツク信号によりコンデンサ
C′の電荷は放電される(第2図b参照)。このよ
うに中央処理装置1が正常に動作しており、クロ
ツク信号が所定の周期で到来しているとコンデン
サC′の電荷はいつも低レベルとされている。 On the other hand, the detection circuit 8 switches the transistor every time the clock signal in the first half of FIG. 2a comes from the central processing unit 1.
The Tr turns on, discharges the charge stored in the capacitor C', and continues charging until the next clock signal arrives. The capacitor is turned on again by the next clock signal.
The charge on C' is discharged (see Figure 2b). As described above, when the central processing unit 1 is operating normally and the clock signal arrives at a predetermined period, the charge on the capacitor C' is always at a low level.
ところで、中央処理装置1が故障等で異常状態
となると第2図aの後半のようにクロツク信号は
検知回路8に来なくなる。するとコンデンサ
C′に充電された電荷は放電されることがなく、
第2図bの後半のように、ついには所定のレベル
Ecを越えてしまう。このため、このレベルEc以
上の出力により、はじめて第1のレジスタ21は
リセツトされてゼロ出力をD−A変換器3に供給
し、又、このレベルEc以上の出力はゲート回路
7のすべてのオア回路に供給され全箇所のゲート
がハイレベルとされる。従つて、切換回路4の全
スイツチ41,42,……にはゼロ出力が供給さ
れ、しかも全スイツチ41,42,……がオンと
され、全サンプルホールド回路51,52,……
の内容は0となり、ゼロ出力が出力端子61,6
2,……より取り出されることになる。 By the way, if the central processing unit 1 is in an abnormal state due to a failure or the like, the clock signal does not come to the detection circuit 8 as shown in the latter half of FIG. 2a. Then the capacitor
The charge charged to C′ is never discharged,
As shown in the second half of Figure 2b, the level finally reaches a predetermined level.
It exceeds Ec. Therefore, the first register 21 is reset and supplies zero output to the D-A converter 3 for the first time by an output higher than this level Ec, and an output higher than this level Ec causes all the gate circuits 7 to It is supplied to the circuit and all gates are set to high level. Therefore, zero output is supplied to all the switches 41, 42, . . . of the switching circuit 4, all the switches 41, 42, .
The content of becomes 0, and zero output is output terminal 61, 6.
2. It will be taken out from...
なお、第2図bは第2図aに対して拡大された
図となつている。 Note that FIG. 2b is an enlarged view of FIG. 2a.
(5) 発明の要約
以上述べたように、この発明は、クロツク信号
の有無を検知回路で検出し、データ信号用のレジ
スタをリセツトするとともに箇所選択信号用のゲ
ート回路の全箇所をハイレベルとし、中央処理装
置の異常に対応したアナログ出力回路である。(5) Summary of the Invention As described above, the present invention detects the presence or absence of a clock signal using a detection circuit, resets a register for a data signal, and sets all parts of a gate circuit for a part selection signal to a high level. , an analog output circuit that responds to abnormalities in the central processing unit.
(6) 発明の効果
従つて、きわめて簡単な構成にて、中央処理装
置の異常を検知することができ、全アナログ出力
をゼロとすることができる。またトランジスタ、
コンデンサ、抵抗よりなる検知回路を用いている
ので、回路は安価で、バルスが何クロツク来ない
とき出力を発生するかの遅延時間を容易に設定で
きる等の実用的効果がある。(6) Effects of the invention Therefore, an abnormality in the central processing unit can be detected with an extremely simple configuration, and all analog outputs can be set to zero. Also transistor,
Since a detection circuit consisting of a capacitor and a resistor is used, the circuit is inexpensive and has practical effects such as being able to easily set the delay time for generating an output when a pulse does not arrive.
第1図は、この発明の一実施例を示す構成説明
図、第2図は動作説明用波形図である。
1……中央処理装置、21,22……レジス
タ、3……D−A変換器、4……切換回路、4
1,42……スイツチ、51,52……サンプル
ホールド回路、7……ゲート回路、8……検知回
路。
FIG. 1 is a configuration explanatory diagram showing an embodiment of the present invention, and FIG. 2 is a waveform diagram for explaining operation. 1...Central processing unit, 21, 22...Register, 3...D-A converter, 4...Switching circuit, 4
1, 42...Switch, 51, 52...Sample hold circuit, 7...Gate circuit, 8...Detection circuit.
Claims (1)
れらの信号を送出するためのクロツク信号を発生
する中央処理装置と、この中央処理装置のデータ
信号を一時保持するレジスタと、このレジスタの
出力をアナログ信号に変換するD−A変換器と、
このD−A変換器の出力を切換える複数のスイツ
チよりなる切換回路と、この切換回路の出力をサ
ンプルホールドする複数のサンプルホールド回路
と、前記中央処理装置の箇所選択信号が供給され
前記切換回路のいずれかのスイツチを駆動するゲ
ート回路と、前記中央処理装置のクロツク信号が
来なくなつたときに出力信号を発生して前記レジ
スタをリセツトするとともにゲート回路の全箇所
をハイレベルとして切換回路の全スイツチをオン
とし全出力端子よりゼロ出力を取り出すよう働く
検知回路とを備え、前記検知回路は、中央処理装
置からのクロツクがそのベースに供給されるトラ
ンジスタと、このトランジスタのコレクタと電源
との間に接続された第1の抵抗と、トランジスタ
のエミツタおよびコレクタ間に直列接続された第
2の抵抗およびコンデンサとよりなり、このコン
デンサより出力が取り出されるとともに第2の抵
抗の抵抗値を第1の抵抗の抵抗値よりも小とした
回路を用いたことを特徴とするアナログ出力回
路。1 A central processing unit that generates a plurality of data signals, a location selection signal, and a clock signal for sending these signals, a register that temporarily holds the data signals of this central processing unit, and an analog signal for the output of this register. a D-A converter for converting into
A switching circuit consisting of a plurality of switches that switches the output of this D-A converter, a plurality of sample and hold circuits that sample and hold the output of this switching circuit, and a point selection signal of the central processing unit is supplied to the switching circuit. A gate circuit drives one of the switches, and when the central processing unit's clock signal stops coming, it generates an output signal to reset the register and sets all parts of the gate circuit to high level. A detection circuit operates to turn on a switch and extract zero output from all output terminals, and the detection circuit is connected between a transistor whose base is supplied with a clock from a central processing unit, and the collector of this transistor and a power supply. It consists of a first resistor connected to the transistor, a second resistor and a capacitor connected in series between the emitter and collector of the transistor, and the output is taken out from this capacitor, and the resistance value of the second resistor is set to the first resistor. An analog output circuit characterized by using a circuit whose resistance value is smaller than that of a resistor.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56207602A JPS58107949A (en) | 1981-12-21 | 1981-12-21 | Analog output circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56207602A JPS58107949A (en) | 1981-12-21 | 1981-12-21 | Analog output circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58107949A JPS58107949A (en) | 1983-06-27 |
| JPS6156810B2 true JPS6156810B2 (en) | 1986-12-04 |
Family
ID=16542489
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56207602A Granted JPS58107949A (en) | 1981-12-21 | 1981-12-21 | Analog output circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58107949A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61138047U (en) * | 1985-02-13 | 1986-08-27 |
-
1981
- 1981-12-21 JP JP56207602A patent/JPS58107949A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58107949A (en) | 1983-06-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6150329B2 (en) | ||
| JPS6156810B2 (en) | ||
| WO1997029546A1 (en) | Reference voltage circuit | |
| JP2693198B2 (en) | Switch status detector on transmission line | |
| JP2994689B2 (en) | Peak detector | |
| JP2000338159A (en) | Analog input device and disconnection detection method thereof | |
| JPS6029976B2 (en) | analog output circuit | |
| JPS5929401Y2 (en) | Multipoint analog input device | |
| SU1008900A1 (en) | Code-to-analogue converter | |
| SU1651321A1 (en) | Analog storage device | |
| SU1221077A1 (en) | Device for checking busy condition of storehouse rack cells | |
| SU1672437A1 (en) | Voltages level converter | |
| JP2692135B2 (en) | Load control device | |
| JPS5913448A (en) | Pulse shaping circuit of transmission line | |
| SU510783A1 (en) | Multi-channel information converter | |
| KR900009187Y1 (en) | Logic signal discrimination circuit | |
| SU1170445A1 (en) | Information input device | |
| JPS62247726A (en) | Transient voltage discharge circuit | |
| JPS6218992Y2 (en) | ||
| SU1403375A1 (en) | Pulsewidth converter of analog signals | |
| JPS6237409B2 (en) | ||
| JPH049011B2 (en) | ||
| JPS5948599B2 (en) | Return signal detection circuit for multiplex transmission equipment | |
| JPH06347570A (en) | Time/voltage converting and track holding circuit | |
| JPS6132848B2 (en) |