+

DE102022209673A1 - Method and device for controlling an electronic control unit ECU - Google Patents

Method and device for controlling an electronic control unit ECU Download PDF

Info

Publication number
DE102022209673A1
DE102022209673A1 DE102022209673.8A DE102022209673A DE102022209673A1 DE 102022209673 A1 DE102022209673 A1 DE 102022209673A1 DE 102022209673 A DE102022209673 A DE 102022209673A DE 102022209673 A1 DE102022209673 A1 DE 102022209673A1
Authority
DE
Germany
Prior art keywords
control unit
electronic control
configuration set
communication parameters
unit ecu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
DE102022209673.8A
Other languages
German (de)
Inventor
Jinjun Tang
Lingling Yang
Yan Chen
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Robert Bosch GmbH
Original Assignee
Robert Bosch GmbH
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Robert Bosch GmbH filed Critical Robert Bosch GmbH
Publication of DE102022209673A1 publication Critical patent/DE102022209673A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0426Programming the control sequence
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)

Abstract

Die Erfindung betrifft ein Verfahren zum Steuern einer elektronischen Steuereinheit ECU, wobei das Verfahren umfasst: Erhalten eines Prüfbefehls von einem Diagnosegerät; Liefern mehrerer Konfigurationssätze von Bordnetz-Kommunikationsparametern, die von der elektronischen Steuereinheit ECU unterstützt werden, dem Diagnosegerät auf der Grundlage des Prüfbefehls; und Wechseln der Bordnetz-Kommunikationsparameter der elektronischen Steuereinheit gemäß einem vom Diagnosegerät ausgewählten Konfigurationssatz. Die Erfindung betrifft auch ein Gerät zum Steuern einer elektronischen Steuereinheit ECU, ein Computerspeichermedium, ein Computerprogrammprodukt, eine elektronische Steuereinheit und ein Fahrzeug.The invention relates to a method for controlling an electronic control unit ECU, the method comprising: receiving a test command from a diagnostic device; providing a plurality of configuration sets of vehicle electrical system communication parameters supported by the electronic control unit ECU to the diagnostic device based on the test command; and changing the vehicle electrical system communication parameters of the electronic control unit according to a configuration set selected by the diagnostic device. The invention also relates to an apparatus for controlling an electronic control unit ECU, a computer storage medium, a computer program product, an electronic control unit, and a vehicle.

Description

Technisches Gebiettechnical field

Die vorliegende Erfindung betrifft das Gebiet der Steuerung einer elektronischen Steuereinheit ECU (Electronic Control Unit) und insbesondere ein Verfahren und ein Gerät zum Steuern einer elektronischen Steuereinheit ECU, ein Computerspeichermedium, ein Computerprogrammprodukt, eine elektronische Steuereinheit und ein Fahrzeug.The present invention relates to the field of controlling an electronic control unit ECU, and more particularly to a method and an apparatus for controlling an electronic control unit ECU, a computer storage medium, a computer program product, an electronic control unit, and a vehicle.

Stand der TechnikState of the art

Allgemein gesagt, sind Bordnetz-Kommunikationsparameter einer elektronischen Steuereinheit ECU festgelegt, wenn sie in Massenproduktion herstellbar ist. Während des gesamten Lebenszyklus der elektronischen Steuereinheit ECU werden dieselben Kommunikationsparameter für verschiedene Verarbeitungen verwendet, einschließlich Produktionsdiagnose, Offline-Fahrzeugdiagnose, On-Board-Diagnose, FOTA (Firmware Over-the-Air Download, auch als Remote Upgrade bezeichnet) und Rückgabeanalyse und dergleichen.Generally speaking, vehicle electrical system communication parameters of an electronic control unit ECU are fixed if it can be mass-produced. Throughout the life cycle of the electronic control unit ECU, the same communication parameters are used for various processing, including production diagnostics, offline vehicle diagnostics, on-board diagnostics, FOTA (firmware over-the-air download, also known as remote upgrade), and return analysis and the like.

Hinsichtlich der Bordnetz-Kommunikationsparameter der ECU bezieht sich ihr Designwert im Allgemeinen auf das Fahrzeugnetzwerkdesign. Da die Übertragungsraten oder Anforderungen jeder ECU im Bordnetz unterschiedlich sind, sind die Bordnetz-Kommunikationsparameter der ECU unter Berücksichtigung der Kompatibilität und Stabilität des Bordnetzes im Allgemeinen konservativ ausgelegt. Zum Beispiel wird für die Datenübertragung eine Bitrate, die viel niedriger als die von Hardware unterstützte Bitrate ist, verwendet. Daher sind die vorgegebenen Bordnetz-Kommunikationsparameter der ECU nicht für die Nutzungsszenarien geeignet, in denen die Übertragung einer großen Menge an Daten erfordert wird, was beispielsweise zur niedrigen Effizienz eines diagnostischen Tests führt.Regarding the vehicle network communication parameters of the ECU, its design value is generally related to the vehicle network design. Since the transmission rates or requirements of each ECU in the vehicle electrical system are different, the vehicle electrical system communication parameters of the ECU are generally designed conservatively, taking into account the compatibility and stability of the vehicle electrical system. For example, a bit rate much lower than the hardware supported bit rate is used for data transmission. Therefore, the default vehicle electrical system communication parameters of the ECU are not suitable for the usage scenarios in which the transmission of a large amount of data is required, resulting in low efficiency of a diagnostic test, for example.

Offenbarung der ErfindungDisclosure of Invention

Gemäß einem Aspekt der vorliegenden Erfindung wird ein Verfahren zum Steuern einer elektronischen Steuereinheit ECU bereitgestellt, umfassend: Erhalten eines Prüfbefehls von einem Diagnosegerät; Liefern mehrerer Konfigurationssätze von Bordnetz-Kommunikationsparametern, die von der elektronischen Steuereinheit ECU unterstützt werden, dem Diagnosegerät auf der Grundlage des Prüfbefehls; und Wechseln der Bordnetz-Kommunikationsparameter der elektronischen Steuereinheit gemäß einem vom Diagnosegerät ausgewählten Konfigurationssatz.According to one aspect of the present invention, there is provided a method for controlling an electronic control unit ECU, comprising: receiving a test command from a diagnostic device; providing a plurality of configuration sets of vehicle electrical system communication parameters supported by the electronic control unit ECU to the diagnostic device based on the test command; and changing the vehicle electrical system communication parameters of the electronic control unit according to a configuration set selected by the diagnostic device.

Zusätzlich oder alternativ zur oben genannten Lösung sind bei dem obigen Verfahren mehrere Konfigurationssätze von Bordnetz-Kommunikationsparametern, die von der elektronischen Steuereinheit ECU unterstützt werden, in der elektronischen Steuereinheit ECU vorgespeichert.In addition or as an alternative to the solution mentioned above, in the above method several configuration sets of vehicle electrical system communication parameters, which are supported by the electronic control unit ECU, are pre-stored in the electronic control unit ECU.

Zusätzlich oder alternativ zur oben genannten Lösung ist bei dem obigen Verfahren der Bordnetz-Kommunikationsparameter ein CAN- oder CAN-FD-Buskommunikationsparameter.In addition or as an alternative to the solution mentioned above, the vehicle electrical system communication parameter in the above method is a CAN or CAN FD bus communication parameter.

Zusätzlich oder alternativ zur oben genannten Lösung ist bei dem obigen Verfahren der CAN- oder CAN-FD-Buskommunikationsparameter eine Übertragungsrate, wobei die mehreren Konfigurationssätze einen ersten Konfigurationssatz und einen zweiten Konfigurationssatz umfassen, wobei der erste Konfigurationssatz ein vorgegebener werkseitiger Konfigurationssatz der elektronischen Steuereinheit ECU ist, und wobei die Übertragungsrate im zweiten Konfigurationssatz höher als die vorgegebene Übertragungsrate im ersten Konfigurationssatz ist.In addition or as an alternative to the above solution, in the above method the CAN or CAN FD bus communication parameter is a transmission rate, the multiple configuration sets comprising a first configuration set and a second configuration set, the first configuration set being a predefined factory configuration set of the electronic control unit ECU , and wherein the transmission rate in the second configuration set is higher than the predetermined transmission rate in the first configuration set.

