JP2015073275A - UARTRing通信におけるID自動設定方法 - Google Patents
UARTRing通信におけるID自動設定方法 Download PDFInfo
- Publication number
- JP2015073275A JP2015073275A JP2014203916A JP2014203916A JP2015073275A JP 2015073275 A JP2015073275 A JP 2015073275A JP 2014203916 A JP2014203916 A JP 2014203916A JP 2014203916 A JP2014203916 A JP 2014203916A JP 2015073275 A JP2015073275 A JP 2015073275A
- Authority
- JP
- Japan
- Prior art keywords
- slave
- master
- automatic setting
- value
- slaves
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
- G06F13/4291—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a clocked protocol
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/36—Handling requests for interconnection or transfer for access to common bus or bus system
- G06F13/362—Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/42—Loop networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/02—Channels characterised by the type of signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/04—Speed or phase control by synchronisation signals
- H04L7/10—Arrangements for initial synchronisation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Small-Scale Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
【解決手段】マスタおよび複数のスレーブが、リング型ネットワークで構成されるUART Ring通信におけるID自動設定方法であって、マスタを初期化して、マスタIDを出力する段階と、複数のスレーブが、マスタIDを受信して、自体のIDをマスタIDに基準値を足した値に設定して出力する段階と、複数のスレーブが、受信したIDと自体のIDとが同じか否かにより自体のIDを変更する一方、マスタが、スレーブから出力されたIDを受信して、受信したスレーブID値に応じてスレーブIDの現在の最高値を変更する段階と、スレーブIDの現在の最高値によりID設定を終了するか、または、スレーブIDを再設定する段階と、を有するように構成する。
【選択図】図2
Description
11〜14 スレーブ
L1〜L5 通信ライン
Rx 受信端
Tx 送信端
Claims (10)
- マスタおよび複数のスレーブがリング型ネットワークで構成されるUART Ring通信におけるID自動設定方法において、
前記マスタを初期化して、マスタIDを出力する初期化段階と、
前記複数のスレーブが、前記マスタIDを受信して、自体のIDを、前記マスタIDに基準値を足した値に設定して、該設定されたIDを出力するスレーブID設定段階と、
前記複数のスレーブが、受信したIDと自体のIDとが同じか否かにより自体のIDを変更する一方、前記マスタが、前記複数のスレーブから出力されたIDを受信して、該受信したスレーブIDの値により前記マスタに保存されたスレーブIDの現在の最高値を変更する変更段階と、
前記スレーブIDの現在の最高値に応じてID設定を終了するか、または、前記スレーブIDを再設定する終了決定段階と、を有することを特徴とするUART Ring通信におけるID自動設定方法。 - 前記初期化段階は、
前記マスタに保存された前記マスタID、前記スレーブIDの現在の最高値およびスレーブIDの過去の最高値を初期化することを有する、請求項1に記載のUART Ring通信におけるID自動設定方法。 - 前記変更段階は、
前記複数のスレーブのうち前記自体のIDと同じIDを受信したスレーブが、前記自体のIDを、前記自体のID値に前記基準値を足した値に変更することを有する、請求項1または2に記載のUART Ring通信におけるID自動設定方法。 - 前記変更段階は、
前記マスタが、前記スレーブIDの現在の最高値を、前記受信したスレーブIDのうち最も高い値を有するID値に変更することを有する、請求項1乃至3のいずれか一項に記載のUART Ring通信におけるID自動設定方法。 - 前記終了決定段階は、
前記スレーブIDの現在の最高値と前記マスタに保存された自動設定終了IDとを比較し、前記スレーブIDの現在の最高値と前記マスタに保存された自動設定終了IDとが同じであれば、ID設定が終了する設定終了段階が行われることを有する、請求項1乃至4のいずれか一項に記載のUART Ring通信におけるID自動設定方法。 - 前記設定終了段階は、
前記マスタが、前記複数のスレーブに設定終了信号を出力することを有する、請求項5に記載のUART Ring通信におけるID自動設定方法。 - 前記終了決定段階は、
前記スレーブIDの現在の最高値と前記マスタに保存された自動設定終了IDとを比較し、前記スレーブIDの現在の最高値と前記マスタに保存された自動設定終了IDとが同じでなければ、前記スレーブIDを再設定するスレーブID再設定段階が行われることを有する、請求項1乃至4のいずれか一項に記載のUART Ring通信におけるID自動設定方法。 - 前記再設定段階は、
前記スレーブIDの現在の最高値と前記マスタに保存されたスレーブIDの過去の最高値とが同じであるか否かを決定する最高値同一決定段階と、
前記最高値同一決定段階において、前記スレーブIDの現在の最高値と前記マスタに保存されたスレーブIDの過去の最高値とが同じでなければ、前記スレーブIDの過去の最高値を、前記スレーブIDの現在の最高値に変更する過去の最高値変更段階と、
前記マスタが、前記マスタIDを出力し、前記マスタIDに応答して、前記複数のスレーブが、自体のIDを出力するスレーブID出力段階と、を有する、請求項7に記載のUART Ring通信におけるID自動設定方法。 - 前記最高値同一決定段階は、前記スレーブIDの現在の最高値と前記マスタに保存されたスレーブIDの過去の最高値とが同じであれば、前記マスタが自動設定終了IDを出力する自動設定終了ID出力段階が行われることを有する、請求項8に記載のUART Ring通信におけるID自動設定方法。
- 前記スレーブID出力段階および前記自動設定終了ID出力段階の後、前記変更段階に戻る、請求項9に記載のUART Ring通信におけるID自動設定方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020130117699A KR101816944B1 (ko) | 2013-10-02 | 2013-10-02 | UART Ring 통신의 ID 자동 설정방법 |
KR10-2013-0117699 | 2013-10-02 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015073275A true JP2015073275A (ja) | 2015-04-16 |
JP5820041B2 JP5820041B2 (ja) | 2015-11-24 |
Family
ID=51794718
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014203916A Expired - Fee Related JP5820041B2 (ja) | 2013-10-02 | 2014-10-02 | UARTRing通信におけるID自動設定方法 |
Country Status (6)
Country | Link |
---|---|
US (1) | US9678908B2 (ja) |
EP (1) | EP2863317B1 (ja) |
JP (1) | JP5820041B2 (ja) |
KR (1) | KR101816944B1 (ja) |
CN (1) | CN104518933B (ja) |
ES (1) | ES2623841T3 (ja) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110395197A (zh) * | 2018-04-25 | 2019-11-01 | 矢崎总业株式会社 | 通信系统 |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9942314B2 (en) * | 2014-12-17 | 2018-04-10 | Apriva, Llc | System and method for optimizing web service availability with a node group agreement protocol |
US10212658B2 (en) * | 2016-09-30 | 2019-02-19 | Kinetic Technologies | Systems and methods for managing communication between devices |
CN106452874B (zh) * | 2016-10-18 | 2019-09-24 | 北京东土科技股份有限公司 | 环id生成方法和网络系统 |
CN106533795B (zh) * | 2016-12-14 | 2019-12-13 | 中国东方电气集团有限公司 | 一种自动配置实时光纤通信系统 |
US10757484B2 (en) | 2017-01-05 | 2020-08-25 | Kinetic Technologies | Systems and methods for pulse-based communication |
CN108287801A (zh) * | 2018-01-08 | 2018-07-17 | 深圳必旺电子商务有限公司 | Uart接口串联网络的时分复用装置、时分复用方法及其控制方法 |
JP7070479B2 (ja) * | 2019-03-14 | 2022-05-18 | オムロン株式会社 | 制御システムおよび制御装置 |
JP7107262B2 (ja) | 2019-03-14 | 2022-07-27 | オムロン株式会社 | 制御システムおよび制御装置 |
CN111049944B (zh) * | 2019-12-17 | 2021-01-12 | 武汉绿色网络信息服务有限责任公司 | 一种id发现方法和装置 |
TWI761850B (zh) * | 2020-06-05 | 2022-04-21 | 新唐科技股份有限公司 | 匯流排控制方法及其系統 |
Family Cites Families (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4700230A (en) * | 1984-08-29 | 1987-10-13 | Vicon Industries, Inc. | Modular video control system |
IL96808A (en) * | 1990-04-18 | 1996-03-31 | Rambus Inc | Introductory / Origin Circuit Agreed Using High-Performance Brokerage |
JPH05344137A (ja) | 1992-06-11 | 1993-12-24 | Mitsubishi Electric Corp | データ伝送システム |
JP2959403B2 (ja) * | 1994-07-25 | 1999-10-06 | 松下電工株式会社 | ネットワーク機器の自動id割り付け方法及び装置 |
JPH09293015A (ja) * | 1996-04-24 | 1997-11-11 | Mitsubishi Electric Corp | メモリシステムおよびそれに用いられる半導体記憶装置 |
DE19733906C2 (de) * | 1997-08-05 | 1999-09-30 | Siemens Ag | Verfahren zur automatischen Adreßvergabe, Bussystem zur automatischen Adreßvergabe und Kommunikationsteilnehmer, die im Bussystem bzw. im Rahmen des Verfahrens einsetzbar sind |
GB9718722D0 (en) * | 1997-09-04 | 1997-11-12 | Comm & Control Electronics Ltd | Local communication system |
US6629172B1 (en) * | 1998-12-14 | 2003-09-30 | Micron Technology, Inc. | Multi-chip addressing for the I2C bus |
US6854053B2 (en) * | 2000-10-25 | 2005-02-08 | Signet Scientific Company | Method for identifying and communicating with a plurality of slaves in a master-slave system |
US7111100B2 (en) * | 2002-04-26 | 2006-09-19 | The Boeing Company | Systems and methods for assigning an address to a network device added to an existing network |
US6928501B2 (en) | 2001-10-15 | 2005-08-09 | Silicon Laboratories, Inc. | Serial device daisy chaining method and apparatus |
CH704101B1 (de) * | 2002-11-06 | 2012-05-31 | Barix Ag | Verfahren und Vorrichtung zur synchronisierten Wiedergabe von Datenströmen. |
US7694050B1 (en) * | 2005-11-07 | 2010-04-06 | National Semiconductor Corporation | Method and system for addressing multiple instances of a same type of device on a bus |
JP4739141B2 (ja) * | 2006-02-24 | 2011-08-03 | アラクサラネットワークス株式会社 | リングネットワーク及びマスタノード |
US8364861B2 (en) | 2006-03-28 | 2013-01-29 | Mosaid Technologies Incorporated | Asynchronous ID generation |
CN101315617A (zh) * | 2007-06-01 | 2008-12-03 | 鸿富锦精密工业(深圳)有限公司 | 总线电路装置 |
CN101478577A (zh) * | 2008-01-03 | 2009-07-08 | 鸿富锦精密工业(深圳)有限公司 | 主设备对从设备的定址系统及方法 |
US8594110B2 (en) * | 2008-01-11 | 2013-11-26 | Mosaid Technologies Incorporated | Ring-of-clusters network topologies |
TW201001289A (en) * | 2008-06-27 | 2010-01-01 | Silicon Motion Inc | Embedded system and hardware setting method |
US8700747B2 (en) * | 2011-04-19 | 2014-04-15 | Schneider Electric It Corporation | System and method for automatically addressing devices in a multi-drop network |
-
2013
- 2013-10-02 KR KR1020130117699A patent/KR101816944B1/ko active IP Right Grant
-
2014
- 2014-09-23 US US14/494,349 patent/US9678908B2/en active Active
- 2014-09-25 ES ES14186412.4T patent/ES2623841T3/es active Active
- 2014-09-25 EP EP14186412.4A patent/EP2863317B1/en active Active
- 2014-09-30 CN CN201410649141.6A patent/CN104518933B/zh active Active
- 2014-10-02 JP JP2014203916A patent/JP5820041B2/ja not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110395197A (zh) * | 2018-04-25 | 2019-11-01 | 矢崎总业株式会社 | 通信系统 |
Also Published As
Publication number | Publication date |
---|---|
CN104518933B (zh) | 2018-04-10 |
EP2863317B1 (en) | 2017-02-01 |
US9678908B2 (en) | 2017-06-13 |
KR101816944B1 (ko) | 2018-01-09 |
KR20150039304A (ko) | 2015-04-10 |
EP2863317A3 (en) | 2015-08-19 |
ES2623841T3 (es) | 2017-07-12 |
CN104518933A (zh) | 2015-04-15 |
JP5820041B2 (ja) | 2015-11-24 |
US20150095536A1 (en) | 2015-04-02 |
EP2863317A2 (en) | 2015-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5820041B2 (ja) | UARTRing通信におけるID自動設定方法 | |
EP2950219B1 (en) | Method and apparatus for using serial port in time division multiplexing manner | |
WO2015010662A1 (zh) | 一种天线阵列控制装置、方法以及系统 | |
CN105389278A (zh) | 一种基于can总线的主从机串行通信方法 | |
WO2014121471A1 (zh) | 数据传输、获取方法、基站及用户设备 | |
TW201722177A (zh) | Zigbee網路系統及其備援方法 | |
WO2017157065A1 (zh) | 管理表计设备地址的方法、采集终端和表计设备 | |
EP3024200B1 (en) | Port number extension method and switch | |
JP2005277978A (ja) | 識別番号自動設定方法及び識別番号自動設定装置 | |
US8145812B1 (en) | Line driving and receiving system | |
CN105703935A (zh) | 具自动切换共享网络功能的服务器系统 | |
TW201731272A (zh) | 具有自動從屬選擇產生之串列週邊介面 | |
WO2016078357A1 (zh) | 主机、主机管理从机的方法及系统 | |
CN104683130A (zh) | 一种配置堆叠端口的方法和设备 | |
US8874821B2 (en) | Determination of a zoned portion of a service delivery system | |
JP6496747B2 (ja) | 通信するホストから離れた、シリアル半二重トランシーバにおけるtx/rxモード制御 | |
US10417164B2 (en) | Synchronous transmission device and synchronous transmission method | |
CN109088740B (zh) | 一种中继网络系统及网络连接方法 | |
JP6339438B2 (ja) | 産業機器制御用ネットワークシステム | |
KR101126718B1 (ko) | 지향성 섹터 안테나 구비에 따른 유무선 스위칭을 이용한 데이터 전송 장치 및 그 방법 | |
KR101148060B1 (ko) | 네트워크 기반 로봇 제어 방법 및 그 장치 | |
JP6378158B2 (ja) | 集線装置及び方法 | |
CN109428750B (zh) | 一种点到多点业务传输方法和装置 | |
CN108701103B (zh) | 具有工作存储器的计算单元的存储器直接访问控制装置 | |
JP2009037550A (ja) | マスタースレーブカードシステムとその処理方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150821 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20150901 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20151001 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5820041 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |