Power efficiency testing method, device, electronic device and storage medium

By automatically configuring the current, voltage and load intervals, comprehensive simulation and real-time detection of the power supply are achieved, which solves the problem of long power efficiency testing in the existing technology and improves detection efficiency and accuracy.

CN119780776AInactive Publication Date: 2025-04-08百信信息技术有限公司

Patent Information

Application Number
CN202510245236.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-04
Publication Date
2025-04-08
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing power efficiency testing methods require manual load loading, resulting in a long test time and affecting the detection efficiency.

Method used

By configuring the current, voltage and load intervals, automated detection methods are adopted to achieve comprehensive simulation and real-time detection of the power supply and generate detection reports.

Benefits of technology

It improves the power detection efficiency, realizes real-time monitoring and abnormal detection of the power supply, and reduces the error rate of manual operation and data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119780776A_ABST
    Figure CN119780776A_ABST
Patent Text Reader

Abstract

The present application relates to the field of testing technology, and in particular to a power efficiency testing method, device, electronic device and storage medium, the method comprising obtaining configuration information and performing information initialization settings, the configuration information comprising voltage, current, and load interval; detecting the power supply based on the configuration information to obtain detection data; if the detection data is abnormal, outputting the abnormal items, the abnormal items comprising no input current, no input voltage, no output current, no output voltage, and abnormal temperature; if the detection data is not abnormal, performing cyclic detection; after the cyclic detection is completed, generating and outputting a detection report. The present application has the effect of improving the efficiency of power detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of testing technology, and in particular to a power efficiency testing method, device, electronic device and storage medium. Background Art

[0002] The efficiency of a power supply is of vital importance to the quality and reliability of a power supply. Therefore, during the design of a power supply, the power supply efficiency is measured to compare the differences between different power supply solutions.

[0003] A related power efficiency test method is to use a load to manually pull the load, connect a precision resistor in series to the input end, and use a data acquisition instrument or a multimeter to collect the input voltage, input current, and output voltage.

[0004] When the load is pulled manually, since the application of load, speed and duration in each test require manual operation, when a large number of tests are required, manual loading takes a long time, which in turn affects the detection efficiency of the power supply efficiency. Summary of the invention

[0005] In order to improve the power supply detection efficiency, the present application provides a power supply efficiency testing method, device, electronic device and storage medium.

[0006] In a first aspect, the present application provides a power efficiency testing method, which adopts the following technical solution: A power efficiency testing method, comprising: Obtaining configuration information and performing information initialization settings, wherein the configuration information includes voltage, current, and load interval; Detecting the power supply based on the configuration information to obtain detection data; If the detection data is abnormal, the abnormal item is output, and the abnormal item includes no input current, no input voltage, no output current, no output voltage, and abnormal temperature; If the detection data is normal, a cyclic detection is performed; After the cycle detection is completed, a detection report is generated and output.

[0007] By adopting the above technical solution, by configuring the current, voltage and load interval, it is possible to fully simulate various situations of the power supply in actual work, ensuring that the detection data obtained when testing the power supply is comprehensive. During the detection process, once an abnormality is detected, the abnormal item is immediately output, realizing real-time detection of the power supply, so that the detection personnel can know the abnormal information at any time during the detection process, stop the detection and make corresponding investigations based on the abnormal items, thereby improving the detection efficiency compared to the investigation of abnormal items after the detection and then re-detection. Furthermore, through the cyclic detection mechanism, the power supply can be continuously tested until the preset number of cycles is met or an abnormality is detected. After the test is completed, a report containing the test results can be automatically generated, which is convenient for users to view and analyze, thereby improving the detection efficiency.

[0008] In another possible implementation manner, before detecting the power supply based on the configuration information, the method further includes: Based on the load interval, calculating the number of cycles; Based on the current and the number of cycles, an increased current is calculated, where the increased current is the current increased per cycle.

[0009] By adopting the above technical solution, the number of cycles is calculated based on the load interval, so that the test process can be carried out in an orderly manner and ensure that the power supply is fully tested within a certain load rate range. At the same time, the current increase in each cycle is calculated based on the current and the number of cycles, which can ensure that the current increase is uniform and controllable, which helps to more accurately evaluate the performance of the power supply under different load conditions.

[0010] In another possible implementation manner, the detecting the power supply based on the configuration information includes: Calculating the product of the number of cycles and the increased current to obtain a load current; sequentially detecting the voltage and the current of the power supply based on the load current; The detection data is collected after a preset time to generate detection data.

[0011] By adopting the above technical solution, the load current is obtained by calculating the product of the number of cycles and the increased current, so that the working condition of the power supply under different load conditions can be accurately simulated. At the same time, the voltage and current of the power supply are detected based on the precise load current, which can ensure the accuracy of the test data; the purpose of setting the preset time is to collect data after the detection is completed and the data is stable, so that the detection data is more accurate.

