Detection method

By electrically connecting the target cable with the signal generation module, the signal receiving module and the electronic component detection module, generating detection signals and sampling and analysis, the complex and cumbersome problem of detecting DP cables in the prior art is solved, and efficient communication quality and electronic component detection are achieved.

CN119881474APending Publication Date: 2025-04-25LCFC HEFEI ELECTRONICS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411844631.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-13
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In the prior art, the detection process of detecting the internal DP cable of the laptop is complicated and cumbersome, and multiple equipment are required to detect, resulting in low detection efficiency.

Method used

A detection method is provided, by electrically connecting the target cable to the signal generation module, the signal receiving module and the electronic component detection module, generating a detection signal and transmitting it to the target cable, sampling the detection signal through the signal sampling module, and detecting the communication quality and whether the electronic component is qualified through the data analysis module.

Benefits of technology

The synchronous detection of the communication quality of the target cable and integrated electronic components is achieved, which simplifies the detection process, improves the detection efficiency, and reduces the detection cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119881474A_ABST
    Figure CN119881474A_ABST
Patent Text Reader

Abstract

The invention provides a detection method, and the method comprises the steps: enabling one end of a target cable to be electrically connected with a signal generation module, enabling the other end of the target cable to be electrically connected with a signal receiving module and an electronic element detection module, generating a detection signal through the signal generation module, and transmitting the detection signal to the target cable, and receiving a detection signal generated by the signal generation module through a signal receiving module, sampling the detection signal received by the signal receiving module through a signal sampling module, and obtaining a sampling signal of the signal sampling module through a data analysis module configured on the main control board so as to detect the communication quality of the target cable. Detecting whether the electronic component integrated by the target cable is qualified or not through an electronic component detection module on the main control board; therefore, synchronous detection on the communication quality of the target cable and whether the electronic components integrated on the target cable are qualified or not is realized through the data analysis module and the electronic component detection module, so that the detection efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of detection technology, and in particular to a detection method. Background Art

[0002] Currently, the cables inside laptops (for example, DP cables) are functionally integrated. Currently, the detection of such cables usually requires multiple devices for detection. For example, electronic components such as sensors and microphones integrated on the cables require corresponding electronic component detection equipment to detect them, and the communication quality of the cables must be detected through a network tester. However, this detection method requires the operator to operate different detection equipment to detect the cables. The detection process is complicated, cumbersome, time-consuming and labor-intensive, resulting in low detection efficiency. Summary of the invention

[0003] The present disclosure provides a detection method to at least solve the above-mentioned problems in the prior art.

[0004] To achieve the above objectives, the present disclosure provides the following technical solutions: a detection method, the cable detection method comprising:

[0005] Electrically connecting one end of the target cable to the signal generating module, electrically connecting the other end of the target cable to the signal receiving module and the electronic component detecting module, generating a detection signal through the signal generating module and transmitting it to the target cable, and receiving the detection signal generated by the signal generating module through the signal receiving module;

[0006] The signal sampling module samples the detection signal received by the signal receiving module;

[0007] The sampling signal of the signal sampling module is obtained through the data analysis module configured on the main control board to detect the communication quality of the target cable, and the electronic component detection module on the main control board is used to detect whether the electronic components integrated in the target cable are qualified.

[0008] In one possible implementation, the communication quality of the target cable is detected by the data analysis module, the data analysis module samples the detection signal received by the signal receiving module, and calculates the bit error rate of the sampled detection signal;

[0009] The data analysis module generates a two-dimensional matrix diagram of bit error rate distribution according to the sampling positions, and determines whether the detection signal is qualified according to the two-dimensional matrix diagram of bit error rate distribution.

[0010] In one possible implementation manner, the data analysis module further renders the generated two-dimensional matrix diagram into a digital eye diagram.

[0011] In one possible implementation mode, the signal generating module is a code generator, which generates a code stream through the code generator. After the code stream passes through the target cable, the vertical offset and the horizontal offset are superimposed in sequence at the receiving end and then deserialized to obtain the offset code stream, and the received original signal is deserialized to obtain the original code stream. The data analysis module calculates the bit error rate by comparing the offset code stream and the original code stream.

[0012] In one possible implementation manner, the detection signal generated by the signal generating module is a high-frequency signal, the high-frequency signal is transmitted to the target cable, and the high-frequency detection signal transmitted by the target cable is received by the signal receiving module to detect the communication quality of the high-frequency signal of the target cable; and / or,

[0013] The detection signal generated by the signal generating module is a low-frequency signal, which is transmitted to the target cable, and the signal receiving module receives the low-frequency signal transmitted by the target cable to detect the communication quality of the low-frequency signal of the target cable.

[0014] In one possible implementation manner, the electronic component integrated in the target cable includes an ambient light sensor, and whether the ambient light sensor is qualified is detected by the electronic component detection module.

[0015] In one possible implementation manner, the electronic component integrated in the target cable includes a light source component, and whether the light source component is qualified is detected by the electronic component detection module.

[0016] In one possible implementation manner, the electronic component integrated in the target cable includes a gravity sensor, and whether the gravity sensor is qualified is detected by the electronic component detection module.

[0017] In one possible implementation manner, the electronic component integrated in the target cable includes a Hall sensor, and whether the Hall sensor is qualified is detected by the electronic component detection module.

[0018] In one possible implementation manner, the electronic component integrated in the target cable includes a microphone, and whether the microphone is qualified is detected by the electronic component detection module.

[0019] In one possible implementation manner, the electronic component integrated in the target cable includes a TOF sensor, and whether the TOF sensor is qualified is detected by the electronic component detection module.

[0020] In one possible implementation, a predetermined voltage level is provided to one end of the target cable through a DC module, and after power supply is detected, a load is applied to the other end of the target cable through an AD sampling module, and voltage levels before and after the load are sampled;

[0021] The data analysis module calculates the line loss value of the target cable according to the electrical levels of the other end of the target cable before and after the loading, and determines whether the cable quality is qualified according to the line loss threshold configured for the target cable.

[0022] In the above detection method, first, the target cable is electrically connected to the signal generating module, the signal receiving module and the electronic component detection module, and the detection signal is generated by the signal generating module and transmitted to the target cable, and the detection signal generated by the signal generating module is received by the signal receiving module. Then, the detection signal is sampled by the signal sampling module and transmitted to the data analysis module. Finally, the data analysis module analyzes and calculates the sampled detection signal to realize the detection of the communication quality of the target cable. At the same time, the electronic components integrated in the target cable are detected by the electronic component detection module; in this way, the communication quality of the target cable and whether the electronic components integrated in the target cable are qualified are synchronously detected by the data analysis module and the electronic component detection module, thereby improving the detection efficiency.

[0023] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:

[0025] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.

[0026] Figure 1 A structural block diagram of a detection method in an embodiment of the present disclosure is shown;

[0027] Figure 2 A flowchart of communication quality detection of a target cable in an embodiment of the present disclosure is shown;

[0028] Figure 3 A schematic diagram of sampling the original code stream and the superimposed code stream in an embodiment of the present disclosure is shown;

[0029] Figure 4 A schematic diagram of sampling an offset code stream in an embodiment of the present disclosure is shown;

[0030] Figure 5 A detection principle diagram of an ambient light sensor in an embodiment of the present disclosure is shown;

[0031] Figure 6A detection principle diagram of a light source component in an embodiment of the present disclosure is shown;

[0032] Figure 7 The detection principle diagram of the gravity sensor in the embodiment of the present disclosure is shown;

[0033] Figure 8 The detection principle diagram of the Hall sensor in the embodiment of the present disclosure is shown;

[0034] Fig. 9 A detection principle diagram of a microphone in an embodiment of the present disclosure is shown;

[0035] Fig.10 The detection principle diagram of the TOF sensor in the embodiment of the present disclosure is shown.

[0036] Description of the numbers in the figure:

[0037] In the figure: 11, signal generating module; 12, signal receiving module; 13, signal sampling module; 14, data analysis module; 15, electronic component detection module; 16, DC module; 17, AD sampling module; 20, target cable; 21, electronic component; 211, ambient light sensor; 212, light source; 213, gravity sensor; 214, Hall sensor; 215, microphone; 216, TOF sensor. DETAILED DESCRIPTION

[0038] In order to make the purpose, features, and advantages of the present disclosure more obvious and easy to understand, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0039] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of this disclosure can be achieved, and this document is not limited here.

[0040] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0041] The following describes the embodiments of the present invention in conjunction with the accompanying drawings.

[0042] The current testing solution for DP cables in the industry is to use consumer-grade devices to simulate actual user usage and determine whether the DP cable is qualified based on whether the device can work normally. For example, at least one host with integrated or independent graphics and one monitor are used as consumer-grade devices, and the host and the monitor are electrically connected through a DP cable. If the DP cable can light up the monitor normally, the DP cable is qualified. If the DP cable cannot light up the monitor normally, the DP cable is unqualified.

[0043] It is understandable that the DP protocol defines 4 groups of high-speed differential signals for transmitting video signals, and each group of high-speed differential signals corresponds to a physical channel (i.e. a pair of differential lines). The DP protocol can work normally with groups 1, 2 and 4 of high-speed differential signals. At the same time, since the host may slow down when the physical link is not good, after turning on the monitor, the quality of the cable needs to be further evaluated based on the resolution of the video signal. Therefore, after using consumer-grade equipment for testing, a network analyzer is also needed to evaluate the cable quality. However, due to the high cost of network analyzers, they are usually only used in laboratories.

[0044] See also Figure 1 , Figure 1 The structural block diagram of the detection method in the embodiment of the present disclosure is shown. The embodiment of the present disclosure provides a detection method, and the cable detection method includes:

[0045] Step S1, electrically connecting one end of the target cable 20 to the signal generating module 11, electrically connecting the other end of the target cable 20 to the signal receiving module 12 and the electronic component detection module 15, generating a detection signal through the signal generating module 11 and transmitting it to the target cable 20, and receiving the detection signal generated by the signal generating module 11 through the signal receiving module 12; specifically, the target cable 20 is a DP cable in a notebook.

[0046] Step S2: The signal sampling module 13 samples the detection signal received by the signal receiving module 12 .

[0047] Step S3, the data analysis module 14 configured on the main control board obtains the sampling signal of the signal sampling module 13 to detect the communication quality of the target cable 20, and the electronic component detection module 15 on the main control board detects whether the electronic component 21 integrated in the target cable 20 is qualified.

[0048] Specifically, the signal generating module 11 is configured on the first interface board and electrically connected to the first interface board, the signal receiving module 12 is configured on the second interface board and electrically connected to the second interface board, the signal sampling module 13 and the data analysis module 14 are configured on the main control board and electrically connected to the main control board, the first interface board and the second interface board are both electrically connected to the main control board, one end of the target cable 20 is plugged into the first interface board, and the other end of the target cable 20 is plugged into the second interface board, the target cable 20 is electrically connected to the signal generating module 11 through the first interface board, and the target cable 20 is electrically connected to the signal receiving module 12 through the second interface board.

[0049] First, the target cable 20 is electrically connected to the signal generating module 11, the signal receiving module 12 and the electronic component detection module 15, and a detection signal is generated by the signal generating module 11 and transmitted to the target cable 20, and the detection signal generated by the signal generating module 11 is received by the signal receiving module 12. Then, the detection signal is sampled by the signal sampling module 13 and transmitted to the data analysis module 14. Finally, the data analysis module 14 analyzes and calculates the sampled detection signal to detect the communication quality of the target cable 20. At the same time, the electronic component 21 integrated in the target cable is detected by the electronic component detection module 15. In this way, the communication quality of the target cable 20 and whether the electronic component 21 integrated in the target cable 20 is qualified can be synchronously detected by the data analysis module 14 and the electronic component detection module 15, thereby improving the detection efficiency.