Zusätzlich oder alternativ zur oben genannten Lösung umfasst bei dem obigen Verfahren das Wechseln der Bordnetz-Kommunikationsparameter der elektronischen Steuereinheit ECU gemäß einem vom Diagnosegerät ausgewählten Konfigurationssatz: Wechseln der CAN- oder CAN-FD-Buskommunikationsparameter der elektronischen Steuereinheit ECU von dem ersten Konfigurationssatz in den zweiten Konfigurationssatz.In addition or as an alternative to the above solution, the above method includes changing the vehicle electrical system communication parameters of the electronic control unit ECU according to a configuration set selected by the diagnostic device: changing the CAN or CAN FD bus communication parameters of the electronic control unit ECU from the first configuration set to the second configuration set.

Zusätzlich oder alternativ zur oben genannten Lösung umfasst das oben genannte Verfahren ferner: Empfangen mehrerer Testframes von dem Diagnosegerät; Bestimmen der Frameverlustrate der Testframes; und Festlegen der Bordnetz-Kommunikationsparameter der elektronischen Steuereinheit, wenn die Frameverlustrate eine Anforderung erfüllt, und ansonsten Wiederherstellen der Bordnetz-Kommunikationsparameter der elektronischen Steuereinheit ECU vor dem Wechseln.In addition or as an alternative to the above solution, the above method also includes: receiving a plurality of test frames from the diagnostic device; determining the frame loss rate of the test frames; and fixing the electronic control unit's on-board communication parameters when the frame loss rate satisfies a requirement, and otherwise restoring the electronic control unit's on-board communication parameters prior to the swap.

Gemäß einem weiteren Aspekt der vorliegenden Erfindung wird ein Gerät zum Steuern einer elektronischen Steuereinheit ECU bereitgestellt, umfassend: eine erste Empfangsvorrichtung zum Erhalten eines Prüfbefehls von einem Diagnosegerät; eine Liefervorrichtung zum Liefern mehrerer Konfigurationssätze von Bordnetz-Kommunikationsparametern, die von der elektronischen Steuereinheit ECU unterstützt werden, dem Diagnosegerät auf der Grundlage des Prüfbefehls; und eine Wechselvorrichtung zum Wechseln der Bordnetz-Kommunikationsparameter der elektronischen Steuereinheit gemäß einem vom Diagnosegerät ausgewählten Konfigurationssatz.According to another aspect of the present invention, there is provided an apparatus for controlling an electronic control unit ECU, comprising: first receiving means for receiving a test command from a diagnostic apparatus; a supplying device for supplying a plurality of configuration sets of vehicle electrical system communication parameters supported by the electronic control unit ECU to the diagnosis device based on the test command; and a changing device for changing the vehicle electrical system communication parameters of the electronic control unit according to a configuration set selected by the diagnostic device.

Zusätzlich oder alternativ zur oben genannten Lösung kann das oben genannte Gerät ferner umfassen: eine Speichervorrichtung zum Speichern mehrerer Konfigurationssätze von Bordnetz-Kommunikationsparametern, die von der elektronischen Steuereinheit ECU unterstützt werden.In addition or as an alternative to the above solution, the above device may further comprise: a storage device for storing multiple configuration sets of vehicle electrical system communication parameters supported by the electronic control unit ECU.

Zusätzlich oder alternativ zur oben genannten Lösung ist bei dem obigen Gerät der Bordnetz-Kommunikationsparameter ein CAN- oder CAN-FD-Buskommunikationsparameter.In addition or as an alternative to the above solution, the vehicle electrical system communication parameter in the above device is a CAN or CAN FD bus communication parameter.

Zusätzlich oder alternativ zur oben genannten Lösung ist bei dem obigen Gerät der CAN- oder CAN-FD-Buskommunikationsparameter eine Übertragungsrate, wobei die mehreren Konfigurationssätze einen ersten Konfigurationssatz und einen zweiten Konfigurationssatz umfassen, wobei der erste Konfigurationssatz ein vorgegebener werkseitiger Konfigurationssatz der elektronischen Steuereinheit ECU ist, und wobei die Übertragungsrate im zweiten Konfigurationssatz höher als die vorgegebene Übertragungsrate im ersten Konfigurationssatz ist.In addition or as an alternative to the above solution, in the above device the CAN or CAN FD bus communication parameter is a transmission rate, the multiple configuration sets comprising a first configuration set and a second configuration set, the first configuration set being a predefined factory configuration set of the electronic control unit ECU , and wherein the transmission rate in the second configuration set is higher than the predetermined transmission rate in the first configuration set.

Zusätzlich oder alternativ zur oben genannten Lösung ist in dem obigen Gerät die Wechselvorrichtung so konfiguriert, die CAN- oder CAN-FD-Buskommunikationsparameter der elektronischen Steuereinheit ECU von dem ersten Konfigurationssatz in den zweiten Konfigurationssatz zu wechseln.In addition or as an alternative to the above solution, the changing device in the above device is configured to change the CAN or CAN FD bus communication parameters of the electronic control unit ECU from the first configuration set to the second configuration set.

Zusätzlich oder alternativ zur oben genannten Lösung umfasst das oben genannte Gerät ferner: eine zweite Empfangsvorrichtung zum Erhalten mehrerer Testframes vom Diagnosegerät; eine Bestimmungsvorrichtung zum Bestimmen der Frameverlustrate der Testframes; und eine Steuervorrichtung, die dazu verwendet wird, die Bordnetz-Kommunikationsparameter der elektronischen Steuereinheit festzulegen, wenn die Frameverlustrate eine Anforderung erfüllt, und ansonsten die Bordnetz-Kommunikationsparameter der elektronischen Steuereinheit ECU vor dem Wechseln wiederherzustellen.In addition or as an alternative to the solution mentioned above, the device mentioned above also comprises: a second receiving device for receiving a plurality of test frames from the diagnostic device; a determining device for determining the frame loss rate of the test frames; and a controller used to set the electronic control unit's on-board communication parameters when the frame loss rate satisfies a requirement, and otherwise restore the electronic control unit's on-board communication parameters before switching.

Gemäß noch einem weiteren Aspekt der vorliegenden Erfindung wird ein Computerspeichermedium zur Verfügung gestellt, das Befehle umfasst, die beim Ausführen das vorstehend beschriebene Verfahren durchführen.According to yet another aspect of the present invention, there is provided a computer storage medium comprising instructions that when executed perform the method described above.

Gemäß noch einem weiteren Aspekt der vorliegenden Erfindung wird ein Computerprogrammprodukt bereitgestellt, das ein Computerprogramm umfasst, wobei das oben genannte Verfahren realisiert wird, wenn das Computerprogramm durch einen Prozessor ausgeführt wird.According to yet another aspect of the present invention, there is provided a computer program product comprising a computer program, wherein the above method is implemented when the computer program is executed by a processor.

Gemäß einem weiteren Aspekt der vorliegenden Erfindung wird eine elektronische Steuereinheit bereitgestellt, die das oben genannte Gerät umfasst.According to another aspect of the present invention, there is provided an electronic control unit comprising the above apparatus.

Gemäß noch einem weiteren Aspekt der vorliegenden Erfindung wird ein Fahrzeug bereitgestellt, das die oben genannte elektronische Steuereinheit umfasst.According to still another aspect of the present invention, there is provided a vehicle including the above electronic control unit.

