A bench test method, apparatus, and test bench for electric motors.
By setting target test data and error judgment feedback adjustment in the motor test bench, test results with stable motor operation are automatically selected, solving the problem of low motor testing efficiency and achieving efficient and accurate motor testing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2026-04-03
AI Technical Summary
Existing motor test benches cannot perform fully automated testing, resulting in low testing efficiency and a high risk of errors.
By pre-setting target test data, the test results data of the motor are output, and the test data in which the motor's operating state is stable under each set of target test data are selected as the target test results data. Error judgment and dynamic feedback adjustment are used to ensure the accuracy and reliability of the test results.
The automation of motor testing has been achieved, improving testing efficiency, ensuring the accuracy and reliability of test results, and reducing human intervention and error rate.
Smart Images

Figure CN119270065B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of motor testing technology, and in particular to a test bench method, apparatus and test bench for motors. Background Technology
[0002] A motor test bench is a device specifically designed for testing and evaluating motor performance. For example, in practical applications, a motor test bench can be used to test motor efficiency. However, the process of testing motor efficiency using a motor test bench is mainly manually controlled, and fully automated testing is not possible. This significantly reduces testing efficiency and requires further improvement. Summary of the Invention
[0003] In view of this, embodiments of this application provide a bench test method, apparatus and test bench for motors, to solve the technical problem of how to use a test bench to perform fully automated testing of motor efficiency.
[0004] A first aspect of this application provides a bench test method for an electric motor, comprising: when testing the motor under test on a control bench, outputting test result data of the motor under test based on at least one set of preset target test data, wherein the test result data includes test data of the motor under test at multiple consecutive time points; selecting test data from the test result data in which the operating state of the motor under test is stable under each set of target test data as target test result data; and outputting the target test result data.
[0005] A second aspect of this application provides a bench test apparatus for an electric motor, comprising: a motor test module configured to output test result data of the motor under test based on at least one set of preset target test data when testing the motor under test on a control bench, the test result data including test data of the motor under test at multiple consecutive time points; a data filtering module configured to filter test data from the test result data in which the operating state of the motor under test is stable under each set of target test data as target test result data; and a data output module configured to output the target test result data.
[0006] A third aspect of this application provides a motor test bench, which includes at least a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above-described method.
[0007] The beneficial effects of this application embodiment compared with the prior art are as follows: The above-mentioned bench test method for motors, when testing the motor under test by controlling the bench, outputs test result data of the motor under test according to at least one set of preset target test data. The test result data includes test data of the motor under test at multiple consecutive time points; the test data from the test result data in which the operating state of the motor under test is stable under each set of target test data is selected as the target test result data; the target test result data is output, thereby automatically selecting the effective test result data in which the motor operates stably under the target test data, ensuring the accuracy and reliability of the results, avoiding human intervention, and improving test efficiency. Attached Figure Description
[0008] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0009] Figure 1 This is a schematic diagram illustrating an application scenario of an embodiment of this application;
[0010] Figure 2 This is a flowchart illustrating a bench test method for an electric motor provided in an embodiment of this application;
[0011] Figure 3 This is a logical diagram illustrating a solution to fault A provided in an embodiment of this application;
[0012] Figure 4 This is a logical diagram illustrating a solution to fault B provided in an embodiment of this application;
[0013] Figure 5 This is a logic diagram illustrating a solution to fault D provided in an embodiment of this application;
[0014] Figure 6 This is a flowchart illustrating another bench test method for an electric motor provided in an embodiment of this application;
[0015] Figure 7 This is a schematic diagram of the structure of a bench testing device for an electric motor provided in an embodiment of this application;
[0016] Figure 8 This is a partial structural schematic diagram of a motor test bench provided in an embodiment of this application. Detailed Implementation
[0017] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0018] In the research and development of new energy vehicles, motor testing involves sending torque and speed in specific step sizes. For example, in experiments, speed points such as 500 rpm, 1000 rpm, 1500 rpm, and 2000 rpm are typically selected, while torque acquisition points such as 3 Nm, 5 Nm, 0 Nm, 15 Nm, and 20 Nm are chosen. Records are kept of DC voltage, current, power, wheel-end output speed and torque, coolant temperature and flow rate, oil temperature, ambient temperature, motor winding temperature, IGBT (Insulated Gate Bipolar Transistor) temperature, controller / oil pump low-voltage voltage and current, and given speed and torque. An efficiency distribution diagram is then plotted after the test. Currently, the aforementioned motor testing process mainly relies on manual timing and data acquisition. This method, primarily involving manual intervention, is extremely inefficient and prone to errors.
[0019] In view of the above problems, this application provides a bench test method for motors, which tests the motor under test using preset target test data and filters out the test results when the motor is in a stable operating state, ensuring the accuracy and reliability of the test results; and the method can automatically filter out effective test data, avoid human intervention, and improve test efficiency.
[0020] See Figure 1 In the application scenario of this application embodiment, the application scenario includes a motor test bench (also referred to as the bench). The bench can measure key indicators of the motor under test (also referred to as the motor) under different operating conditions. These key indicators include, but are not limited to, motor torque and motor speed. During the process of using the bench to measure the motor, on the one hand, initial conditions are set, the bench sends torque and speed data, obtains output results, and performs feedback control on the bench based on the output results. The bench resends data based on the input to automatically control the motor's operating state. On the other hand, initial environmental parameters such as oil temperature and water temperature are set according to test requirements, and adjustments are made based on the test results to automatically control the motor's operating condition. When the test is completed, the results are further verified. Based on the verification results, it is determined whether parameter adjustments are needed for further testing. The data is then processed to obtain the target test result and output.
[0021] According to the application scenario of this application embodiment, by integrating motor testing, the screening of test time, number of test points, and test data can be realized, thereby achieving closed-loop control of temperature, torque, and speed.
[0022] See Figure 2 In some embodiments of this application, a bench test method for an electric motor is provided, including the following steps:
[0023] S201, when testing the motor under test using a control rack, output the test result data of the motor under test based on at least one set of preset target test data. The test result data includes the test data of the motor under test at multiple consecutive time points.
[0024] S202, Select the test data from the test results data in which the operating state of the motor under test is stable under each set of target test data as the target test result data;
[0025] S203 outputs the target test result data.
[0026] In practice, the bench test method for the motor provided in this application embodiment can be performed using a test bench. Specifically, Excel software can be used to construct target test data, and then the Excel document containing at least one set of target test data is input into MATLAB software for processing, and MATLAB sends the data. For example, one column in the Excel spreadsheet can be set as the target torque value to be collected, and another column can be set as the target speed value to be collected. Each row represents a set of target test data, including a target torque value and a target speed value. The Excel spreadsheet is then input into MATLAB for processing, and MATLAB sends the data to the test bench. Here, using MATLAB to process and send data replaces the traditional manual timing and data acquisition methods, which can effectively improve testing efficiency and accuracy.
[0027] The test bench outputs corresponding test result data in real time based on the input target test data. This test result data is numerous, and not all of it represents the required test results. In this embodiment, in addition to the test bench outputting corresponding test result data based on at least one set of preset target test data, the test result data from which the operating state of the motor under test is stable under each set of target test data is selected as the target test result data.
[0028] As can be seen, this embodiment performs motor testing using preset target test data, automatically filters out valid test result data where the motor operates stably under the target test data, thereby ensuring accurate and reliable results, avoiding human intervention, and improving testing efficiency.
[0029] Since there is a certain delay in the transmission of the test bench, the test parameters can be adjusted in real time by judging the error of the motor's operating status and making dynamic feedback adjustments. This allows the motor to reach the target torque and target speed corresponding to each set of target measurement data and output the corresponding measurement results, thereby ensuring high accuracy of the test results.
[0030] In some embodiments of this application, outputting test result data of the motor under test based on at least one set of preset target test data includes: sequentially extracting a set of target test data from the at least one set of preset target test data; controlling the control frame to adjust the motor under test to meet the target operating state corresponding to the currently extracted target test data; wherein the target test data includes at least one motor operating parameter, and the target operating state includes the operating state of the motor under test under all motor operating parameters corresponding to a set of target test data; determining the error between the actual operating state of the motor under test and the target operating state based on the actual operating state of the motor under test, and detecting whether the error is within a preset error range; if the error is within the preset error range, adjusting the motor under test to the target operating state based on the error, and outputting the test result data of the motor under test in the target operating state.
[0031] Specifically, the target measurement data can be one set or multiple sets. When there are multiple sets of target measurement data, the test bench will respond to each set of target test data in sequence, adjusting the motor to the target operating state of the motor operating parameters corresponding to the target test data. Due to the time delay, the test bench will determine the error between the actual torque and the target torque of the motor under test, as well as the error between the actual speed and the target speed of the motor under test, based on the actual operating state of the motor. This error will then be fed back to the test bench to attempt to adjust the motor under test to the target operating state.
[0032] Both the torque and speed of a motor have a certain degree of error. In practice, if the error between the actual torque and the target torque of the motor meets the standard error range, the actual torque can be considered to be consistent with the target torque. Alternatively, a reasonable error range can be set, and the error can be eliminated through dynamic feedback adjustment.
[0033] Generally, the torque error is ±10 Nm; however, the error for speed can vary depending on the speed range. For example, when the speed is below 10,000 rpm, the speed error is ±200 rpm, and when the speed is above 10,000 rpm, the speed error is within 10%. Figure 1 In this system, sensors can be used to collect the actual torque and speed of the drive motor. By comparing the difference between the torque and speed under the actual operating conditions and the target operating conditions, the magnitude of the error can be determined. In practice, a preset error range can be set. If the error is within the preset error range, the error can be eliminated by dynamically feeding back the error to the test bench.
[0034] Optionally, a dynamic feedback fine-tuning mode can be used for error adjustment. Specifically, for torque, an interpolation method is used for transmission. For example, if the actual torque is 2 Nm more than the transmitted torque after stabilizing for 2 seconds, the test bench adds 1 Nm to the original transmitted target torque before transmitting, thus gradually adjusting the actual motor torque to match the target torque. Similarly, for speed error, if the actual speed is 30 rpm less than the transmitted target speed, the test bench subtracts 15 rpm from the original transmitted target speed before transmitting. Therefore, after determining the error between the actual operating state and the target operating state of the motor under test, this error is not directly fed back to the test bench. Instead, the error is fed back to the test bench based on the error feedback accuracy. The error feedback accuracy includes a proportional value, which is less than 1, for example, a proportional value of 1 / 2, 1 / 4, etc. Of course, the error feedback accuracy can also be set according to the actual situation to determine whether the feedback transmission is accurate.
[0035] This embodiment sets a specific preset error range through error judgment and dynamic feedback adjustment, and monitors torque and speed in real time according to the dynamic feedback adjustment mechanism to identify errors and make fine adjustments, thereby ensuring test accuracy.
[0036] Next, in conjunction with the above embodiments, if the error exceeds these preset error ranges, it is generally considered a fault, and a corresponding fault code can be output or a fault alarm can be sent.
[0037] In some embodiments of this application, after determining whether the detection error is within a preset error range, the method further includes:
[0038] If the error is not within the preset error range, the fault type of the motor under test that has not reached the target operating state will be diagnosed, and the first preset fault recovery strategy for the corresponding fault type will be executed.
[0039] If the fault is resolved by the first preset fault recovery strategy, the test result data of the motor under test under the target operating state will be output.
[0040] If the first preset fault recovery strategy fails to resolve the fault, a first fault code corresponding to the fault type is generated, and test result data showing that the motor under test has not reached the target state under the currently extracted target test data is output. The test result data includes the first fault code.
[0041] Specifically, if the error exceeds the preset error range, a fault type will be diagnosed. It's worth noting that if the target test data corresponds to more than one motor operating parameter, and there are more than one possible scenario for the error exceeding the preset error range, then the fault type is not unique. For example, if the target test data includes target torque and target speed, the error exceeding the preset error range can include the following three situations: first, the motor torque error exceeds the preset error range; second, the motor speed error exceeds the preset error range; third, both the motor torque and motor speed errors exceed their respective preset error ranges. For different fault types, preset fault recovery strategies can be used to attempt to recover the corresponding fault and bring the motor back to the target operating state.
[0042] For example, when the target test data includes target torque and target speed, three fault types where the error is not within the preset error range are defined as A, B, and C, respectively. Fault A occurs when the torque cannot reach the target torque, and the torque error exceeds the preset error range; fault B occurs when the speed cannot reach the predicted value, and the speed error exceeds the preset error range; fault C occurs when neither the torque nor the speed reaches the corresponding target torque and target speed, or when both the torque and speed errors exceed the preset error range. In practical applications, fault A often occurs when high torque cannot be achieved. For example, when the torque of the motor under test is loaded to 60 Nm or 70 Nm or higher, the feedback torque value remains unchanged at 40 Nm. Fault B often occurs when high speed cannot be achieved. For example, when the speed of the motor under test is loaded to 15,000 rpm or 170,000 rpm or higher, the feedback torque value remains unchanged at 10,000 rpm. Fault C occurs under conditions of high torque and high speed.
[0043] The first preset fault recovery strategy includes a recovery procedure for each fault type. When a fault type is diagnosed, the fault can be attempted to be recovered by executing the first preset fault recovery strategy for the corresponding fault type.
[0044] For fault A, see Figure 3 The steps to resolve fault A by implementing the first preset fault recovery strategy for the corresponding fault type include:
[0045] S301, decrease the torque by a preset step size and then increase the torque again, and record the number of times this is executed;
[0046] S302, Check if the fault is resolved: If the fault is resolved, terminate the execution of the first preset fault recovery strategy; if the fault is not resolved, proceed to step S303.
[0047] S303, Check if the number of executions has reached the threshold: If the number of executions has not reached the threshold, return to S201; if the number of executions has reached the threshold, proceed to step S304.
[0048] S304, reduce speed and increase speed under load;
[0049] S305, Check if the fault is resolved: If the fault is resolved, terminate the execution of the first preset fault recovery strategy; if the fault is not resolved, proceed to step S306.
[0050] S306, output the corresponding fault code and end the execution of the first preset fault recovery strategy.
[0051] Specifically, assuming that during actual testing, the motor under test reaches a speed of 5000 rpm, and the torque is applied to 60 Nm but the feedback torque value remains unchanged at 40 Nm, the fault type is diagnosed as Fault A. First, reduce the torque to 35 Nm, then increase it to 60 Nm. If this correction allows the torque to be applied correctly, the fault is resolved. If reducing to 50 Nm and then increasing to 60 Nm does not solve the problem, reduce the torque to 30 Nm and then increase it to 60 Nm. If this still doesn't work, reduce the torque to 25 Nm and then increase it to 60 Nm. When the measured torque value is 20 Nm, reduce the torque in steps of 5 Nm. When the measured value is less than 20 Nm, reduce the torque in steps of 3 Nm. When the measured value is less than 10 Nm, reduce the torque in steps of 1 Nm. The minimum torque reduction is 5 Nm. If reducing the torque to 25 Nm and then increasing it to 60 Nm does not resolve the problem, first reduce the speed of the motor under test from 5000 rpm to the torque feedback value measured by the bench sensor at 60 Nm, maintain the torque value, and then increase the speed back to 5000 rpm to see if the fault is resolved. The minimum speed reduction is 1000 rpm. If the fault still cannot be resolved, output a fault code.
[0052] For fault B, see Figure 4 The steps to resolve fault B by implementing the first preset fault recovery strategy for the corresponding fault type include:
[0053] S401, reduce the speed by a preset step size and increase the speed under load, and record the number of executions;
[0054] S402, Check if the fault is resolved: If the fault is resolved, terminate the execution of the first preset fault recovery strategy; if the fault is not resolved, execute step S303.
[0055] S403, Check if the number of executions has reached the threshold: If the number of executions has not reached the threshold, return to S201; if the number of executions has reached the threshold, proceed to step S304.
[0056] S404, reduce torque and then increase torque;
[0057] S405, Check if the fault is resolved: If the fault is resolved, terminate the execution of the first preset fault recovery strategy; if the fault is not resolved, execute step S306.
[0058] S406, output the corresponding fault code and end the execution of the first preset fault recovery strategy.
[0059] Specifically, when fault B occurs, the speed is reduced and then increased. The troubleshooting logic is similar to that of fault A, except that the change in torque is replaced by a change in speed. Therefore, the working principle of the method and steps for solving fault B will not be elaborated here.
[0060] Furthermore, for fault C, the first step is to check for torque issues, followed by speed issues. The logic before and after implementing the first preset fault recovery strategy for the corresponding fault type to resolve fault C corresponds to the logical processing steps for faults A and B, respectively, which will not be elaborated here.
[0061] This embodiment pre-sets corresponding fault resolution logic for each type of fault during the measurement process, thereby effectively identifying and handling various faults in the test and improving the reliability of the test.
[0062] Because of the delay time in the test, a delay time is usually set in the actual test process. For example, the delay time is 5 seconds. After the test bench extracts a set of target test data, it will perform a 5-second test. During the delay time, the test bench will control or adjust the motor under test to reach the target operating state corresponding to the target test data. This includes using dynamic error feedback to keep the motor under test in the target operating state for a preset time in order to output stable measurement result data.
[0063] In some embodiments of this application, the above-described bench test method for the motor further includes: when the motor under test is adjusted to the target operating state or the fault is resolved by a first preset fault recovery strategy, controlling the motor under test to maintain the target operating state for a first preset duration.
[0064] Specifically, the first preset duration is generally shorter than the set delay time. This allows the motor under test to reach the target operating state within the delay time and maintain it for the corresponding first preset duration, facilitating the selection of stable test result data. For example, the delay time is set to 5 seconds, while the first preset duration is 2 seconds.
[0065] According to the technical solution provided in the embodiments of this application, by adjusting the motor under test to the target operating state or resolving the fault using a first preset fault recovery strategy, the motor under test is controlled to maintain the target operating state for a first preset duration, so as to filter out stable target test result data from the test result data and then output accurate efficiency evaluation results.
[0066] During motor testing, if no obvious abnormalities are observed, further evaluation of the test results is necessary to ensure measurement stability. Typically, the measured torque and speed values are required to stabilize for a duration exceeding a preset time. In this case, the test results obtained from the motor under test should be further evaluated. Under normal circumstances, when the torque and speed of the motor under test are stable, the test results (e.g., efficiency) will also be stable. If the motor under test can reach the target operating state but cannot maintain it for the preset time, the time needs to be extended to allow the target operating state to stabilize; otherwise, it will be considered a fault. In practical applications, this type of fault needs to be considered and addressed.
[0067] Furthermore, in some embodiments of this application, after controlling the motor under test to maintain the target operating state for a first preset time, the method further includes:
[0068] Monitor whether the motor under test can maintain the first preset time in the target operating state;
[0069] If the first preset duration can be maintained, the control unit will proceed with the next set of target test data for the motor under test.
[0070] If the first preset duration cannot be maintained, the fault type is determined and a second preset fault recovery strategy corresponding to the failure of the motor under test to maintain the first preset duration in the target operating state is executed.
[0071] If the fault is resolved by the second preset fault recovery strategy, the test result data of the motor under test maintaining the target operating state for the first preset time will be output.
[0072] If the second preset fault recovery strategy fails to resolve the fault, a second fault code is generated that corresponds to the motor under test being unable to maintain the first preset operating state for the duration specified in the first preset time. The test result data of the motor under test under the currently extracted target test data is then output, and the test result data includes the second fault code.
[0073] Specifically, the situation where the motor under test cannot maintain a stable preset duration in the target operating state is unique, therefore there is only one fault type. For example, if the motor under test cannot maintain the first preset duration in the target operating state, it is defined as fault D.
[0074] In the event of a D fault, an attempt can be made to resolve the D fault by executing a second preset fault recovery strategy. See also Figure 5 The steps to attempt to resolve fault D by implementing the second preset fault recovery strategy include:
[0075] S501, adjust the motor under test to the target operating state;
[0076] S502, Check whether the motor under test maintains the target operating state for a first preset time: If the target operating state is not maintained for the first preset time, return to S501; If the target operating state is maintained for the first preset time, execute step S503.
[0077] S503, check whether the test result data output within the first preset time period is stable: if stable, end the execution of the second preset fault recovery strategy; if unstable, execute step S504.
[0078] S504, determine whether the number of times the motor's operating condition has been modified has reached the threshold: if the threshold has been reached, the execution of the second preset fault recovery strategy will end; if the threshold has not been reached, proceed to step S505.
[0079] S505 modifies the motor's operating parameters, records the number of times the operating parameters are modified, and then returns to S501.
[0080] This application embodiment identifies faults that prevent the motor from maintaining a stable state through fault diagnosis, and attempts to recover from the fault by providing corresponding preset fault recovery strategies, thereby ensuring the stable operation of the system and improving the accuracy of the output test result data.
[0081] Furthermore, in some embodiments of this application, the test data in which the operating state of the motor under test is stable under each set of target test data is selected from the test result data as the target test result data, including:
[0082] Sequentially identify the test data output by the motor under test when it is stable in the target operating state from the test result data;
[0083] Based on the test data identified in the test results data, determine the target test data;
[0084] The target test data is output as the target test result data.
[0085] Specifically, the test result data is the test result data output by the test bench in real time. For example, during the process of the test bench extracting a set of target test data, due to the delay time, the test bench will output the test result data of the motor under test before it reaches the target operating state. If a fault is identified and cannot be resolved, the test bench will also output the corresponding fault code or mark the corresponding test result data with a fault label. Similarly, after the motor under test reaches the target operating state, the test bench will also output the corresponding test result data. If the target operating state of the motor under test cannot be maintained stably for a preset time, the test bench will also output the corresponding fault code or mark the corresponding test result data with a fault label.
[0086] According to the technical solution provided in the embodiments of this application, the test result data is processed and verified by real-time measurement and data filtering to filter the measurement result data of the motor under test that is stable in the target operating state, thereby outputting accurate test results.
[0087] During the testing process, different test items correspond to different operating conditions. (Combined) Figure 1 In terms of the application scenarios provided, different working conditions require different environmental conditions. Environmental control needs to control a series of external parameters such as oil pump temperature and water temperature. When the temperature sensor in the environment senses a temperature change, it can automatically control the corresponding oil pump and water pump to adjust the temperature in order to achieve the target working conditions for motor testing.
[0088] In some embodiments of this application, when testing the motor under test using a control bench, the above-mentioned bench test method for the motor further includes:
[0089] Based on the preset target operating condition file, the target operating condition of the motor under test is determined under each set of target test data. The target operating condition file includes at least one target operating condition for motor operation, and each set of target test data is pre-associated with at least one target operating condition.
[0090] The control unit adjusts the operating condition of the motor under test to the target operating condition corresponding to the currently extracted target test data.
[0091] Specifically, the target operating condition file includes the target operating conditions corresponding to each set of target measurement data. Each set of target test data can correspond to one target operating condition or multiple target operating conditions. During testing, the target operating condition file and at least one set of preset target test data are sent to the test bench. The test bench sequentially extracts the motor operating parameters of each set of target test data, then adjusts the motor under test to the target operating state, and then iterates through the target operating conditions corresponding to the target test data one by one to verify whether the oil temperature and ambient temperature under this test meet the test conditions. If they do not meet the conditions, modifications are required until the motor under test stably outputs test result data under both the target operating condition and the target operating state.
[0092] According to the technical solution provided in the embodiments of this application, each set of test data is associated with a specific motor operating condition through a preset target operating condition file. The motor is adjusted to the corresponding target operating condition using a control console, ensuring that the motor under test reaches the target operating state and corresponding target operating condition of the test data, so as to output stable test result data, thereby improving the accuracy of the test result data and the reliability of the motor test.
[0093] Furthermore, in some embodiments of this application, where each set of target test data includes at least target torque and target speed, and the test result data includes the efficiency of the motor under test at the target torque and target speed, the test result data of the motor under test is output based on at least one preset set of target test data, including:
[0094] Sequentially extract the target torque and target speed of each set of target test data from at least one set of preset target test data, and adjust the motor under test to achieve the target operating state of target torque and target speed;
[0095] When the motor under test simultaneously meets the target operating condition and the target running state, it is detected whether the duration for which the motor under test maintains the target operating condition and the target running state exceeds the second preset duration.
[0096] If the motor under test maintains the target operating condition and target running state for more than the second preset time, a corresponding second fault code is generated, and the second fault code is associated with the test result data of the motor under test in the current target operating condition and target running state and output.
[0097] If the motor under test maintains the target working condition and target running state for no more than the second preset time, output the test result data of the motor under test within the second preset time, and check whether to traverse all target working conditions associated with the currently extracted target test data;
[0098] Without traversing all target operating conditions for currently extracting target test data, the operating condition of the motor under test is adjusted to the next target operating condition, and the process of checking whether the duration for which the motor under test maintains the target operating condition and target operating state exceeds the second preset duration is returned when the motor under test simultaneously meets the target operating condition and target operating state.
[0099] While traversing all target operating conditions for extracting the current target test data, extract the next set of target test data, sequentially extract the target torque and target speed of each set of target test data from at least one preset set of target test data, and adjust the motor under test to achieve the target operating state of target torque and target speed.
[0100] Specifically, during motor testing, after the motor under test reaches the target operating state, it is also necessary to ensure that the test conditions also meet the target conditions. The motor under test needs to be controlled to simultaneously meet the target conditions and the target operating state in order to output the corresponding test result data.
[0101] If the motor under test reaches the target operating condition and target running state, it needs to maintain this state for a second preset time. If it cannot maintain this state for the second preset time, a fault will be diagnosed, and a corresponding fault code or fault label will be output. This will allow invalid data to be excluded during subsequent data filtering, resulting in valid target test results. If the second preset time can be maintained, it is necessary to iterate through each target operating condition corresponding to the currently mentioned target test data to obtain the test results under different target operating conditions.
[0102] In this embodiment, while extracting target test data to test the motor, the test conditions are further adjusted to the target conditions corresponding to the target test data. This allows the motor to remain stable for a preset duration under the target conditions and target operating states corresponding to the target test data, thereby outputting the corresponding test result data and ensuring the accuracy of the test result data.
[0103] In actual testing, motor efficiency is tested in real-time. Typically, the output test results are saved in an EXCE1 table, which includes, but is not limited to, time, torque, speed, efficiency, and corresponding environmental parameters for the target operating condition. However, in actual efficiency evaluations, only data from motors operating under certain target conditions and after a preset stable operating period is often needed. Therefore, it is necessary to perform data filtering on the test bench output.
[0104] In some embodiments of this application, see Figure 6 This provides another bench test method for motors, including the following steps:
[0105] S601, Obtain the original data file and the target operating condition file. The original data file includes at least one set of target test data, and each set of target test data includes at least one motor operating parameter. The target operating condition file includes the target operating conditions corresponding to each set of target test data, and each set of target test data includes at least one set of target operating condition data.
[0106] S602, extract at least one motor operating parameter from each set of target test data, adjust the motor under test to the target operating state of at least one motor operating parameter corresponding to the target test data, and sequentially adjust the test conditions to each target condition corresponding to the target test data, and output the test result data in real time. The test result data includes the test data of the motor under test at multiple consecutive time points.
[0107] S603, thereby filtering out the test data output by the motor under test when it is stable under the target working condition and the target operating state from the test result data;
[0108] S604 takes the filtered test data as the target test result data and outputs it.
[0109] Specifically, the test bench outputs corresponding test result data in real time based on the input target test data. These test result data are numerous, and not all of them are the required test results. Taking motor efficiency evaluation testing as an example, only the test result data output when the motor under test is stable at the target torque and target speed corresponding to each set of target test data is needed. Therefore, in this embodiment, in addition to the test bench outputting corresponding test result data based on at least one set of preset target test data, the test data from this test result data that shows the motor under test operating stably under each set of target test data will also be selected as the target test result data.
[0110] For example, a set of target test data is sent to the test bench, and the corresponding test result data is output in real time. This test result data is recorded in the first data table (e.g., Excel table 1), as shown in List 1 below:
[0111] time Torque rotational speed efficiency 1 0 1000 87 2 5 1000 88 3 10 1000 89 4 15 1000 90 5 15 1000 91 6 15 1000 90 7 20 1000 92
[0112] Table 1 shows the test results for a set of target test data.
[0113] In Table 1, the first column represents multiple consecutive time points, the second column represents the measured torque of the motor, the third column represents the measured speed of the motor, and the fourth column represents the efficiency of the motor at the corresponding torque and speed. Assuming that the target torque and target speed of the input target test data are 15 Nm and 1000 rpm respectively, then the test result data output at time points 4, 5, and 6 are the test data that need to be filtered out.
[0114] Specifically, the test data selected from the test result dataset often consists of more than one set of data. In practice, the last set of test data can be determined as the target test result data based on time, or the average of the selected test data can be calculated, and the result can be used as the target test result data. It is understood that the data processing method of selecting test data from the test result dataset that shows the motor under test is stable in the target operating state and using the selected test data as the target test result data is not unique and is not limited to the two implementation methods mentioned above. This application embodiment does not impose any limitations on this.
[0115] For example, the target test results data are shown in Table 2 below:
[0116] time Torque rotational speed efficiency 6 15 1000 90
[0117] Table 2 presents a set of target test results data.
[0118] Based on Table 1, Table 2 presents a set of test data output by the motor under test when it is stable under the target operating condition, which can be used as the target test result data. Alternatively, the average efficiency can be calculated based on the test result data output at time points 4, 5, and 6, and then the average efficiency, along with the corresponding torque and speed, can be used as the target test result data.
[0119] In the above-described fault identification embodiment, faults may occur during the process of adjusting the motor under test to the target operating state of at least one motor operating parameter corresponding to the target test data, and sequentially adjusting the test conditions to each target operating condition corresponding to the target test data. Certain erroneous options will be output with specific error codes. In data processing, these tagged error values are skipped, and the corresponding fault codes can also be reflected in the final output target test result data.
[0120] The technical solution provided in the embodiments of this application has at least the following beneficial effects:
[0121] First, the testing process is automated, reducing human intervention, improving testing efficiency, and lowering the error rate;
[0122] Second, through error judgment and dynamic feedback adjustment, test parameters can be adjusted in real time to ensure high accuracy of test results;
[0123] Third, the fault diagnosis mechanism can promptly identify and handle various faults during testing, ensuring the stable operation of the system;
[0124] Fourth, the stability of the testing environment is ensured through environmental control mechanisms and verification, avoiding the impact of environmental factors on the accuracy of data processing; and real-time data processing and filtering methods ensure the accuracy and reliability of the test data, providing more accurate efficiency evaluation results.
[0125] Fifth, automated and optimized testing processes reduce testing time and costs, improving overall testing efficiency and economic benefits.
[0126] All of the above-mentioned optional technical solutions can be combined in any way to form the optional embodiments of this application, and will not be described in detail here.
[0127] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.
[0128] See Figure 7In some embodiments of this application, a bench testing apparatus for an electric motor is provided, the bench testing apparatus for the electric motor comprising:
[0129] The motor test module 701 is configured to output test result data of the motor under test based on at least one set of preset target test data when testing the motor under test on the control rack. The test result data includes test data of the motor under test at multiple consecutive time points.
[0130] The data filtering module 702 is configured to filter out the test data from the test result data, and select the test data in which the operating state of the motor under test is stable under each group of target test data as the target test result data;
[0131] The data output module 703 is configured to output the target test result data.
[0132] According to the technical solution provided in the embodiments of this application, motor testing is performed using preset target test data, and valid test result data with stable motor operation under the target test data is automatically selected, thereby ensuring accurate and reliable results, avoiding human intervention, and improving testing efficiency.
[0133] In some embodiments, the motor testing module 701 is specifically configured to sequentially extract a set of target test data from at least one preset set of target test data, control the chassis to adjust the motor under test to meet the target operating state corresponding to the currently extracted target test data, wherein the target test data includes at least one motor operating parameter, and the target operating state includes the operating state of the motor under test under all motor operating parameters corresponding to a set of target test data; determine the error between the actual operating state of the motor under test and the target operating state based on the actual operating state of the motor under test, and detect whether the error is within a preset error range; if the error is within the preset error range, adjust the motor under test to the target operating state based on the error, and output the test result data of the motor under test in the target operating state.
[0134] In some embodiments, the motor testing module 701 is specifically configured to detect whether the error is within a preset error range, and if the error is not within the preset error range, diagnose the fault type of the motor under test not reaching the target operating state and execute a first preset fault recovery strategy corresponding to the fault type; if the first preset fault recovery strategy resolves the fault, output the test result data of the motor under test in the target operating state; if the first preset fault recovery strategy does not resolve the fault, generate a first fault code corresponding to the fault type and output the test result data of the motor under test not reaching the target state under the currently extracted target test data, wherein the test result data includes the first fault code.
[0135] In some embodiments, the motor test module 701 is specifically configured to control the motor under test to maintain the target operating state for a first preset duration when the motor under test is adjusted to the target operating state or the fault is resolved by a first preset fault recovery strategy.
[0136] In some embodiments, the motor testing module 701 is specifically configured to: control the motor under test to maintain the target operating state for a first preset time; monitor whether the motor under test can maintain the target operating state for the first preset time after the first preset time; if it can maintain the first preset time, control the chassis to perform the next set of target test data for the motor under test; if it cannot maintain the first preset time, execute a second preset fault recovery strategy corresponding to the motor under test's inability to maintain the target operating state for the first preset time; if the second preset fault recovery strategy resolves the fault, output the test result data of the motor under test maintaining the target operating state for the first preset time; if the second preset fault recovery strategy does not resolve the fault, generate a second fault code corresponding to the motor under test's inability to maintain the target operating state for the first preset time, and output the test result data of the motor under test under the currently extracted target test data, wherein the test result data includes the second fault code.
[0137] In some embodiments, the data filtering module 702 is specifically configured to sequentially identify test data output by the motor under test in a stable target operating state in the test result data; determine target test data based on the test data identified in the test result data; and output the target test data as target test result data.
[0138] In some embodiments, the motor testing module 701 is specifically configured to determine the target operating condition of the motor under test under each set of target test data according to a preset target operating condition file. The target operating condition file includes at least one target operating condition for motor operation, and each set of target test data is pre-associated with at least one target operating condition. The control panel adjusts the operating condition of the motor under test to the target operating condition corresponding to the currently extracted target test data.
[0139] In some embodiments, each set of target test data includes at least target torque and target speed, and the test result data includes the efficiency of the motor under test at the target torque and target speed; the motor test module 701 is specifically configured to sequentially extract the target torque and target speed of each set of target test data from at least one preset set of target test data, and adjust the motor under test to achieve the target operating state of the target torque and target speed; when the motor under test simultaneously meets the target operating condition and target operating state, detect whether the duration for which the motor under test maintains the target operating condition and target operating state exceeds a second preset duration; when the duration for which the motor under test maintains the target operating condition and target operating state does not exceed the second preset duration, generate a corresponding second fault code, and associate the second fault code with the test result data of the motor under test in the current target operating condition and target operating state for output; If the motor maintains the target operating condition and target running state for more than a second preset time, output the test result data of the motor under test within the second preset time, and check whether all target operating conditions associated with the currently extracted target test data have been traversed; if not all target operating conditions associated with the currently extracted target test data have been traversed, adjust the operating condition of the motor under test to the next target operating condition, and return to the step of checking whether the duration for which the motor under test maintains the target operating condition and target running state exceeds the second preset time when the motor under test simultaneously meets the target operating condition and target running state; if all target operating conditions associated with the currently extracted target test data have been traversed, extract the next set of target test data, sequentially extract the target torque and target speed of each set of target test data in at least one preset set of target test data, and adjust the motor under test to achieve the target running state of target torque and target speed.
[0140] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0141] See Figure 8 In some embodiments of this application, a motor test bench 8 is provided, comprising: a processor 801, a memory 802, and a computer program 803 stored in the memory 802 and executable on the processor 801. When the processor 801 executes the computer program 803, it implements the steps in the various method embodiments described above. Alternatively, when the processor 801 executes the computer program 803, it implements the functions of the modules in the various device embodiments described above.
[0142] The motor test bench 8 may include, but is not limited to, a processor 801 and a memory 802. Those skilled in the art will understand that... Figure 8 This is merely an example of the motor test bench 8 and does not constitute a limitation on the motor test bench 8. It may include more or fewer components than shown, or different components.
[0143] The processor 801 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0144] The memory 802 can be an internal storage unit of the motor test bench 8, such as a hard disk or RAM of the motor test bench 8. The memory 802 can also be an external storage device of the motor test bench 8, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the motor test bench 8. The memory 802 can also include both internal and external storage units of the motor test bench 8. The memory 802 is used to store computer programs and other programs and data required by the motor test bench.
[0145] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0146] If the integrated module is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium (e.g., a computer-readable storage medium). Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program may include computer program code, which may be in the form of source code, object code, executable file, or some intermediate form. The computer-readable storage medium may include: any entity or device capable of carrying computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.
[0147] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A bench test method for an electric motor, characterized in that, include: When testing the motor under test using a control rack, the target operating conditions of the motor under test are determined according to a preset target operating condition file under each set of target test data. The target operating condition file includes at least one target operating condition for motor operation. Based on at least one set of preset target test data, the control console adjusts the operating condition of the motor under test to the target operating condition corresponding to the currently extracted target test data, and outputs the test result data of the motor under test, which includes the test data of the motor under test at multiple consecutive time points. The test data from the test results data in which the operating state of the motor under test is stable under each set of target test data are selected as the target test result data. Output the target test result data; Each set of target test data includes at least target torque and target speed, and the test result data includes the efficiency of the motor under test at the target torque and target speed. Based on at least one set of preset target test data, the control unit adjusts the operating condition of the motor under test to the target operating condition corresponding to the currently extracted target test data, and outputs the test result data of the motor under test, including: Sequentially extract the target torque and target speed of each set of target test data from at least one set of preset target test data, and adjust the motor under test to achieve the target operating state of target torque and target speed; When the motor under test simultaneously meets the target operating condition and the target running state, it is detected whether the duration for which the motor under test maintains the target operating condition and the target running state exceeds the second preset duration. If the motor under test maintains the target operating condition and target running state for more than the second preset time, the test result data of the motor under test within the second preset time will be output.
2. The method according to claim 1, characterized in that, Based on at least one set of preset target test data, output the test result data of the motor under test, including: A set of target test data is sequentially extracted from at least one set of preset target test data. The control frame is then adjusted to the target operating state corresponding to the currently extracted target test data. The target test data includes at least one motor operating parameter, and the target operating state includes the operating state of the motor under test under all motor operating parameters corresponding to a set of target test data. Based on the actual operating state of the motor under test, determine the error between the actual operating state and the target operating state of the motor under test, and detect whether the error is within the preset error range; If the error is within the preset error range, the motor under test is adjusted to the target operating state according to the error, and the test result data of the motor under test in the target operating state is output.
3. The method according to claim 2, characterized in that, After detecting whether the error is within a preset error range, the method further includes: If the error is not within the preset error range, the fault type of the motor under test that has not reached the target operating state is diagnosed, and the first preset fault recovery strategy for the corresponding fault type is executed. If the fault is resolved by the first preset fault recovery strategy, the test result data of the motor under test in the target operating state will be output. If the first preset fault recovery strategy fails to resolve the fault, a first fault code corresponding to the fault type is generated, and test result data indicating that the motor under test has not reached the target state under the currently extracted target test data is output, wherein the test result data includes the first fault code.
4. The method according to claim 3, characterized in that, Also includes: When the motor under test is adjusted to the target operating state or the fault is resolved by the first preset fault recovery strategy, the motor under test is controlled to maintain the target operating state for a first preset duration.
5. The method according to claim 4, characterized in that, After controlling the motor under test to maintain the target operating state for a first preset time, the process also includes: Monitor whether the motor under test can maintain the first preset time in the target operating state; If the first preset duration can be maintained, the control unit will proceed with the next set of target test data for the motor under test. If the first preset duration cannot be maintained, a second preset fault recovery strategy corresponding to the failure of the motor under test to maintain the first preset duration in the target operating state will be executed. If the fault is resolved by the second preset fault recovery strategy, the test result data of the motor under test maintaining the target operating state for the first preset time will be output. If the second preset fault recovery strategy fails to resolve the fault, a second fault code is generated corresponding to the motor under test's inability to maintain the target operating state for the first preset duration, and the test result data of the motor under test under the currently extracted target test data is output, the test result data including the second fault code.
6. The method according to any one of claims 2-5, characterized in that, The target test result data is selected from the test result data, showing that the operating state of the motor under test is stable under each set of target test data. This includes: Sequentially identify the test data output by the motor under test when it is stable in the target operating state from the test result data; Based on the test data identified in the test results data, determine the target test data; The target test data is output as the target test result data.
7. The method according to claim 1, characterized in that, Each set of target test data is pre-associated with at least one target operating condition; Based on at least one set of preset target test data, output the test result data of the motor under test, including: Sequentially extract the target torque and target speed of each set of target test data from at least one set of preset target test data, and adjust the motor under test to achieve the target operating state of target torque and target speed; When the motor under test simultaneously meets the target operating condition and the target running state, it is detected whether the duration for which the motor under test maintains the target operating condition and the target running state exceeds the second preset duration. If the motor under test maintains the target operating condition and target running state for no more than the second preset time, a corresponding second fault code is generated, and the second fault code is associated with the test result data of the motor under test in the current target operating condition and target running state and output. If the motor under test maintains the target working condition and target running state for more than the second preset time, output the test result data of the motor under test within the second preset time, and check whether to traverse all target working conditions associated with the currently extracted target test data; Without traversing all target operating conditions for currently extracting target test data, the operating condition of the motor under test is adjusted to the next target operating condition, and the process of checking whether the duration for which the motor under test maintains the target operating condition and target operating state exceeds the second preset duration is returned when the motor under test simultaneously meets the target operating condition and target operating state. While traversing all target operating conditions for extracting the current target test data, extract the next set of target test data, sequentially extract the target torque and target speed of each set of target test data from at least one preset set of target test data, and adjust the motor under test to achieve the target operating state of target torque and target speed.
8. A bench testing device for an electric motor, characterized in that, include: The motor testing module is configured to determine the target operating conditions of the motor under test under each set of target test data based on a preset target operating condition file when testing the motor under test on a control console. The target operating condition file includes at least one target operating condition for motor operation. Based on at least one set of preset target test data, the control console adjusts the operating condition of the motor under test to the target operating condition corresponding to the currently extracted target test data, and outputs the test result data of the motor under test, which includes the test data of the motor under test at multiple consecutive time points. The data filtering module is configured to filter out the test data from the test result data, and select the test data in which the operating state of the motor under test is stable under each set of target test data as the target test result data; The data output module is configured to output the target test result data; Each set of target test data includes at least target torque and target speed, and the test result data includes the efficiency of the motor under test at the target torque and target speed. The motor test module is specifically configured to: sequentially extract the target torque and target speed of each set of target test data from at least one preset set of target test data, and adjust the motor under test to achieve the target operating state of the target torque and target speed; when the motor under test simultaneously meets the target operating condition and target operating state, detect whether the duration for which the motor under test maintains the target operating condition and target operating state exceeds a second preset duration; if the motor under test maintains the target operating condition and target operating state for more than the second preset duration, output the test result data of the motor under test within the second preset duration.
9. A motor test bench, characterized in that, The motor test bench includes at least a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Method for testing efficiency of driving system of new energy automobile
CN109781322A
Permanent magnet synchronous motor health detection and diagnosis method based on expert system
CN117471310A
Motor performance test method and system, computer equipment and storage medium
CN118641946A