Daisy chain connected master-slave communication system and operation method thereof

By using chain lines in a daisy-chain connected master-slave communication system to achieve serial data transmission between slaves and bidirectional communication between master and slave, the problems of limited bidirectional communication and additional wiring complexity in existing systems are solved , achieving efficient and robust full-duplex communication.

CN118871899APending Publication Date: 2024-10-29VLAAMSE INSTELLING VOOR TECHNOLOGISCH ONDERZOEK NV (VITO)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380025424.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-02-01
Filing Date
2023-01-31
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

Existing daisy-chain master-slave communication systems suffer from limited two-way communication and additional wiring complexity when efficiently transmitting large amounts of data, resulting in complex system designs and high risk of failure.

Method used

Serial data transmission between slaves is achieved by using chain lines in a daisy chain, and chain lines are used for two-way communication between the master and slaves, eliminating the need for a dedicated communication line between each slave and the master. The circuit of the line realizes full-duplex communication.

Benefits of technology

It achieves high-bandwidth full-duplex communication under limited wiring, reduces system design complexity and failure risks, and improves communication efficiency and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118871899A_ABST
    Figure CN118871899A_ABST
Patent Text Reader

Abstract

The invention relates to a daisy chain connected master-slave communication system and an operation method thereof. The system comprises a cascade of a host and N slaves linked in a chain, where the host is connected to each of the N slaves through a communication line, where the system is configured to perform serial data communication from the host to the N slaves using the communication line, where the nth slave is connected to the (n + 1) th slave through a chain line, where n is a positive integer greater than or equal to 1, and n is a negative integer greater than or equal to 2. N is an integer of 1 or more and less than N, where the host comprises a communication port connected to a first one of the N slaves through a first chain line, and where the system is configured to employ the chain lines for serial data communication from the slaves to the communication port of the host.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a daisy-chain connected master-slave communication system, which includes a master and a cascade of N slaves linked in a chain. In addition, the present invention relates to a method for transmitting data between a cascade of N slaves arranged in a daisy chain and interconnected by means of a chain link and a master connected to each of the N slaves via a communication line. In addition, the present invention relates to a host device of a daisy-chain connected master-slave communication system. The present invention also relates to an apparatus including a daisy-chain connected master-slave communication system. Further, the present invention relates to a battery system having a plurality of battery cells. Background Art

[0002] In various applications, a large number of units of a system or device may need to be monitored and / or controlled. For example, these units may be electrical components. Some exemplary applications are fuel cell cells, battery cells, photovoltaic cell cells, window actuators, mirror actuators, tire pressure monitors, distributed sensor systems, lighting systems, etc. In these applications, individual monitors and / or actuators, which may be referred to as slaves, are linked via a serial bus to transfer data to a host control unit. Each monitor and / or actuator node on the bus may be linked to a physical location (e.g., front / rear, left / right tire, location in a battery, etc.), and for example, for diagnostics, it may be important to know which data is coming from which location.

[0003] In some examples, this can be achieved by identifying each node circuit with a unique address and tracking its location before installation. This can create difficulties in production and logistics because all nodes are different and each node must be installed in the appropriate location or require the nodes to operate independently. For example, modbus nodes on RS-485 (also known as TIA-485(-A) or EIA-485) use such an approach. RS-485 is a standard that defines the electrical characteristics of drivers and receivers for use in serial communication systems.

[0004] Another more efficient known method involves additional wire daisy chaining. Here, additional wires are added to allow the nodes to obtain location information after installation and during the first startup process. This method is efficient but requires additional cabling that is not used during normal operation. For example, the LIN bus uses this technique to identify physical locations.

[0005] If full-duplex communication is desired or even required, for example because a relatively large amount of data is to be received by the master, additional communication conductors can be arranged, i.e., a first communication conductor for allowing serial data communication between the master and the slave in a first direction (e.g., from the master to the slave) and a second communication conductor for allowing serial data communication between the master and the slave in a second direction opposite to the first direction (e.g., from the slave to the master). However, this technology implemented in various applications in the field has significant disadvantages. In some cases, an additional communication port must be provided for each slave. In addition, integrating such additional wiring may be cumbersome and impractical, particularly for systems with a large number of slaves (e.g., a battery system with a relatively large number of battery cells coupled to the slaves). In addition, such additional wiring to the slaves may also result in a higher risk of failure.

[0006] In a half-duplex daisy-chained master-slave communication system with one communication line, for example, the first slave can send data to the master, and the master must first wait until the data from the first slave is received, after which, when the communication line is available, the second slave can send data to the master. Data transmission from the slaves occurs one at a time, i.e., the next slave must wait until the previously queried slave returns data first, and then the next slave can send its data to the master. Such a configuration with one communication line may be too restrictive and inefficient, especially when a large number of slaves are arranged in a daisy-chained master-slave communication system.

[0007] There is a need for a master-slave communication system that can provide bidirectional simultaneous communication (see full-duplex) between a master and a slave in a cost-effective and robust manner. Summary of the invention

[0008] It is an object of the present invention to provide a method and a system which obviate at least one of the above-mentioned disadvantages.

[0009] Additionally or alternatively, it is an object of the invention to improve the design of a master-slave communication system.

[0010] Additionally or alternatively, it is an object of the present invention to provide an improved method of transferring data between a master and a slave in a master-slave communication system.

[0011] In addition, the present invention provides a daisy-chain connected master-slave communication system, which includes a cascade of a host and N slaves linked into a chain, wherein the host is connected to each of the N slaves via a communication line, wherein the system is configured to use the communication line to perform serial data communication from the host to the N slaves, wherein the nth slave is connected to the (n+1)th slave via a chain line, n is an integer of 1 or greater and less than N, wherein the host includes a communication port connected to a first slave of the N slaves via a first chain line, and wherein the system is configured to use these chain lines to perform serial data communication from these slaves to the communication port of the host.

[0012] The first chain line that can be used as a serial communication line makes it possible to achieve a cost-effective and robust way of achieving simultaneous bidirectional communication between the master and the slave. The slaves are arranged in a daisy chain, and after configuration, in addition to providing a communication line for direct data coupling between the master and the slave, the chain line that can be used for configuration (see address allocation) can also be effectively used for serial data transmission between the slave and the master. Advantageously, with limited additional cabling, the system can be used for simultaneous bidirectional communication between the master and N slaves. In practical situations, the first chain line can have a limited impact on the complexity of the design. Therefore, it can be prevented from having to arrange additional communication lines to provide direct coupling between the master and the N masters, thereby providing simultaneous bidirectional communication between the master and the N slaves.

[0013] The system according to the present disclosure provides a configuration that can provide significantly higher bandwidth. Cables can be shorter and therefore have lower parasitic capacitance, allowing higher bit rates. In addition, each transmitter may only need to drive one receiver, allowing even higher bit rates. The data lines may not need to switch directions, so the resulting delays are not required.

[0014] Optionally, the chain line is used for configuration and / or address allocation of the slaves. The configuration and / or address allocation may relate to an initial configuration and / or address allocation, or a further (re) configuration and / or address allocation.

[0015] Optionally, each slave has at least two ports.

[0016] Optionally, each slave includes at least a first port and a second port, wherein the second port of the nth slave is connected to the first port of the (n+1)th slave. Therefore, the slaves are connected into a chain by means of a chain line connecting the second port of a slave to the first port of the latter slave. The last slave in the chain may not be connected to the latter slave. Therefore, its second port may be connected to the ground. Additionally or alternatively, the second port of the last slave may be connectable to the host. In this way, the configuration direction (see configuration mode) and / or the communication direction (see communication mode) can be easily adapted. For communication purposes, the chain line may be a communication line. The (multiple) ports of the host connected to the chain line may be configured to enable data communication. The first slave is connected to the host via the first chain line, thereby connecting the communication port of the host to the first port of the first slave.

[0017] In some examples, each slave includes a first port (see downstream port) connectable to a downstream (adjacent / neighbor) slave and a second port (see upstream port) connectable to an upstream (adjacent / adjacent) slave. The first port of the first slave can be connected to the communication port of the host via a first chain line. The second port of the last slave in the daisy chain configuration can be connected to the ground or the host. Additionally or alternatively, each slave has a logic unit operable to determine whether no upstream device is connected to the upstream port. In some examples, the upstream port receives an address assignment command from an upstream device, and wherein the address assignment command includes a first device address. A slave directly connected to the host can be regarded as a first slave and can be assigned a first address. The downstream port can send an (updated) address assignment command to a downstream device.

[0018] The design of the system can be significantly simplified by connecting the second port of the last slave in the daisy-chain configuration to the master by means of a chain line. In this case, optionally, the communication line providing data communication between the master and each slave can be omitted. Two-way communication (bidirectional) communication can be obtained by means of the loop of the chain line. The system can easily be operated in full-duplex mode with significantly less wiring.

[0019] Full-duplex communication can be achieved without the need for a dedicated communication line connecting each slave to the master. This can be achieved by providing a communication line between the last slave and the master (see last chain line). The second communication port of the master (to which the last slave is connected by means of the last chain line) allows a communication line in the reverse direction to be obtained.

[0020] Optionally, the upstream port is connected to an upstream device (e.g., a slave) via a single conductor, and the downstream port is connected to a downstream device (e.g., a slave) via a single conductor. For example, the downstream port of the first slave may also be connected to a host (which is a downstream device for the first slave).

[0021] Optionally, each slave has a dedicated port connected to the communication line.

[0022] The chain line can be arranged between each successive slave, thereby connecting all slaves together to form a chain of slaves. The first slave is connected to the communication port of the master via the first chain line. In some cases, the first slave can be changed, for example to change the configuration direction and / or the communication direction.

[0023] Optionally, the communication port is a serial data port, and wherein the link lines form a serial communication link between the N slaves and the host to transmit sensor data and / or status data of one or more of the N slaves to the host.

[0024] The communication line can be configured to enable bidirectional communication. However, the communication line may not allow simultaneous bidirectional communication. In this case, in a specific time span, the master can send data (e.g., request / query message) to N slaves, or the slave can send data back via the same communication line. Instead of using the communication line in half-duplex mode (bidirectional, but not in both directions at the same time), the system according to the present invention is configured to enable additional serial communication of data via the link line. In this way, full-duplex communication can be achieved in an advantageous manner.

[0025] Optionally, the host is configured to output, process and / or send information associated with data received from one or more slaves. In some cases, before outputting and / or sending information associated with data received from the one or more slaves, the data is pre-processed.

[0026] Optionally, the system is configured to implement full-duplex communication between the master and N slaves, wherein the system is configured to use the communication line for unidirectional communication from the master to one or more of the N slaves, and wherein the system is configured to use the link line for unidirectional communication from one or more of the N slaves to the master, and / or vice versa.

[0027] In some cases, the master will collect a large amount of data from N slaves, and / or a large number of slaves are arranged in the system, making it strongly desirable to use the system full-duplex rather than perform half-duplex communication.

[0028] Optionally, the system is configured to be switchable between a configuration mode for performing daisy chain communication address assignment using the chain lines (e.g., the chain lines can be used as address lines) and a communication mode for performing master-slave data communication. In the communication mode, simultaneous bidirectional communication between the master and the slaves can be achieved in an advantageous manner (see full-duplex communication).

[0029] Optionally, the master is configured to selectively configure (eg, change a logic state of) the first data port of the first slave during a configuration process / mode.

[0030] Optionally, the host includes control circuitry.The system can selectively operate in a configuration mode and a communication mode.

[0031] Optionally, in the configuration mode, the host is configured so that the output of the communication port of the host can be switched between two logical states (e.g., "0"-"1"; "low"-"high"). The communication port is connected to the first port of the first slave via a first chain line, so that the state of the first port can be easily switched during configuration. In the configuration mode, address distribution can be performed. Information about the (physical) location of the slave and / or devices associated with the slave (e.g., sensors and actuators) can be determined during the configuration process. In the communication mode, the communication port of the host can be used for serial data communication (e.g., receiving serial data from a chained slave).

[0032] In some cases, all slaves are queried to send their data (if available) to the master. For example, for a battery system application, data associated with each monitored battery cell (e.g., temperature, voltage, etc.) can be forwarded from the slave to the master. The communication process can begin with each slave sending its own information downstream.

