Communication system, transmitting device and receiving device

The communication system addresses the CXPI protocol's lack of broadcasting by using identification information to manage simultaneous data transmission to multiple nodes, ensuring synchronized responses and efficient data transfer.

JP7731835B6Active Publication Date: 2025-09-19KK TOSHIBA +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2022043999
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-03-18
Publication Date
2025-09-19
Estimated Expiration
2042-03-18

AI Technical Summary

Technical Problem

The existing CXPI protocol does not support broadcasting, requiring repeated one-to-one communication for sending the same data to multiple slave nodes, leading to timing discrepancies among the nodes.

Method used

A communication system that includes a transmitting device and receiving devices, utilizing identification information to determine data reception based on specified communication modes, allowing for single cast or broadcast transmission, with the number of bits used for destination identification varying based on the number of receiving devices.

Benefits of technology

Enables simultaneous data transmission to multiple slave nodes, synchronizing their responses and reducing the need for repeated communications, thus optimizing data transfer efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007731835000001
    Figure 0007731835000001
  • Figure 0007731835000002
    Figure 0007731835000002
  • Figure 0007731835000003
    Figure 0007731835000003
Patent Text Reader

Abstract

To provide a communication system, a transmission device, and a receiving device capable of broadcasting.SOLUTION: A communication system according to an embodiment includes a transmission device and a plurality of receiving devices. The transmission device transmits data and identification information including first information specifying a communication format and second information specifying a destination receiving device. When the first information specifies data transmission from the transmission device, each of the plurality of receiving devices determines whether to receive the data on the basis of at least a portion of the second information.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] FIELD OF THE INVENTION Embodiments of the present invention relate to the transfer of large amounts of data. [Background technology]

[0002] The Society of Automotive Engineers of Japan has formulated an in-vehicle communication protocol standard called CXPI (Clock Extension Peripheral Interface). CXPI aims to reduce the number of wire harnesses between the ever-increasing number of one-to-one connected automotive devices in the HMI (Human Machine Interface) area and to enable multiplexed communication. CXPI defines high-capacity bidirectional communication between a master node and multiple slave nodes via a bus.

[0003] The master node outputs a frame to the bus, consisting of a PID indicating the slave node to which the data is to be sent and a response. The slave node determines whether the frame is addressed to it based on the PID and receives the response. If the slave node determines that the frame is not addressed to it, it does not receive the response. This allows one-to-one communication between the master node and each of the multiple slave nodes.

[0004] The current CXPI does not specify broadcasting. Therefore, when a master node wants to send the same data to multiple slave nodes, one-to-one communication is repeated as many times as the number of slave nodes, which causes a difference in the timing at which the multiple slave nodes send data. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] Patent Publication No. 2021-040171 [Patent Document 2] Patent Publication No. 2021-105292 Summary of the Invention [Problem to be solved by the invention]

[0006] An object of the present invention is to provide a communication system, a transmitting device and a receiving device capable of broadcasting. [Means for solving the problem]

[0007] A communication system according to an embodiment includes a transmitting device and a plurality of receiving devices. The transmitting device transmits, to the plurality of receiving devices, identification information including first information specifying a communication mode and second information specifying a destination receiving device, and data. When the first information specifies data transmission from the transmitting device, each of the plurality of receiving devices determines whether to receive the data based on at least a portion of the second information. When the first information specifies data transmission by single cast, each of the multiple receiving devices determines whether to receive the data based on all bits of the second information. The second information is multi-bit information, and the transmitting device sets multi-bit third information to each of the multiple receiving devices. When the first information specifies data transmission by single cast, each of the multiple receiving devices receives the data if all bits of the second information match all bits of the third information. When the first information specifies data transmission by broadcast, each of the multiple receiving devices receives the data if some bits of the second information match some bits of the third information. When the first information specifies the number of receiving devices to be broadcast, the number of bits of the partial bits corresponds to the number of receiving devices to be broadcast, and as the number of receiving devices to be broadcast increases, the number of bits of the partial bits decreases. [Brief explanation of the drawings]

[0008] [Figure 1] FIG. 1 is a block diagram showing an example of a CXPI communication system according to an embodiment. [Figure 2] FIG. 10 is a diagram showing an example of a communication frame when a PID is set according to the embodiment. [Figure 3] FIG. 2 is a diagram for explaining a plurality of communication modes according to the embodiment; [Figure 4] FIG. 10 is a diagram for explaining an example of setting a communication mode by PID according to the embodiment. [Figure 5] FIG. 10 is a diagram for explaining a setting example of one-to-one data transmission using a PID according to the embodiment. [Figure 6] FIG. 10 is a diagram for explaining a setting example of one-to-two data transmission using a PID according to the embodiment. [Figure 7] 10A and 10B are diagrams for explaining a setting example of one-to-four data transmission using PID according to the embodiment. [Figure 8] 10A and 10B are diagrams for explaining a setting example of one-to-eight data transmission using PID according to the embodiment. [Figure 9] FIG. 10 is a flow diagram illustrating an example of data transmission according to the embodiment. DETAILED DESCRIPTION OF THE INVENTION

[0009] Hereinafter, embodiments will be described with reference to the drawings. The following description exemplifies devices and methods for embodying the technical concepts of the embodiments. The technical concepts of the embodiments are not limited to the structures, shapes, arrangements, materials, etc. of the components described below. Modifications that can be easily conceived by those skilled in the art are naturally included within the scope of the disclosure. For clarity of explanation, the drawings may show schematic representations of the size, thickness, planar dimensions, or shape of each element, modified from the actual embodiment. Elements in multiple drawings may have different dimensional relationships or ratios. Corresponding elements in multiple drawings may be designated by the same reference numerals, and redundant description may be omitted. Some elements may be designated by multiple names, but these names are merely examples and do not necessarily mean that these elements may be designated by other names. Furthermore, elements that do not have multiple names may also be designated by other names. In the following description, "connected" means not only a direct connection but also a connection via another element.

[0010] Hereinafter, the present embodiment will be described in detail with reference to the drawings.

[0011] FIG. 1 is a block diagram showing an example of a CXPI communication system according to an embodiment. The CXPI communication system includes a plurality of slave nodes 12-0 to 12-15 (hereinafter referred to as slave nodes 12 when there is no need to distinguish them individually) that can each be connected to a plurality of devices, and one master node 10 that controls the plurality of slave nodes 12. Any number of slave nodes 12 can be connected to one master node 10; for example, eight or sixteen slave nodes 12 are connected to one master node 10. FIG. 1 shows an example in which 16 slave nodes 12 are connected to the master node 10. Each node 10, 12 has a node address. In the case of a communication system for an automobile, examples of devices connected to the slave node 12 include a steering switch, wiper switch, light switch, blinker switch, motor, and light.

[0012] The master node 10 can also be connected to multiple devices. The master node 10 is also called a BCM (Body Control Module). The master node 10 and slave nodes 12 are connected via a bus consisting of a power supply line VBAT, a signal line BUS, and a ground line GND. Multiple devices connected to the slave node 12 communicate with the master node 10 via the signal line BUS. The master node 10 includes an MCU (Micro Controller Unit) 20, a CXPI transceiver 22, and a register 24.

[0013] The MCU 20 controls the entire master node 10 .

[0014] The CXPI transceiver 22 modulates the data from the MCU 20 and outputs the modulated data to the signal line BUS. An example of the modulation method is PWM (Pulse Width Modulation). The CXPI transceiver 22 demodulates the data from the signal line BUS and outputs the demodulated data to the MCU 20.

[0015] The MCU 20 stores data in a register 24. The register 24 is, for example, a non-volatile memory. The signal line BUS and the power supply line VBAT are connected to each other via a resistor 26 and a diode 28 in series.

