LIN communication circuit and method for communicating between LIN buses

By establishing data links and mirroring clients between different LIN buses, and utilizing synchronization schedules and links, the problem of LIN slave node communication in the partitioned vehicle architecture is solved, and low-cost, standard LIN slave nodes within the partitioned EE architecture are realized. Node usage and efficient communication.

CN115550095BActive Publication Date: 2024-08-30APTIV TECHNOLOGIES AG
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210716025.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-23
Publication Date
2024-08-30
Estimated Expiration
2042-06-23

AI Technical Summary

Technical Problem

In partitioned vehicle architectures, direct communication between LIN slave nodes is difficult to achieve, leading to issues related to nodes in different zones with functions that would otherwise be served by a single LIN cluster, and existing technologies introduce additional complexity and cost to manage Communication between different buses.

Method used

By establishing data links and mirroring clients between different LIN buses, and utilizing synchronization schedules and synchronization links, communication between different LIN clusters is allowed without changing the configuration of the LIN slave nodes, achieving a partitioned EE architecture. Within the standard LIN slave node is used.

Benefits of technology

Enables efficient communication between LIN slave nodes in different zones in a partitioned architecture, reducing complexity and cost, allowing LIN slave nodes to be mirrored between one or more clusters without changing the LIN protocol.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115550095B_ABST
    Figure CN115550095B_ABST
Patent Text Reader

Abstract

A LIN communication circuit and a method for communicating between LIN buses. The LIN communication circuit (100) includes a first LIN master node (1) associated with a first LIN bus (12) and a second LIN master node (2) associated with a second LIN bus (22). A data link (16) is connected between the first LIN master node (1) and the second LIN master node (2). A first mirror client (13) is established at the first LIN master node (12) for receiving message bits corresponding to a LIN message in a first time slot on the first LIN bus (12) and for sending the message bits one by one through the data link (16). A second mirror client (23) is established at the second LIN master node (2) for receiving the message bits and sending them through the second LIN bus (22). The first LIN master node (1) and the second LIN master node (2) include synchronization schedules (14, 24) so ​​that the message bits on the second LIN bus (22) are sent to the first LIN bus in corresponding time slots.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to circuits and methods for communicating between LIN slave nodes associated with different LIN master nodes in a partitioned vehicle architecture, and associated communication systems. The present disclosure relates particularly to partitioned configuration of a LIN network in a vehicle electronic control unit (ECU) environment. Background Art

[0002] The LIN (Local Interconnect Network) bus is a low-cost serial network protocol used in vehicles to provide communication between components such as windows, wipers, and air conditioning controls. In most current vehicle EE architectures, LIN communications are typically controlled from a LIN master node within a small number of ECUs. As a result, a large amount of wiring is required between the ECUs and LIN slave nodes located around the vehicle. However, as the prevalence of electronic devices within vehicles has increased, the cable bundles required to establish these connections have become larger and more complex.

[0003] Recently, there has been a move towards a regional EE architecture, where a limited number of regional controllers or regional gateways are used to support power distribution and data connectivity needs within a specific area of ​​the vehicle. This has the potential to provide significant advantages in terms of reduced complexity and wiring costs. However, LIN communications are difficult to implement in a zoned architecture due to the variations caused by transmitting signals from a LIN slave node in one zone to a LIN slave node in another zone.

[0004] In this regard, under the LIN communication protocol, a LIN slave node can only send messages to other LIN slave nodes within the same cluster (i.e., they share a common LIN master node and are on a common LIN bus). Thus, when different LIN master nodes are provided in different vehicle regions, direct communication between physical LIN slave nodes in different regions is not possible. This creates issues with nodes in different regions relating to functionality that would otherwise be served by a single LIN cluster.