[0012] In another possible implementation manner, the detecting the voltage and the current of the power supply in sequence based on the load current includes: Determine whether the current number of detections is greater than the number of cycles; If not, determining the load current, and performing detection based on the load current; If so, a detection report is generated and output based on the configuration information.

[0013] By adopting the above technical solution, the detection process can be clearly determined by judging whether the current detection number is greater than the cycle number; when the cycle number is not reached, the detection based on the load current is continuously performed to ensure the integrity of the test. Only after all the preset cycle numbers are detected, the detection report is generated and output based on the configuration information, which ensures the comprehensiveness and reliability of the test results.

[0014] In another possible implementation, after the cycle detection is completed, generating and outputting a detection report includes: When the cycle detection is completed, a data table is established based on the configuration information and the detection data, wherein the data table includes each detection load rate, the input current corresponding to each detection load rate, the input voltage corresponding to each detection load rate, the output current corresponding to each detection load rate, the output voltage corresponding to each detection load rate, power efficiency, power loss and input power; Based on the data table, a detection efficiency line graph and a power loss line graph are respectively drawn; The data table, the detection efficiency line graph and the power loss line graph are output.

[0015] By adopting the above technical solution, by establishing a data table, the key data such as each load rate detected and its corresponding input current, input voltage, output current, output voltage, power efficiency, power loss and input power are recorded in detail. These data provide a comprehensive basis for the analysis and evaluation of power supply performance. Based on the data table, the detection efficiency line graph and power loss line graph are drawn to present the complex data in a graphical way, making the interpretation of the data more intuitive and easy to understand. At the same time, by automatically establishing a data table, drawing a line graph and outputting the results, the detection efficiency can be greatly improved and the error rate of manual operation and data processing can be reduced.

[0016] In another possible implementation, drawing a detection efficiency line graph and a power loss line graph based on the data table includes: Use the output current as the horizontal axis and the power efficiency as the vertical axis to draw a line graph of the detection efficiency; Use the output current as the horizontal axis and the power loss rate as the vertical and horizontal axes to draw a power loss line graph.

[0017] By adopting the above technical solution, by drawing a detection efficiency line graph and a power loss line graph, the trend of power supply efficiency changing with output current and the trend of power supply loss changing with output current can be intuitively displayed.

[0018] In another possible implementation, the method further includes: determining a temperature of at least one component of the power supply; Determining whether the temperature of the at least one component is greater than a preset temperature threshold; If the temperature of the at least one component is greater than the preset temperature threshold, determining a target component, wherein the target component is a component having a temperature greater than the preset temperature threshold; Based on the target component, extracting the reasons affecting the temperature of the target component from a database; The temperature of the target component and the reason corresponding to the temperature of the target component are output.

[0019] By adopting the above technical solution, by determining the temperature of at least one component of the power supply, the temperature of the power supply during operation can be monitored in real time. The power supply can be made to operate stably while extending its service life. By judging whether the temperature of the component is greater than the preset temperature threshold, it is possible to timely detect and take corresponding measures when the component is overheated, so as to avoid damage to the component due to overheating, thereby protecting the overall performance and safety of the power supply. When the target component (i.e., the component whose temperature is greater than the preset temperature threshold) is found, the cause affecting the temperature of the component can be extracted from the database to quickly locate the source of the fault, providing strong support for subsequent troubleshooting and diagnosis. In this way, multiple detection tasks can be completed at one time, reducing the time and cost of performing temperature detection separately, and improving the overall detection efficiency.

[0020] In a second aspect, the present application provides a power efficiency testing device, which adopts the following technical solution: A power supply efficiency testing device, comprising: A configuration acquisition module, used to acquire configuration information and perform information initialization settings, wherein the configuration information includes voltage, current, and load interval; A power supply detection module, used to detect the power supply based on the configuration information to obtain detection data; An abnormal output module is used to output the abnormal item if the detection data is abnormal, and the abnormal item includes no input current, no input voltage, no output current, no output voltage, and abnormal temperature; A cycle detection module, used for performing cycle detection if the detection data does not show abnormality; The report generation module is used to generate and output a detection report after the cycle detection is completed.

[0021] By adopting the above technical solution, the configuration acquisition module configures the current, voltage and load interval, so that various situations of the power supply in actual work can be fully simulated, ensuring that the detection data obtained by the power supply detection module when testing the power supply is comprehensive. During the detection process, once the abnormality is detected by the abnormal output module, the abnormal item is immediately output, realizing real-time detection of the power supply, so that the detection personnel can know the abnormal information at any time during the detection process, stop the detection and make corresponding investigations according to the abnormal items, thereby improving the detection efficiency compared to the abnormal items after the detection is completed and then re-detected. Furthermore, the cycle detection module can continuously test the power supply through the cycle detection mechanism until the preset number of cycles is met or the abnormality is detected. After the test is completed, the report generation module can automatically generate a report containing the test results, which is convenient for users to view and analyze, thereby improving the detection efficiency.

