CN114415645A - Batch flash and test system and method for new energy commercial vehicle - Google Patents

Batch flash and test system and method for new energy commercial vehicle Download PDF

Info

Publication number
CN114415645A
CN114415645A CN202210249998.3A CN202210249998A CN114415645A CN 114415645 A CN114415645 A CN 114415645A CN 202210249998 A CN202210249998 A CN 202210249998A CN 114415645 A CN114415645 A CN 114415645A
Authority
CN
China
Prior art keywords
flashing
controller
flash
module
test
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.)
Granted
Application number
CN202210249998.3A
Other languages
Chinese (zh)
Other versions
CN114415645B (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.)
Shaanxi Automobile Group Co Ltd
Original Assignee
Shaanxi Automobile Group 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 Shaanxi Automobile Group Co Ltd filed Critical Shaanxi Automobile Group Co Ltd
Priority to CN202210249998.3A priority Critical patent/CN114415645B/en
Publication of CN114415645A publication Critical patent/CN114415645A/en
Application granted granted Critical
Publication of CN114415645B publication Critical patent/CN114415645B/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
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

The invention relates to a batch flashing and testing system and method for new energy commercial vehicles, which comprises an electric control module, a flashing and testing module, a human-computer interaction upper computer module and a vehicle control unit, wherein the electric control module is connected with the flashing and testing module, the flashing and testing module is connected with the vehicle control unit through an electric connecting piece, and the flashing and testing module is connected with the human-computer interaction upper computer module through a CAN bus; the batch flash and function test of the whole vehicle controller of the new-energy commercial vehicle are realized, and the flash and function test efficiency is improved through the automatic set program connection; by sequentially acquiring the hardware serial number of the vehicle control unit to be flashed, the serial number of the controller cannot be changed due to midway plugging and unplugging of the controller, and the software of the upper computer cannot be reordered, so that the problem of missed programming of the vehicle control unit to be flashed is effectively avoided; the man-machine interaction upper computer module identifies the function type of the vehicle type matched with the target by acquiring the hardware version number of the vehicle control unit to be flashed.

Description

Batch flash and test system and method for new energy commercial vehicle
Technical Field
The invention relates to the technical field of design and application of an electric control system, in particular to a batch flash and test system and method for a new energy commercial vehicle.
Background
At present, China has the largest new energy automobile market in the world and has good new energy automobile industry ecological environment. Along with the rapid evolution of electronic and electrical architectures of new energy automobiles, an entire automobile control system is widely used as a core electric control unit of a new energy commercial automobile and is an important core part of an electric control system.
In the face of diversified function configuration requirements of the new energy commercial vehicle, the vehicle control unit of the electric control core system represents a hardware product which needs to be matched with software programs of multiple versions. Software flashing and controller performance verification become indispensable working links. After the whole vehicle controller of the commercial vehicle with the new energy source is developed, designed and produced off line at present, single-batch flash and low flash speed still exist, a flash system cannot be used for testing and verifying functions of the controller, and a whole vehicle controller testing and verifying tool cannot be used for batch flash functions.
Disclosure of Invention
Aiming at the problems in the prior art, the invention aims to provide a batch flash and test system and method for a new energy commercial vehicle.
The technical scheme adopted by the invention for solving the technical problems is as follows: a batch flashing and testing system for new energy commercial vehicles comprises an electric control module, a flashing and testing module, a human-computer interaction upper computer module and a vehicle control unit, wherein the electric control module is connected with the flashing and testing module, the flashing and testing module is connected with the vehicle control unit through an electric connecting piece, and the flashing and testing module is connected with the human-computer interaction upper computer module through a CAN bus;
the flash and test module is provided with a self-checking switch, a pre-flash switch and a management unit, the management unit detects the direct-current voltage output by the AC/DC power supply unit, receives the rated working voltage of the hardware of the controller to be flash, which is transmitted to the W-CAN program flash communication bus by the man-machine interaction upper computer module, and judges whether the power supply voltage is normally matched or not by checking the difference between the two voltages.
Preferably, the human-computer interaction upper computer module is provided with upper computer software and CAN data communication equipment.
Preferably, the electric control module is provided with an air break unit, a leakage protection unit, a non-intermittent power supply unit and an AC/DC power supply unit.
Preferably, the brushing and testing module is further provided with a power supply switch, a brushing state indicator lamp, a brushing state completion indicator lamp, a function test normal indicator lamp, an enable switch and a C-CAN brushing control communication bus.
A batch flash and test method for new energy commercial vehicles comprises the following steps:
s1, preparing for the flash and test of the vehicle controller;
s101, upper computer software edits controller hardware rated working voltage corresponding to each controller hardware version number in the whole vehicle controller into a CAN message A, and the CAN message A is transmitted to a W-CAN program flash communication bus through CAN data communication equipment;
s102, a power supply switch of the flashing and testing module is closed, a management unit is activated, the management unit detects direct-current voltage output by an AC/DC power supply unit, meanwhile, the management unit receives a CAN message A, the management unit verifies a difference value between the direct-current voltage and the CAN message A, if the absolute value of the difference value is not more than 2V, the working voltage is normal, the self-checking switch is closed, the management unit activates a whole vehicle controller to be flashed through an enabling switch, the management unit monitors access interlocking signals output by each set of controllers through an electrical connecting piece, and if the interlocking signals are not less than 4.5V, the controllers are accessed to the flashing and testing module;
s103, on the premise that the working voltage is normal and the self-checking switch is closed, the pre-flashing switch is closed, the management unit numbers the interlocking signals which are output by each set of controllers and are larger than or equal to 4.5V, the number sequence is from small to large, 1 is used as an initial number, the management unit uploads the working voltage normal state and the controller number to be flashed and tested, the controller number is edited into a CAN message B, and the CAN message B is uploaded to a C-CAN flashing control communication bus through an electric connecting piece;
s104, through CAN data communication equipment, upper computer software receives a CAN message B, when the system function is analyzed to be normal, the upper computer software numbers the storage controller to a cache region, simultaneously edits a CAN message C, and sequentially requests to check the hardware version number of the controller to be flashed and tested and verified according to the sequence of the storage numbers from small to large;
s105, the management unit receives the CAN message C, analyzes one set of controller serial numbers in the flashing and test verification, switches off enabling switches of controllers with other serial numbers except the serial number, receives an interlocking signal corresponding to the serial number of the controller requested to be flashed by the upper computer module, edits the interlocking signal into a CAN message D and uploads the CAN message D to a C-CAN flashing control communication bus;
s2, flashing and testing, which is used for flashing and testing each set of controllers;
s201, through CAN data communication equipment, upper computer software receives a CAN message D, starts the flashing and automatic testing work, and simultaneously edits a CAN message E and sends the CAN message E to a W-CAN program flashing communication bus according to the normal states of flashing, flashing completion and function testing of each set of controller;
s202, the management unit receives the CAN message E, and sequentially drives a flashing state indicator lamp, a flashing state indicator lamp and a normal function test indicator lamp according to the reported flashing and test states to prompt the flashing and test processes;
s203, when the function test normal indicator light is on, the management unit sets the numbered controller as a flag bit of finished writing and test work at the same time, sends the flag bit by a CAN message F, and uploads the CAN message F to a C-CAN writing control communication bus;
s204, the upper computer software receives the CAN message F and analyzes that the controller finishes the program flashing and testing work;
s205, the upper computer software continues to send CAN messages C sequentially from small to large according to the serial numbers of the controllers in the cache region in the current turn through the CAN data communication equipment, the request management unit activates the flashing and test verification work of the next set of controllers, and the serial numbers of the cache region of the whole upper computer software are traversed until the largest serial number in the cache region corresponds to the controller to complete the flashing and test work.
Preferably, the flashing and testing method is provided with module connection, and the module connection is that when the system is not connected with alternating current, the module connection is in butt joint with each controller board-level connector through an electric connector in sequence and is connected with the whole vehicle controller to be flashed and tested.
Preferably, the brushing and testing method is provided with a power supply connection, the power supply connection is a system access alternating current, the electric control module respectively performs leakage protection detection, overcurrent detection, uninterrupted power supply standby and AC/DC conversion on the alternating current through the leakage protector, the air circuit breaker, the uninterrupted power supply and the AC/DC power supply unit, and provides a direct current power supply for the brushing and testing system.
Preferably, the flashing and testing method further comprises the steps of opening the upper computer software and loading a target software program to be flashed by the controller.
Preferably, the target software program is provided with a respective controller hardware version number.
The invention has the following beneficial effects:
1) the batch flash and function test of the whole vehicle controller of the new-energy commercial vehicle are realized, and the flash and function test efficiency is improved through the automatic set program connection;
2) by sequentially acquiring the hardware serial number of the vehicle control unit to be flashed, the serial number of the controller cannot be changed due to midway plugging and unplugging of the controller, the software of the human-computer interaction upper computer cannot be reordered, and the problem of program missing of the vehicle control unit to be flashed is effectively avoided;
3) the man-machine interaction upper computer module identifies the functional category of the vehicle control unit to be flashed and a target matched vehicle type by acquiring the hardware version number of the vehicle control unit to be flashed, and automatically matches the executable flashing file corresponding to the category;
4) the modularized functional structure is adopted, the system is suitable for the research and development of a controller, the test and the assembly links of vehicle parts in a production line, and the system has wide applicability;
5) the CAN bus is adopted to conduct program flashing and controller function test verification, different network communication rates CAN be configured according to differentiated product characteristics, diversified automatic flashing and test verification methods are provided for program flashing and test verification of the new-energy commercial vehicle controller, requirements on professional skills of operators are effectively reduced, and product quality and matching loading time efficiency of the new-energy commercial vehicle controller are comprehensively improved.
Drawings
FIG. 1 is a block diagram of a batch flashing and testing system of a whole vehicle controller of a new-energy commercial vehicle.
Fig. 2 is a structure diagram of a batch flashing and testing system of a whole vehicle controller of a new energy commercial vehicle.
FIG. 3 is a flow chart of a batch flashing and testing method of the whole vehicle controller of the new-energy commercial vehicle.
In the figure: 1-an electric control module, 101-an air circuit breaking unit, 102-a leakage protection unit, 103-an uninterrupted power supply unit and 104-an AC/DC power supply unit; 2-flash and test module, 201-power supply switch, 202-self-checking switch, 203-pre-flash switch, 204-electrical connector, 205-management unit, 206-flash status indicator lamp, 207-completion flash status indicator lamp, 208-function test normal indicator lamp, 209-cooling fan, 210-enabling switch, 211-terminal resistor, 212-C-CAN flash control communication bus, 213-W-CAN program flash communication bus; 3-a man-machine interaction upper computer module, 301-CAN data communication equipment, 302-upper computer software; 4-vehicle control unit.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1-3, a batch flash and test system for new energy commercial vehicles comprises an electric control module 1, a flash and test module 2, a human-computer interaction upper computer module 3 and a vehicle control unit 4.
The electronic control module 1 comprises: an air circuit breaking unit 101, a leakage protection unit 102, an uninterruptible power supply unit 103, an AC/DC power supply unit 104; the air circuit breaking unit 101 is used as a main switch of the electric control module 1, and meets the requirements of manually cutting off and switching on an electric circuit under a normal working condition and automatically cutting off the electric circuit under a fault state, so that the functions of a power supply main switch and fault protection functions of load short circuit, load overcurrent, input undervoltage and the like are realized; the leakage protection unit 102 realizes leakage protection or electric shock protection by monitoring instantaneous value states of line and neutral current in a protected loop and actively controlling to cut off an electric loop so as to avoid injury to personnel and adverse effect on electric equipment when a load loop generates leakage; the uninterrupted power supply unit 103 is used for meeting emergency use and continuously providing electric energy for the system when the mains supply is powered off so as to complete current flashing and testing work; meanwhile, when the mains supply is normal, the 'power supply pollution' such as mains supply surge problem, instant high voltage, instant low voltage, wire noise, frequency offset and the like is eliminated, the power supply quality is improved, and higher-quality power supply input is provided for a writing and testing system; the AC/DC power supply unit 104 supplies power to the DC consumers.
The flash and test module 2 includes: the system comprises a power supply switch 201, a self-checking switch 202, a pre-flashing switch 203, an electrical connecting piece 204, a management unit 205, a flashing state indicator lamp 206, a flashing state completion indicator lamp 207, a function test normal indicator lamp 208, a cooling fan 209, an enabling switch 210, a terminal resistor 211, a C-CAN flashing control communication bus 212 and a W-CAN program flashing communication bus 213; the termination resistor 211 is used for eliminating signal oscillation of the flash control communication bus and the program flash communication bus; the flashing state indicator lamp 206 is used for prompting an operator that the vehicle control unit is flashing a program; the completion flashing state indicator lamp 207 is used for prompting an operator that the programming of the vehicle controller 4 is completed; the normal function test indicator lamp 208 is used for prompting an operator that the function test of the new-energy commercial vehicle controller 4 is normal.
The functions of the flash and test module 2 include: the brushing and testing module 2 is used for traversing and detecting the current round to access the brushing and testing verification system controller, the brushing and testing module 2 is used for obtaining the hardware version number of the whole vehicle controller 4 to be brushed and tested and sending the hardware version number to the human-computer interaction upper computer module 3, and the brushing and testing module 2 is used for requesting the human-computer interaction upper computer module 3 to perform program brushing; the brushing and testing module 2 monitors controller function testing process messages transmitted by the human-computer interaction upper computer module 3 in real time, then controls different working indicator lamps to prompt operating personnel to brush and test working states of each set of controllers, and after the program brushing and function testing of the target controller transmitted by the human-computer interaction upper computer module 3 are completed, the brushing and testing module 2 disconnects the power supply of the controllers.
The man-machine interaction upper computer module 3 comprises CAN data communication equipment 301 and upper computer software 302; the CAN data communication equipment 301 is a middleware for performing control instruction or data interaction between the upper computer software 302 and the flash and test module 2 and the vehicle control unit 4; the upper computer software 302 is a platform for real-time data interaction between an operator and the brushing and testing module 2, and between the vehicle control unit 4 to be brushed and tested and verified and the brushing and testing module 2; after loading the executable program file to be flashed, the human-computer interaction upper computer module 3 acquires the hardware version number of the vehicle control unit 4 to be flashed and tested and verified from the flashing and testing module 2; the upper computer software 302 automatically identifies the function type of the target vehicle type matched with the whole vehicle controller 4 to be flashed through the hardware version number; the man-machine interaction upper computer module 3 automatically matches the executable flash file corresponding to the function category; the upper computer software 302 responds to the program flashing request of the flashing and testing module 2 to flash the executable file of the corresponding version.
A batch flash and test method for new energy commercial vehicles comprises the following steps:
1) the vehicle control unit 4 to be flashed is connected to the flash and test module 2 through the electrical connection 204 of the flash and test module 2;
2) the flashing and testing module 2 judges whether the vehicle control unit 4 to be flashed is connected or not by detecting the interlocking voltage signal of the vehicle control unit 4 to be flashed and the electric connecting piece 204;
3) the flash and test module 2 detects the hardware version number of the vehicle control unit 4 to be flashed and sends the hardware version number to the man-machine interaction upper computer module 3 through the CAN data communication equipment 301, and the upper computer software 302 automatically identifies the function type of the controller through the hardware version number and simultaneously automatically matches the executable flash file corresponding to the function type;
4) the flash and test module 2 requests the upper computer software 302 to perform program flash of a corresponding version;
5) the human-computer interaction upper computer module 3 executes program flashing and automatically detects the functional software execution condition of the vehicle control unit 4 after flashing, and the automatic execution command is used for judging whether the flashing is finished and whether the function execution of the flashed software function in the controller is normal;
6) through the CAN data communication equipment 301, the upper computer software 302 performs the system function test work of the vehicle controller 4 after the vehicle control program is finished by writing, and judges whether the system function is normal or not by reading a system function normal zone bit preset in the software;
7) through CAN data communication equipment 301, host computer software 302 downloads the working state of the controller of the flash and test verification system, and the state comprises: the program is in the process of flashing, the program flashing is completed, and the program function test is normal;
8) through the CAN data communication equipment 301, the brushing and testing module 2 detects the current power supply and enabling relay actuation state of the vehicle control unit 4, and receives the working state of the vehicle control unit 4 in the brushing and testing process transmitted by the upper computer software 302; according to different working state information, the flashing state indicator lamp 206 is lightened, or the flashing state indicator lamp 207 is finished, or the function test normal indicator lamp 208 is lightened;
9) through the CAN data communication equipment 301, the upper computer software 302 sequentially verifies the hardware version number of the whole vehicle controller 4 to be flashed, which is connected to the flashing and testing module 2 in the current round, automatically matches executable software corresponding to the controller function type, then tests and verifies the program flashing and software function execution state of the whole vehicle controller 4, and simultaneously, the upper computer software 302 performs state prompt of a graphical software interface on each whole vehicle controller 4 which passes the flashing and testing verification so as to inform an operator that the flashing and function testing are normal;
10) through the CAN data communication device 301, after the operator turns off the pre-flashing switch 203 of the electronic control module 1, the upper computer software 302 stops all the flashing and function testing operation functions, and the current flashing and testing verification work is finished.
A batch flash and test method for new energy commercial vehicles comprises the following steps:
1) on the premise that the system does not access alternating current, an operator sequentially and respectively butts each controller board connector through the controller electrical connecting piece 204 of the flashing and testing module 2, and accesses the whole commercial vehicle controller 4 of the new energy source to be flashed and tested;
2) the system is connected with alternating current, and the alternating current is respectively subjected to leakage protection detection, overcurrent detection, uninterrupted power supply standby and AC/DC conversion through a leakage protection unit 102, an air circuit breaking unit 101, an uninterrupted power supply unit 103 and an AC/DC power supply unit 104 for the electric control module 1, so that a set direct current power supply is provided for the flash and test module 2;
3) an operator opens the upper computer software 302 to load a target software program to be flashed by the controller, wherein the target software program already contains the hardware version number of the controller in the software design stage;
4) after the upper computer software 302 analyzes the version number of the target software through the CAN data communication equipment 301, the upper computer software 302 edits the rated working voltage of the controller hardware corresponding to the version number of the controller hardware into a CAN message A, and downloads the CAN message A to the W-CAN program flash communication bus 213 through the CAN data communication equipment 301;
5) the power supply switch 201 of the flash and test module 2 is closed, the management unit 205 is activated, and the direct-current voltage output by the AC/DC power supply unit 104 is detected; meanwhile, the management unit 205 receives a CAN message A of the rated hardware working voltage of the controller to be flashed, which is downloaded to the W-CAN program flashing communication bus 213 by the human-computer interaction upper computer module 3 through the controller electrical connector 204; the management unit 205 checks the difference between the two voltages, and when the absolute value of the difference is not greater than 2V, it indicates that the working voltage is normal; under the condition that the working voltage is normal, the self-checking switch 202 is closed, the management unit 205 drives the enabling switch 210 of the vehicle control unit 4, and the vehicle control unit 4 of the commercial vehicle with the new energy source to be flashed is activated. Through the controller electrical connector 204, the management unit 205 will monitor the access interlock signal output by each set of controller, and the interlock signal is effective (greater than or equal to 4.5V) to indicate that the controller is accessed to the flash and test module 2;
6) on the premise that the working voltage is normal and the self-checking switch 202 is closed, the pre-flashing switch 203 is closed, the management unit 205 edits a controller number which is uploaded to the normal state of the working voltage and is to be flashed and tested in the current round through the controller electrical connection piece 204, the management unit 205 numbers effective interlocking signals which are output by each set of controllers and are identified, the numbering sequence is from small to large, 1 is taken as an initial number, and the effective interlocking signals are uploaded to the C-CAN flashing control communication bus 212 through the controller electrical connection piece 204;
7) through the CAN data communication equipment 301, the upper computer software 302 receives a CAN message B of the C-CAN flash control communication bus 212, when the system function is analyzed to be normal, the upper computer software 302 numbers the storage controller to a cache region, simultaneously edits the CAN message C, and sequentially requests to check the hardware version number of the controller to be flashed and tested and verified according to the sequence of the storage numbers from small to large;
8) through the controller electrical connector 204, the management unit 205 receives the CAN message C, analyzes the number of the refresh and test controller, and disconnects the power supply and enable switch 210 of the vehicle control unit 4 corresponding to the controllers with the numbers except the number, at this time, the management unit 205 will only receive the interlocking signal corresponding to the number of the refresh controller requested by the human-computer interaction upper computer module 3, and indicate that the request refresh controller is ready, and the ready signal is edited into a CAN message D and uploaded to the C-CAN refresh control communication bus 212 through the controller electrical connector 204;
9) through the CAN data communication equipment 301, the upper computer software 302 receives a CAN message D on the C-CAN flash control communication bus 212, analyzes the CAN message D to the ready state of a target flash controller, and automatically starts flash and automatic test work; meanwhile, the upper computer software 302 edits a CAN message E according to the normal states of the brushing, the completion of the brushing and the function test of each set of controller, and sends the message E to the W-CAN program brushing communication bus 213 through the CAN data communication equipment 301;
10) through the controller electrical connector 204, the management unit 205 receives the CAN message E, and sequentially drives the in-progress flashing state indicator 206, the completion flashing state indicator 207, and the normal function test indicator 208 according to the reported flashing and testing state, so as to prompt an operator whether the controller flashing and testing process is normal. In the process of flashing and testing, the management unit 205 drives the cooling fan 209 to cool the system;
11) the management unit 205 drives the function test normal indicator light 208, sets the flag bit of the numbered controller which finishes the flashing and test work, sends the flag bit in a CAN message F, and uploads the flag bit to the C-CAN flash control communication bus 212 through the controller electrical connector 204;
12) receiving a CAN message F of the C-CAN flash control communication bus 212 through CAN data communication equipment 301 and upper computer software 302, and analyzing that the controller completes program flash and test work;
13) through the CAN data communication equipment 301 and the upper computer software 302, the serial numbers of the controllers in the cache region of the controller are sequentially sent in sequence from small to large, the management unit 205 is requested to supply power and activate the flashing and test verification work of the next set of controllers; the controller program flashing and test verification work is finished in the current round by traversing the numbers of the cache areas of the whole upper computer software 302 until the controller corresponding to the largest number in the cache areas finishes the flashing and test work. The upper computer software 302 prompts an operator to complete the work of refreshing and testing verification of the controller in the current round in a software graphical interface mode;
14) an operator turns off the pre-flashing switch 203, starts the self-checking switch 202 and the power supply switch 201 in sequence, and physically separates all the new energy commercial vehicle controller 4 from the controller electrical connecting piece 204. Through the controller electrical connector 204 and the wire harness, an operator can access the vehicle control unit 4 to be flashed and tested and verified in the next round to the system, and then the controller can be flashed and tested and verified continuously. And the operation is circulated in sequence, so that batch flashing and test verification can be realized.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (9)

