New energy vehicle CAN test safety method
By setting up circumferential grooves and bottom surfaces of the surface shell of the motor controller of the new energy vehicle, adding knurled structures and limit protrusions, combined with sealant, poor bonding stability and inaccurate orientation of the surface shell and the bottom shell are solved. The problem of this is to realize the tight installation and precise pressing of the motor controller.
Patent Information
- Application Number
- CN202411192206.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2044-08-28
AI Technical Summary
The surface shell and bottom shell of the existing new energy vehicle motor controller have poor bond stability and easy separation due to the smooth contact surfaces, and the square shell is inaccurately positioned, resulting in failure of pressing.
A circumferential groove is provided in the bottom shell for insertion of the surface shell, and a knurled structure and limiting protrusion are added to the bottom surface of the surface shell, combining sealant and positioning notches to ensure the tight installation and accurate orientation of the surface shell and the bottom shell.
It improves the adhesion between the surface shell and the bottom shell and the installation accuracy, avoids misjudgment and repeated operations, and ensures the tight installation and sealing effect of the outer shell of the motor controller.
Smart Images

Figure CN119065350A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of new energy vehicles, and in particular to a safety method for CAN testing of new energy vehicles. 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 the contact surface is horizontal and smooth, it can only be fixed and limited by glue. After a long time of use, the face shell and the bottom shell are easily separated, 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 new energy vehicle CAN test safety method.
[0004] In order to achieve the above-mentioned object of the present invention, the present invention provides a new energy vehicle CAN test safety 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 to connect the new energy vehicle to the host computer;
[0007] The third step is to test new energy vehicles.
[0008] In a preferred embodiment of the present invention, the motor controller includes a face shell, a PCB board, and a bottom shell which are arranged in sequence from top to bottom, the bottom shell is provided with an annular groove for inserting the bottom of the face shell, the annular groove is dotted with sealant, the bottom surface of the face shell is provided with a knurled structure for increasing the bonding area, a limiting protrusion is horizontally provided on the outer side of the face shell, and a positioning notch is provided on the outer side of the annular groove for the limiting protrusion to be pressed down and inserted. When the face shell with the PCB board installed is pressed down onto the bottom shell from top to bottom, the bottom of the face shell is inserted into the annular groove, and the limiting protrusion is synchronously inserted into the positioning notch.
[0009] The motor controller provided by the present invention has an outer shell that is tightly installed and accurately installed, thereby solving the problems of poor bonding stability caused by smooth contact surfaces between the front shell and the bottom shell and press-fit failure caused by inaccurate positioning of the square shell.
[0010] In a preferred embodiment of the present invention, a CAN communication module, an ECU controller and a data security module are arranged on the PCB board;
[0011] The data communication terminal of the CAN communication module is connected to the CAN data communication terminal of the ECU controller, and the data terminal of the ECU controller is connected to the data terminal of the data security module;
[0012] The CAN communication module is used to receive the data sent by the electronic control unit ECU of the new energy vehicle, and the received data is safely processed by the data security module to obtain the test data.
[0013] In a preferred embodiment of the present invention, two limiting protrusions are used, and they are asymmetrically located on the outer edge of the face shell. The asymmetrical structure can effectively prevent the face shell from being installed upside down. The employees on the production line can intuitively determine the installation direction of the upper shell based on the limiting protrusions of the face shell, thereby avoiding repeated operations and unnecessary damage to the PCB board. The design concept is reasonable.
[0014] In a preferred embodiment of the present invention, the bottom shell is provided with mounting supports extending outwardly in a bilaterally symmetrical manner, and the mounting supports are provided with mounting holes. The structural design is reasonable, and the installed electronic control unit is conveniently installed on the device.
[0015] In a preferred embodiment of the present invention, the PCB board is installed in the face shell by welding, the welding is firm, and the face shell is overall square in structure and has a reasonable shape.
[0016] 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.
[0017] In a preferred embodiment of the present invention, the limiting protrusion is flush with the bottom surface of the face shell and is provided with a knurled structure, the bottom surface of the positioning notch is flush with the bottom of the annular groove, and the thickness of the limiting protrusion is smaller than the height of the positioning notch, thereby ensuring that the limiting protrusion will not be exposed after being inserted into the positioning notch, thereby ensuring the aesthetic appearance.
[0018] 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.
[0019] In summary, due to the adoption of the above technical solution, the present invention can:
[0020] (1) The present invention can collect the motor speed, motor temperature, current, power, etc. when the motor is working.
[0021] (2) Compared with the smooth contact surface between the top shell and the bottom shell, this solution adopts an annular groove set in the bottom shell for the bottom of the top shell to be inserted, and at the same time a knurled structure is set on the bottom surface of the top shell. The annular groove realizes preliminary limiting, and sealant is dotted in the annular groove to effectively ensure the contact between the sealant and the knurled structure. In addition, since the knurled structure can increase the bonding surface, the adhesion between the top shell and the bottom shell is strong. The design is ingenious and the structure is closely linked.
[0022] (3) A limit protrusion is horizontally arranged on the outer side of the face shell, and a positioning notch is arranged on the outer side of the annular groove for the limit protrusion to be pressed down and placed. Since the face shell with the PCB board is pressed down and installed on the bottom shell, the staff can effectively judge the position of the face shell through the limit protrusion, especially when the outer shell is square in shape, which effectively avoids the staff from misjudging the installation and repeating the operation, resulting in unnecessary damage to the PCB board, and realizes accurate press installation.
[0023] In summary, it has the advantages of strong adhesion between the surface shell and the bottom shell, ingenious design, interlocking structure, and precise pressing.
[0024] 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
[0025] 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:
[0026] Figure 1 It is a schematic flowchart of the process of the invention.
[0027] Figure 2 It is a schematic diagram of the structure of the invention.
[0028] Figure 3 It is an exploded diagram of the parts of the invention.
[0029] Figure 4 It is a structural schematic diagram of the bottom shell of the invention.
[0030] Figure 5 It is a structural schematic diagram of the invented face shell. DETAILED DESCRIPTION
[0031] 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.
[0032] The present invention provides a new energy vehicle CAN test safety method, such as Figure 1 As shown, the following steps are included:
[0033] The first step is to plug the motor controller into the new energy vehicle;
[0034] The second step is to connect the new energy vehicle to the host computer;
[0035] The third step is to test new energy vehicles.
[0036] like Figures 2 to 5 As shown, the motor controller is composed of a surface shell 1, a PCB board 2, and a bottom shell 3 which are arranged in sequence from top to bottom.
[0037] The PCB board 2 is provided with a CAN communication module, an ECU controller and a data security module; a temperature sensor can also be provided on the PCB board 2 to measure the temperature parameters in the motor controller. The number of temperature sensors is set according to the actual situation. Preferably, one temperature sensor can be provided on the back of the heat dissipation of the ECU controller to monitor the temperature of the ECU controller.
[0038] The temperature data terminal of the temperature sensor is connected to the temperature data terminal of the ECU controller;
[0039] The data communication terminal of the CAN communication module is connected to the CAN data communication terminal of the ECU controller, and the data terminal of the ECU controller is connected to the data terminal of the data security module;
[0040] The CAN communication module is used to receive the data sent by the electronic control unit ECU of the new energy vehicle, and the received data is safely processed by the data security module to obtain the test data.
[0041] The surface shell 1 is in a square structure as a whole.
[0042] The PCB board 2 is preferably installed in the housing 1 by welding.
[0043] An annular groove 31 is provided in the bottom shell 3 for the bottom of the surface shell 1 to be inserted.
[0044] The inner surface roughness of the annular groove 31 is 6.3-25.
[0045] The bottom surface of the cover 1 is provided with a knurled structure 11 for increasing the adhesive bonding area.
[0046] A limiting protrusion 12 is horizontally provided on the outer side of the surface shell 1 .
[0047] Preferably, two limiting protrusions 12 are used and are asymmetrically located on the outer edge of the face shell 1 .
[0048] A sealant 311 is dotted inside the annular groove 31 .
[0049] A positioning notch 32 is provided on the outer side of the annular groove 31 for the limiting protrusion 12 to be pressed down and inserted.
[0050] Since the front shell with the PCB board is pressed down and installed on the bottom shell, the staff can effectively judge the position of the front shell through the limiting protrusions, especially when the outer shell is square in shape, which effectively avoids the staff from misjudging the installation and repeating the operation.
[0051] The limiting protrusion 12 is flush with the bottom surface of the face shell 1 and is provided with a knurling structure. The bottom surface of the positioning notch 32 is flush with the bottom of the annular groove 31 . The thickness of the limiting protrusion 12 is less than the height of the positioning notch 32 .
[0052] The bottom shell 3 is symmetrically provided with mounting brackets 33 extending outward.
[0053] The mounting support 33 is provided with a mounting hole.
[0054] The sealant 311 is preferably in the form of paste glue.
[0055] When the front shell 1 with the PCB board 2 installed is pressed downward onto the bottom shell 3 , the bottom of the front shell 1 is inserted into the annular groove 31 , and the limiting protrusion 12 is simultaneously placed into the positioning notch 32 .
[0056] First, weld the PCB board 2 and the face shell 1 together, apply sealant 311 in the annular groove 31, and press the PCB board 2 and the face shell 1 onto the bottom shell 3 with the sealant 311 according to the limiting protrusions 12 and the positioning notches 32 of the face shell 1 and the bottom shell 3.
[0057] The following measures are adopted: a knurled structure 11 is provided at the bonding place of the face shell 1 to increase the bonding area of the sealant 311 to ensure that the face shell 1 and the bottom shell 3 are securely fastened; the surface roughness is increased on the annular groove 31 of the bottom shell 3 to ensure that the face shell 1 and the bottom shell 3 are securely fastened; limiting protrusions 12 and positioning notches 32 are added to the face shell 1 and the bottom shell 3 to ensure that the shells are installed correctly in the correct direction.
[0058] In a preferred embodiment of the present invention, the third step includes the following steps:
[0059] S1, the new energy vehicle electronic control unit ECU obtains the test code and test data sent by the host computer (notebook or PC);
[0060] S2, the new energy vehicle electronic control unit ECU converts the test data obtained in step S1 into binary test data;
[0061] S3, the new energy vehicle electronic control unit ECU converts the test code obtained in step S1 into a binary test code;
[0062] S4, the new energy vehicle electronic control unit ECU determines the size relationship between P and Q:
[0063] If P > Q, where P is the number of characters of the binary test data and Q is the number of characters of the binary test code, then add q zeros or ones after the binary test code; perform the next step;
[0064] If P < Q, where P is the number of characters of the binary test data and Q is the number of characters of the binary test code, then reduce the binary test code by p bits; perform the next step;
[0065] If P = Q, where P is the number of characters of the binary test data and Q is the number of characters of the binary test code, then perform the next step;
[0066] Make the number of characters of P and Q the same through step S4;
[0067] S5. Perform bit-by-bit calculation on the binary test data after step S4 and the binary test code to obtain vehicle test data; the vehicle test data is motor test data, including motor speed, motor temperature, current, power, etc.
[0068] S6. Send the vehicle test data to the motor controller through CAN communication for testing. During the test, collect data such as motor speed, motor temperature, current, power, etc. When not testing, the parameters to be collected are uncertain to ensure the security of the collected parameters.
[0069] In a preferred embodiment of the present invention, step S4 is
[0070] The new energy vehicle electronic control unit ECU judges the magnitude relationship between P and Q:
[0071] If P > Q, where P is the number of characters of the binary test data and Q is the number of characters of the binary test code, then add q zeros after the binary test code; perform the next step;
[0072] If P < Q, where P is the number of characters of the binary test data and Q is the number of characters of the binary test code, then reduce the binary test code by p bits; perform the next step;
[0073] If P = Q, where P is the number of characters of the binary test data and Q is the number of characters of the binary test code, then perform the next step.
[0074] In a preferred embodiment of the present invention, the calculation method of q in step S4 is:
[0075] q = P - Q,
[0076] where q is the number of added;
[0077] P represents the number of characters of the binary test data;
[0078] Q represents the number of character bits of the binary test code.
[0079] In a preferred embodiment of the present invention, the calculation method of p in step S4 is:
[0080] p = QP,
[0081] Among them, p represents the number of reductions;
[0082] P represents the number of characters in the binary test data;
[0083] Q represents the number of character bits of the binary test code.
[0084] In a preferred embodiment of the present invention, in step S5, the binary test data after step S4 is subjected to parity calculation with the binary test code to obtain vehicle test data in the following manner:
[0085] P1P2P3…P J ⊙Q1Q2Q3…Q J =P1′P2′P3′…P J ′,
[0086] Wherein, P1 represents the value at the first position from left to right in the binary test data;
[0087] P2 represents the value at the second position from left to right in the binary test data;
[0088] P3 represents the value at the third position from left to right in the binary test data;
[0089] P J Indicates the value at the Jth position from left to right in the binary test data;
[0090] Q1 represents the value of the first bit from left to right in the binary test code;
[0091] Q2 represents the value of the second bit from left to right in the binary test code;
[0092] Q3 represents the value at the third position from left to right in the binary test code;
[0093] Q J Indicates the value at the Jth position from left to right in the binary test code;
[0094] P1′ represents the value at the first position from left to right in the vehicle test data;
[0095] P2′ represents the second value from left to right in the vehicle test data;
[0096] P3′ represents the third value from left to right in the vehicle test data; P J ' represents the value at the Jth position from left to right in the vehicle test data;
[0097] ⊙ represents the same position operator;
[0098] J represents the total number of digits;
[0099] P1P2P3…P J Represents binary test data;
[0100] Q1Q2Q3…Q J represents a binary test code;
[0101] P1′P2′P3′…P J ′ represents vehicle test data.
[0102] In a preferred embodiment of the present invention, P j The calculation method of ′ is:
[0103]
[0104] Among them, P j ' represents the value at the jth position from left to right in the test data to be sent; if represents the logical condition if;
[0105] P j Represents the value at the jth position from left to right in the binary test data;
[0106] Q j Indicates the value at the jth position from left to right in the binary test code;
[0107] or indicates logical condition or;
[0108] and represents the logical condition and;
[0109] J represents the total number of digits.
[0110] In a preferred embodiment of the present invention, in step S5, it further includes calculating the vehicle code corresponding to the vehicle test data, and determining whether the binary vehicle code is consistent with the binary test code:
[0111] If the binary vehicle code is consistent with the binary test code, the vehicle test data is correct vehicle test data;
[0112] If the binary vehicle code is inconsistent with the binary test code, the vehicle test data is erroneous vehicle test data.
[0113] In a preferred embodiment of the present invention, the method for calculating the vehicle code corresponding to the vehicle test data is:
[0114] Cardatastring = Datastringenerateway(Cartestcode),
[0115] where Cardatastring represents the vehicle code calculated based on vehicle test data;
[0116] Datastringenerateway() represents the calculation method of the vehicle code, and the sha256 digest algorithm can be used;
[0117] Cartestcode represents vehicle test data.
[0118] In a preferred embodiment of the present invention, in step S1, the method for generating test data includes the following steps:
[0119] S11, obtain the test data to be sent; the test data to be sent is motor test data, including motor speed, motor temperature, current, power, etc.
[0120] S12, convert the test data obtained in step S11 into binary test data, and generate a test code for the test data according to the binary test data;
[0121] S13, convert the test code in step S12 into a binary test code;
[0122] S14, determine the size relationship between U and V:
[0123] If U > V, where U is the number of characters of the binary test data and V is the number of characters of the binary test code, then add v 0s or 1s after the binary test code; execute the next step;
[0124] If U < V, where U is the number of characters of the binary test data and V is the number of characters of the binary test code, then reduce u bits after the binary test code; execute the next step;
[0125] If U = V, where U is the number of characters of the binary test data and V is the number of characters of the binary test code, then execute the next step;
[0126] Make the number of characters of U and V the same through step S14;
[0127] S15, perform a bit-by-bit calculation on the binary test data and the binary test code after step S14 to obtain the actual test data to be sent;
[0128] S16, send the test code and the actual test data to be sent to the test vehicle using the host computer.
[0129] In a preferred embodiment of the present invention, step S14 is as follows:
[0130] Determine the magnitude relationship between U and V:
[0131] If U > V, where U is the number of characters of the binary test data and V is the number of characters of the binary test code, then add v zeros after the binary test code; proceed to the next step;
[0132] If U < V, where U is the number of characters of the binary test data and V is the number of characters of the binary test code, then reduce the number of bits by u at the end of the binary test code; proceed to the next step;
[0133] If U = V, where U is the number of characters of the binary test data and V is the number of characters of the binary test code, then proceed to the next step;
[0134] Make the number of characters of U and V the same through step S14.
[0135] In a preferred embodiment of the present invention, the calculation method of v in step S14 is:
[0136] v = U - V,
[0137] where v is the number of added zeros;
[0138] U represents the number of characters of the binary test data;
[0139] V represents the number of characters of the binary test code.
[0140] In a preferred embodiment of the present invention, the calculation method of u in step S14 is:
[0141] u = V - U,
[0142] where u represents the number of reduced bits;
[0143] U represents the number of characters of the binary test data;
[0144] V represents the number of characters of the binary test code.
[0145] In a preferred embodiment of the present invention, in step S15, the method of obtaining the actual test data to be sent by performing bit - by - bit calculation on the binary test data and the binary test code that have passed through step S14 is:
[0146] U1U2U3…U K ⊙V1V2V3…V K =U1′U2′U3′…U′ K ,
[0147] where U1 represents the value of the 1st bit from left to right in the binary test data;
[0148] U2 represents the value at the second position from left to right in the binary test data;
[0149] U3 represents the value at the third position from left to right in the binary test data;
[0150] U K Indicates the value at the Kth position from left to right in the binary test data;
[0151] V1 represents the value of the first bit from left to right in the binary test code;
[0152] V2 represents the value of the second bit from left to right in the binary test code;
[0153] V3 represents the value of the third bit from left to right in the binary test code;
[0154] V K Indicates the value at the Kth position from left to right in the binary test code;
[0155] U1′ represents the value of the first bit from left to right in the actual test data to be sent;
[0156] U2′ represents the value of the second bit from left to right in the actual test data to be sent;
[0157] U3′ represents the value of the third bit from left to right in the actual test data to be sent;
[0158] U′ K Indicates the value at the Kth position from left to right in the actual test data to be sent;
[0159] ⊙ represents the same position operator;
[0160] K represents the total number of digits;
[0161] U1U2U3…U K Represents binary test data;
[0162] V1V2V3…V K represents a binary test code;
[0163] U1′U2′U3′…U′ K Indicates the actual test data to be sent;
[0164] U k The calculation method of ′ is:
[0165]
[0166] Among them, U k' represents the value at the kth position from left to right in the actual test data to be sent;
[0167] If means logical condition;
[0168] U k Indicates the value at the kth position from left to right in the binary test data;
[0169] V k Indicates the value at the kth position from left to right in the binary test code;
[0170] or indicates logical condition or;
[0171] and represents the logical condition and;
[0172] K represents the total number of digits.
[0173] In a preferred embodiment of the present invention, the method for generating a test code of test data according to binary test data in step S12 is:
[0174] Testingstring=Testingstringenerateway(Testdata),
[0175] Among them, Testingstring represents the test code generated according to the acquired test data;
[0176] Testingstringenerateway() indicates the method of generating the test code, which can use the sha256 digest algorithm;
[0177] Testdata means obtaining the test data to be tested.
[0178] 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 new energy vehicle CAN test safety method, characterized in that: The following steps are involved: The first step is to plug the motor controller into the new energy vehicle; The second step is to connect the new energy vehicle to the host computer; The third step is to test new energy vehicles.
2. The new energy vehicle CAN test safety method according to claim 1 is characterized in that: The motor controller comprises a face shell (1), a PCB board (2), and a bottom shell (3) which are arranged in sequence from top to bottom. The bottom shell (3) is provided with an annular groove (31) for inserting the bottom of the face shell (1). The annular groove (31) is dotted with a sealant (311). The bottom surface of the face shell (1) is provided with a knurled structure (11) for increasing the adhesive bonding area. A limiting protrusion (12) is horizontally provided on the outer side of the face shell (1). A positioning notch (32) is provided on the outer side of the annular groove (31) for the limiting protrusion (12) to be pressed down and inserted. When the face shell (1) with the PCB board (2) installed is pressed from top to bottom onto the bottom shell (3), the bottom of the face shell (1) is inserted into the annular groove (31), and the limiting protrusion (12) is synchronously inserted into the positioning notch (32).
3. The new energy vehicle CAN test safety method according to claim 2 is characterized in that: A CAN communication module, an ECU controller and a data security module are arranged on the PCB board (2); The data communication terminal of the CAN communication module is connected to the CAN data communication terminal of the ECU controller, and the data terminal of the ECU controller is connected to the data terminal of the data security module; The CAN communication module is used to receive the data sent by the electronic control unit ECU of the new energy vehicle, and the received data is safely processed by the data security module to obtain the test data.
4. The new energy vehicle CAN test safety method according to claim 2 is characterized in that: The limiting protrusions (12) are two in number and are asymmetrically located on the outer edge of the face shell (1).
5. The new energy vehicle CAN test safety method according to claim 2 is characterized in that: The bottom shell (3) is symmetrically provided with a mounting support (33) extending outward, and the mounting support (33) is provided with a mounting hole.
6. The new energy vehicle CAN test safety method according to claim 2 is characterized in that: The PCB board (2) is installed in the face shell (1) by welding, and the face shell (1) is an overall square structure.
7. The new energy vehicle CAN test safety method according to claim 2 is characterized in that: The sealant (311) is a paste-like glue.
8. The new energy vehicle CAN test safety method according to claim 2 is characterized in that: The limiting protrusion (12) is flush with the bottom surface of the face shell (1) and is provided with a knurling structure (11); the bottom surface of the positioning notch (32) is flush with the bottom of the annular groove (31); and the thickness of the limiting protrusion (12) is less than the height of the positioning notch (32).
9. The new energy vehicle CAN test safety method according to claim 2, characterized in that: The surface roughness of the annular groove (31) is 6.3-25.
Citation Information
Patent Citations
Vehicle controller testing method and system
CN109213111A
Vehicle-mounted CAN bus analyzer
CN215186794U
Motor controller casing structure and motor controller
CN215222783U
Shell structure of controller
CN219592839U