[0016] The signal on the signal line BUS is set to low or high level, and each bit of the signal represents "0" or "1" depending on the ratio of the low level period to the high level period.

[0017] In CXPI communication, event-triggered frames are communicated. Each node can freely transmit frames when it detects an idle state on the signal line BUS. If multiple transmission events occur simultaneously, arbitration is used to select the event with the highest priority frame.

[0018] In CXPI communication, a communication frame communicated on the signal line BUS consists of a PID (Protected ID) and a response.

[0019] The PID consists of a parity bit and a frame ID. When the communication mode is data transmission, the frame ID is the identifier of the slave node that receives the frame. A priority is set in advance for the frame, and arbitration is performed based on the priority.

[0020] The master node 10 sets a PID for each slave node 12 and transmits the PID of the slave node 12 to the slave node 12. When the communication mode is data transmission, upon receiving the PID, the slave node 12 determines whether the received PID matches its own PID. If the received PID matches its own PID, the slave node 12 receives a response.

[0021] The response includes, for example, frame information (1-2 bytes), data (0-255 (maximum) bytes), and CRC (1-2 bytes). In order for the master node 10 and the slave node 12 to communicate, a PID must be set in the slave node 12. When the master node 10 detects a connection with the slave node 12, it sets a PID for the slave node 12 and transmits a frame for setting the PID to the slave node 12.

[0022] 2 shows an example of a PID setting frame that the master node 10 transmits to the slave node 12 when setting a PID. * in FIG. 2 indicates an arbitrary bit of "0" or "1".

[0023] The PID setting frame consists of 8-bit NAD, PCI, SID, DID1, DID2, Start Index, PID1, PID2, PID3, and PID4. NAD is the node address of the slave node 12 in which the PID is set. PCI is, for example, 08h. SID is, for example, 2Eh. DID1 is, for example, FFh. DID2 is, for example, 02h. Bits 0 to 2 of PID1 are, for example, "0", bits 3 to 8 are, for example, optional, and bit 7 is, for example, a parity bit. PID2, PID3, and PID4 are, for example, FFh.

[0024] The PID setting frame in FIG. 2 uses the same format as the PID setting frame in current CXPI communication. Current CXPI communication includes multiple communication modes, and the PID setting frame can set multiple PIDs for each of the multiple communication modes. FIG. 2 shows an example of a frame in which up to four PIDs, PID1 to PID4, can be set. The start index is information that specifies which PID to set. The start index is 00h when setting PID1 (example in FIG. 2), 01h when setting PID2, 03h when setting PID3, and 04h when setting PID4. For example, when setting PID1 to PID4, the master node 10 sets "0" to bits 0 to 3 of the start index.

[0025] Although CXPI communication according to the embodiment includes a plurality of communication formats, the master node 10 sets one PID1 to the slave node 12 regardless of the communication format. The master node 10 sets all bits of the start index to "0." In the embodiment, since the number of slave nodes 12 is 16, four bits are sufficient for the identification information of the slave node 12. Since PID1 is eight bits, the master node 10 sets the identification information (four bits) of the slave node 12 to four bits of PID1 (for example, bits 3 to 6). The master node 10 sets 0b or 1b to the remaining three bits of PID1 (for example, bits 0 to 2). The master node 10 sets PID2 to PID4 to FFh. Bits 0 to 2 of PID1 and PID2 to PID4 are not used for PID setting.

[0026] The master node 10 outputs a PID setting frame set as shown in Figure 2 to the signal line BUS. All slave nodes 12 connected to the signal line BUS receive the PID setting frame. Only the slave node 12 having the node address specified by the node address NAD receives PID1 and writes bits 3 to 6 of PID1 to an internal register (not shown) as its own identification information. This sets the PID in the slave node 12. No PID is set in the slave node 12 whose own node address does not match the node address specified by the node address NAD.

[0027] 3 is a diagram for explaining an example of a plurality of communication modes included in CXPI communication according to the embodiment. The communication modes are roughly classified into four modes: data transmission, data reception, data request, and data response.