[0005] Although it is possible to distribute LIN messages to different areas of the vehicle using the CAN bus, this does not solve the above problems because the resulting communication is still between two separate physical LIN networks. Therefore, another additional complexity and cost is introduced to manage the communication between the different buses. For example, it becomes more complicated to start the control for waking up the remote LIN network. These problems are further complicated because different nodes and ECUs may be designed and manufactured by different departments or entities and may be used in different configurations in different vehicles. Therefore, even minor configuration changes can become very expensive. Therefore, this negates many of the advantages of using the LIN bus in the first place.

[0006] Therefore, the present disclosure is directed to solving the problems of the conventional devices. Summary of the invention

[0007] According to a first aspect, a LIN communication circuit is provided, which includes: a first LIN master node associated with a first LIN bus; a second LIN master node associated with a second LIN bus; a data link connected between the first LIN master node and the second LIN master node; a first mirror client established at the first LIN master node, the first mirror client being used to receive message bits corresponding to a LIN message in a first time slot on the first LIN bus and to send the message bits bit by bit through the data link; and a second mirror client established at the second LIN master node, the second mirror client being used to receive the message bits from the data link and to send the message bits through the second LIN bus, wherein the first LIN master node and the second LIN master node include a first scheduling table and a second scheduling table, respectively, and wherein the first scheduling table and the second scheduling table are synchronized so that the message bits sent on the second LIN bus are sent in a corresponding first time slot corresponding to the first time slot on the first LIN bus.

[0008] In this way, communication between different LIN clusters can be facilitated without the need to change the configuration of the LIN slave nodes. Therefore, this allows the use of standard, low-cost LIN slave nodes within a partitioned EE architecture. That is, LIN slave nodes in different areas of the vehicle can communicate information to each other via a data link (e.g., Ethernet, PCIe, or hardware cache coherent interconnect). Thus, this allows LIN slave nodes to be effectively mirrored between one or more clusters without changing the LIN protocol.

[0009] In an embodiment, the circuit further comprises a synchronizer that synchronizes the first schedule with the second schedule. In an embodiment, the second schedule is adjusted to specify a jitter time for the corresponding first time slot that is longer than a jitter time for the first time slot specified in the first schedule. In this way, the time required to send data over the data link can be adjusted at least in part by adjusting the jitter specification in the second schedule. The synchronizer can adjust the second schedule, for example, based on a preprogrammed adjustment factor.

[0010] In an embodiment, the second schedule is adjusted to specify an inter-byte space for the first time slot that is longer than the inter-byte space specified for the first time slot in the first schedule. Thus, the time required to send data over the data link can be accommodated at least in part by adjusting the inter-byte space specification in the second schedule.

[0011] In an embodiment, the circuit further comprises a synchronization link connected between the first LIN master node and the second LIN master node, the synchronization link being used to transmit scheduling data for synchronizing the first scheduling table and the second scheduling table. In an embodiment, the synchronization link may be part of an Ethernet, PCIe or hardware cache coherent interconnect link between the regions.

[0012] In an embodiment, the circuit further comprises a first LIN slave node connected to the first LIN bus to send a LIN message in the first time slot in response to a message header from the first LIN master node in the first time slot. Thus, the standard LIN slave node can be used to send a message in the message field of the first time slot in response to receiving a correlation identifier in the header field of the first time slot from the LIN master node.

[0013] In an embodiment, the circuit further comprises a second LIN slave node connected to the second LIN bus to receive the LIN message in the corresponding first time slot. In this way, the standard LIN slave node can receive the mirrored LIN message on the second LIN bus.

[0014] In an embodiment, at least one of the first LIN master node and the second LIN master node is an electronic control unit (ECU).In an embodiment, the LIN master node may be a zoned ECU or a zoned gateway, serving as a hub for systems within a zone of the vehicle.

