RS485 Address Auto-Setting via Power-On Timing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for setting addresses in RS485 systems are either time-consuming or require additional hardware costs, as they either require sequential startup of slave devices or simultaneous startup with complex port management.

Innovation Solution

A method where the host device confirms no addresses exist in the database, then turns on slave devices sequentially, calculates their power-on times, and sets their addresses based on these times when they exit an idle state.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If sequential startup method is used to set addresses, then address setting can be completed, but startup time becomes lengthy

Engineering Contradiction:
Improveaddress setting accuracyVSAvoidstartup time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies periodic action by implementing cyclic address setting operations. The host device repeatedly sends address setting commands in cycles, with each cycle addressing one slave device. The system periodically checks whether all slave devices have been assigned addresses and continues cycling until completion, thus resolving the contradiction between sequential processing and time consumption.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The patent applies preliminary action by having the host device prepare and send address setting commands in advance before slave devices are fully initialized. The host device proactively manages the address assignment process by pre-calculating addresses and sending commands ahead of time, reducing the overall startup time while maintaining sequential accuracy.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If simultaneous startup with multiple RS485 ports is used, then address setting can be parallelized, but hardware cost increases

Engineering Contradiction:
Improveaddress setting speedVSAvoidhardware cost
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent applies universality by making the single RS485 port perform multiple functions sequentially. The same port is used for both address setting operations and normal data communication, eliminating the need for separate dedicated address setting ports. The host device manages time-multiplexed communication, allowing one port to serve multiple purposes without increasing hardware complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent applies self-service by enabling the existing RS485 communication infrastructure to handle address setting automatically without requiring additional dedicated hardware. The system uses its own communication ports and protocols to perform the address configuration, making the existing hardware work harder rather than adding more hardware.

Inventive Principle:
Principle #25Self-service

3Device complexity

If sequential address setting is implemented, then hardware requirements are simple, but the process is time-consuming

Engineering Contradiction:
Improvehardware configurationVSAvoidaddress setting efficiency
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent applies continuity of useful action by ensuring the host device continuously manages address setting operations without idle periods. The host device maintains an ongoing process of sending commands, receiving responses, and advancing to the next slave device without interruption, maximizing the efficiency of the simple hardware configuration through continuous productive activity.

Inventive Principle:
Principle #20Continuity of useful action

Solution Approach 2:

The patent applies feedback by implementing a response verification mechanism where the host device sends address setting commands and waits for acknowledgment from slave devices. The system continuously monitors whether addresses have been successfully set and adjusts its operation accordingly, providing feedback-driven efficiency improvement without requiring complex hardware.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12326830B2Method and system for automatically setting addresses
Publication Date: 2025.06.10 NUVOTON
  • US12326830B2 patent drawing
  • US12326830B2 patent drawing
  • US12326830B2 patent drawing

AI summary

A method for automatically setting addresses suitable for an RS485 system is provided. The RS485 system includes a host device and a plurality of slave devices. The method includes the following stages. The host device confirms that there are no addresses of the slave devices in a database. The slave devices are turned on in sequence. The slave devices calculate their own respective power-on times. The slave device enter an idle state during the period associated with the power-on time. Only one of the slave devices sends the power-on time to the host device when said slave device leaves the idle state. The host device sets the address of said slave device according to the power-on time when said slave device leaves the idle state.