A method, device and system for testing a permanent magnet synchronous motor

By initializing and dynamically updating the selection probability of permanent magnet synchronous motor test items, the incompatibility between efficiency and quality in permanent magnet synchronous motor testing is solved, and efficient and comprehensive testing is achieved.

CN120629934BActive Publication Date: 2025-10-14SHENZHEN WELMAG INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511145069.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-15
Publication Date
2025-10-14
Estimated Expiration
2045-08-15

AI Technical Summary

Technical Problem

In the existing permanent magnet synchronous motor testing methods, efficiency and quality cannot be compatible at the same time. The cost of full inspection is high, and random inspection cannot guarantee the inspection quality.

Method used

By initializing the selection probability of each test item and dynamically updating it based on test data and adjustment coefficients, we ensure that every device under test is detected and optimize the test process to balance efficiency and quality.

Benefits of technology

It improves test efficiency while ensuring quality, ensures that every device under test is detected, and solves the problem that efficiency and quality cannot be compatible at the same time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120629934B_ABST
    Figure CN120629934B_ABST
Patent Text Reader

Abstract

The present application relates to the field of device testing, and particularly relates to a permanent magnet synchronous motor testing method, device and system. The method comprises: initializing a selection probability of each test item; selecting a test item according to the selection probability of each test item and testing a device under test to obtain test data of the device under test; determining an adjustment coefficient of each test item, updating the selection probability of each test item according to the adjustment coefficient of each test item and the test data of the device under test; for the selection probability of each test item, if the selection probability of the test item increases, updating the selection probability of the test item again; and if a cumulative number of the device under test that has completed testing reaches a first preset number, initializing the selection probability of each test item and resetting the cumulative number to zero. The present application solves the problem that efficiency and quality cannot be simultaneously compatible in the testing process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of equipment testing, and in particular to a permanent magnet synchronous motor testing method, device and system. Background Art

[0002] A permanent magnet synchronous motor (PMSM) is an electric motor that uses permanent magnets to create a magnetic field in the rotor and uses alternating current in the stator winding to generate a rotating magnetic field, thereby driving the rotor to rotate at a synchronous speed.

[0003] After production, permanent magnet synchronous motors need to undergo a series of factory tests. Currently, the common practice is to conduct full inspections or random inspections on permanent magnet synchronous motors.

[0004] Full inspections of permanent magnet synchronous motors typically involve testing them individually based on the test items. This approach is inefficient and costly. Spot checks typically involve sampling a small number of motors and then testing them based on the test items. While this approach improves efficiency, it struggles to guarantee quality. The focus is primarily on detecting product defects caused by production system failures and other production process defects. Consequently, there's a struggle between achieving both efficiency and quality during testing. Summary of the Invention

[0005] Based on this, it is necessary to provide a permanent magnet synchronous motor testing method, device and system to address the above problems.

[0006] The embodiment of the present invention is implemented as follows: a permanent magnet synchronous motor testing method, the permanent magnet synchronous motor testing method comprising:

[0007] S101, initializing the selection probability of each test item;

[0008] S102, selecting a test item according to the selection probability of each test item and testing a device under test to obtain test data of the device under test;

[0009] S103, determining an adjustment coefficient for each test item based on the item information of each test item, and updating the selection probability of each test item based on the adjustment coefficient for each test item and the test data of the device under test;

[0010] S104: For each test item's selection probability, determine whether the selection probability of the test item has increased. If so, perform a secondary update on the selection probability of the test item based on the increase rate of the selection probability of the test item and the adjustment coefficient of the test item.

[0011] S105, determining whether the cumulative number of devices under test that have completed the test has reached a first preset number, if so, executing S101 and clearing the cumulative number;

[0012] S106, repeat S102-S105 until the test process is completed.

[0013] In one embodiment, the present invention provides a permanent magnet synchronous motor testing device, the permanent magnet synchronous motor testing device comprising:

[0014] The initial setting module is used to initialize the selection probability of each test item;

[0015] The project test module is used to select a test item according to the selection probability of each test item and test a device under test to obtain test data of the device under test;

[0016] A primary update module, configured to determine an adjustment coefficient for each test item based on the item information of each test item, and to update the selection probability of each test item based on the adjustment coefficient of each test item and the test data of the device under test;

[0017] A secondary updating module is used to determine, for each test item, whether the selection probability of the test item has increased. If so, perform a secondary update on the selection probability of the test item based on the increase rate of the selection probability of the test item and the adjustment coefficient of the test item.

[0018] The reset setting module is used to determine whether the cumulative number of devices under test that have completed the test has reached a first preset number. If so, the initial setting module is executed and the cumulative number is reset to zero.

[0019] In one embodiment, the present invention provides a permanent magnet synchronous motor test system, the permanent magnet synchronous motor test system comprising: a test device and a computer device;

[0020] The test equipment is connected to the device under test and is used to provide the device under test with the power, temperature and humidity required for performing the test items;

[0021] The computer device is connected to the testing device and the device under test, and is used to execute the steps of the above-mentioned permanent magnet synchronous motor testing method.

[0022] The permanent magnet synchronous motor test method provided by the embodiment initializes the selection probability of each test item; selects a test item according to the selection probability of each test item and tests a device under test to obtain test data of the device under test; determines the adjustment coefficient of each test item according to the item information of each test item, and updates the selection probability of each test item according to the adjustment coefficient of each test item and the test data of the device under test; for the selection probability of each test item, it is judged whether the selection probability of the test item rises, if yes, the selection probability of the test item is updated again according to the rising rate of the selection probability of the test item and the adjustment coefficient of the test item; it is judged whether the cumulative number of the devices under test that have completed the test reaches a first preset number, if yes, the selection probability of each test item is initialized and the cumulative number is cleared. In this way, when the device under test is tested, whether to perform a test item is determined by the selection probability of the test item, and after the factory test of a device under test is completed, the selection probability of each test item is updated. In this way, for all devices under test, each device under test has a probability of being detected, which ensures the quality of the factory test; at the same time, the test items of the device under test are only determined by the selection probability of the test item, and the lower the selection probability of the test item, the lower the test of the test item, which ensures the test efficiency of the factory test, and solves the problem that the efficiency and quality cannot be compatible in the test process. BRIEF DESCRIPTION OF DRAWINGS

[0023] Figure 1 A flow chart of a permanent magnet synchronous motor test method in an embodiment;

[0024] Figure 2 A structural block diagram of a permanent magnet synchronous motor test device in an embodiment;

[0025] Figure 3 A structural block diagram of a permanent magnet synchronous motor test system in an embodiment;

[0026] Figure 4 An internal structural block diagram of a computer device in an embodiment. DETAILED DESCRIPTION

[0027] In order to make the objectives, technical solutions and advantages of the present application clearer, further detailed description will be made to the present application in combination with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.

[0028] It is understood that the terms "first," "second," etc., used herein may be used to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script without departing from the scope of the present invention.

[0029] like Figure 1 As shown, in one embodiment, a permanent magnet synchronous motor testing method is proposed, which may specifically include the following steps:

[0030] S101, initializing the selection probability of each test item;

[0031] S102, selecting a test item according to the selection probability of each test item and testing a device under test to obtain test data of the device under test;

[0032] S103, determining an adjustment coefficient for each test item based on the item information of each test item, and updating the selection probability of each test item based on the adjustment coefficient for each test item and the test data of the device under test;

[0033] S104: For each test item's selection probability, determine whether the selection probability of the test item has increased. If so, perform a secondary update on the selection probability of the test item based on the increase rate of the selection probability of the test item and the adjustment coefficient of the test item.

[0034] S105, determining whether the cumulative number of devices under test that have completed the test has reached a first preset number, if so, executing S101 and clearing the cumulative number;

[0035] S106, repeat S102-S105 until the test process is completed.

[0036] In this embodiment, there are multiple test items, including electrical performance test, such as insulation resistance test, voltage withstand test, DC resistance test, etc., mechanical performance test, such as vibration test, noise test, etc., and environment and reliability test, such as high temperature operation test, low temperature start-up and operation test, life test / durability test, etc.

[0037] In this embodiment, the selection probability of each test item is initialized according to the initial value of the selection probability of each test item. The initial value of the selection probability of each test item can be set to 100%, that is, the selection probability of the test item after the initialization setting is 100%.

[0038] In this embodiment, S102-S104 are only for one device under test, which is a permanent magnet synchronous motor. In actual process, multiple devices under test can be tested simultaneously, and the selection probability of each test item can be determined by using the latest data.

[0039] In this embodiment, since the initial value of the selection probability of each test item is 100%, all test items will be performed on the first device under test, but not necessarily on the second device under test.

[0040] In this embodiment, for example, the test item of the DC resistance test measures the DC resistance of each phase winding of the stator, and the test data corresponding to the test item is resistance; the test item of the high-temperature operation test tests the operation at the maximum allowable ambient temperature, and the test data corresponding to the test item is temperature.

[0041] In this embodiment, the project information of the test item includes the voltage, current, temperature, and humidity required to execute the test item, as well as the test time of the test item and the damage degree value of the test item to the device under test. The test time of the test item refers to the length of time required to complete the test item. The damage degree value of the test item to the device under test is a definition value of the damage caused by the test item to the device under test, which is set manually. For example, destructive test items such as life test / durability test cause high damage to the device under test, and the damage degree value of the test item can be set to 100. Conventional test items such as DC resistance test cause high damage to the device under test, and the damage degree value of the test item can be set to 1.

[0042] In this embodiment, the adjustment coefficient of the test item is a reference parameter when adjusting the selection probability of the test item, that is, the adjustment coefficient of the test item is for the selection probability of the test item.

[0043] In this embodiment, updating the selection probability of a test item may be an upward adjustment or a downward adjustment.

[0044] In this embodiment, the second update of the selection probability of the test item will only be an upward adjustment.

[0045] In this embodiment, the purpose of setting the first preset number is to reset the selection probability of the test items, which is equivalent to restarting the entire test process. The first preset number can be set to 10,000 or even a larger value.

[0046] A permanent magnet synchronous motor testing method provided by an embodiment of the present invention includes initializing the selection probability of each test item; selecting a test item based on the selection probability of each test item and testing a device under test to obtain test data of the device under test; determining an adjustment coefficient for each test item based on item information of each test item, and updating the selection probability of each test item based on the adjustment coefficient of each test item and the test data of the device under test; determining whether the selection probability of each test item has increased, and if so, updating the selection probability of the test item a second time based on the increase rate of the selection probability of the test item and the adjustment coefficient of the test item; determining whether the cumulative number of devices under test that have completed testing has reached a first preset number, and if so, initializing the selection probability of each test item and clearing the cumulative number. In this way, when the device under test is factory tested, whether a test item is performed is determined by the selection probability of the test item, and after the factory test of a device under test is completed, the selection probability of each test item is updated. In this way, for all devices under test, each device under test has a probability of being detected, ensuring the quality of factory testing; at the same time, the test items of the device under test are determined only by the probability of selection of the test items. The lower the probability of selection of the test items, the lower the test rate of the test items, ensuring the test efficiency of the factory test and solving the problem that efficiency and quality cannot be compatible at the same time during the testing process.

[0047] In one embodiment, selecting a test item according to the selection probability of each test item and testing a device under test includes:

[0048] For each test item, the probability selection model is set according to the selection probability of the test item;

[0049] Randomly select an outcome in the set probability selection model;

[0050] Determine whether the result of the selection is 1. If so, register the test item as a random test item; if not, register the test item as a non-random test item;

[0051] Test one device under test according to all the test items.

[0052] In this embodiment, the probabilistic selection model has only two possible outcomes: 0 or 1. For example, if the probability of selection for the test item is 95%, the probabilistic selection model can consist of 95 1s and 5 0s. For example, if the probability of selection for the test item is 55.5%, the probabilistic selection model can consist of 555 1s and 445 0s. Of course, if the probability of selection for the test item is 100%, the probabilistic selection model will be all 1s.

[0053] In this embodiment, each test item has a corresponding probability selection model, and the probability selection models corresponding to the various test items do not interfere with each other.

[0054] In one embodiment, determining the adjustment coefficient of each test item according to the item information of each test item includes:

[0055] For each test item, obtain the test time of the test item and the damage degree value of the test item to the device under test from the project information of the test item;

[0056] Determine the longest test time t among all test times max And the shortest test time t min , determine the maximum damage value a among all damage values max And the minimum damage value a min ;

[0057] For each test item, Get the time coefficient T of the test item;

[0058] Depend on Obtain the damage degree coefficient A of the test item;

[0059] Depend on Get the adjustment coefficient of the test item;

[0060] Among them, i is the serial number of the test item, t i is the test time in the project information of the i-th test project, a i is the damage degree value in the project information of the i-th test project.

[0061] In this embodiment, the adjustment coefficient of a test item is affected by both the time coefficient and the damage degree coefficient. A smaller time coefficient indicates a shorter test time for the test item, and such test items can be tested frequently. Therefore, the amplitude of the selected probability adjustment should be smaller. Conversely, a larger time coefficient indicates a longer test time for the test item, and such test items cannot be tested frequently. Therefore, the amplitude of the selected probability adjustment should be larger. A smaller damage degree coefficient indicates less damage to the device under test by the test item, and such test items can be tested frequently. Therefore, the amplitude of the selected probability adjustment should be smaller. Conversely, a larger damage degree coefficient indicates greater damage to the device under test by the test item, and such test items cannot be tested frequently. Therefore, the amplitude of the selected probability adjustment should be larger. Therefore, it can be understood that the smaller the adjustment coefficient of a test item, the more frequently the test item can be tested, while the larger the adjustment coefficient, the less suitable it is for frequent testing.

[0062] In this embodiment, the time coefficient T is essentially given by However, the time coefficient T and the damage coefficient A obtained in this way are not uniform. It is necessary to map the time coefficient A and the damage coefficient A. Since the maximum value of the damage coefficient A is set to 100, it is more appropriate to map the time coefficient T to the damage coefficient A. Therefore, To get the time coefficient T, we essentially The result is mapped to the damage degree coefficient A.

[0063] In one embodiment, updating the selection probability of each test item based on the adjustment coefficient of each test item and the test data of the device under test includes:

[0064] For each test item, determine whether the test item is a random test item. If not, update the selection probability of the test item based on the registration status of the test item.

[0065] If the test item is a random test item, then obtain the test data corresponding to the test item from the test data of the device under test;

[0066] Determine whether the test data corresponding to the test item meets the preset standard of the test item. If so, update the selection probability of the test item according to the adjustment coefficient of the test item. If not, update the selection probability of the test item according to the test data corresponding to the test item and the adjustment coefficient of the test item.

[0067] In this embodiment, if a test item is registered as a non-spot test item on the device under test, the selection probability of the test item is slightly increased. Therefore, the result of updating the selection probability of the test item based on the registration status of the test item is a small upward adjustment of the selection probability. In this case, the adjustment coefficient of the test item is not required because the test item is not a spot test item and will not be tested. The registration status of the test item refers to whether the test item is registered as a spot test item or a non-spot test item on the device under test that has completed the test and the device under test.

[0068] In this embodiment, the preset standard for a test item is determined by the test standard for the test item. For example, if the test item is an insulation resistance test, the method is to apply high-voltage DC (typically 500V DC or 1000V DC, depending on the motor voltage level) to the device under test and measure the insulation resistance value. The test standard generally requires a value greater than 100 MΩ. Greater than 100 MΩ is the preset standard for this test item.

[0069] In this embodiment, if a test item is registered as a random test item on the device under test, if it meets the preset criteria for the test item, the probability of selection for the test item is adjusted downward. If it does not meet the preset criteria for the test item, the probability of selection for the test item is adjusted upward. The magnitude of the adjustment is related to the adjustment coefficient for the test item. If the adjustment is upward, the magnitude of the adjustment is large because the test item does not meet the preset criteria for the test item.

[0070] In one embodiment, updating the selection probability of the test item according to the registration status of the test item includes:

[0071] The case where the test item is registered as a random test item is recorded as 1, and the case where the test item is registered as a non-random test item is recorded as 0;

[0072] Determine the latest number n of consecutive zero values ​​from the registration status of the test item;

[0073] Determine whether the number n is greater than the second preset number, if so, Update the selection probability of the test item and clear the registration status of the test item;

[0074] Determine whether the probability of selection of the test item after the one-time update is greater than the initial value of the probability of selection of the test item; if so, set the probability of selection of the test item after the one-time update as the initial value of the probability of selection of the test item;

[0075] Among them, k is the selection probability of the test item, and m is the reduction factor.

[0076] In this embodiment, the selection probability of the test item will change only after a single update, a secondary update, or initialization occurs.

[0077] In this embodiment, the second preset number may be set to 10. The initial value of the selection probability of the test item may be set to 100%.

[0078] In this embodiment, m can be set to 100. This is because the maximum value of k is the initial value, that is, 100%. Therefore, after being reduced by 100 times, The maximum value of is 1%. Assuming that the value of k is 50%, then If the test item is not registered as a random test item for 10 consecutive times, the probability of selection of the test item needs to be slightly increased. It is 50.5%, which is a small increase.

[0079] In this embodiment, after the registration of the test item is cleared, the test item will be cleared only if it is not registered as a random test item for 10 consecutive times. Update the selection probability of the test item.

[0080] In one embodiment, updating the selection probability of the test item according to the adjustment coefficient of the test item includes:

[0081] Determine whether the adjustment coefficient of the test item is within the first preset range. If so, Update the selection probability of the test item once, and if not, determine whether the adjustment coefficient of the test item is within a second preset range;

[0082] If the adjustment coefficient of the test item is within the second preset range, then Update the selection probability of the test item;

[0083] If the adjustment coefficient of the test item is not within the second preset range, Update the selection probability of the test item;

[0084] determining whether the probability of selection of the test item after the update is less than a first preset value, and if so, setting the probability of selection of the test item after the update to the first preset value;

[0085] Wherein, k is the selection probability of the test item, j is the adjustment coefficient of the test item, M1 is the first magnification factor, M2 is the second magnification factor, and M1 is smaller than M2.

[0086] In this embodiment, assuming the maximum value of the adjustment coefficients for all test items is 100%, the first preset range can be set to 0-10%, the second preset range can be set to 10%-20%, and the third preset range can be set to 20%-100%. Since test items with smaller adjustment coefficients can be tested frequently, the magnitude of the decrease is the smallest. Test items with larger adjustment coefficients are not suitable for frequent testing, so the magnitude of the decrease is the largest. For example, for routine tests such as DC resistance testing, the adjustment coefficient is generally very small. Within the first preset range, if the preset standards are met, the probability of selection can gradually decrease slightly. For destructive tests such as life testing / durability testing, the adjustment coefficient is generally very large. Within the third preset range, if the preset standards are met, the probability of selection needs to be significantly reduced, which is in line with the rules of random inspection. It is worth noting that if the adjustment coefficient of a test item is 10%, it can be considered as the second preset range, and if the adjustment coefficient of a test item is 20%, it can be considered as the third preset range.

[0087] In this embodiment, if the adjustment coefficient of the test item is neither within the first preset range nor within the second preset range, then it is within the third preset range.

[0088] In this embodiment, the maximum value of the probability of selection of the test item is the initial value, that is, 100%, then there is also a minimum value, which is the first preset value. The first preset value can be set to 10% or even lower, but cannot be set to 0. This is because for a test item, it must be randomly inspected.

[0089] In this embodiment, M1 is greater than 1 and can generally be set to 1.5, and M2 can be set to 2.

[0090] In one embodiment, updating the selection probability of the test item based on the test data corresponding to the test item and the adjustment coefficient of the test item includes:

[0091] Determine whether the test data corresponding to the test item is greater than the preset standard of the test item. If so, Get the deviation coefficient c of the test item, if not, then Get the deviation coefficient c of the test item;

[0092] Depend on Update the selection probability of the test item;

[0093] Determine whether the probability of selection of the test item after the one-time update is greater than the initial value of the probability of selection of the test item; if so, set the probability of selection of the test item after the one-time update as the initial value of the probability of selection of the test item;

[0094] Among them, b is the test data corresponding to the test item, B max The upper limit of the preset standard for this test item, B min is the lower limit of the preset standard for the test item, k is the selection probability of the test item, and j is the adjustment coefficient of the test item.

[0095] In this embodiment, the preset standard of the test item may be a range or a specific value. For example, the preset standard of the insulation resistance test is greater than 100 MΩ, which is a range, that is, from 100 MΩ to positive infinity. If the preset standard of the test item is a specific value, then B max and B min are considered to be the same value.

[0096] In one embodiment, the second updating of the selection probability of the test item according to the rising rate of the selection probability of the test item and the adjustment coefficient of the test item includes:

[0097] Depend on Get the rising rate of the selection probability of the test item;

[0098] Determine whether the rising rate is greater than the second preset value and less than the third preset value. If so, determine whether the adjustment coefficient of the test item is within the first preset range. If so, The selection probability of the test item is updated twice;

[0099] If the adjustment coefficient of the test item is not within the first preset range, it is determined whether the adjustment coefficient of the test item is within the second preset range. If so, The probability of selection of the test item is updated twice. If not, The selection probability of the test item is updated twice;

[0100] Determine whether the selection probability of the test item after the second update is greater than the initial value of the selection probability of the test item; if so, set the selection probability of the test item after the second update as the initial value of the selection probability of the test item;

[0101] Among them, d1 is the selection probability of the test item after one update, d2 is the selection probability of the test item before one update, k is the selection probability of the test item, M3 is the third magnification, M4 is the fourth magnification, M5 is the fifth magnification, M3 is greater than M4, and M4 is greater than M5.

[0102] In this embodiment, if the selection probability of a test item increases, there are two possible scenarios: the first is due to it being repeatedly registered as a non-spotted item, and the second is due to the test data corresponding to the test item not meeting the preset criteria for the test item. In the second scenario, the selection probability of the test item needs to be significantly adjusted upward. Therefore, the secondary update is to correct the selection probability of the test item to ensure a significant upward adjustment in the second scenario. The second preset value is used for the first and second scenarios and can be set to 1%.

[0103] In this embodiment, the third preset value can be set to 50%.

[0104] In this embodiment, if the rising rate is greater than the second preset value and less than the third preset value, it means that the rising amplitude is not large enough and a second update is required for correction.

[0105] In this embodiment, M3 can be set to 1, M4 can be set to 0.7, and M5 can be set to 0.5. Assuming that k is 80%, since the maximum value of the selected probability of the test item is the initial value, even if / / If the result is greater than 100%, it will also be set to 100%. However, if k is 20% at this time, j is very small for the first preset range, and the upward adjustment of the selection probability of the test item after one update is not large. After that, k becomes 25%, even after , k is only 50%, while j is very large for the third prevention range. After k becomes 50%, then after , k is 75%.

[0106] like Figure 2 As shown, in one embodiment, a permanent magnet synchronous motor testing device is provided, which may specifically include:

[0107] The initial setting module is used to initialize the selection probability of each test item;

[0108] The project test module is used to select a test item according to the selection probability of each test item and test a device under test to obtain test data of the device under test;

[0109] A primary update module, configured to determine an adjustment coefficient for each test item based on the item information of each test item, and to update the selection probability of each test item based on the adjustment coefficient of each test item and the test data of the device under test;

[0110] A secondary updating module is used to determine, for each test item, whether the selection probability of the test item has increased. If so, perform a secondary update on the selection probability of the test item based on the increase rate of the selection probability of the test item and the adjustment coefficient of the test item.

[0111] The reset setting module is used to determine whether the cumulative number of devices under test that have completed the test has reached a first preset number. If so, the initial setting module is executed and the cumulative number is reset to zero.

[0112] In this embodiment, the modules of the permanent magnet synchronous motor testing device are modularized in the method part of the present invention. For the detailed explanation of each module, please refer to the corresponding content of the method part of the present invention, and the embodiment of the present invention will not be repeated here.

[0113] Figure 3 As shown, in one embodiment, a permanent magnet synchronous motor test system is provided, which may specifically include: a test device and a computer device;

[0114] The test equipment is connected to the device under test and is used to provide the device under test with the power, temperature and humidity required for performing the test items;

[0115] The computer device is connected to the testing device and the device under test, and is used to execute the steps of the above-mentioned permanent magnet synchronous motor testing method.

[0116] In this embodiment, the test equipment includes a power supply module, a temperature adjustment module, and a humidity adjustment module, which are respectively used to provide the device under test with the power, temperature, and humidity required for performing the test items.

[0117] In this embodiment, the testing device also provides a specific application environment, such as a corrosion-resistant environment for performing a salt spray test. In this case, the testing device further includes a salt spray adjustment module.

[0118] A permanent magnet synchronous motor testing system provided by an embodiment of the present invention initializes the selection probability of each test item; selects a test item based on the selection probability of each test item and tests a device under test to obtain test data of the device under test; determines an adjustment coefficient for each test item based on the item information of each test item, and updates the selection probability of each test item based on the adjustment coefficient of each test item and the test data of the device under test; determines whether the selection probability of each test item increases, and if so, updates the selection probability of the test item a second time based on the increase rate of the selection probability of the test item and the adjustment coefficient of the test item; determines whether the cumulative number of devices under test that have completed testing reaches a first preset number, and if so, initializes the selection probability of each test item and resets the cumulative number. In this way, when the device under test is factory tested, whether a test item is performed is determined by the selection probability of the test item, and after the factory test of a device under test is completed, the selection probability of each test item is updated. In this way, for all devices under test, each device under test has a probability of being detected, ensuring the quality of factory testing; at the same time, the test items of the device under test are determined only by the probability of selection of the test items. The lower the probability of selection of the test items, the lower the test rate of the test items, ensuring the test efficiency of the factory test and solving the problem that efficiency and quality cannot be compatible at the same time during the testing process.

[0119] Figure 4 FIG. 1 shows an internal structure diagram of a computer device in one embodiment. Figure 4As shown, the computer device includes a processor, a memory, a network interface, an input device and a display screen connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor may implement a permanent magnet synchronous motor testing method provided in an embodiment of the present invention. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor may implement a permanent magnet synchronous motor testing method provided in an embodiment of the present invention. The display screen of the computer device may be a liquid crystal display or an electronic ink display screen. The input device of the computer device may be a touch layer covering the display screen, or a button, trackball or touchpad provided on the computer device housing, or an external keyboard, touchpad or mouse.

[0120] Those skilled in the art will understand that Figure 4 The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present invention and does not constitute a limitation on the computer device to which the solution of the present invention is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0121] In one embodiment, a permanent magnet synchronous motor testing device provided by an embodiment of the present invention can be implemented in the form of a computer program. The computer program can be used in Figure 4 The computer device is run on the computer device shown. The memory of the computer device can store various program modules that constitute the permanent magnet synchronous motor testing device, such as, Figure 2 The computer program composed of the initial setting module, project test module, primary update module, secondary update module and reset setting module shown in the figure enables the processor to execute the steps of the permanent magnet synchronous motor testing method of each embodiment of the present invention described in this specification.

[0122] For example, Figure 4 The computer device shown can be Figure 2 The initial setting module in the permanent magnet synchronous motor testing device shown executes step S101; the computer device can execute step S102 through the project test module; the computer device can execute step S103 through the primary update module; the computer device can execute step S104 through the secondary update module; the computer device can execute step S105 through the zero setting module.

[0123] In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are performed:

[0124] S101, initializing the selection probability of each test item;

[0125] S102, selecting a test item according to the selection probability of each test item and testing a device under test to obtain test data of the device under test;

[0126] S103, determining an adjustment coefficient for each test item based on the item information of each test item, and updating the selection probability of each test item based on the adjustment coefficient for each test item and the test data of the device under test;

[0127] S104: For each test item's selection probability, determine whether the selection probability of the test item has increased. If so, perform a secondary update on the selection probability of the test item based on the increase rate of the selection probability of the test item and the adjustment coefficient of the test item.

[0128] S105, determining whether the cumulative number of devices under test that have completed the test has reached a first preset number, if so, executing S101 and clearing the cumulative number;

[0129] S106, repeat S102-S105 until the test process is completed.

[0130] In one embodiment, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the processor performs the following steps:

[0131] S101, initializing the selection probability of each test item;

[0132] S102, selecting a test item according to the selection probability of each test item and testing a device under test to obtain test data of the device under test;

[0133] S103, determining an adjustment coefficient for each test item based on the item information of each test item, and updating the selection probability of each test item based on the adjustment coefficient for each test item and the test data of the device under test;

[0134] S104: For each test item's selection probability, determine whether the selection probability of the test item has increased. If so, perform a secondary update on the selection probability of the test item based on the increase rate of the selection probability of the test item and the adjustment coefficient of the test item.

[0135] S105, determining whether the cumulative number of devices under test that have completed the test has reached a first preset number, if so, executing S101 and clearing the cumulative number;

[0136] S106, repeat S102-S105 until the test process is completed.

[0137] It should be understood that, although the various steps in the flow chart of each embodiment of the present invention are shown in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless otherwise specified herein, the execution of these steps is not strictly limited in order, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

[0138] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing the relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium. When executed, the program can include the processes of the above-described method embodiments. Any reference to memory, storage, database, or other media used in the various embodiments provided herein may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct RAMbus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM).

[0139] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0140] The above-described embodiments merely illustrate several implementations of the present invention. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art would be able to make numerous variations and improvements without departing from the spirit of the present invention, and all such variations and improvements fall within the scope of protection of the present invention.

Claims

1. A permanent magnet synchronous motor testing method, characterized in that: The permanent magnet synchronous motor testing method comprises: S101, initializing the selection probability of each test item; S102, selecting a test item according to the selection probability of each test item and testing a device under test to obtain test data of the device under test; S103, determining an adjustment coefficient for each test item based on the item information of each test item, and updating the selection probability of each test item based on the adjustment coefficient for each test item and the test data of the device under test; S104: For each test item's selection probability, determine whether the selection probability of the test item has increased. If so, perform a secondary update on the selection probability of the test item based on the increase rate of the selection probability of the test item and the adjustment coefficient of the test item. S105, determining whether the cumulative number of devices under test that have completed the test has reached a first preset number, if so, executing S101 and clearing the cumulative number; S106, repeat S102-S105 until the test process is completed.

2. The permanent magnet synchronous motor testing method according to claim 1, characterized in that: The step of selecting a test item according to the selection probability of each test item and testing a device under test includes: For each test item, the probability selection model is set according to the selection probability of the test item; Randomly select an outcome in the set probability selection model; Determine whether the result of the selection is 1. If so, register the test item as a random test item; if not, register the test item as a non-random test item; Test one device under test according to all the test items.

3. The permanent magnet synchronous motor testing method according to claim 1, characterized in that: Determining the adjustment coefficient of each test item according to the item information of each test item includes: For each test item, obtain the test time of the test item and the damage degree value of the test item to the device under test from the project information of the test item; Determine the longest test time t among all test times max And the shortest test time t min , determine the maximum damage value a among all damage values max And the minimum damage value a min ; For each test item, Get the time coefficient T of the test item; Depend on Obtain the damage degree coefficient A of the test item; Depend on Get the adjustment coefficient of the test item; Among them, i is the serial number of the test item, t i is the test time in the project information of the i-th test project, a i is the damage degree value in the project information of the i-th test project.

4. The permanent magnet synchronous motor testing method according to claim 1, characterized in that: The updating of the selection probability of each test item according to the adjustment coefficient of each test item and the test data of the device under test includes: For each test item, determine whether the test item is a random test item. If not, update the selection probability of the test item based on the registration status of the test item. If the test item is a random test item, then obtain the test data corresponding to the test item from the test data of the device under test; Determine whether the test data corresponding to the test item meets the preset standard of the test item. If so, update the selection probability of the test item according to the adjustment coefficient of the test item. If not, update the selection probability of the test item according to the test data corresponding to the test item and the adjustment coefficient of the test item.

5. The permanent magnet synchronous motor testing method according to claim 4, characterized in that: The updating of the selection probability of the test item according to the registration status of the test item includes: The case where the test item is registered as a random test item is recorded as 1, and the case where the test item is registered as a non-random test item is recorded as 0; Determine the latest number n of consecutive zero values ​​from the registration status of the test item; Determine whether the number n is greater than the second preset number, if so, Update the selection probability of the test item and clear the registration status of the test item; Determine whether the probability of selection of the test item after the one-time update is greater than the initial value of the probability of selection of the test item; if so, set the probability of selection of the test item after the one-time update as the initial value of the probability of selection of the test item; Among them, k is the selection probability of the test item, and m is the reduction factor.

6. The permanent magnet synchronous motor testing method according to claim 4, characterized in that: The updating of the selection probability of the test item according to the adjustment coefficient of the test item includes: Determine whether the adjustment coefficient of the test item is within the first preset range. If so, Update the selection probability of the test item once, and if not, determine whether the adjustment coefficient of the test item is within a second preset range; If the adjustment coefficient of the test item is within the second preset range, then Update the selection probability of the test item; If the adjustment coefficient of the test item is not within the second preset range, Update the selection probability of the test item; determining whether the probability of selection of the test item after the update is less than a first preset value, and if so, setting the probability of selection of the test item after the update to the first preset value; Wherein, k is the selection probability of the test item, j is the adjustment coefficient of the test item, M1 is the first magnification factor, M2 is the second magnification factor, and M1 is smaller than M2.

7. The permanent magnet synchronous motor testing method according to claim 4, characterized in that: The updating of the selection probability of the test item according to the test data corresponding to the test item and the adjustment coefficient of the test item includes: Determine whether the test data corresponding to the test item is greater than the preset standard of the test item. If so, Get the deviation coefficient c of the test item, if not, then Get the deviation coefficient c of the test item; Depend on Update the selection probability of the test item; Determine whether the probability of selection of the test item after the one-time update is greater than the initial value of the probability of selection of the test item; if so, set the probability of selection of the test item after the one-time update as the initial value of the probability of selection of the test item; Among them, b is the test data corresponding to the test item, B max The upper limit of the preset standard for this test item, B min is the lower limit of the preset standard for the test item, k is the selection probability of the test item, and j is the adjustment coefficient of the test item.

8. The permanent magnet synchronous motor testing method according to claim 1, characterized in that: The second updating of the selection probability of the test item according to the rising rate of the selection probability of the test item and the adjustment coefficient of the test item includes: Depend on Get the rising rate of the selection probability of the test item; Determine whether the rising rate is greater than the second preset value and less than the third preset value. If so, determine whether the adjustment coefficient of the test item is within the first preset range. If so, The selection probability of the test item is updated twice; If the adjustment coefficient of the test item is not within the first preset range, it is determined whether the adjustment coefficient of the test item is within the second preset range. If so, The probability of selection of the test item is updated twice. If not, The selection probability of the test item is updated twice; Determine whether the selection probability of the test item after the second update is greater than the initial value of the selection probability of the test item; if so, set the selection probability of the test item after the second update as the initial value of the selection probability of the test item; Among them, d1 is the selection probability of the test item after one update, d2 is the selection probability of the test item before one update, k is the selection probability of the test item, M3 is the third magnification, M4 is the fourth magnification, M5 is the fifth magnification, M3 is greater than M4, and M4 is greater than M5.

9. A permanent magnet synchronous motor testing device, characterized in that: The permanent magnet synchronous motor testing device comprises: The initial setting module is used to initialize the selection probability of each test item; The project test module is used to select a test item according to the selection probability of each test item and test a device under test to obtain test data of the device under test; A primary update module, configured to determine an adjustment coefficient for each test item based on the item information of each test item, and to update the selection probability of each test item based on the adjustment coefficient of each test item and the test data of the device under test; A secondary updating module is used to determine, for each test item, whether the selection probability of the test item has increased. If so, perform a secondary update on the selection probability of the test item based on the increase rate of the selection probability of the test item and the adjustment coefficient of the test item. The reset setting module is used to determine whether the cumulative number of devices under test that have completed the test has reached a first preset number. If so, the initial setting module is executed and the cumulative number is reset to zero.

10. A permanent magnet synchronous motor testing system, characterized in that: The permanent magnet synchronous motor test system includes: testing equipment and computer equipment; The test equipment is connected to the device under test and is used to provide the device under test with the power, temperature and humidity required for performing the test items; The computer device is connected to the testing device and the device under test, and is used to execute the steps of the permanent magnet synchronous motor testing method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Space target track maneuvering fusion detection method for only space-based angle measurement tracking

    CN106501815A

  • Efficient production test method, device and system for TBOX test

    CN120238479A