CN114076901A - Automatic testing system and method for power module output ripple - Google Patents

Automatic testing system and method for power module output ripple Download PDF

Info

Publication number
CN114076901A
CN114076901A CN202111369461.2A CN202111369461A CN114076901A CN 114076901 A CN114076901 A CN 114076901A CN 202111369461 A CN202111369461 A CN 202111369461A CN 114076901 A CN114076901 A CN 114076901A
Authority
CN
China
Prior art keywords
tested
port
output
instruction
power supply
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.)
Granted
Application number
CN202111369461.2A
Other languages
Chinese (zh)
Other versions
CN114076901B (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.)
Sichuan Jiuzhou Electric Group Co Ltd
Original Assignee
Sichuan Jiuzhou Electric Group 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 Sichuan Jiuzhou Electric Group Co Ltd filed Critical Sichuan Jiuzhou Electric Group Co Ltd
Priority to CN202111369461.2A priority Critical patent/CN114076901B/en
Publication of CN114076901A publication Critical patent/CN114076901A/en
Application granted granted Critical
Publication of CN114076901B publication Critical patent/CN114076901B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/40Testing power supplies

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The invention relates to an automatic testing system and method for power module output ripples, belongs to the technical field of power supplies, and solves the problems that in the prior art, the testing efficiency of the power module output ripples is low, the cost is high, and the automatic testing requirement of the power module output ripples of multi-path output cannot be met. The system comprises a ripple wave test module, a power supply module and a control module, wherein the ripple wave test module is used for configuring a port switching instruction, a load adjustment instruction, a configuration instruction and a data acquisition instruction of each output end to be tested of the power supply module to be tested; the port expansion controller is used for carrying out port switching according to the received port switching instruction so as to connect the output end to be tested of the corresponding power supply module to be tested with the input end of the oscilloscope; the program-controlled electronic load is used for configuring the load of each output end to be tested of the power supply module to be tested according to the received load adjusting instruction; and the oscilloscope is used for acquiring ripple test data from output signals of the output port to be tested of the power supply module to be tested according to the received configuration instruction and the data acquisition instruction.

Description

Automatic testing system and method for power module output ripple
Technical Field
The invention relates to the technical field of power supplies, in particular to a power supply module output ripple automatic test system and a power supply module output ripple automatic test method.
Background
With the development of electronic products, a power supply is an indispensable part of many electronic products, and a dc power supply is a more common power supply. When a system is designed, in order to shorten a design period, an AC to DC power supply and a DC to DC power supply are generally packaged, and a required use type is directly selected when the system is designed. The output voltage ripple is an important index for considering the output voltage of the DC stabilized voltage supply, the ripple is not large, the performance of the power utilization circuit is directly influenced, the power efficiency is reduced in severe cases, surge voltage or current is generated, the power utilization equipment is burnt, the logic relation of a digital circuit is interfered, and the normal work of the equipment is influenced.
In the batch production test process of the power supply module, when the power supply module has multiple output ends, each output end needs to be connected with the input end of the oscilloscope respectively to test the output ripple waves, and due to the limitation of the number of the input ends of the oscilloscope, the process needs manual switching, so that the speed is low, the efficiency is poor, errors are easily caused, and the test result is inaccurate; if the output ends of each power supply module are connected with the input ends of a plurality of oscilloscopes, the purchasing cost is increased, and the resource waste is caused.
In summary, the existing power module has low efficiency of testing output ripples and high cost, and cannot meet the requirement of automatic testing of the output ripples of the power module with multi-output.
Disclosure of Invention
In view of the foregoing analysis, embodiments of the present invention provide an automatic power module output ripple testing system and method, so as to solve the problems that the existing power module has low output ripple testing efficiency and high cost, and cannot meet the requirement of the power module output ripple automatic testing with multi-output.
In one aspect, an embodiment of the present invention provides an automatic power module output ripple test system, including:
the ripple test module is used for configuring a port switching instruction, a load adjustment instruction, a configuration instruction and a data acquisition instruction of each output end to be tested of the power supply module to be tested;
the port expansion controller is used for carrying out port switching according to the received port switching instruction so as to connect the output end to be tested of the corresponding power supply module to be tested with the input end of the oscilloscope;
the program-controlled electronic load is used for configuring the load of each output end to be tested of the power supply module to be tested according to the received load adjusting instruction;
and the oscilloscope is used for acquiring ripple test data from output signals of the output port to be tested of the power supply module to be tested according to the received configuration instruction and the data acquisition instruction.
Furthermore, the number of the power supply modules to be tested is one or more, and ripple tests are performed according to a set sequence; and the total number of the output ends to be tested of all the power supply modules to be tested is less than or equal to the number of the input ports of the port expansion controller.
Further, the port expansion controller comprises a single chip circuit, a port switching circuit, a first serial port circuit and a reset circuit;
the single chip microcomputer circuit is used for generating a high-low level signal corresponding to each output end to be tested of the power module to be tested according to the received port switching instruction;
the port switching circuit is used for connecting each output end to be tested of the power supply module to be tested and the input end of the oscilloscope, and adjusting the control voltage of the corresponding port of each output end to be tested based on the received high-low level signal corresponding to each output end to be tested so as to connect the current output port to be tested with the input port of the oscilloscope;
the first serial port circuit is used for communicating the single chip microcomputer circuit with the ripple test module;
and the reset circuit is used for resetting the singlechip circuit when the port expansion controller is started.
Furthermore, the port switching circuit comprises a plurality of port switching sub-circuits, each port switching sub-circuit has the same structure and comprises an NPN type triode and a normally open relay; the number of the port switching sub-circuits is matched with the number of to-be-tested output ends of the to-be-tested power supply module;
the base electrode of the NPN type triode is connected with the output end of the single circuit of the single chip microcomputer and used for receiving high and low level signals, the emitting electrode of the NPN type triode is grounded, and the collecting electrode of the NPN type triode is connected with one end of the normally open relay coil; the other end of the normally open relay coil is connected with a power supply, a first contact is connected with the output end of the oscilloscope, and a second contact is connected with the output end to be tested of the power module to be tested; the number of the NPN type triodes and the number of the normally open relays are matched with the number of the output ends to be tested of the power supply module to be tested.
Further, the port expansion controller executes the following procedures:
after starting, resetting the single chip microcomputer circuit, and continuously carrying out first serial port detection;
if the first port interruption is detected, receiving the port switching instruction based on the single chip microcomputer circuit;
generating a high-low level signal corresponding to each output end to be tested according to the received port switching instruction, controlling the port switching circuit to switch ports, and generating a control result;
and transmitting the control result back to the ripple testing module, and recovering the first serial port connection.
Furthermore, the port expansion controller further comprises a second serial port circuit, and the second serial port circuit is used for receiving an upgrade instruction to upgrade the port expansion controller; and if the second serial port is detected to be interrupted, the priority processing is based on the fact that the single chip microcomputer circuit receives the upgrading instruction.
Furthermore, the ripple test module is also provided with verification contents corresponding to the switching instruction of each output port to be tested in the power supply module to be tested;
verifying the received control result of the port expansion controller with corresponding verification content, and if the verification is passed, judging that the port switching of the port expansion controller is correct; otherwise, judging that the port expansion controller has a fault, and interrupting the test.
Further, the oscilloscope acquires the ripple test data by performing the following operations:
switching the oscilloscope to a voltage peak-to-peak test according to the configuration instruction;
and acquiring a voltage peak value corresponding to the current output port to be tested of the power supply module to be tested according to the data acquisition instruction, and taking the voltage peak value as ripple data of the current output port to be tested.
Furthermore, the port expansion controller is connected with the ripple wave test module through a serial port line, and is connected with the oscilloscope and the power supply module to be tested through a radio frequency cable; and the ripple test module is connected with the electronic load and the oscilloscope through data lines.
On the other hand, the embodiment of the invention provides an automatic testing method for the output ripple of a power supply module, which adopts the automatic testing system; the method comprises the following steps:
configuring a port switching instruction, a load adjusting instruction, a configuration instruction and a data acquisition instruction of each output end to be tested of the power supply module to be tested;
switching the ports of the port expansion controller according to the received port switching instruction so as to connect the output port to be tested of the corresponding power supply module to be tested with the port of the oscilloscope;
configuring the load of each output end to be tested of the power supply module to be tested according to the received load adjusting instruction;
and the oscilloscope acquires ripple test data from output signals of the output port to be tested of the power supply module to be tested according to the received configuration instruction and the data acquisition instruction.
Compared with the prior art, the invention can realize the following beneficial effects:
the invention provides an automatic testing system and method for power module output ripple,
each output end to be tested of the power supply module to be tested and the input end of the oscilloscope are connected through the port expansion controller, the output end to be tested connected with the input end of the oscilloscope can be switched through the configured port switching instruction, the inaccuracy of test data caused by switching errors due to manual switching of each output end is avoided, the switching speed and the switching accuracy are greatly improved, the test efficiency is improved, and the test cost is reduced; and each output end of the power supply module is automatically tested, so that the requirement of reconfiguring parameters when the output end or the power supply module is replaced in the test process is avoided, and the workload and the working difficulty are reduced.
In the invention, the technical schemes can be combined with each other to realize more preferable combination schemes. Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
The drawings are only for purposes of illustrating particular embodiments and are not to be construed as limiting the invention, wherein like reference numerals are used to designate like parts throughout.
Fig. 1 is a schematic structural diagram of an automatic power module output ripple test system according to embodiment 1 of the present invention;
fig. 2 is a schematic diagram illustrating a configuration of a port expansion controller according to embodiment 1 of the present invention;
fig. 3 is a schematic connection diagram of a first serial port circuit in the port expansion controller according to embodiment 1 of the present invention;
fig. 4 is a schematic connection diagram of a second serial port circuit in the port expansion controller in embodiment 1 of the present invention;
fig. 5 is a schematic diagram of a chip-in-chip circuit in the port expansion controller according to embodiment 1 of the present invention;
fig. 6 is a schematic connection diagram of a port switching circuit in the port expansion controller according to embodiment 1 of the present invention;
fig. 7 is a schematic connection diagram of a power supply circuit in the port expansion controller in embodiment 1 of the present invention.
Reference numerals:
101-a power supply circuit; 102-a second serial circuit; 103-a first serial port circuit; 104-port switching circuitry; 105-a single chip circuit.
Detailed Description
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate preferred embodiments of the invention and together with the description, serve to explain the principles of the invention and not to limit the scope of the invention.
Example 1
A specific embodiment 1 of the present invention discloses an automatic power module output ripple testing system, as shown in fig. 1, including:
the ripple test module is used for configuring a port switching instruction, a load adjustment instruction, a configuration instruction and a data acquisition instruction of each output end to be tested of the power supply module to be tested; specifically, the ripple test module is arranged on an upper computer (computer) and used for man-machine interaction, generating a corresponding instruction according to a configuration file of test data by a user, and controlling a port expansion controller, an oscilloscope and a program-controlled electronic load in real time; the test data comprises the model of the oscilloscope, the model of the power supply module to be tested, the load value corresponding to the program-controlled electronic load, the connection mode of each device and the like, and the test data configuration file is stored in the Excel table and is used for the ripple test module to call.
The port expansion controller is used for carrying out port switching according to the received port switching instruction so as to connect the output end to be tested of the corresponding power supply module to be tested with the input end of the oscilloscope;
the program-controlled electronic load is used for configuring the load of each output end to be tested of the power supply module to be tested according to the received load adjusting instruction;
and the oscilloscope is used for acquiring ripple test data from output signals of the output port to be tested of the power supply module to be tested according to the received configuration instruction and the data acquisition instruction.
When the power supply module to be tested is implemented, one or more power supply modules to be tested are used for carrying out ripple test according to a set sequence; and the total number of the output ends to be tested of all the power supply modules to be tested is less than or equal to the number of the input ports of the port expansion controller.
It can be understood that, in the automated test system in this embodiment, one or more power modules to be tested may be simultaneously disposed, and the ripple test sequence of each power module to be tested is set in the test data configuration file, so that the ripple test module generates the port switching instruction.
In practice, the oscilloscope obtains ripple test data by performing the following operations:
switching the oscilloscope to a voltage peak-to-peak test according to the configuration instruction;
and acquiring a voltage peak value corresponding to the current output port to be tested of the power supply module to be tested according to the data acquisition instruction, and taking the voltage peak value as ripple data of the current output port to be tested.
When the device is implemented, the port expansion controller is connected with the ripple wave test module through a serial port line, and is connected with the oscilloscope and the power supply module to be tested through a radio frequency cable; the ripple wave test module is connected with the program-controlled electronic load and the oscilloscope through data lines; the port expansion controller is connected with the program-controlled electronic load through a lead.
Specifically, the data line may be a USB data line, a network line, a serial port line, or a USB to GPIB data line.
Preferably, the ripple test module is further configured with technical indexes of each output port to be tested of the power supply module to be tested, and the ripple test data acquired by the oscilloscope is used for judging whether the ripple test data of the power supply module to be tested under each output port to be tested meets the corresponding technical indexes, if so, the power supply module to be tested passes the test under the current output port to be tested, and the test result is recorded; and if the ripple test of the power supply module to be tested under each output port to be tested passes, the power supply module to be tested passes the test, and the test result is recorded.
It should be noted that if there are multiple power modules to be tested, ripple testing is performed in sequence according to a set sequence, and the ripple testing is finished when all the power modules to be tested are tested; and if a certain output port to be tested is unqualified in the test process of the power module to be tested, the power module to be tested stops testing, records the test result and can give an alarm through prompting.
In implementation, as shown in fig. 2, the port expansion controller includes a single chip circuit, a port switching circuit, a first serial port circuit, and a reset circuit;
the single chip microcomputer circuit is used for generating a high-low level signal corresponding to each output end to be tested of the power module to be tested according to the received port switching instruction;
specifically, the single chip microcomputer circuit receives a port switching instruction sent by the ripple test module through the first serial port circuit, generates high and low level signals of a port corresponding to each output end to be tested in the port switching circuit according to a corresponding relation between the output end to be tested and the port in the port switching circuit, and transmits the high and low level signals to the control end of the corresponding port of the port switching circuit. It should be noted that, the ripple test of each output terminal to be tested generates a corresponding port switching instruction, each port switching instruction generates a high-low level signal of each port in a group of port switching circuits, and after the ripple test of one output terminal to be tested of the power module to be tested is completed, the ripple test of the next output terminal to be tested is started.
The port switching circuit is used for connecting each output end to be tested of the power supply module to be tested and the input end of the oscilloscope, and adjusting the control voltage of the corresponding port of each output end to be tested based on the received high-low level signal corresponding to each output end to be tested so as to connect the current output port to be tested with the input port of the oscilloscope;
specifically, if the port switching circuit receives a high level signal from the control end of the port connected to the output end to be tested, the control voltage of the control end of the port is adjusted to a high level, so that the output end to be tested connected to the port is conducted with the input end of the oscilloscope; if the port switching circuit receives a low level signal with the control end of the connection port of the output end to be detected, the control voltage of the control end of the port is adjusted to be low level, so that the output end to be detected connected with the port is conducted with the input end of the oscilloscope; that is to say, can accomplish the switching of the output that awaits measuring of the power that awaits measuring through the switching instruction that singlechip circuit received, avoid the manual work to switch, it is more accurate, efficiency is higher.
The first serial port circuit is used for communicating the single chip microcomputer circuit with the ripple test module;
and the reset circuit is used for resetting the singlechip circuit when the port expansion controller is started.
In implementation, the port expansion controller executes the following procedures:
after starting, resetting the single chip microcomputer circuit, and continuously carrying out first serial port detection; the single chip microcomputer circuit is internally provided with an initialization program, is immediately executed after the port expansion controller is powered on and started, and is reset to return to an initialization state.
If the first serial port is detected to be interrupted, the port switching instruction transmitted by the ripple test module reaches the single chip microcomputer circuit, the single chip microcomputer circuit interrupts other processing (such as self state detection) to receive and process the port switching instruction, and at this moment, the port switching instruction is received based on the single chip microcomputer circuit;
generating a high-low level signal corresponding to each output end to be tested according to the received port switching instruction, controlling the port switching circuit to switch ports, and generating a control result;
and returning the control result to the ripple test module and recovering the first serial port connection, wherein after the single chip circuit processes the received port switching instruction, namely the port switching of the port switching circuit is completed, and after the control result is returned, the first serial port completes the instruction, the interruption is triggered to fail, and the first serial port recovers the connection.
Preferably, the port expansion controller further includes a second serial port circuit, and the second serial port circuit is configured to receive an upgrade instruction to upgrade the port expansion controller; and if the second serial port is detected to be interrupted, the priority processing is based on the fact that the single chip microcomputer circuit receives the upgrading instruction. The port expansion controller comprises a first serial port circuit and a second serial port circuit, wherein the first serial port circuit is used for transmitting a port switching instruction of the ripple test module to the single chip microcomputer circuit, the second serial port circuit is used for receiving an upgrading instruction and transmitting the upgrading instruction to the single chip microcomputer circuit, and the second serial port circuit has higher processing priority and preferentially processes data of the second serial port circuit; the upgrading instruction can be set by the ripple test module or a third party.
Preferably, the ripple test module is further provided with verification contents corresponding to the switching instruction of each output end to be tested in the power supply module to be tested;
verifying the received control result of the port expansion controller with corresponding verification content, and if the verification is passed, judging that the port switching of the port expansion controller is correct; otherwise, judging that the port expansion controller has a fault, and interrupting the test.
Specifically, the control result of the port expansion controller is generated by the single chip microcomputer circuit according to the port switching condition of the port switching circuit corresponding to the current output end to be tested, and is obtained according to a high-low level signal transmitted when the single chip microcomputer circuit switches the ports of the port switching circuit for the actual result of the port switching circuit; the checking content is the port switching condition of the port switching circuit corresponding to the current output end to be tested and stored in the ripple wave testing module; whether the port switching of the current port expansion controller is correct or not can be judged by comparing the control result of the port expansion controller with the stored verification content. Specifically, the singlechip circuit adopts a micro control unit chip U2 and an STC singlechip, wherein a reset circuit is arranged in the SCT singlechip.
Specifically, as shown in fig. 3, the first serial port circuit 103 includes a MAX485 chip U4, resistors R3 to R7, R30, capacitors C16, C17, an inductor L3, and a PNP transistor Q1; the output end RO of the MAX485 chip U4 is connected with the first serial input end of the singlechip circuit and transmits a port switching instruction to the first serial input end; the input end DI is connected with the first serial output end of the singlechip circuit, receives a control result of port switching, and is connected with the base electrode of a PNP type triode Q1 after passing through a resistor R5; the receiving enable end DE is connected with the sending enable end RE, grounded through a resistor R7 and connected with a collector of a PNP type triode Q1; the receiving differential signal end A is connected with the 3 rd pin of a second 9-pin serial port XP2 and is also connected with a second power supply source through a resistor R6; the transmitting differential signal end B is connected with the 4 th pin of the second 9-pin serial port XP2, is grounded after passing through a resistor R3, and is connected with the transmitting differential signal end A after passing through a resistor R4; the grounding end is grounded; the power supply end is connected with a second power supply source through an inductor L3, one end of a capacitor C17 is connected with one end of an inductor L3, the other end of the capacitor C17 is grounded, the capacitor C16 is connected with the other end of the inductor L3, and the other end of the capacitor C16 is grounded; an emitter of the PNP type triode Q1 is connected with a second power supply source through a resistor R30; the 5 th pin of the second 9-pin serial port XP2 is grounded. The ripple testing module is connected and communicated with a ripple testing module on an upper computer through three-wire system connection of a second 9-pin serial port XP 2; the resistors R5, R7, R30 and the PNP type triode Q1 realize half-duplex communication between the first serial port circuit and the upper computer; the resistors R3, R4 and R6 are terminal matching resistors, so that the stability and reliability of data transmission are improved; the inductor L3 and the capacitors C16 and C17 are used for power supply filtering.
Specifically, as shown in fig. 4, the second serial port circuit 102 includes a MAX232 chip U3, capacitors C10-C15, and an inductor L2; a first pin C1+ of the MAX232 chip U3 is connected with a 3 rd pin C1-, a 4 th pin C2+ is connected with a 5 th pin C2-, a 6 th pin V-is grounded through a capacitor C15, a 2 nd pin V + is sequentially connected with one end of a capacitor C10 through a capacitor C11 and an inductor L2 and is also connected with a second power supply, the other end of the capacitor C10 is grounded, a 16 th pin Vcc is connected with the second power supply through an inductor L2 and is also connected with a 15 th pin GND and a 15 th pin GND through a capacitor C12, a 14 th pin T1 is connected with a 2 nd pin XP1, a 13 th pin R1in is connected with a 3 rd pin of a first 9-pin XP1, and a 12 th pin R1out is connected with a second serial input end of the single chip microcomputer circuit; the 11 th pin T1out is connected with the second serial output end of the singlechip circuit and receives an upgrading instruction. The ripple testing module is connected and communicated with a ripple testing module on an upper computer through three-wire system connection of a first 9-pin serial port XP 1; the inductor L2 and the capacitors C10 and C12 are used for power supply filtering.
In practice, the port switching circuit includes a plurality of port switching sub-circuits, each of which has the same structure, as shown in fig. 6, and includes an NPN-type transistor Q2 and a normally-open relay JT 1;
the base electrode of the NPN type triode Q2 is used as the control end of the port switching circuit and is connected with the output end of the single chip microcomputer circuit, the base electrode is used for receiving high and low level signals, the emitting electrode is grounded, and the collecting electrode is connected with one end of a JT1 coil of the normally open relay; the other end of the normally open relay JT1 coil is connected with a first power supply, a first contact is connected with the output end of the oscilloscope, and a second contact is used as the load connecting end of the port switching sub-circuit and is connected with the output end to be tested of the power supply module to be tested; the number of the port switching sub-circuits is matched with the number of the output ends to be tested of the power supply module to be tested.
Preferably, the port switching sub-circuit further comprises a first resistor R12, a capacitor C18 and a diode D2; one end of the first resistor R12 is used as a control end of the port switching circuit and is connected with the output end of the single chip microcomputer circuit for receiving high and low level signals, and the other end of the first resistor R12 is connected with the base electrode of the NPN type triode Q2 for limiting current; one end of the capacitor C18 is connected with the second contact of the normally open relay JT1, and the other end of the capacitor C18 is grounded and used for high-frequency filtering and filtering out high-frequency clutter interference in a test loop; the diode D2 is connected in parallel at two ends of a coil of the normally open relay JT1 and is used for preventing the NPN type triode Q2 from being burnt by directional voltage when the normally open relay JT1 is powered off.
More preferably, the port switching sub-circuit further comprises a second resistor R8 and an LED light LED 3; the negative electrode of the LED3 lamp is connected with the collector of the NPN type triode Q2 through a second resistor, and the positive electrode of the LED3 lamp is connected with a power supply; the port switching circuit is used for indicating whether each port switching sub-circuit in the port switching circuit is conducted or not; and when the port switching sub-circuit is switched on, namely the output end to be tested connected with the port switching sub-circuit is connected with the input end of the oscilloscope, the LED lamp emits light.
For example, in this embodiment, a 2-group 4-port switching circuit is taken as an example, as shown in fig. 5, an STC single chip microcomputer U2 adopted by the single chip microcomputer is STC15W4K32S4-28I-LQFP64S, a power supply end of a 19 th pin is connected to one ends of an inductor L1 and a capacitor C9, the other end of the inductor L1 is connected to a second power supply, and is also connected to one end of a capacitor C8, the other ends of the capacitor C8 and the capacitor C9 are connected to a ground end of a 21 st pin of an STC single chip microcomputer U2, and the ground end of the 21 st pin is grounded; a 26 th pin is connected with a second power supply through a resistor R2 and an LED2 and serves as a working indicator light; the second serial port input end of the 27 th pin is connected with the output end of the second serial port circuit; the 28 th pin second serial port output end is connected with the input end of the second serial port circuit; the 35 th pin first serial port input end is connected with the output end of the first serial port circuit; the 36 th pin first serial port output end is connected with the input end of the first serial port circuit; the 37 th to 40 th and 53 th to 56 th pin IO ports are respectively connected with each control end of the port switching circuit, namely the control end of each port switching sub-circuit.
As shown in fig. 6, a connection diagram of the port switching circuit includes four port switching circuits corresponding to the oscilloscope port 1 and formed by normally open relays JT1-JT4, and second contacts of 4 normally open relays are used as connection ends for being connected to output terminals to be tested of a power supply to be tested, and then connected to 37 th to 40 th pins of an STC singlechip U2 through resistors R12, R13, R14, and R15, respectively, for receiving high and low level signals switched by the corresponding output terminals to be tested; the four-port switching circuit corresponding to the oscilloscope port 2 is composed of normally open relays JT5-JT8, second contacts of 4 normally open relays are used as connecting ends and are used for being connected with a to-be-tested output end of a to-be-tested power supply respectively, and then the second contacts are connected with 53 th to 56 th pins of an STC single chip microcomputer U2 through resistors R20, R21, R22 and R23 respectively to receive high and low level signals switched by corresponding to-be-tested output ends.
Specifically, the port expansion controller further includes a power supply circuit 101 for supplying power to the port expansion controller. More specifically, as shown in fig. 7, the power supply circuit 101 includes capacitors C1, C3-C5, a resistor R1, an LED lamp, a voltage stabilizing chip U1, a fuse F1, and a switch SW 1; the input end of the voltage stabilizing chip U1 is connected with a first power supply through a fuse F1 and a switch SW1, the output end outputs a second power supply, and the grounding end is grounded; the input end of the voltage stabilizing chip U1 is also connected with one end of capacitors C1 and C3 and the anode of the LED lamp; the output end of the voltage stabilizing chip U1 is also connected with one ends of capacitors C4 and C5; the other ends of the capacitors C1 and C3-C5 are grounded; the cathode of the LED lamp is grounded through a resistor R1. The first power supply is 12V, the second power supply is 5V, the capacitors C1 and C3 are input filter capacitors, the capacitors C4 and C5 are output filter capacitors, and the resistor R1 is a current-limiting resistor.
Compared with the prior art, according to the automatic testing system for the output ripple of the power supply module, each output end to be tested of the power supply module to be tested and the input end of the oscilloscope are connected through the port expansion controller, the output end to be tested connected with the input end of the oscilloscope can be switched through the configured port switching instruction, the inaccuracy of test data caused by switching errors due to manual switching of each output end is avoided, the switching speed and the switching accuracy are greatly improved, the testing efficiency is improved, and the testing cost is reduced; and each output end of the power supply module is automatically tested, so that the requirement of reconfiguring parameters when the output end or the power supply module is replaced in the test process is avoided, and the workload and the working difficulty are reduced.
Example 2
The embodiment 2 of the present invention discloses an automatic testing method for output ripples of a power module, and the automatic testing system in the embodiment 1 is adopted, which includes the following steps:
configuring a port switching instruction, a load adjusting instruction, a configuration instruction and a data acquisition instruction of each output end to be tested of the power supply module to be tested;
switching the ports of the port expansion controller according to the received port switching instruction so as to connect the output port to be tested of the corresponding power supply module to be tested with the port of the oscilloscope;
configuring the load of each output end to be tested of the power supply module to be tested according to the received load adjusting instruction;
and the oscilloscope acquires ripple test data from output signals of the output port to be tested of the power supply module to be tested according to the received configuration instruction and the data acquisition instruction.
For example, the present embodiment takes a ripple test of the output of the power module with 4 output paths as an example, and the steps are as follows:
s1, connecting each output end to be tested of the power supply module to be tested with the input port of the port expansion controller;
s2, generating a port switching instruction, a load adjusting instruction, a configuration instruction and a data acquisition instruction of each output end to be tested according to the test data configuration file of the user;
s3, adjusting the load of the output end a to be tested according to the load adjusting instruction, and sending a port switching instruction of the port expansion controller to enable the port corresponding to the output end a to be conducted;
s4, the oscilloscope reads ripple test data of the oscilloscope according to the configuration instruction and the data acquisition instruction and transmits the ripple test data back to the ripple test module;
s5, adjusting the load of the output end b to be tested according to the load adjusting instruction, sending a port switching instruction of the port expansion controller, disconnecting the port corresponding to the output end a and connecting the port corresponding to the output end b; step S4 is executed;
s6, adjusting the load of the output end c to be tested according to the load adjusting instruction, sending a port switching instruction of the port expansion controller, disconnecting the port corresponding to the output end b and connecting the port corresponding to the output end c; step S4 is executed;
s7, adjusting the load of the output end d to be tested according to the load adjusting instruction, sending a port switching instruction of the port expansion controller, disconnecting the port corresponding to the output end c and connecting the port corresponding to the output end d; step S4 is executed;
s8, sending a port switching instruction of the port expansion controller, and disconnecting the port corresponding to the output end d;
and S9, testing the next power supply module to be tested after the test is finished.
The specific implementation process of this embodiment may be as follows with reference to the system embodiment described above, and this embodiment is not described herein again.
Since the principle of the present embodiment is the same as that of the system embodiment, the method also has the corresponding technical effect of the system embodiment.
Those skilled in the art will appreciate that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program, which is stored in a computer readable storage medium, to instruct related hardware. The computer readable storage medium is a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention.

Claims (10)

1. An automatic power module output ripple test system, comprising:
the ripple test module is used for configuring a port switching instruction, a load adjustment instruction, a configuration instruction and a data acquisition instruction of each output end to be tested of the power supply module to be tested;
the port expansion controller is used for carrying out port switching according to the received port switching instruction so as to connect the output end to be tested of the corresponding power supply module to be tested with the input end of the oscilloscope;
the program-controlled electronic load is used for configuring the load of each output end to be tested of the power supply module to be tested according to the received load adjusting instruction;
and the oscilloscope is used for acquiring ripple test data from output signals of the output port to be tested of the power supply module to be tested according to the received configuration instruction and the data acquisition instruction.
2. The power module output ripple automatic test system according to claim 1, wherein the power module to be tested is one or more, and ripple tests are performed according to a set sequence; and the total number of the output ends to be tested of all the power supply modules to be tested is less than or equal to the number of the input ports of the port expansion controller.
3. The power module output ripple automatic test system according to claim 1, wherein the port expansion controller includes a single chip circuit, a port switching circuit, a first serial port circuit, and a reset circuit;
the single chip microcomputer circuit is used for generating a high-low level signal corresponding to each output end to be tested of the power module to be tested according to the received port switching instruction;
the port switching circuit is used for connecting each output end to be tested of the power supply module to be tested and the input end of the oscilloscope, and adjusting the control voltage of the corresponding port of each output end to be tested based on the received high-low level signal corresponding to each output end to be tested so as to connect the current output port to be tested with the input port of the oscilloscope;
the first serial port circuit is used for communicating the single chip microcomputer circuit with the ripple test module;
and the reset circuit is used for resetting the singlechip circuit when the port expansion controller is started.
4. The power module output ripple automatic test system according to claim 3, wherein the port switching circuit comprises a plurality of port switching sub-circuits, each of which has the same structure and comprises an NPN type triode and a normally open relay; the number of the port switching sub-circuits is matched with the number of to-be-tested output ends of the to-be-tested power supply module;
the base electrode of the NPN type triode is connected with the output end of the single circuit of the single chip microcomputer and used for receiving high and low level signals, the emitting electrode of the NPN type triode is grounded, and the collecting electrode of the NPN type triode is connected with one end of the normally open relay coil; the other end of the normally open relay coil is connected with a first power supply, the first contact is connected with the output end of the oscilloscope, and the second contact is connected with the output end to be tested of the power module to be tested.
5. The power module output ripple automatic test system according to claim 3, wherein the port expansion controller performs the following process:
after starting, resetting the single chip microcomputer circuit, and continuously carrying out first serial port detection;
if the first port interruption is detected, receiving the port switching instruction based on the single chip microcomputer circuit;
generating a high-low level signal corresponding to each output end to be tested according to the received port switching instruction, controlling the port switching circuit to switch ports, and generating a control result;
and transmitting the control result back to the ripple testing module, and recovering the first serial port connection.
6. The power module output ripple automatic test system according to claim 5, wherein the port expansion controller further comprises a second serial port circuit, the second serial port circuit being configured to receive an upgrade instruction to upgrade the port expansion controller; and if the second serial port is detected to be interrupted, the priority processing is based on the fact that the single chip microcomputer circuit receives the upgrading instruction.
7. The power module output ripple automatic test system according to claim 5, wherein the ripple test module further has a calibration content corresponding to a switching command of each output terminal to be tested in the power module to be tested;
verifying the received control result of the port expansion controller with corresponding verification content, and if the verification is passed, judging that the port switching of the port expansion controller is correct; otherwise, judging that the port expansion controller has a fault, and interrupting the test.
8. The power module output ripple automatic test system according to claim 1, wherein the oscilloscope obtains ripple test data by performing the following operations:
switching the oscilloscope to a voltage peak-to-peak test according to the configuration instruction;
and acquiring a voltage peak value corresponding to the current output port to be tested of the power supply module to be tested according to the data acquisition instruction, and taking the voltage peak value as ripple data of the current output port to be tested.
9. The power module output ripple automatic test system according to claim 1, wherein the port expansion controller is connected with the ripple test module through a serial port line, and is connected with an oscilloscope and a power module to be tested through a radio frequency cable; and the ripple test module is connected with the electronic load and the oscilloscope through data lines.
10. An automatic power module output ripple testing method is characterized in that the automatic testing system of any one of claims 1-9 is adopted; the method comprises the following steps:
configuring a port switching instruction, a load adjusting instruction, a configuration instruction and a data acquisition instruction of each output end to be tested of the power supply module to be tested;
switching the ports of the port expansion controller according to the received port switching instruction so as to connect the output port to be tested of the corresponding power supply module to be tested with the port of the oscilloscope;
configuring the load of each output end to be tested of the power supply module to be tested according to the received load adjusting instruction;
and the oscilloscope acquires ripple test data from output signals of the output port to be tested of the power supply module to be tested according to the received configuration instruction and the data acquisition instruction.
CN202111369461.2A 2021-11-15 2021-11-15 Automatic testing system and method for output ripples of power supply module Active CN114076901B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111369461.2A CN114076901B (en) 2021-11-15 2021-11-15 Automatic testing system and method for output ripples of power supply module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111369461.2A CN114076901B (en) 2021-11-15 2021-11-15 Automatic testing system and method for output ripples of power supply module

