COMPUTING DEVICE AND METHOD OF COMPENSATING CENTER POSITION OF MECHANICAL ARMS
In a method of compensating the center position of a mechanical arm which has a first probe, a second probe, and a platform, a first test point and a second test point are selected on an electronic product and coordinates of the two points are acquired. A distance R between the first probe and the mechanical arm is received, and an angle θ between the platform and a line formed according to the two points is computed to obtain compensated coordinates of the mechanical arm. The mechanical arm moves to the location of the compensated coordinates, and thus locating the first probe and the second probe respectively at the first test point and the second test point.
Latest HON HAI PRECISION INDUSTRY CO., LTD. Patents:
- Assistance method of safe driving and electronic device
- Method for detecting medical images, electronic device, and storage medium
- Method, apparatus, and device for labeling images
- Method for real-time counting of pedestrians for statistical purposes coupled with facial recognition function and apparatus applying method
- Image defect detection method, electronic device and readable storage medium
1. Technical Field
Embodiments of the present disclosure relate to devices and methods of measuring electronic products, and more particularly to a computing device and a method of compensating the center position of a mechanical arm of a measuring machine when the measuring machine measures an electronic product.
2. Description of Related Art
A mechanical arm is a robotic, usually programmable, with similar functions to a human arm. Links of the mechanical arm are connected by joints allowing either rotational motion or translational displacement.
Many mechanical arms are positioned on a measuring machine to automatically measure objects, such as to automatically measure electronic products. During the measuring process, the mechanical arm moves to a test point of an electronic product, so that a probe positioned at the end of the central axle of the mechanical arm (the center position of the mechanical arm, hereinafter) touches the test point to obtain measuring values, such as current, or resistance of the test point. It may be understood that, if there is only one probe and the probe is positioned at the end of the center position of the mechanical arm, it is easy for the mechanical arm to locate the test point. However, sometimes, two or more probes are needed to measure an electronic product, such as to measure a voltage of an electronic component of the electronic product. The two or more probes may not be positioned at the end of the center position of the mechanical arm, like the example shown in
In general, the word “module”, as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as in an EPROM. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.
The computing device 1 connects with a measuring machine 2. The measuring machine 2 includes a mechanical arm 20, a first probe 21, a second probe 22, a platform 23. An electronic product 24 which includes a plurality of electronic components may be placed on the platform 23 of the measuring machine 2. The first probe 21 and the second probe 22 are positioned on the mechanical arm 20. The first probe 21 and the second probe 22 can respectively be located at a first test point and a second test point on the electronic components of the electronic product 24 with the movement of the mechanical arm 20.
The center compensation system 10 includes a number of function modules (depicted in
In block S10, the selection module 100 selects a first test point and a second test point on the electronic product 24 according to commands input by a user via an interface (not shown) of the center position compensation system 10 using the input device 13, and acquires coordinates of the first test point and the second test point. In one embodiment, the first test point and the second test point may be two ends of an electronic component of the electronic product 24.
In block S11, the receiving module 101 receives a distance R. The distance R is between the first probe 21 and the center position of the mechanical arm 20 on the measuring machine 2. In another embodiment, the distance R may be between the second probe 22 and the center position of the mechanical arm 20. In one example, distance R can be input by the user via the interface of the center position compensation system 10 using the input device 13.
In block S12, the computation module 102 computes an angle θ between the platform 23 and a line formed according to the coordinates of the first test point and the second test point. In one embodiment, the computation module 102 firstly computes a value of the formula:
where (X1, Y1) are the coordinates of the first test point, and (X2, Y2) are the coordinates of the second test point. The computation module 102 computes the angle θ according to the value of tan θ.
In block S13, the computation module 102 further computes coordinates of a compensated center position of the mechanical arm 20 according to the distance R, the angle θ, and the coordinates of the first test point. When the first probe 21 measures the first test point and the second probe 22 measures the second test point, the first probe 21 should be positioned at the first test point and the second probe 22 should be positioned at the second test point, thus, the distance between the first test point and the location of the compensated center position of the mechanical arm 20 is R too, as shown in
In block S14, the control module 103 controls the mechanical arm 20 to move to the location of the compensated center, and thus locating the first probe 21 and the second probe 22 respectively at the first test point and the second test point.
It should be emphasized that the above-described embodiments of the present disclosure, particularly, any embodiments, are merely possible examples of implementations, merely set forth for a clear understanding of the principles of the disclosure. Many variations and modifications may be made to the above-described embodiment(s) of the disclosure without departing substantially from the spirit and principles of the disclosure. All such modifications and variations are intended to be included herein within the scope of this disclosure and the present disclosure and protected by the following claims.
Claims
1. A computerized method of a measuring machine for compensating the center position of a mechanical arm of the measuring machine, the method comprising:
- selecting a first test point and a second test point on an electronic product that is placed on a platform of the measuring machine, the measuring machine further comprising a first probe and a second probe, the first probe and the second probe being positioned on one end of the mechanical arm;
- acquiring coordinates of the first test point and the second test point;
- receiving a distance R between the first probe and the center position of the mechanical arm or between the second probe and the center position of the mechanical arm;
- computing an angle θ between the platform and a line formed according to the coordinates of the first test point and the second test point;
- computing coordinates of a compensated center position of the mechanical arm according to the distance R, the angle θ, and the coordinates of the first test point or the coordinates of the second test point; and
- controlling the mechanical arm to move to the location of the compensated center, and thus locating the first probe and the second probe respectively at the first test point and the second test point.
2. The method according to claim 1, wherein the first test point and the second test point are two ends of an electronic component of the electronic product.
3. A non-transitory storage medium having stored thereon instructions that, when executed by a processor of a computing device, causes the processor to perform a method of compensating center position of a mechanical arm of a measuring machine, the method comprising:
- selecting a first test point and a second test point on an electronic product that is placed on a platform of the measuring machine, the measuring machine further comprising a first probe and a second probe, the first probe and the second probe being positioned on one end of the mechanical arm;
- acquiring coordinates of the first test point and the second test point;
- receiving a distance R between the first probe and the center position of the mechanical arm or between the second probe and the center position of the mechanical arm;
- computing an angle θ between the platform and a line formed according to the coordinates of the first test point and the second test point;
- computing coordinates of a compensated center position of the mechanical arm according to the distance R, the angle θ, and the coordinates of the first test point or the coordinates of the second test point; and
- controlling the mechanical arm to move to the location of the compensated center, and thus locating the first probe and the second probe respectively at the first test point and the second test point.
4. The non-transitory storage medium according to claim 3, wherein the first test point and the second test point are two ends of an electronic component of the electronic product.
5. A computing device, comprising:
- a non-transitory storage medium;
- at least one processor; and
- one or more modules that are stored in the non-transitory storage medium; and are executed by the at least one processor, the one or more modules comprising instructions to:
- select a first test point and a second test point on an electronic product that is placed on a platform of a measuring machine, the measuring machine further comprising a first probe a second probe, and a mechanical arm, the first probe and the second probe being positioned on one end of the mechanical arm;
- acquire coordinates of the first test point and the second test point;
- receive a distance R between the first probe and the center position of the mechanical arm or between the second probe and the center position of the mechanical arm;
- compute an angle θ between the platform and a line formed according to the coordinates of the first test point and the second test point;
- compute coordinates of a compensated center position of the mechanical arm according to the distance R, the angle θ, and the coordinates of the first test point or the coordinates of the second test point; and
- control the mechanical arm move to the location of the compensated center, thus, locating the first probe and the second probe respectively at the first test point and the second test point.
6. The computing device according to claim 5, wherein the first test point and the second test point are two ends of an electronic component of the electronic product.
Type: Application
Filed: Oct 31, 2011
Publication Date: Jul 5, 2012
Applicant: HON HAI PRECISION INDUSTRY CO., LTD. (Tu-Cheng)
Inventors: HSIEN-CHUAN LIANG (Tu-Cheng), SHEN-CHUN LI (Tu-Cheng), SHOU-KUO HSU (Tu-Cheng)
Application Number: 13/284,992