SECURE SELF-ADDRESSING METHOD FOR SLAVE ORGANS IN A LIN NETWORK

The iterative communication method between master and slave units in LIN networks addresses security and fault management issues, ensuring secure and cost-effective self-addressing of LIN network slaves.

FR3149155A1Active Publication Date: 2024-11-29STELLANTIS AUTO SAS

Patent Information

Application Number
FR2023005053
Authority / Receiving Office
FR · FR
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-23
Publication Date
2024-11-29
Estimated Expiration
2043-05-23

AI Technical Summary

Technical Problem

The existing self-addressing method for LIN network slaves lacks security and fault management, requiring additional storage and maintenance, which is unsuitable for automotive applications.

Method used

A method involving iterative communication between master and slave units to ensure secure self-addressing, including a configuration instruction, confirmation signal, and error handling to manage failures, with predefined iterations and timeouts.

Benefits of technology

Ensures robust and secure self-addressing of LIN network slaves, reducing development and production costs by providing fault management and secure address configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

METHOD FOR SECURE SELF-ADDRESSING OF SLAVE DEVICES IN A LIN NETWORK The present invention relates to a method for configuring at least one slave device by a master device on a multiplexed LIN communication network, comprising the steps: a) sending a configuration instruction from the master device to the slave device; notable in that the method further comprises the step: b) sending a configuration acceptance signal from the slave device to the master device; c) if step b fails, iteration of steps a) and b) until the first of the following two conditions is met: reaching a maximum number of iterations and completion of step b). (Figure to be published with the abbreviation: Figure 2)
Need to check novelty before this filing date? Find Prior Art

Description

Title of the invention: METHOD FOR SECURE SELF-ADDRESSING OF SLAVE ORGANS IN A LIN NETWORK Technical field

[0001] The present invention relates to the field of motor vehicles, more particularly the field of LIN-type multiplexed networks embedded in motor vehicles. Prior art

[0002] The LIN (Local Interconnect Network) type multiplexed communication network is a low-complexity, low-cost communication network intended for use in automotive applications.

[0003] It is known to those skilled in the art that in a LIN network, the nodes can be of two types: masters and slaves. The masters control the flow of data on the network, while the slaves respond to requests from the masters.

[0004] When a slave is added to the LIN network, it must address itself to a unique identifier in order to communicate with other nodes in the network. There is a mechanism commonly referred to as "slave self-addressing" used in the LIN network to allow slaves to automatically address themselves based on their physical position on the network, which simplifies network installation and configuration.

[0005] The method of self-addressing by detecting the physical position of the slaves in the LIN network is known, as disclosed in the standard: "LIN Switch Slave Node Position Detection", in which each slave will be assigned one by one with a nodal address, and once the address assignment is complete, the slaves close their LIN switch, even in the event of configuration failure, i.e. the unassigned slaves also close their LIN switch.

[0006] The self-addressing method disclosed by the standard does not provide for security or fault management during address assignment, which is not suitable for an automotive application.

[0007] A solution for securing the disclosed method would be to pre-supply different LIN slave references for each component (slave), which requires providing additional storage spaces in the factory during production, as well as in after-sales service for the maintenance of motor vehicles. Presentation of the invention

[0008] The present invention aims to overcome at least one of the drawbacks of the aforementioned state of the art. More particularly, the invention aims to propose a simple, efficient and economical solution for securing self-addressing of slaves in a LIN network.

[0009] To this end, the invention relates to a method for configuring at least one slave device by a master device, on a LIN type multiplexed communication network, comprising the steps: a) sending by the master organ of a configuration instruction to the slave organ; remarkable in that the method further comprises the step: b) sending by the slave organ to the master organ of a signal to take the configuration into account; c) if step b) fails, iteration of steps a) and b) until the first of the following two conditions is met: reaching a maximum number of iterations and completing step b).

[0010] According to one embodiment, in the event of stopping iteration c) without performing step b), stopping the configuration and sending an error signal identifying the corresponding slave member.

[0011] According to one embodiment, iteration c) is stopped after a predefined time interval.

