CN110727255B - Whole vehicle controller software upgrading test system and vehicle - Google Patents

Whole vehicle controller software upgrading test system and vehicle Download PDF

Info

Publication number
CN110727255B
CN110727255B CN201810786675.1A CN201810786675A CN110727255B CN 110727255 B CN110727255 B CN 110727255B CN 201810786675 A CN201810786675 A CN 201810786675A CN 110727255 B CN110727255 B CN 110727255B
Authority
CN
China
Prior art keywords
upgrading
vehicle controller
module
software
control module
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.)
Active
Application number
CN201810786675.1A
Other languages
Chinese (zh)
Other versions
CN110727255A (en
Inventor
冯严科
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.)
Yutong Bus Co Ltd
Original Assignee
Zhengzhou Yutong Bus Co Ltd
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 Zhengzhou Yutong Bus Co Ltd filed Critical Zhengzhou Yutong Bus Co Ltd
Priority to CN201810786675.1A priority Critical patent/CN110727255B/en
Publication of CN110727255A publication Critical patent/CN110727255A/en
Application granted granted Critical
Publication of CN110727255B publication Critical patent/CN110727255B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults

Abstract

The invention provides a vehicle controller software upgrading test system and a vehicle. The upper computer records and analyzes all data in the upgrading test process in the test process, outputs test results and fault reasons in time, facilitates later software improvement and upgrading, detects upgrading software acquired by the communication module from the background server, sends signals to the control module after error detection, and controls the whole vehicle controller software upgrading.

Description