In dem Steuerschema der elektronischen Steuereinheit ECU gemäß den Ausführungsbeispielen der vorliegenden Erfindung werden nach dem Empfangen des Prüfbefehls von einem Diagnosegerät mehrere Konfigurationssätze von Bordnetz-Kommunikationsparametern, die von dem Diagnosegerät unterstützt werden, an das Diagnosegerät zurückgegeben (die mehreren Konfigurationssätze können in der elektronischen Steuereinheit ECU vorgespeichert sein), und gemäß einer Auswahl durch das Diagnosegerät erfolgt ein entsprechender Wechsel. Auf diese Weise kann die elektronische Steuereinheit ECU nach Verhandlung mit dem Diagnosegerät unterschiedliche Bordnetz-Kommunikationsparameter (Konfigurationssätze) für unterschiedliche Nutzungsszenarien verwenden. In einem Ausführungsbeispiel kann durch den Wechsel der ursprünglichen Bordnetz-Kommunikationsparameter in einen Konfigurationssatz mit einer höheren Übertragungsrate die Diagnoseprüfeffizienz stark verbessert und die Prüfzeit verkürzt werden.In the control scheme of the electronic control unit ECU according to the exemplary embodiments of the present invention, after receiving the test command from a diagnostic device, a plurality of configuration sets of vehicle electrical system communication parameters supported by the diagnostic device are returned to the diagnostic device (the multiple configuration sets can be stored in the electronic control unit ECU be pre-stored), and according to a selection by the diagnostic device, a corresponding change takes place. In this way, after negotiation with the diagnostic device, the electronic control unit ECU can use different vehicle electrical system communication parameters (configuration sets) for different usage scenarios. In one embodiment, changing the original vehicle electrical system communication parameters to a configuration set with a higher transmission rate can greatly improve diagnostic test efficiency and reduce test time.

Figurenlistecharacter list

Die folgende detaillierte Beschreibung in Verbindung mit den beigefügten Zeichnungen macht die oben genannten und weitere Aufgaben sowie Vorteile der vorliegenden Erfindung vollständiger und klarer, wobei dieselben oder ähnliche Elemente durch dieselben Bezugszeichen dargestellt werden.

  • 1 zeigt ein schematisches Flussdiagramm eines Steuerverfahrens einer elektronischen Steuereinheit ECU gemäß einem Ausführungsbeispiel der vorliegenden Erfindung; und
  • 2 zeigt eine schematische Strukturansicht eines Geräts zum Steuern einer elektronischen Steuereinheit ECU gemäß einem Ausführungsbeispiel der vorliegenden Erfindung.
The following detailed description, taken in conjunction with the accompanying drawings, will make the above and other objects and advantages of the present invention more complete and clear, wherein the same or similar elements are designated by the same reference numbers.
  • 1 12 is a schematic flowchart of a control method of an electronic control unit ECU according to an embodiment of the present invention; and
  • 2 12 is a schematic structural view of an apparatus for controlling an electronic control unit ECU according to an embodiment of the present invention.

Ausführliche AusführungsformenDetailed Embodiments

Im Folgenden wird ein Steuerschema einer elektronischen Steuereinheit ECU gemäß verschiedenen beispielhaften Ausführungsbeispielen der vorliegenden Erfindung im Detail unter Bezugnahme auf die begleitenden Zeichnungen beschrieben.Hereinafter, a control scheme of an electronic control unit ECU according to various exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

1 zeigt ein schematisches Flussdiagramm eines Steuerverfahrens 1000 einer elektronischen Steuereinheit ECU gemäß einem Ausführungsbeispiel der vorliegenden Erfindung. Wie in 1 gezeigt, umfasst das Verfahren 1000 zum Steuern einer elektronischen Steuereinheit ECU die folgenden Schritte: in Schritt S110 wird ein Prüfbefehl von einem Diagnosegerät erhalten; in Schritt S120 werden dem Diagnosegerät auf der Grundlage des Prüfbefehls mehrere Konfigurationssätze von Bordnetz-Kommunikationsparametern geliefert, die von der elektronischen Steuereinheit ECU unterstützt werden; und in Schritt S130 werden die Bordnetz-Kommunikationsparameter der elektronischen Steuereinheit gemäß einem vom Diagnosegerät ausgewählten Konfigurationssatz gewechselt. 1 10 shows a schematic flow diagram of a control method 1000 of an electronic control unit ECU according to an exemplary embodiment of the present invention. As in 1 As shown, the method 1000 for controlling an electronic control unit ECU comprises the following steps: in step S110 a test command is received from a diagnostic device; in step S120, based on the test command, a plurality of configuration sets of vehicle electrical system communication parameters supported by the electronic control unit ECU are provided to the diagnostic device; and in step S130 the vehicle electrical system communication parameters of the electronic control unit are changed according to a configuration set selected by the diagnostic device.

Im Kontext der vorliegenden Erfindung wird „Bordnetz“ auch als „fahrzeuginternes Netzwerk“ bezeichnet, was bedeutet, dass die Kommunikation zwischen den internen Sensoren, Steuerungen und Aktoren des Fahrzeugs in Punkt-zu-Punkt-Verbindung in eine komplexe Netzwerkstruktur eingebunden ist. Das Bordnetz kann CAN (Controller Area Network), LIN (Local Interconnect Network), FlexRay, MOST (Multimedia Oriented System Transmission), Ethernet und dergleichen umfassen.In the context of the present invention, “board network” is also referred to as “in-vehicle network”, which means that the communication between the internal sensors, controls and actuators of the vehicle is integrated into a complex network structure in a point-to-point connection. The vehicle electrical system can include CAN (Controller Area Network), LIN (Local Interconnect Network), FlexRay, MOST (Multimedia Oriented System Transmission), Ethernet and the like.

Der Begriff „Prüfbefehl“ bezieht sich auf Befehle, die von dem Diagnosegerät an die elektronische Steuereinheit ECU für verschiedene Diagnose- oder Prüfbetriebe gesendet werden. In einem Ausführungsbeispiel oder mehreren Ausführungsbeispielen umfasst der Prüfbefehl, dass die elektronische Steuereinheit ECU aufgefordert wird, einen Konfigurationssatz unterstützter Bordnetz-Kommunikationsparameter bereitzustellen.The term "test command" refers to commands sent from the diagnostic tool to the electronic control unit ECU for various diagnostic or test operations. In one or more exemplary embodiments, the test command includes requesting the electronic control unit ECU to provide a configuration set of supported vehicle electrical system communication parameters.

Nach dem Empfangen des Prüfbefehls von dem Diagnosegerät gemäß dem Prüfbefehl wie in Schritt S120 gibt die elektronische Steuereinheit ECU mehrere Konfigurationssätze der von ihr unterstützten Bordnetz-Kommunikationsparameter an das Diagnosegerät zurück. In einem Ausführungsbeispiel können die mehreren Konfigurationssätze in der elektronischen Steuereinheit ECU vorgespeichert werden.After receiving the test command from the diagnostic device according to the test command as in step S120, the electronic control unit ECU returns a plurality of configuration sets of the vehicle electrical system communication parameters it supports to the diagnostic device. In one embodiment, the multiple configuration sets may be pre-stored in the electronic control unit ECU.

In einem Ausführungsbeispiel wählt das Diagnosegerät, nachdem es mehrere Konfigurationssätze, die sie unterstützt, von der elektronischen Steuereinheit ECU empfangen hat, den Konfigurationssatz, den sie unterstützt, aus den mehreren Konfigurationssätzen aus. Beispielsweise wählt das Diagnosegerät aus den mehreren Konfigurationssätzen die höchste Übertragungsrate aus, die sowohl von dem Diagnosegerät als auch von der elektronischen Steuereinheit ECU unterstützt wird oder ihnen gemeinsam ist. Als nächstes informiert das Diagnosegerät die elektronische Steuereinheit ECU über ihren ausgewählten Konfigurationssatz, umfassend ein oder mehrere Bordnetz-Kommunikationsparameter.In one embodiment, after receiving multiple configuration sets that it supports from the electronic control unit ECU, the diagnostic device selects the configuration set that it supports from the multiple configuration sets. For example, from among the multiple configuration sets, the diagnostic tool selects the highest transmission rate that is supported or shared by both the diagnostic tool and the electronic control unit ECU. Next, the diagnostic device informs the electronic control unit ECU of its selected configuration set, comprising one or more vehicle electrical system communication parameters.