[0050] Please also read Figure 2 , Figure 3 and Figure 4 , Figure 2 A flowchart of communication quality detection of a target cable in an embodiment of the present disclosure is shown. Figure 3 FIG. 1 shows a schematic diagram of sampling the original code stream and the superimposed code stream in an embodiment of the present disclosure, wherein the horizontal axis direction is the sampling time, and the vertical axis direction is the sampling level. Figure 4 A schematic diagram of sampling the offset code stream in an embodiment of the present disclosure is shown, wherein the horizontal axis is the sampling time and the vertical axis is the sampling level; in some embodiments, the communication quality of the target cable 20 is detected.

[0051] Further, in step S1, the connection between the target cable 20 and the signal generator and signal receiving module 12 is a detachable electrical connection. Exemplarily, the detachable electrical connection between the target cable 20 and the signal generator and signal receiving module 12 is achieved through a plug-in structure, or a detachable electrical connection is achieved through a conductive clip.

[0052] Furthermore, in step S1, the present application does not limit the frequency band of the signal generated by the signal generating module 11. Exemplarily, the signal generating module 11 includes a high-frequency signal generator, and the signal receiving module 12 is a high-frequency signal receiver. The detection signal generated by the signal generating module 11 is a high-frequency signal, which is transmitted to the target cable 20, and the high-frequency detection signal transmitted by the target cable 20 is received by the signal receiving module 12 to detect the communication quality of the high-frequency signal of the target cable 20.

[0053] Alternatively, the signal generating module 11 includes a low-frequency signal generator, the signal receiving module 12 is a low-frequency signal receiver, the detection signal generated by the signal generating module 11 is a low-frequency signal, the low-frequency signal is transmitted to the target cable 20, and the low-frequency signal transmitted by the target cable 20 is received by the signal receiving module 12 to detect the communication quality of the low-frequency signal of the target cable 20.

[0054] Alternatively, preferably, the signal generating module 11 includes a high-frequency signal generator and a low-frequency signal generator, and the signal receiving module 12 includes a high-frequency signal receiver and a low-frequency signal receiver. The low-frequency signal and the high-frequency signal are generated by the signal generating module 11, and the low-frequency signal and the high-frequency signal are transmitted to the target cable 20, and the low-frequency signal and the high-frequency signal are received by the signal receiving module 12, and then the high-frequency signal and the low-frequency signal are received by the signal receiving module 12, so as to simultaneously detect the communication quality of the high-frequency signal and the communication quality of the low-frequency signal of the target cable 20 through the data analysis module 14, thereby improving the detection efficiency.

[0055] Furthermore, in step S2, the signal sampling module 13 is used to sample the high-frequency signal and the low-frequency signal.

[0056] Further, in step S31, the communication quality of the target cable 20 is detected by the data analysis module 14, the data analysis module 14 samples the detection signal received by the signal receiving module 12, and calculates the bit error rate of the sampled detection signal;

[0057] Further, in step S311, the signal generating module 11 is a code generator, and a code stream is generated by the code generator. After the code stream passes through the target cable 20, the vertical offset and the horizontal offset are sequentially superimposed at the signal receiving module 12 and then deserialized to obtain the offset code stream.

[0058] Step S312, sampling the offset code stream, the signal sampling module 13 will perform offset sampling in two directions on the code stream received by the signal receiving module 12. When offsetting the sampling in the horizontal direction (i.e., time direction), the signal sampling module 13 advances or delays in the horizontal direction based on the regular sampling point p0 and generates the horizontal coordinate of the sampling. When offsetting the sampling in the vertical direction (i.e., level direction), the signal sampling module 13 offsets upward or downward in the vertical direction based on the regular sampling point p0 and generates the vertical coordinate of the sampling, thereby obtaining the sampling point P1; then, the signal sampling module 13 performs multiple samplings at the sampling points offset in the horizontal direction and the vertical direction, and transmits the position of each sampling point and the sampling result to the data analysis module 14.

[0059] Step S313, deserialize the received original signal to obtain the original code stream, and the data analysis module 14 calculates the bit error rate by comparing the offset code stream and the original code stream. Specifically, the offset code stream sampled by the signal sampling module 13 at each sampling point is compared with the original code stream of the sampling point. When the offset code stream is different from the original code stream, the code stream of the sampling point is a bit error. After the signal sampling module 13 samples at multiple sampling points, the data analysis module 14 calculates the ratio of the number of bit errors N1 to the total number of samples N of the signal sampling module 13, which is the bit error rate.

[0060] In step S32, the data analysis module 14 generates a two-dimensional matrix diagram of the bit error rate distribution according to the sampling positions, and determines whether the detection signal is qualified according to the two-dimensional matrix diagram of the bit error rate distribution.

[0061] In step S33 , the data analysis module 14 further renders the generated two-dimensional matrix diagram into a digital eye diagram, so as to more intuitively detect the communication quality of the target cable 20 .

[0062] Furthermore, by interconnecting with the computer interface through software, the generated bit error rate is mapped into a colorful picture (i.e., a digital eye diagram) according to a certain correspondence between the bit error rate and color. The closer to the center area, the smaller the superimposed interference (horizontal offset and vertical offset), so the smaller the bit error rate. Therefore, the anti-interference situation of the signal is reflected by the entire eye diagram. The larger the center area, the better the signal quality.

[0063] In this way, since the network analyzer detection process is complicated and the detection cost is high, the communication quality of the target cable 20 is usually only sampled in the laboratory. Therefore, the communication quality detection method of the target cable 20 in the present application replaces the existing network analyzer to facilitate the detection of each target cable 20, thereby improving the detection quality and reducing the detection cost.

[0064] It is understandable that the principle of generating a digital eye diagram based on a bit error rate is the same as the eye diagram generation principle of a conventional network analyzer and is a prior art.

[0065] See also Figure 1 In some embodiments, the electronic component 21 integrated in the target cable 20 is detected. Specifically, the electronic component detection module 15 is a main control chip configured with a field programmable gate array, and the main control chip is electrically connected to the main control board.

[0066] See also Figure 5 In this embodiment, the electronic component 21 integrated in the target cable 20 includes an ambient light sensor 211 , and the electronic component detection module 15 detects whether the ambient light sensor 211 is qualified.

[0067] Specifically, the main control chip is powered on and reads the internal ID (identifier) ​​of the ambient light sensor 211 through ICC (integrated circuit bus) to determine whether the ambient light sensor 211 can communicate normally. After the main control chip controls the LED to emit light, it reads the light value obtained by the ambient light sensor through ICC and compares it with the standard light value of the actual LED light. When the two values ​​are consistent, the ambient light sensor 211 is qualified. When the two values ​​are inconsistent, the ambient light sensor 211 is unqualified, so as to determine whether the sensor can work normally.

[0068] See also Figure 6 In this embodiment, the electronic component 21 integrated in the target cable 20 further includes a light source 212, and the electronic component detection module 15 is used to detect whether the light source 212 is qualified. Exemplarily, the light source 212 may be an LED lamp.

[0069] Specifically, the main control chip is powered on and controls the LED to turn on, reads the ADC value of the LED voltage and current, and then determines whether the ADC value of the voltage and current (i.e., the value of the analog-to-digital converter) meets the standard value, and determines whether the brightness of the LED lamp meets the test standard by reading the value of the light sensor. When the ADC value of the LED voltage and current read is consistent with the standard threshold, the LED lamp is qualified; when the ADC value of the LED voltage and current read is inconsistent with the standard threshold, the LED lamp is unqualified.

[0070] See also Figure 7 In this embodiment, the electronic component 21 integrated in the target cable 20 further includes a gravity sensor 213 , and the electronic component detection module 15 is used to detect whether the gravity sensor 213 is qualified.

[0071] Specifically, the main control chip is powered on and reads the internal ID of the gravity sensor 213 through ICC to determine whether the gravity sensor 213 can communicate normally. The main control chip reads relevant register information through ICC to determine whether the gravity sensor 213 is normal.

[0072] See also Figure 8 In this embodiment, the electronic component 21 integrated in the target cable 20 further includes a Hall sensor 214 , and the electronic component detection module 15 is used to detect whether the Hall sensor 214 is qualified.

[0073] Specifically, the main control chip is powered on and controls the external electromagnet used for detection to be disconnected, and the ADC1 value (ADC value is the value of the analog-to-digital converter) of the OUT pin (output pin) of the Hall sensor 214 is read. Then the main control chip controls the electromagnet to be turned on, and reads the ADC2 value (ADC value is the value of the analog-to-digital converter) of the OTC pin of the Hall sensor 214. The main control chip calculates the ADC1 value and the ADC2 value respectively to determine whether they meet the test standards. When the ADC1 value is different from the ADC2 value, it means that the Hall sensor 214 is qualified. When the ADC1 value is the same as the ADC2 value, it means that the Hall sensor 214 is unqualified.

[0074] See also Fig. 9 In this embodiment, the electronic component 21 integrated in the target cable 20 further includes a microphone 215 , and the electronic component detection module 15 is used to detect whether the microphone 215 is qualified.

[0075] Specifically, first, the main control chip is powered on and plays a standard sound source, then the main control chip collects sound source data, i.e., useful signals and interference signals, through ICC, and the main control chip calculates the signal-to-noise ratio of the collected sound source data to determine whether the microphone 215 meets the test standard. When the signal-to-noise ratio is greater than or equal to the standard threshold, it means that the microphone 215 is qualified, and when the signal-to-noise ratio is less than the standard threshold, it means that the microphone 215 is unqualified. Exemplarily, the standard threshold can be 60db.

[0076] See also Fig.10 In this embodiment, the electronic component 21 integrated in the target cable 20 further includes a TOF sensor 216 (distance measuring sensor), and the electronic component detection module 15 detects whether the TOF sensor 216 is qualified.

[0077] Specifically, first, the main control chip is powered on and reads the ID inside the TOF sensor 216 through ICC to determine whether the TOF sensor 216 can communicate normally, then reads the distance data of the TOF sensor 216 and compares it with the actual data to determine whether the TOF sensor 216 is normal, and finally, the main control chip reads the corresponding register of the TOF sensor 216 to obtain the signal strength to determine whether it meets the test standard. When the signal strength read by the main control chip is greater than or equal to the standard threshold, the TOF sensor 216 is qualified, and when the signal strength read by the main control chip is less than the standard threshold, the TOF sensor 216 is unqualified. Exemplarily, the standard threshold can be -50dbm.

[0078] In this way, the electronic component detection module 15 is used to detect multiple electronic components 21 integrated on multiple target cables 20, which further improves the detection efficiency and has higher detection accuracy.

[0079] See also Figure 1 In some embodiments, the cable loss of the target cable 20 is detected.

[0080] A predetermined electrical level is provided to one end of the target cable 20 through the DC module 16 (level output module). After power supply is detected, the other end of the target cable 20 is loaded (loaded) through the AD sampling module 17 (level sampling module), and the electrical levels before and after loading are sampled. The data analysis module 14 calculates the line loss value of the target cable 20 according to the electrical levels before and after loading of the other end of the target cable 20, and determines whether the cable quality is qualified according to the line loss threshold configured for the target cable 20. When the actual line loss value is less than the line loss threshold, it indicates that the line loss of the target cable 20 is qualified. When the actual line loss value is greater than or equal to the line loss threshold, it indicates that the line loss of the target cable 20 is unqualified.

[0081] Specifically, the DC module 16 is configured on the first interface board and electrically connected to the first interface board, the AD sampling module 17 is configured on the main control board and electrically connected to the main control board, and the AD sampling module 17 is electrically connected to the data analysis module 14 .