[0015] According to a second aspect, a method for communicating between LIN buses is provided, the method comprising: establishing a first mirror client at a first LIN master node associated with a first LIN bus; establishing a second mirror client at a second LIN master node associated with a second LIN bus; receiving, by the first mirror client, message bits corresponding to a LIN message in a first time slot on the first LIN bus, and sending the message bits bit by bit through a data link connected between the first LIN master node and the second LIN master node; receiving, by the second mirror client, the message bits from the data link and sending the message bits through the second LIN bus, wherein the first LIN master node and the second LIN master node include a first scheduling table and a second scheduling table, respectively, and wherein the first scheduling table and the second scheduling table are synchronized so that the message bits sent on the second LIN bus are sent in a corresponding first time slot corresponding to the first time slot on the first LIN bus.

[0016] In an embodiment, the jitter time specified for the corresponding first time slot in the second schedule is longer than the jitter time specified for the first time slot in the first schedule.

[0017] In an embodiment, the jitter time specified for the corresponding first time slot in the second schedule is a maximum defined jitter.

[0018] In an embodiment, the inter-byte spaces specified for the corresponding first time slots in the second schedule are longer than the inter-byte spaces specified for the first time slots in the first schedule.

[0019] In an embodiment, the method further comprises the steps of: sending a message header from the first LIN master node in the first time slot, the message header identifying the first LIN slave node; and sending the LIN message from the first LIN slave node in the first time slot in response to the message header. In this way, a standard LIN protocol can be followed, wherein an identifier is sent from a LIN master node in a header field of a first time slot, and a LIN slave node sends its message in a message field of the same time slot.

[0020] In an embodiment, the method further comprises the steps of: sending a corresponding message header from the second LIN master node in the corresponding first time slot, wherein the corresponding message header identifies the first LIN slave node, and wherein the step of sending the message bits on the second LIN bus comprises sending the LIN message from the second mirror client in the corresponding first time slot. In this way, the standard LIN protocol can be replicated in the second LIN bus, wherein an identifier is sent from the LIN master node in the header field of the corresponding first time slot, and the second mirror client emulates the first LIN slave node by sending its message in the message field of the same time slot.

[0021] In an embodiment, the step of sending the message bits bit by bit over the data link includes: segmenting the LIN message bit by bit by the first mirror client, and multiplexing the segmented bits with other data. In this way, rather than delaying transmission until a complete protocol data unit has been received, the LIN message is segmented in units of bits to allow the constituent bits to be sent. In an embodiment, the bits are sent as a synchronization data signal.

[0022] In various embodiments, the method further comprises the following steps: generating, by a virtual LIN slave node on the first LIN master node, message bits corresponding to a LIN message in a first time slot on the first LIN bus. In this way, the LIN master node can establish a virtual LIN slave node within its ECU environment and send messages from the virtual node to one or more other LIN buses. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Illustrative embodiments will now be described with reference to the accompanying drawings, in which:

[0024] Figure 1shows a schematic communication circuit according to a first embodiment; and

[0025] Figure 2 A schematic communication circuit according to a second embodiment is shown. DETAILED DESCRIPTION

[0026] Figure 1 A first illustrative embodiment of a communication circuit 100 is shown. The communication circuit 100 comprises a first LIN cluster 10 and a second LIN cluster 20. Each of the clusters 10, 20 is controlled by a respective first LIN master node 1 and a second LIN master node 2, each of which is provided as an electronic control unit in a different area of ​​the vehicle. In this way, they are programmable partition control units capable of implementing functions on the LIN bus in addition to their main task functions. They are also physically separated from each other.

[0027] Each LIN master node 1, 2 includes a schedule table 14, 24 for managing the timing of frame time slots and traffic control on their respective LIN bus. Each LIN master node 1, 2 also has an interface 15, 25 for connecting to a corresponding LIN line 12, 22, which physically implements the LIN bus and is associated with a plurality of LIN slave nodes 11a-c, 21a-c. In this way, a first group of LIN slave nodes 11a-c and a second group of LIN slave nodes 21a-c form a LIN cluster 10, 20 with their respective first LIN master node 1 and second LIN master node 2. The communication from the first group of LIN slave nodes 11a-c on the first LIN line 12 is controlled by the first LIN master node 1, while the communication from the second group of LIN slave nodes 21a-c on the second LIN line 22 is controlled by the second LIN master node 2.

