Single-bus ROM address search algorithm for transformer area intelligent fusion terminal
The invention discloses a single-bus ROM address search algorithm for a transformer area intelligent fusion terminal. When a single bus has a plurality of devices, a system is unknown to ROM address codes of the devices, and how to distinguish the single bus devices and realize time-sharing driving...
Gespeichert in:
Hauptverfasser: | , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a single-bus ROM address search algorithm for a transformer area intelligent fusion terminal. When a single bus has a plurality of devices, a system is unknown to ROM address codes of the devices, and how to distinguish the single bus devices and realize time-sharing driving is the key of the single bus technology. According to the single-bus search algorithm, search is carried out in a binary tree mode in a mode of reading two bits and writing one bit, forking and content writing are determined by ROM address codes and bits before code reading 00 when the code reading 00 is encountered, and search of the ROM address of a device is completed until the highest 00 bits are updated to 0.
本发明公开了一种用于台区智能融合终端的单总线ROM地址搜索算法。单总线有多个器件时,系统对器件ROM地址码未知,如何对这些单总线器件进行区分,实现分时驱动,是单总线技术的关键。本发明介绍的单总线搜索算法以二叉树的形式,采用读取两位写入一位的方式进行搜索,遇到读码为00时分叉,写入内容,由读码00之前的ROM地址码和位次决定,直到最高00位更新为0,完成对器件ROM地址的搜索。 |
---|