A PCB component tracking display method, system and computer readable storage medium
By using marking color display technology during PCB board welding, the problems of component position welding errors and missed welding are solved, and the welding quality and efficiency are improved.
Patent Information
- Application Number
- CN202110131886.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-30
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2041-01-30
AI Technical Summary
During the welding process, PCB boards are prone to incorrect or missed welding of components, resulting in production efficiency and quality problems.
Provide a method for tracking and displaying PCB components. By configuring marking colors for various component types, reading PCB layout, dividing and numbering selection areas, identifying component points and labeling numbers, and displaying marking colors according to display requests for welding. Personnel accurately locate and weld.
Through marking color display, welding personnel can accurately compare the displayed marking color and perform correct component welding on the PCB board, reducing welding errors and missed welding, thereby improving welding quality and efficiency.
Smart Images

Figure CN112801985B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of tracking display technology, and in particular to a PCB component tracking display method, system and computer-readable storage medium. Background Art
[0002] PCB (Printed Circuit Board), also known as printed circuit board in Chinese, is an important electronic component and a carrier for the electrical connection of electronic components. Almost every electronic device, from electronic watches, calculators to communication electronic equipment, computers, etc., as long as there are electronic components such as integrated circuits, must use printed circuit boards to achieve electrical interconnection between various components.
[0003] Generally, after designing the circuit schematic, generating the PCB, and laying out the components, a drawn PCB drawing can be obtained. The PCB board is produced according to the drawn PCB drawing, and finally the corresponding components are soldered to the corresponding positions on the PCB board to obtain a PCBA, that is, the assembled product of the circuit board.
[0004] Currently, there are welding robots or laser welding machines that can be used to weld components to PCB blanks, but due to production costs and the welding accuracy of some components, some PCBs are also welded manually. When welding, workers need to compare the drawn PCB diagram for welding, but a PCB board usually needs to weld many components, and there are many types of components. There are often multiple components of the same type, so it is easy for components on the PCB board to be welded in the wrong position or leaked. Summary of the invention
[0005] In order to improve the situation where components on a PCB board are easily soldered in the wrong position or missed, the present application provides a PCB component tracking and display method, system and computer-readable storage medium.
[0006] In a first aspect, the present application provides a PCB component tracking and display method, which adopts the following technical solution:
[0007] A PCB component tracking and display method, the tracking and display method comprising:
[0008] Mark color configuration, configuring mark colors for various component types, and the component types and mark colors correspond one to one;
[0009] Component surface acquisition: obtain and read the PCB layout of the PCB board to be soldered, and obtain and display the component surface of the PCB layout;
[0010] The selection area is obtained, the component surface is divided, a plurality of selection areas and position information of the selection areas are obtained, the selection areas are numbered, and the position information of the selection areas and the numbers are stored in a mapping relationship;
[0011] Component identification, identifying the component surface, obtaining and storing the mapping relationship between the location, number and type of each component on the component surface; and,
[0012] Component tracking: according to the received display request, the location of the component corresponding to the display request is displayed in a marked color;
[0013] The display request includes any one of a selection area number, a component type and a component label.
[0014] By adopting the above technical scheme, marking colors are first assigned to various types of components. When components are to be soldered on a PCB board, the PCB layout of the PCB board is first read to obtain the component surface to be soldered, and then the component surface is divided into multiple selection areas, and the selection areas are numbered to obtain a mapping relationship between the position information of the selection areas and the numbers, and at the same time, the points, numbers and types of each component are obtained. When a display request is received, the corresponding component points can be displayed in the marking color according to the display request, that is, the selection area number, component type or component number, so that the welding personnel can compare the displayed marking color and solder the components at the points corresponding to the marking color on the PCB board, or can check whether the welding is wrong or leaking, which helps to improve the situation where the PCB board is prone to wrong position soldering or leaking.
[0015] Optionally, the method for obtaining the selected area includes:
[0016] Based on the division ratio, the component surface is divided to obtain multiple selection areas;
[0017] The obtained multiple selection areas are numbered in the order of numbers, and the position information of each selection area is obtained; and,
[0018] The position information and number of the selected area are stored in a mapping relationship.
[0019] By adopting the above technical solution, the component surface is divided into multiple selection areas and numbered, the position information of each selection area is obtained, and the position information and the number are stored in a mapping relationship, so that the welding personnel only need to send a display request about the selection area number to find the corresponding selection area, which helps to quickly locate the selection area according to the selection area number.
[0020] Optionally, the method for obtaining the location information includes:
[0021] Construct the component surface as an N*M two-dimensional lattice diagram; and,
[0022] Based on the position of each selection area in the two-dimensional lattice image, the two-dimensional coordinates of each selection area are obtained, and the two-dimensional coordinates of the selection area are corresponding position information;
[0023] Wherein, N is the number of selected areas on the horizontal axis of the two-dimensional lattice diagram, and M is the number of selected areas on the vertical axis of the two-dimensional lattice diagram.
[0024] By adopting the above technical solution, the component surface is converted into two-dimensional coordinates according to the number of divided selection areas, so that the selection area can be located using the two-dimensional coordinates as position information, thereby facilitating the acquisition of position information of each selection area.
[0025] Optionally, the component identification method includes:
[0026] Identify and read the component surface to obtain the number and location of each component on the component surface;
[0027] According to the component number, get the type of component; and,
[0028] The number, location and type of each component are stored in a mapping relationship.
[0029] By adopting the above technical solution, the numbers and positions of components on the component surface of the PCB layout are read, and the type of the component is obtained according to the number, and the number, position and type of each component are mapped to each other, so that the corresponding position of the component can be obtained by the number or type, thereby facilitating the positioning of the component on the component surface.
[0030] Optionally, the component tracking method includes:
[0031] receiving a display request and judging the display request;
[0032] If the display request is a selection area number, the corresponding position information is called to obtain the corresponding selection area and the total position of all components in the selection area, and the total position is marked with a color display;
[0033] If the display request is for component type or component number, the corresponding component point will be displayed in a marked color.
[0034] By adopting the above technical solution, after receiving a display request, the display request is judged. If it is a selection area number, the points of all components in the selected area are displayed in the marked color. If it is a component or a component number, the corresponding component point is displayed in the marked color. In this way, corresponding color display actions can be performed according to different display requests, thereby improving the user experience of welders.
[0035] In a second aspect, the present application provides a PCB component tracking and display system, which adopts the following technical solution:
[0036] A PCB component tracking and display system includes a marking color configuration module, a component surface acquisition module, a selection area acquisition module, a component identification module, a storage module and a component tracking module; wherein,
[0037] The marking color configuration module is used to configure marking colors for various component types, and the component types and marking colors correspond one to one;
[0038] The component surface acquisition module is used to acquire and read the PCB layout of the PCB board to be soldered, and obtain and display the component surface of the PCB layout;
[0039] The selection area acquisition module is used to divide the component surface, obtain multiple selection areas and position information of the selection areas, and number the selection areas;
[0040] The component identification module is used to identify the component surface, obtain and store the mapping relationship between the point position, number and type of each component on the component surface;
[0041] The storage module is used to store the position information and number of the selected area in a mapping relationship, and to store the mapping relationship between the position, number and type of each component on the component surface;
[0042] The component tracking module is used to call the mapping relationship of the storage module according to the received display request, and display the point of the component corresponding to the display request in a marked color;
[0043] The display request includes any one of a selection area number, a component type and a component label.
[0044] By adopting the above technical solution, the marking color configuration module assigns marking colors to various types of components. When components are to be soldered on the PCB board, the component surface acquisition module reads the PCB layout of the PCB board to obtain the component surface to be soldered. The selection area acquisition module divides the component surface into multiple selection areas, and numbers the selection areas, obtains and sends the mapping relationship between the position information of the selection areas and the numbers to the storage module for storage. The component identification module obtains the points, numbers and types of each component, and stores the mapping relationship between the points, numbers and types in the storage module. When the component tracking module receives a display request, it can call the mapping relationship of the storage module according to the display request, that is, the selection area number, component type or component number, so that the corresponding component points are displayed in the marking color, so that the welding personnel can compare the displayed marking color and solder the components at the points corresponding to the marking color on the PCB board, or can check whether the welding is wrong or leaking, which helps to improve the situation where the PCB board is prone to wrong position soldering or leaking.
[0045] Optionally, the selection area acquisition module includes a division unit, a numbering unit, a position information acquisition unit and a first mapping relationship sending unit; wherein,
[0046] The division unit is used to divide the component surface based on the division ratio to obtain multiple selection areas;
[0047] The numbering unit is used to number the obtained multiple selection areas according to the numbering sequence;
[0048] The position information acquisition unit is used to construct the component surface into an N*M two-dimensional lattice map, and obtain the two-dimensional coordinates of each selection area based on the position of each selection area in the two-dimensional lattice map, and the two-dimensional coordinates of the selection area are the corresponding position information;
[0049] The first mapping relationship sending unit obtains and sends a mapping relationship between the position information of the selected area and the number;
[0050] Wherein, N is the number of selected areas on the horizontal axis of the two-dimensional lattice diagram, and M is the number of selected areas on the vertical axis of the two-dimensional lattice diagram.
[0051] By adopting the above technical solution, the dividing unit and the numbering unit divide the component surface into multiple selection areas and number them, the position information acquisition unit obtains the position information of each selection area, and the first mapping relationship sending unit obtains and sends the mapping relationship between the position information and the number for storage, so that the welding personnel only need to send a display request for the selection area number to find the corresponding selection area through the mapping relationship, which helps to quickly locate the selection area according to the selection area number.
[0052] Optionally, the component identification module includes an identification and reading unit, a type acquisition unit and a second mapping relationship sending unit; wherein,
[0053] The identification and reading unit is used to identify and read the component surface to obtain the number and point position of each component on the component surface;
[0054] The type acquisition unit is used to obtain the type of the component according to the label of the component;
[0055] The second mapping relationship sending unit is used to obtain and send the mapping relationship between the label, location and type of each component.
[0056] By adopting the above technical solution, the identification and reading unit reads the number and position of the components on the component surface of the PCB layout, the type acquisition unit obtains the type of the component according to the number, and the second mapping relationship unit obtains the mapping relationship between the number, position and type of each component, and sends it to the storage module, so that the corresponding component position can be obtained by number or type, thereby facilitating the positioning of the component on the component surface.
[0057] Optionally, the component tracking module includes a receiving unit and a processing and display unit; wherein,
[0058] The receiving unit is used to receive a display request;
[0059] The processing and display unit is used to judge the display request and display the point of the component corresponding to the display request in a marked color.
[0060] By adopting the above technical solution, after the receiving unit receives the display request, the processing display unit judges the display request. If it is a selection area number, the points of all components in the selected area are displayed in the marked color. If it is a component or a component number, the corresponding component point is displayed in the marked color. In this way, the corresponding color display action can be performed according to different display requests, thereby improving the user experience of welders.
[0061] In a third aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:
[0062] A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any one of the methods in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 This is the first flow chart of a PCB component tracking and display method according to an embodiment of the present application.
[0064] Figure 2This is the second flow chart of a PCB component tracking and display method according to an embodiment of the present application.
[0065] Figure 3 This is the third flow chart of a PCB component tracking and display method according to an embodiment of the present application.
[0066] Figure 4 It is a structural schematic diagram of a PCB component tracking and display system according to an embodiment of the present application.
[0067] Figure 5 It is a structural diagram of the selection area acquisition module of an embodiment of the present application.
[0068] Figure 6 It is a structural diagram of a component identification module according to an embodiment of the present application.
[0069] Figure 7 It is a structural diagram of a component tracking module according to an embodiment of the present application.
[0070] Explanation of the reference numerals: 201, marking color configuration module; 202, component surface acquisition module; 203, selection area acquisition module; 2031, division unit; 2032, numbering unit; 2033, position information acquisition unit; 2034, first mapping relationship sending unit; 204, component identification module; 2041, identification and reading unit; 2042, type acquisition unit; 2043, second mapping relationship sending unit; 205, component tracking module; 2051, receiving unit; 2052, processing and display unit; 206, storage module. DETAILED DESCRIPTION
[0071] The following is combined with Figure 1-Figure 7 This application is described in further detail.
[0072] The present application embodiment discloses a PCB component tracking and display method. Figure 1 The tracking display method includes marking color configuration 101, component surface acquisition 102, selection area acquisition 103, component identification 104 and component tracking 105.
[0073] Mark color configuration 101, configures mark colors for various component types, and component types and mark colors correspond one to one.
[0074] Component types include resistors, capacitors, inductors, potentiometers, electron tubes, heat sinks, electromechanical components, connectors, discrete semiconductor devices, electroacoustic devices, laser devices, electronic display devices, optoelectronic devices, sensors, power supplies, switches, micro motors, electronic transformers, relays, printed circuit boards, integrated circuits, various circuits, piezoelectric, crystals, quartz, ceramic magnetic materials, substrates for printed circuits, special materials for electronic functional processes, electronic adhesive (tape) products, electronic chemical materials and components, and other electronic devices.
[0075] Marking colors include any color of red, orange, yellow, green, cyan, blue, purple, etc.
[0076] Component surface acquisition 102, acquires and reads the PCB layout of the PCB board to be soldered, and obtains and displays the component surface of the PCB layout.
[0077] It should be noted that the obtained PCB board can be imported, or can be a pre-stored PCB layout called, or can be scanned and entered.
[0078] Generally, a single-layer PCB has only one component side, and a double-layer PCB or a multi-layer PCB has two component sides. If the component side is two-sided, both sides will be displayed together.
[0079] The selection area acquisition 103 divides the component surface to obtain a plurality of selection areas and position information of the selection areas, numbers the selection areas, and stores the position information of the selection areas and the numbers in a mapping relationship.
[0080] A component surface can be divided into 2, 3, 4, 5 selection areas, etc. The specific number of selection areas can be divided according to actual needs. Numbers can be numbered with Arabic numerals, English letters or Chinese numbers, such as top, bottom, left, right, etc.
[0081] Component identification 104 identifies the component surface, obtains and stores the mapping relationship between the location, number and type of each component on the component surface.
[0082] In PCB boards, PCB layouts, or circuit schematics, resistors are generally represented by R, and inductors are generally represented by L, that is, each component has its own corresponding universal number, so after obtaining the component number, the type of component can be obtained. The point position of the component, that is, the pad of the component, the number of pads of a component is 1, 2, or more.
[0083] Component tracking 105 displays the location of the component corresponding to the display request in a marked color according to the received display request.
[0084] The display request includes any one of a selection area number, a component type, and a component label.
[0085] After receiving the display request, judging the display request; and,
[0086] If the display request is a selection area number, the corresponding position information is called to obtain the corresponding selection area on the component surface, and the total point positions of all components in the selection area are obtained, and the total point positions are displayed in a marked color;
[0087] If the display request is a component type or a component number, the corresponding component position will be displayed in a marked color.
[0088] The component corresponding to a component number is unique, and the component type corresponds to one or more components. That is, when the display request is R, all resistors on the component surface will be displayed in color.
[0089] As an implementation method of the tracking display mode execution steps, the marking color configuration 101 may be implemented first, and then the component surface acquisition 102, the selection area acquisition 103 and the component identification 104 are performed in sequence, and finally the component tracking 105 is performed. Alternatively, the component surface acquisition 102, the selection area acquisition 103 and the component identification 104 are performed in sequence, and then the marking color configuration 101 is performed, and finally the component tracking 105 is completed. Among them, the selection area acquisition 103 and the component identification 104 may be performed in reverse order or simultaneously.
[0090] It should be noted that the above implementation order is not the only execution order, and the order can be adaptively changed according to the specific application environment.
[0091] Welders can send corresponding display requests according to their welding needs or inspection needs, so that the corresponding points on the PCB layout can be displayed in marked colors, so that welders can compare the points displayed in marked colors on the PCB layout with the corresponding positions on the PCB board to perform welding or inspection to see if there is wrong welding or leakage.
[0092] Reference Figure 2 As an implementation of the selection area acquisition 103, the selection area acquisition 103 includes step 1031, step 1032 and step 1033.
[0093] 1031. Based on the division ratio, the component surface is divided to obtain multiple selection areas.
[0094] The division ratio can be pre-set or set immediately. The division ratio includes any ratio such as 1:8, 1:2, 1:3, 1:4, etc., among which 1:8 means that the component surface is taken as 1, and 8 selection areas are obtained after division, that is, the component surface is divided into 8 areas, and the area size of each area is the same.
[0095] 1032. Number the obtained multiple selection areas according to the numbering sequence, and obtain the position information of each selection area.
[0096] The numbering order can be from left to right and then from top to bottom, or from top to bottom and then from left to right.
[0097] As an implementation method of obtaining the location information, the method includes:
[0098] Construct the component surface as an N*M two-dimensional lattice diagram; and,
[0099] Based on the position of each selection area in the two-dimensional lattice map, the two-dimensional coordinates of each selection area and the position information corresponding to the two-dimensional coordinates of the selection area are obtained.
[0100] Wherein, N is the number of selected areas on the horizontal axis of the two-dimensional lattice diagram, and M is the number of selected areas on the vertical axis of the two-dimensional lattice diagram.
[0101] 1033. Store the location information and number of the selected area in a mapping relationship.
[0102] There is a mapping relationship between the position information and the number of each selection area, that is, the position information can be obtained through the number, and the number can also be obtained through the position information.
[0103] Reference Figure 3 As an implementation of component identification 104 , component identification 104 includes step 1041 , step 1042 , and step 1043 .
[0104] 1041. Identify and read the component surface to obtain the number and location of each component on the component surface.
[0105] 1042. Obtain the type of the component according to the component number.
[0106] 1043. The number, location and type of each component are stored in a mapping relationship.
[0107] The mapping relationship between the label, position and type of each component, that is, there is a mapping relationship between the label and the position, and there is also a mapping relationship between the type and the position. Therefore, the position can be obtained through both the label and the type, but when it needs to be explained, the component corresponding to a label is unique.
[0108] The present application also discloses a PCB component tracking and display system. Figure 4 , including a marking color configuration module 201, a component surface acquisition module 202, a selection area acquisition module 203, a component identification module 204, a storage module 206 and a component tracking module 205.
[0109] The marking color configuration module 201 is used to configure marking colors for various component types, and the component types and marking colors correspond one to one.
[0110] Welders can configure the marking color for component types every time they use the PCB component tracking display system. They can also configure the marking color for the first time and use the initially configured marking color in the future, that is, they only need to configure the marking color once.
[0111] The component surface acquisition module 202 is used to acquire and read the PCB layout of the PCB board to be soldered, and obtain and display the component surface of the PCB layout.
[0112] The selection area acquisition module 203 is used to divide the component surface, obtain multiple selection areas and position information of the selection areas, and number the selection areas.
[0113] The component identification module 204 is used to identify the component surface, obtain and store the mapping relationship between the location, number and type of each component on the component surface.
[0114] It should be noted that the obtained PCB board can be imported through network communication or wireless communication, can be a pre-stored PCB layout called, or can be scanned and entered.
[0115] The mapping relationship between the label, location and type of each component, that is, there is a mapping relationship between the label and the location, and there is also a mapping relationship between the type and the location.
[0116] The storage module 206 is used to store the position information and the number of the selected area in a mapping relationship, and to store the mapping relationship between the position, number and type of each component on the component surface.
[0117] The component tracking module 205 is used to call the mapping relationship of the storage module 206 according to the received display request, and display the point of the component corresponding to the display request in a marked color.
[0118] The display request includes any one of a selection area number, a component type, and a component label.
[0119] Reference Figure 5 , as an implementation of the selection area acquisition module 203, includes a division unit 2031, a numbering unit 2032, a position information acquisition unit 2033 and a first mapping relationship sending unit 2034.
[0120] A division unit 2031 is used to divide the component surface based on a division ratio to obtain a plurality of selection areas;
[0121] A numbering unit 2032 is used to number the obtained multiple selected areas according to the order of the numbers;
[0122] The position information acquisition unit 2033 is used to construct the component surface into an N*M two-dimensional lattice map, and obtain the two-dimensional coordinates of each selection area based on the position of each selection area in the two-dimensional lattice map, and the two-dimensional coordinates of the selection area are the corresponding position information;
[0123] The first mapping relationship sending unit 2034 obtains and sends the mapping relationship between the position information of the selected area and the serial number.
[0124] N is the number of selected areas on the horizontal axis of the two-dimensional lattice diagram, and M is the number of selected areas on the vertical axis of the two-dimensional lattice diagram.
[0125] Reference Figure 6 , as an implementation of the component identification module 204 , includes an identification and reading unit 2041 , a type acquisition unit 2042 and a second mapping relationship sending unit 2043 .
[0126] The identification and reading unit 2041 is used to identify and read the component surface to obtain the number and point position of each component on the component surface;
[0127] A type acquisition unit 2042, used to obtain the type of a component according to the label of the component;
[0128] The second mapping relationship sending unit 2043 is used to obtain and send the mapping relationship between the label, location and type of each component.
[0129] Reference Figure 7 , as an implementation of the component tracking module 205, includes a receiving unit 2051 and a processing and display unit 2052; wherein,
[0130] The receiving unit 2051 is used to receive a display request;
[0131] The processing and display unit 2052 is used to judge the display request and display the point of the component corresponding to the display request in a marked color.
[0132] The receiving unit 2051 may receive the display request by reading the entered display request, voice recognition, or other receiving methods.
[0133] Processing display unit 2052 determines whether the display request is a selection area number, a component number, or a component type. If it is a selection area number, the mapping relationship between the number and the position information is called to locate and obtain the selection area on the component surface, and the points of all components in the selection area are displayed in a marked color. If it is a component number, the mapping relationship between the point position of the component and the number is called to display the corresponding point position of the component in a marked color. If it is a component type, according to the mapping relationship between the point position of the component and the type, the points of all components of the corresponding type are displayed in a marked color.
[0134] An embodiment of the present application also provides a computer-readable storage medium storing a computer program that can be loaded by a processor and execute any method in a PCB component tracking and display system.
[0135] The implementation principle of a PCB component tracking and display system in an embodiment of the present application is as follows: when soldering a PCB board, first import the PCB layout of the PCB board into the component surface acquisition module 202, the component surface acquisition module 202 reads the PCB layout to obtain the component surface, the selection area acquisition module 203 obtains the numbered selection area according to the component surface, the component identification module 204 identifies the point, number and type, and after receiving the display request, the component tracking module 205 displays the point of the compared component in a marked color, so that the actual PCB board can be soldered by comparing the position of the marked color on the displayed PCB layout.
[0136] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A PCB component tracking and display method, characterized in that: The tracking display method comprises: Mark color configuration (101), configuring a mark color for each component type, wherein the component type and the mark color correspond one to one; Component surface acquisition (102), acquiring and reading the PCB layout of the PCB board to be soldered, obtaining and displaying the component surface of the PCB layout; Selected area acquisition (103), dividing the component surface, obtaining a plurality of selected areas and position information of the selected areas, numbering the selected areas, and storing the position information of the selected areas and the numbers in a mapping relationship; Component identification (104), identifying the component surface, obtaining and storing the mapping relationship between the location, number and type of each component on the component surface; as well as, Component tracking (105), according to the received display request, the point of the component corresponding to the display request is displayed in a marked color; wherein the display request includes any one of the selection area number, component type and component number; The method of obtaining the selected area (103) comprises: Based on the division ratio, the component surface is divided to obtain multiple selection areas; The obtained multiple selection areas are numbered in the order of numbers, and the position information of each selection area is obtained; and, The location information and number of the selected area are stored in a mapping relationship; The method for obtaining the location information of the selected area includes: Construct the component surface as an N*M two-dimensional lattice diagram; and, Based on the position of each selection area in the two-dimensional lattice image, the two-dimensional coordinates of each selection area are obtained, and the two-dimensional coordinates of the selection area are corresponding position information; Wherein, N is the number of selected areas on the horizontal axis of the two-dimensional lattice diagram, and M is the number of selected areas on the vertical axis of the two-dimensional lattice diagram.
2. A PCB component tracking and display method according to claim 1, characterized in that: The component identification (104) method comprises: Identify and read the component surface to obtain the number and location of each component on the component surface; According to the component number, get the type of component; as well as, The number, type and location of each component are stored in a mapping relationship.
3. A PCB component tracking and display method according to claim 1, characterized in that: The component tracking (105) method comprises: receiving a display request and judging the display request; If the display request is a selection area number, the corresponding position information is called to obtain the total position of the corresponding selection area and all components in the selection area, and the total position is marked with a color; If the display request is for component type or component number, the corresponding component point will be displayed in a marked color.
4. A PCB component tracking and display system, characterized in that: It comprises a marking color configuration module (201), a component surface acquisition module (202), a selection area acquisition module (203), a component identification module (204), a storage module (206) and a component tracking module (205); wherein, The marking color configuration module (201) is used to configure marking colors for various component types, and the component types and marking colors correspond one to one; The component surface acquisition module (202) is used to acquire and read the PCB layout of the PCB board to be soldered, and obtain and display the component surface of the PCB layout; The selection area acquisition module (203) is used to divide the component surface, obtain multiple selection areas and position information of the selection areas, and number the selection areas; The component identification module (204) is used to identify the component surface, obtain and store the mapping relationship between the position, number and type of each component on the component surface; The storage module (206) is used to store the position information and the number of the selected area in a mapping relationship, and to store the mapping relationship between the position, number and type of each component on the component surface; The component tracking module (205) is used to call the mapping relationship of the storage module (206) according to the received display request, and display the point of the component corresponding to the display request in a marked color; Wherein, the display request includes any one of a selection area number, a component type and a component label; The selection area acquisition module (203) comprises a division unit (2031), a numbering unit (2032), a position information acquisition unit (2033) and a first mapping relationship sending unit (2034); wherein, The division unit (2031) is used to divide the component surface based on the division ratio to obtain a plurality of selection areas; The numbering unit (2032) is used to number the obtained multiple selection areas according to the numbering sequence; The position information acquisition unit (2033) is used to construct the component surface into an N*M two-dimensional lattice diagram, and obtain the two-dimensional coordinates of each selection area based on the position of each selection area in the two-dimensional lattice diagram, and the two-dimensional coordinates of the selection area are the corresponding position information; the first mapping relationship sending unit (2034) obtains and sends the mapping relationship between the position information of the selection area and the number; wherein N is the number of selection areas on the horizontal axis of the two-dimensional lattice diagram, and M is the number of selection areas on the vertical axis of the two-dimensional lattice diagram.
5. A PCB component tracking and display system according to claim 4, characterized in that: The component identification module (204) comprises an identification and reading unit (2041), a type acquisition unit (2042) and a second mapping relationship sending unit (2043); wherein, The identification and reading unit (2041) is used to identify and read the component surface to obtain the number and point position of each component on the component surface; The type acquisition unit (2042) is used to obtain the type of the component according to the component number; the second mapping relationship sending unit (2043) is used to obtain and send the mapping relationship between the number, point and type of each component.
6. A PCB component tracking and display system according to claim 5, characterized in that: The component tracking module (205) comprises a receiving unit (2051) and a processing and display unit (2052); wherein: The receiving unit (2051) is used to receive a display request; The processing and display unit (2052) is used to judge the display request and display the point of the component corresponding to the display request in a marked color.
7. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Method and device for checking PCBA through AR technology
CN107330143A
PCB line obtaining method and system, and PCB line maintenance method
CN107392903A