A vehicle motor controller software mistake brushing method and vehicle motor controller

By embedding configuration information in the motor controller and connecting it to the manufacturing execution system, the system can automatically read and write configuration parameters, thus solving the problem of software mis-flashing caused by the replacement of supplied components and achieving efficient self-configuration and consistent maintenance of the motor controller.

CN115167879BActive Publication Date: 2025-11-04CHERY NEW ENERGY AUTOMOBILE TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210768800.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-01
Publication Date
2025-11-04
Estimated Expiration
2042-07-01

AI Technical Summary

Technical Problem

In vehicle motor controllers, the replacement of backup components leads to inconsistent software states, and existing technologies are unable to effectively prevent incorrect brushing, which can damage the controller and result in a large amount of maintenance work.

Method used

The motor controller has built-in configuration information and stores device parameter configurations. It automatically reads and assigns values ​​each time it is powered on. Combined with the connection between the host computer and the manufacturing execution system, it generates and writes configuration information to ensure that the software and hardware are consistent.

Benefits of technology

This system enables the motor controller to automatically configure the correct software parameters each time it is powered on, avoiding incorrect brushing, simplifying the maintenance process, improving work efficiency, and ensuring the consistency between software and hardware.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115167879B_ABST
    Figure CN115167879B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of vehicle controller software flashing, and discloses a vehicle motor controller software mistake-proof flashing method and a vehicle motor controller. The motor controller is internally configured with information, and the information stores parameter configurations of devices in the motor controller. When the motor controller is powered on each time, the parameter configurations of the devices are read from the information and are assigned to corresponding parameters of software. The application solves software running problems caused by device replacement due to maintenance problems from the source, and only one kind of software state exists in the motor controller under the same part number, so that only one kind of software needs to be maintained.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of new energy vehicles, and in particular to a vehicle motor controller software error-proof flashing method and a vehicle motor controller. BACKGROUND

[0002] The statements in this section merely provide background information related to the present application and do not necessarily constitute the prior art.

[0003] With the development of the automobile industry, the degree of intelligence of automobiles is becoming higher and higher, which leads to more and more complex interaction logic between automobile controller device modules. In the entire life cycle of a vehicle, the controller software may face multiple updates and iterations, which may be for the optimization of functions or for the upgrading to solve after-sales market problems, and the vehicle motor controller software needs to be upgraded in after-sales maintenance.

[0004] In the production process of the motor controller, a certain type of device may not be enough at this stage and needs to be replaced by another type. In the following, the device to be replaced will be referred to as a supply device. In this case, the motor controller of the same vehicle model may have multiple hardware states, and the corresponding software may also have multiple states. The current after-sales market mainly confirms the controller state manually by service station staff before writing the corresponding software, which may result in incorrect flashing and damage to the controller. Patent CN113867760A proposes a host computer that includes controller information corresponding to different state software in the flashing software package, and automatically reads the controller state and the information in the software package to achieve the purpose of error-proof flashing, but there are still multiple state software, which requires a lot of maintenance work. SUMMARY

[0005] To overcome the shortcomings of the prior art, the present application provides a new energy vehicle motor controller software error-proof flashing method and a vehicle motor controller. The motor controller can automatically read the relevant software parameter configuration from the configuration information each time it is powered on, thereby solving the software running problems caused by device replacement due to supply problems from the source.

[0006] To achieve the above-mentioned purpose, one or more embodiments of the present application provide the following technical solutions:

[0007] A vehicle motor controller software error-proof flashing method, the motor controller is built-in configuration information, the configuration information stores the parameter configuration of the devices in the motor controller; the method comprises the following steps:

[0008] The motor controller reads the parameter configuration of each device from the configuration information each time it is powered on and assigns the corresponding parameters to the software.

[0009] Further, the configuration information stores parameter configurations of the supply guarantee devices in the motor controller.

[0010] Further, the configuration information is solidified in the controller flash memory.

[0011] Further, the generation method of the configuration information comprises:

[0012] Before the motor controller is offline, the motor controller is connected with the host computer, and the host computer is connected with the manufacturing execution system; the manufacturing execution system comprises device models contained in the motor controller;

[0013] The host computer pre-stores parameter configurations required by each device model, acquires the corresponding device model of the motor controller from the manufacturing execution system according to the identification information of the motor controller, and generates the configuration information based on the device model and the parameter configurations.

[0014] Further, the method for the host computer to acquire the identification information comprises:

[0015] A special device is used to scan the bar code or the two-dimensional code on the motor controller to acquire the identification information of the motor controller, and the identification information is sent to the manufacturing execution system; the manufacturing execution system acquires the part number of the motor controller based on the identification information, and sends the part number to the host computer.

[0016] Further, the host computer also pre-stores the original factory device models contained in the motor controller of each part number, compares the corresponding device model of the motor controller acquired from the manufacturing execution system with the original factory device models, identifies the supply guarantee devices, and generates the configuration information based on the supply guarantee devices and the corresponding parameter configurations.

[0017] Further, the software package is subjected to a flashing check, which comprises:

[0018] The part number and the current software version of the motor controller are read, and it is judged whether the current software package is consistent with the motor controller; if the part number of the motor controller is consistent with the part number applicable to the software package, and the software version in the software package is higher than the current software version, the check is passed, and the software flashing step is executed; otherwise, the check fails.

[0019] Further, the configuration information is built-in, the configuration information stores parameter configurations of the devices in the motor controller; each time the power is turned on, the parameter configurations of each device are read from the configuration information and are assigned to corresponding parameters of the software.

[0020] One or more embodiments provide a host computer connected with a manufacturing execution system, the manufacturing execution system including device models contained by motor controllers, the host computer pre-storing parameter configurations required by each device model; obtaining the device model corresponding to the motor controller from the manufacturing execution system according to identification information of the motor controller; generating configuration information based on the device model and the parameter configuration; and writing the configuration information into the motor controller.

[0021] Further, the host computer also pre-stores original factory device models contained by motor controllers of each part number, after obtaining the device model corresponding to the motor controller from the manufacturing execution system, compares the original factory device model, identifies a supply device, and generates configuration information based on the supply device and the corresponding parameter configuration.

[0022] The above one or more technical solutions have the following beneficial effects:

[0023] By embedding configuration information in the motor controller, the software part associated with the supply device is configured at the production stage, and the motor controller can automatically read the relevant software parameter configuration from the configuration information each time it is powered on and operated, thereby solving the software operation problem caused by device replacement due to supply problems from the source, and the motor controller under the same part number only has one software state, and only one software needs to be maintained.

[0024] By connecting the host computer with the intelligent manufacturing execution system, the electronic device used by any motor controller can be conveniently and quickly obtained, and the automatic generation of configuration information can be realized by combining the pre-configuration of the parameter configuration of each type of device, and the motor controller can be configured by any staff after completion. BRIEF DESCRIPTION OF DRAWINGS

[0025] The drawings constituting a part of this specification are used to provide a further understanding of the application, and the illustrative embodiments of the application and their description serve to explain the application, and do not constitute an improper limitation on the application.

[0026] Figure 1 A vehicle motor controller software error prevention and correction method flowchart described in embodiment one of the application;

[0027] Figure 2 A configuration information generation process schematic diagram in one or more embodiments of the application. DETAILED DESCRIPTION

[0028] It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the application. Unless otherwise indicated, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the application belongs.

[0029] It is to be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments consistent with the present application. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising," when used in this specification, specify the presence of stated features, steps, operations, elements, components, and / or groups thereof, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and / or groups thereof.

[0030] The embodiments in the present application and the features in the embodiments can be combined with each other without conflict.

[0031] Embodiment One

[0032] The embodiment discloses a vehicle motor controller software error-proof flashing method, the motor controller includes: a main control chip, a storage module connected with the main control chip, and other key devices, including IGBT module, EEPROM, temperature sensor, etc. Wherein, the storage module can be embedded on the main control chip, also can be a separate flash memory chip, connected with the main control chip, not limited here. In this embodiment, the storage module is a flash memory chip (i.e. flash).

[0033] The storage module is used for storing the related software required by the motor controller; and managing the configuration information of the key devices of the motor controller, the configuration information includes the identification information of each key device, and the parameter setting associated therewith. Specifically, the identification information of the main control chip adopts part number, and the identification information of other key devices adopts model. And, since if the main control chip is replaced, it is equivalent to that all the software needs to be redeveloped, that is, all need to be flashed, therefore, it is not necessary to configure the local software associated with the main control chip, which is set as unconfigurable here.

[0034] The production line of the motor controller is all with MES system, and the material of each motor controller can be found. For example, the key device IGBT module has three commonly used models of Stada 650V / 300A, Stada 650V / 400A and Stada 750V / 400A. The difference between the software associated with the IGBT module of the three models is the dead time and the overcurrent fault protection threshold, so in the configuration information, the parameters associated with the IGBT module are the dead time and the overcurrent fault protection, and the parameter values of the two parameters are set. As a specific embodiment, since each parameter in the controller software corresponds to a unique representation, the parameters in the configuration information can be stored based on the representation in the code, so as to facilitate the assignment of the code when the motor controller runs.

[0035] Table 1 configuration information example

[0036]

[0037]

[0038] The motor controller reads the parameter configuration of each device from the configuration information each time it is powered on, and assigns the value to the corresponding parameter of the software. By pre-solidifying the corresponding parameter configuration of the key device for maintenance and supply to the FLASH area in the generation stage, the controller automatically reads the parameter configuration in the configuration information during the initialization process each time it is powered on, and assigns the value to the corresponding code, avoiding the need to confirm the controller and software status each time the software is flashed, and also avoiding the need for additional processing of the upper computer, greatly improving work efficiency. For maintenance personnel performing software flashing, the motor controller with the key device for maintenance and supply is flashed in exactly the same way as the original controller, without additional work, without the need to check which devices are key devices for maintenance, and without the need for corresponding modifications.

[0039] In the embodiment, the configuration information stores the parameter configuration of the key device for maintenance and supply in the motor controller, and the key device for maintenance and supply is a device used to replace the original factory device due to maintenance and supply reasons. The motor controller only needs to read the parameter configuration of the key device for maintenance and supply from the configuration information each time it is powered on, and assign the value to the corresponding parameter of the software.

[0040] The flashing process of the motor controller can be performed using existing technology. In the embodiment, the latest software package of the motor controller is downloaded by the upper computer or obtained by other means, and the software package is provided with software identification information, including the applicable part number and software version number. When the motor controller establishes a connection with the upper computer, software flashing is performed, specifically including the following steps:

[0041] Software flashing verification step: the upper computer reads the part number and current software version of the motor controller, judges whether the current software package is consistent with the motor controller, and if the part number of the motor controller is consistent with the part number applicable to the software package, and the software version in the software package is higher than the current software version, the verification is passed, and the software flashing step is performed; otherwise, the verification fails;

[0042] Software flashing step: the upper computer performs software flashing based on the software package.

[0043] Software updating step: the motor controller reads the parameter configuration of the key device for maintenance and supply from the configuration information each time it is powered on, and assigns the value to the corresponding code.

[0044] By solidifying the above configuration information into the storage module, when the key device other than the main control chip and the storage module is replaced, it will not affect the content in the storage module, and only needs to be updated by connecting the upper computer before each motor controller is offline.

[0045] However, the personnel responsible for the production of the motor controller are often not familiar with the software, and the configuration operation may be filled in unstandard or incorrect, resulting in that the related parameter configuration cannot be correctly read during subsequent flashing, and the software personnel need to participate. In order to simplify the configuration process, as an optional implementation, the motor controller described in the embodiment can automatically generate configuration information before being offline. The motor controller is connected with the host computer, and the host computer is connected with the manufacturing execution system (MES, also known as production management system).