In einem oder mehreren Ausführungsbeispielen sind die Bordnetz-Kommunikationsparameter CAN- oder CAN-FD-Buskommunikationsparameter, umfassend, aber nicht beschränkt auf, Übertragungsraten. CAN ist die Abkürzung für Controller Area Network, ein serielles Datenkommunikationsprotokoll mit einer Übertragungsrate von höchstens 1 Mbps. Es gibt keine Master-Slave-Unterscheidung in der CAN-Datenkommunikation, jeder Knoten kann eine Datenkommunikation zu jedem anderen (einem oder mehreren) Knoten initiieren, die Kommunikationsreihenfolge wird durch die Prioritätsreihenfolge der Informationen jedes Knotens bestimmt. Wenn mehrere Knoten gleichzeitig eine Kommunikation initiieren, kann der Knoten mit einer niedrigeren Priorität dem Knoten mit einer höheren Priorität ausweichen, wodurch keine Überlastung der Kommunikationsleitung verursacht wird. Aufgrund der äußerst zuverlässigen Steuermethode von CAN kann es in einer Reihe von Anwendungen von Fahrzeugnavigationssystemen bis hin zu Motorsteuerungssystemen eingesetzt werden. CAN-FD ist die Abkürzung für CAN with Flexible Data rate (CAN mit flexibler Datenrate), das CAN-FD-Busprotokoll überwindet die Beschränkung von CAN 2.0 (es kann Daten schneller als 1 Mbit/s übertragen). Spezifisch kann die Datenfeldübertragungsdatenrate von CAN-FD bis zu 8 MBbit/s betragen, und wobei die Nutzlast (payload) jedes Frames einer CAN-Nachricht nicht mehr auf 8 Bytes beschränkt ist, und die Länge des Datenfelds von CAN-FD kann bis zu 64 Bytes unterstützen.In one or more embodiments, the vehicle electrical system communication parameters are CAN or CAN FD bus communication parameters, including but not limited to transmission rates. CAN is the abbreviation for Controller Area Network, a serial data communication protocol with a maximum transfer rate of 1 Mbps. There is no master-slave distinction in CAN data communication, any node can initiate data communication to any other (one or more) node, the communication order is determined by the priority order of each node's information. When multiple nodes initiate communication at the same time, the node with a lower priority can avoid the node with a higher priority, which will not cause the communication line to be overloaded. Due to CAN's highly reliable control method, it can be used in a range of applications from vehicle navigation systems to engine control systems. CAN-FD is short for CAN with Flexible Data rate, the CAN-FD bus protocol overcomes the limitation of CAN 2.0 (it can transfer data faster than 1 Mbit/s). Specifically, the data field transmission data rate of CAN-FD can be up to 8MBbit/s, and the payload of each frame of CAN message is no longer limited to 8 bytes, and the length of the data field of CAN-FD can be up to 64 support bytes.

In einem Ausführungsbeispiel führt die elektronische Steuereinheit ECU nach Empfang des ausgewählten Konfigurationssatzes von dem Diagnosegerät eine Bestätigungsantwort aus und wechselt die Bordnetz-Kommunikationsparameter entsprechend, wie in Schritt S130. Auf diese Weise können verschiedene Bordnetz-Kommunikationsparameter (Konfigurationssätze) für verschiedene Nutzungsszenarien verwendet werden.In one embodiment, upon receipt of the selected configuration set from the diagnostic device, the electronic control unit ECU performs an acknowledgment response and changes the vehicle electrical system communication parameters accordingly, as in step S130. In this way, different vehicle electrical system communication parameters (configuration sets) can be used for different usage scenarios.

In einem Ausführungsbeispiel umfassen die mehreren Konfigurationssätze einen ersten Konfigurationssatz und einen zweiten Konfigurationssatz, wobei der erste Konfigurationssatz ein vorgegebener werkseitiger Konfigurationssatz der elektronischen Steuereinheit ECU ist, und wobei die Übertragungsrate im zweiten Konfigurationssatz höher als die vorgegebene Übertragungsrate im ersten Konfigurationssatz ist. Daher können dadurch, dass die CAN- oder CAN-FD-Buskommunikationsparameter der elektronischen Steuereinheit ECU von dem ersten Konfigurationssatz in den zweiten Konfigurationssatz gewechselt werden, die ursprünglichen Bordnetz-Kommunikationsparameter in einen Konfigurationssatz mit einer höheren Übertragungsrate gewechselt werden. Dies kann die Diagnoseprüfeffizienz erheblich verbessern und die Prüfzeit verkürzen, was besonders für Nutzungsszenarien von Vorteil ist, in denen große Datenmengen übertragen werden.In one embodiment, the multiple configuration sets include a first configuration set and a second configuration set, wherein the first configuration set is a default factory configuration set of the electronic control unit ECU, and wherein the transmission rate in the second configuration set is higher than the default transmission rate in the first configuration set. Therefore, by changing the CAN or CAN FD bus communication parameters of the electronic control unit ECU from the first configuration set to the second configuration set, the original vehicle electrical system communication parameters can be changed to a configuration set with a higher transmission rate. This can greatly improve diagnostic testing efficiency and shorten testing time, what is particularly advantageous for usage scenarios in which large amounts of data are transmitted.

Obwohl es in 1 nicht gezeigt ist, kann das oben beschriebene Verfahren 1000 in einem Ausführungsbeispiel ferner umfassen: Empfangen mehrerer Testframes von dem Diagnosegerät; Bestimmen der Frameverlustrate der Testframes; und Festlegen der Bordnetz-Kommunikationsparametern der elektronischen Steuereinheit, wenn die Frameverlustrate eine Anforderung erfüllt, und ansonsten Wiederherstellen der Bordnetz-Kommunikationsparameter der elektronischen Steuereinheit ECU vor dem Wechseln. Mit anderen Worten kann das Diagnosegerät durch Senden mehrerer Testframes die Stabilität der Übertragung nach dem Wechsel der Bordnetz-Kommunikationsparameter prüfen, d. h. ob die Frameverlustrate den Anforderungen entspricht (z. B. ob die Übertragungszeit die vordefinierte maximale Timeout-Zeit überschreitet). Wenn die Frameverlustrate die Anforderungen erfüllt (d. h. die Übertragung relativ stabil ist), werden die Bordnetz-Kommunikationsparameter (d. h. neue Kommunikationsparameter) festgelegt; andernfalls kehrt die ECU zu ihren Bordnetz-Kommunikationsparametern vor dem Wechseln zurück (z. B. zu den vorherigen oder vorgegebenen Bordnetz-Kommunikationsparametern).Although it's in 1 not shown, in one embodiment, the method 1000 described above may further include: receiving a plurality of test frames from the diagnostic device; determining the frame loss rate of the test frames; and fixing the electronic control unit's on-board communication parameters when the frame loss rate satisfies a requirement, and otherwise restoring the electronic control unit's on-board communication parameters before the swap. In other words, by sending several test frames, the diagnostic device can check the stability of the transmission after changing the on-board network communication parameters, i.e. whether the frame loss rate meets the requirements (e.g. whether the transmission time exceeds the predefined maximum timeout time). If the frame loss rate meets the requirements (ie the transmission is relatively stable), the vehicle network communication parameters (ie new communication parameters) are determined; otherwise, the ECU reverts to its pre-changeover wiring communication parameters (e.g., previous or default wiring communication parameters).

Außerdem kann ein Fachmann auf diesem Gebiet leicht verstehen, dass das Verfahren zum Steuern der elektronischen Steuereinheit ECU, das durch ein obige Ausführungsbeispiel oder mehrere Ausführungsbeispiele der vorliegenden Erfindung bereitgestellt wird, durch ein Computerprogramm implementiert werden kann. Beispielsweise ist das Computerprogramm in einem Computerprogrammprodukt enthalten, wobei, wenn das Computerprogramm durch den Prozessor ausgeführt wird, das Verfahren zum Steuern der elektronischen Steuereinheit ECU eines Ausführungsbeispiels oder mehrerer Ausführungsbeispiele der vorliegenden Erfindung implementiert wird. Wenn als weiteres Beispiel ein Computerspeichermedium (wie etwa ein USB-Flash-Laufwerk), das das Computerprogramm speichert, mit dem Computer verbunden ist, kann das Verfahren zum Steuern einer elektronischen Steuereinheit ECU eines Ausführungsbeispiels oder mehrerer Ausführungsbeispiele der vorliegenden Erfindung ausgeführt werden, indem das Computerprogramm ausgeführt wird.In addition, a person skilled in the art can easily understand that the method for controlling the electronic control unit ECU provided by one or more embodiments of the present invention above can be implemented by a computer program. For example, the computer program is included in a computer program product, wherein when the computer program is executed by the processor, the method for controlling the electronic control unit ECU of one or more exemplary embodiments of the present invention is implemented. As another example, when a computer storage medium (such as a USB flash drive) storing the computer program is connected to the computer, the method for controlling an electronic control unit ECU of one or more embodiments of the present invention can be performed by computer program is running.

Unter Bezugnahme auf 2 zeigt 2 eine schematische Strukturansicht eines Geräts 2000 zum Steuern einer elektronischen Steuereinheit ECU gemäß einem Ausführungsbeispiel der vorliegenden Erfindung. Wie in 2 gezeigt, umfasst das Gerät 2000 zum Steuern einer elektronischen Steuereinheit ECU eine erste Empfangsvorrichtung 210, eine Liefervorrichtung 220 und eine Wechselvorrichtung 230. Dabei dient die erste Empfangsvorrichtung 210 zum Erhalten der Prüfbefehle von einem Diagnosegerät; die Liefervorrichtung 220 dient zum Liefern mehrerer Konfigurationssätze von Bordnetz-Kommunikationsparametern, die von der elektronischen Steuereinheit ECU unterstützt werden, dem Diagnosegerät auf der Grundlage des Prüfbefehls; die Wechselvorrichtung 230 dient zum Wechseln der Bordnetz-Kommunikationsparameter der elektronischen Steuereinheit gemäß einem vom Diagnosegerät ausgewählten Konfigurationssatz.With reference to 2 shows 2 12 is a schematic structural view of an apparatus 2000 for controlling an electronic control unit ECU according to an embodiment of the present invention. As in 2 shown, the device 2000 for controlling an electronic control unit ECU comprises a first receiving device 210, a supplying device 220 and a changing device 230. The first receiving device 210 is used to receive the test commands from a diagnostic device; the supplying device 220 is for supplying a plurality of configuration sets of vehicle electrical system communication parameters supported by the electronic control unit ECU to the diagnosis device based on the test command; the changing device 230 is used to change the vehicle electrical system communication parameters of the electronic control unit according to a configuration set selected by the diagnostic device.

Im Kontext der vorliegenden Erfindung wird „Bordnetz“ auch als „fahrzeuginternes Netzwerk“ bezeichnet, was bedeutet, dass die Kommunikation zwischen den internen Sensoren, Steuerungen und Aktoren des Fahrzeugs in Punkt-zu-Punkt-Verbindung in eine komplexe Netzwerkstruktur eingebunden ist. Das Bordnetz kann CAN (Controller Area Network), LIN (Local Interconnect Network), FlexRay, MOST (Multimedia Oriented System Transmission), Ethernet und dergleichen umfassen.In the context of the present invention, “board network” is also referred to as “in-vehicle network”, which means that the communication between the internal sensors, controls and actuators of the vehicle is integrated into a complex network structure in a point-to-point connection. The vehicle electrical system can include CAN (Controller Area Network), LIN (Local Interconnect Network), FlexRay, MOST (Multimedia Oriented System Transmission), Ethernet and the like.

Der Begriff „Prüfbefehl“ bezieht sich auf Befehle, die von dem Diagnosegerät an die elektronische Steuereinheit ECU für verschiedene Diagnose- oder Prüfbetriebe gesendet werden. In einem Ausführungsbeispiel oder mehreren Ausführungsbeispielen umfasst der von der ersten Empfangsvorrichtung 210 empfangene Prüfbefehl, dass die elektronische Steuereinheit ECU aufgefordert wird, einen Konfigurationssatz unterstützter Bordnetz-Kommunikationsparameter bereitzustellen.The term "test command" refers to commands sent from the diagnostic tool to the electronic control unit ECU for various diagnostic or test operations. In one or more exemplary embodiments, the test command received by the first receiving device 210 includes the electronic control unit ECU being requested to provide a configuration set of supported vehicle electrical system communication parameters.

Nachdem die Empfangsvorrichtung 210 einen Prüfbefehl von dem Diagnosegerät empfangen hat, gibt die Liefervorrichtung 220 gemäß dem Prüfbefehl mehrere Konfigurationssätze der von ihr unterstützten Bordnetz-Kommunikationsparameter an das Diagnosegerät zurück. In einem Ausführungsbeispiel kann das oben erwähnte Gerät 2000 ferner umfassen: eine Speichervorrichtung zum Speichern mehrerer Konfigurationssätze von Bordnetz-Kommunikationsparametern, die von der elektronischen Steuereinheit ECU unterstützt werden. Das heißt, die Liefervorrichtung 220 kann mehrere Konfigurationssätze von der Speichervorrichtung erhalten.After receiving device 210 has received a test command from the diagnostic device, delivery device 220 returns a plurality of configuration sets of the vehicle electrical system communication parameters it supports to the diagnostic device in accordance with the test command. In one embodiment, the above-mentioned device 2000 may further include: a storage device for storing multiple configuration sets of vehicle electrical system communication parameters supported by the electronic control unit ECU. That is, the delivery device 220 may receive multiple configuration sets from the storage device.

In einem Ausführungsbeispiel wählt das Diagnosegerät, nachdem es mehrere Konfigurationssätze, die sie unterstützt, von der elektronischen Steuereinheit ECU empfangen hat, den Konfigurationssatz, den sie unterstützt, aus den mehreren Konfigurationssätzen aus. Beispielsweise wählt das Diagnosegerät aus den mehreren Konfigurationssätzen die höchste Übertragungsrate aus, die sowohl von dem Diagnosegerät als auch von der elektronischen Steuereinheit ECU unterstützt wird oder ihnen gemeinsam ist. Als nächstes informiert das Diagnosegerät die elektronische Steuereinheit ECU über ihren ausgewählten Konfigurationssatz, umfassend ein oder mehrere Bordnetz-Kommunikationsparameter.In one embodiment, after receiving multiple configuration sets that it supports from the electronic control unit ECU, the diagnostic device selects the configuration set that it supports from the multiple configuration sets. For example, from among the multiple configuration sets, the diagnostic tool selects the highest transmission rate that is supported or shared by both the diagnostic tool and the electronic control unit ECU. Next, that informs Diagnostic device, the electronic control unit ECU via their selected configuration set, comprising one or more vehicle electrical system communication parameters.

