Automatic flashing system and method for ECU (Electronic Control Unit) of engine
By setting up an automatic writing system on the engine production line, using the cooperation of the automatic writing processing equipment and auxiliary terminals and the writing terminals, the automatic data writing of the engine ECU is realized, and the problem of low manual writing efficiency in the prior art is solved. , improves the accuracy and stability of data flushing.
Patent Information
- Application Number
- CN202411365457.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2044-09-29
AI Technical Summary
In the prior art, data flushing of the engine electronic control unit (ECU) relies on manual labor, resulting in low efficiency and cumbersomeness and sorting errors.
Design an automatic writing system for engine ECU, including automatic writing processing equipment, K auxiliary terminals and writing terminals, through automatic writing processing equipment, determine target writing data based on engine number, and transfer data through short-distance communication network The enable signal and target brushing sub-data are transmitted to the auxiliary terminal and brushing terminal to realize automated data brushing to the ECU.
The automatic data flushing of the ECU is realized, which improves the efficiency, stability and accuracy of data flushing, reduces dependence on labor, and avoids sorting errors.
Smart Images

Figure CN119105367A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of engine production, and in particular to an automatic flashing system and method for an engine electronic control unit ECU. Background Art
[0002] During the engine end of line (EOL) process, the engine's electronic control unit (ECU) needs to be flashed. However, due to different development requirements, different types of ECUs have different flashing data. Therefore, in actual applications, ECUs need to be flashed according to their types.
[0003] At present, in the process of classifying and flashing ECUs, multiple professionals are needed to be responsible for ECU sorting, posting barcodes, scanning barcodes and flashing data, sorting and delivery, etc. The whole process is very cumbersome and relies on manual labor, and the efficiency of data flashing is low. Summary of the invention
[0004] The invention provides an automatic flashing system and method for an engine electronic control unit ECU, which are used to solve the problem that in the prior art, data flashing of the ECU is performed by professionals, resulting in low efficiency in flashing data of the ECU.
[0005] In a first aspect, an embodiment of the present invention provides an automatic flashing system for an engine ECU, comprising an automatic flashing processing device, K auxiliary terminals and a flashing terminal, wherein the K auxiliary terminals are arranged at intervals along the pipeline direction, and K is a positive integer, wherein:
[0006] The automatic flash processing device is used to determine the target flash data according to the engine number of the current engine, and send the target flash data to the K auxiliary terminals; select a target auxiliary terminal from the K auxiliary terminals according to the flash feedback information from the flash terminal, and send a data enable signal to the target auxiliary terminal, wherein the data enable signal carries a functional partition identifier;
[0007] 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, wherein the flashing data includes multiple groups of flashing sub-data, one group of flashing sub-data corresponds to a functional partition in the ECU, and the target flashing sub-data is determined according to the functional partition identifier;
[0008] The flashing terminal is used to flash the data of the ECU of the current engine according to the target flashing sub-data and generate the flashing feedback information.
[0009] In an optional embodiment, the flashing feedback information includes the engine number, the flashing status and the node information of the auxiliary terminal;
[0010] If the current engine is not the first engine on the assembly line, the automatic flash processing device is specifically used to:
[0011] According to the engine number included in the flashing feedback information, determining the first flashing feedback information and the second flashing feedback information in the flashing feedback information received by itself;
[0012] Determine the target auxiliary terminal among the K auxiliary terminals according to the first flashing feedback information and the second flashing feedback information; and determine the function partition identifier carried in the data enable signal according to the first flashing feedback information;
[0013] Among them, 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, and 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.
[0014] In an optional embodiment, the automatic flash processing device is specifically used for:
[0015] Determine a first auxiliary terminal from the K auxiliary terminals according to the first node information of the auxiliary terminal included in the first flashing feedback information, and determine a second auxiliary terminal from the K auxiliary terminals according to the second node information of the auxiliary terminal included in the second flashing feedback information;
[0016] An auxiliary terminal between the first auxiliary terminal and the second auxiliary terminal is used as the target auxiliary terminal.
[0017] In an optional embodiment, the automatic flash processing device is specifically used for:
[0018] Identifying a first flashing state included in the first flashing feedback information;
[0019] When the first flushing state indicates that the flushing of the flushing sub-data corresponding to the i-th functional partition is completed, the data enable signal is generated according to the functional partition identifier corresponding to the i+1-th functional partition, where i is a positive integer.
[0020] In an optional embodiment, the flashing feedback information includes the engine number, the flashing status and the node information of the auxiliary terminal;
[0021] If the current engine is the first engine on the assembly line, the automatic flash processing device is specifically used to:
[0022] Receiving 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 the node information of the auxiliary terminal included in the received flash feedback information;
[0024] The auxiliary terminal located after the current auxiliary terminal is used as the target auxiliary terminal.
[0025] In an optional embodiment, the automatic flash processing device is further used for:
[0026] The data enable signal is sent to the K auxiliary terminals, wherein the data enable signal carries a functional partition identifier corresponding to the first functional partition.
[0027] In an optional embodiment, the automatic flash processing device is specifically used for:
[0028] Based on a first corresponding relationship, determining a flash data number corresponding to the engine number of the current engine, wherein the first corresponding relationship is used to characterize a corresponding relationship between the engine number and the flash data number;
[0029] The flash data corresponding to the determined flash data number in the flash data stored in the self is used as the target flash data.
[0030] In an optional embodiment, the auxiliary terminal is connected to the flashing terminal via a short-range communication network;
[0031] 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-distance communication network.
[0032] In an optional embodiment, the automatic flashing system of the engine ECU further includes 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 direction of the assembly line;
[0034] The scanning device is used to scan the engine numbers of the engines on the assembly line in sequence and transmit the engine numbers to the automatic flash processing device.
[0035] In a second aspect, an embodiment of the present invention provides an automatic flashing method for an engine ECU, comprising:
[0036] By means of the automatic flash processing device, target flash data is determined according to the engine number of the current engine, and the target flash data is sent to K auxiliary terminals; according to the flash feedback information from the flash terminal, a target auxiliary terminal is selected from the K auxiliary terminals, and a data enable signal is sent to the target auxiliary terminal, wherein K is a positive integer;
[0037] 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;
[0038] By means of the flashing terminal, data is flashed to the ECU of the current engine according to the target flashing sub-data, and the flashing feedback information is generated;
[0039] The flash data includes multiple groups of flash sub-data, one group of flash sub-data corresponds to a 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.
[0040] The technical solution provided by the embodiments of the present invention brings at least the following beneficial effects:
[0041] In the automatic flashing system of the engine ECU disclosed in the embodiment of the present invention, K auxiliary terminals are set along the pipeline direction, the flashing terminal is connected to the engine ECU, and the engine is transmitted on the pipeline; the automatic flashing processing device will obtain the engine number of the current engine, and send the corresponding target flashing data to each auxiliary terminal according to the engine number, and send a data enable signal carrying the functional partition identification to the auxiliary terminal according to the flashing feedback information from the flashing terminal connected to the engine; under the control of the data enable signal, the auxiliary terminal transmits the target flashing sub-data corresponding to the carried functional partition identification in the target flashing data to the flashing terminal connected to the engine; the flashing terminal performs data flashing on the ECU of the engine according to the received target flashing sub-data, and generates flashing feedback information fed back to the automatic flashing processing device. 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. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0043] Figure 1 A flow chart of offline data flashing and online release of an engine ECU provided for related technologies;
[0044] Figure 2 A schematic diagram of the structure of an automatic flashing system for an engine ECU provided by an embodiment of the present invention;
[0045] Figure 3 A schematic diagram of a process flow of automatically flashing an engine ECU by an automatic flashing system provided by an embodiment of the present invention;
[0046] Figure 4 A schematic diagram of the overall working process of an automatic flashing system for an engine ECU provided by an embodiment of the present invention;
[0047] Figure 5 A schematic diagram of the workflow of an automatic flashing method for an engine ECU provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0049] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0050] When the engine is offline, the engine's ECU needs to be flashed to ensure that the ECU functions normally during actual use. However, due to different development requirements, different types of ECUs have different flashing data. Therefore, in actual applications, ECUs need to be flashed according to their types.
[0051] Figure 1 The figure shows a flow chart of the process of flashing offline data of the ECU of an engine and putting it online provided by a related technology. Figure 1 As shown, before the engine goes down the assembly line, the ECU data can be flashed in the following order:
[0052] Step 101, print barcodes according to the production plan and hardware part numbers;
[0053] Step 102, posting a barcode;
[0054] Step 103, scan the barcode and flash the ECU;
[0055] Step 104, storing the ECU according to the hardware part number.
[0056] The entire process of step 101 to step 104 can be performed under the control of a manufacturing execution system (MES). Specifically, MES specifies a production schedule according to a production plan, and controls the orderly execution of the above steps 101 to step 104 according to the production schedule.
[0057] After the engine ECU is flashed and stored accordingly, when it is necessary to feed, such as Figure 1 As shown, the ECU can be put online and fed in the following order:
[0058] Step 105, pull the barcode according to the professional factory band;
[0059] Step 106, the professional factory locks the online execution order;
[0060] Step 107, ECU sorting;
[0061] Step 108, deploy ECU.
[0062] The entire process from step 105 to step 108 may be performed under the control of MES or Logistics Execution System (LES).
[0063] exist Figure 1 In the production process, multiple professionals are required to post barcodes, scan barcodes and flash data, sort and deliver ECUs, etc. The whole process is very cumbersome and manual, and the efficiency of data flashing is low. In addition, after multiple sorting and circulation, there will be sorting errors. Therefore, an automated ECU data flashing system is urgently needed to improve the professionalism and effectiveness of ECU flashing.
[0064] Based on this, an embodiment of the present invention provides an automatic flashing system and method for an engine electronic control unit ECU, so as to realize automatic data flashing operation of the engine ECU during the process of the engine being offline, thereby ensuring the accuracy, stability and efficiency of the data flashing.
[0065] The purpose, features and advantages of the present invention will be further described in conjunction with the embodiments and with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0066] The automatic flashing system of the engine ECU provided by the embodiment of the present invention is specifically introduced below in conjunction with the accompanying drawings:
[0067] Figure 2 A schematic diagram of the structure of an automatic flashing system for an engine ECU is shown. Figure 2 As shown, 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 flash processing device 210 is connected to the auxiliary terminal 220 and the flash terminal 230 respectively. The auxiliary terminal 220 is connected to the flash terminal 230. The flash terminal 230 is connected to the ECU of the engine 300. K auxiliary terminals 220 are arranged at intervals along the pipeline direction, and K is a positive integer.
[0069] In some embodiments, the auxiliary terminal 220 and the flashing terminal 230 can be connected via a short-distance communication network, wherein the short-distance communication network in the embodiments of the present invention may include any existing and future developed short-distance communication networks, such as but not limited to Bluetooth communication, near field communication (NFC), infrared communication, and Zigbee communication, etc.
[0070] In a specific implementation, the flashing terminal 230 and the ECU of the engine 300 may be connected via a data transmission line, and the flashing terminal 230 will be transmitted on the assembly line together with the engine 300 connected thereto.
[0071] Combine the following Figure 2 The structure shown in the figure specifically describes the functions of each device in the automatic flashing system 200:
[0072] The automatic flash processing device 210 is used to determine the target flash data according to the engine number of the current engine, and send the target flash data to K auxiliary terminals 220; according to the flash feedback information from the flash terminal 230, select the target auxiliary terminal from the K auxiliary terminals 220, and send a data enable signal to the target auxiliary terminal, wherein the data enable signal carries a functional partition identifier.
[0073] The target auxiliary terminal is used to send the target flashing sub-data in the target flashing data to the flashing terminal 230 connected to the current engine under the control of the data enable signal, wherein the flashing data includes multiple groups of flashing sub-data, one group of flashing sub-data corresponds to a 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 used to flash the data of 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 flash data corresponding to an engine in the embodiment of the present invention includes multiple groups of flash sub-data, and one group of flash sub-data corresponds to a functional partition in the ECU. For example, the flash data can be expressed as: Data_V1 (E1+E2+E3+…+Ei), where Data_V1 is used to indicate the data number of the flash data, E1~Ei respectively represent the multiple groups of flash sub-data included in the flash data, and the flash sub-data E1 is the flash data corresponding to the functional partition 1 in the ECU of the engine corresponding to the flash data, and the flash sub-data E2 is the flash data corresponding to the functional partition 2 in the aforementioned ECU, and so on.
[0076] In a specific implementation, the automatic flash processing device 210 in the embodiment of the present invention may be an automatic flash platform, which may 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 invention does not impose any limitation on this.
[0077] In the above automatic flashing system 200, the automatic flashing processing device 210 obtains the engine number of the current engine, and sends the corresponding target flashing data to each auxiliary terminal 220 according to the engine number, and sends a data enable signal carrying the functional partition identifier to the auxiliary terminal 220 according to the flashing feedback information from the flashing terminal 230 connected to the engine;
[0078] Under the control of the data enable signal, 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; the flashing terminal 230 flashes the data of the engine's ECU according to the received target flashing sub-data, and generates flashing feedback information to be fed back to the automatic flashing processing device 210.
[0079] Through the mutual cooperation of the automatic flashing processing equipment, auxiliary terminal and flashing terminal in the automatic flashing system, automatic data flashing of the engine ECU can be achieved without relying on manual assistance, so as to ensure the efficiency, stability and accuracy of data flashing.
[0080] In some embodiments, Figure 2 As shown, the automatic flashing system 200 further includes a scanning device 240, which is connected to the automatic flashing processing device 210 and is disposed on a side of the first auxiliary terminal 220 away from the direction of the assembly line. The scanning device 240 is used to sequentially scan the engine numbers of the engines 300 on the assembly line and transmit the engine numbers to the automatic flashing processing device 210.
[0081] In a specific implementation, when the engine 300 is transferred to its corresponding scanning area, the scanning device 240 scans the engine barcode pasted on the engine 300 to obtain the engine number corresponding to the engine 300, and transmits the engine number back to the automatic flash processing device 210.
[0082] In some embodiments, a database component is designed in the automatic flash processing device 210, in which a plurality of flash data are pre-stored and a first corresponding relationship is pre-set, and the first corresponding relationship is used to characterize the corresponding relationship between the engine number and the flash data number.
[0083] In a specific implementation, the first corresponding relationship may exist in the form of a data relationship table. For ease of understanding, the following table shows an example of the first corresponding relationship:
[0084]
[0085]
[0086] Table 1
[0087] As can be seen from Table 1, the engine with engine number FDJ1 has a corresponding flash data number Data_V1, and the engine with engine number FDJ2 has a corresponding flash data number Data_V1. Therefore, in the embodiment of the present invention, the relationship between the engine and the flash data is many-to-one, that is, engines with different engine numbers can correspond to the same flash data. However, the automatic flash processing device 210 can lock the flash data that uniquely corresponds to the engine with the engine number according to the acquired engine number.
[0088] In some embodiments, the automatic flash processing device 210 determines the flash data number corresponding to the engine number of the current engine based on the first corresponding relationship; and uses the flash data corresponding to the determined flash data number in the flash data stored in itself as the target flash data.
[0089] Taking the engine number of the current engine as FDJ3 as an example, in the specific implementation, combined with Table 1, it can be seen that the automatic flash processing device 210 can determine that the flash data number corresponding to the engine number FDJ3 is Data_V2 according to the first corresponding relationship shown in Table 1; then, the flash data corresponding to the flash data number Data_V2 is used as the target flash data of the engine ECU corresponding to the engine number FDJ3, and the target flash data is sent to each auxiliary terminal 220.
[0090] In addition, when the automatic flash processing device 210 determines that the current engine is the first engine on the assembly line based on the engine number, the automatic flash processing device 210 is also used to: while sending the target flash data to K auxiliary terminals 220, it also sends a data enable signal to the K auxiliary terminals 220, wherein the data enable signal carries the functional partition identifier corresponding to the first functional partition.
[0091] In a specific implementation, when it is determined that the current engine is the first engine on the assembly line, the automatic flash processing device 210 will send the determined target flash data and data enable signal to the K auxiliary terminals 220. At this time, the functional partition identifier carried in the data enable signal sent to the K auxiliary terminals 220 corresponds to the first functional partition of the ECU.
[0092] After the K auxiliary terminals 220 receive the data enable signal, under the control of the data enable signal, they send the flash sub-data E1 corresponding to the first functional partition to the flash terminal connected to the first engine through the short-distance communication network; the flash terminal will flash the data of the first functional partition of the ECU according to the received flash sub-data E1.
[0093] In some embodiments, the auxiliary terminal 220 is connected to the flashing terminal 230 via a short-distance communication network; the auxiliary terminal 220 may send the target flashing sub-data to the flashing terminal 230 connected to the current engine via the short-distance communication network.
[0094] Figure 3 The figure shows a schematic diagram of the process flow of an automatic flashing system for automatically flashing an engine ECU. Figure 3 As shown, FDJ1 is the first engine number on the assembly line. When the FDJ1 engine passes through the scanning area, the automatic flash processing device 210 will send the target flash data corresponding to the engine number FDJ1 and the data enable signal carrying the functional partition identifier corresponding to the first functional partition to each auxiliary terminal.
[0095] like Figure 3As shown in (a), as the FDJ1 engine is transmitted on the assembly line, it will first pass through the auxiliary terminal 0. At this time, the flash terminal T1 on the FDJ1 engine will be connected to the auxiliary terminal 0 through the short-distance communication network. Under the control of the received data enable signal, the auxiliary terminal 0 takes the flash sub-data E1 corresponding to the first functional partition as the target flash sub-data, and sends the flash sub-data E1 to the flash terminal T1 through the short-distance communication network. The flash terminal T1 flashes the first functional partition of the ECU of the FDJ1 engine according to the received flash sub-data E1.
[0096] like Figure 3 As shown in (b), as the FDJ1 engine continues to transmit, the FDJ1 engine will gradually move away from the auxiliary terminal 0 and gradually approach the auxiliary terminal 1. At this time, the FDJ1 engine will switch to the communication connection with the auxiliary terminal 1. The auxiliary terminal 1 will continue to send the flash sub-data E1 to the flash terminal T1 through the short-distance communication network to ensure that the flash terminal T1 continues to flash the ECU data. The ECU of the FDJ1 engine is flashed in the above-mentioned "relay" manner until the flash sub-data E1 is completed.
[0097] In some embodiments, after identifying that the target flash sub-data is flashed, the flash terminal 230 generates flash feedback information and sends the flash feedback information to the automatic flash processing device 210, wherein the flash feedback information includes the engine number, flash status and node information of the auxiliary terminal.
[0098] Exemplarily, the flashing feedback information sent by the flashing terminal T1 to the automatic flashing processing device 210 can be expressed as: FDJ1+E1+2. The flashing feedback information is used to inform the automatic flashing processing device 210 that data is currently being flashed for the ECU of the FDJ1 engine, and the flashing sub-data E1 corresponding to the first functional partition of the ECU has been flashed, and 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 sent from a flashing terminal connected to the first engine on the assembly line, the automatic flashing processing device 210 determines the current auxiliary terminal among the K auxiliary terminals based on the node information of the auxiliary terminal included in the received flashing feedback information; and selects the auxiliary terminal located after the current auxiliary terminal as the target auxiliary terminal.
[0100] For example, K auxiliary terminals are arranged in the order of auxiliary terminal 0 to auxiliary terminal K-1 along the pipeline direction.
[0101] When the flashing feedback information received by the automatic flashing processing device 210 is FDJ1+E1+2, the node information 2 of the auxiliary terminal is used to represent that the current engine is transmitted to the area corresponding to the auxiliary terminal 2. At this time, the automatic flashing processing device 210 will use the subsequent auxiliary terminals, namely auxiliary terminal 3 to auxiliary terminal K-1, as the target auxiliary terminals, and send a data enable signal carrying a new functional partition identifier to the auxiliary terminals 3 to auxiliary terminal K-1.
[0102] In some embodiments, the function partition identifier carried in the data enable signal received by the target auxiliary terminal may be determined as follows:
[0103] The automatic flash processing device 210 identifies the first flash status included in the first flash feedback information; when the first flash status indicates that the flashing of the flash sub-data corresponding to the i-th functional partition is completed, a data enable signal is generated according to the functional partition identifier corresponding to the i+1-th functional partition, wherein i is a positive integer and the first flash feedback information is the flash feedback information sent to the automatic flash processing device by the flash terminal 230 connected to the current engine.
[0104] In a specific implementation, when the flash feedback information received by the automatic flash processing device 210 is FDJ1+E1+2, the automatic flash processing device 210 identifies the flash state E1 therein, and can confirm that the flash sub-data E1 corresponding to the first functional partition of the ECU has been flashed. At this time, the automatic flash processing device 210 will generate a data enable signal carrying a function identifier corresponding to the second functional partition, and send the data enable signal to the auxiliary terminal 3~auxiliary terminal K-1.
[0105] After receiving the data enable signal, the auxiliary terminal 3 to the auxiliary terminal K-1 take the flash sub-data E2 as the target flash sub-data under the control of the data enable signal, and send the flash sub-data E2 to the flash terminal connected to the FDJ1 engine. After receiving the flash sub-data E2, the flash terminal connected to the FDJ1 engine starts to flash data for the second functional partition of the ECU of the FDJ1 engine.
[0106] like Figure 3As shown in (c), when the FDJ1 engine is transmitted to the location of the auxiliary terminal 2, the flashing terminal connected to the FDJ1 engine sends the flashing feedback information FDJ1+E1+2 to the automatic flashing processing device 210. At this time, the automatic flashing processing device 210 will send a data enable signal carrying the function identifier corresponding to the second functional partition to the subsequent auxiliary terminals, that is, auxiliary terminal 3 to auxiliary terminal K-1, according to the node information 2 and the flashing state E1 of the auxiliary terminal in the received flashing feedback information. In this way, the subsequent auxiliary terminal will send the flashing sub-data E2 to the flashing terminal connected to the FDJ1 engine under the control of the data enable signal.
[0107] like Figure 3 As shown in (d), as the FDJ1 engine continues to transmit, the FDJ1 engine will sequentially establish communication connections with some of the auxiliary terminals in the auxiliary terminal 3 to the auxiliary terminal K-1 to perform the flashing of the sub-data E2.
[0108] The data flashing operation of the subsequent functional partitions of the ECU of the FDJ1 engine is similar to the above embodiment, so it will not be repeated. When the FDJ1 engine passes the location of the last auxiliary terminal, the flashing of all the data of its ECU is completed, that is, the flashing of all the sub-data E1~Ei is completed.
[0109] In some embodiments, when the automatic flash processing device 210 determines that the current engine is not the first engine on the assembly line according to the engine number, the automatic flash processing device 210 performs the following operations:
[0110] Step S201, according to the engine number included in the flashing feedback information, determine the first flashing feedback information and the second flashing feedback information in the flashing feedback information received by itself, wherein 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, and 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.
[0111] Take the current engine as FDJ2 engine as an example, Figure 3 As shown in (c), the FDJ1 engine transmits to the location of the auxiliary terminal 2, and the FDJ2 engine transmits to the location of the auxiliary terminal 0. At this time, the automatic flashing processing device 210 will use the flashing feedback information sent by the flashing terminal connected to the FDJ2 engine as the first flashing feedback information, and will use the flashing feedback information sent by the flashing terminal connected to the FDJ1 engine as the second flashing feedback information.
[0112] Step S202: determining a target auxiliary terminal among the K auxiliary terminals according to the first flashing feedback information and the second flashing feedback information; and determining a functional partition identifier carried in the data enable signal according to the first flashing feedback information.
[0113] In some embodiments, the automatic flash 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 flash feedback information, and determines a second auxiliary terminal among the K auxiliary terminals based on the second node information of the auxiliary terminal included in the second flash 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 to the location of the auxiliary terminal 4, and the FDJ2 engine transmits 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: FDJ2+E1+2, and receives the flashing feedback information from the flashing terminal connected to the FDJ1 engine: FDJ1+E2+4.
[0115] At this time, the automatic flash processing device 210 determines that the ECU of the FDJ1 engine has completed the flashing of the sub-data E2 at the location of the auxiliary terminal 4 based on the flashing feedback information FDJ1+E2+4, and will send a data enable signal carrying the function identifier corresponding to the third functional partition to the auxiliary terminal 5~auxiliary terminal K-1, so that the auxiliary terminal that receives the data enable signal sends the flashing sub-data E3 to the flashing terminal connected to the FDJ1 engine, and starts data flashing of the third functional partition in the ECU of the FDJ1 engine.
[0116] At the same time, the automatic flash processing device 210 determines that the ECU of the FDJ2 engine has completed the flashing of the sub-data E1 at the location of the auxiliary terminal 2 based on the flashing feedback information FDJ2+E1+2. At this time, the auxiliary terminal 2 will be used as the first auxiliary terminal, and combined with the flashing feedback information FDJ1+E2+4, the auxiliary terminal 4 will be used as the second auxiliary terminal. Since the auxiliary terminal between the auxiliary terminal 2 and the auxiliary terminal 4 is the auxiliary terminal 5, the automatic flash processing device 210 will send a data enable signal carrying the function identifier corresponding to the second functional partition to the auxiliary terminal 3. After receiving the data enable signal, the auxiliary terminal 3 will send the flash sub-data E2 in the target flashing data corresponding to the FDJ2 engine to the auxiliary terminal connected to the FDJ2 engine, and start data flashing of the second functional partition in the ECU of the FDJ2 engine.
[0117] In the automatic flashing system of the engine ECU provided by the embodiment of the present invention, "relay-type" data transmission is achieved between each auxiliary terminal and the flashing terminal currently connected to the engine through a short-distance communication network. Therefore, the data transmission pressure of the auxiliary terminal and the data cache pressure of the flashing terminal are effectively reduced, the efficiency and stability of the wireless transmission are improved, and the accuracy, stability and efficiency of the automatic data flashing are effectively guaranteed.
[0118] In addition, the number of auxiliary terminals in the embodiment of the present invention can be flexibly set according to the speed of the assembly line and the carrying capacity of the assembly line, and the embodiment of the present invention does not impose any restrictions on this. If the data flashing is not completed when the engine has completed the assembly line, professional personnel need to intervene to troubleshoot the flashing problem.
[0119] The overall working process of the automatic flash writing system for the engine ECU provided by the embodiment of the present invention is specifically introduced below. Figure 4 As shown, the following steps are included:
[0120] Step S401, storing the flashing data and the pre-designed first correspondence table in a database component of the automatic flashing processing device;
[0121] Step S402, the scanning device scans the engine located in the scanning area, and transmits the acquired engine code back to the automatic flashing processing device;
[0122] Step S403: The automatic flash processing device determines the target flash data corresponding to the engine code according to the received engine code, and sends the target flash data and the data enable signal carrying the functional partition identification 1 to each auxiliary terminal.
[0123] Step S404, the auxiliary terminal receives the target flashing data, and sends the flashing sub-data E1 in the target flashing data to the flashing terminal connected to the engine according to the functional partition identifier 1 in the data enable signal;
[0124] Step S405, the flashing terminal establishes a communication connection with a nearby auxiliary terminal through a short-distance communication network, and receives the flashing sub-data E1 from the auxiliary terminal through the communication connection to flash the data of the functional partition 1 of the ECU;
[0125] Step S406, after the flashing terminal recognizes that the data flashing of the functional partition 1 is completed, it sends the flashing feedback information to the automatic flashing processing device;
[0126] Step S407, the automatic flash processing device generates a new data enable signal according to the received flash feedback information, determines a target auxiliary terminal, and sends the data enable signal to the target auxiliary terminal;
[0127] The functional partition identifier carried by the data enable signal generated this time is the functional partition identifier carried by the data enable signal generated last time plus 1.
[0128] Step S408, the target auxiliary terminal sends the flashing sub-data corresponding to the functional partition identifier in the target flashing data to the flashing terminal connected to the engine according to the functional partition identifier in the received data enable signal;
[0129] Step S409, the flashing terminal receives the flashing sub-data from the target auxiliary terminal to flash the data of the corresponding functional partition of the ECU;
[0130] Step S410, after the flashing terminal recognizes that the data flashing of the corresponding functional partition is completed, it sends the flashing feedback information to the automatic flashing processing device.
[0131] After the first execution of step S410, steps S407 to S410 are repeatedly executed until the engine has completed the pipeline and the data flashing is completed.
[0132] Based on the same concept, an embodiment of the present invention also provides an automatic flashing method for an engine ECU, which is applied to an automatic flashing system for an engine ECU as provided in any of the above embodiments. Since this method is the method executed by the automatic flashing system for the engine ECU in the embodiment of the present invention, and the principle of solving the problem by this method is similar to that of the automatic flashing system for the engine ECU, the implementation of this method can refer to the implementation of the automatic flashing system for the engine ECU, and the repeated parts will not be repeated.
[0133] like Figure 5 As shown, the method comprises the following steps:
[0134] Step S501, through the automatic flash processing device, according to the engine number of the current engine, determine the target flash data, and send the target flash data to K auxiliary terminals; according to the flash feedback information from the flash terminal, select the target auxiliary terminal from the K auxiliary terminals, and send a data enable signal to the target auxiliary terminal, where K is a positive integer;
[0135] Step S502, 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;
[0136] Step S503, flashing the ECU of the current engine according to the target flashing sub-data through the flashing terminal, and generating flashing feedback information;
[0137] The flash data includes multiple groups of flash sub-data, one group of flash sub-data corresponds to a functional partition in the ECU, the data enable signal carries the functional partition identifier, and the target flash sub-data is determined according to the functional partition identifier.
[0138] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0139] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. An automatic flashing system for an engine electronic control unit ECU, characterized in that: It includes automatic flash processing equipment, K auxiliary terminals and a flash terminal, wherein the K auxiliary terminals are arranged at intervals along the pipeline direction, and K is a positive integer, wherein: The automatic flash processing device is used to determine the target flash data according to the engine number of the current engine, and send the target flash data to the K auxiliary terminals; select a target auxiliary terminal from the K auxiliary terminals according to the flash feedback information from the flash terminal, 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, wherein the flashing data includes multiple groups of flashing sub-data, one group of flashing sub-data corresponds to a functional partition in the ECU, and the target flashing sub-data is determined according to the functional partition identifier; The flashing terminal is used to flash the data of the ECU of the current engine according to the target flashing sub-data and generate the flashing feedback information.
2. The system according to 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 not the first engine on the assembly line, the automatic flash processing device is specifically used to: According to the engine number included in the flashing feedback information, determining the first flashing feedback information and the second flashing feedback information in the flashing feedback information received by itself; Determine the target auxiliary terminal among the K auxiliary terminals according to the first flashing feedback information and the second flashing feedback information; and determine the function partition identifier carried in the data enable signal according to the first flashing feedback information; Among them, 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, and 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.
3. The system according to claim 2, characterized in that The automatic flash processing device is specifically used for: Determine a first auxiliary terminal from the K auxiliary terminals according to the first node information of the auxiliary terminal included in the first flashing feedback information, and determine a second auxiliary terminal from the K auxiliary terminals according to the second node information of the auxiliary terminal included in the second flashing feedback information; An auxiliary terminal between the first auxiliary terminal and the second auxiliary terminal is used as the target auxiliary terminal.
4. The system according to claim 2, characterized in that The automatic flash processing device is specifically used for: Identifying a first flashing state included in the first flashing feedback information; When the first flushing state indicates that the flushing of the flushing sub-data corresponding to the i-th functional partition is completed, the data enable signal is generated according to the functional partition identifier corresponding to the i+1-th functional partition, where i is a positive integer.
5. The system according to claim 1, wherein: 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 assembly line, the automatic flash processing device is specifically used to: receiving flashing feedback information from a flashing terminal connected to the first engine; Determine a current auxiliary terminal among the K auxiliary terminals according to the node information of the auxiliary terminal included in the received flash feedback information; The auxiliary terminal located after the current auxiliary terminal is used as the target auxiliary terminal.
6. The system according to claim 5, characterized in that The automatic flash processing device is also used for: The data enable signal is sent to the K auxiliary terminals, wherein the data enable signal carries a functional partition identifier corresponding to the first functional partition.
7. The system according to claim 1, characterized in that The automatic flash processing device is specifically used for: Based on a first corresponding relationship, determining a flash data number corresponding to the engine number of the current engine, wherein the first corresponding relationship is used to characterize a corresponding relationship between the engine number and the flash data number; The flash data corresponding to the determined flash data number in the flash data stored in the self is used as the target flash data.
8. The system of claim 1, wherein: The auxiliary terminal is connected to the flashing terminal via a short-distance 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-distance communication network.
9. The system according to any one of claims 1 to 8, characterized in that: Also included is a scanning device, wherein: 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 direction of the assembly line; The scanning device is used to scan the engine numbers of the engines on the assembly line in sequence and transmit the engine numbers to the automatic flash processing device.
10. An automatic flashing method for an engine electronic control unit ECU, characterized in that: include: By means of the automatic flash processing device, target flash data is determined according to the engine number of the current engine, and the target flash data is sent to K auxiliary terminals; according to the flash feedback information from the flash terminal, a target auxiliary terminal is selected from the K auxiliary terminals, and a data enable signal is sent to the target auxiliary terminal, wherein 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; By means of the flashing terminal, data is flashed to the ECU of the current engine according to the target flashing sub-data, and the flashing feedback information is generated; The flash data includes multiple groups of flash sub-data, one group of flash sub-data corresponds to a 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.
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
Data flashing method and device
CN112698857A
Queue type ECU flashing method and system, storage medium and electronic equipment
CN118467196A
ECU flashing method, device and equipment and storage medium
CN118550554A
