EP2524309A1 - Procédé et système de mise à jour de logiciel - Google Patents

Procédé et système de mise à jour de logiciel

Info

Publication number
EP2524309A1
EP2524309A1 EP11733144A EP11733144A EP2524309A1 EP 2524309 A1 EP2524309 A1 EP 2524309A1 EP 11733144 A EP11733144 A EP 11733144A EP 11733144 A EP11733144 A EP 11733144A EP 2524309 A1 EP2524309 A1 EP 2524309A1
Authority
EP
European Patent Office
Prior art keywords
software
adaptation parameters
old
control unit
new software
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.)
Withdrawn
Application number
EP11733144A
Other languages
German (de)
English (en)
Other versions
EP2524309A4 (fr
Inventor
Magnus GRANSTRÖM
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.)
Scania CV AB
Original Assignee
Scania CV AB
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 Scania CV AB filed Critical Scania CV AB
Publication of EP2524309A1 publication Critical patent/EP2524309A1/fr
Publication of EP2524309A4 publication Critical patent/EP2524309A4/fr
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/10Programming or data input circuits
    • G11C16/102External programming circuits, e.g. EPROM programmers; In-circuit programming or reprogramming; EPROM emulators
    • G11C16/105Circuits or methods for updating contents of nonvolatile memory, especially with 'security' features to ensure reliable replacement, i.e. preventing that old data is lost before new data is reliably written