[0033] When the system is operating in the configuration mode, the link wires arranged between the slaves can be used as configuration wires. However, in addition, when the system is operating in the communication mode, these link wires can also be used as communication wires. Serial data from the slave can be transmitted to the master via the first link wire, thereby providing a serial data communication connection between the first slave and the master.

[0034] The slaves may be configured to receive data from upstream adjacent slaves and send the data to downstream adjacent slaves. This process may be repeated until all queried slaves send their data to the master.

[0035] Optionally, each of the N slaves is configured to forward the entire set of data signals received from the previous slave in the chain to another slave in the chain until the set of data signals reaches the master via the chain line.

[0036] In some examples, the slave is configured so that if no data must be sent to the host, the data from the next slave (i.e., upstream) is passed. For example, if the first slave has no data to send to the host, the first slave can pass the data from the second slave, and so on. For example, if the third slave must send data to the host, the data can be sent via the first port of the third slave, and then received by the second port of the second slave, and then the second port of the second slave can pass the data to the first slave via its first port communicating with the second port of the first slave. Then, the serial data received on the second port of the first slave can be sent to the host via the first port of the first slave. In this way, data from the third slave can be received by the host. However, at the same time, the host can communicate with the slave via a communication line and send data to the slave. In this way, full-duplex communication can be achieved in an advantageous manner.

[0037] Optionally, each slave comprises a memory module.

[0038] Optionally, each of the N slaves is configured to send the slave's data to downstream neighbor slaves when the master sends a broadcast request to the slaves, wherein once the slave completes sending its own data, the data is buffered and sent to the downstream neighbor slaves.

[0039] For example, a first slave may send its data to a host through a first port, which is connected to a communication port of the host via a first link. A second slave may be configured to wait, and when the first slave has completed, the second slave may then pass its data to the first slave, which may pass the data to the host. The host may be configured to first receive data from the first slave, then from the second slave, and so on. Thus, the data of successive slaves is received in the correct order at the communication port of the host.

[0040] Optionally, at least some set of the N slaves is configured to process data received from an upstream slave and then forward the data to a downstream slave. Optionally, each slave is configured to perform such processing. In some examples, a communication driver is used to perform the processing. The processing may involve, for example, reducing / mitigating noise, jitter and / or distortion in the received data, and / or performing data shaping. Various signal processing and / or modulation techniques may be employed.

[0041] Advantageously, in this way it can be prevented that small distortions in the signal could accumulate at each slave. Thus, in the case of a long chain of slaves it can be prevented that distortions could become larger in the downstream direction.

[0042] Optionally, each of the N slaves is configured to send data of the slave to downstream neighbor slaves when the master sends a broadcast request to the slaves, wherein the data is directly transmitted from one slave pipeline to another until the data sent by all slaves are received by the master.

[0043] All messages to the slaves can be initiated by the master. The slaves can reply to a given message identifier. Since all communications are initiated by the master, there is no need to implement collision detection.

[0044] For example, all slaves can be configured to forward their data directly to the neighboring / adjacent slaves downstream. Data from successive slaves can arrive at the communication port of the master in the correct order.

[0045] Optionally, the system has a preset first communication path from the master to all slaves and a preset second communication path from the chain-connected slaves to the master.

[0046] Optionally, the host is configured to receive the data packet in the order in which the slaves are connected to each other in the daisy chain, and wherein the host is configured to determine the position of the slave in the daisy chain based on the order.

[0047] The system can be configured to realize bidirectional data communication between the host and the slave. At least the host can be configured to instruct the slave to perform a certain action, and will provide synchronization between the slaves when the slave measures, actuates or transmits its data. According to the system disclosed in the present invention, a full-duplex system can be created. The input end (i.e., the first port) of the first slave to the host can perform a normal configuration procedure. Once the configuration is completed, the daisy chain wire (i.e., the chain line) is used for communication towards the host. For example, this can be done by reconfiguring the I / O pins of the slave to UART pins.

[0048] When the slave ports (e.g., pins), i.e., the first port and the second port, are configured for communication (normal operation), these ports are set to receive data from the upstream neighbor in the master direction and send data to the downstream neighbor. For example, the two UART pins (RX and TX) may not be connected point-to-point.

[0049] When a master requests data from a slave by issuing a broadcast request, all slaves send their data to their downstream neighbors. Here, the data may optionally be buffered and sent out once the downstream slave has finished sending its own data.

[0050] Below, a table is provided for an exemplary system with four slaves.

[0051]

[0052]

[0053] Table 1: Example data transfer using a chain line for a system with four slaves and one master.

[0054] In the above exemplary table, S1-S4 are the first to fourth slaves, respectively, D1-D4 are data packets from the first to fourth slaves, respectively, and MA is the master. TX indicates a transmitting action, and RX indicates a receiving action.

[0055] The data packets (D1-D4) are received by the master in the order in which the slaves are connected to each other, with the physical location determined by the order in which the cabling is done.

[0056] Optionally, the N slaves are associated with sensors and / or actuators.

[0057] In some examples, the slave is associated with one or more sensors and / or (state) monitoring devices, e.g., monitoring temperature, electrical values, etc. Additionally or alternatively, the slave may be associated with an actuator. The actuator may receive data and perform one or more actions (e.g., interior lighting in a vehicle) based on the received data.

[0058] In some examples, a slave is associated with both a sensor and an actuator. For example, in a battery system, a slave may be associated with one or more sensors that monitor sensory data (e.g., voltage, temperature, etc.) and one or more actuators (e.g., injecting balancing current into a battery cell).

[0059] Advantageously, the first port and the second port of the slave are used not only in a configuration mode but also in a communication mode for transmitting serial data from the slave to the master and / or vice versa.Simultaneous bidirectional communication between the master and the slave can be achieved in a cost-effective and robust manner.

[0060] In some examples, data from the selected / queried slave is directed to the host via one or more links. For example, if a third slave is queried to provide data to the host, the third slave may transmit its data to the second slave via a link connecting a first port of the third slave to a second port of the second slave, and similarly, the second slave may transmit data to the first slave, and the first slave may transmit data to the host.

[0061] Optionally, each slave is associated with a sensor arranged at a battery cell.

[0062] In a battery system with multiple battery cells, it may be necessary to monitor one or more parameters of the multiple battery cells. This can be performed in a master-slave configuration, wherein at least one slave is associated with each of the monitored battery cells. For example, such a battery system may include more than 100 battery cells to be monitored. In such an example, there may be, for example, 100 slaves, each coupled to one battery cell. Providing additional wires between the slave and the host may be a challenging task, for example, prone to errors, failures, etc. In addition, such additional wiring may result in a significantly more complex design, thereby increasing costs. A system according to the present disclosure may provide a cost-effective, effective and reliable solution for obtaining simultaneous bidirectional communication (see full-duplex) between a host and N slaves.

[0063] The importance of high bandwidth combined with low wire count, short wires, and automated configuration can be seen when looking at large battery systems. A battery system may be made up of hundreds of battery cells, each of which may require some form of monitoring (see sensing data). Much of the data needs to be transmitted to a host over considerable distances, as in some examples these batteries may occupy an entire building. If the monitoring circuit is integrated into the battery cell, each additional wire requires a proper hermetic seal. Systems according to the present disclosure can provide significant advantages when applied to battery systems. However, it will be understood that the system can be employed in a variety of other systems.

[0064] In some examples, the system has more than 20 slaves, preferably more than 40 slaves, and even more preferably more than 80 slaves.

[0065] Optionally, the N slaves are the same device.

[0066] By employing identical slaves, setting up the system can become significantly less labor-intensive. The production process of the system can be simplified. Advantageously, the daisy-chain connection allows address assignment to be performed after installation by means of a configuration step. Even when the setup of the system changes (e.g., additional slaves are added), address assignment can be simply performed by means of a configuration process.

[0067] Optionally, the host is connected in parallel with each of the N slaves via the communication line, wherein the parallel connection provides direct communication between the host and the N slaves.

[0068] A communication line may be a physical communication line configured to allow communication in one direction at a time. Therefore, simultaneous two-way communication via the communication line may not be possible.

[0069] Optionally, the host is serially connected to the N slaves via the link lines, wherein the serial connection provides indirect communication between the host and at least a subset of the N slaves.

[0070] If one of the slaves fails to operate correctly, in some cases, no more data can be sent from the defective slave (e.g., the output is defective) and / or no more data can be received from the upstream neighbor slave. For example, if the third slave fails, the master can only receive data from the first slave and the second slave, and it is possible to receive data from the third slave (e.g., if its first port is not defective). In this way, it is easy to determine where the defect occurs (i.e., an operational failure at the input end (first port) of the third slave or at the output end (second port) of the third slave). Since the location of the operational failure can be effectively identified, a robust diagnosis can be performed.

[0071] Optionally, an additional link line can be provided to connect the communication port of the host to the last slave. The additional link line can be connected to the second port of the last slave. In this way, during configuration, the configuration direction can be selected. For example, in the case of starting from the first slave, it is also possible to start from the last slave. This can be performed by appropriately setting the second port of the last slave to a predetermined state (for example, "0" / "low" or "1" "high" according to the convention used during configuration). This provides greater flexibility during configuration. However, advantageously, this can also provide a more robust system. For example, when one of the slaves is defective (for example, a fault), the location of the fault can be determined based on the data received from the host. However, if data can only be received from the slave to the host in one direction via the link line, some data may be blocked by the defective slave. By providing an additional link line connected to the last slave, data can also be received in the opposite direction (for example, bypassing the faulty / defective slave). In this way, more data can be obtained even during a fault in one of the slaves.

[0072] Similar to the first chain line, the last chain line can also be used to transmit serial data from the slave to the master. The first chain line and the last chain line can be connected to a communication port. In some examples, the first chain line and the last chain line are connected to the same or different communication ports of the master. However, it is also contemplated that the first chain line and the last chain line are connected to two different communication ports of the master.

[0073] If the first link and the last link are connected to the same communication port of the master, the system may include an anti-collision device configured to prevent data collisions during data communication. In some examples, two slaves may be prevented from transmitting data via the same line at the same time. This may be done in different ways (e.g., time slots, priority systems, etc.). In some examples, data collisions are prevented with the aid of a protocol layer.

[0074] It will be appreciated that a plurality of chain lines may provide a communication path between a master and a plurality of chained slaves. Daisy chain lines may be used for serial data communication between a slave and a master (see communication mode / process). However, these daisy chain lines may also be used to configure a slave (see configuration mode / process).

[0075] Optionally, (re)configuring the slave in the configuration mode is performed in response to a command transmitted by the master over at least one of the communication line or the link.

[0076] Optionally, the master is configured to determine the total number of slaves connected to it. This can be performed in a configuration mode / process. For example, this may be the case for a modular system in which slaves can be added and / or removed.

[0077] In the configuration mode, the master may be configured to initially send a command to initialize the N slaves. In some examples, the system is configured such that when the master issues the initialization command, the first slave may detect the state of the first port.

[0078] Once the configuration has been completed, the system can be switched from the configuration mode to the communication mode. The plurality of link lines are then used as secondary communication lines. In this way, full duplex communication between the master and the slaves can be achieved in a cost-effective and reliable manner. Advantageously, the system has a robust design. The link lines can be effectively used in both the configuration mode and the communication mode.

[0079] Thus, the system achieves two-way simultaneous communication between the master and the slaves. The communication port of the master is connected to the first port of the first slave, wherein the first slave is chain-connected to the second slave via a chain line arranged between the first slave and the second slave. For example, if the system has three or more slaves, the second port of the second slave is connected to the first port of the third slave via a chain line arranged between the second slave and the third slave, and so on.

[0080] Optionally, the system is configured to detect and / or identify a topology change, wherein the topology change includes at least one of an additional slave being added to the system, a slave in the system being removed (and / or operating faulty), a slave being powered on, or a slave in the system being powered off.

[0081] According to one aspect, the present invention provides a daisy-chain connected master-slave communication system, which includes a host and a cascade of N slaves linked into a chain, wherein the nth slave is connected to the (n+1)th slave via a chain line, n is an integer of 1 or greater and less than N, wherein the host includes a first communication port connected to a first slave among the N slaves via a first chain line, and wherein the host includes a second communication port connected to a last slave among the N slaves via a last chain line, and wherein the system is configured to use these chain lines for serial data communication between these slaves and the host.

[0082] Advantageously, such a system configuration enables full-duplex communication without the need for a communication line connecting each slave to the master. The last chain line connecting the last slave to the second communication port of the master enables the design of the system to be significantly simpler. In this way, a more cost-effective system can be obtained, requiring less wiring and / or less wired connections between the slaves and the master.

[0083] The second communication port of the master, to which the last slave is connected by means of the last link line, allows a communication line to be obtained in the reverse direction. The connection of the last slave to the second communication port of the master enables serial data communication in the reverse direction. The link line can be used for bidirectional communication between the master and the slaves.

[0084] According to one aspect, the present invention provides a data communication method between a cascade of N slaves arranged in a daisy chain and interconnected by means of a chain line and a host, wherein the nth slave is connected to the (n+1)th slave via the chain line, n is an integer of 1 or greater and less than N, wherein the host is provided with a first communication port connected to a first slave among the N slaves via a first chain line, and wherein the host is provided with a second communication port connected to a last slave among the N slaves via a last chain line, and wherein the system is configured to use the chain line for serial data communication between the slave and the host.

[0085] According to one aspect, the present invention provides a host device of a daisy-chain connected master-slave communication system according to the present disclosure, wherein the host device includes at least two different communication ports, one port is connectable to a communication line for sending serial data, and the other port is connectable to a first chain line for receiving serial data.

[0086] The master can achieve full-duplex connection with limited cabling. Daisy-chain connection can be arranged to establish the physical location of the slaves.

[0087] According to one aspect, the present invention provides a method for transmitting data between a cascade of N slaves arranged in a daisy chain and interconnected by means of chain links and a host connected to each of the N slaves via a communication line, wherein the nth slave is connected to the (n+1)th slave via a chain line, n is an integer of 1 or greater and less than N, wherein the host is provided with a communication port connected to a first slave of the N slaves via a first chain line, wherein the communication line is used for serial data communication from the host to the N slaves, and wherein the chain lines are used for serial data communication from the slaves to the communication port of the host.

[0088] Advantageously, the link lines that may be used as configuration lines during configuration mode may be used as communication lines for serial data transmission and / or reception from the slave to the master (and / or vice versa).

[0089] When the first chain line is connected to the communication port, serial information can be received from N slaves by connecting the slaves together to form a chain line of a chain network arrangement. The communication port can be configured to receive consecutive data bits. The host can be configured to process and / or store data. However, for example, during the configuration mode of the system, the same communication port can also be used to change the logic state of the first port of the first slave (e.g., switch between "low" / "0" and "high" / "1").

[0090] Optionally, the communication process is initiated after the configuration process. During configuration, the host can be configured to set the appropriate state of the first port (e.g., a "0" / "low" state for the above example) via a first link line that provides a connection between the communication port and the first port of the first slave. Successive slaves in the chain can then be configured sequentially. Once the configuration has been completed, the communication port of the slave can be used to receive (or alternatively send) serial data. Advantageously, the host can receive serial data from the N slaves in the chain by linking the host to multiple link lines of the N slaves in the chain.

[0091] According to an aspect, the invention provides an apparatus comprising a system according to the invention.

[0092] According to one aspect, the present invention provides a battery system including a daisy-chain connected master-slave communication system according to the present invention.

[0093] According to one aspect, the present invention provides a method for addressing the physical location of a slave of a system.

[0094] In batteries with multiple cells, a relatively large amount of data must usually be monitored. The present invention provides an advantageous daisy-chained master-slave communication system that can operate in full-duplex mode (see simultaneous bidirectional communication between master and slave). The system can efficiently handle the data traffic from slave to master.

[0095] The host can periodically monitor the sensor data associated with the battery cells. If one or more predetermined monitored parameters (e.g., battery cell voltage, temperature) are too high or too low, action can be taken to make the battery system safe. For example, as a measure, the main contacts of the battery can be disconnected.

[0096] For battery applications, the system may include means configured to prevent high voltages from being applied to the communication port (eg, galvanic isolation).

[0097] Systems and methods according to the present invention may be used in a variety of other applications, such as, for example, in fuel cell cells, photovoltaic cell cells, window actuators, mirror actuators, tire pressure monitors, distributed sensor systems, lighting systems, and the like.

[0098] According to one aspect, the invention relates to a method of configuring a master-slave communication system.

[0099] According to one aspect, the present invention is directed to a vehicle sensing system using a daisy-chained master-slave communication system. At least some set of slaves may be connected to sensors for use with the vehicle sensing system.

[0100] The term "a / an" does not indicate a limitation of quantity, but rather indicates the presence of at least one of the mentioned items. The term "or" is intended to be inclusive and means any one or all of the listed items. The use of "include," "comprise," or "have" and variations thereof herein is intended to cover the items listed thereafter and their equivalents and additions. The terms "connect" and "couple" are not limited to physical or mechanical connections or couplings, and may include electrical connections or couplings, whether direct or indirect. In addition, the terms "slave," "host," and "controller" may include a single component or multiple components that are active and / or passive and are connected or otherwise coupled together (e.g., as one or more integrated circuit chips) to provide the described functionality.

[0101] It will be appreciated that in some examples, the communication lines providing a direct (data) connection between the master and each slave may be optional. For example, full-duplex communication may still be obtained by arranging a link line between the last slave and the master. In such an advantageous example, the wiring of the system may be significantly simplified while providing full-duplex communication between the master and the slaves.

[0102] It will be understood that terms such as "upstream" and "downstream" may relate to the direction of data transmission. For example, data may be sent from an upstream unit to a downstream unit. Other conventions may also be used.

[0103] It will be appreciated that various methods for assigning (unique) device addresses to a series of slaves of a system may be employed. In a configuration mode, the system may perform automatic discovery and / or automatic enumeration of serially interconnected slaves (in a daisy chain arrangement). An address may be assigned to each slave. Each slave in the system may be discovered and each slave may be enumerated.

[0104] It will be appreciated that the communication port of the host and the first and second ports of the slave can be configured to receive / send data in the form of bits. In some examples, data is forwarded only when 8 bits (corresponding to one byte) are received. Various serial data communication configurations can be employed.

[0105] It will also be understood that when a feature or element is referred to as being "connected," "attached," or "coupled" to another feature or element, the feature or element may be directly connected, attached, or coupled to the other element, or there may be intervening elements. Conversely, when a feature or element is referred to as being "directly connected," "directly attached," or "directly coupled" to another element, there are no intervening elements. Although described or illustrated with respect to one embodiment, the features so described or illustrated may apply to other embodiments.

[0106] It will be understood that although the terms "first", "second", "further", "additional", "last" are used herein to describe various components, these components should not be limited by these terms. These terms are only used to distinguish one component from another component. Therefore, the first component discussed herein can be alternatively named without departing from the teachings of the present invention. Throughout the disclosure, like reference numerals refer to like elements.

[0107] The terms used in this article are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. As used in this article, the singular forms "a / an" and "the" are also intended to include plural forms, unless the context clearly indicates otherwise. It will be further understood that the term "includes" and / or its variations when used in this specification specify the presence of stated features, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, steps, operations, elements, parts and / or their groups. As used in this article, the term "and / or" includes any one and all combinations of one or more items in the associated listed items.

[0108] It will be understood that any aspects, features and options described in terms of the system apply equally to the method and the described host device, apparatus including the system and battery cells. It will also be clear that any one or more of the above aspects, features and options may be combined. BRIEF DESCRIPTION OF THE DRAWINGS

[0109] The present invention will be further elucidated based on the exemplary embodiments represented in the accompanying drawings. These exemplary embodiments are given by way of non-limiting illustration. It should be noted that the accompanying drawings are only schematic representations of embodiments of the present invention given by way of non-limiting examples.

[0110] In the attached picture:

[0111] Figure 1 A schematic diagram showing an embodiment of the system is shown;

[0112] Figure 2 A schematic diagram showing an embodiment of the system is shown;

[0113] Figure 3 A schematic diagram showing an embodiment of the system is shown;

[0114] Figure 4 A schematic diagram showing an embodiment of the system; and

[0115] Figure 5 A schematic diagram of an embodiment of a system is shown. DETAILED DESCRIPTION

[0116] Figure 1 A schematic diagram of an embodiment of a daisy-chain connected master-slave communication system 1 is shown, which includes a host 3 and a cascade of N slaves 5a-5N linked into a chain 7, wherein the host 3 is connected to each of the N slaves 5a-5N via a communication line 9. The system 1 is configured to use the communication line 9 to perform serial data communication from the host 3 to the N slaves 5a-5N. The nth slave is connected to the (n+1)th slave via a chain line 11, wherein n is an integer of 1 or greater and less than N. The host 3 includes a communication port 13, which is connected to the first slave 5a of the N slaves via a first chain line 11a. The system 1 is configured to use the chain lines 11a, 11 to perform serial data communication from the slaves 5a-5n to the communication port 13 of the host. In this example, the host has another communication port 15 connected to the communication line 9.

[0117] A plurality of slaves N may be communicatively chained together by means of a plurality of chain lines 11. In addition, a first chain line 11a provides a communication connection from a first slave to a master. A second chain line 11 connects a first slave 5a to a second slave 5b (e.g., a neighbor of the first slave), a third chain line 11 connects the second slave 5b to a third slave 5c (not shown), and so on to all N slaves.

[0118] The host 3 may have one or more processing units. In some examples, the host is connected to one or more other units or components, for example, a control unit.

[0119] The system 1 can be configured so that the chain lines 11a, 11 can be used as configuration lines. In the configuration mode of the system, the configuration can be in two directions. For example, from the slave on the left outer side (i.e., the first slave) to the slave on the right outer side (i.e., the last slave N), or vice versa from the slave on the right outer side to the slave on the left outer side (not shown in this exemplary illustration). In the configuration mode, the master can determine the number of slaves in the network and their arrangement / configuration (see the order in the chain) by assigning unique addresses. For example, this can occur in a similar manner to in a local interconnect network (LIN network).

[0120] For example, the logic state at the first port 21a of the first slave 5a can be "0" / "low" or "1" / "high", while the logic state of the first port 21a of the other slaves (also the second slave) can still be "1" / "high" or "0" / "low", respectively. The first port 21a of the nth slave is coupled to the second port 21b of the (n-1)th slave via the chain line 11. For example, the first port 21a of the slaves after the first slave 5a in the initial chain (for example, the second slave 5b, the third slave 5c, etc.) has a "1" / "high" logic state, while the first port 21a of the first slave 5a has the opposite "0" / "low" logic state. In this way, it can be identified that the first slave 5a is actually the first slave 5a in the chain of N slaves. The first slave 5a can then be configured as, for example, "slave 1" (see address assignment). Subsequently, the first slave 5a can change the logic state at its second port from "1" / "high" to "0" / "low". The next time the host 3 sends a command (e.g., a broadcast query), the first port 21a of the second slave is "0" / "low" (i.e., due to the change of the second port of the first slave), and the other slaves will still have a "1" / "high" state at their second ports. Similarly, the second slave 5b can be configured as, for example, "slave 2" (see address assignment), and the second port 21b of the second slave 5b can be changed from a "1" / "high" logic state to a "0" / "low" state. In this way, slaves can be configured sequentially. The process can be repeated for other slaves in the slave chain until the configuration of N slaves is completed.

[0121] The slave can send, for example, a measured temperature (e.g., temperature, power, voltage, etc.) to the host 3 for processing. This can be performed in a communication mode, which is usually after the configuration mode described above. In some examples, the host 3 can use the data from the slave for processing, analysis, control, etc. Half-duplex communication between the host and the slave is often too limited (especially when there are a relatively large number of slaves) because the host must request data from the slave one by one and provide enough time for each slave to send data to the host individually. The system according to the present disclosure provides full-duplex communication in an advantageous manner.

[0122] Advantageously, in some examples, the slaves are configured to forward their data via the link 11 (see "configuration line" when the system is in configuration mode). For example, a slave can forward data to a downstream neighbor slave, which in turn forwards the data to another downstream neighbor, and so on, until the data reaches the master. In this way, data from the slave can be transmitted to the master significantly more efficiently. A cost-effective system is implemented in this way. In addition, the location of the slave (e.g., physical positioning in the system) can also play an important role. The slave can, for example, be coupled to a specific unit or component (e.g., a specific battery cell, sensor, actuator, etc.). By performing this configuration, the slave can be assigned to a certain position (e.g., address, positioning). When data from the slave is received in the correct sequence via the link, information about the positioning of the slave can be obtained.

[0123] For example, in the event of a defect, it may be necessary to have information about the position of the slave so that the defective device can be easily pinpointed and replaced. After replacement, the system can be reconfigured (see configuration mode), after which the system can be used in communication mode.

[0124] Typically, configuration is performed during initialization of the system. For example, in an example of employing the system in a battery system, the slaves may be linked to battery cells, and during configuration, it may be determined which slave is linked to which battery cell (see location). For example, the first slave may be linked to the first battery cell, and the second slave may be linked to the second battery cell, and so on. Then, in communication mode, the master may easily query the slaves. For example, the master 3 may request data from the third battery cell and query the third slave.

[0125] Figure 2A schematic diagram of an embodiment of a daisy-chained master-slave communication system 1 is shown. In this example, four slaves 5a-5d are arranged in a chain configuration. The last slave 5d can be connected or connectable to the host 3 by means of a chain line 11x. The chain line 11x can be used to select a configuration direction (in configuration mode) and / or a communication direction (in communication mode). More particularly, in this example, the configuration direction can be from left to right using the first chain line 11a or from right to left using the chain line 11x. Similarly, the direction of communication via the chain line can be selected in this manner. In this example, the chain line 11x is connected to the communication port 19. Alternatively, in some examples, one communication port is used instead of two communication ports 13, 19 to provide chain lines to the first slave and the last slave.

[0126] The system 1 may be used in a configuration mode in which a plurality of slaves (N) may be assigned (unique) addresses and in a communication mode in which serial data communication may take place between a master and slaves.

[0127] The chain line 11 can be configured to provide at least one interconnection between each pair of adjacent slaves in a daisy chain configuration. The slave can have at least two data ports, namely, a first data port 21a and a second data port 21b configured to communicate via the chain line. The first data port 21a and the second data port 21b can be serial data ports configured to enable a serial communication link.

[0128] Figure 3 A schematic diagram of an embodiment of a daisy-chained master-slave communication system 1 is shown. The slaves are arranged in a daisy-chain configuration. In this example, the first slave 5a and the last slave 5d are connected to the communication port 13 of the master by means of a first chain line 11a. This provides a simple way to select the configuration direction and / or the communication direction.

[0129] The system provides an advantageous method of transferring data between multiple slaves arranged in a daisy chain configuration. With limited additional wiring, highly efficient full-duplex communication between the master and slaves can be achieved.

[0130] If the first link and the last link are connected to the same communication port of the master, the system may include an anti-collision device configured to prevent data collisions during data communication. In some examples, two slaves may be prevented from transmitting data via the same line at the same time. This may be done in different ways (e.g., time slots, priority systems, etc.). In some examples, data collisions are prevented with the aid of a protocol layer.

[0131] Figure 4A schematic diagram of an embodiment of a daisy-chained master-slave communication system 1 is shown. The slaves 5a-5N are interconnected in a daisy chain. The chain line 11 can be a communication link configured to couple multiple slaves 5a-5N together. The chain line 11 can be arranged between a first data port and a second data port of the slave. The multiple slaves 5a-5N are each coupled to a sensor and / or actuator 10a-10N, respectively. It will be appreciated that various alternative circuit arrangements may be employed.

[0132] In some examples, a system 1 according to the present disclosure can be configured to provide communications between multiple components in a vehicle. The system 1 can effectively provide a cost-effective high-bandwidth communication network.

[0133] In some examples, the slave is a unit integrated into a battery cell. In this case, it is highly desirable to have a low number of wires. Advantageously, the daisy-chained master-slave communication system according to the present disclosure provides a robust and cost-effective way to achieve simultaneous bidirectional communication between the master and the slave (see full-duplex mode communication).

[0134] The master and slave may be microcontrollers. Various types of hardware may be used for the master and slave. For example, the master and slave may be microcontrollers. In some examples, the master and / or slave are ASICs.

[0135] It will be appreciated that the system provides a cost-effective communication network that can support remote applications within a vehicle network. For example, the system can be used for mechatronic nodes in distributed automotive applications. However, the system is also suitable for other arrangements or systems, such as in industrial applications.

[0136] Figure 5 A schematic diagram of an embodiment of a daisy-chain connected master-slave communication system 1 is shown. The slaves are arranged in a daisy-chain configuration. In this example, the first slave 5a and the last slave 5N are connected to the first communication port 13 and the second communication port 15, 19 of the master, respectively. The chain lines 11a, 11, 11x provide a ring connection between the master and the slaves. This provides a simple way to select the configuration direction and / or the communication direction.

[0137] Figure 5The system 1 shown in the figure provides a daisy-chain connected master-slave communication system, which includes a cascade of a host and N slaves linked in a chain, wherein the nth slave is connected to the (n+1)th slave via a chain line, n is an integer of 1 or greater and less than N, wherein the host 3 includes a first communication port 13 connected to the first slave 5a among the N slaves via a first chain line 11a, and wherein the host 3 includes a second communication port 15, 19 connected to the last slave among the N slaves via a last chain line 11x, and wherein the system 1 is configured to use the chain lines 11a, 11, 11x for serial data communication between the slaves 5a-N and the host 3.

[0138] In this example, data can be transmitted from the last slave 5N to the previous slave 5N-1, and so on, until all data from the slaves arrive at the host at the communication port 13 of the host 3 via the first chain line 11a. Therefore, in this exemplary illustration, the data of the slave can arrive at the host from right to left. However, the system is also configured to send data from the host to the slave via another / second communication port (15, 19). The slave can send relevant data to other slaves in the chain of slaves. The slave can use the chain line to forward data from the host to the slave. In this way, full-duplex communication can be achieved in an advantageous manner without the need to connect the host to an additional communication line for each slave.

