A double pulse test system
Through the combination of state machine system and loop structure, the automation of double pulse testing is realized, which solves the problems of low efficiency and inaccurate data caused by manual participation in the existing technology, and provides more efficient and accurate test results and safety protection functions. .
Patent Information
- Application Number
- CN202110717003.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-28
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-06-28
AI Technical Summary
The existing double-pulse test solution relies on manual participation, is difficult to meet a large number of test needs, cannot provide accurate and reliable data, and cannot cover various complex working conditions.
The control core composed of a state machine system and two loop structures is used to achieve fully automated testing. Test status and execution instructions are generated through user operations, and the test equipment is controlled for automated testing, providing more convenient interactive functions and accurate data.
It realizes automated testing, saves manual adjustment time, improves testing efficiency and accuracy, provides monitoring and safety protection functions, and can conduct complex working condition tests in safe operating areas.
Smart Images

Figure CN113608092B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of automated testing, and in particular to a double pulse testing system. Background Art
[0002] With the rapid development of the new energy vehicle industry, the motor drive (electric drive for short), as one of the core components of new energy vehicles, has received more and more attention, and its reliability requirements are extremely high. Moreover, in the actual use scenarios of electric vehicles, such as frequent acceleration and braking, the working conditions of the motor are also very complex.
[0003] In existing solutions, a double-pulse test method can usually be used to dynamically test the power module in the electric drive, and a large number of double-pulse tests can be performed on the electric drive for automotive scenarios to obtain data corresponding to the electric drive for automotive scenarios under different working conditions, so as to provide the basic data required for optimized design.
[0004] However, existing dual-pulse testing schemes, such as manual testing methods and semi-automatic testing schemes, require a lot of manual participation when conducting a large number of dual-pulse tests, such as adjusting pulse width, recording data, judging correctness, etc. This is not only time-consuming and labor-intensive, and may not be able to meet the needs of a large number of dual-pulse tests. In addition, the basic data provided by manual participation is difficult to cover various working conditions and cannot provide accurate and reliable data for subsequent optimization processing.
[0005] Based on this, a new testing solution is urgently needed. Summary of the invention
[0006] In view of this, an embodiment of the present specification provides a dual pulse test system that can perform fully automated testing after basic electrical circuit inspection is completed to provide accurate and reliable test data under a large number of working conditions.
[0007] The embodiments of this specification provide the following technical solutions:
[0008] The embodiment of the present specification provides a dual pulse test system, including: a first loop structure, a second loop structure, a state machine system and several test devices, the state machine system including a queue and a state machine; the first loop structure is used to receive a user's control operation on the test, generate a first test state according to the control operation according to a preset first test strategy, and store the first test state in the queue; the second loop structure is used to generate an execution instruction corresponding to the test action according to a preset second test strategy according to the control of the state machine, send the execution instruction to the several test devices, and receive test data returned by the several test devices, and generate a second test state according to the test data according to the second test strategy, and store the second test state in the queue; the state machine is used to perform state transition according to the test state in the queue according to the preset state strategy, so as to control the first loop structure to interact with the user, and control the second loop structure to interact with the several test devices; the test device tests the device under test according to the execution instruction, and returns the test data to the second loop structure.
[0009] Compared with the prior art, the at least one technical solution adopted in the embodiments of this specification can achieve the following beneficial effects:
[0010] The control core composed of a state machine system and two loop structures can provide a convenient and reliable testing method for application backgrounds that require a large number of automated tests (such as double-pulse testing of power devices). It can not only provide more convenient interactive functions, such as more friendly parameter input, test display, test equipment control and other interactive functions, but also the test process is more in line with the tester's usage habits, which can avoid operator problems and save unnecessary adjustments to the test equipment, such as adjusting the oscilloscope, rebuilding the DoE (Design of Experiment) for testing, monitoring the device condition within the SoA (Safe Operation Area), frequently creating folders, and processing data packets. It can shorten the test time, improve the test efficiency, and realize automated testing by setting the test condition in the loop structure, improve the test accuracy, and provide monitoring and safety protection functions during the test process. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0012] Figure 1 is a schematic diagram of a test circuit for a power device in an embodiment of this specification;
[0013] Figure 2 is a schematic diagram of monitoring waveforms of power devices in the embodiments of this specification;
[0014] Figure 3 It is a structural schematic diagram of a double pulse test system provided in an embodiment of this specification;
[0015] Figure 4 It is a structural schematic diagram of a state machine in a double pulse test system provided in an embodiment of this specification;
[0016] Figure 5 It is a structural schematic diagram of a double pulse test system provided in an embodiment of this specification;
[0017] Figure 6 This is a schematic diagram of the structure of an automated test in a double pulse test system provided in an embodiment of this specification;
[0018] Figure 7 This is a flow chart of an automated test in a double pulse test system provided by an embodiment of this specification;
[0019] Figure 8 This is a flow chart of a system check before automated testing in a double pulse test system provided in an embodiment of this specification;
[0020] Fig. 9 This is a flow chart of a single-point test in a double-pulse test system provided in an embodiment of this specification. DETAILED DESCRIPTION
[0021] The embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0022] The following describes the implementation methods of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, in the absence of conflict, the following embodiments and the features in the embodiments can be combined with each other. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work belong to the scope of protection of the present application.
[0023] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein can be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present application, it should be understood by those skilled in the art that an aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number and aspect described herein can be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement this device and / or practice this method.
[0024] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application. The drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0025] In addition, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, those skilled in the art will understand that the aspects described may be practiced without these specific details. The terms "first", "second", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features described by "first", "second", etc. may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise stated, "multiple" means two or more.
[0026] In the existing scheme, Figure 1 This is a circuit diagram for double pulse testing of IGBT. In the figure, the lower tube in the IGBT half-bridge module is used as the device under test, that is, a negative voltage (such as -8V) is applied to the gate of the upper tube to keep the upper tube in the off state. At this time, a double pulse test signal (such as the signal Vge in the figure) can be provided to the lower tube, so that the on and off of the device under test (i.e., the lower tube) can be controlled to complete the dynamic characteristics test of the lower tube. Accordingly, Figure 2 This is a schematic diagram of the voltage and current waveforms monitored during the switching process in the double pulse test. In the test waveform obtained in the figure, the first pulse shutdown process can be used to analyze the shutdown characteristic parameters, and the second pulse opening process can be used to analyze the opening characteristic parameters.
[0027] Moreover, although the existing test scheme has achieved semi-automation, it still requires a lot of manual participation in the test work, such as monitoring the specific test voltage, current and other parameters of the device during the test to prevent device damage during the test, and the need to monitor the test waveform, which is labor-intensive. For example, it can only provide a pulse control signal for the test, and fails to automatically identify and handle problems that may be encountered during the test. Therefore, the existing scheme can only perform a small number of working condition tests, and it is difficult to cover all possible complex working conditions. Moreover, when performing a large number of working condition tests, it is time-consuming and labor-intensive, and the test still finds it difficult to provide accurate and reliable data.
[0028] Therefore, how to effectively and reliably perform automated testing of power devices under various operating conditions has become an urgent problem that needs to be solved in the development of the new energy vehicle industry.
[0029] Based on this, the inventors proposed a new dual pulse test system after studying and analyzing power devices, working conditions and existing dual pulse test systems: Figure 3 As shown, two loop structures are used to establish the control core part of the dual pulse test system (as shown in the dotted box in the figure), wherein the first loop structure is used to control the user's operation reading, and the second loop structure is used to generate the execution instruction of the test action, and the loop structures are interconnected (i.e., communicate) through the state machine system. At this time, the loop structure can place each state required in the test into the queue of the state machine system according to the user's operation, the execution status of the test equipment, etc., and the state machine in the state machine system performs state conversion according to the queue, so that the loop structure completes the test control. Of course, the test equipment completes the test of the device to be tested (i.e., DUT) under the control of each execution instruction, which will not be explained here.
[0030] In implementation, for example, when performing double pulse testing on power devices in new energy vehicles (such as IGBTs in electric drives), the state machine can be as follows: Figure 4 As shown, the state machine may include the following states:
[0031] Initialize: As shown in state S2, the device and device status quantity initialization operations are performed, such as obtaining system variables, hardware initialization instructions and other data required for parameter initialization and device initialization;
[0032] IDLE: As shown in state S1 in the figure, wait and read the system status, such as waiting for the status query when waiting for user instructions, and enter other states according to various instructions;
[0033] GenerateDoE (load): As shown in state S3 in the figure, according to the data input by the user, such as device information, test conditions, etc., a storage path and a test list are established, such as establishing an automatic test storage folder, such as generating a parameter list, etc.;
[0034] CalculatePara (parameter generation): As shown in state S4 in the figure, test parameters are loaded and calculated, such as reading test conditions from the test list, calculating pulse parameters, etc.
[0035] Apply Setting: As shown in state S5, the test parameters are applied, such as the setting and checking of double pulse signals, temperature, power supply and other parameters, such as assigning the parameters corresponding to each pulse to the corresponding execution device, such as pulse generator, temperature control device, power supply device, etc.
[0036] Fire Pulse: As shown in state S6 in the figure, the control execution device sends out a double pulse wave (i.e., fires the wave), and obtains (e.g., reads back) the oscilloscope waveform and its parameters, and determines the correct or incorrect state, etc.
[0037] RecordData (data storage): as shown in state S7, store test data, update test progress status, etc. For example, if there are tasks not completed in the test list, return to state S4 to continue to execute the test of the next test condition;
[0038] Stop: As shown in the state S8 in the figure, the operation stops, all connections are disconnected, and the system stops testing;
[0039] Temp Control: As shown in state S9 in the figure, temperature control is performed.
[0040] It should be noted that whether the above-mentioned states are needed can be determined according to actual application needs. For example, when temperature control is not required, state S9 may not be included in the state machine. The dotted arrows in the figure can be used as state transitions in the manual control process, or they can be state transitions based on actual automated testing needs, which are not limited here.
[0041] During implementation, through the above-mentioned state transition, the dual-loop structure can adjust the DC bus voltage, adjust the first pulse time, use heating / cooling equipment, change the gate drive resistance, etc. according to the operating voltage, operating current, temperature conditions, and gate resistance required in the test of the power device, so as to adjust the operating conditions and obtain the required test data in the operating condition test.
[0042] By improving the dual-pulse test system, that is, using two loop structures to construct the control core of the dual-pulse test system, more beautiful user interaction can be provided, such as providing more friendly parameter input, test status display and other interactive functions, which are more in line with the tester's usage habits, can avoid operator's human problems, and save unnecessary adjustments to the test equipment, such as adjusting the oscilloscope, rebuilding the DoE (Design of Experiment) for testing, monitoring the device condition within the SoA (Safe Operation Area), frequently creating folders, and processing data packets. The test time can be shortened, the test efficiency can be improved, and by setting the test condition in the loop structure, automated testing can be achieved, the test accuracy can be improved, and monitoring and safety protection functions can be provided during the test process.
[0043] The technical solutions provided by various embodiments of the present application are described below in conjunction with the accompanying drawings.
[0044] The embodiment of this specification provides a double pulse test system, such as Figure 5 As shown, the dual pulse test system 100 may include: a control system 110 and a test device 120, wherein the control system 110 may include a first loop structure 1101, a second loop structure 1102 and a state machine system 1103, and the state machine system 1103 includes a queue (not shown in the figure) and a state machine (not shown in the figure).
[0045] During implementation, the first loop structure 1101 interacts with the user under the control of the state machine, and can be used to receive user control operations on the test, such as starting the test, stopping the test, viewing the test data, etc., and generate a first test state according to the control operation according to a preset first test strategy, and store the first test state in the queue.
[0046] The second loop structure 1102 interacts with the test device 120 under the control of the state machine, and can be used to generate execution instructions corresponding to the test action according to a preset second test strategy based on the control of the state machine, send the execution instructions to the several test devices 120, and receive test data returned by the several test devices 120, and generate a second test state according to the test data according to the second test strategy, and store the second test state in the queue.
[0047] The state machine realizes the interconnection between the first loop structure and the second loop structure, and can be used to perform state transition according to the test state in the queue according to a preset state strategy, so as to control the first loop structure 1101 to interact with the user, and control the second loop structure 1102 to interact with the plurality of test devices 120;
[0048] The testing device 120 tests the DUT according to the execution instruction and returns the test data to the second loop structure.
[0049] It should be noted that the preset strategies such as the first test strategy, the second test strategy, and the status strategy can be preset and adjusted according to actual test needs.
[0050] During implementation, the first test measurement may be a strategy for conducting a test according to a test condition.
[0051] For example, in the dynamic parameter test of the power device, each set of test conditions can be a combination of resistance, voltage and current. For example, each condition can be a combination of "(resistance value, voltage value, current value)", for example, (1Ω, 200V, 100A), (1Ω, 200V, 200A), (1Ω, 200V, 300A), etc., for example, (1Ω, 300V, 100A), (1Ω, 300V, 200A), (1Ω, 300V, 300A), etc., for example, (2Ω, 200V, 100A), (2Ω, 200V, 200A), (2Ω, 200V, 300A), etc., and they are not listed one by one here.
[0052] In implementation, the combination of test conditions "(resistance value, voltage value, current value)" can be sorted from small to large current. For example, in the above example, the resistance and voltage are first set to a group of values, and then sorted according to the current size in the group of values, such as (1Ω, 200V, 100A), (1Ω, 200V, 200A), (1Ω, 200V, 300A), etc. Similarly, the next group of resistance and voltage values are also sorted according to the current size, such as (2Ω, 200V, 100A), (2Ω, 200V, 200A), (2Ω, 200V, 300A), etc. At this time, the first test strategy can be a strategy for dividing the test according to the size of the current. The specific strategy can be a strategy for starting the test from a small current, a strategy for gradually increasing the current in a preset step, and a strategy for switching to the next test condition when the test fails to meet the requirements. For example, under the test condition (1Ω200V 300A), if it is found that the test no longer meets the requirements, the test conditions with the same resistance and voltage but a current greater than 300A can be ignored, such as ignoring the conditions of (1Ω, 200V, 400A) and (1Ω, 200V, 500A), and then entering the next test condition to continue testing, such as entering (1Ω, 300V, 100A) for the next test.
[0053] Through the first test strategy, not only can the automatic test be carried out in an orderly and efficient manner, but it can also ensure that the test process is in SoA, thereby ensuring the safety of the test.
[0054] During implementation, the second test strategy can be a strategy between test actions and instructions. For example, the test startup action can generate corresponding startup-related instructions, such as system power-on instructions, initialization instructions, and instructions for entering the test state, etc., which are not limited here.
[0055] In implementation, the state strategy may be the strategy of which states and state transitions the state machine includes, which is not limited here.
[0056] It should be noted that the first loop structure and the second loop structure may refer to a loop control process used for interaction in the test. For example, the first loop structure may be an interface structure for interacting with the user, thereby interacting with the user in a friendly manner through the interface structure (such as input devices, display devices, and other interactive interfaces). For example, the second loop structure may be a communication structure connected to the test device (such as a connection structure, communication protocol, etc.). No specific limitation is made here.
[0057] Based on the control idea composed of the state machine system and two loop structures, that is, the user's test requirements can be set through the first loop structure, and the control monitoring of the test data can be carried out in real time through the second loop structure. Such a test solution can not only provide more convenient interactive functions, such as providing more friendly parameter input, test display, test equipment control and other interactive functions, but also the test process is more in line with the tester's usage habits, which can avoid human problems of operators and save unnecessary adjustments to the test equipment, such as adjusting the oscilloscope, rebuilding the DoE (Design of Experiment) for testing, monitoring the device condition within the SoA (Safe Operation Area), frequently creating folders, and processing data packets. It can shorten the test time, improve the test efficiency, and realize automated testing by setting the test condition in the loop structure, improve the test accuracy, and provide monitoring and safety protection functions during the test process.
[0058] In implementation, such as Figure 6 As shown, the automated double pulse test system can use a software test platform, a hardware test platform and a test device to form a framework of the entire double pulse test system.
[0059] Among them, the software test platform can be used for data communication interaction with users, test equipment, hardware test platforms, etc., such as receiving user test operations, state machine control, generating pulse and drive resistance setting instructions, generating test temperature setting instructions, generating oscilloscope setting instructions, generating high voltage setting instructions, obtaining test data of test equipment (such as oscilloscope), etc. In implementation, the software test platform can use LabVIEW (a program development environment for virtual instruments) as the core to build a test control core, such as a state machine, connection with test equipment, connection with a hardware test platform, etc.
[0060] The hardware test platform can be a hardware platform for testing the device under test, such as comprising the aforementioned Figure 1 The gate drive circuit, capacitor bank, hollow load inductor, DUT (device under test, also known as the device to be tested) module, etc. in the test principle block diagram shown in the figure constitute the core circuit system of the hardware test platform (as shown in the dotted box in the figure). In implementation, the hardware test platform can accept the control of the software test platform for automated testing and obtain data input provided by the test equipment, such as pulse parameters provided by the digital controller, resistance values in the test conditions, etc., such as temperature settings and control information provided by the heating and cooling device, such as the test voltage Vdc provided by the high-voltage DC power supply, such as high voltage, high current, etc., and also provide monitoring data to the test equipment, such as providing the test voltage, current and other data to the oscilloscope.
[0061] The test equipment may be equipment used in the test, such as a high-voltage DC power supply that provides a test voltage, an oscilloscope that obtains test data, a heating and cooling device for temperature control, a digital controller that provides a digital control signal, etc. In implementation, the oscilloscope may be a high-precision oscilloscope, the DC power supply may be a high-voltage, high-current DC power supply, the digital controller may be a standard board, such as an NI (National Instruments) board, and the heating and cooling device may be a temperature control device, which will not be listed here one by one.
[0062] In some embodiments, the state machine of the automated double pulse test system may include the following states: initialization state, idle state, loading state, test parameter generation state, application setting state, wave test state, data saving state, system stop state and temperature control state.
[0063] It should be noted that the state machine may be as described above. Figure 4 The state machine shown in FIG. 1 is not described in detail here. Of course, the state of the state machine and the conversion relationship between the states can be designed and adjusted according to the needs of the actual test occasion, and this is only an exemplary description.
[0064] In some implementations, a control core of a dual pulse test system is formed based on a state machine and a first loop structure and a second loop structure, and can support fully automated testing and monitoring.
[0065] like Figure 7As shown, the process of automated testing based on the dual-pulse test system can be: based on the control of the state machine, the working condition to be tested is obtained through the first loop structure, such as the working condition to be tested filled in by the user, and the control of the test equipment is automatically tested through the second loop structure, such as starting the test, test control, recording the test data, etc., and waiting for the test to be completed. For example, if there is no problem during the test, all the working conditions to be tested can be automatically executed, such as automatically adjusting the test conditions of the working condition during the test, and testing the adjusted working condition. For example, if there is an error in the waveform monitored during the test, the test can be stopped, etc.
[0066] In practice, the double pulse test system for automated testing under various working conditions can be constructed as follows:
[0067] When the control operation includes the control operation of the automated test, the state machine enters the loading state (such as the aforementioned state S3), so that the first loop structure receives the information and test conditions of the DUT input by the user, and establishes a storage path and a test list, wherein the test list is used to store the information and test conditions of the DUT;
[0068] After the first loop structure establishes the storage path and the test list, the state machine enters the test parameter generation state (such as the aforementioned state S4), so that the state machine controls the second loop structure to generate test parameters according to the test list;
[0069] After the second loop structure generates the test parameters, the state machine enters the application setting state (such as the aforementioned state S5), so that the state machine controls the second loop structure to transmit the test parameters to the corresponding test device;
[0070] After the second loop structure transmits the test parameters to the corresponding test device, the state machine enters the wave test state (such as the aforementioned state S6), so that the state machine controls the second loop structure to transmit a number of execution instructions corresponding to the wave test to the corresponding test device, and the test device that receives the execution instructions tests the DUT and returns test data to the second loop structure;
[0071] When the second loop structure obtains the test data, the state machine enters the data saving state (such as the aforementioned state S7), so that the state machine controls the second loop structure to save the test data.
[0072] In some implementations, the control core of the dual pulse test system is formed based on the state machine and the first loop structure and the second loop structure, which is very convenient for users to perform status checks before performing formal tests.
[0073] For example, testing of power modules, such as Figure 8 As shown, the state machine may first enter the device initialization state (such as the aforementioned state S2) to check the device; then, the information required for the test is obtained through the first loop structure, such as the test module parameter information, test system information, system protection information, etc. filled in by the user; then, the safety check of the test is performed through the second loop structure, such as first performing a low-voltage wave test to determine whether the gate drive is normal, and starting a high-voltage test when the gate is normal to determine whether the safety chain is normal; when it is determined that the safety chain is normal, the state machine may control the first loop structure to obtain the test conditions corresponding to the test condition, and the state machine may control the second loop structure to perform preliminary tests before the formal test, such as carrying out application settings (such as using the default test parameters for application settings), wave test (i.e. emitting pulses), checking the waveform, adjusting the forward and reverse directions of the current probe, etc. When there is no abnormality in the preliminary test, the formal test is entered until the automated test is completed.
[0074] In some embodiments, the control core of the dual-pulse test system is composed of a state machine and a first loop structure and a second loop structure. This is very convenient for automatic testing by real-time monitoring of the waveform in the test to automatically identify the test status and perform intelligent test adjustments. For example, after reading the waveform parameters, the dual-pulse test system can be protected, test conditions can be deleted or modified, test parameters can be adjusted, and other intelligent operations can be performed to reduce manpower intervention in the test.
[0075] In practice, the double pulse test system for judging the correctness of test data can be constructed as follows:
[0076] The test device may include an oscilloscope, the test data may include waveform data returned by the oscilloscope, and the second loop structure may determine whether the waveform data is correct or incorrect.
[0077] It should be noted that the correct or incorrect state may refer to whether the waveform is normal, and if the waveform is normal, whether its parameters are within the normal range, etc.
[0078] In some implementations, the control core of the dual pulse test system is composed of a state machine and a first loop structure and a second loop structure, which can intelligently identify the test state and perform corresponding processing in the judgment of the correct state of the real-time monitoring of the waveform.
[0079] In practice, the double pulse test system for intelligent automatic testing based on the correctness or error status of test data can be constructed as follows:
[0080] When the second loop structure determines that there is an error in the waveform of the waveform data, the second loop structure stops automatic testing, and the state machine enters an idle state;
[0081] When the second loop structure determines that the waveform of the waveform data is normal but deviates from a preset waveform threshold, the second loop structure adjusts the test parameters according to a preset parameter adjustment strategy to generate new test parameters to continue the automated test.
[0082] It should be noted that the parameter adjustment strategy can be preset and adjusted according to the actual test scenario. For example, the parameter adjustment strategy can be that when the peak voltage of the test waveform parameter exceeds the protection threshold of the device under test, the corresponding large current under the test condition will no longer be tested. For example, the test points of the remaining larger currents under the resistance voltage condition can be deleted, and the test can be adjusted to start from the minimum current of the next set of test conditions.
[0083] In some implementations, the control core of the dual pulse test system is formed based on the state machine and the first loop structure and the second loop structure, which can be very convenient for users to perform automated testing, that is, automatically perform automated testing on the test conditions in the test list one by one.
[0084] In practice, the double pulse test system for automatic testing of each working condition can be constructed as follows:
[0085] After the second loop structure saves the test data, the state machine controls the second loop structure to determine whether the test list has completed the test task. If not, the state machine enters the test parameter generation state so that the state machine controls the second loop structure to generate test parameters according to the test list to continue the automated testing of the next test condition, so as to perform a large number of tests on various conditions.
[0086] In some implementations, a control core of a dual-pulse test system is formed based on a state machine and a first loop structure and a second loop structure, which can be very convenient for users to perform single-point testing on a device under test.
[0087] like Fig. 9 As shown, the process of single-point testing may include: obtaining test working conditions, performing application settings according to the working conditions, performing wave generation testing (i.e., emitting test pulses), and selectively storing the monitored waveforms according to the test data.
[0088] In practice, the double pulse test system for single point testing can be constructed as follows:
[0089] When the control operation includes a control operation of a single-condition test, the state machine enters the test parameter generation state so that the state machine controls the first loop structure to read the input test conditions and controls the second loop structure to generate test parameters according to the test conditions;
[0090] After the second loop structure generates the test parameters, the state machine enters the application setting state so that the state machine controls the second loop structure to transmit the test parameters to the corresponding test device;
[0091] After the second loop structure transmits the test parameters to the corresponding test device, the state machine enters the wave test state, so that the state machine controls the second loop structure to transmit a number of execution instructions corresponding to the wave test to the corresponding test device, and the test device that receives the execution instructions tests the DUT and returns test data to the second loop structure;
[0092] When the second loop structure obtains the test data, the state machine enters the data saving state, so that the state machine controls the second loop structure to save the test data.
[0093] In some implementations, the control core of the dual pulse test system is formed based on the state machine and the first loop structure and the second loop structure, which can be very convenient for the user to stop the test.
[0094] In practice, the double pulse test system for stop test can be constructed as follows:
[0095] When the control operation includes a control operation of stopping the test, the state machine enters a system stop state (such as the aforementioned state S8 ) so that the state machine controls the second loop structure to stop the test device from testing the device under test.
[0096] It should be noted that in automated testing, it is also possible to automatically and intelligently determine whether to stop the test based on the test data. For example, within the normal range of the set test parameters, if an error occurs, the test will stop and exit the automatic test mode. For example, the operating status of the equipment can be read through the set status indicator light. When an error is determined, the test will stop and exit the automatic test mode.
[0097] In some implementations, a control core of a dual pulse test system is formed based on a state machine and a first loop structure and a second loop structure, which can greatly facilitate users to perform temperature control test operations according to test requirements.
[0098] In practice, the double pulse test system for temperature testing can be constructed as follows:
[0099] When the control operation includes a temperature control operation, the state machine enters a temperature control state so that the state machine controls the second loop structure to perform at least one of the following controls: generate temperature information, start temperature control, check temperature information, update temperature information, and stop temperature control.
[0100] It should be noted that temperature control may refer to integrating the function of performing temperature control into a state machine without the need to separately operate a test device for temperature control. For example, the aforementioned state S9 is only a state function for controlling the start and stop of the device, while the specific temperature conditions and controls may be distributed in each specific state through a control system composed of a state machine, a first loop structure, and a second loop structure. For example, the set temperature control information and conditions may be obtained through the aforementioned state S3, the corresponding temperature control information may be generated through the aforementioned state S4, the application setting of temperature control may be completed through the aforementioned state S5, the temperature control in the test may be completed through state S6, and the corresponding test data of temperature control may be obtained through state S7.
[0101] In some implementations, a control core of a dual pulse test system is formed based on a state machine and a first loop structure and a second loop structure, which can greatly facilitate users to perform short circuit test operations according to test requirements.
[0102] In practice, a double pulse test system for short circuit testing can be constructed as follows:
[0103] When the control operation includes a control operation of a short-circuit test, the state machine enters an application setting state so that the state machine controls the second loop structure to transmit the test parameters corresponding to the short-circuit test to the corresponding test device;
[0104] After the second loop structure transmits the test parameters to the corresponding test device, the state machine enters the wave test state, so that the state machine controls the second loop structure to transmit a number of execution instructions corresponding to the wave test to the corresponding test device, and the test device that receives the execution instructions performs a short-circuit condition test on the device under test, and returns test data to the second loop structure;
[0105] When the second loop structure obtains the test data, the state machine enters the data saving state, so that the state machine controls the second loop structure to save the test data.
[0106] In some embodiments, the control core of the dual-pulse test system is composed of a state machine and a first loop structure and a second loop structure, which can be very convenient for users to perform automated testing operations on power modules (or power devices) in new energy vehicles under complex working conditions according to test needs, so as to obtain a large amount of basic data required for subsequent optimization design of accurate and reliable power modules under complex working conditions through automated testing.
[0107] In practice, a double pulse test system for automatically testing power devices can be constructed as follows:
[0108] The device under test includes a first power device. At this time, the first test strategy may include a strategy for applying a preset test condition to the first power device. The test condition may include a plurality of combined conditions, wherein the combined condition may be a combination of a resistance value, a voltage value, and a current value. For example, the combined condition may be expressed as “(resistance value, voltage value, current value)”, such as (1Ω, 200V, 100A), (1Ω, 200V, 200A), (1Ω, 300V, 100A), (1Ω, 300V, 200A), (2Ω, 200V, 100A), (2Ω, 200V, 200A), etc.;
[0109] Generating a first test state according to the control operation according to a preset first test strategy includes:
[0110] The several combined operating conditions are sorted in order of current from small to large, and a first test state corresponding to the combined operating condition is generated. For example, the combination of test conditions "(resistance value, voltage value, current value)" can be sorted in order of current from small to large. For example, in the aforementioned example, the resistance and voltage are first set to a group of values, and then sorted according to the current size in the group of values, such as (1Ω, 200V, 100A), (1Ω, 200V, 200A), (1Ω, 200V, 300A), etc. Similarly, the next group of resistance and voltage values are also sorted according to current size, such as (2Ω, 200V, 100A), (2Ω, 200V, 200A), (2Ω, 200V, 300A), etc.
[0111] Furthermore, the power device can also be monitored and protected in real time, that is, when the second loop structure determines that the test data exceeds the preset protection threshold, the state machine controls the first loop structure to delete the test conditions (i.e., target combination conditions) that may cause the power device to be in an unsafe area, wherein the target combination conditions may include: the combination conditions corresponding to the current test data (recorded as the first combination condition); the combination conditions in which the resistance value and voltage value are respectively the same as the resistance value and voltage value in the first combination condition, but the current value is greater than the current value of the first combination condition (recorded as the second combination condition). By deleting the test conditions that may cause the power device to be out of the safe area, it is avoided that these test conditions are used in subsequent tests to introduce hidden risks to the safety and reliability of the power device.
[0112] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other. Each embodiment focuses on the differences from other embodiments.
[0113] In this specification, each embodiment may be a completely hardware embodiment, a completely software embodiment, or an embodiment implemented in combination with software and hardware.
[0114] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A double pulse test system, It is characterized in that include: A first loop structure, a second loop structure, a state machine system and several test devices, wherein the state machine system includes a queue and a state machine; The first loop structure is used to receive a user's control operation on the test, generate a first test state according to the control operation according to a preset first test strategy, and store the first test state in the queue; The second loop structure is used to generate an execution instruction corresponding to the test action according to a preset second test strategy under the control of the state machine, send the execution instruction to the plurality of test devices, receive test data returned by the plurality of test devices, generate a second test state according to the test data according to the second test strategy, and store the second test state in the queue; The state machine is used to realize the interconnection between the first loop structure and the second loop structure, and to perform state transition according to the test state in the queue according to a preset state strategy, so as to control the first loop structure to interact with the user, and to control the second loop structure to interact with the plurality of test devices; The testing device tests the DUT according to the execution instruction and returns the test data to the second loop structure; wherein the DUT is a power module of a motor driver in an electric vehicle; The device under test includes a first power device, the first test strategy includes a strategy of applying a preset test condition to the first power device, the test condition includes a plurality of combined conditions, and the combined condition is a combination of a resistance value, a voltage value, and a current value; Generating a first test state according to the control operation according to a preset first test strategy includes: Sort the plurality of combined operating conditions in ascending order of current, and generate a first test state corresponding to each of the combined operating conditions; When the second loop structure determines that the test data exceeds a preset protection threshold, the state machine controls the first loop structure to delete the target combination operating condition, where the target combination operating condition includes a first combination operating condition and a second combination operating condition, where the first combination operating condition includes a combination operating condition corresponding to the current test data, and where the second combination operating condition includes a combination operating condition in which the resistance value and the voltage value are respectively the same as the resistance value and the voltage value in the first combination operating condition, but the current value is greater than the current value of the first combination operating condition.
2. The double pulse test system according to claim 1, It is characterized in that The state machine includes the following states: initialization state, idle state, loading state, test parameter generation state, application setting state, wave test state, data saving state, system stop state and temperature control state.
3. The double pulse test system according to claim 2, It is characterized in that When the control operation includes the control operation of the automated test, the state machine enters the loading state so that the first loop structure receives the information and test conditions of the DUT input by the user, and establishes a storage path and a test list, wherein the test list is used to store the information and test conditions of the DUT; After the first loop structure establishes the storage path and the test list, the state machine enters the test parameter generation state so that the state machine controls the second loop structure to generate test parameters according to the test list; After the second loop structure generates the test parameters, the state machine enters the application setting state so that the state machine controls the second loop structure to transmit the test parameters to the corresponding test device; After the second loop structure transmits the test parameters to the corresponding test device, the state machine enters the wave test state, so that the state machine controls the second loop structure to transmit a number of execution instructions corresponding to the wave test to the corresponding test device, and the test device that receives the execution instructions tests the DUT and returns test data to the second loop structure; When the second loop structure obtains the test data, the state machine enters the data saving state, so that the state machine controls the second loop structure to save the test data.
4. The double pulse test system according to claim 3, It is characterized in that The test device includes an oscilloscope, the test data includes waveform data returned by the oscilloscope, and the second loop structure determines whether the waveform data is correct or not.
5. The double pulse test system according to claim 4, It is characterized in that When the second loop structure determines that there is an error in the waveform of the waveform data, the second loop structure stops automatic testing, and the state machine enters an idle state; When the second loop structure determines that the waveform of the waveform data is normal but deviates from a preset waveform threshold, the second loop structure adjusts the test parameters according to a preset parameter adjustment strategy to generate new test parameters to continue the automated test.
6. The double pulse test system according to claim 3, It is characterized in that After the second loop structure saves the test data, the state machine controls the second loop structure to determine whether the test list has completed the test task. If not, the state machine enters the test parameter generation state so that the state machine controls the second loop structure to generate test parameters according to the test list to continue the automated test of the next test condition.
7. The double pulse test system according to claim 2, It is characterized in that When the control operation includes a control operation of a single-condition test, the state machine enters the test parameter generation state so that the state machine controls the first loop structure to read the input test conditions and controls the second loop structure to generate test parameters according to the test conditions; After the second loop structure generates the test parameters, the state machine enters the application setting state so that the state machine controls the second loop structure to transmit the test parameters to the corresponding test device; After the second loop structure transmits the test parameters to the corresponding test device, the state machine enters the wave test state, so that the state machine controls the second loop structure to transmit a number of execution instructions corresponding to the wave test to the corresponding test device, and the test device that receives the execution instructions tests the DUT and returns test data to the second loop structure; When the second loop structure obtains the test data, the state machine enters the data saving state, so that the state machine controls the second loop structure to save the test data.
8. The double pulse test system according to claim 2, It is characterized in that When the control operation includes a control operation of stopping the test, the state machine enters a system stop state so that the state machine controls the second loop structure to stop the test device from testing the device under test.
9. The double pulse test system according to claim 2, It is characterized in that When the control operation includes a temperature control operation, the state machine enters a temperature control state so that the state machine controls the second loop structure to perform at least one of the following controls: generate temperature information, start temperature control, check temperature information, update temperature information, and stop temperature control.
10. The double pulse test system according to claim 2, It is characterized in that When the control operation includes a control operation of a short-circuit test, the state machine enters an application setting state so that the state machine controls the second loop structure to transmit the test parameters corresponding to the short-circuit test to the corresponding test device; After the second loop structure transmits the test parameters to the corresponding test device, the state machine enters the wave test state, so that the state machine controls the second loop structure to transmit a number of execution instructions corresponding to the wave test to the corresponding test device, and the test device that receives the execution instructions performs a short-circuit condition test on the device under test, and returns test data to the second loop structure; When the second loop structure obtains the test data, the state machine enters the data saving state, so that the state machine controls the second loop structure to save the test data.
