An automatic flashing system and method for an engine electronic control unit (ECU)

By working together with the automatic writing processing equipment, auxiliary terminal and writing terminal in the automatic writing system, the automatic writing of ECU data is realized, which solves the problems of low efficiency and sorting errors caused by manual operation in the existing technology, and improves the accuracy and stability of data writing.

CN119105367BActive Publication Date: 2025-11-21WEICHAI POWER CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411365457.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-11-21
Estimated Expiration
2044-09-29

AI Technical Summary

Technical Problem

In the existing technology, the process of flashing data for the engine electronic control unit (ECU) relies on manual operation, which leads to low efficiency and is prone to sorting errors.

Method used

An automatic flashing system is adopted, including an automatic flashing processing device, an auxiliary terminal, and a flashing terminal. It realizes automatic matching and zoned data transmission of engine number to target flashing data through a short-range communication network. Under the control of the data enable signal, the auxiliary terminal sends the target flashing data to the flashing terminal for ECU data flashing.

Benefits of technology

It automates ECU data flashing, improves efficiency and accuracy, reduces manual intervention, and ensures the stability and efficiency of data flashing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119105367B_ABST
    Figure CN119105367B_ABST
Patent Text Reader

Abstract

The application discloses an automatic flashing system and method for an engine electronic control unit (ECU), wherein the automatic flashing processing device determines target flashing data according to the engine number of a current engine, and sends the target flashing data to each auxiliary terminal; a target auxiliary terminal is selected according to flashing feedback information, and a data enable signal carrying a function partition identifier is sent to the target auxiliary terminal; the target auxiliary terminal sends target flashing sub-data in the target flashing data to a flashing terminal connected with the current engine under the control of the data enable signal; and the flashing terminal performs data flashing on the ECU of the current engine according to the target flashing sub-data, and generates flashing feedback information. Through the cooperation of the automatic flashing processing device, the auxiliary terminal and the flashing terminal in the automatic flashing system, automatic data flashing of the engine ECU is realized, so that the efficiency, stability and accuracy of data flashing are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of engine production, in particular to an automatic writing system and method for an engine electronic control unit (ECU). BACKGROUND

[0002] In the process of engine End of Line (EOL), the electronic control unit (ECU) of the engine needs to be data written. However, due to different development needs, different types of ECU correspond to different writing data, so in actual application, the ECU needs to be classified and written according to the type of ECU.

[0003] At present, in the process of classifying and writing ECU, multiple professionals are responsible for ECU sorting, pasting barcodes, scanning barcodes and writing data, sorting and putting, and the whole process is very cumbersome and depends on manual operation, so the efficiency of data writing is low. SUMMARY

[0004] The present application provides an automatic writing system and method for an engine electronic control unit (ECU) to solve the problem of low efficiency of data writing of ECU by professionals in the prior art.

[0005] In a first aspect, the present application provides an automatic writing system for an engine ECU, comprising an automatic writing processing device, K auxiliary terminals and a writing terminal, the K auxiliary terminals are arranged along the pipeline direction at intervals, K is a positive integer, wherein:

[0006] The automatic writing processing device is configured to determine target writing data according to the engine number of the current engine, and send the target writing data to the K auxiliary terminals; select a target auxiliary terminal from the K auxiliary terminals according to the writing feedback information from the writing terminal, and send a data enable signal to the target auxiliary terminal, wherein the data enable signal carries a function partition identifier;

[0007] The target auxiliary terminal is configured to send target writing sub-data in the target writing data to the writing terminal connected to the current engine under the control of the data enable signal, wherein the writing data comprises a plurality of writing sub-data, and one group of writing sub-data corresponds to one function partition in the ECU, and the target writing sub-data is determined according to the function partition identifier;

[0008] The writing terminal is configured to write data to the ECU of the current engine according to the target writing sub-data, and generate the writing feedback information.

[0009] In an optional embodiment, the flashing feedback information comprises an engine number, a flashing state, and node information of an auxiliary terminal;

[0010] If the current engine is not the first engine on the pipeline, the automatic flashing processing device is specifically configured to:

[0011] According to the engine number comprised in the flashing feedback information, determine first flashing feedback information and second flashing feedback information from the flashing feedback information received by itself;

[0012] According to the first flashing feedback information and the second flashing feedback information, determine the target auxiliary terminal from the K auxiliary terminals, and according to the first flashing feedback information, determine the function partition identifier carried in the data enable signal;

[0013] The first flashing feedback information is flashing feedback information sent by a flashing terminal connected with the current engine to the automatic flashing processing device, and the second flashing feedback information is flashing feedback information sent by a flashing terminal connected with a previous engine of the current engine to the automatic flashing processing device.

[0014] In an optional embodiment, the automatic flashing processing device is specifically configured to:

[0015] According to first node information of an auxiliary terminal comprised in the first flashing feedback information, determine a first auxiliary terminal from the K auxiliary terminals, and according to second node information of an auxiliary terminal comprised in the second flashing feedback information, determine a second auxiliary terminal from the K auxiliary terminals;

[0016] Take an auxiliary terminal between the first auxiliary terminal and the second auxiliary terminal as the target auxiliary terminal.

