Burner OK signal capturing circuit
By adding a pulse signal capture circuit between the programmer and the automatic programming device, the instantaneous pulse signal is converted into a continuous level signal, which solves the problem of programmer signal loss and improves the reading accuracy and programming yield of the automatic programming device.
Patent Information
- Application Number
- CN202520041483.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-08
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2035-01-08
AI Technical Summary
Automatic programming equipment may fail to detect the instantaneous pulse OK signal of the programmer in multi-station situations, leading to misjudgment of programming results.
A pulse signal capture circuit is added between the control interface of the programmer and the main control board of the automatic programming device to convert the instantaneous pulse signal into a continuous level signal so that the automatic programming device can read it.
This ensures that the automatic programming equipment can correctly read the status of the programmer at each station, thereby improving the yield and programming quality of the automatic programming process for power ICs.
Smart Images

Figure CN223650994U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to a programmer OK signal capture circuit, belonging to the field of power IC automatic programming technology. Background Technology
[0002] In the existing technology, the automatic programming process refers to the following: the main control board of the automatic programming equipment sends a START low-level signal to the programmer at each station, then starts the programmer to perform programming, and finally judges the programming result of the station by reading the OK or NG level signal output by the programmer.
[0003] However, some programmers output instantaneous pulse signals with a duration of only 20ms. When there are many programming stations, the main control board of the automatic programming equipment may not detect the OK signal of some programmers (signal loss), which may lead to the equipment misjudging the programming results.
[0004] To solve this problem, it is urgent to develop and design a programmer OK signal capture circuit to prevent the programmer output signal from being lost. Summary of the Invention
[0005] To address the aforementioned technical problems, this utility model provides a programmer OK signal capture circuit. By adding a pulse signal capture circuit between the control interface of each programmer and the communication interface of the main control board of the automatic programming device, the instantaneous pulse signal is converted into a continuous level signal, thereby preventing the loss of the programmer output signal and facilitating the automatic programming device to read it.
[0006] To achieve the above technical objectives, this utility model provides a programmer OK signal capture circuit, including a power module, an MCU control module connected to the power module, an automatic programming device communication module connected to both the power module and the MCU control module, and a programmer control interface module connected to the MCU control module.
[0007] The power module includes a step-down chip U1 that is connected to a 24V DC input terminal and a 5V DC output terminal respectively;
[0008] The MCU control module includes an HT66F004 microcontroller and a level conversion circuit;
[0009] The communication module of the automatic programming device includes a communication port CN3, and optical coupler isolation circuits one, two, three, and four;
[0010] The programmer control interface module includes a control port CN2;
[0011] The START ATE interface of the communication port CN3 is connected to the PB5 / PTP0B pin of the HT66F004 microcontroller and the signal input terminal of the level conversion circuit via an optocoupler isolation circuit.
[0012] The signal output terminal of the level conversion circuit is connected to interface 2 of control port CN2, and its power input terminal is connected to the 5V DC output terminal.
[0013] The control port CN2 has its 3rd interface connected to the PB2 / AN2 pin of the HT66F004 microcontroller, its 4th interface connected to the PB1 / AN1 pin of the HT66F004 microcontroller, and its 5th interface connected to the PB0 / AN0 pin of the HT66F004 microcontroller.
[0014] The VDD / AVDD pin of the HT66F004 microcontroller is connected to the 5V DC output terminal, its VSS / AVSS pin is grounded, its PC0 pin is connected to the BUSY_ATE interface of communication port CN3 through optocoupler isolation circuit one, its PC1 pin is connected to the OK_ATE interface of communication port CN3 through optocoupler isolation circuit two, and its PC2 / PES pin is connected to the NG_ATE interface of communication port CN3 through optocoupler isolation circuit three.
[0015] Furthermore, the power module of this utility model includes a connector CN1, surface mount capacitors EC1 and EC2, capacitors C1 and C2, diode D1, inductor L1, and step-down chip U1.
[0016] The 24V DC input terminal is connected to interface 2 of connector CN1, the positive terminal of surface mount capacitor EC1, one end of capacitor C1, and the VIN terminal of buck converter U1. The OUT terminal of buck converter U1 is connected to one end of inductor L1 and the negative terminal of diode D1. The FB terminal of buck converter U1 is connected to the other end of inductor L1, the positive terminal of surface mount capacitor EC2, one end of capacitor C2, and the 5V DC output terminal. Interface 1 of connector CN1, the negative terminal of surface mount capacitor EC1, the other end of capacitor C1, the GND and ON terminals of buck converter U1, the positive terminal of diode D1, the negative terminal of surface mount capacitor EC2, and the other end of capacitor C2 are all grounded.
[0017] Furthermore, the step-down chip U1 of this invention is an LM2596 series 5V fixed output DC-DC step-down chip.
[0018] Furthermore, the level conversion circuit of this invention includes transistors Q4 and Q5, and resistors R10-R14;
[0019] In this circuit, the optocoupler isolation circuit 4 is connected to one end of resistor R11 and one end of resistor R12 respectively; the other end of resistor R11 is connected to one end of resistor R10, the 5V DC output terminal, and the emitter of transistor Q4 respectively; the other end of resistor R12 is connected to the other end of resistor R10 and the base of transistor Q4 respectively; the collector of transistor Q4 is connected to one end of resistor R14 and the base of transistor Q5 via resistor R13; the emitter of transistor Q5 and the other end of resistor R14 are grounded; the collector of transistor Q5 is connected to interface 2 of control port CN2.
[0020] Furthermore, in this utility model, transistor Q4 is an MMBT4403 and transistor Q5 is an S8050.
[0021] Furthermore, the optocoupler isolation circuit of this invention includes resistors R1-R3, transistor Q1, and optocoupler U2.
[0022] The 5V DC output terminal is connected to the positive terminal of the transmitter of optocoupler U2 via resistor R1; the PC0 pin of the HT66F004 microcontroller is connected to one end of resistor R3 and the base of transistor Q1 via resistor R2; the other end of resistor R3 and the emitter of transistor Q1 are grounded; the collector of transistor Q1 is connected to the negative terminal of the transmitter of optocoupler U2; the collector of the receiver of optocoupler U2 is connected to the BUSY_ATE interface of communication port CN3; and the emitter of the receiver of optocoupler U2 is connected to the COM1 interface of communication port CN3.
[0023] Furthermore, the second optocoupler isolation circuit of this utility model includes resistors R4-R6, transistor Q2, and optocoupler U3;
[0024] The 5V DC output terminal is connected to the positive terminal of the transmitter of optocoupler U3 via resistor R4; the PC1 pin of the HT66F004 microcontroller is connected to one end of resistor R6 and the base of transistor Q2 via resistor R5; the other end of resistor R6 and the emitter of transistor Q2 are grounded; the collector of transistor Q2 is connected to the negative terminal of the transmitter of optocoupler U3; the collector of the receiver of optocoupler U3 is connected to the OK_ATE interface of communication port CN3; and the emitter of the receiver of optocoupler U3 is connected to the COM2 interface of communication port CN3.
[0025] Furthermore, the optocoupler isolation circuit three includes resistors R7-R9, transistor Q3, and optocoupler U5;
[0026] The 5V DC output terminal is connected to the positive terminal of the transmitter of optocoupler U5 via resistor R7; the PC2 / RES pin of the HT66F004 microcontroller is connected to one end of resistor R9 and the base of transistor Q3 via resistor R8; the other end of resistor R9 and the emitter of transistor Q3 are grounded; the collector of transistor Q3 is connected to the negative terminal of the transmitter of optocoupler U2; the collector of the receiver of optocoupler U5 is connected to the NG_ATE interface of communication port CN3; and the emitter of the receiver of optocoupler U5 is connected to the COM3 interface of communication port CN3.
[0027] Furthermore, the optocoupler isolation circuit four includes an optocoupler U6;
[0028] Specifically, the START ATE interface of communication port CN3 is connected to the positive terminal of the transmitter of optocoupler U6; the COM4 interface of communication port CN3 is connected to the negative terminal of the transmitter of optocoupler U6; the transmitter of the receiver of optocoupler U6 is grounded; and the collector of the receiver of optocoupler U6 is connected to the PB5 / PTP0B pin of the HT66F004 microcontroller and the signal input terminal of the level conversion circuit, respectively.
[0029] In summary, this invention adds a programmer OK signal capture circuit between the control port CN2 of each programmer and the communication port CN3 of the main control board of the automatic programming device, converting the instantaneous pulse signal into a continuous level signal so that the automatic programming device can read it.
[0030] Compared with the prior art, this utility model has the following technical advantages:
[0031] (1) This utility model provides a circuit for capturing and logically converting instantaneous pulse signals, which not only solves the technical problem of loss of output signal of programmer, but also ensures that the automatic programming equipment can correctly read the working status of the programmer at each station.
[0032] (2) This utility model improves the yield rate of the automatic programming process of power IC, and ensures programming quality and production capacity. Attached Figure Description
[0033] Figure 1 This is a schematic diagram of the principle of this utility model;
[0034] Figure 2 This is a circuit diagram of the power supply module in this utility model;
[0035] Figure 3 This is a circuit diagram of the MCU control module in this utility model;
[0036] Figure 4 This is a circuit diagram of the communication module of the automatic programming device in this utility model;
[0037] Figure 5This is a circuit diagram of the programmer control interface module in this utility model;
[0038] Figure 6 This is a flowchart illustrating the operation of the HT66F004 microcontroller in the MCU control module of this utility model. Detailed Implementation
[0039] To make the objectives, technical solutions, and advantages of this utility model clearer, the technical solutions of this utility model will be clearly and completely described below in conjunction with the embodiments of this utility model. Obviously, the described embodiments are only some, not all, of the embodiments of this utility model. All other embodiments obtained by those skilled in the art based on the embodiments of this utility model without creative effort are within the scope of protection of this utility model.
[0040] like Figures 1-5 As shown, the OK signal capture circuit of the programmer of this utility model includes a power supply module, an MCU control module, an automatic programming device communication module, and a programmer control interface module. The MCU control module is electrically connected to the power supply module, the automatic programming device communication module, and the programmer control interface module, respectively. The power supply module is electrically connected to the automatic programming device communication module. The details are as follows.
[0041] The power module includes a step-down chip U1 that is connected to a 24V DC input terminal and a 5V DC output terminal.
[0042] The MCU control module includes an HT66F004 microcontroller and a level conversion circuit.
[0043] The communication module of the automatic programming device includes a communication port CN3, and optical isolation circuits one, two, three, and four.
[0044] The programmer control interface module includes a control port CN2.
[0045] The START ATE interface of the communication port CN3 is connected to the PB5 / PTP0B pin of the HT66F004 microcontroller and the signal input terminal of the level conversion circuit via an optocoupler isolation circuit.
[0046] The signal output terminal of the level conversion circuit is connected to interface 2 of control port CN2, and its power input terminal is connected to the 5V DC output terminal.
[0047] The control port CN2 has its 3rd interface connected to the PB2 / AN2 pin of the HT66F004 microcontroller, its 4th interface connected to the PB1 / AN1 pin of the HT66F004 microcontroller, and its 5th interface connected to the PB0 / AN0 pin of the HT66F004 microcontroller.
[0048] The VDD / AVDD pin of the HT66F004 microcontroller is connected to the 5V DC output terminal, its VSS / AVSS pin is grounded, its PC0 pin is connected to the BUSY_ATE interface of communication port CN3 through optocoupler isolation circuit one, its PC1 pin is connected to the OK_ATE interface of communication port CN3 through optocoupler isolation circuit two, and its PC2 / PES pin is connected to the NG_ATE interface of communication port CN3 through optocoupler isolation circuit three.
[0049] In practice, the power module is used to convert 24V DC to 5V DC and to power the MCU control module and the communication module of the automatic programming device.
[0050] The HT66F004 microcontroller detects the start signal (active low) from the communication module of the automatic programming device and controls PC0 / to go high and PC1 and PC2 / RES to go low. This informs the automatic programming device that the programmer is currently programming. Simultaneously, the HT66F004 microcontroller enables external interrupt detection (active on falling edge). After programming is complete, the HT66F004 microcontroller captures the falling edge signal (programming end signal) from the programmer via the external interrupt pins PB0 / AN0 to determine that programming is finished. Then, the HT66F004 microcontroller's interrupt handler immediately checks the level of PB0 / AN0 to determine whether programming was successful or failed. The state of PB0 / AN0 is controlled by the programmer. When the HT66F004 microcontroller determines that the level of PB0 / AN0 is low, it controls PC0 to go low and PC1 to go high, and informs the automatic programming device programmer through the automatic programming device communication module that the programming is complete and successful. When the HT66F004 microcontroller determines that the level of PB0 / AN0 is high, it controls PC0 to go low and PC2 to go high, and informs the automatic programming device programmer through the automatic programming device communication module that the programming is complete and failed.
[0051] The level conversion circuit is used to convert the 5V level to the 3.3V level to meet the startup level of the programmer.
[0052] The automatic programming device communication module is used to transmit the start signal from the automatic programming control device to the microcontroller, and to transmit it to the programmer control interface module through the level conversion circuit to start the programmer; in addition, it receives the level status output by the microcontroller and transmits it to the automatic programming control device through optocoupler isolation, so as to inform the automatic programming control device of the current working status of the programmer and the programming result.
[0053] The programmer control interface module is used to receive the start signal from the automatic programming control device and control the programmer to start programming; and when the programmer finishes programming, it receives the programming end signal from the programmer and sends it to the microcontroller to determine the programming result.
[0054] In other embodiments, such as Figure 2 As shown, the power module includes connector CN1, surface mount capacitors EC1 and EC2, capacitors C1 and C2, diode D1, inductor L1, and step-down chip U1. The circuit connection relationship is as follows.
[0055] The 24V DC input terminal is connected to interface 2 of connector CN1, the positive terminal of surface mount capacitor EC1, one end of capacitor C1, and the VIN terminal of buck converter U1. The OUT terminal of buck converter U1 is connected to one end of inductor L1 and the negative terminal of diode D1. The FB terminal of buck converter U1 is connected to the other end of inductor L1, the positive terminal of surface mount capacitor EC2, one end of capacitor C2, and the 5V DC output terminal. Interface 1 of connector CN1, the negative terminal of surface mount capacitor EC1, the other end of capacitor C1, the GND and ON terminals of buck converter U1, the positive terminal of diode D1, the negative terminal of surface mount capacitor EC2, and the other end of capacitor C2 are all grounded.
[0056] In other embodiments, the step-down chip U1 is an LM2596 series 5V fixed-output DC-DC step-down chip, which directly converts 24V DC power into 5V DC power to supply power to the MCU control module and the communication module of the automatic programming device.
[0057] In other embodiments, such as Figure 3 As shown, the level conversion circuit includes transistors Q4 and Q5, and resistors R10-R14. The circuit connection relationship of the entire MCU control module is as follows.
[0058] The VDD / AVDD pins of the HT66F004 microcontroller are connected to the 5V DC output terminal of the power supply module and grounded through capacitor C3.
[0059] The VSS / AVSS pins of the HT66F004 microcontroller are grounded.
[0060] The PB5 / PTP0B pins of the HT66F004 microcontroller are connected to one end of resistor R11 and one end of resistor R12, respectively. The other end of resistor R11 is connected to one end of resistor R10, the 5V DC output terminal of the power module, and the emitter of transistor Q4. The other end of resistor R12 is connected to the other end of resistor R10 and the base of transistor Q4. The collector of transistor Q4 is connected to one end of resistor R14 and the base of transistor Q5 via resistor R13. The emitter of transistor Q5 and the other end of resistor R14 are grounded.
[0061] In specific implementation, transistor Q4 is an MMBT4403, and transistor Q5 is an S8050. Furthermore, transistors Q4 and Q5 form a level conversion circuit to convert 5V to 3.3V (the programmer's input signal is a 3.3V pull-up).
[0062] In other embodiments, such as Figure 4 As shown, the first optocoupler isolation circuit includes resistors R1-R3, transistor Q1, and optocoupler U2; the second optocoupler isolation circuit includes resistors R4-R6, transistor Q2, and optocoupler U3; the third optocoupler isolation circuit includes resistors R7-R9, transistor Q3, and optocoupler U5; and the fourth optocoupler isolation circuit includes optocoupler U6. The circuit connection relationship of the communication module of the automatic programming device is as follows.
[0063] The 5V DC output terminal is connected to the positive terminal of the transmitter of optocoupler U2 via resistor R1; the PC0 pin of the HT66F004 microcontroller is connected to one end of resistor R3 and the base of transistor Q1 via resistor R2; the other end of resistor R3 and the emitter of transistor Q1 are grounded; the collector of transistor Q1 is connected to the negative terminal of the transmitter of optocoupler U2; the collector of the receiver of optocoupler U2 is connected to the BUSY_ATE interface of communication port CN3; and the emitter of the receiver of optocoupler U2 is connected to the COM1 interface of communication port CN3.
[0064] The 5V DC output terminal is connected to the positive terminal of the transmitter of optocoupler U3 via resistor R4; the PC1 pin of the HT66F004 microcontroller is connected to one end of resistor R6 and the base of transistor Q2 via resistor R5; the other end of resistor R6 and the emitter of transistor Q2 are grounded; the collector of transistor Q2 is connected to the negative terminal of the transmitter of optocoupler U3; the collector of the receiver of optocoupler U3 is connected to the OK_ATE interface of communication port CN3; the emitter of the receiver of optocoupler U3 is connected to the COM2 interface of communication port CN3.
[0065] The 5V DC output terminal is connected to the positive terminal of the transmitter of optocoupler U5 via resistor R7; the PC2 / RES pin of the HT66F004 microcontroller is connected to one end of resistor R9 and the base of transistor Q3 via resistor R8; the other end of resistor R9 and the emitter of transistor Q3 are grounded; the collector of transistor Q3 is connected to the negative terminal of the transmitter of optocoupler U2; the collector of the receiver of optocoupler U5 is connected to the NG_ATE interface of communication port CN3; the emitter of the receiver of optocoupler U5 is connected to the COM3 interface of communication port CN3.
[0066] The START ATE interface of communication port CN3 is connected to the positive terminal of the transmitter of optocoupler U6; the COM4 interface of communication port CN3 is connected to the negative terminal of the transmitter of optocoupler U6; the transmitter of the receiver of optocoupler U6 is grounded; the collector of the receiver of optocoupler U6 is connected to the PB5 / PTP0B pin of the HT66F004 microcontroller, and the signal input terminal of the level conversion circuit, namely one end of resistor R11 and one end of resistor R12.
[0067] In specific implementation, the optocouplers U2, U3, U5, and U6 are isolation optocouplers EL817, which serve to isolate the transmitted signals. Furthermore, the automatic programming device communication module uses four isolation optocouplers EL817, thereby isolating the MCU control module and the automatic programming device communication module, thus achieving isolated communication.
[0068] like Figure 5 As shown, the programmer control interface module includes a control port CN2, and the circuit connection relationship is as follows.
[0069] Control port CN2 has the following pin configurations: pin 1 is grounded, pin 2 is connected to the collector of transistor Q5, pin 3 is connected to the PB2 / AN2 pin of the HT66F004 microcontroller, pin 4 is connected to the PB1 / AN1 pin of the HT66F004 microcontroller, and pin 5 is connected to the PB0 / AN0 pin of the HT66F004 microcontroller.
[0070] like Figure 6 As shown, the workflow of this utility model is as follows:
[0071] Upon power-on reset, the MCU control module is first initialized, and all output pins of the HT66F004 microcontroller are set low. Then, the start signal from the START ATE interface of the automatic programming device communication module is transmitted through an optocoupler isolation circuit composed of optocoupler U6. One path is sent to the PB5 / PTP0B pin of the HT66F004 microcontroller, and the other path is sent to interface 2 of control port CN2 through a level conversion circuit composed of transistors Q4 and Q5. At this time, the programmer receives the low level and starts programming.
[0072] Next, the HT66F004 microcontroller detects whether the level of the PB5 / PTP0B pin changes from high to low. If not, it continues to detect in real time; if so, the HT66F004 microcontroller immediately pulls the level of the PC2 / RES pin (pin 4) and the PC1 pin (pin 3) low (resetting the previous programmer's programming output result), and makes the PC0 pin (pin 2) output a high level, making the BUSY_ATE signal output of the communication port CN3 valid, so as to inform the automatic programming control device that the programmer is in programming state (busy) through the communication port CN3.
[0073] After the programmer finishes programming, a momentary low level will be generated on the END_WRITER signal line of interface 5 connected to control port CN2, lasting for 20ms. This pulse signal will be captured by the external interrupt PB0 / AN0 pin of the HT66F004 microcontroller. Based on this, the HT66F004 microcontroller detects whether an external interrupt has occurred. If not, it continues to detect in real time; if so, it enters the interrupt handler, which immediately checks the level state of the PB1 / AN1 pin of the HT66F004 microcontroller.
[0074] If the PB1 / AN1 pin of the HT66F004 microcontroller is low, the PC1 pin of the HT66F004 microcontroller will immediately output a continuous high level, making the OK_ATE signal on the communication port CN3 valid, indicating successful programming. Simultaneously, the PC0 pin of the HT66F004 microcontroller will be set low to notify the automatic programming control device (programmer) that programming is complete via the communication port CN3.
[0075] If the PB1 / AN1 pin of the HT66F004 microcontroller is high, the PC2 / RES pin of the HT66F004 microcontroller will immediately output a continuous high level, making the NG_ATE signal on the communication port CN3 valid, indicating that the programming has failed. At the same time, the PC0 pin of the HT66F004 microcontroller will be set low to notify the automatic programming control device programmer that the programming is complete through the communication port CN3.
[0076] The above is a complete flowchart of the entire programmer's OK signal capture circuit operation. By adding this programmer's OK signal capture circuit between the programmer's control port CN2 and the communication port CN3 of the automatic programming device, the instantaneous pulse signal is converted into a continuous level signal, which is then read by the automatic programming device. This solves the problem of lost programmer output signal and ensures that the automatic programming device can correctly read the working status of the programmer at each station.
[0077] The technical solutions provided by the embodiments of this utility model have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this utility model. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this utility model. At the same time, for those skilled in the art, based on the ideas of this utility model, modifications can be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. These modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the ideas and scope of the technical solutions of the embodiments of this utility model.
Claims
1. A programmer OK signal capture circuit, characterized in that, It includes a power module, an MCU control module connected to the power module, an automatic programming device communication module that connects the power module and the MCU control module respectively, and a programmer control interface module that connects to the MCU control module. The power module includes a step-down chip U1 that is connected to a 24V DC input terminal and a 5V DC output terminal respectively; The MCU control module includes an HT66F004 microcontroller and a level conversion circuit; The communication module of the automatic programming device includes a communication port CN3, and optical coupler isolation circuits one, two, three, and four; The programmer control interface module includes a control port CN2; The START ATE interface of the communication port CN3 is connected to the PB5 / PTP0B pin of the HT66F004 microcontroller and the signal input terminal of the level conversion circuit via an optocoupler isolation circuit. The signal output terminal of the level conversion circuit is connected to interface 2 of the control port CN2, and its power input terminal is connected to the 5V DC output terminal. The control port CN2 has its 3rd interface connected to the PB2 / AN2 pin of the HT66F004 microcontroller, its 4th interface connected to the PB1 / AN1 pin of the HT66F004 microcontroller, and its 5th interface connected to the PB0 / AN0 pin of the HT66F004 microcontroller. The VDD / AVDD pin of the HT66F004 microcontroller is connected to the 5V DC output terminal, its VSS / AVSS pin is grounded, its PC0 pin is connected to the BUSY_ATE interface of communication port CN3 through optocoupler isolation circuit one, its PC1 pin is connected to the OK_ATE interface of communication port CN3 through optocoupler isolation circuit two, and its PC2 / PES pin is connected to the NG_ATE interface of communication port CN3 through optocoupler isolation circuit three.
2. The programmer OK signal capture circuit according to claim 1, characterized in that, The power module includes connector CN1, surface mount capacitors EC1 and EC2, capacitors C1 and C2, diode D1, inductor L1, and step-down chip U1. The 24V DC input terminal is connected to interface 2 of connector CN1, the positive terminal of surface mount capacitor EC1, one end of capacitor C1, and the VIN terminal of buck converter U1. The OUT terminal of buck converter U1 is connected to one end of inductor L1 and the negative terminal of diode D1. The FB terminal of buck converter U1 is connected to the other end of inductor L1, the positive terminal of surface mount capacitor EC2, one end of capacitor C2, and the 5V DC output terminal. Interface 1 of connector CN1, the negative terminal of surface mount capacitor EC1, the other end of capacitor C1, the GND and ON terminals of buck converter U1, the positive terminal of diode D1, the negative terminal of surface mount capacitor EC2, and the other end of capacitor C2 are all grounded.
3. The programmer OK signal capture circuit according to claim 2, characterized in that, The step-down chip U1 is an LM2596 series 5V fixed output DC-DC step-down chip.
4. The programmer OK signal capture circuit according to claim 1, characterized in that, The level conversion circuit includes transistors Q4 and Q5, and resistors R10-R14; In this circuit, the optocoupler isolation circuit 4 is connected to one end of resistor R11 and one end of resistor R12 respectively; the other end of resistor R11 is connected to one end of resistor R10, the 5V DC output terminal, and the emitter of transistor Q4 respectively; the other end of resistor R12 is connected to the other end of resistor R10 and the base of transistor Q4 respectively; the collector of transistor Q4 is connected to one end of resistor R14 and the base of transistor Q5 via resistor R13; the emitter of transistor Q5 and the other end of resistor R14 are grounded; the collector of transistor Q5 is connected to interface 2 of control port CN2.
5. The programmer OK signal capture circuit according to claim 4, characterized in that, The transistor Q4 is an MMBT4403; the transistor Q5 is an S8050.
6. The programmer OK signal capture circuit according to claim 1, characterized in that, The optocoupler isolation circuit includes resistors R1-R3, transistor Q1, and optocoupler U2; The 5V DC output terminal is connected to the positive terminal of the transmitter of optocoupler U2 via resistor R1; the PC0 pin of the HT66F004 microcontroller is connected to one end of resistor R3 and the base of transistor Q1 via resistor R2; the other end of resistor R3 and the emitter of transistor Q1 are grounded; the collector of transistor Q1 is connected to the negative terminal of the transmitter of optocoupler U2; the collector of the receiver of optocoupler U2 is connected to the BUSY_ATE interface of communication port CN3; and the emitter of the receiver of optocoupler U2 is connected to the COM1 interface of communication port CN3.
7. The programmer OK signal capture circuit according to claim 1, characterized in that, The second optocoupler isolation circuit includes resistors R4-R6, transistor Q2, and optocoupler U3; The 5V DC output terminal is connected to the positive terminal of the transmitter of optocoupler U3 via resistor R4; the PC1 pin of the HT66F004 microcontroller is connected to one end of resistor R6 and the base of transistor Q2 via resistor R5; the other end of resistor R6 and the emitter of transistor Q2 are grounded; the collector of transistor Q2 is connected to the negative terminal of the transmitter of optocoupler U3; the collector of the receiver of optocoupler U3 is connected to the OK_ATE interface of communication port CN3; and the emitter of the receiver of optocoupler U3 is connected to the COM2 interface of communication port CN3.
8. The programmer OK signal capture circuit according to claim 1, characterized in that, The optocoupler isolation circuit includes resistors R7-R9, transistor Q3, and optocoupler U5; The 5V DC output terminal is connected to the positive terminal of the transmitter of optocoupler U5 via resistor R7; the PC2 / RES pin of the HT66F004 microcontroller is connected to one end of resistor R9 and the base of transistor Q3 via resistor R8; the other end of resistor R9 and the emitter of transistor Q3 are grounded; the collector of transistor Q3 is connected to the negative terminal of the transmitter of optocoupler U2; the collector of the receiver of optocoupler U5 is connected to the NG_ATE interface of communication port CN3; and the emitter of the receiver of optocoupler U5 is connected to the COM3 interface of communication port CN3.
9. The programmer OK signal capture circuit according to claim 1, characterized in that, The optocoupler isolation circuit four includes optocoupler U6; Specifically, the START ATE interface of communication port CN3 is connected to the positive terminal of the transmitter of optocoupler U6; the COM4 interface of communication port CN3 is connected to the negative terminal of the transmitter of optocoupler U6; the transmitter of the receiver of optocoupler U6 is grounded; and the collector of the receiver of optocoupler U6 is connected to the PB5 / PTP0B pin of the HT66F004 microcontroller and the signal input terminal of the level conversion circuit, respectively.