JPS59193650A - Device for assigning automatically slave device address - Google Patents

Device for assigning automatically slave device address

Info

Publication number
JPS59193650A
JPS59193650A JP6808883A JP6808883A JPS59193650A JP S59193650 A JPS59193650 A JP S59193650A JP 6808883 A JP6808883 A JP 6808883A JP 6808883 A JP6808883 A JP 6808883A JP S59193650 A JPS59193650 A JP S59193650A
Authority
JP
Japan
Prior art keywords
pulse
slave
delay time
address
slave device
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.)
Granted
Application number
JP6808883A
Other languages
Japanese (ja)
Other versions
JPH0457145B2 (en
Inventor
Tamihei Hiramatsu
平松 民平
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP6808883A priority Critical patent/JPS59193650A/en
Publication of JPS59193650A publication Critical patent/JPS59193650A/en
Publication of JPH0457145B2 publication Critical patent/JPH0457145B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/403Bus networks with centralised control, e.g. polling

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To assign automatically an address in response to the distance from a master device to each slave device by providing a device returning back a reference pulse in response to the designation from a slave device designating device in the master device to each slave device. CONSTITUTION:The master device MS designates an optional slave device number to turn on a gate circuit of the slave device and a pulse generator 12 generates a reference pulse S and outputs the signal to a transmission line LS via a buffer amplifier 16. This pulse S is transmitted via the line LS, outputted to a receiving line LR via a gate circuit of the designated slave device, transmitted via the line LR and received as a return pulse at the master device MS. Then, the pulse R is transmitted to a delay time detecting circuit 13 via a buffer amplifier 17 of the master device MS. The circuit 13 discriminates the relation of far and near of distances x1, x2 or the like depending relatively on the delay time tau by detecting a difference DELTAtau between delay times tau1 and tau2.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、少なくとも1台の親藩と複数台の子器との間
で信号を送受する送受信システムの各子器に対して親藩
からの距離の遠近に対応した番地を自動的に割りイ」け
るだめの子器番地自動割り付は装置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention provides a transmitting/receiving system that transmits and receives signals between at least one parent unit and a plurality of slave units. This automatic slave device address assignment system is related to a device that automatically assigns addresses corresponding to distances of devices.

〔背景技術とその問題点〕[Background technology and its problems]

一般に、語学教習システム(いわゆるL 、Lシステム
)や、集団会議システム等においては、少なくとも1台
の教師用や議長用等の親藩と、生徒数や会議参加者数等
に応じた複数台の子器とが設置され、親藩側からは各子
器の1台1台をそれぞれ選択的、個別的に指定して通信
し得るようになっている。このように、親藩側から所望
の子器を選択指定し得るだめには、各子器には、それぞ
れ互いに異なる番号あるいは番地が予め設定されている
ことが必要である。
In general, in language teaching systems (so-called L and L systems) and group meeting systems, there is at least one parent machine for teachers, chairpersons, etc., and multiple child machines depending on the number of students and conference participants. The parent clan can selectively and individually designate each child device and communicate with them. In this way, in order for the parent clan to be able to select and designate a desired child device, it is necessary that each child device be preset with a different number or address.

従来において、各子器の上記番号あるいは番地につい−
では、それぞれの子器の固有の状態として機械的に設定
されることが多く、各子器毎に内蔵された機械的設定手
段、たとえばスイッチ接点やジャンバー線あるいは設定
ピン等を、オン、オフ操作することによシ、上記番号あ
るいは番地となる数値の設定がなされていた。これらの
機械的設定手段は、システム設置状態において使用者の
不用意な操作により設定数値が狂うことのないように、
1器の筐体内部等のような直接手で操作できない箇所に
配置されるのが普通であり、さらに、ネジ止めや・・ン
ダ付は等によシはぼ固定的、永久的に設定されているも
のも多い。
Conventionally, the number or address of each child device is
In many cases, the unique status of each slave unit is mechanically set, and the mechanical setting means built into each slave unit, such as switch contacts, jumper wires, or setting pins, are turned on and off. By doing so, the numerical value that becomes the above number or address was set. These mechanical setting means are designed to prevent setting values from becoming incorrect due to careless operation by the user when the system is installed.
It is usually placed in a place where it cannot be operated directly by hand, such as inside the housing of a single device, and it is not fixed or permanently set, such as with screws or dents. There are many.

ところが、このような従来のものにあっては、システム
の保守、修理等に際して、1器の追加、削除、交換を行
なう場合に、上記設定数値の適正化が極めて困難となる
。たとえば故障した1器を新たな1器と交換する場合に
、番号あるいは番地となる数値の設定変更がほぼ不可能
なものでは、旧子器の設定数値と等しい設定数値の新子
器が必要とされ、メーカ等の供給側では設定数値の異な
る金子器を準備しておかねばならず、1器の発注、納入
の手続が面倒であり間違いも生じ易い。また、番号や番
地となる数値の設定変更が可能なものでも、他の1器と
の関係を考慮して、設定数値が1耽しないように注意し
ながら設定操作する必要がある。
However, in such a conventional system, when one device is added, deleted, or replaced during maintenance or repair of the system, it is extremely difficult to optimize the set value. For example, when replacing a malfunctioning device with a new device, if it is almost impossible to change the numerical settings for the number or address, you will need a new device with a setting value that is equal to the setting value of the old device. Therefore, suppliers such as manufacturers must prepare metal fittings with different set values, and the procedures for ordering and delivering a single device are troublesome and mistakes are likely to occur. Furthermore, even if it is possible to change the setting of the numerical value that becomes the number or address, it is necessary to take into account the relationship with one other device and be careful not to set the set numerical value by one.

そこで、本件発明者は、先に特願昭57−132091
号や特願昭58−42415号において、同一構造を有
し固有の番号や番地を持たない子器群に対して、システ
ム動作時に自動的に互いに相異なる番号や番地を割り付
ける装置を提案している。このような装置の原理的な動
作は、各1器がそれぞれ独立に発生するランダムな数値
を、親善側であるいは子器間で判別して、重複するもの
を排除し、これを繰り返すことにより最終的に各1器に
それぞれ互いに異なる数値が割り当てられるようにする
ものである。
Therefore, the inventor of this case previously applied for patent application No. 57-132091.
No. 58-42415, the authors proposed a device that automatically assigns different numbers and addresses to a group of slave devices that have the same structure but do not have unique numbers or addresses during system operation. There is. The basic operation of such a device is to judge the random numbers generated independently by each device on the friendly side or between child devices, eliminate duplicates, and repeat this process to obtain the final value. This allows each device to be assigned a different numerical value.

ところで、このような本発明の先行技術となる自動割シ
付は装置によシ割シ付けられた各1器の番号や番地は、
子器自体の物理的な配役位置とは無関係であり、また各
1器の番号や番地が割り付は動作毎に全くランダムに決
定されて一定しない。
By the way, in the automatic assigning device which is the prior art of the present invention, the number and address of each device assigned by the device are as follows:
It has nothing to do with the physical placement position of the child devices themselves, and the allocation of numbers and addresses to each device is determined completely randomly for each operation and is not constant.

このだめ、割り付は動作が終了したのみでは、例えば親
善側から所定位置の1器を指定して通信することはでき
ない。
Unfortunately, if the allocation operation is completed, for example, the friendly side cannot specify and communicate with one device at a predetermined position.

〔発明の目的〕[Purpose of the invention]

本発明は、上述の実情に鑑み、予めランダムに各1器に
対して互いに異なる番号あるいは番地が与えられている
送受信システムに対して、親善からの距離の遠近に応じ
た物理的あるいは絶対的な番地を上記各1器に自動的に
割シ付けるような子器番地自動割υ付は装置の提供を目
的とする。
In view of the above-mentioned circumstances, the present invention provides for a transmitting/receiving system in which a different number or address is randomly given to each device in advance, and a physical or absolute The object of this invention is to provide a device for automatically allocating slave device addresses such as automatically allocating addresses to each device.

〔発明の概要〕[Summary of the invention]

すなわち、本発明に係る子器番号自動割り付は装置の特
徴は、少なくとも1台の親善と複数台の1器との間で信
号を送受する送受信システムの各1器の番地を割9付け
る子器番地自動割り付は装置において、上記親善は、上
記各1器に対して基準パルスを送信するパルス発生器と
、上記各1器のうちの1台を順次指定して当該子器のみ
が上記基準パルスを送シ返すように制御する子器指定手
段と、上記基準パルスに対する上記送り返されたパルス
の遅れ時間を検出する遅れ時間検出手段と、この遅れ時
間検出手段からの出力に基いて各1器の親善からの信号
伝播距離の遠近に応じた番地を割り付ける番地割υ付は
手段とを具備し、上記各1器は、上記親善の子器指定手
段よシの指定に応じて上記基準パルスを送り返す手段を
有して成ることである。
That is, the automatic slave number assignment device according to the present invention is characterized by a device that assigns an address to each device in a transmitting/receiving system that transmits and receives signals between at least one device and a plurality of devices. Automatic device address assignment is performed in the device, and the above friendship is achieved by sequentially specifying the pulse generator that transmits the reference pulse to each of the above devices, and one of each of the above devices, so that only the child device in question A slave device specifying means for controlling the sending and returning of the reference pulse; a delay time detecting means for detecting the delay time of the sent back pulse with respect to the reference pulse; address assignment means for allocating an address according to the distance of signal propagation from the goodwill device; It consists of having a means for sending back the information.

〔実施例〕〔Example〕

以下、本発明に係る子器番地自動割り付は装置について
、図面を参照しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an apparatus for automatically allocating child device addresses according to the present invention will be described with reference to the drawings.

先ず第1図は、本発明の基本的構成を概略的に示すブロ
ック図である。
First, FIG. 1 is a block diagram schematically showing the basic configuration of the present invention.

この第1図において、少なくとも1台の親善(MS )
と複数台の1器(SLI 、Sb2 、・・)との間で
信号を送受する送受信システムは、例えば語学教習シス
テム(いわゆるLLシステム)や、集団会議システム等
として適用し得るものであるが、第1図中では、子器番
号自動割り付は動作に関連ある部分のみを取り出して図
示している。このような送受信システムにおいて、親善
(MS )からは送信ラインLsと受信ラインLRとが
パスラインとして導出され、各ラインLs  、LRの
終端は、それぞれターミネータTMs 、TIVnに接
続されている。このパスラインとしての送受信ラインT
、JS 、 LRに対して、親善(MS )からの距離
X1の位置に子器(SLI)が、距離X2の位置に子器
(Sb2)が、・・・それぞれ接続されている。
In this Figure 1, at least one Goodwill (MS)
A transmission/reception system that transmits and receives signals between a computer and a plurality of devices (SLI, Sb2, etc.) can be applied, for example, to a language learning system (so-called LL system), a group conference system, etc. In FIG. 1, only the parts related to the operation of the automatic slave number assignment are extracted and illustrated. In such a transmission/reception system, a transmission line Ls and a reception line LR are derived from the goodwill (MS) as path lines, and the terminal ends of each line Ls and LR are connected to terminators TMs and TIVn, respectively. Transmission/reception line T as this pass line
, JS, and LR, a slave device (SLI) is connected at a distance X1 from the goodwill (MS), and a slave device (Sb2) is connected at a distance X2 from the goodwill (MS), respectively.

各子器(SLI、Sb2.・・)は、送信ラインLsの
信号をそのまま又は増幅して受信ラインLRに送り返す
手段としてのゲート回路G]、、G2゜・・を有し、こ
れらのゲート回路Gl、G2.・・・は、親善(MS)
の子器指定手段11によシ指定された子器の回路のみが
オン(導通)状態となり、他はオフ(遮断)状態にある
。ここで、各子器ST、1゜Sb2 、・・・は、配設
位置とは無関係にそれぞれ互いに異なる番号(あるいは
仮番地)が予め割り付けられており、親善MSはこれら
の番号のうちの所望の一番号を指定して当該番号の子器
の少なくとも」二記ゲート回路をオン制御することがで
きる。
Each child device (SLI, Sb2...) has gate circuits G], , G2゜, etc. as means for transmitting the signal of the transmission line Ls as it is or after amplifying it and sending it back to the reception line LR, and these gate circuits Gl, G2. ... is goodwill (MS)
Only the circuit of the child device specified by the child device designation means 11 is in the on (conducting) state, and the others are in the off (blocking) state. Here, each child device ST, 1°Sb2, . By specifying one number, it is possible to turn on at least two gate circuits of the child device with that number.

親善MSは、各子器SL1..SL2.・・に向けて基
準パル、スSを送出するパルス発生器12と、各子器S
LI、SL2.・・のうちの一つを指定して上記ゲート
回路をオン制御して当該子器のみが上記基準パルスを送
り返すようになす子器指定手段SDと、上記基準パルス
Sに対する上記指定された子器から送り返された返送パ
ルスR・の遅れ時間を検出する遅れ時間検出手段13と
、この遅れ時間検出手段13からの検出出力に基いて各
子器SLi、SL2.・・・の親善からの距離に応じた
物理的な絶対的な番地を割り付ける番地割シ付は手段1
4とを少なくとも備えている。
The friendly MS has each child device SL1. .. SL2. A pulse generator 12 that sends out a reference pulse, S, towards ..., and each child unit S
LI, SL2. a slave device designating means SD for specifying one of the above to turn on the gate circuit so that only the slave device in question sends back the reference pulse, and the slave device specified in response to the reference pulse S. A delay time detection means 13 detects the delay time of the return pulse R. sent back from the SL2. ...The first method is to allocate an absolute physical address according to the distance from Goodwill.
4.

以上のような基本構成回路の動作について説明すると、
先ず親善MSは、任意の一個の子器番号を指定して当該
子器の上記ゲート回路をオン状態となし、パルス発生器
12よシ基準パルスSを発生し、バッファアンプ16を
介して送信ラインLsに出力する。この基準パルスSは
、送信ラインLSを介して伝播され、上記指定された子
器のゲート回路を通って受信ラインLRに出力され、こ
のラインLRを介して伝播され、親善AISにて返送パ
ルス丁(・とI−で受信される7、この返送パルス1(
・は、親善MSのバッファアンプ17を介して遅れ時間
検出手段13に送られる。遅れ時間検出手段13は、上
記j1(it、t:パルス発生器する返送パルス1?・
の遅れ時間τを検出し、この遅れ時間τに基いて各子器
の親善からの距離Xを求める。例えば第2図に示すよう
に、基準パルスSの出力に対して、子器SLIが:1′
8定されたときの返送パルスR・1の遅れ時間かで1と
なり、子器SL2 、Sb2 、・・が指定されたとき
の返送パルスI1.2. R3,・の各週れ11キ間が
それぞれτ2.τ3.・・・となって現われる。
To explain the operation of the basic configuration circuit as above,
First, the goodwill MS specifies an arbitrary child device number, turns on the gate circuit of the child device, generates a reference pulse S from the pulse generator 12, and sends it to the transmission line via the buffer amplifier 16. Output to Ls. This reference pulse S is propagated via the transmission line LS, passed through the gate circuit of the specified child device, and outputted to the reception line LR, propagated via this line LR, and returned pulses at the friendly AIS. 7 received at (・ and I-, this return pulse 1 (
is sent to the delay time detection means 13 via the buffer amplifier 17 of the friendly MS. The delay time detection means 13 detects the above j1 (it, t: return pulse 1? from the pulse generator).
Detects the delay time τ of , and calculates the distance X of each child device from the friendliness based on this delay time τ. For example, as shown in FIG. 2, with respect to the output of the reference pulse S, the child device SLI is: 1'
The delay time of the return pulse R・1 when 8 is specified is 1, and the return pulse I1.2 when slave units SL2, Sb2, . . . Each 11-ki interval of R3, · is τ2. τ3. It appears as...

ぞして、これらの遅れ時間τ1 、τ2.τ3.・・(
(応じて各子器SL] 、Sb2.Sb2.・・−の距
附Xl。
Therefore, these delay times τ1, τ2 . τ3.・・・(
(Each child device SL accordingly), Sb2.Sb2...- distance Xl.

X2+X3+・・・を判別し、遠近に応じた物理的な絶
対番地を各子器に割り当てる。
It determines X2+X3+... and assigns physical absolute addresses to each child device according to their distance.

ところで、パルス信号の伝播速度は、各ラインIJS 
、 LRの伝達関数や分布定数等により決定されるが、
一般の送受信ンステムの信号伝送ライン(平行線の場合
)においては、単位長遅れ時間に略相当するJ’T’2
が約5ns/rn程度でお見上記遅れ時間τの絶対値を
高精度で測定することは極めて困離である。
By the way, the propagation speed of the pulse signal is
, is determined by the LR transfer function, distribution constant, etc.
In the signal transmission line of a general transmitting/receiving system (in the case of parallel lines), J'T'2 which approximately corresponds to the unit long delay time
is approximately 5 ns/rn, and it is extremely difficult to measure the absolute value of the delay time τ with high precision.

そこで、上記各週れ時間τ3.τ2等の差Δτを検出す
ることにより、相対的に遅れ時間τの大小関係を求め、
これに基いて上記距離Xについての遠近関係を判断して
いる。
Therefore, each weekday time τ3 above. By detecting the difference Δτ between τ2, etc., the relative magnitude relationship of the delay time τ is determined,
Based on this, the distance relationship regarding the distance X is determined.

さらに、後述する本発明の実施例においては、一台の子
器が指定されている間に複数の基準パルスSを順次出力
し、遅れ時間τを同−子器について複数回検出して積分
し、この積分値を各子器相互間で比較するという確率的
手法を用いて、遠近関係の判別精度を高めている。
Furthermore, in the embodiment of the present invention described later, a plurality of reference pulses S are sequentially output while one slave unit is designated, and the delay time τ is detected and integrated multiple times for the same slave unit. By using a probabilistic method that compares this integral value between each child device, the accuracy of determining distance relationships is improved.

すなわち、第3図は本発明の一実施例の要部として、上
記親善MSの遅れ時間検出手段13の具体例を示してい
る。この第3図における他の部分は、前述した第1図と
同様に構成すればよいため、図示せず説明を省賂する。
That is, FIG. 3 shows a specific example of the delay time detection means 13 of the friendly MS as a main part of an embodiment of the present invention. The other parts in FIG. 3 may be constructed in the same manner as in FIG. 1 described above, and therefore are not shown and will not be described here.

この第3図において、遅れ時間検出手段13の可変遅延
回路21は、パルス発生器12からの上記基準パルスS
を所定時間τDだけ遅延させ、この遅延されたパルスS
oをD型フリップフロップ22のD端子(データ入力端
子)に供給する。D型フリップフロップ22のクロック
入力端子CKには、バッファアンプ17からの上記返送
パルス1(・が供給され、寸だD型フリップフロッグ2
2のクリア端子CL R・には、上記返送パルスR・を
モノマルチ回路23にて一部時間jMだけ遅らせたパル
ス■(・Mが供給される。さらに、J)型フリップフロ
ップ22のQ端子出力は、カウンタ24に送られている
In FIG. 3, the variable delay circuit 21 of the delay time detection means 13 receives the reference pulse S from the pulse generator 12.
is delayed by a predetermined time τD, and this delayed pulse S
o is supplied to the D terminal (data input terminal) of the D-type flip-flop 22. The clock input terminal CK of the D-type flip-flop 22 is supplied with the above-mentioned return pulse 1 (.) from the buffer amplifier 17,
A pulse ■(・M) obtained by delaying the above-mentioned return pulse R by a partial time jM in a mono multi-circuit 23 is supplied to the clear terminal CL R of the circuit 2. Furthermore, the Q terminal of the J) type flip-flop 22 is supplied to the clear terminal CLR. The output is sent to counter 24.

以上の構成を有する遅れ時間検出手段13において、上
記製器fν1Sの子器指定手段11により1台の子器が
指定された状態にあり、第4図の基準パルスSに対して
時間τだけ遅れた返送パルスR・が得られるとき、可変
遅延回路21の遅延時間τDを第4図A、B、Cのよう
にtDA 、 rDB 、 rDCと変化させた場合の
動作について説明する。
In the delay time detection means 13 having the above configuration, one slave device is designated by the slave device designation means 11 of the device fν1S, and is delayed by the time τ with respect to the reference pulse S in FIG. The operation will be described when the delay time τD of the variable delay circuit 21 is changed to tDA, rDB, and rDC as shown in FIG. 4A, B, and C when the return pulse R. is obtained.

ここで一般にD型フリップフロップ22は、クロノ’/
 EFf CJ(ニクロノクパルス(返送パルスR・)
が入力された時点におけるD端子入力がQ端子にす 出力されるものであるが、前述のようなn5(1”) 矛秒)オーダの時間を問題とする場合には、いわゆるセ
ットアツプ時間tsuによる動作の遅れを考慮する必要
がある。すなわち、D端子入力である遅延パルスSDが
Q端子に伝達されるためには、クロックパルス(返送パ
ルスR,)の入力時刻に先立つ上記セットアツプ時間t
suよりも前の時点にて遅延パルスSDが入力されてい
なければならず、これは、上記基準パルスSに対する返
送パルスI(・の遅れ時間τと上記セットアツプ時間t
suとの差τ−jsuよりも、可変遅延回路21の遅延
時間τDを短かく(τD〈τ−tsu)することに対応
する。
Generally, the D-type flip-flop 22 is chrono'/
EFf CJ (Nikronoku Pulse (Return Pulse R)
The D terminal input is output to the Q terminal at the time when the D terminal is input. However, when the above-mentioned time on the order of n5 (1") is an issue, the so-called set-up time tsu In other words, in order for the delayed pulse SD, which is input to the D terminal, to be transmitted to the Q terminal, it is necessary to consider the delay in the operation due to the above setup time t, which precedes the input time of the clock pulse (return pulse R,).
The delayed pulse SD must be input at a time before the reference pulse
This corresponds to making the delay time τD of the variable delay circuit 21 shorter than the difference τ−jsu with respect to su (τD<τ−tsu).

第4図Aば、このような粂件を満足する遅延時間τDA
(<τ−tsu)の−例を示し、返送パルスR・の入力
タイミング(立上り)にてD型フリップフロップ22の
Q端子よりパルス出力が得られている。これに対して第
4図Bの遅延時間τDBのように、上記τ−LSuよシ
も長い(TDB>T −tsu)場合には、D型フリッ
プフロップ22のQ端子からパルス出力が得られない。
Figure 4 A shows the delay time τDA that satisfies this condition.
An example of (<τ-tsu) is shown, and a pulse output is obtained from the Q terminal of the D-type flip-flop 22 at the input timing (rising edge) of the return pulse R. On the other hand, when the delay time τDB in FIG. 4B is longer than the above τ-LSu (TDB>T-tsu), no pulse output is obtained from the Q terminal of the D-type flip-flop 22. .

また、第i(fン」Cに示すように、遅延時間τDCが
上記τ−tsuに1賂等しい(τDC〒τ−tsu)と
きには、Q端子からの出力は確率的な事象となシ、D端
子に入力される遅延パルスSDが複2′夕個の場合にQ
端子より得られるパルスの個数をカウントすることによ
り、確率を求めることができる。
Furthermore, as shown in the i-th (f'th) C, when the delay time τDC is equal to the above τ-tsu by 1 time (τDC〒τ-tsu), the output from the Q terminal is not a stochastic event, and D When the number of delayed pulses SD input to the terminal is 2', Q
The probability can be determined by counting the number of pulses obtained from the terminals.

したがって、1台の子器を指定した状態において、可変
遅延回路21の遅延時間τDを段階的に(たとえばM段
階にτDI、τD2.・・、τDMと)変化させ、これ
らの各遅延時間毎に一定の複数個(たとえばN個)の基
準パルスSを送出して、これに対する上記Q端子からの
出力パルスの個数をカウントすることによシ、例えば第
5図に示すようなヒストグラムが得られる。このような
ヒストグラムを、何台かの子器についてそれぞn求め、
重ね合わせたものを第6図に示す。この第6図において
は、離散的な値を連続的に表現しており、−例として3
台の子器SLI 、Sb2 、Sb2についてのヒスト
グラムを重ね合わせて示している。
Therefore, in a state where one child device is specified, the delay time τD of the variable delay circuit 21 is changed stepwise (for example, τDI, τD2, . . . , τDM in M stages), and for each of these delay times. By sending out a fixed plurality (for example, N) of reference pulses S and counting the number of output pulses from the Q terminal in response to the reference pulses S, a histogram as shown in FIG. 5, for example, can be obtained. Obtain such histograms for each slave unit,
The superimposed image is shown in FIG. In this Figure 6, discrete values are expressed continuously, - for example, 3
The histograms for the child units SLI, Sb2, and Sb2 of the stand are shown superimposed.

この第6図から明らかなように、各子器、例えばSLl
、Sb2.Sb2をそれぞれ↑旨定したときに得られる
D型フリップフロッグ22のQ端子からの出力パルスの
それぞれの総個数Σ1.Σ2゜Σ3.あるいはヒストグ
ラム積分値は、製器MSから近い子器(例えば5LI)
はど小さくなシ、製器MSから遠い子器(例えば5L3
)はど大きくなる。すなわち、各子器についての上記Q
出力パルスの総個数を相互に比較することにより、製器
からの各子器の距離(信号伝播距離)の遠近を判別でき
る。
As is clear from FIG. 6, each slave device, for example SLl
, Sb2. The respective total numbers Σ1. of output pulses from the Q terminal of the D-type flip-frog 22 obtained when Sb2 is respectively set to Σ2゜Σ3. Alternatively, the histogram integral value may be a child device (for example, 5LI) that is close to the device MS.
If the device is small or far from the manufacturing MS (for example, 5L3
) gets bigger. In other words, the above Q for each child device
By comparing the total number of output pulses, it is possible to determine the distance (signal propagation distance) of each child device from the manufacturing device.

化させることが必要とされるが、これは、例えば第7図
に示すように、複数個が直列接続されたTTL等のバッ
ファゲート回路31の各接続点からの出力をマルチプレ
クサ32で切換選択したり、第8図に示すように、マル
チプレクサ33の各被選択端子間を所定長(例えば信号
伝播時間が1.ns程度)のライン34を介して接続し
てこれらを切換のステップでの遅延時間切換えが行なえ
る。なお、バッファゲート31等のディジタルICJJ
:、、素子の基本構造の違いによυ数113〜数+ns
程度の信号伝達遅延時間を得ることができるが、この遅
延時間の絶対精度は、同一構造の素子でも、素子自体の
ばらつきや周囲温度等の使用状態により高精度をルj待
できない。しかしながら、本発明の場合には、相対的な
時間比穀を行なっており、また、短時間(例えば数分以
内)の動作で済むことより温度ドリフトの影響を受ける
こともなく、高4kUの遠近判別が行なえる1゜ そして、各子器の親藩に対する距離の相対的な遠近関係
を判別し、この判別された遠近の順序に応じて各子器の
番地(絶対番地)を避シ付けるわけである。。
For example, as shown in FIG. 7, a multiplexer 32 is used to switch and select the output from each connection point of a plurality of buffer gate circuits 31, such as TTL, connected in series. Alternatively, as shown in FIG. 8, each selected terminal of the multiplexer 33 is connected via a line 34 of a predetermined length (for example, signal propagation time is about 1.ns), and the delay time at the switching step is Can be switched. In addition, digital ICJJ such as buffer gate 31
:,,Due to the difference in the basic structure of the element, υ number 113 to number + ns
However, the absolute accuracy of this delay time cannot be guaranteed to be high due to variations in the elements themselves, usage conditions such as ambient temperature, etc. even if the elements have the same structure. However, in the case of the present invention, relative time ratio measurement is performed, and since the operation is short-term (for example, within a few minutes), it is not affected by temperature drift, and it is possible to perform distance measurement at high 4kU. Then, the relative distance relationship of each child device to the parent domain is determined, and the address (absolute address) of each child device is avoided according to the determined distance order. be. .

以上のように、本発明の実施例においては、一般的に困
難とされる微小時間差の測定を、ヒストグラムという統
計量を導入することによって高精度に行ない、結果的に
、パルス信号の伝播遅れ時間に基づく各子器の遠近判別
を、簡単かつ高い確度で実現している。
As described above, in the embodiments of the present invention, the measurement of minute time differences, which is generally difficult, is carried out with high precision by introducing a statistic called a histogram, and as a result, the propagation delay time of the pulse signal can be measured with high accuracy. Distinguishing the distance of each child device based on the above is achieved easily and with high accuracy.

次に、以上説明した本発明の実施例を、子器数が20台
、パスライン長(親藩MSからターミネータTMまでの
ライン長)が20771.子器間最小間隔が0.577
2の送受信システムに適用した具体例について説明する
Next, in the embodiment of the present invention described above, the number of child devices is 20, and the path line length (line length from the parent MS to the terminator TM) is 20771. Minimum distance between child devices is 0.577
A specific example applied to the transmission/reception system of No. 2 will be explained.

第9図はこのような送受信/ステムを示すブロック図で
ちり、前述した第1図の親藩M S内の子器指定手段1
1、パルス発生器12、及び番地割り付は手段14を、
マイクロコンピータ10により実現している。他の構成
は、第1図や第3図と同様であるため、対応する部分に
同一の指示符号を句して説明を省略する。
FIG. 9 is a block diagram showing such a transmission/reception/system.
1, a pulse generator 12 and an address allocation means 14;
This is realized by the microcomputer 10. Since the other configurations are the same as those in FIGS. 1 and 3, corresponding parts will be designated by the same reference numerals and a description thereof will be omitted.

この第9図において、マイクロコンピュータ10は、少
なくとも、1個の入力端子IPと、4個の出力端子OP
、t 、OF2 、OF2 、OF2を有し、これらの
端子の入出力は第10図のようになっている。
In FIG. 9, the microcomputer 10 has at least one input terminal IP and four output terminals OP.
, t, OF2, OF2, OF2, and the input/output of these terminals is as shown in FIG.

すなわち、入力端子IPには、遅れ時間検出手段13の
カウンタ24のカウント値である上記パルス総個数Σ(
あるいはヒストグラム積分値)が、例えば16ビツトの
2進数値データとして入力される。出力端子OP1から
は、子器SLI〜5L20のうちのいずれかを指定して
ゲート回路をオン制征jするための制御信号が出力され
る3、このときの子器の指定は、前述したように、既に
(本発明の番地割シ・flけ動作以前に)決められてい
るランダムな子器番号(あるいは仮杏地)に基いて行な
われるものであり、これらの子器番号R・N1〜R・N
20ば、それぞれ互いに異なってはいるが、各子器の物
理的な配設位置、例えば親藩からの距駈の遠近とは無関
係の香号である。
That is, the total number of pulses Σ(, which is the count value of the counter 24 of the delay time detection means 13) is input to the input terminal IP.
Alternatively, the histogram integral value) is input as, for example, 16-bit binary value data. A control signal is output from the output terminal OP1 to designate one of the child devices SLI to 5L20 and turn on the gate circuit3.The designation of the child device at this time is as described above. This is done based on random child device numbers (or temporary numbers) that have already been determined (before the address allocation/flipping operation of the present invention), and these child device numbers R, N1 to R.N.
Although they are different from each other, they are independent of the physical location of each child, for example, their distance from the parent domain.

次に、出力端子OP2からは、上記端7− OP 1の
出力により1台の子器が指定されている間に、複数1固
(N x M個)の基準パルスSが出力され、出力端子
OP3からは、可変遅延回路21の遅延時間τDをへ4
段階τD】〜τDMで変化させるだめの遅延時間制御信
号が出力される。ここで、遅延時間τDが各一つの段階
で固定されている間に、端子OP2からはN個、例えば
256個の基準パルスSが出力され、これがM段階、例
えば256段階にわたって行なわれることにより、1台
の子器については65536(=256x256)個の
基準パルスSが出力されることになる。
Next, from the output terminal OP2, while one slave unit is specified by the output of the terminal 7-OP1, a plurality of reference pulses S (N x M pieces) are outputted from the output terminal OP2. From OP3, the delay time τD of the variable delay circuit 21 is set to 4.
A delay time control signal to be varied at stages τD] to τDM is output. Here, while the delay time τD is fixed at each stage, N reference pulses S, for example, 256, are output from the terminal OP2, and this is performed over M stages, for example, 256, so that For one child device, 65536 (=256×256) reference pulses S are output.

ここで、基準パルスSのパルス周期については、返送パ
ルスR1の最大遅れ時間を考慮して決定すればよい。す
なわち、上記パスライン長が20mで、最大信号伝播距
離は40mとなるから、単位長伝播遅れ時間!5 ns
/mの条件の下で、最大遅れ時間は約200 ns と
なる。従って、基準パルスSのパルス周期は200 n
s以上が好ましく、本具体例では、第11図に示すよう
に、パルス幅500ns、パルス周期lμSの基準パル
スSを用いている。このときの返送パルスR2の遅れ時
間は、第11図の矢印に示すように、200nSの範囲
内で変化する。また、可変遅延回路21の遅延時間τD
の段階的変化の1段階分に変化幅に対応する単位遅延時
間は、子器間の最小間隔に基いて決定すればよく、この
最小間隔が0.5mのとき、対応する伝播遅れ時間の差
が5nsであるから、51IS以下とすることが好丑し
い。本具体例では、上記単位遅延時間をinsとし、遅
延時間τDをlnsから256 nsまでの256段階
で変化させている。
Here, the pulse period of the reference pulse S may be determined in consideration of the maximum delay time of the return pulse R1. That is, since the above path line length is 20 m and the maximum signal propagation distance is 40 m, the unit length propagation delay time! 5 ns
/m, the maximum delay time is approximately 200 ns. Therefore, the pulse period of the reference pulse S is 200 n
s or more is preferable, and in this specific example, as shown in FIG. 11, a reference pulse S with a pulse width of 500 ns and a pulse period of 1 μS is used. The delay time of the return pulse R2 at this time varies within a range of 200 nS, as shown by the arrow in FIG. Also, the delay time τD of the variable delay circuit 21
The unit delay time corresponding to the change width for one step of the stepwise change may be determined based on the minimum distance between slave devices. When this minimum distance is 0.5 m, the difference in the corresponding propagation delay time is is 5 ns, it is preferable to set it to 51 IS or less. In this specific example, the unit delay time is ins, and the delay time τD is changed in 256 steps from lns to 256 ns.

以上のように、1台の子器が指定されている間に655
36個の基準パルスSが出力され、これに対応する返送
パルスR・の遅れ時間で上記256段階の遅延時間τD
1〜τD256とそれぞれ256回ずつ比較し終えた時
点において、カウンタ24からは上記パルス総個数Σが
出力されている。この総個数Σを入力端子IPを介して
マイクロコンビーータ10に取り込み、その後出力端子
0J)4からクリアパルス(あるいはりセノトノ<ルス
)をカウンタ24に送ることにより、次の子器について
の遅れ時間検出動作の初期設定がなされる。
As mentioned above, while one slave device is specified, 655
36 reference pulses S are output, and the delay time of the corresponding return pulse R is the delay time τD of the above 256 steps.
At the time when the comparison with each of τD1 to τD256 is completed 256 times, the counter 24 outputs the total number of pulses Σ. This total number Σ is taken into the microconbeater 10 via the input terminal IP, and then a clear pulse (or pulse) is sent to the counter 24 from the output terminal 0J)4, thereby delaying the delay for the next child device. Initial settings for time detection operation are made.

ところで、1台の子器についての上記ノクルス総個数Σ
を求めるためには、約66m5以上の時間を要するが、
余裕を児て約100m5としても、20台全ての子器S
LI〜5L20に対しては2記パルス総個数Σがそれぞ
れ求められた後に、これらのパルス総個数を相対的に比
較し、各子器の装器に対する距離の遠近を判別して、こ
の遠近関係に応じて各子器の番地(絶対番地)を割シ付
けることは勿論である。
By the way, the total number of Noculus for one child device Σ
It takes about 66m5 or more time to find the
Even if it is about 100m5 with some margin, all 20 slave units S
For LI to 5L20, after the total number of pulses Σ in 2 is calculated, these total numbers of pulses are compared relatively, and the distance of each child device to the device is determined, and this distance relationship is determined. Of course, the address (absolute address) of each slave device is assigned according to the address.

以上説明したように、本発明の実施例によれば、パスラ
イン構成された送受イ言システムに於て、多数の分枝点
に接続された子器の距離的相対関係を確実に知ることが
できるようになり、これにより分枝点の各子器に対し、
あらかじめ順序立った番号を付加しておか々くとも、配
置(遠近#)順に番号付けすることが可能となる。これ
は、装器(パスライン端にある)からの送出基準パルス
を、子器を通して装器へ送り帰し、送出/帰りのパルス
伝播時間を精度よく比較できるようにしただめである。
As explained above, according to the embodiments of the present invention, it is possible to reliably know the distance relative relationships of child units connected to a large number of branch points in a transmission/reception communication system configured with a pass line. Now, for each child of the branch point,
By adding sequential numbers in advance, it is possible to number the objects in order of arrangement (perspective #). This is because the sending reference pulse from the device (located at the end of the pass line) is sent back to the device through the child device, so that the sending and returning pulse propagation times can be compared accurately.

高精度な伝播時間の相対比較はヒストグラム積分法とい
う方法を採用したためで、この方法は・・−ドウエア量
が少くて済む。
This is because a method called histogram integration method is used for highly accurate relative comparison of propagation times, and this method requires only a small amount of hardware.

なお、本発明は上記実施例のみに限定されるものではな
く、例えば上記子器指定用の信号を送信ラインLsを介
して伝送するようにしてもよい3、この他、本発明の要
旨を逸脱しない範囲で種々の変更が可能であることは勿
論である1゜〔発明の効果〕 以上の説明からも明らかなように、本発明に係る子器番
地自動割シ付は装置に“よれば、装器からの信号伝播距
離の遠近に応じた一義的な番地(絶対番地)を各子器に
対して自動的に割り付けることができる。
Note that the present invention is not limited to the above-mentioned embodiments, and for example, the signal for specifying the child device may be transmitted via the transmission line Ls. Of course, various changes can be made within the scope of the invention.1゜[Effects of the Invention] As is clear from the above explanation, the slave device address automatic assignment according to the present invention can be made according to the device. A unique address (absolute address) can be automatically assigned to each child device according to the signal propagation distance from the device.

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

第1図は本発明の基本的構成を概l114的に示すブロ
ック図、第2図は第1図の回路の動作を説明するだめの
タイムチャー ト、第3図は本発明の一実施例の要部を
示すブロック回路図、第4図は第3図の回路の動作を説
明するためのタイムチャート、第5図および第6図は可
変遅延回路の遅延時間を変化させたときのフリラグフロ
ノブ出力パルスの個数を示すヒストグラム、第7図およ
び第8図は可変遅延回路の時間遅延要素の具体例を示す
回路図、第9図は上記実施例の一具体例を示すブロック
回路図、第10図および第11図は第9図の回路の動作
を説明するためのタイムチャー トである。 MS・・・装器 SLl、Sb2;・・・・・子器 11・・・子器指定手段 12・・パルス発生器 13・・・遅れ時間検出手段 14・・・番地側9付は手段 Gl、G、11・・・・・ゲート回路 21・・・可変遅延回路 22・・・D型フリンプフロソプ 24・・・カウンタ 特 許 出 願 人   ソニー株式会社代理人  弁
理士  小 池  先
FIG. 1 is a block diagram schematically showing the basic configuration of the present invention, FIG. 2 is a time chart for explaining the operation of the circuit in FIG. 1, and FIG. 3 is a diagram showing an embodiment of the present invention. A block circuit diagram showing the main parts, Fig. 4 is a time chart to explain the operation of the circuit in Fig. 3, Figs. 5 and 6 show the free-lag flow knob output pulse when changing the delay time of the variable delay circuit. 7 and 8 are circuit diagrams showing a specific example of the time delay elements of the variable delay circuit, FIG. 9 is a block circuit diagram showing a specific example of the above embodiment, and FIGS. FIG. 11 is a time chart for explaining the operation of the circuit shown in FIG. MS...Equipment SLl, Sb2;...Slave device 11...Slave device designation means 12...Pulse generator 13...Delay time detection means 14...Address side 9 is means Gl , G, 11...Gate circuit 21...Variable delay circuit 22...D-type flimp flop 24...Counter Patent Applicant: Sony Corporation Representative Patent Attorney: Mr. Koike

Claims (1)

【特許請求の範囲】[Claims] 少なくとも】台の親藩と複数台の子器との間で信号を送
受する送受信システムの各子器の番地を割り例ける子器
番地自動割り付は装置において、上記親藩は、上記各子
器に対して基準パルスを送信するパルス発生器と、上記
各子器のうちの1台を順次指定して当該子器のみが上記
基準パルスを送り返すように制御する子器指定手段と、
上記基準パルスに対する上記送シ返されたパルスの遅れ
時間を検出する遅れ時間検出手段と、この遅れ時間検出
手段からの出力に基いて各子器の装器からの信号伝播距
離の遠近に応じた番地を割り付ける番地割り伺は手段と
を具備し、上記各子器は、上記親藩の子器指定手段より
の指定に応じて一ヒ記基準パルスを送り返す手段を有し
て成ることを特徴とする子器番地自動割I)例は装置。
[At least] Automatic slave address assignment, which allocates the address of each slave unit in a transmitting/receiving system that transmits and receives signals between a parent unit and multiple slave units, is performed in the device, and the parent unit is a pulse generator that transmits a reference pulse to the slave device, and a slave device designation means that sequentially designates one of the slave devices so that only the slave device sends back the reference pulse;
delay time detection means for detecting the delay time of the transmitted and returned pulses with respect to the reference pulse; An address assigning means for allocating an address is provided, and each slave device is characterized in that it has a means for sending back the reference pulse according to the specification from the parent slave device specifying means. Automatic child device address assignment I) Example is a device.
JP6808883A 1983-04-18 1983-04-18 Device for assigning automatically slave device address Granted JPS59193650A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6808883A JPS59193650A (en) 1983-04-18 1983-04-18 Device for assigning automatically slave device address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6808883A JPS59193650A (en) 1983-04-18 1983-04-18 Device for assigning automatically slave device address

Publications (2)

Publication Number Publication Date
JPS59193650A true JPS59193650A (en) 1984-11-02
JPH0457145B2 JPH0457145B2 (en) 1992-09-10

Family

ID=13363628

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6808883A Granted JPS59193650A (en) 1983-04-18 1983-04-18 Device for assigning automatically slave device address

Country Status (1)

Country Link
JP (1) JPS59193650A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4680583A (en) * 1985-01-30 1987-07-14 Northern Telecom Limited Terminal address assignment in a broadcast transmission system
JPS62181547A (en) * 1985-09-27 1987-08-08 エヌ・ベ−・フイリツプス・フル−イランペンフアブリケン Method and circuit arrangement for generating address for circuit unit
WO2007057071A1 (en) * 2005-11-15 2007-05-24 Valeo Schalter Und Sensoren Gmbh Method for operating a sensor system, sensor system and sensor module
DE102008034445A1 (en) * 2008-07-24 2010-02-04 Diehl Aerospace Gmbh Method and device for detecting bus subscribers

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4680583A (en) * 1985-01-30 1987-07-14 Northern Telecom Limited Terminal address assignment in a broadcast transmission system
JPS62181547A (en) * 1985-09-27 1987-08-08 エヌ・ベ−・フイリツプス・フル−イランペンフアブリケン Method and circuit arrangement for generating address for circuit unit
WO2007057071A1 (en) * 2005-11-15 2007-05-24 Valeo Schalter Und Sensoren Gmbh Method for operating a sensor system, sensor system and sensor module
DE102008034445A1 (en) * 2008-07-24 2010-02-04 Diehl Aerospace Gmbh Method and device for detecting bus subscribers
DE102008034445B4 (en) * 2008-07-24 2010-03-11 Diehl Aerospace Gmbh Method and device for detecting bus subscribers

Also Published As

Publication number Publication date
JPH0457145B2 (en) 1992-09-10

Similar Documents

Publication Publication Date Title
US6931338B2 (en) System for providing a calibrated path for multi-signal cables in testing of integrated circuits
US4849702A (en) Test period generator for automatic test equipment
EP0136207B1 (en) Test period generator for automatic test equipment
US5003256A (en) Clock skew measurement technique
CA1172361A (en) Logic analyzer for a multiplexed digital bus
US5235566A (en) Clock skew measurement technique
JP6192698B2 (en) Calibration board and timing calibration method
US6876938B2 (en) Method to provide a calibrated path for multi-signal cables in testing of integrated circuits
CN111082887B (en) System, method, device, equipment and medium for signal transmission delay compensation
JPS59193650A (en) Device for assigning automatically slave device address
KR20050084376A (en) Semiconductor test instrument
US5289390A (en) Method for determining the electrical cable length of an active ring of a token ring local area network
JPH04233478A (en) Method and apparatus for measuring waveform
KR20090088843A (en) Apparatus for and method of generating a time reference
JP4353943B2 (en) Sequence control device
CN111064538B (en) Time service message sending method, device and equipment, medium main control board and frame type equipment
JP2004502357A (en) Method and apparatus for time synchronous transmission
US20070101219A1 (en) Semiconductor testing apparatus and method of calibrating the same
KR20200142090A (en) Bus synchronization system
US2929875A (en) Transmission test apparatus
KR19990002779A (en) Automatic Timing Signal Compensator for Memory Tester
JP3408486B2 (en) Synchronous circuit between devices
US6944693B2 (en) Method for centrally setting data rate in a data transmission facility and a device for centrally setting data rates
JP2580567B2 (en) Method and apparatus for measuring voice detection time
SU1164668A1 (en) Device for measuring and registering parameters