[0017] In an optional embodiment, the automatic flashing processing device is specifically configured to:

[0018] Identify a first flashing state comprised in the first flashing feedback information;

[0019] When the first flashing state indicates that flashing of flashing sub-data corresponding to an i-th function partition is completed, generate the data enable signal according to a function partition identifier corresponding to an i+1-th function partition, where i is a positive integer.

[0020] In an optional embodiment, the flashing feedback information comprises an engine number, a flashing state, and node information of an auxiliary terminal;

[0021] If the current engine is the first engine on the assembly line, the automatic flashing processing device is specifically configured to:

[0022] receive flashing feedback information from a flashing terminal connected to the first engine;

[0023] determine a current auxiliary terminal among the K auxiliary terminals according to node information of an auxiliary terminal included in the received flashing feedback information;

[0024] determine a target auxiliary terminal as an auxiliary terminal located behind the current auxiliary terminal.

[0025] In an optional embodiment, the automatic flashing processing device is further configured to:

[0026] send the data enable signal to the K auxiliary terminals, wherein the data enable signal carries a function partition identifier corresponding to a first function partition.

[0027] In an optional embodiment, the automatic flashing processing device is specifically configured to:

[0028] determine a flashing data number corresponding to an engine number of the current engine based on a first correspondence relationship, wherein the first correspondence relationship is used to represent a correspondence relationship between engine numbers and flashing data numbers;

[0029] determine a target flashing data as flashing data corresponding to the determined flashing data number in the flashing data stored by itself.

[0030] In an optional embodiment, the auxiliary terminal is connected to the flashing terminal through a short-distance communication network.

[0031] The auxiliary terminal is specifically configured to: send the target flashing sub-data to a flashing terminal connected to the current engine through the short-distance communication network.

[0032] In an optional embodiment, the automatic flashing system of the engine ECU further comprises a scanning device, wherein:

[0033] The scanning device is connected to the automatic flashing processing device, and the scanning device is arranged on a side of the first auxiliary terminal away from the assembly line.

[0034] The scanning device is configured to sequentially scan engine numbers of engines on the assembly line and transmit the engine numbers to the automatic flashing processing device.

[0035] In a second aspect, an embodiment of the present application provides an automatic flashing method of an engine ECU, comprising:

[0036] The automatic flashing processing device determines target flashing data according to an engine number of a current engine, and sends the target flashing data to K auxiliary terminals; target auxiliary terminals are selected from the K auxiliary terminals according to flashing feedback information from a flashing terminal, and a data enable signal is sent to the target auxiliary terminals, wherein K is a positive integer;

[0037] The target auxiliary terminals send target flashing sub-data in the target flashing data to a flashing terminal connected to the current engine under control of the data enable signal;

[0038] The flashing terminal performs data flashing on an ECU of the current engine according to the target flashing sub-data, and generates the flashing feedback information;

[0039] The flashing data includes multiple groups of flashing sub-data, one group of flashing sub-data corresponding to one functional partition in the ECU, the data enable signal carrying a functional partition identifier, and the target flashing sub-data being determined according to the functional partition identifier.

[0040] The technical scheme provided by the embodiment of the present application at least brings the following beneficial effects:

[0041] In the automatic flashing system for an engine ECU disclosed by the embodiment of the present application, K auxiliary terminals are arranged in a pipeline direction, a flashing terminal is connected to an ECU of an engine, and the engine is transported on the pipeline; an automatic flashing processing device obtains an engine number of a current engine, and according to the engine number, corresponding target flashing data of the engine is distributed to each auxiliary terminal, and according to flashing feedback information from a flashing terminal connected to the engine, a data enable signal carrying a functional partition identifier is sent to the auxiliary terminal; the auxiliary terminal transmits target flashing sub-data corresponding to the functional partition identifier carried in the target flashing data in the target flashing data to the flashing terminal connected to the engine under control of the data enable signal; the flashing terminal performs data flashing on the ECU of the engine according to the received target flashing sub-data, and generates the flashing feedback information fed back to the automatic flashing processing device. Through mutual cooperation of the automatic flashing processing device, the auxiliary terminal and the flashing terminal in the automatic flashing system, automatic data flashing of the engine ECU is realized, without relying on manual assistance, so as to ensure efficiency, stability and accuracy of data flashing. BRIEF DESCRIPTION OF DRAWINGS

[0042] In order to more clearly illustrate the technical scheme in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0043] Figure 1 A process schematic diagram of ECU offline data flashing and online putting of an engine provided by the related art is shown in FIG. 1.

[0044] Figure 2 A structure schematic diagram of an automatic flashing system of an engine ECU provided by an embodiment of the present application is shown in FIG. 2.

[0045] Figure 3 A process flow schematic diagram of an automatic flashing system of an engine ECU provided by an embodiment of the present application is shown in FIG. 3.

[0046] Figure 4 A whole work flow schematic diagram of an automatic flashing system of an engine ECU provided by an embodiment of the present application is shown in FIG. 4.

[0047] Figure 5 A work flow schematic diagram of an automatic flashing method of an engine ECU provided by an embodiment of the present application is shown in FIG. 5. DETAILED DESCRIPTION

