Line width determination method, electronic device and storage medium

By adjusting the target line width of the pin routing, the problems of poor pin welding reliability and signal transmission reliability are solved, and the stability of welding and the integrity of signal transmission are achieved.

CN120512830BActive Publication Date: 2025-09-12INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510992921.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-18
Publication Date
2025-09-12
Estimated Expiration
2045-07-18

AI Technical Summary

Technical Problem

In the prior art, when the width of the pin trace is greater than the pin width, welding reliability and signal transmission reliability are poor.

Method used

By obtaining the preset line width and pin width corresponding to the pin, the target line width of the pin routing can be flexibly adjusted so that the width of the overlapping part of the pin and the routing is no greater than the pin width, and the line width of the non-overlapping part can be adjusted according to the signal transmission requirements.

Benefits of technology

The soldering reliability of the pins and the signal transmission reliability are improved, avoiding the problems of solder joint cracking and incomplete signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120512830B_ABST
    Figure CN120512830B_ABST
Patent Text Reader

Abstract

This application discloses a line width determination method, electronic device, and storage medium, relating to the field of server technology. The method comprises: obtaining a preset line width corresponding to a pin, where the preset line width is the width of a pin trace corresponding to the pin, through which the pin is connected to a circuit board; determining the pin width of the pin, where the pin width is the width of the area occupied by the pin on the circuit board after the pin is connected to the circuit board; and determining a target line width for the pin trace based on the preset line width and the pin width. In the above method, the target line width of the pin trace can be flexibly adjusted based on the preset line width and the pin width, thereby improving the soldering reliability of the pin.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of server technology, and in particular to a line width determination method, electronic device, and storage medium. Background Art

[0002] The pins can be soldered to a printed circuit board (PCB) through pin traces.

[0003] Currently, technicians can determine the width of the pin trace corresponding to the pin based on the signal type transmitted by the pin. However, if the width of the pin trace is wider than the width of the pin, the soldering reliability of the pin is poor. Summary of the Invention

[0004] The present application provides a line width determination method, an electronic device, and a storage medium to at least solve the problem of poor soldering reliability of pins in the related art.

[0005] In a first aspect, the present application provides a line width determination method, comprising:

[0006] Obtaining a preset line width corresponding to a pin, where the preset line width is a preset width of a pin trace corresponding to the pin, and the pin is connected to a circuit board through the pin trace;

[0007] Determining a pin width of the pin, where the pin width is the width of an area occupied by the pin on the circuit board after the pin is connected to the circuit board;

[0008] A target line width of the pin routing is determined according to the preset line width and the pin width.

[0009] In a second aspect, the present application provides a line width determination device, the device comprising an acquisition module and a determination module, wherein:

[0010] The acquisition module is used to acquire a preset line width corresponding to a pin, where the preset line width is a preset width of a pin trace corresponding to the pin, and the pin is connected to a circuit board through the pin trace;

[0011] The determination module is used to determine the pin width of the pin, where the pin width is the width of an area occupied by the pin on the circuit board after the pin is connected to the circuit board;

[0012] The determination module is further configured to determine a target line width of the pin routing according to the preset line width and the pin width.

[0013] In a third aspect, the present application further provides an electronic device, comprising:

[0014] memory for storing computer programs;

[0015] A processor is configured to implement the steps of the line width determination method provided in any one of the first aspects above when executing a computer program.

[0016] In a fourth aspect, the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the line width determination method provided in any one of the first aspects are implemented.

[0017] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the line width determination method provided in any one of the first aspects above.

