PCBA version identification system and identification method

CN117825930BActive Publication Date: 2026-09-18真诺测量仪表(上海)有限公司
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410024841.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-08
Publication Date
2026-09-18
Estimated Expiration
2044-01-08

AI Technical Summary

Technical Problem

[0003]现有的对于标识识别的扫描枪识别方法或基于计算机视觉的图像识别方法成本较高,基于电路分析的识别方法识别效率低,具有较高的复杂度

Benefits of technology

[0016] The PCBA version identification system and method provided by this invention have simple testing procedures and control circuits. They utilize the microcontroller's I/O ports on the PCBA board to read the level status. The microcontroller's built-in program identifies different suppliers or hardware versions based on the different level statuses of the I/O ports, which can improve the accuracy and efficiency of mark identification. Moreover, this solution has the advantages of low cost, easy implementation, and scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117825930B_ABST
    Figure CN117825930B_ABST
Patent Text Reader

Abstract

The application discloses a PCBA version identification system and method, wherein a plurality of series resistors are arranged on a measured PCBA, and a plurality of input and output ports of a single-chip microcomputer on the measured PCBA are connected between the common ends of the two resistors; the resistance values of the resistors correspond to different suppliers or hardware versions respectively; and the single-chip microcomputer is used for identifying the different suppliers or hardware versions according to the level states of the plurality of input and output ports. The scheme can improve the accuracy and efficiency of supplier marking and hardware version identification in the PCBA, and is low in cost, scalable and easy to implement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of PCBA data management technology, specifically to a PCBA version identification system and identification method. Background Technology

[0002] PCBA (PCBA Assembly) involves mounting various electronic components onto a printed circuit board and connecting them using soldering methods to form a complete circuit system. In the PCBA manufacturing process, a single PCBA may involve multiple suppliers or have various different hardware surface mount versions. To differentiate products from different suppliers or different hardware versions, and to facilitate quality analysis and traceability, different suppliers need to mark their PCBAs differently. Different manufacturers are identified based on the identification codes or manufacturer markings on the PCBA, and different hardware versions are identified based on component markings, PCB design documents, or manufacturer documentation.

[0003] Existing methods for identifying tags, such as barcode scanners or computer vision-based image recognition, are costly, while circuit analysis-based methods are inefficient and complex. Summary of the Invention

[0004] To improve the efficiency and accuracy of PCBA version identification, this solution provides a PCBA version identification system and method. It identifies different supplier or hardware versions by the level status of the microcontroller's I / O ports. No AD converter or other peripherals are required. This solution is low-cost, scalable, and easy to implement, and can improve the accuracy and efficiency of version identification.

[0005] According to a first aspect of the present invention, a PCBA version identification system is provided, wherein a plurality of resistors are provided in series on the PCBA under test, and a plurality of input / output ports of a microcontroller on the PCBA under test are connected between the common terminals of two resistors; the resistance values ​​of the resistors correspond to different suppliers or hardware versions; the microcontroller is used to identify different suppliers or hardware versions based on the level states of the plurality of input / output ports.

[0006] In this solution, the microcontroller's built-in program can distinguish the different configurations of multiple resistors without the need for an AD converter or other peripherals, resulting in low detection costs. Furthermore, the number of resistors and I / O ports can be expanded according to actual needs, which can improve the accuracy and efficiency of PCBA version identification.

[0007] Optionally, in the PCBA version identification system provided by the present invention, when one input / output port of the microcontroller outputs a high level, the other input / output ports are in input mode. The microcontroller is used to identify different suppliers or different hardware versions by reading the level status of the other input / output ports.

[0008] Optionally, in the PCBA version identification system provided by this invention, when the number of input / output ports is n, the number of series resistors required is n+1, and the number of input / output port level state combinations that the microcontroller can recognize is 2. n .

[0009] Optionally, in the PCBA version identification system provided by the present invention, when it is not necessary to detect the level state, multiple input and output ports of the microcontroller are set to high impedance or output low level.

[0010] Optionally, in the PCBA version identification system provided by the present invention, the multiple series resistors include a first resistor, a second resistor, and a third resistor. One end of the first resistor is connected to the power supply ground, and the other end is connected in series with the second resistor. One end of the second resistor is connected to the first resistor, and the other end is connected to the third resistor. One end of the third resistor is connected to the second resistor, and the other end is connected to the power supply ground.

[0011] Optionally, in the PCBA version identification system provided by the present invention, the microcontroller includes a first IO port and a second IO port. The first IO port is connected between the common terminal of the first resistor and the second resistor, and the second IO port is connected between the common terminal of the second resistor and the third resistor.

[0012] Optionally, in the PCBA version identification system provided by the present invention, when the first IO port outputs a high level, the second IO port of the microcontroller is set to input mode, and the microcontroller is used to read the level state of the second IO port; When the second I / O port outputs a high level, the microcontroller's first I / O port is set to input mode, and the microcontroller is used to read the level state of the first I / O port; The microcontroller is used to identify different vendors or hardware versions based on the voltage levels of the second and first I / O ports.

[0013] Optionally, in the PCBA version identification system provided by the present invention, different resistance values ​​of the first resistor, the second resistor, and the third resistor are configured to make the voltage levels of the first IO port and the second IO port different.

[0014] Optionally, in the PCBA version identification system provided by the present invention, the system further includes a communication interface and a test bench. The communication interface is connected to a microcontroller, and the test bench obtains supplier information or hardware version information through the communication interface.

[0015] According to a second aspect of the present invention, a PCBA version identification method is provided, comprising: Set the number and value of series resistors and the number of microcontroller input / output ports according to the number of suppliers or hardware versions; set the input or output mode of the microcontroller input / output ports; when a certain input / output port outputs a high level, set the other input / output ports to input mode and read the level status of the other input / output ports; Different vendors or hardware versions are identified by matching the level states of each input and output port.

[0016] The PCBA version identification system and method provided by this invention have simple testing procedures and control circuits. They utilize the microcontroller's I / O ports on the PCBA board to read the level status. The microcontroller's built-in program identifies different suppliers or hardware versions based on the different level statuses of the I / O ports, which can improve the accuracy and efficiency of mark identification. Moreover, this solution has the advantages of low cost, easy implementation, and scalability.

[0017] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0018] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 A schematic diagram of a PCBA version identification system according to an embodiment of the present invention is shown. Detailed Implementation

[0019] To improve the efficiency and accuracy of PCBA multi-vendor identification or hardware version tracking, this solution provides a PCBA version identification system and method. By identifying the resistor configuration corresponding to different vendors through the level state of the microcontroller I / O ports on the PCBA board, the efficiency and accuracy of PCBA version identification can be improved. Moreover, the test program and control circuit are simple, and it has the advantages of low cost, low power consumption and easy expansion.

[0020] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0021] In the PCBA version identification system provided by this invention, multiple resistors are connected in series on the PCBA board under test, and multiple input / output ports of the microcontroller on the PCBA under test are respectively connected between the common terminals of two adjacent resistors; the resistance values ​​of the resistors correspond to different suppliers or hardware versions; the microcontroller is used to identify different suppliers or hardware versions based on the level states of the multiple input / output ports.

[0022] When there are many suppliers or hardware versions, expansion can be achieved by adding microcontroller I / O ports. When the number of input / output ports is n, the number of resistors required is n+1, and the microcontroller can recognize 2^n combinations of input / output port level states. n .

[0023] Figure 1 A schematic diagram of a PCBA version identification system according to an embodiment of the present invention is shown. Figure 1 As shown, the system includes a microcontroller, a first resistor R1, a second resistor R2, and a third resistor R3. One end of the first resistor R1 is connected to the power supply ground, and the other end is connected in series with the second resistor R2. One end of the second resistor R2 is connected to the first resistor R1, and the other end is connected to the third resistor R3. One end of the third resistor R3 is connected to the second resistor R2, and the other end is connected to the power supply ground.

[0024] The microcontroller is equipped with a first IO port IO1 and a second IO port IO2. The first IO port IO1 is connected between the common terminal of the first resistor R1 and the second resistor R2, and the second IO port IO2 is connected between the common terminal of the second resistor R2 and the third resistor R3.

[0025] When one input / output port of the microcontroller outputs a high level, the other input / output ports are in input mode. The microcontroller uses the reading of the level status of the other input / output ports to identify different suppliers or different hardware versions.

