[go: up one dir, main page]

CN113608089B - SOA test method, system and device for switching power supply MOS tube and readable storage medium - Google Patents

SOA test method, system and device for switching power supply MOS tube and readable storage medium Download PDF

Info

Publication number
CN113608089B
CN113608089B CN202110680999.9A CN202110680999A CN113608089B CN 113608089 B CN113608089 B CN 113608089B CN 202110680999 A CN202110680999 A CN 202110680999A CN 113608089 B CN113608089 B CN 113608089B
Authority
CN
China
Prior art keywords
test
soa
power supply
switching power
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110680999.9A
Other languages
Chinese (zh)
Other versions
CN113608089A (en
Inventor
吕泽华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202110680999.9A priority Critical patent/CN113608089B/en
Publication of CN113608089A publication Critical patent/CN113608089A/en
Application granted granted Critical
Publication of CN113608089B publication Critical patent/CN113608089B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/26Testing of individual semiconductor devices
    • G01R31/2601Apparatus or methods therefor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/26Testing of individual semiconductor devices
    • G01R31/2607Circuits therefor
    • G01R31/2621Circuits therefor for testing field effect transistors, i.e. FET's

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Testing Of Individual Semiconductor Devices (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

The invention provides an SOA (service oriented architecture) test method, an SOA test system, an SOA test device and a readable storage medium for a switching power supply MOS tube, wherein the method comprises the following steps: constructing an SOA test platform based on Python; starting an SOA test platform based on Python and creating an independent test thread; after the test thread is created, the call of the test resource is completed by calling the internal definition function, and the test scene is executed; in the process of executing the test scene, if receiving the user interrupt, processing preferentially; after the current test scene is finished, generating test data and recommended data calibration, and generating data calibration of the test data according to the recommended data calibration; judging whether all current test scenes are tested; analyzing and calculating the test data of all the test scenes, and generating test results. The invention realizes the SOA automatic test of the MOS tube, provides an auxiliary analysis tool for the test result, and reduces the possibility of error occurrence of the test result.

Description

开关电源MOS管的SOA测试方法、系统、装置及可读存储介质SOA testing methods, systems, devices and readable storage media for switching power supply MOS tubes

技术领域Technical field

本发明涉及MOS管安全测试技术领域,更具体的说是涉及一种开关电源MOS管的SOA测试方法、系统、装置及可读存储介质。The invention relates to the technical field of MOS tube safety testing, and more specifically to an SOA testing method, system, device and readable storage medium for switching power supply MOS tubes.

背景技术Background technique

MOS管作为新型半导体器件的代表,作为重要的开关元件广泛应用于服务器的电源系统中。为了保证MOS管能够安全工作,对MOS管进行SOA测试尤为重要。SOA测试,是为了验证MOS管是否在安全工作区(Safe Operating Area,SOA)内而进行的功能性测试。而在服务器的研发周期中,测试项繁多,耗费较长时间,在服务器研发测试全面转向自动化的背景下,SOA测试作为重要的测试项,实现自动化测试是非常必要的。As a representative of new semiconductor devices, MOS tubes are widely used in server power systems as important switching components. In order to ensure that the MOS tube can work safely, it is particularly important to conduct SOA testing on the MOS tube. SOA testing is a functional test conducted to verify whether the MOS tube is within the Safe Operating Area (SOA). In the server R&D cycle, there are many test items and it takes a long time. In the context of server R&D testing turning to automation, SOA testing is an important test item and it is very necessary to implement automated testing.

当前,MOS管的SOA测试方法为手动测试。具体流程为:人工操作示波器,直流电源,电子负载进行对MOS管进行满载上电、上电前短路、上电后短路三种场景下的测试,分别抓取VDS与Iin的波形,并测量MOS管开启关闭转换过程中的电压与电流值。最后,将获取的测量值与MOS管的SOA曲线比对,验证其是否在安全工作区内工作。在验证通过后,向测试报告手动填写测试结果,综合开关电源的其他测试项目出具完整测试报告。Currently, the SOA testing method for MOS tubes is manual testing. The specific process is: manually operate the oscilloscope, DC power supply, and electronic load to test the MOS tube in three scenarios: full load power on, short circuit before power on, and short circuit after power on. The waveforms of VDS and Iin are captured respectively, and the MOS is measured. The voltage and current values during the conversion process of the tube opening and closing. Finally, compare the obtained measurement values with the SOA curve of the MOS tube to verify whether it works within the safe working area. After passing the verification, manually fill in the test results in the test report, and issue a complete test report integrating other test items of the switching power supply.

现有测试方法虽然能够完成测试目的,但是由于开关电源MOS管的SOA测试具有一定的特殊性,多出现在EFUSE器件的测试中,测试频次较少,但重要性较高。由于部分测试人员对于测试手法及测试标准熟悉程度不足,测试中不能注意到全部的关键测试节点,测试结果可能会出现错误,对研发过程产生不良影响。Although the existing test methods can accomplish the test purpose, due to the certain particularity of the SOA test of switching power supply MOS tubes, it mostly appears in the test of EFUSE devices. The test frequency is less, but the importance is higher. Because some testers are not familiar enough with testing methods and testing standards, they cannot pay attention to all key test nodes during testing, and the test results may be wrong, which will have a negative impact on the research and development process.

另外,手动测试的测试效率较低,测试结果需要人工判断并填写进测试报告中,与开关电源测试的自动化趋势相违背,且不利于测试数据的“云上分析”。In addition, the test efficiency of manual testing is low, and the test results need to be manually judged and filled in the test report, which goes against the automation trend of switching power supply testing and is not conducive to the "cloud analysis" of test data.

发明内容Contents of the invention

针对以上问题,本发明的目的在于提供一种开关电源MOS管的SOA测试方法、系统、装置及可读存储介质,实现了MOS管的SOA自动化测试,规范了测试流程,提供了测试结果的辅助分析工具,能够自动计算测试数据,降低了测试结果出现错误的可能性。In response to the above problems, the purpose of the present invention is to provide an SOA testing method, system, device and readable storage medium for a switching power supply MOS tube, realize the SOA automated testing of the MOS tube, standardize the test process, and provide assistance with the test results. Analysis tools can automatically calculate test data, reducing the possibility of errors in test results.

本发明为实现上述目的,通过以下技术方案实现:一种开关电源MOS管的SOA测试方法,包括如下步骤:In order to achieve the above objects, the present invention adopts the following technical solutions: an SOA testing method for switching power supply MOS tubes, including the following steps:

S1:构建基于Python的SOA测试平台;S1: Build a Python-based SOA test platform;

S2:启动基于Python的SOA测试平台,加载板卡信息后,选择需要测试的供电线路,并创建独立的测试线程;S2: Start the Python-based SOA test platform, load the board information, select the power supply line to be tested, and create an independent test thread;

S3:测试线程创建后,通过调用内部定义函数完成测试资源的调用,并执行测试场景;S3: After the test thread is created, the test resource is called by calling the internal defined function and the test scenario is executed;

S4:在执行测试场景过程中,若收到用户中断,优先进行处理;S4: During the execution of the test scenario, if a user interrupt is received, it will be processed first;

S5:当前测试场景结束后,生成测试数据和推荐的数据标定,并根据推荐的数据标定生成测试数据的数据标定;S5: After the current test scenario ends, generate test data and recommended data calibration, and generate data calibration of the test data based on the recommended data calibration;

S6:判断当前所有的测试场景是否均已测试完成;若是,转到步骤S7;若否,选定执行任一未测试的测试场景,并转到步骤S3;S6: Determine whether all current test scenarios have been tested; if so, go to step S7; if not, select any untested test scenario and go to step S3;

S7:对所有测试场景的测试数据进行分析计算,并生成测试结果。S7: Analyze and calculate the test data of all test scenarios and generate test results.

进一步,步骤S1包括:Further, step S1 includes:

使用QThread多线程方法构建平台架构,并分离UI界面与测试程序;Use QThread multi-threading method to build the platform architecture and separate the UI interface and test program;

采用图形化编程的PyQt库,并利用QSS语言编辑操作逻辑,构建操作界面;Use the PyQt library for graphical programming, and use the QSS language to edit the operation logic and build the operation interface;

通过python win32process库调用Windows系统API进行测试任务线程的即时暂停与恢复。The Windows system API is called through the python win32process library to perform instant suspension and resumption of the test task thread.

进一步,步骤S2包括:Further, step S2 includes:

启动基于Python的SOA测试平台;Launch a Python-based SOA test platform;

加载板卡信息,读取板卡的VDS信号和Input Current信号;Load the board information and read the VDS signal and Input Current signal of the board;

选择需要测试的供电线路,并创建独立的测试线程。Select the power supply line that needs to be tested and create an independent test thread.

进一步,测试场景包括:Turn on with 100%load、Open short和Short Open。Further, test scenarios include: Turn on with 100% load, Open short and Short Open.

进一步,步骤S3包括:启动预设评估算法分析当前测试场景是否符合SOA测试要求,若是,直接转到步骤S4;若否,启动并执行预设的自动校准程序,校准完成后转到步骤S4。Further, step S3 includes: starting a preset evaluation algorithm to analyze whether the current test scenario meets the SOA test requirements. If so, go directly to step S4; if not, start and execute a preset automatic calibration program. After the calibration is completed, go to step S4.

进一步,步骤S4包括:Further, step S4 includes:

在执行测试场景过程中,若测试工程师对测试过程有异议,手动发起用户中断;所述SOA测试平台收到用户中断后调用Windows API立即响应,并挂起测试线程,直至取消用户中断后恢复测试线程。During the execution of the test scenario, if the test engineer has objections to the test process, he will manually initiate a user interruption; after receiving the user interruption, the SOA test platform calls the Windows API to respond immediately and suspends the test thread until the user interruption is canceled and the test is resumed. thread.

进一步,测试数据包括MOS管在开关过程中的最大电压、最大电流和开关时间。Further, the test data includes the maximum voltage, maximum current and switching time of the MOS tube during the switching process.

进一步,步骤S7包括:Further, step S7 includes:

启动预设算法计算测试数据的数据标定,生成数据标定结果;Start the preset algorithm to calculate the data calibration of the test data and generate the data calibration results;

使用python matplotlib库绘制双对数曲线坐标轴,生成参考坐标图;Use the python matplotlib library to draw logarithmic curve coordinate axes and generate a reference coordinate chart;

将数据标定结果绘制在参考坐标图上;Plot the data calibration results on the reference coordinate chart;

将参考坐标图与预设的MOSFET Datasheet中的SOA曲线比对,若测试结果在所述SOA曲线下方,则测试结果为Pass,否则测试结果为Fail。Compare the reference coordinate diagram with the SOA curve in the preset MOSFET Datasheet. If the test result is below the SOA curve, the test result is Pass, otherwise the test result is Fail.

相应的,本发明还公开了一种开关电源MOS管的SOA测试系统,包括:Correspondingly, the present invention also discloses an SOA testing system for switching power supply MOS tubes, including:

平台构建单元,用于构建基于Python的SOA测试平台;Platform building unit, used to build a Python-based SOA test platform;

测试线程创建单元,用于启动基于Python的SOA测试平台,加载板卡信息后,选择需要测试的供电线路,并创建独立的测试线程;The test thread creation unit is used to start the Python-based SOA test platform. After loading the board information, select the power supply line to be tested and create an independent test thread;

测试场景执行单元,用于通过调用内部定义函数完成测试资源的调用,并执行测试场景;The test scenario execution unit is used to complete the call of test resources by calling internally defined functions and execute the test scenario;

数据标定单元,用于生成测试数据和推荐的数据标定,并根据推荐的数据标定生成测试数据的数据标定;A data calibration unit is used to generate test data and recommended data calibration, and generate data calibration of test data based on the recommended data calibration;

计算单元,用于对所有测试场景的测试数据进行分析计算,并生成测试结果。The computing unit is used to analyze and calculate the test data of all test scenarios and generate test results.

进一步,平台构建单元具体用于:Furthermore, the platform building units are specifically used to:

使用QThread多线程方法构建平台架构,并分离UI界面与测试程序;Use QThread multi-threading method to build the platform architecture and separate the UI interface and test program;

采用图形化编程的PyQt库,并利用QSS语言编辑操作逻辑,构建操作界面;通过python win32process库调用Windows系统API进行测试任务线程的即时暂停与恢复。The PyQt library for graphical programming is used, and the QSS language is used to edit the operation logic and build the operation interface; the Windows system API is called through the python win32process library to perform instant suspension and recovery of the test task thread.

进一步,测试线程创建单元具体用于:Furthermore, the test thread creation unit is specifically used for:

启动基于Python的SOA测试平台;Launch a Python-based SOA test platform;

加载板卡信息,读取板卡的VDS信号和Input Current信号;Load the board information and read the VDS signal and Input Current signal of the board;

选择需要测试的供电线路,并创建独立的测试线程。Select the power supply line that needs to be tested and create an independent test thread.

进一步,计算单元具体用于:Further, the computing unit is specifically used for:

启动预设算法计算测试数据的数据标定,生成数据标定结果;Start the preset algorithm to calculate the data calibration of the test data and generate the data calibration results;

使用python matplotlib库绘制双对数曲线坐标轴,生成参考坐标图;Use the python matplotlib library to draw logarithmic curve coordinate axes and generate a reference coordinate chart;

将数据标定结果绘制在参考坐标图上;Plot the data calibration results on the reference coordinate chart;

将参考坐标图与预设的MOSFET Datasheet中的SOA曲线比对,若测试结果在所述SOA曲线下方,则测试结果为Pass,否则测试结果为Fail。Compare the reference coordinate diagram with the SOA curve in the preset MOSFET Datasheet. If the test result is below the SOA curve, the test result is Pass, otherwise the test result is Fail.

相应的,本发明公开了一种开关电源MOS管的SOA测试装置,包括:Correspondingly, the present invention discloses an SOA testing device for switching power supply MOS tubes, which includes:

存储器,用于存储开关电源MOS管的SOA测试程序;Memory, used to store the SOA test program of the switching power supply MOS tube;

处理器,用于执行所述开关电源MOS管的SOA测试程序时实现如上文任一项所述开关电源MOS管的SOA测试方法的步骤。A processor, configured to implement the steps of the SOA testing method for the switching power supply MOS tube as described in any one of the above when executing the SOA test program of the switching power supply MOS tube.

相应的,本发明公开了一种可读存储介质,所述可读存储介质上存储有开关电源MOS管的SOA测试程序,所述开关电源MOS管的SOA测试程序被处理器执行时实现如上文任一项所述开关电源MOS管的SOA测试方法的步骤。Correspondingly, the present invention discloses a readable storage medium. The SOA test program of the switching power supply MOS tube is stored on the readable storage medium. When the SOA test program of the switching power supply MOS tube is executed by the processor, it is implemented as above. The steps of the SOA testing method for switching power supply MOS tubes described in any one of the above.

对比现有技术,本发明有益效果在于:Compared with the existing technology, the beneficial effects of the present invention are:

1、本发明结合现有基于Python的自动化测试平台,实现对开关电源MOS管的SOA的自动化测试,并对现有的基于Python的自动化测试平台进行了重构,实现合理化的用户中断实现方式,优化了测试操作界面,使测试过程具备更高的自由度。1. The present invention combines the existing Python-based automated test platform to realize automated testing of the SOA of switching power supply MOS tubes, and reconstructs the existing Python-based automated test platform to achieve a rational implementation of user interrupts. The test operation interface has been optimized to provide a higher degree of freedom in the test process.

2.针对测试过程中常见的问题,如输入信号错误、数据标定错误等,本发明对其进行了正确的设置,保证了设置的准确性与灵活性,从而规范了测试流程。同时,本发明也具有对测试结果的辅助分析工具,自动计算测试数据,降低了测试结果出现错误的可能性。2. In view of common problems during the test process, such as input signal errors, data calibration errors, etc., the present invention performs correct settings to ensure the accuracy and flexibility of the settings, thereby standardizing the test process. At the same time, the present invention also has an auxiliary analysis tool for test results, automatically calculates test data, and reduces the possibility of errors in test results.

3、本发明针对所有测试场景的测试数据,使用合理的测试数据分析方案,使SOA测试变得更加标准化。3. The present invention uses reasonable test data analysis solutions for test data in all test scenarios to make SOA testing more standardized.

4、本发明可以推广到其他的自动化测试平台中,使得自动化测试应用范围更加广泛,与测试人员的交互性更好,测试效率更高。4. The present invention can be extended to other automated testing platforms, making the application scope of automated testing wider, the interactivity with testers better, and the testing efficiency higher.

由此可见,本发明与现有技术相比,具有突出的实质性特点和显著的进步,其实施的有益效果也是显而易见的。It can be seen that compared with the prior art, the present invention has outstanding substantive features and significant progress, and the beneficial effects of its implementation are also obvious.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only These are embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on the provided drawings without exerting creative efforts.

附图1是本发明的方法流程图;Accompanying drawing 1 is the method flow chart of the present invention;

附图2是本发明的系统结构图。Figure 2 is a system structure diagram of the present invention.

图中,1为平台构建单元;2为测试线程创建单元;3为测试场景执行单元;4为数据标定单元;5为计算单元。In the figure, 1 is the platform construction unit; 2 is the test thread creation unit; 3 is the test scenario execution unit; 4 is the data calibration unit; 5 is the calculation unit.

具体实施方式Detailed ways

本发明的核心是提供一种开关电源MOS管的SOA测试方法,现有技术中,MOS管的SOA测试方法为手动测试,由于开关电源MOS管的SOA测试具有一定的特殊性,多出现在EFUSE器件的测试中,测试频次较少,但重要性较高。由于部分测试人员对于测试手法及测试标准熟悉程度不足,测试中不能注意到全部的关键测试节点,测试结果可能会出现错误,对研发过程产生不良影响。另外,手动测试的测试效率较低,测试结果需要人工判断并填写进测试报告中,与开关电源测试的自动化趋势相违背,且不利于测试数据的“云上分析”。The core of the present invention is to provide a SOA testing method for switching power supply MOS tubes. In the existing technology, the SOA testing method for MOS tubes is manual testing. Since the SOA testing of switching power supply MOS tubes has certain particularities, it often appears in EFUSE In the testing of devices, the frequency of testing is less, but the importance is higher. Because some testers are not familiar enough with testing methods and testing standards, they cannot pay attention to all key test nodes during testing, and the test results may be wrong, which will have a negative impact on the research and development process. In addition, the test efficiency of manual testing is low, and the test results need to be manually judged and filled in the test report, which goes against the automation trend of switching power supply testing and is not conducive to the "cloud analysis" of test data.

而本发明提供的开关电源MOS管的SOA测试方法,首先,构建基于Python的SOA测试平台。然后,启动基于Python的SOA测试平台,并创建独立的测试线程;测试线程创建后,通过调用内部定义函数完成测试资源的调用,并执行测试场景。在执行测试场景过程中,若收到用户中断,优先进行处理;当前测试场景结束后,生成测试数据和推荐的数据标定,并根据推荐的数据标定生成测试数据的数据标定。当所有的测试场景均已测试完成后,对所有测试场景的测试数据进行分析计算,并生成测试结果。由此可见,本发明实现了MOS管的SOA自动化测试,规范了测试流程,提供了测试结果的辅助分析工具,能够自动计算测试数据,降低了测试结果出现错误的可能性。As for the SOA testing method of switching power supply MOS tubes provided by the present invention, first, a Python-based SOA testing platform is constructed. Then, start the Python-based SOA test platform and create an independent test thread; after the test thread is created, the test resource is called by calling the internal defined function and the test scenario is executed. During the execution of the test scenario, if a user interrupt is received, it will be processed first; after the current test scenario ends, the test data and recommended data calibration will be generated, and the data calibration of the test data will be generated based on the recommended data calibration. After all test scenarios have been tested, analyze and calculate the test data of all test scenarios and generate test results. It can be seen that the present invention realizes SOA automated testing of MOS tubes, standardizes the testing process, provides auxiliary analysis tools for test results, can automatically calculate test data, and reduces the possibility of errors in test results.

为了使本技术领域的人员更好地理解本发明方案,下面结合附图和具体实施方式对本发明作进一步的详细说明。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are only some of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.

实施例一:Example 1:

如图1所示,本实施例提供了一种开关电源MOS管的SOA测试方法,包括如下步骤:As shown in Figure 1, this embodiment provides an SOA testing method for switching power supply MOS tubes, which includes the following steps:

S1:构建基于Python的SOA测试平台。S1: Build a Python-based SOA test platform.

具体为:使用QThread多线程方法构建平台架构,并分离UI界面与测试程序;采用图形化编程的PyQt库,并利用QSS语言编辑操作逻辑,构建操作界面;通过pythonwin32process库调用Windows系统API进行测试任务线程的即时暂停与恢复。Specifically: use the QThread multi-threading method to build the platform architecture and separate the UI interface and the test program; use the PyQt library for graphical programming, and use the QSS language to edit the operation logic and build the operation interface; use the pythonwin32process library to call the Windows system API for testing tasks Instant suspension and resumption of threads.

具体构建过程可在现有的SOA自动化测试平台进行修改,舍弃局限性较大的Tkinter库,采用图形化编程的PyQt库,配合QSS语言,使操作逻辑更加直观,操作界面更加友好。首先使用QThread多线程方法重构系统,分离UI界面与测试程序,保证了操作界面的流畅性;其次,通过python win32process库调用Windows系统API,即可实现测试任务线程的即时暂停与恢复。这给予了测试工程师极大的自由度,使得测试工程师可以在任何时刻介入自动化测试过程,并做出更改。The specific construction process can be modified on the existing SOA automated testing platform, abandoning the more limited Tkinter library and using the PyQt library for graphical programming, combined with the QSS language, to make the operation logic more intuitive and the operation interface more friendly. First, the QThread multi-threading method is used to reconstruct the system and separate the UI interface and the test program to ensure the smoothness of the operation interface; secondly, by calling the Windows system API through the python win32process library, the test task thread can be paused and resumed instantly. This gives test engineers great freedom, allowing test engineers to intervene in the automated testing process and make changes at any time.

S2:启动基于Python的SOA测试平台,加载板卡信息后,选择需要测试的供电线路,并创建独立的测试线程。S2: Start the Python-based SOA test platform, load the board information, select the power supply line to be tested, and create an independent test thread.

首先,启动基于Python的SOA测试平台。然后,加载板卡信息,本发明明确SOA测试中输入信号为“VDS”、“Input Current”,而非“Output Current”。最后,选择需要测试的Power Rail,确认信息后发布测试任务,创建独立的测试线程。First, start the Python-based SOA test platform. Then, the board information is loaded, and the present invention clarifies that the input signals in the SOA test are "VDS" and "Input Current", not "Output Current". Finally, select the Power Rail that needs to be tested, confirm the information, publish the test task, and create an independent test thread.

S3:测试线程创建后,通过调用内部定义函数完成测试资源的调用,并执行测试场景。S3: After the test thread is created, the test resource is called by calling the internal defined function and the test scenario is executed.

本发明明确了SOA测试的测试场景包括三个测试场景,即“Turn on with 100%load”,“Open short”,“Short Open”,并据此自动调用测试资源进行测试。The present invention clarifies that the test scenarios of SOA testing include three test scenarios, namely "Turn on with 100% load", "Open short", and "Short Open", and accordingly automatically calls test resources for testing.

S4:在执行测试场景过程中,若收到用户中断,优先进行处理。S4: During the execution of the test scenario, if a user interrupt is received, it will be processed first.

在测试过程中,如若测试工程师对测试过程有异议,可发起用户中断,基于Python的SOA测试平台将调用Windows API立即响应,挂起测试线程,待测试工程师处置妥当后,即可恢复测试线程。During the test, if the test engineer has objections to the test process, he or she can initiate a user interruption. The Python-based SOA test platform will call the Windows API to respond immediately and suspend the test thread. After the test engineer handles it properly, the test thread can be resumed.

S5:当前测试场景结束后,生成测试数据和推荐的数据标定,并根据推荐的数据标定生成测试数据的数据标定。S5: After the current test scenario ends, generate test data and recommended data calibration, and generate data calibration of the test data based on the recommended data calibration.

具体按照SOA测试规范对测试数据进行了默认标定,即MOS管开关过程中的最大电压、最大电流、开关时间,同时也保留了测试工程师修改的权利。Specifically, the test data is calibrated by default according to the SOA test specifications, that is, the maximum voltage, maximum current, and switching time during the switching process of the MOS tube. At the same time, the test engineer's right to modify is retained.

S6:判断当前所有的测试场景是否均已测试完成;若是,转到步骤S7;若否,转到步骤S6.1。S6: Determine whether all current test scenarios have been tested; if so, go to step S7; if not, go to step S6.1.

S6.1:选定执行任一未测试的测试场景,并转到步骤S3。S6.1: Select to execute any untested test scenario and go to step S3.

S7:对所有测试场景的测试数据进行分析计算,并生成测试结果。S7: Analyze and calculate the test data of all test scenarios and generate test results.

首先,启动预设算法计算三个测试场景测试数据的数据标定,生成数据标定结果。然后,使用python matplotlib库绘制双对数曲线坐标轴,生成参考坐标图,并将数据标定结果绘制在参考坐标图上。最后,将参考坐标图与预设的MOSFET Datasheet中的SOA曲线比对,若测试结果在所述SOA曲线下方,则测试结果为Pass,否则测试结果为Fail。First, start the preset algorithm to calculate the data calibration of the test data of the three test scenarios and generate the data calibration results. Then, use the python matplotlib library to draw the logarithmic curve coordinate axes, generate a reference coordinate plot, and plot the data calibration results on the reference coordinate plot. Finally, compare the reference coordinate diagram with the SOA curve in the preset MOSFET Datasheet. If the test result is below the SOA curve, the test result is Pass, otherwise the test result is Fail.

本实施例提供了一种开关电源MOS管的SOA测试方法,对现有的基于Python的自动化测试平台进行了重构,实现合理化的用户中断实现方式,优化了测试操作界面,针对测试过程中常见的问题,如输入信号错误、数据标定错误等,本发明对其进行了正确的设置,保证了设置的准确性与灵活性,从而规范了测试流程。同时,本发明也具有对测试结果的辅助分析工具,自动计算测试数据,降低了测试结果出现错误的可能性。This embodiment provides a SOA testing method for switching power supply MOS tubes. It reconstructs the existing Python-based automated testing platform to achieve a rational implementation of user interrupts, optimizes the test operation interface, and targets common problems during the test process. problems, such as input signal errors, data calibration errors, etc., the present invention correctly sets them, ensuring the accuracy and flexibility of the settings, thereby standardizing the test process. At the same time, the present invention also has an auxiliary analysis tool for test results, automatically calculates test data, and reduces the possibility of errors in test results.

实施例二:Example 2:

基于实施例一,如图2所示,本发明还公开了一种开关电源MOS管的SOA测试系统,包括:平台构建单元1、测试线程创建单元2、测试场景执行单元3、数据标定单元4和计算单元5。Based on the first embodiment, as shown in Figure 2, the present invention also discloses an SOA test system for switching power supply MOS tubes, including: a platform construction unit 1, a test thread creation unit 2, a test scenario execution unit 3, and a data calibration unit 4 and calculation unit 5.

平台构建单元1,用于构建基于Python的SOA测试平台。平台构建单元1具体用于:Platform building unit 1 is used to build a Python-based SOA test platform. Platform building unit 1 is specifically used for:

使用QThread多线程方法构建平台架构,并分离UI界面与测试程序;采用图形化编程的PyQt库,并利用QSS语言编辑操作逻辑,构建操作界面;通过python win32process库调用Windows系统API进行测试任务线程的即时暂停与恢复。Use the QThread multi-threading method to build the platform architecture and separate the UI interface and the test program; use the PyQt library for graphical programming, and use the QSS language to edit the operation logic and build the operation interface; call the Windows system API through the python win32process library to test the task thread Instant pause and resume.

测试线程创建单元2,用于启动基于Python的SOA测试平台,加载板卡信息后,选择需要测试的供电线路,并创建独立的测试线程。测试线程创建单元2具体用于:Test thread creation unit 2 is used to start the Python-based SOA test platform. After loading the board information, select the power supply line to be tested and create an independent test thread. Test thread creation unit 2 is specifically used for:

启动基于Python的SOA测试平台;加载板卡信息,读取板卡的VDS信号和InputCurrent信号;选择需要测试的供电线路,并创建独立的测试线程。Start the Python-based SOA test platform; load the board information, read the VDS signal and InputCurrent signal of the board; select the power supply line to be tested, and create an independent test thread.

测试场景执行单元3,用于通过调用内部定义函数完成测试资源的调用,并执行测试场景。本单元仅用于执行三个测试场景,即“Turn on with 100%load”,“Open short”,“Short Open”,并据此自动调用测试资源进行测试。The test scenario execution unit 3 is used to complete the invocation of test resources by calling internally defined functions and execute the test scenario. This unit is only used to execute three test scenarios, namely "Turn on with 100% load", "Open short", "Short Open", and automatically call test resources for testing accordingly.

数据标定单元4,用于生成测试数据和推荐的数据标定,并根据推荐的数据标定生成测试数据的数据标定。本单元按照SOA测试规范对测试数据进行了默认标定,即MOS管开关过程中的最大电压、最大电流、开关时间,同时也保留了测试工程师修改的权利。The data calibration unit 4 is used to generate test data and recommended data calibration, and generate data calibration of the test data based on the recommended data calibration. This unit performs default calibration on the test data in accordance with the SOA test specifications, that is, the maximum voltage, maximum current, and switching time during the switching process of the MOS tube. It also reserves the right of the test engineer to modify.

计算单元5,用于对所有测试场景的测试数据进行分析计算,并生成测试结果。计算单元5具体用于:Computing unit 5 is used to analyze and calculate the test data of all test scenarios and generate test results. Computing unit 5 is specifically used for:

启动预设算法计算测试数据的数据标定,生成数据标定结果;使用pythonmatplotlib库绘制双对数曲线坐标轴,生成参考坐标图,并将数据标定结果绘制在参考坐标图上。将参考坐标图与预设的MOSFET Datasheet中的SOA曲线比对,若测试结果在所述SOA曲线下方,则测试结果为Pass,否则测试结果为Fail。Start the preset algorithm to calculate the data calibration of the test data and generate the data calibration results; use the pythonmatplotlib library to draw the logarithmic curve coordinate axis, generate a reference coordinate diagram, and draw the data calibration results on the reference coordinate diagram. Compare the reference coordinate diagram with the SOA curve in the preset MOSFET Datasheet. If the test result is below the SOA curve, the test result is Pass, otherwise the test result is Fail.

本实施例提供了一种开关电源MOS管的SOA测试系统,结合现有基于Python的自动化测试平台,实现对开关电源MOS管的SOA的自动化测试,并对现有的基于Python的自动化测试平台进行了重构。本实施例针对所有测试场景的测试数据,使用合理的测试数据分析方案,使SOA测试变得更加标准化。This embodiment provides an SOA testing system for switching power supply MOS tubes, which is combined with the existing Python-based automated testing platform to realize automated testing of the SOA of switching power supply MOS tubes, and performs on the existing Python-based automated testing platform. refactored. This embodiment uses a reasonable test data analysis scheme for the test data of all test scenarios to make SOA testing more standardized.

实施例三:Embodiment three:

本实施例公开了一种开关电源MOS管的SOA测试装置,包括处理器和存储器;其中,所述处理器执行所述存储器中保存的开关电源MOS管的SOA测试程序时实现以下步骤:This embodiment discloses an SOA testing device for a switching power supply MOS tube, which includes a processor and a memory; wherein the processor implements the following steps when executing the SOA testing program for the switching power supply MOS tube stored in the memory:

步骤1:运行基于Python的SOA测试平台,加载板卡信息后,选择需要测试的PowerRail,确认信息后发布测试任务,系统将创建独立的测试线程。Step 1: Run the Python-based SOA test platform. After loading the board information, select the PowerRail that needs to be tested. After confirming the information, publish the test task. The system will create an independent test thread.

步骤2:测试线程创建后,基于Python的SOA测试平台调用内部定义函数自动调用测试资源,执行测试常场景。在此过程中,基于Python的SOA测试平台会自动分析测试场景是否符合SOA测试要求,并自动校准探棒,减小测试误差。Step 2: After the test thread is created, the Python-based SOA test platform calls internally defined functions to automatically call test resources and execute common test scenarios. During this process, the Python-based SOA test platform will automatically analyze whether the test scenario meets the SOA test requirements, and automatically calibrate the probe to reduce test errors.

步骤3:在测试过程中,如若测试工程师对测试过程有异议,可发起用户中断,基于Python的SOA测试平台将调用Windows API立即响应,挂起测试线程,待测试工程师处置妥当后,即可恢复测试线程。Step 3: During the test process, if the test engineer has objections to the test process, he or she can initiate a user interruption. The Python-based SOA test platform will call the Windows API to respond immediately and suspend the test thread. It can be resumed after the test engineer handles it properly. Test thread.

步骤4:待当前测试场景结束后,基于Python的SOA测试平台将给出推荐的数据标定,测试工程师可进行确认修改。完成数据标定后,将执行下一个测试场景,返回步骤2,若所有场景均已测试完成,则继续执行步骤5;Step 4: After the current test scenario ends, the Python-based SOA test platform will provide recommended data calibration, and the test engineer can confirm and modify it. After completing the data calibration, the next test scenario will be executed and return to step 2. If all scenarios have been tested, continue to step 5;

步骤5:对三种测试场景下的测试数据进行分析计算,在SOA曲线图内标出测试结果,并与MOSFET Datasheet中的SOA曲线比对,若测试结果在SOA曲线下方,则测试结果“Pass”,反之则“Fail”。Step 5: Analyze and calculate the test data in the three test scenarios, mark the test results in the SOA curve, and compare it with the SOA curve in the MOSFET Datasheet. If the test result is below the SOA curve, the test result is "Pass ”, otherwise it is “Fail”.

进一步的,本实施例中的开关电源MOS管的SOA测试装置,还可以包括:Furthermore, the SOA test device of the switching power supply MOS tube in this embodiment may also include:

输入接口,用于获取外界导入的开关电源MOS管的SOA测试程序,并将获取到的开关电源MOS管的SOA测试程序保存至所述存储器中,还可以用于获取外界终端设备传输的各种指令和参数,并传输至处理器中,以便处理器利用上述各种指令和参数展开相应的处理。本实施例中,所述输入接口具体可以包括但不限于USB接口、串行接口、语音输入接口、指纹输入接口、硬盘读取接口等。The input interface is used to obtain the SOA test program of the switching power supply MOS tube imported from the outside world, and save the obtained SOA test program of the switching power supply MOS tube to the memory. It can also be used to obtain various data transmitted by the external terminal equipment. Instructions and parameters are transmitted to the processor so that the processor can use the above various instructions and parameters to carry out corresponding processing. In this embodiment, the input interface may specifically include but is not limited to a USB interface, a serial interface, a voice input interface, a fingerprint input interface, a hard disk reading interface, etc.

输出接口,用于将处理器产生的各种数据输出至与其相连的终端设备,以便于与输出接口相连的其他终端设备能够获取到处理器产生的各种数据。本实施例中,所述输出接口具体可以包括但不限于USB接口、串行接口等。The output interface is used to output various data generated by the processor to the terminal device connected to it, so that other terminal devices connected to the output interface can obtain various data generated by the processor. In this embodiment, the output interface may specifically include but is not limited to a USB interface, a serial interface, etc.

通讯单元,用于在开关电源MOS管的SOA测试装置和外部服务器之间建立远程通讯连接,以便于开关电源MOS管的SOA测试装置能够将镜像文件挂载到外部服务器中。本实施例中,通讯单元具体可以包括但不限于基于无线通讯技术或有线通讯技术的远程通讯单元。The communication unit is used to establish a remote communication connection between the SOA test device of the switching power supply MOS tube and the external server, so that the SOA test device of the switching power supply MOS tube can mount the image file to the external server. In this embodiment, the communication unit may specifically include, but is not limited to, a remote communication unit based on wireless communication technology or wired communication technology.

键盘,用于获取用户通过实时敲击键帽而输入的各种参数数据或指令。The keyboard is used to obtain various parameter data or instructions input by the user by tapping the keycaps in real time.

显示器,用于运行服务器供电线路短路定位过程的相关信息进行实时显示。The display is used to display relevant information in real time during the short circuit positioning process of the server's power supply line.

鼠标,可以用于协助用户输入数据并简化用户的操作。The mouse can be used to assist users in data input and simplify user operations.

本实施例提供了一种开关电源MOS管的SOA测试装置,实现了MOS管的SOA自动化测试,规范了测试流程,提供了测试结果的辅助分析工具,能够自动计算测试数据,降低了测试结果出现错误的可能性。This embodiment provides an SOA testing device for switching power supply MOS tubes, realizes SOA automated testing of MOS tubes, standardizes the testing process, provides auxiliary analysis tools for test results, can automatically calculate test data, and reduces the occurrence of test results. Possibility of error.

实施例四:Embodiment 4:

本实施例还公开了一种可读存储介质,这里所说的可读存储介质包括随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动硬盘、CD-ROM或技术领域内所公知的任意其他形式的存储介质。可读存储介质中存储有开关电源MOS管的SOA测试程序,所述开关电源MOS管的SOA测试程序被处理器执行时实现以下步骤:This embodiment also discloses a readable storage medium. The readable storage medium mentioned here includes random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, Register, hard disk, removable hard disk, CD-ROM or any other form of storage medium known in the technical field. The SOA test program of the switching power supply MOS tube is stored in the readable storage medium. When the SOA test program of the switching power supply MOS tube is executed by the processor, the following steps are implemented:

步骤1:运行基于Python的SOA测试平台,加载板卡信息后,选择需要测试的PowerRail,确认信息后发布测试任务,系统将创建独立的测试线程。Step 1: Run the Python-based SOA test platform. After loading the board information, select the PowerRail that needs to be tested. After confirming the information, publish the test task. The system will create an independent test thread.

步骤2:测试线程创建后,基于Python的SOA测试平台调用内部定义函数自动调用测试资源,执行测试常场景。在此过程中,基于Python的SOA测试平台会自动分析测试场景是否符合SOA测试要求,并自动校准探棒,减小测试误差。Step 2: After the test thread is created, the Python-based SOA test platform calls internally defined functions to automatically call test resources and execute common test scenarios. During this process, the Python-based SOA test platform will automatically analyze whether the test scenario meets the SOA test requirements, and automatically calibrate the probe to reduce test errors.

步骤3:在测试过程中,如若测试工程师对测试过程有异议,可发起用户中断,基于Python的SOA测试平台将调用Windows API立即响应,挂起测试线程,待测试工程师处置妥当后,即可恢复测试线程。Step 3: During the test process, if the test engineer has objections to the test process, he or she can initiate a user interruption. The Python-based SOA test platform will call the Windows API to respond immediately and suspend the test thread. It can be resumed after the test engineer handles it properly. Test thread.

步骤4:待当前测试场景结束后,基于Python的SOA测试平台将给出推荐的数据标定,测试工程师可进行确认修改。完成数据标定后,将执行下一个测试场景,返回步骤2,若所有场景均已测试完成,则继续执行步骤5;Step 4: After the current test scenario ends, the Python-based SOA test platform will provide recommended data calibration, and the test engineer can confirm and modify it. After completing the data calibration, the next test scenario will be executed and return to step 2. If all scenarios have been tested, continue to step 5;

步骤5:对三种测试场景下的测试数据进行分析计算,在SOA曲线图内标出测试结果,并与MOSFET Datasheet中的SOA曲线比对,若测试结果在SOA曲线下方,则测试结果“Pass”,反之则“Fail”。Step 5: Analyze and calculate the test data in the three test scenarios, mark the test results in the SOA curve, and compare it with the SOA curve in the MOSFET Datasheet. If the test result is below the SOA curve, the test result is "Pass ”, otherwise it is “Fail”.

本实施例提供了一种可读存储介质,在现有的自动化测试平台基础上,实现合理化的用户中断实现方式,优化了测试操作界面,使测试过程具备更高的自由度。解决了MOSFET SOA不能接入自动化测试系统这一痛点问题,并使用合理的测试数据分析方案,使SOA测试变得更加标准化。This embodiment provides a readable storage medium, which implements a rational user interrupt implementation method based on the existing automated test platform, optimizes the test operation interface, and enables a higher degree of freedom in the test process. It solves the problem that MOSFET SOA cannot be connected to the automated test system, and uses a reasonable test data analysis solution to make SOA testing more standardized.

另外,本发明还可以推广到其他的自动化测试平台中,使得自动化测试应用范围更加广泛,与测试人员的交互性更好,测试效率更高。In addition, the present invention can also be extended to other automated testing platforms, making the application range of automated testing wider, the interactivity with testers better, and the testing efficiency higher.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。对于实施例公开的方法而言,由于其与实施例公开的系统相对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in this specification is described in a progressive manner. Each embodiment focuses on its differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. As for the method disclosed in the embodiment, since it corresponds to the system disclosed in the embodiment, the description is relatively simple. For relevant details, please refer to the description in the method section.

专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art may further realize that the units and algorithm steps of each example described in connection with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. In order to clearly illustrate the possible functions of hardware and software, Interchangeability, in the above description, the composition and steps of each example have been generally described according to functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered to be beyond the scope of the present invention.

在本发明所提供的几个实施例中,应该理解到,所揭露的系统、系统和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,系统或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed systems, systems and methods can be implemented in other ways. For example, the system embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, indirect coupling or communication connection of the system or unit, which may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个单元中。In addition, each functional module in various embodiments of the present invention can be integrated into a processing unit, or each module can exist physically alone, or two or more modules can be integrated into one unit.

同理,在本发明各个实施例中的各处理单元可以集成在一个功能模块中,也可以是各个处理单元物理存在,也可以两个或两个以上处理单元集成在一个功能模块中。Similarly, each processing unit in various embodiments of the present invention may be integrated into one functional module, or each processing unit may exist physically, or two or more processing units may be integrated into one functional module.

结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly in hardware, in software modules executed by a processor, or in a combination of both. Software modules may be located in random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs, or anywhere in the field of technology. any other known form of storage media.

最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or any such actual relationship or sequence between operations. Furthermore, the terms "comprises," "comprises," or any other variations thereof are intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus that includes a list of elements includes not only those elements, but also those not expressly listed other elements, or elements inherent to the process, method, article or equipment. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or apparatus that includes the stated element.

以上对本发明所提供的RBD虚拟机的批量升级方法、系统、装置及可读存储介质进行了详细介绍。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。The above has introduced in detail the batch upgrade method, system, device and readable storage medium of RBD virtual machines provided by the present invention. This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method and the core idea of the present invention. It should be noted that those skilled in the art can make several improvements and modifications to the present invention without departing from the principles of the present invention, and these improvements and modifications also fall within the scope of the claims of the present invention.

Claims (8)

1. The SOA test method for the switching power supply MOS tube is characterized by comprising the following steps of:
s1: constructing an SOA test platform based on Python;
s2: starting an SOA test platform based on Python, selecting a power supply line to be tested after loading the board card information, and creating an independent test thread;
s3: after the test thread is created, the call of the test resource is completed by calling the internal definition function, and the test scene is executed;
s4: in the process of executing the test scene, if receiving the user interrupt, processing preferentially;
s5: after the current test scene is finished, generating test data and recommended data calibration, and generating data calibration of the test data according to the recommended data calibration;
s6: judging whether all current test scenes are tested; if yes, go to step S7; if not, selecting and executing any untested test scene, and turning to step S3;
s7: analyzing and calculating the test data of all the test scenes, and generating test results;
the step S1 includes:
constructing a platform architecture by using a QThread multithreading method, and separating a UI interface and a test program;
adopting a PyQt library of graphical programming, and editing operation logic by using a QSS language to construct an operation interface;
instant suspension and recovery of the test task thread are carried out by calling the Windows system API through the pythonwin32process library;
the test scene comprises: turnonwith100% load;
the step S7 includes:
starting a preset algorithm to calculate data calibration of the test data, and generating a data calibration result;
drawing a double logarithmic curve coordinate axis by using a pythonomatoplotlib library to generate a reference coordinate graph;
drawing a data calibration result on a reference coordinate graph;
comparing the reference coordinate graph with an SOA curve in a preset MOSFETDatasheet, if the test result is below the SOA curve, the test result is Pass, otherwise, the test result is Fail.
2. The SOA test method of a switching power supply MOS transistor according to claim 1, wherein the step S2 includes:
starting an SOA test platform based on Python;
loading the board card information, and reading a VDS signal and an inputCurrent signal of the board card;
the power supply line to be tested is selected and an independent test thread is created.
3. The SOA test method of a switching power supply MOS transistor according to claim 1, wherein the test scenario further comprises: openshort and ShortOpen.
4. The SOA test method of a switching power supply MOS transistor according to claim 1, wherein the step S4 includes:
in the process of executing the test scene, if a test engineer is objection to the test process, manually initiating user interruption; and the SOA test platform calls the WindowsAPI to respond immediately after receiving the user interrupt, and suspends the test thread until the test thread is restored after the user interrupt is canceled.
5. The SOA test method of a switching power supply MOS transistor according to claim 1, wherein the test data includes a maximum voltage, a maximum current and a switching time of the MOS transistor during switching.
6. A system configured to perform the SOA test method of the switching power supply MOS transistor of claim 1, comprising:
the platform construction unit is used for constructing an SOA test platform based on Python;
the test thread creation unit is used for starting the SOA test platform based on Python, selecting a power supply line to be tested after loading the board card information, and creating an independent test thread;
the test scene execution unit is used for completing the call of the test resource by calling the internal definition function and executing the test scene;
the data calibration unit is used for generating test data and recommended data calibration, and generating data calibration of the test data according to the recommended data calibration;
the calculation unit is used for analyzing and calculating the test data of all the test scenes and generating test results.
7. The SOA testing device of the switching power supply MOS tube is characterized by comprising:
the memory is used for storing an SOA test program of the switching power supply MOS tube;
the processor is used for realizing the steps of the SOA testing method of the switching power supply MOS tube according to any one of claims 1 to 5 when the SOA testing program of the switching power supply MOS tube is executed.
8. A readable storage medium, characterized by: the readable storage medium stores an SOA test program of the switching power supply MOS transistor, and the SOA test program of the switching power supply MOS transistor realizes the steps of the SOA test method of the switching power supply MOS transistor according to any one of claims 1 to 5 when executed by the processor.
CN202110680999.9A 2021-06-18 2021-06-18 SOA test method, system and device for switching power supply MOS tube and readable storage medium Active CN113608089B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110680999.9A CN113608089B (en) 2021-06-18 2021-06-18 SOA test method, system and device for switching power supply MOS tube and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110680999.9A CN113608089B (en) 2021-06-18 2021-06-18 SOA test method, system and device for switching power supply MOS tube and readable storage medium

Publications (2)

Publication Number Publication Date
CN113608089A CN113608089A (en) 2021-11-05
CN113608089B true CN113608089B (en) 2023-11-03

Family

ID=78336562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110680999.9A Active CN113608089B (en) 2021-06-18 2021-06-18 SOA test method, system and device for switching power supply MOS tube and readable storage medium

Country Status (1)

Country Link
CN (1) CN113608089B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116125243B (en) * 2023-03-06 2023-07-04 迈思普电子股份有限公司 MOS tube SOA test fixture and test method thereof

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101571802A (en) * 2009-06-19 2009-11-04 北京航空航天大学 Visualization automatic generation method of embedded software test data and system thereof
CN101893677A (en) * 2010-07-07 2010-11-24 佛山市蓝箭电子有限公司 Test device and test method of triode under reverse biased safe operating area
CN101989201A (en) * 2009-08-07 2011-03-23 佛山市顺德区顺达电脑厂有限公司 Method for automatically generating test coverage rate of flying probe test program
CN102931113A (en) * 2011-08-09 2013-02-13 无锡华润上华科技有限公司 Method and system for testing safe operating area of semiconductor device
CN104090223A (en) * 2014-07-16 2014-10-08 西安芯派电子科技有限公司 Verification platform and test method for field effect transistor SOA curve
CN104122921A (en) * 2013-04-23 2014-10-29 罗伯特·博世(澳大利亚)私人有限公司 Method of constraining a safe operating area locus for a power semiconductor device
KR20160008118A (en) * 2015-10-14 2016-01-21 주식회사 에스원 Automatic Safety Setting and Clearing System of Safety Area by Using Sensor System with Wireless Communication Module and Mobile Terminal
CN107273286A (en) * 2017-06-02 2017-10-20 携程计算机技术(上海)有限公司 For the scene automatic test platform and method of task application
CN107634641A (en) * 2017-09-11 2018-01-26 郑州云海信息技术有限公司 An automatic debugging system and method based on a switching power supply automatic test platform
CN110647463A (en) * 2019-08-30 2020-01-03 中国人民财产保险股份有限公司 Method and device for restoring test breakpoint and electronic equipment
CN111045921A (en) * 2019-10-12 2020-04-21 平安普惠企业管理有限公司 Automated interface testing method, device, computer equipment and storage medium
CN111487520A (en) * 2020-04-27 2020-08-04 全球能源互联网研究院有限公司 IGBT module testing method and device and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040205406A1 (en) * 2000-05-12 2004-10-14 Marappa Kaliappan Automatic test system for testing remote target applications on a communication network
US9753842B2 (en) * 2014-05-09 2017-09-05 Wipro Limited System and method for creating universal test script for testing variants of software application

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101571802A (en) * 2009-06-19 2009-11-04 北京航空航天大学 Visualization automatic generation method of embedded software test data and system thereof
CN101989201A (en) * 2009-08-07 2011-03-23 佛山市顺德区顺达电脑厂有限公司 Method for automatically generating test coverage rate of flying probe test program
CN101893677A (en) * 2010-07-07 2010-11-24 佛山市蓝箭电子有限公司 Test device and test method of triode under reverse biased safe operating area
CN102931113A (en) * 2011-08-09 2013-02-13 无锡华润上华科技有限公司 Method and system for testing safe operating area of semiconductor device
CN104122921A (en) * 2013-04-23 2014-10-29 罗伯特·博世(澳大利亚)私人有限公司 Method of constraining a safe operating area locus for a power semiconductor device
CN104090223A (en) * 2014-07-16 2014-10-08 西安芯派电子科技有限公司 Verification platform and test method for field effect transistor SOA curve
KR20160008118A (en) * 2015-10-14 2016-01-21 주식회사 에스원 Automatic Safety Setting and Clearing System of Safety Area by Using Sensor System with Wireless Communication Module and Mobile Terminal
CN107273286A (en) * 2017-06-02 2017-10-20 携程计算机技术(上海)有限公司 For the scene automatic test platform and method of task application
CN107634641A (en) * 2017-09-11 2018-01-26 郑州云海信息技术有限公司 An automatic debugging system and method based on a switching power supply automatic test platform
CN110647463A (en) * 2019-08-30 2020-01-03 中国人民财产保险股份有限公司 Method and device for restoring test breakpoint and electronic equipment
CN111045921A (en) * 2019-10-12 2020-04-21 平安普惠企业管理有限公司 Automated interface testing method, device, computer equipment and storage medium
CN111487520A (en) * 2020-04-27 2020-08-04 全球能源互联网研究院有限公司 IGBT module testing method and device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
功率晶体管安全工作区测试仪的研制;胡寿椿 等;电子产品可靠性与环境试验(第6期);第61-66页 *

Also Published As

Publication number Publication date
CN113608089A (en) 2021-11-05

Similar Documents

Publication Publication Date Title
CN108763076A (en) A kind of Software Automatic Testing Method, device, equipment and medium
CN109558328B (en) A code coverage test method, system, device and readable storage medium
CN112084110B (en) Data processing method, device, equipment and storage medium
CN113360144B (en) Auxiliary processing method, device, storage medium and program product for software development
CN105143895A (en) Automated generation of a test class pre-header from an interactive graphical user interface
CN110347559A (en) A kind of test method of server energy consumption, device, equipment and readable storage medium storing program for executing
CN112149136A (en) Method, system and electronic device for detecting firmware vulnerability of IoT device
CN113608089B (en) SOA test method, system and device for switching power supply MOS tube and readable storage medium
CN111190089B (en) Method and device for determining jitter time, storage medium and electronic equipment
CN117707983A (en) Test case code generation method and related equipment
CN112445692B (en) A use case testing method and terminal
CN118606211A (en) Test script generation method, device, electronic equipment and vehicle
CN104615539A (en) Measurement parameter processing method and system
CN115291963B (en) Method for configuring hardware resources, electronic device and storage medium
CN111078562A (en) Interface testing method, terminal device and computer-readable storage medium
CN117435483A (en) Form tool-based simulation verification excitation generation method, device, medium and terminal
CN111031015B (en) Verification method, device, equipment and storage medium of hybrid protocol conversion design
KR101476536B1 (en) The method and system for inspecting program
CN115062571A (en) Method, system, device and computer readable storage medium for dynamic selection of data region applied to integrated circuit device
CN111240972A (en) A source code-based model verification device
CN112597717B (en) IP verification method and device and electronic equipment
CN116306409B (en) Chip verification method, device, equipment and storage medium
CN118509355B (en) A protocol analysis test method, device, equipment and storage medium
RU2817186C1 (en) System for confirming tests and testing embedded software of electronic devices
CN113836016B (en) Writing interface storage quality testing method, system, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant