Adjustment Method and Device for Component Silk-Screen Designation
By adjusting and enlarging the screen print bit numbers in the PCB design software and establishing association relationships through the SKILL plug-in, the problem of overlapping and placement of screen print bit numbers in ultra-high density PCB is solved, and a more efficient adjustment process is achieved.
Patent Information
- Application Number
- CN202210608793.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-31
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2042-05-31
AI Technical Summary
In ultra-high density printed circuit boards (PCBs), the spacing between components is very small, resulting in no blank space around the components that can place silk screen number for designers. In some cases, the size of silk screen number is greater than the size of the component, so in this case, the placement of silk screen number becomes a very difficult problem.
By adjusting the screen printing position number in the PCB design software, reducing and moving it to the area outside the design area, using third-party software to enlarge it, and establishing the relationship between the screen printing position number and components through the SKILL plug-in, solving the problem of overlapping and placement of the screen printing position number.
Compared with manual operation, the adjustment time is reduced, the adjustment accuracy is increased, and the work efficiency is improved, which solves the problem of overlapping and placement of silk screen marks in the dense layout area of components.
Smart Images

Figure CN114925649B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of PCB design. Specifically, it relates to a method and device for adjusting the silkscreen reference designators of components. Background Art
[0002] In current printed circuit boards (PCBs), also known as printed wiring boards, the silkscreen reference designators of components on them often follow the principle of placing them nearby, that is, placing the silkscreen reference designators near the corresponding components, and the silkscreen layer composed of the silkscreen reference designators is displayed in the PCB design file.
[0003] However, for ultra-high density (high component density) PCBs, the spacing between components is very small or even approaches zero, resulting in no blank space around the components for designers to place the silkscreen reference designators. And in some cases, the size of the silkscreen reference designators is larger than the size of the components. Therefore, placing the silkscreen reference designators in this case becomes a very difficult problem. Summary of the Invention
[0004] The purpose of the embodiments of this application is to provide a method and device for adjusting the silkscreen reference designators of components to solve the above problems existing in the prior art. Compared with manual operation, it reduces the adjustment time, increases the adjustment accuracy, and improves the work efficiency.
[0005] In a first aspect, a method for adjusting the silkscreen reference designators of components is provided. The method may include:
[0006] Adjust the silkscreen reference designators in the PCB design file in the PCB design software to obtain the current PCB design file and multiple silkscreen reference designators to be adjusted in the corresponding file; the silkscreen reference designators to be adjusted are the overlapping silkscreen reference designators in the current PCB design file;
[0007] Move each silkscreen reference designator to be adjusted into the first area after reducing it by a preset ratio to obtain a new PCB design file and the first silkscreen layer document in the new PCB design file; the first area is the area outside the design area in the current PCB design file; the arrangement information of each reduced silkscreen reference designator in the first area is the same as the arrangement information in the current PCB design file; the preset ratio is a change ratio that ensures that adjacent silkscreen reference designators do not overlap;
[0008] Use the adjustment function of a third-party software to enlarge the first area containing each reduced silkscreen reference designator in the first silkscreen layer document by a preset ratio to obtain a second silkscreen layer document, where the second silkscreen layer document is the silkscreen layer document of the second area containing each enlarged silkscreen reference designator;
[0009] Replace the first silk screen layer document in the new PCB design file based on the second silk screen layer document to obtain a target PCB design file;
[0010] Move the second area containing each enlarged silk screen reference designator in the second silk screen layer document to the free area within the design area of the target PCB design file;
[0011] Use the association function of the SKILL plug-in to establish an association relationship between the enlarged silk screen reference designator and the corresponding component.
[0012] In a possible implementation, perform adjustment processing on the silk screen reference designators of the PCB design file in the PCB design software to obtain multiple silk screen reference designators to be adjusted in the current PCB design file and the corresponding file, including:
[0013] Adjust all the silk screen reference designators in the PCB design file according to a preset reference designator adjustment standard;
[0014] Move the adjusted silk screen reference designator to the center position of the corresponding component to obtain a preliminary current PCB design file;
[0015] Obtain the first component in the preliminary current PCB design file where the silk screen reference designators do not overlap and there is free space around the corresponding component, and move the silk screen reference designator of the first component to the free space to obtain the current PCB design file;
[0016] Determine the silk screen reference designator corresponding to the second component in the current PCB design file where the silk screen reference designators overlap and there is no free space around the corresponding component as the silk screen reference designator to be adjusted in the current PCB design file.
[0017] In a possible implementation, after reducing each silk screen reference designator to be adjusted by a preset ratio and moving it into the first area, obtain a new PCB design file and the first silk screen layer document in the new PCB design file, including:
[0018] After reducing each silk screen reference designator to be adjusted by a preset ratio, move each reduced silk screen reference designator into the first area according to the moving conditions of moving the same distance and in the same direction to obtain a new PCB design file and the first silk screen layer document in the new PCB design file.
[0019] In a possible implementation, based on the second silk screen layer document, replace the first silk screen layer document in the new PCB design file to obtain a target PCB design file, including:
[0020] In the new PCB design file, delete the first area containing each reduced silk screen reference designator in the first silk screen layer document to obtain a third silk screen layer document;
[0021] Add a second area containing an enlarged silk screen reference number in the second silk screen layer document outside the design area of the third silk screen layer document.
[0022] In a possible implementation, moving the second area containing the enlarged silk screen reference number in the second silk screen layer document to an idle area within the design area of the target PCB design file includes:
[0023] Detect whether the area of the idle area is not less than the area of the second area;
[0024] If the area of the idle area is not less than the area of the second area, move the second area containing the enlarged silk screen reference number in the second silk screen layer document to the idle area within the design area of the target PCB design file.
[0025] In a possible implementation, using the association function of the SKILL plug-in to establish an association relationship between the enlarged silk screen reference number and the corresponding component includes:
[0026] Obtain the silk file of the SKILL plug-in, and copy the associated component identifier, silk screen reference number, and reference number information of the silk screen reference number of each component in the silk file to the target application file;
[0027] For any component, if the associated component identifier corresponding to the component is an empty identifier, use the replacement function of the target application corresponding to the target application file to replace the empty identifier with the silk screen reference number in the target application file to obtain the modified associated component identifier;
[0028] Modify the silk file based on the modified associated component identifier.
[0029] In a possible implementation, after reducing each silk screen reference number to be adjusted by a preset ratio and moving it into the first area, the method further includes:
[0030] In the current PCB design file, determine the area where the device set composed of the components corresponding to each reduced silk screen reference number in the first area is located; and frame the area boundary of the device set with a silk screen frame;
[0031] After establishing the association relationship between the enlarged silk screen reference number and the corresponding component, the method further includes:
[0032] Use the configured association identifier to correspondingly guide the moved second area containing the enlarged silk screen reference number and the corresponding component frame; the association identifier is an association label or an association marking line.
[0033] In a second aspect, an adjustment device for component silkscreen reference numbers is provided, and the device may include:
[0034] An adjustment unit for adjusting the silkscreen reference numbers in the PCB design file in the PCB design software to obtain a plurality of to-be-adjusted silkscreen reference numbers in the current PCB design file and the corresponding file; the to-be-adjusted silkscreen reference numbers are the overlapping silkscreen reference numbers in the current PCB design file;
[0035] A moving unit for moving each to-be-adjusted silkscreen reference number to the first area after reducing it by a preset ratio to obtain a new PCB design file and the first silkscreen layer document in the new PCB design file; the first area is the area outside the design area in the current PCB design file; the arrangement information of each reduced silkscreen reference number in the first area is the same as the arrangement information in the current PCB design file; the preset ratio is a change ratio that ensures that adjacent silkscreen reference numbers do not overlap;
[0036] An enlarging unit for using the adjustment function of a third-party software to enlarge the first area containing each reduced silkscreen reference number in the first silkscreen layer document by a preset ratio to obtain a second silkscreen layer document, where the second silkscreen layer document is the silkscreen layer document of the second area containing each enlarged silkscreen reference number;
[0037] A replacement unit for replacing the first silkscreen layer document in the new PCB design file based on the second silkscreen layer document to obtain a target PCB design file;
[0038] The moving unit is further configured to move the second area containing each enlarged silkscreen reference number in the second silkscreen layer document to the idle area within the design area in the target PCB design file;
[0039] A establishing unit for establishing an association relationship between the enlarged silkscreen reference number and the corresponding component by using the association function of the SKILL plug-in.
[0040] In a possible implementation, the adjustment unit is specifically configured to:
[0041] Adjust all the silkscreen reference numbers in the PCB design file according to a preset reference number adjustment standard;
[0042] Move the adjusted silkscreen reference numbers to the center positions of the corresponding components to obtain a preliminary current PCB design file;
[0043] Obtain a first component in the preliminary current PCB design file whose silkscreen reference number does not overlap and there is idle space around the corresponding component, and move the silkscreen reference number of the first component to the idle space to obtain the current PCB design file;
[0044] Determine the silk screen reference designators corresponding to the second components that overlap in the current PCB design file and have no free space around the corresponding components as the silk screen reference designators to be adjusted in the current PCB design file.
[0045] In a possible implementation, the moving unit is specifically configured to, after reducing each silk screen reference designator to be adjusted by a preset ratio, move each reduced silk screen reference designator into the first area according to the moving conditions of moving the same distance and in the same direction, to obtain a new PCB design file and the first silk screen layer document in the new PCB design file.
[0046] In a possible implementation, the replacing unit is specifically configured to:
[0047] In the new PCB design file, delete the first area in the first silk screen layer document that contains each reduced silk screen reference designator, to obtain a third silk screen layer document;
[0048] And, add the second area in the second silk screen layer document that contains the enlarged silk screen reference designators outside the design area of the third silk screen layer document.
[0049] In a possible implementation, the moving unit is further specifically configured to:
[0050] Detect whether the area of the free area is not less than the area of the second area;
[0051] If the area of the free area is not less than the area of the second area, move the second area in the second silk screen layer document that contains the enlarged silk screen reference designators to the free area within the design area of the target PCB design file.
[0052] In a possible implementation, the establishing unit is specifically configured to:
[0053] Obtain the silk file of the SKILL plug-in, and copy the associated component identifiers, silk screen reference designators, and the reference designator information of the silk screen reference designators of each component in the silk file to the target application file;
[0054] For any component, if the associated component identifier corresponding to the component is an empty identifier, use the replacement function of the target application corresponding to the target application file to replace the empty identifier with the silk screen reference designator in the target application file, to obtain the modified associated component identifier;
[0055] Modify the silk file based on the modified associated component identifier.
[0056] In a possible implementation, the device further includes a determining unit and a guiding unit:
[0057] The determining unit is configured to determine, in the current PCB design file, the area where the device set composed of the components corresponding to the reduced silk-screen reference designators in the first area is located; and frame the area boundary of the device set with a silk-screen frame.
[0058] The guiding unit is configured to, after establishing an association relationship between the enlarged silk-screen reference designator and the corresponding component, use the configured association identifier to correspondingly guide the second area containing the enlarged silk-screen reference designator after movement and the corresponding component frame; the association identifier is an association label or an association marking line.
[0059] In a third aspect, an electronic device is provided. The electronic device includes a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory complete mutual communication through the communication bus.
[0060] The memory is used for storing a computer program.
[0061] The processor is configured to, when executing the program stored on the memory, implement any of the method steps described in the first aspect above.
[0062] In a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements any of the method steps described in the first aspect above.
[0063] A method for adjusting the silkscreen reference designators of components provided by an embodiment of the present application adjusts the silkscreen reference designators of a PCB design file in a PCB design software to obtain multiple silkscreen reference designators to be adjusted in the current PCB design file and the corresponding file; the silkscreen reference designators to be adjusted are the overlapping silkscreen reference designators in the current PCB design file; each silkscreen reference designator to be adjusted is reduced by a preset ratio and then moved to the first area to obtain a new PCB design file and a first silkscreen layer document in the new PCB design file; the first area is the area outside the design area in the current PCB design file; the arrangement information of each reduced silkscreen reference designator in the first area is the same as the arrangement information in the current PCB design file; the preset ratio is a change ratio that ensures that adjacent silkscreen reference designators do not overlap; using the adjustment function of a third-party software, the first area containing each reduced silkscreen reference designator in the first silkscreen layer document is enlarged by the preset ratio to obtain a second silkscreen layer document, and the second silkscreen layer document is the silkscreen layer document of the second area containing each enlarged silkscreen reference designator; based on the second silkscreen layer document, the first silkscreen layer document in the new PCB design file is replaced to obtain a target PCB design file; the second area containing each enlarged silkscreen reference designator in the second silkscreen layer document is moved to the idle area within the design area in the target PCB design file; using the association function of the SKILL plug-in, an association relationship is established between the enlarged silkscreen reference designator and the corresponding component. This method is for the component layout area with relatively dense small-size packages. It does not require manual adjustment of the silkscreen reference designators. Instead, it uses a third-party software and the SKILL plug-in for adjustment. Compared with manual operation, it reduces the adjustment time, increases the adjustment accuracy, and improves the work efficiency. Description of the Drawings
[0064] To more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required to be used in the embodiments of the present application. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, without creative efforts, other relevant drawings can also be obtained based on these drawings.
[0065] Figure 1 It is a schematic flowchart of a method for adjusting the silkscreen reference designators of components provided by an embodiment of the present application;
[0066] Figure 2 It is a schematic diagram of a partial silkscreen reference designator diagram with overlapping silkscreen reference designators provided by an embodiment of the present application;
[0067] Figure 3 It is a schematic diagram of another partial silkscreen reference designator diagram with overlapping silkscreen reference designators provided by an embodiment of the present application;
[0068] Figure 4Schematic diagram of a partial silkscreen reference number diagram without overlapping silkscreen reference numbers provided by an embodiment of the present application;
[0069] Figure 5 Schematic diagram of another partial silkscreen reference number diagram without overlapping silkscreen reference numbers provided by an embodiment of the present application;
[0070] Figure 6 Schematic diagram of the structure of an adjustment device for the silkscreen reference numbers of components provided by an embodiment of the present application;
[0071] Figure 7 Schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0072] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0073] In the PCB design, each component has its own silkscreen reference number as an identification mark. The designer will adjust it to a suitable size and place it next to the corresponding component. In the subsequent PCB production, the factory will print it on the PCB to facilitate the relevant personnel to identify the placement positions of each component during subsequent processes such as chip mounting, debugging, assembly, and maintenance. Due to the limitations of the printing process and the recognizability after printing, the characters in the silkscreen reference number need to be adjusted to a suitable size. Generally, the regulations for the reference number adjustment standard are as follows: the character width of the silkscreen reference number is 22 mil, the character height is 30 mil, the spacing between characters is 6 mil, and the character thickness is 6 mil.
[0074]
[0075] Sometimes, in order to ensure signal characteristics, some components are closely arranged together. With the extensive use of 0402, 0201, and even 01005 components, the component layout becomes increasingly dense, resulting in no space beside the components for placing the corresponding silkscreen reference designators. Moreover, for small-sized components, the area occupied by the silkscreen reference designators is much larger than the area occupied by the component body itself. If placed nearby, the silkscreen reference designators of each component will interfere with each other (or "overlap" with each other). Also, since components are generally placed horizontally and vertically, and the lengths of the silkscreen reference designators for each component are not uniform, that is, the space and direction occupied by the silkscreen reference designator of each component have no specific fixed rules. When using PCB design software to adjust the magnification or reduction of the silkscreen reference designators, only the magnification or reduction adjustment of the silkscreen reference designator of each component can be made on its own fixed coordinates (the fixed coordinates are the center positions of each silkscreen reference designator). Among them, after using PCB design software to magnify the silkscreen reference designators, the relative coordinates between the silkscreen reference designators will not change, and they will overlap with each other or with other reference designators. Therefore, it can only rely on designers to place the silkscreen reference designators of the components in the densely arranged area one by one to a place with sufficient space according to the actual space. The adjustment of the densely arranged area is very time-consuming and prone to errors, and it needs to be repeatedly checked and confirmed before it can be done.
[0076] Based on this, the embodiment of the present application provides a method for adjusting the silkscreen reference designators of components, which is applied in an adjustment device with an adjustment program corresponding to this adjustment method. For the densely arranged area of components, especially for the overlapping silkscreen reference designators in the densely arranged area of small-sized components, after magnifying the local silkscreen reference designators (the overlapping silkscreen reference designators) in the PCB design file on the silkscreen layer by borrowing a third-party software, the modified silkscreen layer is re-imported into the PCB design file, and then the SKILL plug-in is used to re-establish the association relationship between the silkscreen reference designators that have lost the corresponding relationship after being imported into the PCB design file and the corresponding components. Compared with manual operation, this method reduces the adjustment time, increases the adjustment accuracy, and improves the work efficiency.
[0077] The following describes the preferred embodiments of the present application with reference to the accompanying drawings of the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. And without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. Without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
[0078] Figure 1 It is a schematic flowchart of a method for adjusting the silkscreen reference designators of components provided by an embodiment of the present application. As Figure 1 shown, the method may include:
[0079] Step S110: Adjust the silkscreen reference designators in the PCB design file in the PCB design software to obtain multiple silkscreen reference designators to be adjusted in the current PCB design file and the corresponding file.
[0080] In specific implementation, in order to obtain a beautiful PCB design, the PCB design software can be used to first uniformly process the silkscreen reference designators of each component in the PCB design software for the reference designator characters and positions to obtain the current PCB design file. Specifically:
[0081] Adjust all the silkscreen reference designators in the PCB design file according to the preset reference designator adjustment standard; and move the adjusted silkscreen reference designators to the center positions of the corresponding components to obtain the current PCB design file. Among them, the reference designator adjustment is the adjustment of the reference designator characters, and the adjustment of the reference designator characters and the movement of the reference designator positions can be executed simultaneously or sequentially according to the actual situation. The embodiments of the present application do not make limitations here.
[0082] It should be noted that before adjusting the silkscreen reference designators according to the preset reference designator adjustment standard, if there is a certain silkscreen reference designator in the PCB design file that meets the preset reference designator adjustment standard, it only indicates that the characters of the silkscreen reference designator before and after the adjustment have not changed, but this silkscreen reference designator has also performed the corresponding adjustment operation.
[0083] Furthermore, since components generally have horizontal placement (parallel to the horizontal interface boundary in the display interface) and vertical placement (parallel to the vertical interface boundary in the display interface), in order to further obtain a beautiful PCB design, the PCB design software can be used to adjust the direction of the silkscreen reference designators before moving the adjusted silkscreen reference designators to the center positions of the corresponding components. That is to say, according to the placement direction of the components, the direction of the corresponding silkscreen reference designators is adjusted, and the directions of the silkscreen reference designators corresponding to the components with the same placement direction are the same, and the orientations of these silkscreen reference designators are also the same.
[0084] In an example, according to the preset reference designator adjustment standard, each silkscreen reference designator in PCB design file A is adjusted to a character width of 22 mil, a height of 30 mil, a spacing between characters of 6 mil, and a character thickness of 6 mil. Then, based on the horizontal or vertical placement direction of the components, the direction of the adjusted silkscreen reference designators is adjusted in the same direction.
[0085] Move the silkscreen reference designators after direction adjustment from the current position to the center positions of the corresponding components, that is, place the silkscreen reference designators after direction adjustment inside the corresponding components to obtain the preliminary current PCB design file.
[0086] The design area in the preliminary current PCB design file may include a partial silkscreen reference designator diagram with overlapping silkscreen reference designators as shown in Figure 2 Figure 2 It includes nine densely distributed components, namely resistor R83, resistor R87, resistor R851, resistor R1, resistor R20, resistor R3025, capacitor C929, capacitor C459, and capacitor C18. The character sizes, spacings, and thicknesses of the silkscreen reference designators of all components are unified, and the silkscreen reference designators of all components are located at the exact center of the corresponding components. Four components, namely resistor R1, resistor R20, capacitor C929, and capacitor C459, are placed vertically, and the corresponding silkscreen reference designators R1, R20, C929, and C459 are also placed vertically and all face left; five components, namely resistor R83, resistor R87, resistor R851, resistor R3025, and capacitor C18, are placed horizontally, and the corresponding silkscreen reference designators R3_1 and C1_1 are also placed horizontally and all face up. Among them, seven components, namely resistor R83, resistor R87, resistor R851, resistor R1, resistor R20, capacitor C929, and capacitor C459, have the same size, and two components, namely resistor R3025 and capacitor C18, have the same size.
[0087] Such as Figure 2 Among them, the length of the silkscreen reference designator of resistor R1 is the shortest, and the length of the silkscreen reference designator of resistor R3025 is the longest. Due to the non-uniform length of the silkscreen reference designators of the components, the silkscreen reference designators in the dense area overlap: the silkscreen reference designator of resistor R83 overlaps with that of resistor R1; the silkscreen reference designator of resistor R87 overlaps with that of resistor R20; the silkscreen reference designator of resistor R851 overlaps with that of resistor R20; the silkscreen reference designator of capacitor C929 overlaps with that of capacitor C459; the silkscreen reference designator of resistor R1 overlaps with that of capacitor C929; the silkscreen reference designator of resistor R20 overlaps with that of capacitor C459. The overlapping silkscreen reference designators make it impossible to accurately identify the silkscreen reference designators of the corresponding components.
[0088] After that, obtain the first component in the preliminary current PCB design file whose silkscreen reference designator does not overlap and there is free space around the corresponding component, such as Figure 2 resistor R3025 and capacitor C18 in, and move the silkscreen reference designator of the first component to the free space to obtain the current PCB design file, as Figure 3 shown. Specifically, it can respond to the moving operation of the designer to move the first component to the target position and move the first component; or, it can move the first component based on a preset moving rule, and the preset moving rule can include moving the silkscreen reference designator of the corresponding component based on the position of the free space around the component.
[0089] Determine the silkscreen reference designator corresponding to the second component in the current PCB design file that overlaps and has no free space around the corresponding component as the silkscreen reference designator to be adjusted in the current PCB design file, such as Figure 3The silk screen reference designations corresponding to the medium resistors R83, R87, R851, R1, R20, capacitor C929, and capacitor C459 are all silk screen reference designations to be adjusted.
[0090] Furthermore, for the scenario where there is free space beside the components, the corresponding silk screen reference designations can be moved to the blank area nearby, that is, the size of the silk screen reference designations is smaller than the size of the components. At this time, the silk screen reference designations do not overlap with each other. For example, there is free space above resistor R3025 and below capacitor C18. Therefore, at this time, only the silk screen reference designation R3025 needs to be moved above resistor R3025, and the silk screen reference designation C18 needs to be moved below capacitor C18, as Figure 3 shown.
[0091] Step S120: After reducing each silk screen reference designation to be adjusted by a preset ratio, move it into the first area to obtain a new PCB design file and the first silk screen layer document in the new PCB design file.
[0092] Among them, the preset ratio is the change ratio that ensures that adjacent silk screen reference designations do not overlap.
[0093] In specific implementation, using PCB design software, each silk screen reference designation to be adjusted is respectively reduced by the preset ratio to achieve that the reduced silk screen reference designations do not overlap. As Figure 4 shown, the silk screen reference designations corresponding to resistors R83, R87, R851, R1, R20, capacitor C929, and capacitor C459 are all reduced by the preset ratio, so that the reduced silk screen reference designations do not overlap with each other, while the silk screen reference designations corresponding to resistor R3025 and capacitor C18 are not reduced;
[0094] Move each reduced silk screen reference designation into the first area outside the design area in the current PCB design file to obtain a new PCB design file. Specifically, the area where each reduced silk screen reference designation is located can be moved as a whole into the first area, and the boundary of the first area can be framed by a 2D silk screen frame.
[0095] Among them, in order to improve the layout unity between each reduced silk screen reference designation and the corresponding component, according to the moving conditions of moving the same distance and in the same direction, each reduced silk screen reference designation is respectively moved into the first area, that is, the arrangement information of each reduced silk screen reference designation in the first area is the same as the arrangement information in the current PCB design file. The arrangement information includes arrangement direction, the arrangement order of each reduced silk screen reference designation, and the arrangement position of adjacent reduced silk screen reference designations, etc.
[0096] In addition, since the PCB design file is a three-dimensional design file containing multiple design layers, and the above adjustment is an adjustment to the silk screen layer in multiple design layers, the display interface of the PCB design software can be adjusted to only display the silk screen layer, so as to export the corresponding Drawing Exchange Format (DXF) file. This DXF file is the silk screen layer document in the new PCB design file, that is, the first silk screen layer document.
[0097] Further, in the current PCB design file, determine the area where the device set composed of the components corresponding to each reduced silk screen reference number is located, that is, this area is the area composed of the components corresponding to each silk screen reference number to be adjusted; and frame the area boundary of the device set with a 2D silk screen frame.
[0098] Step S130: Use the area adjustment function of a third-party software to magnify a first area containing each reduced silk screen reference number in the first silk screen layer document by a preset ratio to obtain a second silk screen layer document.
[0099] Among them, the third-party software can be AUTO CAD software or other software that can realize the overall simultaneous adjustment of multiple silk screen reference numbers.
[0100] In specific implementation, use a third-party software, such as AUTO CAD software, to open the first silk screen layer document, and use the adjustment function of the third-party software to magnify the entire first area containing each reduced silk screen reference number in the first silk screen layer document according to a preset ratio. Specifically, the AUTO CAD software can respond to the designer's magnification operation to magnify the entire first area containing each reduced silk screen reference number in the first silk screen layer document, or automatically magnify the entire first area containing each reduced silk screen reference number in the first silk screen layer document according to the configured adjustment program. The specific method is not limited in this embodiment of the present application. At this time, the magnified silk screen reference numbers are the same size as other silk screen reference numbers that have not been reduced and magnified. Since the entire first area and the content in the first area are magnified, that is, while the size of the reference number is adjusted, the relative coordinates of the silk screen reference number are also magnified, so that the magnified silk screen reference numbers do not interfere with each other.
[0101] That is to say, each reduced silk screen reference number is magnified by a preset ratio, and the area of the first area is also magnified by a preset ratio at the same time, obtaining a second area containing each magnified silk screen reference number, and thus obtaining a second silk screen layer document, that is, another DXF file. The second silk screen layer document is the silk screen layer document of the second area containing each magnified silk screen reference number.
[0102] Step S140: Based on the second silk screen layer document, replace the first silk screen layer document in the new PCB design file to obtain the target PCB design file.
[0103] In specific implementation, the second silk-screen layer document is imported into the silk-screen layer of the PCB design software, and then a replacement operation is performed. The replacement operation may include the following methods:
[0104] Method 1: The first silk-screen layer document in the new PCB design file can be completely replaced with the second silk-screen layer document, that is, the second silk-screen layer document is used as the silk-screen layer document in the new PCB design file to obtain the target PCB design file.
[0105] Method 2: In the new PCB design file, the first area containing each reduced silk-screen reference number in the first silk-screen layer document is deleted to obtain the third silk-screen layer document; and a second area containing the enlarged silk-screen reference numbers in the second silk-screen layer document is added outside the design area of the third silk-screen layer document to obtain the target PCB design file. Among them, the position of the added second area outside the design area in the third silk-screen layer document may be the same as or different from the position of the second area in the second silk-screen layer document outside the design area.
[0106] Step S150: Move the second area containing each enlarged silk-screen reference number in the second silk-screen layer document to the idle area within the design area of the target PCB design file.
[0107] In specific implementation, it is detected whether the area of the idle area within the design area of the target PCB design file is not less than the area of the second area;
[0108] If the area of the idle area is not less than the area of the second area, it indicates that there is enough space within the design area of the target PCB design file to place the entire second area. Therefore, at this time, the PCB design software is used to move the second area containing each enlarged silk-screen reference number in the second silk-screen layer document to the idle area within the design area of the target PCB design file.
[0109] In an example, in combination with Figure 4 , the design area of the target PCB design file may include a partial silk-screen reference number diagram with non-overlapping silk-screen reference numbers as shown in Figure 5 . Among them, area 1 where the seven components, namely resistor R83, resistor R87, resistor R851, resistor R1, resistor R20, capacitor C929, and capacitor C459, are located is a densely arranged area, and area 2 is the second area, which includes the enlarged silk-screen reference numbers corresponding to the above seven components.
[0110] If the area of the idle area is smaller than the area of the second area, it indicates that there is not enough space in the design area of the target PCB design file to place the entire second area. Therefore, at this time, return to execute the step of reducing each silk screen reference designator to be adjusted by a preset ratio; partition the positions of the reduced silk screen reference designators to obtain the reduced silk screen reference designators corresponding to each position partition in multiple position partitions.
[0111] After that, move the reduced silk screen reference designators corresponding to each position partition into a first area outside the design area in the current PCB design file respectively to obtain a new PCB design file and the first silk screen layer document in the new PCB design file. The first silk screen layer document at this time includes multiple first areas corresponding one by one to multiple position partitions, and for each first area, execute step S130 until all the enlarged silk screen reference designators corresponding to the silk screen reference designators to be adjusted are moved to the idle area in the design area of the target PCB design file.
[0112] Step S160: Use the association function of the SKILL plug-in to establish an association relationship between the enlarged silk screen reference designators and the corresponding components.
[0113] Due to compatibility issues between different software, that is, there are also compatibility issues between the PCB design software and third-party software. There is no association relationship between the silk screen reference designators in the second silk screen layer document exported by the third-party software and the corresponding components. At this time, the silk screen reference designators are only in the form of 2D lines. Therefore, in order to facilitate subsequent PCB design, it is necessary to establish an association relationship between the silk screen reference designators without an association relationship and the corresponding components.
[0114] If the replacement operation adopted in step S140 is the replacement operation of method 1, it indicates that the entire second silk screen layer document is imported into the silk screen layer document in the target PCB design file. At this time, there is no association relationship between all the silk screen reference designators in the second silk screen layer document in the target PCB design file and the corresponding components.
[0115] If the replacement operation adopted in step S140 is the replacement operation of method 2, it indicates that only the second area containing each enlarged silk screen reference designator in the second silk screen layer document is imported into the silk screen layer document in the target PCB design file. At this time, there is no association relationship between the silk screen reference designators in the second area in the second silk screen layer document in the target PCB design file and the corresponding components.
[0116] It should be noted that the specific method of the above replacement operation can be determined according to the actual business situation; or, it can be determined according to the number of silk screen reference designations outside the second area in the second silk screen layer document (the silk screen reference designations that have not been reduced or processed). For example, when the number of silk screen reference designations outside the second area is large, if the replacement operation of method 2 is adopted, the number of associated silk screen reference designations to be established will be greater than the number of associated silk screen reference designations corresponding to the replacement operation of method 1. Therefore, at this time, the replacement operation of method 1 can be selected, which will reduce the number of executions of step S160.
[0117] In specific implementation, obtain the silk file of the SKILL plug-in, and copy the associated component identifier, silk screen reference designation, and the reference designation information of the corresponding silk screen reference designation of each component in the silk file to the target application file; the reference designation information includes information such as the angle of the silk screen reference designation, the coordinates in the target PCB design file, and the design layer where it is located.
[0118] Detect whether the associated component identifier of each component in the silk file is an empty identifier, such as whether the component identifier is NIL;
[0119] If the associated component identifier corresponding to a certain component is not an empty identifier and the component identifier is the same as the silk screen reference designation in the target application file, it indicates that there is an association relationship between the component and the corresponding silk screen reference designation.
[0120] If the associated component identifier corresponding to a certain component is an empty identifier, then through the replacement function of the target application corresponding to the target application file, replace the silk screen reference designation in the target application file with the empty identifier to obtain the modified associated component identifier; based on the modified associated component identifier, modify the silk file.
[0121] Furthermore, use the configured association identifier to correspondingly guide the second area containing the enlarged silk screen reference designation after being moved in the target PCB design file and the corresponding component frame; the configured association identifier can be an association label or an association marking line to complete the placement process of the entire silk screen reference designation.
[0122] Continuing with the above example, combined with Figure 5 , area 1 and area 2 are correspondingly guided by the association marking line L1.
[0123] It can be seen that for the component layout area of relatively dense small-size packages, the existing manual adjustment method requires adjusting each silk screen reference designation one by one according to the approximate relative positions, which is time-consuming and error-prone. However, the method for adjusting the component silk screen reference designations provided in the above embodiments of the present application uses a third-party software and a SKILL plug-in for adjustment, which greatly saves the adjustment time and ensures the accuracy of the adjustment.
[0124] Corresponding to the above method, an embodiment of the present application further provides an adjustment device for component silkscreen reference numbers, as Figure 6 shown. The device includes: an adjustment unit 610, a moving unit 620, a magnification unit 630, a replacement unit 640, and a creation unit 650;
[0125] The adjustment unit 610 is configured to adjust the silkscreen reference numbers of the PCB design file in the PCB design software to obtain multiple to-be-adjusted silkscreen reference numbers in the current PCB design file and the corresponding file; the to-be-adjusted silkscreen reference numbers are the overlapping silkscreen reference numbers in the current PCB design file;
[0126] The moving unit 620 is configured to move each to-be-adjusted silkscreen reference number to the first area after reducing it by a preset ratio to obtain a new PCB design file and a first silkscreen layer document in the new PCB design file; the first area is the area outside the design area in the current PCB design file; the arrangement information of each reduced silkscreen reference number in the first area is the same as the arrangement information in the current PCB design file; the preset ratio is a change ratio that ensures that adjacent silkscreen reference numbers do not overlap;
[0127] The magnification unit 630 is configured to use the adjustment function of a third-party software to magnify the first area containing each reduced silkscreen reference number in the first silkscreen layer document by a preset ratio to obtain a second silkscreen layer document, and the second silkscreen layer document is a silkscreen layer document of a second area containing each magnified silkscreen reference number;
[0128] The replacement unit 640 is configured to replace the first silkscreen layer document in the new PCB design file based on the second silkscreen layer document to obtain a target PCB design file;
[0129] The moving unit 620 is further configured to move the second area containing each magnified silkscreen reference number in the second silkscreen layer document to the idle area within the design area in the target PCB design file;
[0130] The creation unit 650 is configured to use the association function of the SKILL plug-in to establish an association relationship between the magnified silkscreen reference numbers and the corresponding components.
[0131] The functions of the functional units of the device provided in the above embodiments of the present application can be implemented by the above method steps. Therefore, the specific working processes and beneficial effects of each unit in the device provided in the embodiments of the present application will not be elaborated herein.
[0132] An embodiment of the present application further provides an electronic device, as Figure 7As shown in the figure, it includes a processor 710, a communication interface 720, a memory 730, and a communication bus 740. Among them, the processor 710, the communication interface 720, and the memory 730 complete mutual communication through the communication bus 740.
[0133] The memory 730 is used to store computer programs;
[0134] When the processor 710 is used to execute the program stored on the memory 730, the following steps are implemented:
[0135] Adjust the silkscreen reference designators in the PCB design file in the PCB design software to obtain multiple silkscreen reference designators to be adjusted in the current PCB design file and the corresponding file; the silkscreen reference designators to be adjusted are the overlapping silkscreen reference designators in the current PCB design file;
[0136] Shrink each silkscreen reference designator to be adjusted by a preset ratio and then move it into the first area to obtain a new PCB design file and the first silkscreen layer document in the new PCB design file; the first area is the area outside the design area in the current PCB design file; the arrangement information of each shrunk silkscreen reference designator in the first area is the same as the arrangement information in the current PCB design file; the preset ratio is the change ratio that ensures that adjacent silkscreen reference designators do not overlap;
[0137] Utilize the adjustment function of a third-party software to enlarge the first area containing each shrunk silkscreen reference designator in the first silkscreen layer document by a preset ratio to obtain a second silkscreen layer document, and the second silkscreen layer document is the silkscreen layer document of the second area containing each enlarged silkscreen reference designator;
[0138] Based on the second silkscreen layer document, replace the first silkscreen layer document in the new PCB design file to obtain a target PCB design file;
[0139] Move the second area containing each enlarged silkscreen reference designator in the second silkscreen layer document to the idle area within the design area in the target PCB design file;
[0140] Utilize the association function of the SKILL plug-in to establish an association relationship between the enlarged silkscreen reference designators and the corresponding components.
[0141] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience in representation, only a thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0142] The communication interface is used for communication between the above-mentioned electronic device and other devices.
[0143] The memory can include a Random Access Memory (RAM), and can also include a Non-Volatile Memory (NVM), such as at least one disk memory. Optionally, the memory can also be at least one storage device located far from the aforementioned processor.
[0144] The above-mentioned processor can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processing (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0145] Since the implementation manners and beneficial effects of the components of the electronic device in the above embodiments can be realized by referring to the steps in the Figure 1 embodiments shown, therefore, the specific working process and beneficial effects of the electronic device provided by the embodiments of the present application will not be elaborated herein.
[0146] In another embodiment provided by the present application, a computer-readable storage medium is further provided. Instructions are stored in the computer-readable storage medium. When it runs on a computer, it causes the computer to execute the method for adjusting the silk-screen reference designators of the components in any one of the above embodiments.
[0147] In another embodiment provided by the present application, a computer program product containing instructions is further provided. When it runs on a computer, it causes the computer to execute the method for adjusting the silk-screen reference designators of the components in any one of the above embodiments.
[0148] Those skilled in the art should understand that the embodiments in the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the embodiments in the embodiments of the present application can take the form of all-hardware embodiments, all-software embodiments, or embodiments combining software and hardware aspects. Moreover, the embodiments in the embodiments of the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0149] The embodiments in the embodiments of the present application are described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments in the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram can be implemented by computer program instructions, as well as the combination of processes and / or blocks in the flowchart and / or block diagram. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the specified functions in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0150] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including instruction means, and the instruction means implements the specified functions in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0151] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process. Thus, the instructions executed on the computer or other programmable device provide steps for implementing the specified functions in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0152] Although the preferred embodiments in the embodiments of the present application have been described, those skilled in the art can make additional changes and modifications to these embodiments once they know the basic creative concepts. Therefore, the appended claims are intended to be construed to include the preferred embodiments and all changes and modifications falling within the scope of the embodiments of the present application.
[0153] Obviously, those skilled in the art can make various changes and modifications to the embodiments in this application without departing from the spirit and scope of the embodiments in this application. Thus, if these modifications and variations of the embodiments in this application fall within the scope of the claims in this application and their equivalent technologies, this application also intends to include these changes and modifications within.
Claims
1. A method for adjusting the silkscreen reference designators of components, characterized in that, the method includes: Adjust the silkscreen reference designators in the PCB design file in the PCB design software to obtain multiple silkscreen reference designators to be adjusted in the current PCB design file and the corresponding file; the silkscreen reference designators to be adjusted are the overlapping silkscreen reference designators in the current PCB design file; Reduce each silkscreen reference designator to be adjusted by a preset ratio and move it into the first area to obtain a new PCB design file and the first silkscreen layer document in the new PCB design file; the first area is the area outside the design area in the current PCB design file; the arrangement information of each reduced silkscreen reference designator in the first area is the same as the arrangement information in the current PCB design file; the preset ratio is the change ratio that ensures that adjacent silkscreen reference designators do not overlap; Use the adjustment function of a third-party software to enlarge the first area containing each reduced silkscreen reference designator in the first silkscreen layer document by a preset ratio to obtain a second silkscreen layer document, and the second silkscreen layer document is the silkscreen layer document of the second area containing each enlarged silkscreen reference designator; Based on the second silkscreen layer document, replace the first silkscreen layer document in the new PCB design file to obtain a target PCB design file; Move the second area containing each enlarged silkscreen reference designator in the second silkscreen layer document to the idle area within the design area of the target PCB design file; Use the association function of the SKILL plug-in to establish an association relationship between the enlarged silkscreen reference designators and the corresponding components; Among them, moving the second area containing each enlarged silkscreen reference designator in the second silkscreen layer document to the idle area within the design area of the target PCB design file includes: Detect whether the area of the idle area is not less than the area of the second area; If the area of the idle area is not less than the area of the second area, move the second area containing the enlarged silkscreen reference designator in the second silkscreen layer document to the idle area within the design area of the target PCB design file.
2. The method according to claim 1, characterized in that, Adjusting the silkscreen reference designators in the PCB design file in the PCB design software to obtain multiple silkscreen reference designators to be adjusted in the current PCB design file and the corresponding file includes: Adjust all the silkscreen reference designators in the PCB design file according to the preset reference designator adjustment standard; Move the adjusted silkscreen reference designators to the center positions of the corresponding components to obtain a preliminary current PCB design file; Obtain the first component in the preliminary current PCB design file whose silkscreen reference designator does not overlap and there is idle space around the corresponding component, and move the silkscreen reference designator of the first component to the idle space to obtain the current PCB design file; Determine the silkscreen reference designators corresponding to the second components in the current PCB design file that overlap and have no idle space around the corresponding components as the silkscreen reference designators to be adjusted in the current PCB design file.
3. The method according to claim 1, characterized in that, Reduce each screen printing reference number to be adjusted by a preset ratio and then move it into the first area to obtain a new PCB design file and the first screen printing layer document in the new PCB design file, including: After reducing each screen printing reference number to be adjusted by a preset ratio, move each reduced screen printing reference number into the first area respectively according to the moving conditions of moving the same distance and in the same direction to obtain a new PCB design file and the first screen printing layer document in the new PCB design file.
4. The method according to claim 1, characterized in that Based on the second screen printing layer document, replace the first screen printing layer document in the new PCB design file to obtain a target PCB design file, including: In the new PCB design file, delete the first area in the first screen printing layer document that contains each reduced screen printing reference number to obtain a third screen printing layer document; Add the second area in the second screen printing layer document that contains the enlarged screen printing reference numbers outside the design area of the third screen printing layer document.
5. The method according to claim 1, characterized in that Using the association function of the SKILL plug-in, establish an association relationship between the enlarged screen printing reference numbers and the corresponding components, including: Obtain the silk file of the SKILL plug-in, and copy the associated component identifier, screen printing reference number and the reference number information of the screen printing reference number of each component in the silk file to the target application file; For any component, if the associated component identifier corresponding to the component is an empty identifier, then through the replacement function of the target application corresponding to the target application file, replace the empty identifier with the screen printing reference number in the target application file to obtain a modified associated component identifier; Modify the silk file based on the modified associated component identifier.
6. The method according to claim 1, characterized in that After reducing each screen printing reference number to be adjusted by a preset ratio and moving it into the first area, the method further includes: In the current PCB design file, determine the area where the device set composed of the components corresponding to each reduced screen printing reference number in the first area is located; and frame the area boundary of the device set with a screen printing frame; After establishing the association relationship between the enlarged screen printing reference numbers and the corresponding components, the method further includes: Using the configured association identifier, correspondingly guide the second area containing the enlarged screen printing reference numbers after moving and the corresponding component frame; the association identifier is an association label or an association marking line.
7. An adjustment device for component screen printing reference numbers, characterized in that The device includes: An adjustment unit for adjusting the screen printing reference numbers in the PCB design file in the PCB design software to obtain the current PCB design file and multiple screen printing reference numbers to be adjusted in the corresponding file; the screen printing reference numbers to be adjusted are the overlapping screen printing reference numbers in the current PCB design file; A moving unit, configured to move each silk-screen position number to be adjusted into the first area after reducing it by a preset ratio, to obtain a new PCB design file and a first silk-screen layer document in the new PCB design file; the first area is an area outside the design area in the current PCB design file; the arrangement information of each reduced silk-screen position number in the first area is the same as the arrangement information in the current PCB design file; the preset ratio is a change ratio that ensures that adjacent silk-screen position numbers do not overlap. An enlarging unit, configured to use the adjustment function of third-party software to enlarge the first area containing each reduced silk-screen position number in the first silk-screen layer document by a preset ratio, to obtain a second silk-screen layer document, where the second silk-screen layer document is a silk-screen layer document of a second area containing each enlarged silk-screen position number. A replacing unit, configured to replace the first silk-screen layer document in the new PCB design file based on the second silk-screen layer document, to obtain a target PCB design file. The moving unit is further configured to move the second area containing each enlarged silk-screen position number in the second silk-screen layer document to an idle area within the design area in the target PCB design file. A establishing unit, configured to use the association function of the SKILL plug-in to establish an association relationship between the enlarged silk-screen position number and the corresponding component. The moving unit is specifically configured to: detect whether the area of the idle area is not less than the area of the second area; if the area of the idle area is not less than the area of the second area, move the second area containing the enlarged silk-screen position number in the second silk-screen layer document to an idle area within the design area in the target PCB design file.
8. An electronic device characterized in that the electronic device includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus; the memory is used for storing a computer program; the processor is configured to, when executing the program stored on the memory, implement the method steps according to any one of claims 1-6.
9. A computer-readable storage medium characterized in that the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the method steps according to any one of claims 1-6.
Citation Information
Patent Citations
PCB (Printed Circuit Board) bit number adjusting method and related equipment
CN114065691A
Method for adjusting silk-screen placement of components of multi-site ATE items
CN114117997A