[0026] Combination Figure 1 As shown, when the first IO port IO1 outputs a high level, the microcontroller sets the second IO port IO2 to input mode and reads the level state S2 of the second IO port IO2.

[0027] When the second IO port IO2 outputs a high level, the microcontroller sets the first IO port IO1 to input mode and reads the level state S1 of the first IO port IO1.

[0028] The microcontroller is used to identify different vendors or hardware versions based on the level state S2 of the second IO port IO2 and the level state S1 of the first IO port IO1.

[0029] Table 1 shows the correspondence between resistance values ​​and voltage levels for different suppliers according to an embodiment of the present invention. R1 1k 1k 100k 100k R2 10k 10k 10k 10k R3 100k 1k 1k 100k S1 Low Low high high S2 high Low Low high

[0030] Table 2 shows the correspondence between resistance values ​​and voltage levels for different hardware versions according to an embodiment of the present invention. R1 1k 1k 100k 100k R2 10k 10k 10k 10k R3 100k 1k 1k 100k S1 Low Low high high S2 high Low Low high

[0031] As shown in Tables 1 and 2 above, different resistance values ​​of the first resistor R1, the second resistor R2, and the third resistor R3 result in different voltage levels for the first and second I / O ports. For example, when R1 = 1KΩ, R2 = 10KΩ, and R3 = 100KΩ, the corresponding voltage levels of S1 and S2 are low-high, indicating that it is version 1 or supplier A. This pattern continues, and will not be elaborated further.

[0032] To reduce system power consumption, when level detection is not required, the microcontroller can set each input / output port to a high-impedance state. In this case, the detection circuit does not consume power, thus reducing test power consumption.

[0033] like Figure 1 As shown, the PCBA version identification system also includes a communication interface and a test bench. The communication interface can be a wireless communication interface (WiFi, Bluetooth, etc.) or a wired communication interface (serial port, USB, etc.). When the communication interface is a wireless communication interface, remote testing of the PCBA version can be achieved. The test bench can obtain supplier information or hardware version information through the communication interface.

[0034] This solution also provides a PCBA version identification method, including: First, determine the number and value of series resistors and the number of microcontroller input / output ports based on the number of suppliers or hardware versions.

[0035] For example, if the number of suppliers is n, then the number of series resistors is set to n+1, and the number of microcontroller I / O ports is n. The resistance values ​​of different resistors can be set in a 10-fold ratio so that the voltage level of the microcontroller I / O ports changes accordingly based on the different resistance values.

[0036] Set the input or output mode of the microcontroller's input / output ports. When one input / output port outputs a high level, set the other input / output ports to input mode and read the level status of the other input / output ports.

[0037] It should be noted that when the number of microcontroller I / O ports is n, the number of recognizable level state combinations is 2^n. n indivual.

[0038] Different vendors or hardware versions can be identified by matching the voltage levels of each input / output port. Different vendors or hardware versions can be distinguished based on the voltage levels corresponding to different resistor values.

[0039] The PCBA version identification system and method provided by this invention can read the level status using the microcontroller IO port on the PCBA board. The built-in program of the microcontroller can identify different suppliers or hardware versions based on the different level statuses of the IO port, which can improve the accuracy and efficiency of mark identification. The test program and control circuit are simple, and it has the advantages of low cost, easy implementation and scalability.

[0040] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.

[0041] Similarly, it should be understood that, in order to streamline this disclosure and aid in understanding one or more of the various aspects of the invention, in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof. However, this method of disclosure should not be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as reflected in the following claims, inventive aspects lie in fewer than all features of a single foregoing disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into this detailed description, wherein each claim itself is a separate embodiment of the invention.

[0042] Those skilled in the art will understand that modules, units, or components of the devices disclosed in the examples herein can be arranged in the devices described in this embodiment, or alternatively, can be located in one or more devices different from the devices in this example. The modules in the foregoing examples can be combined into a single module or, in addition, can be divided into multiple sub-modules.

[0043] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or device so disclosed. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.

[0044] Furthermore, those skilled in the art will understand that although some embodiments described herein include certain features but not others included in other embodiments, combinations of features from different embodiments are intended to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.

