New energy vehicle electronic control unit ECU work control protection method

By using the circumferential groove and snap structure combined with sealant and heat dissipation glue in the electronic control unit of new energy vehicles, the problem of unfixed surface shell and bottom shell is solved, and stable connection and precise installation are achieved, which improves the Sealing and heat dissipation performance extends the service life of components.

CN119078694APending Publication Date: 2024-12-06SUZHOU AOYIKESI AUTOMOBILE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411192207.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The surface shell and bottom shell of the electronic control unit of existing new energy vehicles are fixed by glue, which is prone to separation, resulting in poor sealing performance and inaccurate installation, which affects service life.

Method used

The circumferential groove and snap structure are combined with sealing glue and heat dissipation glue to ensure a stable connection between the surface shell and the bottom shell, and precise installation is achieved through the snap hook and slot to enhance sealing performance and heat dissipation effect.

Benefits of technology

Effectively prevent the shell from being separated, ensure stable installation, improve sealing performance and heat dissipation effect, extend the service life of components, and avoid failure of pressing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119078694A_ABST
    Figure CN119078694A_ABST
Patent Text Reader

Abstract

The invention provides a new energy vehicle electronic control unit ECU work control protection method. The method comprises the following steps that firstly, a motor controller is inserted into a new energy vehicle; and 2, the new energy vehicle outputs vehicle report data. According to the invention, data security of the motor controller is guaranteed, and data leakage is prevented.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of new energy vehicles, and in particular to a working control and protection method for an electronic control unit (ECU) of a new energy vehicle. Background Art

[0002] The design and assembly of the structural parts of the motor controller is one of the important indicators related to the sealing performance of the product, and is also an important indicator for customers to purchase. At present, the fastening of the face shell and the bottom shell is completely fastened by glue, but because the bottom of the face shell is directly in contact with the horizontal panel of the bottom shell and is only fixed and limited by glue, the face shell and the bottom shell are very easy to separate after a long time of use, resulting in the product cannot be used normally. When the outer shell adopts a square structure, it is easy to distinguish between the front, back, left and right, so it is easy for the face shell to be misaligned when the face shell and the bottom shell are press-fitted, resulting in press-fitting failure. Summary of the invention

[0003] The present invention aims to at least solve the technical problems existing in the prior art, and in particular innovatively proposes a working control and protection method for an electronic control unit (ECU) of a new energy vehicle.

[0004] In order to achieve the above-mentioned object of the present invention, the present invention provides a new energy vehicle electronic control unit ECU working control protection method, comprising the following steps:

[0005] The first step is to plug the motor controller into the new energy vehicle;

[0006] The second step is that new energy vehicles output vehicle report data.

[0007] In a preferred embodiment of the present invention, it includes a face shell, a PCB board installed in the face shell and a bottom shell connected to the face shell by a snap-on connection. The front end of the face shell is integrally provided with two 40PIN placement windows symmetrically on the left and right. The bottom of the face shell is provided with an annular groove for the top of the bottom shell to be inserted into. Sealant is dotted in the annular groove. The face shell is symmetrically provided with snap hooks, and a snap hook is provided in the center of the front side, three snap hooks are symmetrically provided on the back side, and two snap hooks are provided on the left and right sides. The bottom shell is provided with a card slot that can be snapped in a one-to-one correspondence with the snap hooks. When the face shell with the PCB board installed is pressed from top to bottom onto the bottom shell to complete the snapping, the top of the bottom shell is inserted into the annular groove.

[0008] The present invention provides a working control and protection method for an electronic control unit (ECU) of a new energy vehicle. The outer shell is tightly installed and the installation orientation is accurate, which solves the problem that the existing surface shell and the bottom shell are easily separated due to being fixed and limited only by glue, and the square shell is not accurately positioned, resulting in press-fitting failure.

[0009] In a preferred embodiment of the present invention, heat dissipation glue is dotted on the blank areas on the left and right sides of the bottom surface of the PCB board, and the bottom shell is provided with heat dissipation bosses corresponding to the blank areas on the bottom surface of the PCB board. When the surface shell and the bottom shell are buckled together, the heat dissipation bosses press against the blank areas on the left and right sides of the bottom surface of the PCB board, thereby squeezing the heat dissipation glue. Through the contact between the heat dissipation bosses and the bottom surface of the PCB board, the high temperature generated by the operation of the components is transferred to the bottom shell, and the temperature is reduced by means of the temperature difference with the ambient temperature. The heat dissipation performance is good, the design structure is ingenious, the space utilization rate is high, and the service life of the components is extended.