Whole vehicle controller software upgrading test system and vehicle
Technical Field
The invention belongs to the technical field of automatic testing, and particularly relates to a whole vehicle controller software upgrading testing system and a vehicle.
Background
Because the current social energy and environmental problems are increasingly prominent, the application and development of the pure electric vehicle are improved to the level of national strategy, and the rapid development is achieved. In the pure electric vehicle technology, a vehicle control unit is one of core parts, and determines the energy saving performance, the power performance and the comfort of the pure electric vehicle. To meet the ever-increasing industry and customer demands, software upgrades must be made to the entire vehicle controller. At present, when the whole vehicle controller needs to update an upgrading program, manual field updating is adopted, namely a computer is in hard-line connection with a writing CAN interface of the whole vehicle controller, and an upper computer is used for writing. The defect of the mode is obvious, operators need to carry computers, CAN (controller area network) flash devices, debugging lines and other equipment to arrive at the vehicle position for on-site flash, convenience and timeliness are low, flexibility is poor, programs are stored on the computers, and the risk of disclosure exists. When the number of vehicles to be upgraded is large or the storage places are scattered, more manpower and material resources are consumed.
In order to solve the defects, the chinese patent with publication number "CN 104149717A" discloses "a remote non-interference update system and method for vehicle control", wherein the remote non-interference update system of the patent comprises a remote control terminal, a remote control server and a vehicle controller, the remote control terminal receives an upgrade file and configuration parameters from the remote control server, detects whether the vehicle controller is in an idle state, and sends an update control instruction to the vehicle controller. According to the remote updating and upgrading method, the remote control terminal is communicated with the vehicle control unit to achieve remote updating and upgrading, a large amount of personnel are not needed to operate, and the work of the vehicle control unit is simplified relatively. However, errors often occur in the process of remote upgrading of the vehicle controller software, and therefore, the vehicle controller software upgrading result needs to be detected and tested in the process of upgrading the vehicle controller software or after upgrading the vehicle controller software. However, the remote upgrading function of the software of the entire vehicle controller of the new energy vehicle can only be tested on a test bed in the development process of the controller, and the actual application in the market at the later stage must be completed by the cooperation of background operation and field operation, which is not beneficial to field operation and debugging. After the vehicle controller product is released, along with the distribution of vehicle models and markets in different application environments, meanwhile, as software remote upgrading is influenced by a plurality of factors such as the working state of the vehicle, the state of a background server, the network communication environment and the like, once the remote upgrading of the vehicle controller fails, the failure reason can not be tracked, and the improvement and the upgrading of later-stage software are not facilitated.
Disclosure of Invention
The invention aims to provide a vehicle controller software upgrading test system and a vehicle, which are used for solving the problem that the detection of the reason that the remote upgrading failure of the vehicle controller is not beneficial to the later software improvement and upgrading.
In order to achieve the purpose, the invention provides a software upgrading test system of a vehicle controller, which comprises an upper computer, a communication module, a control module and an interface module, wherein the upper computer is connected with the communication module and is used for acquiring upgrading software to be tested from a background server through the communication module and sending the acquired upgrading software to be tested to the vehicle controller; the communication module is connected with the interface module, the upper computer, the communication module and the interface module are all connected with the control module, the interface module is also used for connecting the whole vehicle controller, the control module is used for controlling the whole vehicle controller to carry out software upgrading, and the upper computer is used for acquiring data in the whole vehicle controller software upgrading process and analyzing the acquired data in the upgrading process to obtain the reason of upgrading failure.
As a further limitation to the test system, the test system further includes a power supply module, and the power supply module supplies power to connect the communication module, the interface module and the control module.
As a further limitation to the interface module, the interface module includes a CAN communication module, a circuit control module for controlling the test action, and a power conversion module for adjusting the output voltage.
Further, if the software of the whole vehicle controller fails to be upgraded, the control module resets the software of the whole vehicle controller, and the upper computer outputs an upgrading test result after the software is reset.
The invention also provides a vehicle, which comprises a vehicle controller and a vehicle controller software upgrading test system, wherein the test system comprises an upper computer, a communication module, a control module and an interface module, the upper computer is connected with the communication module and is used for acquiring upgrading software to be tested from a background server through the communication module and sending the acquired upgrading software to be tested to the vehicle controller; the communication module is connected with the interface module, the upper computer, the communication module and the interface module are all connected with the control module, the interface module is also used for connecting the whole vehicle controller, the control module is used for controlling the whole vehicle controller to carry out software upgrading, and the upper computer is used for acquiring data in the whole vehicle controller software upgrading process and analyzing the acquired data in the upgrading process to obtain the reason of upgrading failure.
As a further limitation to the test system, the test system further includes a power supply module, and the power supply module supplies power to connect the communication module, the interface module and the control module.
As a further limitation to the interface module, the interface module includes a CAN communication module, a circuit control module for controlling the test action, and a power conversion module for adjusting the output voltage.
Further, if the software of the whole vehicle controller fails to be upgraded, the control module resets the software of the whole vehicle controller, and the upper computer outputs an upgrading test result after the software is reset.
The invention has the beneficial effects that:
the vehicle controller software upgrading test system integrates the main control ECU, the upper computer, the interface module, the communication module and the like, is small in size and convenient to carry, and can realize automatic test of on-site vehicle controller software upgrading. And the upper computer records and analyzes all data in the upgrading test process in the test process, and outputs the test result and the fault reason in time, so that the software is improved and upgraded conveniently in the later period. And the upper computer detects the upgrade software acquired by the communication module from the background server, and sends a signal to the control module after the detection is correct, and the control module controls the upgrade of the software of the whole vehicle controller.
Drawings
FIG. 1 is a flow chart of the software upgrading of the vehicle controller according to the present invention;
fig. 2 is a structural block diagram of the vehicle controller software upgrade testing system of the present invention.
Detailed Description
The following further describes embodiments of the present invention with reference to the drawings:
the invention provides a vehicle, which comprises a vehicle controller and a vehicle controller software upgrading test system, wherein the test system comprises an upper computer, a communication module, a control module and an interface module, wherein the upper computer is connected with the communication module and is used for acquiring upgrading software to be tested from a background server through the communication module and sending the acquired upgrading software to be tested to the vehicle controller; the communication module is connected with the interface module, the upper computer, the communication module and the interface module are all connected with the control module, the interface module is also used for being connected with the whole vehicle controller, the control module is used for controlling the whole vehicle controller to carry out software upgrading, and the upper computer is used for acquiring data in the whole vehicle controller software upgrading process and analyzing the acquired data in the upgrading process to obtain the reason of upgrading failure.
Specifically, as shown in fig. 2, the system for upgrading and testing the software of the entire vehicle controller in this embodiment includes a main control ECU (corresponding to the control module), an upper computer, a power module, a communication host (corresponding to the communication module), an interface module, and a wire harness, and the functions of the modules are described below:
the main control ECU: the action control and the interface module control of the whole vehicle controller to be tested in the test process are realized;
an upper computer: the main control ECU and the communication host are coordinated to complete a system test function and simultaneously take charge of data recording, fault analysis, result output and the like in the whole test process;
a power supply module: the system is powered on to supply power to the main control ECU, the communication host and the interface module. The power supply module can be a battery which supplies power for the main control ECU, the communication host and the interface module; in another embodiment, the power supply module is a voltage conversion module, the voltage conversion module is connected with the on-board debugging power supply, and the voltage conversion module converts the voltage output by the on-board debugging power supply into the voltage required by the main control ECU, the communication host and the interface module.
The communication host: the system completes data exchange with the background server through a wireless network, and completes data exchange with the tested vehicle control unit through the interface module;
an interface module: the power control of the tested vehicle controller is realized, and the power control system comprises a CAN communication module, a circuit control module and a power conversion module for regulating output voltage; the CAN communication module realizes the specific implementation of the circuit system, the test target bus, the hard wire communication control and the main control ECU test action execution. The circuit control module is a specific execution unit of test actions in the upgrading test process, the main control ECU controls the circuit control unit to switch the power supply time sequence of the whole vehicle controller according to a preset upgrading action sequence, wherein the power supply time sequence refers to different power supply forms formed by different combinations of total fire, on fire and normal fire of the whole vehicle controller, and the preset upgrading action sequence refers to the arrangement of the different power supply forms of the whole vehicle controller. The power supply conversion module is used for adjusting the required voltage of the whole vehicle controller. When the output voltage of the vehicle control unit is not matched with the output voltage of the power supply module, the vehicle control unit needs to be adjusted through the power supply conversion module.
Wiring harness: and the physical connection between the test system and the tested vehicle control unit is realized.
The working process of the software upgrade testing system of the whole vehicle controller is explained with reference to fig. 1 and 2:
the system is started, the power supply module is electrified through the vehicle-mounted debugging power supply, and meanwhile, the power supply module supplies power to the main control ECU, the communication host and the interface module; after the system is started, the upper computer communicates with a network background server through a communication host to confirm the version of the software to be tested; after the software to be tested is confirmed, the upper computer starts a background software upgrading function through the communication host, and simultaneously realizes the software upgrading action of the whole vehicle controller through the control interface module of the main control ECU; after the background software upgrading function is started, the communication host acquires upgrading software data from the background server through the wireless network, and simultaneously realizes upgrading software data transmission and software upgrading with the tested vehicle control unit through the interface module.
In the whole vehicle controller software upgrading process, the upper computer records upgrading process data, wherein the upgrading process data are all CAN bus data in the whole upgrading process and comprise interaction data between the communication host and the main control ECU, between the main control ECU and the whole vehicle controller and between the communication host and the whole vehicle controller, and specifically comprise upgraded whole vehicle controller upgrading command codes, stage state codes and the like; if the software of the tested vehicle controller is successfully upgraded, the upper computer outputs a test result, and the control system is powered off to finish upgrading; if the software of the vehicle controller fails to be upgraded, the upgrading failure result can be obtained by comparing the data in the upgrading process with a standard template, wherein the standard template comprises a preset vehicle controller upgrading command code, a preset phase code and a preset phase state code, when the upgraded data is inconsistent with the data in the standard template, the upgrading failure is indicated, the upper computer records the upgrading failure data and the fault data, the upper computer outputs the test result after resetting the software of the vehicle controller through a main control ECU, and the control system is powered off to finish upgrading.
The vehicle controller software upgrading test system integrates the main control ECU, the upper computer, the interface module, the communication module and the like, is small in size and convenient to carry, and can realize automatic test of on-site vehicle controller software upgrading. And the upper computer records and analyzes all data in the upgrading test process in the test process, and outputs the test result and the fault reason in time, so that the software is improved and upgraded conveniently in the later period. And the upper computer detects the upgrade software acquired by the communication module from the background server, and sends a signal to the control module after the detection is correct, and the control module controls the upgrade of the software of the whole vehicle controller.
The specific embodiments are given above, but the present invention is not limited to the above-described embodiments. The basic idea of the present invention lies in the above basic scheme, and it is obvious to those skilled in the art that no creative effort is needed to design various modified models, formulas and parameters according to the teaching of the present invention. Variations, modifications, substitutions and alterations may be made to the embodiments without departing from the principles and spirit of the invention, and still fall within the scope of the invention.

Claims (6)

1. The system for testing software upgrading of the controller of the whole vehicle is characterized by comprising an upper computer, a communication module, a control module and an interface module, wherein the upper computer is connected with the communication module and used for acquiring upgrading software to be tested from a background server through the communication module and sending the acquired upgrading software to be tested to the controller of the whole vehicle; the communication module is connected with the interface module, the upper computer, the communication module and the interface module are all connected with the control module, the interface module is also used for connecting a whole vehicle controller, the control module is used for controlling the whole vehicle controller to carry out software upgrading, and the upper computer is used for acquiring data in the software upgrading process of the whole vehicle controller and analyzing the acquired data in the upgrading process to obtain the reason of upgrading failure;
the interface module comprises a CAN communication module, a circuit control module for controlling the test action and a power supply conversion module for regulating the output voltage; the circuit control module is a specific execution unit of a test action in an upgrading test process, and the control module controls the circuit control module to switch a power supply time sequence of the whole vehicle controller according to a preset upgrading action sequence, wherein the power supply time sequence refers to different power supply forms formed by different combinations of total fire, on fire and normal fire of the whole vehicle controller, and the preset upgrading action sequence refers to arrangement of the different power supply forms of the whole vehicle controller.
2. The vehicle controller software upgrading test system of claim 1, further comprising a power module, wherein the power module is in power supply connection with the communication module, the interface module and the control module.
3. The vehicle controller software upgrade testing system according to claim 1 or 2, wherein if the vehicle controller software upgrade fails, the control module performs software reset on the vehicle controller, and the upper computer outputs an upgrade testing result after the software reset.
4. A vehicle is characterized by comprising a vehicle controller and a vehicle controller software upgrading test system, wherein the test system comprises an upper computer, a communication module, a control module and an interface module, the upper computer is connected with the communication module and is used for acquiring upgrading software to be tested from a background server through the communication module and sending the acquired upgrading software to be tested to the vehicle controller; the communication module is connected with the interface module, the upper computer, the communication module and the interface module are all connected with the control module, the interface module is also used for connecting a whole vehicle controller, the control module is used for controlling the whole vehicle controller to carry out software upgrading, and the upper computer is used for acquiring data in the software upgrading process of the whole vehicle controller and analyzing the acquired data in the upgrading process to obtain the reason of upgrading failure; the interface module comprises a CAN communication module, a circuit control module for controlling the test action and a power supply conversion module for regulating the output voltage; the circuit control module is a specific execution unit of a test action in an upgrading test process, and the control module controls the circuit control module to switch a power supply time sequence of the whole vehicle controller according to a preset upgrading action sequence, wherein the power supply time sequence refers to different power supply forms formed by different combinations of total fire, on fire and normal fire of the whole vehicle controller, and the preset upgrading action sequence refers to arrangement of the different power supply forms of the whole vehicle controller.
5. The vehicle of claim 4, wherein the testing system further comprises a power module that is in electrical communication with the communication module, the interface module, and the control module.
6. The vehicle of claim 4 or 5, wherein if the software of the entire vehicle controller fails to be upgraded, the control module resets the software of the entire vehicle controller, and the upper computer outputs an upgrade test result after the software is reset.
CN201810786675.1A 2018-07-17 2018-07-17 Whole vehicle controller software upgrading test system and vehicle Active CN110727255B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810786675.1A CN110727255B (en) 2018-07-17 2018-07-17 Whole vehicle controller software upgrading test system and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810786675.1A CN110727255B (en) 2018-07-17 2018-07-17 Whole vehicle controller software upgrading test system and vehicle