1. The batch flash and test system for the new-energy commercial vehicle is characterized by comprising an electric control module (1), a flash and test module (2), a human-computer interaction upper computer module (3) and a vehicle control unit (4), wherein the electric control module (1) is connected with the flash and test module (2), the flash and test module (2) is connected with a vehicle controller through an electric connecting piece (204), and the flash and test module (2) is connected with the human-computer interaction upper computer module (3) through a CAN bus;
the flash and test module (2) is provided with a self-checking switch (202), a pre-flash switch (203) and a management unit (205), the management unit (205) detects the direct-current voltage output by the AC/DC power supply unit (104), receives the rated working voltage of the hardware of the controller to be flashed, which is downloaded to the W-CAN program flash communication bus (213) by the man-machine interaction upper computer module (3), and judges whether the power supply voltage of the target controller to be flashed is matched with the direct-current voltage output by the AC/DC power supply unit (104) or not by checking the difference between the two voltages.
2. The batch flashing and testing system for the new-energy commercial vehicle as claimed in claim 1, wherein the human-computer interaction upper computer module (3) is provided with upper computer software (302) and CAN data communication equipment (301).
3. The batch flash and test system for the new-energy commercial vehicle as claimed in claim 1, wherein the electronic control module (1) is provided with an air circuit breaker unit (101), a leakage protection unit (102), an uninterruptible power supply unit (103) and an AC/DC power supply unit (104).
4. The batch flash and test system for the new-energy commercial vehicle as claimed in claim 1, wherein the flash and test module (2) is further provided with a power supply switch (201), a flash status indicator lamp (206), a flash completion status indicator lamp (207), a functional test normal indicator lamp (208), an enable switch (210) and a C-CAN flash control communication bus (212).
5. A batch flash and test method for new energy commercial vehicles is characterized by comprising the following steps:
s1, a preparation stage, which is to prepare for the flash and test of the whole vehicle controller (4);
s101, upper computer software (302) edits controller hardware rated working voltage corresponding to each controller hardware version number in the whole vehicle controller (4) into a CAN message A, and transmits the CAN message A to a W-CAN program flash communication bus (213) through CAN data communication equipment (301);
s102, a power supply switch (201) of the flash and test module (2) is closed, a management unit (205) is activated, the management unit (205) detects direct-current voltage output by an AC/DC power supply unit (104), meanwhile, the management unit (205) receives a CAN message A, the management unit (205) verifies a difference value between the direct-current voltage and the CAN message A, if the absolute value of the difference value is not greater than 2V, the working voltage is normal, a self-checking switch (202) is closed, the management unit (205) activates a whole vehicle controller (4) to be flashed through an enabling switch (210), the management unit (205) respectively monitors access interlocking signals output by each set of controllers through an electric connecting piece (204), and if the interlocking signals are greater than or equal to 4.5V, the controllers are accessed to the flash and test module (2);
s103, under the premise that the working voltage is normal and the self-checking switch (202) is closed, the pre-flashing switch (203) is closed, the management unit (205) numbers the interlocking signals which are output by each set of controllers and are larger than or equal to 4.5V, the number sequence is from small to large, 1 is used as an initial number, the management unit (205) uploads the working voltage normal state and the controller number to be flashed and tested, the CAN message B is edited and is uploaded to the C-CAN flashing control communication bus (212) through the electric connecting piece (204);
s104, through the CAN data communication equipment (301), the upper computer software (302) receives the CAN message B, when the system function is analyzed to be normal, the upper computer software (302) numbers the storage controller to a cache region, simultaneously edits the CAN message C, and sequentially requests to check the hardware version number of the controller to be flashed and tested and verified according to the sequence of the storage numbers from small to large;
s105, the management unit (205) receives the CAN message C, analyzes one set of controller numbers of the refresh and test verification, and switches off the enable switches (210) of the controllers with the numbers except the number, receives an interlocking signal corresponding to the controller number requested by the man-machine interaction upper computer module (3) to be refreshed, edits the interlocking signal into a CAN message D and uploads the CAN message D to a C-CAN refresh control communication bus (212);
s2, flashing and testing, which is used for flashing and testing each set of controllers;
s201, through the CAN data communication equipment (301), the upper computer software (302) receives the CAN message D, the flashing and automatic testing work is started, and meanwhile, the upper computer software (302) edits the CAN message E and sends the CAN message E to the W-CAN program flashing communication bus (213) according to the flashing, the flashing completion and the normal state of the function test of each set of controller;
s202, the management unit (205) receives the CAN message E, and sequentially drives a flashing state indicator lamp (206), a flashing state completion indicator lamp (207) and a function test normal indicator lamp (208) according to the reported flashing and test states, so as to prompt the flashing and test processes;
s203, when the function test normal indicator lamp (208) is on, the management unit (205) sets the numbered controller as a flag bit of finished flashing and test work at the same time, sends the flag bit by a CAN message F, and uploads the CAN message F to a C-CAN flash control communication bus (212);
s204, the upper computer software (302) receives the CAN message F and analyzes that the controller finishes the program flashing and testing work;
s205, the upper computer software (302) sends the serial numbers of the controllers in the cache region in turn sequentially according to the sequence from small to large through the CAN data communication equipment (301), the management unit (205) is requested to activate the flashing and test verification work of the next set of controllers, and the serial numbers of the cache region of the whole upper computer software (302) are traversed until the controller corresponding to the largest serial number in the cache region completes the flashing and test work.
6. The batch flashing and testing method for the new-energy commercial vehicle as claimed in claim 5, wherein the flashing and testing method is provided with module connection, and the module connection is that when the system is not connected with alternating current, the controller board-level connectors are sequentially butted through the electric connecting piece (204) and the whole vehicle controller (4) to be flashed and tested is connected.
7. The batch brushing and testing method for the new energy commercial vehicle according to claim 5, characterized in that the brushing and testing method is provided with a power supply connection, the power supply connection is a system access alternating current, and the electric control module (1) respectively performs leakage protection detection, overcurrent detection, uninterrupted power supply standby and AC/DC conversion on the alternating current through the leakage protection unit (102), the air circuit breaking unit (101), the uninterrupted power supply unit (103) and the AC/DC power supply unit (104), and provides a direct current power supply for the brushing and testing system.
8. The batch flashing and testing method for the new-energy commercial vehicle as claimed in claim 5, further comprising opening the upper computer software (302) and loading a target software program to be flashed by the controller.
9. The batch flash and test method for the new energy commercial vehicle according to claim 8, wherein the target software program is provided with a hardware version number of each controller.
CN202210249998.3A 2022-03-15 2022-03-15 Batch brushing and testing system and method for new energy commercial vehicles Active CN114415645B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210249998.3A CN114415645B (en) 2022-03-15 2022-03-15 Batch brushing and testing system and method for new energy commercial vehicles

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210249998.3A CN114415645B (en) 2022-03-15 2022-03-15 Batch brushing and testing system and method for new energy commercial vehicles

Publications (2)

Publication Number Publication Date
CN114415645A true CN114415645A (en) 2022-04-29
CN114415645B CN114415645B (en) 2024-03-29

Family

ID=81263856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210249998.3A Active CN114415645B (en) 2022-03-15 2022-03-15 Batch brushing and testing system and method for new energy commercial vehicles

Country Status (1)

Country Link
CN (1) CN114415645B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA1135809A (en) * 1976-09-07 1982-11-16 Richard M. Bixler Multiprocessor system
US20100106322A1 (en) * 2008-10-27 2010-04-29 Lennox Industries Inc. Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US20100106810A1 (en) * 2008-10-27 2010-04-29 Lennox Industries Inc. Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
KR20100132769A (en) * 2009-06-10 2010-12-20 남영기전 주식회사 Protection relay
CN104615058A (en) * 2015-02-05 2015-05-13 桂凌云 Brushing and writing system of vehicle-mounted chip and brushing and writing method thereof
CN107943001A (en) * 2017-11-27 2018-04-20 北京长城华冠汽车技术开发有限公司 A kind of writing with a brush dipped in Chinese ink system, writing with a brush dipped in Chinese ink method for instruction carriage
WO2018076569A1 (en) * 2016-10-27 2018-05-03 深圳市元征科技股份有限公司 Electronic control unit-based program flashing method and apparatus
CN108829079A (en) * 2018-04-26 2018-11-16 安徽江淮汽车集团股份有限公司 A kind of TCU writes with a brush dipped in Chinese ink system and method automatically
CN110989567A (en) * 2019-12-31 2020-04-10 潍柴动力股份有限公司 Controller writing method, controller and upper computer
WO2020097848A1 (en) * 2018-11-15 2020-05-22 潍柴动力股份有限公司 Program refresh method and system
CN210666480U (en) * 2019-11-25 2020-06-02 一汽解放汽车有限公司 Vehicle test system
CN111399472A (en) * 2019-01-03 2020-07-10 北京汽车动力总成有限公司 ECU (electronic control unit) flashing device and method
CN112698854A (en) * 2020-12-29 2021-04-23 东风汽车集团有限公司 Vehicle multi-controller flashing device
CN113156840A (en) * 2020-12-25 2021-07-23 茵卡动力新能源江苏有限公司 Automatic batch controller program flashing device and method
CN215814136U (en) * 2021-08-31 2022-02-11 智博汽车科技(上海)有限公司 ECU (electronic control Unit) flashing device
CN114090027A (en) * 2021-11-17 2022-02-25 深圳市元征科技股份有限公司 Firmware flashing method and device

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA1135809A (en) * 1976-09-07 1982-11-16 Richard M. Bixler Multiprocessor system
US20100106322A1 (en) * 2008-10-27 2010-04-29 Lennox Industries Inc. Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US20100106810A1 (en) * 2008-10-27 2010-04-29 Lennox Industries Inc. Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
KR20100132769A (en) * 2009-06-10 2010-12-20 남영기전 주식회사 Protection relay
CN104615058A (en) * 2015-02-05 2015-05-13 桂凌云 Brushing and writing system of vehicle-mounted chip and brushing and writing method thereof
WO2018076569A1 (en) * 2016-10-27 2018-05-03 深圳市元征科技股份有限公司 Electronic control unit-based program flashing method and apparatus
CN107943001A (en) * 2017-11-27 2018-04-20 北京长城华冠汽车技术开发有限公司 A kind of writing with a brush dipped in Chinese ink system, writing with a brush dipped in Chinese ink method for instruction carriage
CN108829079A (en) * 2018-04-26 2018-11-16 安徽江淮汽车集团股份有限公司 A kind of TCU writes with a brush dipped in Chinese ink system and method automatically
WO2020097848A1 (en) * 2018-11-15 2020-05-22 潍柴动力股份有限公司 Program refresh method and system
CN111399472A (en) * 2019-01-03 2020-07-10 北京汽车动力总成有限公司 ECU (electronic control unit) flashing device and method
CN210666480U (en) * 2019-11-25 2020-06-02 一汽解放汽车有限公司 Vehicle test system
CN110989567A (en) * 2019-12-31 2020-04-10 潍柴动力股份有限公司 Controller writing method, controller and upper computer
CN113156840A (en) * 2020-12-25 2021-07-23 茵卡动力新能源江苏有限公司 Automatic batch controller program flashing device and method
CN112698854A (en) * 2020-12-29 2021-04-23 东风汽车集团有限公司 Vehicle multi-controller flashing device
CN215814136U (en) * 2021-08-31 2022-02-11 智博汽车科技(上海)有限公司 ECU (electronic control Unit) flashing device
CN114090027A (en) * 2021-11-17 2022-02-25 深圳市元征科技股份有限公司 Firmware flashing method and device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
吴进军 等: "基于 CAN 总线的新能源汽车 ECU 控制器程序刷写系统设计", 《机电产品开发与创新》, vol. 31, no. 2, pages 1 - 4 *
张宏;李阳春;李洪雷;: "基于控制器刷写效率的软件开发方法", 汽车实用技术, no. 05 *
李晨: "中通某型可充电混合动力客车整车控制器研究", 《中国优秀硕士学位论文全文数据库 工程科技II辑》, no. 3, pages 035 - 225 *
赵德英 等: "电控柴油机批量生产用EOL系统", 《内燃机与动力装置》, no. 4, pages 69 - 71 *

