JPS638487B2 - - Google Patents

Info

Publication number
JPS638487B2
JPS638487B2 JP57102688A JP10268882A JPS638487B2 JP S638487 B2 JPS638487 B2 JP S638487B2 JP 57102688 A JP57102688 A JP 57102688A JP 10268882 A JP10268882 A JP 10268882A JP S638487 B2 JPS638487 B2 JP S638487B2
Authority
JP
Japan
Prior art keywords
section
signal
analog
input
control signal
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
Application number
JP57102688A
Other languages
Japanese (ja)
Other versions
JPS58219638A (en
Inventor
Itsuo Motomura
Haruo Matsumoto
Kenji Oonishi
Kyoji Onizuka
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.)
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Electric Manufacturing 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 Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Electric Manufacturing Co Ltd
Priority to JP57102688A priority Critical patent/JPS58219638A/en
Publication of JPS58219638A publication Critical patent/JPS58219638A/en
Publication of JPS638487B2 publication Critical patent/JPS638487B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/05Digital 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)
  • Analogue/Digital Conversion (AREA)
  • Electronic Switches (AREA)
  • Logic Circuits (AREA)

Description

【発明の詳細な説明】 この発明はアナログ信号をコンピユータで処理
するために使用されるインターフエイス装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION This invention relates to an interface device used for processing analog signals in a computer.