[0018] Through the technical solution provided in the embodiments of the present application, an electronic device can obtain the preset line width corresponding to a pin, determine the pin width of the pin, and determine the target line width of the pin routing based on the preset line width and the pin width. In the above method, the electronic device can flexibly set the target line width of the pin routing. If the preset line width is less than or equal to the pin width, the target line width of the pin routing can be determined as the preset line width to meet the signal transmission requirements. If the preset line width is greater than the pin width, the target line width of the portion of the pin routing close to the circuit board can be determined as the pin width, and the target line width of the portion of the pin routing away from the circuit board can be determined as the preset line width. On the one hand, the routing width of the portion where the pin and the pin routing overlap is not greater than the pin width, thereby achieving the purpose of improving the soldering reliability of the pin; on the other hand, the routing width of the portion where the pin routing does not overlap with the pin can be equal to the preset line width, thereby meeting the signal transmission requirements. Therefore, the technical problems of poor soldering reliability of the pin and poor signal transmission reliability of the pin can be solved, achieving the technical effect of improving the soldering reliability of the pin and improving the signal transmission reliability of the pin. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0020] Figure 1 Schematic diagram of the PCB provided in the embodiment of this application Figure 1 ;

[0021] Figure 2 Schematic diagram of the process of the line width determination method provided in the embodiment of the present application Figure 1 ;

[0022] Figure 3Schematic diagram of the PCB provided in the embodiment of this application Figure 2 ;

[0023] Figure 4 Schematic diagram of the process of the line width determination method provided in the embodiment of the present application Figure 2 ;

[0024] Figure 5 Schematic diagram of the PCB provided in the embodiment of this application Figure 3 ;

[0025] Figure 6 A schematic structural diagram of a line width determination device provided in an embodiment of the present application;

[0026] Figure 7 This is a schematic diagram of the structure of the electronic device provided in this application. DETAILED DESCRIPTION

[0027] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0028] It should be noted that, in the description of this application, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. The terms "first," "second," etc., in this application are used to distinguish similar objects, and are not used to describe a particular order or sequence.

[0029] To facilitate understanding, the technical terms involved in the embodiments of this application are first explained.

[0030] Printed Circuit Board (PCB): A crucial electronic component that connects electronic components. Produced using electronic printing technology, it supports electronic components and provides wiring connections within electronic devices.

[0031] The printed circuit board (PCB) is a crucial component of servers. Its performance directly impacts the server's data transmission efficiency and operational stability. To ensure good PCB performance, the reliability of the soldered pins on the PCB must be ensured. Specifically, component pins can be soldered to the PCB via pin traces to connect the components. For example, these components can be capacitors, inductors, or sensors.

[0032] For ease of understanding, the following Figure 1 , the connection between the pin and the PCB is explained as an example.

[0033] Figure 1 Schematic diagram of the PCB provided in the embodiment of this application Figure 1 See Figure 1 , pin A can be connected to the PCB via pin trace 1, pin B can be connected to the PCB via pin trace 2, and pin C can be connected to the PCB via pin trace 3. It should be noted that the number of pins connected to the PCB via pin traces can be one or more. Figure 1 This is merely an example of how the pins can be connected to the PCB through pin traces, and does not constitute a limitation on the technical solutions provided in the embodiments of the present application.

[0034] like Figure 1 As shown, the width of pin trace 1 is smaller than the width of pin A, the width of pin trace 2 is equal to the width of pin B, and the width of pin trace 3 is larger than the width of pin C.

[0035] It should be noted that the width of the pin trace can be set by technicians according to the signal transmission requirements. Figure 1 For example, technicians can set the width of pin trace 1, the width of pin trace 2, and the width of pin trace 3 according to signal transmission requirements.

[0036] Specifically, technicians can determine the width of the pin trace corresponding to a pin based on the signal type transmitted by the pin. For example, the signal type can be high-speed, power, or general signals. The pin trace corresponding to the power signal needs to meet the transmission requirements of high current, so the width of the pin trace corresponding to the power signal is generally wider. Compared to the power signal, the width of the pin trace corresponding to the general signal is generally narrower.

[0037] If the width of the trace is less than or equal to the pin width, stress distribution in the solder joint area is more uniform, reducing the risk of short circuits or open circuits in the solder joint area and improving pin soldering reliability. However, if the trace width is greater than the pin width, the wider trace will exert greater tension on the pin, causing cracking in the solder joint between the trace and the pin, resulting in poor pin soldering reliability.

[0038] In addition, if the width of the pin trace is greater than the width of the pin, it will cause current concentration or uneven distribution, affecting the integrity of the signal transmitted by the pin, and thus resulting in poor signal transmission reliability of the pin.

[0039] In view of this, the present application provides a line width determination method, which can flexibly adjust the target line width of the pin routing according to the preset line width corresponding to the pin and the pin width, so as to improve the welding reliability of the pin and the signal transmission reliability of the pin.

[0040] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0041] Figure 2 Schematic diagram of the process of the line width determination method provided in the embodiment of the present application Figure 1 .like Figure 2 As shown, an embodiment of the present application provides a method for determining line width. The execution subject of the method can be an electronic device or a processor in the electronic device. For example, the electronic device can be a server, and the processor can be a central processing unit (CPU). For ease of understanding, the following description uses the electronic device as an example. The method may include:

[0042] S201: Obtain a preset line width corresponding to a pin.

[0043] The pin may be any pin of a device to be connected to the PCB, for example, a pin of a capacitor.

[0044] The preset line width can be the width of the pin trace corresponding to a predetermined pin. Specifically, technicians can determine the preset line width corresponding to a pin based on the signal type transmitted by the pin. For example, if the signal type transmitted by the pin is a power signal, technicians can set a larger preset line width for the pin.

[0045] The pins can be connected to the circuit board through pin traces. Specifically, the pins can be soldered to the circuit board through the pin traces.

[0046] In this embodiment, the electronic device can obtain the correspondence between the pin identifier and the trace width, which includes at least one pin identifier and the trace width corresponding to each pin identifier; based on the correspondence between the pin identifier and the trace width, and the target pin identifier of the pin, the preset line width corresponding to the pin is determined.

[0047] Pin identifiers can be used to identify corresponding pins. For example, pin identifiers can be Inter-Integrated Circuit (I2C) pins, Peripheral Component Interconnect Express (PCIE) pins, etc. Pin identifiers can also be called Nets Names.

[0048] The trace width corresponding to the pin identifier may be the width of the pin trace pre-set for the pin corresponding to the pin identifier.

[0049] For example, at least one pin identifier can be stored in a pin identifier array, and a trace width can be stored in a trace width array. The pin identifiers in the pin identifier array and the trace widths in the trace width array can correspond one to one. For example, the pin identifier array can be (pin identifier 1, pin identifier 2, ...), or the pin identifier array can be (nets name 1, nets name 2, ...); and the trace width array can be (trace width 1, trace width 2, ...).

[0050] The target pin identifier can be used to identify the pin.

[0051] Specifically, the electronic device can obtain the correspondence between the pin identifier and the trace width, search for the target pin identifier in the correspondence between the pin identifier and the trace width, and determine the trace width corresponding to the target pin identifier in the correspondence between the pin identifier and the trace width as the preset line width.

[0052] S202: Determine the pin width of the pin.

[0053] The pin width is the width of the area occupied by the pin on the circuit board after it is connected to the circuit board. In other words, the pin width can be the actual physical width of the pin.

[0054] In this embodiment, the electronic device can determine the device to which the pin belongs, where the device is connected to the circuit board through the pin; obtain device information of the device, which includes the pin width of the pin; and determine the pin width based on the device information.

[0055] The device to which the pin belongs may be a capacitor, an inductor, or a sensor, etc. In other words, the pin may be a pin of a capacitor, a pin of an inductor, or a pin of a sensor, etc.

[0056] Specifically, there is a correspondence between the pins and the devices to which they belong. The electronic device can determine the device to which the pin belongs based on the pins and the correspondence between the pins and the devices to which they belong; obtain device information of the device; and search for the pin width of the pin in the device information.

[0057] S203 : Determine a target line width of the pin routing according to the preset line width and pin width.

[0058] In this embodiment, if the preset line width is less than or equal to the pin width, the preset line width can be determined as the target line width. If the preset line width is greater than the pin width, the pin trace can be divided into two parts: one part is the pin trace close to one end of the circuit board, and the other part is the pin trace away from the circuit board. The target line width of the pin trace close to the circuit board can be determined to be equal to the pin width, and the pin trace away from the circuit board can be determined to be equal to the preset line width.

[0059] The following combination Figure 3 , describes the target line width for pin routing.

[0060] Figure 3 Schematic diagram of the PCB provided in the embodiment of this application Figure 2 See Figure 3 , Figure 3 The unshaded rectangles in the figure represent pins, and the shaded rectangles represent pin traces. It should be noted that the number of pins on the PCB and the number of pin traces can be one or more. Figure 3 This is merely an illustrative description and does not constitute a limitation on the technical solutions provided in the embodiments of the present application.

[0061] Assuming that the pin width of pin 1 is A1, the preset line width corresponding to pin 1 is W1, and assuming that A1 is greater than W1, the target line width of the pin routing corresponding to pin 1 may be W1.

[0062] Assuming that the pin width of pin 2 is A2, the preset line width corresponding to pin 2 is W2, and assuming that A2 is equal to W2, the target line width of the pin routing corresponding to pin 2 may be W2.

[0063] Assume that the pin width of pin 3 is A3 and the preset line width corresponding to pin 3 is W3. Assuming that A3 is smaller than W3, the pin trace corresponding to pin 3 can be divided into two parts: the target line width of the part close to the circuit board can be A3, and the target line width of the part far from the circuit board can be W3.

[0064] It should be noted that in the embodiments of the present application, the target line width of the pin trace is set based on the requirement to meet both signal transmission and current transmission requirements. In other words, when the width of the pin trace is at the target line width, the pin trace can meet both signal transmission and current transmission requirements. For example, the current transmission requirement can be a requirement for stable current transmission or a requirement for heat dissipation during current transmission.

[0065] In this embodiment, when the preset line width is less than or equal to the pin width, the preset line width can be determined as the target line width of the pin routing. When the preset line width is greater than the pin width, the target line width of the portion of the pin routing close to the circuit board can be determined as the pin width, and the target line width of the portion of the pin routing away from the circuit board can be determined as the preset line width. Through the above arrangement, on the one hand, the purpose of ensuring that the routing width of the portion where the pin and the pin routing overlap is not greater than the pin width can be achieved, so that the stress distribution in the solder joint area is more uniform, the risk of short circuit or open circuit in the solder joint area is reduced, and the soldering reliability of the pin is thereby improved. On the other hand, the routing width of the portion where the pin routing does not overlap with the pin can be equal to the preset line width to meet the signal transmission requirements, thereby improving the signal transmission reliability of the pin.

[0066] In the line width determination method provided in this embodiment, the electronic device can obtain the preset line width corresponding to the pin, determine the pin width of the pin, and determine the target line width of the pin routing based on the preset line width and the pin width. In this method, the target line width of the pin routing can be flexibly adjusted so that the target line width meets the soldering requirements and signal transmission requirements of the pin, thereby improving the soldering reliability of the pin and the signal transmission reliability of the pin. In addition, the electronic device can automatically adjust the width of the pin routing without manual adjustment, saving manpower and avoiding human errors, making the determined target line width of the pin routing more accurate and the pin routing determination more efficient.

[0067] Based on any of the above embodiments, Figure 4 , the line width determination method provided in the embodiment of the present application is further explained.

[0068] Figure 4 Schematic diagram of the process of the line width determination method provided in the embodiment of the present application Figure 2 .like Figure 4 As shown, an embodiment of the present application provides a method for determining line width. The execution subject of the method can be an electronic device or a processor in the electronic device. For example, the electronic device can be a server and the processor can be a CPU. For ease of understanding, the following description is based on an example of an electronic device as the execution subject. The method may include:

[0069] S401: Obtain a preset line width corresponding to a pin.

[0070] It should be noted that the specific implementation of S401 can be found in S201 and will not be repeated here.

[0071] S402: Determine the device to which the pin belongs.

[0072] The device to which a pin belongs can be the device that includes the pin. A device can be connected to a circuit board via a pin. A device can also be called a symbol.

[0073] In this embodiment, the electronic device can determine the pad corresponding to the pin according to the target pin identifier of the pin, through which the pin is connected to the circuit board, and determine the device to which the pin belongs according to the pad.

[0074] The pad corresponding to a pin can be the portion of the circuit board that completely overlaps the pin. Specifically, when the pin is soldered to the circuit board, it can completely overlap the pad corresponding to the pin on the circuit board. The pad can also be called a net pad. It should be understood that the pin width can be equal to the pad width.

[0075] Specifically, there is a correspondence between the pin identifier and the pad, and there is a correspondence between the pad and the device. The electronic device can determine the device to which the pin belongs based on the target pin identifier of the pin, the correspondence between the pin identifier and the pad, and the correspondence between the pad and the device.

[0076] For example, at least one pin identifier can be stored in a pin identifier array, at least one pad can be stored in a pad array, and at least one device can be stored in a device array. The pin identifiers in the pin identifier array can correspond one-to-one with the pads in the pad array, and the pads in the pad array can correspond one-to-one with the devices in the device array. For example, the pin identifier array can be (pin identifier 1, pin identifier 2, ...); the pad array can be (pad 1, pad 2, ...), or the pad array can be (net pad 1, net pad 2, ...); the device array can be (device 1, device 2, ...), or the device array can be (symbol 1, symbol 2, ...).

[0077] During a specific implementation, the electronic device can search for the target pin identifier of the pin in the correspondence between pin identifiers and pads, and can determine the pad corresponding to the target pin identifier in the correspondence between pin identifiers and pads as the pad corresponding to the pin. The electronic device can also search for the pad corresponding to the pin in the correspondence between pads and devices, and can determine the device corresponding to the pad corresponding to the pin in the correspondence between pads and devices as the device to which the pin belongs.

[0078] S403: Obtain device information of the device.

[0079] The device information of a device may include relevant information about the device. For example, the relevant information about the device may include device attribute information, device size information, and device pin information. The device pin information may include the device pin size, which may include the pin width and pin length of the pin. In other words, the device information may include the pin width of the pin.

[0080] If the electronic device has device information stored locally, the electronic device can obtain the device information locally. If the electronic device does not have device information stored locally, the electronic device can obtain the device information from another device. The other device stores the device information and the electronic device can communicate directly or indirectly with the other device.

[0081] S404: Determine whether the preset line width is greater than the pin width.

[0082] If the preset line width is less than or equal to the pin width, execute S405;

[0083] If the preset line width is greater than the pin width, execute S406 .

[0084] S405 , determining that the target line width of the pin routing is equal to the preset line width.

[0085] When the preset line width is less than or equal to the pin width, the electronic device may determine that the target line width of the pin routing is equal to the preset line width.

[0086] by Figure 3 For example, Figure 3 If the preset line width corresponding to pin 1 is smaller than the pin width of the pin, the target line width of the pin routing corresponding to pin 1 can be equal to the preset line width; Figure 3 The preset line width corresponding to pin 2 is equal to the pin width of the pin, so the target line width of the pin routing corresponding to pin 2 can be equal to the preset line width.

[0087] It should be noted that the portion where the pin trace overlaps the pin may be a pin outlet. In the embodiment of the present application, the target line width of the pin trace is less than or equal to the pin width, and the pin width may be equal to the pad width, and the width of the pin outlet is less than or equal to the pad width.

[0088] S406 : Determine a target line width of the pin routing according to the preset line width and the pin width.

[0089] In this embodiment, the electronic device can determine that the target line width of the first routing is equal to the pin width, and determine that the target line width of the second routing is equal to the preset line width; wherein the pin routing includes a first routing and a second routing, the first routing is the end of the pin routing close to the circuit board, and the second routing is the end of the pin routing away from the circuit board.