Definitions

  • the present invention relates to a method for updating of software in a control unit in a vehicle, and to a system adapted to updating of same.
  • ECUs electronice control units
  • Modern software incorporated in ECUs often comprises parameters adapted to the vehicle in which the control unit is situated. Adaptation takes place when the vehicle is in operation, which means the vehicle having to be run for tens of kilometres (and to encounter certain situations) before it functions optimally. The adaptation is done to compensate for the vehicle's individual variations such as tolerances, injection to the engine etc.
  • US 2006/0156297 describes a method and device for modification of software in a control unit, and a corresponding control unit.
  • the software is updated by old software being linked to new software and the execution of old parts of software being replaced by execution of new parts of software, obviating any need to update all of the control unit's software and reducing the time taken to update the software.
  • US 2006/0156297 does not solve the problem of old adaptation parameters being cross-saved.
  • the object of the invention is therefore to propose a method for updating of software in an ECU in a vehicle so that the software in the ECU can continue to use the old adaptation parameters after the update.
  • a method for updating of software in a control unit in a vehicle which software comprises adaptation parameters specific to said vehicle and map information about the adaptation parameters which the control unit uses and where they are stored in the control unit, which method comprises:
  • step D) transferring values of old adaptation parameters identified in step C) to the new software, and storing the old adaptation parameters at locations determined by the new map information.
  • a system adapted to updating of software in a control unit in a vehicle, which software comprises adaptation parameters specific to said vehicle and map information about the adaptation parameters which the control unit uses and where they are stored in the control unit
  • system comprises: communication means adapted to communicating between the system and the control unit; identification means adapted to identifying the old adaptation parameters used in the old software by using map information pertaining to the old software, and to identifying the adaptation parameters used in the new software by using map information pertaining to the new software; and a processor adapted to applying instructions for saving said old adaptation parameters in a memory; installing new software in the control unit; and to transferring values of old adaptation parameters identified in the new software from the memory to the new software, and storing the old adaptation parameters at locations in the control unit which are determined by the new map information.
  • the method and/or the system may according to an embodiment be implemented in PC- based software which for example a workshop uses for reprogramming the control units.
  • Figure 1 is a flowchart for the method according to an embodiment of the invention.
  • Figure 2 illustrates software with relating map information according to an embodiment of the invention.
  • Figure 3 is a flowchart for the method according to another embodiment of the invention.
  • Figure 4 illustrates a system adapted to updating of software in a control unit according to an embodiment of the invention.
  • the electronic control units (ECUs) referred to in this description are programmable.
  • a vehicle usually has a plurality of ECUs which each control one or more different functions in the vehicle.
  • the ECUs communicate with one another and with sensors in the system by using CAN (controller area network) which is a serial bus system specially developed for use in vehicles.
  • CAN controller area network
  • the CAN data bus makes digital data exchange possible between sensors, regulating components, actuators, control units etc. and provides assurance that several control units can have access to signals from a given sensor in order to use them for control of components connected to them.
  • An ECU may comprise a microcontrol (CPU) which can process input signals from sensors in real time.
  • the CPU usually comprises a processor, a memory and peripheral equipment.
  • a programmable ECU may for example control the amount of fuel which is to be injected into each cylinder. This varies, depending inter alia on the speed of the engine and the position of the accelerator pedal. When the vehicle is running, optimum parameters for each situation are gradually determined. These optimum parameters are called adaptation parameters. If modifications are applied to the vehicle's engine, the software in, for example, the ECU which controls the amount of fuel to be injected may need to be updated to be able to control the amount of fuel on the basis of the modified engine.
  • FIG 1 is a flowchart for a method according to an embodiment of the invention which will now be described.
  • “adp.” is an abbreviation for adaptation parameter(s).
  • the method describes the steps for updating of software in a control unit in a vehicle.
  • the software comprises adaptation parameters specific to said vehicle and map information about the adaptation parameters which the control unit uses and where they are stored in the control unit.
  • the method steps comprise: A) identifying the old adaptation parameters used in the old software by using map information pertaining to the old software; B) saving identifications and values of said old adaptation parameters in a memory; C) identifying adaptation parameters used in the new software by using map information pertaining to the new software, and installing the new software in the control unit; D) transferring values of old adaptation parameters identified in step C) to the new software, and storing the old adaptation parameters at locations determined by the new map information.
  • the old values, or processed old values, of the adaptation parameters are therefore stored at locations in the control unit's memory which are determined by the new map information.
  • FIG. 1 illustrates an example of what this map information might be like. It shows on the left in schematic form the old software in the control unit.
  • the software comprises map information, abbreviated to map info., about the adaptation parameters which the software uses, Al ...An, with linking Pl ...Pn to where in the control unit's memory the value VI ...Vn of the adaptation parameter is saved.
  • FIG. 2 On the right in Figure 2 is a schematic depiction of the new software which is to be installed in the control unit.
  • the software comprises map information, abbreviated to map info., about the adaptation parameters which the software uses, Al '...Am', with linking PI '...Pm' to where in the control unit's memory the value VI '...Vm' of the adaptation parameter is to be saved.
  • map info about the adaptation parameters which the software uses, Al '...Am', with linking PI '...Pm' to where in the control unit's memory the value VI '...Vm' of the adaptation parameter is to be saved.
  • the identifications Al ...An and values VI ... Vn of the old adaptation parameters are put into intermediate storage in a memory before being transferred to the new software installed in the control unit, and being stored at locations in the control unit's memory indicated by the linking PI '...Pm' in the new software.
  • the old adaptation parameters Al ...An may also be processed to suit new adaptation algorithms etc. in the new software.
  • the number of adaptation parameters "m" in the new software may therefore be different from the number of adaptation parameters "n” in the old software. This is depicted schematically as a box in Figure 2 and is explained in more detail below.
  • step C) comprises: C identifying in the map information pertaining to the new software, or in the new software, whether one or more old adaptation parameters have to be processed, e.g. rescaled, interpolated or added, in which case: C 2 ) effects this processing of the old adaptation parameter or parameters before it or they are transferred to the new software in step D).
  • the information about processing may for example take the form of an instruction in the new software, or in the memory space for the values of the new adaptation parameters.
  • old adaptation parameters can be adapted to new adaptation algorithms incorporated in the new software.
  • An example of such adaptation is if old adaptation parameters are in degrees Celsius and the new ones are in degrees Kelvin, in which case the old adaptation values have to be rescaled to values in Kelvins.
  • Another example of processing of old adaptation parameters is where the new software uses a larger number of adaptation parameters than the old software within the same region. Obtaining proper values for the new adaptation parameters that do not appear among the old adaptation parameters can then be achieved by interpolating from the old values.
  • control unit comprises an RAM (random access memory) and the identified old adaptation parameters are saved in the control unit's RAM at least until they are transferred to the new software. This makes it possible for the update to be conducted without saving the old adaptation parameters in an external memory.
  • control unit comprises a writable ROM (read only memory) and the identified old adaptation parameters are saved in an allocated space in the control unit's ROM, which space is not writable for the new software which is to be installed, at least until the stored adaptation parameters have been transferred to the new software.
  • the ROM is an EEPROM or a flash memory.
  • the identified old adaptation parameters are stored in a memory external to the control unit at least until they are transferred to the new software. This makes it possible for all of the data in the control unit to be cross-saved without risk of the old adaptation parameters being cross-saved and without the control unit needing a memory of its own.
  • Updating of software is carried out according to an embodiment by an external computer unit connected either wirelessly or by cable to the CAN bus in the vehicle or directly to the control unit whose software is to be updated.
  • an external computer unit connected either wirelessly or by cable to the CAN bus in the vehicle or directly to the control unit whose software is to be updated.
  • the invention relates also to a system adapted to updating of software in a control unit in a vehicle, which is illustrated according to an embodiment in Figure 3.
  • the software comprises adaptation parameters specific to said vehicle and map information about the adaptation parameters which the control unit uses and where they are stored in the control unit.
  • the system comprises: communication means adapted to communicating between the system and the control unit, identification means adapted to identifying the old adaptation parameters used in the old software by using map information pertaining to the old software; and to identifying the adaptation parameters used in the new software by using map information pertaining to the new software; and a processor adapted to applying instructions for saving said old adaptation parameters in a memory, installing new software in the control unit, and to transferring values of old adaptation parameters identified in the new software from the memory to the new software, and storing the old adaptation parameters at locations in the control unit which are determined by the new map information.
  • the communication means comprises preferably hardware and/or software for conveying programme instructions etc. wirelessly or by cable to and from the system and the control unit.
  • the identification means comprises preferably means for recognising map information in the software and to identifying adaptation parameters in the old and new software by map information pertaining to the respective software.
  • the identification means is preferably implemented in the form of programme instructions.
  • the system comprises a memory adapted to being able to save identifications and values of said old adaptation parameters. This makes it possible for the adaptation parameters to be saved without being cross-saved when new software is installed in the control unit.
  • the identification means is adapted, according to an embodiment, to identifying in the map information pertaining to the new software, or in the new software, whether one or more old adaptation parameters need processing, e.g. rescaling or interpolating, in which case it effects this processing and stores the processed value or values in the new software. This makes it possible to adapt the old adaptation parameters to new adaptation algorithms which may have been incorporated in the new software, e.g. the parameters may be rescaled, added, interpolated or otherwise processed before being transferred to the new software.
  • the invention comprises also a computer programme product comprising computer programme instructions for enabling a computer system to perform steps according to the method when the computer programme instructions are run on said computer system, and a computer programme product in which said computer programme instructions are stored on a medium which is readable by a computer system.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

L'invention porte sur un procédé et un système de mise à jour de logiciel dans une unité de commande dans un véhicule, ledit logiciel comprenant des paramètres d'adaptation spécifiques dudit véhicule et des informations de carte concernant les paramètres d'adaptation que l'unité de commande utilise et l'endroit où ils sont stockés dans l'unité de commande, le procédé consistant à identifier les anciens paramètres d'adaptation utilisés dans l'ancien logiciel par utilisation d'informations de carte concernant l'ancien logiciel ; à sauvegarder des identifiants et des valeurs desdits anciens paramètres d'adaptation dans une mémoire ; à identifier les paramètres d'adaptation utilisés dans le nouveau logiciel par utilisation d'informations de carte concernant le nouveau logiciel, et à installer le nouveau logiciel dans l'unité de commande ; à transférer des valeurs d'anciens paramètres d'adaptation identifiés aux étapes précédentes vers le nouveau logiciel, et à stocker les anciens paramètres d'adaptation à des emplacements déterminés par les nouvelles informations de carte.
EP11733144.7A 2010-01-13 2011-01-10 Procédé et système de mise à jour de logiciel Withdrawn EP2524309A4 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
SE1050021A SE534471C2 (sv) 2010-01-13 2010-01-13 Metod och system för att uppdatera programvara
PCT/SE2011/050012 WO2011087429A1 (fr) 2010-01-13 2011-01-10 Procédé et système de mise à jour de logiciel

Publications (2)

Publication Number Publication Date
EP2524309A1 true EP2524309A1 (fr) 2012-11-21
EP2524309A4 EP2524309A4 (fr) 2013-11-27

Family

ID=44304491

Family Applications (1)

Application Number Title Priority Date Filing Date
EP11733144.7A Withdrawn EP2524309A4 (fr) 2010-01-13 2011-01-10 Procédé et système de mise à jour de logiciel

Country Status (3)

