A cable status detection circuit

By integrating a termination resistor module and a status detection signal sampling and judgment module on a high-speed interface, and using a comparator to determine the cable status, the problem of not being able to detect cable status and locate faults in existing technologies is solved, achieving low-cost cable status detection and fault location.

CN117192433BActive Publication Date: 2026-11-24NOREL SYSTEMS LIMITED
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311110651.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-30
Publication Date
2026-11-24
Estimated Expiration
2043-08-30

AI Technical Summary

Technical Problem

Existing technologies cannot detect the status of cables, including short circuits, open circuits, and fault location, through high-speed interfaces without adding test pins, and also increase chip costs.

Method used

The system employs an on-chip termination resistor module, a termination discharge module, a status detection signal transmission module, and a status detection signal sampling and judgment module. It performs cable status detection through a high-speed interface, uses a comparator to determine the matching degree between the cable resistance and the on-chip termination resistor, and locates the fault location by combining the time interval of the comparator output value.

Benefits of technology

It enables direct detection of cable status and location of faults via a high-speed interface. The circuit structure is simple, easy to integrate, and reduces chip costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117192433B_ABST
    Figure CN117192433B_ABST
Patent Text Reader

Abstract

A cable status detection circuit includes an on-chip termination resistor module, a termination discharge module, a status detection signal transmission module, and a status detection signal sampling and judgment module. The on-chip termination resistor module provides a termination resistor that matches the transmission line. The termination discharge module discharges the high-speed interface of the chip to ground before performing cable status detection. The status detection signal transmission module is responsible for sending a detection signal during cable status detection. After the status detection signal transmission module sends the detection signal, the status detection signal sampling and judgment module samples the high-speed interface voltage status, judges the cable status based on the sampling data, and locates the fault location.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a cable detection circuit, and more particularly to the location of open circuits, short circuits, and fault locations in cables. Background Technology

[0002] With the continuous development of the integrated circuit industry, the requirements for chip security performance are also getting higher and higher. Especially in recent years, there has been a surge in automotive chips. Automotive chips have higher requirements than ordinary commercial chips, and they also have higher requirements for security and self-testing. For high-speed interfaces, cable status detection is particularly important. A common cable status detection circuit is to add two low-speed interfaces on the chip in addition to the high-speed interface to detect the status of the high-speed signal line. This increases the cost for the already scarce pin chips. Moreover, this detection circuit cannot locate the fault location, but can only detect whether the line is open or short-circuited (to the power supply or to ground). Summary of the Invention

[0003] The technical problem to be solved by this invention is to detect the status of cables, including short circuits, open circuits, and fault location, through a high-speed interface without adding test pins in a high-speed signal transmission system.

[0004] The technical solution adopted by this invention to solve its technical problem is:

[0005] As a cable status detection circuit of the present invention, it includes an on-chip termination resistor module, a termination discharge module, a status detection signal transmission module, and a status detection signal sampling and judgment module. The on-chip termination resistor module is connected to the termination discharge module, the status detection signal transmission module, and the status detection signal sampling and judgment module, and all are connected to a high-speed interface. The on-chip termination resistor module provides termination resistance. The termination discharge module can discharge the chip's high-speed interface to ground. The status detection signal transmission module can transmit a status detection signal. The status detection signal sampling and judgment module can sample the high-speed interface voltage.

[0006] Preferably, the cable status detection circuit performs cable status detection only through the high-speed interface, without relying on other interfaces.

[0007] Preferably, the termination resistor provided by the on-chip termination resistor module is matched with the cable impedance.

[0008] Preferably, the cable status detection circuit can operate in coaxial or differential transmission mode.

[0009] Preferably, the status detection signal sampling and judgment module includes a comparator. The status detection signal sampling and judgment module compares the high-speed interface voltage sampling signal with a preset threshold voltage through the comparator and outputs the result to determine the impedance matching degree between the cable resistance and the on-chip termination resistor module, thereby determining the cable fault type.

[0010] Preferably, the cable fault type includes one or more of the following fault types: differential P-terminal short circuit, differential P-terminal open circuit, differential N-terminal short circuit, differential N-terminal open circuit, short circuit between differential P-terminal and N-terminal, coaxial P-terminal short circuit, and coaxial P-terminal open circuit.

[0011] Preferably, the state detection signal sampling and judgment module locates the fault location based on the time interval between changes in the comparator output value.

[0012] Preferably, the cable status detection circuit can operate at the high-speed circuit transmitter or receiver.

[0013] The beneficial effects of this invention are that it can directly detect the status of the cable through a high-speed interface and locate the location of the cable fault. Its circuit structure is simple and easy to integrate. Attached Figure Description

[0014] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0015] Figure 1 This is a schematic diagram of the overall modules of the present invention.

[0016] Figure 2 Schematic diagram for fault injection at the P-end of differential cable

[0017] Figure 3 Schematic diagram for fault injection at the N-terminal of a differential cable

[0018] Figure 4 Schematic diagram of fault injection between P and N terminals of differential cable

[0019] Figure 5 Schematic diagram for injecting faults at the P-end of a coaxial cable

[0020] Figure 6 A schematic diagram of the comparator in the state detection signal sampling and judgment module.

[0021] Figure 7 Schematic diagram of the sampling and judgment module for the state detection signal under open circuit condition at the P / N terminal.

[0022] Figure 8 A schematic diagram of the sampling and judgment module for the state detection signal under power short circuit conditions at the P / N terminal output.

[0023] Figure 9A schematic diagram of the state detection signal sampling and judgment module output after the P terminal sends a state detection signal when the P terminal and N terminal are short-circuited.

[0024] Figure 10 Schematic diagram of the state detection signal sampling and judgment module output after the state detection signal is sent from the N terminal when the P and N terminals are short-circuited.

[0025] in:

[0026] 101P Internal Termination Resistor Module

[0027] 102P terminal terminates the discharge module; 103P terminal transmits the status detection signal; 104P terminal samples and judges the status detection signal; 105P terminal connects to the cable.

[0028] The 106P terminal is connected to a resistor at the far end, and the 1P terminal is connected to the discharge module control signal.

[0029] The 2P terminal is connected to the terminating resistor, the status detection signal transmitting module, and the status detection signal sampling and judgment module control signal.

[0030] C11 is a capacitor connected to the near end of the P terminal, and C12 is a capacitor connected to the far end of the P terminal.

[0031] 201N internal termination resistor module

[0032] 202N terminal termination discharge module; 203N terminal status detection signal transmission module; 204N terminal status detection signal sampling and judgment module; 205N terminal cable.

[0033] The 206N terminal is connected to a resistor at the far end, and the 3N terminal is connected to the discharge module control signal.

[0034] The 4N terminal is connected to the termination resistor, the status detection signal transmission module, and the status detection signal sampling and judgment module control signal.

[0035] C21 is a capacitor connected near the N-terminal; C22 is a capacitor connected far from the N-terminal.

[0036] When the N-terminal of RT is connected to a coaxial line, an external resistor is connected. Detailed Implementation

[0037] This invention provides a cable status detection circuit, such as... Figure 1 As shown.

[0038] It includes the following modules: on-chip termination resistor module 101 (201) and termination discharge module 102.

[0039] (202), State detection signal transmission module 103 (203), State detection signal sampling and judgment module 104 (204).

[0040] Connection method: Control signal 1 (3) is connected to the termination discharge module 102 (202) to control the termination discharge module. Control signal 2 (4) is used to control the on-chip termination resistor module 101 (201), the status detection signal transmission module 103 (203), and the status detection signal sampling and judgment module 104 (204). The on-chip termination resistor module 101 (201), the termination discharge module 102 (202), the status detection signal transmission module 103 (203), and the status detection signal sampling and judgment module 104 (204) are all connected to the high-speed interface.

[0041] Working principle:

[0042] The characteristic impedance of a commonly used high-speed signal transmission line is 50Ω. The transmission line and the high-speed interface are connected by AC coupling through a capacitor. According to signal transmission theory, if the impedance is continuous, a voltage close to 1 / 2 of the power supply voltage will be seen at the high-speed interface. Therefore, the impedance of the on-chip termination resistor module 101 (201) used in this cable status detection circuit is 50Ω. When performing cable status detection, the output voltage of the high-speed interface is pulled to ground through the termination discharge module 102 (202), and then the termination discharge module 102 (202) is activated through the control signal 1 (3). 02) Turn off, and turn on the status detection signal sending module 103 (203) through control signal 2 (4), turn on the on-chip termination resistor module 101 (201), so that the 50Ω termination resistor is connected to the power supply. At the same time as the on-chip termination resistor module 101 (201) is turned on, the status detection signal sampling and judgment module 104 (204) will also be enabled to sample and compare the voltage on the high-speed interface. The frequency of its sampling clock sa_clk can be determined according to the required accuracy of fault location. The higher the frequency, the higher the accuracy. The status detection signal sampling and judgment module 104 (204) contains a comparator. The comparator has two preset threshold voltages (such as Figure 6As shown), vref1 (less than 1 / 2 power supply voltage) and vref2 (greater than 1 / 2 power supply voltage) are respectively, and different threshold voltages can be set according to actual applications. The state detection signal sampling and judgment module 104 (204) compares the high-speed interface voltage sampling value with the threshold voltage through a comparator and outputs the comparison result. The state detection signal sampling and judgment module 104 (204) judges the cable status through the output value of the voltage comparator. If the characteristic impedance of the transmission line matches the on-chip termination resistor module 101 (201), the comparator output of the state detection signal sampling and judgment module 104 (204) sampling and comparing with vref1 is 1, and the comparator output of sampling and comparing with vref2 is 0. If the characteristic impedance of the transmission line is greater than that of the on-chip termination resistor module 101 (201), the comparator output of the state detection signal sampling and judgment module 104 (204) sampling and comparing with vref1 is 1, and the comparator output of the state detection signal sampling and judgment module 104 (204) sampling and comparing with vref2 is 0. If the value of 1 (201) is large, the comparator output of the state detection signal sampling and judgment module 104 (204) comparing vref1 and vref2 will be 1. If the characteristic impedance of the transmission line is smaller than that of the on-chip termination resistor module 101 (201), the comparator output of the state detection signal sampling and judgment module 104 (204) comparing vref1 and vref2 will be 0. For a specific transmission line, its transmission delay is fixed, so the location of the cable fault can be determined by the time interval of the change of the comparator output value in the state detection signal sampling and judgment module 104 (204). The larger the time interval of the change of the comparator output value, the farther the cable fault location is from the high-speed interface.

[0043] This cable status detection circuit can be used on high-speed interfaces connected via coaxial cables or differential cables.

[0044] The following are application examples of different fault injection methods for differential cable connections;

[0045] First, such as Figure 2As shown, a fault is injected into the P-end transmission line 105. After the P-end on-chip termination resistor module 101 receives the power supply and the status detection signal transmission module 103 sends the detection signal, the status detection signal sampling and judgment module 104 samples the voltage status on the high-speed interface in real time. Since the transmission line 105 is open at this time, the signal is still continuous before it reaches the fault injection point. The voltage seen on the high-speed interface is close to 1 / 2 of the power supply voltage. Therefore, the comparator output in the status detection signal sampling and judgment module 104 that compares with the vref1 reference voltage is 1, while the comparator output that compares with the vref2 reference voltage is 0. When the signal reaches the fault injection point, signal reflection occurs. At this time, the voltage seen on the high-speed interface is higher than the reference voltage vref2. The comparator output in the state detection signal sampling and judgment module 104, which compares the voltage with the reference voltage vref1, is 1, and the comparator output in the state detection signal sampling and judgment module 104, which compares the voltage with the reference voltage vref2, is also 1. The location of the fault injection point can be determined by the time interval t1 between the moment when the comparator output in the state detection signal sampling and judgment module 104 changes from 0 to 1 and the moment when the comparator output in the state detection signal sampling and judgment module 104 changes from 0 to 1 (e.g., ...). Figure 7 As shown in the figure, the larger t1 is, the farther the location of the fault injection point is from the high-speed interface.

[0046] Second, such as Figure 2 As shown, a short-circuit fault (short-circuit to power or ground) is injected into the P-end transmission line 105. After the P-end on-chip termination resistor module 101 is connected to the power supply and the status detection signal transmission module 103 sends a detection signal, the status detection signal sampling and judgment module 104 samples the voltage status on the high-speed interface in real time. Since the transmission line 105 is short-circuited at this time, the signal is still continuous before it reaches the fault injection point. The voltage seen on the high-speed interface is close to 1 / 2 of the power supply voltage. Therefore, the comparator output in the status detection signal sampling and judgment module 104 that compares with the vref1 reference voltage is 1, while the comparator output that compares with the vref2 reference voltage is 1. When the signal is transmitted to the fault injection point, a signal reflection will occur. At this time, the voltage seen on the high-speed interface is lower than the reference voltage vref1. The comparator output in the state detection signal sampling and judgment module 104, which compares the voltage with the vref1 reference voltage, is 0, and the comparator output compared with the vref2 reference voltage is also 0. The location of the fault injection point can be determined by the time interval t1 between the time it takes for the comparator output comparing the voltage with vref1 to change from 0 to 1 and the time it takes for the comparator output comparing the voltage with vref1 to change from 1 to 0 (e.g., ...). Figure 8 As shown in the figure, the larger t1 is, the farther the location of the fault injection point is from the high-speed interface.

[0047] Third, such as Figure 3As shown, an open-circuit fault is injected into the N-terminal transmission line 205. After the N-terminal on-chip termination resistor module 201 is connected to the power supply and the status detection signal transmission module 203 sends a detection signal, the status signal detection sampling module 204 samples the voltage status on the high-speed interface in real time. Since the transmission line 205 is open at this time, the signal is still continuous before it reaches the fault injection point. The voltage seen on the high-speed interface is close to 1 / 2 of the power supply voltage. Therefore, the comparator output in the status detection signal sampling and judgment module 204 that compares with the vref1 reference voltage is 1, while the comparator output that compares with the vref2 reference voltage is 0. When the signal reaches the fault injection point, signal reflection occurs. At this time, the voltage seen on the high-speed interface is higher than the reference voltage vref2. The comparator output in the state detection signal sampling and judgment module 204, which compares the voltage with the reference voltage vref1, is 1, and the comparator output in the state detection signal sampling and judgment module 204, which compares the voltage with the reference voltage vref2, is also 1. The location of the fault injection point can be determined by the time interval t1 between the moment when the comparator output in the state detection signal sampling and judgment module 204 changes from 0 to 1 and the moment when the comparator output in the state detection signal sampling and judgment module 204 changes from 0 to 1 (e.g., ...). Figure 7 As shown in the figure, the larger t1 is, the farther the location of the fault injection point is from the high-speed interface.

[0048] Fourth, such as Figure 3 As shown, a short-circuit fault (short-circuited to power or ground) is injected into the N-terminal transmission line 205. After the N-terminal on-chip termination resistor module 201 receives the power supply and the status detection signal transmission module 203 sends the detection signal, the status signal detection sampling module 204 samples the voltage status on the high-speed interface in real time. Since the transmission line 205 is short-circuited at this time, the signal is still continuous before it reaches the fault injection point. The voltage seen on the high-speed interface is close to 1 / 2 of the power supply voltage. Therefore, the comparator output in the status detection signal sampling and judgment module 204 that compares with the vref1 reference voltage is 1, while the comparator output that compares with the vref2 reference voltage is 1. The output is 0. When the signal is transmitted to the fault injection point, signal reflection will occur. At this time, the voltage seen on the high-speed interface is lower than the reference voltage vref1. At this time, the comparator output of the state detection signal sampling and judgment module 204 that compares with the reference voltage vref1 is 0, and the comparator output of the comparator that compares with the reference voltage vref2 is also 0. The location of the fault injection point can be determined by the time interval t1 between the moment when the comparator output of the state detection signal sampling and judgment module 204 that compares with the reference voltage vref1 changes from 0 to 1 and the moment when the comparator output of the comparator that compares with the reference voltage vref2 changes from 1 to 0 (e.g., ...). Figure 8 As shown in the figure, the larger t1 is, the farther the location of the fault injection point is from the high-speed interface.

[0049] Fifth, such as Figure 4As shown, a short-circuit fault is injected between transmission line 105 (P-end) and transmission line 205 (N-end). After the on-chip termination resistor module 101 (P-end) receives the power supply and the status detection signal transmission module 103 sends the detection signal, the status detection signal sampling and judgment module 104 samples the voltage status on the high-speed interface in real time. Because there is a short circuit between transmission line 105 and transmission line 205 at this time, the signal is still continuous before it reaches the fault injection point. The voltage seen on the high-speed interface is close to 1 / 2 of the power supply voltage. Therefore, the comparator output in the status detection signal sampling and judgment module 104, which compares the voltage with the reference voltage vref1, is 1, while the output of the comparator compared with the reference voltage vref2 is 1. The comparator output for voltage comparison is 0. When the signal is transmitted to the fault injection point, a signal will be seen at the N terminal of the high-speed interface. At this time, the comparator output for comparing the voltage with the vref1 reference voltage in the state detection signal sampling and judgment module 204 is 1, while the comparator output for comparing the voltage with the vref2 reference voltage is 0. The location of the fault injection point can be determined by the time interval t1 between the moment when the comparator output for comparing the voltage with the vref1 reference voltage in the state detection signal sampling and judgment module 104 changes from 0 to 1 and the moment when the comparator output for comparing the voltage with the vref1 reference voltage in the state detection signal sampling and judgment module 204 changes from 0 to 1 (e.g., ...). Figure 9 As shown in the figure, the larger t1 is, the farther the location of the fault injection point is from the high-speed interface.

[0050] Sixth, such as Figure 4 As shown, a short-circuit fault is injected between transmission line 105 at the P end and transmission line 205 at the N end. After the on-chip termination resistor module 201 at the N end is connected to the power supply and the status detection signal sending module 203 sends a detection signal, the status detection signal sampling and judgment module 204 samples the voltage status on the high-speed interface in real time. Since there is a short circuit between transmission line 105 and transmission line 205 at this time, the signal is still continuous before it is transmitted to the fault injection point. The voltage seen on the high-speed interface is close to 1 / 2 of the power supply voltage. Therefore, the comparator output in the status detection signal sampling and judgment module 204 that compares with the vref1 reference voltage is 1, while the comparator output that compares with the vref2 reference voltage is 1. The comparator output for voltage comparison is 0. When the signal is transmitted to the fault injection point, a signal will be seen at the P terminal of the high-speed interface. At this time, the comparator output for comparing the voltage with the vref1 reference voltage in the state detection signal sampling and judgment module 104 is 1, while the comparator output for comparing the voltage with the vref2 reference voltage is 0. The location of the fault injection point can be determined by the time interval t1 between the moment when the comparator output for comparing the voltage with the vref1 reference voltage in the state detection signal sampling and judgment module 204 changes from 0 to 1 and the moment when the comparator output for comparing the voltage with the vref1 reference voltage in the state detection signal sampling and judgment module 204 changes from 0 to 1 (e.g., ...). Figure 10 As shown in the figure, the larger t1 is, the farther the location of the fault injection point is from the high-speed interface.

[0051] The following are application examples of different fault injection methods for coaxial cable connections;

[0052] First, such as Figure 5 As shown, RT is the termination resistor used for matching the termination resistors. When an open-circuit fault is injected into the P-end transmission line 105, after the on-chip termination resistor module 101 on the P-end receives the power supply and the status detection signal transmission module 103 sends a detection signal, the status detection signal sampling and judgment module 104 samples the voltage status on the high-speed interface in real time. Because the transmission line 105 is open at this time, the signal is still continuous before it reaches the fault injection point. The voltage seen on the high-speed interface is close to half the power supply voltage. Therefore, the comparator output in the status detection signal sampling and judgment module 104 that compares with the vref1 reference voltage is 1, while the comparator output that compares with the vref2 reference voltage is 0. When the signal reaches the fault injection point, signal reflection occurs. At this time, the voltage seen on the high-speed interface is higher than the reference voltage vref2. The comparator output in the state detection signal sampling and judgment module 104, which compares the voltage with the reference voltage vref1, is 1, and the comparator output in the state detection signal sampling and judgment module 104, which compares the voltage with the reference voltage vref2, is also 1. The location of the fault injection point can be determined by the time interval t1 between the moment when the comparator output in the state detection signal sampling and judgment module 104 changes from 0 to 1 and the moment when the comparator output in the state detection signal sampling and judgment module 104 changes from 0 to 1 (e.g., ...). Figure 7 As shown in the figure, the larger t1 is, the farther the location of the fault injection point is from the high-speed interface.

