CN113051201A - Simplified control signal bus system applied to multi-device interaction and application - Google Patents
Simplified control signal bus system applied to multi-device interaction and application Download PDFInfo
- Publication number
- CN113051201A CN113051201A CN201911366426.8A CN201911366426A CN113051201A CN 113051201 A CN113051201 A CN 113051201A CN 201911366426 A CN201911366426 A CN 201911366426A CN 113051201 A CN113051201 A CN 113051201A
- Authority
- CN
- China
- Prior art keywords
- slave
- control signal
- master
- bus
- line
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/387—Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a simplified control signal bus system applied to multi-device interaction and application thereof, comprising at least one master device and at least one slave device, wherein the master device and the slave device are both accessed into a control signal bus, the control signal bus is provided with two signal lines, and the control signal bus has two working modes of a broadcasting mode and a master-slave polling mode; when in the broadcast mode, one of the signal lines serves as a time division multiplexing controller and broadcasts a device address at intervals; the other signal line is used for transmitting control information uploaded by equipment corresponding to the current broadcast address; when in a master-slave polling mode, one of the signal lines is controlled by the master device and slot polls the respective slave devices; another signal line is used to transmit data that is output when the slave device is polled by the master device. The invention reduces the number of physical connection signal lines among the devices, thereby reducing the volume and the cost of the devices.
Description
Technical Field
The invention relates to the field of electronic communication, in particular to a simplified control signal bus system applied to multi-device interaction and application.
Background
In complex electronic devices, systems, such as a communicator shelf device, typically contain one or more master devices and multiple slave devices. There are many control signals interconnected between these devices, requiring a large number of connectors and signal lines, which not only increases the cost of the product, but also increases the volume.
Disclosure of Invention
The invention aims to provide a simplified control signal bus system applied to multi-device interaction and application.
The technical scheme adopted by the invention is as follows:
a kind of simplified control signal bus system applied to multi-device interaction, it includes at least a master device and at least a slave device, the master device and slave device are connected to the control signal bus, the control signal bus has two signal lines, the control signal bus has two working modes of broadcasting mode and master-slave polling mode;
when in the broadcast mode, one of the signal lines serves as a time division multiplexing controller and broadcasts a device address at intervals; the other signal line is used for transmitting control information uploaded by equipment corresponding to the current broadcast address;
when in a master-slave polling mode, one of the signal lines is controlled by the master device and slot polls the respective slave devices; another signal line is used to transmit data that is output when the slave device is polled by the master device.
Further, when in the broadcast mode, the master and slave devices accessing the control signal bus each assign a unique bus address.
Further, when in broadcast mode, slaves accessing the control signal bus are each assigned a unique bus address.
Further, the data frames transmitted on the two signal lines are transmitted in an asynchronous manner.
A method of broadcasting a reduced control signal bus for multi-device interaction, comprising the steps of:
step 3, selecting an equipment address which is not broadcasted in the current turn at intervals of a period of time for broadcasting, wherein the equipment corresponding to the equipment address is the selected equipment;
step 4, the selected equipment outputs control information to be broadcast to a DAT line in a frame mode;
step 5, other devices on the control information bus monitor the DAT line and acquire control signals output by the selected devices;
step 6, judging whether the TDC line completes the broadcasting of all the devices on the current control information bus or not; if yes, ending the current broadcast; otherwise, step 3 is executed.
Furthermore, the TDC line is a time division multiplexing controller and is responsible for time slot allocation on the bus; the DAT line is a data line used to transmit control signal data.
A master-slave polling method of a simplified control signal bus applied to multi-device interaction comprises the following steps:
step 3, the master device controls the master data line to poll each slave device in a time slot manner;
and 4, the slave device controls the slave data line to output data when the master device polls the device.
Further, the data frames transmitted on the two signal lines are transmitted in an asynchronous manner.
By adopting the technical scheme, the control signals of the plurality of master control devices and the plurality of slave devices are serialized and then transmitted between the master control devices and the slave devices, so that the number of physically connected signal lines between the devices is reduced, and the volume and the cost of the devices are reduced. The invention has high flexibility, and the quantity and the connection relation of the control signals can be changed under the condition of not changing the hardware design.
Drawings
The invention is described in further detail below with reference to the accompanying drawings and the detailed description;
FIG. 1 is a simplified control signal bus architecture for multi-device interaction according to the present invention;
FIG. 2 is a schematic diagram illustrating a broadcasting method of a reduced control signal bus applied to multi-device interaction according to the present invention;
FIG. 3 is a schematic diagram illustrating a principle of a master-slave polling method applied to a simplified control signal bus for multi-device interaction according to the present invention.
Detailed Description
As shown in fig. 1, the present invention discloses a simplified control signal bus system applied to multi-device interaction, which includes at least one master device and at least one slave device, wherein both the master device and the slave device access a control signal bus, the control signal bus has two signal lines, and the control signal bus has two working modes, i.e., a broadcast mode and a master-slave polling mode;
when in the broadcast mode, one of the signal lines serves as a time division multiplexing controller and broadcasts a device address at intervals; the other signal line is used for transmitting control information uploaded by equipment corresponding to the current broadcast address;
when in a master-slave polling mode, one of the signal lines is controlled by the master device and slot polls the respective slave devices; another signal line is used to transmit data that is output when the slave device is polled by the master device.
Further, when in the broadcast mode, the master and slave devices accessing the control signal bus each assign a unique bus address.
Further, when in broadcast mode, slaves accessing the control signal bus are each assigned a unique bus address.
Further, the data frames transmitted on the two signal lines are transmitted in an asynchronous manner.
A method of broadcasting a reduced control signal bus for multi-device interaction, comprising the steps of:
step 3, selecting an equipment address which is not broadcasted in the current turn at intervals of a period of time for broadcasting, wherein the equipment corresponding to the equipment address is the selected equipment;
step 4, the selected equipment outputs control information to be broadcast to a DAT line in a frame mode;
step 5, other devices on the control information bus monitor the DAT line and acquire control signals output by the selected devices;
step 6, judging whether the TDC line completes the broadcasting of all the devices on the current control information bus or not; if yes, ending the current broadcast; otherwise, step 3 is executed.
Furthermore, the TDC line is a time division multiplexing controller and is responsible for time slot allocation on the bus; the DAT line is a data line used to transmit control signal data.
In particular, the TDC is controlled by an always-on device, but not necessarily a master device. All devices on the bus, whether master or slave, are each assigned a unique bus address. As shown in fig. 2, the TDC broadcasts a device address at regular intervals to determine the time slot used by the device. The selected device broadcasts its own output control signal in frame form to the DAT line, and all devices monitor the DAT line and obtain the output of the device. Therefore, after the TDC completes the broadcast of all the devices in one round, all the devices will obtain the output control signals of other devices, and the interaction of the control signals among all the devices is completed.
A master-slave polling method of a simplified control signal bus applied to multi-device interaction comprises the following steps:
step 3, the master device controls the master data line MD to poll each slave device in a time slot manner;
and 4, the slave device controls the slave data line SD to output data when the master device polls the device.
Further, the data frames transmitted on the two signal lines are transmitted in an asynchronous manner.
Specifically, the master device controls the MD and the control slots poll the various slave devices. The slaves on the bus are each assigned a unique device address, and the device controls the SD to output its own data only when the master polls the device. As shown in fig. 3, after the master device has polled all the slave devices, a round of control signal interaction between all the master devices and all the slave devices is completed.
By adopting the technical scheme, the control signals of the plurality of master control devices and the plurality of slave devices are serialized and then transmitted between the master control devices and the slave devices, so that the number of physically connected signal lines between the devices is reduced, and the volume and the cost of the devices are reduced. The invention has high flexibility, and the quantity and the connection relation of the control signals can be changed under the condition of not changing the hardware design.
Claims (7)
1. A simplified control signal bus system for multi-device interaction, comprising: the system comprises at least one master device and at least one slave device, wherein the master device and the slave device are both connected to a control signal bus, the control signal bus is provided with two signal lines, and the control signal bus has two working modes, namely a broadcast mode and a master-slave polling mode;
when in the broadcast mode, one of the signal lines serves as a time division multiplexing controller and broadcasts a device address at intervals; the other signal line is used for transmitting control information uploaded by equipment corresponding to the current broadcast address;
when in a master-slave polling mode, one of the signal lines is controlled by the master device and slot polls the respective slave devices; another signal line is used to transmit data that is output when the slave device is polled by the master device.
2. The reduced control signal bus system for multi-device interaction of claim 1, wherein: when in the broadcast mode, the master and slave devices accessing the control signal bus are each assigned a unique bus address.
3. The reduced control signal bus system for multi-device interaction of claim 1, wherein: when in broadcast mode, slaves accessing the control signal bus are each assigned a unique bus address.
4. The reduced control signal bus system for multi-device interaction of claim 1, wherein: the data frames transmitted on the two signal lines are transmitted in an asynchronous manner.
5. A broadcast method of a reduced control signal bus applied to multi-device interaction, which employs the reduced control signal bus system applied to multi-device interaction of claim 1, wherein: the broadcasting method comprises the following steps:
step 1, respectively defining two signal lines as a TDC line and a DAT line;
step 2, allocating a unique bus address for each device on the control information bus;
step 3, selecting an equipment address which is not broadcasted in the current turn at intervals of a period of time for broadcasting, wherein the equipment corresponding to the equipment address is the selected equipment;
step 4, the selected equipment outputs control information to be broadcast to a DAT line in a frame mode;
step 5, other devices on the control information bus monitor the DAT line and acquire control signals output by the selected devices;
step 6, judging whether the TDC line completes the broadcasting of all the devices on the current control information bus or not; if yes, ending the current broadcast; otherwise, step 3 is executed.
6. The broadcast method applied to the reduced control signal bus of multi-device interaction according to claim 5, wherein: the TDC line is a time division multiplexing controller and is responsible for time slot distribution on the bus; the DAT line is a data line used to transmit control signal data.
7. A master-slave polling method for a reduced control signal bus applied to multi-device interaction, which employs the reduced control signal bus system applied to multi-device interaction of claim 1, and is characterized in that: which comprises the following steps:
step 1, respectively defining two signal lines as a main data line and a slave data line, wherein the main data line is used for outputting data by main equipment; the slave data line is used for outputting data from the equipment;
step 2, respectively allocating a unique device address to each slave device on the control information bus;
step 3, the master device controls the master data line to poll each slave device in a time slot manner;
and 4, the slave device controls the slave data line to output data when the master device polls the device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911366426.8A CN113051201A (en) | 2019-12-26 | 2019-12-26 | Simplified control signal bus system applied to multi-device interaction and application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911366426.8A CN113051201A (en) | 2019-12-26 | 2019-12-26 | Simplified control signal bus system applied to multi-device interaction and application |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113051201A true CN113051201A (en) | 2021-06-29 |
Family
ID=76505379
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911366426.8A Pending CN113051201A (en) | 2019-12-26 | 2019-12-26 | Simplified control signal bus system applied to multi-device interaction and application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113051201A (en) |
-
2019
- 2019-12-26 CN CN201911366426.8A patent/CN113051201A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11262433B2 (en) | Method for operating a sensor arrangement in a motor vehicle on the basis of a DSI protocol | |
CN108733604B (en) | 485 bus intelligent expansion method and device based on modbus communication protocol | |
CN111241019A (en) | RS485 bus arbitration and address automatic identification method | |
CN107786405B (en) | Multi-node automatic networking method based on CAN bus | |
CN105119793A (en) | Identifier distribution method of sensor network CAN bus frame format | |
CN110635982B (en) | Double-host communication method and system on communication bus, industrial control gateway and storage medium | |
CN104301191A (en) | Bus system | |
CN115529293A (en) | Dynamic addressing method and system for combined battery pack | |
US20040205111A1 (en) | User configurable data messages in industrial networks | |
US20090240859A1 (en) | Automatic address setting system | |
US20210399906A1 (en) | Method for operating a sensor arrangement in a motor vehicle on the basis of a dsi protocol | |
KR102256153B1 (en) | Method for deterministic data transmission in a bus system, and bus system | |
CN113051201A (en) | Simplified control signal bus system applied to multi-device interaction and application | |
US5954810A (en) | Device for communication between a plurality of functional modules installed in a local unit and an ethernet type external bus | |
CN103885910B (en) | The method that many equipment carry out IIC communications under holotype | |
CN210518417U (en) | Address allocation system | |
CN109873741B (en) | System and working method of single-wire shared bus protocol | |
CN102087509B (en) | Integrated circuit and control method thereof | |
CN103257648A (en) | Automobile calibration system | |
CN110806993B (en) | Customized modbus communication method and low-coupling telecontrol device using same | |
KR101840558B1 (en) | Electronic device and communication method thereof | |
CN102201813B (en) | The method and system of the asynchronous output waveform of a kind of multichannel | |
CN111382100A (en) | Data acquisition method and system of I2C bus | |
CN204243913U (en) | Distributed line feed terminals and network thereof | |
CN110710165A (en) | Method for determining data bus user equipment of local bus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |