A power supply network port detection circuit
By designing a power supply network port detection circuit that includes a power supply module, an indicator module, and a controllable switch module, the problems of low efficiency and low reliability in existing power supply network port detection technologies are solved, enabling rapid and accurate detection of process defects and reducing costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- DONGGUAN LIANZHOU TECH CO LTD
- Filing Date
- 2022-12-01
- Publication Date
- 2026-08-04
AI Technical Summary
Existing power port detection methods are inefficient and unreliable, and cannot effectively detect manufacturing defects at the PoE power port, leading to distortion or damage to the information transmitted by the terminal equipment.
A power supply network port detection circuit was designed, including a power supply, an indicator module, a controllable switch module, and a detection module. The detection module outputs a signal to the controllable switch module according to the conduction status of the pins, so as to realize the rapid and accurate detection of manufacturing defects in the network port.
It improves the efficiency and accuracy of power supply port testing, effectively identifies process defects such as bridging and cold solder joints, reduces labor and equipment costs, and improves the reliability of testing.
Smart Images

Figure CN115932668B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of circuit testing technology, and in particular to a power supply port testing circuit. Background Technology
[0002] In the manufacturing process of PoE (Power Over Ethernet) power supplies, the densely distributed pins at the RJ45 network port result in a higher rate of defects such as bridging or cold solder joints after wave soldering compared to other components. These defects can lead to minor issues like distorted data transmission and dropped connections at the terminal device, or even serious damage.
[0003] Currently, there are three ways to detect whether there are process defects at the POE power supply port: (1) visual inspection after wave soldering; (2) optical inspection by AOI equipment after the furnace; (3) connecting the POE power supply prototype to be tested with the terminal product or test fixture, and then observing whether there is packet loss by transmitting data between them, so as to determine whether there are process defects at the POE power supply port.
[0004] In the aforementioned existing technologies, manual visual inspection and selection suffers from problems such as high labor costs, low efficiency, and low reliability; post-furnace AOI inspection has low efficiency, and AOI inspection equipment is expensive and has a high false detection rate; using end products or test fixtures for testing also suffers from low testing efficiency, and some defects are blind spots in the test, making it impossible to completely intercept defective products.
[0005] In summary, existing methods for detecting manufacturing defects at power supply ports are inefficient and unreliable. Summary of the Invention
[0006] This invention provides a power network port detection circuit to solve the technical problems of low efficiency and low reliability of existing process defect detection methods. The detection circuit provided by this invention has a simple result judgment method and can improve testing efficiency and detection accuracy.
[0007] To solve the above technical problems, the present invention provides a power supply network port detection circuit, including a power supply, an indicator module, a controllable switch module and a detection module, wherein the output terminal of the power supply is connected to one end of the indicator module and the other end of the indicator module is connected to the controllable switch module;
[0008] The input terminal of the detection module is used to connect to the first network port under test and the second network port under test. At least one pin of the first network port under test is connected to at least one pin of the second network port under test. The output terminal of the detection module is connected to the controlled terminal of the controllable switch module. The detection module is used to output a conduction or deconduction signal to the controllable switch module according to the conduction state of the pin.
[0009] The present invention also provides a power network port detection circuit, including a control module, a controllable switch module and a detection module, wherein the control module is connected to the controllable switch module and the control module is used to monitor the working status of the controllable switch module;
[0010] The input terminal of the detection module is used to connect to the first network port under test and the second network port under test. At least one pin of the first network port under test is connected to at least one pin of the second network port under test. The output terminal of the detection module is connected to the controlled terminal of the controllable switch module. The detection module is used to output a conduction or deconduction signal to the controllable switch module according to the conduction state of the pin.
[0011] Preferably, the detection module includes at least one circuit breaker detection unit, and the controllable switch module includes at least one controllable switch element, with each controllable switch element corresponding to one of the circuit breaker detection units.
[0012] Each of the circuit breaker detection units includes a first power supply and a first connector. The output terminal of the first power supply is connected to a first terminal of the first connector, and the second terminal of the first connector is connected to the controlled terminal of the controllable switch. The first terminal of the first connector is used to connect to a pin of a first network port under test, and the second terminal of the first connector is used to connect to a pin of a second network port under test. The pin of the first network port under test is correspondingly connected to a pin of the second network port under test.
[0013] Preferably, the detection module further includes at least one short-circuit detection unit. Each short-circuit detection unit includes a normally closed switch, a second power supply, and a second connector. The first end of the normally closed switch is connected to the second end of the first connector, the second end of the normally closed switch is connected to the controlled end of the controllable switch, and the controlled end of the normally closed switch is connected to the second power supply through the second connector.
[0014] The first end of the second connector is used to connect to one pin of the first network port under test, and the second end of the second connector is used to connect to the other pin of the first network port under test.
[0015] Preferably, the detection module includes at least two short-circuit detection units and at least two open-circuit detection units, and the controllable switch module includes at least two controllable switches, with the switching terminals of the at least two controllable switches connected in series.
[0016] Each of the short-circuit detection units includes a normally closed switch, a second power supply, and a second connector. The first end of the normally closed switch is connected to the second end of the first connector, the second end of the normally closed switch is connected to the controlled end of the controllable switch, and the controlled end of the normally closed switch is connected to the second power supply through the second connector.
[0017] In this configuration, every two short-circuit detection units form a short-circuit detection combination unit. In each short-circuit detection combination unit, two of the second connectors are used to connect to the four pins of the first network port under test. Among the four pins of the first network port under test, there is one identical pin.
[0018] Preferably, the detection module includes two short-circuit detection units, the positive terminals of the two second power supplies are respectively connected to the first terminals of the two second connectors, the second terminals of the two second connectors are respectively connected to the first controlled terminals of the two normally closed switches, and the second controlled terminals of the two normally closed switches are respectively connected to the negative terminals of the two second power supplies.
[0019] Among them, the two second connectors are respectively labeled P5 and P6. One pin of the first network port under test connected to the first end of the second connector P5 is different from one pin of the first network port under test connected to the second end of the second connector P6; one pin of the first network port under test connected to the second end of the second connector P5 is the same as one pin of the first network port under test connected to the first end of the second connector P6.
[0020] Preferably, the detection module further includes a hybrid detection unit, and the controllable switch module includes a controllable switch connected to the hybrid detection unit. The hybrid detection unit includes a hybrid normally closed switch, a second power supply, a third connector, and a fourth connector.
[0021] The output terminal of the second power supply is connected to the first terminal of the third connector, the second terminal of the third connector and the second terminal of the fourth connector are connected to the first terminal of the hybrid normally closed switch, the second terminal of the hybrid normally closed switch is connected to the controlled terminal of the controllable switch, the first controlled terminal of the hybrid normally closed switch is connected to the first terminal of the hybrid normally closed switch, and the second controlled terminal of the hybrid normally closed switch is grounded.
[0022] The first end of the third connector is used to connect to one pin of the first network port under test, and the second end of the third connector is used to connect to another pin of the second network port under test. One pin of the first network port under test is not connected to the other pin of the second network port under test.
[0023] The first end of the fourth connector is used to connect to a pin of the first network port under test, and the second end of the fourth connector is used to connect to a pin of the second network port under test. The pin of the first network port under test is connected to the pin of the second network port under test.
[0024] Wherein, the output voltage of the first power supply is less than the controlled terminal driving voltage of the normally closed switch, and the output voltage of the second power supply is greater than or equal to the controlled terminal driving voltage of the normally closed switch.
[0025] Preferably, the negative terminal of the second power supply is grounded, the positive terminal of the second power supply is connected to the first end of the third connector, and the first end of the fourth connector is connected to the first end of one of the second connectors.
[0026] Preferably, the output terminal of the second power supply is connected to the first terminal of the third connector, and the first terminal of the fourth connector is connected to the output terminal of a first power supply.
[0027] Preferably, the detection module includes three open circuit detection units, one hybrid detection unit, and two short circuit detection units; the controllable switch module includes four controllable switches U1, U2, U3, and U4; the other end of the indicator module is connected to the first end of the optocoupler U1, the optocouplers U1, U2, U3, and U4 are connected in series, and the second end of the optocoupler U4 is connected to GND4.
[0028] The three open-circuit detection units include first power supplies VCC1, VCC2, VCC3 and first connectors P2, P3, P4; the two short-circuit detection units include normally closed switches RL2 and RL3, second power supplies VCC5 and VCC6, and second connectors P5 and P6; the one mixed detection unit includes a mixed normally closed switch RL1, a second power supply VCC4, a third connector P1 and a fourth connector P9.
[0029] The negative terminal of the first power supply VCC1 is connected to GND1, the positive terminal of the first power supply VCC1 is connected to the first end of the first connector P2, the second end of the first connector P2 is connected to the first controlled end of the optocoupler U2, and the second controlled end of the optocoupler U2 is connected to GND1; wherein, the first end of the first connector P2 is electrically connected to pin 1 of the first network port under test, and the second end is electrically connected to pin 1 of the second network port under test.
[0030] The negative terminal of the first power supply VCC2 is connected to GND2, the positive terminal of the first power supply VCC2 is connected to the first end of the first connector P3, the second end of the first connector P3 is connected to the first end of the normally closed switch RL2, the second end of the normally closed switch RL2 is connected to the first controlled end of the optocoupler U3, and the second controlled end of the optocoupler U3 is connected to GND2; wherein, the first end of the first connector P3 is electrically connected to pin 2 of the first network port under test, and the second end is electrically connected to pin 2 of the second network port under test; the first controlled end of the normally closed switch RL2 is connected to the negative terminal of the second power supply VCC5, the positive terminal of the second power supply VCC5 is connected to the first end of the second connector P5, the second end of the second connector P5 is connected to the second controlled end of the normally closed switch RL2, the first end of the second connector P5 is electrically connected to pin 1 of the first network port under test, and the second end is electrically connected to pin 3 of the first network port under test;
[0031] The negative terminal of the first power supply VCC3 is connected to GND3, the positive terminal of the first power supply VCC3 is connected to the first end of the first connector P4, the second end of the first connector P4 is connected to the first end of the normally closed switch RL3, the second end of the normally closed switch RL3 is connected to the first controlled end of the optocoupler U4, and the second controlled end of the optocoupler U4 is connected to GND3; wherein, the first end of the first connector P4 is electrically connected to pin 3 of the first network port under test, and the second end is electrically connected to pin 3 of the second network port under test; the first controlled end of the normally closed switch RL3 is connected to the negative terminal of the second power supply VCC6, the positive terminal of the second power supply VCC6 is connected to the first end of the second connector P6, the second end of the second connector P6 is connected to the second controlled end of the normally closed switch RL3, the first end of the second connector P6 is electrically connected to pin 3 of the first network port under test, and the second end is electrically connected to pin 2 of the first network port under test;
[0032] The negative terminal of the second power supply VCC4 is connected to GND4, and the positive terminal of the second power supply VCC4 is connected to the first end of the third connector P1. The first end of the fourth connector P9 is connected to the first end of the first connector P2. The second ends of the third connector P1 and the fourth connector P9 are connected to the first end of the hybrid normally closed switch RL1. The second end of the hybrid normally closed switch RL1 is connected to the first controlled end of the optocoupler U1, and the second controlled end of the optocoupler U1 is connected to GND1. The first controlled end of the hybrid normally closed switch RL1 is connected to the first end of the hybrid normally closed switch RL1, and the second controlled end of the hybrid normally closed switch RL1 is connected to GND4.
[0033] Specifically, the first end of the third connector P1 is electrically connected to pin 8 of the first network port under test, and the second end is electrically connected to pin 6 of the second network port under test; the first end of the fourth connector P9 is electrically connected to pin 6 of the first network port under test, and the second end is electrically connected to pin 6 of the second network port under test; pin 8 of the first network port under test and pin 6 of the second network port under test are not connected, and pin 6 of the first network port under test and pin 6 of the second network port under test are connected.
[0034] Preferably, each of the controllable switches is further connected to a resistor and a light-emitting diode (LED). The first end of the resistor is connected to the output terminal of the detection module, the second end of the resistor is connected to the anode of the LED, and the cathode of the LED is connected to the controlled terminal of the controllable switch.
[0035] Preferably, the controllable switching device includes one or more of optocouplers and MOSFETs.
[0036] Compared with the prior art, the present invention has the following beneficial effects:
[0037] This invention provides a power supply port detection circuit, including a power supply, an indicator module, a controllable switch module, and a detection module. The output terminal of the power supply is connected to one end of the indicator module, and the other end of the indicator module is connected to the controllable switch module. The input terminal of the detection module is used to connect to a first network port under test and a second network port under test. At least one pin of the first network port under test is correspondingly connected to at least one pin of the second network port under test. The output terminal of the detection module is connected to the controlled terminal of the controllable switch module. The detection module is used to output a conduction or de-conduction signal to the controllable switch module according to the conduction state of the pin. The detection circuit provided by this invention has a simple result determination method and can improve the detection efficiency and accuracy of defects in network ports. Attached Figure Description
[0038] Figure 1 This is a schematic diagram of the power supply port detection circuit provided in an embodiment of the present invention;
[0039] Figure 2 This is a schematic diagram of the circuit at the PoE network port provided in an embodiment of the present invention;
[0040] Figure 3 This is a schematic diagram showing the connection between the power supply, the indicator module, and the controllable switch module provided in an embodiment of the present invention;
[0041] Figure 4 This is a schematic diagram showing the connection between another power supply, indicator module, and controllable switch module provided in an embodiment of the present invention;
[0042] Figure 5 This is a schematic diagram of a circuit breaker detection unit provided in an embodiment of the present invention;
[0043] Figure 6 This is a schematic diagram of a short-circuit detection unit provided in an embodiment of the present invention;
[0044] Figure 7 This is a schematic diagram of a short-circuit detection combination unit provided in an embodiment of the present invention;
[0045] Figure 8 This is the equivalent circuit diagram of relays RL2 and RL3 when POE1 and 2 pins are soldered together, as provided in the embodiment of the present invention.
[0046] Figure 9 This is a schematic diagram of a hybrid detection unit provided in an embodiment of the present invention;
[0047] Figure 10 This is the equivalent circuit diagram of relays RL1, RL2, and RL3 when POE2 and pin 4 are soldered together, provided in the embodiment of the present invention.
[0048] Figure 11 This is the equivalent circuit diagram of relays RL1 and RL2 when POE3 and 4 pins are soldered together, as provided in the embodiment of the present invention.
[0049] Figure 12 This is a schematic diagram of another hybrid detection unit provided in an embodiment of the present invention;
[0050] Figure 13 This is a schematic diagram of a power supply network port detection circuit provided in an embodiment of the present invention;
[0051] Figure 14 This is a schematic diagram of another power network port detection circuit provided in an embodiment of the present invention;
[0052] Figure 15 This is a schematic diagram of a jumper connection provided in an embodiment of the present invention;
[0053] Figure 16 This is a schematic diagram of another power network port detection circuit provided in an embodiment of the present invention. Detailed Implementation
[0054] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0055] Reference Figure 1An embodiment of the present invention provides a power supply network port detection circuit including a power supply, an indicator module, a controllable switch module, and a detection module. The output terminal of the power supply is connected to one end of the indicator module, and the other end of the indicator module is connected to the controllable switch module. The input terminal of the detection module is used to connect to a first network port under test and a second network port under test. At least one pin of the first network port under test is correspondingly connected to at least one pin of the second network port under test. The output terminal of the detection module is connected to the controlled terminal of the controllable switch module. The detection module is used to output a conduction or deconduction signal to the controllable switch module according to the conduction state of the pin.
[0056] It should be noted that this invention is used to detect whether there are manufacturing defects, such as solder bridging or cold solder joints, between the first and second network ports under test. In practical applications, the first and second network ports under test have a specific connection relationship; that is, at least one pin of the first network port under test is connected to at least one pin of the second network port under test. For example, the first and second network ports under test are a PoE port and a LAN port, respectively. The circuit diagram for the PoE port is shown below. Figure 2 As shown, POE1, POE2, POE3, and POE6 are connected to LAN1, LAN2, LAN3, and LAN6 respectively, POE4 is connected to POE5, and POE7 is connected to POE8.
[0057] Reference Figure 3 In this embodiment, the power supply is VCC_PLC, the indicator module includes a current-limiting resistor R5 and a light-emitting diode D5, and the controllable switch module includes an optocoupler U1. The cathode of the power supply VCC_PLC is connected to GND4, the anode of the power supply VCC_PLC is connected to the first end of the current-limiting resistor R5, the second end of the current-limiting resistor R5 is connected to the anode of the light-emitting diode D5, the cathode of the light-emitting diode D5 is connected to the first end of the optocoupler U1, the second end of the optocoupler U1 is connected to GND4, and the controlled end of the optocoupler U1 is connected to the detection module. When the optocoupler U1 is on, the D5 circuit is lit, indicating that the product is good; when the optocoupler U1 is off, D5 cannot light up.
[0058] It should be noted that the controllable switching device includes one or more of optocouplers and MOSFETs, as long as it can realize the controllable switching function. For ease of understanding, in this embodiment of the invention, optocouplers are used as an example for explanation.
[0059] In a preferred embodiment, each of the controllable switches is further connected to a resistor and a light-emitting diode (LED). A first end of the resistor is connected to the output terminal of the detection module, a second end of the resistor is connected to the anode of the LED, and the cathode of the LED is connected to the controlled terminal of the controllable switch. For example, see... Figure 4 When optocoupler U1 is turned on, LED D1 lights up and D5 circuit is connected and lit, which indicates that the product is good; when optocoupler U1 is turned off, D1 and D5 cannot light up.
[0060] To facilitate understanding of the present invention, the following embodiments use a PoE network port and a LAN network port as the first and second network ports under test, respectively, for further description. The circuit diagram at the PoE network port is shown below. Figure 2 As shown, pins POE1, POE2, POE3, and POE6 are connected to pins LAN1, LAN2, LAN3, and LAN6 respectively; pin POE4 is connected to pin POE5; and pin POE7 is connected to pin POE8. Simultaneously, due to the inductor's (transformer's secondary winding) blocking AC and passing DC, and the unidirectional conduction characteristic of the diode, VCC4 loaded on pin 8 of POE is effectively loaded on pin 4 of POE. During testing, it is necessary to check for defects such as cold solder joints, short circuits, broken traces, and peeling copper wires at the POE port.
[0061] In one embodiment of the present invention, the detection module includes at least one open circuit detection unit, and the controllable switch module includes at least one controllable switch, each controllable switch corresponding to one of the open circuit detection units; each open circuit detection unit includes a first power supply and a first connector, the output terminal of the first power supply is connected to a first terminal of the first connector, and the second terminal of the first connector is connected to the controlled terminal of the controllable switch; the first terminal of the first connector is used to connect to a pin of a first network port under test, and the second terminal of the first connector is used to connect to a pin of a second network port under test; wherein, a pin of the first network port under test is correspondingly connected to a pin of the second network port under test.
[0062] For example, refer to Figure 5 A circuit breaker detection unit includes a first power supply VCC1 and a first connector P2. The negative terminal of the first power supply VCC1 is connected to GND1, and the positive terminal of the first power supply VCC1 is connected to pins 1 and 2 of the first connector P2. Pins 3 and 4 of the first connector P2 are connected to the first end of resistor R2, the second end of resistor R2 is connected to the anode of light-emitting diode D2, the cathode of light-emitting diode D2 is connected to the first controlled terminal of optocoupler U2, and the second controlled terminal of optocoupler U2 is connected to GND1. The first connector P2 is a 4-pin socket for convenient debugging and maintenance during actual operation. Pins 1 and 2 are electrically connected to the POE1 pin, and pins 3 and 4 are electrically connected to the LAN1 pin. Of course, the first connector P2 can also be a 2-pin socket; this invention does not limit this.
[0063] During testing, when the line between pin POE1 and pin LAN1 is open (due to broken trace, warped copper, etc.), the positive trace of power supply VCC1 is disconnected, D2 on the circuit does not light up, optocoupler U2 is turned off, and D5 cannot light up; when the line between pin POE1 and pin LAN1 is normally connected, D2 on the circuit lights up, optocoupler U2 is turned on, and D5 lights up.
[0064] That's understandable. To test whether the connection between other PoE pins and the LAN pin is open, you can refer to... Figure 5 To set up multiple circuit breaker detection units, it is only necessary to connect the switching terminals of multiple controllable switching devices in series. This invention does not limit the number of circuit breaker detection units.
[0065] In another embodiment of the present invention, the detection module further includes at least one short-circuit detection unit. Each short-circuit detection unit includes a normally closed switch, a second power supply, and a second connector. A first end of the normally closed switch is connected to a second end of the first connector, and a second end of the normally closed switch is connected to a controlled end of the controllable switch. The controlled end of the normally closed switch is connected to the second power supply through the second connector. The first end of the second connector is used to connect to one pin of the first network port under test, and the second end of the second connector is used to connect to another pin of the first network port under test.
[0066] For example, refer to Figure 6 The system includes a short-circuit detection unit, a normally closed switch RL2, a second power supply VCC5, and a second connector P5. Specifically, the negative terminal of the first power supply VCC2 is connected to GND2, the positive terminal of the first power supply VCC2 is connected to pins 1 and 2 of the first connector P3, pins 3 and 4 of the first connector P3 are connected to the first end of the normally closed switch RL2, the second end of the normally closed switch RL2 is connected to the first end of a resistor R3, the second end of a resistor R3 is connected to the anode of a light-emitting diode D3, the cathode of the light-emitting diode D3 is connected to the first controlled terminal of an optocoupler U3, and the second controlled terminal of the optocoupler U3 is connected to GND2. The first connector P3 is a 4-pin socket, with pins 1 and 2 electrically connected to pin POE2 and pins 3 and 4 electrically connected to pin LAN2. Of course, the first connector P2 can also be a 2-pin socket; this invention does not limit this. The first controlled terminal (one end of the coil) of the normally closed switch RL2 is connected to the negative terminal of the second power supply VCC5, the positive terminal of the second power supply VCC5 is connected to pin 1 of the second connector P5, and pin 2 of the second connector P5 is connected to the second controlled terminal (the other end of the coil) of the normally closed switch RL2. The second connector P5 is a 2-pin socket, with pin 1 electrically connected to pin POE1 and pin 2 electrically connected to pin POE3.
[0067] It should be noted that the above short-circuit test unit is used to test whether there is a short circuit between pins POE1 and POE3, such as a short circuit due to soldering. During the test, when pins POE1 and POE3 are soldered together (equivalent to pins LAN1 and LAN3 being soldered together), relay RL2 is powered on and the circuit is broken, optocoupler U3 cannot be turned on, and D3 and D5 cannot be lit; when pins POE1 and POE3 are not soldered together and pins POE2 and LAN2 are normally connected, the circuit works normally, optocoupler U3 is turned on, and D3 and D5 are lit.
[0068] That's understandable. To test whether there are short circuits between other PoE pins, you can refer to... Figure 6 To set up multiple short-circuit detection units, simply connect the switching terminals of multiple controllable switching devices in series. This invention does not limit the number of short-circuit detection units.
[0069] In another embodiment of the present invention, the detection module includes at least two short-circuit detection units and at least two open-circuit detection units, and the controllable switch module includes at least two controllable switches, with the switching terminals of the at least two controllable switches connected in series; each short-circuit detection unit includes a normally closed switch, a second power supply, and a second connector, with the first terminal of the normally closed switch connected to the second terminal of the first connector, the second terminal of the normally closed switch connected to the controlled terminal of the controllable switch, and the controlled terminal of the normally closed switch connected to the second power supply through the second connector;
[0070] In this configuration, every two short-circuit detection units form a short-circuit detection combination unit. In each short-circuit detection combination unit, two of the second connectors are used to connect to the four pins of the first network port under test. Among the four pins of the first network port under test, there is one identical pin.
[0071] For example, the detection module includes two short-circuit detection units. The positive terminals of the two second power supplies are respectively connected to the first terminals of the two second connectors. The second terminals of the two second connectors are respectively connected to the first controlled terminals of the two normally closed switches. The second controlled terminals of the two normally closed switches are respectively connected to the negative terminals of the two second power supplies. The two second connectors are respectively denoted as P5 and P6. One pin of the first network port to be tested connected to the first terminal of the second connector P5 is different from one pin of the first network port to be tested connected to the second terminal of the second connector P6. One pin of the first network port to be tested connected to the second terminal of the second connector P5 is the same as one pin of the first network port to be tested connected to the first terminal of the second connector P6.
[0072] Specifically, refer to Figure 7The negative terminal of the first power supply VCC2 is connected to GND2, and the positive terminal of the first power supply VCC2 is connected to pins 1 and 2 of the first connector P3. Pins 3 and 4 of the first connector P3 are connected to the first end of the normally closed switch RL2. The second end of the normally closed switch RL2 is connected to the first end of the resistor R3. The second end of the resistor R3 is connected to the anode of the light-emitting diode D3. The cathode of the light-emitting diode D3 is connected to the first controlled terminal of the optocoupler U3, and the second controlled terminal of the optocoupler U3 is connected to GND2. The first connector P3 is a 4-pin socket, with pins 1 and 2 electrically connected to pin POE2 and pins 3 and 4 electrically connected to pin LAN2. Of course, the first connector P2 can also be a 2-pin socket; this invention does not limit this. The first controlled terminal (one end of the coil) of the normally closed switch RL2 is connected to the negative terminal of the second power supply VCC5, the positive terminal of the second power supply VCC5 is connected to pin 1 of the second connector P5, and pin 2 of the second connector P5 is connected to the second controlled terminal (the other end of the coil) of the normally closed switch RL2. The second connector P5 is a 2-pin socket, with pin 1 electrically connected to pin POE1 and pin 2 electrically connected to pin POE3.
[0073] The negative terminal of the first power supply VCC3 is connected to GND3, and the positive terminal of the first power supply VCC3 is connected to pins 1 and 2 of the first connector P4. Pins 3 and 4 of the first connector P4 are connected to the first end of the normally closed switch RL3. The second end of the normally closed switch RL3 is connected to the first end of the resistor R4. The second end of the resistor R4 is connected to the anode of the light-emitting diode D4. The cathode of the light-emitting diode D4 is connected to the first controlled terminal of the optocoupler U4, and the second controlled terminal of the optocoupler U4 is connected to GND3. The first connector P4 is a 4-pin socket, with pins 1 and 2 electrically connected to pin POE3 and pins 3 and 4 electrically connected to pin LAN3. Of course, the first connector P4 can also be a 2-pin socket; this invention does not limit this. The first controlled terminal (one end of the coil) of the normally closed switch RL3 is connected to the negative terminal of the second power supply VCC6, the positive terminal of the second power supply VCC6 is connected to pin 1 of the second connector P6, and pin 2 of the second connector P6 is connected to the second controlled terminal (the other end of the coil) of the normally closed switch RL3. The second connector P6 is a 2-pin socket, with pin 1 electrically connected to pin 3 of the POE connector and pin 2 electrically connected to pin 2 of the POE connector.
[0074] It should be noted that by setting up a short-circuit detection unit, it is possible to detect whether the three sets of PoE pins are short-circuited. That is, the above-mentioned short-circuit test unit can test whether there is a short circuit between PoE1 and pin 3, PoE2 and pin 3, and PoE1 and pin 2. During the test, when PoE1 and pin 3 are short-circuited (equivalent to LAN1 and pin 3 being short-circuited), relay RL2 is powered on and the circuit is broken, optocoupler U3 cannot be turned on, and D3 and D5 cannot be lit. When PoE2 and pin 3 are short-circuited (equivalent to LAN2 and pin 3 being short-circuited), relay RL3 is powered on and the circuit is broken, optocoupler U4 cannot be turned on, and D4 and D5 cannot be lit.
[0075] It is worth noting that, referring to Figure 8 When pins POE1 and POE2 are soldered together (equivalent to pins LAN1 and LAN2 being soldered together), VCC5 and VCC6 form a... Figure 8 The equivalent circuit (similar to two dry cell batteries connected in series) shows that relays RL2 and RL3 are effectively energized with a 24V power supply. When the circuit is broken, the corresponding optocoupler cannot be turned on, and D5 cannot light up. A single short-circuit detection unit can detect whether the three sets of PoE pins are soldered together. Through the equivalent circuit, there is no need to set up separate short-circuit detection units for PoE1 and 2 pins, which greatly reduces the redundancy of the entire circuit and saves the cost of the entire circuit.
[0076] That's understandable. To test whether there are short circuits between other PoE pins, you can refer to... Figure 7 The invention sets up multiple short-circuit detection combination units, which can be achieved by connecting the switching terminals of multiple controllable switching devices in series. The invention does not limit the number of short-circuit detection combination units.
[0077] In another embodiment of the present invention, the detection module further includes a hybrid detection unit, and the controllable switch module includes a controllable switch connected to the hybrid detection unit. The hybrid detection unit includes a hybrid normally closed switch, a second power supply, a third connector, and a fourth connector. The output terminal of the second power supply is connected to the first terminal of the third connector, the second terminals of the third connector and the fourth connector are connected to the first terminal of the hybrid normally closed switch, the second terminal of the hybrid normally closed switch is connected to the controlled terminal of the controllable switch, the first controlled terminal of the hybrid normally closed switch is connected to the first terminal of the hybrid normally closed switch, and the second controlled terminal of the hybrid normally closed switch is grounded.
[0078] The first end of the third connector is used to connect to one pin of the first network port under test, and the second end of the third connector is used to connect to another pin of the second network port under test. One pin of the first network port under test and another pin of the second network port under test are not connected. The first end of the fourth connector is used to connect to one pin of the first network port under test, and the second end of the fourth connector is used to connect to one pin of the second network port under test. One pin of the first network port under test and one pin of the second network port under test are connected accordingly.
[0079] Wherein, the output voltage of the first power supply is less than the controlled terminal drive voltage of the normally closed switch, and the output voltage of the second power supply is greater than or equal to the controlled terminal drive voltage of the normally closed switch. It should be noted that, in this embodiment of the invention, the voltages of the first power supplies VCC1, VCC2, and VCC3 are 12V, the voltages of the second power supplies VCC4, VCC5, and VCC6 are 24V, the controlled terminal drive voltages of relays RL1, RL2, and RL3 are 24V, and the drive voltages of optocouplers U1, U2, U3, and U4 are 12V.
[0080] In one embodiment, the negative terminal of the second power supply is grounded, the positive terminal of the second power supply is connected to the first end of the third connector, and the first end of the fourth connector is connected to the first end of one of the second connectors. It should be noted that, referring to... Figure 7 , Figure 9 Since the first end of the second connector is used to connect to one pin of the PoE port, for example... Figure 7 The first end of the second connector P5 is connected to the POE1 pin, and pins 1 and 2 of the first connector P2 are also connected to the POE1 pin. At this time, connecting the first end of the fourth connector to the first end of the first connector is equivalent to connecting it to the first end of the second connector.
[0081] For example, refer to Figure 7 , Figure 9The negative terminal of the second power supply VCC4 is connected to GND4, and the positive terminal of the second power supply VCC4 is connected to pins 1 and 2 of the third connector P1. Pins 1 and 2 of the fourth connector P9 are connected to pins 1 and 2 of the first connector P2 (the positive terminals of the first power supply VCC1 and the second power supply VCC5). Pins 3 / 4 of the third connector P1 and pins 3 / 4 of the fourth connector P9 are connected to the first terminal of the hybrid normally closed switch RL1. The second terminal of the hybrid normally closed switch RL1 is connected to the first terminal of the resistor R1. The second terminal of the resistor R1 is connected to the anode of the light-emitting diode D1. The cathode of the light-emitting diode D1 is connected to the first controlled terminal of the optocoupler U1. The second controlled terminal of the optocoupler U1 is connected to GND1. It is worth noting that the first controlled terminal of the hybrid normally closed switch RL1 is connected to the first terminal of the hybrid normally closed switch RL1, and the second controlled terminal of the hybrid normally closed switch RL1 is connected to GND4, that is, it shares a common ground with the negative terminal of the second power supply VCC4.
[0082] The third connector P1 is a 4-pin socket, with pins 1 and 2 electrically connected to pin 8 of the PoE connector, and pins 3 and 4 electrically connected to pin 6 of the LAN connector. Of course, the third connector P1 can also be a 2-pin socket; this invention is not limited to this. The fourth connector P9 is a 4-pin socket, with pins 1 and 2 electrically connected to pin 6 of the PoE connector, and pins 3 and 4 electrically connected to pin 6 of the LAN connector. Of course, the fourth connector P9 can also be a 2-pin socket; this invention is not limited to this. It is worth noting that, under normal manufacturing conditions, pin 8 of the PoE connector is not connected to pin 6 of the LAN connector, but pin 6 of the PoE connector is connected to pin 6 of the LAN connector.
[0083] It should be noted that by setting up a hybrid detection unit, it is possible to detect whether multiple sets of PoE pins are soldered together or whether there is a cold solder joint between PoE6 and LAN6. Due to the inductor (the secondary winding of the transformer) blocking direct current and the unidirectional conduction characteristic of the diode, VCC4 loaded on pin 8 of the PoE port is equivalent to being loaded on pin 4 of the PoE port. When PoE4 and PoE6 are soldered together (equivalent to PoE5 and 6 being soldered together), PoE6 and LAN6 are also directly connected, relay RL1 is powered and engaged, the D1 circuit is disconnected, optocoupler U1 cannot be turned on, and D5 cannot be lit. When PoE6 and PoE7 are soldered together (equivalent to PoE6 and 8 being soldered together), the third connector P1 is connected, VCC4 powers relay RL1, relay RL1 is engaged, the D1 circuit is disconnected, optocoupler U1 cannot be turned on, and D5 cannot be lit.
[0084] It's worth noting that since POE pin 6 and LAN pin 6 are also directly connected, the VCC5 applied to POE pin 1 is equivalent to applied to relay RL1. When POE pins 2 and 4 are soldered together, the equivalent power supply mode for the three relays is as follows: Figure 10As shown, each relay is effectively energized by a 24V power supply, the D1, D3, and D4 circuits are disconnected, the corresponding optocoupler cannot be turned on, and D5 cannot be lit.
[0085] It is worth noting that since POE pin 6 and LAN pin 6 are also directly connected, the VCC5 applied to POE pin 1 is equivalent to the VCC5 applied to relay RL1. When POE pins 3 and 4 are soldered together (equivalent to POE pins 3 and 5 being soldered together), the equivalent power supply mode for relays RL1 and RL2 is as follows: Figure 11 As shown, each relay is effectively energized by a 24V power supply, the D1 and D3 circuits are disconnected, optocouplers U1 and U3 cannot be turned on, and D5 cannot be lit.
[0086] In this embodiment, by setting up a hybrid detection unit, it can detect whether there is a cold solder joint between POE6 and LAN6, and at the same time, it can also detect whether there is a short circuit between POE pins 2 / 4, POE pins 3 / 4, POE pins 6 / 4, and POE pins 6 / 7. There is no need to set up an additional short circuit detection unit, which further reduces the redundancy of the entire circuit and saves the cost of the entire circuit.
[0087] In another implementation, refer to Figure 12 The output terminal of the second power supply is connected to the first terminal of the third connector, and the first terminal of the fourth connector is connected to the output terminal of a first power supply. This embodiment differs from the previous embodiment in that the first terminal of the fourth connector P9 is connected solely to the positive terminal of a first power supply VCC1, the negative terminal of the first power supply VCC1 is connected to GND1, and the first terminal of the fourth connector P9 is not connected to the POE1 pin.
[0088] Accordingly, this embodiment can detect whether there is a cold solder joint between POE6 and LAN6, and also detect whether there is a short circuit between pins POE6 / 4 and POE6 / 7. The principle of this embodiment is the same as that of the above embodiment, and will not be repeated here.
[0089] In one embodiment, reference is made to... Figure 13The power supply is VCC_PLC. The indicator module includes a current-limiting resistor R5 and an LED D5. The detection module includes three open-circuit detection units, one mixed detection unit, and two short-circuit detection units. The controllable switch module includes four controllable switches: optocouplers U1, U2, U3, and U4. The cathode of the power supply VCC_PLC is connected to GND4. The anode of the power supply VCC_PLC is connected to the first end of the current-limiting resistor R5. The second end of the current-limiting resistor R5 is connected to the anode of the LED D5. The cathode of the LED D5 is connected to the first end of the optocoupler U1. Optocouplers U1, U2, U3, and U4 are connected in series. The second end of optocoupler U4 is connected to GND4. All GND1, GND2, GND3, and GND4 represent the same ground terminal. GND1, GND2, GND3, and GND4 do not share a common ground.
[0090] The system includes three open-circuit detection units: first power supplies VCC1, VCC2, and VCC3, and first connectors P2, P3, and P4; two short-circuit detection units: normally closed switches RL2 and RL3, second power supplies VCC5 and VCC6, and second connectors P5 and P6; and a hybrid detection unit: a hybrid normally closed switch RL1, a second power supply VCC4, a third connector P1, and a fourth connector P9. Furthermore, to facilitate testing and observation of pins with manufacturing defects (bridging, cold solder joints), the open-circuit detection unit also includes resistors R1, R2, R3, and R4, and light-emitting diodes D1, D2, D3, and D4. The specific connection structure and implementation principle of this embodiment have been described in the above embodiments and will not be repeated here.
[0091] When using the detection circuit in the above embodiments for testing, the following situations may occur:
[0092] (1) When any of the lines between pins 1, 2, 3, and 6 of the POE port and the LAN port is open, such as when the trace is broken or the copper foil is peeled off, the first power supply positive line connected to it is broken, the LED on the circuit does not light up, the corresponding optocoupler is turned off, and D5 cannot be lit, indicating that there is a process defect.
[0093] (2) When there is no open circuit between pins 1, 2, 3 and 6 of the POE port and the LAN port, D1, D2, D3 and D4 will all light up. At this time, all optocouplers are turned on and the circuit is connected. D5 will light up, which indicates that the product is good.
[0094] (3) When POE1 is soldered to POE pin 3 (equivalent to LAN1 and pin 3 being soldered together), RL2 is powered on and the circuit where D3 is located is disconnected. Optocoupler U3 cannot be turned on, and D3 and D5 cannot be lit, indicating that there is a process defect.
[0095] (4) When POE 2 and POE 3 are connected by soldering (equivalent to LAN2 and 3 being connected by soldering), RL3 is powered on and the circuit where D4 is located is disconnected. Optocoupler U4 cannot be turned on, and D4 and D5 cannot be lit, indicating that there is a process defect.
[0096] (5) When POE1 and POE2 are soldered together (equivalent to LAN1 and LAN2 being soldered together), VCC5 and VCC6 form a Figure 8 In the circuit (similar to two dry batteries connected in series), relays RL2 and RL3 are equivalent to obtaining a 24V power supply voltage. When RL2 and RL3 are powered on, the circuit is broken, optocouplers U3 and U4 cannot be turned on, and D3, D4, and D5 cannot be lit, indicating that there is a manufacturing defect.
[0097] (6) When POE 2 and POE 4 are soldered together (equivalent to POE 2 and 5 being soldered together), since VCC4 loaded on POE 8 is equivalent to loaded on POE 4, POE 6 and LAN 6 are directly connected, and VCC5 loaded on POE 1 is equivalent to loaded on relay RL1. At this time, the equivalent power supply mode for the three relays is as follows: Figure 10 As shown, each relay is equivalent to receiving a 24V power supply voltage and is activated. The circuits D1, D3, and D4 are disconnected, optocouplers U1, U3, and U4 cannot be turned on, and D5 cannot be lit.
[0098] (7) When POE3 and POE4 are soldered together (equivalent to POE3 and POE5 being soldered together), the equivalent power supply mode of relays RL1 and RL2 is as follows: Figure 11 As shown, each relay is effectively energized by a 24V power supply, the D1 and D3 circuits are disconnected, optocouplers U1 and U3 cannot be turned on, and D5 cannot be lit.
[0099] (8) When POE4 and POE6 are connected by soldering (equivalent to POE5 and 6 being connected by soldering), the relay RL1 is powered on and energized, the D1 circuit is disconnected, the optocoupler U1 cannot be turned on, and D5 cannot be lit.
[0100] (9) When POE6 and POE7 are connected by soldering (equivalent to POE6 and 8 being connected by soldering), the relay RL1 is powered on and the D1 circuit is disconnected, the optocoupler U1 cannot be turned on, and D5 cannot be lit.
[0101] In this embodiment, by combining the lighting status of the aforementioned LEDs D1, D2, D3, D4, and D5, the soldering process status of the PoE network port can be quickly determined. The advantages of this invention are:
[0102] (1) High testing efficiency: By simulating the signal transmission of electronic devices, a millisecond-level detection response speed is achieved;
[0103] (2) The test results are easy to judge. Operators only need to observe whether the LED light D5 is on or off to determine the quality of the tested sample.
[0104] (3) High detection accuracy, no test blind spots, and can effectively detect problems such as cold solder joints and solder joints between pins of 100M PoE products.
[0105] (4) Compared with other testing schemes, the cost of this invention is significantly lower and the cost-effectiveness is higher.
[0106] Reference Figure 14 The present invention also provides a power network port detection circuit, including a control module, a controllable switch module, and a detection module. The control module is connected to the controllable switch module and is used to monitor the working status of the controllable switch module. The input terminal of the detection module is used to connect to a first network port under test and a second network port under test. At least one pin of the first network port under test is correspondingly connected to at least one pin of the second network port under test. The output terminal of the detection module is connected to the controlled terminal of the controllable switch module. The detection module is used to output a conduction or deconduction signal to the controllable switch module according to the conduction status of the pin.
[0107] It should be noted that the specific structure, implementation principle, and beneficial effects of the controllable switch module and detection module in this embodiment are the same as those in the above embodiments, and will not be repeated here.
[0108] In specific implementation, refer to Figure 15 , Figure 16 By short-circuiting the LED D5 and current-limiting resistor R5 with a jumper, and replacing the power supply of D5 with another control module, such as a PLC or microcontroller, the functionality can be expanded. For example, it can be paired with a PLC and a robotic arm. When the controllable switch module is on, the PLC controls the robotic arm to work and automatically replace the next product for testing; when the controllable switch module is off, the PLC controls the robotic arm to stop working and perform operations such as issuing a non-conforming product warning, thereby realizing automatic testing and automatic screening of defective products.
[0109] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.
Claims
1. A power network port detection circuit, characterized in that, It includes a power supply, an indicator module, a controllable switch module, and a detection module. The output terminal of the power supply is connected to one end of the indicator module, and the other end of the indicator module is connected to the controllable switch module. The input terminal of the detection module is used to connect to the first network port under test and the second network port under test. At least one pin of the first network port under test is connected to at least one pin of the second network port under test. The output terminal of the detection module is connected to the controlled terminal of the controllable switch module. The detection module is used to output a conduction or deconduction signal to the controllable switch module according to the conduction state of the pin. The detection module includes at least one circuit breaker detection unit, and the controllable switch module includes at least one controllable switch element, each of which corresponds to one of the circuit breaker detection units. Each circuit breaker detection unit includes a first power supply and a first connector. The output terminal of the first power supply is connected to a first terminal of the first connector, and the second terminal of the first connector is connected to the controlled terminal of the controllable switch element. The first terminal of the first connector is used to connect to a pin of a first network port under test, and the second terminal of the first connector is used to connect to a pin of a second network port under test. The pin of the first network port under test is correspondingly connected to a pin of the second network port under test. The detection module further includes at least one short-circuit detection unit. Each short-circuit detection unit includes a normally closed switch, a second power supply, and a second connector. The first end of the normally closed switch is connected to the second end of the first connector, and the second end of the normally closed switch is connected to the controlled end of the controllable switch. The controlled end of the normally closed switch is connected to the second power supply through the second connector. The first end of the second connector is used to connect to one pin of the first network port under test, and the second end of the second connector is used to connect to the other pin of the first network port under test.
2. A power network port detection circuit, characterized in that, It includes a control module, a controllable switch module, and a detection module. The control module is connected to the controllable switch module and is used to monitor the working status of the controllable switch module. The input terminal of the detection module is used to connect to the first network port under test and the second network port under test. At least one pin of the first network port under test is connected to at least one pin of the second network port under test. The output terminal of the detection module is connected to the controlled terminal of the controllable switch module. The detection module is used to output a conduction or deconduction signal to the controllable switch module according to the conduction state of the pin. The detection module includes at least one circuit breaker detection unit, and the controllable switch module includes at least one controllable switch element, each of which corresponds to one of the circuit breaker detection units. Each circuit breaker detection unit includes a first power supply and a first connector. The output terminal of the first power supply is connected to a first terminal of the first connector, and the second terminal of the first connector is connected to the controlled terminal of the controllable switch element. The first terminal of the first connector is used to connect to a pin of a first network port under test, and the second terminal of the first connector is used to connect to a pin of a second network port under test. The pin of the first network port under test is correspondingly connected to a pin of the second network port under test. The detection module further includes at least one short-circuit detection unit. Each short-circuit detection unit includes a normally closed switch, a second power supply, and a second connector. The first end of the normally closed switch is connected to the second end of the first connector, and the second end of the normally closed switch is connected to the controlled end of the controllable switch. The controlled end of the normally closed switch is connected to the second power supply through the second connector. The first end of the second connector is used to connect to one pin of the first network port under test, and the second end of the second connector is used to connect to the other pin of the first network port under test.
3. The power net port detection circuit according to claim 1 or 2, characterized by The detection module includes at least two short-circuit detection units and at least two open-circuit detection units, and the controllable switch module includes at least two controllable switches, with the switch terminals of the at least two controllable switches connected in series. Each of the short-circuit detection units includes a normally closed switch, a second power supply, and a second connector. The first end of the normally closed switch is connected to the second end of the first connector, the second end of the normally closed switch is connected to the controlled end of the controllable switch, and the controlled end of the normally closed switch is connected to the second power supply through the second connector. In this configuration, every two short-circuit detection units form a short-circuit detection combination unit. In each short-circuit detection combination unit, two of the second connectors are used to connect to the four pins of the first network port under test. Among the four pins of the first network port under test, there is one identical pin.
4. The power jack detection circuit of claim 3, wherein, The detection module includes two short-circuit detection units, the positive terminals of the two second power supplies are respectively connected to the first terminals of the two second connectors, the second terminals of the two second connectors are respectively connected to the first controlled terminals of the two normally closed switches, and the second controlled terminals of the two normally closed switches are respectively connected to the negative terminals of the two second power supplies. Among them, the two second connectors are respectively labeled P5 and P6. One pin of the first network port under test connected to the first end of the second connector P5 is different from one pin of the first network port under test connected to the second end of the second connector P6; one pin of the first network port under test connected to the second end of the second connector P5 is the same as one pin of the first network port under test connected to the first end of the second connector P6.
5. The power jack detection circuit of claim 3, wherein, The detection module further includes a hybrid detection unit. The controllable switch module includes a controllable switch connected to the hybrid detection unit. The hybrid detection unit includes a hybrid normally closed switch, a second power supply, a third connector, and a fourth connector. The output terminal of the second power supply is connected to the first terminal of the third connector, the second terminal of the third connector and the second terminal of the fourth connector are connected to the first terminal of the hybrid normally closed switch, the second terminal of the hybrid normally closed switch is connected to the controlled terminal of the controllable switch, the first controlled terminal of the hybrid normally closed switch is connected to the first terminal of the hybrid normally closed switch, and the second controlled terminal of the hybrid normally closed switch is grounded. The first end of the third connector is used to connect to one pin of the first network port under test, and the second end of the third connector is used to connect to another pin of the second network port under test. One pin of the first network port under test is not connected to the other pin of the second network port under test. The first end of the fourth connector is used to connect to a pin of the first network port under test, and the second end of the fourth connector is used to connect to a pin of the second network port under test. The pin of the first network port under test is connected to the pin of the second network port under test. Wherein, the output voltage of the first power supply is less than the controlled terminal driving voltage of the normally closed switch, and the output voltage of the second power supply is greater than or equal to the controlled terminal driving voltage of the normally closed switch.
6. The power jack detection circuit of claim 5, wherein, The negative terminal of the second power supply is grounded, the positive terminal of the second power supply is connected to the first end of the third connector, and the first end of the fourth connector is connected to the first end of one of the second connectors.
7. The power jack detection circuit of claim 5, wherein, The output terminal of the second power supply is connected to the first terminal of the third connector, and the first terminal of the fourth connector is connected to the output terminal of a first power supply.
8. The power jack detection circuit of claim 6, wherein, The detection module includes three open circuit detection units, one hybrid detection unit, and two short circuit detection units. The controllable switch module includes four optocouplers U1, U2, U3, and U4. The other end of the indicator module is connected to the first end of the optocoupler U1. The optocouplers U1, U2, U3, and U4 are connected in series, and the second end of the optocoupler U4 is connected to GND4. The three open-circuit detection units include first power supplies VCC1, VCC2, VCC3 and first connectors P2, P3, P4; the two short-circuit detection units include normally closed switches RL2 and RL3, second power supplies VCC5 and VCC6, and second connectors P5 and P6; the one mixed detection unit includes a mixed normally closed switch RL1, a second power supply VCC4, a third connector P1 and a fourth connector P9. The negative terminal of the first power supply VCC1 is connected to GND1, the positive terminal of the first power supply VCC1 is connected to the first end of the first connector P2, the second end of the first connector P2 is connected to the first controlled end of the optocoupler U2, and the second controlled end of the optocoupler U2 is connected to GND1; wherein, the first end of the first connector P2 is electrically connected to pin 1 of the first network port under test, and the second end is electrically connected to pin 1 of the second network port under test. The negative terminal of the first power supply VCC2 is connected to GND2, the positive terminal of the first power supply VCC2 is connected to the first end of the first connector P3, the second end of the first connector P3 is connected to the first end of the normally closed switch RL2, the second end of the normally closed switch RL2 is connected to the first controlled end of the optocoupler U3, and the second controlled end of the optocoupler U3 is connected to GND2; wherein, the first end of the first connector P3 is electrically connected to pin 2 of the first network port under test, and the second end is electrically connected to pin 2 of the second network port under test; the first controlled end of the normally closed switch RL2 is connected to the negative terminal of the second power supply VCC5, the positive terminal of the second power supply VCC5 is connected to the first end of the second connector P5, the second end of the second connector P5 is connected to the second controlled end of the normally closed switch RL2, the first end of the second connector P5 is electrically connected to pin 1 of the first network port under test, and the second end is electrically connected to pin 3 of the first network port under test; The negative terminal of the first power supply VCC3 is connected to GND3, the positive terminal of the first power supply VCC3 is connected to the first end of the first connector P4, the second end of the first connector P4 is connected to the first end of the normally closed switch RL3, the second end of the normally closed switch RL3 is connected to the first controlled end of the optocoupler U4, and the second controlled end of the optocoupler U4 is connected to GND3; wherein, the first end of the first connector P4 is electrically connected to pin 3 of the first network port under test, and the second end is electrically connected to pin 3 of the second network port under test; the first controlled end of the normally closed switch RL3 is connected to the negative terminal of the second power supply VCC6, the positive terminal of the second power supply VCC6 is connected to the first end of the second connector P6, the second end of the second connector P6 is connected to the second controlled end of the normally closed switch RL3, the first end of the second connector P6 is electrically connected to pin 3 of the first network port under test, and the second end is electrically connected to pin 2 of the first network port under test; The negative terminal of the second power supply VCC4 is connected to GND4, and the positive terminal of the second power supply VCC4 is connected to the first end of the third connector P1. The first end of the fourth connector P9 is connected to the first end of the first connector P2. The second ends of the third connector P1 and the fourth connector P9 are connected to the first end of the hybrid normally closed switch RL1. The second end of the hybrid normally closed switch RL1 is connected to the first controlled end of the optocoupler U1, and the second controlled end of the optocoupler U1 is connected to GND1. The first controlled end of the hybrid normally closed switch RL1 is connected to the first end of the hybrid normally closed switch RL1, and the second controlled end of the hybrid normally closed switch RL1 is connected to GND4. Specifically, the first end of the third connector P1 is electrically connected to pin 8 of the first network port under test, and the second end is electrically connected to pin 6 of the second network port under test; the first end of the fourth connector P9 is electrically connected to pin 6 of the first network port under test, and the second end is electrically connected to pin 6 of the second network port under test; pin 8 of the first network port under test and pin 6 of the second network port under test are not connected, and pin 6 of the first network port under test and pin 6 of the second network port under test are connected.
9. A mains plug detection circuit as claimed in any of claims 4 to 8, wherein the mains plug detection circuit is configured to detect the presence of a mains plug by detecting the presence of a mains voltage. Each controllable switch is also connected with a resistor and a light emitting diode, a first end of the resistor is connected with an output end of the detection module, a second end of the resistor is connected with an anode of the light emitting diode, a cathode of the light emitting diode is connected with a controlled end of the controllable switch.
10. The power jack detection circuit of claim 9, wherein, The controllable switch includes one or more of an optical coupler and a MOS tube.