An automatic test control method, apparatus, equipment and storage medium
By using automated test control methods, relays and energy savers are used to achieve automatic load control in power equipment testing, which solves the problems of cumbersome testing and uncontrollable risks, improves testing efficiency and safety, and reduces resource consumption.
Patent Information
- Application Number
- CN202211663451.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-23
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2042-12-23
AI Technical Summary
The lack of suitable automated testing equipment in current power supply equipment testing makes testing cumbersome and risks uncontrollable.
An automatic test and control method is adopted, which controls the relay to open or close by acquiring detection information. Input, output and short-circuit relays are connected in series or parallel in the power supply and load circuits to realize the automatic connection and disconnection of the load. Combined with energy savers to reduce resource consumption, an alarm module is added to feed back abnormal information.
It improves testing efficiency and safety, saves costs, increases the diversity and reliability of testing, and ensures the normal operation of testing equipment.
Smart Images

Figure CN116047197B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of testing, and in particular to an automatic testing control method, apparatus, equipment, and storage medium. Background Technology
[0002] With the rapid development of science and technology and society, the power supply field has also experienced rapid growth, especially in the last two years with the development of 5G technology, which has led to the booming development of the power supply industry, particularly communication power supply equipment. However, in the field of power supply equipment testing fixtures, there is currently no suitable testing fixture or device available for reliability testing.
[0003] Currently, the common testing method in laboratories is to manually control the load circuit breaker to connect and disconnect the load. This improves testing efficiency by shortening the testing time and reducing the number of tests. However, it also faces risks such as insufficient testing rigor and uncontrollable risks. Summary of the Invention
[0004] In view of this, the purpose of the present invention is to provide an automatic test control method, apparatus, device and storage medium, which solves the problem of cumbersome testing in the prior art.
[0005] To solve the above-mentioned technical problems, the present invention provides an automatic test control method, comprising:
[0006] Obtain testing information and the sample to be tested;
[0007] The corresponding relays are controlled to open or close according to the detection information to obtain output information; the relays include input relays, output relays and short-circuit relays, the input relays are connected in series in the power supply input circuit, the output relays are connected in series in the load output circuit, and the short-circuit relays are connected in parallel in the load output circuit;
[0008] If the output information is normal, then the tested sample is normal.
[0009] Optionally, acquiring the detection information includes:
[0010] Get the test mode, number of tests, and disconnection time.
[0011] Optionally, the input relay is connected in series in the power supply input circuit, the output relay is connected in series in the load output circuit, and the short-circuit relay is connected in parallel in the load output circuit, further comprising:
[0012] The control coil KM1 of the input relay is connected to the control circuit through a first energy-saving device; the control coil KM2 of the output relay is connected to the control circuit through a second energy-saving device; and the control coil KM3 of the short-circuit relay is connected to the control circuit through a third energy-saving device.
[0013] Optionally, before acquiring the detection information, the method further includes:
[0014] The initial states of the input relay, the output relay, and the short-circuit relay are obtained. The initial state of the input relay is closed, the initial state of the output relay is closed, and the initial state of the short-circuit relay is open.
[0015] Optional, also includes:
[0016] An alarm message is sent when the output information is abnormal.
[0017] The present invention also provides an automatic test control device, comprising:
[0018] The first acquisition module is used to acquire detection information and the sample to be tested;
[0019] The control module is used to control the corresponding relays to open or close according to the detection information and obtain output information; the relays include input relays, output relays and short-circuit relays, the input relays are connected in series in the power supply input circuit, the output relays are connected in series in the load output circuit, and the short-circuit relays are connected in parallel in the load output circuit;
[0020] The judgment module is used to determine whether the tested sample is normal if the output information is normal.
[0021] Optionally, before the first acquisition module, the following module is also included:
[0022] The second acquisition module is used to acquire the initial states of the input relay, the output relay, and the short-circuit relay, wherein the initial state of the input relay is closed, the initial state of the output relay is closed, and the initial state of the short-circuit relay is open.
[0023] Optional, also includes:
[0024] The alarm module is used to send alarm information when the output information is abnormal.
[0025] The present invention also provides an automatic test control device, comprising:
[0026] Memory, used to store computer programs;
[0027] A processor is used to implement the steps of the above-described automatic test control method when executing the computer program.
[0028] The present invention also provides a storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described automatic test control method.
[0029] As can be seen, this invention acquires detection information and the sample under test; controls the opening or closing of corresponding relays based on the detection information to obtain output information; the relays include input relays, output relays, and short-circuit relays, with the input relays connected in series in the power supply input circuit, the output relays connected in series in the load output circuit, and the short-circuit relays connected in parallel in the load output circuit; if the output information is normal, the sample under test is normal. This method can control the automatic connection and disconnection of the load, solving the problem of cumbersome testing encountered in current testing, while saving costs, improving testing efficiency, and enhancing the safety of testing personnel.
[0030] In addition, the present invention also provides an automatic test control device, equipment and storage medium, which also have the above-mentioned beneficial effects. Attached Figure Description
[0031] 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 only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0032] Figure 1 A flowchart of an automatic test control method provided in an embodiment of the present invention;
[0033] Figure 2 This is a schematic diagram of the structure of an automatic test control device provided in an embodiment of the present invention;
[0034] Figure 3 This is a schematic diagram of the structure of an automatic testing and control device provided in an embodiment of the present invention. Detailed Implementation
[0035] 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 only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0036] In power supply equipment reliability testing, the testing equipment needs to undergo frequent switching operations, repeatedly powering on and off the modules, typically on the order of thousands or even tens of thousands of times. Simultaneously, the output of the testing equipment needs to be repeatedly switched from no-load to full-load, also typically on the order of thousands or tens of thousands of times. To further increase reliability, certain requirements are placed on the short-circuit characteristics and short-circuit count of the testing equipment. The equipment must be able to function normally and not be damaged during repeated short-circuit testing, which requires multiple tests. Furthermore, because the current during short circuits is usually very large, manual operation by personnel poses certain safety hazards. Therefore, this invention provides an automatic testing control method that can solve the above problems. Please refer to [reference needed]. Figure 1 , Figure 1 A flowchart illustrating an automatic test control method provided in an embodiment of the present invention. The method may include:
[0037] S101: Obtain detection information and the sample to be tested.
[0038] The execution subject in this embodiment is a terminal. This embodiment does not limit the type of terminal, as long as it can perform the operation of the automatic test control method. For example, it can be a dedicated terminal or a general-purpose terminal. This embodiment does not limit the content of the detection information. For example, the detection information may include the test mode, the number of tests, or the disconnection time. The sample under test in this embodiment is a power supply device to be tested.
[0039] Furthermore, to ensure diversity in detection, the acquisition of detection information may include the following steps:
[0040] Get the test mode, number of tests, and disconnection time.
[0041] The test mode in this embodiment consists of three relay switching combinations, which can include eight modes, specifically: First mode: the input relay remains closed, the output relay performs a close-open operation, and the short-circuit relay remains open; this is the no-load / full-load switching mode. Second mode: the input relay remains closed, the output relay performs a close-open operation, and the short-circuit relay remains closed; this is the no-load / full-load alternating short-circuit mode. Third mode: the input relay remains closed, the output relay remains closed, and the short-circuit relay performs a close-open operation; this is the full-load / short-circuit switching mode. Fourth mode: the input relay remains closed, the output relay remains open, and the short-circuit relay... The device performs a closing-opening operation, currently in no-load short-circuit switching mode; The fifth mode: the input relay performs a closing-opening operation, the output relay remains closed, and the short-circuit relay remains open, currently in full-load input switching mode; The sixth mode: the input relay performs a closing-opening operation, the output relay remains open, and the short-circuit relay remains open, currently in no-load input switching mode; The seventh mode: the input relay performs a closing-opening operation, the output relay remains closed, and the short-circuit relay remains closed, currently in power-on full-load short-circuit switching mode; The eighth mode: the input relay performs a closing-opening operation, the output relay remains open, and the short-circuit relay remains closed, currently in power-on no-load short-circuit switching mode. This embodiment does not limit the number of tests; it can be set according to user needs. This embodiment does not limit the disconnection time; it can be set according to user needs. For testing efficiency, the minimum unit of disconnection time can be milliseconds.
[0042] Furthermore, in order to improve testing efficiency while ensuring the normal operation of the testing equipment, the following steps may be included before obtaining the testing information:
[0043] Obtain the initial states of the input relay, output relay, and short-circuit relay. The initial state of the input relay is closed, the initial state of the output relay is closed, and the initial state of the short-circuit relay is open.
[0044] In this embodiment, when no test has started, the input relay is initially closed, the output relay is initially closed, and the short-circuit relay is initially open, ensuring the normal use and output of the testing equipment.
[0045] S102: Control the corresponding relays to open or close according to the detection information to obtain output information; the relays include input relays, output relays and short-circuit relays. The input relays are connected in series in the power supply input circuit, the output relays are connected in series in the load output circuit, and the short-circuit relays are connected in parallel in the load output circuit.
[0046] In this embodiment, the short-circuit relay, input relay and output relay are turned on or off based on the detection information in step 101, and the output information is used to determine whether the sample under test is normal in a certain mode.
[0047] Furthermore, to conserve resources and reduce resource consumption, the aforementioned input relay is connected in series in the power supply input circuit, the output relay is connected in series in the load output circuit, and the short-circuit relay is connected in parallel in the load output circuit. The following steps may also be included:
[0048] The control coil KM1 of the input relay is connected to the control circuit through the first energy-saving device; the control coil KM2 of the output relay is connected to the control circuit through the second energy-saving device; and the control coil KM3 of the short-circuit relay is connected to the control circuit through the third energy-saving device.
[0049] Using a single relay for control would require a very high pulse voltage, resulting in significant losses. Each 100A relay consumes approximately 10W, and this invention requires three relays, leading to a total loss exceeding 30W, which is wasteful of resources. This embodiment achieves energy saving and reduces overall losses by incorporating an energy-saving device.
[0050] S103: If the output information is normal, then the sample being tested is normal.
[0051] The output information in this embodiment can be either output voltage or output current. When the output information is in a normal state, the sample being tested is also normal.
[0052] Furthermore, to ensure timely feedback of abnormal information and facilitate subsequent work, the following steps may also be included:
[0053] An alarm message is sent when the output information is abnormal.
[0054] This embodiment does not limit the alarm information. For example, the alarm information can be a voice broadcast, or it can be the display of the abnormal situation on a display terminal.
[0055] The automatic test control method provided in this invention acquires detection information and the sample under test; controls the opening or closing of corresponding relays based on the detection information to obtain output information; the relays include input relays, output relays, and short-circuit relays. The input relays are connected in series in the power supply input circuit, the output relays are connected in series in the load output circuit, and the short-circuit relays are connected in parallel in the load output circuit; if the output information is normal, the sample under test is normal. This method can control the automatic connection and disconnection of the load, solving the problem of cumbersome testing encountered in current testing, while saving costs, improving testing efficiency, and enhancing the safety of testing personnel. Furthermore, the detection information includes the test mode, the number of tests, and the disconnection time, increasing the diversity of testing; the initial state of the input relay is closed, the initial state of the output relay is closed, and the initial state of the short-circuit relay is open, which can improve testing efficiency and ensure the normal operation of the testing equipment; an energy saver is added to save resources and reduce resource consumption; and an alarm module is added to provide timely feedback of abnormal information, which is beneficial for timely handling of abnormal information later.
[0056] The following describes an automatic test control device provided by an embodiment of the present invention. The automatic test control device described below can be referred to in correspondence with the automatic test control method described above.
[0057] Please refer to the details. Figure 2 , Figure 2 A schematic diagram of an automatic test control device provided in an embodiment of the present invention may include:
[0058] The first acquisition module 100 is used to acquire detection information and the sample to be tested;
[0059] The control module 200 is used to control the corresponding relays to open or close according to the detection information and to obtain output information; the relays include an input relay, an output relay and a short-circuit relay, the input relay is connected in series in the power supply input circuit, the output relay is connected in series in the load output circuit, and the short-circuit relay is connected in parallel in the load output circuit;
[0060] The judgment module 300 is used to determine that the tested sample is normal if the output information is normal.
[0061] Based on the above embodiments, the acquisition module 100 may include:
[0062] The acquisition unit is used to acquire the test mode, number of tests, and disconnection time.
[0063] Based on the above embodiments, the automatic test control device may further include:
[0064] A connection module is provided for connecting the control coil KM1 of the input relay to the control circuit via a first energy-saving device; connecting the control coil KM2 of the output relay to the control circuit via a second energy-saving device; and connecting the control coil KM3 of the short-circuit relay to the control circuit via a third energy-saving device.
[0065] Based on the above embodiments, the automatic test control device may further include:
[0066] The alarm module is used to send alarm information when the output information is abnormal.
[0067] Based on the above embodiments, before the acquisition module 100, the following may also be included:
[0068] The second acquisition module is used to acquire the initial states of the input relay, the output relay, and the short-circuit relay, wherein the initial state of the input relay is closed, the initial state of the output relay is closed, and the initial state of the short-circuit relay is open.
[0069] An automatic testing control device provided in this embodiment of the invention includes a first acquisition module 100 for acquiring detection information and the sample under test; a control module 200 for controlling the opening or closing of corresponding relays based on the detection information to acquire output information; the relays include an input relay, an output relay, and a short-circuit relay, with the input relay connected in series in the power supply input circuit, the output relay connected in series in the load output circuit, and the short-circuit relay connected in parallel in the load output circuit; and a judgment module 300 for determining that the sample under test is normal if the output information is normal. This device can automatically control the load connection and disconnection, solving the problem of cumbersome testing encountered in current testing, while saving costs, improving testing efficiency, and enhancing the safety of testing personnel. Furthermore, the detection information includes the test mode, number of tests, and disconnection time, increasing the diversity of testing; the initial state of the input relay is closed, the initial state of the output relay is closed, and the initial state of the short-circuit relay is open, which can improve testing efficiency and ensure the normal operation of the testing equipment; the addition of an energy-saving device can save resources and reduce resource consumption; and the inclusion of an alarm module can promptly report abnormal information, facilitating timely handling of abnormal information later.
[0070] The following describes an automatic test control device provided by an embodiment of the present invention. The automatic test control device described below can be referred to in correspondence with the automatic test control method described above.
[0071] Please refer to Figure 3 , Figure 3 A schematic diagram of an automatic test control device provided in an embodiment of the present invention may include:
[0072] Memory 10 is used to store computer programs;
[0073] The processor 20 is used to execute computer programs to implement the above-described automatic test control method.
[0074] The system includes a memory 10, a processor 20, a communication interface 31, and a communication bus 32. The memory 10, processor 20, and communication interface 31 communicate with each other through the communication bus 32.
[0075] In this embodiment of the invention, the memory 10 is used to store one or more programs. The programs may include program code, which includes computer operation instructions. In this embodiment, the memory 10 may store programs for implementing the following functions:
[0076] Acquire detection information and the sample to be tested; control the corresponding relays to open or close based on the detection information, and acquire output information;
[0077] Relays include input relays, output relays, and short-circuit relays. Input relays are connected in series in the power supply input circuit, output relays are connected in series in the load output circuit, and short-circuit relays are connected in parallel in the load output circuit.
[0078] If the output information is normal, then the sample being tested is normal.
[0079] In one possible implementation, the memory 10 may include a program storage area and a data storage area, wherein the program storage area may store the operating system and applications required for at least one function; and the data storage area may store data created during use.
[0080] Furthermore, memory 10 may include read-only memory and random access memory, providing instructions and data to the processor. A portion of the memory may also include NVRAM. The memory stores operating systems and operating instructions, executable modules, or data structures, or subsets thereof, or extended sets thereof, wherein the operating instructions may include various operating instructions for implementing various operations. The operating system may include various system programs for implementing various basic tasks and handling hardware-based tasks.
[0081] Processor 20 can be a central processing unit (CPU), an application-specific integrated circuit, a digital signal processor, a field-programmable gate array, or other programmable logic device. Processor 20 can be a microprocessor or any conventional processor. Processor 20 can call programs stored in memory 10.
[0082] The communication interface 31 can be the interface of the communication module, used to connect with other devices or systems.
[0083] Of course, it should be noted that, Figure 3 The structure shown does not constitute a limitation on the automatic test control device in the embodiments of this application. In practical applications, the automatic test control device may include more than Figure 3 More or fewer components as shown, or combinations of certain components.
[0084] The storage medium provided in the embodiments of the present invention is described below. The storage medium described below can be referred to in correspondence with the automatic test control method described above.
[0085] The present invention also provides a storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described automatic test control method.
[0086] The storage medium can include various media that can store program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0087] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section.
[0088] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0089] Finally, it should be noted that in this document, relationships such as "first" and "second" are used merely 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 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 process, method, article, or apparatus.
[0090] The above provides a detailed description of the automatic testing control method, apparatus, device, and storage medium provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. An automatic test control method, characterized in that, include: Obtain testing information and the sample to be tested; The corresponding relays are controlled to open or close according to the detection information to obtain output information; the relays include input relays, output relays and short-circuit relays, the input relays are connected in series in the power supply input circuit, the output relays are connected in series in the load output circuit, and the short-circuit relays are connected in parallel in the load output circuit; If the output information is normal, then the tested sample is normal; The acquisition of detection information includes: Obtain the test mode, number of tests, and disconnection time; the minimum unit of the disconnection time is milliseconds; the test mode is any one of the following: no-load / full-load switching mode, no-load / full-load alternating short-circuit mode, full-load short-circuit switching mode, no-load short-circuit switching mode, full-load input switching mode, no-load input switching mode, power-on full-load short-circuit switching mode, and power-on no-load short-circuit switching mode; The input relay is connected in series in the power supply input circuit, the output relay is connected in series in the load output circuit, and the short-circuit relay is connected in parallel in the load output circuit. The system also includes: The control coil KM1 of the input relay is connected to the control circuit through a first energy-saving device; the control coil KM2 of the output relay is connected to the control circuit through a second energy-saving device; and the control coil KM3 of the short-circuit relay is connected to the control circuit through a third energy-saving device. Before acquiring the detection information, the method further includes: The initial states of the input relay, the output relay, and the short-circuit relay are obtained. The initial state of the input relay is closed, the initial state of the output relay is closed, and the initial state of the short-circuit relay is open.
2. The automatic test control method according to claim 1, characterized in that, Also includes: An alarm message is sent when the output information is abnormal.
3. An automatic test control device, characterized in that, include: The first acquisition module is used to acquire detection information and the sample to be tested; The control module is used to control the corresponding relays to open or close according to the detection information and to obtain output information; the relays include input relays, output relays and short-circuit relays, the input relays are connected in series in the power supply input circuit, the output relays are connected in series in the load output circuit, and the short-circuit relays are connected in parallel in the load output circuit; The judgment module is used to determine whether the tested sample is normal if the output information is normal. The acquisition module includes: The test mode, number of tests, and disconnection time are obtained; the test mode is any one of the following: no-load / full-load switching mode, no-load / full-load alternating short-circuit mode, full-load short-circuit switching mode, no-load short-circuit switching mode, full-load input switching mode, no-load input switching mode, power-on full-load short-circuit switching mode, and power-on no-load short-circuit switching mode; the minimum unit of the disconnection time is milliseconds. A connection module is used to connect the control coil KM1 of the input relay to the control circuit through a first energy-saving device; the control coil KM2 of the output relay is connected to the control circuit through a second energy-saving device; and the control coil KM3 of the short-circuit relay is connected to the control circuit through a third energy-saving device. Before the first acquisition module, it also includes: The second acquisition module is used to acquire the initial states of the input relay, the output relay, and the short-circuit relay, wherein the initial state of the input relay is closed, the initial state of the output relay is closed, and the initial state of the short-circuit relay is open.
4. The automatic test control device according to claim 3, characterized in that, Also includes: The alarm module is used to send alarm information when the output information is abnormal.
5. An automatic testing and control device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the automatic test control method as described in any one of claims 1 to 2.
6. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the steps of the automatic test control method as described in any one of claims 1 to 2.
Citation Information
Patent Citations
Testing device for control equipment
CN217360626U