Also Published As

Publication number Publication date
CN114415645B (en) 2024-03-29

Similar Documents

Publication Publication Date Title
CN103568863B (en) Real-time monitoring and diagnosing system and method for battery management system of electric vehicle
CN103412203B (en) Motor variable-frequency driver ageing tester and method of testing thereof
CN105807155A (en) Testing device and method for power cut and starting of electric devices
CN111361519B (en) Integrated controller
CN112034970A (en) Restarting device of real-time data monitoring computer of unattended substation
CN113534765A (en) Real vehicle network test system
CN105843216B (en) A kind of off-line test method and system of new energy vehicle
CN114415645A (en) Batch flash and test system and method for new energy commercial vehicle
CN104795796A (en) Motor fault monitoring device and method of intelligent ring main unit
CN115675087B (en) New energy commercial vehicle power-on assembly electric control method, device, equipment and storage medium
CN109656213B (en) Man-machine interface system with power-loss protection mechanism and distributed control system
CN114720935B (en) Fault detection system and method of power supply detection equipment
CN103855791A (en) Generator intelligent control system
CN110245042A (en) A kind of laptop shipment mode capabilities automatic test approach and system
CN113590163B (en) Vehicle OTA upgrading method based on log diagnosis
CN111381131A (en) Method, apparatus and computer storage medium for detecting insulation fault
CN101995556A (en) Remote fault detection and processing system of DC power supply screen
CN111596148B (en) Test method, device and equipment for starting diesel engine in case of power failure of emergency bus of nuclear power station
CN112327812B (en) Multi-mode factory inspection method for intelligent monitor of switch cabinet
CN113687295A (en) Meter front-meter and meter rear-meter power-off fault positioning device, system and method for electric energy meter
CN107046328A (en) Automation of transformation substations equipment fault judgement and self-healing system
CN111856315A (en) Screen test tool and test method
CN113054266A (en) Data exchange unit and data exchange system suitable for whole package utilization of echelon batteries
CN118400306B (en) Thing allies oneself with table detection device
CN109992277A (en) A kind of programming system, the method and device of circuit board

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