Publications (2)

Publication Number Publication Date
CN110727255A CN110727255A (en) 2020-01-24
CN110727255B true CN110727255B (en) 2021-08-20

Family

ID=69217567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810786675.1A Active CN110727255B (en) 2018-07-17 2018-07-17 Whole vehicle controller software upgrading test system and vehicle

Country Status (1)

Country Link
CN (1) CN110727255B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427329B (en) * 2020-03-16 2022-05-10 京威汽车设备有限公司 Automatic detection system and method for controller
CN111443689A (en) * 2020-04-07 2020-07-24 奇瑞商用车(安徽)有限公司 Complete vehicle fault detection system and method for pure electric vehicle
CN112231228A (en) * 2020-11-06 2021-01-15 广州极飞科技有限公司 Firmware upgrade test method, device, platform, equipment and storage medium
CN112860559A (en) * 2021-02-19 2021-05-28 一汽解放汽车有限公司 Upgrade test system and method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104149717B (en) * 2014-07-31 2016-05-04 北京中瑞蓝科电动汽车技术有限公司 A kind of long-range noiseless renewal system and method for car load control
CN104572221B (en) * 2015-01-30 2017-08-01 重庆邮电大学 A kind of vehicle-mounted ECU online upgrade system and method
JP6571602B2 (en) * 2016-07-26 2019-09-04 日立オートモティブシステムズ株式会社 Vehicle control device, in-vehicle network system
CN107402847B (en) * 2017-07-28 2020-05-19 安徽江淮汽车集团股份有限公司 Remote upgrading method and system for vehicle control unit software
CN107885518B (en) * 2017-11-07 2021-04-20 惠州华阳通用电子有限公司 Method and device for recording abnormal log of vehicle-mounted system upgrading
CN107943000A (en) * 2017-11-27 2018-04-20 北京新能源汽车股份有限公司 A kind of software integrating method, Oftware updating method and device

Also Published As

Publication number Publication date
CN110727255A (en) 2020-01-24

Similar Documents

Publication Publication Date Title
CN110727255B (en) Whole vehicle controller software upgrading test system and vehicle
CN108919778B (en) electric automobile vehicle control unit testing arrangement
CN103744761A (en) Method and system for controlling multiple mobile terminals to automatically execute tasks
CN111158718A (en) Local communication server, OTA (over the air) upgrading method thereof and cloud server
CN106547574A (en) The outside download system and method for a kind of DSP programs and FPGA programs
CN109582341A (en) A kind of host system and its programing change method of On-board System of Cab Signal equipment
CN113691422A (en) Vehicle-mounted remote communication box test method and system
CN205899529U (en) Long -range renewal device of vehicle ECU
CN103010039A (en) Boot loading method of battery management systems
CN201733371U (en) Interactive TV set top box IP on-demand loading upgrading device
CN112860559A (en) Upgrade test system and method
CN205281471U (en) Printing terminal and system
CN106445592A (en) Long-distance multi-machine program upgrading method based on WIFI and CAN bus
CN111610981A (en) BMS board online writing method and device
CN106274551B (en) Electric machine controller firmware upgrade system, method and electric machine controller
CN114356760A (en) CANFD controller software remote upgrade test method and system based on L3 whole vehicle architecture
CN114168482A (en) Test method of vehicle control unit
CN209930280U (en) Network automation bus test rack
CN210038761U (en) EMS flash equipment and system
CN202275397U (en) System for realizing peripheral interface controller (PIC) program loading on basis of controller area network (CAN) bus
CN112003656A (en) System and method for testing vehicle-mounted wireless communication terminal assembly product
CN112148307A (en) EMS (enhanced message service) flashing device, flashing method and system
CN110851160A (en) Embedded device and program upgrading method thereof
CN109859794B (en) Solid state disk storage unit repair system
CN216144907U (en) Fault diagnosis equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 450061 Yudao Road, Guancheng District, Zhengzhou City, Henan Province

Patentee after: Yutong Bus Co.,Ltd.

Address before: 450061 Yudao Road, Guancheng District, Zhengzhou City, Henan Province

Patentee before: ZHENGZHOU YUTONG BUS Co.,Ltd.