An automatic testing method and system based on a programmed power supply

Through the coordinated control of the programmable power supply and the electric propulsion device, the testing of electronic equipment is fully automated, which solves the problem of time-consuming and labor-intensive manual operation in traditional testing, improves testing efficiency and safety, and meets the automation and consistency requirements of high-reliability equipment.

CN122193985APending Publication Date: 2026-06-12BEIJING INST OF ENVIRONMENTAL FEATURES

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING INST OF ENVIRONMENTAL FEATURES
Filing Date
2026-03-18
Publication Date
2026-06-12

AI Technical Summary

Technical Problem

In traditional electronic equipment reliability testing, the testing process, which relies on manual operation, is time-consuming and labor-intensive, making it difficult to guarantee the stability and consistency of long-term continuous testing, thus becoming a bottleneck for improving testing efficiency and automation.

Method used

An automatic testing system based on a programmable power supply is adopted. Through the coordination of the programmable power supply and the electric push device by the host computer control software, the fully automatic testing of the hardware start signal is realized, including the coordinated action of the power-on and power-off commands of the programmable power supply and the push-pull control commands of the electric push device.

Benefits of technology

It has achieved fully automated and unattended operation of the testing process, improved testing efficiency and automation level, ensured testing consistency, saved manpower and time costs, and improved testing security and fault location efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122193985A_ABST
    Figure CN122193985A_ABST
Patent Text Reader

Abstract

The application discloses an automatic testing method and system based on a program-controlled power supply, and belongs to the technical field of electronic equipment testing. Host computer control software runs on a testing computer, and is used for configuring testing process parameters and outputting control instructions. The program-controlled power supply is connected with the testing computer through a network port, receives power-on and power-off instructions from the host computer control software, and provides a programmable power supply for a device to be tested. The electric push device comprises a control box, an electric push rod and a tool recess. The control box is connected with the testing computer through a serial port, and receives push and pull control instructions from the host computer control software. The tool recess is used for fixing a switch handle on the device to be tested, and drives the switch handle to move under the drive of the electric push rod, so as to send a hardware start signal. The host computer control software controls the program-controlled power supply and the electric push device to cooperatively act according to a preset process by coordinating the sending of the power-on and power-off instructions and the push and pull control instructions. The application significantly improves testing efficiency and automation level.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electronic equipment testing technology, and in particular to an automatic testing method and system based on a programmable power supply. Background Technology

[0002] In the field of electronic equipment reliability testing, especially for equipment that needs to be triggered by a hardware switch (such as a toggle switch) and requires long-term cyclic power-off testing (such as aging tests), traditional testing methods rely heavily on manual operation. Testers need to manually control the power supply and toggle the switch to send signals, which makes the testing process time-consuming and laborious, and makes it difficult to guarantee the stability and consistency of long-term continuous testing, becoming the main bottleneck to improving testing efficiency and automation.

[0003] Therefore, there is an urgent need to provide an automatic testing method and system based on programmable power supplies. Summary of the Invention

[0004] This invention provides an automatic testing method and system based on a programmable power supply, which can improve testing efficiency and automation level. The technical solution is as follows: On one hand, the present invention provides an automatic testing system based on a programmable power supply, the system comprising a test computer, a programmable power supply, an electric propulsion device, and host computer control software, wherein: The host computer control software runs on the test computer and is used to configure test process parameters and output control commands; The programmable power supply is connected to the test computer via a network port, receives power-on and power-off commands from the host computer control software, and provides programmable power to the device under test. The electric actuator includes a control box, an electric actuator rod, and a tooling groove. The control box is connected to the test computer via a serial port and receives push-pull control commands from the host computer control software. The tooling groove is used to fix the switch lever on the device under test and drives the switch lever to move under the drive of the electric actuator rod to send a hardware start signal. The host computer control software coordinates the sending of the power-on / off command and the push-pull control command to control the programmable power supply and the electric push device to work together according to a preset process, thereby realizing fully automatic testing of equipment that requires a hardware start signal.

[0005] On the other hand, an automatic testing method based on a programmable power supply is provided, the method comprising: Configure the test process parameters using the host computer control software; The host computer control software is used to start the automatic test process, and a power-on command is sent to the programmable power supply according to the test process parameters. After the preset delay is reached, the host computer control software sends test commands to the device under test in sequence, and controls the electric push device to drive the switch lever to send a hardware start signal. After a single test process is completed, the host computer control software is used to control the programmable power supply to send a power-off command and control the electric push device to reset. The test process is executed repeatedly until the preset number of tests is reached.

[0006] This invention provides an automatic testing method and system based on a programmable power supply. Through the coordinated control of the programmable power supply and the electric propulsion device by host computer control software, the testing process is fully automated and unattended, significantly improving testing efficiency and automation levels, ensuring test consistency, and greatly saving manpower and time costs. The designed electric propulsion device solves the technical challenge of automatic triggering of hardware control signals, and its cooperation with the anomaly monitoring mechanism improves test safety and fault location efficiency. Full-process parameterized configuration and complete data recording functions make the testing process highly repeatable and traceable, thus fully meeting the stringent requirements of high-reliability equipment for automation and high consistency. Attached Figure Description

[0007] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0008] Figure 1 This is a schematic diagram of an automatic testing system based on a programmable power supply provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of a switch range measurement according to an embodiment of the present invention; Figure 3 This is a schematic diagram of an electric propulsion device according to an embodiment of the present invention; Figure 4 This is a schematic diagram of an electric propulsion device provided in an embodiment of the present invention. Detailed Implementation

[0009] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.

[0010] The specific implementation of the above concept is described below.

[0011] Please refer to Figure 1 This invention provides an automatic testing system based on a programmable power supply. The system includes a test computer, a programmable power supply, an electric propulsion device, and host computer control software, wherein: The host computer control software runs on the test computer and is used to configure test process parameters and output control commands; The programmable power supply is connected to the test computer via the network port, receives power-on and power-off commands from the host computer control software, and provides programmable power to the device under test. The electric actuator includes a control box, an electric actuator rod, and a tooling groove. The control box is connected to the test computer via a serial port and receives push-pull control commands from the host computer control software. The tooling groove is used to fix the switch lever on the device under test and drives the switch lever to move under the drive of the electric actuator rod to send a hardware start signal. The host computer control software coordinates the sending of power-on / off commands and push-pull control commands to control the programmable power supply and electric push device to work together according to a preset process, thereby realizing fully automatic testing of equipment that requires hardware start signals.

[0012] In this invention, the coordinated control of the programmable power supply and the electric propulsion device via host computer control software firstly achieves fully automated and unattended operation of the testing process, significantly improving testing efficiency and automation level, ensuring testing consistency, and greatly saving manpower and time costs. The designed electric propulsion device solves the technical problem of automatic triggering of hardware control signals, and its cooperation with the anomaly monitoring mechanism improves testing safety and fault location efficiency. The full-process parameterized configuration and complete data recording function make the testing process highly repeatable and traceable, thus fully meeting the stringent requirements of high-reliability equipment for automation and high consistency.

[0013] In this embodiment of the invention, the dimensions of the tooling groove are designed according to the stroke of the switch lever.

[0014] like Figure 2 As shown, points A and B are where the toggle switch is in the on / off state. Measure the distance L1 between points A and B, and design according to this range. Figure 3 The dimensions of the tooling groove are designed to ensure that the A-end wall and B-end wall of the tooling groove can precisely match the movement trajectory of the lever, achieving stable and accurate switching of the switch state.

[0015] The following is combined Figure 3 , Figure 4 The structure and execution process of the electric propulsion device are explained.

[0016] like Figure 4As shown, the electric actuator is an independent module, comprising an electric actuator control box, an electric actuator rod, and a tooling groove. The electric actuator control box is connected to the test computer via a serial port to receive and parse instructions from the host computer control software. The electric actuator rod performs linear reciprocating motion under the drive of the control box, and the specific execution flow is as follows: Figure 3 As shown, the switch lever is fixed in the fixture groove, and the electric actuator is fixed to the fixture groove through the fixture. When the test process requires sending an "on" signal, the host computer control software drives the electric actuator to perform a pull operation through the control box, so that the A end wall of the groove contacts and pushes the lever to the switch open position. When a "off" or reset signal needs to be sent, the electric actuator is driven to perform a push operation, so that the B end wall of the groove contacts and pushes the lever to the closed position, thereby accurately and reliably completing the automatic transmission of hardware control signals.

[0017] In this embodiment of the invention, the test process parameters include at least one of the following: number of tests, command sending order, command interval time, and power-on / off interval time between two tests.

[0018] In this invention, the combination of these parameters defines a complete and repeatable automated test process. Users can flexibly set the parameters according to specific test requirements. For example, the parameters can be set to "send command 1 after a 5-second delay after power-on, send command 2 after a 3-second interval, trigger the hardware start signal 5 seconds after command 3 is sent, run for 30 minutes and then power off, and start the next test cycle after a 10-minute interval".

[0019] Furthermore, the test process parameters support cyclic configuration.

[0020] In this invention, by setting the total number of tests (e.g., 1000) in the host computer control software, the system can automatically and continuously execute the "power-on-test-power-off-interval" cycle according to the configured single-process parameters until the preset number is reached. This is particularly suitable for scenarios such as aging tests that require long-term operation, and can complete continuous testing at night or across days and nights without manual intervention, greatly improving testing efficiency and equipment utilization.

[0021] In this embodiment of the invention, the host computer control software has a built-in timing module, which is used to trigger the timing sequence of sending power-on / power-off commands and push-pull control commands according to the configured test process parameters.

[0022] In this invention, the timing module built into the host computer control software is a key component for ensuring the timing accuracy of the test process. This module achieves high-precision timing at the software level, accurately calculating and triggering the transmission time of each control command based on configured parameters such as instruction interval time and power-on / off interval time. This ensures that the power-on / off operations of the programmable power supply, the triggering of the electric actuator, and the transmission of software commands strictly conform to the preset process in the time dimension, eliminating timing errors caused by manual operation or simple timers.

[0023] In this embodiment of the invention, the host computer control software has an anomaly monitoring function. When an anomaly is detected in the communication of the device under test, the test process is automatically paused, and the current power supply status of the programmable power supply is maintained.

[0024] During automated testing, the host computer control software continuously monitors the communication status and feedback data with the device under test. If a communication timeout, data format error, or content anomaly (such as an abnormal status code) is detected, the software automatically identifies a fault, immediately suspends the ongoing test process, and simultaneously sends a command to the programmable power supply to maintain the current power output state. This effectively "freezes" the fault location, providing a stable and realistic electrical environment for test personnel to subsequently connect debugging tools and analyze the cause of the fault, greatly facilitating problem localization and troubleshooting.

[0025] In this embodiment of the invention, the host computer control software is also used to record in real time the sending records of control commands, the status information of the programmable power supply, the action log of the electric propulsion device, and the feedback data of the device under test, and to generate a complete test process log file.

[0026] In this invention, the host computer control software synchronously records all key information during the testing process, including: each control command issued by the software and its timestamp, the real-time voltage and current values ​​of each channel of the programmable power supply, the record of each "push" or "pull" action of the electric actuator, and all communication data returned by the device under test. This data is structured and stored as a log file, which can be used not only for result verification and report generation after the test is completed, but also for precise data backtracking in case of problems, helping to quickly pinpoint whether the anomaly occurred in the test command, power output, signal triggering, or device response.

[0027] In this embodiment of the invention, the host computer control software provides a manual intervention interface, which is used to receive stop commands from external input so as to interrupt the test at any time during the test process.

[0028] In this invention, the manual intervention interface embodies the system's human-computer interaction and safety control capabilities. Although the test process can run automatically, in actual testing, it may need to be terminated prematurely due to various situations (such as observing a suspected anomaly, needing to temporarily insert other checks, etc.). The "Stop Test" button or corresponding command interface provided by the host computer control software allows testers to actively interrupt the automatic test loop at any time. Upon receiving the stop command, the software will safely terminate the subsequent process and may execute a series of safety operations according to preset strategies (such as stopping the sending of new commands, resetting the electric propulsion device, etc.), ensuring the operator's absolute control over the test process.

