JPS62255874A - Checking system for analog output signal - Google Patents

Checking system for analog output signal

Info

Publication number
JPS62255874A
JPS62255874A JP9794386A JP9794386A JPS62255874A JP S62255874 A JPS62255874 A JP S62255874A JP 9794386 A JP9794386 A JP 9794386A JP 9794386 A JP9794386 A JP 9794386A JP S62255874 A JPS62255874 A JP S62255874A
Authority
JP
Japan
Prior art keywords
circuit
check
conversion circuit
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
JP9794386A
Other languages
Japanese (ja)
Inventor
Jinichi Sakurai
桜井 仁一
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 Ltd
Original Assignee
Hitachi 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 Ltd filed Critical Hitachi Ltd
Priority to JP9794386A priority Critical patent/JPS62255874A/en
Publication of JPS62255874A publication Critical patent/JPS62255874A/en
Pending legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

PURPOSE:To execute a check of an analog signal outputting circuit at high speed by providing a converting circuit having the same constitution as that of the analog signal outputting circuit, and comparing an output from the converting circuit with an output from the analog signal outputting circuit. CONSTITUTION:Parallel signals 23A, 23B,... from a microprocessor 20 are changed to pulse outputs 1A, 1B,... whose pulse width has been modulated by pulse width modulating circuits 21A, 21B,..., and in order to execute a check of voltage or current signals 5A, 5B,... by a pulse width/voltage or current converting circuit 22, the signal 23N is sent successively to the circuit 21N, and whether it is large or small is compared by comparators 6A, 6B,.... Its result is inputted to a processor 20 as outputs 7A, 7B,... of the comparators 6A, 6B,..., and by the magnitude relation of the signals 5A, 5B,... and a comparing signal 11, a check of an outputting circuit can be executed. Also, by setting a time constant of a filter 9 of a generating circuit of the signal 11 to a small value, the check can be executed at a high speed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、分散形プロセス制御装置のアナログ出力信号
回路のチェックを行うのに好適なチェック方式に関する
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a check method suitable for checking an analog output signal circuit of a distributed process control device.

〔従来の技術〕[Conventional technology]

従来のアナログ信号出力のチェックは、例えば特公昭5
8−159103号公報に示される如く、A/Dコンバ
ータによって行われている。すなわち、第4図に示す如
く出力はマルチプレクサ31、A/D変換器32を介し
てマイクロプロセッサに取り込れている。
The conventional analog signal output check is, for example,
As shown in Japanese Patent No. 8-159103, this is performed using an A/D converter. That is, as shown in FIG. 4, the output is taken into the microprocessor via a multiplexer 31 and an A/D converter 32.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、従来の方法にあっては1回路構成が複雑
で、しかもA/D変換器といった高価な回路素子を用い
るためコストが高いという欠点を有していた。
However, the conventional method has the disadvantage that the circuit configuration is complicated and the cost is high because it uses expensive circuit elements such as an A/D converter.

7 本発明の目的は、高価なA/D変換器などを用いず
に、アナログ信号出力回路とほぼ同一な回路とコンパレ
ータを用いて、簡単な、ローコストなアナログ信号出力
チェック方式を提供することにある。
7. An object of the present invention is to provide a simple and low-cost analog signal output checking method using a circuit and a comparator that are almost the same as an analog signal output circuit, without using an expensive A/D converter. be.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、通常、8チヤンネルなど、複数チャンネルの
出力を持つ、マイクロプロセッサを用いたコントローラ
のアナログ信号出力回路のチェックを行うのに、簡単に
、高速で行う必要があるが。
The present invention generally needs to be able to easily and quickly check the analog signal output circuit of a controller using a microprocessor, which has multiple output channels such as 8 channels.

チェックの精度はそれ程必要としないところに着目し、
比較信号の出力回路のくり返し周波数を上げ、フィルタ
の時定数を小さくし、高速チェックを可能とした。
Focusing on the fact that the accuracy of the check is not so necessary,
The repetition frequency of the comparison signal output circuit has been increased and the filter time constant has been reduced to enable high-speed checking.

〔実施例〕〔Example〕

以下、本発明の実施例について説明する。 Examples of the present invention will be described below.

本発明の実施例のブロック図を第1図に示す。A block diagram of an embodiment of the invention is shown in FIG.

第2図はパルス幅/電圧あるいは電流変かん回路22の
内部構成を示す。
FIG. 2 shows the internal configuration of the pulse width/voltage or current varying circuit 22.

マイクロプロセッサ20からのパラレル信号23A、2
3B、・・・はパルス幅変調回路21A。
Parallel signal 23A, 2 from microprocessor 20
3B, . . . are pulse width modulation circuits 21A.

21B、・・・により、パルス幅変調された、パルス出
力IA、IB・・・に変えられ、パルス幅/電圧あるい
は電流変がん回路22で電圧または電流信号5A、5B
・・・のチェックを行うために、パルス幅変調回路21
Nへ、順々に、出力信号23Nを送す、コンパレータ6
A、6B・・・によりその大小を比較する。結果はコン
パレータ6A、6B・・・の出カフA、7B・・・とじ
てマイクロプロセッサ20へ取込み、出力信号5A、5
Bと、比較信号11の大小関係により、出力回路のチェ
ックを行うことができる。
21B, . . . are changed into pulse width modulated pulse outputs IA, IB, .
In order to check..., the pulse width modulation circuit 21
Comparator 6, which sequentially sends output signal 23N to
Compare the size using A, 6B, and so on. The results are taken into the microprocessor 20 through the outputs A, 7B, etc. of the comparators 6A, 6B, and output signals 5A, 5.
The output circuit can be checked based on the magnitude relationship between B and the comparison signal 11.

第2図で、パルス出力LA、IB・・・はアンプ2A、
2B・・・により定波高値とされ、ローパスフィルタ3
A、3B・・・、バッファ4A、4B・・・により電圧
に変えられる。
In Figure 2, pulse outputs LA, IB... are amplifier 2A,
2B... makes it a constant wave high value, and low pass filter 3
A, 3B..., buffers 4A, 4B... are converted into voltages.

さて、アナログ出力信号のチェックはマイクロプロセッ
サがいろいろの仕事をしている間に行う必要があり、短
時間ですますことが望ましい、このため、比較信号11
の発生回路のフィルタ9の時定数を小さくして、信号1
1の整定時間を小さくしておけば、アナログ出力信号5
A、5B・・・に変えられる。
Now, it is necessary to check the analog output signal while the microprocessor is doing various work, and it is desirable to check it in a short time.For this reason, the comparison signal 11
By reducing the time constant of filter 9 of the generation circuit, signal 1
If the settling time of 1 is made small, the analog output signal 5
It can be changed to A, 5B...

ここで出力信号5A、5B・・・のチェックを短時間に
すますことができる。
Here, the output signals 5A, 5B, etc. can be checked in a short time.

第3図に、その様子を示す、アナログ2人の出力は波高
が一定におさえられており、ローパスフィルタを通った
あとは、第2図の5Aのように、脈動を含む出力信号に
かえられる。フィルタ時定数の小さい比較信号11は、
5Aより大きな脈動を含んでいるが、マイクロコンピュ
ータの出力データには1時定数がない分だけ速く広管す
ることになる。つまり、比較信号の整定時間が短くなり
、チェックのための時間を小きくすることができる。
Figure 3 shows this situation. The wave height of the two analog outputs is kept constant, and after passing through a low-pass filter, it is converted into an output signal that includes pulsations, as shown in 5A in Figure 2. . The comparison signal 11 with a small filter time constant is
Although it contains pulsations larger than 5A, the output data from the microcomputer does not have a 1 time constant, so the tube widens faster. In other words, the settling time of the comparison signal is shortened, and the time for checking can be shortened.

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

以上説明したように、本発明によれば、同じ構成ヲもっ
た出力回路とコンパレータのみを追加することにより、
出力のチェックをかんたんに、高速で行うことができる
As explained above, according to the present invention, by adding only the output circuit and comparator with the same configuration,
You can check output easily and quickly.

