Motor controller testing method and device and storage medium

By using database communication protocol information and test control instructions in motor controller testing, replacing the traditional torque output method, the problems of high testing costs, long cycles and poor compatibility of motor controllers are solved, and an efficient and simple test process is achieved.

CN119987329APending Publication Date: 2025-05-13CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202510035156.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-09
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

In the prior art, high-temperature durability testing is carried out by using a three-in-one drive motor assembly on two motor test benches for high temperature and durability testing, resulting in high testing cost, long cycle and poor test compatibility.

Method used

It provides a motor controller testing method, by starting the test equipment, loading test configuration information to obtain database communication protocol information, determining test control instructions, performing status switching, and triggering the motor controller to output test current based on the current status, replacing the traditional torque output method.

Benefits of technology

It realizes the simplicity, efficiency, convenience and speed of motor controller testing, reduces the testing cost and cycle, and improves test compatibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119987329A_ABST
    Figure CN119987329A_ABST
Patent Text Reader

Abstract

The invention relates to a motor controller testing method and device and a storage medium. The motor controller testing method comprises the steps that testing equipment of a motor controller is started; under the condition that the test equipment is started, file loading is carried out according to the test configuration information, and database communication protocol information of the motor controller is obtained; determining a test control instruction of the motor controller according to the database communication protocol information; switching the state of the motor controller based on the test control instruction to obtain the current test state of the motor controller; based on the current test state, the motor controller is triggered to output the test current according to the test control instruction, so that the test of the motor controller is realized, and a rack tool and a half shaft matched with the motor test rack do not need to be designed and manufactured in advance. The problem that in the prior art, a driving motor three-in-one assembly is installed on a two-motor testing rack for testing, and consequently the testing cost of a motor controller is high is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automobile technology, and in particular to a motor controller testing method, device and storage medium. Background Art

[0002] In the high-temperature durability test of the motor controller of new energy vehicles, the three-in-one assembly of the drive motor is directly installed on the two-motor test bench for testing. However, due to the complex test environment, it takes a lot of time to build the test bench, and the test has high requirements for the bench and tooling. If there is an abnormality in the tooling, it may also cause damage to the test sample. The risk of damage to the test sample increases, so more parts need to be purchased, such as stators, rotors and other parts. In addition, test preparation, test sample and bench communication configuration, debugging, and half-axle alignment when the bench is built all take a lot of time. The test process is also relatively complicated, requiring more large-scale equipment to run at the same time, and energy consumption is high, so the test cost is high. Summary of the invention

[0003] In view of this, the present application provides a motor controller testing method, device and storage medium to solve the problem of high motor controller testing cost caused by using a three-in-one drive motor assembly installed on two motor test benches for high temperature endurance testing in the related art.

[0004] In a first aspect, the present application provides a motor controller testing method, comprising:

[0005] Starting a test device for the motor controller;

[0006] When the test device is started, the file is loaded according to the test configuration information to obtain the database communication protocol information of the motor controller;

[0007] Determining a test control instruction of the motor controller according to the database communication protocol information;

[0008] Switching the state of the motor controller based on the test control instruction to obtain the current test state of the motor controller;

[0009] Based on the current test state, the motor controller is triggered to output a test current according to the test control instruction.

[0010] Optionally, the test equipment includes a battery simulator, a cooling device, and a temperature environment chamber device of the motor controller, and the test equipment for starting the motor controller includes:

[0011] Start cooling equipment;

[0012] When there is no leakage in the pipeline between the cooling device and the motor controller, starting the battery simulator;

[0013] By means of the battery simulator, the electric control state of the motor controller is set to a first voltage standby state;

[0014] Based on the first voltage standby state, the temperature environment chamber device is started, and the temperature environment chamber device is used to control the temperature of the test environment chamber where the motor controller is located.

[0015] Optionally, the file loading according to the test configuration information to obtain the database communication protocol information of the motor controller includes:

[0016] Get test configuration information;

[0017] Based on the test configuration information, determining a target communication channel and a target baud rate;

[0018] opening a controller area network device based on the target communication channel;

[0019] The file is loaded through the controller local area network device according to the target baud rate to obtain the database communication protocol information.

[0020] Optionally, determining a target communication channel and a target baud rate based on the test configuration information includes:

[0021] Output a channel selection interface based on the test configuration information;

[0022] In case a channel selection operation corresponding to the channel selection interface is detected, determining the communication channel selected by the channel selection operation as the target communication channel;

[0023] The target baud rate is determined based on the preset baud rate information corresponding to the target communication channel and in combination with the received baud rate selection operation.

[0024] Optionally, determining the target baud rate based on preset baud rate information corresponding to the target communication channel in combination with a received baud rate selection operation includes:

[0025] Outputting a baud rate selection interface according to the preset baud rate information corresponding to the target communication channel, wherein the baud rate selection interface includes at least one candidate baud rate;

[0026] In a case where the baud rate selection operation is detected, the candidate baud rate selected by the baud rate selection operation is determined as the target baud rate.

[0027] Optionally, after opening the controller area network device based on the target communication channel, the method further includes:

[0028] Get data record operation;

[0029] Based on the data recording operation, detecting a data storage selection operation;

[0030] Based on the data storage location selected by the data storage selection operation, data recording begins to obtain a data recording result.

[0031] Optionally, determining the test control instruction of the motor controller according to the database communication protocol information includes:

[0032] Get current input information;

[0033] Based on the current input information, the test control instruction is generated according to the database communication protocol information.

[0034] Optionally, switching the state of the motor controller based on the test control instruction to obtain the current test state of the motor controller includes:

[0035] Sending the test control instruction to the motor controller;

[0036] In response to the test control instruction, switching the electric control state of the motor controller to an open-tube state;

[0037] The open tube state is determined as the current test state.

[0038] In a second aspect, the present application provides a motor controller testing device, comprising:

[0039] A starting module, used for starting the test equipment of the motor controller;

[0040] A loading module, used for loading files according to the test configuration information to obtain the database communication protocol information of the motor controller when the test device is started;

[0041] An instruction determination module, used to determine the test control instruction of the motor controller according to the database communication protocol information;

[0042] A state switching module, used to switch the state of the motor controller based on the test control instruction to obtain the current test state of the motor controller;

[0043] A test running module is used to trigger the motor controller to output a test current according to the test control instruction based on the current test state.

[0044] In a third aspect, the present application provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the steps of the motor controller testing method as described in any one of the first aspects of the present application.

[0045] The embodiment of the present application provides a test device for starting a motor controller, and when the test device for the motor controller is started, the file is loaded according to the test configuration information, so that the database communication protocol information of the motor controller can be obtained, and then the test control instruction of the motor controller is determined according to the database communication protocol information, and the state of the motor controller is switched according to the test control instruction to obtain the current test state of the motor controller, so as to trigger the motor controller to output the test current according to the test control instruction based on the current test state, so that the motor controller outputs the test current, replacing the traditional test method of installing the three-in-one assembly of the drive motor on two motor test benches to output the torque, thereby realizing the test of the motor controller, and further making the motor controller test simple, efficient, convenient and fast, and there is no need to design and manufacture the bench tooling and half-axles matching the motor test bench in advance, and the compatibility is high, which solves the problem of high cost of motor controller testing caused by using the three-in-one assembly of the drive motor to be installed on two motor test benches for testing in the existing related technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0047] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0048] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0049] Figure 1 A flowchart of a motor controller testing method provided in an embodiment of the present application;

[0050] Figure 2 A schematic diagram of a single motor controller high temperature endurance test connection method provided as an example of the present application;

[0051] Figure 3A connection diagram of two motor controllers for high temperature endurance testing provided in an example of this application;

[0052] Figure 4 A control flow diagram of a motor controller testing method provided as an example of the present application;

[0053] Figure 5 A structural block diagram of a motor controller testing device provided in an embodiment of the present application;

[0054] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0056] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.

[0057] The following is an illustrative description of the embodiments of the present application, but it should be noted that the embodiments of the present application may have the features described below, but the following description does not constitute a limitation on the scope of protection of the embodiments of the present application.

[0058] In the field of high-temperature durability testing of motor controllers for new energy vehicles, the existing related technologies require the use of two motor bench resources with high-temperature environment chamber configurations to complete the high-temperature durability testing of motor controllers, and all the equipment designed for the entire test environment is relatively large, requiring a huge space to achieve. Before the test, not only do a series of parts and materials such as stators, rotors, radiators, reducers, oil pumps, and housings need to be assembled into assemblies according to standardized operating procedures, but also after the parts and materials are assembled into assemblies, they need to undergo offline testing, zero-position flashing, and other complex processes to meet the test status, which requires more manpower, material resources, and financial resources. In terms of test preparation, it is necessary to design and manufacture bench tooling and half-axles that match the motor test bench in advance, and the cycle for designing and manufacturing bench tooling generally takes about one month, so the test cycle increases; in addition, the bench tooling can only be used on the matching bench. If the bench resources are replaced, the bench tooling can no longer be used, and it is necessary to re-make the bench tooling that is compatible with the replaced bench, so the test cost is high.

[0059] Based on the above, the present application provides a motor controller testing method, device and storage medium to solve the problem of high motor controller testing cost, long cycle and poor testing compatibility caused by the existing related technology that a three-in-one drive motor assembly must be installed on two motor test benches for high temperature endurance testing.

[0060] Figure 1 A flowchart of a motor controller testing method provided in an embodiment of the present application. The motor controller testing method provided in an embodiment of the present application may include the following steps:

[0061] Step 110, starting the test equipment of the motor controller;

[0062] Among them, the test equipment of the motor controller may include various equipment required for the motor controller test, such as the test equipment may include cooling equipment, battery simulator, temperature environment chamber equipment, etc., and the embodiment of the present application does not impose specific restrictions on this.

[0063] In specific implementations, cooling equipment can be used to remove the heat generated by the motor controller to create a suitable temperature environment for the internal hardware of the motor controller, so that it can be effectively cooled and maintain a better working state. For example, when a water cooler is used as a cooling device for the motor controller, Figure 2As shown, the water outlet of the water cooler is connected to the water inlet of the motor controller, and the water return port of the water cooler is connected to the water outlet of the motor controller, so that the coolant output from the water outlet of the water cooler can enter the internal water system of the motor controller through the water inlet of the motor controller, thereby taking away the heat generated by the operation of the motor controller, and the coolant flowing out of the internal water system of the motor controller passes through the water outlet of the motor controller and flows back to the water cooler, so that the coolant is cooled by the compressor of the water cooler to form a closed loop, and such a reciprocating cycle can create a suitable temperature environment for the internal hardware of the motor controller, so that it can effectively dissipate heat and maintain a better working state.

[0064] The battery simulator is used to simulate the battery of new energy vehicles and provide a continuous and stable DC operating voltage for the motor controller.

[0065] The temperature environment chamber equipment refers to the equipment used to provide a high temperature environment chamber for the motor controller, so that the motor controller can be tested for high temperature endurance in a high temperature environment.

[0066] Step 120, when the test device is started, the file is loaded according to the test configuration information to obtain the database communication protocol information of the motor controller;

[0067] Specifically, after the test device of the motor controller is started, the embodiment of the present application can obtain test configuration information to select the controller area network (CAN) channel and baud rate based on the test configuration information, and then the CAN device can be opened based on the selected CAN channel, and the CAN database (DBC) file can be loaded through the CAN device, so that the DBC communication protocol information can be extracted from the loaded DBC file, and the DBC communication protocol information can be determined as the database communication protocol information of the motor controller. Among them, the DBC file is a format file for describing the CAN communication protocol, such as a DBC file can be a text file represented by ASCII code, which contains information related to CAN communication, which can specifically include CAN messages, signals, nodes, periodic messages, etc., and the embodiment of the present application does not limit this.

[0068] Step 130, determining a test control instruction of the motor controller according to the database communication protocol information;

[0069] Specifically, after determining the database communication protocol information, the embodiment of the present application can generate a fixed current instruction according to the database communication protocol information, and then use the fixed current instruction as a test control instruction for the motor controller.

[0070] Step 140, switching the state of the motor controller based on the test control instruction to obtain the current test state of the motor controller;

[0071] Specifically, the embodiment of the present application can send a test control instruction to the motor controller, so that the motor controller can respond to the test control instruction and switch the electric control state of the motor controller to the open-tube state, so as to set the open-tube state as the current test state, thereby realizing state switching. Among them, the electric control state can be specifically divided into but not limited to: low-voltage standby state, high-voltage standby state, open-tube state, etc., and the embodiment of the present application does not limit this.

[0072] Step 150 , based on the current test state, trigger the motor controller to output the test current according to the test control instruction.

[0073] Among them, the test current may refer to the current output during the test, such as the current output by the motor controller during the high-temperature endurance test. Specifically, after the motor controller is switched to the open-tube state, the embodiment of the present application can control the motor controller to output the test according to the test control instruction based on the open-tube state, such as controlling the motor controller to output the test current to the inductor connected thereto according to the instruction parameters carried in the test control instruction, so as to achieve the matching and energy consumption of the current input and output component combination through the inductor, thereby realizing the test of the motor controller.

[0074] It can be seen that the motor controller testing method provided in the embodiment of the present application starts the test equipment of the motor controller, and when the test equipment of the motor controller is started, loads the file according to the test configuration information, so as to obtain the database communication protocol information of the motor controller, and then determines the test control instruction of the motor controller according to the database communication protocol information, and switches the motor controller state according to the test control instruction to obtain the current test state of the motor controller, and then based on the current test state of the motor controller, triggers the motor controller to output the test current according to the test control instruction, so that the motor controller outputs the test current, replacing the traditional test method of installing the three-in-one assembly of the drive motor on two motor test benches to output the torque, thereby realizing the test of the motor controller, making the motor controller test simple, efficient, convenient and fast, and there is no need to design and manufacture the bench tooling and half-axles matching the motor test bench in advance, with high compatibility, which solves the problem of high cost of motor controller testing caused by using the three-in-one assembly of the drive motor installed on two motor test benches for testing in the existing related technology.

[0075] In some embodiments of the present application, the motor controller can be placed in a high-temperature environment chamber for testing to achieve the test of the high-temperature durability performance of the motor controller. Among them, the high-temperature environment chamber serves as a test environment chamber, which can be specifically used to place the motor controller that needs to be tested at present; in a specific implementation, by controlling the temperature of the test environment chamber, the operation of the motor controller under high temperature conditions can be simulated. Optionally, in the case where the test equipment of the motor controller includes a battery simulator, a cooling device, and a temperature environment chamber device of the motor controller, the embodiment of the present application starts the test equipment of the motor controller, which can specifically include the following sub-steps:

[0076] Sub-step 1101, starting the cooling device;

[0077] Sub-step 1102, starting the battery simulator when there is no leakage in the pipeline between the cooling device and the motor controller;

[0078] Sub-step 1103, setting the electric control state of the motor controller to a first voltage standby state through a battery simulator;

[0079] Sub-step 1103, based on the first voltage standby state, starting the temperature environment chamber device, the temperature environment chamber device is used to control the temperature of the test environment chamber where the motor controller is located.

[0080] Among them, the first voltage standby state refers to the standby state that the motor controller needs to enter before starting the motor controller test. For example, the motor controller can be in a 350V high-voltage standby state as the first voltage standby state, so that the motor controller can subsequently enter the test state according to the test control instruction in the 350V high-voltage standby state. Of course, in addition to using the 350V high-voltage standby state as the first voltage standby state, the embodiment of the present application can also determine the standby state of other high-voltage voltage values ​​as the first voltage standby state, such as other high-voltage voltage values ​​can be 220V or 380V, etc., which can be specifically set according to the actual test conditions of the motor controller, and the embodiment of the present application does not limit this.

[0081] Specifically, after the test environment of the motor controller is set up, the test equipment of the motor controller can be started to start the test equipment. Taking the water cooler as the cooling equipment for the motor controller test as an example, the water cooler can be started first, and the coolant temperature and coolant flow rate can be set according to the water temperature and flow rate set in the test conditions. For example, the coolant temperature can be set to 65°C according to the water temperature of 65°C set in the test conditions, and the coolant flow rate can be set to 8L / min according to the water flow rate of 8L / min set in the test conditions. Then, it can be detected whether there is leakage in the pipeline between the water cooler and the motor controller to determine whether there is leakage in the entire cooling water pipeline system of the motor controller; if leakage is detected in the pipeline between the water cooler and the motor controller, it can be determined that there is leakage in the entire cooling water pipeline system of the motor controller, that is, it is determined that the connection sealing between the water cooler and the motor controller is poor, and then the pipeline between the water cooler and the motor controller can be reconnected and tightened to ensure the sealing of the pipeline between the water cooler and the motor controller.

[0082] Among them, the pipeline between the water cooler and the motor controller serves as a cooling water pipeline. Specifically, the coolant flowing out from the water outlet on the motor controller can flow into the return water outlet on the water cooler, so that the heat generated by the motor controller can be brought to the water cooler for cooling and dissipation through the coolant. The coolant flowing out of the water cooler after heat dissipation can be flowed into the water inlet on the motor controller through the water outlet on the water cooler to form a closed loop and realize the circulation of the coolant.

[0083] When it is detected that there is no leakage in the pipeline between the water cooler and the motor controller, it can be determined that there is no leakage in the entire cooling water pipeline system of the motor controller. Then, the battery simulator can be started, and based on the test conditions of the motor controller, the electronic control state of the motor controller can be set to the first voltage standby state through the started battery simulator. For example, when the battery simulator voltage is set to 24V, the battery simulator can be started by a 24V voltage, so that the battery simulator enters a low-voltage standby state after startup. Then, according to the test conditions, a voltage of 350V can be output to the motor controller through the battery simulator, so that the electronic control state of the motor controller can be switched to a high-voltage standby state through the 350V voltage, and the high-voltage standby state can be used as the first voltage standby state. After the electronic control state of the motor controller is switched to the high-voltage standby state, the temperature environment chamber equipment can be started according to the high voltage (such as 350V) under the test conditions, so as to control the temperature of the test environment chamber where the motor controller is located through the environment chamber equipment. Among them, the test environment chamber refers to an environment chamber used to test the performance of the motor controller, and the temperature of the environment chamber can be controlled by the temperature environment chamber device; the temperature environment chamber device refers to a device used to control the temperature of the environment chamber, such as the temperature environment chamber device can be set according to the technical conditions, so that the temperature environment chamber device can control the temperature of the environment chamber to 85°C. Of course, in addition to setting the temperature of the environment chamber to 85°C, the embodiment of the present application can also set the temperature of the environment chamber to other temperature values ​​through the temperature environment chamber device, such as 80°C, 70°C or 89°C, etc. The specific temperature value can be set according to the performance test requirements of the motor controller, and the embodiment of the present application does not limit this.

[0084] Of course, in addition to cooling equipment, battery simulators, and temperature environment chamber equipment, the motor controller test equipment may also include other equipment, such as a low-voltage power supply, CAN equipment, etc. The embodiments of the present application do not impose specific restrictions on this.

[0085] Among them, the low-voltage power supply can be used to provide a low-voltage power supply signal to the motor controller, so that the motor controller enters a lower-than-standby state based on the low-voltage power supply signal. For example, the power supply voltage of the low-voltage power supply can be set to 12V according to technical conditions, so that after starting the low-voltage power supply, the low-voltage power supply outputs a 12V voltage to the motor controller, so that the motor controller enters a 12V low-voltage standby state. Of course, in addition to being a 12V voltage, the voltage provided by the low-voltage power supply can also be a voltage of other values, such as being set to 5V or 15V, etc. The specific voltage value can be set according to the low-voltage standby requirement of the motor controller, and the embodiments of the present application are not limited to this.

[0086] As a communication tool, CAN devices can be used for communication debugging and acquisition control of motor controllers. For example, the CAN device can be a CAN box connected to the motor controller, so that the computer can send a fixed current instruction through the software, and then the motor controller can output current according to the instruction. This replaces the traditional test method of installing the three-in-one assembly of the drive motor on two motor test benches to output torque, thereby realizing the detection of the high-temperature durability performance of the motor controller, making the high-temperature durability test of the motor controller simple, efficient, convenient, fast, and highly compatible, greatly reducing test time and test costs.

[0087] For example, when using a low voltage harness as a test harness, such as Figure 2 As shown, a low-voltage harness with a shielding layer can be used to connect the CAN end of the motor controller to the CAN box, so that the computer can establish a communication connection with the motor controller through the CAN box, and then based on the communication connection, the test control command is sent to the motor controller through the computer to achieve the high temperature durability test of the motor controller. Among them, the CAN end can include the first bus terminal CANH, the second bus terminal CANL, the 12V power supply positive connection terminal +, the 12V power supply negative connection terminal -, the wake-up line connection terminal KL15, etc., and the embodiment of the present application does not limit this.

[0088] In some optional embodiments of the present application, when the test device of the motor controller is started, the computer can obtain the test configuration information to select a suitable communication channel based on the test configuration information as the target communication channel, so that the computer can subsequently communicate with the motor controller through the target communication channel, and can select a suitable baud rate as the target baud rate, so that data can be subsequently transmitted at the target baud rate. Optionally, the embodiment of the present application loads a file according to the test configuration information to obtain the database communication protocol information of the motor controller, which can specifically include the following sub-steps:

[0089] Sub-step 1201, obtaining test configuration information;

[0090] Sub-step 1202, determining a target communication channel and a target baud rate based on the test configuration information;

[0091] Sub-step 1203, opening the controller area network device based on the target communication channel;

[0092] Sub-step 1204, loading the file according to the target baud rate through the controller local area network device to obtain database communication protocol information.

[0093] Among them, the test configuration information may include various configuration information for setting the test conditions for the motor controller, such as protocol, CANFD standard information, CANFD acceleration, arbitration domain baud rate, data domain baud rate, working mode, terminal resistance enable information, send retry configuration information, CAN view configuration information, etc. The embodiment of the present application does not impose specific restrictions on this.

[0094] Specifically, after obtaining the test configuration information, the embodiment of the present application can output a channel selection interface based on the test configuration information, so that the user can submit a channel selection operation on the channel selection interface, and determine the communication channel selected by the user as the target communication channel through the channel selection operation, so that the target communication channel can be opened through the target communication channel, and the preset baud rate corresponding to the target communication channel can be determined as the target baud rate, and then the file can be loaded according to the target baud rate through the controller local area network device to obtain the database communication protocol information.

[0095] Optionally, an embodiment of the present application determines a target communication channel and a target baud rate based on test configuration information, which may specifically include: outputting a channel selection interface based on the test configuration information; when a channel selection operation corresponding to the channel selection interface is detected, determining the communication channel selected by the channel selection operation as the target communication channel; determining the target baud rate based on preset baud rate information corresponding to the target communication channel and in combination with the received baud rate selection operation.

[0096] Among them, the channel selection interface refers to an interface for providing users with the ability to select a communication channel. For example, the channel selection interface may be a view interface output according to the test configuration information, and the embodiments of the present application do not limit this. The channel selection operation corresponding to the channel selection interface refers to the channel selection operation received after the channel selection interface is output. The channel selection operation refers to an operation for selecting a communication channel. For example, after the channel selection interface is output, various operations submitted by the user on the channel selection interface for channel selection may be determined as the channel selection operation corresponding to the channel selection interface. The preset baud rate information corresponding to the target communication channel may refer to the baud rate information pre-set for the target communication channel, and the baud rate information may be used to determine the baud rate pre-set for the communication channel. The baud rate selection operation refers to an operation for selecting a baud rate.

[0097] Specifically, after the embodiment of the present application outputs the channel selection interface, each communication channel to be selected can be displayed on the channel selection interface, and whether the channel selection operation submitted by the user is received can be monitored; if the channel selection operation submitted by the user is received, the communication channel selected by the user can be determined as the target communication channel based on the channel selection operation submitted by the user; if the channel selection operation is not received, the channel selection operation automatically generated by the system, the communication channel selected by the system by default is determined as the target communication channel. Subsequently, the baud rate selection interface can be output according to the preset baud rate information corresponding to the target communication channel, so as to display one or more candidate baud rates corresponding to the target communication channel through the baud rate selection interface for the user to select, so that the target baud rate can be determined later according to the operation.

[0098] Among them, the candidate baud rate refers to the baud rate to be selected. In some optional embodiments of the present application, based on the preset baud rate information corresponding to the target communication channel, combined with the received baud rate selection operation, the target baud rate is determined, which can specifically include: according to the preset baud rate information corresponding to the target communication channel, the baud rate selection interface is output, and the baud rate selection interface includes at least one candidate baud rate; when the baud rate selection operation is detected, the candidate baud rate selected by the baud rate selection operation is determined as the target baud rate. For example, after outputting the channel selection interface, each communication channel to be selected can be displayed on the channel selection interface, and it is monitored whether the channel selection operation submitted by the user is received; if the channel selection operation submitted by the user is received, the communication channel selected by the user can be determined as the target communication channel based on the channel selection operation submitted by the user; if the channel selection operation is not received, the channel selection operation automatically generated by the system, the communication channel selected by the system by default is determined as the target communication channel.

[0099] In some optional embodiments of the present application, after selecting the CAN channel as the target communication channel, the location for data storage can be selected to start recording data and generate corresponding data recording results. Optionally, the motor controller test method provided in the embodiment of the present application further includes: obtaining a data recording operation; based on the data recording operation, detecting a data storage selection operation; based on the data storage location selected by the data storage selection operation, starting to record data and obtaining data recording results.

[0100] As an example of this application, each device and motor controller can be connected according to the single motor controller high temperature endurance test connection method or multiple motor controllers simultaneously carry out high temperature endurance test connection method to achieve the construction of the motor controller test environment. Figure 2The single motor controller high temperature endurance test connection method shown in the figure connects one motor controller with a CAN box, a water cooler, an output AC reactor, a battery simulator, and a low-voltage power supply to build a test environment for a single motor controller; for example, you can follow the Figure 3 The high temperature endurance test connection method of the two motor controllers shown connects the two motor controllers to the CAN box, water cooler, reactor 1, reactor 2, battery simulator and low-voltage power supply to realize the test environment construction of the two motor controllers, wherein reactor 1 serves as the AC output reactor connected to the first motor controller, and reactor 2 serves as the AC output reactor connected to the second motor controller.

[0101] After the test environment is set up, you can start the test equipment, such as Figure 4 As shown, each test device connected to the motor controller is started, and then the CAN box driver can be installed on the test computer to realize the CAN driver installation. After the CAN driver is installed, the test software can be opened through the computer, and the device type can be selected in the device manager through the test software, and then the open device button can be clicked to start the CAN device based on the selected device type as the controller LAN device corresponding to the motor controller. Then the startup dialog box can be opened on the computer to select the configuration parameter information corresponding to the motor controller through the startup dialog as the test configuration information of the motor controller, and then the appropriate CAN channel can be selected as the target communication channel based on the test configuration information to realize CAN channel selection, and the appropriate arbitration domain baud rate and data domain baud rate can be selected as the target baud rate to realize baud rate selection.

[0102] Among them, the configuration parameter information may specifically include pre-set reference information such as communication protocol, CANFD standard (such as Non-ISO), whether CANFD is accelerated, arbitration domain baud rate (such as 500kbps80%), data domain baud rate (such as 2Mbps80%), working mode, terminal resistance enable, send retries, etc. This application example does not impose specific restrictions on this.

[0103] After configuring the above test configuration information, the CAN view can automatically receive and refresh the CAN receive information list to display the CAN receive information corresponding to the motor controller through the CAN receive information list, so that the user can click the real-time save on the CAN view column, select the data storage location, and start recording data, and then record various data required for the high temperature endurance test of the motor controller to realize data recording.

[0104] After starting to record data, you can click on the New View column on the computer, select New DBC View, and click on the DBC file that needs to be loaded, that is, load the DBC file, so that you can extract the DBC communication protocol information from the loaded DBC file, and use the extracted DBC communication protocol information as the database communication protocol information of the motor controller, thereby realizing DBC loading.

