Method for testing dual-channel high-speed operational amplifier chips using independent equipment
A system is composed of independent equipment, including an independent power supply, PC, high-frequency signal generator and high-bandwidth oscilloscope. The preset test program is used to control the MCU and drive circuit on the dual-channel test board, which solves the problem that existing test machines cannot meet the dual-channel requirements. The problem of high-bandwidth and short-time electrical parameter testing of high-speed operational amplifier chips enables high-precision and efficient testing.
Patent Information
- Application Number
- CN202410931869.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-12
AI Technical Summary
Existing test machines cannot meet the high-bandwidth and short-time electrical parameter testing requirements of dual-channel high-speed operational amplifier chips, resulting in the inability to effectively test the chip's electrical parameters.
The system is composed of independent equipment, including an independent power supply, PC, high-frequency signal generator and high-bandwidth oscilloscope. The MCU and drive circuit on the dual-channel test board are controlled through preset test programs, and the relay module and high-bandwidth oscilloscope are used for automated testing. , to achieve high-precision electrical parameter detection.
It achieves high-precision testing of dual-channel high-speed operational amplifier chips. The dual-channel power supply of an independent power supply improves stability, reduces the number of equipment, saves test space, and improves the practicality and operability of the test.
Smart Images

Figure CN118465518B
Abstract
Description
Technical Field
[0001] The present application relates to the field of chip testing technology, and in particular to a method for testing a dual-channel high-speed operational amplifier chip using independent equipment. Background Art
[0002] There are many types of operational amplifier chips at present. After the chip is invented and designed, it cannot be put into use immediately. Instead, the chip's electrical parameters need to be tested. Only when the test requirements meet the standards can it be put into practical application.
[0003] The electrical parameter testing requirements for dual-channel high-speed operational amplifier chips are relatively high, such as bandwidths of hundreds of megabits and short testing times. This kind of electrical parameter testing with bandwidths of hundreds of megabits places high demands on the tester. Previously, existing testers were unable to meet the test conditions for such electrical parameters and therefore could not be tested.
[0004] Because the electrical parameters of the chip are very important to the chip, in order to solve the problem that the test conditions of the existing test machine cannot be met, there is an urgent need to use independent equipment to test dual-channel high-speed operational amplifier chips. Summary of the Invention
[0005] In view of the shortcomings of the prior art described above, the present application proposes a method for testing a dual-channel high-speed operational amplifier chip using independent equipment, which solves the problem that the electrical parameter testing requirements of the dual-channel high-speed operational amplifier chip in the prior art are relatively high and cannot be met by the existing equipment.
[0006] In order to achieve the above-mentioned purpose, this application specifically adopts the following technical solutions:
[0007] A method for testing a dual-channel high-speed operational amplifier chip using independent equipment, including an independent power supply, a PC terminal, a high-frequency signal generator, a dual-channel test board, and a high-bandwidth oscilloscope;
[0008] The PC sends test commands to the high-frequency signal generator, the dual-channel test board and the high-bandwidth oscilloscope through a preset test program to perform a dual-channel high-speed operational amplifier chip test;
[0009] The dual-circuit test board includes an MCU, a drive circuit, and a circuit for the chip under test, wherein:
[0010] The MCU is configured as follows: powered by a 5V to 3.3V circuit, a program download module downloads a preset test program into the MCU, is connected to a relay control module via a Darlington transistor, and a communication pin is connected to a USB to serial port circuit. The relay control module includes 8 single-pole double-throw switches, which are respectively set in the drive circuit and the chip under test loop;
[0011] The driving circuit includes a chip TLV3501AIDBVR, and the chip TLV3501AIDBVR is configured as follows:
[0012] The inverting input terminal is grounded through resistor R7 and connected to the positive power input terminal through resistor R5;
[0013] The positive input terminal is connected to the high-frequency signal generator through the first path of the first single-pole double-throw switch and serves as the signal source input terminal of the dual-path test board; the signal source input terminal is connected to one end of the resistor R6 through the second path of the first single-pole double-throw switch, and the other end of the resistor R6 is grounded;
[0014] The negative power input terminal is connected to the shutdown signal control terminal and is grounded;
[0015] The positive power input is grounded through capacitor C5 and is powered by a 5V to 3.3V converter.
[0016] The output end is connected to the first positive input end of the chip under test in the chip under test loop through the first path of the second single-pole double-throw switch and the first path of the seventh single-pole double-throw switch, and is connected to the second positive input end of the chip under test in the chip under test loop through the first path of the second single-pole double-throw switch and the first path of the eighth single-pole double-throw switch.
[0017] The first positive input terminal of the chip under test is connected to one end of the resistor R6 through the first path of the seventh single-pole double-throw switch and the second path of the second single-pole double-throw switch, and the second positive input terminal of the chip under test is connected to one end of the resistor R6 through the first path of the eighth single-pole double-throw switch and the second path of the second single-pole double-throw switch.
[0018] The first positive input terminal and the second positive input terminal of the chip under test are both connected to a first probe of a high-bandwidth oscilloscope, and the first probe detects an input signal;
[0019] The chip under test is configured as follows:
[0020] The first inverting input terminal is connected to one end of a resistor R1 through a second path of a fourth single-pole double-throw switch, the other end of the resistor R1 is grounded and connected in parallel with a capacitor C1; the first inverting input terminal is connected to one end of a resistor R2 through a first path of a third single-pole double-throw switch, the other end of the resistor R2 is connected to a first output terminal of a chip under test and connected in parallel with a capacitor C2; the first output terminal of the chip under test is connected to a second probe of a high-bandwidth oscilloscope, and the second probe detects an output signal from the first output terminal; the second path of the third single-pole double-throw switch is connected to one end of a resistor R3, the other end of the resistor R3 is connected to the first output terminal of the chip under test and connected in parallel with a capacitor C3;
[0021] The second inverting input terminal is connected to one end of a resistor R11 through a second path of a fifth single-pole double-throw switch, the other end of the resistor R1 is grounded and connected in parallel with a capacitor C15; the second inverting input terminal is connected to one end of a resistor R12 through a first path of a sixth single-pole double-throw switch, the other end of the resistor R12 is connected to a second output terminal of the chip under test and connected in parallel with a capacitor C16; the second output terminal of the chip under test is connected to a third probe of a high-bandwidth oscilloscope, and the third probe detects an output signal from the second output terminal; the second inverting input terminal is connected to one end of a resistor R13 through a second path of the sixth single-pole double-throw switch, the other end of the resistor R13 is connected to the second output terminal of the chip under test and connected in parallel with a capacitor C17;
[0022] The first positive power input terminal is connected to one end of the capacitor C14, one end of the capacitor C13 and the first power supply voltage in sequence, and the other end of the capacitor C14 and the other end of the capacitor C13 are both grounded; the first negative power input terminal is connected to the second power supply voltage;
[0023] The second positive power input terminal is connected to the first power supply voltage, the second negative power input terminal is connected in sequence to one end of the capacitor C12, one end of the capacitor C11 and the second power supply voltage, and the other end of the capacitor C12 and the other end of the capacitor C11 are both grounded;
[0024] The first output end is connected in sequence to one end of the resistor R2 or the resistor R3, one end of the capacitor C4, one end of the resistor R4 and the second probe, and the other end of the capacitor C4 and the other end of the resistor R4 are both grounded;
[0025] The second output end is sequentially connected to one end of the resistor R12 or the resistor R13, one end of the capacitor C18, one end of the resistor R14 and the third probe, and the other end of the capacitor C18 and the other end of the resistor R14 are both grounded.
[0026] As an optional technical solution, the independent power supply is a three-channel independent power supply, two channels of which independently supply power to the chip under test, and the remaining channel supplies power to other parts of the dual-channel test board except the chip under test.
[0027] As an optional technical solution, the specific power supplies for the two channels to independently power the chip under test are: a first power supply voltage and a second power supply voltage.
[0028] As an optional technical solution, the 5V to 3.3V circuit includes a chip AMS1117, and the chip AMS1117 is configured as follows:
[0029] The input terminal is connected to a 5V power supply and one end of a capacitor C6, the other end of the capacitor C6 is grounded, and the 5V power supply is provided by an independent power supply;
[0030] The output end is connected in sequence to one end of capacitor C7, one end of capacitor C8, and the input end of the light-emitting diode. The other end of the capacitor C7 and the other end of the capacitor C8 are both grounded. The common end of the capacitor C7 and the capacitor C8 serves as the output end of the 5V to 3.3V conversion circuit, outputting a 3.3V power supply. The output end of the light-emitting diode is grounded through a resistor R8.
[0031] The ground terminal is grounded.
[0032] As an optional technical solution, the USB-to-serial port circuit includes a chip CH340C, and the chip CH340C is configured as follows: pin 1 GND is grounded, pin 16 VCC is connected to one end of capacitor C10, one end of C9 and a 5V power supply in sequence, the other end of the capacitor C10 and the other end of C9 are both grounded, and the 5V power supply is provided by an independent power supply; pin 4 V3 is connected to pin 16 VCC; pin 2 TXD is the serial data output end, and pin 3 RXD is the serial data input end, both of which are connected to the communication pins of the external MCU; pin 5 D+ and pin 6 D- are connected to the corresponding D+ and D- in the Mini USB.
[0033] As an optional technical solution, the program download module includes a pin header HDR1x4, which matches the emulator and is plugged into the pin header HDR1x4 for the emulator to download programs. The pin header HDR1x4 is configured as follows: interface 1 is connected to a 3.3V power supply and one end of a resistor R9, and the other end of the resistor R9 is connected to a serial data input / output pin in the MCU; interface 2 is connected to a serial data input / output pin in the MCU; interface 3 is connected to one end of a resistor R10 and a serial line clock pin in the MCU, and the other end of the resistor R10 is grounded; interface 4 is grounded.
[0034] As an optional technical solution, the PC sends test commands to the high-frequency signal generator, the dual-channel test board, and the high-bandwidth oscilloscope through a preset test program. The preset process of the test program for the dual-channel high-speed operational amplifier chip test is as follows:
[0035] Configure the UART serial communication pins and GPIO control pins required for the test in the MCU and generate a program file. The program in the MCU is solidified in Keil. Write the code and instructions for controlling the flipping of the GPIO control pins into the program, and then download the program to the MCU through the J-LINK downloader. Subsequently, different control instructions in the program are used to control the flipping of the GPIO control pins. The flipping of the GPIO control pins can control the switching of the relay control module on the dual-channel test board. Connect the UART serial communication pins to the USB-to-serial circuit to enable the PC to control the MCU.
[0036] After the high-frequency signal generator, high-bandwidth oscilloscope, and independent power supply are connected to the PC through the LAN port or USB interface, and the PC recognizes the IP address of each device, add the device IP address to the STS8200 software code to enable remote control of the high-frequency signal generator, high-bandwidth oscilloscope, and independent power supply from the PC.
[0037] As an optional technical solution, the STS8200 software creates a datasheet based on the electrical parameters to be tested, generates a C++ file based on the datasheet, and writes all subsequent control instructions into the C++ file.
[0038] After the C++ file is generated, you must first find the port number of the UART serial port and the IP address of each device, then name each control instruction of the device into a function and write it into the program, put each function in the main function according to the order of the test method, and finally compile it to the debug interface and click test to realize automated testing.
[0039] As an optional technical solution, the process of placing each function in the main function according to the order of the test method is as follows:
[0040] By performing logical analysis on each function, we can derive a valid and testable program. With just one click, we can test the required electrical parameters in the logical order of the program. Based on the judgment function of the STS8200 software, the test values are printed to the debug interface, and the upper and lower limits defined in the datasheet are used to determine whether the test passes.
[0041] As an optional technical solution, the PC sends test commands to the high-frequency signal generator, dual-channel test board and high-bandwidth oscilloscope through a preset test program. The specific test items for the dual-channel high-speed operational amplifier chip test include: -3dB bandwidth test, slew rate test, time test and ICC test.
[0042] The beneficial effects of this application include:
[0043] 1. Since high-speed op amps have a relatively high bandwidth and a relatively short test time, high-precision and high-bandwidth instruments are required for testing. External device testing is also not limited by the test conditions of the tester and can independently achieve high-precision testing;
[0044] 2. The two channels of the independent power supply only supply power to the chip under test, which improves the stability of the power supply. One channel of the independent power supply supplies power to the MCU. All switches on the dual-channel test board can be controlled by the MCU control instruction code, which improves convenience, reduces the number of equipment, saves test space, and simplifies the entire test system.
[0045] 3. Even with a small number of devices, components can still be controlled. Several dual-channel high-speed operational amplifier chips can be tested on the same dual-channel test board, which improves the practicality of the entire test.
[0046] 4. Whether it is the code for MCU to control electronic components or the code for PC to control equipment, they are all in one file. You can use one-click testing by jumping to the debug interface through the code, and finally make judgments based on the feedback results; this improves convenience and operability.
[0047] Other beneficial effects or advantages of the present application will be described in detail in conjunction with the specific structure in the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings required for the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without inventive labor. In addition, it should be understood that the proportional relationship of the various components in the drawings of this specification does not represent the proportional relationship in the actual material selection and design. It is only a schematic diagram of the structure or position, among which:
[0049] Figure 1 This is a schematic diagram of the MUC circuit in the dual-channel test board of this application;
[0050] Figure 2 This is a schematic diagram of the loop circuit of the chip under test in the dual-circuit test board of this application. DETAILED DESCRIPTION
[0051] To make the objectives, technical solutions, and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Generally, the components of the embodiments of the present application described and shown in the drawings herein can be arranged and designed in various different configurations.
[0052] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for protection, but merely represents selected embodiments of the present application. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in the present application without creative work are within the scope of protection of the present application.
[0053] In the description of this application, it should be noted that the terms used, such as "top" and "bottom," refer to the portion of the application near the top when in use as the top, and the portion near the bottom as the bottom; the terms used, such as "first" and "second," are used solely for distinction and do not indicate or imply a distinction in importance or order; and the terms used, such as "inner" and "outer," refer to the inside and outside of a specific outline. The use of the above terms is solely for the purpose of clearly and simply describing the technical solution of this application and should not be construed as limiting this application.
[0054] To facilitate understanding of this solution:
[0055] 1. Explain the existing chip CH340C
[0056] Pin 1 (GND) connects to the negative power supply, and pin 16 (VCC) connects to the positive power supply. Pin 4 (V3) connects to an internal power supply pin. When the CH340C chip uses a 3.3V VCC supply, connect it directly to VCC. When the CH340C chip uses a 5V VCC supply, connect a 0.01uF decoupling capacitor for filtering. Pin 2 (TXD) is the serial data output, and pin 3 (RXD) is the serial data input. In this tutorial, you need to connect pins 2 (TXD) and 3 (RXD) to the corresponding pins on the external MCU. Pins 5 (D+) and 6 (D-) connect to the corresponding D+ and D- on the Mini USB port. Pin 7 (NC) is a no-connect pin and is not connected by default. Pin 15 (R232) is the RS232 input pin and is not used in this tutorial. Pins 8-15 are external signal pins controlled by the computer software. They are not used in this tutorial and are not connected by default.
[0057] 2. Explain the MCU pins
[0058] SWDIO is a serial data input and output pin used for data transmission, including instructions and data. In the SWD protocol, SWDIO is one of the main data channels for communication between the host computer and the target device.
[0059] SWCLK is the serial line clock pin that provides a clock signal for synchronous data transmission. SWCLK ensures the synchronization of data transmission, allowing the host computer to accurately control the timing of data reading and writing.
[0060] 3. Explain electrical terms
[0061] MCU stands for microcontroller unit.
[0062] datasheet indicates the electrical parameter table
[0063] ICC represents the quiescent current
[0064] debug interface indicates the debugging interface
[0065] PC means computer
[0066] Example:
[0067] This embodiment discloses a method for testing a dual-channel high-speed operational amplifier chip using independent equipment, including an independent power supply, a PC, a high-frequency signal generator, a dual-channel test board, and a high-bandwidth oscilloscope. The PC sends test commands to the high-frequency signal generator, the dual-channel test board, and the high-bandwidth oscilloscope using a preset test program to test the dual-channel high-speed operational amplifier chip. The dual-channel test board includes an MCU, a drive circuit, and a loop circuit of the chip under test, wherein:
[0068] The MCU is configured as follows: powered by a 5V to 3.3V circuit, a program download module downloads a preset test program into the MCU, is connected to a relay control module via a Darlington transistor, and a communication pin is connected to a USB to serial port circuit. The relay control module includes 8 single-pole double-throw switches, which are respectively set in the drive circuit and the chip under test loop;
[0069] The driving circuit includes a chip TLV3501AIDBVR, and the chip TLV3501AIDBVR is configured as follows:
[0070] The inverting input terminal IN- is grounded through a resistor R7 and connected to the positive power input terminal through a resistor R5;
[0071] The positive input terminal IN+ is connected to the high-frequency signal generator through the first path of the first single-pole double-throw switch K1 and serves as the signal source input terminal of the dual-path test board; the signal source input terminal is connected to one end of the resistor R6 through the second path of the first single-pole double-throw switch K1, and the other end of the resistor R6 is grounded;
[0072] The negative power input terminal V- is connected to the shutdown signal control terminal SHDN and is grounded;
[0073] The positive power input terminal V+ is grounded through capacitor C5 and is powered by a 5V to 3.3V converter.
[0074] The output terminal OUT is connected to the first positive input terminal IN1+ of the chip under test in the chip under test loop through the first path of the second single-pole double-throw switch K2 and the first path of the seventh single-pole double-throw switch K7, and is connected to the second positive input terminal IN2+ of the chip under test in the chip under test loop through the first path of the second single-pole double-throw switch K2 and the first path of the eighth single-pole double-throw switch K8.
[0075] The first positive input terminal IN1+ of the chip under test is connected to one end of the resistor R6 through the first path of the seventh single-pole double-throw switch K7 and the second path of the second single-pole double-throw switch K2. The second positive input terminal IN2+ of the chip under test is connected to one end of the resistor R6 through the first path of the eighth single-pole double-throw switch K8 and the second path of the second single-pole double-throw switch K2.
[0076] The first positive input terminal IN1+ and the second positive input terminal IN2+ of the chip under test are both connected to a first probe of a high-bandwidth oscilloscope, and the first probe detects the input signal;
[0077] The chip under test is configured as follows:
[0078] The first inverting input terminal IN1- is connected to one end of a resistor R1 through a second path of a fourth single-pole double-throw switch K4, the other end of the resistor R1 is grounded and connected in parallel with a capacitor C1; the first path of a third single-pole double-throw switch K3 is connected to one end of a resistor R2, the other end of the resistor R2 is connected to a first output terminal OUT1 of a chip under test and connected in parallel with a capacitor C2; the first output terminal OUT1 of the chip under test is connected to a second probe of a high-bandwidth oscilloscope, and the second probe detects an output signal from the first output terminal; the second path of the third single-pole double-throw switch K3 is connected to one end of a resistor R3, the other end of the resistor R3 is connected to the first output terminal OUT1 of the chip under test and connected in parallel with a capacitor C3;
[0079] The second inverting input terminal IN2- is connected to one end of a resistor R11 through a second path of a fifth single-pole double-throw switch K5, the other end of the resistor R1 is grounded and connected in parallel with a capacitor C15; the second inverting input terminal IN2- is connected to one end of a resistor R12 through a first path of a sixth single-pole double-throw switch K6, the other end of the resistor R12 is connected to a second output terminal OUT2 of the chip under test and connected in parallel with a capacitor C16; the second output terminal OUT2 of the chip under test is connected to a third probe of a high-bandwidth oscilloscope, and the third probe detects an output signal from the second output terminal; the second inverting input terminal IN2- is connected to one end of a resistor R13 through a second path of the sixth single-pole double-throw switch K6, the other end of the resistor R13 is connected to a second output terminal OUT2 of the chip under test and connected in parallel with a capacitor C17;
[0080] A first positive power input terminal V1+ is connected in sequence to one end of a capacitor C14, one end of a capacitor C13, and a first power supply voltage VCC, and the other end of the capacitor C14 and the other end of the capacitor C13 are both grounded; a first negative power input terminal V1- is connected to a second power supply voltage VEE;
[0081] The second positive power input terminal V2+ is connected to the first power supply voltage VCC, the second negative power input terminal V2- is connected in sequence to one end of the capacitor C12, one end of the capacitor C11 and the second power supply voltage VEE, and the other end of the capacitor C12 and the other end of the capacitor C11 are both grounded;
[0082] The first output terminal OUT1 is connected in sequence to one end of the resistor R2 or the resistor R3, one end of the capacitor C4, one end of the resistor R4 and the second probe, and the other end of the capacitor C4 and the other end of the resistor R4 are both grounded;
[0083] The second output terminal OUT2 is sequentially connected to one end of the resistor R12 or the resistor R13, one end of the capacitor C18, one end of the resistor R14 and the third probe, and the other end of the capacitor C18 and the other end of the resistor R14 are both grounded.
[0084] Combine Figures 1 to 2 The specific working principle is:
[0085] In order to solve the problem that the current test machine cannot meet the test conditions, this solution uses an external high-frequency signal generator, an independent power supply, a high-bandwidth oscilloscope and other equipment to form a complete system to test the high-requirement parameters of the chip. This type of system can solve the problem of high bandwidth, slew rate and ns-level time parameters of op amps for accurate testing.
[0086] To meet the requirements for testing dual-channel high-speed operational amplifier chips with hundreds of Mbps bandwidth, a separate design solution using independent control equipment for automated testing can address the inability of testers to measure these electrical parameters. Because these chips use dual-channel operational amplifiers, the chip package is SOP8 and the pin functions are the same, we can share a set of hardware and complete the testing of different chips using different software codes.
[0087] Further explanation is needed:
[0088] The dual-channel test board is connected to the high-frequency signal generator through an SMA adapter, and then connected to the high-frequency signal generator through an SMA to BNC cable to generate a signal source.
[0089] The dual-channel test board is connected to the high-bandwidth oscilloscope through a BNC adapter, which is then connected to a BNC adapter head and then adapted to the three probes of the high-bandwidth oscilloscope to achieve a fixed effect.
[0090] Whether it is an SMA adapter or a BNC adapter, it is composed of an internal thread + a needle and an outer shell. The SMA to BNC transmission line is also composed of an internal needle + an external spiral ground wire. The internal needle plays the role of transmitting signals, and the outer shell is usually grounded to isolate interference and serve as a reference. In detail, grounding is to provide a reference potential so that the signal can be transmitted stably. By grounding the SMA connector, the reference voltage of the signal can be ensured to be zero, thereby reducing signal distortion and noise.
[0091] The test system of the present invention is divided into two parts: hardware and software.
[0092] The following is an introduction to the hardware:
[0093] The hardware consists of an independent power supply, a PC terminal, a high-frequency signal generator, a dual-channel test board, and a high-bandwidth oscilloscope.
[0094] PC side: The device needs to be connected to the PC side, and the PC side performs automated testing on the device by writing code.
[0095] Independent power supply: A three-channel independent power supply is required, two of which independently power the chip. The specific power supplies are: the first power supply voltage and the second power supply voltage. The remaining channel powers the other parts of the dual-channel test board except the chip. It is connected to the PC through the USB-B port to USB-A port.
[0096] High-frequency signal generator: can send high-frequency sine waves. The higher the maximum frequency of the signal source, the more stable and cleaner the waveform below 90% of the maximum frequency will be. It is connected to the PC via the LAN port to USB.
[0097] A high-bandwidth oscilloscope includes a high-frequency probe, etc. This article uses three probes: the first probe, the second probe, and the third probe. Specifically, the higher the bandwidth of the high-bandwidth oscilloscope and the higher the bandwidth received by the probe, the more stable the high-frequency signal detected by the high-bandwidth oscilloscope will be. Connect the oscilloscope to the PC via a USB-B port to a USB-A port.
[0098] Two-way test board: The two-way test board includes the chip under test, as well as components such as the MCU, relays, Darlington diodes, resistors, and capacitors. It is connected to the chip by connecting the power supply and the PC via a Mini USB to USB port. The Mini USB is connected to the PC via a transmission cable.
[0099] The following is an introduction to the software part:
[0100] The software is divided into MCU serial port communication protocol and control code, C++ control device code and STS8200 software.
[0101] 1. UART serial communication protocol and control relay code:
[0102] The code for controlling the GPIO (Logic Input / Output) pins of the MCU is downloaded into the MCU, and the control instructions are sent to the MCU via the USB-to-serial chip CH340C. The MCU then performs different operations according to the instructions to control the opening and closing of the relay.
[0103] 2.C++ control device code:
[0104] Each operation step of each device is encapsulated into a function, and each function is finally placed in the main function according to the test logic. In this way, the signal source, high-bandwidth oscilloscope, power supply, etc. can be controlled in sequence through different control instruction codes to achieve the final test effect.
[0105] 3.STS8200 software:
[0106] Finally, the UART serial port communication code and control device code are written into the STS8200 software, and the STS8200 software is used to make the final judgment on the test results.
[0107] Furthermore, for ease of understanding, this example can be tested according to the following test process and electrical parameter tests:
[0108] 1. Testing process
[0109] We need to write the MCU control program and download it to the MCU so that we can subsequently control the relays and other components on the dual-channel test board. Specifically: configure the UART serial communication pins and GPIO control pins required for the test in the MCU, generate a program file, and complete the solidification program in the MCU in Keil; write the code and instructions for controlling the flipping of the GPIO control pins into the program, and then download the program to the MCU through the J-LINK downloader. Subsequently, different control instructions in the program are used to control the flipping of the GPIO control pins. The flipping of the GPIO control pins can control the switching of the relay control module on the dual-channel test board; since the MCU's GPIO control pin driving capability is weak, a Darlington tube is added to the output of the GPIO control pin to increase the driving capability to drive the relay control module, thereby controlling the opening and closing of each switch in the relay control module.
[0110] The MCU's serial communication pins TX (transmit pin) and RX (receive pin) are transferred to USB through the serial-to-USB chip CH340C. Subsequently, we send instructions to CH340 through USB, and CH340 will synchronously transfer the signals to the MCU to achieve the control effect.
[0111] After the high-frequency signal generator, high-bandwidth oscilloscope, and independent power supply are connected to the PC via the LAN port or USB interface, the PC recognizes the IP address of each device and adds the device's IP address to the STS8200 software code, enabling the PC to remotely control the high-frequency signal generator, high-bandwidth oscilloscope, and independent power supply. The STS8200 software creates a datasheet based on the electrical parameters to be tested, and then generates a C++ file based on the datasheet. All subsequent control instructions are written into this C++ file.
[0112] After the C++ file is generated, you must first find the port number of the UART serial port and the IP address of each device, then name each control instruction of the device into a function and write it into the program, put each function in the main function according to the order of the test method, and finally compile it to the debug interface and click test to realize automated testing.
[0113] The process of placing each function in the main function according to the order of the test method is as follows: logically analyze each function to obtain a valid and testable program. Only one click is required to test the electrical parameters to be tested according to the logical order in the program. According to the judgment function of the STS8200 software, the test value is printed to the debug interface, and the upper and lower limits defined in the datasheet are used to determine whether the test passes.
[0114] 2. Electrical parameter test method
[0115] -3dB bandwidth test: Send a relay control command to the MCU through the serial port to control the opening and closing of the loop relay, so that the relay switches to the required loop. The program then executes the operations in sequence according to the prepared sequential function. First, configure the conditions for testing the current electrical parameters. Adjust the high-bandwidth oscilloscope probe ratio and amplitude to values suitable for the test. Let the power supply power the chip. Then let the signal source send a sine wave signal that matches the current chip frequency. By continuously increasing the frequency of the input sine wave, a sine wave signal with different amplitudes will be output. When the output sine wave amplitude is less than 0.707 times the input waveform amplitude, the frequency is the -3dB bandwidth.
[0116] Slew rate test: Send a relay control command to the MCU through the serial port to control the opening and closing of the loop relay, so that the relay switches to the required loop. The program then executes the operations in sequence according to the prepared sequential function. First, configure the conditions for testing the current electrical parameters, adjust the high-bandwidth oscilloscope probe ratio and amplitude to values suitable for the test, let the power supply power the chip, and then let the signal source send a low-frequency square wave signal. According to the test conditions, use the high-bandwidth oscilloscope to analyze the rising and falling slopes of the output waveform. Finally, feed the value back to the debug interface for judgment. This value is the slew rate.
[0117] Time test: Send a relay control command to the MCU through the serial port to control the opening and closing of the loop relay, so that the relay switches to the loop we need. The program then executes the operations in sequence according to the prepared sequential function. First, configure the conditions for testing the current electrical parameters, adjust the high-bandwidth oscilloscope probe ratio and amplitude to values suitable for the test, let the power supply power the chip, and then let the signal source send a low-frequency square wave signal. According to the test conditions, use the high-bandwidth oscilloscope to analyze the rise time, fall time and transmission delay of the output waveform. Finally, feed back the values to the debug interface for judgment to complete the time test.
[0118] ICC test: Send a relay control command to the MCU through the serial port to control the opening and closing of the loop relay, so that the relay switches to the required loop. Then send a power supply command to open the power supply channel of the chip on the power supply. Supply power according to the test conditions and feed back the current results displayed on the power supply channel to the STS8200 software for judgment.
[0119] As an implementable technical solution, the 5V to 3.3V circuit includes a chip AMS1117, and the chip AMS1117 is configured as follows: the input terminal IN is connected to a 5V power supply and one end of a capacitor C6, the other end of the capacitor C6 is grounded, and the 5V power supply is provided by an independent power supply; the output terminal OUT is connected in sequence to one end of a capacitor C7, one end of a capacitor C8, and the input end of a light-emitting diode, the other end of the capacitor C7 and the other end of the capacitor C8 are both grounded, the common end of the capacitor C7 and the capacitor C8 serves as the output end of the 5V to 3.3V circuit, outputs a 3.3V power supply, and the output end of the light-emitting diode is grounded through a resistor R8; the ground terminal GND is grounded.
[0120] As an implementable technical solution, the USB-to-serial port circuit includes a chip CH340C, which is configured as follows: pin 1 GND is grounded, pin 16 VCC is connected to one end of capacitor C10, one end of C9, and a 5V power supply in sequence, the other end of the capacitor C10 and the other end of C9 are both grounded, and the 5V power supply is provided by an independent power supply; pin 4 V3 is connected to pin 16 VCC; pin 2 TXD is a serial data output terminal, and pin 3 RXD is a serial data input terminal, both of which are connected to the communication pins of an external MCU; pin 5 D+ and pin 6 D- are connected to the corresponding D+ and D- in the Mini USB.
[0121] As an implementable technical solution, the program download module includes a pin header HDR1x4, which matches the emulator and is plugged into the pin header HDR1x4 for downloading programs. The pin header HDR1x4 is configured as follows: interface 1 is connected to a 3.3V power supply and one end of a resistor R9, and the other end of the resistor R9 is connected to a serial data input / output pin in the MCU; interface 2 is connected to a serial data input / output pin in the MCU; interface 3 is connected to one end of a resistor R10 and a serial line clock pin in the MCU, and the other end of the resistor R10 is grounded; interface 4 is grounded.
[0122] Finally, it should be understood that the embodiments described in this specification are intended only to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of this specification. Therefore, by way of example and not limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to the embodiments explicitly described and illustrated in this specification.
Claims
1. A method for testing a dual-channel high-speed operational amplifier chip using an independent device, characterized in that: Includes independent power supply, PC terminal, high-frequency signal generator, dual-channel test board and high-bandwidth oscilloscope; The PC sends a test command to the high-frequency signal generator, the dual-channel test board and the high-bandwidth oscilloscope through a preset test program to perform a dual-channel high-speed operational amplifier chip test; The dual-circuit test board includes an MCU, a drive circuit and a chip loop under test, wherein: The MCU is configured as follows: powered by a 5V to 3.3V circuit, a program download module downloads a preset test program into the MCU, a relay control module is connected via a Darlington tube, and a communication pin is connected to a USB to serial port circuit. The relay control module includes 8 single-pole double-throw switches, which are respectively arranged in the drive circuit and the loop of the chip under test; The driving circuit includes a chip TLV3501AIDBVR, and the chip TLV3501AIDBVR is configured as follows: The reverse input terminal is grounded through resistor R7 and connected to the positive power input terminal through resistor R5; The positive input terminal is connected to the high-frequency signal generator through the first path of the first single-pole double-throw switch, and the connection point between the high-frequency signal generator and the first single-pole double-throw switch serves as the signal source input terminal of the dual-path test board; the signal source input terminal is connected to one end of the resistor R6 through the second path of the first single-pole double-throw switch, and the other end of the resistor R6 is grounded; The negative power input terminal is connected to the shutdown signal control terminal and is grounded; The positive power input terminal is grounded through capacitor C5 and is powered by a 5V to 3.3V converter; The output end is connected to the first positive input end of the chip under test in the chip under test loop through the first path of the second single-pole double-throw switch and the first path of the seventh single-pole double-throw switch, and is connected to the second positive input end of the chip under test in the chip under test loop through the first path of the second single-pole double-throw switch and the first path of the eighth single-pole double-throw switch. The first positive input terminal of the chip under test is connected to one end of the resistor R6 through the first path of the seventh single-pole double-throw switch and the second path of the second single-pole double-throw switch, and the second positive input terminal of the chip under test is connected to one end of the resistor R6 through the first path of the eighth single-pole double-throw switch and the second path of the second single-pole double-throw switch. The first positive input terminal and the second positive input terminal of the chip under test are both connected to a first probe of a high-bandwidth oscilloscope, and the first probe detects an input signal; The chip under test is configured as follows: The first reverse input terminal is connected to one end of the resistor R1 through the second path of the fourth single-pole double-throw switch, and the other end of the resistor R1 is grounded and connected in parallel with the capacitor C1; the first path of the third single-pole double-throw switch is connected to one end of the resistor R2, and the other end of the resistor R2 is connected to the first output end of the chip under test and connected in parallel with the capacitor C2, and the first output end of the chip under test is connected to the second probe of the high-bandwidth oscilloscope, and the second probe detects the output signal of the first output end; the second path of the third single-pole double-throw switch is connected to one end of the resistor R3, and the other end of the resistor R3 is connected to the first output end of the chip under test and connected in parallel with the capacitor C3; The second reverse input terminal is connected to one end of the resistor R11 through the second path of the fifth single-pole double-throw switch, and the other end of the resistor R1 is grounded and connected in parallel with the capacitor C15; the first path of the sixth single-pole double-throw switch is connected to one end of the resistor R12, and the other end of the resistor R12 is connected to the second output end of the chip under test and connected in parallel with the capacitor C16, and the second output end of the chip under test is connected to the third probe of the high-bandwidth oscilloscope, and the third probe detects the output signal of the second output end; the second path of the sixth single-pole double-throw switch is connected to one end of the resistor R13, and the other end of the resistor R13 is connected to the second output end of the chip under test and connected in parallel with the capacitor C17; The first positive power input terminal is connected to one end of the capacitor C14, one end of the capacitor C13 and the first power voltage in sequence, and the other end of the capacitor C14 and the other end of the capacitor C13 are both grounded; the first negative power input terminal is connected to the second power voltage; The second positive power input terminal is connected to the first power supply voltage, the second negative power input terminal is connected in sequence to one end of the capacitor C12, one end of the capacitor C11 and the second power supply voltage, and the other end of the capacitor C12 and the other end of the capacitor C11 are both grounded; The first output end is connected in sequence to one end of the resistor R2 or the resistor R3, one end of the capacitor C4, one end of the resistor R4 and the second probe, and the other end of the capacitor C4 and the other end of the resistor R4 are both grounded; The second output end is connected in sequence to one end of the resistor R12 or the resistor R13, one end of the capacitor C18, one end of the resistor R14 and the third probe, and the other end of the capacitor C18 and the other end of the resistor R14 are both grounded.
2. The method for testing a dual-channel high-speed operational amplifier chip using an independent device as claimed in claim 1, characterized in that: The independent power supply is a three-channel independent power supply, wherein two channels independently supply power to the chip under test, and the remaining channel supplies power to other parts of the dual-channel test board except the chip under test.
3. The method for testing a dual-channel high-speed operational amplifier chip using an independent device as claimed in claim 2, characterized in that: The specific power supplies for the two channels to independently supply power to the chip under test are: a first power supply voltage and a second power supply voltage.
4. The method for testing a dual-channel high-speed operational amplifier chip using an independent device as claimed in claim 1, characterized in that: The 5V to 3.3V circuit includes a chip AMS1117, and the chip AMS1117 is configured as follows: The input terminal is connected to a 5V power supply and one end of a capacitor C6, the other end of the capacitor C6 is grounded, and the 5V power supply is provided by an independent power supply; The output end is connected to one end of the capacitor C7, one end of the capacitor C8, and the input end of the light emitting diode in sequence, the other end of the capacitor C7 and the other end of the capacitor C8 are both grounded, the common end of the capacitor C7 and the capacitor C8 serves as the output end of the 5V to 3.3V circuit, outputting a 3.3V power supply, and the output end of the light emitting diode is grounded through a resistor R8; The ground terminal is connected to ground.
5. The method for testing a dual-channel high-speed operational amplifier chip using an independent device as claimed in claim 1, characterized in that: The USB to serial port circuit includes a chip CH340C, and the chip CH340C is configured as follows: pin 1 GND is grounded, pin 16 VCC is connected to one end of capacitor C10, one end of C9 and a 5V power supply in sequence, the other end of the capacitor C10 and the other end of C9 are both grounded, and the 5V power supply is provided by an independent power supply; pin 4 V3 is connected to pin 16 VCC; pin 2 TXD is a serial data output terminal, and pin 3 RXD is a serial data input terminal, both of which lead to communication pins of an external MCU; pin 5 D+ and pin 6 D- are connected to the corresponding D+ and D- in the Mini USB.
6. The method for testing a dual-channel high-speed operational amplifier chip using an independent device as claimed in claim 1, characterized in that: The program download module includes a pin header HDR1x4, which matches the emulator and is inserted into the pin header HDR1x4 for the emulator to download programs. The pin header HDR1x4 is configured as follows: interface 1 is connected to a 3.3V power supply and one end of a resistor R9, and the other end of the resistor R9 is connected to a serial data input / output pin in the MCU; interface 2 is connected to a serial data input / output pin in the MCU; interface 3 is connected to one end of a resistor R10 and a serial line clock pin in the MCU, and the other end of the resistor R10 is grounded; interface 4 is grounded.
7. The method for testing a dual-channel high-speed operational amplifier chip using an independent device as claimed in claim 1, characterized in that: The PC sends a test command to the high-frequency signal generator, the dual-channel test board and the high-bandwidth oscilloscope through a preset test program. The preset process of the test program in the dual-channel high-speed operational amplifier chip test is: Configure the UART serial communication pins and GPIO control pins required for the test in the MCU, generate a program file, and complete the solidification program in the MCU in Keil; write the code and instructions for controlling the flipping of the GPIO control pins into the program, and then download the program to the MCU through the J-LINK downloader. Subsequently, different control instructions in the program are used to control the flipping of the GPIO control pins. The flipping of the GPIO control pins can control the switch of the relay control module on the dual-channel test board; connect the UART serial communication pins to the USB to serial port circuit to realize the PC end to control the MCU; After the high-frequency signal generator, high-bandwidth oscilloscope, and independent power supply are connected to the PC through the LAN port or USB interface, the IP address of each device is added to the STS8200 software code after the PC recognizes the IP address of each device, so that the PC can remotely control the high-frequency signal generator, high-bandwidth oscilloscope, and independent power supply.
8. The method for testing a dual-channel high-speed operational amplifier chip using an independent device as claimed in claim 7, characterized in that: The STS8200 software creates a datasheet according to the electrical parameters to be tested, generates a C++ file based on the datasheet, and writes all subsequent control instructions into the C++ file; After the C++ file is generated, you must first find the port number of the UART serial port and the IP address of each device, then name each control instruction of the device as a function and write it into the program, put each function in the main function according to the order of the test method, and finally compile it to the debug interface and click test to realize automated testing.
9. The method for testing a dual-channel high-speed operational amplifier chip using an independent device as claimed in claim 8, characterized in that: The process of placing each function in the main function according to the order of the test method is: By performing logical analysis on each function, we can obtain a valid and testable program. With just one click, we can test the electrical parameters that need to be tested in the logical order of the program. According to the judgment function of the STS8200 software, the test values are printed to the debug interface, and the upper and lower limits defined in the datasheet are used to determine whether the test has passed.
10. The method for testing a dual-channel high-speed operational amplifier chip using an independent device as claimed in claim 9, characterized in that: The PC sends test commands to the high-frequency signal generator, the dual-channel test board and the high-bandwidth oscilloscope through a preset test program. The specific test items for the dual-channel high-speed operational amplifier chip test include: -3dB bandwidth test, slew rate test, time test and ICC test.
