Automatic slave address allocation method based on CAN bus communication

By automatically allocating the slave address in the CAN bus communication system, the problem of insufficient reliability and flexibility of the slave address setting in the existing technology is solved, and the uniqueness of the slave address and the stability of network communication are achieved.

CN116527638BActive Publication Date: 2024-08-27HUNAN NEXT GENERATION INSTRUMENTAL T&C TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310346985.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-03
Publication Date
2024-08-27
Estimated Expiration
2043-04-03

AI Technical Summary

Technical Problem

The preset slave address in the existing CAN bus communication system can easily lead to insufficient reliability and flexibility, and duplicate addresses may occur, affecting the normality of network communication.

Method used

Using the automatic slave address allocation method based on CAN bus communication, the host obtains the address allocation table and device identification code, determines and allocates non-duplicated addresses, establishes a device address mapping relationship, and realizes automatic allocation of slave addresses.

Benefits of technology

It improves the reliability and flexibility of slave address allocation, avoids the shortcomings of manual pre-setting, ensures that each slave obtains a unique address, and ensures normal communication on the CAN bus network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116527638B
    Figure CN116527638B
Patent Text Reader

Abstract

The present application discloses a method for automatically allocating slave addresses based on CAN bus communication, wherein an address allocation table is obtained through a host, the address allocation table includes a plurality of non-repeating unallocated addresses, allocated addresses and device address mapping relationships, the device address mapping relationship is a mapping relationship between allocated addresses and device identification codes, the device identification code is an identifier corresponding one-to-one with the slave, a first device identification code is obtained through the host, the first device identification code is the device identification code of the slave, and the host determines whether there is a device address mapping relationship for the first device identification code in the address allocation table, if there is no device address mapping relationship, an unallocated address is selected and allocated to the slave, and a device address mapping relationship is established according to the first device identification code and the unallocated address.
Need to check novelty before this filing date? Find Prior Art