1. Technical Field
Embodiments of the present disclosure relate to testing technology, and more particularly to a system and a method for testing an object using a mechanical arm.
2. Description of Related Art
A mechanical arm may be used to test an object. Generally, when using the mechanical arm to test the object, people have to position the object on a test platform, and take away the object from the test platform when testing is finished. Therefore, improvements are desirable to improve the testing process.
The processes described may be embodied in, and fully automated via, functional modules executed by one or more general purpose processors. The functional 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 hardware or communication apparatus.
The computing device 1 includes a storage system 11 and at least one processor 12. The storage system 11 stores various data, such as test parameters. In one embodiment, the test parameters may include, but are not limited to coordinates of an original location of the objects to be tested, coordinates of the test platform 5, coordinates of the tool shelf 3, coordinates of each test point on the object when the object is positioned on the platform 5, and coordinates of a location reserved for object.
The generation module 100 establishes a coordinate system based on a work area of the mechanical arm 2, and positions the mechanical arm 2 at a predetermined initial location. The coordinate system may include an x-axis, a y-axis, and/or a z-axis, for example. In one embodiment, the initial location is the origin of the coordinate system. The work area is a range of movement of the mechanical arm 2.
The parameter obtaining module 101 obtains the test parameters from the storage system 11. As mentioned above, the test parameters include the coordinates of the original location of the objects to be tested, the coordinates of the test platform 5, the coordinates of the tool shelf 3, the coordinates of the test points on the object to be tested when the object is positioned on the platform 5, and the coordinates of the location reserved for object.
The moving module 102 controls the mechanical arm 2 to get an object 6 to be tested according to the coordinates of the original location of the objects to be tested, and position the object 6 on the test platform 5 according to the coordinates of the test platform 5.
The test module 103 controls the mechanical arm 2 to get probes from the tool shelf 3 according to the coordinates of the tool shelf 3, and to position the probes on each test point of the object 6 to test the object 6.
The moving module 102 further controls the mechanical arm 2 to get the object 6 from the test platform 5 according to the coordinates of the test platform 5 if testing of the object 6 is completed, and to position the object 6 at the location reserved for object according to the coordinates of the reserved location.
The moving module 102 further controls the mechanical arm 2 to move to the initial position.
In block S10, the generation module 100 establishes a coordinate system based on the work area of the mechanical arm 2, and positions the mechanical arm 2 at an initial location. In one embodiment, the origin of the coordinate system is the initial location of the mechanical arm 2.
In block S11, the parameter obtaining module 101 obtains test parameters from the storage system 11.
In block S12, the moving module 102 controls the mechanical arm 2 to get an object 6 according to the coordinates of the original location of the objects, and to position the object 6 on the test platform 5 according to the coordinates of the test platform 5.
In block S13, the test module 103 controls the mechanical arm 2 to get probes from the tool shelf 3 according to the coordinates of the tool shelf 3. In this embodiment the mechanical arm 2 is able to get up to two probes at the same time, and to position the probes on corresponding test points of the object according to the coordinates of the test points when the object is positioned on the test platform 5. Once a test point has the corresponding probe contacted thereto, testing is performed.
In block S14, the moving module 102 then controls the mechanical arm 2 to get the object 6 from the test platform 5 according to the coordinates of the test platform 5, and to move the object to the location reserved for object according to the coordinates of the reserved location.
In block S15, the moving module 102 further controls the mechanical arm 2 to move to the initial position.
In block 5120, the moving module 102 controls the mechanical arm 2 to get a vacuum tool from the tool shelf 3 according to the coordinates of the tool shelf 3.
In block 5121, the moving module 102 controls the mechanical arm 2 with the vacuum tool to get an object 6 from the original location of objects according to the coordinates of the original location of objects.
In block S122, the moving module 102 controls the mechanical arm 2 with the vacuum tool and the object 6 to position the object 6 on the test platform 5 according to the coordinates of the test platform 5.
In block S123, the moving module 102 controls the mechanical arm 2 with the vacuum tool to return the vacuum tool to the tool shelf 3 according to the coordinates of the tool shelf 3.
In block S130, the test module 103 controls the mechanical arm 2 to get probes from the tool shelf 3 according to the coordinates of the tool shelf 3.
In block S131, the test module 103 controls the mechanical arm 2 to attach the probes to the test points according to the coordinates of the test points when the object 6 is positioned on the test platform 5.
In block S132, the test module 103 determines whether probes have been attached to all of the test points. If there are test points on the object need to be tested, the procedure goes back to block S131.
If all of the test points on the object have been tested, in block S133, the test module 103 controls the mechanical arm 2 to return the probes to the tool shelf 3 according to the coordinates of the tool shelf 3.
In block S140, the moving module 102 controls the mechanical arm 2 to get a vacuum tool from the tool shelf 3 according to the coordinates of the tool shelf 3.
In block S141, the moving module 102 controls the mechanical arm 2 with the vacuum tool to get the object 6 from the test platform 5 according to the coordinates of the test platform 5.
In block S142, the moving module 102 controls the mechanical arm 2 with the vacuum tool and the object 6 to place the object 6 at the reserved location for the object.
In block S143, the moving module 102 controls the mechanical arm 2 with the vacuum tool to return the vacuum tool to the shelf 3 according to the coordinates of the tool shelf 3.
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 |
---|---|---|---|
99123382 | Jul 2010 | TW | national |