WO2011012041A1 - System and mothod for setting addresses of serial bus slave devices - Google Patents

System and mothod for setting addresses of serial bus slave devices Download PDF

Info

Publication number
WO2011012041A1
WO2011012041A1 PCT/CN2010/075001 CN2010075001W WO2011012041A1 WO 2011012041 A1 WO2011012041 A1 WO 2011012041A1 CN 2010075001 W CN2010075001 W CN 2010075001W WO 2011012041 A1 WO2011012041 A1 WO 2011012041A1
Authority
WO
WIPO (PCT)
Prior art keywords
serial bus
address
master device
slave
switch
Prior art date
Application number
PCT/CN2010/075001
Other languages
French (fr)
Chinese (zh)
Inventor
周保航
刘明明
孟燕妮
韦树旺
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011012041A1 publication Critical patent/WO2011012041A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4291Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a clocked protocol
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5038Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]

Definitions

  • a master-slave serial bus is a device or unit that shares a bus in a product or system, and monitors and controls multiple slave devices (or units) through one master device (or unit).
  • Each slave (unit) has its own core processing unit that can operate independently and perform the same or different functions. Since a bus is shared, each slave device must have its own unique address to achieve normal communication functions.
  • the current method for setting the slave address has the following method: A unique address is set from the device unit itself via software or hardware. This method can be applied when the slave devices are different from each other; however, when there are multiple identical slave devices, it is completely unsuitable. Manually set the address, that is, manually set a different address for each slave device when the entire system or product is initially running, which may cause additional setup workload and is prone to setup errors. On the system, there are different dialing or jumper settings at the interface corresponding to each slave device. After the slave device is plugged into the system, read the status of these dials or jumpers to obtain their own address. This makes the production of the system more cumbersome, and the interface between the device and the system is complicated.
  • Each slave device has its own address line connected to the master device, and the slave device is strobed through the address line. This causes a lot of address lines at the master device, which is not suitable for systems with more slave devices.
  • the invention provides a simple and reliable serial master-slave bus structure. By adding a small amount of hardware and signals, combined with the following setting method, the automatic order setting of the slave device addresses can be realized.
  • a serial bus slave device address setting system comprising: a master device, disposed at one end of a serial bus, for setting an address for a slave device; Slave devices are respectively connected to the master device via a serial bus; and a plurality of switches, wherein each switch corresponds to each slave device of the plurality of slave devices, and is disposed along the serial bus after the corresponding slave device And for accepting corresponding slave device control, wherein each of the plurality of slave devices is configured to control the corresponding switch to be in an off state in response to an initialization setting instruction from the master device, and configured to respond to the effective from the master device The signal of the address controls the corresponding switch to be in an on state.
  • each of the plurality of slave devices comprises: a transceiver unit, configured to receive an initialization setting instruction from the master device via the serial bus and/or a signal for receiving an effective address from the master device via the serial bus
  • the switch control unit is configured to control the corresponding switch to be in an off state according to the initial setting instruction, and to be used in the on state corresponding to the effective address control.
  • the other end of the serial bus is provided with a bus state monitoring unit for monitoring the on/off state of the serial bus, wherein when the signal sent by the master device is not received, it is used to determine that the serial bus is in an off state. When receiving a signal from the master device, it is used to determine that the serial bus is in the on state.
  • both ends of the serial bus are connected into a loop by connecting a connection line with an emergency switch, wherein when the serial bus is in an off state, the emergency switch is turned on.
  • the plurality of switches are normally closed switches
  • the emergency switches are normally open switches.
  • each of the plurality of slave devices is further configured to initialize its own address in response to an initialization setting instruction from the master device.
  • the master device stores not less than the effective addresses of the plurality of slave devices that are different from each other.
  • the master device sequentially sends the effective address through the serial bus.
  • the interval time T at which the master device sends the effective address is not less than the time required for the switch to perform the conduction action.
  • the valid address signal is the first address signal received by each of the plurality of slave devices from the master device.
  • the present invention proposes a serial bus slave device address setting method, the method comprising: the slave device controls the corresponding switch of the slave device to be in an open state in response to an initialization setting instruction from the master device. And/or the slave device controls its own corresponding switch to be in a conducting state in response to a signal from the active address of the master device.
  • the order of the slave device addresses can be automatically set; and, regardless of the number of devices and the physical location (the number of devices may be less than the number of nodes, the physical locations may not be sequentially arranged; ), the addresses of the slave devices are all sequential.
  • the slave device address is set in order, making the fault at the on-site inspection clear from the location of the device.
  • the bus status can be monitored and the self-diagnosis function can be realized. At the same time, the number of online slave devices can be automatically counted.
  • the slave address setting can be completed automatically and sequentially.
  • the bus structure is simple, the number of added devices is small; the setting method is simple and reliable; the efficiency of device address setting can be improved, the efficiency of product production and maintenance can be improved, the probability of address setting error can be reduced; and the reliability of communication can be improved.
  • FIG. 1 is a schematic diagram showing the physical structure of a serial bus according to the present invention
  • FIG. 2 is a first schematic diagram showing a bus change when a device address is sequentially arranged according to an exemplary embodiment of the present invention
  • FIG. 4 is a schematic diagram of a bus change when the slave device address is sequentially set
  • FIG. 4 is a bus change when the slave device address is sequentially set according to an exemplary embodiment of the present invention.
  • FIG. 3 is a schematic diagram 4 of a bus change when the device address is sequentially set according to an exemplary embodiment of the present invention
  • FIG. 6 is a first schematic diagram of emergency processing when a bus fault occurs in an exemplary embodiment of the present invention
  • FIG. 2 is a schematic diagram of emergency handling in the event of a bus failure of an exemplary embodiment of the present invention.
  • DETAILED DESCRIPTION OF THE INVENTION The present invention provides a simple and effective serial bus structure. For this structure, a method for automatically setting the slave device addresses is proposed, which can realize the automatic slave address of the master-slave serial bus. Setting; At the same time, it can also monitor the bus status, realize the automatic processing of faults, and greatly improve the reliability of communication.
  • the entire structure of the present invention includes: a master device (including a bus state listening unit), a slave device, a ring serial bus, and a slave address setting switch.
  • a master device including a bus state listening unit
  • slave device including a bus state listening unit
  • ring serial bus including a ring serial bus
  • slave address setting switch included in the entire serial bus structure
  • the master device has only one in the system, and the part of the master device connected to the serial bus includes two units: a main transceiver unit and a bus state monitoring unit; the main transceiver unit is used for communication with the slave device, and completes Device control, status detection and address setting are located at the head end of the serial bus; the bus status monitoring unit is used to monitor the status of the serial bus, contains only one receiving unit, can receive data on the bus, can not send data, and the bus The ends are connected.
  • an emergency switch K in Figure 1
  • K is a normally open switch that connects the head end and end of the bus together to form a bus loop.
  • each slave device There may be more than one slave device, which is a unit with independent functions in the system; the slave device is directly connected to the bus, and each slave device is connected to the serial bus also includes two units: communication transceiver unit, complete from The communication function between the device and the system; the switch control unit for controlling the switches connected in series on the bus, each slave device can only control the switch located behind the node connected to the serial bus.
  • the 2# slave device in the figure can only control the K2 switch in the bus.
  • the interface from the device to the bus is uniform and simple, only the bus interface and the address setting switch control interface.
  • the address setting switch is serially connected to the serial bus, the number of which is corresponding to the number of nodes on the bus that can be connected to the slave device; its position is located behind each node, and the node is located The slave device connected to it is controlled.
  • the switch is a normally closed switch (normally closed) that disconnects the portion of the bus that follows the node from the bus.
  • a master-slave serial bus the head end of which is connected to the main transceiver unit of the master device, and the end is connected to the bus state monitoring unit of the master device; the middle includes a plurality of nodes, and each node can be connected to a slave device; After the nodes are connected in series with an address setting switch, each node portion can be divided into isolated intervals.
  • Step 1 Start slave address setting Before the device address setting is triggered, the master bus status monitor unit detects the bus status: Under normal conditions, all switches on the serial bus remain closed, and the serial bus is connected. At this time, the data sent by the main transceiver unit can be received. In an abnormal situation, if the main device bus state monitoring unit does not receive the data sent by the main device main transceiver unit, the bus may have a disconnection point, give an abnormal alarm, and perform emergency response processing. The bus state at this time is shown in Figure 1. After triggering from the device address setting, the main transceiver unit sends a broadcast command for setting the address to all the slave devices on the bus. After receiving the command correctly, all the slave devices clear their own device address to "0"; The control unit controls the switching action. The bus state at this time is shown in Figure 2. At this time, only the 1# slave device and the master device are connected.
  • Step 2 Set 1# slave device master device main transceiver unit to send 1# slave device address setting command. At this time, only 1# device communicates with the master device. After the 1# device receives the command correctly, it will itself. Change the address to " ⁇ and send a confirmation command to the master device, and control the switch to close (the K1 switch in the figure is closed). At this point, the 2# slave device is connected to the bus, as shown in Figure 3.
  • Step 3 Set 2# ⁇ N# slave device address in Figure 3, 1# slave device, 2# slave device is connected to master device, 1# slave device address is " ⁇ , 2# The slave device address is "0"; the master device master transceiver unit sends the 2# slave device address setting command, the 2# slave device address changes its own address to "2", and sends a confirmation command to the master device, and the control switch is closed ( The K2 switch in the figure is closed).
  • the 3# slave device is connected to the bus, as shown in Figure 4. Repeat the above operation to complete the 3# ⁇ N# slave device address setting.
  • After the N# slave device address is set send a confirmation command to the master device and control the switch to close (the KN switch in the figure is closed), as shown in Figure 5.
  • Step 4 Complete the slave device address setting
  • the master device sends the slave device address setting command again, and the bus state monitoring unit receives the address setting command. At this time, all slave device address settings are completed, and the master device records the number of slave devices.
  • Reliability strategy During system operation, the bus status monitoring unit in the master monitors the status of the entire bus, in the event of a disconnection somewhere on the serial bus (such as a disconnection at the bus connection or an address caused by a slave device failure) When the setting switch is turned off, the bus status monitoring unit will not receive the data of the main sending unit, and the main device will recognize that the bus has a disconnection fault and will enter the communication emergency processing mode. At this time, the main device will close the emergency switch (as shown in the figure).
  • the switch in the bus structure is the key device for address setting. It needs to be selected as the normally closed type to ensure that the bus is connected when the slave device is not plugged into the system.
  • a communication combined power supply system is configured with six intelligent rectifier modules, and one monitoring unit is configured, and the monitoring unit is configured to detect and control six intelligent rectifier modules. , using RS485 network between them Communication. In this way, the monitoring unit is the master device and the six rectifier modules are the slave devices.
  • the specific address setting process is as follows:
  • the monitoring unit determines whether the bus is normal by sending a test command. If the bus status monitoring unit in the monitoring unit can receive the test command, the bus is normal, otherwise it is abnormal;
  • the monitoring unit After confirming that the bus is correct, the monitoring unit sends a broadcast command for the address setting. After each rectifier module receives the command, the rectifier module changes its own address to "0" and controls its corresponding switching action.
  • the monitoring unit After the delay time T (T is greater than the action time of the switch), the monitoring unit sends a command to set the address to "1" to the "0" address rectifier. At this time, only the 1# rectifier can receive the command, which will itself The address is changed to "1" and a confirmation command is sent to the monitoring unit, and the control switch returns to the normal state.
  • the monitoring unit After receiving the " ⁇ address setting successful confirmation, and then waiting for T time, the monitoring unit sends a command to set the address to "2" to the "0" address rectifier. At this time, only the address of the 2# rectifier is "0", 2 # rectifier After receiving the command, change its own address to "2”, and send a confirmation command to the monitoring unit, and the control switch returns to the normal state.

Abstract

A system for setting addresses of serial bus slave devices is disclosed. The system comprises: a master device located in one end of the serial bus; a plurality of slave devices connected with the master device via the serial bus for setting their own addresses according to set information from the master; and a plurality of switches controlled by corresponding slave devices. Each switch corresponds to each of a plurality of slave devices, and is located behind the corresponding slave device along the serial bus. Each of the plurality of slave devices switches off a corresponding switch responding to an initialization setting instruction from the master device, and switches on the corresponding switch responding to an effective address signal from the master device. A method for setting addresses of serial bus slave devices is also disclosed. The technical solution can set addresses of serial bus slave devices automatically and sequentially.

Description

串行总线从设备地址设置系统及方法 技术领域 本发明涉及总线通讯领域, 更具体地, 涉及一种串行总线从设备地址设 置系统及方法。 背景技术 随着技术的发展, 在工业控制、 通讯、 汽车、 消费电子等领域和产品中, 嵌入式控制器和串行主从式总线在大范围的使用。 主从式的串行总线是产品 或系统中多个设备或者单元共享一条总线, 通过一个主设备 (或单元) 对多 个从设备(或单元) 进行监测和控制。 每个从设备(单元) 都有自己的核心 处理单元, 能够独立的运行, 完成相同或不同的自身功能。 由于共享一条总线, 每个从设备都要有自己独一无二的地址, 才能实现 正常的通讯功能, 从设备自身地址的获取就显尤为重要。 当前对于从设备地 址的设置有以下的方法: 从设备单元自身内部通过软件或硬件设定了一个独一无二的地址。 这种 方法可适用于各从设备之间互不相同的时候; 但是对于有多个相同的从设备 时候, 是完全不适用的。 手动进行地址的设置, 即在整个系统或产品最初运行的时候, 给每个从 设备手动设置不同的地址, 这样或造成额外的设置工作量, 且容易出现设置 错误。 在系统上, 每个从设备对应的接口处有不同的拨码或跳线设置; 从设备 插入系统之后, 读取这些拨码或跳线的状态, 获得自身地址。 这样在系统的 生产就较繁瑣, 且从设备与系统的接口也会复杂。 每个从设备有自己一个地址线与主设备相连,通过地址线来选通从设备; 这样或造成主设备处的地址线很多, 不适合从设备较多的系统。 本发明提供一种简单可靠的串行主从式总线结构, 通过增加少许的硬件 和信号, 结合下面的设置方法, 可实现对从设备地址的自动顺序设置。 发明内容 为了实现对从设备地址的自动顺序设置, 本发明提出了一种串行总线从 设备地址设置系统: 包括: 主设备, 设置在串行总线的一端, 用于为从设备 设置地址; 多个从设备, 经串行总线分别连接至主设备; 以及多个开关, 其 中每个开关与多个从设备中的每个从设备——对应, 并沿串行总线设置在对 应的从设备之后, 用于接受对应的从设备控制, 其中, 多个从设备中的每个 从设备用于响应来自主设备的初始化设置指令而控制对应的开关处于断开状 态, 并用于响应来自主设备的有效地址的信号而控制对应的开关处于导通状 态。 其中, 多个从设备中的每个从设备均包括: 收发单元, 用于经串行总线 接收来自主设备的初始化设置指令和 /或用于经串行总线接收来自主设备的 有效地址的信号; 开关控制单元, 用于根据初始化设置指令控制对应的开关 处于断开状态, 并用于 居有效地址控制对应的开关处于导通状态。 其中, 串行总线的另一端上设置有总线状态监听单元, 用于监测串行总 线的通断状态, 其中, 未接收到主设备发出的信号时, 用于确定串行总线处 于断开状态, 当接收到主设备发出的信号时, 用于确定串行总线处于导通状 态。 其中, 串行总线的两端通过跨接有应急开关的连接线而连接成环路, 其 中, 当串行总线处于断开状态时, 导通应急开关。 其中, 多个开关是常闭型开关, 应急开关是常开型开关。 其中, 多个从设备中的每个从设备还用于响应来自主设备的初始化设置 指令而将自身的地址初始化。 其中,主设备中存储有不少于多个从设备的个数的彼此不同的有效地址。 其中, 主设备通过串行总线依次发送有效地址。 其中, 主设备发送有效地址的间隔时间 T不小于开关进行导通动作所需 的时间。 其中, 有效地址的信号是多个从设备中的每个从设备从主设备接收到的 第一个地址信号。 为了实现对从设备地址的自动顺序设置, 本发明提出了一种串行总线从 设备地址设置方法, 该方法包括: 从设备响应来自主设备的初始化设置指令 而控制自身对应的开关处于断开状态; 和 /或从设备响应来自主设备的有效地 址的信号而控制自身对应的开关处于导通状态。 本发明的有益效果如下: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the field of bus communication, and more particularly to a serial bus slave address setting system and method. BACKGROUND OF THE INVENTION With the development of technology, in the fields of industrial control, communication, automobile, consumer electronics and the like, embedded controllers and serial master-slave buses are widely used. A master-slave serial bus is a device or unit that shares a bus in a product or system, and monitors and controls multiple slave devices (or units) through one master device (or unit). Each slave (unit) has its own core processing unit that can operate independently and perform the same or different functions. Since a bus is shared, each slave device must have its own unique address to achieve normal communication functions. It is especially important to obtain the address of the device itself. The current method for setting the slave address has the following method: A unique address is set from the device unit itself via software or hardware. This method can be applied when the slave devices are different from each other; however, when there are multiple identical slave devices, it is completely unsuitable. Manually set the address, that is, manually set a different address for each slave device when the entire system or product is initially running, which may cause additional setup workload and is prone to setup errors. On the system, there are different dialing or jumper settings at the interface corresponding to each slave device. After the slave device is plugged into the system, read the status of these dials or jumpers to obtain their own address. This makes the production of the system more cumbersome, and the interface between the device and the system is complicated. Each slave device has its own address line connected to the master device, and the slave device is strobed through the address line. This causes a lot of address lines at the master device, which is not suitable for systems with more slave devices. The invention provides a simple and reliable serial master-slave bus structure. By adding a small amount of hardware and signals, combined with the following setting method, the automatic order setting of the slave device addresses can be realized. SUMMARY OF THE INVENTION In order to achieve automatic sequence setting of slave device addresses, the present invention proposes a serial bus slave device address setting system: comprising: a master device, disposed at one end of a serial bus, for setting an address for a slave device; Slave devices are respectively connected to the master device via a serial bus; and a plurality of switches, wherein each switch corresponds to each slave device of the plurality of slave devices, and is disposed along the serial bus after the corresponding slave device And for accepting corresponding slave device control, wherein each of the plurality of slave devices is configured to control the corresponding switch to be in an off state in response to an initialization setting instruction from the master device, and configured to respond to the effective from the master device The signal of the address controls the corresponding switch to be in an on state. Wherein each of the plurality of slave devices comprises: a transceiver unit, configured to receive an initialization setting instruction from the master device via the serial bus and/or a signal for receiving an effective address from the master device via the serial bus The switch control unit is configured to control the corresponding switch to be in an off state according to the initial setting instruction, and to be used in the on state corresponding to the effective address control. The other end of the serial bus is provided with a bus state monitoring unit for monitoring the on/off state of the serial bus, wherein when the signal sent by the master device is not received, it is used to determine that the serial bus is in an off state. When receiving a signal from the master device, it is used to determine that the serial bus is in the on state. Wherein, both ends of the serial bus are connected into a loop by connecting a connection line with an emergency switch, wherein when the serial bus is in an off state, the emergency switch is turned on. Among them, the plurality of switches are normally closed switches, and the emergency switches are normally open switches. Wherein each of the plurality of slave devices is further configured to initialize its own address in response to an initialization setting instruction from the master device. The master device stores not less than the effective addresses of the plurality of slave devices that are different from each other. The master device sequentially sends the effective address through the serial bus. The interval time T at which the master device sends the effective address is not less than the time required for the switch to perform the conduction action. The valid address signal is the first address signal received by each of the plurality of slave devices from the master device. In order to realize the automatic sequence setting of the slave device address, the present invention proposes a serial bus slave device address setting method, the method comprising: the slave device controls the corresponding switch of the slave device to be in an open state in response to an initialization setting instruction from the master device. And/or the slave device controls its own corresponding switch to be in a conducting state in response to a signal from the active address of the master device. The beneficial effects of the present invention are as follows:
1 ) 通过增加地址设置开关, 可以实现从设备地址的顺序自动设置; 并 且, 不论从设备的数量和物理位置如何 (既从设备的数量可能少于节点数, 物理位置上也可以不顺序排列;),从设备的地址都是顺序连续的。从设备地址 顺序设置, 使得现场检修时故障从设备的定位一目了然。 2 ) 由于主设备内部有总线状态监听单元, 可实现对总线状态的监测, 实现自诊断的功能; 同时还可自动统计在线从设备的数量。 1) By adding the address setting switch, the order of the slave device addresses can be automatically set; and, regardless of the number of devices and the physical location (the number of devices may be less than the number of nodes, the physical locations may not be sequentially arranged; ), the addresses of the slave devices are all sequential. The slave device address is set in order, making the fault at the on-site inspection clear from the location of the device. 2) Since there is a bus status monitoring unit inside the main device, the bus status can be monitored and the self-diagnosis function can be realized. At the same time, the number of online slave devices can be automatically counted.
3 ) 主设备中应急开关的存在可以应对总线断开的故障, 实现故障的自 动处理, 大大提高通讯的可靠性。 总之, 釆用本发明所述串行总线结构和方法, 可以自动、 顺序完成从设 备地址设置。 总线结构简单, 增加的器件少; 设置方法简单可靠; 可提高设 备地址设置的效率,提高产品生产和维护的效率, 减少地址设置出错的概率; 可以提高通讯的可靠性。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 限定。 在附图中: 图 1是根据本发明的串行总线的物理结构示意图; 图 2是根据本发明的示例性实施例的从设备地址顺序设置时总线变化的 示意图一; 图 3是根据本发明的示例性实施例的从设备地址顺序设置时总线变化的 示意图二; 图 4是根据本发明的示例性实施例的从设备地址顺序设置时总线变化的 示意图三 图 5是根据本发明的示例性实施例的从设备地址顺序设置时总线变化的 示意图四; 图 6是 居本发明的示例性实施例的总线故障时的应急处理示意图一; 图 7是 居本发明的示例性实施例的总线故障时的应急处理示意图二。 具体实施方式 本发明提供了一种简单有效的串行总线结构形式, 针对这种结构, 提出 了一种从设备地址自动顺序设置的方法, 可实现主从式串行总线的从设备地 址的自动设置; 同时还可以监听总线状态, 实现故障的自动处理, 大大提高 通讯的可靠性。 通过这一简单的结构和方法实现了从设备地址的自动顺序设 置, 提高生产和维护的效率, 减少了误设置的概率, 同时提高了通讯的可靠 性。 下面结合附图对进行说明。 本发明的整个结构包括: 主设备(含总线状态监听单元)、 从设备、 环形 的串行总线、 从设备地址设置开关。 整个串行总线结构形式如图 1 , 其中: 3) The presence of the emergency switch in the main equipment can cope with the bus disconnection fault, realize the automatic processing of the fault, and greatly improve the reliability of the communication. In summary, with the serial bus structure and method of the present invention, the slave address setting can be completed automatically and sequentially. The bus structure is simple, the number of added devices is small; the setting method is simple and reliable; the efficiency of device address setting can be improved, the efficiency of product production and maintenance can be improved, the probability of address setting error can be reduced; and the reliability of communication can be improved. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a schematic diagram showing the physical structure of a serial bus according to the present invention; FIG. 2 is a first schematic diagram showing a bus change when a device address is sequentially arranged according to an exemplary embodiment of the present invention; FIG. 4 is a schematic diagram of a bus change when the slave device address is sequentially set; FIG. 4 is a bus change when the slave device address is sequentially set according to an exemplary embodiment of the present invention. FIG. 3 is a schematic diagram 4 of a bus change when the device address is sequentially set according to an exemplary embodiment of the present invention; FIG. 6 is a first schematic diagram of emergency processing when a bus fault occurs in an exemplary embodiment of the present invention; FIG. 2 is a schematic diagram of emergency handling in the event of a bus failure of an exemplary embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION The present invention provides a simple and effective serial bus structure. For this structure, a method for automatically setting the slave device addresses is proposed, which can realize the automatic slave address of the master-slave serial bus. Setting; At the same time, it can also monitor the bus status, realize the automatic processing of faults, and greatly improve the reliability of communication. Through this simple structure and method, the automatic order setting of the slave device address is realized, the efficiency of production and maintenance is improved, the probability of misconfiguration is reduced, and the reliability of communication is improved. The following description will be made in conjunction with the accompanying drawings. The entire structure of the present invention includes: a master device (including a bus state listening unit), a slave device, a ring serial bus, and a slave address setting switch. The entire serial bus structure is shown in Figure 1, where:
1 ) 主设备在系统中只有一个, 主设备内部与串行总线的相连的部分包 括两个单元: 主收发单元和总线状态监听单元; 主收发单元用于与从设备之 间的通讯、 完成从设备的控制、 状态检测和地址设置, 位于串行总线的首端; 总线状态监听单元用于监测串行总线的状态, 只含有一个接收单元, 可以接 收总线上的数据, 不可发送数据, 与总线的末端相连。 在主设备内部有一个 应急开关 (图 1中的 Ke ), 该开关是一个常开的开关, 在其动作时可以将总 线首端和末端连接在一起, 形成一个总线环路。 1) The master device has only one in the system, and the part of the master device connected to the serial bus includes two units: a main transceiver unit and a bus state monitoring unit; the main transceiver unit is used for communication with the slave device, and completes Device control, status detection and address setting are located at the head end of the serial bus; the bus status monitoring unit is used to monitor the status of the serial bus, contains only one receiving unit, can receive data on the bus, can not send data, and the bus The ends are connected. Inside the main unit is an emergency switch (K in Figure 1), which is a normally open switch that connects the head end and end of the bus together to form a bus loop.
2 ) 从设备可以有多个, 是系统中有独立功能的单元; 从设备直接挂接 在总线上, 每个从设备与串行总线相连的部分也包括两个单元: 通讯收发单 元, 完成从设备与系统之间的通讯功能; 开关控制单元, 用于控制串接在总 线上的开关, 每个从设备只能控制位于其与串行总线相连的节点之后的那个 开关。 例如图中的 2#从设备就只能控制总线中的 K2开关。 从设备与总线相 连的接口统一且简单, 只有总线接口和地址设置开关控制接口。 3 ) 地址设置开关, 串接在串行总线之中, 其的数量是与总线上所具有 的可与从设备相连的节点数——对应; 其位置是位于每个节点的后面, 由该 节点上所连接的从设备控制。 该开关是一个常闭的开关 (常态是闭合状态), 该开关动作时可将总线上该节点之后的部分与总线断开。 4 ) 主从式的串行总线, 其首端与主设备的主收发单元相连, 末端与主 设备的总线状态监听单元相连; 中间包含有多个节点, 每个节点可连接一个 从设备; 每个节点之后串接一个地址设置开关, 可以将每个节点部分分割成 一个个隔离的区间。 下面具体叙述从设备地址设置的方法。 1 ) 第一步: 启动从设备地址设置 从设备地址设置被触发之前, 主设备总线状态监听单元检测总线状态: 正常情况下, 串行总线上的所有开关都保持闭合状态, 串行总线是连通 的, 此时可收到主收发单元发出的数据。 异常情况下, 主设备总线状态监听单元收不到主设备主收发单元发出的 数据, 则总线可能存在断开点, 给出异常告警, 并进行故障的应急处理。 此 时的总线状态如图 1所示。 从设备地址设置触发之后, 主收发单元向总线上所有从设备发送设置地 址的广播命令, 所有的从设备在正确接收到该命令之后, 将自身的设备地址 清成 "0" ; 同时, 通过开关控制单元控制开关动作。 此时的总线状态如图 2 所示, 此时只有 1#从设备与主设备之间是相通的。 2) There may be more than one slave device, which is a unit with independent functions in the system; the slave device is directly connected to the bus, and each slave device is connected to the serial bus also includes two units: communication transceiver unit, complete from The communication function between the device and the system; the switch control unit for controlling the switches connected in series on the bus, each slave device can only control the switch located behind the node connected to the serial bus. For example, the 2# slave device in the figure can only control the K2 switch in the bus. The interface from the device to the bus is uniform and simple, only the bus interface and the address setting switch control interface. 3) The address setting switch is serially connected to the serial bus, the number of which is corresponding to the number of nodes on the bus that can be connected to the slave device; its position is located behind each node, and the node is located The slave device connected to it is controlled. The switch is a normally closed switch (normally closed) that disconnects the portion of the bus that follows the node from the bus. 4) A master-slave serial bus, the head end of which is connected to the main transceiver unit of the master device, and the end is connected to the bus state monitoring unit of the master device; the middle includes a plurality of nodes, and each node can be connected to a slave device; After the nodes are connected in series with an address setting switch, each node portion can be divided into isolated intervals. The method of setting the slave device address will be specifically described below. 1) Step 1: Start slave address setting Before the device address setting is triggered, the master bus status monitor unit detects the bus status: Under normal conditions, all switches on the serial bus remain closed, and the serial bus is connected. At this time, the data sent by the main transceiver unit can be received. In an abnormal situation, if the main device bus state monitoring unit does not receive the data sent by the main device main transceiver unit, the bus may have a disconnection point, give an abnormal alarm, and perform emergency response processing. The bus state at this time is shown in Figure 1. After triggering from the device address setting, the main transceiver unit sends a broadcast command for setting the address to all the slave devices on the bus. After receiving the command correctly, all the slave devices clear their own device address to "0"; The control unit controls the switching action. The bus state at this time is shown in Figure 2. At this time, only the 1# slave device and the master device are connected.
2 ) 第二步: 设置 1#从设备地址 主设备主收发单元发送 1#从设备地址设置命令, 此时只有 1#设备与主 设备相通, 1#设备在正确接收到该命令之后, 将本身的地址改为 " Γ , 并向 主设备发送确认命令, 同时控制开关闭合(图中的 K1开关闭合)。 此时, 2# 从设备连接到了总线上, 如图 3所示。 2) Step 2: Set 1# slave device master device main transceiver unit to send 1# slave device address setting command. At this time, only 1# device communicates with the master device. After the 1# device receives the command correctly, it will itself. Change the address to " Γ and send a confirmation command to the master device, and control the switch to close (the K1 switch in the figure is closed). At this point, the 2# slave device is connected to the bus, as shown in Figure 3.
3 ) 第三步: 设置 2#〜N#从设备地址 图 3中, 1#从设备、 2#从设备与主设备相连, 1#从设备地址为 " Γ , 2# 从设备地址为 "0" ; 主设备主收发单元发送 2#从设备地址设置命令, 2#从设备地址将本身的 地址改为 "2" , 并向主设备发送确认命令, 同时控制开关闭合 (图中的 K2 开关闭合)。 此时, 3#从设备连接到了总线上, 如图 4所示。 重复上述操作,完成 3#〜N#从设备地址设置。 N#从设备地址设置完成后, 向主设备发送确认命令, 同时控制开关闭合(图中的 KN开关闭合), 如图 5 所示。 3) Step 3: Set 2#~N# slave device address in Figure 3, 1# slave device, 2# slave device is connected to master device, 1# slave device address is "Γ, 2# The slave device address is "0"; the master device master transceiver unit sends the 2# slave device address setting command, the 2# slave device address changes its own address to "2", and sends a confirmation command to the master device, and the control switch is closed ( The K2 switch in the figure is closed). At this point, the 3# slave device is connected to the bus, as shown in Figure 4. Repeat the above operation to complete the 3#~N# slave device address setting. After the N# slave device address is set, send a confirmation command to the master device and control the switch to close (the KN switch in the figure is closed), as shown in Figure 5.
4 ) 第四步: 从设备地址设置完成 主设备再次发送从设备地址设置命令, 总线状态监听单元收到地址设置 命令, 此时所有从设备地址设置完成, 主设备记录下从设备的数量。 可靠性策略: 在系统运行中, 主设备中的总线状态监听单元监测整个总线的状态, 在 出现串行总线某处断开的故障时 (如总线连接处断开或者某个从设备故障造 成地址设置开关断开), 总线状态监听单元将无法收到主发送单元的数据, 主 设备就认定总线出现断开故障, 将进入通讯应急处理模式, 此时主设备就会 闭合应急开关(如图), 将总线变成一个环状, 以应对总线断开的故障。 在总 线上出现一处断开时(例如图 6所示 K2异常断开), 通过这一通讯应急模式 处理可以完全恢复整个网络的通讯, 整个网络还是连通的; 在出现多处断开 时 (例如图 7所示 A、 K2处断开), 也可以将通讯断的故障限制在一定的范 围 (A和 K2之间的区域); 从而大大提高了通讯的可靠性。 实际使用中注意的问题: 4) Step 4: Complete the slave device address setting The master device sends the slave device address setting command again, and the bus state monitoring unit receives the address setting command. At this time, all slave device address settings are completed, and the master device records the number of slave devices. Reliability strategy: During system operation, the bus status monitoring unit in the master monitors the status of the entire bus, in the event of a disconnection somewhere on the serial bus (such as a disconnection at the bus connection or an address caused by a slave device failure) When the setting switch is turned off, the bus status monitoring unit will not receive the data of the main sending unit, and the main device will recognize that the bus has a disconnection fault and will enter the communication emergency processing mode. At this time, the main device will close the emergency switch (as shown in the figure). , turns the bus into a ring to deal with bus disconnection failures. When a disconnection occurs on the bus (for example, K2 is abnormally disconnected as shown in Figure 6), the communication emergency mode processing can completely restore the communication of the entire network, and the entire network is still connected; when multiple disconnections occur ( For example, A and K2 are disconnected as shown in Fig. 7. It is also possible to limit the failure of the communication to a certain range (the area between A and K2); thereby greatly improving the reliability of communication. Problems in actual use:
1 ) 总线结构中的开关是地址设置的关键器件, 需要选择为常闭类型的, 以保证在从设备未插入系统时, 总线是连通的。 1) The switch in the bus structure is the key device for address setting. It needs to be selected as the normally closed type to ensure that the bus is connected when the slave device is not plugged into the system.
2 ) 在从设备地址设置时, 需要考虑到开关动作的时间, 做好时间的延 迟, 尽量选择速度快的开关, 以提高地址设置的效率。 下面结合附图和具体实施例对本技术方案的实施作进一步的详细描述: 例如某通信组合电源系统, 配置 6个智能整流器模块, 配置一个监控单元, 监控单元用于检测可控制 6个智能整流器模块, 它们之间用 RS485网络进行 通讯。 这样监控单元就是主设备, 6 个整流器模块就是从设备。 具体的地址 设置过程如下: 2) When setting the slave address, you need to consider the time of the switch action, do a good time delay, try to select a fast switch to improve the efficiency of the address setting. The implementation of the technical solution is further described in detail below with reference to the accompanying drawings and specific embodiments. For example, a communication combined power supply system is configured with six intelligent rectifier modules, and one monitoring unit is configured, and the monitoring unit is configured to detect and control six intelligent rectifier modules. , using RS485 network between them Communication. In this way, the monitoring unit is the master device and the six rectifier modules are the slave devices. The specific address setting process is as follows:
1 ) 在监控单元上电之后, 监控单元通过发送测试命令, 判断总线是否 正常。如果监控单元中的总线状态监听单元可以收到测试命令, 则总线正常, 否则异常; 1) After the monitoring unit is powered on, the monitoring unit determines whether the bus is normal by sending a test command. If the bus status monitoring unit in the monitoring unit can receive the test command, the bus is normal, otherwise it is abnormal;
2 ) 在确认总线正确之后, 监控单元发送地址设置的广播命令。 各整流 器模块接收到该命令之后, 整流器模块变更自身的地址为 "0" , 并控制其对 应的开关动作。 2) After confirming that the bus is correct, the monitoring unit sends a broadcast command for the address setting. After each rectifier module receives the command, the rectifier module changes its own address to "0" and controls its corresponding switching action.
3 )在延迟 T时间之后(T大于开关的动作时间), 监控单元在向 "0" 地 址整流器发送设置地址为 " 1" 的命令, 此时只有 1#整流器能接收到该命令, 将本身的地址改为 " 1" , 并向监控单元发送确认命令, 同时控制开关恢复为 常态。 3) After the delay time T (T is greater than the action time of the switch), the monitoring unit sends a command to set the address to "1" to the "0" address rectifier. At this time, only the 1# rectifier can receive the command, which will itself The address is changed to "1" and a confirmation command is sent to the monitoring unit, and the control switch returns to the normal state.
4 )监控单元在收到 " Γ 地址设置成功确认, 然后等待 T时间之后, 向 "0" 地址整流器发送设置地址为 "2" 的命令, 此时只有 2#整流器的地址是 "0" , 2#整流器在接收到该命令之后, 将本身的地址改为 "2" , 并向监控单 元发送确认命令, 同时控制开关恢复为常态。 4) After receiving the " Γ address setting successful confirmation, and then waiting for T time, the monitoring unit sends a command to set the address to "2" to the "0" address rectifier. At this time, only the address of the 2# rectifier is "0", 2 # rectifier After receiving the command, change its own address to "2", and send a confirmation command to the monitoring unit, and the control switch returns to the normal state.
5 ) 重复上面的操作, 每次监控单元都向 "0" 地址整流器进行地址的重 新设置, 每设置一次, 待发送的地址递增 1 , 完成 6个整流器地址的设置。 此时监控单元再次发出向 "0" 地址整流器设置地址的命令时, 监控单元的 总线状态监听单元就会收到这一命令。 监控单元就完成地址设置过程, 并记 录下从设备的数量( 6个)。 这样就完成了整流器的地址顺序设置, 每个整流 器的地址与其在系统的位置时——对应的。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的 ^"神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。 5) Repeat the above operation, each time the monitoring unit resets the address to the "0" address rectifier. Each time the address is set, the address to be sent is incremented by one to complete the setting of the six rectifier addresses. When the monitoring unit issues a command to set the address to the "0" address rectifier again, the bus status monitoring unit of the monitoring unit receives this command. The monitoring unit completes the address setting process and records the number of slave devices (6). This completes the address sequence setting of the rectifier, and the address of each rectifier corresponds to its position in the system. The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种串行总线从设备地址设置系统, 其特征在于, 包括: A serial bus slave address setting system, comprising:
主设备, 设置在所述串行总线的一端, 用于为从设备设置地址; 多个从设备, 经所述串行总线分别连接至所述主设备; 以及 多个开关,其中每个开关与所述多个从设备中的每个从设备——对 应, 并沿所述串行总线分别设置在对应的从设备之后, 由与之对应的从 设备控制,  a master device disposed at one end of the serial bus for setting an address for the slave device; a plurality of slave devices connected to the master device via the serial bus; and a plurality of switches, wherein each switch Each of the plurality of slave devices corresponds to, and is disposed along the serial bus respectively after the corresponding slave device, and is controlled by the slave device corresponding thereto,
其中,所述多个从设备中的每个从设备用于响应来自所述主设备的 初始化设置指令而控制对应的开关处于断开状态, 并用于响应来自所述 主设备的有效地址的信号而控制所述对应的开关处于导通状态。  Wherein each of the plurality of slave devices is configured to control a corresponding switch to be in an open state in response to an initialization setting instruction from the master device, and to respond to a signal from the active address of the master device. Controlling the corresponding switch to be in an on state.
2. 根据权利要求 1所述的系统, 其特征在于, 所述多个从设备中的每个从 设备均包括: 2. The system according to claim 1, wherein each of the plurality of slave devices comprises:
收发单元,用于经所述串行总线接收来自所述主设备的所述初始化 设置指令和 /或用于经所述串行总线接收来自所述主设备的有效地址的 信号;  a transceiver unit for receiving, by the serial bus, the initialization setting instruction from the master device and/or a signal for receiving an effective address from the master device via the serial bus;
开关控制单元,用于根据所述初始化设置指令控制所述对应的开关 处于断开状态, 并用于才艮据所述有效地址控制所述对应的开关处于导通 状态。  And a switch control unit, configured to control the corresponding switch to be in an off state according to the initial setting instruction, and to control the corresponding switch to be in an on state according to the effective address.
3. 根据权利要求 1所述的系统, 其特征在于, 所述串行总线的另一端上设 置有总线状态监听单元, 用于监测所述串行总线的通断状态, 其中, 当 未接收到所述主设备发出的信号时, 用于确定所述串行总线处于断开状 态, 当接收到所述主设备发出的信号时, 用于确定所述串行总线处于导 通状态。 The system according to claim 1, wherein the other end of the serial bus is provided with a bus state monitoring unit for monitoring an on/off state of the serial bus, wherein, when not received The signal sent by the master device is used to determine that the serial bus is in an off state, and is used to determine that the serial bus is in an on state when receiving a signal from the master device.
4. 根据权利要求 3所述的系统, 其特征在于, 所述串行总线的两端通过跨 接有应急开关的连接线而连接成环路, 其中, 当所述串行总线处于断开 状态时, 导通所述应急开关。 4. The system according to claim 3, wherein both ends of the serial bus are connected in a loop by a connection line connected with an emergency switch, wherein when the serial bus is in an off state When the emergency switch is turned on.
5. 根据权利要求 1至 4中任一项所述的系统, 其特征在于, 所述多个开关 是常闭型开关, 所述应急开关是常开型开关。 The system according to any one of claims 1 to 4, wherein the plurality of switches are normally closed switches, and the emergency switch is a normally open switch.
6. 根据权利要求 1所述的系统, 其特征在于, 所述多个从设备中的每个从 设备还用于响应来自所述主设备的初始化设置指令而将自身的地址初始 化。 6. The system of claim 1, wherein each of the plurality of slave devices is further for initializing its own address in response to an initialization setting instruction from the master device.
7. 根据权利要求 1所述的系统, 其特征在于, 所述主设备中存储有不少于 所述多个从设备的个数的彼此不同的有效地址。 The system according to claim 1, wherein the master device stores not less than the effective addresses of the plurality of slave devices that are different from each other.
8. 根据权利要求 7所述的系统, 其特征在于, 所述主设备通过所述串行总 线依次发送所述有效地址。 8. The system according to claim 7, wherein the master device sequentially transmits the effective address through the serial bus.
9. 才艮据权利要求 8所述的系统, 其特征在于, 所述主设备发送所述有效地 址的间隔时间 T不小于所述开关进行导通动作所需的时间。 9. The system according to claim 8, wherein the interval T during which the master transmits the effective address is not less than a time required for the switch to perform an on action.
10. 居权利要求 1所述的系统, 其特征在于, 所述有效地址的信号是所述 多个从设备中的每个从设备从所述主设备接收到的第一个地址信号。 10. The system of claim 1 wherein the signal of the effective address is a first address signal received by the slave device from the master device.
11. 一种串行总线从设备地址设置方法, 其特征在于, 包括: A serial bus slave address setting method, comprising:
从设备响应来自主设备的初始化设置指令而控制自身对应的开关 处于断开状态; 和 /或  The slave device controls its own corresponding switch to be in an open state in response to an initialization setting command from the master device; and/or
所述从设备响应来自所述主设备的有效地址的信号而控制所述自 身对应的开关处于导通状态。  The slave device controls the self-corresponding switch to be in an on state in response to a signal from the active address of the master device.
PCT/CN2010/075001 2009-07-28 2010-07-06 System and mothod for setting addresses of serial bus slave devices WO2011012041A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910160867.2 2009-07-28
CN2009101608672A CN101630298B (en) 2009-07-28 2009-07-28 Serial bus slave address setting system

Publications (1)

Publication Number Publication Date
WO2011012041A1 true WO2011012041A1 (en) 2011-02-03

Family

ID=41575412

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/075001 WO2011012041A1 (en) 2009-07-28 2010-07-06 System and mothod for setting addresses of serial bus slave devices

Country Status (2)

Country Link
CN (1) CN101630298B (en)
WO (1) WO2011012041A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180103993A1 (en) * 2014-05-05 2018-04-19 Covidien Lp Wake-up system and method for powered surgical instruments
CN115016846A (en) * 2022-07-18 2022-09-06 苏州联讯仪器有限公司 Collaborative scanning method, electronic device and computer readable storage medium
US11817969B2 (en) 2020-07-29 2023-11-14 Astec International Limited Systems, devices and methods for automatically addressing serially connected slave devices

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101630298B (en) * 2009-07-28 2012-07-18 中兴通讯股份有限公司 Serial bus slave address setting system
CN102147782B (en) * 2010-02-08 2013-08-21 鸿富锦精密工业(深圳)有限公司 Communication circuit between master equipment and slave equipment and ID (Identity) address allocating method thereof
CN102200953A (en) * 2010-03-24 2011-09-28 鸿富锦精密工业(深圳)有限公司 Electronic system
CN103279434B (en) * 2013-05-10 2016-06-29 青岛海信宽带多媒体技术有限公司 From device address amending method and device
CN103500154B (en) * 2013-09-11 2016-09-21 深圳市摩西尔电子有限公司 A kind of serial bus interface chip, serial bus transmission system and method
CN103729319A (en) * 2013-12-04 2014-04-16 上海斐讯数据通信技术有限公司 Equipment system based on serial bus and data transmission method
CN103812962B (en) * 2014-02-12 2017-03-22 南京欧帝科技股份有限公司 Automatic device communication address allocation system based on serial interface and working method
CN104243577A (en) * 2014-09-12 2014-12-24 北京能克科技有限公司 Electronic device having automatic networking function and automatic networking method
CN104407539B (en) * 2014-10-22 2017-03-01 许继电气股份有限公司 A kind of intelligent power device address coding method of principal and subordinate's modular structure
CN104393934B (en) * 2014-11-18 2018-08-28 成都理工大学 RS232 serial ports tests the bidirectional monitoring device of system
CN104410557A (en) * 2014-12-25 2015-03-11 深圳中科讯联科技有限公司 Dynamic networking method and communication method based on RS-485
CN104516851B (en) * 2014-12-31 2017-11-21 福州瑞芯微电子股份有限公司 A kind of system and method for RS485 slave units address distribution
CN104639690B (en) * 2015-02-17 2017-09-15 中磊电子(苏州)有限公司 The expansion module of electronic installation and the method for setting expansion module
CN104834618B (en) * 2015-04-03 2018-03-13 深圳市美贝壳科技有限公司 A kind of more apparatus scanning methods and power electronic system based on RS485 bus communications
JP6885039B2 (en) * 2016-12-05 2021-06-09 オムロン株式会社 Communication systems, communication devices and communication programs
CN108733587A (en) * 2017-04-20 2018-11-02 中兴通讯股份有限公司 Sub- equipment localization method and system
CN107356802B (en) * 2017-07-03 2020-02-28 珠海格力电器股份有限公司 Self-test circuit and circuit self-test method
CN109656849B (en) * 2018-12-25 2022-02-08 深圳市慎勇科技有限公司 Bus address distribution system based on cascade father node gating and communication method
CN109684264A (en) * 2018-12-27 2019-04-26 上海剑桥科技股份有限公司 IIC exchange system and its control method
CN111077813B (en) * 2019-09-26 2021-04-27 深圳市东深电子股份有限公司 Dam safety monitoring data automatic acquisition system and method
CN110995889A (en) * 2019-12-30 2020-04-10 珠海格力电器股份有限公司 Address allocation system and method
CN112905508B (en) * 2021-02-01 2021-08-20 浙江中拓合控科技有限公司 Address allocation method, communication device and storage medium for serial communication equipment
CN115664932B (en) * 2022-10-17 2024-01-26 厦门海辰储能科技股份有限公司 Energy block parallel communication method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5353009A (en) * 1991-01-04 1994-10-04 Csir Communication system
WO1997045983A1 (en) * 1996-05-25 1997-12-04 Robert Bosch Gmbh Addressing device for an auxiliary station of a serial bus system, and method of addressing an auxiliary station
CN101630298A (en) * 2009-07-28 2010-01-20 中兴通讯股份有限公司 Serial bus slave address setting system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100485644C (en) * 2004-02-10 2009-05-06 上海新时达电气股份有限公司 Allocator for automatically allocating address to serial bus device and method for controlling the same
KR100789497B1 (en) * 2005-02-07 2007-12-28 엘지전자 주식회사 Address Management Method and message tranmitting and recieiving Method in network control system
CN101477506A (en) * 2008-01-04 2009-07-08 鸿富锦精密工业(深圳)有限公司 Addressing system and method of master equipment to slave equipment
CN101355482B (en) * 2008-09-04 2011-09-21 中兴通讯股份有限公司 Equipment, method and system for implementing identification of embedded device address sequence

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5353009A (en) * 1991-01-04 1994-10-04 Csir Communication system
WO1997045983A1 (en) * 1996-05-25 1997-12-04 Robert Bosch Gmbh Addressing device for an auxiliary station of a serial bus system, and method of addressing an auxiliary station
CN101630298A (en) * 2009-07-28 2010-01-20 中兴通讯股份有限公司 Serial bus slave address setting system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180103993A1 (en) * 2014-05-05 2018-04-19 Covidien Lp Wake-up system and method for powered surgical instruments
US10722290B2 (en) * 2014-05-05 2020-07-28 Covidien, LP Wake-up system and method for powered surgical instruments
US11344359B2 (en) 2014-05-05 2022-05-31 Covidien Lp Wake-up system and method for powered surgical instruments
US11817969B2 (en) 2020-07-29 2023-11-14 Astec International Limited Systems, devices and methods for automatically addressing serially connected slave devices
CN115016846A (en) * 2022-07-18 2022-09-06 苏州联讯仪器有限公司 Collaborative scanning method, electronic device and computer readable storage medium
CN115016846B (en) * 2022-07-18 2022-11-01 苏州联讯仪器有限公司 Collaborative scanning method, electronic device and computer readable storage medium

Also Published As

Publication number Publication date
CN101630298B (en) 2012-07-18
CN101630298A (en) 2010-01-20

Similar Documents

Publication Publication Date Title
WO2011012041A1 (en) System and mothod for setting addresses of serial bus slave devices
JP2519603B2 (en) A distributed switching architecture for communication module redundancy.
CA2733788C (en) Method and systems for redundant server automatic failover
JPH05316136A (en) Trouble isolation and bypass reconstitution device in serial communication network
JPH03106144A (en) Mutual connection of network modules
WO2008119288A1 (en) System, device, equipment and method for monitoring management
JP4181283B2 (en) Failure detection notification method and internetwork apparatus
JPH0779349B2 (en) Serial communication network topologi information generation method and device
JPWO2009133824A1 (en) Equipment management system
KR20080108787A (en) Remote terminal unit for trading power to support multi-master function using dual channel ring and management method thereof
JPS62226271A (en) Automatic switching device for pos loop
CN113721448B (en) Redundant module switching method and device
CN109088753B (en) Circuit and method for automatically detecting RS485 communication fault
JPH04503434A (en) How to monitor computer networks
JPH0223120B2 (en)
JPS58170247A (en) Automatic loop back controlling system
CN114137871B (en) Bus control device, configuration method thereof and building control system
JP2000224210A (en) Monitor control system
JPH09237116A (en) Network system
JP3294256B2 (en) Data communication method and device
JP2869497B2 (en) Multiple parallel remote device power-on method
JPS63285053A (en) Fault processing system for network management equipment
JP2635835B2 (en) Multiple call processing monitoring
JP2728959B2 (en) Communication device
JPH0454747A (en) Data transfer system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10803874

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10803874

Country of ref document: EP

Kind code of ref document: A1