Background technology
At present, the Electronics Engineer normally finishes by all kinds of circuit pattern design software programs (for example Protel software) for the configuration (Layout) of printed circuit board (PCB) (PCB).Wherein, a lot of bigger assembly (for example north bridge chips) on the printed circuit board (PCB) will be fixed by the screw hole and the screw that are opened on this printed circuit board (PCB).With the north bridge chips is example, be the force balance of considering northbridge component and firm, putting the screw hole of fixing usefulness as the big assembly next door of north bridge chips etc. when, screw hole will be put along north bridge chips center symmetry, if asymmetricly put then need three even more screw hole to fix a north bridge chips, promptly expend the space that cost takies printed circuit board (PCB) again.
If be defined in when utilizing two screw holes to fix a north bridge chips, determine that then the two-screw hole is strict relatively with respect to the requirement of the coordinate of north bridge chips symmetry.Prior art is fixed a screw hole earlier when utilizing two screw holes to fix a north bridge chips, calculate the coordinate of fixed screw holes about the north bridge chips symmetric points then, at last another screw hole is moved to this coordinate.In specific words, must in aforementioned circuit design software, demonstrate earlier the centre coordinate of this fixed screw holes, then demonstrate the centre coordinate of north bridge chips correspondence, calculate another screw hole centre coordinate of needs location then in artificial mode according to display result, at last, the screw hole with the needs location moves to the centre coordinate that calculates.See also Fig. 1, it is the embodiment synoptic diagram that prior art passes through artificially to calculate screw hole coordinate to be positioned.As shown in the figure, at first, in step S11, aforementioned north bridge chips archicenter coordinate convert is formed new true origin in the new coordinate system by coordinate transform; Then, in step S13, the archicenter coordinate transformation of said fixing screw hole is become new centre coordinate in the new coordinate system by coordinate transform; Then, in step S15, in new coordinate system, calculate the coordinate of the new coordinate of said fixing screw hole about new true origin symmetric points; At last, in step S17, calculate the coordinate of symmetric points coordinate in original coordinate system, needing to obtain the coordinate of positioning component.Except that above-mentioned prior art, also having other to utilize the people is the technology that calculates the symmetric points coordinate, as the method for geometric construction.No matter but be by coordinate transform or geometric construction, lower by the efficient of artificial calculating, and the conclusion that calculates is all made mistakes easily.
In the above prior art, though can the symmetric points of a fixed screw holes centre coordinate about the north bridge chips center be found by artificial calculation mode, but step is more loaded down with trivial details, and artificial amount of calculation is bigger, if the position of this screw hole changes to some extent, then must the coordinate after the change be recomputated, carry out above-mentioned S11-S17 step repeatedly.Again owing to be by artificial calculating and may not only calculate the symmetric points of single screw hole, miscount appears in calculated amount big or human factor easily, thereby increases unnecessary workload.
Therefore, how to overcome the disappearance of above-mentioned prior art, and then a kind of printed circuit-board assembly positioning system and method that improves accuracy is provided, to solve the loaded down with trivial details disappearances such as occurring mistake easily that reaches of the artificial technology of calculating of existing utilization, real problem for needing to be resolved hurrily.
Summary of the invention
In view of the disappearance of above-mentioned prior art, fundamental purpose of the present invention is to provide a kind of printed circuit-board assembly positioning system and method, with the location of the efficiently and accurately of assembly in the circuit pattern design software (for example Protel software) of realizing printed circuit board (PCB).
For reaching above-mentioned and other purpose, the invention provides a kind of printed circuit-board assembly positioning system, be equipped in the circuit pattern design software, this circuit pattern design software is used to design the printed circuit board (PCB) that includes at least one fixation kit, reference component and assembly to be positioned, this circuit pattern design software has the data acquisition module of the data message of gathering this fixation kit and reference component, and printed circuit-board assembly positioning system of the present invention comprises at least: be used to store the stationary coordinate of fixation kit, the reference coordinate of this reference component and the database of the elements of a fix; Capture in this data message to stationary coordinate that should fixation kit and to reference coordinate that should reference component and be stored in the acquisition module of this database; Calculate the elements of a fix by the operation rule of setting and be stored in the computing module of this database according to these stationary coordinate and reference coordinate; And set up the linking relationship of this assembly to be positioned and these elements of a fix and will this assembly to be positioned position the processing module of operation according to this linking relationship.
In one aspect of the invention, this processing module also comprises: link unit is used to set up the linking relationship of this assembly to be positioned and these elements of a fix; And operating unit, be used for this assembly to be positioned is positioned operation according to this linking relationship.
In another embodiment of the present invention, this printed circuit-board assembly positioning system also comprises: judge module is used to judge whether this acquisition module captures needed stationary coordinate and reference coordinate; And display module, be used to show these elements of a fix.
By aforementioned printed circuit-board assembly positioning system of the present invention, carry out printed circuit-board assembly localization method of the present invention and comprise the steps: to set up the stationary coordinate that are used to store fixation kit, the reference coordinate of this reference component and the database of the elements of a fix at least; Capture in this data message the reference coordinate of stationary coordinate that should fixation kit and corresponding reference component and be stored in this database; Calculate the elements of a fix and be stored in this database by the operation rule of setting according to these stationary coordinate and reference coordinate; And set up the linking relationship of this assembly to be positioned and these elements of a fix and should position operation according to this linking relationship by assembly to be positioned.
In another embodiment of the present invention, this printed circuit-board assembly localization method in this data message of acquisition to the reference coordinate of stationary coordinate that should fixation kit and corresponding reference component and after being stored in this database, also comprise judging whether to capture needed stationary coordinate and reference coordinate, if not then acquisition again; After calculating the elements of a fix and be stored in this database by the operation rule of setting, also comprise showing these elements of a fix according to these stationary coordinate and reference coordinate.
Compare prior art, printed circuit-board assembly positioning system of the present invention and method can be according to the positioning action of actual needs according to assembly to be positioned in the circuit pattern design software that carries out printed circuit board (PCB) of setting the operation rule efficiently and accurately.
Embodiment
Below by specific instantiation explanation embodiments of the present invention, those skilled in the art can understand other advantage of the present invention and effect easily by the content that this instructions disclosed.The present invention also can be implemented or used by other different instantiation, and the every details in this instructions also can be based on different viewpoints and application, carries out various modifications and change under the spirit of the present invention not deviating from.
See also Fig. 2, wherein show printed circuit-board assembly positioning system basic framework block diagram of the present invention, the person of should be specified, this printed circuit-board assembly positioning system can comprise other member in addition, be simplicity of illustration and explanation, basic framework herein only shows the member relevant with the present invention.
In the present embodiment, printed circuit-board assembly positioning system 2 of the present invention is equipped in the circuit pattern design software 1 of a printed circuit board (PCB) (for example Protel software), this circuit pattern design software 1 is carried out by a data processing equipment (not icon), and this data processing equipment can for example have the device of the data processing function of executive utility software for existing personal computer, mobile computer, server or workstation etc. with input and display unit.In addition, this circuit pattern design software 1 includes at least one fixation kit 101, at least one reference component 103 and at least one assembly to be positioned 105, and has the data acquisition module 11 of the data message that is used to gather this fixation kit 101 and this reference component 103.This fixation kit 101 is the assemblies that have stationary coordinate in this circuit pattern design software 1, is used for fixing the fixed screw holes of north bridge chips in the present embodiment; This reference component 103 is the assemblies that have reference coordinate in this circuit pattern design software 1, is north bridge chips in the present embodiment; This assembly 105 to be positioned need position the assembly of operation according to these stationary coordinate and reference coordinate, is used for fixing another screw hole of north bridge chips in the present embodiment; This data acquisition module 11 is the various data messages (comprising its coordinate information) that are used to gather this fixation kit 101 and reference component 103 in this circuit pattern design software 1.This printed circuit-board assembly positioning system 2 is used for this assembly 105 to be positioned is positioned operation according to this fixation kit 101 and this reference component 103.
As shown in the figure, printed circuit-board assembly positioning system 2 of the present invention comprises at least: database 21, acquisition module 23, computing module 25 and processing module 27.Below be elaborated at database 21, acquisition module 23, computing module 25 and processing module 27.
Database 21 is used to store stationary coordinate, reference coordinate and the elements of a fix.In the present embodiment, these stationary coordinate are centre coordinates of this fixed screw holes, and this reference coordinate is the centre coordinate of north bridge chips, and these elements of a fix are centre coordinates of another screw hole for the treatment of that subsequent calculations obtains.
Acquisition module 23 is used for capturing above-mentioned data acquisition module 11 and collects the stationary coordinate of these fixation kit 101 various data messages and the reference coordinate in this reference component 103 various data messages, and these stationary coordinate and reference coordinate are stored in the above-mentioned database.In the present embodiment, these stationary coordinate and reference coordinate are respectively the centre coordinates of this fixation kit 101 and reference component 103, can also comprise other coordinate pattern in other embodiments.
Computing module 25 calculates the elements of a fix of needed assembly to be positioned 105 according to these stationary coordinate and reference coordinate by a predefined operation rule, and these elements of a fix are stored in this database 21.Wherein, this operation rule is to calculate the operation rule that this fixation kit 101 is symmetrical in the coordinate of this reference component 103 in the present embodiment, and it can for example be the operation rule shown in Fig. 1.In other embodiments, then can set other operation rule as required.In addition, this operation rule also can be imported by the input block of aforesaid data processing equipment.
Processing module 27 is used to set up the linking relationship of this assembly 105 to be positioned and these elements of a fix, be about to the elements of a fix that this computing module 25 calculates and in this database, 21 be allocated in this assembly 105 to be positioned, and should move to this elements of a fix by assembly 105 to be positioned.In the present embodiment, this processing module 27 comprises link unit 271 and operating unit 273, wherein, this link unit 271 is used to provide above-mentioned the elements of a fix is allocated in the function of this assembly 105 to be positioned, and this operating unit 273 is used to provide the above-mentioned function that will this assembly 105 to be positioned moves to these elements of a fix.
By above-mentioned database 21, acquisition module 23, computing module 25 and processing module 27, according to predefined operation rule, the assembly to be positioned 105 of locating at needs positions operation for the user.
By aforementioned printed circuit-board assembly positioning system 1 of the present invention, carry out printed circuit-board assembly localization method of the present invention, be the operation workflow synoptic diagram of printed circuit-board assembly localization method of the present invention as shown in Figure 3.As shown in the figure, printed circuit-board assembly localization method of the present invention may further comprise the steps at least: in step S31, foundation is used to store the stationary coordinate of fixation kit, the reference coordinate of this reference component and the database 21 of the elements of a fix; Then, proceed to step S33.
In step S33, capture above-mentioned data acquisition module 11 and collect, and these stationary coordinate and reference coordinate are stored in the above-mentioned database to the stationary coordinate in should fixation kit 101 various data messages and to the reference coordinate in should reference component 103 various data messages; Then, proceed to step S35.
In step S35, calculate the elements of a fix of needed assembly to be positioned 105 according to these stationary coordinate and reference coordinate by an operation rule that configures in advance, and these elements of a fix are stored in this database 21; Then, proceed to step S37.
In step S37, set up the linking relationship of this assembly to be positioned 105 and these elements of a fix, be about to the elements of a fix that above-mentioned computing module 25 calculates and in this database 21, be allocated in this assembly 105 to be positioned; Then, proceed to step S39.
In step S39, should move to this elements of a fix by assembly 105 to be positioned.
See also Fig. 4, show another embodiment basic framework block diagram of printed circuit-board assembly positioning system of the present invention.As shown in the figure, printed circuit-board assembly positioning system 4 of the present invention comprises: database 41, acquisition module 42, judge module 43, computing module 44, display module 45 and processing module 46, wherein, this processing module 46 can comprise: link unit 461 and operating unit 463.Owing to compare with the foregoing description, present embodiment also comprises this judge module 43 and display module 45, and remaining member is all identical, thus below be elaborated at this judge module 43 and display module 45.
Judge module 43 is used to judge whether this acquisition module 42 captures needed stationary coordinate and reference coordinate, if then carry out computing by 44 pairs of stationary coordinate that capture of computing module and reference coordinate; If not, then the data message of again above-mentioned data acquisition module 11 being gathered captures, until capturing needed stationary coordinate and reference coordinate.
Display module 45 is used to the elements of a fix that show that this computing module 44 calculates.Observe its elements of a fix general location and other demand for the user.In the present embodiment, this display module 45 can be shown these elements of a fix by the display unit of aforesaid data processing equipment.
Brought forward is described, to printed circuit-board assembly localization method step that should printed circuit-board assembly positioning system 4 as shown in Figure 5, in the present embodiment, printed circuit-board assembly localization method of the present invention may further comprise the steps at least: at step S51, foundation is used to store the stationary coordinate of fixation kit, the reference coordinate of this reference component and the database 41 of the elements of a fix; Then, proceed to step S52.
In step S52, capture in the data message that above-mentioned data acquisition module collects to stationary coordinate that should fixation kit 101 and to reference coordinate that should reference component 103, and be stored in this database 41; Then, proceed to step S53.
In step S53, judge that whether this acquisition module 42 captures needed stationary coordinate and reference coordinate, if not, then gets back to step S52; If then proceed to step S54.
In step S54, calculate the elements of a fix and be stored in this database 41 by the operation rule of setting according to these stationary coordinate and reference coordinate; Then, proceed to step S55.
In step S55, show the elements of a fix that this computing module 44 calculates; Then, proceed to step S56.
In step S56, set up the linking relationship of this assembly to be positioned 105 and these elements of a fix, be about to the elements of a fix that above-mentioned computing module 44 calculates and in this database, 41 be allocated in this assembly 105 to be positioned; Then, proceed to step S57.
In step S57, should move to this elements of a fix by assembly 105 to be positioned.
In sum, compared to prior art, printed circuit-board assembly positioning system of the present invention and method, mainly by behind data collecting module collected arrives in the acquisition module acquisition available circuit design software the stationary coordinate and reference coordinate, calculate the elements of a fix through computing module according to the operation rule of setting, by processing module these elements of a fix are distributed in this assembly to be positioned at last, and should move to this elements of a fix by assembly to be positioned, cooperate database storage said fixing coordinate, the reference coordinate and the elements of a fix are to reach the purpose of location quick and precisely.
The foregoing description only is illustrative principle of the present invention and effect thereof, but not is used to limit the present invention.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.