[0028] 3(a) shows an example of data transmission. Data transmission is a communication format in which the master node 10 transmits data to the slave node 12. The master node 10 transmits a PID including identification information of the communication format (data transmission) and identification information of the slave node 12 that will receive the data, and a response. The master node 10 sets the identification information of the communication format in bits 0 to 2 of the PID, sets the identification information of the slave node 12 in bits 3 to 6, and sets a parity bit in bit 7.

[0029] All slave nodes 12 connected to the signal line BUS receive the frame. At least one slave node 12 identified based on the identification information included in the PID in the frame receives a response (data) and writes the received data to an internal register. Slave nodes 12 other than the at least one slave node 12 identified based on the identification information included in the PID do not receive the response (data). Identification of slave nodes 12 based on the identification information included in the PID will be described later with reference to FIGS. 5 to 8.

[0030] FIG. 3(b) shows an example of data reception. Data reception is a communication mode in which the master node 10 receives data from the slave node 12. The slave node 12 outputs a frame consisting of a PID including identification information for the communication mode (received data), its own identification information, and a response to the signal line BUS. The slave node 12 sets the identification information for the communication mode in bits 0 to 2 of the PID, sets its own identification information in bits 3 to 6, and sets a parity bit in bit 7.

[0031] The master node 10 identifies the slave node 12 based on the slave node identification information contained in bits 3 to 6 of the PID in the received frame, and receives the response (data) contained in the frame as data from the identified slave node 12.

[0032] Figure 3(c) shows an example of a data request. A data request is a communication format in which the master node 10 requests the slave node 12 to transmit a response. The master node 10 outputs a PID, which includes identification information for the communication format (data request) and identification information for the slave node 12 requesting the transmission of a response, to the signal line BUS. The master node 10 sets the identification information for the communication format in bits 0 to 2 of the PID, sets the identification information for the slave node 12 in bits 3 to 6, and sets a parity bit in bit 7.

[0033] All slave nodes 12 connected to the signal line BUS receive the PID. Any slave node 12 whose own identification information matches the identification information of the slave node included in the received PID transmits a response (data) based on the identification information of the communication format included in the PID.

[0034] The master node 10 receives the received response (data) as data from the slave node 12 requesting the transmission of a response.

[0035] Figure 3(d) shows an example of a data response. The data response is a communication format in which the master node 10 transmits a response to the slave node 12. The slave node 12 outputs a PID including the identification information of the communication format (data response) and its own identification information to the signal line BUS. The slave node 12 sets the identification information of the communication format in bits 0 to 2 of the PID, sets its own identification information in bits 3 to 6, and sets a parity bit in bit 7.

[0036] The master node 10 outputs a response (data) to the received PID to the signal line BUS. The slave node 12 receives the response (data) from the master node 10 as a response to the PID it transmitted, and writes the received data to an internal register.

[0037] 4 is a diagram for explaining the communication format identification information set in bits 0 to 2 of the PID. In the embodiment, in addition to one-to-one single cast, one-to-many broadcast can also be performed. Data transmission is classified into one-to-one single cast, one-to-two broadcast, one-to-four broadcast, and one-to-eight broadcast.

[0038] The communication mode of identification number 1 relates to one-to-one single cast data transmission (FIG. 3(a)). FIG. 5 is a diagram for explaining one-to-one single cast. FIG. 5(a) is a diagram showing an example of a PID transmitted during one-to-one single cast. FIG. 5(b) is a diagram showing an example of one-to-one single cast. The master node 10 transmits the PID and a response.

[0039] Bits 0, 1, and 2 of the PID are set to "000b," and bits 3 to 6 are set to "0000," which is the identification information of the slave node that receives the response (here, slave node 12-0). Bit 7 of the PID is a parity bit.

