Single-bus communication rate adjustment and device identification system

By using a single-bus communication rate adjustment and device identification system, the communication rate is dynamically adjusted and a ROM ID fast identification module is used to solve the problem of rate standard conflict in traditional single-bus communication, thereby improving data rate and identification efficiency.

CN223598228UActive Publication Date: 2025-11-25SHANGHAI JIXIN SEMICONDUCTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202520013493.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-01-03
Publication Date
2025-11-25
Estimated Expiration
2035-01-03

AI Technical Summary

Technical Problem

Traditional single-bus communication technology causes conflicts in multi-module systems due to inconsistent communication rate standards, which reduces the effective data rate and flexibility of communication and makes it difficult to quickly identify and select specific devices.

Method used

A single-bus communication rate adjustment and device identification system is adopted. The communication rate is dynamically adjusted through data buffering, reset signal measurement and address rate matching table, and the target module is quickly identified by ROM ID, reducing addressing operations.

Benefits of technology

It achieves adaptive adjustment of single-bus communication rate, improves effective data rate, expands applicable range, and avoids frequent addressing operations through fast identification module.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223598228U_ABST
    Figure CN223598228U_ABST
Patent Text Reader

Abstract

The utility model discloses a unibus communication rate adjustment and equipment identification system, comprising a unibus interface used for receiving a communication signal input on a unibus and sending a data signal to the unibus; the data buffer is used for buffering the communication signal and the data signal and performing serial-parallel conversion on the communication signal and the data signal; the reset signal measuring module is used for measuring a reset signal time interval; the address rate matching table is used for matching a reset signal time interval with a matching module ROM ID to perform module selection; the interface controller is used for controlling the single bus interface to communicate according to a communication rate standard; the rate analysis module is used for analyzing a rate command and processing data; the analysis module is used for analyzing the ending command to terminate the communication; the data processing module is used for analyzing the control command and processing the data; and the simulation module is used for providing a reference power supply, a clock signal and a power-on reset signal for the system. The method has the beneficial effects that the method is not restricted by a specific communication rate standard, and the effective data rate of communication is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The utility model relates to communication technical field, especially a kind of single bus communication rate regulation and equipment identification system. BACKGROUND

[0002] With the increasing complexity of embedded system, various modules are applied in system to meet functional requirements, how to realize the communication and identification between a large number of modules becomes an urgent problem to be solved. Single bus (1Wire Bus) communication technology has the advantages of simple line, less hardware overhead, low cost, easy bus expansion and maintenance, etc., and is used in many small devices.

[0003] Traditional single bus communication technology uses a bus for signal transmission, and requires both parties to use the same communication rate standard, such as the same frame length and sampling time. When multiple peripheral modules are present, addressing operation is required for each access to a specified module, which reduces the effective data rate of communication. At the same time, the communication rate standards used by different modules are often not the same and may conflict, increasing the difficulty of communication between modules in embedded system. These shortcomings limit the effective data rate and flexibility of single bus communication technology.

[0004] Therefore, a single bus communication rate regulation and equipment identification system is needed, which enables modules to dynamically adjust communication rate and be quickly identified, to improve the effective data rate and flexibility of communication. SUMMARY

[0005] The technical problem to be solved by the utility model is to provide a single bus communication rate regulation and equipment identification system, which enables modules to support dynamic adjustment of communication rate standard to meet different application requirements and avoid communication failure caused by communication rate standard conflict; at the same time, it quickly identifies and selects a specified device using different communication rate standards, reduces frequent addressing operation, and improves the effective data rate of communication.

[0006] One technical solution adopted by the utility model to solve its technical problem is: the utility model provides a single bus communication rate regulation and equipment identification system, which includes:

[0007] A single bus interface is used to receive communication signals input on the single bus and send data signals to the single bus, forward the communication signals to a data buffer and a reset signal measurement module. The communication signals are in single bus data frame format and comply with the corresponding communication rate standard.

[0008] A data buffer is used to buffer the communication signals and the data signals, and to perform serial-parallel conversion on the communication signals and the data signals, to ensure that the communication signals and the data signals can be correctly received or sent under different communication rate standards.

[0009] a reset signal measurement module for measuring a reset signal time interval in the communication signal and sending the reset signal time interval to the address rate matching table;

[0010] the address rate matching table for matching the reset signal time interval with a stored communication rate criterion to obtain a communication rate criterion of the communication signal, loading the matched communication rate criterion into the interface controller if the reset signal time interval can be matched with the stored communication rate criterion, and sending a communication enable valid signal to the interface controller and the data processing module; if the reset signal time interval cannot be matched with the stored communication rate criterion, not changing the communication rate criterion in the interface controller, and sending a communication enable invalid signal to the interface controller and the data processing module to wait for input of the reset signal time interval next time; and further for matching a module ROM ID to select the module, if the ROM ID information can be matched with the stored ROM ID, not performing additional response; if the ROM ID information cannot be matched with the stored ROM ID, sending a communication enable invalid signal to the interface controller and the data processing module to wait for input of the reset signal time interval next time;

