Disclosure of Invention
The invention aims to solve the technical problems that: the device and the method for detecting the open circuit or the short circuit of the IC module can rapidly and conveniently detect whether the open circuit condition or the short circuit condition exists in the IC module.
The technical scheme adopted by the invention for solving the technical problems is that the IC module open circuit or short circuit detection device is particularly provided with a detection module, wherein the detection module comprises a plurality of groups of detection circuits, and the detection circuits comprise a light-emitting diode L1, a light-emitting diode L2, a bidirectional switch s1a, a bidirectional switch s1b, a resistor R1 and a resistor R2; the middle end of the two-way switch s1a is connected with the positive electrode of the light emitting diode L1, the first empty end of the two-way switch s1a is connected with the end P1, the second empty end of the two-way switch s1a is connected with the first end of the resistor R1, and the second end of the resistor R1 is connected with the first leading-out end; the middle end of the two-way switch s1b is connected with the cathode of the light-emitting diode L1, the first empty end of the two-way switch s1b is connected with the end P1, and the second empty end of the two-way switch s1b is connected with the first end of the resistor R1; the positive electrode of the light emitting diode L2 is connected with the end P2, the negative electrode of the light emitting diode L2 is connected with the first end of the resistor R2, and the second end of the resistor R2 is connected with the second leading-out end.
Further, the IC module has a package portion including a plurality of PORT pins, the PORT pins being connected with corresponding protection circuits including a diode D1, an anode of the diode D1 being connected to the PORT pin, and a cathode of the diode D1 being connected to the VDD terminal.
When the detection module is adopted to detect whether the packaging part of the IC module is opened or not, the switch of the bidirectional switch s1a is turned to the first empty end to enable the middle end of the bidirectional switch s1a to be communicated with the P1 end, the switch of the bidirectional switch s1b is turned to the second empty end to enable the middle end of the bidirectional switch s1b to be communicated with the resistor R1, and the first leading-out end is connected with the PORT pin.
Further, the IC module has a connector portion including a plurality of PIN PINs;
When the detection module is adopted to detect whether the connector part of the IC module is short-circuited, the switch of the two-way switch s1a is turned to the second empty end to enable the middle end of the two-way switch s1a to be communicated with the resistor R1, and the switch of the two-way switch s1b is turned to the first empty end to enable the middle end of the two-way switch s1b to be communicated with the P1 end; the first leading-out end is connected with the PIN PIN, and the second leading-out end is connected with the other PIN PIN.
The method for detecting whether the packaging part of the IC module is open or not by using the IC module open or short circuit detection device comprises the following steps:
the IC module is provided with a packaging part, the packaging part comprises a plurality of PORT pins, the PORT pins are connected with corresponding protection circuits, the protection circuits comprise diodes D1, the anodes of the diodes D1 are connected to the PORT pins, and the cathodes of the diodes D1 are connected with a VDD end;
the detection method specifically comprises the following steps:
Step 1: the first leading-out end is connected with the PORT pin, the switch of the two-way switch s1a is turned to the first empty end to enable the middle end of the two-way switch s1a to be communicated with the P1 end, and the switch of the two-way switch s1b is turned to the second empty end to enable the middle end of the two-way switch s1b to be communicated with the resistor R1;
Step 2: the P1 end is added with a positive target voltage which is larger than the voltage of the VDD end;
step 3: if the light emitting diode L1 is on, the package part connected with the PORT pin is normal; if the LED L1 is not on, it indicates that the package portion connected to the PORT pin is open.
The detection method for detecting whether the connector part of the IC module is short-circuited by using the detection device for detecting the open circuit or the short circuit of the IC module comprises the following steps:
The IC module has a connector portion including a plurality of PIN PINs;
the detection method specifically comprises the following steps:
step 1: the first leading-out end is connected with the PIN PIN, and the second leading-out end is connected with the other PIN PIN; the switch of the bidirectional switch s1a is switched to the second empty end so that the middle end of the bidirectional switch s1a is communicated with the resistor R1, and the switch of the bidirectional switch s1b is switched to the first empty end so that the middle end of the bidirectional switch s1b is communicated with the P1 end;
step 2: adding positive target voltage to the P1 end, and adding positive target voltage larger than the voltage of the P1 end to the P2 end;
Step 3: if the light emitting diode L1 and the light emitting diode L2 are on, a short circuit is shown between the PIN PIN of the connector part of the IC module and the other PIN PIN;
if the light emitting diode L1 and the light emitting diode L2 are not on, it indicates that there is no short circuit between the PIN of the connector portion of the IC module and the other PIN.
The beneficial effects of the invention are as follows: by adopting the detection device and the detection method, the pin number of the IC module is not limited, and the IC module with few or many pins can be supported. And can be used for detecting whether the packaging part of the IC module is open or not, can also be used for detecting whether the connector part of the IC module is short-circuited, reduces the detection cost, can also obviously shorten the detection time, and improves the production efficiency of the IC module.
Detailed Description
The invention will now be further described with reference to the accompanying drawings. These drawings are simplified schematic views illustrating the basic structure of the present invention by way of illustration only, and thus show only the constitution related to the present invention.
As shown in fig. 2, the IC module has a package portion, where the package portion includes a plurality of PORT pins, the PORT pins are connected with corresponding protection circuits, the protection circuits include a diode D1, an anode of the diode D1 is connected to the PORT pin, and a cathode of the diode D1 is connected to the VDD terminal; the IC module has a connector portion including a plurality of PIN PINs.
Embodiments are described below: an IC module open circuit or short circuit detection device is provided with a detection module, wherein the detection module comprises a plurality of groups of detection circuits, and the detection circuits comprise a light emitting diode L1, a light emitting diode L2, a bidirectional switch s1a, a bidirectional switch s1b, a resistor R1 and a resistor R2; the middle end of the two-way switch s1a is connected with the positive electrode of the light emitting diode L1, the first empty end of the two-way switch s1a is connected with the end P1, the second empty end of the two-way switch s1a is connected with the first end of the resistor R1, and the second end of the resistor R1 is connected with the first leading-out end; the middle end of the two-way switch s1b is connected with the cathode of the light-emitting diode L1, the first empty end of the two-way switch s1b is connected with the end P1, and the second empty end of the two-way switch s1b is connected with the first end of the resistor R1; the positive electrode of the light emitting diode L2 is connected with the end P2, the negative electrode of the light emitting diode L2 is connected with the first end of the resistor R2, and the second end of the resistor R2 is connected with the second leading-out end.
As shown in fig. 3, when a detection module is used to detect whether the package portion of the IC module is open, a schematic diagram of connection between the detection circuit and the IC module is shown, and fig. 4 is an equivalent schematic diagram after connection according to fig. 3; as indicated by the thick black line in fig. 3, the switch of the bidirectional switch s1a is turned to the first empty end so that the middle end of the bidirectional switch s1a is communicated with the P1 end, the switch of the bidirectional switch s1b is turned to the second empty end so that the middle end of the bidirectional switch s1b is communicated with the resistor R1, and the first leading-out end is connected with the PORT pin.
A flow chart of the detection step of detecting whether the package portion of the IC module is open by using the detection module is shown in FIG. 5.
The detection method specifically comprises the following steps:
step 1: the first leading-out end is connected with the PORT pin. For example, it is first detected whether there is an open circuit at the port_1 pin, and the first lead-out terminal is connected to the port_1 pin.
The switch of the bidirectional switch s1a is switched to the first empty end so that the middle end of the bidirectional switch s1a is communicated with the P1 end, and the switch of the bidirectional switch s1b is switched to the second empty end so that the middle end of the bidirectional switch s1b is communicated with the resistor R1;
step 2: the positive target voltage greater than the voltage at the VDD terminal is added to the P1 terminal, for example, 10V is added to the P1 terminal. As can be seen from fig. 4, the P1 terminal and the VDD terminal form a power source, and the power source, the light emitting diode L1, the resistor R1 and the diode D1 form a loop.
Step 3: if the led L1 is on, it indicates that a current is generated in the loop and flows through the led L1, so that the package portion connected to the port_1 pin is normal; if the LED L1 is not on, it indicates that no current is flowing through the LED L1 in the loop, thus indicating that the package portion connected to the PORT_1 pin is open.
And then sequentially detecting other PORT pins of the IC module according to the method.
As shown in fig. 6, when a detection module is used to detect whether the connector portion of the IC module is shorted, a schematic diagram of connection between the detection circuit and the IC module is shown, and fig. 7 is an equivalent schematic diagram after connection according to fig. 6; as indicated by the thick black line in fig. 6, the switch of the bidirectional switch s1a is turned to the second empty end so that the middle end of the bidirectional switch s1a is communicated with the resistor R1, and the switch of the bidirectional switch s1b is turned to the first empty end so that the middle end of the bidirectional switch s1b is communicated with the P1 end; the first leading-out end is connected with the PIN PIN, and the second leading-out end is connected with the other PIN PIN.
A flow chart of the detection steps for detecting whether the connector part of the IC module is short-circuited by the detection module is shown in FIG. 8.
The detection method specifically comprises the following steps:
Step 1: the first leading-out end is connected with the PIN PIN, and the second leading-out end is connected with the other PIN PIN. For example, it is first detected whether there is a short circuit between pin_1 and pin_2, the first terminal is connected to pin_1, and the second terminal is connected to pin_2.
The switch of the bidirectional switch s1a is turned to the second empty end so that the middle end of the bidirectional switch s1a is communicated with the resistor R1, and the switch of the bidirectional switch s1b is turned to the first empty end so that the middle end of the bidirectional switch s1b is communicated with the P1 end.
Step 2: adding a positive target voltage at the P1 end, for example, the voltage of the P1 end is 2V, and adding a positive target voltage which is larger than the voltage of the P1 end at the P2 end; such as a voltage of 6V at the P2 terminal. As can be seen from fig. 7, the P1 end P2 end forms a power source, and the power source, the light emitting diode L2, the resistor R1 and the light emitting diode L1 form a loop.
Step 3: if the light emitting diode L1 and the light emitting diode L2 are on, the current generated in the loop flows through the light emitting diode L2 and the light emitting diode L1, so that the short circuit between the PIN_1 and the PIN_2 of the connector part of the IC module is indicated;
If the light emitting diode L1 and the light emitting diode L2 are not on, it indicates that no current flows through the light emitting diode L2 and the light emitting diode L1 in the circuit, and thus, no short circuit exists between pin_1 and pin_2 of the connector portion of the IC module.
And then sequentially detecting other pin pins of the IC module according to the method.
By adopting the detection device and the detection method, the pin number of the IC module is not limited, and the IC module with few or many pins can be supported. And can be used for detecting whether the packaging part of the IC module is open or not, can also be used for detecting whether the connector part of the IC module is short-circuited, reduces the detection cost, can also obviously shorten the detection time, and improves the production efficiency of the IC module.
The detection module can be powered by an internal power supply, and when the test pins are too many and the current load is large, the detection module can also be powered by an external power supply.
When the detection module is powered by an internal power supply, the power supply generation module is adopted for power supply. The bidirectional switch s1a and the bidirectional switch s1b inside the detection module can be switched by the LED switch control unit.
As shown in fig. 9, the detection system is formed by an external operation unit, an IC module open or short detection device, and an IC module. The system is provided with an MCU control module, a power generation module and a detection module. The MCU control module comprises a power supply control unit and a switch control unit. The switch control unit comprises a power switch control unit and an LED switch control unit.
A flow chart of the detection performed by the detection system as shown in fig. 10.
The user sets corresponding power information and switch information through the operation unit, the corresponding power information and switch information are transmitted to the MCU control module through the interface, and the operation unit provides internal power to the power generation module.
The MCU control module analyzes the acquired power supply information and switching information, and outputs a power supply control signal and a switching control signal.
The power control unit acts on the power generation module according to the power control signal to configure the output voltage value of the power generation module. The switch control signal is divided into two parts, namely a power switch control signal, the power switch control unit controls the switch state of the power generation module, and the LED switch control signal controls the detection direction of the detection module, namely the detection of the packaging part or the detection of the connector part.
The power supply generation module converts the input voltage into a target voltage through the internal processing module according to the power supply control signal and outputs the target voltage to the detection module. The power generation module includes a DC-DC module and a regulator module.
The detection module performs corresponding switching according to the switch control signal, namely selects the detection of the packaging part or the detection of the connector part, and is correspondingly connected with the IC module to finish the detection. And finally judging the detection result according to the states of the light emitting diodes L1 and L2.
With the above-described preferred embodiments according to the present invention as an illustration, the above-described descriptions can be used by persons skilled in the relevant art to make various changes and modifications without departing from the scope of the technical idea of the present invention. The technical scope of the present invention is not limited to the description, but must be determined according to the scope of claims.