[0139] Advantageously, the link 11x connecting the last slave to the master can provide a two-way configuration in the configuration mode and a two-way communication in the communication mode. Using the link 11x for data communication as well provides a significant advantage of obtaining full-duplex communication with a simple and cost-effective design. In some examples, the link 11, 11x can be used for serial data communication from the master to the slave, and the link 11a, 11 can be used for serial data communication from the slave to the master, and / or vice versa.

[0140] It will be understood that the method may include computer-implemented steps. All of the above-mentioned steps may be computer-implemented steps. Embodiments may include computer devices, wherein the process is performed in the computer device. The present invention also extends to computer programs, particularly computer programs on or in a carrier, which are suitable for putting the present invention into practice. The program may be in the form of source code or object code, or in any other form suitable for use in the implementation of the process according to the present invention. The carrier may be any entity or device capable of carrying the program. For example, the carrier may include a storage medium, such as a ROM, such as a semiconductor ROM or a hard disk. Further, the carrier may be a transmittable carrier, such as an electrical signal or an optical signal, which may be transmitted via a cable or optical cable or by radio or other means (e.g., via the Internet or a cloud).

[0141] Some embodiments may be implemented, for example, using a machine or tangible computer readable medium or article of manufacture, which may store an instruction or a set of instructions that, when executed by a machine, may cause the machine to perform methods and / or operations according to embodiments.

[0142] Various embodiments may be implemented using hardware elements, software elements, or a combination of the two. Examples of hardware elements may include processors, microprocessors, circuits, application specific integrated circuits (ASICs), programmable logic devices (PLDs), digital signal processors (DSPs), field programmable gate arrays (FPGAs), logic gates, registers, semiconductor devices, chips, integrated circuits, chipsets, etc. Examples of software may include software components, programs, applications, computer programs, applications, system programs, machine programs, operating system software, mobile apps, middleware, firmware, software modules, routines, subroutines, functions, computer-implemented methods, procedures, software interfaces, application program interfaces (APIs), methods, instruction sets, computing codes, computer codes, etc.

[0143] In this article, the present invention is described with reference to specific examples of embodiments of the present invention. However, it will be apparent that various modifications, variations, substitutions and changes can be made therein without departing from the essence of the present invention. For the purpose of clear and concise description, features are described herein as part of the same or different embodiments, however, alternative embodiments with combinations of all or part of the features described in these different embodiments are also contemplated and understood to fall within the framework of the present invention as outlined in the claims. Therefore, the description, drawings and examples should be regarded as illustrative rather than restrictive. The present invention is intended to cover all substitutions, modifications and variations that fall within the scope of the appended claims. Further, many of the elements described are functional entities that can be implemented as discrete or distributed components or combined with other components in any suitable combination and position.

[0144] In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word 'comprising' does not exclude the presence of other features or steps than those listed in a claim. Furthermore, the words 'a' or 'an' shall not be interpreted as limiting to 'only one' but are used to mean 'at least one' and do not exclude a plurality. The mere fact that certain measures are recited in mutually different claims does not mean that a combination of these measures cannot be used to advantage.

Claims

1. A daisy-chain connected master-slave communication system, the daisy-chain connected master-slave communication system comprising a cascade of a host and N slaves linked in a chain, wherein: The host is connected to each of the N slaves via a communication line, wherein the system is configured to use the communication line to perform unidirectional serial data communication from the host to the N slaves, wherein the nth slave is connected to the (n+1)th slave via a link line, n is an integer of 1 or greater and less than N, wherein the host includes a communication port connected to a first slave of the N slaves via a first link line, and wherein the system is configured to use these link lines to perform unidirectional serial data communication from these slaves to the communication port of the host, thereby realizing full-duplex data communication between the host and the N slaves.

2. The daisy chain connected master-slave communication system according to claim 1, wherein: The communication port is a serial data port, and wherein the link lines form a serial communication link between the N slaves and the host to transmit sensing data of one or more of the N slaves to the host.

3. The daisy chain connected master-slave communication system according to claim 1 or 2, wherein: Each of the N slaves is configured to forward an entire set of data signals received from a previous slave of the slave in the chain to another slave in the chain until the set of data signals reaches the master via the chain line.

4. A daisy-chain connected master-slave communication system according to any one of the preceding claims, wherein: Each of the N slaves is configured to send the slave's data to downstream neighbor slaves if the master sends a broadcast request to the slaves, wherein once the slave completes sending its own data, the data is buffered and sent out to the downstream neighbor slaves.

5. The daisy chain connected master-slave communication system according to any one of the preceding claims 1 to 4, wherein: Each of the N slaves is configured to send data of the slave to downstream neighbor slaves when the master sends a broadcast request to the slaves, wherein the data is directly transferred from one slave pipeline to another until the data sent by all slaves are received by the master.

6. A daisy-chain connected master-slave communication system according to any one of the preceding claims, wherein: The master is configured to receive data packets in the order in which the slaves are connected to each other in the daisy chain, and wherein the master is configured to determine the position of the slave in the daisy chain based on the order.

7. A daisy-chain connected master-slave communication system according to any one of the preceding claims, wherein: The N slaves are associated with sensors and / or actuators.

8. A daisy-chain connected master-slave communication system according to any one of the preceding claims, wherein: The master is connected in parallel with each of the N slaves via the communication line, wherein the parallel connection provides direct communication between the master and the N slaves.

9. A daisy-chain connected master-slave communication system according to any one of the preceding claims, wherein: The master is serially connected to the N slaves via the link lines, wherein the serial connection provides indirect communication between the master and at least a subset of the N slaves.

10. A method of transmitting data between a cascade of N slaves arranged in a daisy chain and interconnected by means of a chain link and a master connected to each of the N slaves by a communication line, wherein: The nth slave is connected to the (n+1)th slave via a link line, where n is an integer of 1 or greater and less than N, wherein the host is provided with a communication port connected to a first slave among the N slaves via a first link line, wherein the communication line is used for unidirectional serial data communication from the host to the N slaves, and wherein the link lines are used for unidirectional serial data communication from the slaves to the communication port of the host, thereby realizing full-duplex data communication between the host and the N slaves.

11. A battery system comprising the daisy chain connected master-slave communication system according to any one of the preceding claims 1 to 9.