1. Field of the Invention
Embodiments of the present disclosure relate to a system and method for scanning and obtaining points of an object.
2. Description of Related Art
Nowadays, the method of image measuring is widely used in precision measurement field. Measuring objects by using the method of image measuring is very accurate and fast. Conventionally, when measuring the objects using the method of image measuring, a charged coupled device (CCD) is used for capturing the images of the objects. The images captured by the CCD are then transmitted to a computer, and an image measuring program installed in the computer measures the images automatically.
However, if users want to measure points of smaller objects, such as a land grid array (LGA), or a ball grid array (BGA), the charged coupled device may not be of sufficient accuracy to capture details of the objects, thus causing inefficiency.
Therefore, what is needed is a system and method for measuring an object with a greater accuracy.
In one aspect, a system for scanning and obtaining points of an object is provided. The system includes a selecting module, a focusing module, a scanning module, an obtaining module, a determining module and a sending module. The selecting module is configured for selecting a measuring start point and a measuring end point of the object, wherein a distance between the measuring start point and the measuring end point define a measuring distance. The focusing module is configured for focusing on the measuring distance to obtain an optimal measuring position. The scanning module is configured for scanning the measuring distance according to the optimal measuring position, wherein the scanning comprises a plurality of scanned points. The obtaining module is configured for obtaining coordinate values for each of the plurality of scanned points. The determining module is configured for determining if the obtained coordinate values are valid coordinate values. The sending module is configured for sending the obtained coordinate values to an electronic device if the obtained coordinate values are valid coordinate values.
Other advantages and novel features of the present invention will become more apparent from the following detailed description of preferred embodiment when taken in conjunction with the accompanying drawings.
All of the processes described below may be embodied in, and fully automated via, software code modules executed by one or more general purpose computers or processors. The code modules may be stored in any type of computer-readable medium or other computer storage device. Some or all of the methods may alternatively be embodied in specialized computer.
As used herein, the term, “object” is defined to include three-dimensional items of varying sizes. As non-limiting examples, objects may include a watch, a storage device, a capacitor, and circuit board connectors, such as LGAs and BGAs, for example.
In one embodiment, the measuring machine 2 comprises a charged coupled device 3 (CCD), a laser head 5, and a laser controller 4. In the embodiment of
The CCD 3 is used for focusing on a plurality of coordinate points of the object 6 to obtain an optimal measuring position. The laser head 5 is used for scanning a plurality of coordinate points of the object 6 according to the optimal measuring position. The laser controller 4 is used for obtaining the coordinate values of each of the scanned points from the laser head 5.
The computer 1 receives coordinate values from the laser controller 4 and computes coordinate points of the object 6 in order to measure the object 6. In one embodiment, the computer 1 may include a focusing program 10 and an image measuring program 12. The computer 1 is connected with the CCD 3, for example, through a cable, and is configured for focusing and obtaining coordinate values of each of the scanned points of the object 6. The image measuring program 12 is configured for sending a focusing command to the focusing program 10, receiving obtained coordinate values from the focusing program 10, and calculating a result of received coordinate values.
The selecting module 100 is configured for selecting a measuring start point and a measuring end point of the object 6. The measuring start point and the measuring end point may be used to obtain a measuring distance. The measuring distance may be used for controlling the laser head 5 to scan the object 6 from the measuring start point to the measuring end point within the measuring distance.
The focusing module 102 is configured for controlling the CCD 3 to focus on the measuring distance between the measuring starting point and the measuring end point of the object 6 to obtain an optimal measuring position according to a focusing command from the image measuring program 12. In one embodiment, the optimal measuring position is located on the Z-axis coordinate of the measuring machine 2, and is used by the CCD 3 to capture a high-quality image of the measuring distance.
The scanning module 104 is configured for controlling the laser head 5 to scan the measuring distance according to the optimal measuring position.
The obtaining module 106 is configured for controlling the laser controller 4 to obtain coordinate values of each of the scanned points from the laser head 5. Each of the coordinate values typically includes a prefix parameter, an X-axis coordinate value, a Y-axis coordinate value, and a Z-axis coordinate value. The prefix parameter is a parameter of the laser head 5. It may be understood that different laser heads may have different parameters. It may be understood that the prefix parameter is a character string, such as, ME, HQ, and SK, for example. In one example, if the prefix parameter is ME, then an X-axis coordinate value may be 10, a Y-axis coordinate value may be 20, and a Z-axis coordinate value may be 30, for example. Accordingly, the coordinate value may be (ME, 10, 20, 30) in one embodiment.
The determining module 108 is configured for determining whether the obtained coordinate values are valid coordinate values. If the prefix parameters of each of the obtained coordinate values are the same as the parameter of the laser head 5, then the determining module 108 determines that the obtained coordinate values are valid coordinate values. If the prefix parameters of each of the obtained coordinate values are not the same as the parameter of the laser head 5, then the determining module 108 determines that the obtained coordinate values are invalid coordinate values. Accordingly, the focusing program 10 may determine new coordinate values for the object using the obtaining module 106.
The sending module 110 is configured for sending the obtained coordinate values to the image measuring program 12 if the obtained coordinate values are valid.
In block S10, the selecting module 100 selects a measuring start point and a measuring end point of the object 6 to obtain a measuring distance.
In block S12, the focusing module 102 controls the CCD 3 to focus on the measuring distance between the measuring starting point and the measuring end point of the object 6 to obtain an optimal measuring position according to a focusing command from the image measuring program 12. As mentioned above, the optimal measuring position, in one embodiment, is located on the Z-axis coordinate of the measuring machine 2, and is used for the CCD 3 to capture a high-quality image of the measuring distance.
In block S14, the scanning module 104 controls the laser head 5 to scan the measuring distance according to the optimal measuring position.
In block S16, the obtaining module 106 controls the laser controller 4 to obtain coordinate values for each of scanned points from the laser head 5.
In block S18, the determining module 108 determines whether obtained coordinate values are valid coordinate values. If the prefix parameters of each of the coordinate values are the same as parameter of the laser head 5, then the determining module 108 determines the obtained coordinate values are valid coordinate values. Otherwise, if the prefix parameters of each of the coordinate values are not the same as parameter of the laser head 5, then the determining module 108 determines the obtained coordinate values are not valid coordinate values.
If the determining module 108 determines the obtained coordinate values are valid coordinate values, then in block S20, the sending module 110 sends the obtained coordinate values to the image measuring program 12. Otherwise, if the obtained coordinate values are not valid coordinate values, then the procedure returns to block S10 as described above.
The image measuring program 12 may receive the valid coordinate values and may calculate a result of the valid coordinate values. Accordingly, the image measuring program 12 may calculate various dimensional values of the object 6 using one or more formulas.
Although certain inventive embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
200710201309.7 | Aug 2007 | CN | national |