[0090] That is, the pin routing can be divided into a first routing and a second routing. The target line width of the first routing can be equal to the pin width, and the target line width of the second routing can be equal to the preset line width. Figure 3 For example, Figure 3 Among the pin routing lines corresponding to the middle pin 3, the pin routing line with a target line width of A3 may be the first routing line, and the pin routing line with a target line width of W3 may be the second routing line.

[0091] It should be noted that the first trace may also be referred to as a pin-out trace. In the embodiment of the present application, the target line width of the first trace is equal to the pin width, and the pin width may be equal to the pad width, and the width of the first trace is equal to the pad width.

[0092] S407: Determine the length of the first trace.

[0093] In this embodiment, after respectively determining the target line width of the first routing line and the target line width of the second routing line, the electronic device may further determine the length of the first routing line.

[0094] It should be noted that the embodiment of the present application does not limit the total length of the pin traces, and the total length of the pin traces can be set according to actual needs. The difference between the total length of the pin traces and the length of the first trace can be the length of the second trace.

[0095] In this embodiment, the electronic device can obtain device information corresponding to the pin, where the device information is information about the device to which the pin belongs, and the device information includes the pin length of the pin; and the length of the first trace is determined based on the pin length.

[0096] Specifically, the electronic device may obtain device information corresponding to the pin, search for the pin length of the pin in the device information, and determine the length of the first trace according to the pin length of the pin.

[0097] It should be noted that the method for obtaining the device information corresponding to the pin can be found in S403 and will not be described in detail here.

[0098] Furthermore, the electronic device can determine the product of the pin length and a preset value, where the product is used to indicate the length of the overlap between the first trace and the pin; the sum of the product and the preset extension length is determined as the length of the first trace, where the preset extension length is the length of the first trace extending from the first side of the pin away from the circuit board, and the first side of the pin is the side of the pin close to the edge of the circuit board.

[0099] Specifically, the electronic device can determine the length of the first trace using the following formula:

[0100]

[0101] Wherein, L can be the length of the first trace, and X can be a preset extension length, which can be set according to actual needs. Optionally, the preset extension length can be equal to 0.254 mm.

[0102] The preset value may range from (0, 1], that is, the preset value may be greater than 0 and less than or equal to 1. Optionally, the preset value may be equal to 0.25, 0.5, or 0.75, etc.

[0103] For example, assuming that the preset value is equal to 0.5 and the preset extension length is equal to 0.254 mm, the length of the first trace may be equal to the sum of half the pin length and 0.254 mm.

[0104] The following combination Figure 5 , the length of the first trace is described.

[0105] Figure 5 Schematic diagram of the PCB provided in the embodiment of this application Figure 3 See Figure 5 , Figure 5 The unshaded rectangles in the figure represent pins, and the shaded rectangles represent pin traces. It should be noted that the number of pins on the PCB and the number of pin traces can be one or more. Figure 5 This is merely an illustrative description and does not constitute a limitation on the technical solutions provided in the embodiments of the present application.

[0106] Assume that the preset line width corresponding to the pin is W, the pin width of the pin is A, and assume that W is greater than A. Then the pin routing can be divided into the first routing and the second routing. The target line width of the first routing can be A, and the target line width of the second routing can be W. Figure 5 As shown, S may be the total length of the pin routing, L may be the length of the first routing, P may be the product of the pin length and a preset value, X may be a preset extension length, and L may be equal to the sum of P and X.

[0107] In the line width determination method provided in this embodiment, the electronic device can obtain the preset line width corresponding to the pin, can determine the device to which the pin belongs, can obtain the device information of the device, and can determine whether the preset line width is greater than the pin width. If the preset line width is less than or equal to the pin width, it can be determined that the target line width of the pin routing is equal to the preset line width. If the preset line width is greater than the pin width, the target line width of the pin routing can be determined based on the preset line width and the pin width, and the length of the first routing can be determined. In the above method, the target line width of the pin routing can be flexibly adjusted so that the target line width meets the welding requirements and signal transmission requirements of the pin, thereby improving the welding reliability of the pin and the signal transmission reliability of the pin. In addition, the electronic device can automatically adjust the width of the pin routing without manual adjustment, saving manpower and avoiding manual errors, so that the determined target line width of the pin routing is more accurate and the efficiency of determining the pin routing is higher.