In einem oder mehreren Ausführungsbeispielen sind die Bordnetz-Kommunikationsparameter CAN- oder CAN-FD-Buskommunikationsparameter, umfassend, aber nicht beschränkt auf, Übertragungsraten. CAN ist die Abkürzung für Controller Area Network, ein serielles Datenkommunikationsprotokoll mit einer Übertragungsrate von höchstens 1 Mbps. Es gibt keine Master-Slave-Unterscheidung in der CAN-Datenkommunikation, jeder Knoten kann eine Datenkommunikation zu jedem anderen (einem oder mehreren) Knoten initiieren, die Kommunikationsreihenfolge wird durch die Prioritätsreihenfolge der Informationen jedes Knotens bestimmt. Wenn mehrere Knoten gleichzeitig eine Kommunikation initiieren, kann der Knoten mit einer niedrigeren Priorität dem Knoten mit einer höheren Priorität ausweichen, wodurch keine Überlastung der Kommunikationsleitung verursacht wird. Aufgrund der äußerst zuverlässigen Steuermethode von CAN kann es in einer Reihe von Anwendungen von Fahrzeugnavigationssystemen bis hin zu Motorsteuerungssystemen eingesetzt werden. CAN-FD ist die Abkürzung für CAN with Flexible Datarate (CAN mit flexibler Datenrate), das CAN-FD-Busprotokoll überwindet die Beschränkung von CAN 2.0 (es kann Daten schneller als 1 Mbit/s übertragen). Spezifisch kann die Datenfeldübertragungsdatenrate von CAN-FD bis zu 8 MBbit/s betragen, und wobei die Nutzlast (Payload) jedes Frames einer CAN-Nachricht nicht mehr auf 8 Bytes beschränkt ist, und die Länge des Datenfelds von CAN-FD kann bis zu 64 Bytes unterstützen.In one or more embodiments, the vehicle electrical system communication parameters are CAN or CAN FD bus communication parameters, including but not limited to transmission rates. CAN is the abbreviation for Controller Area Network, a serial data communication protocol with a maximum transfer rate of 1 Mbps. There is no master-slave distinction in CAN data communication, any node can initiate data communication to any other (one or more) node, the communication order is determined by the priority order of each node's information. When multiple nodes initiate communication at the same time, the node with a lower priority can avoid the node with a higher priority, which will not cause the communication line to be overloaded. Due to CAN's highly reliable control method, it can be used in a range of applications from vehicle navigation systems to engine control systems. CAN-FD is short for CAN with Flexible Datarate, the CAN-FD bus protocol overcomes the limitation of CAN 2.0 (it can transfer data faster than 1 Mbit/s). Specifically, the data field transmission data rate of CAN-FD can be up to 8MBbit/s, and the payload of each frame of CAN message is no longer limited to 8 bytes, and the length of the data field of CAN-FD can be up to 64 support bytes.

In einem Ausführungsbeispiel ist die Wechselvorrichtung 230 dazu konfiguriert, nach dem Empfangen des ausgewählten Konfigurationssatzes von dem Diagnosegerät eine Bestätigungsantwort auszuführen und die Bordnetz-Kommunikationsparameter entsprechend umzuschalten. Auf diese Weise können für die elektronische Steuereinheit ECU verschiedene Bordnetz-Kommunikationsparameter (Konfigurationssätze) für verschiedene Nutzungsszenarien verwendet werden.In one embodiment, the switching device 230 is configured to perform an acknowledgment response after receiving the selected configuration set from the diagnostic device and to switch the vehicle electrical system communication parameters accordingly. In this way, different vehicle electrical system communication parameters (configuration sets) can be used for different usage scenarios for the electronic control unit ECU.

In einem Ausführungsbeispiel umfassen die mehreren Konfigurationssätze einen ersten Konfigurationssatz und einen zweiten Konfigurationssatz, wobei der erste Konfigurationssatz ein vorgegebener werkseitiger Konfigurationssatz der elektronischen Steuereinheit ECU ist, und wobei die Übertragungsrate im zweiten Konfigurationssatz höher als die vorgegebene Übertragungsrate im ersten Konfigurationssatz ist. Daher werden durch die Wechselvorrichtung 230 die CAN- oder CAN-FD-Buskommunikationsparameter der elektronischen Steuereinheit ECU von dem ersten Konfigurationssatz auf den zweiten Konfigurationssatz umgeschaltet, sodass die ursprünglichen Bordnetz-Kommunikationsparameter auf einen Konfigurationssatz mit einer höheren Übertragungsrate umgeschaltet werden können. Dies kann die Diagnoseprüfeffizienz erheblich verbessern und die Prüfzeit verkürzen, was besonders für Anwendungsfälle von Vorteil ist, in denen große Datenmengen übertragen werden.In one embodiment, the multiple configuration sets include a first configuration set and a second configuration set, wherein the first configuration set is a default factory configuration set of the electronic control unit ECU, and wherein the transmission rate in the second configuration set is higher than the default transmission rate in the first configuration set. Therefore, the CAN or CAN FD bus communication parameters of the electronic control unit ECU are switched from the first configuration set to the second configuration set by the switching device 230, so that the original vehicle electrical system communication parameters can be switched to a configuration set with a higher transmission rate. This can greatly improve diagnostic test efficiency and reduce test time, which is particularly beneficial for use cases where large amounts of data are transferred.

Obwohl in 2 nicht gezeigt, umfasst das oben beschriebene Gerät 2000 in einem Ausführungsbeispiel ferner: eine zweite Empfangsvorrichtung zum Erhalten mehrerer Testframes vom Diagnosegerät; eine Bestimmungsvorrichtung zum Bestimmen der Frameverlustrate der Testframes; und eine Steuervorrichtung, die dazu verwendet wird, die Bordnetz-Kommunikationsparameter der elektronischen Steuereinheit festzulegen, wenn die Frameverlustrate eine Anforderung erfüllt, und ansonsten die Bordnetz-Kommunikationsparameter der elektronischen Steuereinheit ECU vor dem Wechseln wiederherzustellen. Mit anderen Worten kann das Diagnosegerät durch Senden mehrerer Testframes die Stabilität der Übertragung nach dem Wechseln der Bordnetz-Kommunikationsparameter prüfen, d. h. ob die Frameverlustrate den Anforderungen entspricht (z. B. ob die Übertragungszeit die vordefinierte maximale Timeout-Zeit überschreitet). Daher kann die Steuervorrichtung so konfiguriert sein, dass, wenn die Frameverlustrate die Anforderungen erfüllt (d. h. die Übertragung relativ stabil ist), die Bordnetz-Kommunikationsparameter (d. h. neue Kommunikationsparameter) verfestigt werden; andernfalls kann die Steuervorrichtung so konfiguriert sein, dass die ECU zu ihren Bordnetz-Kommunikationsparameter vor dem Wechseln zurückkehrt (z. B. zu den vorherigen oder vorgegebenen Bordnetz-Kommunikationsparametern).Although in 2 not shown, in one embodiment, the device 2000 described above further comprises: a second receiving device for receiving a plurality of test frames from the diagnostic device; a determining device for determining the frame loss rate of the test frames; and a controller used to set the electronic control unit's on-board communication parameters when the frame loss rate satisfies a requirement, and otherwise restore the electronic control unit's on-board communication parameters before switching. In other words, by sending several test frames, the diagnostic device can check the stability of the transmission after changing the on-board network communication parameters, i.e. whether the frame loss rate meets the requirements (e.g. whether the transmission time exceeds the predefined maximum timeout time). Therefore, the control device can be configured such that when the frame loss rate meets the requirements (ie, the transmission is relatively stable), the vehicle electrical system communication parameters (ie, new communication parameters) are solidified; otherwise, the controller may be configured so that the ECU reverts to its pre-switching vehicle electrical system communication parameters (eg, to the previous or default vehicle electrical system communication parameters).

In einem Ausführungsbeispiel oder mehreren Ausführungsbeispielen kann das oben erwähnte Gerät 2000 zum Steuern einer elektronischen Steuereinheit ECU in verschiedene Arten von elektronischen Steuereinheiten ECUs eines Fahrzeugs integriert sein (umfassend, aber nicht beschränkt auf, Radarsensor/Domain-Controller/Vision-Sensor oder dergleichen).In one embodiment or more embodiments, the above-mentioned electronic control unit ECU control device 2000 may be integrated into various types of electronic control units ECUs of a vehicle (including but not limited to radar sensor/domain controller/vision sensor or the like).

Zusammenfassend werden in dem Steuerschema der elektronischen Steuereinheit ECU gemäß Ausführungsbeispielen der vorliegenden Erfindung nach dem Empfangen des Prüfbefehls von einem Diagnosegerät mehrere Konfigurationssätze der Bordnetz-Kommunikationsparameter, die von dem Diagnosegerät unterstützt werden, an das Diagnosegerät zurückgegeben (die mehreren Konfigurationssätze können in der elektronischen Steuereinheit ECU vorgespeichert sein), und gemäß einer Auswahl durch das Diagnosegerät erfolgt ein entsprechender Wechsel. Auf diese Weise können verschiedene Bordnetz-Kommunikationsparameter (Konfigurationssätze) für verschiedene Nutzungsszenarien verwendet werden. In einem Ausführungsbeispiel kann durch den Wechsel der ursprünglichen Bordnetz-Kommunikationsparameter in einen Konfigurationssatz mit einer höheren Übertragungsrate die Diagnoseprüfeffizienz stark verbessert und die Prüfzeit verkürzt werden.In summary, in the control scheme of the electronic control unit ECU according to exemplary embodiments of the present invention, after receiving the test command from a diagnostic device, multiple configuration sets of the vehicle electrical system communication parameters supported by the diagnostic device are returned to the diagnostic device (the multiple configuration sets can be stored in the electronic control unit ECU be pre-stored), and according to a selection by the diagnostic device, an ent speaking change. In this way, different vehicle electrical system communication parameters (configuration sets) can be used for different usage scenarios. In one embodiment, changing the original vehicle electrical system communication parameters to a configuration set with a higher transmission rate can greatly improve diagnostic test efficiency and reduce test time.

Obwohl in der obigen Beschreibung nur einige der Ausführungsformen der Erfindung beschrieben wurden, sollte vom Fachmann verstanden werden, dass die Erfindung in vielen anderen Formen ausgeführt werden kann, ohne vom Prinzip und Umfang der Erfindung abzuweichen. Daher sollen die gezeigten Beispiele und Ausführungsformen als schematisch, aber nicht einschränkend angesehen werden. Die Erfindung kann verschiedene Modifikationen und Substitutionen abdecken, ohne von dem durch die beigefügten Ansprüche definierten Geist und Umfang der Erfindung abzuweichen.Although only some of the embodiments of the invention have been described in the foregoing specification, it should be understood by those skilled in the art that the invention may be embodied in many other forms without departing from the spirit and scope of the invention. Therefore, the examples and embodiments shown should be considered as schematic but not restrictive. The invention can cover various modifications and substitutions without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (16)

Verfahren zum Steuern einer elektronischen Steuereinheit ECU, dadurch gekennzeichnet, dass das Verfahren umfasst: Erhalten eines Prüfbefehls von einem Diagnosegerät; Liefern mehrerer Konfigurationssätze von Bordnetz-Kommunikationsparametern, die von der elektronischen Steuereinheit ECU unterstützt werden, dem Diagnosegerät auf der Grundlage des Prüfbefehls; und Wechseln der Bordnetz-Kommunikationsparameter der elektronischen Steuereinheit gemäß einem vom Diagnosegerät ausgewählten Konfigurationssatz.A method for controlling an electronic control unit ECU, characterized in that the method comprises: receiving a test command from a diagnostic device; providing a plurality of configuration sets of vehicle electrical system communication parameters supported by the electronic control unit ECU to the diagnostic device based on the test command; and changing the vehicle electrical system communication parameters of the electronic control unit according to a configuration set selected by the diagnostic device. Verfahren nach Anspruch 1, wobei mehrere Konfigurationssätze von Bordnetz-Kommunikationsparametern, die von der elektronischen Steuereinheit ECU unterstützt werden, in der elektronischen Steuereinheit ECU vorgespeichert sind.procedure after claim 1 , wherein a plurality of configuration sets of vehicle electrical system communication parameters, which are supported by the electronic control unit ECU, are pre-stored in the electronic control unit ECU. Verfahren nach Anspruch 1, wobei der Bordnetz-Kommunikationsparameter ein CAN- oder CAN-FD-Buskommunikationsparameter ist.procedure after claim 1 , wherein the vehicle electrical system communication parameter is a CAN or CAN FD bus communication parameter. Verfahren nach Anspruch 3, wobei der CAN- oder CAN-FD-Buskommunikationsparameter eine Übertragungsrate ist, wobei die mehreren Konfigurationssätze einen ersten Konfigurationssatz und einen zweiten Konfigurationssatz umfassen, wobei der erste Konfigurationssatz ein vorgegebener werkseitiger Konfigurationssatz der elektronischen Steuereinheit ECU ist, und wobei die Übertragungsrate im zweiten Konfigurationssatz höher als die vorgegebene Übertragungsrate im ersten Konfigurationssatz ist.procedure after claim 3 , wherein the CAN or CAN FD bus communication parameter is a transmission rate, wherein the multiple configuration sets include a first configuration set and a second configuration set, wherein the first configuration set is a default factory configuration set of the electronic control unit ECU, and wherein the transmission rate is higher in the second configuration set than the default transmission rate in the first configuration set. Verfahren nach Anspruch 1 oder 4, wobei das Wechseln der Bordnetz-Kommunikationsparameter der elektronischen Steuereinheit ECU gemäß einem vom Diagnosegerät ausgewählten Konfigurationssatz umfasst: Wechseln der CAN- oder CAN-FD-Buskommunikationsparameter der elektronischen Steuereinheit ECU von dem ersten Konfigurationssatz in den zweiten Konfigurationssatz.procedure after claim 1 or 4 , wherein changing the vehicle electrical system communication parameters of the electronic control unit ECU according to a configuration set selected by the diagnostic device comprises: changing the CAN or CAN FD bus communication parameters of the electronic control unit ECU from the first configuration set to the second configuration set. Verfahren nach Anspruch 1, ferner umfassend: Empfangen mehrerer Testframes von dem Diagnosegerät; Bestimmen der Frameverlustrate der Testframes; und Festlegen der Bordnetz-Kommunikationsparameter der elektronischen Steuereinheit, wenn die Frameverlustrate eine Anforderung erfüllt, und ansonsten Wiederherstellen der Bordnetz-Kommunikationsparameter der elektronischen Steuereinheit ECU vor dem Wechseln.procedure after claim 1 , further comprising: receiving a plurality of test frames from the diagnostic device; determining the frame loss rate of the test frames; and fixing the electronic control unit's on-board communication parameters when the frame loss rate satisfies a requirement, and otherwise restoring the electronic control unit's on-board communication parameters prior to the swap. Gerät zum Steuern einer elektronischen Steuereinheit ECU, dadurch gekennzeichnet, dass das Gerät umfasst: eine erste Empfangsvorrichtung zum Erhalten eines Prüfbefehls von einem Diagnosegerät; eine Liefervorrichtung zum Liefern mehrerer Konfigurationssätze von Bordnetz-Kommunikationsparametern, die von der elektronischen Steuereinheit ECU unterstützt werden, dem Diagnosegerät auf der Grundlage des Prüfbefehls; und eine Wechselvorrichtung zum Wechseln der Bordnetz-Kommunikationsparameter der elektronischen Steuereinheit gemäß einem vom Diagnosegerät ausgewählten Konfigurationssatz.A device for controlling an electronic control unit ECU, characterized in that the device comprises: a first receiving device for receiving a test command from a diagnostic device; a supplying device for supplying a plurality of configuration sets of vehicle electrical system communication parameters supported by the electronic control unit ECU to the diagnosis device based on the test command; and a changing device for changing the vehicle electrical system communication parameters of the electronic control unit according to a configuration set selected by the diagnostic device. Gerät nach Anspruch 7, ferner umfassend: eine Speichervorrichtung zum Speichern mehrerer Konfigurationssätze von Bordnetz-Kommunikationsparametern, die von der elektronischen Steuereinheit ECU unterstützt werden.device after claim 7 , further comprising: a storage device for storing multiple configuration sets of vehicle electrical system communication parameters supported by the electronic control unit ECU. Gerät nach Anspruch 7, wobei der Bordnetz-Kommunikationsparameter ein CAN- oder CAN-FD-Buskommunikationsparameter ist.device after claim 7 , wherein the vehicle electrical system communication parameter is a CAN or CAN FD bus communication parameter. Gerät nach Anspruch 9, wobei der CAN- oder CAN-FD-Buskommunikationsparameter eine Übertragungsrate ist, wobei die mehreren Konfigurationssätze einen ersten Konfigurationssatz und einen zweiten Konfigurationssatz umfassen, wobei der erste Konfigurationssatz ein vorgegebener werkseitiger Konfigurationssatz der elektronischen Steuereinheit ECU ist, und wobei die Übertragungsrate im zweiten Konfigurationssatz höher als die vorgegebene Übertragungsrate im ersten Konfigurationssatz ist.device after claim 9 , wherein the CAN or CAN FD bus communication parameter is a transmission rate, wherein the multiple configuration sets include a first configuration set and a second configuration set, wherein the first configuration set is a default factory configuration set of the electronic control unit ECU, and wherein the transmission rate is higher in the second configuration set than the one before given transmission rate in the first configuration set. Gerät nach Anspruch 7 oder 10, wobei die Wechselvorrichtung so konfiguriert ist, die CAN- oder CAN-FD-Buskommunikationsparameter der elektronischen Steuereinheit ECU von dem ersten Konfigurationssatz in den zweiten Konfigurationssatz zu wechseln.device after claim 7 or 10 , wherein the changing device is configured to change the CAN or CAN FD bus communication parameters of the electronic control unit ECU from the first configuration set to the second configuration set. Gerät nach Anspruch 7, ferner umfassend: eine zweite Empfangsvorrichtung zum Erhalten mehrerer Testframes vom Diagnosegerät; eine Bestimmungsvorrichtung zum Bestimmen der Frameverlustrate der Testframes; und eine Steuervorrichtung, die dazu verwendet wird, die Bordnetz-Kommunikationsparameter der elektronischen Steuereinheit festzulegen, wenn die Frameverlustrate eine Anforderung erfüllt, und ansonsten die Bordnetz-Kommunikationsparameter der elektronischen Steuereinheit ECU vor dem Wechseln wiederherzustellen.device after claim 7 , further comprising: a second receiving device for receiving a plurality of test frames from the diagnostic device; a determining device for determining the frame loss rate of the test frames; and a controller used to set the electronic control unit's on-board communication parameters when the frame loss rate satisfies a requirement, and otherwise restore the electronic control unit's on-board communication parameters before switching. Computerspeichermedium, dadurch gekennzeichnet, dass das Computerspeichermedium Befehle umfasst, die beim Ausführen das Verfahren nach einem der Ansprüche 1 bis 6 durchführen.Computer storage medium, characterized in that the computer storage medium comprises instructions which, when executing the method according to any one of Claims 1 until 6 carry out. Computerprogrammprodukt, umfassend ein Computerprogramm, dadurch gekennzeichnet, dass das Verfahren gemäß einem der Ansprüche 1 bis 6 realisiert wird, wenn das Computerprogramm durch einen Prozessor ausgeführt wird.Computer program product comprising a computer program, characterized in that the method according to any one of Claims 1 until 6 is realized when the computer program is executed by a processor. Elektronische Steuereinheit, dadurch gekennzeichnet, dass die elektronische Steuereinheit ein Gerät nach einem der Ansprüche 7 bis 12 umfasst.Electronic control unit, characterized in that the electronic control unit is a device according to one of Claims 7 until 12 includes. Fahrzeug, dadurch gekennzeichnet, dass das Fahrzeug eine elektronische Steuereinheit nach Anspruch 15 umfasst.Vehicle, characterized in that the vehicle has an electronic control unit claim 15 includes.
DE102022209673.8A 2021-09-17 2022-09-15 Method and device for controlling an electronic control unit ECU Pending DE102022209673A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111093455.9 2021-09-17
CN202111093455.9A CN115826549A (en) 2021-09-17 2021-09-17 Control method and device for Electronic Control Unit (ECU)

Publications (1)

Publication Number Publication Date
DE102022209673A1 true DE102022209673A1 (en) 2023-03-23

Family

ID=85383951

Family Applications (1)

Application Number Title Priority Date Filing Date
DE102022209673.8A Pending DE102022209673A1 (en) 2021-09-17 2022-09-15 Method and device for controlling an electronic control unit ECU

Country Status (2)

Country Link
CN (1) CN115826549A (en)
DE (1) DE102022209673A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118631654A (en) * 2024-07-02 2024-09-10 岚图汽车科技有限公司 Method, device, equipment and storage medium for switching between vehicle and cloud connection environment

Also Published As

Publication number Publication date
CN115826549A (en) 2023-03-21

Similar Documents

Publication Publication Date Title
DE112013004941B4 (en) gateway device
EP2622826B1 (en) Method for automatically assigning addresses to identical bus users
DE102007051657A1 (en) Communication system with a CAN bus and method for operating such a communication system
DE102017123252A1 (en) Software update method and apparatus for vehicle
DE102015214915B4 (en) Flexible scheduling method and scheduling device in LIN communication
DE102014226875A1 (en) Network system for vehicle and data transmission methods of heterogeneous communication controllers in the same system
DE102015121078A1 (en) Error variance detection method of a CAN communication system and CAN communication system
DE112019003589T5 (en) IN-VEHICLE COMMUNICATION DEVICE AND IN-VEHICLE SYSTEM
DE102018217690A1 (en) Improved vehicle data communication network
DE102012112225B3 (en) Method for exchanging device-specific data between devices and / or systems of different network systems and bus system for carrying out the method
DE102013008308A1 (en) System and method for addressing devices that are connected to a bus system, in particular a LIN bus
DE102021104422A1 (en) Method for operating a communication system, communication system and computing system
DE102020209221A1 (en) Method of pairing and coupling a sensor and communication network
EP2733910B1 (en) BUS system, method for operating a BUS system and fluid system with a BUS system
DE102022209673A1 (en) Method and device for controlling an electronic control unit ECU
DE102017222051B4 (en) APPARATUS AND METHOD FOR CONTROLLING THE OPERATION OF SECONDARY CONTROL
DE102020106264A1 (en) MULTIPLE CONTROL UNIT FOR A VEHICLE
DE112016006679T5 (en) Control device and recovery processing method for control device
EP1642207B1 (en) Allocation of station addresses to communication users in a bus system
DE10301899B4 (en) Method for programming a control unit
EP4035314B1 (en) Slave device, bus system, and methods
EP2733555B1 (en) BUS system with participants that are the producers and/or consumers of process values, device comprising a BUS system, fluidic system with a BUS system and method for operating a BUS system
EP3560153B1 (en) Method for operating a data processing system, and data processing system
DE102020206262A1 (en) Data rewriting method and data rewriting system
DE102010039782A1 (en) Method for carrying out a communication
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载