[0048] In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.

[0049] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all the embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0050] In the process of engine offline, the ECU of the engine needs to be flashed with data to ensure the normal function of the ECU in actual use. However, due to different development needs, the flashing data corresponding to different types of ECUs is not the same, so in actual application, the ECUs need to be classified and flashed according to their types.

[0051] Figure 1 A process schematic diagram of ECU offline data flashing and online putting of an engine provided by the related art is shown in FIG. 1. As shown in FIG. 1, the process of ECU offline data flashing and online putting of an engine provided by the related art includes the following steps:Figure 1 As shown in FIG. 1, before the engine is sent to the down-line, the ECU data writing operation can be performed in the following order:

[0052] Step 101, printing a barcode according to the production plan and hardware serial number;

[0053] Step 102, pasting the barcode;

[0054] Step 103, scanning the barcode and writing the ECU;

[0055] Step 104, storing the ECU according to the hardware serial number.

[0056] The entire process of steps 101-104 can be performed under the control of a manufacturing execution system (MES). Specifically, the MES specifies the production plan according to the production plan, and controls the orderly execution of the above steps 101-104 according to the production plan.

[0057] After the ECU of the engine is written and stored, it needs to be put into production, for example, as shown in FIG. 2, the ECU online production can be performed in the following order: Figure 1

[0058] Step 105, pulling the barcode according to the professional factory wave band;

[0059] Step 106, the professional factory locks the online execution sequence;

[0060] Step 107, ECU sorting;

[0061] Step 108, putting the ECU.

[0062] The entire process of steps 105-108 can be performed under the control of the MES or a logistics execution system (LES).

[0063] In the production process described in Figure 1 , multiple professionals are required to be responsible for pasting barcodes, scanning barcodes and writing data, sorting and putting ECU, etc. The entire process is very cumbersome and relies on manual operation, and the data writing efficiency is low. In addition, the ECU is sorted and transferred for multiple times, and there may be sorting errors. Therefore, an automatic ECU data writing system is urgently needed to improve the professionalism and effectiveness of ECU writing.

[0064] ​Based on this, the embodiment of the application provides an automatic flashing system and method of an engine electronic control unit (ECU), so as to realize automatic data flashing operation of the engine ECU in the process of engine offline, and ensure the accuracy, stability and high efficiency of data flashing.

[0065] The purposes, functional features and advantages of the application will be further described with reference to the embodiments and the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the application, and are not used to limit the application.

[0066] The automatic flashing system of the engine ECU provided by the embodiment of the application will be specifically introduced below with reference to the accompanying drawings:

[0067] Figure 2 A structure schematic diagram of an automatic flashing system of an engine ECU is shown, as shown in Figure 2 The automatic flashing system 200 includes an automatic flashing processing device 210, K auxiliary terminals 220 and a flashing terminal 230, wherein:

[0068] The automatic flashing processing device 210 is connected with the auxiliary terminals 220 and the flashing terminal 230 respectively, the auxiliary terminals 220 and the flashing terminal 230 are connected, the flashing terminal 230 is connected with the ECU of the engine 300, and the K auxiliary terminals 220 are arranged along the pipeline direction at intervals, and K is a positive integer.

[0069] In some embodiments, the auxiliary terminals 220 and the flashing terminal 230 can be connected through a short-distance communication network, wherein the short-distance communication network in the embodiment of the application can include any existing and future developed short-distance communication network, for example but not limited to Bluetooth communication, near field communication (English: Near Field Communication, abbreviated as NFC), infrared communication and Zigbee communication, etc.

[0070] In a specific implementation, the flashing terminal 230 and the ECU of the engine 300 can be connected through a data transmission line, and the flashing terminal 230 will be transmitted on the pipeline together with the engine 300 connected therewith.

[0071] The functions of each device in the automatic flashing system 200 will be specifically described below with reference to the structure shown in Figure 2

[0072] The automatic flashing processing device 210 is used for determining target flashing data according to the engine number of the current engine, and sending the target flashing data to the K auxiliary terminals 220; selecting a target auxiliary terminal in the K auxiliary terminals 220 according to the flashing feedback information from the flashing terminal 230, and sending a data enable signal to the target auxiliary terminal, wherein the data enable signal carries a function partition identification.​

[0073] The target auxiliary terminal is configured to transmit target flashing sub-data in target flashing data to the flashing terminal 230 connected to the current engine under the control of the data enabling signal, wherein the flashing data comprises a plurality of groups of flashing sub-data, one group of flashing sub-data corresponding to one functional partition in the ECU, and the target flashing sub-data is determined according to the functional partition identifier.

[0074] The flashing terminal 230 is configured to perform data flashing on the ECU of the current engine according to the target flashing sub-data, and generate flashing feedback information.

[0075] It should be noted that the flashing data corresponding to one engine in the embodiment of the present application comprises a plurality of groups of flashing sub-data, one group of flashing sub-data corresponding to one functional partition in the ECU. For example, the flashing data can be represented as: Data_V1 (E1+E2+E3+…+Ei), wherein Data_V1 is used to indicate the data number of the flashing data, E1-Ei respectively represent a plurality of groups of flashing sub-data included in the flashing data, the flashing sub-data E1 is the flashing data corresponding to the functional partition 1 in the ECU of the engine corresponding to the flashing data, the flashing sub-data E2 is the flashing data corresponding to the functional partition 2 in the aforementioned ECU, and so on.