[0028] A data link 16 and a synchronization link 17 are also provided between the interface 15 of the first master node 1 and the interface 25 of the second LIN master node 2. In this embodiment, these links are provided through an Ethernet time-sensitive networking (TSN: Time-sensitive Networking) connection. Therefore, this provides high-speed communication between the first LIN master node 1 and the second LIN master node 2. In other embodiments, other types of data links may be used, such as a high-speed peripheral component interconnect (PCIe) or a cache coherent interconnect. It should be understood that although the schematic diagram shows the data link 16 and the synchronization link 17 as two separate links, the signals can actually be provided through a shared connection. For example, they can be provided as different channels on a common communication line.

[0029] As described above, the LIN master nodes 1, 2 are electronic control units and are capable of establishing virtual LIN slave nodes internally to perform slave node functions in addition to their master task functions. In this way, the virtual LIN slave nodes can be implemented in software within the LIN master nodes 1, 2, and the scheduling tables 14, 24 in each master node can allocate time slots for the communication of the virtual LIN slave nodes on the LIN bus, as if they were physical slave nodes connected to the corresponding LIN lines. It should be understood that through software implementation, the virtual LIN slave nodes can also perform additional functions, as described in further detail below.

[0030] like Figure 1 As shown, each of the LIN master nodes 1, 2 implements a virtual LIN slave node to serve as a first mirror client 13 and a second mirror client 23. The first mirror client 13 and the second mirror client 23 are communicatively connected via a data link 16.

[0031] The first mirror client 13 in the first LIN master node 1 is configured to read messages from the first LIN line 12 in a bit-by-bit manner and send those data bits over the data link 16. That is, instead of reading and sending a complete LIN protocol data unit (PDU), the first mirror client 13 reads individual bits so that these bits are transmitted on the data link 16. In embodiments where multiple LIN clusters are provided in a single region, individual bits from the multiple LIN clusters may be multiplexed together for transmission on the data link 16 along with other data generated by the domain ECUs. In this embodiment, the other data includes data for security and confidentiality mechanisms used by the second LIN master node 2 for verification upon receipt.

[0032] At the same time, the second mirror client 23 in the second LIN master node 2 reads the bit-by-bit data transmitted via the data link 16 and relays the bit-by-bit data via the second LIN line 22. In this way, the second mirror client 23 acts as a proxy for the corresponding first LIN slave node transmitting messages via the data link 16.

[0033] In this regard, imagine a scenario where a first LIN slave node 11a in a first LIN cluster 10 needs to send a message to a second LIN slave node 21a in a second LIN cluster 20. The first LIN master node 1 will initiate a message header including an identifier to prompt the first LIN slave node 11a to send its message in the message field of the same time slot on the first LIN line 12. This is received by the first mirror client 13 and sent over the data link 16. The second mirror client 23 in the second LIN cluster 20 in turn sends the message over the second LIN line 22. In this way, the second mirror client 23 replicates the role of the first LIN slave node 11a present on the second LIN line 22.