[0108] 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 the 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.

[0109] Figure 6 This is a schematic diagram of the structure of the line width determination device provided in the embodiment of the present application. Figure 6 As shown, the embodiment of the present application further provides a line width determination device 10, which includes an acquisition module 11 and a determination module 12, wherein:

[0110] The acquisition module 11 is used to obtain a preset line width corresponding to the pin, where the preset line width is a preset width of a pin trace corresponding to the pin, and the pin is connected to the circuit board through the pin trace;

[0111] The determination module 12 is used to determine the pin width of the pin, where the pin width is the width of the area occupied by the pin on the circuit board after the pin is connected to the circuit board;

[0112] The determination module 12 is further configured to determine a target line width of the pin routing according to a preset line width and pin width.

[0113] The line width determination device provided in this embodiment can execute the method shown in any of the above method embodiments. Its implementation principles and technical effects are similar, and are not described in detail in this embodiment.

[0114] In a possible implementation, the determination module 12 is specifically configured to:

[0115] Determine the device to which the pin belongs. The device is connected to the circuit board through the pin.

[0116] Get the device information of the device, including the pin width of the pin;

[0117] Determine the pin width based on the device information.

[0118] In a possible implementation, the determination module 12 is specifically configured to:

[0119] According to the target pin identifier of the pin, the pad corresponding to the pin is determined, and the pin is connected to the circuit board through the pad;

[0120] Determine the device to which the pin belongs based on the pad.

[0121] In a possible implementation, the determination module 12 is specifically configured to:

[0122] Determine whether the preset line width is greater than the pin width;

[0123] If the preset line width is larger than the pin width, the target line width of the pin routing is determined based on the preset line width and the pin width;

[0124] If the preset line width is less than or equal to the pin width, the target line width of the pin routing is determined to be equal to the preset line width.

[0125] In a possible implementation, the determination module 12 is specifically configured to:

[0126] Determine that the target line width of the first routing line is equal to the pin width, and determine that the target line width of the second routing line is equal to the preset line width;

[0127] The pin routing includes a first routing and a second routing. The first routing is an end of the pin routing close to the circuit board, and the second routing is an end of the pin routing away from the circuit board.

[0128] In one possible implementation,

[0129] The acquisition module 11 is further configured to acquire device information corresponding to the pin, where the device information is information about the device to which the pin belongs, and the device information includes the pin length of the pin;

[0130] The determination module 12 is further configured to determine the length of the first trace according to the length of the pin.

[0131] In a possible implementation, the determination module 12 is specifically configured to:

[0132] Determine the product of the pin length and a preset value, the product being used to indicate the length of overlap between the first trace and the pin;

[0133] The sum of the product and the preset extension length is determined as the length of the first trace, where the preset extension length is the length of the first trace extending from the first side of the pin in a direction away from the circuit board, and the first side of the pin is the side of the pin close to the edge of the circuit board.

[0134] In a possible implementation, the acquisition module 11 is specifically configured to:

[0135] Obtaining a correspondence between pin identifiers and trace widths, where the correspondence between pin identifiers and trace widths includes at least one pin identifier and a trace width corresponding to each pin identifier;

[0136] Determine the preset line width corresponding to the pin based on the correspondence between the pin identifier and the trace width, as well as the target pin identifier of the pin.

[0137] The line width determination device provided in this embodiment can execute the method shown in any of the above method embodiments. Its implementation principles and technical effects are similar, and are not described in detail in this embodiment.