[0029] This embodiment also provides an automatic testing method based on a programmable power supply, applicable to any of the embodiments described above. The method includes: Configure the test process parameters using the host computer control software; The host computer control software is used to start the automatic test process and send a power-on command to the programmable power supply according to the test process parameters. After the preset delay is reached, the host computer control software sends test commands to the device under test in sequence, and controls the electric push device to drive the switch lever to send a hardware start signal. After a single test process is completed, the host computer control software is used to control the programmable power supply to send a power-off command and control the electric push device to reset. The test process is executed repeatedly until the preset number of tests is reached.

[0030] Furthermore, during the cyclic execution of the test process, the communication status and feedback data of the device under test are monitored in real time. If an abnormality is detected, the current cycle is interrupted, an alarm message is issued, and the programmable power supply is kept powered on.

[0031] For ease of description, the above systems are described by dividing them into various modules or units based on their functions. Of course, in implementing this application, the functions of each unit can be implemented in one or more software and / or hardware components.

[0032] Storage media embodiments for providing program code include floppy disks, hard disks, magneto-optical disks, optical disks (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), magnetic tapes, non-volatile memory cards, and ROMs. Alternatively, program code can be downloaded from a server computer via a communication network.

[0033] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of this application.

[0034] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0035] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An automatic testing system based on a programmable power supply, characterized in that, The system includes a test computer, a programmable power supply, an electric propulsion device, and host computer control software, wherein: The host computer control software runs on the test computer and is used to configure test process parameters and output control commands; The programmable power supply is connected to the test computer via a network port, receives power-on and power-off commands from the host computer control software, and provides programmable power to the device under test. The electric actuator includes a control box, an electric actuator rod, and a tooling groove. The control box is connected to the test computer via a serial port and receives push-pull control commands from the host computer control software. The tooling groove is used to fix the switch lever on the device under test and drives the switch lever to move under the drive of the electric actuator rod to send a hardware start signal. The host computer control software coordinates the sending of the power-on / off command and the push-pull control command to control the programmable power supply and the electric push device to work together according to a preset process, thereby realizing fully automatic testing of equipment that requires a hardware start signal.

2. The system according to claim 1, characterized in that, The dimensions of the tooling groove are designed according to the stroke of the switch lever.

3. The system according to claim 1, characterized in that, The test process parameters include at least one of the following: number of tests, command sending order, command interval time, and power-on / off interval time between two tests.

4. The system according to claim 3, characterized in that, The test process parameters support cyclic configuration.

5. The system according to claim 1, characterized in that, The host computer control software has a built-in timing module, which is used to trigger the timing sequence of sending the power-on / off command and the push-pull control command according to the configured test process parameters.

6. The system according to claim 1, characterized in that, The host computer control software has an anomaly monitoring function. When an anomaly is detected in the communication of the device under test, the test process is automatically paused, and the current power supply status of the programmable power supply is maintained.

7. The system according to claim 1, characterized in that, The host computer control software is also used to record in real time the transmission records of the control commands, the status information of the programmable power supply, the action log of the electric propulsion device, and the feedback data of the device under test, and generate a complete test process log file.

8. The system according to claim 1, characterized in that, The host computer control software provides a manual intervention interface, which is used to receive stop commands from external input to interrupt the test at any time during the test process.

9. An automatic testing method based on a programmable power supply, characterized in that, The method, applied to the system as described in any one of claims 1 to 8, comprises: Configure the test process parameters using the host computer control software; The host computer control software is used to start the automatic test process, and a power-on command is sent to the programmable power supply according to the test process parameters. After the preset delay is reached, the host computer control software sends test commands to the device under test in sequence, and controls the electric push device to drive the switch lever to send a hardware start signal. After a single test process is completed, the host computer control software is used to control the programmable power supply to send a power-off command and control the electric push device to reset. The test process is executed repeatedly until the preset number of tests is reached.

10. The method according to claim 9, characterized in that, During the cyclic execution of the test process, the communication status and feedback data of the device under test are monitored in real time. If an abnormality is detected, the current cycle is interrupted, an alarm message is issued, and the power supply of the programmable power supply is kept powered on.