CN115397089A - Printed circuit board, terminal, method, device and storage medium - Google Patents

Printed circuit board, terminal, method, device and storage medium Download PDF

Info

Publication number
CN115397089A
CN115397089A CN202110571735.XA CN202110571735A CN115397089A CN 115397089 A CN115397089 A CN 115397089A CN 202110571735 A CN202110571735 A CN 202110571735A CN 115397089 A CN115397089 A CN 115397089A
Authority
CN
China
Prior art keywords
interface
circuit board
printed circuit
test point
points
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110571735.XA
Other languages
Chinese (zh)
Inventor
孙权
毛瑞
辛洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN202110571735.XA priority Critical patent/CN115397089A/en
Priority to PCT/CN2022/084508 priority patent/WO2022247460A1/en
Publication of CN115397089A publication Critical patent/CN115397089A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K1/00Printed circuits
    • H05K1/02Details
    • H05K1/0213Electrical arrangements not otherwise provided for
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2801Testing of printed circuits, backplanes, motherboards, hybrid circuits or carriers for multichip packages [MCP]
    • G01R31/2806Apparatus therefor, e.g. test stations, drivers, analysers, conveyors
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2801Testing of printed circuits, backplanes, motherboards, hybrid circuits or carriers for multichip packages [MCP]
    • G01R31/2818Testing of printed circuits, backplanes, motherboards, hybrid circuits or carriers for multichip packages [MCP] using test structures on, or modifications of, the card under test, made for the purpose of testing, e.g. additional components or connectors
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K1/00Printed circuits
    • H05K1/02Details
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K1/00Printed circuits
    • H05K1/18Printed circuits structurally associated with non-printed electric components

Abstract

The embodiment of the invention provides a printed circuit board, a terminal, a method, a device and a storage medium, wherein at least one detection unit and at least two communication interfaces are arranged on a body of the printed circuit board; the detection unit comprises a control test point, a function test point group, a switch assembly and an analog-digital converter; the switch assembly comprises switches with the same number as the function test points in the function test point group, the common ends of the switches are respectively connected with the analog-to-digital converter and the function test points, and the connecting ends of the switches are connected with at least one communication interface; the analog-to-digital converter is also connected with the control test point; the detection of a plurality of communication interfaces can be realized by utilizing a group of test points, the number of test points on the PCB is reduced, all the test points are exposed outside, and the interface detection can be realized without disassembling the machine.

Description

Printed circuit board, terminal, method, device and storage medium
Technical Field
Embodiments of the present invention relate to, but are not limited to, the field of electronic technology, and in particular, but not limited to, a printed circuit board, a terminal, a method, an apparatus, and a storage medium.
Background
In order to debug, test and analyze problems of a Printed Circuit Board (PCB for short), a plurality of test points are disposed on an existing PCB so as to facilitate testing of different interfaces. At present, a large number of test points are required to be arranged on a PCB for testing the PCB, so that a large area of the PCB is occupied, all the test points cannot be placed outside the whole machine, and the machine is required to be disassembled for interface detection.
Disclosure of Invention
The printed circuit board, the terminal, the method, the device and the storage medium provided by the embodiment of the invention at least solve the technical problem that a large number of test points are arranged on the PCB and the PCB needs to be dismounted to carry out interface detection.
An embodiment of the present invention provides a printed circuit board, including: the body of the printed circuit board is provided with at least one detection unit and at least two communication interfaces; the detection unit comprises a control test point, a functional test point group, a switch assembly and an analog-to-digital converter; the switch assembly comprises switches with the same number as the function test points in the function test point group, the common ends of the switches are respectively connected with the analog-to-digital converter and the function test points, and the connecting ends of the switches are connected with at least one communication interface; the analog-to-digital converter is also connected with the control test point, and the output end of the analog-to-digital converter is connected with the switch component; the analog-to-digital converter is used for controlling the switch to be switched to the corresponding connecting end according to the different voltage signals of the control test point, so that the functional test point is connected with the different communication interfaces.
The embodiment of the invention also provides a terminal, which comprises a shell and the printed circuit board; the functional test points in the printed circuit board penetrate through the shell and are exposed to the outside.
The embodiment of the present invention further provides an interface detection method, which is applied to the printed circuit board described above, and includes: and determining a switching rule corresponding to the switch assembly through the analog-to-digital converter according to different voltage signals of the control test point, and controlling the switch in the switch assembly to be switched to the corresponding connecting end according to the switching rule so as to conduct circuits between the functional test point and different communication interfaces.
An embodiment of the present invention further provides an interface detection apparatus, including: the interface detection device comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more computer programs stored in the memory to implement the steps of the interface detection method as described above.
Embodiments of the present invention also provide a computer-readable storage medium storing one or more computer programs, which are executable by one or more processors to implement the steps of the interface detection method as described above.
According to the printed circuit board, the terminal, the method, the device and the storage medium provided by the embodiment of the invention, at least one detection unit and at least two communication interfaces are arranged on the body of the printed circuit board; the detection unit comprises a control test point, a functional test point group, a switch assembly and an analog-to-digital converter; the switch assembly comprises switches with the same number as the function test points in the function test point group, the common ends of the switches are respectively connected with the analog-to-digital converter and the function test points, and the connecting ends of the switches are connected with at least one communication interface; the analog-to-digital converter is also connected with the control test point; the analog-to-digital converter is used for controlling the switch to be switched to the corresponding connecting end according to the voltage signals of the control test points, so that the functional test points are connected with different communication interfaces. The detection of a plurality of communication interfaces can be realized by utilizing a group of test points, so that the number of test points on the PCB is greatly reduced; because the number of the required test points is less, the method is beneficial to exposing all the test points outside, and the interface detection can be carried out without disassembling the machine.
Additional features and corresponding advantages of the invention are set forth in the description which follows, and it is understood that at least some of the advantages will be apparent from the description of the invention.
Drawings
Fig. 1 is a schematic structural diagram of a printed circuit board according to an embodiment of the invention;
fig. 2 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an interface detection system according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of an interface detection method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a printed circuit board according to a second embodiment of the invention;
fig. 6 is a schematic structural diagram of a terminal according to a second embodiment of the present invention;
fig. 7 is a schematic structural diagram of an interface detection apparatus according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the prior art, a set of test points is set on a PCB for each communication interface to be tested, and each set of test points is composed of a plurality of test points. That is, the existing PCB board will be provided with a plurality of test points for testing different interfaces. Because a large number of test points exist on the PCB, a large amount of area on the PCB is occupied, all the test points cannot be placed outside the whole machine, and the machine needs to be disassembled to carry out interface detection.
Based on this, the present application intends to provide a solution to the above technical problem, the details of which will be explained in the following embodiments.
The first embodiment is as follows:
an embodiment of the present invention provides a printed circuit board, please refer to fig. 1, where the printed circuit board 1 may include, but is not limited to:
the body of the printed circuit board 1 is provided with at least one detection unit 100 and at least two communication interfaces 200;
the detection unit 100 comprises a control test point 101, a functional test point group 102, a switch component 103 and an analog-to-digital converter 104;
the switch assembly 103 includes switches with the same number as the number of the functional test points in the functional test point group 102, common ends of the switches are respectively connected with the analog-to-digital converter 104 and the functional test points, and connection ends of the switches are connected with at least one of the communication interfaces 200;
the analog-to-digital converter 104 is further connected to the control test point 101, and the analog-to-digital converter 104 is configured to control the switch to a corresponding connection end according to different voltage signals of the control test point, so that the functional test point is connected to different communication interfaces 200.
In the embodiment of the present invention, the specific number of the communication interfaces 200 is not limited. By way of example, the number of communication interfaces 200 includes, but is not limited to, two, three, four, or six. The specific type of communication interface 200 is also not limiting. Each type of communication interface 200 has a corresponding number of points to be tested, which can be understood as pins disposed on the communication interface 200, and when the group of functional test points 102 is connected to all the points to be tested of a certain communication interface 200, the operating state of the communication interface can be detected. In one embodiment, each communication interface 200 includes at least one point to be measured; the number of points to be tested for each communication interface 200 includes, but is not limited to, one, two, or four. For example, the types of communication interfaces include, but are not limited to, a Universal Asynchronous Receiver Transmitter (UART) interface, a two-wire serial bus (IIC) interface, a Universal Serial Bus (USB) interface, a Serial Peripheral Interface (SPI) interface, and a general purpose input/output (GPIO) interface. The UART interface comprises four points to be measured, namely a power supply end VDD, a transmitting pin TX, a receiving pin RX and a grounding end GND; the IIC interface comprises two points to be tested, namely a control line SCL and a data line SDA; the USB comprises four points to be tested, namely a power line VBUS, a data line DP, a data line DM and a ground end GND; the SPI comprises four points to be tested, namely a control line CS, a downlink data line MOSI, an uplink data line MISO and a clock line CLK; the GPIO interface comprises a point to be tested of GPIO.
In this embodiment, an appropriate number of detection units 100 may also be provided according to the specific number of communication interfaces 200, and each detection unit 100 may operate independently. If a small number of communication interfaces 200 are arranged on the PCB, a detection unit can be arranged on the PCB to detect the working state of one communication interface 200 at the same time; if a greater number of communication interfaces 200 are provided on the PCB, a plurality of detecting units 100 may be provided on the PCB to detect the operating states of the plurality of communication interfaces 200 at the same time, so as to improve the efficiency of interface detection. For each detection cell 100, a control test point 101, a set of functional test points 102, a switch assembly 103 and an analog-to-digital converter 104 may be included. The control test point 101 is connected with the input end of an analog-to-digital converter 104, and the output end of the analog-to-digital converter 104 is connected with the switch component 103; the analog-to-digital converter 104 controls the switches in the switch component 103 to be respectively switched to the corresponding connection ends according to the voltage signal from the control test point 101, so as to conduct the circuit between the functional test point group 102 and the communication interface 200 to be tested; that is, by changing the voltage signal of the control test point 101, the functional test point group 102 is connected to different communication interfaces 200, so that a group of test points can detect multiple communication interfaces, thereby achieving the purpose of reducing the number of test points on the PCB. The functional test point group 102 includes a plurality of functional test points, the switch assembly 103 includes a plurality of switches, and the plurality of functional test points correspond to the plurality of switches one to one. An appropriate number of functional test points or switches may be provided depending on the specific number of points to be tested of the communication interface. In an embodiment, at least two communication interfaces 200 are arranged on the body of the printed circuit board 1, and the numbers of the points to be measured corresponding to the at least two communication interfaces 200 may be all the same, may not be all the same, or may be all the different; the number of the functional test points is equal to the maximum number of the points to be tested; correspondingly, the number of the switches is also equal to the maximum number of the points to be measured, and the connection ends of the switches are respectively connected with the points to be measured of different communication interfaces 200. As an example, the body of the printed circuit board 1 is provided with a UART interface, an IIC interface, and a USB interface, and a detection unit 100; the UART interface is provided with four points to be measured, the IIC interface is provided with two points to be measured, and the USB interface is provided with four points to be measured; the maximum number of the points to be tested is four, at this time, the set function test point group 102 is composed of four function test points, and the set switch component 103 is composed of four switches. Each switch comprises a common end and three connecting ends, the common end of each switch is respectively connected with one function test point and the output end of the analog-to-digital converter 104, and the three connecting ends of each switch are respectively connected with the UART interface, the IIC interface and the USB interface.
An embodiment of the present invention further provides a terminal, please refer to fig. 2, where the terminal 2 may include, but is not limited to: a housing 20 and a printed circuit board 1 of any of the foregoing; the functional test point group 102 in the printed circuit board 1 is exposed to the outside through the housing 20. It should be noted that the terminal includes, but is not limited to, a mobile phone, a watch, a tracker, a tablet, and a speaker. Because the number of the functional test points in the functional test point group is small, all the functional test points can be exposed outside, and all the communication interfaces to be detected on the PCB can be detected by using the functional test point group, so that the interface detection can be carried out without disassembling the machine.
An embodiment of the present invention further provides an interface detection system, please refer to fig. 3, where the system includes: a terminal 2, a voltage source 3 and a detection device 4; the voltage source 3 is connected with a control test point in the terminal 2; the detection device 4 is connected with the functional test point group in the terminal 2. It should be noted that the voltage source can provide different voltage signals to the control test point by connecting with the control test point; the detection device 4 is connected with the functional test point group, so that test data output by the functional test point group can be obtained, and the working state of the communication interface is determined according to the test data.
An embodiment of the present invention further provides an interface detection method, which is applied to the printed circuit board described above, and as shown in fig. 4, the method includes the following steps:
s101: and determining a switching rule corresponding to the switch assembly through the analog-to-digital converter according to different voltage signals of the control test point.
S102: and controlling the switch in the switch assembly to be switched to the corresponding connecting end according to the switching rule so as to conduct circuits between the functional test point and different communication interfaces.
It can be understood that a corresponding relation table of the voltage signal and the switching rule is built in the analog-to-digital converter, and the analog-to-digital converter determines the switching rule according to the voltage signal and the corresponding relation table of the voltage signal and the switching rule; and outputs a control signal according to the switching rule. The switch component switches the switch to the corresponding connecting end according to the control signal so as to conduct a circuit between the test point and a certain communication interface. Therefore, the detection of different communication interfaces can be realized by changing the voltage signal of the control test point.
In some embodiments, the communication interface comprises at least one of a Universal Asynchronous Receiver Transmitter (UART) interface, a two-wire serial bus (IIC) interface, a Universal Serial Bus (USB) interface, a Serial Peripheral Interface (SPI) interface, and a general purpose input/output (GPIO) interface.
The interface detection method provided by the embodiment of the invention realizes that a plurality of communication interfaces can be detected by using a group of test points, thereby greatly reducing the number of test points on a PCB.
The second embodiment:
in order to better understand the present invention, the embodiments of the present invention are further described in conjunction with practical application scenarios.
In this embodiment, the PCB includes a printed circuit board body, and one detection unit and six communication interfaces provided on the printed circuit board body. The six communication interfaces are respectively a UART interface, an IIC interface, a USB interface, an SPI interface and two GPIO interfaces. The UART interface comprises four points to be measured, namely VDD, TX, RX and GND; the IIC interface comprises two points to be tested, namely SCL and SDA; the USB interface comprises four points to be tested, namely VBUS, DP, DM and GND; the SPI interface comprises four points to be measured, namely CS, MOSI, MISO and CLK; the GPIO interface comprises a to-be-tested point of GPIO. Meanwhile, the detection unit comprises a control test point, a function test point group, a switch component and an analog-to-digital converter (ADC). The functional test point group comprises four functional test points; the switch assembly comprises four switches which are in one-to-one correspondence with the four function test points, the common end of each switch is connected with the function test point, and the connecting end of each switch is connected with a point to be tested of the communication interface; the input end of the analog-to-digital converter is connected with the control test point, and the output end of the analog-to-digital converter is connected with the switch component.
Referring to fig. 5, the control test point is test0, and test0 is connected to the input terminal of the ADC. The four function test points are test1, test2, test3 and test4. The four switches are switch 1, switch 2, switch 3 and switch 4 respectively. The common end of the switch 1 is respectively connected with test1 and ADC; switch 1 includes five connecting ends, is connected with UART _ VDD, IIC _ SCL, USB _ VBUS, SPI _ CS and GPIO _1 respectively. The common end of the switch 2 is respectively connected with test2 and ADC; the switch 2 comprises five connecting ends which are respectively connected with UART _ TX, IIC _ SDA, USB _ DP, SPI _ MOSI and GPIO _ 2; the common end of the switch 3 is respectively connected with test3 and ADC; switch 3 includes five connections to UART _ RX, N/a, USB _ DM, SPI _ MISO, and N/a, respectively. The common end of the switch 4 is respectively connected with test4 and ADC; the switch 4 comprises five connection ends which are respectively connected with UART _ GND, N/A, USB _ GND, SPI _ CLK and N/A.
Please refer to fig. 6, which illustrates a terminal as a watch. The watch comprises a shell and a PCB (printed circuit board); the PCB is arranged in an accommodating space defined by the shell; the shell is provided with five through holes, and test 0-test 4 on the PCB are respectively inserted into the five through holes and exposed outside.
In practical application, the interface test system is composed of a voltage source, a terminal and a detection device. Specifically, the voltage source is connected to test0 in the terminal, and supplies a voltage signal to test 0. The detection equipment is respectively connected with the test1 to the test4, receives the test data output by the test1 to the test4, and determines the working state of the communication interface according to the test data.
The following describes the interface test method in detail:
(1) The external voltage source is connected with test0, and the external detection equipment is connected with test 1-test 4.
(2) The analog-to-digital converter obtains a voltage signal through test 0.
(3) The analog-to-digital converter identifies the voltage range and determines a switching rule corresponding to the switch assembly.
(4) The analog-to-digital converter outputs a control signal according to a switching rule.
(5) The switch component is connected with the corresponding communication interface according to the control signal, so that the function test points test1 to test4 are respectively connected with the PCB to conduct a circuit between the function test point group and the communication interface.
(6) The detection equipment acquires the test data output by the functional test point group and determines the working state of the communication interface according to the test data.
For example, referring to fig. 5, when test0 is 1-2V, the output of the analog-to-digital converter controls the switches of test 1-test 4 to turn to the switch (1), the four function test points are conducted with the UART interface inside the PCB board at this time, and the waveform of the UART interface is tested through the set of function test points. When test0 is 3-4V, the output of the analog-to-digital converter controls the switches of test 1-test 4 to be all turned on to the switch (2), the four function test points are conducted with the IIC interface inside the PCB at the moment, and the waveform of the IIC interface is tested through the function test point group. When test0 is 5-6V, the output of the analog-to-digital converter controls the switches of test 1-test 4 to be turned on to the switch (3), the four function test points are conducted with the USB interface in the PCB at the moment, and the waveform of the USB is tested through the function test point group. When test0 is 7-8V, the output of the mode converter controls the switches of test 1-test 4 to be turned on to the switch (4), the four functional test points are conducted with the SPI interface in the PCB at the moment, and the waveform of the SPI interface is tested through the functional test point group; when the test0 is 9-10V, the output of the analog-to-digital converter controls the switches of the test 1-test 4 to be all turned on to the switch (5), the four function test points are conducted with the GPIO interface inside the PCB at the moment, and the waveform of the GPIO interface is tested through the function test point group.
According to the printed circuit board, the terminal, the system and the method provided by the embodiment of the invention, one functional test point group can be used for detecting a plurality of communication interfaces to be tested in the PCB, so that the number of test points on the PCB is reduced; the function test point group is exposed outside the terminal shell, interface detection can be carried out without disassembling the terminal shell, and the method can be widely applied to intelligent trackers, watches and mobile phones which cannot be disassembled in the whole terminal or have high requirements on waterproof level.
Example three:
the present embodiment provides an interface detection apparatus, as shown in fig. 7, which includes a processor 701, a memory 702, and a communication bus 703, wherein:
the communication bus 703 is used for realizing connection communication between the processor 701 and the memory 702;
the processor 701 is configured to execute one or more computer programs stored in the memory 702 to implement at least one step of the interface detection method in the embodiments described above.
The present embodiments also provide a computer-readable storage medium including volatile or non-volatile, removable or non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, computer program modules or other data. Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash Memory or other Memory technology, CD-ROM (Compact disk Read-Only Memory), digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
The computer-readable storage medium in this embodiment may be used to store one or more computer programs, and the stored one or more computer programs may be executed by a processor to implement at least one step of the interface detection method in the embodiments described above.
The present embodiment also provides a computer program (or computer software), which can be distributed on a computer-readable medium and executed by a computing device to implement at least one step of the interface detection method in the foregoing embodiments; and in some cases at least one of the steps shown or described may be performed in an order different than that described in the embodiments above.
It should be understood that in some cases at least one of the steps shown or described may be performed in an order different than that described in the embodiments above.
The present embodiments also provide a computer program product comprising a computer readable means on which a computer program as shown above is stored. The computer readable means in this embodiment may comprise a computer readable storage medium as shown above.
It will be apparent to those skilled in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software (which may be implemented in computer program code executable by a computing device), firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit.
In addition, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, computer program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a more detailed description of embodiments of the present invention, and the present invention is not to be considered limited to such descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (10)