[0046] The original factory device model contained in the motor controller of each part number is pre-stored in the host computer, and the parameter configuration required by each device model. The manufacturing execution system includes a material management function, which can realize the whole process material management from material procurement to finished product storage, that is, for the devices used in the motor controller about to be offline, there is a complete record. And the motor controller surface will have a bar code or a two-dimensional code for information tracing through printing or pasting and other forms.

[0047] Based on this, the method for generating configuration information includes:

[0048] (1) A special device is used to scan the bar code or two-dimensional code on the motor controller to obtain the identification information of the motor controller, and send it to the manufacturing execution system;

[0049] (2) The manufacturing execution system looks up the motor controller based on the identification information, obtains the part number and all device models of the motor controller, and sends them to the host computer;

[0050] (3) The host computer looks up the corresponding original factory device model of the motor controller based on the part number, compares it with the device model obtained from the manufacturing execution system, judges whether there is a supply device, if there is, obtains the model of the supply device;

[0051] (4) According to the supply device, the corresponding parameter configuration is obtained, and the configuration information is generated;

[0052] (5) When the host computer and the controller are connected, the configuration information is written into the storage module of the motor controller.

[0053] Those skilled in the art can understand that the special device described above can be a code scanning gun or a mobile terminal, as long as it has the functions of code scanning and data transmission.

[0054] Of course, as a variation of the above scheme, the dedicated device can be omitted, and the host computer is connected with the motor controller to obtain the part number of the motor controller and send it to the manufacturing execution system, and the manufacturing execution system looks up the corresponding original device model based on the part number and returns to the host computer, and then the steps (3)-(5) are continued. It can be seen that compared with the foregoing scheme, the real-time performance of this variation is stronger, and the configuration information can be written into the controller storage module after being generated.

[0055] Embodiment Two

[0056] Based on the above embodiment one, this embodiment also provides a motor controller, which contains a supply device, that is, corresponding to a plurality of hardware states and corresponding software states, the subsequent after-sales market flashing needs to first confirm the hardware state in the controller, and there may be a mistake in flashing.

[0057] Based on this, the motor controller built-in configuration information proposed in this embodiment stores the parameter configuration of the devices in the motor controller; each time the power is turned on, the parameter configuration of each device is read from the configuration information and assigned to the corresponding software parameters.

[0058] The configuration information built-in the motor controller can be all parameters corresponding to the corresponding software of the motor controller, or can only include the parameter configuration associated with the supply device. When the controller is powered on, only the related parameters associated with the supply device are initialized. Therefore, the after-sales market staff does not need to confirm the controller state before flashing, and after the software is flashed, the controller will automatically assign the related parameters based on the configuration information when it is powered on.

[0059] Embodiment Three

[0060] The purpose of this embodiment is to simplify the configuration process of the motor controller before it is offline, and to provide a host computer that can automatically generate the configuration information as described in embodiment two, and to connect the host computer with the motor controller before the motor controller is offline, and to write into the motor controller.

[0061] Specifically, the host computer is connected with the manufacturing execution system, the manufacturing execution system includes the device model contained in the motor controller, the host computer pre-stores the parameter configuration required by each device model; according to the identification information of the motor controller, the corresponding device model of the motor controller is obtained from the manufacturing execution system; based on the device model and the parameter configuration, the configuration information is generated; and the configuration information is written into the motor controller.

[0062] In order to enable the host computer to identify the supply guarantee device, only configuration information containing the supply guarantee device and its associated parameter configuration is generated. The host computer also pre-stores the original device model contained in each part number motor controller, and after obtaining the corresponding device model of the motor controller from the manufacturing execution system, compares it with the original device model, identifies the supply guarantee device, and generates configuration information based on the supply guarantee device and the corresponding parameter configuration.

[0063] The above describes the specific embodiments of the present application in conjunction with the drawings, but is not a limitation on the scope of protection of the present application. Those skilled in the art should understand that various modifications or variations made by those skilled in the art on the basis of the technical solutions of the present application without creative labor are still within the scope of protection of the present application.

Claims

1. A method for preventing incorrect software flashing in a vehicle motor controller, characterized in that, The motor controller has built-in configuration information, which stores the parameter configurations of the devices in the motor controller; the method includes: The configuration information stores the parameter configurations of the power supply components in the motor controller; Each time the motor controller is powered on, it reads the parameter configuration of each device from the configuration information and assigns the values ​​to the corresponding parameters in the software. The method for generating the configuration information includes: Before the motor controller is taken offline, a connection is established between the motor controller and the host computer; the host computer is connected to the manufacturing execution system; the manufacturing execution system includes the device models contained in the motor controller; The host computer also pre-stores the original equipment manufacturer (OEM) component models included in each part number motor controller. After obtaining the corresponding component model of the motor controller from the manufacturing execution system, it compares it with the OEM component model to identify the supply guarantee component. Based on the supply guarantee component and the corresponding parameter configuration, it generates configuration information.

2. The vehicle motor controller software anti-misoperation method as described in claim 1, characterized in that, The configuration information is stored in the controller's flash memory.

3. The vehicle motor controller software anti-misoperation method as described in claim 1, characterized in that, The host computer pre-stores the parameter configurations required for each device model. Based on the identification information of the motor controller, it obtains the corresponding device model of the motor controller from the manufacturing execution system, and generates configuration information based on the device model and parameter configuration.

4. The vehicle motor controller software anti-misoperation method as described in claim 3, characterized in that, The method for the host computer to obtain the identification information is as follows: The barcode or QR code on the motor controller is scanned using specialized equipment to obtain the identification information of the motor controller, and then sent to the manufacturing execution system. The manufacturing execution system locates the motor controller based on the identification information, obtains the part number of the motor controller, and sends it to the host computer.

5. The vehicle motor controller software anti-misoperation method as described in claim 1, characterized in that, Performing a flash verification on the software package includes: Read the part number and current software version of the motor controller, and determine whether the current software package is compatible with the motor controller. If the part number of the motor controller is consistent with the part number applicable to the software package, and the software version in the software package is higher than the current software version, the verification passes and the software flashing step is executed; otherwise, the verification fails.

6. A motor controller, characterized in that, Built-in configuration information stores the parameter configurations of the devices in the motor controller; each time power is applied, the parameter configurations of each device are read from the configuration information and assigned to the corresponding parameters in the software. The configuration information stores the parameter configurations of the power supply components in the motor controller; The method for generating the configuration information includes: Before the motor controller is taken offline, a connection is established between the motor controller and the host computer; the host computer is then connected to the manufacturing execution system. The manufacturing execution system includes the component models contained in the motor controller; The host computer also pre-stores the original equipment manufacturer (OEM) component models included in each part number motor controller. After obtaining the corresponding component model of the motor controller from the manufacturing execution system, it compares it with the OEM component model to identify the supply guarantee component. Based on the supply guarantee component and the corresponding parameter configuration, it generates configuration information.

7. A host computer connected to a manufacturing execution system, the manufacturing execution system including the component models contained in a motor controller, characterized in that, The host computer pre-stores the parameter configurations required for each device model; based on the identification information of the motor controller, it obtains the corresponding device model of the motor controller from the manufacturing execution system; and generates configuration information based on the device model and parameter configuration. Write the configuration information into the motor controller; The configuration information stores the parameter configurations of the power supply components in the motor controller; The method for generating the configuration information includes: Before the motor controller is taken offline, a connection is established between the motor controller and the host computer; the host computer is then connected to the manufacturing execution system. The manufacturing execution system includes the component models contained in the motor controller; The host computer also pre-stores the original equipment manufacturer (OEM) component models included in each part number motor controller. After obtaining the corresponding component model of the motor controller from the manufacturing execution system, it compares it with the OEM component model to identify the supply guarantee component. Based on the supply guarantee component and the corresponding parameter configuration, it generates configuration information.

Citation Information

Patent Citations

  • Multi-supplier product software upgrading method for commercial vehicle

    CN113867760A

  • Online configuration method of automobile controller

    CN102306023A

  • PON (Passive Optical Network) hardware single-board service form configuration method and system

    CN109428755A

  • Motor controller software upgrading method and device, equipment and storage medium

    CN116932002A