また、本発明によれば通常、ローパスフィルタの時定数
を小さくすると、入力パルスのくりかえし周波数を上げ
る必要があり、アンプの立上り特性などが問題となるが
、単にチェックのための精度はそれ程必要とされず、全
く同一部品を用いることができる。
Furthermore, according to the present invention, if the time constant of the low-pass filter is reduced, it is necessary to increase the repetition frequency of the input pulse, which causes problems such as the rise characteristics of the amplifier, but such accuracy is not required simply for checking. Exactly the same parts can be used.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図中の一部の構成図、第3図は出力信号の波形を示す図
、第4図は従来例の一つのブロック図である。 LA、IB・・・パルス幅変調信号、3A、3B・・・
ローパスフィルタ、2A、2B・・・アンプ、4A。 早 2 図 下
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
FIG. 3 is a diagram showing the waveform of an output signal, and FIG. 4 is a block diagram of one of the conventional examples. LA, IB...Pulse width modulation signal, 3A, 3B...
Low-pass filter, 2A, 2B...Amplifier, 4A. Early 2 Diagram bottom

Claims (1)

【特許請求の範囲】 1、波高値の一定はパルス幅変調された周期パルス列を
ローパスフィルタを介してアナログ電圧またアナログ電
流信号に変換する回路において、上記変換回路と同一構
成の変換回路を設け、該変換回路からの出力と上記変換
回路からの出力を比較して上記変換回路の診断をするこ
とを特徴とするアナログ出力信号チェック方式。 2、特許請求の範囲第1項記載のものにおいて、上記2
つの変換回路のローパスフィルタの内、後者の変換回路
のローパスフィルタの時定数を前者の変換回路のローパ
スフィルタの時定数よりも小さくしたことを特徴とする
アナログ出力信号チェック方式。
[Scope of Claims] 1. The constant peak value is achieved by providing a conversion circuit having the same configuration as the above conversion circuit in a circuit that converts a pulse width modulated periodic pulse train into an analog voltage or analog current signal via a low-pass filter, An analog output signal checking method characterized in that the output from the conversion circuit is compared with the output from the conversion circuit to diagnose the conversion circuit. 2. In the item described in claim 1, the above 2.
An analog output signal checking method characterized in that, among the low-pass filters of the two conversion circuits, the time constant of the low-pass filter of the latter conversion circuit is made smaller than the time constant of the low-pass filter of the former conversion circuit.
JP9794386A 1986-04-30 1986-04-30 Checking system for analog output signal Pending JPS62255874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9794386A JPS62255874A (en) 1986-04-30 1986-04-30 Checking system for analog output signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9794386A JPS62255874A (en) 1986-04-30 1986-04-30 Checking system for analog output signal

Publications (1)

Publication Number Publication Date
JPS62255874A true JPS62255874A (en) 1987-11-07

Family

ID=14205750

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9794386A Pending JPS62255874A (en) 1986-04-30 1986-04-30 Checking system for analog output signal

Country Status (1)

Country Link
JP (1) JPS62255874A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012112871A (en) * 2010-11-26 2012-06-14 Mitsubishi Electric Corp Pulse length measuring circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012112871A (en) * 2010-11-26 2012-06-14 Mitsubishi Electric Corp Pulse length measuring circuit

Similar Documents

Publication Publication Date Title
JPS62255874A (en) Checking system for analog output signal
US4584489A (en) Multichannel time-voltage converter
LU506220B1 (en) Fault detection system for a 10-bit 8-channel adc module
US4415860A (en) Sine wave to triangle wave convertor
JPS62130016A (en) Pulse width modulation control circuit
JPS6331100A (en) Sample holding circuit
JPS6315532A (en) D/a converter response test device
SU1182678A1 (en) Voltage-to-frequency converter
SU1515357A1 (en) Amplitude selector
JPH0441530B2 (en)
SU418973A1 (en)
SU686129A1 (en) Stabilized converter
GB2279193A (en) Pulse width modulators
SU1190503A2 (en) Device for generating pulses from sine signal
SU1631680A1 (en) One-channel device for control of pulse static converter
RU2057346C1 (en) Device measuring movement speed
JPH05308224A (en) Method for generating frequency modulation signal and frequency modulation signal generator
RU2138826C1 (en) Integral converter
JPS5962217A (en) Signal processing device
JPH0290727A (en) Drift compensation circuit for a/d converter
JPS6265140A (en) Card module
KR20000015458A (en) Analog/digital converter
JPH0349424A (en) A/d converter
JPS63292828A (en) A/d conversion system
JPS6336152A (en) Speed detecting device