[0010] In a preferred embodiment of the present invention, the PCB board is installed on the inner side of the face shell by wave soldering, and the top of the bottom shell is provided with an annular boss inserted into the annular groove, so the welding is firm and the structure is reasonable.

[0011] In a preferred embodiment of the present invention, the sealant is in paste form, which is convenient for extrusion and diffusion to increase the bonding contact surface, thereby ensuring the sealing effect.

[0012] In a preferred embodiment of the present invention, the surface roughness of the annular groove is 6.3-25, which ensures that the bonding contact surface of the sealant is large and the bonding firmness is high.

[0013] In a preferred embodiment of the present invention, the heat dissipation boss is located on the left side of the bottom shell. The heat dissipation bosses are three with different sizes to ensure the heat dissipation effect. The size of the heat dissipation boss is designed according to the blank area of ​​the PCB board to effectively avoid components and avoid affecting the installation and use of components. The design is reasonable.

[0014] In a preferred embodiment of the present invention, in the second step, the vehicle report data is generated in the following steps:

[0015] S1, obtain the test report data to be sent; execute the next step;

[0016] S2, converting the test report data obtained in step S1 into binary test report data, and generating a test code for the test report data according to the binary test report data; executing the next step;

[0017] S3, converting the test code in step S1 into a binary test code; executing step S5;

[0018] S4, converting the test code obtained in step S1 into v increase codes; adding v binary increase codes after the binary test code; and executing the next step;

[0019] S5, determine the size relationship between U and V:

[0020] If U > V, where U is the number of character bits of the binary test report data and V is the number of character bits of the binary test code, then execute step S4;

[0021] If U < V, where U is the number of character bits of the binary test report data and V is the number of character bits of the binary test code, then reduce u bits at the end of the binary test code; execute the next step;

[0022] If U = V, where U is the number of character bits of the binary test report data and V is the number of character bits of the binary test code, then execute the next step;

[0023] S6. Perform bit-by-bit calculation on the binary test report data after step S5 and the binary test code to obtain the vehicle report data.

[0024] In a preferred embodiment of the present invention, after step S6, there is further step S7 of sending the test code and the vehicle report data to the host computer.

[0025] In a preferred embodiment of the present invention, after step S7, there is further step S8 of using the host computer to view the test report data.

[0026] In summary, due to the adoption of the above technical solutions, the present invention can:

[0027] (1) Ensure the data security of the motor controller and prevent data leakage.

[0028] (2) Compared with the existing situation where the front shell and the bottom shell are only fixed and limited by glue, resulting in easy separation, in this solution, a circumferential groove is provided on the front shell for the top of the bottom shell to insert. The circumferential groove realizes preliminary limitation, and then sealant is dot-applied in the circumferential groove to realize the bonding of the front shell and the bottom shell. The front shell and the bottom shell are also buckled through the buckle structure on the outer edge to achieve double stability, effectively preventing the separation of the shell, and the structural design is reasonable.

[0029] (3) Compared with the inaccurate positioning of the square shell resulting in the failure of press-fitting, in this solution, buckle hooks are symmetrically arranged on the left and right sides of the front shell, and one buckle hook is centered on the front side, three buckle hooks are symmetrically arranged on the left and right sides of the rear side, and two buckle hooks are arranged on the left and right sides. The number of buckle hooks on the front and rear sides is inconsistent. Workers can effectively judge the orientation of the front shell through the number of buckle hooks on the front and rear sides. Especially when facing a square-shaped outer shell, it can effectively avoid the situation where workers misjudge, install it in the wrong direction, repeat the operation, and damage unnecessary PCB boards, and achieve accurate press-fitting.

[0030] In summary, it has the advantages of firm installation of the front shell and the bottom shell, ingenious concept, interlocking structure, and accurate press-fitting.

[0031] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0033] Figure 1 It is a schematic block diagram of the process of the present invention.

[0034] Figure 2 It is a structural schematic diagram of the present invention.

[0035] Figure 3 It is a schematic diagram of the parts explosion of the present invention.

[0036] Figure 4 It is a structural schematic diagram of the invented face shell.

[0037] Figure 5 It is a structural schematic diagram of the bottom shell of the invention. DETAILED DESCRIPTION

[0038] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0039] The present invention discloses a working control and protection method for an electronic control unit (ECU) of a new energy vehicle. Figure 1 As shown, the following steps are included:

[0040] The first step is to plug the motor controller into the new energy vehicle;

[0041] The second step is that new energy vehicles output vehicle report data.

[0042] like Figures 2 to 5 As shown, the motor controller consists of a front shell 1, a PCB board 2 installed in the front shell 1, and a bottom shell 3 snap-connected to the front shell 1.

[0043] The surface shell 1 is in a square structure as a whole.

[0044] The front end of the housing 1 is integrally provided with two 40-pin placement windows 11 symmetrically on the left and right, and the motor controller is plugged into the new energy vehicle through the two 40-pin placement windows 11 .

[0045] An annular groove 13 is provided at the bottom of the surface shell 1 for the top of the bottom shell 3 to be inserted.

[0046] The surface roughness of the annular groove 13 is 6.3-25.

[0047] A sealant 131 is dotted in the annular groove 13 , and the sealant 131 is a paste-like glue.

[0048] The face shell 1 is symmetrically provided with snap hooks 12, with one snap hook 12 being arranged in the center of the front side, three snap hooks 12 being symmetrically arranged on the rear side, and two snap hooks 12 being arranged on the left and right sides.

[0049] The bottom shell 3 is provided with a latching slot 32 which can be latched with the latching hook 12 in a one-to-one correspondence.

[0050] The left and right blank areas on the bottom of the PCB board 2 are dotted with heat dissipation glue 21. The main controller can be set in the left blank area, the auxiliary controller can be set in the right blank area, and the heat dissipation glue is dotted on the heat dissipation back of the main controller and the auxiliary controller. A temperature sensor can also be set on the PCB board to measure the temperature value in the motor controller in real time using the temperature sensor.

[0051] The PCB board 2 is installed on the inner side of the housing 1 by wave soldering.

[0052] The bottom shell 3 is provided with a heat dissipation boss 33 in a blank area on the bottom surface of the PCB board 2 .

[0053] An annular boss 31 is provided on the top of the bottom shell 3 and is inserted into the annular groove 13 .

[0054] When the front shell 1 and the bottom shell 3 are buckled together, the heat dissipation bosses 33 press against the left and right blank areas on the bottom surface of the PCB board 2 , thereby squeezing the heat dissipation glue 21 .

[0055] The heat dissipation boss 33 is located on the left side of the bottom shell 3 , and three heat dissipation bosses 33 are provided with different sizes.

[0056] When the front shell 1 with the PCB board 2 installed is pressed downward onto the bottom shell 3 to complete the buckling, the top of the bottom shell 3 is inserted into the annular groove 13.

[0057] First, the PCB board 2 and the cover 1 are welded together, and a sealant 131 is spot-coated in the annular groove 13 of the cover 1 .

[0058] Then apply heat dissipation glue 21 on the PCB board 2, and finally press the bottom shell 3 onto the face shell 1 according to the corresponding slots 12 and buckles 33 of the face shell 1 and the bottom shell 3, until the buckle structures of the face shell 1 and the bottom shell 3 are fully buckled into place.

[0059] In a preferred embodiment of the present invention, the generation method of the vehicle report data in the second step includes the following steps:

[0060] S1. Obtain the test report data to be sent; the test report data can be the temperature data of the motor controller, or the operation data of the air conditioning system, etc., and proceed to the next step;

[0061] S2. Convert the test report data obtained in step S1 into binary test report data, and generate a test code for the test report data based on the binary test report data; proceed to the next step;

[0062] S3. Convert the test code in step S1 into a binary test code; execute step S5;

[0063] S4. Convert the test code obtained in step S1 into v increment codes; add v binary increment codes after the binary test code; proceed to the next step;

[0064] S5. Determine the size relationship between U and V:

[0065] If U > V, where U is the number of characters of the binary test report data and V is the number of characters of the binary test code, then execute step S4;

[0066] If U < V, where U is the number of characters of the binary test report data and V is the number of characters of the binary test code, then reduce u bits after the binary test code; proceed to the next step;

[0067] If U = V, where U is the number of characters of the binary test report data and V is the number of characters of the binary test code, then proceed to the next step;

[0068] Make the number of characters of U and V the same through step S4;

[0069] S6. Perform a bit-by-bit calculation on the binary test report data and the binary test code after step S5 to obtain the vehicle report data; proceed to the next step;

[0070] S7. Send the test code and the vehicle report data to the host computer. The test code can also be saved separately by the administrator.

[0071] In a preferred embodiment of the present invention, the calculation method of q increment codes in step S4 is:

[0072] Addstring1 = Addstringenerateway(Testingstring),

[0073] where Addstring1 represents the first increment code generated based on the obtained test code;

[0074] Addstringenerateway() represents the generation method of the increment code, and the sha256 digest algorithm can be used;

[0075] Testingstring represents the obtained test code;

[0076] Addstring2=Addstringenerateway(Addstring1),

[0077] Wherein, Addstring2 represents the second added code generated according to the first added code;

[0078] Addstringenerateway() represents the method of generating the added code;

[0079] Addstring1 indicates the first added code;

[0080] Addstring3=Addstringenerateway(Addstring2),

[0081] Wherein, Addstring3 represents the third added code generated according to the second added code;

[0082] Addstringenerateway() represents the method of generating the added code;

[0083] Addstring2 indicates the second added code;

[0084] Addstring4=Addstringenerateway(Addstring3),

[0085] Wherein, Addstring4 represents the fourth added code generated according to the third added code;

[0086] Addstringenerateway() represents the method of generating the added code;

[0087] Addstring3 indicates the third added code;

[0088] ……;

[0089] Addstring q =Addstringenerateway(Addstring q-1 ),

[0090] Among them, Addstring q represents the qth increasing code generated according to the q-1th increasing code;

[0091] Addstringenerateway() indicates the method of generating the added code, which can use the sha256 digest algorithm;

[0092] Addstring q-1 Indicates the q-1th added code; q is a positive integer greater than 1.

[0093] In a preferred embodiment of the present invention, in step S4, the method of adding q binary increase codes after the binary test code is:

[0094]

[0095] Among them, Testing string Binary Represents a binary test code;

[0096] Addstring 1,Binary Indicates the first increase code in binary;

[0097] Addstring 2,Binary Indicates the second increase code of binary;

[0098] Addstring 3,Binary Indicates the third increase code in binary;

[0099] Addstring 4,Binary Indicates the 4th increase code in binary;

[0100] Addstring q-1,Binary Represents the q-1th increase code in binary;

[0101] Addstring q,Binary represents the qth increase code in binary;

[0102] Represents a character concatenation operator; that is, it connects the end of one string to the beginning of another string; for example, if Addstring 1,Binary =101101111110,Addstring 1,Binary =100001110110, then

[0103]

[0104]

[0105] Represents the added q binary increase codes.

[0106] In a preferred embodiment of the present invention, the calculation method of v in step S4 is:

[0107]

[0108] Among them, v is the number of increases;

[0109] represents the floor function;

[0110] U represents the number of characters in the binary test report data;

[0111] V represents the number of character bits of the binary test code.

[0112] In a preferred embodiment of the present invention, the calculation method of u in step S5 is:

[0113] u=VU,

[0114] Among them, u represents the number of reductions;

[0115] U represents the number of characters in the binary test report data;

[0116] V represents the number of character bits of the binary test code.

[0117] In a preferred embodiment of the present invention, in step S6, the binary test data after step S5 is subjected to parity calculation with the binary test code to obtain the vehicle report data as follows:

[0118] U1U2U3…U K ⊙V1V2V3…V K =U1′U2′U3′…U′ K ,

[0119] Wherein, U1 represents the value at the first position from left to right in the binary test report data;

[0120] U2 represents the value at the second position from left to right in the binary test report data;

[0121] U3 represents the value at the third position from left to right in the binary test report data;

[0122] U K Indicates the value at the Kth position from left to right in the binary test report data;

[0123] V1 represents the value of the first bit from left to right in the binary test code;

[0124] V2 represents the value of the second bit from left to right in the binary test code;

[0125] V3 represents the value of the third bit from left to right in the binary test code;

[0126] V K Indicates the value at the Kth position from left to right in the binary test code;

[0127] U1′ represents the value at the first position from left to right in the vehicle report data;

[0128] U2′ represents the value at the second position from left to right in the vehicle report data;

[0129] U3′ represents the value at the third position from left to right in the vehicle report data;

[0130] U′ K Indicates the value at the Kth position from left to right in the vehicle report data;

[0131] ⊙ represents the same position operator;

[0132] K represents the total number of digits;

[0133] U1U2U3…U K Represents binary test report data;

[0134] V1V2V3…V K Represents a binary test code; Testingstring can also be used Binary express;

[0135] U1′U2′U3′…U′ K Represents vehicle reporting data.

[0136] In a preferred embodiment of the present invention, U k The calculation method of ′ is:

[0137]

[0138] Among them, U k ′ represents the value at the kth position from left to right in the vehicle report data;

[0139] If means logical condition;

[0140] U k Indicates the value at the kth position from left to right in the binary test report data;

[0141] V k Indicates the value at the kth position from left to right in the binary test code;

[0142] or indicates logical condition or;

[0143] and represents the logical condition and;

[0144] K represents the total number of digits.

[0145] In a preferred embodiment of the present invention, the method for generating a test code of test data according to binary test report data in step S2 is:

[0146] Testingstring = Testingstringenerateway(Testdata),

[0147] where Testingstring represents the test code generated based on the obtained test report data;

[0148] Testingstringenerateway() represents the generation method of the test code, and the sha256 digest algorithm can be used;

[0149] Testdata represents the test report data.

[0150] In a preferred embodiment of the present invention, the method for a host computer or other device to view the test report data includes the following steps:

[0151] S71, Obtain the test code and vehicle report data sent by the host computer; Execute the next step;

[0152] S72, Convert the vehicle report data obtained in step S1 into binary vehicle report data; Execute the next step;

[0153] S73, Convert the test code obtained in step S1 into binary test code; Execute step S75;

[0154] S74, Convert the test code obtained in step S1 into q additional codes; Add q binary additional codes after the binary test code; Execute the next step;

[0155] S75, Judge the size relationship between P and Q:

[0156] If P > Q, where P is the number of characters of the binary vehicle report data and Q is the number of characters of the binary test code, then execute step S4;

[0157] If P < Q, where P is the number of characters of the binary vehicle report data and Q is the number of characters of the binary test code, then reduce p bits after the binary test code; Execute the next step;

[0158] If P = Q, where P is the number of characters of the binary vehicle report data and Q is the number of characters of the binary test code, then execute the next step;

[0159] S76, Perform bit-by-bit calculation on the binary vehicle report data after step S75 and the binary test code to obtain binary test report data;

[0160] S77, Convert the binary test report data into test report data.

[0161] In a preferred embodiment of the present invention, in step S76, it further includes calculating the vehicle code corresponding to the binary test report data, and determining whether the binary vehicle code is consistent with the binary test code:

[0162] If the binary vehicle code is consistent with the binary test code, the test report data is correct test report data;

[0163] If the binary vehicle code is inconsistent with the binary test code, the test report data is erroneous test report data.

[0164] In a preferred embodiment of the present invention, the method for calculating the vehicle code corresponding to the binary test report data is:

[0165] Cardatastring=Datastringenerateway(Cartestcode),

[0166] Among them, Cardatastring represents the vehicle code calculated according to the binary test report data;

[0167] Datastringenerateway() indicates the calculation method of the vehicle code, which can use the sha256 digest algorithm;

[0168] Cartestcode represents binary test report data.

[0169] 7. The new energy vehicle ECU main control CAN test working method according to claim 6 is characterized in that the calculation method of q increase codes in step S74 is:

[0170] Addstring1=Addstringenerateway(Testingstring),

[0171] Wherein, Addstring1 represents the first added code generated according to the acquired test code;

[0172] Addstringenerateway() indicates the method of generating the added code, which can use the sha256 digest algorithm;

[0173] Testingstring represents the obtained test code;

[0174] Addstring2=Addstringenerateway(Addstring1),

[0175] Wherein, Addstring2 represents the second added code generated according to the first added code;

[0176] Addstringenerateway() represents the method of generating the added code;

[0177] Addstring1 indicates the first added code;

[0178] Addstring3=Addstringenerateway(Addstring2),

[0179] Wherein, Addstring3 represents the third added code generated according to the second added code;

[0180] Addstringenerateway() represents the method of generating the added code;

[0181] Addstring2 indicates the second added code;

[0182] Addstring4=Addstringenerateway(Addstring3),

[0183] Wherein, Addstring4 represents the fourth added code generated according to the third added code;

[0184] Addstringenerateway() represents the method of generating the added code;

[0185] Addstring3 indicates the third added code;

[0186] ……;

[0187] Addstring q =Addstringenerateway(Addstring q-1 ),

[0188] Among them, Addstring q represents the qth increasing code generated according to the q-1th increasing code;

[0189] Addstringenerateway() indicates the method of generating the added code, which can use the sha256 digest algorithm;

[0190] Addstring q-1 Indicates the q-1th added code; q is a positive integer greater than 1.

[0191] In a preferred embodiment of the present invention, in step S74, the method of adding q binary increase codes after the binary test code is:

[0192]

[0193] Among them, Testing string Binary Represents a binary test code;

[0194] Addstring 1,Binary Indicates the first increase code in binary;

[0195] Addstring 2,Binary Indicates the second increase code of binary;

[0196] Addstring 3,Binary Indicates the third increase code in binary;

[0197] Addstring 4,Binary Indicates the 4th increase code in binary;

[0198] Addstring q-1,Binary Represents the q-1th increase code in binary;

[0199] Addstring q,Binary represents the qth increase code in binary;

[0200] Represents a character connector.

[0201] In a preferred embodiment of the present invention, the calculation method of q in step S75 is:

[0202]

[0203] Among them, q is the number of increases;

[0204] represents the floor function;

[0205] P represents the number of characters in binary vehicle report data;

[0206] Q represents the number of character bits of the binary test code.

[0207] In a preferred embodiment of the present invention, the calculation method of p in step S75 is:

[0208] p = QP,

[0209] Among them, p represents the number of reductions;

[0210] P represents the number of characters in binary vehicle report data;

[0211] Q represents the number of character bits of the binary test code.

[0212] In a preferred embodiment of the present invention, in step S76, the binary vehicle report data after step S75 is subjected to parity calculation with the binary test code to obtain the binary test report data as follows:

[0213] P1P2P3…P J ⊙Q1Q2Q3…Q J =P1′P2′P3′…P J ′,

[0214] Wherein, P1 represents the value at the first position from left to right in the binary vehicle report data;

[0215] P2 represents the value of the second bit from left to right in the binary vehicle report data; P3 represents the value of the third bit from left to right in the binary vehicle report data; P J Indicates the value at the Jth position from left to right in the binary vehicle report data; Q1 indicates the value at the 1st position from left to right in the binary test code;

[0216] Q2 represents the value of the second bit from left to right in the binary test code;

[0217] Q3 represents the value at the third position from left to right in the binary test code;

[0218] Q J Indicates the value at the Jth position from left to right in the binary test code;

[0219] P1′ represents the first value from left to right in the vehicle test report data; P2′ represents the second value from left to right in the vehicle test report data; P3′ represents the third value from left to right in the vehicle test report data; J ′ represents the value at the Jth position from left to right in the vehicle test report data; ⊙ represents the same position operator;

[0220] J represents the total number of digits;

[0221] P1P2P3…P J Represents binary vehicle report data;

[0222] Q1Q2Q3…Q J represents a binary test code;

[0223] P1′P2′P3′…P J ' indicates test report data.

[0224] In a preferred embodiment of the present invention, P j The calculation method of ′ is:

[0225]

[0226] Among them, P j ' represents the value at the jth position from left to right in the test report data; if represents the logical condition if;

[0227] P j Indicates the value at the jth position from left to right in the binary vehicle report data; Q j Indicates the value at the jth position from left to right in the binary test code;

[0228] or indicates logical condition or;

[0229] and represents the logical condition and;

[0230] J represents the total number of digits.

[0231] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

Claims

1. A method for controlling and protecting the operation of an electronic control unit (ECU) of a new energy vehicle, characterized in that: It includes the following steps: First step, plug the motor controller onto the new energy vehicle; Second step, the new energy vehicle outputs vehicle report data.