[0012] According to one embodiment, steps a) and b) are iterated for each of several slave organs to be configured.

[0013] According to one embodiment, the method further comprising the step: d) if step b) is carried out, stopping the configuration and issuing a signal indicating no configuration error.

[0014] The invention also relates to a multiplexed communication network of the LIN type comprising a master unit and slave units, the master unit being capable of communicating with each of the slave units so as to transmit an address configuration instruction to said slave unit, remarkable in that the slave units of the network are configured in accordance with the method of configuring at least one slave unit by a master unit according to the invention.

[0015] The invention also relates to an electronic device, remarkable in that it comprises a multiplexed communication network of the LIN type according to the invention.

[0016] Finally, the invention relates to a motor vehicle comprising an electronic device, remarkable in that said electronic device is according to the invention.

[0017] The measures of the invention are advantageous in that the steps of the method of configuring at least one slave device by a master device make it possible to provide a robust solution to the standard: “LIN Switch Slave Node Position Detection”, at least by further securing the self-addressing of the slaves and by providing fault management.

[0018] Indeed, the iteration of sending the configuration instruction to the slave device in step c) corresponds to a software loop making it possible to ensure that the configuration instruction is correctly taken. taking into account the instruction by the slave organ.

[0019] The predefined maximum number of iterations and / or the time interval managed by a timer launched in parallel with the iteration in step c), make it possible to exit the iteration loop and thus decide on a case of failure in configuring the address of the corresponding slave and signal the error, or on a case of success in which a signal of absence of error can be emitted.

[0020] Thus, the invention makes it possible to configure the slave addresses in software in order to distinguish them in LIN networks, and this in a secure manner, making it possible to considerably reduce the costs linked to the development and production of motor vehicles incorporating such networks. Brief description of the drawings

[0021] [Fig-1] schematically illustrates a motor vehicle according to the invention.

[0022] [Fig.2] represents a schematic view of the method of configuring at least one slave device by a master device on a LIN network of the motor vehicle of [Fig.l], according to the invention. Detailed description

[0023] [Fig.l] schematically represents a motor vehicle 2 according to the invention.

[0024] The motor vehicle 2 comprises an electronic device 4 comprising a multiplexed communication network 8 of the LIN type.

[0025] The electronic device 4 may, for example, correspond to an air conditioning system in which the LIN network 8 may be used to communicate between the temperature sensors, the air distribution flap actuators and the dashboard controls.

[0026] Other non-exhaustive examples of use of the LIN 8 network in the motor vehicle 2 include lighting systems, tire pressure detection, windshield wiper control, etc. The invention is not limited to any of these examples.

[0027] The LIN network 8 preferably comprises a typical topology of a LIN bus with a plurality of slave nodes, a master unit M and slave units E, the master unit M being able to communicate with each of the slave units E so as to transmit to it an address configuration instruction.

[0028] Preferably, at least one of the slave organs E is configurable, i.e. comprising a LIN switch.

[0029] Advantageously, the slave members E of the network 8 are configured in accordance with the method of configuring at least one slave member by a master member according to the invention, the different steps of which are described according to [Fig.2].

[0030] [Fig.2] represents a schematic view of the method 10 for configuring at least one at least one slave organ by a master organ of the LIN network of the motor vehicle of [Fig.l].

[0031] Preferably, the method 10 comprises an initial step (not shown) in which the LIN switches of all configurable slaves of the LIN network are open. The self-addressing of the slaves by means of the method 10 makes it possible to configure one slave at a time, until reaching the configuration of all configurable slaves of the LIN network, and if necessary, to detect and signal the unconfigured slave device(s) (for which the nodal address assignment has failed).

[0032] The method 10 for configuring at least one slave unit comprises a step a) of sending by the master unit an address configuration instruction, preferably to only one of the configurable slave units E of the LIN network 8 of [Fig.l].

[0033] Advantageously, the instruction sent to the slave is returned to the master in the form of a configuration acknowledgement signal at a step b). This signal corresponds to information in the return frame of the slave allowing the master to know that the configuration instruction has been acknowledged.

