US20090193653A1 - Automatic inserting method, system and device for pcb board - Google Patents
Automatic inserting method, system and device for pcb board Download PDFInfo
- Publication number
- US20090193653A1 US20090193653A1 US12/357,172 US35717209A US2009193653A1 US 20090193653 A1 US20090193653 A1 US 20090193653A1 US 35717209 A US35717209 A US 35717209A US 2009193653 A1 US2009193653 A1 US 2009193653A1
- Authority
- US
- United States
- Prior art keywords
- lead parts
- point
- points
- paths
- former
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 230000037431 insertion Effects 0.000 claims abstract description 835
- 238000003780 insertion Methods 0.000 claims abstract description 813
- 238000005457 optimization Methods 0.000 claims abstract description 29
- 239000011295 pitch Substances 0.000 claims description 55
- 230000004048 modification Effects 0.000 abstract description 9
- 238000012986 modification Methods 0.000 abstract description 9
- 230000006872 improvement Effects 0.000 abstract description 7
- 238000004519 manufacturing process Methods 0.000 abstract description 7
- 239000002699 waste material Substances 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 10
- 238000013459 approach Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 5
- 238000009826 distribution Methods 0.000 description 5
- 238000000926 separation method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000012966 insertion method Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000001681 protective effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05K—PRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
- H05K13/00—Apparatus or processes specially adapted for manufacturing or adjusting assemblages of electric components
- H05K13/08—Monitoring manufacture of assemblages
- H05K13/085—Production planning, e.g. of allocation of products to machines, of mounting sequences at machine or facility level
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05K—PRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
- H05K13/00—Apparatus or processes specially adapted for manufacturing or adjusting assemblages of electric components
- H05K13/08—Monitoring manufacture of assemblages
- H05K13/085—Production planning, e.g. of allocation of products to machines, of mounting sequences at machine or facility level
- H05K13/0853—Determination of transport trajectories inside mounting machines
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05K—PRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
- H05K3/00—Apparatus or processes for manufacturing printed circuits
- H05K3/30—Assembling printed circuits with electric components, e.g. with resistor
- H05K3/306—Lead-in-hole components, e.g. affixing or retention before soldering, spacing means
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10—TECHNICAL SUBJECTS COVERED BY FORMER USPC
- Y10T—TECHNICAL SUBJECTS COVERED BY FORMER US CLASSIFICATION
- Y10T29/00—Metal working
- Y10T29/49—Method of mechanical manufacture
- Y10T29/49002—Electrical device making
- Y10T29/49117—Conductor or circuit manufacturing
- Y10T29/49169—Assembling electrical component directly to terminal or elongated conductor
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10—TECHNICAL SUBJECTS COVERED BY FORMER USPC
- Y10T—TECHNICAL SUBJECTS COVERED BY FORMER US CLASSIFICATION
- Y10T29/00—Metal working
- Y10T29/53—Means to assemble or disassemble
- Y10T29/5313—Means to assemble electrical device
- Y10T29/532—Conductor
- Y10T29/53243—Multiple, independent conductors
Definitions
- the present invention relates to the electronic manufacturing field, especially an automatic inserting method, an inserting system and an inserting device for a PCB board.
- the components which can be automatically inserted into the printed circuit board are classified into three types, including jumper wires, axial lead parts and radial lead parts.
- the components which can be automatically inserted into the printed circuit board are classified into three types, including jumper wires, axial lead parts and radial lead parts.
- JVK machines are used to insert jumper wires
- AVK machines are used to insert axial lead parts
- RH machines or RHS machines are used to insert the radial lead parts.
- the number of installing paths approaches will be great.
- their execution efficiency is various. When a certain path approach is used for insertion, its speed may be faster than that of another path approach.
- the inserting machines are used to insert the CRT TV printed circuit boards, with its AI production process data analysis as follows: the production data of a (404*257*1.6 mm) printed circuit board are described as follows: the number of the points of the total inserted jumper wires is 110 and the mean time of JVK machines for inserting the jumper wires is tested about 34 seconds per PCB, so it is about 0.31 seconds per point, the number of the points of the axial lead parts is 161, the number of the kinds of components is 61 and the mean time of AVK machines for inserting the axial lead parts is tested about 51 seconds per PCB, so it is about 0.317 seconds per point, the number of the points of the radial lead parts is 159 points, the number of the kinds of components is 48, and the mean time of RH machines for inserting the radial lead parts is tested about 77 seconds per PCB, so it is about 0.484 seconds per point.
- the production data of a (404*257*1.6 mm) printed circuit board are described as follows:
- the maximum theoretical speed of the machines is 0.13 seconds per element (the speed is limited on the strict conditions of the machine), without any limit on the polarity of components as long as the insertion is completed in the same direction at a time. For instance, insertion of all the elements of the angle of 0 degree (direction of X) is performed, and then insertion of all the elements of the angle of 90 degrees (direction of Y) is performed.
- the insertion speed is only dependent on the change in paths and insertion pitch selected by the programs. Generally, this is not taken into account by the man-made insertion programs, so a great change in the paths and the insertion pitches will slow down the insertion speed of the machines, without achieving the maximum theoretical speed basically.
- the speed shall be about 0.28 to 0.30 seconds per piece.
- (2) AVK machines for inserting axial lead parts on condition that the movement of feeder (Z axis) doesn't exceed three stations, the movement of both X and Y coordinates doesn't exceed 5 cm, the insertion pitch is unchanged and the data of the thickness of elements is unchanged, the maximum theoretical speed of the machines is 0.18 seconds per element for 0-degree angle, 0.15 seconds per element for 90-degree angle, 0.3 seconds per element for 180-degree angle and 0.27 seconds per element for 270-degree angle.
- RH machines for inserting radial lead parts it is also faced with the programming problems similar to AVK, and consideration shall be given to the movement of coordinates X and Y, and feeder (Z axis), as well as the change in height and insertion angle of component. Its maximum theoretical speed is 0.45 seconds per element. Inserting machine RHS: for insertion program, three factors as follows shall be considered, the first is movement paths of coordinates X and Y, the second is insertion angle, the third is height of component. Among them, the second and the third are the necessary parameters to the next insertion. Its maximum theoretical speed is 0.45 seconds per element.
- the existing insertion control programs can realize the task of insertion, but the existing insertion control programs only aim at the completion of insertion without considering the insertion efficiency.
- the insertion efficiency of existing insertion programs is very low.
- the user wants to perfect the insertion efficiency generally they will modify with the insertion control programs artificially.
- Such man-made modification is able to perfect some parameter data easily, but it neglects other parameter data. Therefore, the man-made modification not only needs a great deal of manpower, but also unable to improve the insertion efficiency markedly.
- a purpose of an embodiment of the present invention is to provide a method about automatic insertion of components into the printed circuit board, in order to solve the problem that the existing insertion control programs efficiency is low, and it will be a waste of manpower and the improvement of insertion efficiency is inconspicuous in relation to man-made modification of insertion programs.
- Another purpose of the embodiment of the present invention is to provide a system for insertion of components into the printed circuit board.
- the system includes:
- a path obtaining unit configured for obtaining the insertion paths for insertion of components in the printed circuit board
- an insertion parameter adjusting unit configured for adjusting the insertion parameters
- a calling module configured for calling the insertion parameter adjusting unit
- an insertion paths generating unit configured for generating the optimized insertion paths based on the insertion parameters adjusted
- an inserting unit configured for inserting based on the optimized insertion paths.
- another purpose of the embodiment of the present invention is to provide a device for automatic insertion in the printed circuit board, it contains the system for automatic insertion in the printed circuit board, and the system includes:
- a path obtaining unit configured for obtaining the insertion paths for insertion of components in the printed circuit board
- an insertion parameter adjusting unit used for adjusting the insertion parameters
- a calling module used for calling the insertion parameter adjustment unit
- an insertion paths generating unit used for generating the optimized insertion paths based on the insertion parameters adjusted
- an inserting unit configured for inserting based on the optimized insertion paths.
- the optimization programs are used to adjust the insertion parameters in the original insertion programs, generate the optimized insertion paths based on the parameters adjusted, and carry out the insertion based on the optimized insertion paths, which not only improves the insertion efficiency, but also avoids a waste of manpower and the improvement of insertion efficiency is inconspicuous in relation to man-made modification of insertion programs.
- FIG. 1 is an implementation of flow diagram of an inserting method for insertion of components in the printed circuit board, in accordance with an embodiment of the present invention
- FIG. 2 is an implementation of flow diagram for adjustment of the insertion parameters of insertion programs of JVK machines, in accordance with an embodiment of the present invention
- FIG. 3 is an implementation of flow diagram for adjustment of the insertion parameters of insertion programs of AVK machines, in accordance with an embodiment of the present invention
- FIG. 4 is an implementation of flow diagram for adjustment of the insertion parameters of insertion programs of RH machines, in accordance with an embodiment of the present invention
- FIG. 5 is an implementation of flow diagram for adjustment of the insertion parameters of insertion programs of RHS machines, in accordance with an embodiment of the present invention
- FIG. 6 is the schematic structural view of the system for insertion of components in the printed circuit board, in accordance with an embodiment of the present invention.
- the optimization programs are used to adjust the insertion parameters in the original insertion programs, generate the optimized insertion paths based on the parameters adjusted, and carry out the insertion based on the optimized insertion paths, which not only improves the insertion efficiency, but also avoids a waste of manpower and the improvement of insertion efficiency is inconspicuous in relation to man-made modification of insertion programs.
- FIG. 1 shows the flow diagram of inserting methods for inserting components in the printed circuit board, in accordance with an embodiment of the present invention. The details are described as follows:
- the insertion program data is obtained.
- the insertion program data is saved in all kinds of insertion program files, such as the insertion program files postfixes with NCD, UDR and POD.
- the insertion program data can be obtained by reading these program files.
- the file with a postfix of NCD records the coordinates data of all the operation points while the file with a postfix of UDR records the type of machine relevant to the control data item (STEP) in the insertion programs, so the file with a postfix of UDR can be used to judge the type of machine familiar to the insertion programs.
- the file with a postfix of POD records the total deviation coordinate (OFFSET) of operation points.
- the insertion programs data is spitted to obtain the parameter data.
- the insertion program data is spitted into multiple STEP.
- the relevant parameter data is obtained, such as/value, value G, value M, value T, value X, value Y, value Z, value V, value W, as well as parameter items about descriptions of components.
- the jump items are separated.
- the insertion programs may contain jump items, in order to avoid giving an effect on the efficiency of insertion program when the jump items are carried out.
- the jump items are separated.
- the order mark/value of jump item is/7, so the jump items can be found out according to the parameter/value when the insertion programs are spitted into multiple STEP (control items). That is to say, the jump items can be separated by looking for the STEP with an order mark/value of/7 in all STEP.
- the ineffective STEP is deleted.
- the insertion programs may contain some ineffective STEP.
- the ineffective STEP shall be deleted.
- value G of STEP is not equal to 0, the STEP is ineffective. So, when the insertion programs are spitted into multiple STEP, we can judge whether the STEP is ineffective based on value G, and then delete the entire ineffective STEP.
- step S 105 the insertion paths of components is figured out according to the insertion programs of which the jump items have already been separated and the ineffective. STEP has been deleted.
- the moving paths of insertion head is simulated according to the insertion programs of which the jump items have already been separated and the ineffective. STEP has been deleted.
- JVK machines are used for inserting the jumper wires
- the AVK machines are used for inserting the axial lead parts
- the RH or RHS machines are used for inserting the radial lead parts (RHS machines are the upgrading version of RH machines, so only one of them is used for inserting the radial lead parts generally)
- the insertion programs contains STEP relevant to the three kinds of automatic components. As a result, there are three moving paths accordingly.
- the total initial distance and time relevant to the paths movement are calculated.
- the paths distance of the insertion head moving from the machine origin to each operation point then to the machine origin again can be calculated.
- the paths distance is also the initial paths distance of the machine.
- the initial paths distance divided by the theoretical average speed of the inserting machine is initial time of the machine.
- the sum total of the initial paths distances of the three machines is the total initial distance.
- the sum total of the initial time of the three machines is the total initial time.
- the start point of the insertion head is selected based on the insertion programs.
- the middle points of both sides of insertion surface of PCB as the separation points, make two lines parallel with the two sides on the basis of the separation points, take the parallel lines as the separation lines which divide the insertion surface of PCB into four portions of a size, and take the portion at the top left corner as the first quadrant.
- the insertion point which is the farthest from the machine origin in linear distance, is used as the start point.
- the start point is also the origin of program.
- the optimization programs are called to adjust the insertion parameters.
- the optimization programs include JVK optimization program, AVK optimization program, RH optimization program as well as partial or all RHS optimization program.
- the file with a postfix of UDR has recorded the type of machine relevant to STEP in the insertion program, so the file is able to be used to identify the type of machine so as to select corresponding optimization program to optimize the paths of the machine.
- the type of machine is identified, the type of components is also gained accordingly, that is to say, the corresponding optimization program can be selected.
- the insertion program optimized is integrated into new insertion program files.
- the insertion program optimized is integrated into new insertion program file, so that the optimized paths can be obtained by reading the file when it is time for next insertion.
- the new insertion program files are still three kinds of files with a postfix of NCD, UDR and POD respectively.
- step S 110 the moving paths of the optimized insertion head are obtained based on the new insertion programs.
- the total optimized distance and time of the optimized paths are calculated.
- the paths distance of the insertion head moving from the program origin to each operation point then to the program origin again can be calculated. That is to say, the optimized paths distance of the machine is obtained.
- the optimized paths distance divided by the theoretical average speed of the inserting machine is the optimized time of the machine.
- the sum total of the optimized paths distances of the three machines is the total optimized distance.
- the sum total of the optimized time of the three machines is the total optimized time.
- step S 112 it is to judge whether the total optimized distance and total optimized time is less than the total initial distance and total initial time respectively.
- the theoretical average speed of machine is still a constant before or after optimization of the insertion programs, so it is enough to compare the size of the total distance before and after optimization.
- step S 113 it shows the message that the insertion programs are being optimized.
- some insertion programs may have been optimized but the operator doesn't know it, and send an optimization order again.
- it shows that the original programs are being optimized, without changing the original insertion program file.
- step S 114 there is message showing that the insertion programs have already been optimized, and the optimized insertion program files are outputted.
- the message showing that the insertion programs have already been optimized is outputted.
- the NCD, UDR and POD insertion program files are output.
- step S 115 it is to carry out the insertion based on the insertion paths optimized.
- FIG. 2 is the flow diagram for adjusting of the insertion parameters of insertion programs of JVK machines, in accordance with an embodiment of the present invention. The detailed descriptions are as follows:
- step S 201 the parameters are transferred and exchanged. All of the parameter values in the main insertion program are obtained, such as the values of coordinates, and insertion pitches etc.
- step S 202 arrange in succession all the insertion points of jumper wires in the direction of 0 and 90 degrees respectively relevant to the insertion paths of jumper wires.
- JVK machines are used for inserting the jumper wires, only 0 and 90 degrees (X and Y direction) are suitable for printed circuit boards. Take all the insertion points of jumper wires in the direction of 0 degree as a group, and take all the insertion points of jumper wires in the direction of 90 degrees as another group. Arrange the two groups of insertion points in succession. Therefore, when JVK machine is inserting the jumper wires, all the insertion points of jumper wires in the direction of 0 (or 90) degree (s) can be used for insertion. Then, JVK machine inserts the rest of insertion points of jumper wires in the direction of 90 (or 0) degrees, without having the insertion head of machine switched frequently in the direction of 0 or 90 degrees, and thus saving the time.
- step S 203 the insertion pitches of all the insertion points of jumper wires are calculated, and all the insertion points of jumper wires are put in order based on the size of insertion pitches.
- the insertion points are put in order (from large to small or from small to large) based on the size of insertion pitches of all the insertion points of jumper wires. As an embodiment of the present invention, it is feasible to divide all of the insertion points into multiple groups. In this way, during insertion, the change range of insertion pitch of latter insertion points is generally less than that of former insertion points, which can reduce the time for insertion pitch of machine.
- the start points are confirmed based on the insertion programs of JVK.
- the point which is the farthest from the machine origin, can be used as the start point.
- step S 205 number “i” insertion point M i of jumper wires is obtained.
- “i” is a variable parameter, which can be any integral number ranging from 2 to P 1 , including 2 and P 1 .
- P 1 is the number of all STEP in the insertion programs of JVK.
- step S 206 number “j” insertion point M j of jumper wires is obtained.
- “j” is a variable parameter, which can be any integral number ranging from “i+1” to P 1 , including “i+1” and “P 1 ”. Furthermore, its initial value is “i+1”.
- step S 207 it is to judge whether the distance between number “i” insertion point M i and number “i ⁇ 1” insertion point M i ⁇ 1 is less than that between number “j” insertion point M j and number “i ⁇ 1” insertion point M i ⁇ 1 . If the distance between M i and M i ⁇ 1 is less than that between M j and M i ⁇ 1 , carry out step S 209 .
- step S 208 it is to judge whether the insertion pitch of number “i” insertion point is less than that of number “j” insertion point.
- the distance between number “i” insertion point and number “i ⁇ 1” insertion point is not less than that between number “j” insertion point and number “i ⁇ 1” insertion point
- judge whether the insertion pitch of number “i” insertion point is less than that of number “j” insertion point.
- the insertion pitch of number “i” insertion point is less than that of number “j” insertion point, carry out step S 210 .
- step S 209 it is to exchange the position between insertion point M j and insertion point M i . That is to exchange the order of the two insertion points, namely the insertion order of the two insertion points.
- step S 210 1 adds to the numerical value of “j”.
- the insertion pitch of number “i” insertion point is more than or equal to that of number “j” insertion point, 1 adds to the numerical value of “j”.
- step S 211 judge whether “j” is less than or equal to P 1 . After 1 adds to the numerical value of “j”, judge whether “j” is less than or equal to P 1 . If so, return to step S 206 .
- step S 212 1 adds to the numerical value of “i”. After 1 adds to the numerical value of “j”, if “j” is more than P 1 , 1 adds to the numerical value of “i”.
- step S 213 after 1 adds to the numerical value of “i”, judge whether “i” is less than P 1 . If so, return to step S 205 .
- step S 214 it is to output all the parameters adjusted. After 1 adds to the numerical value of “i”, if “i” is not less than “P 1 ”, it suggests that the precedence ordering is completed. All the parameters adjusted are outputted.
- steps S 205 to S 211 are to reorder all the insertion points of jumper wires so that the distance between each insertion point and its former insertion point is not more than that between latter any insertion point and its former insertion point. Furthermore, the difference of insertion pitches between the two adjacent insertion points of jumper wires increases, which can optimize the insertion paths of jumper wires relevant to the insertion programs after adjustment of insertion parameters.
- FIG. 3 is an implementation of flow diagram for adjustment of the insertion parameters of insertion programs of AVK machines, in accordance with an embodiment of the present invention. The detailed descriptions are as follows:
- the parameters are transferred and exchanged. All of the parameter values in the main insertion programs are obtained, such as values of coordinates and insertion pitches etc.
- step S 302 arrange in succession all the insertion points of axial lead parts in the direction of 0, 90, 180 and 270 degrees respectively relevant to the insertion path of axial lead parts.
- AVK machines are used for inserting the axial lead parts
- angles of 0, 90, 180 and 270 degrees are suitable for operation.
- step S 303 the insertion pitches of all the insertion points of axial lead parts are calculated, and all the insertion points of axial lead parts are put in order based on the size of insertion pitches.
- the insertion points are put in order (from large to small or from small to large) based on the size of insertion pitches of all the insertion points of axial lead parts. As an embodiment of the present invention, it is feasible to divide all of the insertion points into multiple groups. In this way, during insertion, the change range of insertion pitch of latter insertion points is generally less than that of former insertion points, which can reduce the time for insertion pitch of machine.
- the distance between every two insertion points is calculated based on the same insertion head of axial lead parts.
- the inserting machine JVK only has an insertion head, but the inserting machine AVK needs to insert resistance, and diode etc, so it has multiple insertion heads.
- step S 305 it is to divide PCB into multiple quadrants, and calculate the number of insertion points of insertion head of each axial lead part in each quadrant, namely, confirm the area of insertion points of all axial lead parts relevant to the insertion head of each axial lead part.
- PCB is divided into four quadrants as described at step S 107 .
- step S 306 it is to count the number of insertion angles 0 degree and 180 degrees in the X direction, 90 degrees and 270 degrees in the Y direction respectively.
- step S 307 it is to judge whether there is an insertion angle of 180 degrees or 270 degrees. If not, carry out step S 309 directly.
- step S 308 it shows the message that the original programs of the insertion head of direction “T” of axial lead parts need to be adjusted.
- the message shows up. Therefore, the user can modify the original program by hand as required.
- step S 309 put all the insertion points in order according to the distribution of insertion points relevant to the insertion head of each axial lead part in each quadrant.
- the marking methods are as follows: marking the insertion head with ‘insertion head Z 1 in section 1 ’ if all the insertion points relevant to the insertion head of axial lead parts are distributed in the first quadrant; marking the insertion head with ‘insertion head Z 2 in section 2 ’ if all the insertion points relevant to the insertion head of axial lead parts are distributed in the second quadrant; marking the insertion heads with ‘insertion head Z 3 in section 3 ’ and ‘insertion head Z 4 in section 4 ’ by analogy if their insertion points are distributed in a certain quadrant; marking the insertion head with ‘Z 1 - 2 ’ if the insertion points are distributed in the first and second quadrants; marking the insertion heads with Z 1 - 3 , Z 1 - 4 , Z 2 - 3 , Z 2 - 4 and Z 3 - 4 by analogy for the rest of insertion points distributed in two quadrants; marking the insertion head with Z 1 - 2 - 3 if the insertion points are in the first, second and third quadrants;
- the area sequence for insertion of radial lead parts is from the first quadrant to the fourth quadrant successively, so the precedence ordering of insertion points is as follow: all the insertion points relevant to insertion heads Z 1 and Z 12 in section 1 , and all the insertion points respectively relevant to insertion heads Z 2 and Z 2 - 3 in section 2 , insertion heads Z 3 and Z 3 - 4 in section 3 , insertion heads Z 4 , Z 1 - 4 , Z 1 - 3 - 4 , Z 1 - 3 , Z 1 - 2 - 3 - 4 , Z 2 - 3 - 4 , Z 2 - 4 , Z 1 - 2 - 3 and Z 1 - 2 - 4 in section 4 .
- step S 310 it is to obtain number “i” insertion point N 1 of axial lead parts.
- “i” is a variable parameter, which can be any integral number ranging from 2 to P 2 , including 2 and P 2 while the initial value of “i” is 2.
- P 2 is the number of all STEP in the insertion programs of AVK.
- step S 311 it is to obtain number “j” insertion point N j of axial lead parts.
- “j” is a variable parameter, which can be any integral number ranging from “i+1” to P 2 , including “i+1” and P 2 .
- the initial value of “j” is “i+1”.
- step S 312 it is to judge whether the distance between number “i” insertion point N i and number “i ⁇ 1” insertion point N i ⁇ 1 is more than or equal to that between number “i ⁇ 1” insertion point N i ⁇ 1 and number “j” insertion point N j . If the distance between N j and N i ⁇ 1 is more than that between N i and N i ⁇ 1 , carry out step S 316 .
- step S 313 it is to judge whether the absolute value of the difference between the insertion angle of number “j” insertion point and the insertion angle of number “i ⁇ 1” insertion point is less than or equal to that between number “i” insertion point and number “i ⁇ 1” insertion point.
- step S 314 it is to judge whether the absolute value of the difference between the insertion pitch of number “j” insertion point and the insertion pitch of number “i ⁇ 1” insertion point is less than or equal to that between number “i” insertion point and number “i ⁇ 1” insertion point.
- the absolute value of the difference between the insertion angles of N j and N i ⁇ 1 is less than or equal to that between N i and N i ⁇ 1
- judge whether the absolute value of the difference between the insertion pitches of N j and N i ⁇ 1 is less than or equal to that between N i and N i ⁇ 1 . If the absolute value of the difference between the insertion pitches of N j and N i ⁇ 1 is more than that between N i and N i ⁇ 1 , carry out step S 316 .
- step S 315 it is to exchange the order between number “j” insertion point and number “i” insertion point.
- step S 316 1 adds to the numerical value of “j”.
- step S 317 it is to judge whether the absolute value of the difference between number “j” insertion head Z j and number “i ⁇ 1” insertion head Z i ⁇ 1 is less than “a” which is a positive integer. Adjust the size of “a” as required. Furthermore, 3 is a good value for “a”. When the absolute value of the difference between Z j and Z i ⁇ 1 is less than or equal to “a”, return to step S 311 .
- step S 318 1 adds to the numerical value of “i”.
- the absolute value of the difference between Z j and Z i ⁇ 1 is more than “a”, let 1 add to the numerical value of “i”.
- step S 319 it is to judge whether “i” is less than P 2 . If so, return to step S 310 .
- step S 320 it is to output all the parameters adjusted. After 1 adds to the numerical value of “i”, if “i” is not less than P 2 , it shows that the precedence ordering is completed, and it is time for sending out all the parameters adjusted.
- steps S 301 to S 319 are to reorder all the insertion points of axial lead parts so that the distance between each insertion point of axial lead parts and its former insertion point is not more than that between latter any insertion point and its former insertion point. Furthermore, the absolute value of the difference of insertion angles between the insertion point and its former insertion point is less than that between latter any insertion point and its former insertion point. The absolute value of the difference of insertion pitches between the insertion point and its former insertion point is less than that between latter any insertion point and its former insertion point. Therefore, it is successful to optimize the insertion paths of axial lead parts relevant to the insertion programs after adjustment of insertion parameters.
- FIG. 4 is an implementation of flow diagram for adjustment of the insertion parameters of insertion programs of RH machine, in accordance with an embodiment of the present invention. The detailed descriptions are as follows:
- step S 401 the parameters are transferred and exchanged. All of the parameter values in the main insertion programs are obtained, such as values of coordinates and insertion pitch etc.
- step S 402 arrange in succession all the insertion points of radial lead parts in the direction of 0 and 90 degrees respectively relevant to the insertion paths of radial lead parts.
- RH machines are used for inserting the radial lead parts, only 0 and 90 degrees are suitable.
- step S 403 the distance between every two insertion points is calculated based on the same insertion head of radial lead parts.
- PCB is divided into multiple quadrants, and calculate the number of insertion points of insertion head of each radial lead part in each quadrant, namely, confirm the area of insertion points of all radial lead parts relevant to the insertion head of each radial lead part.
- step S 405 it is to count the number of insertion angles of 0 degree in the X direction and 90 degrees in the Y direction respectively.
- step S 406 it is to put all the insertion points in order according to the distribution of insertion points relevant to the insertion head of each radial lead part in each quadrant.
- the marking methods are as follows: marking the insertion head with ‘insertion head Z 1 in section 1 ’ if all the insertion points relevant to the insertion head of radial lead parts are distributed in the first quadrant; marking the insertion head with ‘insertion head Z 2 in section 2 ’ if all the insertion points relevant to the insertion head of radial lead parts are distributed in the second quadrant; marking the insertion heads with ‘insertion head Z 3 in section 3 ’ and ‘insertion head Z 4 in section 4 ’ by analogy if their insertion points are distributed in a certain quadrant; marking the insertion head with ‘Z 1 - 2 ’ if the insertion points are distributed in the first and second quadrants; marking the insertion heads with Z 1 - 3 , Z 1 - 4 , Z 2 - 3 , Z 2 - 4 and Z 3 - 4 by analogy for the rest of insertion points distributed in two quadrants; marking the insertion head with Z 1 - 2 - 3 if the insertion points are in the first, second and third quadrant
- the area sequence for insertion of radial lead parts is from the first quadrant to the fourth quadrant successively, so the precedence ordering of insertion points is as follow: all the insertion points relevant to insertion heads Z 1 and Z 12 in section 1 , and all the insertion points respectively relevant to insertion heads Z 2 and Z 2 - 3 in section 2 , insertion heads Z 3 and Z 3 - 4 in section 3 , and insertion heads Z 4 , Z 1 - 4 , Z 1 - 3 - 4 , Z 1 - 3 , Z 1 - 2 - 3 - 4 , Z 2 - 3 - 4 , Z 2 - 4 , Z 1 - 2 - 3 and Z 1 - 2 - 4 in section 4 .
- step S 407 it is to obtain number “i” insertion point Q i of radial lead parts.
- “i” is a variable parameter, which can be any integral number ranging from 2 to P 3 , including 2 and P 3 . Among them, P 3 is the number of all STEP in the insertion programs of RH.
- step S 408 it is to obtain number “j” insertion point Q j of radial lead parts.
- “j” is a variable parameter, which can be any integral number ranging from “i+1” to P 3 , including “i+1” and P 3 .
- the initial value of “j” is “i+1”.
- step S 409 it is to judge whether the distance between number “i” insertion point Q i and number “i ⁇ 1” insertion point Q i ⁇ 1 is more than or equal to that between number “i ⁇ 1” insertion point Q i ⁇ 1 and number “j” insertion point Q j . If the distance between Q i and Q i ⁇ 1 is more than that between Q i and Q i ⁇ 1 , carry out step S 412 .
- step S 410 it is to judge whether the absolute value of the difference between the insertion angle of number “j” insertion point and the insertion angle of number “i ⁇ 1” insertion point is less than or equal to that between number “i” insertion point and number “i ⁇ 1” insertion point.
- the distance between Q j and Q i ⁇ 1 is less than or equal to that between Q i and Q i ⁇ 1
- judge whether the absolute value of the difference between the insertion angles of Q j and Q i ⁇ 1 is less than that between Q i and Q i ⁇ 1 .
- the absolute value of the difference between the insertion angles of Q j and Q i ⁇ 1 is more than that between Q i and Q i ⁇ 1 , carry out step S 412 .
- step S 411 it is to exchange the order between number “j” insertion point and number “i” insertion point.
- the distance between Q j and Q i ⁇ 1 is less than or equal to that between Q i and Q i ⁇ 1
- the absolute value of the difference between the insertion angles of Q j and Q i ⁇ 1 is less than or equal to that between Q i and Q i ⁇ 1
- step S 412 1 adds to the numerical value of “j”.
- step S 413 it is to judge whether the absolute value of the difference between number “j” insertion head Z j and number “i ⁇ 1” insertion head Z i ⁇ 1 is less than “b” which is a positive integer. Adjust the size of “b” as required. Furthermore, 2 is a good value for “b”. When the absolute value of the difference between Z j and Z i ⁇ 1 is less than or equal to “b”, return to step S 408 .
- step S 414 1 adds to the numerical value of “i”.
- the absolute value of the difference between Z j and Z i ⁇ 1 is more than “b”, let 1 add to the numerical value of “i”.
- step S 415 it is to judge whether “i” is less than P 3 . If so, return to step S 407 .
- step S 416 it is to output all the parameters adjusted. After 1 adds to the numerical value of “i”, if “i” is not less than P 3 , it shows that the precedence ordering is completed, and it is time for sending out all the parameters adjusted.
- steps S 407 to S 415 are to reorder all the insertion points of radial lead parts so that the distance between each insertion point of radial lead parts and its former insertion point is less than that between latter any insertion point and its former insertion point. Furthermore, the absolute value of the difference of insertion angles between the insertion point and its former insertion point is less than that between latter any insertion point and its former insertion point. Therefore, it is successful to optimize the insertion paths of radial lead parts relevant to the insertion programs after adjustment of insertion parameters.
- FIG. 5 is an implementation of flow diagram for adjustment of the insertion parameters of insertion programs of RHS machine, in accordance with an embodiment of the present invention.
- RHS machine is the upgrading version of RH machine, so only one of them is used for inserting the radial lead parts generally. If RHS is used for inserting the radial lead parts, the detailed flow is as follows:
- step S 501 the parameters are transferred and exchanged. All of the parameter values in the main insertion program are obtained, such as the values of coordinates, and insertion pitch etc.
- step S 502 arrange in succession all the insertion points of radial lead parts in the direction of 0, 90, 180 and 270 degrees respectively relevant to the insertion paths of axial lead parts.
- RHS machines are used for inserting the radial lead parts
- angles of 0, 90, 180 and 270 degrees are suitable for operation.
- step S 503 the insertion angles in the direction of X and Y are counted respectively. That is to say, the insertion angles in the direction of 0 degree, 90 degrees, 180 degrees and 270 degrees are counted.
- step S 504 it is to judge whether the number of insertion points with an insertion angle of 180 degrees is more than 0. If not, carry out step S 508 .
- step S 505 it shows the message that the original program of insertion head of direction of “T” needs to be adjusted.
- step S 506 PCB is divided into multiple quadrants, and the number of insertion points of each insertion head in each quadrant is calculated.
- step S 507 it is to put all the insertion points of radial lead parts in order based on the height of radial lead parts which the insertion points need.
- step S 508 number “i” insertion point R i is obtained.
- “i” is a variable parameter, which can be any integral number ranging from 2 to P 4 , including 2 and P 4 . Furthermore, its initial value is 2. Among them, P 4 is the number of all STEP in the insertion programs of RHS. The insertion angle of R i is T i .
- step S 509 number “j” insertion point R j is obtained.
- “j” is a variable parameter, which can be any integral number ranging from “i+1” to P 4 , including “i+1” and P 4 . Furthermore, its initial value is “i+1”.
- the insertion angle of R j is T j .
- step S 510 it is to judge whether the distance between number “i” insertion point R i and number “i ⁇ 1” insertion point R i ⁇ 1 is more than or equal to that between number “i ⁇ 1” insertion point R i ⁇ 1 and number “j” insertion point R j .
- the distance between R i and R i ⁇ 1 is less than that between number “i ⁇ 1” insertion point R i , and number “j” insertion point R j , carry out step S 517 .
- step S 511 it is to judge whether the insertion angle of R j is equal to that of R i .
- the distance between R i and R i ⁇ 1 is less than that between number “i ⁇ 1” insertion point R i ⁇ 1 and number “j” insertion point R j , judge whether the insertion angle of R j is equal to that of R i . If not, carry out step S 517 .
- step S 512 when T j is 0 degree, judge whether X j is more than or equal to X i . When X j is more than or equal to X 1 , carry out step S 516 . Otherwise, carry out step S 517 .
- step S 513 when T j is 90 degrees, judge whether X j is less than or equal to X i . When X j is less than or equal to X i , carry out step S 516 . Otherwise, carry out step S 517 .
- step S 514 when T j is 180 degrees, judge whether X j is more than or equal to X i . When X j is more than or equal to X i , carry out step S 516 . Otherwise, carry out step S 517 .
- step S 515 when T j is 270 degrees, judge whether X j is less than or equal to X i . When X j is less than or equal to X i , carry out step S 516 . Otherwise, carry out step S 517 .
- step S 516 it is to exchange the order of number “j” insertion point and number “′” insertion point.
- step S 518 judge whether “j” is more than P 4 . If not, return to step S 509 .
- step S 520 after 1 adds to “i”, judge whether “i” is less than P 4 . If so, return to step S 508 .
- step S 521 output all the parameters adjusted. After 1 adds to “i”, if “i” is not less than P 4 , it shows that the precedence ordering is completed, and it is time for sending out all the parameters adjusted.
- steps S 508 to S 520 are to reorder all the insertion points of radial lead parts so that the distance between each insertion point of radial lead parts and its former insertion point is less than that between latter any insertion point and its former insertion point. Furthermore, the insertion angle of the insertion point of radial lead parts is not equal to that of any insertion point. Therefore, it is successful to optimize the insertion paths of radial lead parts relevant to the insertion programs after adjustment of insertion parameters.
- FIG. 6 is the schematic structural view of the inserting system for insertion of components in the printed circuit board, in accordance with an embodiment of the present invention.
- the inserting system can be the software unit, hardware unit or software- hardware unit built in the automatic insertion machine.
- the inserting system is composed of path obtaining unit 1 , an insertion parameter adjusting unit 2 , a calling module 3 , insertion paths generating unit 4 and inserting unit 5 .
- the insertion parameter adjusting unit 2 consists of insertion optimizating unit 21 for jumper wires, insertion optimizating unit 22 for axial lead parts, RH insertion optimizating unit 23 for radial lead parts, and RHS insertion optimizating unit 24 for radial lead parts.
- Insertion optimizating unit 21 contains jumper wires direction ordering module 211 , jumper wires pitch ordering module 212 , and jumper wires insertion point reordering module 213 .
- Insertion optimizating unit 22 consists of axial lead parts direction ordering module 221 , axial lead parts pitch ordering module 222 , axial lead parts insertion head reordering module 223 , and axial lead parts insertion point reordering module 224 .
- RH insertion optimizating unit 23 consists of first direction ordering module 231 , first insertion head ordering module 232 , and RH radial lead parts insertion point reordering module 233 .
- RHS insertion optimizating unit 24 is composed of the second direction ordering module 241 , radial lead parts height ordering module 242 , and the second insertion point reordering module 243 .
- path obtaining unit I is used to obtain the insertion paths for insertion heads.
- the calling module calls the insertion parameter adjusting unit 2 to adjust the insertion parameters.
- the insertion paths generating unit 4 generates the optimized insertion paths according to the insertion parameters adjusted.
- the inserting unit 5 carries out the insertion according to the optimized insertion paths.
- the insertion optimizating module 21 of paths optimizating unit 2 is used to optimize the insertion paths for jumper wires.
- the jumper wires insertion optimizating module will use one of the following modules for optimization at least: Jumper wires direction ordering module 211 , which is used to arrange in succession all the insertion points of jumper wires in the direction of 0 and 90 degrees respectively relevant to the insertion paths of jumper wires; Jumper wires pitch ordering module 212 , which is used to calculate the insertion pitches of all the insertion points of jumper wires, and put all the insertion points in order according to the size of insertion pitches; jumper wires insertion point reordering module 213 , which is used to reorder all the insertion points of jumper wires, so that the distance between each insertion point and its former insertion point is not more than that between latter any insertion point and its former insertion point. Furthermore, the difference of insertion pitches between the two adjacent insertion points of jumper wires increases.
- the insertion optimizating unit 22 of paths optimizating unit 2 is used to optimize the insertion paths for axial lead parts.
- the insertion optimizating unit 22 for axial lead parts will use one of the following modules for optimization at least: Axial lead parts direction ordering module 221 , which is used to arrange in succession all the insertion points of axial lead parts in the direction of 0, 90, 180 and 270 degrees respectively relevant to the insertion paths of axial lead parts; Axial lead parts pitch ordering module 222 , which is used to calculate the insertion pitches of all the insertion points of axial lead parts, and put all the insertion points in order according to the size of insertion pitches; Axial lead parts insertion head ordering module 223 , which is used to divide PCB into multiple areas, calculate the areas of all insertion points relevant to each insertion head of axial lead parts, and confirm the insertion sequence of each insertion head of axial lead parts according to the areas of insertion points relevant to the insertion head of axial lead parts as well as the area sequence for insertion
- the absolute value of the difference of insertion angles between the insertion point and its former insertion point is less than that between latter any insertion point and its former insertion point.
- the absolute value of the difference of insertion pitches between the insertion point and its former insertion point is less than that between latter any insertion point and its former insertion point.
- RH insertion optimizating unit 23 is used to optimize the insertion paths for radial lead parts.
- the RH insertion optimization unit 23 for radial lead parts will use one of the following modules for optimization at least: First direction ordering module 231 , which is used to arrange in succession all the insertion points of radial lead parts in the direction of 0 and 90 degrees respectively relevant to the insertion paths of radial lead parts; First insertion head ordering module 232 , which is used to divide PCB into multiple areas, calculate the areas of all insertion points relevant to each insertion head of radial lead parts, and confirm the insertion sequence of each insertion head of radial lead parts according to the areas of insertion points relevant to the insertion head of axial lead parts as well as the area sequence for insertion of radial lead parts; RH insertion point reordering module 233 for radial lead parts, which is used to reorder all the insertion points of radial lead parts
- RHS insertion optimizating unit 24 is used to optimize the insertion paths for radial lead parts.
- the RHS insertion optimizating unit 24 for radial lead parts will use one of the following modules for optimization at least: Second direction ordering module 241 , which is used to arrange all the insertion points in succession in the direction of 0, 90, 180 and 270 degrees respectively relevant to the insertion paths; Radial lead parts height ordering module 242 , which is used to put all insertion points in order according to the height of all insertion points; Second insertion point reordering module 243 , which is used to put all insertion points in order, so that the distance between each insertion point and its former insertion point is less than that between latter any insertion point and its former insertion point. And the insertion angle of the insertion point is not equal to that of any insertion point.
- the optimization program is used to adjust the insertion parameters in the original insertion programs. Then, the optimized insertion paths are generated according to the parameters adjusted, and the insertion is carried out based on the optimized insertion paths and thus improving the insertion efficiency, without a waste of manpower and the improvement of insertion efficiency is inconspicuous caused by man-made modification of insertion programs.
- the optimization program is used to adjust the insertion parameters in the original insertion programs. Then, the optimized insertion paths are generated according to the parameters adjusted, and the insertion is carried out based on the optimized insertion paths, which, compared with existing insertion methods, is able to improve the insertion efficiency, without a waste of manpower and the improvement of insertion efficiency is inconspicuous caused by man-made modification of insertion programs.
Abstract
Description
- The present invention relates to the electronic manufacturing field, especially an automatic inserting method, an inserting system and an inserting device for a PCB board.
- In general, the components which can be automatically inserted into the printed circuit board (PCB) are classified into three types, including jumper wires, axial lead parts and radial lead parts. During automatic insertion of components, it is necessary to adopt different inserting techniques for different components, for instance, JVK machines are used to insert jumper wires, AVK machines are used to insert axial lead parts, and RH machines or RHS machines are used to insert the radial lead parts. In the event that a number of components need to be installed on the printed circuit board, the number of installing paths approaches will be great. For these paths approaches, their execution efficiency is various. When a certain path approach is used for insertion, its speed may be faster than that of another path approach.
- At present, the users have already adopted some approaches and numerical control programs to control the actual insertion process. However, due to the fact that in the practical manufacture, various components and points are needed, and the area of printed circuit board is great and the distribution of components is irregular (in terms of the coordinate and angles), etc, it is difficult or impossible for these man-made insertion programs to properly select an ideal paths owing to the effect of all kinds of parameters of machine, which will easily give rise to great alternation fluctuation in X and Y coordinates, feeder, insertion angle and insertion pitch in the program, and cause incessant phenomena of ‘waiting for synchronization’ in the machine. If the case is serious, it can be seen apparently that the machine will stop at times in the course of insertion, and thus leading to low insertion efficiency and a long insertion time.
- For example, the inserting machines are used to insert the CRT TV printed circuit boards, with its AI production process data analysis as follows: the production data of a (404*257*1.6 mm) printed circuit board are described as follows: the number of the points of the total inserted jumper wires is 110 and the mean time of JVK machines for inserting the jumper wires is tested about 34 seconds per PCB, so it is about 0.31 seconds per point, the number of the points of the axial lead parts is 161, the number of the kinds of components is 61 and the mean time of AVK machines for inserting the axial lead parts is tested about 51 seconds per PCB, so it is about 0.317 seconds per point, the number of the points of the radial lead parts is 159 points, the number of the kinds of components is 48, and the mean time of RH machines for inserting the radial lead parts is tested about 77 seconds per PCB, so it is about 0.484 seconds per point. When comparing with the characteristic parameters of Panasert machine according to these data above-mentioned, we will find that the production process can not actually make the best use of the machines. Thereinafter we give a brief analysis of the four types of the machines.
- (1) JVK machines for inserting jumper wires: the maximum theoretical speed of the machines is 0.13 seconds per element (the speed is limited on the strict conditions of the machine), without any limit on the polarity of components as long as the insertion is completed in the same direction at a time. For instance, insertion of all the elements of the angle of 0 degree (direction of X) is performed, and then insertion of all the elements of the angle of 90 degrees (direction of Y) is performed. The insertion speed is only dependent on the change in paths and insertion pitch selected by the programs. Generally, this is not taken into account by the man-made insertion programs, so a great change in the paths and the insertion pitches will slow down the insertion speed of the machines, without achieving the maximum theoretical speed basically. At present, for calculating a TV printed circuit board with 120 pieces of jumper wires in practical production, the speed shall be about 0.28 to 0.30 seconds per piece.
- (2) AVK machines for inserting axial lead parts: on condition that the movement of feeder (Z axis) doesn't exceed three stations, the movement of both X and Y coordinates doesn't exceed 5 cm, the insertion pitch is unchanged and the data of the thickness of elements is unchanged, the maximum theoretical speed of the machines is 0.18 seconds per element for 0-degree angle, 0.15 seconds per element for 90-degree angle, 0.3 seconds per element for 180-degree angle and 0.27 seconds per element for 270-degree angle. However, at present it is difficult for the man-made programming methods to consider with these parameters, for actual insertion programs the coordinates X and Y, as well as Z axis for feeder, T axis for insertion pitch and large insertion angle will be subject to a great movement during insertion, which will markedly slow down the insertion speed. The actual average speed measured is 0.3 to 0.35 seconds per element.
- (3) RH machines for inserting radial lead parts: it is also faced with the programming problems similar to AVK, and consideration shall be given to the movement of coordinates X and Y, and feeder (Z axis), as well as the change in height and insertion angle of component. Its maximum theoretical speed is 0.45 seconds per element. Inserting machine RHS: for insertion program, three factors as follows shall be considered, the first is movement paths of coordinates X and Y, the second is insertion angle, the third is height of component. Among them, the second and the third are the necessary parameters to the next insertion. Its maximum theoretical speed is 0.45 seconds per element.
- On the whole, the existing insertion control programs can realize the task of insertion, but the existing insertion control programs only aim at the completion of insertion without considering the insertion efficiency. As a result, the insertion efficiency of existing insertion programs is very low. When the user wants to perfect the insertion efficiency, generally they will modify with the insertion control programs artificially. Such man-made modification is able to perfect some parameter data easily, but it neglects other parameter data. Therefore, the man-made modification not only needs a great deal of manpower, but also unable to improve the insertion efficiency markedly.
- A purpose of an embodiment of the present invention is to provide a method about automatic insertion of components into the printed circuit board, in order to solve the problem that the existing insertion control programs efficiency is low, and it will be a waste of manpower and the improvement of insertion efficiency is inconspicuous in relation to man-made modification of insertion programs.
- The embodiment of the present invention of the method about automatic insertion of components into the printed circuit board can be realized and the method includes the following steps:
- obtaining insertion paths for insertion of components in the printed circuit board;
- calling optimization programs to adjust the insertion parameters;
- generating the optimized inserting paths based on the insertion parameters adjusted;
- carrying out the insertion based on the optimized insertion paths.
- In addition, another purpose of the embodiment of the present invention is to provide a system for insertion of components into the printed circuit board. The system includes:
- a path obtaining unit configured for obtaining the insertion paths for insertion of components in the printed circuit board;
- an insertion parameter adjusting unit configured for adjusting the insertion parameters;
- a calling module configured for calling the insertion parameter adjusting unit;
- an insertion paths generating unit configured for generating the optimized insertion paths based on the insertion parameters adjusted;
- an inserting unit configured for inserting based on the optimized insertion paths.
- In addition, another purpose of the embodiment of the present invention is to provide a device for automatic insertion in the printed circuit board, it contains the system for automatic insertion in the printed circuit board, and the system includes:
- a path obtaining unit configured for obtaining the insertion paths for insertion of components in the printed circuit board;
- an insertion parameter adjusting unit used for adjusting the insertion parameters;
- a calling module used for calling the insertion parameter adjustment unit;
- an insertion paths generating unit, used for generating the optimized insertion paths based on the insertion parameters adjusted;
- an inserting unit configured for inserting based on the optimized insertion paths.
- In the embodiments of the present invention, the optimization programs are used to adjust the insertion parameters in the original insertion programs, generate the optimized insertion paths based on the parameters adjusted, and carry out the insertion based on the optimized insertion paths, which not only improves the insertion efficiency, but also avoids a waste of manpower and the improvement of insertion efficiency is inconspicuous in relation to man-made modification of insertion programs.
-
FIG. 1 is an implementation of flow diagram of an inserting method for insertion of components in the printed circuit board, in accordance with an embodiment of the present invention; -
FIG. 2 is an implementation of flow diagram for adjustment of the insertion parameters of insertion programs of JVK machines, in accordance with an embodiment of the present invention; -
FIG. 3 is an implementation of flow diagram for adjustment of the insertion parameters of insertion programs of AVK machines, in accordance with an embodiment of the present invention; -
FIG. 4 is an implementation of flow diagram for adjustment of the insertion parameters of insertion programs of RH machines, in accordance with an embodiment of the present invention; -
FIG. 5 is an implementation of flow diagram for adjustment of the insertion parameters of insertion programs of RHS machines, in accordance with an embodiment of the present invention; -
FIG. 6 is the schematic structural view of the system for insertion of components in the printed circuit board, in accordance with an embodiment of the present invention. - In order to make the purpose, technical plan and advantages of the present invention to be clearer, with reference to the accompanying figures and embodiments, a further detailed description of the present invention is given. It should be appreciated, the specific embodiments described in the paper are only used for explaining the present invention, not configured for limiting the invention.
- In the embodiments of the present invention, the optimization programs are used to adjust the insertion parameters in the original insertion programs, generate the optimized insertion paths based on the parameters adjusted, and carry out the insertion based on the optimized insertion paths, which not only improves the insertion efficiency, but also avoids a waste of manpower and the improvement of insertion efficiency is inconspicuous in relation to man-made modification of insertion programs.
-
FIG. 1 shows the flow diagram of inserting methods for inserting components in the printed circuit board, in accordance with an embodiment of the present invention. The details are described as follows: - At step S101, the insertion program data is obtained. The insertion program data is saved in all kinds of insertion program files, such as the insertion program files postfixes with NCD, UDR and POD. The insertion program data can be obtained by reading these program files. Among them, the file with a postfix of NCD records the coordinates data of all the operation points while the file with a postfix of UDR records the type of machine relevant to the control data item (STEP) in the insertion programs, so the file with a postfix of UDR can be used to judge the type of machine familiar to the insertion programs. The file with a postfix of POD records the total deviation coordinate (OFFSET) of operation points.
- At step S102, the insertion programs data is spitted to obtain the parameter data. The insertion program data is spitted into multiple STEP. On the basis of each STEP, the relevant parameter data is obtained, such as/value, value G, value M, value T, value X, value Y, value Z, value V, value W, as well as parameter items about descriptions of components.
- At step S103, the jump items are separated. The insertion programs may contain jump items, in order to avoid giving an effect on the efficiency of insertion program when the jump items are carried out. In the embodiment of the present invention, the jump items are separated. The order mark/value of jump item is/7, so the jump items can be found out according to the parameter/value when the insertion programs are spitted into multiple STEP (control items). That is to say, the jump items can be separated by looking for the STEP with an order mark/value of/7 in all STEP.
- At step S104, the ineffective STEP is deleted. The insertion programs may contain some ineffective STEP. In the embodiment of the present invention, the ineffective STEP shall be deleted. When value G of STEP is not equal to 0, the STEP is ineffective. So, when the insertion programs are spitted into multiple STEP, we can judge whether the STEP is ineffective based on value G, and then delete the entire ineffective STEP.
- At step S105, the insertion paths of components is figured out according to the insertion programs of which the jump items have already been separated and the ineffective. STEP has been deleted.
- The moving paths of insertion head is simulated according to the insertion programs of which the jump items have already been separated and the ineffective. STEP has been deleted. As an embodiment of the present invention, JVK machines are used for inserting the jumper wires, the AVK machines are used for inserting the axial lead parts, and the RH or RHS machines are used for inserting the radial lead parts (RHS machines are the upgrading version of RH machines, so only one of them is used for inserting the radial lead parts generally), so the insertion programs contains STEP relevant to the three kinds of automatic components. As a result, there are three moving paths accordingly.
- At step S106, the total initial distance and time relevant to the paths movement are calculated. According to the moving paths of the insertion head of each inserting machine, the paths distance of the insertion head moving from the machine origin to each operation point then to the machine origin again can be calculated. Furthermore, the paths distance is also the initial paths distance of the machine. The initial paths distance divided by the theoretical average speed of the inserting machine is initial time of the machine. The sum total of the initial paths distances of the three machines is the total initial distance. The sum total of the initial time of the three machines is the total initial time.
- At step S107, the start point of the insertion head is selected based on the insertion programs. As an embodiment of the present invention, it is feasible to adopt the middle points of both sides of insertion surface of PCB as the separation points, make two lines parallel with the two sides on the basis of the separation points, take the parallel lines as the separation lines which divide the insertion surface of PCB into four portions of a size, and take the portion at the top left corner as the first quadrant. The insertion point, which is the farthest from the machine origin in linear distance, is used as the start point. The start point is also the origin of program.
- At step S108, the optimization programs are called to adjust the insertion parameters. As an embodiment of the present invention, the optimization programs include JVK optimization program, AVK optimization program, RH optimization program as well as partial or all RHS optimization program. The file with a postfix of UDR has recorded the type of machine relevant to STEP in the insertion program, so the file is able to be used to identify the type of machine so as to select corresponding optimization program to optimize the paths of the machine. When the type of machine is identified, the type of components is also gained accordingly, that is to say, the corresponding optimization program can be selected.
- At step S109, the insertion program optimized is integrated into new insertion program files. In order to save the optimized paths, the insertion program optimized is integrated into new insertion program file, so that the optimized paths can be obtained by reading the file when it is time for next insertion. The new insertion program files are still three kinds of files with a postfix of NCD, UDR and POD respectively.
- At step S110, the moving paths of the optimized insertion head are obtained based on the new insertion programs.
- At step S111, the total optimized distance and time of the optimized paths are calculated. According to new moving paths of each inserting machine, the paths distance of the insertion head moving from the program origin to each operation point then to the program origin again can be calculated. That is to say, the optimized paths distance of the machine is obtained. The optimized paths distance divided by the theoretical average speed of the inserting machine is the optimized time of the machine. The sum total of the optimized paths distances of the three machines is the total optimized distance. The sum total of the optimized time of the three machines is the total optimized time.
- At step S112, it is to judge whether the total optimized distance and total optimized time is less than the total initial distance and total initial time respectively. The theoretical average speed of machine is still a constant before or after optimization of the insertion programs, so it is enough to compare the size of the total distance before and after optimization.
- At step S113, it shows the message that the insertion programs are being optimized. When the total distance and time before and after optimization is unchanged, some insertion programs may have been optimized but the operator doesn't know it, and send an optimization order again. At this time, it shows that the original programs are being optimized, without changing the original insertion program file.
- At step S114, there is message showing that the insertion programs have already been optimized, and the optimized insertion program files are outputted. When the total optimization distance and time is less than the total initial distance and time respectively, the message showing that the insertion programs have already been optimized is outputted. Furthermore, the NCD, UDR and POD insertion program files are output.
- At step S115, it is to carry out the insertion based on the insertion paths optimized.
-
FIG. 2 is the flow diagram for adjusting of the insertion parameters of insertion programs of JVK machines, in accordance with an embodiment of the present invention. The detailed descriptions are as follows: - At step S201, the parameters are transferred and exchanged. All of the parameter values in the main insertion program are obtained, such as the values of coordinates, and insertion pitches etc.
- At step S202, arrange in succession all the insertion points of jumper wires in the direction of 0 and 90 degrees respectively relevant to the insertion paths of jumper wires. When JVK machines are used for inserting the jumper wires, only 0 and 90 degrees (X and Y direction) are suitable for printed circuit boards. Take all the insertion points of jumper wires in the direction of 0 degree as a group, and take all the insertion points of jumper wires in the direction of 90 degrees as another group. Arrange the two groups of insertion points in succession. Therefore, when JVK machine is inserting the jumper wires, all the insertion points of jumper wires in the direction of 0 (or 90) degree (s) can be used for insertion. Then, JVK machine inserts the rest of insertion points of jumper wires in the direction of 90 (or 0) degrees, without having the insertion head of machine switched frequently in the direction of 0 or 90 degrees, and thus saving the time.
- At step S203, the insertion pitches of all the insertion points of jumper wires are calculated, and all the insertion points of jumper wires are put in order based on the size of insertion pitches.
- The insertion points are put in order (from large to small or from small to large) based on the size of insertion pitches of all the insertion points of jumper wires. As an embodiment of the present invention, it is feasible to divide all of the insertion points into multiple groups. In this way, during insertion, the change range of insertion pitch of latter insertion points is generally less than that of former insertion points, which can reduce the time for insertion pitch of machine.
- At step S204, the start points are confirmed based on the insertion programs of JVK. As an embodiment of the present invention, the point, which is the farthest from the machine origin, can be used as the start point.
- At step S205, number “i” insertion point Mi of jumper wires is obtained. “i” is a variable parameter, which can be any integral number ranging from 2 to P1, including 2 and P1. Among them, P1 is the number of all STEP in the insertion programs of JVK.
- At step S206, number “j” insertion point Mj of jumper wires is obtained. “j” is a variable parameter, which can be any integral number ranging from “i+1” to P1, including “i+1” and “P1”. Furthermore, its initial value is “i+1”.
- At step S207, it is to judge whether the distance between number “i” insertion point Mi and number “i−1” insertion point Mi−1 is less than that between number “j” insertion point Mj and number “i−1” insertion point Mi−1. If the distance between Mi and Mi−1 is less than that between Mj and Mi−1, carry out step S209.
- At step S208, it is to judge whether the insertion pitch of number “i” insertion point is less than that of number “j” insertion point. When the distance between number “i” insertion point and number “i−1” insertion point is not less than that between number “j” insertion point and number “i−1” insertion point, judge whether the insertion pitch of number “i” insertion point is less than that of number “j” insertion point. When the insertion pitch of number “i” insertion point is less than that of number “j” insertion point, carry out step S210.
- At step S209, it is to exchange the position between insertion point Mj and insertion point Mi. That is to exchange the order of the two insertion points, namely the insertion order of the two insertion points.
- At step S210, 1 adds to the numerical value of “j”. When the insertion pitch of number “i” insertion point is more than or equal to that of number “j” insertion point, 1 adds to the numerical value of “j”.
- At step S211, judge whether “j” is less than or equal to P1. After 1 adds to the numerical value of “j”, judge whether “j” is less than or equal to P1. If so, return to step S206.
- At step S212, 1 adds to the numerical value of “i”. After 1 adds to the numerical value of “j”, if “j” is more than P1, 1 adds to the numerical value of “i”.
- At step S213, after 1 adds to the numerical value of “i”, judge whether “i” is less than P1. If so, return to step S205.
- At step S214, it is to output all the parameters adjusted. After 1 adds to the numerical value of “i”, if “i” is not less than “P1”, it suggests that the precedence ordering is completed. All the parameters adjusted are outputted.
- Among the above-mentioned steps, steps S205 to S211, in fact, are to reorder all the insertion points of jumper wires so that the distance between each insertion point and its former insertion point is not more than that between latter any insertion point and its former insertion point. Furthermore, the difference of insertion pitches between the two adjacent insertion points of jumper wires increases, which can optimize the insertion paths of jumper wires relevant to the insertion programs after adjustment of insertion parameters.
-
FIG. 3 is an implementation of flow diagram for adjustment of the insertion parameters of insertion programs of AVK machines, in accordance with an embodiment of the present invention. The detailed descriptions are as follows: - At step S301, the parameters are transferred and exchanged. All of the parameter values in the main insertion programs are obtained, such as values of coordinates and insertion pitches etc.
- At step S302, arrange in succession all the insertion points of axial lead parts in the direction of 0, 90, 180 and 270 degrees respectively relevant to the insertion path of axial lead parts. When AVK machines are used for inserting the axial lead parts, some consideration shall be given to the polarity of components. That is to say, when AVK machines are used for inserting the axial lead parts, angles of 0, 90, 180 and 270 degrees are suitable for operation. In order to avoid that the insertion head of machine is switched frequently between the four directions, it is necessary to take all the insertion points of axial lead parts in the same direction as a group respectively, namely that each direction is corresponding to a group, so that AVK machines can insert the axial lead parts one group after another. That is to say, the axial lead parts in the next direction are inserted after all the axial lead parts in a direction are inserted, which doesn't have to have the insertion head of machine switched frequently between the four directions, and thus saving the time.
- At step S303, the insertion pitches of all the insertion points of axial lead parts are calculated, and all the insertion points of axial lead parts are put in order based on the size of insertion pitches.
- The insertion points are put in order (from large to small or from small to large) based on the size of insertion pitches of all the insertion points of axial lead parts. As an embodiment of the present invention, it is feasible to divide all of the insertion points into multiple groups. In this way, during insertion, the change range of insertion pitch of latter insertion points is generally less than that of former insertion points, which can reduce the time for insertion pitch of machine.
- At step S304, the distance between every two insertion points is calculated based on the same insertion head of axial lead parts. The inserting machine JVK only has an insertion head, but the inserting machine AVK needs to insert resistance, and diode etc, so it has multiple insertion heads.
- At step S305, it is to divide PCB into multiple quadrants, and calculate the number of insertion points of insertion head of each axial lead part in each quadrant, namely, confirm the area of insertion points of all axial lead parts relevant to the insertion head of each axial lead part. For example, PCB is divided into four quadrants as described at step S107. Of course, it is feasible to divide the four quadrants further.
- At step S306, it is to count the number of
insertion angles 0 degree and 180 degrees in the X direction, 90 degrees and 270 degrees in the Y direction respectively. - At step S307, it is to judge whether there is an insertion angle of 180 degrees or 270 degrees. If not, carry out step S309 directly.
- At step S308, it shows the message that the original programs of the insertion head of direction “T” of axial lead parts need to be adjusted. When there is an insertion angle of 180 degrees or 270 degrees, the message shows up. Therefore, the user can modify the original program by hand as required.
- At step S309, put all the insertion points in order according to the distribution of insertion points relevant to the insertion head of each axial lead part in each quadrant. As an embodiment of the present invention, it is feasible to mark the insertion head of each axial lead part according to the distribution of insertion points relevant to the insertion head of each axial lead part in each quadrant. The marking methods are as follows: marking the insertion head with ‘insertion head Z1 in section 1’ if all the insertion points relevant to the insertion head of axial lead parts are distributed in the first quadrant; marking the insertion head with ‘insertion head Z2 in section 2’ if all the insertion points relevant to the insertion head of axial lead parts are distributed in the second quadrant; marking the insertion heads with ‘insertion head Z3 in section 3’ and ‘insertion head Z4 in section 4’ by analogy if their insertion points are distributed in a certain quadrant; marking the insertion head with ‘Z1-2’ if the insertion points are distributed in the first and second quadrants; marking the insertion heads with Z1-3, Z1-4, Z2-3, Z2-4 and Z3-4 by analogy for the rest of insertion points distributed in two quadrants; marking the insertion head with Z1-2-3 if the insertion points are in the first, second and third quadrants; marking the insertion heads with Z1-2-4, Z1-3-4 and Z2-3-4 for the rest of insertion points distributed in three quadrants; marking the insertion head with Z1-2-3-4 if the insertion points are in the first, second, third and fourth quadrants.
- Then, put all the insertion points in order according to the marks of insertion heads of axial lead parts. As an embodiment of the present invention, the area sequence for insertion of radial lead parts is from the first quadrant to the fourth quadrant successively, so the precedence ordering of insertion points is as follow: all the insertion points relevant to insertion heads Z1 and Z12 in
section 1, and all the insertion points respectively relevant to insertion heads Z2 and Z2-3 insection 2, insertion heads Z3 and Z3-4 insection 3, insertion heads Z4, Z1-4, Z1-3-4, Z1-3, Z1-2-3-4, Z2-3-4, Z2-4, Z1-2-3 and Z1-2-4 in section 4. - At step S310, it is to obtain number “i” insertion point N1 of axial lead parts. “i” is a variable parameter, which can be any integral number ranging from 2 to P2, including 2 and P2 while the initial value of “i” is 2. Among them, P2 is the number of all STEP in the insertion programs of AVK.
- At step S311, it is to obtain number “j” insertion point Nj of axial lead parts. “j” is a variable parameter, which can be any integral number ranging from “i+1” to P2, including “i+1” and P2. And the initial value of “j” is “i+1”.
- At step S312, it is to judge whether the distance between number “i” insertion point Ni and number “i−1” insertion point Ni−1 is more than or equal to that between number “i−1” insertion point Ni−1 and number “j” insertion point Nj. If the distance between Nj and Ni−1 is more than that between Ni and Ni−1, carry out step S316.
- At step S313, it is to judge whether the absolute value of the difference between the insertion angle of number “j” insertion point and the insertion angle of number “i−1” insertion point is less than or equal to that between number “i” insertion point and number “i−1” insertion point.
- When the distance between Nj and Nj−1 is less than or equal to that between Ni and Ni−1, judge whether the absolute value of the difference between the insertion angles of Nj and Ni−1 is less than or equal to that between Ni and Ni−1. When the absolute value of the difference between the insertion angles of Nj and Ni−1 is more than that between Ni and Ni−1, carry out step S316.
- At step S314, it is to judge whether the absolute value of the difference between the insertion pitch of number “j” insertion point and the insertion pitch of number “i−1” insertion point is less than or equal to that between number “i” insertion point and number “i−1” insertion point. When the absolute value of the difference between the insertion angles of Nj and Ni−1 is less than or equal to that between Ni and Ni−1, judge whether the absolute value of the difference between the insertion pitches of Nj and Ni−1 is less than or equal to that between Ni and Ni−1. If the absolute value of the difference between the insertion pitches of Nj and Ni−1 is more than that between Ni and Ni−1, carry out step S316.
- At step S315, it is to exchange the order between number “j” insertion point and number “i” insertion point.
- At step S316, 1 adds to the numerical value of “j”.
- At step S317, it is to judge whether the absolute value of the difference between number “j” insertion head Zj and number “i−1” insertion head Zi−1 is less than “a” which is a positive integer. Adjust the size of “a” as required. Furthermore, 3 is a good value for “a”. When the absolute value of the difference between Zj and Zi−1 is less than or equal to “a”, return to step S311.
- At step S318, 1 adds to the numerical value of “i”. When the absolute value of the difference between Zj and Zi−1 is more than “a”, let 1 add to the numerical value of “i”.
- At step S319, it is to judge whether “i” is less than P2. If so, return to step S310.
- At step S320, it is to output all the parameters adjusted. After 1 adds to the numerical value of “i”, if “i” is not less than P2, it shows that the precedence ordering is completed, and it is time for sending out all the parameters adjusted.
- Among the above-mentioned steps, steps S301 to S319, in fact, are to reorder all the insertion points of axial lead parts so that the distance between each insertion point of axial lead parts and its former insertion point is not more than that between latter any insertion point and its former insertion point. Furthermore, the absolute value of the difference of insertion angles between the insertion point and its former insertion point is less than that between latter any insertion point and its former insertion point. The absolute value of the difference of insertion pitches between the insertion point and its former insertion point is less than that between latter any insertion point and its former insertion point. Therefore, it is successful to optimize the insertion paths of axial lead parts relevant to the insertion programs after adjustment of insertion parameters.
-
FIG. 4 is an implementation of flow diagram for adjustment of the insertion parameters of insertion programs of RH machine, in accordance with an embodiment of the present invention. The detailed descriptions are as follows: - At step S401, the parameters are transferred and exchanged. All of the parameter values in the main insertion programs are obtained, such as values of coordinates and insertion pitch etc.
- At step S402, arrange in succession all the insertion points of radial lead parts in the direction of 0 and 90 degrees respectively relevant to the insertion paths of radial lead parts. When RH machines are used for inserting the radial lead parts, only 0 and 90 degrees are suitable. Take all the insertion points of radial lead parts in the direction of 0 degree as a group, and take all the insertion points of radial lead parts in the direction of 90 degrees as another group, so as to avoid that the insertion head of machine is switched frequently in the two directions. Arrange the two groups of insertion points in succession, so that, when RH machine is inserting the radial lead parts, all the insertion points of radial lead parts in the direction of 0 (or 90) degree (s) can be used for insertion. Then, RH machine inserts the rest of insertion points of radial lead parts in the direction of 90 (or 0) degrees, without having the insertion head of machine switched frequently in the direction of 0 or 90 degrees, and thus saving the time.
- At step S403, the distance between every two insertion points is calculated based on the same insertion head of radial lead parts.
- At step S404, PCB is divided into multiple quadrants, and calculate the number of insertion points of insertion head of each radial lead part in each quadrant, namely, confirm the area of insertion points of all radial lead parts relevant to the insertion head of each radial lead part.
- At step S405, it is to count the number of insertion angles of 0 degree in the X direction and 90 degrees in the Y direction respectively.
- At step S406, it is to put all the insertion points in order according to the distribution of insertion points relevant to the insertion head of each radial lead part in each quadrant. As an embodiment of the present invention, it is feasible to mark the insertion head of each radial lead part according to the distribution of insertion points relevant to the insertion head of each radial lead part in each quadrant. The marking methods are as follows: marking the insertion head with ‘insertion head Z1 in section 1’ if all the insertion points relevant to the insertion head of radial lead parts are distributed in the first quadrant; marking the insertion head with ‘insertion head Z2 in section 2’ if all the insertion points relevant to the insertion head of radial lead parts are distributed in the second quadrant; marking the insertion heads with ‘insertion head Z3 in section 3’ and ‘insertion head Z4 in section 4’ by analogy if their insertion points are distributed in a certain quadrant; marking the insertion head with ‘Z1-2’ if the insertion points are distributed in the first and second quadrants; marking the insertion heads with Z1-3, Z1-4, Z2-3, Z2-4 and Z3-4 by analogy for the rest of insertion points distributed in two quadrants; marking the insertion head with Z1-2-3 if the insertion points are in the first, second and third quadrants; marking the insertion heads with Z1-2-4, Z1-3-4 and Z2-3-4 for the rest of insertion points distributed in three quadrants, ; marking the insertion head with Z1-2-3-4 if the insertion points are in the first, second, third and fourth quadrants.
- Then, put all the insertion points in order according to the marks of insertion heads of radial lead parts. As an embodiment of the present invention, the area sequence for insertion of radial lead parts is from the first quadrant to the fourth quadrant successively, so the precedence ordering of insertion points is as follow: all the insertion points relevant to insertion heads Z1 and Z12 in
section 1, and all the insertion points respectively relevant to insertion heads Z2 and Z2-3 insection 2, insertion heads Z3 and Z3-4 insection 3, and insertion heads Z4, Z1-4, Z1-3-4, Z1-3, Z1-2-3-4, Z2-3-4, Z2-4, Z1-2-3 and Z1-2-4 in section 4. - At step S407, it is to obtain number “i” insertion point Qi of radial lead parts. “i” is a variable parameter, which can be any integral number ranging from 2 to P3, including 2 and P3. Among them, P3 is the number of all STEP in the insertion programs of RH.
- At step S408, it is to obtain number “j” insertion point Qj of radial lead parts. “j” is a variable parameter, which can be any integral number ranging from “i+1” to P3, including “i+1” and P3. And the initial value of “j” is “i+1”.
- At step S409, it is to judge whether the distance between number “i” insertion point Qi and number “i−1” insertion point Qi−1 is more than or equal to that between number “i−1” insertion point Qi−1 and number “j” insertion point Qj. If the distance between Qi and Qi−1 is more than that between Qi and Qi−1, carry out step S412.
- At step S410, it is to judge whether the absolute value of the difference between the insertion angle of number “j” insertion point and the insertion angle of number “i−1” insertion point is less than or equal to that between number “i” insertion point and number “i−1” insertion point. When the distance between Qj and Qi−1 is less than or equal to that between Qi and Qi−1, judge whether the absolute value of the difference between the insertion angles of Qj and Qi−1 is less than that between Qi and Qi−1. When the absolute value of the difference between the insertion angles of Qj and Qi−1 is more than that between Qi and Qi−1, carry out step S412.
- At step S411, it is to exchange the order between number “j” insertion point and number “i” insertion point. When the distance between Qj and Qi−1 is less than or equal to that between Qi and Qi−1, and the absolute value of the difference between the insertion angles of Qj and Qi−1 is less than or equal to that between Qi and Qi−1, exchange the position between number “j” insertion point and number “i” insertion point.
- At step S412, 1 adds to the numerical value of “j”.
- At step S413, it is to judge whether the absolute value of the difference between number “j” insertion head Zj and number “i−1” insertion head Zi−1 is less than “b” which is a positive integer. Adjust the size of “b” as required. Furthermore, 2 is a good value for “b”. When the absolute value of the difference between Zj and Zi−1 is less than or equal to “b”, return to step S408.
- At step S414, 1 adds to the numerical value of “i”. When the absolute value of the difference between Zj and Zi−1 is more than “b”, let 1 add to the numerical value of “i”.
- At step S415, it is to judge whether “i” is less than P3. If so, return to step S407.
- At step S416, it is to output all the parameters adjusted. After 1 adds to the numerical value of “i”, if “i” is not less than P3, it shows that the precedence ordering is completed, and it is time for sending out all the parameters adjusted.
- Among the above-mentioned steps, steps S407 to S415, in fact, are to reorder all the insertion points of radial lead parts so that the distance between each insertion point of radial lead parts and its former insertion point is less than that between latter any insertion point and its former insertion point. Furthermore, the absolute value of the difference of insertion angles between the insertion point and its former insertion point is less than that between latter any insertion point and its former insertion point. Therefore, it is successful to optimize the insertion paths of radial lead parts relevant to the insertion programs after adjustment of insertion parameters.
-
FIG. 5 is an implementation of flow diagram for adjustment of the insertion parameters of insertion programs of RHS machine, in accordance with an embodiment of the present invention. RHS machine is the upgrading version of RH machine, so only one of them is used for inserting the radial lead parts generally. If RHS is used for inserting the radial lead parts, the detailed flow is as follows: - At step S501, the parameters are transferred and exchanged. All of the parameter values in the main insertion program are obtained, such as the values of coordinates, and insertion pitch etc.
- At step S502, arrange in succession all the insertion points of radial lead parts in the direction of 0, 90, 180 and 270 degrees respectively relevant to the insertion paths of axial lead parts. When RHS machines are used for inserting the radial lead parts, some consideration shall be given to the polarity of components. That is to say, when RHS machines are used for inserting the radial lead parts, angles of 0, 90, 180 and 270 degrees are suitable for operation. In order to avoid that the insertion head of machine is switched frequently between the four directions, it is necessary to take all the insertion points of radial lead parts in the same angle as a group respectively, namely that each angle is corresponding to a group, so that RHS machines can insert the radial lead parts one group after another. That is to say, the radial lead parts in the next angle are inserted after all the radial lead parts in a angle are inserted, which doesn't have to have the insertion head of machine switched frequently between the four directions, and thus saving the time.
- At step S503, the insertion angles in the direction of X and Y are counted respectively. That is to say, the insertion angles in the direction of 0 degree, 90 degrees, 180 degrees and 270 degrees are counted.
- At step S504, it is to judge whether the number of insertion points with an insertion angle of 180 degrees is more than 0. If not, carry out step S508.
- At step S505, it shows the message that the original program of insertion head of direction of “T” needs to be adjusted.
- At step S506, PCB is divided into multiple quadrants, and the number of insertion points of each insertion head in each quadrant is calculated.
- At step S507, it is to put all the insertion points of radial lead parts in order based on the height of radial lead parts which the insertion points need.
- At step S508, number “i” insertion point Ri is obtained. “i” is a variable parameter, which can be any integral number ranging from 2 to P4, including 2 and P4. Furthermore, its initial value is 2. Among them, P4 is the number of all STEP in the insertion programs of RHS. The insertion angle of Ri is Ti.
- At step S509, number “j” insertion point Rj is obtained. “j” is a variable parameter, which can be any integral number ranging from “i+1” to P4, including “i+1” and P4. Furthermore, its initial value is “i+1”. The insertion angle of Rj is Tj.
- At step S510, it is to judge whether the distance between number “i” insertion point Ri and number “i−1” insertion point Ri−1 is more than or equal to that between number “i−1” insertion point Ri−1 and number “j” insertion point Rj. When the distance between Riand Ri−1 is less than that between number “i−1” insertion point Ri, and number “j” insertion point Rj, carry out step S517.
- At step S511, it is to judge whether the insertion angle of Rj is equal to that of Ri. When the distance between Ri and Ri−1 is less than that between number “i−1” insertion point Ri−1 and number “j” insertion point Rj, judge whether the insertion angle of Rj is equal to that of Ri. If not, carry out step S517.
- At step S512, when Tj is 0 degree, judge whether Xj is more than or equal to Xi. When Xj is more than or equal to X1, carry out step S516. Otherwise, carry out step S517.
- At step S513, when Tj is 90 degrees, judge whether Xj is less than or equal to Xi. When Xj is less than or equal to Xi, carry out step S516. Otherwise, carry out step S517.
- At step S514, when Tj is 180 degrees, judge whether Xj is more than or equal to Xi. When Xj is more than or equal to Xi, carry out step S516. Otherwise, carry out step S517.
- At step S515, when Tj is 270 degrees, judge whether Xj is less than or equal to Xi. When Xj is less than or equal to Xi, carry out step S516. Otherwise, carry out step S517.
- At step S516, it is to exchange the order of number “j” insertion point and number “′” insertion point.
- At step S517, let 1 add to “j”.
- At step S518, judge whether “j” is more than P4. If not, return to step S509.
- At step S519, let 1 add to “i”.
- At step S520, after 1 adds to “i”, judge whether “i” is less than P4. If so, return to step S508.
- At step S521, output all the parameters adjusted. After 1 adds to “i”, if “i” is not less than P4, it shows that the precedence ordering is completed, and it is time for sending out all the parameters adjusted.
- Among the above-mentioned steps, steps S508 to S520, in fact, are to reorder all the insertion points of radial lead parts so that the distance between each insertion point of radial lead parts and its former insertion point is less than that between latter any insertion point and its former insertion point. Furthermore, the insertion angle of the insertion point of radial lead parts is not equal to that of any insertion point. Therefore, it is successful to optimize the insertion paths of radial lead parts relevant to the insertion programs after adjustment of insertion parameters.
-
FIG. 6 is the schematic structural view of the inserting system for insertion of components in the printed circuit board, in accordance with an embodiment of the present invention. The inserting system can be the software unit, hardware unit or software- hardware unit built in the automatic insertion machine. - The inserting system is composed of
path obtaining unit 1, an insertionparameter adjusting unit 2, acalling module 3, insertion paths generating unit 4 and insertingunit 5. Among them, the insertionparameter adjusting unit 2 consists ofinsertion optimizating unit 21 for jumper wires,insertion optimizating unit 22 for axial lead parts, RHinsertion optimizating unit 23 for radial lead parts, and RHSinsertion optimizating unit 24 for radial lead parts.Insertion optimizating unit 21 contains jumper wiresdirection ordering module 211, jumper wirespitch ordering module 212, and jumper wires insertionpoint reordering module 213.Insertion optimizating unit 22 consists of axial lead partsdirection ordering module 221, axial lead parts pitch orderingmodule 222, axial lead parts insertionhead reordering module 223, and axial lead parts insertionpoint reordering module 224. RHinsertion optimizating unit 23 consists of firstdirection ordering module 231, first insertionhead ordering module 232, and RH radial lead parts insertionpoint reordering module 233. RHSinsertion optimizating unit 24 is composed of the seconddirection ordering module 241, radial lead partsheight ordering module 242, and the second insertionpoint reordering module 243. - In the embodiment of the present invention, path obtaining unit I is used to obtain the insertion paths for insertion heads. The calling module calls the insertion
parameter adjusting unit 2 to adjust the insertion parameters. Then, the insertion paths generating unit 4 generates the optimized insertion paths according to the insertion parameters adjusted. The insertingunit 5 carries out the insertion according to the optimized insertion paths. - When the automatics are jumper wires, the
insertion optimizating module 21 ofpaths optimizating unit 2 is used to optimize the insertion paths for jumper wires. The jumper wires insertion optimizating module will use one of the following modules for optimization at least: Jumper wiresdirection ordering module 211, which is used to arrange in succession all the insertion points of jumper wires in the direction of 0 and 90 degrees respectively relevant to the insertion paths of jumper wires; Jumper wires pitch orderingmodule 212, which is used to calculate the insertion pitches of all the insertion points of jumper wires, and put all the insertion points in order according to the size of insertion pitches; jumper wires insertionpoint reordering module 213, which is used to reorder all the insertion points of jumper wires, so that the distance between each insertion point and its former insertion point is not more than that between latter any insertion point and its former insertion point. Furthermore, the difference of insertion pitches between the two adjacent insertion points of jumper wires increases. - When the automatic components are axial lead parts, the
insertion optimizating unit 22 ofpaths optimizating unit 2 is used to optimize the insertion paths for axial lead parts. Theinsertion optimizating unit 22 for axial lead parts will use one of the following modules for optimization at least: Axial lead partsdirection ordering module 221, which is used to arrange in succession all the insertion points of axial lead parts in the direction of 0, 90, 180 and 270 degrees respectively relevant to the insertion paths of axial lead parts; Axial lead parts pitch orderingmodule 222, which is used to calculate the insertion pitches of all the insertion points of axial lead parts, and put all the insertion points in order according to the size of insertion pitches; Axial lead parts insertionhead ordering module 223, which is used to divide PCB into multiple areas, calculate the areas of all insertion points relevant to each insertion head of axial lead parts, and confirm the insertion sequence of each insertion head of axial lead parts according to the areas of insertion points relevant to the insertion head of axial lead parts as well as the area sequence for insertion of axial lead parts; Axial lead parts insertionpoint reordering module 224, which is used to reorder all the insertion points of axial lead parts, so that the distance between each insertion point of axial lead parts and its former insertion point is less than that between latter any insertion point and its former insertion point. Furthermore, the absolute value of the difference of insertion angles between the insertion point and its former insertion point is less than that between latter any insertion point and its former insertion point. The absolute value of the difference of insertion pitches between the insertion point and its former insertion point is less than that between latter any insertion point and its former insertion point. - When the automatic components are radial lead parts, and RH machines are used to insert the radial lead parts, RH
insertion optimizating unit 23 is used to optimize the insertion paths for radial lead parts. The RHinsertion optimization unit 23 for radial lead parts will use one of the following modules for optimization at least: Firstdirection ordering module 231, which is used to arrange in succession all the insertion points of radial lead parts in the direction of 0 and 90 degrees respectively relevant to the insertion paths of radial lead parts; First insertionhead ordering module 232, which is used to divide PCB into multiple areas, calculate the areas of all insertion points relevant to each insertion head of radial lead parts, and confirm the insertion sequence of each insertion head of radial lead parts according to the areas of insertion points relevant to the insertion head of axial lead parts as well as the area sequence for insertion of radial lead parts; RH insertionpoint reordering module 233 for radial lead parts, which is used to reorder all the insertion points of radial lead parts, so that the distance between each insertion point of radial lead parts and its former insertion point is less than that between latter any insertion point and its former insertion point. Furthermore, the absolute value of the difference of insertion angles between the insertion point and its former insertion point is less than that between latter any insertion point and its former insertion point. - When the automatic components elements are radial lead parts, and RHS machines are used to insert the radial lead parts, RHS
insertion optimizating unit 24 is used to optimize the insertion paths for radial lead parts. The RHSinsertion optimizating unit 24 for radial lead parts will use one of the following modules for optimization at least: Seconddirection ordering module 241, which is used to arrange all the insertion points in succession in the direction of 0, 90, 180 and 270 degrees respectively relevant to the insertion paths; Radial lead partsheight ordering module 242, which is used to put all insertion points in order according to the height of all insertion points; Second insertionpoint reordering module 243, which is used to put all insertion points in order, so that the distance between each insertion point and its former insertion point is less than that between latter any insertion point and its former insertion point. And the insertion angle of the insertion point is not equal to that of any insertion point. - On the whole, in the embodiments of the present invention, the optimization program is used to adjust the insertion parameters in the original insertion programs. Then, the optimized insertion paths are generated according to the parameters adjusted, and the insertion is carried out based on the optimized insertion paths and thus improving the insertion efficiency, without a waste of manpower and the improvement of insertion efficiency is inconspicuous caused by man-made modification of insertion programs.
- The above-mentioned is the preferred embodiment of the present invention, but not limited to the invention. Therefore, any modification, equivalent replacement and improvement etc on the basis of the invention shall be within the protective range of the present invention.
- In the embodiments of the present invention, the optimization program is used to adjust the insertion parameters in the original insertion programs. Then, the optimized insertion paths are generated according to the parameters adjusted, and the insertion is carried out based on the optimized insertion paths, which, compared with existing insertion methods, is able to improve the insertion efficiency, without a waste of manpower and the improvement of insertion efficiency is inconspicuous caused by man-made modification of insertion programs.
Claims (13)
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101249149A CN101257788B (en) | 2007-12-07 | 2007-12-07 | Method, system and equipment for automatically plugging component on PCB plate |
CN200710124914.9 | 2007-12-07 | ||
CN200710124914 | 2007-12-07 | ||
PCT/CN2008/000549 WO2009074003A1 (en) | 2007-12-07 | 2008-03-20 | Method, system and device for inserting elements into pcb boards automatically |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2008/000549 Continuation WO2009074003A1 (en) | 2007-12-07 | 2008-03-20 | Method, system and device for inserting elements into pcb boards automatically |
Publications (2)
Publication Number | Publication Date |
---|---|
US20090193653A1 true US20090193653A1 (en) | 2009-08-06 |
US8132322B2 US8132322B2 (en) | 2012-03-13 |
Family
ID=39892146
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/357,172 Expired - Fee Related US8132322B2 (en) | 2007-12-07 | 2009-01-21 | Automatic inserting method, system and device for PCB board |
Country Status (6)
Country | Link |
---|---|
US (1) | US8132322B2 (en) |
CN (1) | CN101257788B (en) |
DE (1) | DE112008000018T5 (en) |
FR (1) | FR2924893B1 (en) |
TR (1) | TR200901690T1 (en) |
WO (1) | WO2009074003A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101566840B (en) * | 2009-05-15 | 2012-06-27 | 深圳创维-Rgb电子有限公司 | Control method and system for optimizing the component mounting sequence |
CN101692174B (en) * | 2009-08-03 | 2012-11-14 | 深圳创维-Rgb电子有限公司 | Method for wiring linkage plug-in by a plurality of plug-in machines |
FI125364B (en) * | 2013-04-19 | 2015-09-15 | Metso Automation Oy | Process optimization |
CN110225673B (en) * | 2019-07-02 | 2024-03-19 | 深圳市友华通信技术有限公司 | PCBA manufacturing method and PCBA |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4731923A (en) * | 1986-03-15 | 1988-03-22 | Tdk Corporation | Apparatus and method for mounting circuit element on printed circuit board |
US4906987A (en) * | 1985-10-29 | 1990-03-06 | Ohio Associated Enterprises, Inc. | Printed circuit board system and method |
US5508938A (en) * | 1992-08-13 | 1996-04-16 | Fujitsu Limited | Special interconnect layer employing offset trace layout for advanced multi-chip module packages |
US20060117560A1 (en) * | 2002-07-23 | 2006-06-08 | Akihito Yamasaki | Component mounting order optimization method, component mounting order optimization program, recording medium for the program, and component mounting apparatus using the method |
US20060136786A1 (en) * | 2001-01-10 | 2006-06-22 | Matsushita Electric Industrial Co., Ltd. | Component mounting apparatus, service providing device and servicing method |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05304396A (en) * | 1991-07-12 | 1993-11-16 | Canon Inc | Method and device for deciding mounting order of component |
DE602004012743T2 (en) * | 2003-05-27 | 2009-04-16 | Panasonic Corp., Kadoma | METHOD FOR OPTIMIZING THE FITTING ORDER, FITTING, PROGRAM FOR CARRYING OUT THE METHOD FOR OPTIMIZING THE FITTING AND STORAGE MEDIUM FOR THIS PROGRAM |
JP2005136010A (en) * | 2003-10-28 | 2005-05-26 | Matsushita Electric Ind Co Ltd | Method for optimizing order of part mounting |
JP2005353776A (en) * | 2004-06-10 | 2005-12-22 | Juki Corp | Method for optimizing part loading of part mounting machine |
JP4754956B2 (en) * | 2005-12-02 | 2011-08-24 | パナソニック株式会社 | Component mounting order determination method |
-
2007
- 2007-12-07 CN CN2007101249149A patent/CN101257788B/en not_active Expired - Fee Related
-
2008
- 2008-03-20 WO PCT/CN2008/000549 patent/WO2009074003A1/en active Application Filing
- 2008-03-20 DE DE112008000018T patent/DE112008000018T5/en not_active Ceased
- 2008-03-20 TR TR2009/01690T patent/TR200901690T1/en unknown
- 2008-12-08 FR FR0858356A patent/FR2924893B1/en active Active
-
2009
- 2009-01-21 US US12/357,172 patent/US8132322B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4906987A (en) * | 1985-10-29 | 1990-03-06 | Ohio Associated Enterprises, Inc. | Printed circuit board system and method |
US4731923A (en) * | 1986-03-15 | 1988-03-22 | Tdk Corporation | Apparatus and method for mounting circuit element on printed circuit board |
US5508938A (en) * | 1992-08-13 | 1996-04-16 | Fujitsu Limited | Special interconnect layer employing offset trace layout for advanced multi-chip module packages |
US20060136786A1 (en) * | 2001-01-10 | 2006-06-22 | Matsushita Electric Industrial Co., Ltd. | Component mounting apparatus, service providing device and servicing method |
US20060117560A1 (en) * | 2002-07-23 | 2006-06-08 | Akihito Yamasaki | Component mounting order optimization method, component mounting order optimization program, recording medium for the program, and component mounting apparatus using the method |
Also Published As
Publication number | Publication date |
---|---|
DE112008000018T5 (en) | 2010-07-15 |
TR200901690T1 (en) | 2009-10-21 |
WO2009074003A1 (en) | 2009-06-18 |
US8132322B2 (en) | 2012-03-13 |
CN101257788B (en) | 2010-07-14 |
FR2924893B1 (en) | 2019-06-07 |
FR2924893A1 (en) | 2009-06-12 |
CN101257788A (en) | 2008-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8793008B2 (en) | Method for determining fittings for constant tables of automatic placement machines | |
US8132322B2 (en) | Automatic inserting method, system and device for PCB board | |
US10614386B2 (en) | PCB board assembling method and assembling system | |
US7738985B2 (en) | Production condition determining method, production condition determining apparatus, mounter, and program | |
US7689876B2 (en) | Real-time optimized testing of semiconductor device | |
JP6461340B2 (en) | Method, system and computer program for mounting on a printed circuit board | |
CN105120647A (en) | Surface mount machine production data optimization method based on feeder position determination | |
JPH056212A (en) | Data preparing method for equipment loading machine | |
DE102009043642B4 (en) | Method for assembling printed circuit boards with components | |
CN109561651A (en) | A kind of SMT surface mount elements position control method and its system | |
US20060129955A1 (en) | Printed circuit board development cycle using probe location automation and bead probe technology | |
CN1696939B (en) | System and method for validating wire-laying interval on PCB | |
CN107567275B (en) | Method and device for placing component on substrate and component pasting/inserting machine | |
JP2001251095A (en) | Manufacture control system | |
CN107771023A (en) | A kind of quick material-changing method of chip mounter tangent line and device | |
CN103823913A (en) | Method for arranging jointing parts of circuit board | |
WO2022107539A1 (en) | Information processing for outputting comprehensive determination result on the basis of a plurality of determination materials | |
JPH10326996A (en) | Method for assigning channel to part and automatic part mounter employing that method | |
JP3550711B2 (en) | Assembly method of printed circuit board | |
CN111506464B (en) | System for generating chart report rapidly aiming at WAT data | |
KR100192054B1 (en) | Path modifying method at path optimal system of part automatic mounter | |
JPH05181517A (en) | Device for deciding position of equipment supply part for automatic assembler | |
KR100231413B1 (en) | Apparatus for designing mounting route with a function of optimal parts allocation in automatic mounting apparatus and its method | |
JPH0621690A (en) | Sorting method for components on mounting line | |
CN117769141A (en) | PCB board splitting method and PCB board splitting system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: SHENZHEN SKYWORTH-RGB ELECTRONIC CO., LTD., CHINA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:ZHEN, XINGWEN;REEL/FRAME:022140/0692 Effective date: 20081224 |
|
ZAAA | Notice of allowance and fees due |
Free format text: ORIGINAL CODE: NOA |
|
ZAAB | Notice of allowance mailed |
Free format text: ORIGINAL CODE: MN/=. |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
FEPP | Fee payment procedure |
Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
FPAY | Fee payment |
Year of fee payment: 4 |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 8 |
|
FEPP | Fee payment procedure |
Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
LAPS | Lapse for failure to pay maintenance fees |
Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
STCH | Information on status: patent discontinuation |
Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362 |