Preparation control method and device of printed circuit board, storage medium and electronic equipment
By judging and performing thinning processing, it is ensured that the pin length of the wave soldering device meets the thickness requirements of the printed circuit board, which solves the problem of poor welding effect in the existing technology and improves the welding strength and reliability.
Patent Information
- Application Number
- CN202411033903.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing technology, the pin length of the plug-in component does not match the thickness of the printed circuit board, resulting in poor welding effect. Especially when the thickness of the PCB increases, it is difficult to find matching materials, resulting in problems such as insufficient tin cladding and insufficient welding strength.
By obtaining the pin length of the wave soldering device and the thickness of the printed circuit board, it is determined whether the specified milling conditions are met, and if the conditions are met, the projected area of the wave soldering device on the printed circuit board is thinned to ensure The pin length meets the requirements.
It solves the problem of poor welding effect caused by the mismatch between the pin length of plug-in components and the thickness of the printed circuit board, improves the welding strength and reliability, and reduces the need for manual repair welding and the problem of low efficiency and reliability.
Smart Images

Figure CN118574335A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of printed circuit boards, and more specifically, to a method and device for controlling the preparation of printed circuit boards, a storage medium, and an electronic device. Background Art
[0002] In the related art, plug-in components can be soldered using wave soldering. To achieve a good wave soldering effect, there are relatively strict requirements on the pin length of the plug-in components and the number of copper layers of the pins. The pin length refers to the size of the pin of the plug-in component that exceeds the back surface of the PCB (Printed Circuit Board) after it is inserted into the PCB. It must meet a certain pin length. When the pin length of the plug-in component does not meet the requirements, that is, it is less than a certain length or does not extend at all, manual soldering is often used to solder the plug-in component.
[0003] At present, as the thickness of PCB increases, it is very difficult to find matching materials; usually, the device pins of some plug-in components are not long enough, and the pins cannot be exposed on the back after being inserted into the PCB, which causes the PCB to be tinned during wave soldering, introducing the risk of insufficient tin on the pins of the plug-in components.
[0004] It can be seen that the preparation and control method of the printed circuit board in the related art has the problem of poor welding effect due to the mismatch between the pin length of the plug-in component and the thickness of the printed circuit board. Summary of the invention
[0005] The embodiments of the present application provide a method and device for controlling the preparation of a printed circuit board, a storage medium, and an electronic device, so as to at least solve the problem of poor welding effect caused by the mismatch between the pin length of the plug-in component and the thickness of the printed circuit board in the method for controlling the preparation of the printed circuit board in the related art.
[0006] According to one embodiment of the present application, a preparation control method for a printed circuit board is provided, comprising: obtaining the pin length of a wave soldering device and the thickness of the printed circuit board, wherein the wave soldering device is a plug-in component to be soldered to the printed circuit board by wave soldering; judging whether a specified milling thinning condition is met according to the pin length of the wave soldering device and the thickness of the printed circuit board, wherein the specified milling thinning condition is a condition for performing milling thinning on the top surface of the projection area of the wave soldering device on the printed circuit board; when the specified milling thinning condition is met, controlling the milling thinning of the top surface of the projection area of the wave soldering device on the printed circuit board.
[0007] According to another embodiment of the present application, a preparation control device for a printed circuit board is provided, comprising: an acquisition unit, for acquiring the pin length of a wave soldering device and the thickness of the printed circuit board, wherein the wave soldering device is a plug-in component to be soldered to the printed circuit board by wave soldering; a judgment unit, for judging whether a specified milling thinning condition is met based on the pin length of the wave soldering device and the thickness of the printed circuit board, wherein the specified milling thinning condition is a condition for performing milling thinning on the top surface of the projection area of the wave soldering device on the printed circuit board; a first control unit, for controlling the milling thinning of the top surface of the projection area of the wave soldering device on the printed circuit board when the specified milling thinning condition is met.
[0008] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.
[0009] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0010] According to another embodiment of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0011] Through the present application, whether it is necessary to perform milling thinning on the top surface of the projection area of the wave soldering device on the printed circuit board is determined based on the pin length of the wave soldering device and the thickness of the printed circuit board. When the specified milling thinning conditions are met, the top surface of the projection area of the wave soldering device on the printed circuit board is milled thin, which can solve the problem of poor welding effect caused by the mismatch between the pin length of the plug-in component and the thickness of the printed circuit board in the preparation control method of the related art. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 It is a flow chart of a method for controlling the preparation of a printed circuit board according to an embodiment of the present application.
[0013] Figure 2 It is a schematic diagram of a method for controlling the preparation of a printed circuit board according to an embodiment of the present application.
[0014] Figure 3 It is a schematic diagram of another method for controlling the preparation of a printed circuit board according to an embodiment of the present application.
[0015] Figure 4 It is a flow chart of another method for controlling the preparation of a printed circuit board according to an embodiment of the present application.
[0016] Figure 5 It is a schematic diagram of another method for controlling the preparation of a printed circuit board according to an embodiment of the present application.
[0017] Figure 6 It is a structural schematic diagram of a method for controlling the preparation of a printed circuit board according to an embodiment of the present application.
[0018] Figure 7 It is a structural block diagram of an optional printed circuit board preparation control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0019] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0020] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0021] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0022] In this embodiment, a method for controlling the preparation of a printed circuit board is provided. Figure 1 is a flow chart of a method for controlling the preparation of a printed circuit board according to an embodiment of the present application, such as Figure 1 As shown, the process includes the following steps:
[0023] Step S102, obtaining the pin length of the wave soldering component and the thickness of the printed circuit board, wherein the wave soldering component is a plug-in component to be soldered to the printed circuit board by wave soldering.
[0024] The preparation control method of the printed circuit board in this embodiment can be applied to the scenario of PCB wiring design for wave soldering devices. There are currently many PCB design software. Cadence is the most widely used software in the industry, not only because it has powerful functions and multiple related software to support it, but also because it provides an open secondary development interface and a relatively complete development language library. Users can perform secondary development according to their own needs. Skill language is a high-level programming language based on C language and LISP language built into the Cadence software. Cadence provides a wealth of interactive functions for skill language. Studying skill language and then writing tools can greatly improve work efficiency when put into use.
[0025] Optionally, in this embodiment, the PCB design file may be a preset PCB design file in which component positions and circuit routings have been determined. The present application adjusts and improves the associated design of the wave soldering device in the preset PCB design file to improve the soldering effect of the wave soldering device.
[0026] Optionally, the wave soldering device may refer to a plug-in component to be soldered to a printed circuit board by wave soldering, and the plug-in component may refer to an electronic component with a pin that can be inserted into a pre-drilled hole on a PCB and passed through the hole to the other side of the board for soldering. Different plug-in components may have different lengths, and different plug-in components may be soldered by different soldering methods.
[0027] Soldering is a technique for connecting two or more metal parts by heating to melt a certain metal (usually solder). Wave soldering is an automated soldering process in which the PCB moves along one or more waves of sprayed solder, causing the solder to flow on the PCB pads and component pins and form solder joints. Wave soldering is suitable for mass production and can complete the soldering process quickly and efficiently.
[0028] Optionally, wave soldering may include the following basic steps:
[0029] Solder wave: There is a solder pool in the wave soldering equipment, which is heated to a molten state. When a pump or multiple pumps work, the molten solder forms a wave on the surface of the solder pool.
[0030] PCB passes through the wave crest: The PCB coated with flux and assembled with plug-in components is placed on the conveyor belt and then passes through the solder wave crest.
[0031] Soldering process: When the PCB passes through the solder wave, the solder wets the PCB pads and component pins to form solder joints.
[0032] Cooling and solidification: After soldering is complete, the PCB passes through a cooling zone to solidify the solder joints and secure the components.
[0033] The advantages of wave soldering are fast speed, high efficiency and suitability for mass production. However, wave soldering has certain requirements for PCB design and component layout, such as heat resistance.
[0034] However, in order to achieve a good wave soldering effect, there are relatively strict requirements for the pin length of plug-in components. The pin length refers to the size of the pin of the plug-in component that exceeds the back surface of the PCB board after it is inserted into the PCB board. It must meet the preset pin length. When the pin length of the plug-in component does not meet the requirements, that is, it is less than the preset length or does not extend at all, manual soldering is often used to solder the plug-in component.
[0035] At present, as the thickness of PCB increases, it is very difficult to find matching materials; usually, some DIP packaged devices have insufficient pin length, and the pins cannot be exposed on the back after being inserted into the PCB. This will cause the PCB to be tinned during wave soldering, introducing the risk of insufficient tin on the DIP pins.
[0036] In addition, manual soldering often causes thermal damage to plug-in components due to the high temperature of the soldering iron (about 380°C); the layout of the PCB board may lack space for manual soldering; the plug-in components have no pins or the pins are not enough, which cannot meet the tin creeping height requirements and easily cause defects such as cold soldering and false soldering; due to insufficient tin creeping and insufficient tin penetration in the hole, the welding quality of the pins in the hole wall will be poor, and the welding strength cannot meet the requirements; manual soldering has the problems of low efficiency and poor reliability; when manual soldering cannot be performed, re-selection is often required, which affects the realization of product functions.
[0037] In order to at least partially solve the above problem, in this embodiment, the problem that the pins of the wave soldering components do not extend or the extending length is insufficient is solved by locally thinning the PCB at the position of the wave soldering components.
[0038] In this embodiment, the pin length of the wave soldering device and the thickness of the printed circuit board can be obtained by reading a preset PCB design file, or the user can manually input the pin length of the wave soldering device and the thickness of the printed circuit board, or the pin length of the wave soldering device and the thickness of the printed circuit board can be obtained by reading the measurement results of a measuring device that reads the pin length of the wave soldering device and the thickness of the printed circuit board.
[0039] Step S104, judging whether a specified milling condition is satisfied according to the pin length of the wave soldering component and the thickness of the printed circuit board, wherein the specified milling condition is a condition for milling the top surface of the projection area of the wave soldering component on the printed circuit board.
[0040] In order to ensure a good soldering effect, it is necessary to ensure that the pin length of the wave soldering device and the thickness of the printed circuit board meet certain conditions, that is, to ensure that the pin length of the wave soldering device is greater than or equal to a preset value.
[0041] Optionally, a specified milling condition may be introduced, and when the size relationship between the pin length of the wave soldering component and the thickness of the printed circuit board satisfies the specified milling condition, the top surface of the projection area of the wave soldering component on the printed circuit board is milled thin.
[0042] Here, the projection area may refer to the coverage area of the bottom of the plug-in component (ie, the surface in contact with the PCB) on the PCB.
[0043] Considering factors such as the production process, material properties, and manufacturing process of the PCB, there may be a tolerance in the thickness of the printed circuit board, that is, the thickness of the printed circuit board is allowed to vary within a certain range while still ensuring the function and performance of the product. Common PCB thickness tolerances may be ±10% or ±0.1 mm. Therefore, in this embodiment, the tolerance may also be taken into account to improve the accuracy and reliability of determining whether the specified milling conditions are met.
[0044] Step S106, when the specified milling condition is met, the top surface of the projection area of the wave soldering component on the printed circuit board is controlled to be milled thin.
[0045] Optionally, in this embodiment, the terminal device configured with a preset PCB design file and PCB design software and the control device for the PCB milling operation can be the same device or interconnected devices, which is not limited in this embodiment.
[0046] Optionally, when the terminal device configured with the PCB design software and the control device for the PCB milling operation are different devices, the terminal device configured with the PCB design software can modify the preset PCB design file to obtain the first PCB design file when the specified milling condition is met, that is, set in the preset PCB design file to perform milling thinning on the top surface of the projection area of the wave soldering device on the printed circuit board, and the control device for the PCB milling operation can obtain the first PCB design file, and control the milling thinning of the top surface of the projection area of the wave soldering device on the printed circuit board based on the first PCB design file; it can also be that the terminal device configured with the PCB design software sends a milling thinning instruction to the control device for the PCB milling operation, so that the control device for the PCB milling operation receives the instruction issued by the terminal device configured with the PCB design software to control the milling thinning of the top surface of the projection area of the wave soldering device on the printed circuit board.
[0047] It should be noted that, in this embodiment, the control device for PCB milling operation executes steps S102 to S106 as an example, and the control device for PCB milling operation can obtain a preset PCB design file or store a preset PCB design file or generate a preset PCB design file.
[0048] Through the above steps, the pin length of the wave soldering device and the thickness of the printed circuit board are obtained, wherein the wave soldering device is a plug-in component to be soldered to the printed circuit board by wave soldering; according to the pin length of the wave soldering device and the thickness of the printed circuit board, it is judged whether the specified milling thinning condition is met, wherein the specified milling thinning condition is a condition for performing milling thinning on the top surface of the projection area of the wave soldering device on the printed circuit board; when the specified milling thinning condition is met, the top surface of the projection area of the wave soldering device on the printed circuit board is controlled to be milled thin, thereby solving the problem of poor welding effect caused by the mismatch between the pin length of the plug-in component and the thickness of the printed circuit board in the preparation control method of the printed circuit board in the related art.
[0049] In an exemplary embodiment, judging whether a specified milling condition is met according to the pin length of the wave soldering component and the thickness of the printed circuit board includes:
[0050] S11, determining a maximum value of the thickness of the printed circuit board according to the thickness of the printed circuit board and the thickness tolerance of the printed circuit board;
[0051] S12, determining whether the specified milling condition is met according to the maximum value of the pin length of the wave soldering component and the thickness of the printed circuit board.
[0052] Similar to the aforementioned embodiment, the printed circuit board will have a certain manufacturing tolerance. In order to improve the accuracy and reliability of judging whether the specified milling thinning condition is met, the maximum thickness of the printed circuit board can be determined based on the thickness of the printed circuit board and the thickness tolerance of the printed circuit board. Based on the pin length of the wave soldering device and the maximum thickness of the printed circuit board, it can be determined whether the specified milling thinning condition is met.
[0053] Here, tolerance can refer to the maximum allowable deviation between an actual value and its specified standard value. Tolerance is used to ensure that a part or product meets design and functional requirements within the specified parameter range.
[0054] Optionally, considering the manufacturing process, material properties, heat treatment and measurement errors, the pin length of the wave soldering component may also have a tolerance. For example, the data sheet or specification of the component may indicate that the pin length L is 1.0mm±0.1mm.
[0055] Specifically, the manufacturing process of the pin includes steps such as stamping, forming, cutting and plating. Slight changes in these steps, such as die wear, uneven material thickness or small deviations in machine settings, can cause fluctuations in pin length; pins are usually made of metal, and the properties of the metal material itself (such as elasticity, plasticity) may vary from batch to batch, which will also affect the final length of the pin; during the manufacturing process, the pin may need to undergo heat treatment (such as annealing) to improve its performance. Imprecise temperature and time control during heat treatment may cause changes in pin length; even after production is completed, measuring the pin length may introduce errors. The accuracy of the measuring equipment, the skills of the operator and the measurement method may all lead to deviations in the measurement results.
[0056] Based on this, when judging whether the specified milling thinning conditions are met, it can be determined based on the minimum pin length of the wave soldering component and the maximum thickness of the printed circuit board to improve the reliability of the judgment result.
[0057] Through this embodiment, whether the specified milling condition is met is determined based on the maximum value of the pin length of the wave soldering component and the thickness of the printed circuit board, which can improve the reliability of the judgment result and reduce the error.
[0058] In an exemplary embodiment, determining a maximum value of the thickness of the printed circuit board according to the thickness of the printed circuit board and the thickness tolerance of the printed circuit board includes:
[0059] S21, determining the sum of the thickness of the printed circuit board plus the product of the thickness of the printed circuit board and the thickness tolerance of the printed circuit board as the maximum value of the thickness of the printed circuit board.
[0060] For example, in this embodiment, taking the PCB thickness tolerance S as ±10% or ±0.1 mm and the PCB thickness M as 2.4 mm, the maximum value of the thickness of the printed circuit board M max =M+MS,M max =2.4+2.4*10%=2.64mm, that is, the thickness of the PCB after processing is 2.16-2.64mm.
[0061] Optionally, the thickness of the printed circuit board plus a positive number in the thickness tolerance of the printed circuit board may be determined as the maximum value of the thickness of the printed circuit board.
[0062] Taking the PCB thickness tolerance S as ±10% or ±0.1mm and the PCB thickness M as 2.4mm as an example, the maximum thickness of the printed circuit board M max =M+S=2.4+0.1=2.5mm.
[0063] In an exemplary embodiment, the specified milling thinning condition includes a lead length of the wave soldering component being less than or equal to a specified length threshold;
[0064] According to the maximum pin length of the wave soldering device and the thickness of the printed circuit board, determine whether the specified milling conditions are met, including:
[0065] S31, when the maximum value of the thickness of the printed circuit board is greater than or equal to the pin length of the wave soldering device, determining that the specified milling condition is satisfied;
[0066] S32, determining that the specified milling condition is satisfied when the maximum value of the thickness of the printed circuit board is less than the pin length of the wave soldering device and the difference between the pin length of the wave soldering device and the maximum value of the thickness of the printed circuit board is less than a specified length threshold;
[0067] S33: When the maximum value of the thickness of the printed circuit board is less than the pin length of the wave soldering component and the difference between the pin length of the wave soldering component and the maximum value of the thickness of the printed circuit board is greater than or equal to a specified length threshold, it is determined that the specified milling condition is not satisfied.
[0068] For example, in this embodiment, when the maximum value M of the thickness of the printed circuit board is max ≥When the pin length L of the wave soldering device is greater than or equal to , it is determined that the specified milling conditions are met and the milling process is required;
[0069] When the maximum thickness of the printed circuit board is M max When the pin length of the wave soldering device is less than L, it is necessary to further determine whether the pin length exceeds the maximum thickness of the printed circuit board M. max Specify the length threshold, specifically:
[0070] If the pin length L of the wave soldering device is equal to the maximum thickness M of the printed circuit board max If the difference is less than the specified length threshold, it is determined that the specified milling condition is met and a milling process is required, that is, a milling process is performed on the top surface of the projection area of the wave soldering device on the printed circuit board;
[0071] If the pin length L of the wave soldering device is equal to the maximum thickness M of the printed circuit board max If the difference is ≥ the specified length threshold, it is determined that the specified milling condition is not met, that is, the milling process is not required.
[0072] The pin length of the wave soldering device can be obtained by taking the absolute value of the difference between the pin length L of the wave soldering device and the maximum thickness of the printed circuit board, or it can be obtained by measurement. When the pin length of the wave soldering device is less than the specified length threshold, it can be determined that the specified milling thinning condition is met and the milling process is required.
[0073] Optionally, the pin length L of the wave soldering device can be the minimum value of the pin lengths of the actual wave soldering devices.
[0074] It should be noted that, in order to save processes, when the lead-out length of the wave soldering device is equal to the specified length threshold or when the maximum value of the thickness of the printed circuit board is less than the pin length of the wave soldering device and the difference between the pin length of the wave soldering device and the maximum value of the thickness of the printed circuit board is equal to the specified length threshold, the milling process of the board can be omitted. Correspondingly, a fixed milling thickness can also be set for milling, such as 0.1 mm, etc., or other processing methods can also be used. This is not limited in this embodiment.
[0075] Optionally, the specified length threshold can be valued between 0.8 mm and 1.5 mm. In this embodiment, the specified length threshold can be 0.8 mm, or other custom values. This is not limited in this embodiment.
[0076] In an exemplary embodiment, when the specified milling condition is satisfied, controlling the milling process of the top surface of the projection area of the wave soldering device on the printed circuit board includes:
[0077] S41, when the maximum value of the thickness of the printed circuit board is greater than or equal to the pin length of the wave soldering device, determining the result of adding the specified length threshold to the maximum value of the thickness of the printed circuit board and then subtracting the pin length of the wave soldering device as the thickness to be milled; or,
[0078] S42, when the maximum value of the thickness of the printed circuit board is less than the pin length of the wave soldering device and the difference between the pin length of the wave soldering device and the maximum value of the thickness of the printed circuit board is less than the specified length threshold, determining the result of subtracting the target value from the specified length threshold as the thickness to be milled, where the target value is the difference between the pin length of the wave soldering device and the maximum value of the thickness of the printed circuit board;
[0079] S43, controlling the milling process of the top surface of the projection area of the wave soldering device on the printed circuit board according to the thickness to be milled, so that the lead-out length of the wave soldering device is greater than or equal to the specified length threshold.
[0080] For example, in this embodiment, taking the thickness of the printed circuit board as M, the thickness tolerance of the printed circuit board as S, the maximum value of the thickness of the printed circuit board as M + MS, the pin length of the wave soldering device as L, and the specified length threshold as 0.8 mm as an example; when M + MS ≥ L, the thickness to be milled in the projection area on the device side is M + MS - L + 0.8 mm; when M + MS < L and L - (M + MS) < 0.8 mm, the thickness to be milled in the projection area on the device side is 0.8 mm - [L - (M + MS)].
[0081] Similar to the above-mentioned embodiment, the pin length of the wave soldering component may be calculated based on the minimum value.
[0082] Here, the lead length of the wave soldering device may refer to the difference between the lead length of the wave soldering device and the thickness of the printed circuit board.
[0083] Optionally, combined Figure 2 Take the wave soldering device as a DIP device as an example. The PCB thickness is 2.4mm. Considering the thickness tolerance of 10%, that is, the thickness of the PCB after processing is 2.16-2.64mm. The pin length of the DIP device is 2.3mm. Then, when the thickness of the board goes beyond the tolerance, the DIP pin will not exceed the PCB thickness. When the PCB is wave soldered, there will be a risk of insufficient tinning. If the DIP pin does not come out of the PCB board, you can Figure 2 shown.
[0084] To ensure that the DIP pin can be out of the PCB board and at least extend 0.8mm, 2.64 -2.3 + 0.8 = 1.14mm needs to be milled off. 1.14mm can be milled off. The structure after milling can be as follows Figure 3 shown.
[0085] In an exemplary embodiment, before obtaining the pin length of the wave soldering component and the thickness of the printed circuit board, the method further includes:
[0086] S51, determining all through holes on the printed circuit board according to a printed circuit board design file corresponding to the printed circuit board;
[0087] S52, identifying wave soldering holes on the printed circuit board from all through holes on the printed circuit board, and determining the plug-in components corresponding to the identified wave soldering holes as wave soldering components.
[0088] Considering that plug-in components can be soldered by non-wave soldering methods, the position information of the wave soldering holes can be determined based on the information recorded in the PCB design file, and the plug-in components that are consistent with the wave soldering hole positions can be determined as wave soldering devices.
[0089] All through holes (Through Pin) on the PCB board can be obtained through Cadence SKILL script. This is because the SKILL language provides a rich API (application programming interface) that allows users to access and manipulate various objects and properties in Cadence PCB design software, including vias. Access PCB data structures: SKILL scripts can access various data structures in PCB design, including vias. These data structures store information about all elements on the PCB, such as the location, size, and connected layers of vias. Traversal and query functions: SKILL provides the function of traversing elements in the PCB design, allowing users to write scripts to find specific types of elements, such as all through holes. API support: Cadence PCB design software provides a series of SKILL APIs that allow users to read and modify element properties in PCB designs. For example, you can call the API to get a list of all vias in the current design. Custom scripts: Users can write custom SKILL scripts to search and select vias based on specific conditions or rules. For example, you can write a script to find all vias that connect specific layer pairs. Integration with PCB design tools: SKILL scripts can be tightly integrated with Cadence PCB design tools, allowing scripts to run directly in the design environment, acquiring and manipulating PCB data in real time. Automation and efficiency: Using SKILL scripts, you can automate many manual tasks, such as identification and reporting of vias, to improve design efficiency and accuracy. Obtaining all vias on a PCB board through a SKILL script can be used for a variety of purposes, such as design verification, report generation, design rule checking (DRC), etc. This automated approach can save time, reduce human errors, and improve design quality.
[0090] In an exemplary embodiment, identifying a wave soldering hole on a printed circuit board from all through holes on the printed circuit board includes:
[0091] S61, removing non-metallized holes from all through holes on the printed circuit board to obtain a group of metallized holes;
[0092] S62, in a group of metallized holes, metallized holes with threaded hole features and metallized holes with crimped hole features are removed in turn to obtain wave soldering holes, wherein the threaded hole feature is that the corresponding device has only one metallized hole, and the crimped hole feature is that there is corresponding description information and identification in the dimension annotation layer described in the printed circuit board design file.
[0093] Metallized holes are those vias that are filled with conductive material (usually copper) to enable electrical conduction between different layers.
[0094] SKILL scripts can access the underlying data structures in the PCB design, which contain detailed information about vias, including whether they are metallized. Via objects in Cadence software have various properties, and SKILL scripts can identify and select specific vias based on these properties, such as checking whether the via has conductive properties. Cadence provides the SKILL API, which allows users to read and manipulate elements in the PCB design, including querying the metallization status of vias. SKILL scripts can write conditional statements to filter out metallized vias.
[0095] For example, you can filter out all vias that have specific property values that indicate they are metallized.
[0096] During the design rule checking (DRC) process, SKILL scripts can be used to verify that the metallization status of vias meets the design specifications. SKILL scripts can automatically generate reports containing all metallized through-hole information, which is very useful for design review and record keeping. SKILL scripts are integrated with the Cadence design environment and can access and operate all elements in the current design, including metallized through-holes, in real time.
[0097] For example, in this embodiment, by reading the PCB design file, all through pins (holes penetrating from the top layer of the PCB to the bottom layer) on the PCB board can be obtained, and metallized holes can be screened out. At this time, the holes obtained include screw holes, crimping holes and wave soldering holes; the characteristic of the screw hole is that the corresponding device has only one through hole, and the characteristic of the crimping hole is that the package will have separate hole detailed information and press identification on the dimensioning layer (the dimensioning layer is part of the PCB design file). Through these two attributes, the holes corresponding to the wave soldering can be screened out.
[0098] Combination Figure 4 , the steps for screening wave solder holes can be as follows Figure 4 As shown, specifically:
[0099] Step S401, using skill (skill language) to obtain all through pins on the board, which are divided into metallized holes and non-metallized holes; the non-metallized holes are removed, and only the position coordinates of the metallized holes are retained.
[0100] Step S402, identifying whether the obtained metallized hole device has only one hole, if so, it is determined to be a screw hole, and this part of the hole is removed, and then proceeding to step S403.
[0101] Step S403, identifying whether the components corresponding to the remaining metallized holes have corresponding press (press connection mark) and other instructions in the dimension annotation layer. If yes, it is determined to be a press connection hole, and this part of the holes is removed, and the process continues to step S404.
[0102] Step S404: the remaining metallized holes are the metallized holes that need to be wave soldered.
[0103] In an exemplary embodiment, the printed circuit board design file includes indication information for indicating through-hole positions of all through-holes in the printed circuit board and indication information for indicating soldering areas of plug-in components on the printed circuit board;
[0104] The plug-in components corresponding to the identified wave soldering holes are determined as wave soldering components, including:
[0105] S71, determining the plug-in component whose corresponding welding area matches the through-hole position of the identified wave soldering hole as a wave soldering component.
[0106] PCB design files usually include information about through-hole locations and soldering areas for plug-in components. Through-hole location information usually includes information such as the coordinates, diameter, and depth of the through-holes, so that they can be accurately positioned and drilled during the manufacturing process. The soldering area information for plug-in components usually includes information such as the location, size, and shape of the pads, so that components can be correctly installed and connected during the soldering process.
[0107] Match the soldering area of the plug-in component with the identified wave soldering hole location to determine the wave soldering device.
[0108] Through this embodiment, the accuracy of wave soldering component determination can be improved.
[0109] In an exemplary embodiment, after controlling the top surface of the projection area of the wave soldering device on the printed circuit board to be milled thin, the method further includes:
[0110] S81, in a printed circuit board design file corresponding to the printed circuit board, adding a prohibited routing area to a layer to which the area to be milled off on the printed circuit board belongs, so as to prohibit routing in the area to be milled off on the printed circuit board.
[0111] In order to avoid interference or conflict and ensure the normal operation of the circuit board, a forbidden area can be added to the layer to which the milled area on the printed circuit board belongs in the printed circuit board design file corresponding to the printed circuit board.
[0112] Adding keep-out zones to a printed circuit board design file means explicitly specifying certain areas in the PCB layout that cannot be used to place components or traces. Keep-out zones can be defined by drawing boundaries or using specialized design rules / constraints.
[0113] Here, PCB layer refers to the various layers of the printed circuit board. In PCB design, it is usually divided into different layers such as the top layer, bottom layer, and internal layer. Each layer contains circuit elements such as wires, pads, components, etc., and these layers are connected to form a complete circuit board.
[0114] For example, in this embodiment, when the pin length of the plug-in component is less than the thickness of the PCB board, the plug-in part is thinned by milling the PCB TOP surface within the projection area on the PCB, and the number of layers milled off is added to the forbidden area in the PCB design file (that is, any conductive elements (such as traces, pads, vias, etc.) are prohibited from being placed) to avoid affecting the signal.
[0115] In an exemplary embodiment, after determining whether the specified milling condition is met according to the pin length of the wave soldering component and the thickness of the printed circuit board, the method further includes:
[0116] S91, when the specified milling thinning condition is met, in the printed circuit board design file corresponding to the printed circuit board, retain the pin pads of all inner layers within the projection range of the milled area on the printed circuit board.
[0117] The inner pads can be used as part of the electrical connection, connected to the outer pads or component pins through holes to form a complete circuit path; the inner pads can be used for thermal connection to help dissipate heat.
[0118] Inner pads can be used in conjunction with vias to allow signals to be passed from one layer to another; retaining inner pads can prevent separation between the hole wall and the inner copper foil, improving the overall reliability of the PCB; retaining inner pads can provide more layout and routing options for circuit design, especially in space-constrained PCB designs.
[0119] For example, in this embodiment, since the pads corresponding to the pins on the TOP surface will be milled off after the PCB board is milled thin, it may cause poor soldering of the device during wave soldering; in order to solve this problem, the pin pads of all inner layers are retained in the PCB design file to enhance the firmness of the soldering.
[0120] Optionally, the pin pads of all inner layers of the area not milled off under the projection range of the milled area are retained. For example, if the original PCB board corresponding to the milled area includes 6 layers, if the 1st to 3rd layers are milled off after the PCB board is milled thin, the pin pads of all inner layers of the projection range of the 4th to 6th layers are retained.
[0121] Through this embodiment, the flexibility of PCB layout and wiring can be improved by retaining the inner layer pads of the PCB.
[0122] In an exemplary embodiment, after controlling the top surface of the projection area of the wave soldering device on the printed circuit board to be milled thin, the method further includes:
[0123] S101, when the specified milling condition is met, in a printed circuit board design file corresponding to the printed circuit board, a section of routing to the un-milled area on the printed circuit board is added for the pads corresponding to the signal pins of the wave soldering device and not milled off to perform via drilling.
[0124] Wave soldering pins can be divided into two types according to their functions: signal pins and power pins.
[0125] For example, in this embodiment, combined with Figure 5 Taking the wave soldering device as a DIP (dual in-line package) device as an example, in order to increase the reliability of the device, the signal pins in the wave soldering device are screened out, and the pads (pad) of each layer of the reserved part corresponding to the milled wave soldering device are simultaneously extended to the un-milled area to drill vias, and then continue the subsequent trace design; in this way, even if there is a certain deviation when the PCB board factory processes the milling board, milling a certain thickness will not cut off all signals, and the normal use of the signal can be guaranteed.
[0126] In an exemplary embodiment, after controlling the top surface of the projection area of the wave soldering device on the printed circuit board to be milled thin, the method further includes:
[0127] S102, when the specified milling conditions are met, when the number of layers of connecting copper foil of the power pins of the wave soldering device is greater than the specified number of layers, control the digging of part of the connecting copper foil of the power pins of the wave soldering device so that the number of layers of connecting copper foil of the remaining power pins of the wave soldering device is less than or equal to the specified number of layers.
[0128] There are plug-in holes and corresponding pads on the PCB board for accommodating plug-in devices. The plug-in holes penetrate from the top layer to the bottom layer. The pads are set on all layers in the PCB board. For the pads of the power supply and GND network, there will be multiple layers of planes in the board connected to the plug-in holes, which causes the heat to dissipate faster during welding. As a result, the heat is dissipated before the welding is completed, resulting in poor welding.
[0129] In the related art, the number of connection layers of the device pins that need wave soldering is controlled within the specified layer, and the remaining layers are manually hollowed out to cancel the connection relationship. The disadvantage of this method is that the pins for wave soldering need to be found by naked eyes, and the number of connection layers is confirmed one by one and hollowed out one by one, which is inefficient and easy to miss.
[0130] In this embodiment, the wave soldering device obtained in the previous embodiment can be further screened to obtain the power pins of the wave soldering device, and the number of layers of connecting copper foil of each power pin can be confirmed based on the PCB design file. If the number of layers is less than or equal to the specified layer, no special processing is required; if the number of layers of connecting copper foil of the power pin is greater than the specified layer, only the connection of the specified layer is retained, and the connections of the remaining power layers are dug up. This can reduce the heat dissipated by the lines in the welding area and improve the welding quality of the solder.
[0131] Optionally, the designated layer may be, but is not limited to, 3 layers.
[0132] Here, the number of copper foil layers for connecting power pins refers to the number of copper foil layers that the power pins of electronic components are connected to on the PCB. In a multi-layer PCB design, the power pins can be connected to one or more copper foil layers through traces or vias.
[0133] Through this embodiment, the mismatch between the pin length of the wave soldering device and the thickness of the PCB board can be solved while reducing the heat emitted by the inner layer circuit in the soldering area and improving the soldering quality of the solder.
[0134] As an optional exemplary embodiment of the present application, taking the wave soldering device as a DIP device as an example, the preparation control method of the printed circuit board of the embodiment of the present application is explained.
[0135] This application solves the problem of DIP pins not being able to be inserted by partially milling and thinning the PCB at the location of the DIP device; to ensure the reliability of DIP device welding after the PCB is thinned, pads are reserved on each layer of the corresponding pins and the wiring is routed at the same time; cadence skill is used to quickly locate and reduce the problem of too many layers of power pin connections in wave soldering.
[0136] like Figure 6 As shown, the present application may include a screening unit, a milling unit, a signal pin reinforcement unit, and a power pin processing unit, specifically:
[0137] The screening unit is used to obtain all through holes on the PCB board; the metallized holes are screened out therefrom, and the holes obtained at this time include screw holes, crimping holes and wave soldering holes; the characteristic of the screw hole is that this device has only one through hole, and the characteristic of the crimping hole is that the package will have separate hole detailed information and press identification on the dimensioning layer. Through these two attributes, the holes corresponding to the wave soldering desired by the present invention can be further obtained.
[0138] The milling unit is used to mill and thin the PCB TOP surface (the top surface of the printed circuit board (PCB)) of the plug-in parts in the projection area on the PCB when the size of the pins of the plug-in components is smaller than the thickness of the PCB board. In a multi-layer PCB, the TOP surface is the first outer layer. In thermal design, the TOP surface may need to be arranged with heat dissipation traces or heat dissipation pads to help dissipate the heat generated by the components.
[0139] The signal pin reinforcement unit is used to further screen out the signal pins in the wave soldering device based on the device pins of the wave soldering device screened out by the screening unit, and simultaneously extend a section of the pads of each layer of the retained part of the DIP device after milling to the un-milled area to drill vias, and then continue the subsequent trace design.
[0140] The power pin processing unit is used to further screen the device pins of the wave soldering device screened out by the screening unit to obtain the power pins; confirm the number of layers of connecting copper foil of each power pin, if the number of layers is less than or equal to 3 layers, no special processing is required; if the number of layers of connecting copper foil of the power pin is greater than 3 layers, only 3 layers of connection are retained, and the connections of the remaining power layers are dug up, which can reduce the heat dissipated by the lines in the welding area and improve the welding quality of the solder.
[0141] Through the present application, the local design is optimized without affecting the overall board thickness, and the processing method when the pin length of the plug-in component does not meet the wave soldering requirement is solved; the connection method of the wave soldering pin is optimized quickly, the soldering quality of the wave soldering is improved, and the processing method when the pin length of the plug-in component does not meet the wave soldering requirement is solved; the reliability of DIP device soldering after the PCB is milled thin is increased, and the pads are retained on each layer of the corresponding pins and the wiring is routed at the same time; cadenceskill is used to quickly locate and reduce the problem of too many connection layers of the power pins of the wave soldering.
[0142] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.
[0143] According to another aspect of the embodiment of the present application, a printed circuit board preparation control device is also provided, and the device is used to implement the printed circuit board preparation control method provided in the above-mentioned embodiment, and the description has been made no further. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware is also possible and conceived.
[0144] Figure 7 is a structural block diagram of an optional printed circuit board preparation control device provided in an embodiment of the present application, such as Figure 7 As shown, the device comprises:
[0145] An acquisition unit 702 is used to acquire the pin length of a wave soldering device and the thickness of a printed circuit board, wherein the wave soldering device is a plug-in component to be soldered to the printed circuit board by wave soldering;
[0146] The judging unit 704 is used to judge whether the specified milling condition is satisfied according to the pin length of the wave soldering device and the thickness of the printed circuit board, wherein the specified milling condition is a condition for performing milling processing on the top surface of the projection area of the wave soldering device on the printed circuit board;
[0147] The first control unit 706 is used to control the top surface of the projection area of the wave soldering component on the printed circuit board to be milled thin when the specified milling condition is met.
[0148] It should be noted that the acquisition unit 702 in this embodiment can be used to execute the above step S102, the determination unit 704 in this embodiment can be used to execute the above step S104, and the first control unit 706 in this embodiment can be used to execute the above step S106.
[0149] Through the embodiments of the present application, the pin length of a wave soldering device and the thickness of a printed circuit board are obtained, wherein the wave soldering device is a plug-in component to be soldered to the printed circuit board by wave soldering; based on the pin length of the wave soldering device and the thickness of the printed circuit board, it is determined whether a specified milling condition is met, wherein the specified milling condition is a condition for performing milling thinning on the top surface of a projection area of the wave soldering device on the printed circuit board; when the specified milling condition is met, the top surface of the projection area of the wave soldering device on the printed circuit board is controlled to perform milling thinning, thereby solving the problem of poor welding effect caused by the mismatch between the pin length of the plug-in component and the thickness of the printed circuit board in the preparation control method of the printed circuit board in the related art.
[0150] In an exemplary embodiment, the determining unit includes:
[0151] A first determining module, used to determine the maximum value of the thickness of the printed circuit board according to the thickness of the printed circuit board and the thickness tolerance of the printed circuit board;
[0152] The second determination module is used to determine whether the specified milling thinning condition is met according to the maximum value of the pin length of the wave soldering component and the thickness of the printed circuit board.
[0153] In an exemplary embodiment, the first determining module includes:
[0154] The first determination submodule is used to determine the sum of the thickness of the printed circuit board plus the product of the thickness of the printed circuit board and the thickness tolerance of the printed circuit board as the maximum value of the thickness of the printed circuit board.
[0155] In an exemplary embodiment, the specified milling thinning condition includes a lead length of the wave soldering component being less than or equal to a specified length threshold;
[0156] The second determination module includes:
[0157] A second determination submodule is used to determine whether the specified milling thinning condition is satisfied when the maximum value of the thickness of the printed circuit board is greater than or equal to the pin length of the wave soldering component;
[0158] A third determination submodule is used to determine that the specified milling condition is satisfied when the maximum value of the thickness of the printed circuit board is less than the pin length of the wave soldering device and the difference between the pin length of the wave soldering device and the maximum value of the thickness of the printed circuit board is less than a specified length threshold;
[0159] The fourth determination submodule is used to determine that the specified milling condition is not met when the maximum value of the thickness of the printed circuit board is less than the pin length of the wave soldering device and the difference between the pin length of the wave soldering device and the maximum value of the thickness of the printed circuit board is greater than or equal to a specified length threshold.
[0160] In an exemplary embodiment, the first control unit comprises:
[0161] A third determination module is used to determine the thickness to be milled by adding the maximum value of the thickness of the printed circuit board to a specified length threshold value minus the pin length of the wave soldering device when the maximum value of the thickness of the printed circuit board is greater than or equal to the pin length of the wave soldering device; or
[0162] A fourth determination module, in the case where the maximum value of the thickness of the printed circuit board is less than the pin length of the wave soldering device, and the difference between the pin length of the wave soldering device and the maximum value of the thickness of the printed circuit board is less than a specified length threshold, determines the result of subtracting the target value from the specified length threshold as the thickness to be milled, wherein the target value is the difference between the pin length of the wave soldering device and the maximum value of the thickness of the printed circuit board;
[0163] The processing module is used to control the top surface of the projection area of the wave soldering device on the printed circuit board to be milled thin according to the thickness to be milled thin, so that the pin length of the wave soldering device is greater than or equal to a specified length threshold.
[0164] In an exemplary embodiment, the above device further comprises:
[0165] A first determining unit is used to determine all through holes on the printed circuit board according to a printed circuit board design file corresponding to the printed circuit board before obtaining the pin length of the wave soldering device and the thickness of the printed circuit board;
[0166] The first execution unit is used to identify the wave soldering holes on the printed circuit board from all the through holes on the printed circuit board, and determine the plug-in components corresponding to the identified wave soldering holes as wave soldering components.
[0167] In an exemplary embodiment, the first execution unit includes:
[0168] The first elimination module is used to eliminate non-metallized holes in all through holes on the printed circuit board to obtain a group of metallized holes;
[0169] The second elimination module is used to eliminate in turn the metallized holes with threaded hole features and the metallized holes with crimping hole features in a group of metallized holes to obtain wave soldering holes, wherein the threaded hole feature is that the corresponding device has only one metallized hole, and the crimping hole feature is that there is corresponding description information and identification in the dimension annotation layer described in the printed circuit board design file.
[0170] In an exemplary embodiment, the printed circuit board design file includes indication information for indicating through-hole positions of all through-holes in the printed circuit board and indication information for indicating soldering areas of plug-in components on the printed circuit board;
[0171] The first execution unit includes:
[0172] The fifth determination module is used to determine the plug-in component whose corresponding welding area matches the through-hole position of the identified wave soldering hole as a wave soldering component.
[0173] In an exemplary embodiment, the above device further comprises:
[0174] An adding unit is used to add a forbidden area to the layer to which the milled area on the printed circuit board belongs in a printed circuit board design file corresponding to the printed circuit board after the top surface of the projection area of the wave soldering device on the printed circuit board is controlled to be milled thin, so as to prohibit routing in the milled area on the printed circuit board.
[0175] In an exemplary embodiment, the above device further comprises:
[0176] The retaining unit is used to determine whether the specified milling thinning condition is met according to the pin length of the wave soldering device and the thickness of the printed circuit board. If the specified milling thinning condition is met, in the printed circuit board design file corresponding to the printed circuit board, retain the pin pads of all layers within the projection range of the milled area on the printed circuit board.
[0177] In an exemplary embodiment, the above device further comprises:
[0178] The second execution unit is used to add a section of routing to the un-milled area on the printed circuit board for the pads corresponding to the signal pins of the wave soldering device and not milled off, and to perform vias thereon in a printed circuit board design file corresponding to the printed circuit board, after controlling the milling thinning process on the top surface of the projection area of the wave soldering device on the printed circuit board, if the specified milling thinning conditions are met.
[0179] In an exemplary embodiment, the above device further comprises:
[0180] The second control unit is used to, after controlling the milling thinning process on the top surface of the projection area of the wave soldering device on the printed circuit board, control digging out part of the connecting copper foil of the power pin of the wave soldering device when the number of layers of the connecting copper foil of the power pin of the wave soldering device is greater than the specified number of layers when the specified milling thinning conditions are met, so that the number of layers of the connecting copper foil of the remaining power pin of the wave soldering device is less than or equal to the specified number of layers.
[0181] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0182] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0183] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a ROM (Read-Only Memory), a RAM (Random Access Memory), a mobile hard disk, a magnetic disk or an optical disk.
[0184] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0185] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0186] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0187] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0188] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0189] The embodiments of the present application also provide a computer program, which includes computer instructions, which are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the steps in any one of the above method embodiments.
[0190] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0191] The above are only preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for controlling the preparation of a printed circuit board, characterized in that: include: Obtaining the pin length of a wave soldering device and the thickness of the printed circuit board, wherein the wave soldering device is a plug-in component to be soldered to the printed circuit board by wave soldering; According to the pin length of the wave soldering device and the thickness of the printed circuit board, determining whether a specified milling thinning condition is met, wherein the specified milling thinning condition is a condition for performing a milling thinning process on the top surface of the projection area of the wave soldering device on the printed circuit board; When the specified milling thinning condition is met, the top surface of the projection area of the wave soldering component on the printed circuit board is controlled to be milled thin.
2. The method according to claim 1, characterized in that The step of judging whether a specified milling condition is met according to the pin length of the wave soldering device and the thickness of the printed circuit board comprises: Determining a maximum value of the thickness of the printed circuit board according to the thickness of the printed circuit board and the thickness tolerance of the printed circuit board; Whether the specified milling thinning condition is met is determined based on the maximum value of the pin length of the wave soldering component and the thickness of the printed circuit board.
3. The method according to claim 2, characterized in that Determining the maximum value of the thickness of the printed circuit board according to the thickness of the printed circuit board and the thickness tolerance of the printed circuit board includes: The sum of the thickness of the printed circuit board plus the product of the thickness of the printed circuit board and the thickness tolerance of the printed circuit board is determined as the maximum value of the thickness of the printed circuit board.
4. The method according to claim 2, characterized in that: The specified milling condition includes that the lead length of the wave soldering component is less than or equal to a specified length threshold; The determining whether the specified milling condition is met according to the maximum value of the pin length of the wave soldering device and the thickness of the printed circuit board comprises: In the case where the maximum value of the thickness of the printed circuit board is greater than or equal to the pin length of the wave soldering component, determining that the specified milling thinning condition is satisfied; In the case where the maximum value of the thickness of the printed circuit board is less than the pin length of the wave soldering device, and the difference between the pin length of the wave soldering device and the maximum value of the thickness of the printed circuit board is less than the specified length threshold, determining that the specified milling condition is satisfied; When the maximum value of the thickness of the printed circuit board is less than the pin length of the wave soldering component, and the difference between the pin length of the wave soldering component and the maximum value of the thickness of the printed circuit board is greater than or equal to the specified length threshold, it is determined that the specified milling condition is not met.
5. The method according to claim 4, characterized in that When the specified milling condition is met, controlling the top surface of the projection area of the wave soldering device on the printed circuit board to be milled thin, comprises: In the case where the maximum value of the thickness of the printed circuit board is greater than or equal to the pin length of the wave soldering device, the thickness to be milled is determined as the result of adding the maximum value of the thickness of the printed circuit board to the specified length threshold minus the pin length of the wave soldering device; or In the case where the maximum value of the thickness of the printed circuit board is less than the pin length of the wave soldering device, and the difference between the pin length of the wave soldering device and the maximum value of the thickness of the printed circuit board is less than the specified length threshold, the result of subtracting the target value from the specified length threshold is determined as the thickness to be milled, wherein the target value is the difference between the pin length of the wave soldering device and the maximum value of the thickness of the printed circuit board; The top surface of the projection area of the wave soldering component on the printed circuit board is subjected to milling thinning according to the thickness to be milled thinning control, so that the pin length of the wave soldering component is greater than or equal to the specified length threshold.
6. The method according to claim 1, characterized in that Before obtaining the pin length of the wave soldering component and the thickness of the printed circuit board, the method further includes: Determining all through holes on the printed circuit board according to a printed circuit board design file corresponding to the printed circuit board; The wave soldering holes on the printed circuit board are identified from all through holes on the printed circuit board, and the plug-in components corresponding to the identified wave soldering holes are determined as the wave soldering components.
7. The method according to claim 6, characterized in that The step of identifying the wave soldering holes on the printed circuit board from all through holes on the printed circuit board comprises: Eliminating non-metallized holes from all through holes on the printed circuit board to obtain a group of metallized holes; The wave soldering hole is obtained by sequentially eliminating the metallized holes with threaded hole features and the metallized holes with crimping hole features from the group of metallized holes, wherein the threaded hole feature is that the corresponding device has only one metallized hole, and the crimping hole feature is that there is corresponding description information and identification in the dimension annotation layer described in the printed circuit board design file.
8. The method according to claim 6, characterized in that The printed circuit board design file includes indication information for indicating through-hole positions of all through-holes in the printed circuit board and indication information for indicating soldering areas of plug-in components on the printed circuit board; The step of determining the plug-in component corresponding to the identified wave soldering hole as the wave soldering component comprises: The plug-in component whose corresponding welding area matches the identified through-hole position of the wave soldering hole is determined as the wave soldering component.
9. The method according to claim 1, characterized in that: After the controlling of performing a milling process on the top surface of the projection area of the wave soldering device on the printed circuit board, the method further comprises: In a printed circuit board design file corresponding to the printed circuit board, a forbidden area is added to the layer to which the area milled off on the printed circuit board belongs, so as to prohibit routing in the area milled off on the printed circuit board.
10. The method according to claim 1, characterized in that After determining whether the specified milling condition is met according to the pin length of the wave soldering device and the thickness of the printed circuit board, the method further includes: When the specified milling thinning condition is met, in a printed circuit board design file corresponding to the printed circuit board, the pin pads of all inner layers within the projection range of the milled area on the printed circuit board are retained.
11. The method according to any one of claims 1 to 10, characterized in that After the controlling of performing a milling process on the top surface of the projection area of the wave soldering device on the printed circuit board, the method further comprises: When the specified milling thinning conditions are met, in a printed circuit board design file corresponding to the printed circuit board, a section of routing to the un-milled area on the printed circuit board is added for drilling a via for the pads that correspond to the signal pins of the wave soldering device and are not milled off.
12. The method according to any one of claims 1 to 10, characterized in that After the controlling of performing a milling process on the top surface of the projection area of the wave soldering device on the printed circuit board, the method further comprises: When the specified milling thinning condition is met, when the number of layers of connecting copper foil of the power pin of the wave soldering device is greater than the specified number of layers, control is performed to dig up part of the connecting copper foil of the power pin of the wave soldering device so that the remaining number of layers of connecting copper foil of the power pin of the wave soldering device is less than or equal to the specified number of layers.
13. A printed circuit board preparation control device, characterized in that: include: An acquisition unit, used for acquiring the pin length of a wave soldering device and the thickness of the printed circuit board, wherein the wave soldering device is a plug-in component to be soldered to the printed circuit board by wave soldering; A judging unit, configured to judge whether a specified milling condition is satisfied according to the pin length of the wave soldering device and the thickness of the printed circuit board, wherein the specified milling condition is a condition for performing a milling process on the top surface of the projection area of the wave soldering device on the printed circuit board; The first control unit is used for controlling the milling thinning process of the top surface of the projection area of the wave soldering component on the printed circuit board when the specified milling thinning condition is met.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method according to any one of claims 1 to 12 when executed by a processor.
15. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 12 are implemented.
Citation Information
Patent Citations
Printed circuit board unit
CN101080141A
Electronic installation method, circuit board assembly and communication equipment
CN118042733A
Package assembly based on sinking type printed circuit board
CN215956731U
Cited By
Component pin length increasing method and device, electronic equipment and storage medium
CN120152183A
Methods and apparatus for extending component pins, electronic devices and storage media
CN120152183B
