Power equipment test method and device, electronic equipment and storage medium
By obtaining the identification information of the power equipment and calling the corresponding test parameters, the test for different power equipment is realized, the problems of poor test flexibility and low efficiency in the existing technology are solved, and the compatibility and efficiency of the test are improved.
Patent Information
- Application Number
- CN202411516891.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-01-21
AI Technical Summary
In the prior art, the testing methods of power equipment are poor in flexibility, low in testing efficiency, and the test benches of different power equipment are separated, resulting in inconsistent testing equipment and low software adaptability, and the underlying test scripts need to be repeatedly developed.
By responding to the test instructions for the power equipment, the identification information of the equipment is obtained, and the corresponding test parameters are called according to the identification information, so as to realize the testing of different power equipment. The method includes an identification acquisition module, a parameter calling module and an equipment testing module, and can generate and output a test report of the power equipment.
It improves the flexibility and efficiency of power equipment testing, avoids the need to switch test benches, saves manpower and time, and enables compatibility testing of different power equipment.
Smart Images

Figure CN119335281A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to automatic testing technology, and in particular to a testing method, device, electronic device and storage medium for power equipment. Background Art
[0002] In order to ensure the normal use of the power equipment, the power equipment needs to be tested. For example, the power equipment can be tested for overcurrent, overvoltage, etc. Different power equipment has different testing methods.
[0003] At present, different test benches can be used to test different power equipment, but the test flexibility is poor and the test efficiency is low. Summary of the invention
[0004] The present application provides a testing method, device, electronic device and storage medium for electric power equipment, so as to improve the testing flexibility and testing efficiency of the electric power equipment.
[0005] In a first aspect, the present application provides a method for testing an electric power device, comprising:
[0006] In response to a test instruction for an electric device, acquiring identification information of the electric device;
[0007] According to the identification information of the electric power equipment, calling the test parameters of the electric power equipment; wherein the test parameters represent the electrical performance of the electric power equipment;
[0008] The electric power equipment is tested according to the identification information and the test parameters of the electric power equipment, and a test report of the electric power equipment is generated and output.
[0009] In a second aspect, the present application provides a testing device for an electric power device, comprising:
[0010] An identification acquisition module, configured to acquire identification information of the electric device in response to a test instruction for the electric device; wherein the identification information represents a device type of the electric device;
[0011] A parameter calling module, used to call the test parameters of the electric equipment according to the identification information of the electric equipment; wherein the test parameters represent the electrical performance of the electric equipment;
[0012] The equipment testing module is used to test the electric equipment according to the identification information and test parameters of the electric equipment, and to generate and output a test report of the electric equipment.
[0013] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0014] The memory stores computer-executable instructions;
[0015] The processor executes the computer-executable instructions stored in the memory to implement the method according to the first aspect.
[0016] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method described in the first aspect.
[0017] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the method described in the first aspect when executed by a processor.
[0018] The present application provides a testing method, device, electronic device and storage medium for electric power equipment, which determines the identification information of the electric power equipment by responding to the test instruction of the electric power equipment. According to different identification information, the test parameters of the electric power equipment are called, that is, different electric power equipment corresponds to different test parameters, so as to achieve targeted testing of different electric power equipment and improve the compatibility of the test. According to the identification information and test parameters of the electric power equipment, the electric power equipment is tested, and a test report of the electric power equipment is generated and output. By distinguishing different electronic devices and calling different test parameters, there is no need to switch the test bench, which saves manpower and time and improves the flexibility and efficiency of the test. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0020] Figure 1 A schematic diagram of a flow chart of a method for testing electric equipment provided in an embodiment of the present application;
[0021] Figure 2 A schematic diagram of a flow chart of a method for testing electric equipment provided in an embodiment of the present application;
[0022] Figure 3 A schematic diagram of a high voltage test process provided by an embodiment of the present application;
[0023] Figure 4 A schematic diagram of a process for testing an electric power device provided in an embodiment of the present application;
[0024] Figure 5 A structural block diagram of a testing device for electric power equipment provided in an embodiment of the present application;
[0025] Figure 6 A structural block diagram of a testing device for electric power equipment provided in an embodiment of the present application;
[0026] Figure 7 A structural block diagram of an electronic device provided in an embodiment of the present application;
[0027] Figure 8 A structural block diagram of an electronic device provided in an embodiment of the present application.
[0028] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0029] In order to make the objectives, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
[0030] It should be clear that the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0031] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0032] In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances. In addition, in the description of the present application, unless otherwise specified, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0033] It should be noted that due to space limitations, this application specification does not list all optional implementation methods. After reading this application specification, those skilled in the art should be able to think that as long as the technical features do not contradict each other, any combination of technical features can constitute an optional implementation method. Each embodiment is described in detail below.
[0034] At present, the test benches for PCBA (Printed Circuit Board Assembly) circuit boards and inverter levels are separate, and the test equipment is bulky and occupies a large area. For the test bench for circuit boards, all test requirements cannot be integrated. When testing PCBA, it is often necessary to expand the sub-control module. The reusability of the board-level test bench is low and the flexibility is poor. For the test bench at the inverter level, all test requirements cannot be integrated. When testing the inverter, a new project needs to expand the sub-control module. The reusability of the inverter-level test bench is low and the flexibility is poor.
[0035] In other words, the board-level test bench and the inverter-level test bench are separated, the test equipment is not unified, the test software has low adaptability, and the underlying test scripts need to be repeatedly developed. The current test bench is a customized device made only for automated testing, and it is impossible to flexibly switch between automated testing and manual verification testing, which makes troubleshooting inconvenient and the test efficiency low.
[0036] The present application provides a testing method, device, electronic device and storage medium for electric power equipment, aiming to solve the above technical problems in the prior art.
[0037] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0038] Figure 1 1 is a flow chart of a method for testing an electric device according to an embodiment of the present application, and the method can be performed by a testing device for an electric device. Figure 1 As shown, the method comprises the following steps:
[0039] S101. In response to a test instruction for an electric power device, obtain identification information of the electric power device.
[0040] Exemplarily, the power equipment may be a PCBA circuit board or an inverter or other equipment, that is, different types of power equipment may be tested. A host computer may be used for testing, and the host computer includes a code program for controlling the steps in the test method. The user may connect the host computer to the power equipment, for example, the host computer may be connected to the power equipment through a hardware controller, and the controller includes multiple interfaces that may be used to connect circuit boards, inverters, host computers, low-voltage power supplies, high-voltage power supplies, multimeters, signal simulators, and the like. The user may issue a test instruction to the host computer, instructing the host computer to test the power equipment.
[0041] Different power equipment may correspond to different identification information, which may be unique identification information corresponding to each power equipment or unique identification information corresponding to each equipment type. The user may upload the identification information of the power equipment in the host computer, and directly obtain the identification information of the power equipment after responding to the test instruction of the power equipment. Each power equipment may also store its own identification information, and after responding to the test instruction of the power equipment, the host computer may read the identification information of the power equipment from the power equipment.
[0042] In this embodiment, in response to a test instruction for the power equipment, identification information of the power equipment is obtained, including: in response to a test instruction for the power equipment, test configuration information of the power equipment is obtained; wherein the test configuration information represents electrical properties of the power equipment; and characters located at a preset position are obtained from the test configuration information as identification information of the power equipment.
[0043] Specifically, each power device has its own test configuration information, which may include various electrical properties of the power device, such as resistance value, voltage value, current value, etc. The user may upload the test configuration information to the host computer, and the test configuration information may also be pre-stored in each power device.
[0044] After responding to the test instruction for the power device, the host computer can obtain the test configuration information of the power device. For example, the test configuration information can be obtained from the power device through the connected controller. The configuration information contains a character string, and the identification information is located in the character string. The position of the identification information in the test configuration information can be preset, and the characters at the position can be obtained as the identification information of the power device. For example, the last two characters can be obtained from the test configuration information as the identification information.
[0045] The beneficial effect of such a setting is that the characters at the preset position are obtained as identification information of the object under test, the object under test is confirmed, different power equipment can be tested, and the accuracy and flexibility of the test are improved.
[0046] S102. Call test parameters of the power equipment according to identification information of the power equipment; wherein the test parameters represent electrical performance of the power equipment.
[0047] Exemplarily, the identification information can be used to characterize the device type of the power device. For example, if the identification information is 0, the power device is a circuit board; if the identification information is 1, the power device is an inverter. Different test parameters can be called for power devices with different identification information. That is, different test parameters can correspond to different device types, and the test parameters are power-related parameters used for testing.
[0048] According to the equipment type represented by the identification information of the electric equipment, the test parameters corresponding to the electric equipment are determined, and the test parameters are retrieved for subsequent testing.
[0049] In this embodiment, the test parameters of the power equipment are called according to the identification information of the power equipment, including: determining the parameter type corresponding to the identification information of the power equipment as the target type according to a preset association relationship; wherein the preset association relationship represents the association relationship between the identification information and the parameter type; and obtaining the parameters corresponding to the target type from the test configuration information as the test parameters of the power equipment.
[0050] Specifically, the association between the identification information and the parameter type is pre-set and stored, and the parameter type related to the identification information of the power equipment is searched as the target type. The specific parameter value corresponding to the target type is obtained from the test configuration information as the test parameter of the power equipment. For example, for the inverter equipment, the corresponding target type has a resistance value and a maximum current value, and the specific resistance value and the maximum current value can be obtained from the test configuration information. The test parameters can also be manually uploaded to the host computer, and the host computer can obtain them.
[0051] The beneficial effect of such a setting is that different types of equipment correspond to different parameters, which enables targeted testing of different types of power equipment and improves the accuracy and flexibility of the test.
[0052] S103: Test the electric power equipment according to the identification information and test parameters of the electric power equipment, and generate and output a test report of the electric power equipment.
[0053] Exemplarily, based on the identification information of the power equipment, the test methods corresponding to different identification information are determined, that is, different equipment types may correspond to different test methods, for example, for circuit board equipment, communication test and circuit test may be performed; for inverter equipment, overcurrent test and overvoltage test may be performed. The test parameters used for different tests may be different, that is, the power equipment may be tested in a targeted manner based on the test parameters and the equipment type represented by the identification information.
[0054] An automated test report can be generated based on the test results, and the host computer can output the test report for the user to view. A power device can perform many different types of tests, and the test report can include the results of each test, or the comprehensive test results of the power device. The test report can be displayed on a visual interface, or stored in a preset storage path.
[0055] In an embodiment of the present application, identification information of the power equipment is determined by responding to a test instruction for the power equipment. According to different identification information, the test parameters of the power equipment are called, that is, different power equipment corresponds to different test parameters, so as to implement targeted testing of different power equipment and improve the compatibility of the test. According to the identification information and test parameters of the power equipment, the power equipment is tested, and a test report of the power equipment is generated and output. By distinguishing different electronic devices and calling different test parameters, there is no need to switch test benches, which saves manpower and time and improves the flexibility and efficiency of the test.
[0056] Figure 2 A flow chart of a method for testing electric equipment provided in an embodiment of the present application is an optional embodiment based on the above-mentioned embodiment.
[0057] In this embodiment, the power equipment is tested according to the identification information and test parameters of the power equipment, and a test report of the power equipment is generated and output, including: performing a low-voltage test on the power equipment according to the test parameters of the power equipment to obtain a low-voltage test result; performing a high-voltage test on the power equipment according to the identification information and test parameters of the power equipment to obtain a high-voltage test result; and generating and outputting a test report of the power equipment based on the low-voltage test result and the high-voltage test result.
[0058] like Figure 2 As shown, the method comprises the following steps:
[0059] S201. In response to a test instruction for an electric power device, obtain identification information of the electric power device.
[0060] Exemplarily, this step may refer to the above-mentioned step S101 and will not be described in detail.
[0061] S202. Call test parameters of the power equipment according to identification information of the power equipment; wherein the test parameters represent electrical performance of the power equipment.
[0062] Exemplarily, this step may refer to the above-mentioned step S102 and will not be described in detail.
[0063] S203. Perform a low voltage test on the electric equipment according to the test parameters of the electric equipment to obtain a low voltage test result.
[0064] Exemplarily, a low voltage test can be performed on the power equipment. The low voltage test generally refers to a test performed on the electrical equipment or system under relatively low voltage conditions. The purpose of this test is to ensure that the equipment or system can still work normally under low voltage conditions, or that no failure occurs under low voltage conditions. In this embodiment, the specific test scheme for the low voltage test is not specifically limited. For example, the minimum voltage that the power equipment can withstand can be determined based on the test parameters, and the voltage can be applied to the power equipment to detect the operating status of the power equipment. For different power equipment, information such as the test scheme or test strategy of the power equipment can be determined based on the test parameters of the power equipment, and the power equipment can be subjected to a low voltage test. The result obtained after the low voltage test is determined as the low voltage test result.
[0065] In this embodiment, a low voltage test is performed on the power equipment according to the test parameters of the power equipment to obtain a low voltage test result, including: determining a test version of the power equipment; wherein the test version represents the software version currently used by the power equipment; according to the test parameters and test version of the power equipment, a low voltage test is performed on the power equipment to obtain a low voltage test result; wherein the low voltage test includes at least one of a communication test, a control chip pin reading test, an integrated circuit test, and a circuit safety test.
[0066] Specifically, when conducting a low-voltage test, the software version can be confirmed first, that is, the test version can be determined. Different software versions can correspond to different test schemes. The current software version can be read from the power equipment, or the user can upload the test version to the host computer. After determining the test version, the power equipment can be subjected to targeted low-voltage testing based on the test parameters and the test version. For different types of power equipment, the test version can be determined first, and then the test can be performed. The test parameters required for different test versions can be the same or different. For different test versions, the processing process for the same test parameters can also be different.
[0067] There can be many types of low-voltage tests. For example, low-voltage tests may include communication tests, control chip pin reading tests, IO (Input / Output) circuit tests, Safety (safety) circuit tests, etc. Among them, IO circuit test is integrated circuit test, and Safety circuit test is circuit safety test. In this embodiment, the test order of various low-voltage tests is not specifically limited. For example, a communication test can be performed first, followed by a main control chip ADC (Analog-to-Digital Converter) pin reading test, followed by an IO circuit test, and finally a Safety circuit test. The low-voltage test results may include the test results of all low-voltage tests.
[0068] For different types of electrical equipment, the types of low voltage tests can be the same or different.
[0069] The beneficial effect of such a setting is that, in the low-voltage test, the software version is first confirmed and then tested, thereby achieving flexible switching of tests for different software versions and improving the accuracy and efficiency of the test.
[0070] In this embodiment, determining the test version of the power device includes: determining the power-on time of the power device; if the power-on time reaches a preset time window length, reading the test version of the power device.
[0071] Specifically, in the low voltage test, the software version is first confirmed. The current software version can be automatically obtained through the host computer as the test version. The host computer can also be manually controlled to read the current software version from the power equipment as the test version.
[0072] A time window length is preset, for example, the preset time window length is 30ms. Within 30ms, i.e., the preset time window length, after the power device is powered on, the host computer sends a command to the power device to enter the repair mode. The power device enters the repair mode, and the host computer reads the software version information, i.e., determines the test version. In other words, after the power device is powered on, the power-on maintenance time can be recorded in real time to determine whether the power-on time reaches the preset time window length, so as to avoid reading the test version after the time window length, which may cause reading errors.
[0073] The host computer can also store a standard software version in advance. After determining the test version, the test version can be compared with the standard software version. If it is determined that the test version is the standard software version, the subsequent test can be continued; if it is determined that the test version is not the standard software version, the test can be considered to have failed, and a test report of the test failure can be generated.
[0074] The beneficial effect of such a setting is that by automatically reading the software version information within a period of time after power-on, the controllability of the test can be improved, the problems of uncontrollable time of manual testing and poor test feasibility can be avoided, and the accuracy of the test can be effectively improved.
[0075] S204: Perform a high voltage test on the electric equipment according to the identification information and test parameters of the electric equipment to obtain a high voltage test result.
[0076] Exemplarily, the electrical equipment may be subjected to a low voltage test and a high voltage test. In this embodiment, the order of the low voltage test and the high voltage test is not specifically limited. For example, the low voltage test may be performed first, and then the high voltage test. High voltage testing generally refers to testing of electrical equipment or systems under higher voltage conditions.
[0077] The high voltage tests performed on different types of power equipment may be different. That is, the type of the power equipment may be determined based on the identification information of the power equipment, and then the high voltage test may be performed on the power equipment based on the type of the power equipment and the test parameters to obtain the test results of the high voltage test. In this embodiment, the test scheme and test strategy of the high voltage test are not specifically limited.
[0078] In this embodiment, a high-voltage test is performed on the power equipment according to the identification information and test parameters of the power equipment to obtain a high-voltage test result, including: if it is determined that the device type of the power equipment is a single-board device according to the identification information of the power equipment, then a first high-voltage test is performed on the power equipment according to the test parameters of the power equipment to obtain a high-voltage test result; wherein the first high-voltage test includes a high-voltage sampling test and a high-voltage drive test; if it is determined that the device type of the power equipment is an inverter device according to the identification information of the power equipment, then a second high-voltage test is performed on the power equipment according to the test parameters of the power equipment to obtain a high-voltage test result; wherein the second high-voltage test includes at least one of a high-voltage sampling test, a high-voltage drive test, a current calibration test, an over-current test, an over-voltage test, and an output power test.
[0079] Specifically, different types of power equipment correspond to different high-voltage tests. For example, a single-board device corresponds to a first high-voltage test, and an inverter device corresponds to a second high-voltage test. A single-board device is a PCBA circuit board device. The first high-voltage test may include a high-voltage sampling test and a high-voltage drive test, and the second high-voltage test may include a high-voltage sampling test, a high-voltage drive test, a current calibration test, an overcurrent test, an overvoltage test, an output power test, and the like.
[0080] After obtaining the identification information of the power equipment, the device type of the power equipment is first determined according to the identification information, and the high-voltage test corresponding to the power equipment is determined according to the association between the preset device type and the high-voltage test. The high-voltage test corresponding to the power equipment is the first high-voltage test or the second high-voltage test. If the device type of the power equipment is determined to be a single-board device, the first high-voltage test is performed on the power equipment according to the test parameters of the power equipment to obtain the high-voltage test result; if the device type of the power equipment is determined to be an inverter device, the second high-voltage test is performed on the power equipment according to the test parameters of the power equipment to obtain the high-voltage test result.
[0081] Figure 3 Schematic diagram of the high voltage test process. Figure 3 For single-board equipment, there is no specific limitation on the test sequence between the high-voltage sampling test and the high-voltage drive test; for inverter equipment, there is no specific limitation on the test sequence between the high-voltage sampling test, high-voltage drive test, current calibration test, over-current test, over-voltage test, and output power test.
[0082] High-voltage sampling test mainly involves measuring and analyzing the electrical parameters of equipment or systems under high voltage conditions. Its purpose is: 1. Measuring electrical parameters: collecting parameters such as current, voltage, power factor, etc. under high voltage to evaluate the performance of the equipment; 2. Verifying equipment stability: ensuring that the equipment can operate stably under high voltage conditions without abnormal fluctuations or failures; 3. Detecting insulation performance: by testing under high voltage conditions, check whether the insulation materials and structures of the equipment can effectively prevent leakage or breakdown, etc. High-voltage drive testing refers to operating the equipment under high voltage conditions to evaluate its function and reliability under high voltage. Its purpose is: 1. Functional verification: ensuring that the equipment can perform its intended function normally under high voltage conditions; 2. Withstand voltage test: verify the withstand voltage capability of the equipment under high voltage to ensure that electrical breakdown does not occur; 3. Reliability test: evaluate the reliability and durability of the equipment under long-term operation under high voltage, etc. Current calibration testing is a test process used to ensure the accuracy of current measuring devices (such as ammeters, current sensors or current transformers, etc.). The purpose of calibration testing is to verify and adjust the output of the measuring device to meet the expected precision and accuracy requirements by comparing it with a known standard. Overcurrent testing refers to the test conducted when the current value flowing through electrical equipment or cable lines exceeds their rated current when a short circuit, overload or phase loss occurs in the circuit. Overvoltage testing refers to the application of a voltage higher than its normal operating voltage to electrical equipment, electronic components or systems to evaluate their performance and tolerance under abnormal voltage conditions. The purpose of this test is to ensure that the equipment will not fail or be damaged in the event of unexpected voltage spikes or excessive voltage, thereby improving its reliability and safety. Output power testing refers to measuring the power output of a device or system under specific conditions to ensure that it meets design specifications and performance requirements. This test is often used to evaluate the efficiency, performance and stability of the equipment.
[0083] The beneficial effect of such an arrangement is that different types of high voltage tests can be performed on different power equipment, and flexible switching of tests on different equipment can be achieved, thereby improving the efficiency and accuracy of the test.
[0084] In this embodiment, the second high-voltage test is an overcurrent test, and the test parameters of the power equipment include a current threshold range, a temperature threshold range, and a test number, and the high-voltage test result includes an overcurrent point current; according to the test parameters of the power equipment, a second high-voltage test is performed on the power equipment to obtain a high-voltage test result, including: supplying power to the power equipment within the current threshold range, and recording the current power supply current and the number of power supplies; obtaining the current temperature information of the power equipment, if the current temperature information is within the temperature threshold range, and the number of power supplies is less than or equal to the test number, determining whether the power equipment has an overcurrent fault; if it is determined that the power equipment has an overcurrent fault, determining that the power supply current is the overcurrent point current.
[0085] Specifically, for inverter equipment, the second high-voltage test includes an overcurrent test. Overcurrent refers to the phenomenon that the current value flowing through electrical equipment or cable lines exceeds their rated current when a short circuit, overload or phase failure occurs in the circuit. When performing an overcurrent test, the required test parameters may include a current threshold range, a temperature threshold range, and the number of tests. The current threshold range, the temperature threshold range, and the number of tests are all preset values. The current threshold range refers to the current range allowed to be applied to the power equipment, the temperature threshold range refers to the temperature range of the power equipment under normal conditions, and the number of tests refers to the maximum number of times the power equipment is allowed to be tested for overcurrent.
[0086] A current value is determined within the current threshold range as the power supply current to supply power to the power device. For example, the power supply to the power device can be started from the lower limit of the current threshold range, and the current power supply current and the number of power supply times are recorded. For example, when powering on for the first time, the power supply current is the lower limit value of the current threshold range, and the number of power supply times is 1.
[0087] Monitor the current temperature information of the power equipment in real time, and determine whether the current temperature information is within the temperature threshold range. If not, it is considered that the power equipment is abnormal and the test fails; if so, determine whether the current power supply times are less than or equal to the preset test times. If the current power supply times exceed the preset test times, the test is determined to have failed. If the current temperature information is within the temperature threshold range, and the power supply times are less than or equal to the test times, further monitor to determine whether the power equipment has an overcurrent fault. If it is determined that there is an overcurrent fault, the current supply current is determined as the current of the overcurrent point, and a high-voltage test result is generated. The overcurrent point current needs to be stated in the high-voltage test result; if it is determined that there is no overcurrent fault, adjust the size of the supply current and apply it to the power equipment again. For example, it can start from the lower limit value and increase by 1A each time, and the power supply times are increased by one each time. If the supply current exceeds the preset current threshold range, the current temperature information exceeds the temperature threshold range, or the power supply times exceed the test times, it can be considered that the overcurrent test has failed. Only when the supply current is within the current threshold range, the current temperature information is within the temperature threshold range, and the power supply times do not exceed the test times, the overcurrent point current will be determined when an overcurrent fault occurs.
[0088] In this embodiment, the power supply current for each time can be calculated according to the preset current threshold range and the number of power supply times. The calculation formula of the power supply current can be:
[0089] I c =I c1 +1 / n×(I c2 -I c1 )×m;
[0090] Among them, Ic is the supply current, I c1 is the lower limit of the current threshold range, I c2 is the upper limit of the current threshold range, n is the preset number of tests, and m is the current number of power supplies.
[0091] The beneficial effect of such a setting is that the manual overcurrent test has defects such as large stress impact on the inverter drive module. In this embodiment, the overcurrent test monitors the temperature of all temperature sensors, the given size of the power supply current, and the number of times the power supply current is adjusted. If any of the monitored objects exceeds the standard, the overcurrent test will be stopped, realizing an overcurrent test with protection, while improving the test efficiency and protecting the inverter.
[0092] S205. Generate and output a test report of the power equipment according to the low voltage test results and the high voltage test results.
[0093] Exemplarily, the low voltage test result and the high voltage test result are combined to obtain a test report of the electric power equipment, that is, the test report may include the low voltage test result and the high voltage test result.
[0094] Figure 4 Schematic diagram of the process of testing electrical equipment. Figure 4 In the process, first determine the test object, that is, determine the equipment type of the power equipment. For single-board equipment, call the test parameters, perform low-voltage test and high-voltage test, and finally output the test results. For inverter equipment, also call the test parameters, perform low-voltage test and high-voltage test, and finally output the test results.
[0095] In an embodiment of the present application, identification information of the power equipment is determined by responding to a test instruction for the power equipment. According to different identification information, the test parameters of the power equipment are called, that is, different power equipment corresponds to different test parameters, so as to implement targeted testing of different power equipment and improve the compatibility of the test. According to the identification information and test parameters of the power equipment, the power equipment is tested, and a test report of the power equipment is generated and output. By distinguishing different electronic devices and calling different test parameters, there is no need to switch test benches, which saves manpower and time and improves the flexibility and efficiency of the test.
[0096] Figure 5 This is a structural block diagram of a testing device for electric power equipment provided by an embodiment of the present invention. For ease of description, only the parts related to the embodiment of the present disclosure are shown. Figure 5 The testing device 500 for electric power equipment includes: an identification acquisition module 501 , a parameter calling module 502 and an equipment testing module 503 .
[0097] The identification acquisition module 501 is used to obtain identification information of the electric device in response to a test instruction for the electric device; wherein the identification information represents the device type of the electric device;
[0098] The parameter calling module 502 is used to call the test parameters of the power equipment according to the identification information of the power equipment; wherein the test parameters represent the electrical performance of the power equipment;
[0099] The equipment testing module 503 is used to test the electric equipment according to the identification information and test parameters of the electric equipment, and generate and output a test report of the electric equipment.
[0100] Figure 6 A structural block diagram of a testing device for electric power equipment provided by an embodiment of the present disclosure, such as Figure 6 As shown, the testing device 600 for electric power equipment includes an identification acquisition module 601 , a parameter calling module 602 and an equipment testing module 603 , wherein the equipment testing module 603 includes a low voltage testing unit 6031 , a high voltage testing unit 6032 and a report generating unit 6033 .
[0101] A low voltage test unit 6031 is used to perform a low voltage test on the electric equipment according to the test parameters of the electric equipment to obtain a low voltage test result;
[0102] A high voltage test unit 6032 is used to perform a high voltage test on the electric device according to the identification information and test parameters of the electric device to obtain a high voltage test result;
[0103] The report generating unit 6033 is used to generate and output a test report of the electric power equipment according to the low voltage test result and the high voltage test result.
[0104] In one example, the low voltage test unit 6031 includes:
[0105] A version determination subunit, used to determine a test version of the electric power equipment; wherein the test version represents a software version currently used by the electric power equipment;
[0106] The low voltage test subunit is used to perform a low voltage test on the power equipment according to the test parameters and test version of the power equipment to obtain the low voltage test result; wherein the low voltage test includes at least one of a communication test, a control chip pin reading test, an integrated circuit test, and a circuit safety test.
[0107] In one example, the version determination subunit is specifically used to:
[0108] Determining a power-on time of the electrical equipment;
[0109] If the power-on time reaches the preset time window length, the test version of the power device is read.
[0110] In one example, the high voltage test unit 6032 includes:
[0111] A first test subunit is configured to, if it is determined according to the identification information of the power device that the device type of the power device is a single-board device, perform a first high-voltage test on the power device according to the test parameters of the power device to obtain the high-voltage test result; wherein the first high-voltage test includes a high-voltage sampling test and a high-voltage driving test;
[0112] The second test subunit is used to perform a second high-voltage test on the power equipment according to the test parameters of the power equipment to obtain the high-voltage test result if the equipment type of the power equipment is determined to be an inverter equipment according to the identification information of the power equipment; wherein the second high-voltage test includes at least one of a high-voltage sampling test, a high-voltage drive test, a current calibration test, an over-current test, an over-voltage test, and an output power test.
[0113] In one example, the second high-voltage test is an overcurrent test, the test parameters of the power equipment include a current threshold range, a temperature threshold range, and a test number, and the high-voltage test result includes an overcurrent point current; the second test subunit is specifically used to:
[0114] supplying power to the electrical device within the current threshold range, and recording the current power supply current and the number of power supply times;
[0115] Acquire current temperature information of the electric device, and if the current temperature information is within the temperature threshold range and the number of power supply times is less than or equal to the number of test times, determine whether the electric device has an overcurrent fault;
[0116] If it is determined that the power equipment has an overcurrent fault, the supply current is determined to be the overcurrent point current.
[0117] In one example, the identification acquisition module 601 includes:
[0118] An information acquisition unit, configured to acquire test configuration information of the electric device in response to a test instruction for the electric device; wherein the test configuration information represents an electrical property of the electric device;
[0119] The identification determination unit is used to obtain the character located at a preset position from the test configuration information, which is the identification information of the electric power equipment.
[0120] In one example, the parameter calling module 602 includes:
[0121] A target determination unit, configured to determine, according to a preset association relationship, a parameter type corresponding to the identification information of the electric power equipment as a target type; wherein the preset association relationship represents an association relationship between the identification information and the parameter type;
[0122] A parameter determination unit is used to obtain parameters corresponding to the target type from the test configuration information, which are test parameters of the power equipment.
[0123] Figure 7 A structural block diagram of an electronic device provided in an embodiment of the present application, such as Figure 7 As shown, the electronic device includes: a memory 71 and a processor 72; the memory 71 is a memory for storing instructions executable by the processor 72.
[0124] The processor 72 is configured to execute the method provided in the above embodiment.
[0125] The electronic device further includes a receiver 73 and a transmitter 74. The receiver 73 is used to receive instructions and data sent by other devices, and the transmitter 74 is used to send instructions and data to external devices.
[0126] Figure 8 It is a block diagram of a terminal device according to an exemplary embodiment. The device may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0127] The device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0128] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0129] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0130] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.
[0131] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0132] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0133] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0134] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0135] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0136] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0137] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0138] A non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a terminal device, enables the terminal device to execute the above-mentioned method for testing the power equipment of the terminal device.
[0139] The present application also discloses a computer program product, including a computer program, which implements the method described in this embodiment when executed by a processor.
[0140] Various embodiments of the systems and techniques described above in the present application can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs, which can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor, which can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0141] The program code for implementing the method of the present application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or electronic device.
[0142] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0143] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0144] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data electronic device), or a computing system that includes middleware components (e.g., an application electronic device), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0145] The computer system may include a client and an electronic device. The client and the electronic device are generally far away from each other and usually interact through a communication network. The relationship between the client and the electronic device is generated by computer programs running on corresponding computers and having a client-electronic device relationship with each other. The electronic device may be a cloud electronic device, also known as a cloud computing electronic device or a cloud host, which is a host product in a cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The electronic device may also be an electronic device of a distributed system, or an electronic device combined with a blockchain. It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solution disclosed in this application can be achieved, and this document is not limited here.
[0146] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0147] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A method for testing electric power equipment, characterized in that: include: In response to a test instruction for an electric device, acquiring identification information of the electric device; According to the identification information of the electric equipment, calling the test parameters of the electric equipment; wherein the test parameters represent the electrical performance of the electric equipment; The electric power equipment is tested according to the identification information and the test parameters of the electric power equipment, and a test report of the electric power equipment is generated and output.
2. The method according to claim 1, characterized in that: Testing the electric device according to the identification information and the test parameters of the electric device, and generating and outputting a test report of the electric device, including: Performing a low voltage test on the electric equipment according to the test parameters of the electric equipment to obtain a low voltage test result; Performing a high voltage test on the electric equipment according to the identification information and the test parameters of the electric equipment to obtain a high voltage test result; A test report of the electric power equipment is generated and outputted according to the low voltage test result and the high voltage test result.
3. The method according to claim 2, characterized in that According to the test parameters of the electric equipment, a low voltage test is performed on the electric equipment to obtain a low voltage test result, including: Determine a test version of the electric power device; wherein the test version represents a software version currently used by the electric power device; According to the test parameters and test version of the power equipment, a low voltage test is performed on the power equipment to obtain the low voltage test result; wherein the low voltage test includes at least one of a communication test, a control chip pin reading test, an integrated circuit test, and a circuit safety test.
4. The method according to claim 3, characterized in that Determining a test version of the electrical equipment, including: Determining a power-on time of the electrical equipment; If the power-on time reaches the preset time window length, the test version of the power device is read.
5. The method according to claim 2, characterized in that: According to the identification information and the test parameters of the electric power equipment, a high voltage test is performed on the electric power equipment to obtain a high voltage test result, including: If it is determined that the device type of the power device is a single-board device according to the identification information of the power device, a first high-voltage test is performed on the power device according to the test parameters of the power device to obtain the high-voltage test result; wherein the first high-voltage test includes a high-voltage sampling test and a high-voltage driving test; If it is determined that the device type of the power equipment is an inverter device based on the identification information of the power equipment, a second high-voltage test is performed on the power equipment based on the test parameters of the power equipment to obtain the high-voltage test result; wherein the second high-voltage test includes at least one of a high-voltage sampling test, a high-voltage drive test, a current calibration test, an over-current test, an over-voltage test, and an output power test.
6. The method according to claim 5, characterized in that The second high-voltage test is an overcurrent test, the test parameters of the power equipment include a current threshold range, a temperature threshold range, and a test number, and the high-voltage test result includes an overcurrent point current; Performing a second high-voltage test on the electric equipment according to the test parameters of the electric equipment to obtain the high-voltage test result includes: supplying power to the electrical device within the current threshold range, and recording the current power supply current and the number of power supply times; Acquire current temperature information of the electric device, and if the current temperature information is within the temperature threshold range and the number of power supply times is less than or equal to the number of test times, determine whether the electric device has an overcurrent fault; If it is determined that the power equipment has an overcurrent fault, the supply current is determined to be the overcurrent point current.
7. The method according to any one of claims 1 to 6, characterized in that In response to a test instruction for an electric device, obtaining identification information of the electric device includes: In response to a test instruction for an electric device, acquiring test configuration information of the electric device; wherein the test configuration information represents an electrical property of the electric device; A character located at a preset position is obtained from the test configuration information as identification information of the electric power device.
8. The method according to claim 7, characterized in that Calling test parameters of the electric power equipment according to the identification information of the electric power equipment includes: According to a preset association relationship, a parameter type corresponding to the identification information of the electric power equipment is determined as a target type; wherein the preset association relationship represents an association relationship between the identification information and the parameter type; Parameters corresponding to the target type are obtained from the test configuration information as test parameters of the electric power equipment.
9. A testing device for electric power equipment, characterized in that: include: An identification acquisition module, configured to acquire identification information of the electric device in response to a test instruction for the electric device; wherein the identification information represents a device type of the electric device; A parameter calling module, used to call the test parameters of the electric equipment according to the identification information of the electric equipment; wherein the test parameters represent the electrical performance of the electric equipment; The equipment testing module is used to test the electric equipment according to the identification information and test parameters of the electric equipment, and to generate and output a test report of the electric equipment.
10. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 8 when executed by a processor.
12. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 8 when being executed by a processor.