この種インターフエイス装置の従来例は第1図
に示すように構成されていた。第1図において、
1はアナログ信号A1〜Aoが入力されるアナログ
信号入力部で、この入力部1に入力されたアナロ
グ信号はアナログマルチプレクサ2に入力され
る。このマルチプレクサ2は第1バスインターフ
エイス部5からの制御信号で制御され、入力され
るアナログ信号から所定の信号を選択してサンプ
ルホールド部3に入力される。サンプルホールド
部3にも第1バスインターフエイス部5から制御
信号が入力され、この制御信号によつてサンプル
ホールド部3からアナログ・デジタル(以下A/
Dと称す)コンバータ部4にアナログ信号が入力
される。A/Dコンバータ部4も第1バスインタ
ーフエイス部5から制御信号が与えられ、コンバ
ータ部4の出力にはデジタル信号が送出される。
このデジタル信号は第2バスインタフエイス部6
を介して図示しない例えばコンピユータに入力さ
れる。なお、第1バスインターフエイス部5は図
示しない例えばコンピユータに接続される。
A conventional example of this type of interface device was constructed as shown in FIG. In Figure 1,
Reference numeral 1 denotes an analog signal input section into which analog signals A 1 to A o are input, and the analog signal input to this input section 1 is input to an analog multiplexer 2 . This multiplexer 2 is controlled by a control signal from the first bus interface section 5, selects a predetermined signal from the input analog signals, and inputs it to the sample hold section 3. A control signal is also input from the first bus interface section 5 to the sample hold section 3, and this control signal causes the analog/digital (hereinafter referred to as A/
An analog signal is input to the converter section 4 (referred to as D). The A/D converter section 4 is also given a control signal from the first bus interface section 5, and a digital signal is sent to the output of the converter section 4.
This digital signal is sent to the second bus interface section 6.
The information is input to, for example, a computer (not shown) via the computer. Note that the first bus interface unit 5 is connected to, for example, a computer (not shown).

上述のような第1、第2バスインターフエイス
部5,6のうち特に、第1バスインターフエイス
部5は前記マルチプレクサ2、サンプルホールド
部3及びA/Dコンバータ部4に与える制御信号
を得るのにコンピユータ等のプログラムを用いる
必要がある。このため、コンピユータ等のプログ
ラムが煩雑になる欠点がある。また、制御信号で
前述の各部2〜4を制御する際、各部2〜4にお
いてアナログ信号が落ちつくまで待つ時間管理を
コンピユータで行なう必要があるため、コンピユ
ータのプログラム手法が高度になる欠点がある。
さらに、第1図に示すようなインターフエイス装
置は普通1枚のプリント板に形成されるが、この
装置の試験を1枚のプリント板だけで行なうには
困難があつた。
Of the first and second bus interface sections 5 and 6 as described above, the first bus interface section 5 in particular obtains control signals to be applied to the multiplexer 2, sample and hold section 3, and A/D converter section 4. It is necessary to use a program such as a computer. For this reason, there is a drawback that the programs for computers and the like become complicated. Further, when controlling each of the above-mentioned sections 2 to 4 with a control signal, it is necessary to use a computer to manage the time for waiting until the analog signal in each section 2 to 4 settles down, so there is a drawback that the computer's programming method becomes sophisticated.
Further, although an interface device such as that shown in FIG. 1 is normally formed on a single printed board, it is difficult to test this device using only one printed board.

この発明は上記の欠点を除去し、プログラムの
簡素化を図るようにするとともに試験調整が容易
にできるようにしたインターフエイス装置を提供
することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide an interface device that eliminates the above-mentioned drawbacks, simplifies programming, and facilitates testing and adjustment.

以下図面を参照してこの発明の一実施例を説明
するに、第1図と同一部分は同一符号を付して示
す。
An embodiment of the present invention will be described below with reference to the drawings, in which the same parts as in FIG. 1 are denoted by the same reference numerals.

第2図において、11は詳細を後述する第1イ
ンターフエイス部5からの制御信号が入力される
第1ホトカプラ部で、この第1ホトカプラ部11
で前記制御信号を電気的に絶縁してそれぞれアナ
ログマルチプレクサ2とサンプルホールド部3に
供給する。なおA/Dコンバータ部4に供給され
る制御信号は第1ホトカプラ部11から波形修正
部12を介して与えられる。A/Dコンバータ部
4は波形修正部12の出力が供給されると出力に
デジタル信号を送出するが、この信号は第2ホト
カプラ部13により電気的に絶縁されて第2イン
ターフエイス部6に入力される。第2インターフ
エイス部6に入力されたデジタル信号は図示しな
いコンピユータ等に供給されて処理される。前記
デジタル信号が第2インターフエイス部6から送
出されるとき、発光ダイオードによる出力表示部
14が発光してデジタル信号が送出されているこ
とが識別できる。15はフリツプフロツプで、こ
のフリツプフロツプ15には第1ホトカプラ部1
1から送出されるA/Dコンバータ部4のスター
ト信号と、そのコンバータ部4から出力される制
御終了信号とが供給される。フリツプフロツプ1
5は制御終了信号を受けると、その出力を第2ホ
トカプラ部13を介して第1インターフエイス部
5に入力する。なお、第1インターフエイス部5
から送出されるデータラツチ信号DL、レーデイ
信号RY及びチヤンネル選択信号CHは第2イン
ターフエイス部6に供給される。
In FIG. 2, reference numeral 11 denotes a first photocoupler section into which a control signal from a first interface section 5, the details of which will be described later, is input;
The control signals are electrically insulated and supplied to the analog multiplexer 2 and sample hold section 3, respectively. Note that the control signal supplied to the A/D converter section 4 is given from the first photocoupler section 11 via the waveform modification section 12. When the A/D converter unit 4 is supplied with the output of the waveform correction unit 12, it outputs a digital signal, but this signal is electrically isolated by the second photocoupler unit 13 and input to the second interface unit 6. be done. The digital signal input to the second interface section 6 is supplied to a computer (not shown) and processed. When the digital signal is sent out from the second interface section 6, the output display section 14, which is a light emitting diode, emits light to identify that the digital signal is being sent out. 15 is a flip-flop, and this flip-flop 15 has a first photocoupler section 1.
A start signal for the A/D converter section 4 sent from the converter section 1 and a control end signal output from the converter section 4 are supplied. flipflop 1
5 receives the control end signal and inputs its output to the first interface section 5 via the second photocoupler section 13. Note that the first interface section 5
The data latch signal DL, ready signal RY, and channel selection signal CH sent from the second interface section 6 are supplied to the second interface section 6.

ここで第1インターフエイス回路5の具体的な
構成を第3図により述べる。第3図において、3
1は読み込データ入力部で、この入力部31には
図示しないコンピユータ等から上位及び下位デー
タUDR及びLDRが入力される。入力部31に供
給されたデータはフリツプフロツプから形成され
る制御信号発生部32に入力され、その出力に
A/Dコンバータ部4のスタート信号STとサン
プルホールド部3へ供給されるサンプルホールド
信号SHが送出される。33はクロツク信号発生
部で、このクロツク信号発生部33の出力は前記
データ入力部31に供給される。このクロツク信
号は試験時のみスイツチ33aをオンにすること
により送出される。34はイニシヤライズ信号及
び外部リセツト信号入力部で、この入力部34の
出力は前記制御信号発生部32に供給される。3
5はA/Dコンバータ部4の信号処理が終了した
ことを報知する終了信号END入力部で、この入
力部35に入力される信号は第2ホトカプラ部1
3から供給される。この終了信号入力部35の出
力は制御信号発生部32に供給されるとともに1
部はデータラツチ信号DLとして第2インターフ
エイス部6に供給される。36はチヤンネル更新
部で、この更新部36はアナログ信号入力チヤン
ネル数に応じて設定可能なDIP型スイツチ36a
と、このスイツチ36aの出力が供給されるコン
パレータ36bと、サンプルホールド信号SHが
入力されるフリツプフロツプ36cとからなり、
フリツプフロツプ36cの出力がコンパレータ3
6bに供給され、その出力が前記スイツチ36a
で設定された値と一致するとチヤンネル数がリセ
ツトされる。
Here, the specific configuration of the first interface circuit 5 will be described with reference to FIG. In Figure 3, 3
Reference numeral 1 denotes a read data input section, and upper and lower data UDR and LDR are input to this input section 31 from a computer or the like (not shown). The data supplied to the input section 31 is input to a control signal generation section 32 formed from a flip-flop, and the start signal ST of the A/D converter section 4 and the sample hold signal SH supplied to the sample and hold section 3 are outputted from the control signal generation section 32. Sent out. 33 is a clock signal generating section, and the output of this clock signal generating section 33 is supplied to the data input section 31. This clock signal is sent out by turning on switch 33a only during testing. Reference numeral 34 denotes an initialization signal and external reset signal input section, and the output of this input section 34 is supplied to the control signal generation section 32. 3
Reference numeral 5 denotes an end signal END input section that notifies that the signal processing of the A/D converter section 4 has ended, and the signal input to this input section 35 is input to the second photocoupler section 1.
Supplied from 3. The output of this termination signal input section 35 is supplied to the control signal generation section 32 and
is supplied to the second interface section 6 as a data latch signal DL. 36 is a channel update section, and this update section 36 is a DIP type switch 36a that can be set according to the number of analog signal input channels.
, a comparator 36b to which the output of this switch 36a is supplied, and a flip-flop 36c to which a sample and hold signal SH is input.
The output of the flip-flop 36c is the comparator 3.
6b, and its output is supplied to the switch 36a.
If it matches the value set in , the number of channels will be reset.

第4図は第2インターフエイス部6の具体的な
構成図で、この第2インターフエイス部6はフリ
ツプフロツプから形成されている。
FIG. 4 is a detailed diagram of the second interface section 6, which is formed from a flip-flop.

次に上記実施例の動作を述べる。アナログ信号
入力部1に入力されたアナログ信号はアナログマ
ルチプレクサ2に供給される。このマルチプレク
サ2には第1インターフエイス部5のチヤンネル
更新部36で設定されたチヤンネル数の制御信号
であるチヤンネル番号CHo〜CHnが供給される。
このチヤンネル番号CHo〜CHnに従つて、マル
チプレクサ2からアナログ信号がサンプルホール
ド部3に入力され、サンプルホールド信号によつ
て順次A/Dコンバータ部4に入力される。A/
Dコンバータ部4にも第1インターフエイス部5
からスタート信号STが第1ホトカプラ部11を
介して供給され、その出力にデジタル信号を得
る。このデジタル信号は第2ホトカプラ部13を
介して第2インターフエイス部6に入力される。
第2インターフエイス部6は入力されたデジタル
信号をコンピユータ等に供給して信号処理を行な
う。
Next, the operation of the above embodiment will be described. The analog signal input to the analog signal input section 1 is supplied to an analog multiplexer 2. Channel numbers CHo to CHn, which are control signals for the number of channels set by the channel update unit 36 of the first interface unit 5, are supplied to the multiplexer 2.
According to the channel numbers CHo to CHn, analog signals are inputted from the multiplexer 2 to the sample and hold section 3, and sequentially inputted to the A/D converter section 4 according to the sample and hold signals. A/
The first interface section 5 is also connected to the D converter section 4.
A start signal ST is supplied from the first photocoupler section 11 through the first photocoupler section 11, and a digital signal is obtained at its output. This digital signal is input to the second interface section 6 via the second photocoupler section 13.
The second interface unit 6 supplies the input digital signal to a computer or the like for signal processing.

上述のように第1インターフエイス部5の制御
信号をホトカプラを介して各部に供給しているの
で、雑音等による誤動作が極めて少なくなる。
As described above, since the control signal of the first interface section 5 is supplied to each section via the photocoupler, malfunctions due to noise and the like are extremely reduced.

以上述べたようにこの発明によれば第1インタ
ーフエイス部内にアナログ信号のチヤンネル数に
応じて変更可能なチヤンネル更新部を設けたの
で、プログラムによる変更信号を作る必要がなく
なつたため、プログラムの簡素化が図れ、かつ制
御信号発生部に試験用のクロツク信号を供給でき
るようにしたので、このクロツク信号を用いるこ
とによつて試験調整が容易にできるなどの利点が
ある。
As described above, according to the present invention, since a channel update section that can be changed according to the number of analog signal channels is provided in the first interface section, it is no longer necessary to create a change signal by a program, thereby simplifying the program. In addition, since the clock signal for testing can be supplied to the control signal generating section, there is an advantage that test adjustment can be easily performed by using this clock signal.

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

第1図は従来例を示すブロツク図、第2図はこ
の発明の一実施例を示すブロツク図、第3図及び
第4図は第2図の要部の具体的な構成図である。 5……第1インターフエイス部、6……第2イ
ンターフエイス部、11……第1ホトカプラ部、
13……第2ホトカプラ部、32……制御信号発
生部、33……試験用クロツク信号発生部、36
……チヤンネル更新部。
FIG. 1 is a block diagram showing a conventional example, FIG. 2 is a block diagram showing an embodiment of the present invention, and FIGS. 3 and 4 are specific configuration diagrams of the main parts of FIG. 2. 5...first interface section, 6...second interface section, 11...first photocoupler section,
13...Second photocoupler section, 32...Control signal generation section, 33...Test clock signal generation section, 36
...Channel update department.

Claims (1)

【特許請求の範囲】 1 アナログ信号が入力されるアナログマルチプ
レクサと、このマルチプレクサの出力が供給され
るサンプルホールド回路部と、この回路部の出力
が供給され、出力にデジタル信号を得るアナロ
グ・デジタル変換部と、コンピユータからのプロ
グラム指令が供給され、それら指令により前記マ
ルチプレクサ、サンプルホールド回路部及びアナ
ログ・デジタル変換部に制御信号を与える第1イ
ンターフエイス部と、この第1インターフエイス
部からの制御信号により制御されて前記アナロ
グ・デジタル変換部に出力されるデジタル信号を
コンピユータに入力する第2インターフエイス部
とを備えたアナログ信号処理装置において、 前記第1インターフエイス部は、 上位及び下位データが入力される読み込みデー
タ入力部と、このデータ入力部に試験時にのみク
ロツク信号を供給するクロツク信号発生部と、前
記データ入力部からのデータが入力され、出力に
前記サンプルホールド回路とアナログ・デジタル
変換部へ制御信号を与える制御信号発生部と、こ
の制御信号発生部から前記サンプルホールド回路
へ与えられる制御信号が供給され、この制御信号
により制御された出力と予め設定されたアナログ
信号入力チヤンネル数とが一致したときに、前記
アナログマルチプレクサにチヤンネル数制御信号
を与えるチヤンネル更新部と、 からなることを特徴とするインターフエイス装
置。
[Claims] 1. An analog multiplexer to which an analog signal is input, a sample-and-hold circuit section to which the output of this multiplexer is supplied, and an analog-to-digital conversion to which the output of this circuit section is supplied and obtains a digital signal as an output. a first interface section to which program commands from a computer are supplied and which supply control signals to the multiplexer, sample-and-hold circuit section, and analog-to-digital converter section according to the commands; and a control signal from the first interface section. and a second interface section that inputs a digital signal controlled by the controller and output to the analog-to-digital converter section into a computer, wherein the first interface section receives upper and lower data as input. a clock signal generation section that supplies a clock signal to this data input section only during testing; and a clock signal generation section that receives data from the data input section and outputs the sample and hold circuit and an analog-to-digital conversion section. a control signal generating section that supplies a control signal to the sample and hold circuit; a control signal that is supplied from the control signal generating section to the sample and hold circuit; and an output controlled by the control signal and a preset number of analog signal input channels. An interface device comprising: a channel update unit that provides a channel number control signal to the analog multiplexer when a match occurs.
JP57102688A 1982-06-15 1982-06-15 Interface device Granted JPS58219638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57102688A JPS58219638A (en) 1982-06-15 1982-06-15 Interface device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57102688A JPS58219638A (en) 1982-06-15 1982-06-15 Interface device

Publications (2)

Publication Number Publication Date
JPS58219638A JPS58219638A (en) 1983-12-21
JPS638487B2 true JPS638487B2 (en) 1988-02-23

Family

ID=14334180

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57102688A Granted JPS58219638A (en) 1982-06-15 1982-06-15 Interface device

Country Status (1)

Country Link
JP (1) JPS58219638A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6341925A (en) * 1986-08-08 1988-02-23 Nec Corp Controlling system for disk space

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55141842U (en) * 1979-03-29 1980-10-09

Also Published As

Publication number Publication date
JPS58219638A (en) 1983-12-21

Similar Documents

Publication Publication Date Title
JPS638487B2 (en)
US5710575A (en) System for digitally emulating the analog position of a PC game port joystick
US3512131A (en) Computer controlled seismic display system
EP1102404A2 (en) Analog-to-digital converter, microcomputer, and analog-to-digital conversion method
JP2574909B2 (en) Microcomputer
US5264850A (en) Hand-held sound digitizer system
JP2615852B2 (en) Display device of remote controller
JPS60251403A (en) Digital processor
JP2883664B2 (en) Analog-to-digital converter
US5365467A (en) Signal processor for providing variable acoustic effect
JP2903695B2 (en) Watchdog timer control circuit
KR100285740B1 (en) Real time data output device
KR940007584B1 (en) Digital recording and reproducing circuit of computer audio system
JPS60191297A (en) Channel alloter for electronic musical instrument
SE7710847L (en) DEVICE FOR GENERATING FOR A SELECTED ANALOG SIGNAL EXCELLENT DIGITAL DATA
JPS63273954A (en) Information processor
SU1193675A1 (en) Microprogram module
JPS6155291B2 (en)
FR2346775A1 (en) Data processor with priority control - has data input circuit supplying priority interrupt signals to memory
JPS6016963Y2 (en) address check circuit
JPH08340256A (en) Microcomputer
JPH0712233B2 (en) Remote control signal generator
JPS6261279B2 (en)
JPS63178719A (en) Digital relay
JPH04251836A (en) Slide projector controlled by midi signal