Method for testing single-channel high-speed operational amplifier chip using independent equipment
Through independent equipment and automated test procedures, it solves the problem that existing test machines cannot meet the high-bandwidth test of single-channel high-speed operational amplifier chips, achieves a high-precision and efficient test process, and simplifies the test system.
Patent Information
- Application Number
- CN202410931892.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-12
AI Technical Summary
Existing test machines cannot meet the requirements for high-bandwidth and short-time electrical parameter testing of single-channel high-speed operational amplifier chips, resulting in the inability to effectively test the electrical parameters of the chip.
Independent equipment is used for testing, including an independent power supply, PC, high-frequency signal generator and high-bandwidth oscilloscope. Automated testing is performed through a single-channel test board and MCU. High-precision testing of the chip is achieved using relay control modules and USB to serial port circuits. .
It achieves high-precision single-channel high-speed operational amplifier chip testing, improves the stability and practicality of testing, reduces the number of equipment, saves testing space, and realizes one-click testing through automated procedures.
Smart Images

Figure CN118465519B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of chip testing, and in particular to a method for testing a single-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 electrical parameters of the chip need to be tested. Only when the test requirements meet the requirements can it be put into practical application.
[0003] The electrical parameter testing requirements for single-channel high-speed operational amplifier chips are relatively high, such as bandwidth of hundreds of megabytes and short time. This kind of electrical parameter testing with hundreds of megabytes of bandwidth has high requirements for the test machine. Previously, existing test machines could not meet the test conditions for this type of electrical parameters, so they 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 single-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 single-channel high-speed operational amplifier chip using independent equipment, which solves the problem that the electrical parameter testing requirements in the single-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 single-channel high-speed operational amplifier chip using independent equipment, including an independent power supply, a PC terminal, a high-frequency signal generator, a single-channel test board, and a high-bandwidth oscilloscope;
[0008] The PC sends a test command to the high-frequency signal generator, the single-channel test board and the high-bandwidth oscilloscope through a preset test program to perform a single-channel high-speed operational amplifier chip test;
[0009] The single-channel test board includes an MCU, a drive circuit and a chip loop under test, wherein:
[0010] The MCU is configured as follows: the 5V to 3.3V power supply is used, the program download module downloads the preset test program into the MCU, the relay control module is connected through the Darlington tube, and the communication pin is connected to the USB to serial port circuit. The relay control module includes 4 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 reverse 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 single-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 terminal is grounded through capacitor C5 and is powered by a 5V to 3.3V converter;
[0016] The output end is connected to the 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, the positive input end of the chip under test is connected to one end of the resistor R6 through the second path of the second single-pole double-throw switch, and the positive input end of the chip under test is connected to the first probe of the high-bandwidth oscilloscope, and the first probe detects the input signal;
[0017] The chip under test is configured as follows:
[0018] The 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 reverse input terminal is connected to one end of the resistor R2 through the first path of the third single-pole double-throw switch, and the other end of the resistor R2 is connected to the output end of the chip under test and connected in parallel with the capacitor C2, and the 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; the reverse input terminal is connected to one end of the resistor R3 through the second path of the third single-pole double-throw switch, and the other end of the resistor R3 is connected to the output end of the chip under test and connected in parallel with the capacitor C3;
[0019] The 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;
[0020] The negative power supply input terminal is connected to one end of the capacitor C12, one end of the capacitor C11 and the second power supply voltage in sequence, and the other end of the capacitor C12 and the other end of the capacitor C11 are both grounded;
[0021] The 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.
[0022] 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 single-channel test board except the chip under test.
[0023] 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.
[0024] As an optional technical solution, the 5V to 3.3V circuit includes a chip AMS1117, and the chip AMS1117 is configured as follows:
[0025] 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;
[0026] 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;
[0027] The ground terminal is connected to ground.
[0028] 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 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.
[0029] As an optional technical solution, 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 and output pin in the MCU; interface 2 is connected to a serial data input and 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.
[0030] As an optional technical solution, the PC sends a test command to the high-frequency signal generator, the single-channel test board and the high-bandwidth oscilloscope through a preset test program, and the preset process of the test program in the single-channel high-speed operational amplifier chip test is:
[0031] 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 single-channel test board; connect the UART serial communication pins to the USB to serial port circuit to realize the PC-side control of the MCU;
[0032] 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.
[0033] As an optional technical solution, 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;
[0034] 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.
[0035] As an optional technical solution, the process of placing each function in the main function according to the order of the test method is:
[0036] 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.
[0037] As an optional technical solution, the PC sends test commands to the high-frequency signal generator, the single-channel test board and the high-bandwidth oscilloscope through a preset test program. The specific test items for the single-channel high-speed operational amplifier chip test include: -3dB bandwidth test, slew rate test, time test and ICC test.
[0038] The beneficial effects of this application include:
[0039] 1. Since the bandwidth of high-speed op amps is relatively high and the time is relatively short, high-precision and high-bandwidth instruments are required for testing. External device testing is also not limited by the test conditions of the test machine and can independently achieve high-precision testing;
[0040] 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 single-channel test board can be controlled through the MCU control instruction code, which improves convenience, reduces the number of equipment, saves test space, and simplifies the entire test system;
[0041] 3. Even when the number of devices is small, components can still be controlled. Several single-channel high-speed operational amplifier chips can be tested on the same single-channel test board, which improves the practicality of the entire test;
[0042] 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-key testing by jumping to the debug interface through the code, and finally make judgments based on the feedback results; it improves convenience and operability.
[0043] 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
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. 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 creative 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, which is only a schematic diagram of the structure or position, where:
[0045] Figure 1 This is a schematic diagram of the MUC circuit in the single-channel test board of this application;
[0046] Figure 2 This is a schematic diagram of the loop circuit of the chip under test in the single-channel test board of this application. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0048] 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 which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0049] In the description of this application, it should be noted that the terms used, such as "top" and "bottom", refer to the part of this application that is close to the top when in use as the top, and the part that is close to the bottom as the bottom; the terms used, such as "first" and "second", are only used to distinguish expressions, and do not indicate or imply that they have a difference in importance or order; the terms used, such as "inside" and "outside", refer to the inside and outside of a specific contour. The use of the above terms is only to facilitate a clear and simple description of the technical solution of this application, and cannot be understood as a limitation on this application.
[0050] To facilitate understanding of this solution:
[0051] 1: Some explanations on the existing chip CH340C
[0052] Pin 1 GND is connected to the negative pole of the power supply, and pin 16 VCC is connected to the positive pole of the power supply; pin 4 V3 is a pin connected to the internal power supply; when the chip CH340C power supply voltage VCC uses 3.3V, it is directly connected to VCC; when the chip CH340C power supply voltage VCC uses 5V, it is connected to a 0.01uF decoupling capacitor filter. Pin 2 TXD is the serial data output terminal, and pin 3 RXD is the serial data input terminal. In this article, pin 2 TXD and pin 3 RXD need to be led out to the corresponding pins of the external MCU. Pin 5 D+ and pin 6 D- are connected to the corresponding D+ and D- in the Mini USB interface. Pin 7 NC is an empty pin and is not connected by default. Pin 15 R232 is the input RS232 interface. It is not needed in this article and is not connected by default. Pins 8-15 are connected to external signal pins, which are all controlled by computer software programs. They are not needed in this article and are not connected by default.
[0053] 2. Explain the MCU pins
[0054] 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.
[0055] SWCLK is the serial line clock pin, which 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.
[0056] 3. Explain electrical terms
[0057] MCU stands for microcontroller unit.
[0058] datasheet indicates the electrical parameter table
[0059] ICC represents the quiescent current
[0060] The debug interface indicates the debugging interface
[0061] PC means computer
[0062] Example:
[0063] The present embodiment discloses a method for testing a single-channel high-speed operational amplifier chip using an independent device, including an independent power supply, a PC end, a high-frequency signal generator, a single-channel test board, and a high-bandwidth oscilloscope; the PC end sends a test command to the high-frequency signal generator, the single-channel test board, and the high-bandwidth oscilloscope through a preset test program to test the single-channel high-speed operational amplifier chip; the single-channel test board includes an MCU, a drive circuit, and a chip loop under test, wherein:
[0064] The MCU is configured as follows: the 5V to 3.3V power supply is used, the program download module downloads the preset test program into the MCU, the relay control module is connected through the Darlington tube, and the communication pin is connected to the USB to serial port circuit. The relay control module includes 4 single-pole double-throw switches, which are respectively set in the drive circuit and the chip under test loop;
[0065] The driving circuit includes a chip TLV3501AIDBVR, and the chip TLV3501AIDBVR is configured as follows:
[0066] The reverse input terminal IN- is grounded through a resistor R7 and connected to the positive power input terminal through a resistor R5;
[0067] 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 single-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;
[0068] The negative power input terminal V- is connected to the shutdown signal control terminal SHDN and is grounded;
[0069] The positive power input terminal V+ is grounded through capacitor C5 and is powered by a 5V to 3.3V converter;
[0070] The output terminal OUT is connected to the positive input terminal of the chip under test in the chip under test loop through the first path of the second single-pole double-throw switch K2, the positive input terminal of the chip under test is connected to one end of the resistor R6 through the second path of the second single-pole double-throw switch K2, and the positive input terminal of the chip under test is connected to the first probe of the high-bandwidth oscilloscope, and the first probe detects the input signal;
[0071] The chip under test is configured as follows:
[0072] The reverse input terminal IN- is connected to one end of the resistor R1 through the second path of the fourth single-pole double-throw switch K4, and the other end of the resistor R1 is grounded and connected in parallel with the capacitor C1; the reverse input terminal IN- is connected to one end of the resistor R2 through the first path of the third single-pole double-throw switch K3, and the other end of the resistor R2 is connected to the output end of the chip under test and connected in parallel with the capacitor C2, and the 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; the reverse input terminal IN- is connected to one end of the resistor R3 through the second path of the third single-pole double-throw switch K3, and the other end of the resistor R3 is connected to the output end of the chip under test and connected in parallel with the capacitor C3;
[0073] The positive power input terminal V+ is connected to one end of the capacitor C14, one end of the capacitor C13 and the first power voltage VCC in sequence, and the other end of the capacitor C14 and the other end of the capacitor C13 are both grounded;
[0074] The negative power input terminal V- 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;
[0075] The 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.
[0076] Combination Figure 1 to Figure 2 The specific working principle is:
[0077] 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 the op amp for accurate testing.
[0078] In response to the demand for testing single-channel high-speed operational amplifier chips with hundreds of megabytes of bandwidth, a separate design scheme is used to control independent equipment for automated testing, which can make up for the loophole that the test machine cannot test such electrical parameters. Because this type of chip input single-channel operational amplifier, the chip package is SOP8 package, and the pin function is the same, so we share a set of hardware and can complete the test of different chips through different software codes.
[0079] Further explanation is needed:
[0080] The single-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.
[0081] The single-channel test board is connected to the high-bandwidth oscilloscope through a BNC adapter, and then a BNC adapter is connected to the BNC adapter and then adapted to the two probes of the high-bandwidth oscilloscope to achieve a fixed effect.
[0082] 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 wire consisting of a 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.
[0083] The test system of the present invention is divided into two parts: hardware and software.
[0084] The following is an introduction to the hardware:
[0085] The hardware consists of an independent power supply, a PC terminal, a high-frequency signal generator, a single-channel test board and a high-bandwidth oscilloscope.
[0086] PC side: The device needs to be connected to the PC side, and the PC side can perform automated testing on the device by writing code.
[0087] Independent power supply: A three-channel independent power supply is required, two of which are used to 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 single-channel test board except the chip, and is connected to the PC via the USB-B port to the USB-A port.
[0088] High-frequency signal generator: It 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 can be connected to the PC via the LAN port to USB.
[0089] The high-bandwidth oscilloscope includes a high-frequency probe, etc. There are two probes in this article, namely the first probe and the second 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. It is connected to the PC via the USB-B port to the USB-A port.
[0090] Single-channel test board: The single-channel test board includes the chip under test and components such as MCU, relays, Darlington tubes, resistors and capacitors. The power supply is connected to the chip and connected to the PC through the Mini USB port to the USB port. The Mini USB is connected to the PC through a transmission line.
[0091] The following is an introduction to the software part:
[0092] The software is divided into MCU serial communication protocol and control code, C++ control device code and STS8200 software.
[0093] 1.UART serial communication protocol and control relay code:
[0094] The code for controlling GPIO (Logic Input Output Pin) of MCU is downloaded into MCU, and the control instructions are sent to MCU through USB to Serial Port chip CH340C. MCU then performs different operations according to the instructions to control the opening and closing of relays.
[0095] 2.C++ control device code:
[0096] 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, oscilloscope, power supply, etc. can be controlled in sequence through different control instruction codes to achieve the final test effect.
[0097] 3.STS8200 software:
[0098] Finally, the UART serial 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.
[0099] Further, for ease of understanding, this example can be tested according to the following test process and electrical parameter test:
[0100] 1. Testing process
[0101] We need to write the MCU control program and download it to the MCU so that we can control the relays and other components on the single-channel test board later. 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 pin 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 pin. The flipping of the GPIO control pin can control the switch of the relay control module on the single-channel test board; because 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, so as to control the opening and closing of each switch in the relay control module.
[0102] Transfer the MCU's serial communication pins TX (transmission pin) and RX (receive pin) to USB through the serial-to-USB chip CH340C. Later, we send instructions to CH340 through USB, and CH340 will synchronously transfer the signal to MCU to achieve the control effect.
[0103] 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. In the STS8200 software, a datasheet is created based on the electrical parameters to be tested, and then a C++ file is generated based on the datasheet, and all subsequent control instructions are written into this C++ file;
[0104] 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.
[0105] The process of placing each function in the main function according to the order of the test method is as follows: perform logical analysis on each function to obtain a valid and testable program. Only one button is needed 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.
[0106] 2. Electrical parameter test method
[0107] -3dB bandwidth test: send a relay control command to the MCU through the serial port to control the opening and closing of the relay in the loop, so that the relay can switch to the loop we need. The program then executes the operations in sequence according to the prepared sequential functions. First, configure the conditions for testing the current electrical parameters, adjust the 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 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 obtained. When the output sine wave amplitude is less than 0.707 times the input waveform amplitude, the frequency is the -3dB bandwidth.
[0108] Slew rate test: Send a relay control command to the MCU through the serial port to control the opening and closing of the relay in the loop, so that the relay can switch to the loop we need. The program then executes the operations in sequence according to the prepared sequential functions. First, configure the conditions for testing the current electrical parameters, adjust the 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 oscilloscope to analyze the rising and falling slopes of the output waveform, and finally feed back the values to the debug interface for judgment. This value is the slew rate.
[0109] Time test: send a relay control command to MCU through the serial port to control the opening and closing of the relay in the loop, so that the relay can switch to the loop we need. The program then executes the operations in sequence according to the prepared sequential functions. First, configure the conditions for testing the current electrical parameters, adjust the 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 oscilloscope to analyze the rise time, fall time and transmission delay of the output waveform, and finally feed back the values to the debug interface for judgment to complete the time test.
[0110] 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 can switch to the loop we need, and then give the 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.
[0111] 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 to one end of a capacitor C7, one end of a capacitor C8, and an input end of a 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, 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.
[0112] As an implementable 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 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.
[0113] As an implementable technical solution, 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.
[0114] Finally, it should be understood that the embodiments described in this specification are only used to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of this specification. Therefore, as an example and not a 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 introduced and described in this specification.
Claims
1. A method for testing a single-channel high-speed operational amplifier chip using an independent device, characterized in that: Includes independent power supply, PC terminal, high-frequency signal generator, single-channel test board and high-bandwidth oscilloscope; The PC sends a test command to the high-frequency signal generator, the single-channel test board and the high-bandwidth oscilloscope through a preset test program to perform a single-channel high-speed operational amplifier chip test; The single-channel test board includes an MCU, a drive circuit and a chip loop under test, wherein: The MCU is configured as follows: the 5V to 3.3V power supply is used, the program download module downloads the preset test program into the MCU, the relay control module is connected through the Darlington tube, and the communication pin is connected to the USB to serial port circuit. The relay control module includes 4 single-pole double-throw switches, which are respectively set in the drive circuit and the chip under test loop; 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 serves as the signal source input terminal of the single-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 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, the positive input end of the chip under test is connected to one end of the resistor R6 through the second path of the second single-pole double-throw switch, and the positive input end of the chip under test is connected to the first probe of the high-bandwidth oscilloscope, and the first probe detects the input signal; The chip under test is configured as follows: The 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 reverse input terminal is connected to one end of the resistor R2 through the first path of the third single-pole double-throw switch, and the other end of the resistor R2 is connected to the output end of the chip under test and connected in parallel with the capacitor C2, and the 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; the reverse input terminal is connected to one end of the resistor R3 through the second path of the third single-pole double-throw switch, and the other end of the resistor R3 is connected to the output end of the chip under test and connected in parallel with the capacitor C3; The 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 negative power supply input terminal is connected to one end of the capacitor C12, one end of the capacitor C11 and the second power supply voltage in sequence, and the other end of the capacitor C12 and the other end of the capacitor C11 are both grounded; The 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.
2. The method for testing a single-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 single-channel test board except the chip under test.
3. The method for testing a single-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 single-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 single-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 single-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 single-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 single-channel test board and the high-bandwidth oscilloscope through a preset test program. The preset process of the test program in the single-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 single-channel test board; connect the UART serial communication pins to the USB to serial port circuit to realize the PC-side control of 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 single-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 single-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 single-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 single-channel test board and the high-bandwidth oscilloscope through a preset test program. The specific test items for the single-channel high-speed operational amplifier chip test include: -3dB bandwidth test, slew rate test, time test and ICC test.
