Network cable detection device and method based on sequential logic

By designing a network cable detection device based on timing logic, using control circuits and logic judgment circuits to provide level signals to the display circuits, automatic detection of network cables to be tested is solved, and the problem of cumbersome and low efficiency of network cable fault detection in the prior art is improved, and detection efficiency and accuracy are improved.

CN120044434APending Publication Date: 2025-05-27GUANGDONG ELECTRIC POWER SCI RES INST ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510199939.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-24
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

In the prior art, network cable fault detection relies on manual measurement, which is cumbersome and inefficient, making it difficult to detect network cable quality problems in time when users actually use it.

Method used

A network cable detection device based on timing logic is designed, including the first and second network cable interfaces, control circuits, logic judgment circuits and display circuits. By setting up different network cable interfaces, the display circuit is set up at the interface pins, and a level signal with timing logic is provided to the display circuits, and an automatic detection of the network cables to be tested is realized.

Benefits of technology

The network cable detection is automated, the detection efficiency is improved, manual intervention is reduced, and the on-off status of the network cable can be quickly and accurately judged.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120044434A_ABST
    Figure CN120044434A_ABST
Patent Text Reader

Abstract

The invention discloses a network cable detection device and method based on sequential logic. The device comprises a first network cable interface and a second network cable interface, wherein the first network cable interface and the second network cable interface are in plug-in connection with two crystal heads of a network cable to be detected; the first display circuit and the second display circuit are connected to the input ends of the first network cable interface and the second network cable interface; the signal output end of the setting control circuit is connected with the signal input end of the logic judgment circuit and is used for providing a pulse square wave signal with sequential logic; the output end of the logical judgment circuit is connected with the input end of the first display circuit, and the logical judgment circuit is used for providing level signals for the first display circuit and the second display circuit; and the first display circuit and the second display circuit display the on-off state of the to-be-detected network cable according to the level signal so as to improve the efficiency and accuracy of network cable detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network maintenance equipment, and in particular to a network cable detection device and method based on sequential logic. Background Art

[0002] At present, in the power grid industry, the application of drones is becoming more and more extensive, and many iterative products related to drones have been derived. One of them is the drone hangar. The motherboard design of the drone hangar currently used in the market is almost a complete body composed of multiple functional module circuit boards connected by external interfaces (connectors), and the connection between interfaces is usually connected through network cables.

[0003] At present, the detection of network cable faults is generally carried out through functional testing when production is completed at the back end of the factory. However, when users actually use the cables, they often encounter abnormal situations, that is, several functional module circuit boards cannot communicate normally. During later maintenance, it is found that the main reason is that the internal wiring harness material of the network cable is poor or there are serious quality problems, resulting in the quality of the network cable when it leaves the factory being inconsistent with the results of the functional test at the back end of the factory.

[0004] In the prior art, in order to detect the quality of the network cable, a multimeter is usually used to measure the continuity of the eight signal lines between the two network ports. When encountering such a fault, a multimeter, an oscilloscope or other equipment is often carried with you to perform eight continuity tests on the eight signal lines. The detection method not only relies heavily on manual measurement, resulting in low intelligence, but is also cumbersome and inefficient. Summary of the invention

[0005] In order to solve the above technical problems, the present invention discloses a network cable detection device and method based on sequential logic, which are used to realize the automation of detection and thus improve the detection efficiency.

[0006] In order to achieve the above-mentioned object, in a first aspect, the present invention discloses a network cable detection device based on sequential logic, comprising a first network cable interface, a second network cable interface, a control circuit, a logic judgment circuit, a first display circuit and a second display circuit;

[0007] The first network cable interface and the second network cable interface are respectively plugged into two crystal plugs of the network cable to be tested; the output end of the first display circuit is connected to the input end of the first network cable interface; the input end of the second display circuit is connected to the output end of the second network cable interface;

[0008] The signal output terminal of the control circuit is connected to the signal input terminal of the logic judgment circuit, and is used to provide a pulse square wave signal with sequential logic to the logic judgment circuit;

[0009] The output end of the logic judgment circuit is connected to the input end of the first display circuit, and is used to provide a level signal to the first display circuit and the second display circuit according to the pulse square wave signal with sequential logic;

[0010] The first display circuit and the second display circuit display the on / off status of the network cable to be tested according to the level signal.

[0011] The present invention discloses a network cable detection device based on sequential logic, which is connected to the two ends of the network cable to be tested by setting different network cable interfaces to realize the detection of the network cable to be tested through the network cable interfaces. Furthermore, a display circuit is set at the pin of the network cable interface to directly obtain the conduction state of the network cable through the display of the display circuit, thereby improving the efficiency of detection. In order to complete the display of the conduction state of the network cable by the display circuit, a control circuit and a logic judgment circuit are set to provide a level signal with sequential logic to the display circuit, so that the display circuit displays according to the level signal, and then the automatic detection of the network cable to be tested is completed through the display of the display circuit.