[0040] If bits 0 to 2 of the PID are "000b", all slave nodes 12 that receive the PID determine whether bits 3 to 6 of the PID match their own identification information. Of the 16 slave nodes 12, only slave node 12-0 has identification information that matches bits 3 to 6 of the PID. Therefore, if bits 0, 1, and 2 of the PID are "000b", only one slave node 12-0, whose PID bits 3 to 6 match its own identification information, will receive a response. This achieves one-to-one single-cast data transmission.

[0041] The communication mode of identification number 2 relates to data transmission by one-to-two broadcast (FIG. 3(a)). FIG. 6 is a diagram for explaining one-to-two broadcast. FIG. 6(a) is a diagram showing an example of a PID transmitted during one-to-two broadcast. FIG. 6(b) is a diagram showing an example of one-to-two broadcast. The master node 10 transmits the PID and a response.

[0042] Bits 0, 1, and 2 of the PID are set to "001b," bit 3 is arbitrarily set to either "0" or "1," and bits 4 to 6 are set to "000," the lowest three bits of the identification information of the two slave nodes that will receive the response (here, bits 2 to 0 of the identification information "0000" of slave node 12-0 and bits 2 to 0 of the identification information "1000" of slave node 12-8; these are equal to each other).

[0043] If bits 0 to 2 of the PID are "001b", all slave nodes 12 that receive the PID ignore bit 3 of the PID and determine whether bits 4 to 6 match the lowest three bits (bits 2 to 0) of their own identification information. Of the 16 slave nodes 12, the slave nodes 12-0 and 12-8 have the lowest three bits of their identification information that match bits 4 to 6 of the PID. Therefore, if bits 0, 1, and 2 of the PID are "001b", the two slave nodes 12-0 and 12-8, whose PID bits 4 to 6 match the lowest three bits of their own identification information, will receive a response. This achieves data transmission by one-to-two broadcast.

[0044] The communication mode of identification number 3 relates to data transmission by one-to-four broadcast (FIG. 3(a)). FIG. 7 is a diagram for explaining one-to-four broadcast. FIG. 7(a) is a diagram showing an example of a PID transmitted during one-to-four broadcast. FIG. 7(b) is a diagram showing an example of one-to-four broadcast. The master node 10 transmits the PID and a response.

[0045] Bits 0, 1, and 2 of the PID are set to "010b," bits 3 and 4 are arbitrarily set to either "0" or "1," and bits 5 and 6 are set to "00," the lowest two bits of the identification information of the four slave nodes receiving the response (here, bits 1 and 0 of the identification information "0000" of slave node 12-0, bits 1 and 0 of the identification information "0100" of slave node 12-4, bits 1 and 0 of the identification information "1000" of slave node 12-8, and bits 1 and 0 of the identification information "1100" of slave node 12-12; these are equal to each other).

[0046] If bits 0 to 2 of the PID are "010b," all slave nodes 12 that receive the PID ignore bits 3 and 4 of the PID and determine whether bits 5 and 6 match the lowest two bits (bits 1 and 0) of their own identification information. Of the 16 slave nodes 12, the slave nodes 12-0, 12-4, 12-8, and 12-12 have the lowest two bits of their identification information that match bits 5 and 6 of the PID. Therefore, if bits 0, 1, and 2 of the PID are "010b," the four slave nodes 12-0, 12-4, 12-8, and 12-12, whose PID bits 5 and 6 match the lowest two bits of their own identification information, will receive a response. This achieves data transmission by one-to-four broadcast.

[0047] The communication mode of identification number 4 relates to data transmission by one-to-eight broadcast (FIG. 3(a)). FIG. 8 is a diagram for explaining one-to-eight broadcast. FIG. 8(a) is a diagram showing an example of a PID transmitted during one-to-eight broadcast. FIG. 8(b) is a diagram showing an example of one-to-eight broadcast. The master node 10 transmits the PID and a response.