[0011] the interface controller for controlling the single bus interface to communicate according to the communication rate criterion of the communication signal; further for analyzing a rate command in the communication signal, and adding, deleting or reading the communication rate criterion in the address rate matching table according to the rate command; and further for analyzing an end command to terminate the current communication;

[0012] the data processing module for analyzing a control command in the communication signal, and processing the communication signal according to the control command, or loading the data signal into the data buffer;

[0013] the analog module for providing a system reference power supply, a clock signal and a power-on reset signal to ensure normal work and correct initialization of the system.

[0014] Preferably, the data processing module comprises a storage controller and a storage array, the storage controller is used for analyzing a read control command and a write control command in the control command, and the storage array is used for storing data information in the communication signal or reading out the data signal.

[0015] Preferably, the length of the reset signal is greater than the length of the low level in all communication rate criteria.

[0016] Compared with the prior art, the utility model has following advantages and positive effects:

[0017] The single bus communication rate adjusting and device identifying system can realize self-definition and self-adaptation of single bus communication rate standards, and can be flexibly configured according to actual needs, thereby expanding the application range of the single bus module in actual use and having good compatibility.

[0018] The single bus communication rate adjusting and device identifying system can realize self-definition and self-adaptation of single bus communication rate standards, and can be flexibly configured according to actual needs, thereby expanding the application range of the single bus module in actual use and having good compatibility. BRIEF DESCRIPTION OF DRAWINGS

[0019] For a more complete understanding of the application, reference is made to the following description and taken in conjunction with the accompanying drawings, in which:

[0020] Figure 1 The utility model discloses a single bus communication rate adjusting and device identifying system's system architecture diagram.

[0021] Figures 2a-2f The utility model discloses a single bus communication rate adjusting and device identifying system's system architecture diagram.

[0022] Figures 3a-3b The utility model discloses a single bus communication rate adjusting and device identifying system's system architecture diagram.

[0023] Unless otherwise indicated, corresponding numbers and symbols in different drawings generally refer to corresponding parts. DETAILED DESCRIPTION

[0024] The utility model discloses a single bus communication rate adjusting and device identifying system's system architecture diagram.

[0025] EMBODIMENT

[0026] As Figure 1 The utility model discloses a single bus communication rate adjusting and device identifying system, including:

[0027] Single bus interface 100 is used to receive the communication signal and the data signal of input on single bus and sends data signal to single bus, and forwards communication signal to data buffer 110 and reset signal measurement module 120.

[0028] Data buffer 110 is used to buffer communication signal and data signal, and carries out series and parallel conversion to communication signal and data signal, guarantees that communication signal and data signal can be correctly received or sent under different communication rate standards.

[0029] a reset signal measurement module 120, configured to measure a reset signal time interval in the communication signal, and send the reset signal time interval to an address rate matching table 130;

[0030] the address rate matching table 130, configured to match the reset signal time interval with a stored communication rate standard, to obtain a communication rate standard of the communication signal, and match a module ROM ID to select a module.

[0031] an interface controller 140, configured to control the single bus interface 100 to communicate according to the communication rate standard of the communication signal, parse a rate command in the communication signal, and add, delete or read the communication rate standard in the address rate matching table 130 according to the rate command, and parse an end command to terminate the current communication;

[0032] a data processing module 150, configured to parse a control command in the communication signal, and process the communication signal according to the control command, or load the data signal into the data buffer 110;

[0033] the data processing module 150 comprises a storage controller 151, configured to parse a read control command and a write control command in the control command;

[0034] the data processing module 150 further comprises a storage array 152, configured to store data information in the communication signal or read the data signal by using the storage array 152;

[0035] The single bus communication rate adjustment and device identification system further comprises:

[0036] an analog module (not shown in the figure), configured to provide a reference power supply, a clock signal and a power-on reset signal for the system, to ensure normal work and correct initialization of the system.

[0037] The functions of the single bus communication rate adjustment and device identification system are further described as follows:

[0038] The single bus interface 100 receives the communication signal input on the single bus and sends the data signal to the single bus, and forwards the communication signal to the data buffer 110 and the reset signal measurement module 120;

[0039] The communication signal is in a single bus data frame format, and complies with a corresponding communication rate standard.

[0040] The communication rate standard comprises a reset signal length, a slave response length, a read-write sampling time sequence and a frame length, and other basic signal time sequences.

[0041] The data buffer 110 buffers the communication signal and the data signal, and converts the communication signal and the data signal from serial to parallel;

[0042] The reset signal measurement module 120 measures the reset signal time interval in the communication signal, and sends the reset signal time interval to the address rate matching table 130;

[0043] The address rate matching table 130 matches the reset signal time interval with the stored communication rate standard. If the reset signal time interval can match the stored communication rate standard, the matched communication rate standard is loaded into the interface controller 140, and a communication enable valid signal is sent to the interface controller 140 and the data processing module 150. If the reset signal time interval cannot match the stored communication rate standard, the communication rate standard in the interface controller is not changed, and a communication enable invalid signal is sent to the interface controller 140 and the data processing module 150, waiting for the input of the next reset signal time interval;

[0044] The address rate matching table 130 matches the ROM ID information obtained by the interface controller 140 to analyze. If the ROM ID information can match the stored ROM ID, no additional response is performed. If the ROM ID information cannot match the stored ROM ID, a communication enable invalid signal is sent to the interface controller 140 and the data processing module 150, waiting for the input of the next reset signal time interval;

[0045] The interface controller 140 controls the single bus interface 100 to perform single bus communication according to the communication rate standard of the communication signal;

[0046] The interface controller 140 parses the ROM ID matching command in the communication signal from the data buffer 110;

[0047] The interface controller 140 parses the rate command in the communication signal from the data buffer 110;

[0048] The interface controller 140 terminates the current communication after parsing the communication signal from the data buffer 110 and obtaining the end command;

[0049] The data processing module 150 parses the control command in the communication signal from the data buffer 110, processes the communication signal according to the control command, or loads the data signal into the data buffer 110.

[0050] The communication signal is in the single bus data frame format, such as Figures 2a-2fAs shown. All communication data frames begin with a reset signal. The length of the reset signal determines the communication rate standard used by the current data frame. After the interface controller loads the communication rate standard used by the data frame, it controls the single-bus interface to perform a slave presence response, completing the presence handshake. If a module ROM ID needs to be specified, the ROM ID matching frame must immediately follow the handshake and precede the command frame to ensure that the module is uniquely selected. The command frame contains a rate command frame and a control command frame. One or more command frames can appear in a single communication data frame, and the rate command frame and the control command frame have no order relationship. All communication data frames terminate with an end signal.

[0051] In particular, the length of the reset signal in a single-bus communication data frame should be greater than the length of the low level in all communication rate standards.

[0052] The address rate matching table can store multiple communication rate standards. Communication signals can select one or more matching modules using a specific communication rate standard. When multiple slave responses exist, slave response command frames cannot be sent. For example... Figure 3a As shown, when the host 600 uses communication rate standard 60 for single-bus communication, slave 601 and slave 602 can match the communication rate standard on the single bus. Therefore, slave 601 and slave 602 will respond and jointly receive the communication data frames sent by the host. At this time, the host cannot send rate query command frames or read control command frames to avoid data conflicts on the bus; Figure 3b As shown, when the host 600 uses the communication rate standard 63 for single-bus communication, the slave 604 can match the communication rate standard on the single bus. Therefore, the slave 604 will respond and uniquely receive the communication data frame sent by the host, thus realizing the fast selection of the slave.

[0053] Although embodiments of the present application and their advantages have been described in detail, it should be understood that various changes, substitutions and alterations may be made herein without departing from the spirit and scope of the present application as defined by the appended claims.

Claims

1. A system for single bus communication rate adjustment and device identification, comprising: The application relates to a single bus interface, a data buffer, a reset signal measurement module, an address rate matching table, an interface controller and a data processing module. The single bus interface is used for receiving a communication signal input on a single bus and sending a data signal to the single bus, forwarding the communication signal to the data buffer and the reset signal measurement module, wherein the communication signal is in a single bus data frame format and conforms to a corresponding communication rate standard. The data buffer is used for buffering the communication signal and the data signal, and performing serial-parallel conversion on the communication signal and the data signal, so that the communication signal and the data signal can be correctly received or sent under different communication rate standards. The reset signal measurement module is used for measuring a reset signal time interval in the communication signal and sending the reset signal time interval to the address rate matching table. The address rate matching table is used for matching the reset signal time interval and a stored communication rate standard, obtaining a communication rate standard of the communication signal, if the reset signal time interval can be matched with the stored communication rate standard, loading the matched communication rate standard into the interface controller, and sending a communication enable effective signal to the interface controller and the data processing module; if the reset signal time interval cannot be matched with the stored communication rate standard, not changing the communication rate standard in the interface controller, and sending a communication enable ineffective signal to the interface controller and the data processing module, and waiting for input of the reset signal time interval next time; and the address rate matching table is also used for matching a module ROM ID, if the ROM ID information can be matched with a stored ROM ID, not performing additional response; if the ROM ID information cannot be matched with the stored ROM ID, sending a communication enable ineffective signal to the interface controller and the data processing module, and waiting for input of the reset signal time interval next time. The interface controller is used for controlling the single bus interface to communicate according to the communication rate standard of the communication signal; is also used for analyzing a rate command in the communication signal, and adding, deleting or reading the communication rate standard in the address rate matching table according to the rate command; and is also used for analyzing an end command to terminate the current communication. The data processing module is used for analyzing a control command in the communication signal, and processing the communication signal according to the control command or loading the data signal into the data buffer. The analog module is used for providing a reference power supply, a clock signal and a power-on reset signal for the system, so that the system can work normally and be initialized correctly.

2. The system for single bus communication rate adjustment and device identification of claim 1, wherein, The data processing module comprises a storage controller and a storage array, the storage controller is used for analyzing a read control command and a write control command in the control command, and the storage array is used for storing data information in the communication signal or reading out the data signal.

3. The system for single bus communication rate adjustment and device identification of claim 1, wherein, The length of the reset signal is greater than the length of a low level in all communication rate standards.