[0012] As a preferred example, the network cable detection device based on timing logic also includes a power switch circuit; the output end of the power switch circuit is connected to the power input end of the control circuit, and is connected to the power input end of the logic judgment circuit, for providing power to the control circuit and the logic judgment circuit respectively; wherein the power switch circuit includes a power supply and a push button switch; the input end of the push button switch is connected to the output end of the power supply, and its output end is connected to the power input end of the control circuit, and is connected to the power input end of the logic judgment circuit.

[0013] The present invention sets a power supply in the power switch circuit to provide power to the entire device, thereby starting the device to detect the status of the network cable to be tested, and uses the key switch to control the start and close of the device to realize the automation of the detection of the network cable to be tested.

[0014] As a preferred example, the first network cable interface and the second network cable interface are both provided with a plurality of interface pins.

[0015] The present invention achieves comprehensive detection of the network cable to be tested and improves the detection accuracy by setting the number of pins of the network cable interface.

[0016] As a preferred example, the first display circuit and the second display circuit are both provided with a plurality of groups of sound and light displays; wherein each group of the sound and light displays is connected to each of the interface pins in a one-to-one correspondence.

[0017] The present invention displays the conduction status of the network cable online by setting a display device connected one-to-one with the interface pin, which not only ensures the accuracy of detection, but also uses the display of the display device to intuitively reflect the detection result, thereby improving the efficiency of detection.

[0018] As a preferred example, the control circuit includes a single-chip microcomputer control chip; wherein, the input and output pins of the single-chip microcomputer control chip are connected to the signal input end of the logic judgment circuit, for outputting a pulse square wave signal with timing logic to the logic judgment circuit; the power supply pin of the single-chip microcomputer control chip is connected to the output end of the push switch; the program burning pin of the single-chip microcomputer control chip is connected to the pad point, for burning the network cable detection firmware to generate the pulse square wave signal.

[0019] The present invention arranges the single-chip control chip to provide a pulse square wave signal with sequential logic, thereby sequentially controlling the display sequence of each display device, completing the state detection of the network cable to be tested, and realizing the automation of detection.

[0020] As a preferred example, the logic judgment circuit includes a decoding counter; wherein, the decoding output pin of the decoding counter is connected to the input end of the first display circuit, for outputting a level signal to the first display circuit; the clock signal input pin of the decoding counter is connected to the input and output pin of the single-chip control chip, for receiving the pulse square wave signal; the power input pin of the decoding counter is connected to the output end of the push switch.

[0021] The present invention utilizes the decoding counter to provide a corresponding level signal for each of the display devices, so that when the network cable is in a conducting state, the display device can intuitively display the network cable status according to the level signal, thereby improving the detection efficiency.

[0022] As a preferred example, the logic judgment circuit and the control circuit are both provided with a filter capacitor; wherein, the input end of the filter capacitor is connected in parallel to the connection line between the output end of the push switch and the power supply pin or in parallel to the connection line between the output end of the push switch and the power input pin, and its output end is grounded.

[0023] The present invention provides the filter capacitor to improve the stability of power input and the reliability of state detection.

[0024] In a second aspect, the present invention discloses a network cable detection method based on sequential logic, which is implemented using a network cable detection device based on sequential logic as described in the first aspect. The network cable detection method includes:

[0025] Starting the power switch circuit;

[0026] Acquiring display information of the first display circuit and the second display circuit;

[0027] The on / off state of the network cable to be tested is determined according to the displayed information.

[0028] The present invention discloses a network cable detection method based on sequential logic, which sets a power switch circuit to control the startup of the entire detection device, and then collects the display information of the first display circuit and the second display circuit. The on-off state of the network cable to be tested can be determined according to the display information, which not only completes the automatic detection of the network cable to be tested, but also improves the detection efficiency.

[0029] As a preferred example, the acquiring display information of the first display circuit and the second display circuit includes:

[0030] Obtaining a first display time corresponding to each sound and light display in the first display circuit;

[0031] A second display time corresponding to each sound and light display in the second display circuit is obtained.

[0032] The present invention can intuitively obtain the on / off state of the network cable to be tested by obtaining the display information corresponding to each sound and light display in the display circuit, thereby improving the detection efficiency.

[0033] As a preferred example, determining the on / off state of the network cable to be tested according to the display information includes:

[0034] Determine the standard display time corresponding to each of the acousto-optic displays according to the timing logic of the pulse square wave signal sent by the control circuit and the corresponding connection relationship between each of the acousto-optic information devices and the decoding output pin;

[0035] Obtaining a consistency comparison result between the first display time and the standard display time and a consistency comparison result between the second display time and the standard display time;