[0048] Bits 0, 1, and 2 of the PID are set to "011b," bits 3, 4, and 5 are arbitrarily set to either "0" or "1," and bit 6 is set to "0," which is the LSB of the identification information of the eight slave nodes that will receive the response (here, the LSB of the identification information "0000" of slave node 12-0, the LSB of the identification information "0010" of slave node 12-2, the LSB of the identification information "0100" of slave node 12-4, the LSB of the identification information "0110" of slave node 12-6, the LSB of the identification information "1000" of slave node 12-8, the LSB of the identification information "1010" of slave node 12-10, the LSB of the identification information "1100" of slave node 12-12, and the LSB of the identification information "11110" of slave node 12-14; these are equal to each other).

[0049] If bits 0 to 2 of the PID are "011b," all slave nodes 12 that receive the PID ignore bits 3 to 5 of the PID and determine whether bit 6 matches the LSB of their own identification information. Among the 16 slave nodes 12, the slave nodes 12-0, 12-2, 12-4, 12-6, 12-8, 12-10, 12-12, and 12-14 have the LSB of their identification information that matches bit 6 of the PID. Therefore, if bits 0, 1, and 2 of the PID are "011b," the eight slave nodes whose PID bit 6 matches the LSB of their own identification information will receive a response: slave nodes 12-0, 12-2, 12-4, 12-6, 12-8, 12-10, 12-12, and 12-14. This achieves data transmission by 1-to-8 broadcast.

[0050] The communication type of identification number 5 relates to data reception (FIG. 3(b)). The slave node 12 transmits a PID and a response.

[0051] Bits 0, 1, and 2 of the PID are set to "100b," and bits 3 to 6 are set to the PID and the identification information of the slave node that sends the response.

[0052] When the master node 10 receives the PID, if bits 0 to 2 of the PID are "100b", it receives the data received after the PID as data from the slave node 12 specified by bits 3 to 6 of the PID. Data reception is one-to-one communication.

[0053] The communication form of identification number 6 is a data request (FIG. 3(c)). The master node 10 transmits a PID, and the slave node 12 transmits a response.

[0054] Bits 0, 1, and 2 of the PID are set to "101b," and bits 3 to 6 are set to the identification information of the slave node that sends the response.

[0055] When the slave node 12 receives the PID, if bits 0 to 2 of the PID are "101b", and if the identification information set in itself matches bits 3 to 6 of the PID, it outputs a response to the signal line BUS. Data requests are also one-to-one communications.

[0056] The communication form of identification number 7 relates to a data reply (FIG. 3(d)). The slave node 12 sends a PID, and the master node 10 sends a response.

[0057] Bits 0, 1, and 2 of the PID are set to "110b," and bits 3 to 6 are set to the identification information of the slave node that sends the response.

[0058] When the master node 10 receives the PID, if bits 0 to 2 of the PID are "110b", and if the identification information set in itself matches bits 3 to 6 of the PID, it outputs a response to the signal line BUS. The slave node 12 receives the response received when the PID was sent. Data responses are also one-to-one communications.

[0059] FIG. 9 is a flow diagram showing an example of frame transmission when the master node 10 transmits data.

[0060] The master node 10 determines whether the data transmission to be performed is to one slave node 12 (step S102).

[0061] If the data transmission to be performed is to one slave node 12 (YES in step S102), the master node 10 generates a PID in which bits 0, 1, and 2 are "000b," bits 3 to 6 are identification information of the destination slave node 12, and bit 7 is a parity bit (step S104). For example, as shown in Fig. 5, if the destination slave node is slave node 12-0, bits 3 to 6 of the PID are "0000."

[0062] If the data transmission to be performed is not to one slave node 12 (NO in step S102), the master node 10 determines whether the data transmission to be performed is to two slave nodes 12 (step S106).

[0063] If the data transmission to be performed is to two slave nodes 12 (YES in step S106), the master node 10 generates a PID in which bits 0, 1, and 2 are "001b," bit 3 is arbitrary, bits 4 to 6 are the lowest three bits of identification information of the two slave nodes 12 (common to the two slave nodes), and bit 7 is a parity bit (step S108). For example, as shown in Fig. 6, if the two slave nodes are slave nodes 12-0 and 12-8, bits 4, 5, and 6 of the PID are "000."

[0064] If the data transmission to be performed is not to two slave nodes 12 (NO in step S106), the master node 10 determines whether the data transmission to be performed is to four slave nodes 12 (step S110).

[0065] If the data transmission to be performed is to four slave nodes 12 (YES in step S110), the master node 10 generates a PID in which bits 0, 1, and 2 are "010," bits 3 and 4 are arbitrary, bits 5 and 6 are the lowest two bits of identification information of the four slave nodes 12 (common to the four slave nodes), and bit 7 is a parity bit (step S112). For example, as shown in Fig. 7, if the four slave nodes are slave nodes 12-0, 12-4, 12-8, and 12-12, bits 5 and 6 of the PID are "00."

[0066] If the data transmission is not to four slave nodes 12 (NO in step S110), the master node 10 determines that the data transmission is to eight slave nodes 12, and generates a PID in which bits 0, 1, and 2 are "011," bits 3, 4, and 5 are arbitrary, bit 6 is the LSB of the node addresses of the eight slave nodes 12 (common to the eight slave nodes), and bit 7 is a parity bit (step S114). For example, as shown in FIG. 8, if the eight slave nodes are slave nodes 12-0, 12-2, 12-4, 12-6, 12-8, 12-10, and 12-12, bit 6 of the PID is "0."

[0067] After the PID generation process (steps S104, S108, S112, S114), the master node 10 transmits a frame consisting of a PID and a response (comprising frame information, data, and CRC) as shown in FIG. 4 (step S116).

[0068] According to an embodiment, part of the 8-bit PID (bits 3 to 7) is used as slave node identification information, and the other part (bits 0 to 2) is used as communication format identification information. When the communication subject is data transmission, the slave node receives a response if the identification information included in the PID matches its own identification information. The communication format includes broadcast data transmission in addition to single-cast data transmission. When the communication format is broadcast data transmission, the communication format identification information can specify the number of destination slave nodes. If the communication format identification information specifies the number of destination slave nodes, the slave node ignores some bits when comparing the identification information. This realizes broadcasting. Therefore, multiple devices connected to the slave node 12 can transmit data simultaneously. In an automobile, the turn signal function may use four lamps, one at the front and one at the back. If broadcasting is not performed, the timing of these lamps lighting up will be out of sync.

[0069] Furthermore, according to the embodiment, the master node 10 does not set a PID for each communication mode, but sets one PID to which identification information of the communication mode is added, and the slave node 12 determines the identification information of the communication mode in the one PID received and performs processing according to the determination result. Therefore, even if there are many communication modes, the PID needs to be set only once, and the communication time for setting the PID is saved.

[0070] The present invention is not limited to the above-described embodiments, and the components can be modified and embodied in practice without departing from the spirit of the invention. Furthermore, various inventions can be created by appropriately combining multiple components disclosed in the above-described embodiments. For example, some components may be omitted from all the components shown in the embodiments. Furthermore, components from different embodiments may be appropriately combined. [Explanation of symbols]

[0071] 10...Master node, 12...Slave node, 22...CXPI transceiver

Claims

1. A communication system comprising a transmitting device and a plurality of receiving devices, the transmitting device transmits to the plurality of receiving devices identification information including first information specifying a communication format and second information specifying a receiving device as a destination, and data; When the first information specifies data transmission from the transmitting device, each of the plurality of receiving devices determines whether or not to receive the data based on at least a part of the second information; When the first information specifies data transmission by single-cast, each of the plurality of receiving devices determines whether or not to receive the data based on all bits of the second information; the second information is multi-bit information, the transmitting device sets a plurality of bits of third information in each of the plurality of receiving devices; When the first information specifies data transmission by single-cast, each of the plurality of receiving devices receives the data when all bits of the second information and all bits of the third information match; When the first information specifies data transmission by broadcast, each of the plurality of receiving devices receives the data when a part of bits of the second information matches the part of bits of the third information; When the first information specifies the number of receiving devices to which the broadcast is to be sent, the number of bits of the partial bits corresponds to the number of receiving devices to which the broadcast is to be sent, A communication system in which the number of bits of the part of bits decreases as the number of receiving devices to which the broadcast is directed increases.