[0045] Furthermore, some of the embodiments described herein are methods or combinations of method elements that can be implemented by a processor of a computer system or by other means of performing the functions. Therefore, a processor having the necessary instructions for implementing the methods or method elements forms means for implementing the methods or method elements. Furthermore, the elements described herein in the apparatus embodiments are examples of means for implementing the functions performed by elements for the purposes of carrying out the invention.

[0046] As used herein, unless otherwise specified, the use of ordinal numbers such as “first,” “second,” “third,” etc., to describe ordinary objects merely indicates different instances of similar objects and is not intended to imply that the objects being described must have a given order in time, space, ordering, or any other manner.

[0047] Although the invention has been described with respect to a limited number of embodiments, those skilled in the art will understand from the foregoing description that other embodiments are conceivable within the scope of the invention described herein. Furthermore, it should be noted that the language used in this specification has been chosen primarily for readability and edibility purposes, and not for the purpose of interpreting or limiting the subject matter of the invention. Therefore, many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the appended claims. The disclosure of the invention is illustrative rather than restrictive, and the scope of the invention is defined by the appended claims.

Claims

1. A PCBA version identification system, characterized in that, The PCBA under test has multiple resistors connected in series. Multiple input / output ports of the microcontroller on the PCBA are connected between the common terminals of two of these resistors. The resistance values ​​of these resistors correspond to different suppliers or hardware versions. The microcontroller identifies different suppliers or hardware versions based on the voltage levels of the multiple input / output ports. When one input / output port of the microcontroller outputs a high level, the other input / output ports are set to input mode. The microcontroller identifies different suppliers or hardware versions by reading the voltage levels of the other input / output ports.

2. The PCBA version identification system according to claim 1, characterized in that, When the number of input / output ports is n, the number of series resistors is n+1, and the number of input / output port level state combinations that the microcontroller can recognize is... .

3. The PCBA version identification system according to claim 1, characterized in that, When level detection is not required, multiple input / output ports of the microcontroller are set to a high-impedance state.

4. The PCBA version identification system according to claim 1, characterized in that, The plurality of resistors connected in series include a first resistor, a second resistor, and a third resistor. One end of the first resistor is connected to the power supply ground, and the other end is connected in series with the second resistor. One end of the second resistor is connected to the first resistor, and the other end is connected to the third resistor. One end of the third resistor is connected to the second resistor, and the other end is connected to the power supply ground.

5. The PCBA version identification system according to claim 4, characterized in that, The microcontroller includes a first I / O port and a second I / O port. The first I / O port is connected between the common terminal of the first resistor and the second resistor, and the second I / O port is connected between the common terminal of the second resistor and the third resistor.

6. The PCBA version identification system according to claim 5, characterized in that, When the first I / O port outputs a high level, the second I / O port of the microcontroller is set to input mode, and the microcontroller is used to read the level state of the second I / O port; When the second I / O port outputs a high level, the first I / O port of the microcontroller is set to input mode, and the microcontroller is used to read the level state of the first I / O port; The microcontroller is used to identify different vendors or hardware versions based on the level states of the second I / O port and the first I / O port.

7. The PCBA version identification system according to claim 6, characterized in that, The different resistance values ​​of the first, second, and third resistors result in different voltage levels at the first and second I / O ports.

8. The PCBA version identification system according to claim 1, characterized in that, The system also includes a communication interface and a test bench. The communication interface is connected to a microcontroller, and the test bench obtains supplier information or hardware version information through the communication interface.

9. A PCBA version identification method, characterized in that, include: The number and resistance value of series resistors on the PCBA board and the number of microcontroller input / output ports are set according to the number of suppliers or the number of hardware versions. The multiple input / output ports of the microcontroller on the PCBA board are respectively connected between the common terminals of two resistors in the series resistors. Set the input or output mode of the microcontroller's input / output ports. When one input / output port outputs a high level, set the other input / output ports to input mode and read the level status of the other input / output ports. Different vendors or hardware versions can be identified based on the voltage levels of each input / output port. If the number of suppliers is n, then the number of series resistors is n+1, the number of microcontroller I / O ports is n, and the number of input / output port level state combinations that the microcontroller can recognize is n+1. .

Citation Information

Patent Citations

  • Identification circuit of PCBA board and identification method of PCBA board

    CN103268240A

  • Hardware equipment and hardware version distinguishing device and method thereof

    CN111611113A

  • Hardware version identification circuit and electronic equipment

    CN215729358U