[0105] After DBC is loaded, the test control instructions can be directly sent to the motor controller by adding a send frame, thereby realizing the control of the motor controller, thus eliminating the need to configure the motor controller DBC on the host computer of the two motor test benches in the existing related technology, and then the test bench host computer sends instructions to the controller and controls it. Complex steps.

[0106] Optionally, the embodiment of the present application determines the test control instruction of the motor controller according to the database communication protocol information, which may specifically include: obtaining current input information; based on the current input information, generating the test control instruction according to the database communication protocol information. The current input information may refer to the current information input by the user for the motor controller test, such as the current information input according to the rated current of the motor controller.

[0107] For example, after DBC is loaded, you can select DBC send in the send data column option on the computer display interface, select the channel of the corresponding CAN box connected to the computer adapter board in the channel selection, select the normal working mode in the DBC protocol selection, and click the send frame of the motor controller in the ID list on the left side of the send data column. The user can then add current input information by right-clicking, so that the computer can generate the corresponding current instruction using the current input information according to the database communication protocol information, and can use the current input information as a test control instruction to send it directly to the motor controller, that is, send the test control instruction to the motor controller, thereby realizing the control of the motor controller, so that the motor controller can output current according to the test control instruction, and realize the detection of the high temperature durability performance of the controller.

[0108] In some optional embodiments of the present application, the motor controller state is switched based on the test control instruction to obtain the current test state of the motor controller, which may specifically include: sending the test control instruction to the motor controller; in response to the test control instruction, switching the electrical control state of the motor controller to an open-tube state; and determining the open-tube state as the current test state.

[0109] Specifically, after generating a test control instruction for a motor controller, the embodiment of the present application can send the test control instruction to the motor controller, so that the motor controller can receive the test control instruction, and then the motor controller can respond to the test control instruction to switch the electrical control state of the motor controller to an open-tube state, thereby realizing state switching, and determining the switched open-tube state as the current test state of the motor controller, so as to trigger the motor controller to output a test current according to the test control instruction based on the current test state, thereby realizing a high-temperature endurance test of the motor controller.

[0110] For example, when the motor controller state is switched, the number of transmissions can be set to -1 or 9999 in the added transmission frame interface to indicate cyclic transmission or multiple transmissions, and the interval setting for each transmission can be 10ms to implement cyclic transmission or multiple transmissions according to the set interval time. In an optional implementation, the motor controller state can be differentiated according to the power-on logic according to the state switching frame of the motor controller, such as being divided into a low-voltage standby state, a high-voltage standby state, and an open-tube state, so that the state switching can be implemented later according to the state switching frame.

[0111] Among them, the open tube state can be used as a test enable (Enable) transition state. After the motor controller switches to the open tube state, it can observe whether the feedback status frame in the corresponding actual signal frame is switched according to the given instruction, so as to proceed to the next step after the state is switched to the open tube (Enable).

[0112] Specifically, after the state is switched, the operating conditions of the motor controller can be controlled according to the test control instructions to realize the high temperature endurance test of the motor controller. For example, the rated current can be input in the sending frame to generate a test control instruction to control the motor controller to start running the rated operating conditions high temperature endurance test through the test control instruction.

[0113] For example, after starting the operating condition, the three-phase current of the motor controller fed back in the actual current signal frame can be viewed through data viewing based on the data recording results, and it can be determined whether the three-phase current of the motor controller is √2 times the given current. When the three-phase current of the motor controller is √2 times the given current, the three-phase temperature of the insulated gate bipolar transistor (IGBT) of the motor controller is stable by observing whether the three-phase temperature is stable. When the three-phase temperature of the IGBT is stable, the three-phase temperature of the motor controller can be determined based on the three-phase temperature of the IGBT, and then it can be determined whether the motor controller is faulty based on the three-phase temperature of the motor controller. In the case that the motor controller is faulty, a fault code can be reported, and then a fault matrix list can be generated based on the reported fault code, so that the source of the fault can be queried based on the fault matrix list to realize data viewing. For example, in the case where fault code 9 indicates an IGBT overtemperature alarm, it is possible to check whether the cooling pipeline is blocked or the flow rate is small based on the preset reference information, and the embodiments of the present application are not limited to this.

[0114] In some optional embodiments of the present application, an adaptive algorithm may be used to perform data processing based on data recording results to determine the high temperature endurance test results of the motor controller.

[0115] For example, the identifier, data length, and data segment in the message signal can be monitored by a computer to automatically adjust the message signal processing of the motor controller based on the monitored message information, so as to adapt to the changes and interference effects of the message signal, and can continuously change the response of the motor controller according to the statistical characteristics of the signal and interference, effectively enhancing the anti-interference ability of the entire data domain, and can better capture the transient characteristics and non-stationarity of the signal, and improve the signal transmission quality; then, the abnormal values ​​in the data are eliminated through the Grubbs method, such as collecting at least 15 measurement values ​​in the detection measurement data, such as collecting detection measurement data such as voltage, current, temperature, etc. The 15 measured values ​​in the data are taken, and then the mean and standard deviation of these measured values ​​can be calculated. If the absolute value of the residual of a measured value (that is, the difference between the measured value and the mean value) is greater than 2.41 times the standard deviation, the measured value is considered to be abnormal and is eliminated. Finally, through inferential statistical analysis methods, such as hypothesis testing methods, the overall characteristics can be inferred from the collected voltage, current, temperature and other data, and the relationship between temperature, flow, current, and voltage can be calculated. Scientific decisions and predictions can be made based on the relationship between temperature, flow, current, and voltage, so that the relevant working parameters of the motor controller can be adjusted in advance, and effective preventive and protective measures can be made.

[0116] In summary, the embodiment of the present application starts the test equipment of the motor controller, and when the test equipment of the motor controller is started, loads the file according to the test configuration information, so as to obtain the database communication protocol information of the motor controller, and then determines the test control instructions of the motor controller according to the database communication protocol information, and switches the state of the motor controller according to the test control instructions to obtain the current test state of the motor controller, so as to trigger the motor controller to output the test current according to the test control instructions based on the current test state, so that the motor controller outputs the test current, replacing the traditional test method of installing the three-in-one assembly of the drive motor on two motor test benches to output the torque, thereby realizing the test of the motor controller, and thus making the motor controller test simple, efficient, convenient and fast, and there is no need to design and manufacture the bench tooling and half-axles that match the motor test bench in advance, and the compatibility is high.

[0117] For example, for the compatibility of controllers of the same type and different types, when the controllers all use the CANFD or CAN protocol, the motor controller test method and connection method provided in the embodiment of the present application can be used to carry out high temperature endurance testing. The difference is that the baud rate selected when turning on the device is different, such as the target baud rate selected for the CAN protocol is 500kbps; and the arbitration domain baud rate selected for the CANFD protocol is 500kbps80%, and the data domain baud rate is 2Mbps80%, and then the selected arbitration domain baud rate and the selected data domain baud rate can be determined as the target baud rate. Since most of the current motor controllers are controlled by these two communication protocols, the motor controller test method provided in the above example of the present application has strong compatibility.

[0118] In addition, the embodiments of the present application can connect two or more motor controllers to a water cooler, a CAN box, and a battery simulator in parallel, so that high-temperature endurance tests of two or more motor controllers of the same type or different types can be carried out simultaneously. This can greatly reduce the test time and test cost, and solve the problem of high motor controller test cost caused by the use of a three-in-one drive motor assembly installed on two motor test benches for high-temperature endurance testing in related technologies.

[0119] It should be noted that, for the purpose of simple description, the method embodiments are expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited to the described order of actions, because according to the embodiments of the present application, certain steps may be performed in other orders or simultaneously.

[0120] like Figure 5 As shown, the embodiment of the present application also provides a motor controller testing device, which may specifically include the following modules:

[0121] A starting module 510, used to start the test equipment of the motor controller;

[0122] A loading module 520, configured to load a file according to the test configuration information to obtain the database communication protocol information of the motor controller when the test device is started;

[0123] An instruction determination module 530, used to determine a test control instruction of the motor controller according to the database communication protocol information;

[0124] A state switching module 540, configured to switch the state of the motor controller based on the test control instruction to obtain the current test state of the motor controller;

[0125] The test running module 550 is used to trigger the motor controller to output the test current according to the test control instruction based on the current test state.

[0126] Optionally, the test equipment of the motor controller includes a battery simulator, a cooling device and a temperature environment chamber device of the motor controller, and the startup module 510 may include the following submodules:

[0127] A first starter module, used for starting the cooling device;

[0128] A second starter module, used for starting the battery simulator when there is no leakage in the pipeline between the cooling device and the motor controller;

[0129] A state setting submodule, used to set the electric control state of the motor controller to a first voltage standby state through the battery simulator;

[0130] The third starter module is used to start the temperature environment chamber device based on the first voltage standby state, and the temperature environment chamber device is used to control the temperature of the test environment chamber where the motor controller is located.

[0131] Optionally, the loading module 520 may include the following submodules:

[0132] Get submodule to get test configuration information;

[0133] A determination submodule, used to determine a target communication channel and a target baud rate based on the test configuration information;

[0134] An opening submodule, used for opening a controller area network device based on the target communication channel;

[0135] The loading submodule is used to load the file according to the target baud rate through the controller local area network device to obtain the database communication protocol information.

[0136] Optionally, the determination submodule may specifically include the following units:

[0137] An interface unit, configured to output a channel selection interface based on the test configuration information;

[0138] a channel determination unit, configured to, when a channel selection operation corresponding to the channel selection interface is detected, determine the communication channel selected by the channel selection operation as the target communication channel;

[0139] The baud rate determination unit is used to determine the target baud rate based on the preset baud rate information corresponding to the target communication channel and in combination with the received baud rate selection operation.

[0140] Optionally, the baud rate determination unit is specifically used to: output a baud rate selection interface based on the preset baud rate information corresponding to the target communication channel, the baud rate selection interface including at least one candidate baud rate; and when the baud rate selection operation is detected, determine the candidate baud rate selected by the baud rate selection operation as the target baud rate.

[0141] In some optional implementations of the present application, the motor controller testing device further includes the following modules:

[0142] An operation acquisition module is used to acquire data record operations;

[0143] An operation detection module, used for detecting a data storage selection operation based on the data recording operation;

[0144] The recording module is used to start recording data based on the data storage location selected by the data storage selection operation to obtain a data recording result.

[0145] Optionally, the instruction determination module may include the following submodules:

[0146] An information acquisition submodule, used to acquire current input information;

[0147] The instruction generation submodule is used to generate the test control instruction based on the current input information and in accordance with the database communication protocol information.

[0148] Optionally, the state switching module may include the following submodules:

[0149] A sending submodule, used for sending the test control instruction to the motor controller;

[0150] A state switching submodule, for switching the electric control state of the motor controller to an open-tube state in response to the test control instruction;

[0151] The state determination submodule is used to determine the open tube state as the current test state.

[0152] In a specific implementation, the above-mentioned motor controller test device can be integrated in an electronic device, so that the electronic device can start the test equipment of the motor controller, and when the test equipment of the motor controller is started, load the file according to the test configuration information, so as to obtain the database communication protocol information of the motor controller, and then determine the test control instruction of the motor controller according to the database communication protocol information, and switch the motor controller state according to the test control instruction to obtain the current test state of the motor controller, so as to trigger the motor controller to output the test current according to the test control instruction based on the current test state, so that the motor controller outputs the test current, replacing the traditional test method of installing the three-in-one assembly of the drive motor on two motor test benches to output the torque, thereby realizing the test of the motor controller, and then making the motor controller test simple, efficient, convenient and fast, and there is no need to design and manufacture the bench tooling and half-axles matching the motor test bench in advance, with high compatibility, solving the problem that the existing related technology must use the three-in-one assembly of the drive motor to be installed on two motor test benches for high temperature durability, resulting in high testing cost, long cycle and poor testing compatibility, greatly reducing the testing time and testing cost.

[0153] like Figure 6 As shown, an embodiment of the present application provides an electronic device, including a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114, and the memory 113 is used to store computer programs; the processor 111 is used to implement the steps of the motor controller testing method provided by any of the aforementioned method embodiments when executing the program stored in the memory 113.

[0154] In one embodiment of the present application, the processor 111 is used to execute the program stored in the memory 113 to implement the motor controller testing method provided by any one of the aforementioned method embodiments, including: starting the test equipment of the motor controller; when the test equipment is started, loading the file according to the test configuration information to obtain the database communication protocol information of the motor controller; determining the test control instruction of the motor controller according to the database communication protocol information; switching the motor controller state based on the test control instruction to obtain the current test state of the motor controller; based on the current test state, triggering the motor controller to output the test current according to the test control instruction.

[0155] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the motor controller testing method provided in any of the aforementioned method embodiments are implemented.

[0156] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0157] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0158] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0159] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A motor controller testing method, characterized in that: include: Starting a test device for the motor controller; When the test device is started, the file is loaded according to the test configuration information to obtain the database communication protocol information of the motor controller; Determining a test control instruction of the motor controller according to the database communication protocol information; Switching the state of the motor controller based on the test control instruction to obtain the current test state of the motor controller; Based on the current test state, the motor controller is triggered to output a test current according to the test control instruction.

2. The motor controller testing method according to claim 1, characterized in that: The test equipment includes a battery simulator, a cooling device and a temperature environment chamber device of the motor controller, and the test equipment for starting the motor controller includes: Start cooling equipment; When there is no leakage in the pipeline between the cooling device and the motor controller, starting the battery simulator; By means of the battery simulator, the electric control state of the motor controller is set to a first voltage standby state; Based on the first voltage standby state, the temperature environment chamber device is started, and the temperature environment chamber device is used to control the temperature of the test environment chamber where the motor controller is located.

3. The motor controller testing method according to claim 1, characterized in that: The file loading is performed according to the test configuration information to obtain the database communication protocol information of the motor controller, including: Get test configuration information; Based on the test configuration information, determining a target communication channel and a target baud rate; opening a controller area network device based on the target communication channel; The file is loaded through the controller local area network device according to the target baud rate to obtain the database communication protocol information.

4. The motor controller testing method according to claim 3, characterized in that: The step of determining a target communication channel and a target baud rate based on the test configuration information includes: Output a channel selection interface based on the test configuration information; In case a channel selection operation corresponding to the channel selection interface is detected, determining the communication channel selected by the channel selection operation as the target communication channel; The target baud rate is determined based on the preset baud rate information corresponding to the target communication channel and in combination with the received baud rate selection operation.

5. The motor controller testing method according to claim 4, characterized in that: The determining the target baud rate based on the preset baud rate information corresponding to the target communication channel and in combination with the received baud rate selection operation includes: Outputting a baud rate selection interface according to the preset baud rate information corresponding to the target communication channel, wherein the baud rate selection interface includes at least one candidate baud rate; In a case where the baud rate selection operation is detected, the candidate baud rate selected by the baud rate selection operation is determined as the target baud rate.

6. The motor controller testing method according to claim 3, characterized in that: After opening the controller area network device based on the target communication channel, the method further includes: Get data record operation; Based on the data recording operation, detecting a data storage selection operation; Based on the data storage location selected by the data storage selection operation, data recording begins to obtain a data recording result.

7. The motor controller testing method according to claim 1, characterized in that: Determining the test control instruction of the motor controller according to the database communication protocol information includes: Get current input information; Based on the current input information, the test control instruction is generated according to the database communication protocol information.

8. The motor controller testing method according to claim 1, characterized in that: The switching of the motor controller state based on the test control instruction to obtain the current test state of the motor controller includes: Sending the test control instruction to the motor controller; In response to the test control instruction, switching the electric control state of the motor controller to an open-tube state; The open tube state is determined as the current test state.

9. A motor controller testing device, characterized in that: include: A starting module, used for starting the test equipment of the motor controller; A loading module, used for loading files according to the test configuration information to obtain the database communication protocol information of the motor controller when the test device is started; An instruction determination module, used to determine the test control instruction of the motor controller according to the database communication protocol information; A state switching module, used to switch the state of the motor controller based on the test control instruction to obtain the current test state of the motor controller; A test running module is used to trigger the motor controller to output a test current according to the test control instruction based on the current test state.

10. A computer storage medium storing computer executable instructions, characterized in that: The computer executable instructions are used to execute the steps of the motor controller testing method as described in any one of claims 1-8.

Citation Information

Patent Citations

  • General test system for motor controller

    CN111176261A

  • New energy passenger vehicle motor controller function test device and method based on automatic production line

    CN112114573A

  • Vehicle testing method, device, system and equipment and storage medium

    CN117270497A

  • Automatic driving system under dynamic working condition of whole vehicle and test method

    CN117723309A

  • Endurance test method of motor controller

    CN118689191A