[0036] When the first display time is consistent with the standard display time and the second display time is consistent with the standard display time, it is determined that the network cable to be tested is in a conducting state.

[0037] The present invention utilizes the display time of the sound and light display to comprehensively detect the on-off state of the network cable to be tested, thereby improving the accuracy of the detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 : is a structural diagram of a network cable detection device based on sequential logic disclosed in an embodiment of the present invention;

[0039] Figure 2 : A structural diagram of another network cable detection device based on sequential logic disclosed in an embodiment of the present invention;

[0040] Figure 3 : A flow chart of a network cable detection method based on sequential logic disclosed in an embodiment of the present invention;

[0041] Figure 4 : is a structural schematic diagram of a network cable detection and display circuit disclosed in another embodiment of the present invention;

[0042] Figure 5 : is a structural schematic diagram of a power switch circuit disclosed in another embodiment of the present invention;

[0043] Figure 6 : A structural schematic diagram of a single chip microcomputer control circuit disclosed in another embodiment of the present invention;

[0044] Figure 7 : is a connection diagram of a decoding counter output circuit disclosed in another embodiment of the present invention;

[0045] Figure 8 : A structural diagram of a network cable detection device based on sequential logic disclosed in another embodiment of the present invention;

[0046] Fig. 9 : is a schematic diagram of the output status of each terminal in a decoding output terminal disclosed in another embodiment of the present invention. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] Embodiment 1

[0049] In order to improve the automation of network cable detection and improve the efficiency of the detection, this embodiment provides a network cable detection device based on sequential logic. Specifically, the structure of the detection device is shown in FIG. Figure 1 , including a first network cable interface 101 , a second network cable interface 102 , a control circuit 103 , a logic judgment circuit 104 , a first display circuit 105 and a second display circuit 106 .

[0050] Reference Figure 1The first network cable interface 101 and the second network cable interface 102 are respectively plugged into the two crystal plugs of the network cable to be tested; the output end of the first display circuit 105 is connected to the pin of the first network cable interface 101; the input end of the second display circuit 106 is connected to the pin of the second network cable interface.

[0051] Among them, in this embodiment, the network cable to be tested is first connected between the first network cable interface 101 and the second network cable interface 102 to detect the conduction state of the network cable to be tested. Furthermore, in order to intuitively obtain the conduction state of the network cable to be tested to improve the detection efficiency, corresponding display circuits can be respectively connected to the pins of the first network cable interface 101 and the second network cable interface 102 to reduce the complexity of detection through the display circuit and improve the detection efficiency.

[0052] Further, referring to the above settings of the first network cable interface 101 and the second network cable interface 102, in some implementations of this embodiment, in order to realize automatic detection of the network cable to be tested, Figure 2 As shown, firstly, a power switch circuit 201 is set in the detection device. The power switch circuit 201 is used to provide power to the entire detection device, thereby triggering the device to start the detection of the network cable to be tested, thereby realizing the automatic detection of the network cable to be tested.

[0053] Further, after the power switch circuit 201 is set, the detection device provided in this embodiment intuitively displays the on / off state of the network cable to be tested through the display conditions of the first display circuit 105 and the second display circuit 106. Figure 1 As shown, a control circuit 103 and a logic judgment circuit 104 are provided to provide a corresponding level signal to the first display circuit 105, thereby starting the first display circuit 105, and then determining the on / off state of the network cable to be tested according to the display of the second display circuit 106.

[0054] Specifically, refer to Figure 2 The power input ends of the control circuit 103 and the logic judgment circuit 104 are respectively connected to the output end of the power switch circuit 201, so as to automatically execute the corresponding detection process after the power switch circuit 201 starts supplying power.

[0055] Furthermore, in order to detect the network cable to be tested through the first network cable interface 101 and the second network cable interface 102, the signal output end of the control circuit 103 is connected to the signal input end of the logic judgment circuit 104, so as to provide a pulse square wave signal with sequential logic to the logic judgment circuit 104. The output end of the logic judgment circuit 105 is connected to the input end of the first display circuit 105, so as to provide a level signal to the first display circuit 105 according to the pulse signal and the sequential logic, so that the first display circuit 105 and the second display circuit 106 display the on-off state of the network cable to be tested according to the level signal.

[0056] In this embodiment, refer to Figure 1 and Figure 2 The detection device provided is connected to the two ends of the network cable to be tested by setting different network cable interfaces to realize the detection of the network cable to be tested through the network cable interface. Furthermore, a display circuit is set at the pin of the network cable interface to directly obtain the conduction state of the network cable through the display of the display circuit, thereby improving the efficiency of the detection. In order to complete the display of the conduction state of the network cable by the display circuit, a power switch circuit is first set to control the start-up of the entire detection device, and then a control circuit and a logic judgment circuit are set to provide a level signal with timing logic to the display circuit, so that the display circuit displays according to the level signal, and then the automatic detection of the network cable to be tested is completed through the display of the display circuit.

[0057] Reference Figure 1 and Figure 2 The network cable detection device shown, in certain implementations of the present embodiment, is based on the fact that the network cable includes a certain number of wire cores, and the conduction state of the wire cores determines the conduction state of the network cable. Therefore, in order to detect the conduction state of each wire core, the first network cable interface 101 and the second network cable interface 102 are both provided with a number of interface pins, so that the conduction of each of the wire cores can be displayed through the conduction between the pins of the network cable interfaces, thereby improving the accuracy of network cable detection.

[0058] Reference Figure 1 and Figure 2In the network cable detection device shown, in some implementations of this embodiment, in order to realize the automatic detection of the network cable to be tested, a power supply and a key switch can be set in the power switch circuit 201. Among them, the input end of the key switch is connected to the output end of the power supply, and its output end is connected to the power input end of the control circuit 103, and is connected to the power input end of the logic judgment circuit 104. Among them, by setting the power supply to provide power to each device in the device, the normal operation of the device is guaranteed, and by setting the key switch to control the start and stop of the device, the automation of the detection of the network cable to be tested is realized.

[0059] Further, refer to Figure 1 and Figure 2 In order to better reflect the conduction state corresponding to each pin and obtain the conduction state of the network cable in detail, in some implementations of the present embodiment, the first display circuit 105 and the second display circuit 106 may be provided with a number of groups of sound and light displays corresponding to the number of the pins. Each group of the sound and light displays is connected to each of the interface pins one by one, thereby improving the efficiency of detection.

[0060] In this embodiment, a display device connected one-to-one with the interface pin is provided to display the conduction status of the network cable online, which not only ensures the accuracy of the detection, but also utilizes the display of the display device to intuitively reflect the detection result, thereby improving the efficiency of the detection.

[0061] After setting up the sound and light display, refer to Figure 1 and Figure 2 In the network cable detection device shown, in some implementations of this embodiment, in order to obtain the conduction state corresponding to each pin through the sound and light display, a single-chip control chip is set in the control circuit 103. Among them, the input and output pins of the single-chip control chip are connected to the signal input end of the logic judgment circuit, which is used to provide a pulse square wave signal with timing logic to the logic judgment circuit; the power supply pin of the single-chip control chip is connected to the output end of the key switch; the program burning pin of the single-chip control chip is connected to the pad point, which is used to burn the network cable detection firmware to the single-chip control chip to generate the pulse square wave signal.

[0062] In this embodiment, each sound and light display can be triggered in sequence according to the timing logic of the pulse signal, and then the pins are detected one by one, thereby improving the detection efficiency.

[0063] Furthermore, in order to complete the triggering of the sound and light display according to the pulse square wave signal, in some implementations of this embodiment, a decoding counter is set in the logic judgment circuit 104. Among them, the decoding output pin of the decoding counter is connected to the input end of the first display circuit, which is used to provide a level signal to the first display circuit; the clock signal input pin of the decoding counter is connected to the input and output pin, which is used to receive the pulse square wave signal; the power input pin of the decoding counter is connected to the output end of the key switch.

[0064] This embodiment uses the decoding counter to provide a corresponding level signal for each of the sound and light displays, so that when the network cable is in the on state, the sound and light display can intuitively display the network cable status according to the level signal, thereby improving the detection efficiency.

[0065] Furthermore, in order to avoid sudden interruption of network cable detection during the process of realizing automatic detection of network cables, it is necessary to improve the stability of the control circuit 103 and the logic judgment circuit 104. In this regard, in certain implementations of this embodiment, a filter capacitor is provided in the control circuit 103 and the logic judgment circuit 104. The input end of the filter capacitor is connected in parallel to the connection line between the output end of the key switch and the power supply pin or to the connection line between the output end of the key switch and the power input pin, and the output end thereof is grounded.

[0066] This embodiment provides the filter capacitor to improve the stability of power input and the reliability of state detection.

[0067] On the other hand, in certain embodiments of this embodiment, using Figure 1 and Figure 2 When the network cable detection device shown in the figure realizes the detection of the network cable to be tested, the flow chart of the network cable detection method based on the timing logic can be referred to Figure 3 , mainly including step 301 and step 303, the steps are:

[0068] Step 301: Start the power switch circuit.

[0069] Step 302: Obtain display information of the first display circuit and the second display circuit.

[0070] Step 303: Determine the on / off status of the network cable to be tested according to the displayed information.

[0071] In this embodiment, step 301 includes: obtaining a first display time corresponding to each sound and light display in the first display circuit; and obtaining a second display time corresponding to each sound and light display in the second display circuit.

[0072] In this embodiment, this step can intuitively obtain the on / off state of the network cable to be tested by obtaining the display information corresponding to each sound and light display in the display circuit, thereby improving the detection efficiency.

[0073] Further, after obtaining the display time, the step 303 includes: determining the standard display time corresponding to each of the sound and light displays according to the timing logic of the pulse square wave signal sent by the control circuit and the corresponding connection relationship between each of the sound and light information devices and the decoding output pin; obtaining the consistency comparison result between the first display time and the standard display time and the consistency comparison result between the second display time and the standard display time; when the first display time is consistent with the standard display time and the second display time is consistent with the standard display time, determining that the network cable to be tested is in a conductive state.

[0074] In this embodiment, this step utilizes the display time of the sound and light display to comprehensively detect the on and off status of the network cable to be tested, thereby improving the accuracy of the detection.

[0075] The present embodiment provides a network cable detection method based on a network cable detection device, which starts the power switch circuit to control the startup of the entire detection device, and then collects the display information of the first display circuit and the second display circuit. The on-off state of the network cable to be tested can be determined based on the display information, which not only completes the automatic detection of the network cable to be tested, but also improves the efficiency of the detection.

[0076] Embodiment 2

[0077] As a common material for network connection, network cables may fail during use due to factors such as the location of the cable or avoidance, such as disconnection between the network cable and the crystal plug, disconnection of the core wire of the network cable, etc. In the prior art, in order to detect the quality of the network cable, a multimeter is usually used to measure the continuity of the eight signal lines between the two network ports. When encountering such a fault, a multimeter, an oscilloscope or other equipment is often carried around to perform eight continuity tests. If the network cable is directly connected between two network ports, you need to use the diode position of the multimeter to measure the two ends of the J1 socket in sequence, that is, use the red pen to measure PIN1 of the J1 socket, and the black pen to measure PIN16 of the J1 socket; use the red pen to measure PIN2 of the J1 socket, and the black pen to measure PIN15 of the J1 socket; use the red pen to measure PIN3 of the J1 socket, and the black pen to measure PIN14 of the J1 socket; use the red pen to measure PIN4 of the J1 socket, and the black pen to measure PIN13 of the J1 socket; use the red pen to measure PIN5 of the J1 socket, and the black pen to measure PIN12 of the J1 socket; use the red pen to measure PIN6 of the J1 socket, and the black pen to measure PIN11 of the J1 socket; use the red pen to measure PIN7 of the J1 socket, and the black pen to measure PIN10 of the J1 socket; use the red pen to measure PIN8 of the J1 socket, and the black pen to measure PIN9 of the J1 socket. From the above detection process, it can be seen that the existing detection method is not only low in intelligence, but also requires relatively cumbersome detection steps, resulting in low detection efficiency.

[0078] In order to solve the above technical problems, the present embodiment discloses a network cable detection device based on sequential logic, which is used to realize automatic detection of network cables, thereby improving the efficiency of detection. Specifically, the network cable detection device based on sequential logic mainly includes a power switch circuit, a single-chip control circuit, a decoding counter output circuit and a network cable detection display circuit. Among them, the network cable detection display circuit is connected to the network cable to be tested, and is used to display the on-off state of the network cable to be tested. Further, the power switch circuit is respectively connected to the single-chip control circuit and the decoding counter output circuit to provide power. The single-chip control circuit is connected to the decoding counter output circuit to provide a pulse square wave signal with sequential logic to the decoding counter output circuit. The decoding counter output circuit is connected to the network cable detection display circuit to provide a corresponding level signal to the network cable detection display circuit according to the pulse square wave signal, so that the network cable detection display circuit can realize the display of the on-off state of the network cable to be tested.

[0079] Specifically, in order to realize the intuitive display of the on-off status of the network cable to be tested by the network cable detection and display circuit, the network cable detection and display circuit is configured to include a network port for connecting the network cable to be tested and an acousto-optic display for intuitively displaying the on-off status of the network cable to be tested. Among them, the type of the network port and the type of the acousto-optic display are set according to the type of the network cable to be tested. Specifically, in certain implementations of this embodiment, the network port is set to a standard RJ1 network port and RJ2 network port, and the acousto-optic display is set to an LED, etc., then the specific structural composition of the network cable detection and display circuit can refer to Figure 4 .

[0080] like Figure 4 As shown, the two crystal plugs of the network cable to be tested are respectively plugged between the RJ1 network port and the RJ2 network port. Furthermore, the RJ1 network port and the RJ2 network port each include eight pins, namely pin 1, pin 2, pin 3, pin 4, pin 5, pin 6, pin 7 and pin 8. Each pin is connected to an LED light. Figure 4 As shown, it includes LED0 light emitting diode, LED1 light emitting diode, LED2 light emitting diode, LED3 light emitting diode, LED4 light emitting diode, LED5 light emitting diode, LED6 light emitting diode, LED7 light emitting diode, LED8 light emitting diode, LED9 light emitting diode, LED10 light emitting diode, LED11 light emitting diode, LED12 light emitting diode, LED13 light emitting diode, LED14 light emitting diode, LED15 light emitting diode; wherein, the LED0 light emitting diode, LED1 light emitting diode, LED2 light emitting diode, LED3 light emitting diode, LED4 light emitting diode, LED5 light emitting diode, LED6 light emitting diode, LED7 light emitting diode are sequentially connected to pin 1, pin 2, pin 3, pin 4, pin 5, pin 6, pin 7 and pin 8 of the RJ1 network port. The LED8 light emitting diode, LED9 light emitting diode, LED10 light emitting diode, LED11 light emitting diode, LED12 light emitting diode, LED13 light emitting diode, LED14 light emitting diode, and LED15 light emitting diode are connected to pin 1, pin 2, pin 3, pin 4, pin 5, pin 6, pin 7, and pin 8 of the RJ2 network port in sequence.

[0081] Further, refer to Figure 4 The cathode of the luminous LED0-LED7 is connected to the PIN1-PIN8 pins of the network port RJ1, the anode of the luminous LED8-LED15 is connected to the PIN1-PIN8 pins of the network port RJ2, and the cathode is connected to the ground GND signal.

[0082] Specifically, in order to realize the automatic detection of the network cable detection device, in some implementations of this embodiment, the power switch circuit is set as follows: Figure 5 As shown, it includes a KEY1 switch button. Specifically, the input end of the KEY1 switch button is connected to an external power supply, and the output end VCCSV of the KEY1 switch button is respectively connected to the input end of the single-chip control circuit and the decoder counter output circuit, so that when the key switch KEY1 of the power switch circuit is pressed, the external power is input into the detection device through the key KEY1, and at this time, the single-chip control circuit and the decoder counter output circuit start to work, realizing the automatic detection of the network cable. Preferably, in some implementations of this embodiment, the external power supply is set to 5V_IN.

[0083] Further, according to the Figure 5 The power switch circuit shown is used to achieve the connection between the power switch circuit and the single-chip control circuit and the continuity test of the network cable to be tested. In some implementations of this embodiment, the single-chip control circuit is set as Figure 6 As shown, it mainly includes C1 filter capacitor, C2 filter capacitor, U1 microcontroller control chip, P1, P2, P3, P4 program burning soldering point. Further, refer to Figure 6 The U1 single-chip microcomputer control chip includes 8 pins, namely PIN1, PIN2, PIN3, PIN4, PIN5, PIN6, PIN7, and PIN8. Among them, PIN1 is a common input and output pin, which can output 5V high level and 0V low level digital logic. 5V high level is digital logic 1, and 0V low level is digital logic 0; PIN2 is a power input supply pin, connected to VCC5V power supply; PIN3 is a common input and output pin; PIN4 is a ground GND signal pin, directly connected to the ground GND signal; PIN5 and PIN6 of the single-chip microcomputer are single-chip microcomputer program burning pins, which are directly led to P1 and P2 pads; PIN7 and PIN8 are common input and output pins.

[0084] Reference Figure 6, the output terminal VCCSV of the KEY1 switch button is connected to the PIN2 pin of the U1 single-chip control chip. One end of the C1 filter capacitor and one end of the C2 filter capacitor are connected in parallel to the connection line between the output terminal VCCSV and the PIN2 pin, and the other end of the C1 filter capacitor and the other end of the C2 filter capacitor are grounded. Based on the fact that the PIN1 can output 5V high level and 0V low level digital logic, the PIN1 is connected to the decoding counter output circuit to provide a digital clock pulse input signal, that is, to output a standard pulse square wave signal, and the frequency of the square wave signal can be adjusted by modifying the parameters of the code delay function. The PIN5 and PIN6 burn the network cable detection firmware into the solder joints through the P1, P2, P3, and P4 program burning points.

[0085] Further, refer to Figure 4 The network cable detection display circuit shown and Figure 6 In order to trigger the LED light, the single chip control circuit shown in FIG. 1 is configured to have a specific structure of the decoder counter output circuit as shown in FIG. Figure 7 shown.

[0086] Specifically, refer to Figure 7 The decoding counter output circuit includes a C3 filter capacitor, a C4 filter capacitor, and a U2 decoding counter. The U2 decoding counter includes 16 pins.

[0087] Specifically, refer to Figure 6 , the PIN1, PIN2, PIN3, PIN4, PIN5, PIN6, and PIN7 of the U2 decoding counter are the chip decoding output terminals, PIN8 is the chip ground GND signal, PIN9, PIN10, and PIN11 are the chip decoding output terminals, PIN12 is the chip carry output terminal, PIN13 is the chip clock signal reverse input terminal, PIN14 is the chip clock signal input terminal, PIN15 is the chip reset input terminal, and PIN16 is the chip power input terminal. Reference Figure 7 One end of the C3 filter capacitor and one end of the C4 filter capacitor are connected in parallel to the connection line between the output terminal VCCSV and the PIN16 pin, and the other end of the C3 filter capacitor and the other end of the C4 filter capacitor are grounded.

[0088] Furthermore, PIN14 of the U2 decoding counter is connected to Figure 6The PIN1 pin of the U1 single-chip control chip in the chip is used to receive the digital clock pulse input signal sent by the U1 single-chip control chip. Further, the PIN1, PIN2, PIN3, PIN4, PIN5, PIN6, PIN7 and PIN10 of the U2 decoding counter are the Q5, Q1, Q0, Q2, Q6, Q7, Q3 and Q4 terminals of the internal decoding counter of the chip, which are respectively connected to Figure 4 The positive electrodes of LED5, LED1, LED0, LED2, LED6, LED7, LED3, and LED4 are used as signal sources to drive LED light-emitting diodes. PIN8 is directly connected to the GND signal, PIN9, PIN11, and PIN12 are not connected, PIN13 and PIN15 are directly connected to the GND signal, PIN14 is connected to the PIN1 pin of the U1 microcontroller, and PIN16 is connected to the VCC5V power supply. Furthermore, the positive electrodes of the luminous LED0-LED7 are connected to the decoding output terminals of the U2 decoding counter.

[0089] In some implementations of this example, Figure 4 Provided network cable detection display circuit, Figure 5 Provided power switch circuit, Figure 6 Provides single chip control circuit and Figure 7 The decoder counter output circuits provided are connected one by one to form the following Figure 8 The network cable detection device based on sequential logic is shown.

[0090] Further, in certain implementations of this embodiment, referring to Figure 8 When the network cable detection device shown performs network cable detection, the PIN1 pin of the U1 single-chip control chip is set to output a square wave signal with a period of 1000ms and a duty cycle of 50%, that is, the PIN1 pin outputs a high level for 500ms and a low level for 500ms.

[0091] At this time, PIN14 of U2 decoding counter receives a pulse input signal with a period of 1000ms. At this time, the output status of each Q terminal at the decoding output end can be referred to Fig. 9 .like Fig. 9As shown, at the start of work, the output end of Q0 outputs a high level, that is, the positive electrode of the LED0 light emitting diode obtains a high level; after the first CLOCK cycle, Q0 outputs a low level, and Q1 outputs a high level, that is, the positive electrode of the LED1 light emitting diode obtains a high level; after the second CLOCK cycle, Q0 outputs a low level, Q1 outputs a low level, and Q2 outputs a high level, that is, the positive electrode of the LED2 light emitting diode obtains a high level; after the third CLOCK cycle, Q0 outputs a low level, Q1 outputs a low level, Q2 outputs a low level, and Q3 outputs a high level, that is, the positive electrode of the LED3 light emitting diode obtains a high level; after the fourth CLOCK cycle, Q0 outputs a low level, Q1 outputs a low level, Q2 outputs a low level, Q3 outputs a low level, and Q4 outputs a high level, that is, the positive electrode of the LED4 light emitting diode obtains a high level. The anode of LED5 gets a high level; after the fifth CLOCK cycle, Q0 outputs a low level, Q1 outputs a low level, Q2 outputs a low level, Q3 outputs a low level, Q4 outputs a low level, and Q5 outputs a high level, that is, the anode of LED5 light-emitting diode gets a high level; after the sixth CLOCK cycle, Q0 outputs a low level, Q1 outputs a low level, Q2 outputs a low level, Q3 outputs a low level, Q4 outputs a low level, Q5 outputs a low level, and Q6 outputs a high level, that is, the anode of LED6 light-emitting diode gets a high level; after the seventh CLOCK cycle, Q0 outputs a low level, Q1 outputs a low level, Q2 outputs a low level, Q3 outputs a low level, Q4 outputs a low level, Q5 outputs a low level, Q6 outputs a low level, and Q7 outputs a high level, that is, the anode of LED7 light-emitting diode gets a high level.

[0092] In summary, based on the period setting of the square wave signal and the corresponding connection relationship between each LED light and each terminal in the U2 decoding counter, the display order corresponding to each LED light can be known. Figure 8 In the network cable detection device shown, the display order of the LED lights is as follows:

[0093]

[0094] Next, in the specific network cable detection process, when the two ends of the network cable AB are inserted into RJ1 and RJ2, Q0-Q7 at the U1 decoding output end passes through the positive and negative poles of LED1-LED7, through the network cable A head to the B head, and the B head is connected to the ground GND through the positive and negative poles of LED8-LED15, forming a running light effect, thereby achieving the effect of detecting whether the network cable is connected intact. If we want to adjust the LED running flashing speed of the network cable detection display circuit, we can achieve the purpose by modifying the clock CLOCK cycle.

[0095] From the above, we can know that when the network cable is defective inside or has problems with its material, when the RJ1 and RJ2 are inserted at both ends AB for testing, the LED cannot light up the corresponding LED light under the correct clock stimulation. At this time, it can be immediately determined that there is a problem with the quality of the network cable.

[0096] The network cable detection device based on sequential logic provided in this embodiment can quickly and efficiently detect the quality of the network cable through the on and off status of the running light, thereby greatly improving work efficiency.

[0097] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.

Claims

1. A network cable detection device based on sequential logic, characterized in that: It includes a first network cable interface, a second network cable interface, a control circuit, a logic judgment circuit, a first display circuit and a second display circuit; The first network cable interface and the second network cable interface are respectively plugged into two crystal plugs of the network cable to be tested; the output end of the first display circuit is connected to the input end of the first network cable interface; the input end of the second display circuit is connected to the output end of the second network cable interface; The signal output terminal of the control circuit is connected to the signal input terminal of the logic judgment circuit, and is used to provide a pulse square wave signal with sequential logic to the logic judgment circuit; The output end of the logic judgment circuit is connected to the input end of the first display circuit, and is used to provide a level signal to the first display circuit and the second display circuit according to the pulse square wave signal with sequential logic; The first display circuit and the second display circuit display the on / off status of the network cable to be tested according to the level signal.

2. The network cable detection device based on sequential logic according to claim 1, characterized in that: It also includes a power switch circuit; the output end of the power switch circuit is connected to the power input end of the control circuit, and is connected to the power input end of the logic judgment circuit, for providing power to the control circuit and the logic judgment circuit respectively; wherein the power switch circuit includes a power supply and a key switch; the input end of the key switch is connected to the output end of the power supply, and its output end is connected to the power input end of the control circuit, and is connected to the power input end of the logic judgment circuit.

3. The network cable detection device based on sequential logic according to claim 1, characterized in that: The first network cable interface and the second network cable interface are both provided with a plurality of interface pins.

4. The network cable detection device based on sequential logic according to claim 3, characterized in that: The first display circuit and the second display circuit are both provided with a plurality of groups of sound and light displays; wherein each group of the sound and light displays is connected to each of the interface pins in a one-to-one correspondence.

5. The network cable detection device based on sequential logic according to claim 1, characterized in that: The control circuit includes a single-chip microcomputer control chip; wherein, the input and output pins of the single-chip microcomputer control chip are connected to the signal input end of the logic judgment circuit, and are used to output a pulse square wave signal with timing logic to the logic judgment circuit; the power supply pin of the single-chip microcomputer control chip is connected to the output end of the push switch; the program burning pin of the single-chip microcomputer control chip is connected to the pad point, and is used to burn the network cable detection firmware to generate the pulse square wave signal.

6. The network cable detection device based on sequential logic according to claim 5, characterized in that: The logic judgment circuit includes a decoding counter; wherein, the decoding output pin of the decoding counter is connected to the input end of the first display circuit, for outputting a level signal to the first display circuit; the clock signal input pin of the decoding counter is connected to the input and output pin of the single-chip control chip, for receiving the pulse square wave signal; the power input pin of the decoding counter is connected to the output end of the key switch.

7. A network cable detection device based on sequential logic according to any one of claims 5 or 6, characterized in that: The logic judgment circuit and the control circuit are both provided with a filter capacitor; wherein, the input end of the filter capacitor is connected in parallel to the connection line between the output end of the push switch and the power supply pin or in parallel to the connection line between the output end of the push switch and the power input pin, and its output end is grounded.

8. A network cable detection method based on sequential logic, characterized in that: The network cable detection method is implemented by using a network cable detection device based on sequential logic as described in claims 1 to 7, and the network cable detection method includes: Starting the power switch circuit; Acquiring display information of the first display circuit and the second display circuit; The on / off status of the network cable to be tested is determined according to the displayed information.

9. The network cable detection method based on sequential logic according to claim 8, characterized in that: The acquiring display information of the first display circuit and the second display circuit includes: Obtaining a first display time corresponding to each sound and light display in the first display circuit; A second display time corresponding to each sound and light display in the second display circuit is obtained.

10. The network cable detection method based on sequential logic according to claim 9, characterized in that: The determining the on / off state of the network cable to be tested according to the displayed information includes: Determine the standard display time corresponding to each of the acousto-optic displays according to the timing logic of the pulse square wave signal sent by the control circuit and the corresponding connection relationship between each of the acousto-optic information devices and the decoding output pin; Obtaining a consistency comparison result between the first display time and the standard display time and a consistency comparison result between the second display time and the standard display time; When the first display time is consistent with the standard display time and the second display time is consistent with the standard display time, it is determined that the network cable to be tested is in a conducting state.