CN1245631A - Method and apparatus for correcting automatic insertion path - Google Patents
Method and apparatus for correcting automatic insertion path Download PDFInfo
- Publication number
- CN1245631A CN1245631A CN 97181617 CN97181617A CN1245631A CN 1245631 A CN1245631 A CN 1245631A CN 97181617 CN97181617 CN 97181617 CN 97181617 A CN97181617 A CN 97181617A CN 1245631 A CN1245631 A CN 1245631A
- Authority
- CN
- China
- Prior art keywords
- automatic insertion
- path
- insertion path
- initial
- paths
- 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.)
- Pending
Links
Images
Landscapes
- Supply And Installment Of Electrical Components (AREA)
Abstract
一种自动插入路径校正方法和装置,把将电子元件插入印刷电路板所需的自动插入路径校正成希望的路径。在此方法中,产生关于要插入印刷电路板的电子元件的初始自动插入路径。根据初始产生的自动插入路径,构造初始自动插入路径的连接状态矩阵。根据初始自动插入路径的连接状态矩阵校正初始自动插入路径以获得包括多个路径的校正路径。判断校正路径的所有路径是否被连接,以按照判断结果确定校正路径是否是希望的自动插入路径。该方法,能够将关于要插入印刷电路板的电子元件的自动插入路径校正成用户需要的希望的自动插入路径。
An automatic insertion path correction method and device for correcting the automatic insertion path required for inserting electronic components into a printed circuit board into a desired path. In this method, an initial automated insertion path is generated for an electronic component to be inserted into a printed circuit board. According to the initial automatic insertion path, the connection state matrix of the initial automatic insertion path is constructed. The initial auto-inserted path is corrected according to the connection state matrix of the initial auto-inserted path to obtain a corrected path including a plurality of paths. Judging whether all paths of the correction path are connected, so as to determine whether the correction path is a desired automatic insertion path according to the judgment result. The method can correct the automatic insertion path of the electronic components to be inserted into the printed circuit board to the desired automatic insertion path required by the user.
Description
技术领域Technical field
本发明涉及用于将电子元件自动插入印刷电路板(PCB)的自动插入机。特别是,本发明涉及用于将电子元件插入PCB所必需的自动插入到路径校正到希望的路径的方法和执行该方法的设备。The invention relates to an automatic insertion machine for the automatic insertion of electronic components into a printed circuit board (PCB). In particular, the invention relates to a method for the automatic insertion-to-path correction necessary for the insertion of electronic components into a PCB, and to a device for performing the method.
背景技术 Background technique
在用来将电子元件自动插入到PCB的自动插入机中,必须产生工作准备小时和指导表,以便增加自动插入机的效率。为了有效利用自动插入机,工作人员提前产生自动插入路径,以便自动插入机沿着自动插入路径,能够将电子元件插入PCB的相应位置。然而,由于自动插入PCB的样板(model)是可变的,每当PCB样板改变时,工作人员必须产生新的自动插入路径。In an automatic insertion machine for automatically inserting electronic components into a PCB, it is necessary to generate work preparation hours and instruction sheets in order to increase the efficiency of the automatic insertion machine. In order to effectively utilize the automatic insertion machine, the staff generates an automatic insertion path in advance, so that the automatic insertion machine can insert electronic components into the corresponding position of the PCB along the automatic insertion path. However, since the model for automatic insertion of the PCB is variable, the worker must create a new automatic insertion path whenever the PCB model is changed.
当电阻元件自动插入PCB时,按照各种电子元件而需要各种设备。并且,调节自动插入路径和顺序适应于自动插入设备和插入元件的特性。为了使用自动插入机,此方面的工作人员提前确定自动插入路径,他们编制数控程序和工作指导表。上述操作需要对于该设备具有更多经验和知识的能手。甚至对于在此方面已经工作了很长时间的工作人员也需很多时间,工作人员发现亲手执行每件事情的操作是很辛苦的。此外,因为以该方式确定的路径和工作指导表不能改善机器运行比(operation ratio)、及用于借助于需要的计算机产生合理的操作方案的软件的开发。When resistive elements are automatically inserted into PCBs, various devices are required according to various electronic components. Also, the automatic insertion path and sequence are adjusted to the characteristics of the automatic insertion device and the inserted elements. In order to use the automatic insertion machine, the staff in this area determine the automatic insertion path in advance, and they compile the NC program and work instruction table. The above operation requires a skilled person with more experience and knowledge of the equipment. It takes a lot of time even for staff who have been working at this for a long time and find it exhausting to do everything by hand. Furthermore, because the paths and work instruction tables determined in this way do not improve the machine operation ratio, and the development of software for generating rational operating scenarios by means of the required computers.
然而,如上所述产生的自动插入路径不如工作人员直接产生的路径有效。因此,工作人员部分地修改和存储路径,将存储的路径和先前自动产生的路径比较,并且根据比较结果判定最有效的路径。此时,应该产生关于所确定路径的工作指导表和数控程序。然而,当如上所述产生的自动插入路径不是工作人员需要的路径时,应该将该自动插入路径校正到该工作人员需要的路径。However, the auto-inserted paths generated as described above are not as efficient as those generated directly by workers. Therefore, the worker partially modifies and stores the route, compares the stored route with the previously automatically generated route, and decides the most efficient route based on the comparison result. At this time, work instruction sheets and NC programs should be generated for the determined paths. However, when the automatic insertion route generated as described above is not the route required by the worker, the automatic insertion route should be corrected to the route required by the worker.
美国专利No.5,079,834(在1992年1月14日颁发给Masato Itagaki等)公开了在印刷电路板上安装小型电子元件的电子元件安装装置和安装方法。Masato Itagaki等的专利在于,对在印刷电路板上的印刷图样和印刷图样附近的元件信息照相、从所照相的图像中识别出要安装的元件类型和电子元件的安装位置和安装姿态、预定的电子元件根据上述信息项目以预定的姿态安装在印刷电路板的预定位置。此外,根据图像处理信息项目,产生用于要安装在印刷电路板上的所有电子元件的安装顺序的程序。然而,Masato Itagaki等的专利没有公开校正自动插入路径的方法或装置。US Patent No. 5,079,834 (issued to Masato Itagaki et al. on Jan. 14, 1992) discloses an electronic component mounting apparatus and a mounting method for mounting small electronic components on a printed circuit board. The patents of Masato Itagaki etc. are to photograph the printed pattern on the printed circuit board and the component information near the printed pattern, and recognize the type of component to be mounted and the mounting position and mounting posture of the electronic component from the photographed image, and the predetermined The electronic components are mounted at predetermined positions on the printed circuit board in predetermined postures based on the above information items. Furthermore, based on the image processing information items, a program for the mounting order of all electronic components to be mounted on the printed circuit board is generated. However, the patent of Masato Itagaki et al. does not disclose a method or device for correcting the automatic insertion path.
发明的公开Disclosure of Invention
鉴于以上所述内容,本发明的第一个目的是提供一种用于校正关于要插入印刷电路板的电子元件的自动插入路径的方法。In view of the above, it is a first object of the present invention to provide a method for correcting an automatic insertion path with respect to an electronic component to be inserted into a printed circuit board.
本发明的第二个目的是提供一种用于校正关于要插入印刷电路板的电子元件的自动插入路径的装置。A second object of the present invention is to provide a device for correcting automatic insertion paths with respect to electronic components to be inserted into a printed circuit board.
为了实现本发明的第一个目的,提供一种用于校正自动插入路径的方法,所述方法包括:In order to achieve the first object of the present invention, a method for correcting an automatic insertion path is provided, the method comprising:
a)产生关于要插入印刷电路板的电子元件的初始自动插入路径;a) generating an initial automatic insertion path for an electronic component to be inserted into a printed circuit board;
b)根据初始产生的自动插入路径,构造初始自动插入路径的连接状态矩阵;b) Constructing the connection state matrix of the initial automatic insertion path according to the initial automatic insertion path;
c)根据初始自动插入路径的连接状态矩阵,校正初始自动插入路径,以获得包括多个路径的校正路径;和c) correcting the initial auto-insertion path according to the connection state matrix of the initial auto-insertion path to obtain a corrected path comprising a plurality of paths; and
d)判断校正路径的所有路径是否被连接,以按照判断结果确定校正路径是否是希望的自动插入路径。d) Judging whether all the paths of the correction path are connected to determine whether the correction path is a desired automatic insertion path according to the judgment result.
为了实现本发明的第二目的,提供一种用于校正自动插入路径的装置,所述装置包括:In order to achieve the second purpose of the present invention, a device for correcting an automatic insertion path is provided, said device comprising:
用于产生关于要插入印刷电路板的电子元件的初始自动插入路径的装置;means for generating an initial automatic insertion path for an electronic component to be inserted into a printed circuit board;
输入部分,用于输入校正初始自动插入路径的数据,以便获得校正的自动插入路径;The input part is used for inputting the data of correcting the initial automatic insertion path, so as to obtain the corrected automatic insertion path;
控制部分,用于根据由所述装置产生的初始自动插入路径,构造初始自动插入路径的连接状态矩阵,并且判断校正的自动插入路径的所有路径是否被连接,以按照判断结果确定由所述输入部分获得的校正的自动插入路径是否是希望的自动插入路径;和A control section configured to construct a connection state matrix of the initial automatic insertion path based on the initial automatic insertion path generated by the device, and judge whether all the paths of the corrected automatic insertion path are connected, so as to determine whether the inputted path is connected according to the judgment result whether the partially obtained corrected auto-insertion path is the desired auto-insertion path; and
存储器,用于存储由所述装置产生的初始自动插入路径和由所述输入部分获得的校正的自动插入路径。A memory for storing an initial automatic interpolation path generated by the device and a corrected automatic interpolation path obtained by the input section.
按照本发明,关于要插入印刷板的电子元件的自动插入路径能够校正成用户需要的希望的自动插入路径。According to the present invention, the automatic insertion route regarding the electronic component to be inserted into the printed board can be corrected to a desired automatic insertion route required by the user.
附图的简单描述A brief description of the drawings
通过参照附图详细描述优选实施例,本发明的上述目的和其它优点将更清楚,附图中:By describing the preferred embodiment in detail with reference to the accompanying drawings, the above-mentioned purpose and other advantages of the present invention will be more clear, in the accompanying drawings:
图1是按照本发明实施例的校正自动插入路径的装置的结构方框图;Fig. 1 is a structural block diagram of a device for correcting an automatic insertion path according to an embodiment of the present invention;
图2是在图1的监视器中指示的主菜单屏幕的示例图;FIG. 2 is an example diagram of a main menu screen indicated in the monitor of FIG. 1;
图3(A)和图3(B)是按照本发明的关于要插入PCB的电子元件的自动插入路径连接状态矩阵示意图;Fig. 3 (A) and Fig. 3 (B) are according to the automatic insertion path connection status matrix schematic diagram of the electronic component that will be inserted into PCB according to the present invention;
图4是由图1的自动插入路径产生部分产生的自动插入路径的初始状态示意图;Fig. 4 is a schematic diagram of the initial state of the automatic insertion path generated by the automatic insertion path generation part of Fig. 1;
图5是用于表示示于图4的自动插入路径的初始状态中、要插到PCB上的电子元件之间连接状态的第一矩阵;Fig. 5 is a first matrix for representing the connection state between the electronic components to be inserted into the PCB in the initial state of the automatic insertion path shown in Fig. 4;
图6是从示于图4的自动路径的初始状态中删除第一预定路径的中间状态的示意图;Fig. 6 is a schematic diagram of an intermediate state in which the first predetermined path is deleted from the initial state of the automatic path shown in Fig. 4;
图7是用于表示示于图6的第二状态中、电子元件之间连接状态的第二矩阵;Fig. 7 is a second matrix for representing the state of connection between electronic components in the second state shown in Fig. 6;
图8是第二预定路径加到示于图6的自动路径的第二状态的校正状态示意图;Fig. 8 is a schematic diagram of the correction state of the second state in which the second predetermined path is added to the automatic path shown in Fig. 6;
图9是用于表示示于图8的第三状态中电子元件之间的连接状态的第三矩阵;和FIG. 9 is a third matrix for representing a connection state between electronic components in a third state shown in FIG. 8; and
图10是按照本发明实施例的校正自动插入路径的方法流程图。Fig. 10 is a flowchart of a method for correcting an automatic insertion path according to an embodiment of the present invention.
实现本发明的最佳方式The best way to realize the present invention
以下,将参照附图详细描述本发明的实施例。图1示出用于按照本发明实施例的校正自动插入路径的装置10的结构。装置10包括:自动插入路径产生部分102;输入部分104;控制部分106;存储器108。Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 shows the structure of a device 10 for correcting an automatic insertion path according to an embodiment of the present invention. The device 10 includes: an automatic insertion path generation part 102 ; an input part 104 ; a control part 106 ; and a memory 108 .
自动插入路径产生部分102产生关于要插入印刷电路板的电子元件的初始自动插入路径。输入部分104输入用于校正初始自动插入路径的数据,以便获得校正的自动插入路径。输入部分104包括鼠标104a,用于校正由自动插入路径产生部分102产生的初始自动插入路径,以通过删除第一预定路径并且加入第二预定路径,而获得校正路径。输入部分104包括键盘104b,用于输入文件名,该文件名用于存储将要描述的希望的自动插入。The automatic insertion route generation section 102 generates an initial automatic insertion route with respect to electronic components to be inserted into the printed circuit board. The input section 104 inputs data for correcting an initial automatic insertion path so as to obtain a corrected automatic insertion path. The input section 104 includes a mouse 104a for correcting the initial automatic insertion path generated by the automatic insertion path generation section 102 to obtain a corrected path by deleting the first predetermined path and adding the second predetermined path. The input section 104 includes a keyboard 104b for inputting a file name for storing desired automatic insertion to be described.
控制部分106,根据由自动插入路径产生部分102产生的初始自动插入路径,来构造初始自动插入路径的连接状态矩阵。控制部分106判断校正的自动插入路径的所有路径是否被连接,以按照判断结果确定由输入部分104获得的校正的自动插入路径是否是希望的自动插入路径。即,当校正路径的所有路径被连接时,控制部分106按照自动插入设备的数据格式,来产生数控程序,以便处理校正路径,并且当校正路径的任何路径没被连接时,控制部分106产生出错消息。输入部分104根据由控制部分106构造的初始自动插入路径的连接状态矩阵,来校正初始自动插入路径。The control part 106 constructs the connection state matrix of the initial automatic insertion path according to the initial automatic insertion path generated by the automatic insertion path generation part 102 . The control section 106 judges whether all paths of the corrected automatic insertion paths are connected to determine whether the corrected automatic insertion path obtained by the input section 104 is a desired automatic insertion path according to the judgment result. That is, when all the paths of the correction paths are connected, the control section 106 generates the numerical control program in accordance with the data format of the automatic insertion device to process the correction paths, and when any path of the correction paths is not connected, the control section 106 generates an error information. The input section 104 corrects the initial automatic insertion path based on the connection state matrix of the initial automatic insertion path constructed by the control section 106 .
存储器108存储由自动插入路径产生部分102产生的初始自动插入路径,和由输入部分104获得的校正的自动插入路径。按照本发明的装置还包括监视器110,用于显示由自动插入路径产生部分102产生的初始自动插入路径,和显示控制部分106判断的、校正的自动插入路径是否是希望的自动插入路径的结果消息。The memory 108 stores the initial automatic insertion route generated by the automatic insertion route generation section 102 and the corrected automatic insertion route obtained by the input section 104 . The apparatus according to the present invention also includes a monitor 110 for displaying the initial automatic insertion path generated by the automatic insertion path generation section 102, and the result of whether the automatic insertion path of correction is a desired automatic insertion path judged by the display control section 106 information.
图2示出显示在图1的监视器106上的主菜单屏幕20的例子。由自动插入路径产生部分102产生的初始自动插入路径201,表示在主菜单屏幕20的左上部分。连接每个元件的图样202表示在初始自动插入路径201的左下部分。参考标号A、B、C、D、E和F是分别要插入PCB 201a的第一、第二、第三、第四、第五和第六电子元件。参考标号P1是第一元件A和第二B之间的第一路径。参考标号P2是第二元件B和第三元件C之间的第二路径。参考标号P3是第三元件C和第四元件D之间的第三路径。参考标号P4是第四元件D和第五元件E之间的第四路径。参考标号P5是第五元件E和第六元件F之间的第五路径。六个电子元件A、B、C、D、E和F示于图2中,但是更多数目的电子元件可以插入PCB 201a中。FIG. 2 shows an example of the main menu screen 20 displayed on the monitor 106 of FIG. 1 . An initial automatic insertion route 201 generated by the automatic insertion route generation section 102 is shown in the upper left portion of the main menu screen 20 . The pattern 202 connecting each component is shown in the lower left portion of the initial auto-insert path 201 . Reference numerals A, B, C, D, E and F are first, second, third, fourth, fifth and sixth electronic components to be inserted into the PCB 201a, respectively. Reference numeral P1 is a first path between the first element A and the second B. As shown in FIG. Reference numeral P2 is a second path between the second element B and the third element C. As shown in FIG. Reference numeral P3 is a third path between the third element C and the fourth element D. As shown in FIG. Reference numeral P4 is a fourth path between the fourth element D and the fifth element E. As shown in FIG. Reference numeral P5 is a fifth path between the fifth element E and the sixth element F. As shown in FIG. Six electronic components A, B, C, D, E and F are shown in Figure 2, but a greater number of electronic components can be inserted into PCB 201a.
在元件布局201和图样202的右部描述了用于选择功能的菜单203。菜单203包括样板寄存器和修改、样板选择、元件分布、接触测试、元件分布的当前情况、设备选择、路径选择、自动插入路径产生、路径判定、E.C.应用、手工插入线构图(inserting line composition by hand)、元件搜索、屏幕返回、印刷和结束。A menu 203 for selecting a function is depicted on the right of the component layout 201 and pattern 202 . Menu 203 includes template register and modification, template selection, component distribution, contact test, current situation of component distribution, equipment selection, path selection, automatic insertion path generation, path determination, E.C. application, manual insertion line composition (inserting line composition by hand ), component search, screen return, print and end.
图3(A)和(B)示出根据图2的初始自动插入路径要插入PCB 201a的电子元件的连接状态矩阵。图3(A)的中心列表示当前要检查的元件n-1(其中,n是大于2的整数),图3(A)的中心元件n-1的左边表示先前已经检查的元件n-2,中心元件n-1的右边表示下一步将检查的元件n。3(A) and (B) show the connection state matrix of the electronic components to be inserted into the PCB 201a according to the initial automatic insertion path of FIG. 2 . The central column of Fig. 3(A) represents the element n-1 to be checked currently (wherein, n is an integer greater than 2), and the left side of the central element n-1 of Fig. 3(A) represents the previously inspected element n-2 , to the right of the central element n-1 indicates the element n that will be checked next.
图3(B)的中心列表示当前要检查的元件,中心列的左边表示先前已经检查的元件,右列表示下一步将检查的元件。在中心列中,从第一元件“1”到第n元件“n”按照顺序排列。在第一行,第一元件“1”分配给第一列,并且因为在第一元件“1”的左边没有元件,“-1”分配给第一中心列的左边。此外,在第n行中,第n元件n分配给第n中心列,并且因为在第n元件的左边没有元件,“-1”分配给第n中心列的左边。因此,如果不是“-1”的值位于每个元件的左边或右边,那么相应元件处于与位于相应元件的前面和后面的元件连接的状态。另一方面,如果“-1”分配给元件的左边和右边,则该元件不处于与其它元件连接的状态。The center column in Fig. 3(B) represents the components to be inspected currently, the left of the center column represents the components that have been inspected before, and the right column represents the components to be inspected next. In the center column, the first element "1" to the nth element "n" are arranged in order. In the first row, the first element "1" is assigned to the first column, and since there is no element to the left of the first element "1", "-1" is assigned to the left of the first center column. Also, in the nth row, the nth element n is assigned to the nth center column, and since there is no element to the left of the nth element, "-1" is assigned to the left of the nth center column. Therefore, if a value other than "-1" is located on the left or right of each element, the corresponding element is in a state of being connected to elements located before and after the corresponding element. On the other hand, if "-1" is assigned to the left and right sides of a component, the component is not in a state of being connected to other components.
图4示出由图1的自动插入路径产生部分102产生的自动插入路径的初始状态。如图2所示,参考标号A、B、C、D、E和F分别是要插入PCB201a的第一、第二、第三、第四、第五和第六电子元件。参考标号P1、P2、P3、P4和P5分别是第一和第二元件A和B之间第一路径,第二和第三元件C之间的第二路径,第三和第四元件C和D之间的第三路径,第四和第五元件D和E之间的第四路径,第五和第六元件E和F之间的第五路径。FIG. 4 shows an initial state of the automatic insertion route generated by the automatic insertion route generation section 102 of FIG. 1 . As shown in FIG. 2, reference numerals A, B, C, D, E, and F are first, second, third, fourth, fifth, and sixth electronic components to be inserted into the PCB 201a, respectively. Reference numerals P1, P2, P3, P4 and P5 are respectively a first path between the first and second elements A and B, a second path between the second and third elements C, a third and fourth elements C and A third path between D, a fourth path between the fourth and fifth elements D and E, a fifth path between the fifth and sixth elements E and F.
图5是用于表示示于图4的自动插入路径的初始状态中、要插到PCB上的电子元件之间连接状态的第一矩阵。在图5的第一行中,第一元件A分配给第一中心列,并且由于没有元件在第一元件A的左边,“-1”分配给第一中心列的左边,同时第二元件B分配给第一中心列的右边。在第二行中,第二元件B分配给第二中心列,第一和第三元件A和C分别分配给第二中心列的左边和右边。用同样方式,在第三、第四和第五行中,第三、第四和第五元件C、D和E分配给第三、第四和第五中心列。并且,第二和第四元件B和D分别分配给第三中心列的左边和右边;第三和第五元件C和E分别分配给第四中心列的左边和右边;第四和第六元件D和F分别分配给第五中心列的左边和右边。FIG. 5 is a first matrix for representing a connection state between electronic components to be inserted on a PCB in an initial state of the automatic insertion path shown in FIG. 4 . In the first row of Figure 5, the first element A is assigned to the first center column, and since there is no element to the left of the first element A, "-1" is assigned to the left of the first center column, while the second element B Assigned to the right of the first center column. In the second row, the second element B is assigned to the second central column, and the first and third elements A and C are assigned to the left and right of the second central column, respectively. In the same way, in the third, fourth and fifth row, the third, fourth and fifth elements C, D and E are assigned to the third, fourth and fifth central column. And, the second and fourth elements B and D are assigned to the left and right sides of the third center column, respectively; the third and fifth elements C and E are assigned to the left and right sides of the fourth center column, respectively; the fourth and sixth elements D and F are assigned to the left and right of the fifth center column, respectively.
另一方面,在第六行中,第六元件F分配给第六中心列,由于没有元件在第六元件F的右边,“-1”分配给第六中心列的右边,同时第五元件E分配给第六中心列的左边。这样,由于不是“-1”的值分配给所有元件A、B、C、D、E和F的左边和右边,元件A、B、C、D、E和F处于与位于相应元件前面和后面的元件连接的状态。On the other hand, in the sixth row, the sixth element F is assigned to the sixth center column, since there is no element to the right of the sixth element F, "-1" is assigned to the right of the sixth center column, while the fifth element E Assigned to the left of the sixth center column. In this way, since values other than "-1" are assigned to the left and right sides of all elements A, B, C, D, E, and F, elements A, B, C, D, E, and F are located in front of and behind the corresponding elements The state of the component connection.
图6示出通过图1的鼠标108a的操作,从示于图4的自动插入路径的初始状态中,删除第一预定路径即第一、第三和第四路径P1、P3和P4的中间状态。图7示出在示于图6的自动插入路径的中间状态中,路径之间的连接状态的第二矩阵。在图7的第一行中,第一元件A分配给第一中心列,并且因为没有元件在第一元件A的左边和右边,“-1”分配给第一中心列的左边和右边。用与第一行同样的方式,在第四行中,第四元件D分配给第四中心列,并且由于没有元件在第四元件D的左边和右边,“-1”分配给第四中心列的左边和右边。Fig. 6 shows by the operation of the mouse 108a of Fig. 1, from the initial state shown in Fig. 4 automatically inserting path, deletes the intermediate state of first, the 3rd and the 4th path P1, P3 and P4 of first predetermined path . FIG. 7 shows a second matrix of connection states between paths in the intermediate state of the automatic path insertion shown in FIG. 6 . In the first row of FIG. 7, the first element A is assigned to the first center column, and since there are no elements to the left and right of the first element A, "-1" is assigned to the left and right of the first center column. In the same way as the first row, in the fourth row, the fourth element D is assigned to the fourth center column, and since there are no elements to the left and right of the fourth element D, "-1" is assigned to the fourth center column left and right of .
在第二行中,第二元件B分配给第二中心列,并且由于没有元件在第一元件B的左边,“-1”分配给第二中心列的左边,同时第三元件C分配给第二中心列的右边。用与第二行相同的方式,在第五行中,第五元件E分配给第五中心列,并且因为没有元件在第五元件E的左边,“-1”分配给第五中心列的左边,同时第六元件F分配给第五中心列的右边。In the second row, the second element B is assigned to the second center column, and since there is no element to the left of the first element B, "-1" is assigned to the left of the second center column, while the third element C is assigned to the first Right of the second center column. In the same way as the second row, in the fifth row, the fifth element E is assigned to the fifth center column, and since there is no element to the left of the fifth element E, "-1" is assigned to the left of the fifth center column, At the same time the sixth element F is assigned to the right of the fifth central column.
在第三行中,第三元件C分配给第三中心列,并且由于没有元件在第三元件C的右边,“-1”分配给第三中心列的右边,同时第二元件B分配给第三中心列的左边。用与第三行相同的方式,在第六行中,第六元件E分配给第六中心列,并且因为没有元件在第六元件E的右边,“-1”分配给第六中心列的右边,同时第五元件E分配给第六中心列的左边。In the third row, the third element C is assigned to the third center column, and since there is no element to the right of the third element C, "-1" is assigned to the right of the third center column, while the second element B is assigned to the Three center columns to the left. In the same way as the third row, in the sixth row, the sixth element E is assigned to the sixth center column, and since there is no element to the right of the sixth element E, "-1" is assigned to the right of the sixth center column , while the fifth element E is assigned to the left of the sixth center column.
于是,因为不是“-1”的值分配给第二、第三、第五和第六元件B、C、E和F的左边或右边,元件B、C、E和F处在与位于相应元件的前面和后面的元件连接的状态。即,分别在第二和第三元件B和C之间及其在第五和第六元件E和F之间构造第二路径P2和第五路径P5。或者,由于“-1”分配给第一和第四元件A和D的左边和右边,元件A和D不处于与其它元件连接的状态。Then, since a value other than "-1" is assigned to the left or right of the second, third, fifth, and sixth elements B, C, E, and F, the elements B, C, E, and F are located at the same position as the corresponding element The state of the front and back element connections. That is, the second path P2 and the fifth path P5 are constructed between the second and third elements B and C and between the fifth and sixth elements E and F, respectively. Alternatively, since "-1" is assigned to the left and right sides of the first and fourth elements A and D, the elements A and D are not in a state of being connected to other elements.
图8示出了通过图1的鼠标108a的操作,将第二预定路径即第六、第七、和第八路径P6、P7、P8加到示于图6的自动插入路径的中间状态的校正状态。图9示出表示图8中所示的校正状态中、电子元件之间的连接状态的校正矩阵。在图9的第一行中,第一元件A分配给第一中心列,并且因为没有元件在第一元件A的左边,“-1”分配给第一中心列的左边,同时第四元件D分配给第一中心列的右边。Fig. 8 shows that by the operation of the mouse 108a of Fig. 1, the second predetermined path, that is, the sixth, the seventh, and the eighth path P6, P7, P8 is added to the correction of the intermediate state of the automatic insertion path shown in Fig. 6 state. FIG. 9 shows a correction matrix representing a connection state between electronic components in the correction state shown in FIG. 8 . In the first row of Figure 9, the first element A is assigned to the first center column, and since there is no element to the left of the first element A, "-1" is assigned to the left of the first center column, while the fourth element D Assigned to the right of the first center column.
在第二行中,第二元件B分配给第二中心列,第四和第三元件D和C分别分配给第二中心列的左边和右边。用同样的方式,在第三、第四和第五行中,第三、第四和第五元件C、D和E分别分配给第三、第四和第五中心列。并且,第二和第五元件B和E分别分配给第三中心列的左边和右边;第一和第二元件A和B分别分配给第四中心列的左边和右边;并且第三和第六元件C和F分别分配给第五中心列的左边和右边。另一方面,在第六行中,第六元件F分配给第六中心列,并且因为没有元件在第六元件F的右边,“-1”分配给第六中心列的右边,同时第五元件分配给第六中心列的左边。In the second row, the second element B is assigned to the second central column, and the fourth and third elements D and C are assigned to the left and right of the second central column, respectively. In the same way, in the third, fourth and fifth rows, the third, fourth and fifth elements C, D and E are assigned to the third, fourth and fifth central columns, respectively. And, the second and fifth elements B and E are assigned to the left and right sides of the third center column, respectively; the first and second elements A and B are assigned to the left and right sides of the fourth center column, respectively; and the third and sixth Elements C and F are respectively assigned to the left and right of the fifth center column. On the other hand, in the sixth row, the sixth element F is assigned to the sixth center column, and since there is no element to the right of the sixth element F, "-1" is assigned to the right of the sixth center column, while the fifth element Assigned to the left of the sixth center column.
于是,因为不是“-1”的值分配给所有元件A、B、C、D、E和F的左边或右边,元件A、B、C、D、E和F处在与位于相应元件的前面和后面的元件连接的状态。Then, since a value other than "-1" is assigned to the left or right of all elements A, B, C, D, E, and F, the elements A, B, C, D, E, and F are in front of the corresponding element The status of the connection with the following components.
以下,将参照图10描述按照本发明的校正自动插入路径的装置和方法的操作。图10示出了按照本发明实施例的校正自动插入路径的方法。Hereinafter, operations of the apparatus and method for correcting an automatic insertion path according to the present invention will be described with reference to FIG. 10 . Fig. 10 shows a method for correcting an automatic insertion path according to an embodiment of the present invention.
在步骤S101中,控制部分106控制自动插入路径产生部分102,以产生关于要插入印刷电路板201a的电子元件A、B、C、D、E和F的初始自动插入路径的文件,如图4所示。In step S101, the control section 106 controls the automatic insertion path generation section 102 to generate a file about the initial automatic insertion path of the electronic components A, B, C, D, E, and F to be inserted into the printed circuit board 201a, as shown in FIG. 4 shown.
在步骤S102中,控制部分106控制存储器108,以在其中存储自动插入路径产生部分102产生的初始自动插入路径。In step S102, the control section 106 controls the memory 108 to store therein the initial automatic insertion route generated by the automatic insertion route generation section 102.
在步骤S103中,控制部分106读出存储在存储器108中的初始自动插入路径文件。In step S103 , the control section 106 reads out the initial automatic insertion path file stored in the memory 108 .
在步骤S104中,控制部分106根据从存储器108读出的自动插入路径文件(如图4所示),来构造关于电子元件的初始自动插入路径的连接状态矩阵。In step S104, the control section 106 constructs a connection state matrix about the initial automatic insertion route of the electronic component according to the automatic insertion route file read from the memory 108 (as shown in FIG. 4 ).
在步骤S105中,控制部分106控制监视器106,以显示初始自动插入路径201、图样202和菜单203,如图2中所示。In step S105, the control section 106 controls the monitor 106 to display the initial automatic insertion path 201, the pattern 202, and the menu 203, as shown in FIG.
在步骤S106中,用户控制鼠标104a,以校正初始自动插入路径,从而获得校正路径。In step S106, the user controls the mouse 104a to correct the initial automatic insertion path, so as to obtain the corrected path.
将初始自动插入路径校正为校正路径的操作如下。用户控制鼠标104a放置在第一元件A和第二元件B之间的第一路径上以进行删除后,当用户点击鼠标108a时,第一路径P1从图4中删除。用同样的方式,第三和第四路径P3和P4也被删除。如图6所示,已经删除第一、第三和第四中间状态。The operation of correcting the initial automatic insertion path to the correction path is as follows. After the user controls the mouse 104a to place on the first path between the first element A and the second element B for deletion, when the user clicks the mouse 108a, the first path P1 is deleted from FIG. 4 . In the same way, the third and fourth paths P3 and P4 are also deleted. As shown in Figure 6, the first, third and fourth intermediate states have been deleted.
以下,用户控制鼠标104a,将显示在监视器110上的光标移到第一元件A上,并且点击鼠标104a。在用户通过鼠标104a的操作将光标移动到第四元件D之后,当用户点击鼠标104a时,在第一元件A和第四元件D之间构造成第六路径P6。用同样的方式,构造第二元件B和第五元件E之间的第七路径P7,并且构造第三元件C和第五元件E之间的第八路径P8。Thereafter, the user controls the mouse 104a, moves the cursor displayed on the monitor 110 to the first element A, and clicks the mouse 104a. After the user moves the cursor to the fourth element D through the operation of the mouse 104a, when the user clicks the mouse 104a, a sixth path P6 is constructed between the first element A and the fourth element D. In the same way, the seventh path P7 between the second element B and the fifth element E is constructed, and the eighth path P8 between the third element C and the fifth element E is constructed.
因此,从图4的自动插入路径中删除第一、第三和第四路径P1、P3和P4,使得构造如图6所示的中间自动插入路径。然后,从图6所示的中间自动插入路径中产生第六、第七和第八路径P6、P7和P8,使得构造如图8所示的校正的自动插入路径。Therefore, the first, third, and fourth paths P1, P3, and P4 are deleted from the automatic insertion path of FIG. 4, so that an intermediate automatic insertion path as shown in FIG. 6 is constructed. Then, the sixth, seventh and eighth paths P6, P7 and P8 are generated from the intermediate automatic interpolation path shown in FIG. 6, so that the corrected automatic interpolation path as shown in FIG. 8 is constructed.
在步骤S107中,控制部分106控制存储器108,以在其中存储将电子元件插入PCB 201a所需的校正的自动插入路径。In step S107, the control section 106 controls the memory 108 to store therein the corrected automatic insertion path required to insert the electronic component into the PCB 201a.
在步骤S108中,控制部分106读出存储在存储器110中的校正路径。In step S108 , the control section 106 reads out the correction path stored in the memory 110 .
在步骤S109中,控制部分106根据读出的校正的自动插入路径来判断是否校正路径的所有路径被连接。此时,参照图9,当不是“-1”的值分配给各元件的左边或右边时,判定校正路径的所有路径被连接。或者,当“-1”分配给各元件的左边和右边时,判定校正的自动插入路径的任何路径彼此不连接。In step S109, the control section 106 judges whether or not all paths of the corrected paths are connected based on the read corrected automatic insertion paths. At this time, referring to FIG. 9 , when a value other than "-1" is assigned to the left or right of each element, it is determined that all paths of the correction paths are connected. Alternatively, when "-1" is assigned to the left and right sides of each element, it is determined that any of the corrected automatic insertion paths are not connected to each other.
作为在步骤S109中的判断结果,当判定校正的自动插入路径的任何路径不被连接时,控制部分106控制监视器110,以在监视器上显示“出错”消息(步骤S110)。并且,程序回到步骤S106。或者,当在步骤S109中判定校正路径的所有路径被连接时,用户通过鼠标108a或键盘104b的操作,在菜单203上选择路径判定按钮,以将路径判定选择信号加到控制部分106(步骤S111)。As a result of the judgment in step S109, when it is judged that any of the corrected automatically inserted paths is not connected, the control section 106 controls the monitor 110 to display an "error" message on the monitor (step S110). And, the procedure returns to step S106. Or, when it is judged in step S109 that all the paths of the correction path are connected, the user selects the path judgment button on the menu 203 by the operation of the mouse 108a or the keyboard 104b, so as to add the path judgment selection signal to the control section 106 (step S111 ).
因此,控制部分106响应于来自鼠标104a或键盘104b的路径判定选择信号,来确定校正路径是希望的自动插入路径,并且控制监视器110,以在其上显示“路径判定消息”(步骤S112)。Therefore, the control section 106 determines that the correction path is a desired automatic insertion path in response to the path decision selection signal from the mouse 104a or the keyboard 104b, and controls the monitor 110 to display a "path decision message" thereon (step S112) .
当用户通过键盘104b的操作输入用于存储希望的自动插入路径的文件名时,控制部分106从键盘104b接收用于存储希望的自动插入路径的文件名(步骤S113)。When the user inputs the file name for storing the desired automatic insertion path through the operation of the keyboard 104b, the control section 106 receives the file name for storing the desired automatic insertion path from the keyboard 104b (step S113).
在步骤S114中,控制部分106按照各自动插入路径设备的数据格式,来产生数控(NC)程序,以便处理希望的自动插入路径。数控程序提供给存储器108。In step S114, the control section 106 generates a numerical control (NC) program in accordance with the data format of each automatic insertion route device so as to process a desired automatic insertion route. The numerical control program is supplied to the memory 108 .
在步骤S115中,控制部分106控制存储器108,以在接收的希望的自动插入路径的文件名中存储数控程序,整个程序完成。In step S115, the control section 106 controls the memory 108 to store the numerical control program in the received file name of the desired automatic insertion path, and the entire program is completed.
如上所述,按照本发明,关于要插入印刷电路板的电子元件的自动插入路径能够校正成用户想要的希望的自动插入路径。As described above, according to the present invention, the automatic insertion route regarding the electronic components to be inserted into the printed circuit board can be corrected to a desired automatic insertion route intended by the user.
尽管已经参照其特定的实施例具体表示和描述了本发明,但应该理解,本领域技术人员可以进行形式和细节上的各种变化,而不脱离由所附权利要求定义的本发明的精神和范围。While the invention has been particularly shown and described with reference to particular embodiments thereof, it will be understood that various changes in form and details may be made by persons skilled in the art without departing from the spirit and spirit of the invention as defined by the appended claims. scope.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 97181617 CN1245631A (en) | 1997-12-05 | 1997-12-05 | Method and apparatus for correcting automatic insertion path |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 97181617 CN1245631A (en) | 1997-12-05 | 1997-12-05 | Method and apparatus for correcting automatic insertion path |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN1245631A true CN1245631A (en) | 2000-02-23 |
Family
ID=5178203
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 97181617 Pending CN1245631A (en) | 1997-12-05 | 1997-12-05 | Method and apparatus for correcting automatic insertion path |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1245631A (en) |
-
1997
- 1997-12-05 CN CN 97181617 patent/CN1245631A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5050810B2 (en) | CAD apparatus and CAD program | |
| CN1421014A (en) | Automated method and system for selecting and procuring electronic components used in circuit and chip designs | |
| CN1617553A (en) | Apparatus and method for displaying hierarchical menu in mobile communication terminal | |
| KR101300968B1 (en) | Production condition determining method, production condition determining apparatus, mounter, and program | |
| CN1519751A (en) | Method, system and program of generating structural mode candidate targent | |
| KR100952882B1 (en) | Computer-readable recording media recording a combo check support device and a combo check support program | |
| US7590963B2 (en) | Integrating multiple electronic design applications | |
| JP5050809B2 (en) | Mating Check Support Device and Mating Check Support Program | |
| JP2008165754A (en) | CAD apparatus and CAD program | |
| US20060259891A1 (en) | System and method of generating an auto-wiring script | |
| CN1581071A (en) | Information processing method, apparatus and program in XML driven architecture | |
| CN1245631A (en) | Method and apparatus for correcting automatic insertion path | |
| JP3354060B2 (en) | Component mounting program creation device and medium | |
| CN113836857A (en) | Circuit board wire adjustment method and device | |
| CN117317271A (en) | Method, system, device and storage medium for assembling multi-layer stacked packaging structure | |
| JPH0756725A (en) | Program creation support method | |
| CN1218533C (en) | Method for input order to OMC | |
| JP7550312B2 (en) | Data acquisition device | |
| CN111488719B (en) | Method and device for automatically forming closed path according to via hole position | |
| CN117634409B (en) | Chip layout method and device, and electronic equipment | |
| WO1999030546A1 (en) | Method and apparatus for correcting automatic insertion path | |
| JP2982210B2 (en) | How to create component electrode data for printed circuit boards | |
| JP4609523B2 (en) | Image selection apparatus, computer program, and recording medium | |
| TW202601339A (en) | Computer vision process processing methods and systems | |
| CN1433865A (en) | CNC drilling program generator |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C01 | Deemed withdrawal of patent application (patent law 1993) | ||
| WD01 | Invention patent application deemed withdrawn after publication |