[0034] To this end, the first schedule table 14 and the second schedule table 24 are synchronized so that the time slots for the transmission of the message of the first LIN slave node 11a are present in the first cluster 10 and the second cluster 20. The synchronization is achieved through the synchronization link 17 under the control of the synchronizer 19, which is implemented in the software of the first master node 1 and the second master node 2. While synchronizing the time slots, the synchronizer 19 modifies the second schedule table 24 so that the jitter and inter-byte space of the time slot containing the first LIN slave node message field are adjusted to be closer to the maximum defined jitter and inter-byte space under the LIN specification. That is, if the determined time taken by the second mirror client 23 to read and send a bit on the second LIN line 22 is, for example, 56μs, the second schedule table 24 can set the jitter to 100μs. Thus, this provides a 44μs window in which data bits can be sent from the first LIN cluster 10 to the second LIN cluster 20 via the data link 16 while still effectively appearing in the same time slot. Therefore, when the message is sent by the first LIN slave node 11a, the message will be located at the beginning of the message field within the time slot. On the receiving end, the data bits will be sent on the second LIN line 22 in a later message field in a time slot corresponding to the first time slot, as provided by the second schedule table 24. Therefore, although there is a transmission delay when the data bits are relayed through the data link 16, this is absorbed by the redundancy built into the LIN protocol and provided by the jitter and inter-byte spacing. Therefore, from the perspective of the second slave node 21a, the received message will appear to have been sent from a slave node in the same cluster 20. Therefore, even if the first slave node 11a is distributed in different areas, it can be configured in the same way as if it were part of the second LIN cluster 20. Therefore, this allows standard LIN slave nodes to be easily used in a partitioned architecture.

[0035] It will be appreciated that the second schedule only needs to adjust the timing within time slots associated with LIN communications from other clusters.For communications within the same cluster, normal jitter and inter-byte spacing may be used.

[0036] The synchronization link 17 allows the schedule tables 14 , 24 to be updated as needed to facilitate communication between other LIN slave nodes, whether from the first cluster 10 to the second cluster 20 or vice versa.

[0037] To ensure that the LIN schedule tables 14, 24 are synchronized, one of the LIN schedule tables 14, 24 is preselected as the master table and the other schedule table is updated based on the master table. In other embodiments, a consistency algorithm may be used to select the master node table based on, for example, the LIN master node with the shortest connection to the connected LIN master node.

[0038] Error handling can be implemented using occasional frames to prompt synchronous error checking.

[0039] The above arrangement also allows provision of a virtual LIN slave node on one LIN master node to communicate to multiple LIN clusters associated with different LIN master nodes. Figure 2 A second embodiment is shown, which is substantially the same as the first embodiment, except that a virtual LIN slave 18 is further provided in the first LIN master node 1. As in the previous embodiment, both the first LIN master node 1 and the second LIN master node 2 implement mirror clients 13, 23. As previously described, the virtual LIN slave 18 is triggered by the schedule table 14 in the first LIN master node, which prompts the virtual LIN slave 18 to send its message. It is then transmitted to the second LIN cluster 20 via the mirror client 13, 23 and the data link 16. In practice, it should be understood that the virtual LIN slave 18 can be located in another ECU device connected via the data link 16, wherein the schedule table is synchronized so that the virtual LIN slave 18 is triggered before the start of the corresponding time slot assigned to the mirror client in the connected LIN cluster. In this way, each connected LIN master node 2 will send the header and slave ID of the virtual LIN slave 18, wherein the transmission timing causes the mirror client 13, 23 to generate a message received by the virtual LIN slave 18 on their respective LIN lines in the appropriate message field.

[0040] The above arrangement can therefore facilitate communication between LIN clients in different areas of a vehicle without having to change the configuration of the LIN slave nodes. This therefore allows standard, low-cost LIN slave nodes to be used within a zoned EE architecture.

[0041] It should be understood that the above embodiments show applications for illustrative purposes only. In fact, the embodiments can be applied to many different configurations, the details of which are straightforward for those skilled in the art.

Claims

1. A local interconnect network (LIN) communication circuit, the LIN communication circuit comprising: a first LIN master node associated with the first LIN bus; a second LIN master node associated with a second LIN bus; a data link connected between the first LIN master node and the second LIN master node; a first mirror client, the first mirror client being established at the first LIN master node to receive message bits corresponding to a LIN message in a first time slot on the first LIN bus and to transmit the message bits bit by bit over the data link; as well as a second mirror client, the second mirror client being established at the second LIN master node to receive the message bits from the data link and to send the message bits via the second LIN bus, wherein the first LIN master node and the second LIN master node include a first scheduling table and a second scheduling table, respectively, and wherein the first scheduling table and the second scheduling table are synchronized so that message bits sent on the second LIN bus are sent in a corresponding first time slot corresponding to a first time slot on the first LIN bus.

