Background technology
Usually, printed circuit board (PCB) is by configuration (Layout) so that be located at each element electric connection of this printed circuit board (PCB) and produce function corresponding, at present, wiring installation teacher for the configuration of printed circuit board (PCB) normally by finishing such as all kinds of wiring software such as Allegro, Protel.In addition, along with the development of electronic component towards miniaturization, use for the respectively also more and more miniaturization of printed circuit board (PCB) of this electronic component is set, and then make that to be laid in object in this printed circuit board (PCB) (as electronic component and connect the respectively signal wire of this electronic component) closeness more and more high.
Usually, in printed circuit board (PCB), can parallelly be laid with first and second signal wire that at least one pair of has identical electric attribute, and lay the consideration in space based on printed circuit board (PCB), during the conducting transmission line layout, then may between this first and second signal wire, lay the 3rd signal wire, with the saving wiring space, thereby make the size design of this printed circuit board (PCB) comply with the trend of miniaturization development as far as possible.And be earlier by artificially on the program interface that wiring software provided, choosing this first and second signal wire that desire is laid the zone for the way of above-mentioned laying the 3rd signal wire at present, then, again by artificial central point coordinate of catching between this binary signal line, so that the 3rd signal wire is laid between this binary signal line.
But, on be set forth between this first and second signal wire the mode of laying the 3rd signal wire of interting, most probably because of human factor can't find central point coordinate accurately rapidly, for laying the 3rd signal wire, and then cause temporal waste; In addition, the wiring path of a pair of signal wire is not to be single straight line, and the turning point that may exist at least one slope to change so, then is added to the difficulty of seeking the central point coordinate between this first and second signal wire undoubtedly; Moreover, even accurately search out central point coordinate between this first and second signal wire according to aforesaid way, and the 3rd signal wire is laid between this first and second signal wire, but, because this stage does not consider whether the distance between centers of tracks between the 3rd signal wire and this first and second signal wire exceeds circuit and lay between the fair symbol of rule apart from scope, if, then can influence the wire quality of this printed circuit board (PCB), must be in follow-up other laying spaces of in this printed circuit board (PCB), seeking, to reconfigure the installation position of the 3rd signal wire, increased the laying time of signal wire so, undoubtedly.
In sum, how to propose a kind of method of obtaining the wiring path of signal wire, to avoid various shortcoming of the prior art, real is the present technical issues that need to address.
Summary of the invention
In view of the shortcoming of above-mentioned prior art, fundamental purpose of the present invention is to provide a kind of method that can time-savingly obtain the wiring path of signal wire, to improve wiring efficient.
Another object of the present invention is to provide a kind of method that can effectively save the wiring path that obtains signal wire of wiring space.
A further object of the present invention is to provide a kind of method of obtaining the wiring path of signal wire, to promote wire quality.
For reaching above-mentioned purpose and other purposes, the invention provides the method for the wiring path that obtains signal wire in a kind of wiring software that is applied to the printed circuit board (PCB) carried out by data processing equipment, wherein, this printed circuit board (PCB) has at least one pair of and has at least one pair of first signal wire with identical electric attribute and parallel laying and secondary signal line, and this wiring software is preset with the live width attribute of all signal wires that are laid in this printed circuit board (PCB), and this method of obtaining the wiring path of signal wire comprises: (1) on the program interface that this wiring software provided, choose desire lay in the zone this first and this secondary signal line; (2) the live width attribute of laying signal wire is treated in acquisition, and sets the safe spacing for the treatment of between laying signal wire and selected this first and this secondary signal line according to this live width attribute; (3) in this first and this secondary signal line on detecting whether have corresponding and to meet the waypoint of predefined condition right, if, then proceed to step (5), if not, then proceed to step (4); (4) in this first or this secondary signal line on the acquisition two first reference points, and form on each first reference point in this and to treat the datum line that laying signal wire is vertical with this, and this datum line is striden be located at this second or this first signal wire on, form one second reference point with junction in this datum line and this second or this first signal wire, and in this first or this secondary signal line on respectively obtain a central point on formed two datum lines, and judge central point on arbitrary datum line to first or this secondary signal line of its correspondence first reference point or the distance of second reference point whether less than the safe spacing that sets, if, then finish the method that this obtains the wiring path of signal wire, if not, then with straight line connect this first or this secondary signal line on central point on formed two datum lines, thereby form a usefulness for lay this treat laying signal wire in this first and this secondary signal line between wiring path, and finish the method that this obtains the wiring path of signal wire; (5) right according to each waypoint of obtaining of detecting, with this first and this secondary signal line be divided into a plurality of sets of line segments, wherein, each sets of line segments comprises two line segments; (6) two first reference points of acquisition on the arbitrary line segment in each sets of line segments, and form on each first reference point in this and to treat the datum line that laying signal wire is vertical with this, and this datum line is striden be located on another line segment in each sets of line segments, junction with another line segment in this datum line and each sets of line segments forms one second reference point, and in respectively obtaining a central point on formed two datum lines on each sets of line segments; (7) judge on arbitrary datum line central point to the distance of first reference point of a sets of line segments of its correspondence or second reference point whether less than the safe spacing that sets, if, then finish the method that this obtains the wiring path of signal wire, if not, then proceed to step (8); (8) connect the central point on formed two datum lines on each sets of line segments with straight line, and extend at least this straight line to the straight line junction of facing sets of line segments mutually, to form a turning point in this junction; And (20) connect all central points and turning point with straight line, thus form a usefulness for lay this treat laying signal wire in this first and this secondary signal line between wiring path, and finish the method that this obtains the wiring path of signal wire.
From the above, the method of obtaining the wiring path of signal wire of the present invention is so that first and second signal wire that should parallel laying is drawn perpendicular datum line mode, respectively at forming reference point on this first and second signal wire, and in obtaining a central point on the formed datum line on this first and second signal wire, and in judge this central point to this first or this secondary signal line on the distance of reference point be not less than default safe spacing after, be dependent on this first and this secondary signal line on the waypoint that obtains of detecting right, this first and second signal wire is divided into a plurality of sets of line segments, choose closing at least two central points in zone by the binary signal wire clamp by sets of line segments, and the central point that connects each sets of line segments with straight line, and extend at least this straight line to the straight line junction of facing sets of line segments mutually, to form a turning point in this junction, at last, connect all central points and turning point with straight line, form one for lay this treat laying signal wire in this first and the secondary signal line between wiring path.Thus, avoid getting the central point coordinate that desire is laid the binary signal line in the zone because of adopting artificial mode to seek in the prior art, and cause temporal waste, in addition, also can be by the method for obtaining the wiring path of signal wire of the present invention, signal wire to be laid is laid between this first and second signal wire, to save wiring space; Moreover, the method of obtaining the wiring path of signal wire of the present invention provides a safe spacing judgment mechanism, be laid between this first and second signal wire with the laying signal wire for the treatment of that cannot not prevent fairly this safe spacing of symbol, thereby the lifting wire quality, and then this is treated the installation position of laying signal wire and causes temporal waste to prevent follow-up adjustment.
Embodiment
Below be that the personage who is familiar with this skill can understand other advantages of the present invention and effect easily by the content that this instructions disclosed by specific instantiation explanation embodiments of the present invention.
Seeing also Fig. 1, is the operating process synoptic diagram that shows the method for the wiring path that obtains signal wire of the present invention.As shown in the figure, the method of obtaining the wiring path of signal wire of the present invention is to be applied in the wiring software of the printed circuit board (PCB) carried out by data processing equipment, this data processing equipment is for example to be PC, notebook computer, server or workstation etc., and this wiring software can for example be Allegro, Protel etc. then.In present embodiment, shown in Fig. 2 A (or Fig. 3 A), this printed circuit board (PCB) is to have first signal wire 1 (or 1 ') and the secondary signal line 3 (or 3 ') that at least one pair of has identical electric attribute and parallel laying, and this wiring software is preset with the live width attribute of all signal wires that are laid in this printed circuit board (PCB).Below will cooperate 2A to 3C figure to describe the concrete operations step of the method for the wiring path that obtains signal wire of the present invention in detail in the lump.
Execution in step S100 at first, in choose on the program interface that this wiring software provided desire lay in the zone this first and this secondary signal line 1,3 (shown in Fig. 2 A, or as shown in Figure 3A 1 ', 3 ').Then, carry out step S101.
In step S101, the live width attribute of laying signal wire 2 is treated in acquisition in this wiring software certainly, and sets the safe spacing for the treatment of between laying signal wire 2 and selected this first and this secondary signal line 1,3 (or 1 ', 3 ') according to this live width attribute.Then, carry out step S102.
In step S102, in this first and whether this secondary signal line 1,3 (or 1 ', 3 ') has corresponding and to meet the waypoint of predefined condition right, if (shown in Fig. 3 A to 3C) then proceeds to step S107, (shown in Fig. 2 A and 2B) then proceeds to step S103 if not.Wherein, this predefined condition is the slope of this first signal wire 1 and this secondary signal line 3 place's (also promptly, this waypoint to) that changes, and as shown in Figure 3A, this waypoint is (P12, P32) and (P13, P33).
In step S103, two first reference points of acquisition are (in present embodiment on this first signal wire 1 or this secondary signal line 3, with this first reference point of acquisition (I10 on this first signal wire 1, I10 ') describes for example, but not as limit), and in this each first reference point (I10, I10 ') go up to form the datum line L10 vertical with this first signal wire 1, L10 ', and make this datum line L10, L10 ' strides and is located on this secondary signal line 3, with in this datum line L10, L10 ' forms one second reference point (I12 with the junction of this secondary signal line 3, I12 ').Wherein, this first reference point and this second reference point be lay respectively at this first and the relative inner of secondary signal line 1,3.Then, carry out step S104.
In step S104, on formed two datum line L10, L10 ' on this first signal wire 1 or this secondary signal line 3, respectively obtain a central point (M10, M10 ').Then, carry out step S105.
In step S105, judge the central point (M10) of L10 on arbitrary datum line or L10 ' or (M10 ') to the distance of first signal wire 1 of its correspondence or first reference point (I11) on the secondary signal line 3 or (I12 ') or second reference point (I12) or (I12 ') whether less than the safe spacing that sets, if not, then proceed to step S106, if, then finish the method that this obtains the wiring path of signal wire, wherein, the central point of L10 or L10 ' (M10) or (M10 ') are to the distance of first signal wire 1 of its correspondence or first reference point (I11) on the secondary signal line 3 or (I12 ') or second reference point (I12) or (I12 ') during less than the safe spacing that sets on judging arbitrary datum line, also export an information, to the distance of first signal wire 1 of its correspondence or first reference point (I11) on the secondary signal line 3 or (I12 ') or second reference point (I12) or (the I12 ') information less than the safe spacing that sets, and this information is can screen display with the central point (M10) of passing on L10 on arbitrary datum line or L10 ' or (M10 '), modes such as auditory tone cues are exported.
In step S106, connect the central point (M10, M10 ') on formed two datum line L10, the L10 ' on this first signal wire 1 with straight line, thereby form one parallel this first and this secondary signal line 1,3 between wiring path T1, lay this along wiring path T1 and treat laying signal wire 2 (shown in 2B figure) for follow-up, thus, can finish the method that this obtains the wiring path of signal wire.
In step S107, in present embodiment, as shown in Figure 3A, be dependent on this first and this secondary signal line 1 ', 3 ' go up each waypoint that detecting obtains to (P12, P32) and (P13, P33), with this first and this secondary signal line 1 ', 3 ' be divided into three sets of line segments, wherein, each sets of line segments comprises two line segments.In addition, for more clearly understanding the method for obtaining the wiring path of signal wire of the present invention of using, in this, define respectively this first and this secondary signal line 1 ', one end of 3 ' homonymy is as the initiating terminal (P11 of follow-up detecting, P31), and the other end is as the clearing end (P14 of follow-up detecting, P34), by this two-section point to (P12, P32), and (P13, P33) three sets of line segments cutting apart formation are respectively sets of line segments (P11---P12, P31---P32), sets of line segments (P12---P13, P32---P33), and sets of line segments (P13---P14, P33---P34).Then, carry out step S108.
In step S108, (------P32), (---P13, P32 are---P33) and sets of line segments (two first reference points of acquisition on arbitrary line segment of P13---P14, P33---in P34) for P12 for sets of line segments for P12, P31 for P11 in each sets of line segments, be respectively (I11, I11 '), (I21, I21 ') and (I31, I31 '), and form the datum line vertical on each first reference point with this line segment in this, be respectively L11, L11 '; L21, L21 '; And L31, L31 ', and this datum line is striden be located on another line segment in each sets of line segments, junction with another line segment in this datum line and each sets of line segments forms one second reference point, be respectively (I13, I13 '), (I23, I23 ') and (I33, I33 '), and, be respectively point (M11, M11 '), (M21, M21 ') and (M31, M31 ') in respectively obtaining a central point on formed two datum lines on each sets of line segments.Wherein, this first reference point and this second reference point be lay respectively at this first and secondary signal line 1 ', 3 ' relative inner.Then, carry out step S109.
In step S109, judge on arbitrary datum line central point to the distance of first reference point of its corresponding sets of line segments or second reference point whether less than the safe spacing that sets, if, then finish the method that this obtains the wiring path of signal wire, if not, then proceed to step S110, wherein, central point on judging arbitrary datum line is to the distance of first reference point of its corresponding sets of line segments or second reference point during less than the safe spacing that sets, also export an information, passing on central point on arbitrary datum line to the distance of first reference point of its corresponding sets of line segments or second reference point information less than the safe spacing that sets, and this information is can screen display, modes such as auditory tone cues are exported.
In step S110, with straight line L12, L22, and L32 connects each sets of line segments (P11---P12, P31---P32), sets of line segments (P12---P13, P32---P33), and sets of line segments (P13---P14, P33---the P34) central point on last formed two datum lines, be respectively point (M11, M11 '), (M21, M21 '), and (M31, M31 '), and extend at least this straight line to the straight line junction of facing sets of line segments mutually, to form a turning point in this junction, particularly, shown in Fig. 3 B, sets of line segments (P11---P12, P31---the straight line L12 P32) with face mutually sets of line segments (P12---P13, P32---straight line L22 in P33) intersects and forms turning point I1, sets of line segments (P12---P13, P32---the straight line L22 P33) with face mutually sets of line segments (P13---P14, P33---straight line L32 in P34) intersects and forms turning point I2.Then, carry out step S111.
In step S111, connect all central points (M11, M11 ', M21, M21 ', M31, M31 ') and all turning points (I1, I2) with straight line, thereby form just like shown in Fig. 3 B parallel this first and this secondary signal line 1 ', 3 ' track wiring path T2, lay this along this track T2 and treat laying signal wire 2 (shown in Fig. 3 C) for follow-up.
In sum, the method of obtaining the wiring path of signal wire of the present invention is so that first and second signal wire that should parallel laying is drawn perpendicular datum line mode, make this datum line and this first and second signal wire relative inner intersect and the formation reference pair of points, and in obtaining a central point on the formed datum line on this first and second signal wire, and in judge this central point to this first or this secondary signal line on the distance of reference point be not less than default safe spacing after, slope with this first and second signal wire changes the place as the detecting point, and so that this first and second signal wire is divided into a plurality of sets of line segments, and choose two pairs by sets of line segments and should close the central point in zone by the binary signal wire clamp, and the central point that connects each sets of line segments with straight line, and extend at least this straight line to the straight line junction of facing sets of line segments mutually, to form a turning point in this junction, at last, connect all central points and turning point with straight line, generate one parallel this first and the wiring path of secondary signal line, lay this along this wiring path and treat laying signal wire for follow-up.
Therefore, use the method for obtaining the wiring path of signal wire of the present invention, can avoid getting the central point coordinate that desire is laid the binary signal line in the zone because of adopting artificial mode to seek in the prior art, and cause temporal waste; In addition, also can the fair signal wire to be laid that accords with safe spacing be laid between this first and second signal wire, to save wiring space by the method for obtaining the wiring path of signal wire of the present invention; Moreover, the method of obtaining the wiring path of signal wire of the present invention provides a safe spacing judgment mechanism, be laid between this first and second signal wire with the laying signal wire for the treatment of that cannot not prevent fairly this safe spacing of symbol, thereby the lifting wire quality, this is treated the installation position of laying signal wire and causes temporal waste also can effectively to prevent follow-up adjustment.
The foregoing description is illustrative principle of the present invention and effect thereof only, but not is used to limit the present invention.Any those skilled in the art all can be under spirit of the present invention and category, and the foregoing description is modified and changed.Therefore, the scope of the present invention, claim is listed as described later.