Publications (2)

Publication Number Publication Date
CN114076901A true CN114076901A (en) 2022-02-22
CN114076901B CN114076901B (en) 2022-10-21

Family

ID=80284785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111369461.2A Active CN114076901B (en) 2021-11-15 2021-11-15 Automatic testing system and method for output ripples of power supply module

Country Status (1)

Country Link
CN (1) CN114076901B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116203452A (en) * 2023-05-05 2023-06-02 西安顺晖电子科技有限公司 AC/DC power module test system

Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002091577A (en) * 2000-09-18 2002-03-29 Keisoku Giken Co Ltd Electronic load device
CN102270167A (en) * 2010-06-03 2011-12-07 鸿富锦精密工业(深圳)有限公司 System and method for testing a plurality of hard disk ports of mainboard
CN202351412U (en) * 2011-12-22 2012-07-25 成都芯通科技股份有限公司 DC power supply module intelligent detecting system
CN102970086A (en) * 2012-11-26 2013-03-13 惠州Tcl移动通信有限公司 Device, system and method for switching testing signal channel
CN103002473A (en) * 2012-11-27 2013-03-27 上海创远仪器技术股份有限公司 Method, device and system for testing wireless terminal
TW201325053A (en) * 2011-10-20 2013-06-16 Monolithic Power Systems Inc Switching-mode power supply with ripple mode control and associated methods
CN203178453U (en) * 2013-04-17 2013-09-04 北京星原丰泰电子技术股份有限公司 Automatic test system for switch power supply module
JP2013221724A (en) * 2012-04-19 2013-10-28 Aisin Seiki Co Ltd Engine-driven heat pump type air conditioner
CN204389530U (en) * 2014-12-23 2015-06-10 北京新能源汽车股份有限公司 The output gate control device of high-voltage DC power supply
JP2016100976A (en) * 2014-11-20 2016-05-30 日本電信電話株式会社 Estimation device and method of deterioration state of primary smoothing capacitor in power supply device
CN105911483A (en) * 2016-04-18 2016-08-31 北京小米移动软件有限公司 Power chip testing device and method
CN206077394U (en) * 2016-09-28 2017-04-05 国家电网公司 Optical-fibre channel switching device
CN106771632A (en) * 2016-12-30 2017-05-31 易瓦特科技股份公司 Multi-channel DC resistance meter
CN206848452U (en) * 2017-04-01 2018-01-05 东莞市仪锐电子有限公司 A kind of circuit of multichannel power detecting system
CN109164399A (en) * 2018-09-10 2019-01-08 大族激光科技产业集团股份有限公司 Power detecting system and test method
CN109548058A (en) * 2018-12-26 2019-03-29 深圳市华信天线技术有限公司 The communication means and device that multimode data radio station communication pattern adaptively switches
CN109633483A (en) * 2018-12-29 2019-04-16 四川九洲电器集团有限责任公司 A kind of power module intelligent test system and test method
CN110440955A (en) * 2019-08-13 2019-11-12 中国核动力研究设计院 A kind of thermal resistance conditioning module Response Time Test System
CN110764044A (en) * 2019-11-19 2020-02-07 广州供电局有限公司 Voltage ripple detection device, system and detection method thereof
CN211528668U (en) * 2019-11-19 2020-09-18 广州供电局有限公司 Voltage ripple detection device and system
CN213210263U (en) * 2020-10-10 2021-05-14 杭州飞仕得科技有限公司 Oscilloscope probe switching device
DE102020001985A1 (en) * 2020-03-26 2021-09-30 Hong Liu Co., Ltd. AC / DC SWITCHING POWER SUPPLY WITH 10 MHZ TIME BASE