[0022] In another possible implementation, the device further includes: A cycle calculation module, used for calculating the number of cycles based on the load interval; The increased current calculation module is used to calculate the increased current based on the current and the number of cycles, where the increased current is the current increased in each cycle.

[0023] In another possible implementation, when the power supply detection module detects the power supply based on the configuration information and obtains the detection data, it is specifically used to: Calculating the product of the number of cycles and the increased current to obtain a load current; sequentially detecting the voltage and the current of the power supply based on the load current; The detection data is collected after a preset time to generate detection data.

[0024] In another possible implementation, when the power supply detection module detects the voltage and the current of the power supply in sequence based on the load current, the power supply detection module is specifically used to: Determine whether the current number of detections is greater than the number of cycles; If not, determining the load current, and performing detection based on the load current; If so, a detection report is generated and output based on the configuration information.

[0025] In another possible implementation, when the report generation module generates and outputs a detection report after the cycle detection is completed, it is specifically used to: When the cycle detection is completed, a data table is established based on the configuration information and the detection data, wherein the data table includes each detection load rate, the input current corresponding to each detection load rate, the input voltage corresponding to each detection load rate, the output current corresponding to each detection load rate, the output voltage corresponding to each detection load rate, power efficiency, power loss and input power; Based on the data table, a detection efficiency line graph and a power loss line graph are respectively drawn; The data table, the detection efficiency line graph and the power loss line graph are output.

[0026] In another possible implementation, when the report generating module draws the detection efficiency line graph and the power loss line graph respectively based on the data table, it is specifically used to: Use the output current as the horizontal axis and the power efficiency as the vertical axis to draw a line graph of the detection efficiency; Use the output current as the horizontal axis and the power loss rate as the vertical and horizontal axes to draw a power loss line graph.

[0027] In another possible implementation, the device further includes: A temperature determination module, used to determine the temperature of at least one component of the power supply; A temperature determination module, used to determine whether the temperature of the at least one component is greater than a preset temperature threshold; A target component determination module, configured to determine a target component if the temperature of the at least one component is greater than the preset temperature threshold, wherein the target component is a component having a temperature greater than the preset temperature threshold; A cause extraction module, used for extracting the cause affecting the temperature of the target component from a database based on the target component; The cause output module is used to output the temperature of the target component and the cause corresponding to the temperature of the target component.

[0028] In a third aspect, the present application provides an electronic device, which adopts the following technical solution: An electronic device, comprising: at least one processor; Memory; At least one application, wherein at least one application is stored in a memory and configured to be executed by at least one processor, and at least one is configured to: execute a power efficiency testing method shown in any possible implementation of the first aspect.

[0029] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution: A computer-readable storage medium, when the computer program is executed in a computer, enables the computer to execute a power efficiency testing method as described in any one of the first aspects.

[0030] In summary, the present application includes at least one of the following beneficial technical effects: 1. By configuring the current, voltage and load interval, it is possible to fully simulate various situations of the power supply in actual work, ensuring that the test data obtained when testing the power supply is comprehensive. During the detection process, once an abnormality is detected, the abnormal item will be output immediately, realizing real-time detection of the power supply, so that the detection personnel can know the abnormal information at any time during the detection process, stop the detection and make corresponding investigations based on the abnormal items, thereby improving the detection efficiency compared to the investigation of abnormal items after the detection and then re-detection. Furthermore, through the cyclic detection mechanism, the power supply can be tested continuously until the preset number of cycles is met or an abnormality is detected. After the test, a report containing the test results can be automatically generated, which is convenient for users to view and analyze, thereby improving the detection efficiency.

[0031] 2. By determining the temperature of at least one component of the power supply, the temperature of the power supply during operation can be monitored in real time. The power supply can be made to operate stably while extending its service life. By judging whether the temperature of the component is greater than the preset temperature threshold, it is possible to detect and take corresponding measures in time when the component is overheated, so as to avoid damage to the component due to overheating, thereby protecting the overall performance and safety of the power supply. When the target component (i.e., the component with a temperature greater than the preset temperature threshold) is found, the cause affecting the temperature of the component can be extracted from the database to quickly locate the source of the fault, providing strong support for subsequent troubleshooting and diagnosis. In this way, multiple detection tasks can be completed at one time, reducing the time and cost of separate temperature detection and improving the overall detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 It is a flow chart of a power efficiency testing method according to an embodiment of the present application.

[0033] Figure 2 It is a schematic diagram of the configuration information input interface of the embodiment of the present application.

[0034] Figure 3 It is a flowchart of a power efficiency testing method according to an embodiment of the present application.

[0035] Figure 4 It is a flow chart of a power efficiency testing device according to an embodiment of the present application.

[0036] Figure 5 It is a structural schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0037] The following is combined with Figure 1-5 This application is described in further detail.

[0038] After reading this specification, those skilled in the art may make non-creative modifications to this embodiment as needed, but such modifications are protected by patent law as long as they are within the scope of the claims of this application.