2. The working control and protection method of the new energy vehicle electronic control unit ECU according to claim 1 is characterized in that: The motor controller includes a face shell (1), a PCB board (2) installed inside the face shell (1), and a bottom shell (3) snap-connected to the face shell (1). At the front end of the face shell (1), two 40PIN placement windows (11) are integrally and symmetrically arranged on the left and right. At the bottom of the face shell (1), there is an annular groove (13) for the top of the bottom shell (3) to insert. Sealant (131) is dot-coated in the annular groove (13). The face shell (1) is symmetrically provided with snap hooks (12) on the left and right, and there is one snap hook (12) centered on the front side, three snap hooks (12) symmetrically arranged on the left and right at the rear side, and two snap hooks (12) on the left and right sides. The bottom shell (3) is provided with slots (32) that can be snap-fitted with the snap hooks (12) one by one. When the face shell (1) with the PCB board (2) is pressed down onto the bottom shell (3) to complete the snap fit, the top of the bottom shell (3) inserts into the annular groove (13).

3. The working control and protection method of the electronic control unit ECU of a new energy vehicle according to claim 2 is characterized in that: Thermal conductive glue (21) is dot-coated on the left and right blank areas of the bottom surface of the PCB board (2). The bottom shell (3) is provided with heat dissipation bosses (33) corresponding to the left and right blank areas of the bottom surface of the PCB board (2). When the face shell (1) and the bottom shell (3) are snap-fitted, the heat dissipation bosses (33) abut against the left and right blank areas of the bottom surface of the PCB board (2), thereby squeezing the thermal conductive glue (21).

4. The method for controlling and protecting the operation of the electronic control unit ECU of a new energy vehicle according to claim 2 is characterized in that: The PCB board (2) is welded and installed on the inner side of the face shell (1) by wave soldering. The top of the bottom shell (3) is provided with an annular boss (31) that inserts into the annular groove (13).

5. The method for controlling and protecting the operation of the electronic control unit ECU of a new energy vehicle according to claim 2, characterized in that: The sealant (131) is a paste-like glue.

6. The method for controlling and protecting the operation of the electronic control unit (ECU) of a new energy vehicle according to claim 2, characterized in that: The surface roughness of the inner surface of the annular groove (13) is 6.3 - 25.

7. The method for controlling and protecting the operation of the electronic control unit (ECU) of a new energy vehicle according to claim 2, characterized in that: The heat dissipation bosses (33) are located on the left side of the bottom shell (3), and three heat dissipation bosses (33) with inconsistent sizes are used.

8. The method for controlling and protecting the operation of the electronic control unit (ECU) of a new energy vehicle according to claim 1, characterized in that: In the second step, the generation method of the vehicle report data includes the following steps: S1, obtain the test report data to be sent; execute the next step; S2, convert the test report data obtained in step S1 into binary test report data, and generate a test code for the test report data according to the binary test report data; execute the next step; S3, convert the test code in step S1 into a binary test code; execute step S5; S4, convert the test code obtained in step S1 into v increment codes; add v binary increment codes after the binary test code; execute the next step; S5, judge the size relationship between U and V: If U > V, where U is the number of character bits of the binary test report data and V is the number of character bits of the binary test code, then execute step S4; If U < V, where U is the number of character bits of the binary test report data and V is the number of character bits of the binary test code, then reduce u bits after the binary test code; execute the next step; If U = V, where U is the number of character bits of the binary test report data and V is the number of character bits of the binary test code, then execute the next step; S6, perform a bit-by-bit calculation on the binary test report data and the binary test code after step S5 to obtain the vehicle report data.

9. The method for controlling and protecting the operation of the electronic control unit (ECU) of a new energy vehicle according to claim 1, characterized in that: After step S6, the method further includes step S7, in which the test code and the vehicle report data are sent to the host computer.

10. The method for controlling and protecting the operation of the electronic control unit (ECU) of a new energy vehicle according to claim 1, characterized in that: After step S7, the method further includes step S8, in which the test report data is checked by using a host computer.

Citation Information

Patent Citations

  • White-box testing method and system

    CN107038110A

  • Vehicle-mounted controller shell structure

    CN213718360U

  • KR20230014333A