[0076] In a specific implementation, the automatic flashing processing device 210 in the embodiment of the present application can be an automatic flashing platform, which can be implemented through a server, or through a combination of a server and a terminal device with a display screen, and the embodiment of the present application does not make any limitation in this regard.

[0077] In the above-mentioned automatic flashing system 200, the automatic flashing processing device 210 obtains the engine number of the current engine, and according to the engine number, the target flashing data corresponding to the engine is downloaded to each auxiliary terminal 220, and according to the flashing feedback information from the flashing terminal 230 connected to the engine, the data enabling signal carrying the functional partition identifier is sent to the auxiliary terminal 220;

[0078] The auxiliary terminal 220 transmits the target flashing sub-data corresponding to the carried functional partition identifier in the target flashing data to the flashing terminal 230 connected to the engine under the control of the data enabling signal; the flashing terminal 230 performs data flashing on the ECU of the engine according to the received target flashing sub-data, and generates the flashing feedback information fed back to the automatic flashing processing device 210.

[0079] Through the mutual cooperation of the automatic flashing processing device, the auxiliary terminal and the flashing terminal in the automatic flashing system, the automatic data flashing of the engine ECU is realized, without relying on manual assistance, so as to ensure the efficiency, stability and accuracy of the data flashing.

[0080] In some embodiments, such as Figure 2 As shown, the automatic writing system 200 also includes a scanning device 240, which is connected to the automatic writing processing device 210. The scanning device 240 is located on the side of the first auxiliary terminal 220 away from the production line direction. The scanning device 240 is used to sequentially scan the engine numbers of the engines 300 on the production line and transmit the engine numbers to the automatic writing processing device 210.

[0081] In practice, when the engine 300 is transferred to its corresponding scanning area, the scanning device 240 scans the engine barcode affixed to the engine 300 to obtain the engine number corresponding to the engine 300, and then sends the engine number back to the automatic writing processing device 210.

[0082] In some embodiments, the automatic flashing processing device 210 is designed with a database component, which pre-stores multiple flashing data and pre-sets a first correspondence relationship, which is used to characterize the correspondence between the engine number and the flashing data number.

[0083] In practice, the first correspondence can exist in the form of a data relationship table. For ease of understanding, the following table shows an example of a first correspondence:

[0084]

[0085]

[0086] Table 1

[0087] As shown in Table 1, the engine with engine number FDJ1 corresponds to the flashing data number Data_V1, and the engine with engine number FDJ2 also corresponds to the flashing data number Data_V1. Therefore, in this embodiment of the invention, the relationship between engines and flashing data is many-to-one, meaning that engines with different engine numbers can correspond to the same flashing data. However, the automatic flashing processing device 210 can lock the flashing data uniquely corresponding to the engine with the obtained engine number.

[0088] In some embodiments, the automatic flashing processing device 210 determines the flashing data number corresponding to the engine number of the current engine based on the first correspondence relationship; and uses the flashing data corresponding to the determined flashing data number from its stored flashing data as the target flashing data.

[0089] Taking the engine number FDJ3 as an example, in specific implementation, according to Table 1, the automatic flashing processing device 210 can determine the flashing data number corresponding to the engine number FDJ3 as Data_V2 based on the first correspondence shown in Table 1; then, the flashing data corresponding to the flashing data number Data_V2 is used as the target flashing data for the engine ECU corresponding to the engine number FDJ3, and the target flashing data is sent to each auxiliary terminal 220.

[0090] In addition, when the automatic flashing processing device 210 determines that the current engine is the first engine on the production line based on the engine number, the automatic flashing processing device 210 is also used to: send the target flashing data to the K auxiliary terminals 220 at the same time as sending the target flashing data to the K auxiliary terminals 220, wherein the data enable signal carries the functional partition identifier corresponding to the first functional partition.

[0091] In specific implementation, when it is determined that the current engine is the first engine on the production line, the automatic flashing processing device 210 will send the determined target flashing data and data enable signal to K auxiliary terminals 220. At this time, the function partition identifier carried in the data enable signal sent to the K auxiliary terminals 220 corresponds to the first function partition of the ECU.

[0092] After receiving the data enable signal, the K auxiliary terminals 220, under the control of the data enable signal, send the flashing sub-data E1 corresponding to the first functional partition to the flashing terminal connected to the first engine through a short-range communication network; the flashing terminal will flash the data of the first functional partition of the ECU according to the received flashing sub-data E1.

[0093] In some embodiments, the auxiliary terminal 220 and the flashing terminal 230 are connected via a short-range communication network; the auxiliary terminal 220 can send the target flashing sub-data to the flashing terminal 230 connected to the current engine via the short-range communication network.

[0094] Figure 3 A schematic diagram illustrating the process flow of an automatic rewriting system for automatically rewriting engine ECUs is shown. Figure 3 As shown, FDJ1 is the first engine number on the production line. When engine FDJ1 passes through the scanning area, the automatic writing processing device 210 will send the target writing data corresponding to engine number FDJ1, as well as the data enable signal carrying the function partition identifier corresponding to the first function partition, to each auxiliary terminal.

[0095] like Figure 3As shown in (a), as the FDJ1 engine is transported on the assembly line, it first passes through auxiliary terminal 0. At this time, the flashing terminal T1 on the FDJ1 engine connects to auxiliary terminal 0 via a short-range communication network. Under the control of the received data enable signal, auxiliary terminal 0 uses the flashing sub-data E1 corresponding to the first functional partition as the target flashing sub-data and sends the flashing sub-data E1 to flashing terminal T1 via the short-range communication network. Flashing terminal T1 flashes the data of the first functional partition of the FDJ1 engine ECU according to the received flashing sub-data E1.

[0096] like Figure 3 As shown in (b), as the FDJ1 engine continues to transmit data, it gradually moves away from auxiliary terminal 0 and closer to auxiliary terminal 1. At this point, the FDJ1 engine switches to a communication connection with auxiliary terminal 1. Auxiliary terminal 1 continues to send the flashing sub-data E1 to flashing terminal T1 via a short-range communication network to ensure that flashing terminal T1 continuously flashes the ECU. The FDJ1 engine ECU is flashed in this "relay" manner until the flashing sub-data E1 is completed.

[0097] In some embodiments, after the flashing terminal 230 recognizes that the target flashing sub-data has been flashed, it generates flashing feedback information and sends the flashing feedback information to the automatic flashing processing device 210. The flashing feedback information includes the engine number, flashing status, and node information of the auxiliary terminal.

[0098] For example, the flashing feedback information sent by the flashing terminal T1 to the automatic flashing processing device 210 can be represented as: FDJ1+E1+2. This flashing feedback information is used to inform the automatic flashing processing device 210 that it is currently flashing data for the ECU of the FDJ1 engine, and that the flashing sub-data E1 corresponding to the first functional partition of the ECU has been flashed, and that the FDJ1 engine is being transmitted to the auxiliary terminal 2.

[0099] In some embodiments, when the automatic flashing processing device 210 receives flashing feedback information from the flashing terminal connected to the first engine on the production line, the automatic flashing processing device 210 determines the current auxiliary terminal among K auxiliary terminals based on the node information of the auxiliary terminals included in the received flashing feedback information; and takes the auxiliary terminal located after the current auxiliary terminal as the target auxiliary terminal.

[0100] Taking K auxiliary terminals along the production line as an example, where they are arranged sequentially from auxiliary terminal 0 to auxiliary terminal K-1,

[0101] When the automatic flashing processing device 210 receives the flashing feedback information FDJ1+E1+2, the node information 2 of the auxiliary terminal in the information is used to represent that the current engine transmits to the auxiliary terminal 2 corresponding to the area, at this time, the automatic flashing processing device 210 will take the subsequent auxiliary terminal, i.e. auxiliary terminal 3-auxiliary terminal K-1, as the target auxiliary terminal, and send the data enable signal carrying the new function partition identifier to the auxiliary terminal 3-auxiliary terminal K-1.

[0102] In some embodiments, the function partition identifier carried in the data enable signal received by the target auxiliary terminal can be determined by the following:

[0103] The automatic flashing processing device 210 identifies the first flashing state included in the first flashing feedback information; when the first flashing state indicates that the flashing of the i-th function partition corresponding flashing sub-data is completed, the data enable signal is generated according to the function partition identifier corresponding to the i+1-th function partition, wherein i is a positive integer, and the first flashing feedback information is the flashing feedback information sent by the flashing terminal 230 connected with the current engine to the automatic flashing processing device.

[0104] In a specific implementation, when the automatic flashing processing device 210 receives the flashing feedback information FDJ1+E1+2, the automatic flashing processing device 210 identifies the flashing state E1 in the information, that is, it can be confirmed that the flashing of the first function partition of the ECU corresponding to the flashing sub-data E1 has been completed, at this time, the automatic flashing processing device 210 will generate a data enable signal carrying the function identifier corresponding to the second function partition, and send the data enable signal to the auxiliary terminal 3-auxiliary terminal K-1.

[0105] After the auxiliary terminal 3-auxiliary terminal K-1 receives the data enable signal, under the control of the data enable signal, the flashing sub-data E2 is taken as the target flashing sub-data, and the flashing sub-data E2 is sent to the flashing terminal connected with the FDJ1 engine. After the flashing terminal connected with the FDJ1 engine receives the flashing sub-data E2, the data flashing for the second function partition of the ECU of the FDJ1 engine is started.

[0106] As Figure 3In (c), when the FDJ1 engine is transmitted to the position where the auxiliary terminal 2 is located, the writing terminal connected with the FDJ1 engine sends the writing feedback information FDJ1+E1+2 to the automatic writing processing device 210. At this time, the automatic writing processing device 210 will send the data enable signal carrying the function identifier corresponding to the second function partition to the subsequent auxiliary terminals, i.e. auxiliary terminal 3-auxiliary terminal K-1, according to the node information 2 of the auxiliary terminal and the writing state E1 in the received writing feedback information. In this way, the subsequent auxiliary terminals will send the writing sub-data E2 to the writing terminal connected with the FDJ1 engine under the control of the data enable signal.

[0107] As Figure 3 As shown in (d), with the continuous transmission of the FDJ1 engine, the FDJ1 engine will sequentially establish communication connection with part of the auxiliary terminals in the auxiliary terminal 3-auxiliary terminal K-1 to perform the writing of the writing sub-data E2.

[0108] The data writing operation of the subsequent function partition of the ECU of the FDJ1 engine is similar to the above-mentioned embodiment, and thus will not be described again. When the FDJ1 engine is transmitted to the position where the last auxiliary terminal is located, the writing of all data of the ECU is completed, i.e. the writing of the writing sub-data E1-Ei is completed.

[0109] In some embodiments, when the automatic writing processing device 210 determines that the current engine is not the first engine on the assembly line according to the engine number, the automatic writing processing device 210 performs the following operations:

[0110] In step S201, according to the engine number included in the writing feedback information, the first writing feedback information and the second writing feedback information are determined in the writing feedback information received by itself, wherein the first writing feedback information is the writing feedback information sent by the writing terminal connected with the current engine to the automatic writing processing device, and the second writing feedback information is the writing feedback information sent by the writing terminal connected with the previous engine of the current engine to the automatic writing processing device.

[0111] Taking the current engine as the FDJ2 engine as an example, as Figure 3 As shown in (c), the FDJ1 engine is transmitted to the position where the auxiliary terminal 2 is located, and the FDJ2 engine is transmitted to the position where the auxiliary terminal 0 is located. At this time, the automatic writing processing device 210 will take the writing feedback information sent by the writing terminal connected with the FDJ2 engine as the first writing feedback information, and take the writing feedback information sent by the writing terminal connected with the FDJ1 engine as the second writing feedback information.

[0112] Step S202: Based on the first flashing feedback information and the second flashing feedback information, determine the target auxiliary terminal among the K auxiliary terminals; and based on the first flashing feedback information, determine the functional partition identifier carried in the data enable signal.

[0113] In some embodiments, the automatic flashing processing device 210 determines a first auxiliary terminal among K auxiliary terminals based on the first node information of the auxiliary terminal included in the first flashing feedback information, and determines a second auxiliary terminal among K auxiliary terminals based on the second node information of the auxiliary terminal included in the second flashing feedback information; and takes the auxiliary terminal between the first auxiliary terminal and the second auxiliary terminal as the target auxiliary terminal.

[0114] like Figure 3 As shown in (d), the FDJ1 engine transmits data to the location of the auxiliary terminal 4, and the FDJ2 engine transmits data to the location of the auxiliary terminal 2. The automatic flashing processing device 210 receives the flashing feedback information from the flashing terminal connected to the FDJ2 engine as: FDJ2+E1+2, and the flashing feedback information from the flashing terminal connected to the FDJ1 engine as: FDJ1+E2+4.

[0115] At this time, the automatic flashing processing device 210 determines, based on the flashing feedback information FDJ1+E2+4, that the ECU of the FDJ1 engine has completed the flashing of the flashing sub-data E2 at the location of the auxiliary terminal 4. It will then send a data enable signal carrying the function identifier corresponding to the third functional partition to the auxiliary terminals 5 to K-1, so that the auxiliary terminal receiving the data enable signal will send the flashing sub-data E3 to the flashing terminal connected to the FDJ1 engine, and start flashing the data of the third functional partition in the ECU of the FDJ1 engine.

[0116] Simultaneously, the automatic flashing processing device 210, based on the flashing feedback information FDJ2+E1+2, determines that the ECU of the FDJ2 engine has completed the flashing of sub-data E1 at the location of auxiliary terminal 2. At this point, auxiliary terminal 2 is designated as the first auxiliary terminal, and combined with the flashing feedback information FDJ1+E2+4, auxiliary terminal 4 is designated as the second auxiliary terminal. Since the auxiliary terminal between auxiliary terminal 2 and auxiliary terminal 4 is auxiliary terminal 5, the automatic flashing processing device 210 sends a data enable signal carrying the function identifier corresponding to the second functional partition to auxiliary terminal 3. After receiving the data enable signal, auxiliary terminal 3 sends the flashing sub-data E2 from the target flashing data corresponding to the FDJ2 engine to the auxiliary terminal connected to the FDJ2 engine, and begins flashing the data of the second functional partition in the ECU of the FDJ2 engine.

[0117] In the automatic writing system of the engine ECU provided by the embodiment of the present application, the short-distance communication network is used to realize the relay data transmission between each auxiliary terminal and the writing terminal connected with the current engine, so that the data transmission pressure of the auxiliary terminal and the data cache pressure of the writing terminal are effectively reduced, the efficiency and stability of the wireless transmission are improved, and the accuracy, stability and efficiency of the automatic data writing are effectively ensured.

[0118] In addition, the number of the auxiliary terminals in the embodiment of the present application can be flexibly set according to the pipeline speed and the carrying capacity of the pipeline, and the embodiment of the present application does not make any limitation on this. If the data writing is not completed when the engine passes through the pipeline, the professional personnel needs to intervene to troubleshoot the writing problem.

[0119] The overall working process of the automatic writing system of the engine ECU provided by the embodiment of the present application will be specifically introduced as follows. Figure 4 As shown in the figure, the following steps are included.

[0120] In step S401, the writing data and the first corresponding relationship table designed in advance are stored in the database component of the automatic writing processing device.

[0121] In step S402, the scanning device scans the engine located in the scanning area and returns the engine code obtained to the automatic writing processing device.

[0122] In step S403, the automatic writing processing device determines the target writing data corresponding to the engine code according to the received engine code, and sends the target writing data and the data enable signal carrying the function partition identifier 1 to each auxiliary terminal.

[0123] In step S404, the auxiliary terminal receives the target writing data, and according to the function partition identifier 1 in the data enable signal, sends the writing sub-data E1 in the target writing data to the writing terminal connected with the engine.

[0124] In step S405, the writing terminal establishes a communication connection with the adjacent auxiliary terminal through the short-distance communication network, and receives the writing sub-data E1 from the auxiliary terminal through the communication connection to perform the data writing of the function partition 1 of the ECU.

[0125] In step S406, the writing terminal sends the writing feedback information to the automatic writing processing device after identifying that the data writing of the function partition 1 is completed.

[0126] In step S407, the automatic writing processing device generates a new data enable signal according to the received writing feedback information, determines the target auxiliary terminal, and sends the data enable signal to the target auxiliary terminal.

[0127] The function partition identifier carried by the generated data enable signal this time is the function partition identifier carried by the last generated data enable signal plus 1.

[0128] In step S408, the target auxiliary terminal sends the target flashing sub-data corresponding to the function partition identifier in the target flashing data to the flashing terminal connected to the engine according to the function partition identifier in the received data enable signal.

[0129] In step S409, the flashing terminal receives the target flashing sub-data from the target auxiliary terminal to perform data flashing of the corresponding function partition of the ECU.

[0130] In step S410, the flashing terminal sends the flashing feedback information to the automatic flashing processing device after identifying that the data flashing of the corresponding function partition is completed.

[0131] After the first execution of step S410, steps S407-S410 are repeatedly executed until the engine goes through the pipeline and the data flashing is completed.

[0132] Based on the same concept, the embodiment of the present application also provides an automatic flashing method of an engine ECU, which is applied to the automatic flashing system of the engine ECU provided in any of the above embodiments. Since the method is the method executed by the automatic flashing system of the engine ECU in the embodiment of the present application, and the principle of solving problems of the method is similar to that of the automatic flashing system of the engine ECU, the implementation of the method can be referred to the implementation of the automatic flashing system of the engine ECU, and the repeated parts will not be described herein.

[0133] As shown in FIG. 5, Figure 5 the method comprises the following steps:

[0134] In step S501, the target flashing data is determined by the automatic flashing processing device according to the engine number of the current engine, and the target flashing data is sent to K auxiliary terminals; the target auxiliary terminal is selected from the K auxiliary terminals according to the flashing feedback information from the flashing terminal, and the data enable signal is sent to the target auxiliary terminal, wherein K is a positive integer.

[0135] In step S502, the target flashing sub-data in the target flashing data is sent to the flashing terminal connected to the current engine by the target auxiliary terminal under the control of the data enable signal.

[0136] In step S503, the ECU of the current engine is flashed according to the target flashing sub-data by the flashing terminal, and the flashing feedback information is generated.

[0137] The flash data includes multiple groups of flash sub-data, one group of flash sub-data corresponds to one functional partition in the ECU, the data enable signal carries a functional partition identifier, and the target flash sub-data is determined according to the functional partition identifier.

[0138] While the preferred embodiments of the application have been described, additional variations and modifications can be made to the embodiments by those skilled in the art once they learn of the basic inventive concepts. Therefore, the appended claims are intended to encompass within their scope all possible variations and modifications of the preferred embodiments.

[0139] Obviously, various modifications and changes can be made to the present application by those skilled in the art without departing from the spirit and scope of the application. Accordingly, it is intended that the present application embrace all such modifications and changes as fall within the scope of the appended claims and their equivalents.

Claims

1. An automatic flashing system for an engine electronic control unit (ECU), characterized in that, It includes an automatic writing and flashing processing device, K auxiliary terminals, and a writing and flashing terminal. The K auxiliary terminals are spaced apart along the pipeline direction, where K is a positive integer. The automatic flashing processing device is used to determine the target flashing data according to the engine number of the current engine, and send the target flashing data to the K auxiliary terminals; according to the flashing feedback information from the flashing terminals, select the target auxiliary terminal from the K auxiliary terminals, and send a data enable signal to the target auxiliary terminal, wherein the data enable signal carries a functional partition identifier; The target auxiliary terminal is used to send the target flashing sub-data in the target flashing data to the flashing terminal connected to the current engine under the control of the data enable signal. The flashing data includes multiple sets of flashing sub-data, each set of flashing sub-data corresponding to a functional partition in the ECU. The target flashing sub-data is determined according to the functional partition identifier. The flashing terminal is used to flash the ECU of the current engine according to the target flashing sub-data, and generate the flashing feedback information. The flashing feedback information includes the engine number, flashing status, and node information of the auxiliary terminal; when the current engine is not the first engine on the production line, the automatic flashing processing device is specifically used for: Based on the engine number included in the flashing feedback information, the first flashing feedback information and the second flashing feedback information are determined from the flashing feedback information received by the device itself. The first flashing feedback information is the flashing feedback information sent to the automatic flashing processing device by the flashing terminal connected to the current engine. The second flashing feedback information is the flashing feedback information sent to the automatic flashing processing device by the flashing terminal connected to the previous engine of the current engine. Based on the first flashing feedback information and the second flashing feedback information, the target auxiliary terminal is determined among the K auxiliary terminals, and based on the first flashing feedback information, the functional partition identifier carried in the data enable signal is determined.

2. The system as described in claim 1, characterized in that, The automatic writing processing device is specifically used for: Based on the first node information of the auxiliary terminal included in the first flashing feedback information, a first auxiliary terminal is determined from the K auxiliary terminals, and based on the second node information of the auxiliary terminal included in the second flashing feedback information, a second auxiliary terminal is determined from the K auxiliary terminals. The auxiliary terminal between the first auxiliary terminal and the second auxiliary terminal is taken as the target auxiliary terminal.

3. The system as described in claim 1, characterized in that, The automatic writing processing device is specifically used for: Identify the first flash status included in the first flash feedback information; When the first write state indicates that the write sub-data corresponding to the i-th function partition has been written, the data enable signal is generated according to the function partition identifier corresponding to the (i+1)-th function partition, where i is a positive integer.

4. The system as described in claim 1, characterized in that, The flashing feedback information includes the engine number, flashing status, and node information of the auxiliary terminal; If the current engine is the first engine on the production line, then the automatic flashing / writing processing device is specifically used for: Receive writing feedback information from the writing terminal connected to the first engine; Based on the node information of the auxiliary terminals included in the received flashing feedback information, the current auxiliary terminal is determined from the K auxiliary terminals; The auxiliary terminal located after the current auxiliary terminal is designated as the target auxiliary terminal.

5. The system as described in claim 4, characterized in that, The automatic writing processing device is also used for: The data enable signal is sent to the K auxiliary terminals, wherein the data enable signal carries the function partition identifier corresponding to the first function partition.

6. The system as described in claim 1, characterized in that, The automatic writing processing device is specifically used for: Based on the first correspondence, the flashing data number corresponding to the engine number of the current engine is determined, wherein the first correspondence is used to characterize the correspondence between the engine number and the flashing data number; The flash data corresponding to the determined flash data number in the flash data stored within itself is used as the target flash data.

7. The system as described in claim 1, characterized in that, The auxiliary terminal is connected to the writing terminal via a short-range communication network; The auxiliary terminal is specifically used to: send the target flashing sub-data to the flashing terminal connected to the current engine via a short-range communication network.

8. The system as described in any one of claims 1-7, characterized in that, It also includes scanning devices, among which: The scanning device is connected to the automatic writing processing device, and the scanning device is located on the side of the first auxiliary terminal away from the direction of the production line; The scanning device is used to sequentially scan the engine numbers of the engines on the production line and transmit the engine numbers to the automatic writing processing device.

9. An automatic flashing method for an engine electronic control unit (ECU), characterized in that, include: The automatic flashing processing equipment determines the target flashing data based on the engine number of the current engine and sends the target flashing data to K auxiliary terminals; based on the flashing feedback information from the flashing terminals, a target auxiliary terminal is selected from the K auxiliary terminals and a data enable signal is sent to the target auxiliary terminal, where K is a positive integer; Under the control of the data enable signal, the target flashing sub-data in the target flashing data is sent to the flashing terminal connected to the current engine through the target auxiliary terminal. The flashing data includes multiple sets of flashing sub-data, each set of flashing sub-data corresponding to a functional partition in the ECU. The data enable signal carries a functional partition identifier, and the target flashing sub-data is determined based on the functional partition identifier. The flashing terminal flashes the ECU of the current engine according to the target flashing sub-data and generates the flashing feedback information. The flashing feedback information includes the engine number, flashing status, and node information of the auxiliary terminal; when the current engine is not the first engine on the production line, the automatic flashing processing device is specifically used for: Based on the engine number included in the flashing feedback information, the first flashing feedback information and the second flashing feedback information are determined from the flashing feedback information received by the device itself. The first flashing feedback information is the flashing feedback information sent to the automatic flashing processing device by the flashing terminal connected to the current engine. The second flashing feedback information is the flashing feedback information sent to the automatic flashing processing device by the flashing terminal connected to the previous engine of the current engine. Based on the first flashing feedback information and the second flashing feedback information, the target auxiliary terminal is determined among the K auxiliary terminals, and based on the first flashing feedback information, the functional partition identifier carried in the data enable signal is determined.

Citation Information

Patent Citations

  • CAN FD bus-based parallel flashing method

    CN109828935A

  • Parallel flashing method based on wireless network and parallel flashing system thereof

    CN112162758A