Patent Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002091577A (en) * 2000-09-18 2002-03-29 Keisoku Giken Co Ltd Electronic load device
CN102270167A (en) * 2010-06-03 2011-12-07 鸿富锦精密工业(深圳)有限公司 System and method for testing a plurality of hard disk ports of mainboard
TW201325053A (en) * 2011-10-20 2013-06-16 Monolithic Power Systems Inc Switching-mode power supply with ripple mode control and associated methods
CN202351412U (en) * 2011-12-22 2012-07-25 成都芯通科技股份有限公司 DC power supply module intelligent detecting system
JP2013221724A (en) * 2012-04-19 2013-10-28 Aisin Seiki Co Ltd Engine-driven heat pump type air conditioner
CN102970086A (en) * 2012-11-26 2013-03-13 惠州Tcl移动通信有限公司 Device, system and method for switching testing signal channel
CN103002473A (en) * 2012-11-27 2013-03-27 上海创远仪器技术股份有限公司 Method, device and system for testing wireless terminal
CN203178453U (en) * 2013-04-17 2013-09-04 北京星原丰泰电子技术股份有限公司 Automatic test system for switch power supply module
JP2016100976A (en) * 2014-11-20 2016-05-30 日本電信電話株式会社 Estimation device and method of deterioration state of primary smoothing capacitor in power supply device
CN204389530U (en) * 2014-12-23 2015-06-10 北京新能源汽车股份有限公司 The output gate control device of high-voltage DC power supply
CN105911483A (en) * 2016-04-18 2016-08-31 北京小米移动软件有限公司 Power chip testing device and method
CN206077394U (en) * 2016-09-28 2017-04-05 国家电网公司 Optical-fibre channel switching device
CN106771632A (en) * 2016-12-30 2017-05-31 易瓦特科技股份公司 Multi-channel DC resistance meter
CN206848452U (en) * 2017-04-01 2018-01-05 东莞市仪锐电子有限公司 A kind of circuit of multichannel power detecting system
CN109164399A (en) * 2018-09-10 2019-01-08 大族激光科技产业集团股份有限公司 Power detecting system and test method
CN109548058A (en) * 2018-12-26 2019-03-29 深圳市华信天线技术有限公司 The communication means and device that multimode data radio station communication pattern adaptively switches
CN109633483A (en) * 2018-12-29 2019-04-16 四川九洲电器集团有限责任公司 A kind of power module intelligent test system and test method
CN110440955A (en) * 2019-08-13 2019-11-12 中国核动力研究设计院 A kind of thermal resistance conditioning module Response Time Test System
CN110764044A (en) * 2019-11-19 2020-02-07 广州供电局有限公司 Voltage ripple detection device, system and detection method thereof
CN211528668U (en) * 2019-11-19 2020-09-18 广州供电局有限公司 Voltage ripple detection device and system
DE102020001985A1 (en) * 2020-03-26 2021-09-30 Hong Liu Co., Ltd. AC / DC SWITCHING POWER SUPPLY WITH 10 MHZ TIME BASE
CN213210263U (en) * 2020-10-10 2021-05-14 杭州飞仕得科技有限公司 Oscilloscope probe switching device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
C. KLUMPNER等: "Modulation method for a multiple drive system based on a two-stage direct power conversion topology with reduced input current ripple", 《IEEE TRANSACTIONS ON POWER ELECTRONICS》 *
柏元忠等: "多通道超低纹波智能供配电一体化装置设计", 《航天电子军民融合论坛暨第十四届学术交流会优秀论文集》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116203452A (en) * 2023-05-05 2023-06-02 西安顺晖电子科技有限公司 AC/DC power module test system