[0053] Second, such as Figure 5As shown, a short-circuit fault (short-circuit to power or ground) is injected into the P-end transmission line 105. After the P-end on-chip termination resistor module 101 is connected to the power supply and the status detection signal transmission module 103 sends a detection signal, the status detection signal sampling and judgment module 104 samples the voltage status on the high-speed interface in real time. Since the transmission line 105 is short-circuited at this time, the signal is still continuous before it reaches the fault injection point. The voltage seen on the high-speed interface is close to 1 / 2 of the power supply voltage. Therefore, the comparator output in the status detection signal sampling and judgment module 104 that compares with the vref1 reference voltage is 1, while the comparator output that compares with the vref2 reference voltage is 1. When the signal is transmitted to the fault injection point, a signal reflection will occur. At this time, the voltage seen on the high-speed interface is lower than the reference voltage vref1. The comparator output in the state detection signal sampling and judgment module 104, which compares the voltage with the vref1 reference voltage, is 0, and the comparator output compared with the vref2 reference voltage is also 0. The location of the fault injection point can be determined by the time interval t1 between the moment when the comparator output in the state detection signal sampling and judgment module 104 changes from 0 to 1 and the moment when the comparator output changes from 1 to 0 (e.g., ...). Figure 8 As shown in the figure, the larger t1 is, the farther the location of the fault injection point is from the high-speed interface.

[0054] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. Any simple modifications, equivalent changes, and alterations made to the above embodiments based on the technical essence of the present invention shall still fall within the scope of the technical solution of the present invention.

[0055] In summary, this invention fully meets the needs of industrial development in terms of structural design, usability, and cost-effectiveness. Furthermore, the disclosed structure is an unprecedented innovative construction, possessing novelty, inventiveness, and practicality, and meets the requirements for relevant utility model patents. Therefore, this application is filed in accordance with the law.

Claims

1. A cable status detection circuit, comprising an on-chip termination resistor module, a termination discharge module, a status detection signal transmission module, and a status detection signal sampling and judgment module, characterized in that: The on-chip termination resistor module connects to the termination discharge module, the status detection signal transmission module, and the status detection signal sampling and judgment module, and all of these are connected to the high-speed interface. The on-chip termination resistor module provides termination resistors. The termination discharge module can discharge the high-speed interface of the chip to ground. The status detection signal sending module can send status detection signals. The status detection signal sampling and judgment module can sample and judge the high-speed interface voltage.

2. The cable status detection circuit according to claim 1, characterized in that: The cable status detection circuit detects cable status only through the high-speed interface, without relying on other interfaces.

3. The cable status detection circuit according to claim 1, characterized in that: The on-chip termination resistor module provides termination resistors that match the cable impedance.

4. The cable status detection circuit according to claim 1, characterized in that: The cable status detection circuit can operate in coaxial or differential transmission modes.

5. The cable status detection circuit according to claim 1, characterized in that: The state detection signal sampling and judgment module includes a comparator. The status detection signal sampling and judgment module compares the high-speed interface voltage sampling signal with the preset threshold voltage through a comparator and outputs the result to determine the impedance matching degree between the cable resistance and the on-chip termination resistor module, thereby determining the type of cable fault.

6. The cable status detection circuit according to claim 5, characterized in that: The cable fault types include one or more of the following fault types: differential P-terminal short circuit, differential P-terminal open circuit, differential N-terminal short circuit, differential N-terminal open circuit, short circuit between differential P-terminal and N-terminal, coaxial P-terminal short circuit, and coaxial P-terminal open circuit.

7. The cable status detection circuit according to claim 1, characterized in that: The status detection signal sampling and judgment module locates the fault location based on the time interval between changes in the comparator output value.

8. The cable status detection circuit according to claim 1, characterized in that: The cable status detection circuit can operate at either the transmitting or receiving end of a high-speed circuit.

Citation Information

Patent Citations

  • Multi-core multi-model cable automatic detecting device and detecting method

    CN103207347A