[0039] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are 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 this field without creative work are within the scope of protection of this application.

[0040] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.

[0041] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.

[0042] The embodiment of the present application provides a power efficiency test method, which is performed by an electronic device, which can be a server or a terminal device, wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services. The terminal device can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited thereto. The terminal device and the server can be directly or indirectly connected via wired or wireless communication, and the embodiment of the present application does not limit this. Figure 1 As shown, the method includes: step S101, step S102, step S103, step S104 and step S105, Step S101, obtaining configuration information and performing information initialization settings, the configuration information including voltage, current, and load interval.

[0043] In the embodiment of the present application, a USB-A to USB-B device cable is used to connect the electronic load and the data acquisition instrument to a test machine respectively, wherein the test machine is the power supply to be tested. First, a 10mOHM precision resistor is connected in series to the input end of the power to be tested, and the electronic load is connected to the output end of the power to be tested. The three channels of the data acquisition instrument are respectively connected to the two ends of the capacitor close to the MOS at the input end, the two ends of the precision resistor, and the two ends of the output capacitor (all without positive and negative poles).

[0044] Specifically, the user inputs the voltage, current and load interval of the power supply through the interactive interface of the host computer, and then the host computer reads the input configuration information and sends an initialization command to the electronic load, wherein the initialization command includes the initialization resistance value, working mode and current limit, which are not described in detail in the embodiments of the present application. After the initialization is completed, the electronic load simulates different load conditions according to the configuration information to test the performance of the power supply. At the same time, the host computer sends an initialization command to the data acquisition instrument, which includes the sampling rate, data format, communication protocol, etc. of the acquisition instrument, which are not described in detail in the embodiments of the present application. After the initialization is completed, the data acquisition instrument performs data acquisition according to the predetermined configuration, and transmits the received voltage, current, temperature and other information to the host computer in real time; it should be noted that the load interval is set according to the acquisition requirements, that is, it can be 5% or 10%. Among them, the specific configuration information output interface is as follows: Figure 2 shown.

[0045] Step S102: Detect the power supply based on the configuration information to obtain detection data.

[0046] Specifically, the host computer controls the electronic load to simulate different load conditions, that is, the same load interval is added each time to test the power supply. The data acquisition instrument collects the voltage, current, power and other information of the power supply in real time, and transmits the collected data to the host computer. The host computer records and analyzes the data to determine whether the power supply meets the detection requirements.

[0047] Step S103, if the detected data is abnormal, the abnormal items are output, and the abnormal items include no input current, no input voltage, no output current, no output voltage, and abnormal temperature.

[0048] Specifically, the host computer continuously detects various indicators of the power supply, including input current, input voltage, output current, output voltage, temperature, detection efficiency, and whether there is output after increasing the current. When the data is detected to be beyond the preset normal range or threshold, it will be automatically identified as an abnormal item. When an abnormal item is identified, the abnormal information will be output in a specific format. The output method can be screen display, or it can be sent as an alarm email or text message. After receiving the abnormal item output, the tester needs to perform troubleshooting, where corresponding troubleshooting measures can be taken according to the content of the abnormal item, for example, a. If no input voltage is detected, the input voltage is abnormal, check whether the input voltage signal line wiring is normal; b. If no input current is detected, the input current is abnormal, check whether the precision resistor wiring is normal; c. If no input voltage is detected, the output voltage is abnormal, check whether the output voltage signal line wiring is normal; d. If no output current is detected, the output current is abnormal, check whether the load line welding is normal; e. If the temperature is detected to exceed the set temperature, the temperature is too high, stop the test, and check whether the setting is correct; f. If the efficiency is detected to be too low, disconnect other loads; g. If no output is detected after increasing the current, overcurrent protection is used, check the power supply overcurrent configuration.

[0049] Step S104: If the detected data is normal, a cyclic detection is performed.

[0050] Specifically, the number of cycles is calculated based on the load interval, current and voltage, and then the detection method of step S103 is used for each detection. When no abnormality occurs in this detection, it means that the power supply has not been abnormal under this load rate, and the next detection is performed, that is, as long as the power supply remains in operation and no abnormality is detected, the detection continues. More specifically, the load interval power supply efficiency detection represents the time interval set between consecutive detection or test cycles. The load rate represents the ratio of the actual load borne by the power supply to its rated capacity. It reflects the load-bearing capacity or working state of the power supply under specific test conditions. The load rate can be calculated by the following formula: Load rate = actual load borne / rated capacity × 100%

[0051] Step S105, after the cycle detection is completed, a detection report is generated and output.

[0052] In an embodiment of the present application, after the cycle detection is completed, the collected data is sorted, and then the detection results can be displayed in the form of data tables, graphs and text, so that a report is generated and output, so that power supply detection can be performed quickly, and the detection results can be displayed intuitively.