1. A printed circuit board is characterized in that,
the body of the printed circuit board is provided with at least one detection unit and at least two communication interfaces;
the detection unit comprises a control test point, a functional test point group, a switch assembly and an analog-to-digital converter;
the switch assembly comprises switches with the same number as the functional test points in the functional test point group, the public ends of the switches are respectively connected with the analog-to-digital converter and the functional test points, and the connecting ends of the switches are connected with at least one communication interface;
the analog-to-digital converter is also connected with the control test point and is used for controlling the switch to be switched to the corresponding connecting end according to different voltage signals of the control test point, so that the functional test point group is connected with different communication interfaces.
2. The printed circuit board of claim 1, wherein each of said communication interfaces includes at least one point to be tested; and the connecting ends of the switches are respectively connected with the points to be measured of different communication interfaces.
3. The printed circuit board of claim 2, wherein the number of the points to be tested of each of the communication interfaces comprises one, two or four.
4. The printed circuit board of claim 2 or 3, wherein the number of the points to be measured corresponding to at least two of the communication interfaces is not all the same; the number of the functional test points is equal to the maximum number of the points to be tested.
5. The printed circuit board of claim 1, wherein the communication interface comprises at least one of a Universal Asynchronous Receiver Transmitter (UART) interface, a two-wire serial bus (IIC) interface, a Universal Serial Bus (USB) interface, a Serial Peripheral Interface (SPI) interface, and a general purpose input/output (GPIO) interface.
6. A terminal, characterized in that the terminal comprises a housing and a printed circuit board according to any of claims 1-5; the functional test point group in the printed circuit board passes through the shell and is exposed outside.
7. An interface detection method applied to the printed circuit board of claim 1, comprising:
and determining a switching rule corresponding to the switch assembly according to different voltage signals of the control test point through the analog-to-digital converter, and controlling the switch in the switch assembly to be switched to the corresponding connecting end according to the switching rule so as to conduct circuits between the functional test point and different communication interfaces.
8. The interface detection method of claim 7, wherein the communication interface comprises at least one of a Universal Asynchronous Receiver Transmitter (UART) interface, a two-wire serial bus (IIC) interface, a Universal Serial Bus (USB) interface, a Serial Peripheral Interface (SPI) interface, and a general purpose input/output (GPIO) interface.
9. An interface detection apparatus, comprising: the interface detection device comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more computer programs stored in the memory to implement the steps of the interface detection method as claimed in claim 7 or 8.
10. A computer-readable storage medium, having one or more computer programs stored thereon, the one or more computer programs being executable by one or more processors to perform the steps of the interface detection method as claimed in claim 7 or 8.
CN202110571735.XA 2021-05-25 2021-05-25 Printed circuit board, terminal, method, device and storage medium Pending CN115397089A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110571735.XA CN115397089A (en) 2021-05-25 2021-05-25 Printed circuit board, terminal, method, device and storage medium
PCT/CN2022/084508 WO2022247460A1 (en) 2021-05-25 2022-03-31 Printed circuit board, terminal, method, apparatus and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110571735.XA CN115397089A (en) 2021-05-25 2021-05-25 Printed circuit board, terminal, method, device and storage medium

Publications (1)

Publication Number Publication Date
CN115397089A true CN115397089A (en) 2022-11-25

Family

ID=84114672

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110571735.XA Pending CN115397089A (en) 2021-05-25 2021-05-25 Printed circuit board, terminal, method, device and storage medium

Country Status (2)

Country Link
CN (1) CN115397089A (en)
WO (1) WO2022247460A1 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090128814A (en) * 2008-06-11 2009-12-16 삼성전자주식회사 Port selector, device test system and method using the same
CN201422122Y (en) * 2009-04-30 2010-03-10 萨基姆移动电话研发(宁波)有限公司 Test probe and main board of mobile communication terminal
CN102798772A (en) * 2011-05-27 2012-11-28 叶志锋 Intelligent universal test platform
CN106443412B (en) * 2016-09-09 2019-04-23 杭州万高科技股份有限公司 A kind of IC test device and method
CN209356629U (en) * 2018-10-17 2019-09-06 华讯方舟科技有限公司 A kind of test macro for microwave class PCBA
CN110488138A (en) * 2019-09-06 2019-11-22 中润油联天下网络科技有限公司 A method of it is automatic quickly to determine equipment line sequence and data protocol
CN111049706B (en) * 2019-12-24 2022-09-06 上海移远通信技术股份有限公司 Communication module testing device
CN112817804A (en) * 2021-01-20 2021-05-18 深圳市智微智能软件开发有限公司 Fault detection method, device, equipment and storage medium based on computer fan port

Also Published As

Publication number Publication date
WO2022247460A1 (en) 2022-12-01

Similar Documents

Publication Publication Date Title
US5119498A (en) Feature board with automatic adjustment to one of two bus widths based on sensing power level at one connection contact
US20120311215A1 (en) Peripheral component interconnect express expansion system and method
US20060273764A1 (en) Method and charging apparatus controlled by computer for converting input power into required charging voltage and charging current
US20120005385A1 (en) Communication circuit of inter-integrated circuit device
US20160092201A1 (en) Method and Device for Updating Program Data
US9471330B2 (en) System and method and for selecting boot configuration using near field communication
CN111124803A (en) Method and device for controlling state of indicator light and computer readable storage medium
CN105071484A (en) Charging method and apparatus of terminal having data exchange function
CN113391137A (en) Antenna detection device, method and equipment
CN113946480A (en) Detection device and method for I2C bus
CN115397089A (en) Printed circuit board, terminal, method, device and storage medium
US20120054391A1 (en) Apparatus and method for testing smnp cards
CN219225516U (en) Time-sharing multiplexing circuit for multiplexing pins
CN116662091A (en) Method, device, equipment and storage medium for detecting high-speed cable of server
KR20210033758A (en) Method for power supply and an electronic device thereof
US9945900B1 (en) Testing device for radio frequency front end and radio frequency front end testing method
US20220206984A1 (en) Electronic apparatus and signal switching method
CN102073575A (en) Management engine state detection circuit
CN112199310B (en) Converter, VR control system and stability detection method of VR control system
US11127480B1 (en) System and method for short circuit detection
CN219246074U (en) Embedded main board
CN115934598B (en) Method, device, electronic equipment and storage medium for node to user interface board communication
CN112925696B (en) Power supply time sequence visualization system
CN218158161U (en) Electrostatic protection testing arrangement based on PCB board
CN112965751B (en) Main control board card for frame type equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination