CN113655769A - Motor controller test method and test system - Google Patents
Motor controller test method and test system Download PDFInfo
- Publication number
- CN113655769A CN113655769A CN202110729774.8A CN202110729774A CN113655769A CN 113655769 A CN113655769 A CN 113655769A CN 202110729774 A CN202110729774 A CN 202110729774A CN 113655769 A CN113655769 A CN 113655769A
- Authority
- CN
- China
- Prior art keywords
- fault
- input
- motor controller
- test
- item
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 211
- 238000010998 test method Methods 0.000 title abstract description 13
- 238000000034 method Methods 0.000 claims abstract description 51
- 238000002347 injection Methods 0.000 claims abstract description 39
- 239000007924 injection Substances 0.000 claims abstract description 39
- 230000008569 process Effects 0.000 claims abstract description 23
- 238000012545 processing Methods 0.000 claims description 25
- 238000004891 communication Methods 0.000 claims description 5
- 238000004458 analytical method Methods 0.000 abstract description 6
- 230000001360 synchronised effect Effects 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 9
- 238000004088 simulation Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 238000004519 manufacturing process Methods 0.000 description 7
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 239000000243 solution Substances 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009194 climbing Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0259—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
- G05B23/0262—Confirmation of fault detection, e.g. extra checks to confirm that a failure has indeed occurred
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24065—Real time diagnostics
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Control Of Electric Motors In General (AREA)
Abstract
The invention discloses a motor controller test method and a test system, comprising the following steps: determining a fault item to be input from a fault database according to the test requirement of the motor controller to be tested; injecting a fault item to be input into a motor controller to be tested, and acquiring target test parameters of the motor controller to be tested in the running process of the motor controller to be tested injected with the fault item to be input; and generating a test report according to the target test parameters. The method and the device have the advantages that the automatic test of the motor controller is realized, the test efficiency is greatly improved, the test method provided by the application is adopted to test the time spent by one motor controller and only needs less than one working day, and the efficiency is improved by about 80%. The test method provided by the application can realize synchronous analysis of input and output, and greatly improves the accuracy of test results. The test method provided by the application can directly generate the test report, and improves the consistency of the test signal fault injection and the test result.
Description
Technical Field
The invention relates to the technical field of motors, in particular to a motor controller testing method and a motor controller testing system.
Background
With the continuous improvement of living standards and the enhancement of environmental awareness of people, in recent years, electric automobiles are developed rapidly, and a motor system is used as a power source of the electric automobiles, and the functions and performances of a core controller component of the motor system and a motor controller are required to have higher reliability and safety.
The motor controller belongs to the key parts of an electric vehicle and is an integrated circuit which controls a motor to work according to the set direction, speed, angle and response time through active work. In the electric vehicle, the motor controller is used for converting the electric energy stored in the power battery into the electric energy required by the driving motor according to instructions of gears, an accelerator, a brake and the like so as to control the running states of the electric vehicle such as starting operation, advancing and retreating speed, climbing force and the like, or assisting the electric vehicle to brake and storing part of brake energy into the power battery.
In the related art, in order to test the motor controller, the signal generator is used as signal injection, the board-level function test of the signal-level motor controller is performed manually, and the oscilloscope is used to test the output behavior of the motor controller, however, the accuracy of the method is low.
Disclosure of Invention
The embodiment of the application provides a motor controller testing method and a testing system, solves the technical problem that the testing accuracy of a motor controller in the prior art is low, and achieves the technical effect of improving the testing accuracy of the motor controller.
In a first aspect, the present application provides a method for testing a motor controller, where the method is applied to a motor controller testing system, and the method includes:
determining a fault item to be input from a fault database according to the test requirement of the motor controller to be tested;
injecting a fault item to be input into a motor controller to be tested, and acquiring target test parameters of the motor controller to be tested in the running process of the motor controller to be tested injected with the fault item to be input;
and generating a test report according to the target test parameters.
Further, according to the test requirement of the motor controller to be tested, determining a fault item to be input from a fault database, comprising:
determining a fault type to be input from a fault database according to the test requirement of the motor controller to be tested;
and determining a fault item to be input according to the fault type to be input.
Further, according to the test requirement of the motor controller to be tested, determining the type of the fault to be input from the fault database, including:
and determining one or more fault types as fault types to be input from the high-voltage system fault type, the low-voltage small signal fault type and the motor fault type provided by the fault database according to the test requirements of the motor controller to be tested.
Further, according to the type of the fault to be input, determining the fault item to be input, including:
when the fault type to be input is a high-voltage system fault type, determining one or two fault items as fault items to be input from high-voltage fault items and IGBT temperature fault items provided by a fault database;
when the fault type to be input is a low-voltage small-signal fault type, determining one or more fault items from a wake-up signal fault item, a low-voltage power supply signal fault item, a rotation position signal fault item and a CAN communication signal fault item provided by a fault database as fault items to be input;
and when the fault type to be input is the motor fault type, determining one or more fault items as fault items to be input from a U-phase current fault item, a V-phase current fault item, a W-phase current fault item, a three-phase unbalance fault item, a phase failure fault item and a motor temperature signal fault item provided by a fault database.
Further, before determining a fault item to be input from a fault database according to the test requirement of the motor controller to be tested, the method further comprises the following steps:
detecting a fault injection unit of the test system;
and when the fault injection unit is normal, receiving a test requirement, and determining a fault item to be input from the fault database according to the test requirement.
Further, when one or more items of fault to be input are determined from the fault database, the items of fault to be input are injected into the motor controller to be tested, and in the running process of the motor controller to be tested, into which the items of fault to be input are injected, target test parameters of the motor controller to be tested are acquired, including:
and according to the preset priority of one or more to-be-input fault items, sequentially injecting the one or more to-be-input fault items into the motor controller to be tested, and acquiring target test parameters of the motor controller to be tested in the running process of the motor controller to be tested injected with the one or more to-be-input fault items.
In a second aspect, the present application provides a motor controller testing system, the system comprising:
the central processing unit is used for determining a fault item to be input from the fault database according to the test requirement of the motor controller to be tested;
the fault injection unit is used for injecting a fault item to be input into the motor controller to be tested, and acquiring target test parameters of the motor controller to be tested in the running process of the motor controller to be tested injected with the fault item to be input;
and the test output unit is used for generating a test report according to the target test parameters.
Furthermore, the central processing unit is also used for determining the type of the fault to be input from the fault database according to the test requirement of the motor controller to be tested; and determining a fault item to be input according to the fault type to be input.
Further, the central processing unit is also used for determining one or more fault types as fault types to be input from the high-voltage system fault type, the low-voltage small signal fault type and the motor fault type provided by the fault database according to the test requirements of the motor controller to be tested.
Further, the central processing unit is further configured to control the fault injection unit to sequentially inject the one or more fault items to be input into the motor controller to be tested according to the preset priority of the one or more fault items to be input, and acquire target test parameters of the motor controller to be tested during operation of the motor controller to be tested into which the one or more fault items to be input are injected.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
according to the method and the device, the fault items to be tested can be determined according to the test requirements of the motor controllers to be tested, further the fault items to be input can be determined from the fault database, the fault items to be input are injected into the motor controllers to be tested, in the running process of the motor controllers to be injected with the fault items to be input, target test parameters of the motor controllers to be tested can be output, test reports are generated according to the target test parameters, test engineers can further analyze and process the test reports, when the motor controllers to be tested break down, the motor systems can be ensured to timely enter a safe running state, and personal and property safety on vehicles is ensured. The testing method provided by the application realizes automatic testing of the motor controller, greatly improves testing efficiency, only needs less than one working day when one motor controller is tested by the testing method provided by the application, and improves efficiency by about 80%. The input and the output in the test method belong to the same device, synchronous analysis of the input and the output can be achieved, and accuracy of test results is greatly improved. Moreover, by using the testing method provided by the application, the fault injection simulation board does not need to be manufactured independently, the manufacturing cost and the manufacturing time of the fault injection simulation board are reduced, the testing efficiency is improved, and the testing period is shortened. The test method provided by the application can directly generate the test report, can avoid the instable accuracy of the test result caused by different experiences of test engineers, prevents the difference between the test process and the test result caused by human factors, and improves the consistency of the fault injection of the test signal and the test result. The test method provided by the application can be suitable for different types of motor controllers, and the portability is good.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
FIG. 1 is a flow chart of a method for testing a motor controller provided herein;
fig. 2 is a schematic structural diagram of a motor controller test system provided in the present application.
Detailed Description
The embodiment of the application provides a motor controller testing method, and solves the technical problem that in the prior art, the testing accuracy of a motor controller is low.
In order to solve the technical problems, the general idea of the embodiment of the application is as follows:
a motor controller testing method, the method comprising: determining a fault item to be input from a fault database according to the test requirement of the motor controller to be tested; injecting a fault item to be input into a motor controller to be tested, and acquiring a target test parameter of the motor controller to be tested in the operation process of the motor controller injected with the fault item to be input; and generating a test report according to the target test parameters.
The testing method provided by the embodiment realizes automatic testing of the motor controller, greatly improves testing efficiency, only needs less than one working day to test one motor controller, and improves efficiency by about 80%. The input and the output in the test method provided by the embodiment belong to the same device, so that the synchronous analysis of the input and the output can be realized, and the accuracy of the test result is greatly improved. In addition, by using the testing method provided by the embodiment, a fault injection simulation board does not need to be manufactured independently, so that the manufacturing cost and the manufacturing time of the fault injection simulation board are reduced, the testing efficiency is improved, and the testing period is shortened. The test method provided by the embodiment can directly generate the test report, can avoid the instable accuracy of the test result caused by different experiences of test engineers, prevents the difference between the test process and the test result caused by human factors, and improves the consistency of the fault injection of the test signal and the test result. The testing method provided by the embodiment can be suitable for different types of motor controllers, and has good portability.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
First, it is stated that the term "and/or" appearing herein is merely one type of associative relationship that describes an associated object, meaning that three types of relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
In the related technology, signals are mainly input into a motor controller through a signal generator, signal-level motor controller board-level function tests are manually performed, then an oscilloscope is adopted to detect the output of the motor controller, and the working state of the motor controller is analyzed through the output of the oscilloscope. However, this approach is inefficient, taking approximately 5 working days to test one motor controller; the test result of the method is embodied in a waveform, and a test engineer is required to analyze the waveform, so that the test engineer is required to have related knowledge storage and experience to realize the analysis; the signal generator and the oscilloscope used in the method are two independent devices, and cannot realize synchronous analysis of input and output, so that the consistency of the two devices is poor, and the test result is inaccurate.
In addition to the above manner, the related art also performs the motor controller test by making a fault injection simulation board and an oscilloscope, however, the method needs to make the fault injection simulation board for the motor controller, and the fault injection simulation board needs to go through the processes of design, processing, testing and the like, which results in higher test cost and test time; the method cannot generate a test report, still needs a test engineer to analyze and summarize according to experience, and the test result is different due to different experiences of the test engineer, so that the test quality cannot be guaranteed.
In order to solve the above technical problem, the present embodiment provides a method for testing a motor controller as shown in fig. 1, which is applied to a motor controller testing system (the testing system will be described later), and the method includes:
step S11, determining a fault item to be input from a fault database according to the test requirement of the motor controller to be tested;
step S12, injecting a fault item to be input into a motor controller to be tested, and acquiring target test parameters of the motor controller to be tested in the running process of the motor controller to be tested injected with the fault item to be input;
and step S13, generating a test report according to the target test parameters.
The testing requirements can be determined according to the type of the motor controller to be tested and the project requirements. The fault database may be constructed from all faults that have actually occurred to the motor controller. The fault items in the fault database can be divided according to different types of motor controllers and can also be divided according to different fault types. The fault type can be a high-voltage system fault type, a low-voltage small signal fault type, a motor fault type and the like.
According to the testing requirements of the motor controller to be tested, the fault item to be tested can be determined, and further the fault item to be input can be determined from the fault database. The method comprises the steps of injecting a fault item to be input into a motor controller to be tested, outputting target test parameters of the motor controller to be tested in the operation process of injecting the motor controller to be input with the fault item, generating a test report according to the target test parameters, analyzing and processing the test report by a test engineer, and ensuring that a motor system timely enters a safe operation state and personal and property safety on a vehicle when the motor controller to be tested breaks down.
The testing method provided by the embodiment realizes automatic testing of the motor controller, greatly improves testing efficiency, only needs less than one working day to test one motor controller, and improves efficiency by about 80%. The input and the output in the test method provided by this embodiment both belong to the same device (i.e. the test system, which will be described later), so that the synchronous analysis of the input and the output can be realized, and the accuracy of the test result is greatly improved. In addition, by using the testing method provided by the embodiment, a fault injection simulation board does not need to be manufactured independently, so that the manufacturing cost and the manufacturing time of the fault injection simulation board are reduced, the testing efficiency is improved, and the testing period is shortened. The test method provided by the embodiment can directly generate the test report, can avoid the instable accuracy of the test result caused by different experiences of test engineers, prevents the difference between the test process and the test result caused by human factors, and improves the consistency of the fault injection of the test signal and the test result. The testing method provided by the embodiment can be suitable for different types of motor controllers, and has good portability.
Specifically, according to the test requirement of the motor controller to be tested, determining a fault item to be input from a fault database, including:
step S21, determining the type of the fault to be input from the fault database according to the test requirement of the motor controller to be tested;
and step S22, determining a fault item to be input according to the fault type to be input.
According to the testing requirements of the motor controller to be tested, the type of the fault to be input can be determined firstly, and then the specific fault item to be input is determined from all fault items corresponding to the type of the fault to be input in the fault database.
For example, the fault types to be input include a high-voltage system fault type, a low-voltage small-signal fault type and a motor fault type, and then one or more fault types can be determined as the fault types to be input from the high-voltage system fault type, the low-voltage small-signal fault type and the motor fault type provided by the fault database according to the test requirements of the motor controller to be tested. That is, in actual operation, a plurality of failure items of different failure types may be input to the motor controller to be tested at the same time.
One fault type may further include a plurality of different fault items, for example, the high-voltage system fault type includes a high-voltage fault item and an IGBT temperature fault item, and when the fault type to be input is the high-voltage system fault type, one or two fault items are determined as the fault items to be input from the high-voltage fault item and the IGBT temperature fault item provided from the fault database.
The low-voltage small-signal fault type comprises a wake-up signal fault item, a low-voltage power supply signal fault item, a rotation position signal fault item and a CAN communication signal fault item, and when the fault type to be input is the low-voltage small-signal fault type, one or more fault items are determined to be the fault item to be input from the wake-up signal fault item, the low-voltage power supply signal fault item, the rotation position signal fault item and the CAN communication signal fault item which are provided by the fault database.
And when the fault type to be input is the motor fault type, determining one or more fault items from the U-phase current fault item, the V-phase current fault item, the W-phase current fault item, the three-phase imbalance fault item, the open-phase fault item and the motor temperature signal fault item which are provided by the fault database as the fault item to be input.
In actual operation, multiple fault items of multiple different fault types can be input to the motor controller to be tested at the same time, and specifically the fault types and the fault items can be determined according to the test requirements of the motor controller to be tested.
When one or more to-be-input fault items are determined from the fault database, priorities can be set for the one or more to-be-input fault items, the one or more to-be-input fault items are sequentially injected into the motor controller to be tested according to the preset priorities of the one or more to-be-input fault items, and in the running process of the motor controller injected with the one or more to-be-input fault items, target test parameters of the motor controller to be tested are obtained so as to generate a test report.
More specifically, one fault item may also include a plurality of different fault sub-items, as shown in table 1. In step S11, when "determining a to-be-input fault item from the fault database according to the test requirement of the to-be-tested motor controller" is executed, specifically, the to-be-input fault sub item is determined from the fault database according to the test requirement of the to-be-tested motor controller, the to-be-input fault sub item is selected from the fault sub items in table 1, and the number and the type of the selected fault sub items may be determined according to the test requirement of the to-be-tested motor controller.
TABLE 1
The testing method provided by the embodiment is realized by depending on the testing system shown in fig. 2, the testing system comprises a central processing unit, a fault injection unit and a test output unit, and the fault injection unit comprises a high-voltage system fault injection unit, a low-voltage small-signal fault injection unit and a motor fault injection unit. When the test system shown in fig. 2 is used for testing, the test system needs to be started, that is, a graphical user interface is operated, the test system is initialized, each fault injection unit of the test system is detected, when the fault injection unit is normal, a test requirement is received, and a fault item to be input is determined from a fault database according to the test requirement of a motor controller to be tested. That is to say, when the test system is used to test the motor controller to be tested, it is necessary to ensure that the test system is in a normal state, and then the accuracy of the test report obtained through the test system can be ensured.
Specifically, the system for testing a motor controller shown in fig. 2 provided in this embodiment includes:
the central processing unit 21 is used for determining a fault item to be input from a fault database according to the test requirement of the motor controller to be tested;
the fault injection unit 22 is used for injecting a fault item to be input into the motor controller to be tested, and acquiring a target test parameter of the motor controller to be tested in the running process of the motor controller to be tested injected with the fault item to be input;
and the test output unit 23 is configured to generate a test report according to the target test parameter.
Specifically, the central processing unit 21 can perform read-write access on the fault injection unit 22, control and monitor the fault injection process, realize human-computer interaction and monitoring through a graphical user interface, and control the test output unit 23 to generate a test report.
The fault injection unit 22 includes a high-voltage system fault injection unit, a low-voltage small-signal fault injection unit, and a motor fault injection unit, and can input corresponding fault items to the motor controller to be tested, respectively.
The central processing unit 21 is further configured to determine a type of a fault to be input from the fault database according to a test requirement of the motor controller to be tested; and determining a fault item to be input according to the fault type to be input. The central processing unit 21 is further configured to determine one or more fault types as fault types to be input from the high-voltage system fault type, the low-voltage small-signal fault type and the motor fault type provided by the fault database according to the test requirements of the motor controller to be tested.
The central processing unit 21 is further configured to determine one or two fault items as fault items to be input from the high-voltage fault item and the IGBT temperature fault item provided by the fault database when the fault type to be input is the high-voltage system fault type;
when the fault type to be input is a low-voltage small-signal fault type, determining one or more fault items from a wake-up signal fault item, a low-voltage power supply signal fault item, a rotation position signal fault item and a CAN communication signal fault item provided by a fault database as fault items to be input;
and when the fault type to be input is the motor fault type, determining one or more fault items as fault items to be input from a U-phase current fault item, a V-phase current fault item, a W-phase current fault item, a three-phase unbalance fault item, a phase failure fault item and a motor temperature signal fault item provided by a fault database.
The central processing unit 21 is also used for detecting a fault injection unit 22 of the test system; when the fault injection unit 22 is normal, the test requirement is received, and the fault item to be input is determined from the fault database according to the test requirement of the motor controller to be tested.
The central processing unit 21 is further configured to control the fault injection unit to sequentially inject one or more fault items to be input into the motor controller to be tested according to the preset priority of the one or more fault items to be input, and acquire target test parameters of the motor controller to be tested during an operation process of the motor controller into which the one or more fault items to be input are injected.
Since the electronic device described in this embodiment is an electronic device used for implementing the method for processing information in this embodiment, a person skilled in the art can understand the specific implementation manner of the electronic device of this embodiment and various variations thereof based on the method for processing information described in this embodiment, and therefore, how to implement the method in this embodiment by the electronic device is not described in detail here. Electronic devices used by those skilled in the art to implement the method for processing information in the embodiments of the present application are all within the scope of the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. A motor controller testing method is applied to a motor controller testing system, and comprises the following steps:
determining a fault item to be input from a fault database according to the test requirement of the motor controller to be tested;
injecting the fault item to be input into the motor controller to be tested, and acquiring target test parameters of the motor controller to be tested in the running process of the motor controller to be tested injected with the fault item to be input;
and generating a test report according to the target test parameters.
2. The method of claim 1, wherein determining a fault item to be input from a fault database based on testing requirements of the motor controller to be tested comprises:
determining the type of the fault to be input from the fault database according to the test requirement of the motor controller to be tested;
and determining the fault item to be input according to the fault type to be input.
3. The method of claim 2, wherein said determining a type of fault to be input from said fault database based on said test requirements of said motor controller under test comprises:
and determining one or more fault types as the fault types to be input from the high-voltage system fault type, the low-voltage small signal fault type and the motor fault type provided by the fault database according to the test requirements of the motor controller to be tested.
4. The method of claim 3, wherein the determining the fault item to be input according to the fault type to be input comprises:
when the fault type to be input is the high-voltage system fault type, determining one or two fault items as the fault item to be input from a high-voltage fault item and an IGBT temperature fault item provided by the fault database;
when the fault type to be input is the low-voltage small-signal fault type, determining one or more fault items from a wake-up signal fault item, a low-voltage power supply signal fault item, a rotation position signal fault item and a CAN communication signal fault item provided by the fault database as the fault items to be input;
and when the fault type to be input is the motor fault type, determining one or more fault items as the fault items to be input from a U-phase current fault item, a V-phase current fault item, a W-phase current fault item, a three-phase unbalance fault item, a phase failure fault item and a motor temperature signal fault item provided by the fault database.
5. The method of claim 1, wherein prior to determining a fault item to be entered from a fault database based on testing requirements of a motor controller under test, the method further comprises:
detecting a fault injection unit of the test system;
and when the fault injection unit is normal, receiving the test requirement, and determining the fault item to be input from the fault database according to the test requirement.
6. The method of claim 1, wherein when one or more of the to-be-input fault items are determined from the fault database, the injecting the to-be-input fault items into a motor controller under test, and acquiring target test parameters of the motor controller under test during operation of the motor controller under test that injected the to-be-input fault items comprises:
and sequentially injecting one or more to-be-input fault items into the to-be-tested motor controller according to the preset priority of one or more to-be-input fault items, and acquiring target test parameters of the to-be-tested motor controller in the running process of the to-be-tested motor controller injected with one or more to-be-input fault items.
7. A motor controller testing system, the system comprising:
the central processing unit is used for determining a fault item to be input from the fault database according to the test requirement of the motor controller to be tested;
the fault injection unit is used for injecting the fault item to be input into a motor controller to be tested, and acquiring target test parameters of the motor controller to be tested in the running process of the motor controller to be tested injected with the fault item to be input;
and the test output unit is used for generating a test report according to the target test parameters.
8. The system of claim 7, wherein the central processing unit is further configured to determine a type of fault to be input from the fault database based on the testing requirements of the motor controller under test; and determining the fault item to be input according to the fault type to be input.
9. The system of claim 8, wherein the central processing unit is further configured to determine one or more fault types as the fault types to be input from among a high-voltage system fault type, a low-voltage small-signal fault type, and a motor fault type provided by the fault database according to the test requirements of the motor controller to be tested.
10. The system of claim 7, wherein the central processing unit is further configured to control the fault injection unit to sequentially inject one or more fault items to be input into the motor controller to be tested according to a preset priority of the one or more fault items to be input, and to obtain target test parameters of the motor controller to be tested during an operation process of the motor controller to be tested into which the one or more fault items to be input are injected.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110729774.8A CN113655769A (en) | 2021-06-29 | 2021-06-29 | Motor controller test method and test system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110729774.8A CN113655769A (en) | 2021-06-29 | 2021-06-29 | Motor controller test method and test system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113655769A true CN113655769A (en) | 2021-11-16 |
Family
ID=78489210
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110729774.8A Pending CN113655769A (en) | 2021-06-29 | 2021-06-29 | Motor controller test method and test system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113655769A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106066643A (en) * | 2016-06-16 | 2016-11-02 | 上海科梁信息工程股份有限公司 | The test system and method for Bidirectional charging-discharging machine controller |
CN107315407A (en) * | 2017-08-31 | 2017-11-03 | 中国第汽车股份有限公司 | A kind of automotive motor controller emulation test system |
CN107831757A (en) * | 2017-11-29 | 2018-03-23 | 合肥巨动力系统有限公司 | Based on dSPACE motor control hardware in ring automatization test system and method |
CN108873867A (en) * | 2018-07-27 | 2018-11-23 | 南京越博动力系统股份有限公司 | A kind of automation load and direct fault location test macro and control method |
CN110888414A (en) * | 2019-11-25 | 2020-03-17 | 一汽解放汽车有限公司 | Test method for upgrading vehicle controller |
-
2021
- 2021-06-29 CN CN202110729774.8A patent/CN113655769A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106066643A (en) * | 2016-06-16 | 2016-11-02 | 上海科梁信息工程股份有限公司 | The test system and method for Bidirectional charging-discharging machine controller |
CN107315407A (en) * | 2017-08-31 | 2017-11-03 | 中国第汽车股份有限公司 | A kind of automotive motor controller emulation test system |
CN107831757A (en) * | 2017-11-29 | 2018-03-23 | 合肥巨动力系统有限公司 | Based on dSPACE motor control hardware in ring automatization test system and method |
CN108873867A (en) * | 2018-07-27 | 2018-11-23 | 南京越博动力系统股份有限公司 | A kind of automation load and direct fault location test macro and control method |
CN110888414A (en) * | 2019-11-25 | 2020-03-17 | 一汽解放汽车有限公司 | Test method for upgrading vehicle controller |
Non-Patent Citations (1)
Title |
---|
张明朗等: "故障注入在MCU功能安全测试中的实施研究", 《汽车电器》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107463473B (en) | Chip software and hardware simulation environment based on UVM and FPGA | |
CN103034227A (en) | Testing method in circuit of battery electric vehicle vehicle-control unit model | |
CN112100085B (en) | Android application program stability testing method, device and equipment | |
CN109782747A (en) | Fault detection method and device | |
CN102890499A (en) | Method for loop testing of vehicle control unit software of pure electric automobile | |
CN104598373A (en) | Embedded software testing method capable of realizing multi-technology fusion | |
CN102214133A (en) | System for quickly diagnosing and testing computer hardware | |
CN108566548A (en) | A kind of multichannel vehicle entertainment system car-backing function test system | |
CN111459616B (en) | Test method, device, equipment and storage medium | |
CN109522296B (en) | Engine ECU data matching calibration method and device | |
CN103558849A (en) | Method for achieving control strategy adjustment and network testing of blade electric vehicle | |
CN112035996A (en) | Equipment testability integrated design and evaluation system | |
CN105365579B (en) | A kind of dynamical system and its safety detecting method and device and electric automobile | |
CN106292647A (en) | Method and device for testing operation condition of motor controller | |
CN111552584B (en) | Testing system, method and device for satellite primary fault diagnosis isolation and recovery function | |
CN117075581A (en) | Fault injection testing method, device, system, equipment and storage medium | |
CN113127331B (en) | Test method and device based on fault injection and computer equipment | |
CN113655769A (en) | Motor controller test method and test system | |
CN106446400B (en) | Method and device for testing performance of electromechanical system | |
CN111044826A (en) | Detection method and detection system | |
CN102854865A (en) | Method for online debugging of electric automobile based on real-time curve | |
CN104699593A (en) | Computer software diagnosis method based on UNIX operating system | |
CN111258827B (en) | Interface model determining method and device, electronic equipment and storage medium | |
US20210334436A1 (en) | Real-time simulation of the operation of a specific electrice motor | |
CN220730684U (en) | Test system based on eddy current sensor simulator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20211116 |
|
RJ01 | Rejection of invention patent application after publication |