Chip pin detection device and method
By using an automated chip pin detection device, which utilizes communication and status acquisition modules to detect open and short circuits in chip pins, the problem of low efficiency and poor reliability of manual detection is solved, achieving efficient and reliable detection.
Patent Information
- Application Number
- CN202411024052.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-11-26
AI Technical Summary
In existing technologies, chip pin detection relies on manual inspection, which results in long inspection times, low efficiency, high costs, and the risk of missed detections.
A chip pin detection device is adopted, including a first communication module, a control module and a pin status acquisition module. The device automatically controls the output status of the chip pins and acquires status information to determine open circuit and short circuit conditions.
It shortens the testing time, improves testing efficiency, reduces production costs, ensures the reliability of testing, and avoids missed detections.
Smart Images

Figure CN119024127A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of chip pin detection, and in particular to a chip pin detection device and method. Background Art
[0002] After the chip is manufactured, in order to ensure that the chip pins can be used normally, the pins need to be tested before production delivery to ensure that the chip can be delivered to the user normally, especially in customized chips.
[0003] Currently, when testing the pins of a chip, it is done manually to check whether the pins of the chip can be used normally. Although the manual testing method can complete the testing of the chip pins, the manual testing method takes a long time and has low efficiency, resulting in high production costs. In addition, the manual testing method has the risk of missed detection and low reliability.
[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0005] In view of the above-mentioned deficiencies in the prior art, the purpose of the present invention is to provide a chip pin detection device and method to solve the problems in the prior art of manual detection methods, such as long detection time, low efficiency, high production cost, and the risk of missed detection.
[0006] The technical solution adopted by the present invention to solve the technical problem is: to provide a chip pin detection device for detecting the general input / output pins of the chip to be tested, the chip pin detection device comprising:
[0007] A first communication module connected to the chip to be tested;
[0008] A control module connected to the first communication module, the control module being used to send a first instruction to the chip under test so that all general input / output pins of the chip under test output a first state;
[0009] A pin status acquisition module is connected to the first communication module and the chip to be tested. The pin status acquisition module is used to obtain the output status of all general input / output pins of the chip to be tested and transmit it to the control module. The control module is also used to determine the open circuit status of all general input / output pins of the chip to be tested according to the output status of all general input / output pins of the chip to be tested.
[0010] In a further configuration of the present invention, the control module is further used to send a second instruction to the chip under test, so that all the general input / output pins of the chip under test output a second state one by one, wherein the second state is the opposite state to the first state;
[0011] The pin status acquisition module is also used to obtain the output status of all general input / output pins of the chip under test when the general input / output pin of the chip under test outputs the second state. The control module is also used to determine the short circuit status of all general input / output pins of the chip under test according to the output status of all general input / output pins of the chip under test.
[0012] According to a further configuration of the present invention, the pin status acquisition module comprises: a first chip;
[0013] The first chip is connected to the first communication module, the number of general input / output pins of the first chip is greater than or equal to the number of general input / output pins of the chip to be tested, and each general input / output pin of the chip to be tested is connected to a general input / output pin of the first chip;
[0014] Among them, when the universal input / output pin of the chip under test outputs the first state, the control module is also used to send a third instruction to the first chip to make all the universal input / output pins of the first chip output a third state, and the third state is the opposite state of the first state, and the first chip is used to obtain the output state of all the universal input / output pins of the chip under test.
[0015] According to a further configuration of the present invention, the first chip is further configured to obtain output states of all general input / output pins of the chip under test when the general input / output pin of the chip under test outputs the second state.
[0016] According to a further configuration of the present invention, the chip pin detection device also includes: a chip test socket, the number of pin contact points of the chip test socket is greater than or equal to the number of general input / output pins of the chip to be tested, wherein at least a general input / output pin of the first chip that is connected to the general input / output pin of the chip to be tested is connected to a pin contact point of the chip test socket, and each pin contact point of the chip test socket is connected to a general input / output pin of the first chip.
[0017] According to a further configuration of the present invention, the chip pin detection device further comprises:
[0018] A chip insertion detection module is connected to the chip test socket and the first chip, and is used to detect whether the chip to be tested is inserted into the chip test socket.
[0019] In a further configuration of the present invention, the chip insertion detection module includes: a comparator, a first resistor, a second resistor, a third resistor, a fourth resistor, a first capacitor and a second capacitor;
[0020] One end of the first resistor is connected to the first pin of the comparator, and the other end of the first resistor is grounded. One end of the second resistor is connected to the first power supply end, and the other end of the second resistor is connected to the third pin of the comparator. One end of the third resistor and one end of the first capacitor are connected to the third pin of the comparator, and the other end of the third resistor and the other end of the first capacitor are grounded. The fifth pin of the comparator is connected to the first power supply end, one end of the second capacitor is connected to the fifth pin of the comparator, the other end of the second capacitor is grounded, and the second pin of the comparator is grounded. One end of the fourth resistor is connected to the first power supply end, and the other end of the fourth resistor is connected to the fourth pin of the comparator. The fourth pin of the comparator is connected to the 93rd pin of the first chip.
[0021] Wherein, when the chip to be tested is inserted into the chip test socket, the first pin of the comparator is connected to the second power supply end.
[0022] According to a further configuration of the present invention, the chip pin detection device further comprises:
[0023] A first program download interface, used to send a reset signal or burn a program to the chip under test;
[0024] A first relay switch module is connected to the chip to be tested and the first program download interface, and the first relay switch module is used to be turned on when a reset signal is sent to the chip to be tested;
[0025] A second relay switch module is connected to the chip to be tested and the first program download interface, and the second relay switch module is used to be turned on when burning a program into the chip to be tested;
[0026] A third relay switch module is connected to the chip to be tested and the first communication module, and the third relay switch module is used to be turned on when the control module is in communication connection with the chip to be tested;
[0027] A relay driving module is connected to the first relay switch module, the second relay switch module and the third relay switch module, and the relay driving module is used to drive the first relay switch module, the second relay switch module and the third relay switch module.
[0028] The present invention also provides a method for using the chip pin detection device as described above, the chip pin detection method comprising:
[0029] Sending a first instruction to the chip under test so that all general input / output pins of the chip under test output a first state, wherein the first state is a low level state or a high level state;
[0030] Obtaining the output status of all general input / output pins of the chip under test;
[0031] The open circuit conditions of all the general input / output pins of the chip to be tested are determined according to the output states of all the general input / output pins of the chip to be tested.
[0032] A further configuration of the present invention further includes, after the step of obtaining the output states of all the general input / output pins of the chip to be tested, and determining the open circuit conditions of all the general input / output pins of the chip to be tested according to the output states of all the general input / output pins of the chip to be tested:
[0033] Sending a second instruction to the chip under test so that all the general input / output pins of the chip under test output a second state one by one, wherein the second state is the opposite state to the first state;
[0034] When the general input / output pin of the chip under test outputs the second state, obtaining the output states of all general input / output pins of the chip under test;
[0035] The short circuit status of all the general input / output pins of the chip to be tested is determined according to the output states of all the general input / output pins of the chip to be tested.
[0036] The beneficial effects of the present invention are:
[0037] The present invention discloses a chip pin detection device and method. The chip pin detection device is used to detect the universal input / output pins of a chip to be tested, and comprises: a first communication module, connected to the chip to be tested; a control module, connected to the first communication module, and used to send a first instruction to the chip to be tested so that all the universal input / output pins of the chip to be tested output a first state; a pin state acquisition module, connected to the first communication module and the chip to be tested, and used to obtain the output states of all the universal input / output pins of the chip to be tested, and transmit them to the control module, and the control module is also used to determine the open circuit conditions of all the universal input / output pins of the chip to be tested according to the output states of all the universal input / output pins of the chip to be tested. In the technical solution of the present invention, the universal input / output pin of the chip to be tested is controlled by the control module to output the first state, and then the output state of the universal input / output pin of the first chip is further obtained by the pin state acquisition module and transmitted to the control module. The control module can judge whether the universal input / output pin of the first chip has an open circuit by obtaining the output state of the universal input / output pin of the first chip, that is, when the output states of all the universal input / output pins of the first chip are obtained to be the first state, the first chip does not have an open circuit; when the output state of the universal input / output pin of the first chip is obtained to be not the first state, the universal input / output pin whose output is not the first state is an open circuit, which shortens the detection time of the chip pin, improves the detection efficiency, reduces the production cost, and does not have missed detection, and has high reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary personnel in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.
[0039] Figure 1 It is a principle block diagram of the chip pin detection device of the present invention.
[0040] Figure 2 It is the detection data of the short circuit situation detected by the chip pin detection device of the present invention when the first state of the chip to be tested is a high level state.
[0041] Figure 3 It is the detection data of the short circuit situation detected by the chip pin detection device of the present invention when the first state of the chip to be tested is a low level state.
[0042] Figure 4It is a diagram of a chip to be tested and its peripheral circuits in one embodiment of the present invention.
[0043] Figure 5 This is a diagram of a first chip and its peripheral circuits in one embodiment of the present invention.
[0044] Figure 6 It is a circuit diagram of whether a chip is placed in a detection module in one embodiment of the present invention.
[0045] Figure 7 This is a diagram of the first program download interface in one embodiment of the present invention.
[0046] Figure 8 1 is a circuit diagram of a relay drive module in one embodiment of the present invention.
[0047] Fig. 9 is a circuit structure diagram of a first relay module in one embodiment of the present invention.
[0048] Fig.10 4 is a circuit structure diagram of a second relay module in one embodiment of the present invention.
[0049] Fig.11 4 is a circuit structure diagram of a third relay module in one embodiment of the present invention.
[0050] Fig.12 It is a circuit structure diagram of a USB to dual serial port communication unit in one embodiment of the present invention.
[0051] Fig.13 is a circuit structure diagram of a power conversion module in one embodiment of the present invention.
[0052] Fig.14 It is a flow chart of the chip pin detection method of the present invention.
[0053] Fig.15 It is a flow chart of a chip pin detection method in one embodiment of the present invention.
[0054] The marks in the accompanying drawings are: 100, control module; 200, first communication module; 201, USB to dual serial port communication unit; 2011, third chip; 300, chip to be tested; 400, pin status acquisition module; 401, first chip; 402, chip insertion detection module; 500, relay drive module; 600, first relay module; 700, second relay module; 800, third relay module; 900, power conversion module; J1, first program download interface; J2, second program download interface; LS1, first relay switch; LS2, second relay switch; LS3, third relay switch; R1, first resistor; R2, second resistor; R3, third resistor; R4, fourth resistor; U1, comparator; C1, first capacitor; C2, second capacitor. DETAILED DESCRIPTION
[0055] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, the specific embodiments of the present invention are now described in detail with reference to the accompanying drawings. In the following description, it should be understood that the directions or positional relationships indicated by "front", "back", "up", "down", "left", "right", "longitudinal", "horizontal", "vertical", "horizontal", "top", "bottom", "inside", "outside", "head", "tail", etc. are based on the directions or positional relationships shown in the accompanying drawings, are constructed and operated in a specific direction, and are only for the convenience of describing the present technical solution, rather than indicating that the device or element referred to must have a specific direction, and therefore cannot be understood as a limitation to the present invention.
[0056] like Figure 1 As shown, a chip pin detection device provided by the present invention is used to detect the general-purpose input / output pins (GPIO, General-purpose input / output) of the chip under test 300. When the pins of the chip under test 300 are detected, since the chip under test 300 needs to be in a working state, that is, the power supply pin, program download pin, pin connected to the crystal oscillator circuit, ground pin and reset pin of the chip under test 300 can operate normally, it means that the power supply pin, program download pin, pin connected to the crystal oscillator circuit, ground pin and reset pin of the chip under test 300 are normal and do not need to be detected separately. Therefore, when the pins of the chip under test 300 are detected, it is only necessary to detect all the general-purpose input / output pins of the chip under test 300.
[0057] The chip pin detection device may include a first communication module 200 , a control module 100 and a pin status acquisition module 400 .
[0058] Among them, the first communication module 200 is connected to the chip under test 300; the control module 100 is connected to the first communication module 200, and the control module 100 is used to send a first instruction to the chip under test 300 so that all general input / output pins of the chip under test 300 output a first state, and the first state is a high level state or a low level state; the pin state acquisition module 400 is connected to the first communication module 200 and the chip under test 300, and the pin state acquisition module 400 is used to obtain the output state of all general input / output pins of the chip under test 300, and transmit it to the control module 100, and the control module 100 is also used to determine the open circuit condition of all general input / output pins of the chip under test 300 according to the output state of all general input / output pins of the chip under test 300.
[0059] In this embodiment, the control module 100 is connected to the chip under test 300 through the first communication module 200 , and the communication module is also connected to the pin status acquisition module 400 through the first communication module 200 .
[0060] Among them, when specifically detecting the general input / output pins of the chip under test 300, a first instruction can be sent to the chip under test 300 through the control module 100, so that all the general input / output pins of the chip under test 300 output a low level state. Thereafter, the output state of all the general input / output pins of the first chip 401 is obtained through the pin state acquisition module 400 and transmitted to the control module 100. Among them, when the output states of all the general input / output pins of the first chip 401 are all low level states, it means that there is no open circuit in the first chip 401. When the output state of the general input / output pins of the first chip 401 is not a low level state, the pin whose output is not a low level state is an open circuit.
[0061] Of course, the control module 100 may also send a first instruction to the chip under test 300, so that all general input / output pins of the chip under test 300 output a high level state. Thereafter, the output state of all general input / output pins of the first chip 401 is acquired through the pin state acquisition module 400, and transmitted to the control module 100. When the output states of all general input / output pins of the first chip 401 are acquired as high level states, it indicates that there is no open circuit in the first chip 401. When the output state of a general input / output pin of the first chip 401 is not a high level state, the pin whose output is not in a high level state is an open circuit.
[0062] Here, it should be noted that when the general input / output pin of the chip under test 300 is open, the open general input / output pin cannot be controlled and therefore cannot output the first state according to the first instruction.
[0063] It can be seen that when the chip pin detection device detects chip pins, the detection time of the chip pins is shortened, the detection efficiency is improved, the production cost is reduced, there is no missed detection, and the reliability is high.
[0064] In some embodiments, the control module 100 is also used to send a second instruction to the chip under test 300 so that all the general input / output pins in the chip under test 300 output a second state one by one, wherein the second state is the opposite state to the first state. The pin state acquisition module 400 is also used to obtain the output state of all the general input / output pins of the chip under test 300 when the general input / output pins of the chip under test 300 output the second state. The control module 100 is also used to determine the short-circuit condition of all the general input / output pins of the chip under test 300 according to the output state of all the general input / output pins of the chip under test 300.
[0065] Specifically, after detecting whether the chip under test 300 has an open circuit, the default output state of the general input / output pin of the chip under test 300 is the first state. At this time, the second instruction can be further sent to the chip under test 300 through the control module 100, so that the general input / output pins of the chip under test 300 output the second state one by one, wherein the second state is related to the first state, that is, when the first state is a high level state, the second state is a low level state; when the first state is a low level state, the second state is a high level state.
[0066] Here, it should be noted that when a short circuit exists in the general input / output pins of the chip under test 300, the output states of the short-circuited general input / output pins are the same state. Therefore, when the second instruction is issued to the chip under test 300 to make one general input / output pin of the chip under test 300 output the second state, if other general input / output pins of the chip under test 300 also output the second state at the same time, it means that there is a short circuit between the general input / output pins of the chip under test 300 that output the second state. On the contrary, if only one general input / output pin of the chip under test 300 outputs the second state, there is no short circuit between the general input / output pin of the chip under test 300 that outputs the second state and the other general input / output pins of the chip under test 300. Figure 2 As shown, the short circuit detection data of the chip under test 300 when the first state output by all the general input / output pins of the chip under test 300 is a high level state and the second state is a low level state; Figure 3 As shown, it is the short circuit detection data of the chip under test 300 when the first state output by all the general input / output pins of the chip under test 300 is a low level state and the second state is a high level state.
[0067] It can be seen that after the chip pin detection device detects the open circuit condition, it can also use the control module 100 to make the general input / output pins of the chip under test 300 output the second state one by one. When the general input / output pins of the chip under test 300 output the second state, all the general input / output pins of the chip under test 300 are obtained through the pin state acquisition module 400, and then the chip under test 300 is detected to see if it is short-circuited, which further shortens the detection time of the chip pins, improves the detection efficiency, reduces the production cost, and has high reliability without missed detection.
[0068] In some embodiments, Figure 1 As shown, the pin status acquisition module 400 may include a first chip 401, the first chip 401 is connected to the first communication module 200, the number of general input / output pins of the first chip 401 is greater than or equal to the number of general input / output pins of the chip under test 300, each general input / output pin of the chip under test 300 is connected to a general input / output pin of the first chip 401, wherein, when the chip under test 300 outputs a first state, the control module 100 is also used to send a third instruction to the first chip 401, so that all general input / output pins of the first chip 401 output a third state, the third state is the opposite state to the first state, and the first chip 401 is used to obtain the output state of all general input / output pins of the chip under test 300.
[0069] In this embodiment, the first chip 401 is communicatively connected to the control module 100 via the first communication module 200 .
[0070] In a specific embodiment, the number of general input / output pins of the first chip 401 may be equal to the number of general input / output pins of the chip under test 300 , wherein the first chip 401 may be, but is not limited to, a model of STM32F407VET6.
[0071] like Figure 5 As shown in FIG. 1 , a pin structure diagram of the first chip 401 and a peripheral circuit diagram thereof (a peripheral circuit for enabling the first chip 401 to work normally) are shown in FIG. Figure 5 The second program download interface J2 in the chip burns the program into the first chip 401.
[0072] Here, it should be noted that the peripheral circuit of the first chip 401 is a commonly used circuit for making the first chip 401 work normally, and will not be described in detail here.
[0073] In this embodiment, when the first chip 401 is connected to the chip to be tested 300, pin 1, pin 2, pin 3, pin 4, pin 29, pin 30, pin 31, pin 32, pin 33, pin 34, pin 37, pin 38, pin 39, pin 40, pin 41, pin 42, pin 43, pin 44, pin 45, pin 46, pin 47, pin 48, pin 97, pin 98, pin 15, pin 16, pin 17, pin 18, pin 51, pin 52, pin 53, pin 54, pin 55, pin 56, pin 57, pin 58, pin 59, pin 60, pin 61, pin 62, pin 63, pin 64, pin 65, pin 66, pin 67, pin 68, pin 69, pin 70, pin 71, pin 72, pin 73, pin 74, pin 75, pin 76, pin 77, pin 78, pin 79, pin 80, pin 81, pin 82, pin 83, pin 84, pin 85 Pin 64, pin 65, pin 66, pin 67, pin 68, pin 69, pin 70, pin 71, pin 77, pin 78, pin 79, pin 80, pin 81, pin 82, pin 83, pin 84, pin 85, pin 86, and pin 87 are respectively connected to a corresponding general input / output pin that needs to be detected on the chip under test 300 (the corresponding general input / output pin that needs to be detected means that when the first chip 401 is connected to the chip under test 300, a general input / output pin on the first chip 401 is connected to an input / output pin of the chip under test 300), and pins 23 and 24 of the first chip 401 are connected to the first communication module 200.
[0074] The chip under test 300 may be, but is not limited to, a model of CY8C6245AZI-S3D42. Figure 4 , which is a structural diagram of a chip model CY8C6245AZI-S3D42 and a peripheral circuit diagram (a peripheral circuit used to enable the first chip 401 to work normally).
[0075] The general input / output pins of the chip under test 300 that need to be tested include the 7th pin, the 8th pin, the 9th pin, the 10th pin, the 11th pin, the 12th pin, the 23rd pin, the 24th pin, the 25th pin, the 26th pin, the 27th pin, the 28th pin, the 29th pin, the 30th pin, the 34th pin, the 35th pin, the 36th pin, the 37th pin, the 39th pin, the 40th pin, the 75th pin, the 76th pin, the 77th pin, the 78th pin, the 79th pin, the 80th pin, the 81st pin, the 82nd pin, the 83rd pin, the 84th pin, the 85th pin, the 86th pin, the 87th pin, the 88th pin, the 89th pin, the 90th pin, the 91st pin, the 92nd pin, the 93rd pin, the 94th pin, the 95th pin, the 96th pin, the 97th pin, the 98th pin, the 99th pin, the 100th pin, the 101st pin, the 102nd pin, the 103rd pin, the 104th pin 82nd, 83rd, 84th, 85th, 86th, 87th, 88th, 89th, 90th, 70th, 69th, 68th, 67th, 66th, 65th, 64th, 63rd, 62nd, 61st, 60th, 59th, 58th, 57th, 56th, 55th, 46th, 45th, 44th, 43rd, 95th, 96th, 98th and 99th.
[0076] In some embodiments, when the general input / output pins of the chip under test 300 output the second state one by one, the control module 100 is also used to issue a fourth instruction to the first chip 401 so that all the general input / output pins of the first chip 401 output the fourth state, and the first chip 401 is also used to obtain the output state of all the general input / output pins of the chip under test 300 when the general input / output pins of the chip under test 300 output the second state, wherein, when the general input / output pins of the chip under test 300 output the second state, the output state of all the general input / output pins of the first chip 401 is the same state.
[0077] In this embodiment, after detecting the open circuit condition of the chip 300 under test, the short circuit condition of the chip 300 under test can be further detected through the first chip 401, wherein the fourth state can be a high level state or a low level state.
[0078] Specifically, if the first state is a low level state, the second state is a high level state, and the fourth state is a low level state, the number of general input / output pins of the chip under test 300 outputting a high level state can be obtained through the first chip 401. When only one general input / output pin of the chip under test 300 outputs a high level state, it indicates that there is no short circuit between the general input / output pins of the chip under test 300. When the number of general input / output pins of the chip under test 300 outputting a high level state is greater than one, it indicates that there is a short circuit between the general input / output pins of the chip under test 300 outputting a high level state. If in the first state, When the first state is a low level state, the second state is a high level state, and the fourth state is a high level state, the number of the general input / output pins of the chip under test 300 outputting the low level state can be obtained through the first chip 401. When n-1 (n is the total number of general input / output pins that need to be detected in the chip under test 300) general input / output pins in the chip under test 300 output the low level state, it means that there is no short circuit between the general input / output pins of the chip under test 300. When the number of the general input / output pins of the chip under test 300 outputting the low level state is less than n-1, it means that the chip under test 300 outputs the high level state. There is a short circuit between the general input / output pins of the chip under test 300; if the first state is a high level state, the second state is a low level state, and the fourth state is a low level state, the number of general input / output pins in the high level state output by the chip under test 300 can be obtained through the first chip 401. When the number of general input / output pins in the high level state output by the chip under test 300 is n-1, it means that there is no short circuit between the general input / output pins of the chip under test 300. When the number of general input / output pins in the high level state output by the chip under test 300 is less than n-1, it means that the general input / output pins of the chip under test 300 are There is a short circuit between them; if the first state is a high level state, the second state is a low level state, and the fourth state is a high level state, the number of general input / output pins in the low level state output by the chip under test 300 can be obtained through the first chip 401. When only one general input / output pin of the chip under test 300 outputs a low level state, it means that there is no short circuit between the general input / output pins of the chip under test 300. When the number of general input / output pins in the low level state output by the chip under test 300 is greater than one, it means that there is a short circuit between the general input / output pins in the low level state output by the chip under test 300. For reference Figure 2 , Figure 3 Detection data for short circuit conditions.
[0079] In some embodiments, the chip pin detection device also includes a chip test socket, the number of pin contact points of the chip test socket is greater than or equal to the number of general input / output pins of the chip to be tested 300, wherein at least the general input / output pin of the first chip 401 that is connected to the general input / output pin of the chip to be tested 300 is connected to the pin contact point of the chip test socket, and each pin contact point of the chip test socket is connected to a general input / output pin of the first chip 401.
[0080] Specifically, the number of pin contact points of the chip test socket is equal to the number of general input / output pins of the chip to be tested 300. When used, the general input / output pins on the first chip 401 used for connecting with the general input / output pins of the chip to be tested 300 are connected to the pin contact points on the chip test socket, wherein each general input / output pin used for connecting with the general input / output pins of the chip to be tested 300 is connected to a pin contact point, and the connections are made in sequence, wherein the corresponding connection means that the order in which the general input / output pins of the chip to be tested 300 are inserted on the chip test socket is certain, and when the general input / output pins of the first chip 401 are connected to the pin contact points on the chip test socket, the general input / output pins of the chip to be tested 300 are connected in sequence. The general input / output pins of the test chip 300 are connected according to the correspondence with the general input / output pins of the first chip 401. For example, the 29th pin of the first chip 401 is connected to the 7th pin of the chip to be tested 300. When the general input / output pins of the first chip 401 are connected to the pin contact points of the chip test socket, the 29th pin of the first chip 401 is connected to the pin contact point to which the 7th pin of the chip to be tested 300 is connected when the chip to be tested 300 is inserted into the chip test socket. The connection sequence of other general input / output pins of the first chip 401 and the pin contact points on the chip test socket can refer to the connection sequence of the 29th pin of the first chip 401 and the pin contact points on the chip test socket, and they are not listed one by one here.
[0081] It should be noted here that when the number of general input / output pins of the first chip 401 is greater than the number of general input / output pins of the chip to be tested 300, only the general input / output pins on the first chip 401 that are connected to the general input / output pins of the chip to be tested 300 can be connected to the pin contact points on the chip test socket.
[0082] In this embodiment, when the first chip 401 is connected to the chip under test 300, the chip under test 300 only needs to be inserted into the chip test socket to achieve corresponding connection between the general input / output pins of the first chip 401 and the general input / output pins of the chip under test 300, which is simple and convenient to operate.
[0083] For example, when the model of the first chip 401 is STM32F407VET6 and the model of the chip 300 to be tested is CY8C6245AZI-S3D42, the first chip 401 has pin 1, pin 2, pin 3, pin 4, pin 29, pin 30, pin 31, pin 32, pin 33, pin 34, pin 37, pin 38, pin 39, pin 40, pin 41, pin 42, pin 43, pin 44, pin 45, pin 46, pin 47, pin 48, pin 97, pin 98, pin 15, pin 16, pin 17, pin 18, pin 51, Pin 52, pin 53, pin 54, pin 55, pin 56, pin 57, pin 58, pin 59, pin 60, pin 61, pin 62, pin 63, pin 64, pin 65, pin 66, pin 67, pin 68, pin 69, pin 70, pin 71, pin 77, pin 78, pin 79, pin 80, pin 81, pin 82, pin 83, pin 84, pin 85, pin 86 and pin 87 are respectively connected to a pin contact of the chip test socket in sequence, for details, please refer to pin 29 of the first chip 401 and pin 7 of the chip to be tested 300 mentioned above.
[0084] The method of connecting through the chip test socket will not be described in detail here.
[0085] In some embodiments, the chip pin detection device also includes a chip insertion detection module 402, which is connected to the chip test socket and the first chip 401, and is used to detect whether the chip 300 to be tested is inserted into the chip test socket.
[0086] Specifically, Figure 6 As shown, the chip insertion detection module 402 may include a comparator U1, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a first capacitor C1 and a second capacitor C2; one end of the first resistor R1 is connected to the first pin of the comparator U1, the other end of the first resistor R1 is grounded, one end of the second resistor R2 is connected to the first power supply end, the other end of the second resistor R2 is connected to the third pin of the comparator U1, one end of the third resistor R3 and one end of the first capacitor C1 are connected to the third pin of the comparator U1, and the other end of the third resistor R3 is connected to the first power supply end. The first end is connected to the first power supply end and the other end of the first capacitor C1 is grounded, the 5th pin of the comparator U1 is connected to the first power supply end, one end of the second capacitor C2 is connected to the 5th pin of the comparator U1, the other end of the second capacitor C2 is grounded, the 2nd pin of the comparator U1 is grounded, one end of the fourth resistor R4 is connected to the first power supply end, the other end of the fourth resistor R4 is connected to the 4th pin of the comparator U1, and the 4th pin of the comparator U1 is connected to the 93rd pin of the first chip 401; wherein, when the chip 300 to be tested is inserted into the chip test socket, the 1st pin of the comparator U1 is connected to the second power supply end.
[0087] During specific detection, when the chip to be tested 300 is inserted into the chip test socket, the first pin of the comparator U1 is connected to the second power supply end, and the voltage of the first pin of the comparator U1 is greater than the voltage of the third pin of the comparator U1. At this time, the fourth pin of the comparator U1 outputs a high level to the first chip 401. After receiving the high level, the first chip 401 outputs a detection signal (the chip to be tested 300 is inserted into the chip test socket) to the control module 100.
[0088] In some embodiments, Figure 7 , Figure 8 , Fig. 9 , Fig.10 and Fig.11 As shown, the chip pin detection device also includes a first program download interface J1, a first relay switch LS1 module, a second relay switch LS2 module, a third relay switch LS3 module and a relay drive module 500; wherein the first program download interface J1 is used to send a reset signal or burn a program to the chip under test 300; the first relay switch LS1 module is connected to the chip under test 300 and the first program download interface J1, and the first relay switch LS1 module is used to be turned on when sending a reset signal to the chip under test 300; the second relay switch LS2 module is connected to the chip under test 300 and the first program download interface J1 The second relay switch LS2 module is connected, and is used to be turned on when the program is burned into the chip under test 300; the third relay switch LS3 module is connected to the chip under test 300 and the first communication module 200, and the third relay switch LS3 module is used to be turned on when the control module 100 is communicatively connected with the chip under test 300; the relay driving module 500 is connected to the first relay switch LS1 module, the second relay switch LS2 module and the third relay switch LS3 module, and the relay driving module 500 is used to drive the first relay switch LS1 module, the second relay switch LS2 module and the third relay switch LS3 module.
[0089] like Figure 8 As shown in FIG. 5 , a specific circuit structure of the relay driving module 500 is shown. The relay driving module 500 is a relay driving module 500 composed of a Darlington transistor as a core component, wherein the model of the Darlington transistor may be but is not limited to ULN2003ADR.
[0090] like Fig. 9As shown, it is a circuit structure diagram of the first relay module 600. The first relay module 600 is a switch module composed of the first relay switch LS1 as the core component, wherein the 7th pin of the first relay switch LS1 is connected to the 1st pin of the first program download interface J1, the 2nd pin of the first relay switch LS1 is connected to the 3rd pin of the first program download interface J1, the 6th pin of the first relay switch LS1 is connected to the third power supply terminal via the 18th resistor, the 3rd pin of the first relay switch LS1 is connected to the 14th pin of the chip to be tested 300 via the 19th resistor, the 1st pin of the first relay switch LS1 is connected to the fourth power supply terminal via the 20th resistor, and the 8th pin of the first relay switch LS1 is connected to the 16th pin of the Darlington tube.
[0091] like Fig.10 As shown, it is a circuit structure diagram of the second relay module 700. The second relay module 700 is a switch module composed of the second relay switch LS2 as the core component, wherein the first pin of the second relay switch LS2 is connected to the fourth power supply terminal, the second pin of the second relay switch LS2 is connected to the fifth pin of the first program download interface J1, the third pin of the second relay switch LS2 is connected to the 47th pin of the chip to be tested 300, the 6th pin of the second relay switch LS2 is connected to the 48th pin of the chip to be tested 300, and the 8th pin of the second relay switch LS2 is connected to the 15th pin of the Darlington tube.
[0092] like Fig.11 As shown, it is a circuit structure diagram of the third relay module 800. The third relay module 800 is a switch module composed of the third relay switch LS3 as the core component, wherein the first pin of the third relay switch LS3 is connected to the fourth power supply end, the second pin of the third relay switch LS3 and the seventh pin of the third relay switch LS3 are connected to the first communication module 200, the third pin of the third relay switch LS3 is connected to the 42nd pin of the chip to be tested 300 via the twenty-fifth resistor, the 41st pin of the third relay switch LS3 is connected, and the 8th pin of the third relay switch LS3 is connected to the 14th pin of the Darlington tube.
[0093] In this embodiment, when a reset signal is sent to the chip under test 300, the first relay switch LS1 is driven to be turned on by the Darlington tube, and the reset signal can be sent to the chip under test 300; when a program is burned to the chip under test 300, the second relay switch LS2 is driven to be turned on by the Darlington tube, and the program can be burned into the chip under test 300; when the chip under test 300 communicates with the control module 100, the third relay switch LS3 is driven to be turned on by the Darlington tube, and the chip under test 300 is connected to the control module 100 through the first communication module 200.
[0094] In this embodiment, the first relay switch LS1 , the second relay switch LS2 , and the third relay switch LS3 may all be relay switches of model G6K-2F-Y-TR DC5.
[0095] In some embodiments, the control module 100 may be, but is not limited to, a terminal device having a USB communication interface, such as a computer, a laptop, an industrial computer, etc. The first communication module 200 may be a USB to dual serial port communication unit 201, such as Fig.12 As shown, it is a circuit structure diagram of the USB to dual serial port communication unit 201, wherein the USB to dual serial port communication unit 201 is a USB to dual serial port communication structure built with the third chip 2011 as the core component, and the model of the third chip 2011 can be but is not limited to CP2105.
[0096] In this embodiment, the Type-B interface in the USB to dual serial port communication unit 201 is connected to the USB communication interface, the 12th pin of the second chip in the USB to dual serial port communication unit 201 is connected to the 24th pin of the first chip 401, the 13th pin of the second chip is connected to the 23rd pin of the first chip 401, the 20th pin of the second chip is connected to the 7th pin of the third relay switch LS3, and the 21st pin of the second chip is connected to the 2nd pin of the third relay switch LS3. The USB to dual serial port communication unit 201 can realize the communication connection between the terminal device (computer, laptop, industrial computer, etc.) with a USB communication interface and the first chip 401 and the chip to be tested 300.
[0097] In this embodiment, when a terminal device with a USB communication interface such as a computer, a laptop computer, an industrial computer, etc. is used as the control module 100, the test results can be displayed on the control module 100, and the test personnel can determine the quality of the chip 300 to be tested based on the results displayed on the control module 100.
[0098] In this embodiment, the first power supply terminal can output +3.3V DC power, the second power supply terminal can be DC power to supply power to the 17th pin of the chip 300 under test, the third power supply terminal can also output +3.3V DC power, and the fourth power supply terminal can output +5V DC power through the USB port on the terminal device.
[0099] The +3.3V DC power outputted by the first power supply terminal can be outputted through the fourth power supply terminal after passing through the voltage conversion module. Fig.13 , which is a circuit structure diagram of a commonly used power conversion module 900 , and the power conversion module 900 is not further limited herein.
[0100] In some embodiments, Fig.14As shown, the present invention also provides a method for using the chip pin detection device as described above, and the chip pin detection method comprises the steps of:
[0101] S100, issuing a first instruction to the chip under test, so that all general input / output pins of the chip under test output a first state, wherein the first state is a low level state or a high level state;
[0102] S200, obtaining the output status of all general input / output pins of the chip to be tested;
[0103] S300 , determining the open circuit conditions of all the general input / output pins of the chip to be tested according to the output states of all the general input / output pins of the chip to be tested.
[0104] In this embodiment, the chip to be tested is communicatively connected to the control module via a first communication module, and then a first instruction is sent to the chip to be tested via the control module, so that all general input / output pins of the chip to be tested output a low level state. Further, the output state of all general input / output pins of the first chip is obtained via the control module. When the output states of all general input / output pins of the first chip are obtained to be all low level states, it indicates that there is no open circuit in the first chip. When the output state of a general input / output pin of the first chip obtained to be not a low level state, the pin whose output is not a low level state is an open circuit.
[0105] Of course, the first instruction can also be sent to the chip to be tested through the control module to make all the general input / output pins of the chip to be tested output a high level state. Thereafter, the output state of all the general input / output pins of the first chip is obtained through the control module. When the output states of all the general input / output pins of the first chip are obtained to be high level states, it means that there is no open circuit in the first chip. When the output state of the general input / output pins of the first chip obtained is not a high level state, the pins whose output is not in a high level state are open circuits.
[0106] Here, it should be noted that when the general input / output pin of the chip to be tested is open, the open general input / output pin cannot be controlled and therefore cannot output the first state according to the first instruction.
[0107] It can be seen that when the chip pin detection device detects chip pins, the detection time of the chip pins is shortened, the detection efficiency is improved, the production cost is reduced, there is no missed detection, and the reliability is high.
[0108] In some embodiments, Fig.15 As shown, after step S300, the following steps are also included:
[0109] S400, issuing a second instruction to the chip under test, so that all general input / output pins in the chip under test output a second state one by one, wherein the second state is the opposite state to the first state;
[0110] S500, when the general input / output pin of the chip to be tested outputs the second state, obtaining the output states of all general input / output pins of the chip to be tested;
[0111] S600: Determine the short circuit status of all the general input / output pins of the chip to be tested according to the output states of all the general input / output pins of the chip to be tested.
[0112] Furthermore, a second instruction can be sent to the chip under test through the control module to make all the general input / output pins in the chip under test output the second state one by one, wherein the second state is the opposite state to the first state. Thereafter, when the general input / output pins of the chip under test output the second state, the control module obtains the output state of all the general input / output pins of the chip under test, and determines the short-circuit condition of all the general input / output pins of the chip under test according to the output state of all the general input / output pins of the chip under test.
[0113] Specifically, after detecting whether there is an open circuit in the chip under test, the default output state of the general input / output pin of the chip under test is the first state. At this time, a second instruction can be further sent to the chip under test through the control module, so that the general input / output pins of the chip under test output the second state one by one, wherein the second state is related to the first state, that is, when the first state is a high level, the second state is a low level; when the first state is a low level, the second state is a high level.
[0114] Here, it should be noted that, when a short circuit exists in the general input / output pins of the chip to be tested, the output states between the short-circuited general input / output pins are in the same state. Therefore, when a second instruction is issued to the chip to be tested to make one general input / output pin of the chip to be tested output the second state, if other general input / output pins of the chip to be tested also output the second state at the same time, it means that there is a short circuit between the general input / output pins of the chip to be tested that output the second state. On the contrary, if only one general input / output pin of the chip to be tested outputs the second state, there is no short circuit between the general input / output pin of the chip to be tested that outputs the second state and the other general input / output pins of the chip to be tested.
[0115] It can be seen that the chip pin detection device can also detect whether there is a short circuit, further shortening the detection time of the chip pin, improving the detection efficiency, reducing the production cost, and there is no missed detection, with high reliability.
[0116] Here, it should be pointed out that the description of the above chip pin detection method embodiment is similar to the description of the above chip pin detection device embodiment, and has similar beneficial effects as the above chip pin detection device. For technical details not disclosed in the chip pin detection method embodiment of this embodiment, please refer to the description of the chip pin detection device embodiment of the present invention for understanding.
[0117] In summary, the present invention provides a chip pin detection device and method, which has the following beneficial effects:
[0118] The control module controls the universal input / output pin of the chip to be tested to output a first state, and then further obtains the output state of the universal input / output pin of the first chip. It can be determined whether the universal input / output pin of the first chip is open-circuited by the obtained output state of the universal input / output pin of the first chip, that is, when it is obtained that the output states of all the universal input / output pins of the first chip are all in the first state, then the first chip does not have an open circuit; when it is obtained that the output state of a universal input / output pin of the first chip is not the first state, then the universal input / output pin whose output is not in the first state is open-circuited, which shortens the detection time of the chip pin, improves the detection efficiency, reduces the production cost, and does not have missed detection, and has high reliability.
[0119] It can be understood that the above embodiments only express the preferred implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the patent scope of the present invention. It should be pointed out that, for ordinary technicians in this field, the above technical features can be freely combined without departing from the concept of the present invention, and several deformations and improvements can be made, which all belong to the protection scope of the present invention. Therefore, all equivalent changes and modifications made to the scope of the claims of the present invention should belong to the coverage of the claims of the present invention.
Claims
1. A chip pin detection device, used to detect the general input / output pins of a chip to be tested, characterized in that: The chip pin detection device comprises: A first communication module connected to the chip to be tested; A control module connected to the first communication module, the control module being used to send a first instruction to the chip under test so that all general input / output pins of the chip under test output a first state; A pin status acquisition module is connected to the first communication module and the chip to be tested. The pin status acquisition module is used to obtain the output status of all general input / output pins of the chip to be tested and transmit it to the control module. The control module is also used to determine the open circuit status of all general input / output pins of the chip to be tested according to the output status of all general input / output pins of the chip to be tested.
2. The chip pin detection device according to claim 1, characterized in that: The control module is further used to send a second instruction to the chip under test, so that all the general input / output pins of the chip under test output a second state one by one, wherein the second state is the opposite state to the first state; The pin status acquisition module is also used to obtain the output status of all general input / output pins of the chip under test when the general input / output pin of the chip under test outputs the second state. The control module is also used to determine the short circuit status of all general input / output pins of the chip under test according to the output status of all general input / output pins of the chip under test.
3. The chip pin detection device according to claim 2, characterized in that: The pin status acquisition module includes: a first chip; The first chip is connected to the first communication module, the number of general input / output pins of the first chip is greater than or equal to the number of general input / output pins of the chip to be tested, and each general input / output pin of the chip to be tested is connected to a general input / output pin of the first chip; Among them, when the universal input / output pin of the chip under test outputs the first state, the control module is also used to send a third instruction to the first chip to make all the universal input / output pins of the first chip output a third state, and the third state is the opposite state of the first state, and the first chip is used to obtain the output state of all the universal input / output pins of the chip under test.
4. The chip pin detection device according to claim 3, characterized in that: The first chip is further used for acquiring output states of all general input / output pins of the chip under test when the general input / output pin of the chip under test outputs the second state.
5. The chip pin detection device according to claim 4, characterized in that: The chip pin detection device also includes: a chip test socket, the number of pin contact points of the chip test socket is greater than or equal to the number of general input / output pins of the chip to be tested, wherein at least a general input / output pin of the first chip connected to the general input / output pin of the chip to be tested is connected to a pin contact point of the chip test socket, and each pin contact point of the chip test socket is connected to a general input / output pin of the first chip.
6. The chip pin detection device according to any one of claims 3 to 5, characterized in that: The chip pin detection device also includes: A chip insertion detection module is connected to the chip test socket and the first chip, and is used to detect whether the chip to be tested is inserted into the chip test socket.
7. The chip pin detection device according to claim 6, characterized in that: The chip insertion detection module comprises: a comparator, a first resistor, a second resistor, a third resistor, a fourth resistor, a first capacitor and a second capacitor; One end of the first resistor is connected to the first pin of the comparator, and the other end of the first resistor is grounded. One end of the second resistor is connected to the first power supply end, and the other end of the second resistor is connected to the third pin of the comparator. One end of the third resistor and one end of the first capacitor are connected to the third pin of the comparator, and the other end of the third resistor and the other end of the first capacitor are grounded. The fifth pin of the comparator is connected to the first power supply end, one end of the second capacitor is connected to the fifth pin of the comparator, the other end of the second capacitor is grounded, and the second pin of the comparator is grounded. One end of the fourth resistor is connected to the first power supply end, and the other end of the fourth resistor is connected to the fourth pin of the comparator. The fourth pin of the comparator is connected to the 93rd pin of the first chip. Wherein, when the chip to be tested is inserted into the chip test socket, the first pin of the comparator is connected to the second power supply end.
8. The chip pin detection device according to any one of claims 3 to 5, characterized in that: The chip pin detection device also includes: A first program download interface, used to send a reset signal or burn a program to the chip under test; A first relay switch module is connected to the chip to be tested and the first program download interface, and the first relay switch module is used to be turned on when a reset signal is sent to the chip to be tested; A second relay switch module is connected to the chip to be tested and the first program download interface, and the second relay switch module is used to be turned on when burning a program into the chip to be tested; A third relay switch module is connected to the chip to be tested and the first communication module, and the third relay switch module is used to be turned on when the control module is in communication connection with the chip to be tested; A relay driving module is connected to the first relay switch module, the second relay switch module and the third relay switch module, and the relay driving module is used to drive the first relay switch module, the second relay switch module and the third relay switch module.
9. A method for using the chip pin detection device according to any one of claims 1 to 8, characterized in that: The chip pin detection method comprises: Sending a first instruction to the chip under test so that all general input / output pins of the chip under test output a first state, wherein the first state is a low level state or a high level state; Obtaining the output status of all general input / output pins of the chip under test; The open circuit conditions of all the general input / output pins of the chip to be tested are determined according to the output states of all the general input / output pins of the chip to be tested.
10. The chip pin detection method according to claim 9, characterized in that: After the step of obtaining the output states of all the general input / output pins of the chip to be tested, and determining the open circuit conditions of all the general input / output pins of the chip to be tested according to the output states of all the general input / output pins of the chip to be tested, the method further includes: Sending a second instruction to the chip under test so that all the general input / output pins of the chip under test output a second state one by one, wherein the second state is the opposite state to the first state; When the general input / output pin of the chip under test outputs the second state, obtaining the output states of all general input / output pins of the chip under test; The short circuit status of all the general input / output pins of the chip to be tested is determined according to the output states of all the general input / output pins of the chip to be tested.