2. The LIN communication circuit according to claim 1, further comprising a synchronizer that synchronizes the first schedule table and the second schedule table, and wherein, The second schedule is adjusted to specify a jitter time for the corresponding first time slot that is longer than a jitter time specified for the first time slot in the first schedule.

3. The LIN communication circuit according to claim 1 or 2, wherein: The second schedule is adjusted to specify an inter-byte space for the corresponding first time slot that is longer than the inter-byte space specified for the first time slot in the first schedule.

4. The LIN communication circuit according to claim 1 or 2, further comprising a synchronization link connected between the first LIN master node and the second LIN master node, the synchronization link being used to transmit scheduling data for synchronizing the first scheduling table and the second scheduling table.

5. The LIN communication circuit according to claim 1 or 2, further comprising a first LIN slave node connected to the first LIN bus, the first LIN slave node sending the LIN message in the first time slot in response to a message header in the first time slot from the first LIN master node. 6 . The LIN communication circuit according to claim 1 , further comprising a second LIN slave node connected to the second LIN bus, the second LIN slave node receiving the LIN message in the corresponding first time slot.

7. The LIN communication circuit according to claim 1 or 2, wherein: At least one of the first LIN master node and the second LIN master node is an electronic control unit.

8. A method for communicating between local interconnect network (LIN) buses, the method comprising the following steps: establishing a first mirror client at a first LIN master node associated with a first LIN bus; establishing a second mirror client at a second LIN master node associated with a second LIN bus; The first mirror client receives a message bit corresponding to a LIN message in a first time slot on the first LIN bus, and sends the message bit bit by bit through a data link connected between the first LIN master node and the second LIN master node; The second mirror client receives the message bits from the data link and sends the message bits through the second LIN bus, wherein the first LIN master node and the second LIN master node include a first scheduling table and a second scheduling table, respectively, and wherein the first scheduling table and the second scheduling table are synchronized so that message bits sent on the second LIN bus are sent in corresponding first time slots corresponding to the first time slots on the first LIN bus.

9. The method according to claim 8, wherein: The jitter time specified for the corresponding first time slot in the second schedule is longer than the jitter time specified for the first time slot in the first schedule.

10. The method according to claim 9, wherein: The jitter time specified for the corresponding first time slot in the second schedule is a maximum defined jitter.

11. The method according to any one of claims 8 to 10, wherein: The inter-byte space specified for the corresponding first time slot in the second schedule is longer than the inter-byte space specified for the first time slot in the first schedule.

12. The method according to any one of claims 8 to 10, further comprising the following steps: sending a message header from the first LIN master node in the first time slot, the message header identifying a first LIN slave node; as well as The LIN message is transmitted from the first LIN slave node in the first time slot in response to the message header.

13. The method according to any one of claims 8 to 10, further comprising the following steps: sending a corresponding message header from the second LIN master node in the corresponding first time slot, wherein the corresponding message header identifies the first LIN slave node; and The step of sending the message bits through the second LIN bus includes: sending the LIN message from the second mirror client in the corresponding first time slot.

14. The method according to any one of claims 8 to 10, wherein: The step of sending the message bits bit by bit on the data link includes segmenting the LIN message bit by bit by the first mirror client and multiplexing the segmented bits with other data.

15. The method according to any one of claims 8 to 10, wherein: The method further comprises the step of generating, by a virtual LIN slave node on the first LIN master node, message bits corresponding to the LIN message in a first time slot on the first LIN bus.

Citation Information

Patent Citations

  • Method and device for synchronizing network subscribers in an on-board network of a vehicle

    CN103797735A

  • Flexible Scheduling Method And Apparatus In LIN Communication

    CN105591853A