[0138] Figure 7 This is a schematic diagram of the structure of the electronic device provided in this application. Figure 7 As shown, the electronic device 20 provided in this embodiment includes: at least one processor 201 and a memory 202. Optionally, the electronic device 20 further includes a communication component 203. The processor 201, the memory 202 and the communication component 203 are connected via a bus.

[0139] During the specific implementation process, at least one processor 201 executes the computer-executable instructions stored in the memory 202, so that the at least one processor 201 executes the line width determination method shown in any of the above method embodiments.

[0140] The specific implementation process of the processor 201 can be found in the above method embodiment. Its implementation principle and technical effects are similar and will not be repeated here in this embodiment.

[0141] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the application may be directly executed by a hardware processor or by a combination of hardware and software modules within the processor.

[0142] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage.

[0143] A bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Buses can be categorized as address buses, data buses, and control buses. For ease of illustration, the buses in the drawings of this application are not limited to just one bus or just one type of bus.

[0144] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps of any of the above-mentioned line width determination method embodiments when running.

[0145] 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 read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0146] 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-mentioned line width determination method embodiments are implemented.

[0147] 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 of any of the above-mentioned line width determination method embodiments are implemented.

[0148] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0149] The above is a detailed introduction to a line width determination method, electronic device, and storage medium provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only intended to help understand the method and core ideas of the present application. It should be noted that, for those skilled in the art, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.

Claims

1. A method for determining line width, characterized in that: include: Obtaining a preset line width corresponding to a pin, where the preset line width is a preset width of a pin trace corresponding to the pin, and the pin is connected to a circuit board through the pin trace; Determining a pin width of the pin, where the pin width is the width of an area occupied by the pin on the circuit board after the pin is connected to the circuit board; Determining whether the preset line width is greater than the pin width; If the preset line width is greater than the pin width, determining that the target line width of the first routing is equal to the pin width, and determining that the target line width of the second routing is equal to the preset line width, wherein the pin routing includes the first routing and the second routing, the first routing is an end of the pin routing close to the circuit board, and the second routing is an end of the pin routing away from the circuit board; If the preset line width is less than or equal to the pin width, it is determined that the target line width of the pin routing is equal to the preset line width.

2. The method according to claim 1, characterized in that The determining the pin width of the pin includes: Determining a device to which the pin belongs, wherein the device is connected to a circuit board via the pin; Acquire device information of the device, wherein the device information includes the pin width of the pin; The pin width is determined according to the device information.

3. The method according to claim 2, characterized in that The determining the device to which the pin belongs includes: Determining a solder pad corresponding to the pin according to a target pin identifier of the pin, wherein the pin is connected to the circuit board via the solder pad; The device to which the pin belongs is determined according to the pad.

4. The method according to claim 1, wherein The method further comprises: Obtain device information corresponding to the pin, where the device information is information about the device to which the pin belongs, and the device information includes: the pin length of the pin; Determine a product of the pin length and a preset value, where the preset value is greater than 0 and less than or equal to 1, and the product is used to indicate a length of overlap between the first trace and the pin; The sum of the product and a preset extension length is determined as the length of the first trace, where the preset extension length is the length of the first trace extending from the first side of the pin in a direction away from the circuit board, and the first side of the pin is the side of the pin close to the edge of the circuit board.

5. The method according to any one of claims 1 to 4, characterized in that The obtaining of the preset line width corresponding to the pin includes: Obtaining a correspondence between pin identifiers and trace widths, where the correspondence between pin identifiers and trace widths includes at least one pin identifier and a trace width corresponding to each pin identifier; The preset line width corresponding to the pin is determined according to the corresponding relationship between the pin identifier and the line width and the target pin identifier of the pin.

6. An electronic device, characterized in that: include: memory for storing computer programs; A processor, configured to implement the steps of the line width determination method according to any one of claims 1 to 5 when executing the computer program.

7. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of the line width determination method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Control system for signal wire width and method thereof

    CN101110090A

  • Method for Setting Width of Trace On Printed Circuit Board

    US20120137266A1