[0082] In this way, during detection, the DC module 16 provides a voltage level to the target cable 20, and samples are taken through the AD sampling module 17. Then, the data analysis module 14 calculates and determines whether the cable loss of the target cable 20 is qualified. The detection steps are simple and the accuracy is high. At the same time, the communication quality of the target cable 20 and the cable integrated with the target cable 20 can be detected synchronously. There is no need to design different detection processes to meet the detection of different functions of the target cable 20, which makes the detection efficiency higher and the detection cost lower.

[0083] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A cable detection method, characterized in that: The cable detection method comprises: Electrically connecting one end of the target cable to the signal generating module, electrically connecting the other end of the target cable to the signal receiving module and the electronic component detecting module, generating a detection signal through the signal generating module and transmitting it to the target cable, and receiving the detection signal generated by the signal generating module through the signal receiving module; The signal sampling module samples the detection signal received by the signal receiving module; The sampling signal of the signal sampling module is obtained through the data analysis module configured on the main control board to detect the communication quality of the target cable, and the electronic component detection module on the main control board is used to detect whether the electronic components integrated in the target cable are qualified.

2. The detection method according to claim 1, characterized in that: The communication quality of the target cable is detected by the data analysis module, the data analysis module samples the detection signal received by the signal receiving module, and calculates the bit error rate of the sampled detection signal; The data analysis module generates a two-dimensional matrix diagram of bit error rate distribution according to the sampling positions, and determines whether the detection signal is qualified according to the two-dimensional matrix diagram of bit error rate distribution.

3. The detection method according to claim 2, characterized in that: The data analysis module also renders the generated two-dimensional matrix diagram into a digital eye diagram.

4. The detection method according to claim 2, characterized in that: The signal generating module is a code generator, which generates a code stream through the code generator. After the code stream passes through the target cable, the vertical offset and the horizontal offset are superimposed in sequence at the receiving end and then deserialized to obtain the offset code stream, and the received original signal is deserialized to obtain the original code stream. The data analysis module calculates the bit error rate by comparing the offset code stream and the original code stream.

5. The detection method according to any one of claims 1 to 4, characterized in that: The detection signal generated by the signal generating module is a high-frequency signal, which is transmitted to the target cable, and the high-frequency detection signal transmitted by the target cable is received by the signal receiving module to detect the communication quality of the high-frequency signal of the target cable; and / or, The detection signal generated by the signal generating module is a low-frequency signal, which is transmitted to the target cable, and the signal receiving module receives the low-frequency signal transmitted by the target cable to detect the communication quality of the low-frequency signal of the target cable.

6. The detection method according to claim 1, characterized in that: The electronic component integrated in the target cable includes an ambient light sensor, and whether the ambient light sensor is qualified is detected by the electronic component detection module.

7. The detection method according to claim 1, characterized in that: The electronic component integrated in the target cable includes a light source component, and whether the light source component is qualified is detected by the electronic component detection module.

8. The detection method according to claim 1, characterized in that: The electronic component integrated in the target cable includes a gravity sensor, and whether the gravity sensor is qualified is detected by the electronic component detection module.

9. The detection method according to claim 1, characterized in that: The electronic component integrated in the target cable includes a Hall sensor, and whether the Hall sensor is qualified is detected by the electronic component detection module.

10. The detection method according to claim 1, characterized in that: The electronic component integrated in the target cable includes a microphone, and whether the microphone is qualified is detected by the electronic component detection module.

11. The detection method according to claim 1, characterized in that: The electronic component integrated in the target cable includes a TOF sensor, and whether the TOF sensor is qualified is detected by the electronic component detection module.

12. The detection method according to claim 1, characterized in that: Providing a predetermined voltage level to one end of the target cable through a DC module, and after detecting the power supply, applying a load to the other end of the target cable through an AD sampling module, and sampling the voltage levels before and after the load is applied; The data analysis module calculates the line loss value of the target cable according to the electrical levels of the other end of the target cable before and after loading, and determines whether the cable quality is qualified according to the line loss threshold configured for the target cable.