Also Published As

Publication number Publication date
CN114076901B (en) 2022-10-21

Similar Documents

Publication Publication Date Title
CN106569118B (en) A kind of chip short-circuit failure detection system and method
WO2021189322A1 (en) Chip testing apparatus and chip testing method
CN103033738A (en) Automatic test system for circuit board
CN107238788B (en) Touch chip test system based on matrix capacitor plate and test method thereof
CN101778007B (en) System and method for automatically testing I/O pin of CAN bus control module
CN203465715U (en) Automatic startup and shutdown test system
CN101769986B (en) Test device and test method thereof
CN115856588B (en) Chip test board and test method
CN114076901B (en) Automatic testing system and method for output ripples of power supply module
CN203084153U (en) Chip testing system
CN111830376A (en) Comprehensive detection platform for distributor
CN113960443A (en) IO static parameter testing method and system
CN115032969A (en) Ethernet test system of vehicle-mounted controller
CN207337386U (en) A kind of server master board test device
CN106933215B (en) PXI bus-based universal equivalent device for external interface of telemetry system
CN111929562A (en) Chip test system, test method, test response method of chip and chip
CN207924050U (en) The epitaxial apparatus of the inspection of capacitance batch and test
CN208026832U (en) The input and output detection module and detection device of PLC
CN103063948A (en) Electric energy gathering terminal function testing system and method
CN214540463U (en) Relay board for switching and detecting multiple paths of signals
CN111122994A (en) Man-machine interaction testing device for simulation circuit breaker
CN210427730U (en) Circuit board switching value input automatic checkout device
CN112485701A (en) Universal switching adapter plate for testing DC/DC power supply module and testing method thereof
CN212989578U (en) Intelligent PCBA testing device for frequency converter
CN216387328U (en) Oscilloscope port expansion control equipment for power supply ripple test

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