DE102022209673A1 - Method and device for controlling an electronic control unit ECU - Google Patents
Method and device for controlling an electronic control unit ECU Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000004891 communication Methods 0.000 claims abstract description 102
- 238000012360 testing method Methods 0.000 claims abstract description 44
- 238000004590 computer program Methods 0.000 claims abstract description 14
- 230000005540 biological transmission Effects 0.000 claims description 37
- 238000003745 diagnosis Methods 0.000 claims description 3
- 238000002405 diagnostic procedure Methods 0.000 description 5
- 238000012546 transfer Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0426—Programming the control sequence
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/0816—Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total 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.
-
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.
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
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
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
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
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
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
Obwohl in
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
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)
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)
| 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 |
-
2021
- 2021-09-17 CN CN202111093455.9A patent/CN115826549A/en active Pending
-
2022
- 2022-09-15 DE DE102022209673.8A patent/DE102022209673A1/en active Pending
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 |