[0034] In the event of a successful notification from the master in step b), this indicates that the address has been successfully assigned to the slave device, the configuration of said slave device is then stopped in step d) comprising the emission of a signal indicating the absence of configuration error. In this configuration, the method 10 can move on to the configuration of another configurable slave device of the LIN network.

[0035] In the absence of notification from the master in step b), this indicates that the address has not been assigned to the slave device, and therefore a failure to configure said slave device.

[0036] To this end, the method 10 of the invention proposes the execution of a step c) of iteration of steps a) and b) until the notification of the master in step b) is successful, or until a predefined maximum number of iterations is reached, which may for example be between 2 and 10 iterations.

[0037] The iteration in step c) can also end after a predefined time interval, the latter being preferably managed by a time delay (Tempo) launched in parallel with the triggering of the iteration in step c), and which makes it possible to exit this iteration loop and thus to decide on a case of successful configuration of the slave device, in which a signal of absence of error can be emitted in step d), or to decide on a case of failure of configuration of the address of the slave device when the absence of notification from the master in step b) persists.

[0038] The configuration failure is this time signaled in a step e) in which an error signal identifying the corresponding slave unit is sent to the master unit, the latter storing a fault code linked to said unconfigured slave.

[0039] When the method 10 completes the attempt to configure all of the configurable slave devices of the LIN network, then the assigned slave devices will have addresses stored by the master, and if applicable, the unassigned slaves will be identified in the network as comprising a configuration fault and will also be signaled, for example, by a light on the dashboard.

[0040] Thus, the method 10 of the invention makes it possible to ensure self-addressing of the slaves in software in order to distinguish them in the LIN networks, and this, in a more secure manner.

Claims

Claims

1. Method (10) for configuring at least one slave unit (E) by a master unit (M), on a LIN-type multiplexed communication network (8), comprising the steps: a) sending by the master unit (M) of a configuration instruction to the slave unit (E); characterized in that the method (10) further comprises the step: b) sending by the slave unit (E) to the master unit (M) of a signal for taking the configuration into account; c) in the event of failure of step b), iteration of steps a) and b) until the first of the following two conditions is met: reaching a maximum number of iterations and carrying out step b).

2. Method (10) for configuring at least one slave member (E), according to claim 1, in which in the event of stopping the iteration c) without carrying out step b), stopping the configuration and emitting an error signal identifying the corresponding slave member (E).

3. Method (10) for configuring at least one slave (E), according to one of claims 1 and 2, in which the iteration c) is stopped after a predefined time interval.

4. Method (10) for configuring at least one slave member (E), according to one of claims 1 to 3, in which steps a) and b) are iterated for each of several slave members (E) to be configured.

5. Method (10) for configuring at least one slave member (E), according to one of claims 1 to 4, further comprising the step: d) in the event of carrying out step b), stopping the configuration and transmitting a signal indicating no configuration error.

6. LIN type multiplexed communication network (8) comprising a master unit (M) and slave units (E), the master unit (M) being capable of communicating with each of the slave units (E) so as to transmit an address configuration instruction to said slave unit (E), characterized in that the slave units (E) of the network are configured in accordance with the method (10) of configuring at least one slave unit (E) by a master unit (M) according to one of claims 1 to 5.

7. Electronic apparatus (4), characterized in that it comprises a LIN type multiplexed communication network (8) according to claim 6.

8. Motor vehicle (2) comprising an electronic device (4), ca- characterized in that said electronic device (4) is according to claim 7.

Citation Information

Patent Citations

  • Device for use in a configurable network

    EP3550770A1

  • FAILURE SUPERVISION DEVICE FOR SLAVE ORGAN(S) FOR A MASTER ORGAN OF A MULTIPLEX NETWORK.

    FR3076161A1

  • Method for operating a field bus network system having a ring topology and a corresponding field bus network system

    US20080082178A1

Cited By

  • Addressing method in a multiplexed network comprising a master node and a plurality of configurable slave nodes with a bus shunt method.

    FR3164036A1