Cable port detection circuit and cable port detection device
By designing a cable port detection circuit, using the touch chip and MCU control circuit to detect the capacitance value of the cable port, the problem of detecting poor contact of the cable port is solved, and efficient detection and alarm functions are achieved.
Patent Information
- Application Number
- CN202420043719.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-08
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2034-01-08
AI Technical Summary
The prior art cannot effectively detect poor contact problems caused by oxidation or port loosening of cable ports, especially when the cable is not assembled or disassembled.
A cable port detection circuit is designed, including a touch chip detection circuit, an MCU control circuit and a visualization circuit. All the terminals to be tested in the cable to be tested are connected through the touch chip detection circuit, and the contact detection signal is generated, and the MCU control circuit is used to control circuit. Display and alarm with visual circuits to achieve efficient detection of cable ports.
It realizes efficient detection of cable ports, and can determine the contact status of the terminals to be tested without disassembling the equipment, meet the detection needs of different scenarios, and provide visual and auditory reminders.
Smart Images

Figure CN222319115U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of cable detection, in particular to a cable port detection circuit and a cable port detection device. Background Art
[0002] The tail line of the device, such as the network cable interface tail line of IPC (IP Camera), is generally only tested by the manufacturer during the cable production process by connecting both ends of the tail line to the detection instrument to detect the contact conditions at both ends of the tail line.
[0003] During the actual use of the equipment, there are generally two reasons for poor cable contact. The first is that the cable is compressed by external force due to abnormal installation, resulting in internal breakage of the cable. The second is that the connector ports at both ends of the cable are oxidized or the ports are loose, resulting in probabilistic connection failure. In the first problem, the cable has obvious signs of external force and can be easily discovered. In the second problem, the corresponding connectors at both ends of the cable need to be connected to loop back to detect whether the link is normal, but the corresponding connectors need to be connected when the cable is not assembled or disassembled. Therefore, how to effectively detect the cable ports is an urgent problem that needs to be solved. Utility Model Content
[0004] The utility model provides a cable port detection circuit and a cable port detection device, which are used to solve the defect that the cable port cannot be effectively detected in the prior art.
[0005] The utility model provides a cable port detection circuit, including: a touch chip detection circuit, a micro control unit MCU control circuit and a visualization circuit, wherein:
[0006] The touch chip detection circuit is respectively connected to all the terminals to be tested of the cable to be tested and the MCU control circuit, and the touch chip detection circuit is used to detect the capacitance values corresponding to the contact conditions of all the terminals to be tested of the cable to be tested, and generate a contact detection signal corresponding to each terminal to be tested based on each capacitance value;
[0007] The MCU control circuit is connected to the visualization circuit, and the MCU control circuit is used to generate a visualization control signal based on the contact detection signal, and transmit the visualization control signal to the visualization circuit.
[0008] According to the cable port detection circuit provided by the utility model, the touch chip detection circuit includes a touch chip, wherein:
[0009] All detection pins of the touch chip are connected to all terminals to be tested of the cable to be tested, and the communication pins of the touch chip are connected to the MCU control circuit via a two-wire serial bus I2C bus; the touch chip is used to generate a contact detection signal corresponding to each terminal to be tested based on the capacitance change after each detection pin is connected to each terminal to be tested, and transmit each contact detection signal to the MCU control circuit based on the I2C bus.
[0010] According to the cable port detection circuit provided by the utility model, the touch chip detection circuit also includes a filtering circuit, which is connected to the first power supply and the power supply pin of the touch chip; the filtering circuit is used to filter the power supply signal of the first power supply.
[0011] According to the cable port detection circuit provided by the utility model, the visualization circuit includes a buzzer alarm circuit and an LED display circuit, and the buzzer alarm circuit and the LED display circuit are both connected to the MCU control circuit.
[0012] According to the cable port detection circuit provided by the utility model, the buzzer alarm circuit includes a first alarm circuit, a second alarm circuit and a buzzer, wherein:
[0013] An input end of the first alarm circuit is connected to the MCU control circuit, and an output end of the first alarm circuit is connected to a second input end of the second alarm circuit;
[0014] The first input end of the second alarm circuit is connected to the second power supply, and the output end of the second alarm circuit is connected to the positive electrode of the buzzer, and the negative electrode of the buzzer is grounded.
[0015] According to the cable port detection circuit provided by the utility model, the first alarm circuit includes: a MOS tube Q1, a resistor R19 and a resistor R22, wherein:
[0016] One end of the resistor R19 is connected to the MCU control circuit, and one end of the resistor R19 serves as the input end of the first alarm circuit, the other end of the resistor R19 is connected to one end of the resistor R22 and the gate of the MOS tube Q1, the drain of the MOS tube Q1 serves as the output end of the first alarm circuit, and the source of the MOS tube and the other end of the resistor R22 are both grounded.
[0017] According to the cable port detection circuit provided by the utility model, the second alarm circuit includes a capacitor C26, an anti-false trigger circuit, a MOS tube Q2 and a capacitor C37, wherein:
[0018] One end of the capacitor C26 is connected to the second power supply, the first end of the anti-false triggering circuit and the source of the MOS tube Q2, and one end of the capacitor C26 serves as the first input end of the second alarm circuit, the other end of the capacitor C26 is grounded, the gate of the MOS tube Q2 is connected to the second end of the anti-false triggering circuit, the third end of the anti-false triggering circuit serves as the second input end of the second alarm circuit, the drain of the MOS tube is connected to one end of the capacitor C37, and the drain of the MOS tube serves as the output end of the second alarm circuit, and the other end of the capacitor C37 is grounded.
[0019] According to the cable port detection circuit provided by the utility model, the anti-false triggering circuit includes a resistor R20 and a resistor R21, wherein:
[0020] One end of the resistor R20 serves as the first end of the anti-false trigger circuit, one end of the resistor R21 serves as the second end of the anti-false trigger circuit, the other end of the resistor R20 is connected to the other end of the resistor R21, and the other end of the resistor R20 serves as the third end of the anti-false trigger circuit.
[0021] According to the cable port detection circuit provided by the utility model, the LED display circuit includes multiple LED sub-circuits, one end of each of the LED sub-circuits is respectively connected to the LED control pin of the MCU control circuit, and the other end of each of the LED sub-circuits is connected to a third power supply.
[0022] The utility model also provides a cable port detection device, comprising: a detection terminal and any one of the cable port detection circuits described above, wherein the detection terminal is respectively connected to all terminals to be tested of the cable to be tested and a touch chip detection circuit in the cable port detection circuit.
[0023] The utility model provides a cable port detection circuit and a cable port detection device. In the cable port detection circuit, all the terminals to be tested of the cable to be tested and the MCU control circuit are respectively connected through a touch chip detection circuit, and the capacitance values corresponding to the contact conditions of all the terminals to be tested of the cable to be tested are detected, and a contact detection signal corresponding to each terminal to be tested is generated according to the change of the capacitance value, and sent to the MCU control circuit, so that the MCU control circuit generates a visualization control signal based on each contact detection signal, and controls the visualization circuit to display through the visualization control signal, thereby realizing efficient detection of all the terminals to be tested of the cable to be tested and meeting the detection requirements of different scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0025] Figure 1 This is one of the connection diagrams of the cable port detection circuit provided by the utility model;
[0026] Figure 2 This is a circuit connection diagram of the touch chip detection circuit provided by the utility model;
[0027] Figure 3 This is the second connection diagram of the cable port detection circuit provided by the utility model;
[0028] Figure 4 It is a connection diagram of the buzzer alarm circuit provided by the utility model;
[0029] Figure 5 It is a circuit connection diagram of the buzzer alarm circuit provided by the utility model;
[0030] Figure 6 It is a circuit connection diagram of the MCU control circuit provided by the utility model;
[0031] Figure 7 It is a circuit connection diagram of the LED display circuit provided by the utility model;
[0032] Figure 8 It is a connection schematic diagram of the cable port detection device provided by the utility model.
[0033] Reference numerals:
[0034] 100: cable port detection circuit; 110: touch chip detection circuit; 111: touch chip; 112: filter circuit; 120: MCU control circuit; 130: visualization circuit; 131: buzzer alarm circuit: 1311: first alarm circuit; 1312: second alarm circuit; 1313: buzzer; 1314: anti-false trigger circuit; 132: LED display circuit; 1321: LED sub-circuit; 200: cable port detection device; 210: detection terminal. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the utility model clearer, the technical solution of the utility model will be described clearly and completely in conjunction with the drawings in the utility model. Obviously, the described embodiments are part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0036] Aiming at the problem that the existing technology cannot effectively detect the cable port, that is, the existing technology cannot detect the problem that the cable contact is poor due to oxidation of the connector port of the cable to be tested or the port is loose, the utility model provides a cable port detection circuit. Figure 1 This is one of the connection diagrams of the cable port detection circuit provided by the utility model, such as Figure 1 As shown, the cable port detection circuit 100 includes: a touch chip detection circuit 110, an MCU (Micro Controller Unit, micro control unit) control circuit 120 and a visualization circuit 130, wherein:
[0037] The touch chip detection circuit 110 is respectively connected to all the terminals to be tested of the cable to be tested and the MCU control circuit 120, and the touch chip detection circuit 110 is used to detect the capacitance values corresponding to the contact conditions of all the terminals to be tested of the cable to be tested, and generate a contact detection signal corresponding to each terminal to be tested based on each capacitance value;
[0038] The MCU control circuit 120 is connected to the visualization circuit 130 . The MCU control circuit 120 is used to generate a visualization control signal based on the contact detection signal, and transmit the visualization control signal to the visualization circuit 130 .
[0039] Specifically, after the touch chip detection circuit 110 is connected to all the terminals to be tested of the cable to be tested and the MCU control circuit 120, the contact condition of each terminal to be tested is automatically determined by detecting the capacitance value corresponding to each terminal to be tested and comparing the result with the initial capacitance value. The initial capacitance value is the capacitance value corresponding to when the touch chip detection circuit 110 is not connected to all the terminals to be tested of the cable to be tested. After each terminal to be tested is connected to the touch chip detection circuit 110, if the contact is good, the detected capacitance value is different from the initial capacitance value. If the contact is poor, it means that the terminals to be tested of the cable to be tested are not connected to the touch chip detection circuit 110, then the detected capacitance value is the same as the initial capacitance value. According to the comparison result between the capacitance value and the initial capacitance value, the contact detection signal corresponding to each terminal to be tested is determined. The level of the contact detection signal can be used to indicate whether the corresponding terminal to be tested has poor contact. For example, if the contact detection signal is a high-level signal, it indicates that the corresponding terminal to be tested has poor contact. If the contact detection signal is a low-level signal, it indicates that the corresponding terminal to be tested has good contact. Alternatively, if the contact detection signal is a low-level signal, it indicates that the corresponding terminal to be tested has poor contact. If the contact detection signal is a high-level signal, it indicates that the corresponding terminal to be tested has good contact. After determining the contact detection signals corresponding to all terminals to be tested, all contact detection signals can be sent to the MCU control circuit 120, so that the MCU control circuit 120 can analyze all contact detection signals, generate visualization control signals based on all contact detection signals, and control the visualization circuit 130 to display the contact status of the cable to be tested, so as to achieve effective detection of all terminals to be tested of the cable to be tested without disassembling or assembling the equipment.
[0040] Furthermore, Figure 2 1 is a circuit connection diagram of the touch chip detection circuit 110 provided by the present invention. Figure 2 As shown, the touch chip detection circuit 110 includes a touch chip 111, wherein:
[0041] All detection pins of the touch chip 111 are connected to all terminals to be tested of the cable to be tested, and the communication pins of the touch chip 111 are connected to the MCU control circuit 120 via a two-wire serial bus I2C bus; the touch chip 111 is used to generate a contact detection signal corresponding to each terminal to be tested based on the capacitance change after each detection pin is connected to each terminal to be tested, and transmit each contact detection signal to the MCU control circuit 120 based on the I2C bus.
[0042] Specifically, the touch chip detection circuit 110 includes a touch chip 111. The touch chip 111 uses the capacitance sensing principle to detect the contact conditions of each terminal to be tested of the cable to be tested by changing the capacitance between the sensing electrode and the reference electrode in the touch chip 111. The above-mentioned initial capacitance value can be understood as the capacitance value between the sensing electrode and the reference electrode in the touch chip 111 when the touch chip 111 is not connected to the terminals to be tested of the cable to be tested. When the touch chip 111 is in good contact with each terminal to be tested of the cable to be tested, the capacitance value between each sensing electrode and the reference electrode in the touch chip 111 is changed. When the touch chip 111 is in poor contact with each terminal to be tested of the cable to be tested, for example, when the terminal to be tested forms an oxide film on the surface of the terminal to be tested due to oxidation or the terminal to be tested is loose, there is a spacing between the terminal to be tested and the touch chip detection circuit 110 due to the oxide film spacing or the terminal to be tested is loose, so that each terminal to be tested is not in contact with the sensing electrode of the touch chip 111, so that the capacitance between the sensing electrode and the reference electrode does not change. For example, taking the cable to be tested including 12 terminals to be tested as an example, pins 1 to 12 of the touch chip 111 are detection pins, and pins 1 to 12 of the chip to be touched 111 can be understood as 12 sensing electrodes in the touch chip 111, and the 12 detection pins of the touch chip 111 are respectively connected to the 12 terminals to be tested in the cable to be tested. Pins 18 and 19 of the touch chip 111 are both communication pins of the touch chip 111. After the touch chip 111 determines the contact detection signal of each terminal to be tested, all contact detection signals can be sent to the MCU control circuit 120 through the communication pins, so that the MCU control circuit 120 can parse the contact detection signal.
[0043] Further, such as Figure 2 As shown, the touch chip detection circuit 110 further includes a filter circuit 112, and the filter circuit 112 is connected to a first power supply and a power supply pin of the touch chip 111; the filter circuit 112 is used to filter the power supply signal of the first power supply.
[0044] Specifically, the filtering circuit 112 includes a capacitor C78 and a capacitor C88, and the capacitor C78 and the capacitor C88 are connected in parallel, and the connection point of one end after the parallel connection is connected to the first power supply and the pin 16 of the touch chip 111. The power supply pins of the touch chip 111 include pin 16, pin 15 and pin 21, and the pin 21 is a ground pin. Pin 15 of the touch chip 111 is connected to one end of the capacitor C49, and the other end connection point of the capacitor C78 and the capacitor C88 after the parallel connection, the other end of the capacitor C49 and the pin 21 are connected and are all grounded.
[0045] Optionally, the embodiment of the utility model does not limit the output voltage of the first power supply. For example, the output voltage of the first power supply may be 3.3V.
[0046] Furthermore, the visualization circuit 130 includes a buzzer alarm circuit 131 and an LED (Light-Emitting Diode) display circuit, and both the buzzer alarm circuit 131 and the LED display circuit 132 are connected to the MCU control circuit 120 .
[0047] Specifically, Figure 3 This is the second connection diagram of the cable port detection circuit provided by the utility model, such as Figure 3 As shown, the visualization circuit 130 includes a buzzer alarm circuit 131 and an LED display circuit, and both are connected to the MCU control circuit 120. The visualization control signal may include a first control signal and a second control signal, the first control signal is used to control the LED display circuit 132 to display the contact conditions of each terminal to be tested of the cable to be tested, and the second control signal can be used to control the buzzer 1313 alarm signal to sound an alarm when each terminal to be tested of the cable to be tested has poor contact. After the MCU control circuit 120 receives and analyzes all contact detection signals, a visualization control signal can be generated. The MCU control circuit 120 can control the LED display circuit 132 to display the contact conditions of each terminal to be tested of the cable to be tested through the first control signal in the visualization control signal. For example, if the terminal to be tested has good contact, the corresponding light-emitting diode in the LED display circuit 132 can be lit, and if the terminal to be tested has poor contact, the corresponding light-emitting diode in the LED display circuit 132 can be turned off. Therefore, the on and off of all light-emitting diodes in the LED display circuit 132 can be used to determine whether each terminal to be tested of the cable to be tested has a poor contact problem. In addition, if there is a poor contact problem in each terminal of the cable under test, the buzzer alarm circuit 131 can be controlled to sound an alarm through the second control signal in the visualization control signal, thereby realizing visual and auditory result reminders.
[0048] Furthermore, Figure 4 This is a connection diagram of the buzzer alarm circuit provided by the utility model. Figure 4 As shown, the buzzer alarm circuit 131 includes a first alarm circuit 1311, a second alarm circuit 1312 and a buzzer 1313, wherein:
[0049] An input end of the first alarm circuit 1311 is connected to the MCU control circuit 120, and an output end of the first alarm circuit 1311 is connected to a second input end of the second alarm circuit 1312;
[0050] The first input end of the second alarm circuit 1312 is connected to the second power supply, and the output end of the second alarm circuit 1312 is connected to the positive electrode of the buzzer 1313, and the negative electrode of the buzzer 1313 is grounded.
[0051] Specifically, the MCU control circuit 120 may send a second control signal to the input end of the first alarm circuit 1311, and through the level change of the second control signal, when the terminals of the cable under test have poor contact, the buzzer 1313 is controlled to give a sound reminder.
[0052] Furthermore, Figure 5 This is a circuit connection diagram of the buzzer alarm circuit provided by the utility model, such as Figure 5 As shown, the first alarm circuit 1311 includes: a MOS tube Q1, a resistor R19 and a resistor R22, wherein:
[0053] One end of the resistor R19 is connected to the MCU control circuit 120, and one end of the resistor R19 serves as the input end of the first alarm circuit 1311, the other end of the resistor R19 is connected to one end of the resistor R22 and the gate of the MOS tube Q1, the drain of the MOS tube Q1 serves as the output end of the first alarm circuit 1311, and the source of the MOS tube and the other end of the resistor R22 are both grounded.
[0054] Further, such as Figure 5 As shown, the second alarm circuit 1312 includes a capacitor C26, an anti-false trigger circuit 1314, a MOS tube Q2 and a capacitor C37, wherein:
[0055] One end of the capacitor C26 is connected to the second power supply, the first end of the anti-false trigger circuit 1314 and the source of the MOS tube Q2, and one end of the capacitor C26 serves as the first input end of the second alarm circuit 1312, the other end of the capacitor C26 is grounded, the gate of the MOS tube Q2 is connected to the second end of the anti-false trigger circuit 1314, the third end of the anti-false trigger circuit 1314 serves as the second input end of the second alarm circuit 1312, the drain of the MOS tube is connected to one end of the capacitor C37, and the drain of the MOS tube serves as the output end of the second alarm circuit 1312, and the other end of the capacitor C37 is grounded.
[0056] Further, such as Figure 5 As shown, the false trigger prevention circuit 1314 includes a resistor R20 and a resistor R21, wherein:
[0057] One end of the resistor R20 serves as the first end of the anti-false trigger circuit 1314, one end of the resistor R21 serves as the second end of the anti-false trigger circuit 1314, the other end of the resistor R20 is connected to the other end of the resistor R21, and the other end of the resistor R20 serves as the third end of the anti-false trigger circuit 1314.
[0058] Specifically, Figure 6 It is a circuit connection diagram of the MCU control circuit provided by the utility model, such as Figure 5 and Figure 6 As shown, the MCU control circuit 120 can transmit the second control signal to the input end of the first alarm circuit 1311 through pin 68. If the visual control signal is a high-level signal, it indicates that there is a poor contact phenomenon in each terminal to be tested of the cable to be tested. At this time, the MOS tube Q1 is in a conducting state, and the MOS tube Q2 is in a conducting state. After the MOS tube Q2 is turned on, the second power supply supplies power to the buzzer 1313 to control the buzzer 1313 to alarm. In addition, after the MOS tube Q1 and the MOS tube Q2 are turned on, there is a current between the gate of the MOS tube Q2 and the source of the MOS tube Q1. In order to avoid the current being too large, the anti-false trigger circuit 1314 can be used to reduce the magnitude of the current to prevent the MOS tube Q2 from being falsely triggered. At the same time, the resistor R22 in the first alarm circuit 1311 can ensure that the MOS tube Q1 is turned on within a certain voltage range to prevent the MOS tube Q1 from being falsely triggered.
[0059] Furthermore, Figure 7 1 is a circuit connection diagram of the LED display circuit 132 provided by the present invention, as shown in FIG. Figure 7 As shown, the LED display circuit 132 includes multiple LED sub-circuits 1321, one end of each LED sub-circuit 1321 is respectively connected to the LED control pin of the MCU control circuit 120, and the other end of each LED sub-circuit 1321 is connected to a third power supply.
[0060] Specifically, the number of LED subcircuits 1321 in the LED display circuit 132 is the same as the number of terminals to be tested in the cable to be tested, and each LED subcircuit 1321 corresponds to a terminal to be tested. The structure of each LED subcircuit 1321 is the same, and each LED subcircuit 1321 includes a light-emitting diode and a resistor connected in series. For example, taking the first LED subcircuit 1321 as an example, the first LED subcircuit 1321 includes a resistor R83 and a light-emitting diode D8, such as Figure 6 and Figure 7As shown, one end of the resistor R83 is connected to the pin 78 in the MCU control circuit 120, the other end of the resistor R83 is connected to the cathode of the light-emitting diode D8, and the anode of the light-emitting diode D8 is connected to the third power supply. If the terminal to be tested corresponding to the first LED sub-circuit 1321 is in good contact, the MCU control circuit 120 can send a first control signal to the first LED sub-circuit 1321 through the pin 78, and the first control signal is a low-level signal, and the light-emitting diode D8 in the first LED sub-circuit 1321 can be lit, indicating that the terminal to be tested corresponding to the first LED sub-circuit 1321 is in good contact. If the terminal to be tested corresponding to the first LED sub-circuit 1321 is in poor contact, the MCU control circuit 120 can send a high-level first control signal to the first LED sub-circuit 1321 through the pin 78, or, do not send a low-level first control signal to the first LED sub-circuit 1321, so that the light-emitting diode D8 in the first LED sub-circuit 1321 is in a closed state, indicating that the terminal to be tested corresponding to the first LED sub-circuit 1321 is in poor contact.
[0061] It should be noted that the embodiment of the utility model does not limit the output voltage of the third power supply. For example, the output voltage of the third power supply may be 3.3V.
[0062] The utility model provides a cable port detection circuit, in which all the terminals to be tested of the cable to be tested and the MCU control circuit 120 are respectively connected through the touch chip detection circuit 110, and the capacitance values corresponding to the contact conditions of all the terminals to be tested of the cable to be tested are detected, and a contact detection signal corresponding to each terminal to be tested is generated according to the change of the capacitance value, and sent to the MCU control circuit 120, so that the MCU control circuit 120 generates a visualization control signal based on each contact detection signal, and controls the visualization circuit 130 for display through the visualization control signal, thereby realizing efficient detection of all the terminals to be tested of the cable to be tested and meeting the detection requirements of different scenarios.
[0063] The present utility model also provides a cable port detection device. Figure 8 Schematic diagram of the connection of the cable port detection device provided by the utility model. Figure 8 As shown, the cable port detection device 200 includes: a detection terminal 210 and the above-mentioned cable port detection circuit 100, and the detection terminal 210 is respectively connected to all the terminals to be tested of the cable to be tested and the touch chip detection circuit 110 in the cable port detection circuit 100.
[0064] Specifically, the detection terminal 210 is matched and connected with each terminal to be tested of the cable to be tested, and the detection terminal 210 can be replaced in real time according to the type of each terminal to be tested of the cable to be tested to meet the detection requirements of different terminals to be tested. After the detection terminal 210 is respectively connected with each terminal to be tested of the cable to be tested and each detection pin of the touch chip detection circuit 110, the contact condition of each terminal to be tested can be detected.
[0065] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the utility model, rather than to limit it. Although the utility model has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the utility model.
Claims
1. A cable port detection circuit, characterized in that: include: Touch chip detection circuit, microcontroller unit MCU control circuit and visualization circuit, including: The touch chip detection circuit is respectively connected to all the terminals to be tested of the cable to be tested and the MCU control circuit, and the touch chip detection circuit is used to detect the contact conditions of all the terminals to be tested of the cable to be tested, and generate a contact detection signal corresponding to each terminal to be tested based on each contact condition; The MCU control circuit is connected to the visualization circuit, and the MCU control circuit is used to generate a visualization control signal based on the contact detection signal, and transmit the visualization control signal to the visualization circuit.
2. The cable port detection circuit according to claim 1, characterized in that: The touch chip detection circuit includes a touch chip, wherein: All detection pins of the touch chip are connected to all terminals to be tested of the cable to be tested, and the communication pins of the touch chip are connected to the MCU control circuit via a two-wire serial bus I2C bus; the touch chip is used to generate a contact detection signal corresponding to each terminal to be tested based on the capacitance change after each detection pin is connected to each terminal to be tested, and transmit each contact detection signal to the MCU control circuit based on the I2C bus.
3. The cable port detection circuit according to claim 2, characterized in that: The touch chip detection circuit further includes a filter circuit, which is connected to a first power supply and a power supply pin of the touch chip; the filter circuit is used to filter a power supply signal of the first power supply.
4. The cable port detection circuit according to any one of claims 1 to 3, characterized in that: The visualization circuit includes a buzzer alarm circuit and an LED display circuit, and both the buzzer alarm circuit and the LED display circuit are connected to the MCU control circuit.
5. The cable port detection circuit according to claim 4, characterized in that: The buzzer alarm circuit comprises a first alarm circuit, a second alarm circuit and a buzzer, wherein: An input end of the first alarm circuit is connected to the MCU control circuit, and an output end of the first alarm circuit is connected to a second input end of the second alarm circuit; The first input end of the second alarm circuit is connected to the second power supply, and the output end of the second alarm circuit is connected to the positive electrode of the buzzer, and the negative electrode of the buzzer is grounded.
6. The cable port detection circuit according to claim 5, characterized in that: The first alarm circuit includes: a MOS tube Q1, a resistor R19 and a resistor R22, wherein: One end of the resistor R19 is connected to the MCU control circuit, and one end of the resistor R19 serves as the input end of the first alarm circuit, the other end of the resistor R19 is connected to one end of the resistor R22 and the gate of the MOS tube Q1, the drain of the MOS tube Q1 serves as the output end of the first alarm circuit, and the source of the MOS tube and the other end of the resistor R22 are both grounded.
7. The cable port detection circuit according to claim 5, characterized in that: The second alarm circuit includes a capacitor C26, an anti-false triggering circuit, a MOS tube Q2 and a capacitor C37, wherein: One end of the capacitor C26 is connected to the second power supply, the first end of the anti-false triggering circuit and the source of the MOS tube Q2, and one end of the capacitor C26 serves as the first input end of the second alarm circuit, the other end of the capacitor C26 is grounded, the gate of the MOS tube Q2 is connected to the second end of the anti-false triggering circuit, the third end of the anti-false triggering circuit serves as the second input end of the second alarm circuit, the drain of the MOS tube is connected to one end of the capacitor C37, and the drain of the MOS tube serves as the output end of the second alarm circuit, and the other end of the capacitor C37 is grounded.
8. The cable port detection circuit according to claim 7, characterized in that: The anti-false triggering circuit includes a resistor R20 and a resistor R21, wherein: One end of the resistor R20 serves as the first end of the anti-false trigger circuit, one end of the resistor R21 serves as the second end of the anti-false trigger circuit, the other end of the resistor R20 is connected to the other end of the resistor R21, and the other end of the resistor R20 serves as the third end of the anti-false trigger circuit.
9. The cable port detection circuit according to claim 4, characterized in that: The LED display circuit includes a plurality of LED sub-circuits, one end of each of the LED sub-circuits is respectively connected to the LED control pin of the MCU control circuit, and the other end of each of the LED sub-circuits is connected to a third power supply.
10. A cable port detection device, characterized in that: include: A detection terminal and a cable port detection circuit according to any one of claims 1 to 9, wherein the detection terminal is respectively connected to all terminals to be tested of the cable to be tested and a touch chip detection circuit in the cable port detection circuit.