2. A transmitting device that communicates with a plurality of receiving devices, transmitting first identification information including first information specifying a first communication mode and second information specifying at least one first receiving device among the plurality of receiving devices; receiving second identification information including third information specifying a second communication mode and fourth information specifying at least one second receiving device among the plurality of receiving devices; the third information designates data reception or data response; if the third information specifies data reception, after receiving the second identification information, receiving first data from the at least one second receiving device specified by the fourth information among the plurality of receiving devices; A transmitting device that, if the third information specifies a data response, after receiving the second identification information, transmits second data regarding the at least one second receiving device specified by the fourth information among the plurality of receiving devices.

3. The first information specifies a data transmission or a data request, If the first information specifies data transmission, transmitting the first data after transmitting the first identification information; 3. The transmitting device according to claim 2, wherein, if the first information specifies a data request, after transmitting the first identification information, the transmitting device receives second data from the at least one first receiving device specified by the second information among the plurality of receiving devices.

4. The first information specifies data transmission by single cast or broadcast, 3. The transmitting device according to claim 2, wherein when the first information specifies data transmission by broadcast, some bits of the second information are invalidated in each of the plurality of receiving devices.

5. A transmitting device as described in claim 4, wherein, when the first information further specifies the number of receiving devices to which the broadcast is to be made, the number of bits of the second information that are invalidated in each of the multiple receiving devices increases in accordance with the increase in the number of receiving devices to which the broadcast is to be made.

6. A receiving device that communicates with a transmitting device, receiving first identification information transmitted from the transmitting device, the first identification information including first information specifying a first communication mode and second information specifying the receiving device; When the first information specifies data transmission from the transmitting device, determining whether or not to receive first data transmitted from the transmitting device after the first identification information based on at least a part of the second information; the second information is multi-bit information, third information of a plurality of bits is set by the transmitting device; When the first information specifies data transmission by single-cast, if all bits of the second information and all bits of the third information match, receive the first data; receiving the first data when the first information specifies data transmission by broadcast and when some bits of the second information and the some bits of the third information match; When the first information specifies data transmission by broadcast and the number of receiving devices to which the broadcast is to be sent, the number of bits of the partial bits corresponds to the number of receiving devices to which the broadcast is to be sent, A receiving device, wherein as the number of receiving devices to which the broadcast is targeted increases, the number of bits of the portion of bits decreases.

7. A receiving device as described in claim 6, which, when the first information specifies data transmission by single cast, determines whether or not to receive the first data based on all bits of the second information.

8. The second information is multi-bit information, third information of a plurality of bits is set by the transmitting device; 7. The receiving device according to claim 6, wherein, when the first information specifies a data request, after receiving the first identification information, if all bits of the second information and all bits of the third information match, the receiving device transmits second data.

9. Transmitting second identification information including fourth information specifying a second communication form and the second information; The fourth information can specify data reception or data response, If the fourth information specifies data reception, transmitting the second data after transmitting the second identification information; 7. The receiving device according to claim 6, wherein if the fourth information specifies a data response, the receiving device receives the second data after transmitting the second identification information.

Citation Information

Patent Citations

  • Illumination light communication system

    JP2012039556A

  • Communication method

    JP2017063390A

  • Power failure lamp power supply, power failure lamp device, and power failure lamp control system

    JP2018073601A

  • Bus protocol for kinetic lighting application

    JP2019088000A

  • Illumination appliance

    JP2021009765A