[0053] In a possible implementation of the embodiment of the present application, before detecting the power supply based on the configuration information in step S102, the following step is further included: Based on the load interval, the number of cycles is calculated; Based on the current and the number of cycles, the incremental current is calculated, where the incremental current is the current that increases per cycle.

[0054] Specifically, the load interval is the load change interval between two tests. The number of cycles can be calculated based on the total load rate and the load interval. That is, if the total load rate is A%, the load interval is B%, and the number of cycles is N=A% / B%.

[0055] According to the power supply specifications and test requirements, determine the initial current of the test (i.e. the current at the first cycle) and the current variation range (i.e. the maximum and minimum current values ​​during the test. If the test requires the current to increase or decrease in an arithmetic progression, the current increase for each cycle can be calculated based on the total number of cycles N and the current variation range (assuming it is I_min to I_max). For example, the current increase ΔI each time = (I_max - I_min) / (N - 1). If the test requires a different increase mode (such as a geometric progression or a custom mode), it needs to be calculated according to the specific mode.

[0056] In the above steps, the user can conveniently input configuration information such as voltage, current, and load interval through the interactive interface of the host computer to realize flexible configuration of different test conditions. At the same time, the host computer can detect various indicators of the power supply in real time, including input current, input voltage, output current, output voltage, temperature, etc., and automatically output abnormal items when abnormalities are detected. This allows the tester to know the abnormal information at any time during the detection process, stop the detection and make corresponding investigations based on the abnormal items, thereby improving the detection efficiency compared to investigating the abnormal items after the detection and then re-detecting. Furthermore, through the cyclic detection mechanism, the power supply can be continuously tested until the preset number of cycles is met or an abnormality is detected. After the test is completed, a report containing the test results can be automatically generated for user viewing and analysis.

[0057] In a possible implementation of the embodiment of the present application, the power supply is detected based on the configuration information in step S102, including: Calculate the product of the number of cycles and the increased current to obtain the load current; The voltage and current of the power supply are detected in sequence based on the load current; After a preset time, the detection data is collected to generate detection data.

[0058] In the embodiment of the present application, since the increase in current represents the increase in current between every two tests, that is, a fixed value, the number of cycles characterizes which number of tests this time is, that is, how many times the increase in current needs to be superimposed. First, the product of the number of cycles and the increase in current is calculated, and then the increase in current in this test can be calculated, and then the initial current is added to the increase in current in this test, and the load current in this cycle can be obtained. According to the calculated load current value, the voltage and current of the power supply are actually measured by a power supply test device (such as an electronic load and a data acquisition instrument), wherein continuous measurement or intermittent measurement can be used, depending on the test requirements and equipment performance. After the detection is completed, the detection data is collected after a preset time. Specifically, the preset time is set according to the requirements, and its purpose is to wait for a period of time after the detection so that the collected data is reliable. It can improve the test efficiency and reduce unnecessary data processing time.

[0059] In a possible implementation of the embodiment of the present application, in step S11, the voltage and current of the power supply are detected in sequence based on the load current, including: Determine whether the current number of detections is greater than the number of cycles; If not, then determine the load current and perform detection based on the load current; If yes, a test report is generated and output based on the configuration information.

[0060] Specifically, the number of cycles is set according to the load interval. The number of cycles will determine how many times the detection needs to be cycled during the detection process. At the same time, the host computer needs to initialize the counter to 0, where the counter is a counting tool that comes with the host computer, which is used to record the number of current detections. Before each detection, it is determined whether the current number of detections is greater than the set number of cycles. If the current number of detections is less than or equal to the number of cycles, the load current value of the current cycle is determined according to the test requirements or the preset load change logic. For example, it can start from the minimum load current and increase by a certain value each time. If the current number of detections is greater than the number of cycles, it means that the number of detections exceeds or reaches the number of cycles of this detection, and there is no need to perform detection, so the detection cycle is stopped. Each detection is performed according to the preset load current value, thereby ensuring the consistency and accuracy of the detection.

[0061] Assume that the number of cycles is set to 5 times, and the load current starts at 1A and increases by 0.5A each time. Initialize the detection counter to 0 and set the number of cycles to 5 times. First detection: The load current is set to 1A, and the voltage, current, load rate, power efficiency, power loss and input power of the power supply are detected, and the data is recorded. The detection counter is increased by 1. Second detection: The load current is set to 1.5A, and the above detection process is repeated. The detection counter is increased by 1. And so on. After the fifth detection is completed, the detection counter reaches 5 times and the detection cycle is stopped. Organize the data of the five tests, generate a test report and output it.

[0062] In a possible implementation of the embodiment of the present application, in step S105, after the cycle detection is completed, a detection report is generated and output, including: After the cycle detection is completed, a data table is established based on the configuration information and the detection data, and the data table includes each detection load rate, the input current corresponding to each detection load rate, the input voltage corresponding to each detection load rate, the output current corresponding to each detection load rate, the output voltage corresponding to each detection load rate, the power efficiency, the power loss and the input power; Draw the detection efficiency line graph and the power loss line graph based on the data table; Output the data table, detection efficiency line graph, and power loss line graph.

[0063] Specifically, after the cycle test is completed, each test data is collected, including load rate, input current, input voltage, output current, output voltage, etc. Based on the above data, the power efficiency (output power divided by input power), power loss (input power minus output power) and input power (input voltage multiplied by input current) can be calculated, and the data can be organized into a table, and the columns of the table include load rate, input current, input voltage, output current, output voltage, power efficiency, power loss and input power.

[0064] The specific drawing method is to use a chart tool to draw a line graph of the detection efficiency with the load rate as the horizontal axis and the power efficiency as the vertical axis. The line graph can intuitively show the changing trend of the power efficiency under different load rates. Also use a chart tool to draw a power loss line graph with the load rate as the horizontal axis and the power loss as the vertical axis. The line graph can show the changes in power loss under different load rates.

[0065] Integrate the established data table, detection efficiency line graph and power loss line graph into the detection report.

[0066] Among them, by establishing a data table, all key test data (such as load rate, input / output voltage, current, power efficiency, power loss, and input power, etc.) are clearly displayed in a tabular form, making the test results clear at a glance, and convenient for users to quickly understand the performance of the power supply. By drawing a line graph of the test efficiency and a line graph of the power loss, the data can be presented in a more intuitive way. These charts can clearly show the changing trend of power efficiency with load rate, as well as the power loss at different load rates. By combining the data table with the line graph, the test personnel can intuitively analyze the power supply test situation, effectively improving the practicality of the power supply test report.

[0067] Assume that five cycles of testing are performed, each test is performed at a different load rate, and the corresponding input current, input voltage, output current and output voltage are recorded. The following is a specific example:

[0068] Detection efficiency line graph (this application example does not draw a specific line graph) Horizontal axis: load factor (20%, 40%, 60%, 80%, 100%) Vertical axis: Power efficiency (%) The line graph shows that as the load rate increases, the power efficiency gradually improves.

[0069] Power loss line graph (this embodiment of the application does not draw a specific line graph) Horizontal axis: load factor (20%, 40%, 60%, 80%, 100%) Vertical axis: Power loss (W) The line graph shows that as the load rate increases, the power loss gradually decreases.

[0070] In a possible implementation manner of the embodiment of the present application, the method further includes: determining a temperature of at least one component of the power supply; Determining whether the temperature of at least one component is greater than a preset temperature threshold; If the temperature of at least one component is greater than a preset temperature threshold, a target component is determined, where the target component is a component whose temperature is greater than the preset temperature threshold; Based on the target component, extract the reasons affecting the temperature of the target component from the database; The temperature of the target component and the reason corresponding to the temperature of the target component are output.

[0071] Specifically, the temperature of each component is measured using a temperature sensor, wherein the temperature sensor may be a thermocouple, a thermistor, or an infrared thermometer, which is not specifically limited in the embodiments of the present application. During the specific measurement, the temperature sensor transmits the temperature of each component to the host computer. The preset temperature threshold is the temperature at which the component works normally. The collected temperature data of each component is compared with the preset temperature threshold. If the temperature of a component exceeds the preset temperature threshold, the temperature of the component is determined to be abnormal. When a component temperature abnormality is detected, the component is marked as a target component.

[0072] At the same time, a database containing various possible causes and corresponding components is established. These causes may include overload, poor heat dissipation, design defects, aging, etc. After the target component is determined, the possible causes related to the component are queried from the database. The most likely cause is screened out according to the type and working conditions of the target component. Then, the current temperature of the target component and the screened possible causes are output to the display, so that the temperature abnormality of the components in the power supply can be discovered in time, and the possible causes can be found, so that corresponding measures can be taken to deal with it and ensure the stable operation of the power supply.

[0073] The current temperature of the target components and the possible causes screened out are output to the display, so that the inspector can promptly discover the temperature anomalies of the components in the power supply and understand the possible causes. This timely information output helps users take corresponding measures in time to ensure the stable operation of the power supply.

[0074] Assume that the temperature of a rectifier (component A) of a power supply exceeds the preset temperature threshold of 60°C. The current temperature of the rectifier (component A) is measured by a temperature sensor to be 65°C. By comparing 65°C with the preset temperature threshold of 60°C, it is found that the temperature of the rectifier exceeds the threshold.

[0075] The rectifier (component A) is marked as the target component. The possible causes related to the rectifier (component A) are queried from the database, and overload and poor heat dissipation are found to be two possible causes. Based on the load and heat dissipation conditions of the rectifier, poor heat dissipation is determined to be a more likely cause. The current temperature of the rectifier, 65°C, and poor heat dissipation are output to the display as possible causes, and an alarm is triggered to notify relevant personnel to handle it.

[0076] Among them, the specific power supply detection process diagram is as follows Figure 3 shown.

[0077] The above embodiment introduces a power efficiency testing method from the perspective of method flow, and the following embodiment introduces a power efficiency testing device 20 from the perspective of a virtual module or a virtual unit. Please refer to the following embodiment for details.

[0078] The present application embodiment provides a power efficiency testing device 20, such as Figure 4 As shown, the power efficiency test device may specifically include: Configuration acquisition module 201, used to acquire configuration information and perform information initialization settings, the configuration information includes voltage, current, load interval; A power supply detection module 202, configured to detect the power supply based on the configuration information and obtain detection data; The abnormal output module 203 is used to output the abnormal items if the detection data is abnormal, and the abnormal items include no input current, no input voltage, no output current, no output voltage, and abnormal temperature; The cycle detection module 204 is used to perform cycle detection if the detection data does not show abnormality; The report generation module 205 is used to generate and output a detection report after the cycle detection is completed.

[0079] By adopting the above technical solution, the configuration acquisition module 201 configures the current, voltage and load interval, so that various situations of the power supply in actual work can be fully simulated, ensuring that the power supply detection module 202 has comprehensive detection data when testing the power supply. During the detection process, once the abnormality is detected by the abnormal output module 203, the abnormal item is immediately output, realizing the real-time detection of the power supply, so that the detection personnel can know the abnormal information at any time during the detection process, stop the detection and do corresponding investigation according to the abnormal item, thereby improving the detection efficiency compared to the abnormal item investigation after the detection and then re-detection. Further, the cycle detection module 204 can continuously test the power supply through the cycle detection mechanism until the preset number of cycles is met or the abnormality is detected. After the test is completed, the report generation module 205 can automatically generate a report containing the test results, which is convenient for users to view and analyze, thereby improving the detection efficiency.

[0080] In a possible implementation of the embodiment of the present application, the device 20 further includes: A cycle calculation module is used to calculate the number of cycles based on the load interval; The increased current calculation module is used to calculate the increased current based on the current and the number of cycles, where the increased current is the current increased in each cycle.

[0081] In another possible implementation, when the power supply detection module detects the power supply based on the configuration information and obtains the detection data, it is specifically used to: Calculate the product of the number of cycles and the increased current to obtain the load current; The voltage and current of the power supply are detected in sequence based on the load current; After a preset time, the detection data is collected to generate detection data.

[0082] In a possible implementation of the embodiment of the present application, when the power detection module 202 detects the voltage and current of the power supply in sequence based on the load current, it is specifically used to: Determine whether the current number of detections is greater than the number of cycles; If not, then determine the load current and perform detection based on the load current; If yes, a test report is generated and output based on the configuration information.

[0083] In a possible implementation of the embodiment of the present application, when the report generation module 205 generates and outputs a detection report after the cycle detection is completed, it is specifically used to: After the cycle detection is completed, a data table is established based on the configuration information and the detection data, and the data table includes each detection load rate, the input current corresponding to each detection load rate, the input voltage corresponding to each detection load rate, the output current corresponding to each detection load rate, the output voltage corresponding to each detection load rate, the power efficiency, the power loss and the input power; Draw the detection efficiency line graph and the power loss line graph based on the data table; Output the data table, detection efficiency line graph, and power loss line graph.

[0084] In a possible implementation of the embodiment of the present application, when the report generating module 205 draws the detection efficiency line graph and the power loss line graph respectively based on the data table, it is specifically used to: Use the output current as the horizontal axis and the power efficiency as the vertical axis to draw a line graph of the detection efficiency; Use the output current as the horizontal axis and the power loss rate as the vertical and horizontal axes to draw a power loss line graph.

[0085] In another possible implementation, the device 20 further includes: A temperature determination module, used to determine the temperature of at least one component of the power supply; A temperature determination module, used to determine whether the temperature of at least one component is greater than a preset temperature threshold; A target component determination module, used to determine a target component if the temperature of at least one component is greater than a preset temperature threshold, wherein the target component is a component having a temperature greater than the preset temperature threshold; A cause extraction module is used to extract the causes affecting the temperature of the target component from the database based on the target component; The cause output module is used to output the temperature of the target component and the cause corresponding to the temperature of the target component.

[0086] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0087] An electronic device is provided in an embodiment of the present application, such as Figure 5 As shown, Figure 5 The electronic device 30 shown includes: a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, such as through a bus 302. Optionally, the electronic device 30 may also include a transceiver 304. It should be noted that in actual applications, the transceiver 304 is not limited to one, and the structure of the electronic device 30 does not constitute a limitation on the embodiments of the present application.

[0088] The processor 301 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor 301 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0089] The bus 302 may include a path to transmit information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but it does not mean that there is only one bus or only one type of bus.

[0090] The memory 303 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0091] The memory 303 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the contents shown in the above method embodiment.

[0092] The electronic devices include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs, desktop computers, etc. It can also be a server, etc. Figure 5 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0093] The embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when it is run on a computer, the computer can execute the corresponding content in the above method embodiment. Compared with the related art, the embodiment of the present application configures the current, voltage and load interval, so that various situations of the power supply in actual work can be fully simulated, ensuring that the detection data obtained when the power supply is tested is comprehensive. In the detection process, once an abnormality is detected, the abnormal item is immediately output, and the real-time detection of the power supply is realized, so that the detection personnel can know the abnormal information at any time during the detection process, stop the detection and do corresponding investigation according to the abnormal item, thereby improving the detection efficiency compared to the abnormal item investigation after the detection and then re-detection. Further, through the cyclic detection mechanism, the power supply can be continuously tested until the preset number of cycles is met or the abnormality is detected. After the test is completed, a report containing the test results can be automatically generated, which is convenient for users to view and analyze, thereby improving the detection efficiency.

[0094] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0095] The above are only some implementation methods of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A power efficiency testing method, characterized in that: include: Obtaining configuration information and performing information initialization settings, wherein the configuration information includes voltage, current, and load interval; Detecting the power supply based on the configuration information to obtain detection data; If the detection data is abnormal, the abnormal item is output, and the abnormal item includes no input current, no input voltage, no output current, no output voltage, and abnormal temperature; If the detection data is normal, a cyclic detection is performed; After the cycle detection is completed, a detection report is generated and output.

2. A power efficiency testing method according to claim 1, characterized in that: Before detecting the power supply based on the configuration information, the method further includes: calculating a number of cycles based on the load interval; Based on the current and the number of cycles, an increased current is calculated, where the increased current is the current increased per cycle.

3. A power efficiency testing method according to claim 2, characterized in that: The detecting the power supply based on the configuration information includes: Calculating the product of the number of cycles and the increased current to obtain a load current; sequentially detecting the voltage and the current of the power supply based on the load current; The detection data is collected after a preset time to generate detection data.

4. A power efficiency testing method according to claim 3, characterized in that: The detecting the voltage and the current of the power supply in sequence based on the load current includes: Determine whether the current number of detections is greater than the number of cycles; If not, determining the load current, and performing detection based on the load current; If so, a detection report is generated and output based on the configuration information.

5. A power efficiency testing method according to claim 1, characterized in that: When the cycle detection is completed, a detection report is generated and output, including: When the cycle detection is completed, a data table is established based on the configuration information and the detection data, wherein the data table includes each detection load rate, the input current corresponding to each detection load rate, the input voltage corresponding to each detection load rate, the output current corresponding to each detection load rate, the output voltage corresponding to each detection load rate, power efficiency, power loss and input power; Based on the data table, a detection efficiency line graph and a power loss line graph are respectively drawn; The data table, the detection efficiency line graph and the power loss line graph are output.

6. A power efficiency testing method according to claim 5, characterized in that: Drawing the detection efficiency line graph and the power loss line graph based on the data table includes: Use the output current as the horizontal axis and the power efficiency as the vertical axis to draw a line graph of the detection efficiency; Use the output current as the horizontal axis and the power loss rate as the vertical and horizontal axes to draw a power loss line graph.

7. A power efficiency testing method according to claim 1, characterized in that: The method further comprises: determining a temperature of at least one component of the power supply; Determining whether the temperature of the at least one component is greater than a preset temperature threshold; If the temperature of the at least one component is greater than the preset temperature threshold, determining a target component, wherein the target component is a component having a temperature greater than the preset temperature threshold; Based on the target component, extracting the reasons affecting the temperature of the target component from a database; The temperature of the target component and the reason corresponding to the temperature of the target component are output.

8. A power efficiency testing device, characterized in that: include: A configuration acquisition module, used to acquire configuration information and perform information initialization settings, wherein the configuration information includes voltage, current, and load interval; A power supply detection module, used to detect the power supply based on the configuration information to obtain detection data; An abnormal output module is used to output the abnormal item if the detection data is abnormal, and the abnormal item includes no input current, no input voltage, no output current, no output voltage, and abnormal temperature; A cycle detection module, used for performing cycle detection if the detection data does not show abnormality; The report generation module is used to generate and output a detection report after the cycle detection is completed.

9. An electronic device, characterized in that: It includes: at least one processor; Memory; At least one application, wherein the at least one application is stored in the memory and is configured to be executed by the at least one processor, and the at least one application is used to execute a power efficiency testing method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed in a computer, the computer is caused to execute a power efficiency testing method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Generation method and device of test circuit and power supply testing system

    CN101907689A

  • A power supply product energy efficiency automatic test method

    CN105699914A

  • Efficiency testing system and method of switching power supply

    CN106353696A

  • Automatic test system and method for fire-fighting power supply

    CN110308406A

  • Method and device for automatically testing energy efficiency of power supply product, equipment and medium

    CN113740758A

Cited By

  • High-precision power supply control method and device based on digital signal processor

    CN120949659A