Country Link
EP (1) EP2524309A4 (fr)
SE (1) SE534471C2 (fr)
WO (1) WO2011087429A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108121553A (zh) * 2017-12-20 2018-06-05 北京经纬恒润科技有限公司 一种更新应用程序的方法及装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9542180B2 (en) * 2014-04-11 2017-01-10 The Boeing Company Vehicle configuration driven loading of software parts
JP7484606B2 (ja) * 2020-09-17 2024-05-16 トヨタ自動車株式会社 車載機器、ソフトウェア更新方法、ソフトウェア更新プログラム、および、車両

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002048859A2 (fr) * 2000-12-13 2002-06-20 Koninklijke Philips Electronics N.V. Procede et programme permettant de mettre a jour un logiciel
EP1434129A2 (fr) * 2002-12-19 2004-06-30 Komatsu Ltd Dispositif de contrôle de réécriture pour un programme embarqué

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9443358B2 (en) * 1995-06-07 2016-09-13 Automotive Vehicular Sciences LLC Vehicle software upgrade techniques
DE10260103A1 (de) * 2002-12-19 2004-07-01 Robert Bosch Gmbh Verfahren und Vorrichtung zur Änderung von Software in einem Steuergerät sowie entsprechendes Steuergerät
US20070112773A1 (en) * 2005-11-14 2007-05-17 John Joyce Method for assuring flash programming integrity

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002048859A2 (fr) * 2000-12-13 2002-06-20 Koninklijke Philips Electronics N.V. Procede et programme permettant de mettre a jour un logiciel
EP1434129A2 (fr) * 2002-12-19 2004-06-30 Komatsu Ltd Dispositif de contrôle de réécriture pour un programme embarqué

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of WO2011087429A1 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108121553A (zh) * 2017-12-20 2018-06-05 北京经纬恒润科技有限公司 一种更新应用程序的方法及装置

Also Published As

Publication number Publication date
WO2011087429A1 (fr) 2011-07-21
EP2524309A4 (fr) 2013-11-27
SE534471C2 (sv) 2011-09-06
SE1050021A1 (sv) 2011-07-14

Similar Documents

Publication Publication Date Title
US10678454B2 (en) Vehicle information communication system
US20060212178A1 (en) Vehicle control software and vehicle control apparatus
CN110244958B (zh) 用于更新车辆的标定数据的方法和装置
US8229620B2 (en) Method for model-based diagnosis of a mechatronic system
CN104699453B (zh) 用于改变控制单元的存储器中的软件的方法和计算机系统
EP3786763B1 (fr) Dispositif de commande embarqué
US20170028946A1 (en) System and method for reprogramming a vehicle electronic control unit
WO2011087429A1 (fr) Procédé et système de mise à jour de logiciel
US20220063646A1 (en) Onboard device, information generating method, non-transitory storage medium, and vehicle
CN113759724B (zh) 基于数据驱动的机器人控制方法、装置和计算机设备
WO2006130263A1 (fr) Appareil de communication pour commande integree en temps reel
CN202110528U (zh) 一种ecu嵌入式软件刷新和下载编程的系统
EP2709073B1 (fr) Unité de commande électronique de véhicule
EP3945418A1 (fr) Serveur, dispositif de mise à jour de logiciel, véhicule, système de mise à jour de logiciel, procédé de commande et support de stockage non transitoire
KR101601074B1 (ko) Ecu 업데이트 장치, ecu 업데이트 방법 및 이를 이용한 ecu 업데이트 네트워크
JP2009087107A (ja) 車両用制御システム
US20230153097A1 (en) Devices and method for managing electronic control units of a motor vehicle
US20130111169A1 (en) Engine control unit for an internal combustion engine
KR20150043732A (ko) 자동차 제어기의 소프트웨어 업데이트 시스템 및 방법
JP2022007618A (ja) サーバ、更新管理方法、更新管理プログラム及びソフトウェア更新装置
CA2936287C (fr) Cadre de travail ignorant l'actif dote d'un module specifique a l'actif destine au calcul de parametre de bus alternatif
JP5111486B2 (ja) 制御用プログラムの更新装置および更新方法
CN111984284B (zh) 数据重写方法和数据重写系统
EP3971708B1 (fr) Dispositif embarqué, procédé de mise à jour logicielle, support de stockage non transitoire, véhicule et unité de commande électronique
WO2023175752A1 (fr) Système de mise à jour de programme embarqué et procédé de mise à jour de programme embarqué

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20120813

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

DAX Request for extension of the european patent (deleted)
A4 Supplementary search report drawn up and despatched

Effective date: 20131024

RIC1 Information provided on ipc code assigned before grant

Ipc: G11C 16/10 20060101ALI20131018BHEP

Ipc: G06F 9/445 20060101AFI20131018BHEP

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 20140523