Background of the Invention
[0001] This invention relates to a method of measuring the shape of an object by a light
spot detecting sensor using the light, such as a laser beam, and more particularly
to a method of measuring the shape of an object in a non-contacting manner, which
is capable of simply measuring a manufacturing error of an object.
[0002] Owing to the recent, rapid development of the optoelectronics, a shape-measuring
apparatus provided with a light spot detecting sensor utilizing a laser beam for the
measurement of the shape of an object has been developed. An example of such an apparatus
is described in, for example, "Techniques for Sensors", February 1983 issue, paragraph
"Measurement of Shape of Object by Light Spot Detecting Sensor", PP60 to 64.
[0003] This type of apparatus is used mostly for measuring the shape of an object after
the object has been manufactured, and comparing this shape with the designed shape
thereof to discuss a manufacturing error. In order to carry out this comparison, it
is necessary to grasp in advance the relative positional relation between the object
coordinate system in which the design values are defined and the shape-measuring coordinate
system of the apparatus.
Summary of the Invention
[0004] An object of the present invention is to measure a manufacturing error of an object
simply and automatically on the basis of the results of an operation for measuring
the relative positional relaticn between an object coordinate system and a shape-measuring
coordinate system.
[0005] In order to achieve the above object, the present invention provides a method of
measuring the shape of an object, which is adapted to grasp the relative positional
relation between an object coordinate system and a shape-measuring coordinate system
by utilizing not only the function of a light spot detecting sensor of measuring a
distance but also the function of the same of applying a visible light spot to the
surface of the object, and : measure a manufacturing error automatically by computation.
[0006] The characteristics of the present invention reside in a method of measuring the
shape of an object in a non-contacting manner by using a shape-measuring apparatus
comprising a light spot detecting sensor for measuring the distance between the object
and sensor in a non-contaqting manner by using the light, a means for varying the
angle of emission of the light from the light spot detecting sensor, a means, which
has the angle-varying means secured thereto, and which is adapted to drive the light
spot detecting sensor, and an arithmetic and control unit adapted to receive signals
representative of the distance measuring by the light spot detecting sensor, the amount
of movement of the sensor driven by the three-dimensional driving means and the angle
of emission of the light from the sensor, subject the signals to computation and control
the operations of the sensor and driving means, said method comprising the steps of
obtaining the relation between an object coordinate system for determining the shape
of said object and a measuring coordinate system for determining the movement of said
shape-determining apparatus, said relation obtaining step including the steps of providing
one or a plurality of reference points, of which the coordinate in said object coordinate
system are already known, on an object, driving said light spot detecting sensor so
as to apply a light spot therefrom to said reference points and thereby determine
the coordinate values in said measuring coordinate system of said reference points,
and determining the relative positional relation between said two coordinate systems
by said arithmetic control unit by using the coordinate values thus determined and
the coordinate values in said object coordinate system; and comparing the value representative
of said positional relation with a reference value, which has been inputted into said
arithmetic control unit in advance, to determine a manufacturing error of said object.
[0007] Brief Desription of the Drawings:
Fig. 1 is a front view of a shape measuring apparatus;
Fig. 2 is a block diagram of the shape measuring apparatus;
Fig. 3 is a schematic diagram of a light spot detecting sensor;
Fig. 4 is a perspective view of a port of the shape measuring apparatus and an object,
for explaining the ' principle of measuring the shape of the object;
Fig. 5 is a perspective view of the part of the shape measuring apparatus and an object,
for explaining an embodiment of the present invention in which one reference point
is set;
Fig. 6 is a perspective view of the part of the shape measuring apparatus and an object,
for explaining another embodiment of the present invention in which two reference
points are set; and
Fig. 7 is a perspective view of the part of the shape measuring apparatus and an object
for explaining still another embodiments of the present invention in which three reference
points are set.
Description of the Preferred Embodiments
[0008] An embodiment of the present invention will now be described with reference to the
drawings.
[0009] Fig. 1 shows a shape-measuring apparatus as a whole used in the embodiment, and Fig.
2 shows a block diagram of the whole shape-measuring apparatus.
[0010] In Fig. 1, a light spot detecting sensor 3 utilizing a laser beam is disposed in
opposition to an object 2, the shape of which is to be measured, placed on a fixed
block 1. This light spot detecting sensor 3 is joined to a mounting: portion 6 of
a three-dimensional driving means 5 via an ; angle-varying means 4. This mounting
portion 6 is formed so that it can be driven in the direction of Y-axis (lateral direction)
in the drawing by a motor 7. The light spot detecting sensor 3 is driven in the direction
of Z-axis (vertical direction) by a vertical feed screw 9 connected to a motor 8 and
a gear box 11 slidably fitted around an arm 10. The driving of the light spot detecting
sensor 3 in the direction of X-axis (direction perpendicular to the surface of the
drawing) is done by moving the three-dimensional driving means as a whole, which is
mounted on a base 12, by a motor 13. Accordingly, the light spot detecting sensor
3 can be moved three-dimensionally (in the directions of X, Y and Z-axes) around the
object 2, and is capable of varying the angle of the light, which is emitted therfrom
an shown by a broken arrow in the drawings, in accordance with the shape of the object
2 by the angle-varying means 4.
[0011] As shown in Fig. 2. The light spot detecting sensor 3, the angle-varying means 4
and the three-dimensional driving means 5 are electrically connected to an arithmetic
control unit 15 which processes data from the above-mentioned means to determine the
shape of the object 2, which will be described later.
[0012] Fig. 3 roughly shows the construction of the light spot detecting sensor 3. A laser
beam is emitted from a light source 21, and advances along the axis of the emitted
light through an irradiation lens 22 to form a light spot on a point P on the surface
of the object 2. The reflected light from the point P is condensed by a condenser
23, which is disposed on the axis of the receiving light, which.extends at a predetermined
angle to the axis of the emitted light, and the resultant light is detected by a light
position sensitive detector (PSD) 24. A sistance measuring operation is carried out
on the basis of the following principle. When the distance L between the object 2
and the light spot detecting sensor 3 varies to Lmin or Lmax, the light- receiving
position on the light position sensitive detector 24 varies, this variation being
electrically detected to generate electric signals corresponding-to the distance.
The light spot detecting sensor 3 has not only the function of measuring the distance
between itself and an object but also the function of applying a visible light spot
on the surface of the object so that the light spot can be easily focussed on the
reference points made on the object.
[0013] A method of measuring the shape of an object will now be described with reference
to Fig. 4. The irradiation axis, shown by a broken arrow, of the light spot detecting
sensor 3 can be turned around S-axis by a motor 41 fixed to the angle-varying means
4. The angle-varying means 4 is mounted on the three-dimensional driving means 5 by
combining the flange type mounting portion 6 therewith. These constituent parts are
disposed on T-axis shown in the drawing. The S-axis and T-axis are provided in parallel
with Z-axis and Y-axis, respectively, of the three-dimensional driving means 5.
[0014] In the embodiment constructed as mentioned above, the shape of the object 2 is determined
by three factors, i.e. the driving position of the three-dimensional driving means
5, the angle of rotation of the angle-varying means 4 and the measurement value of
distance measured by the light spot detecting sensor 3. Let (X
N, YN, Z
N), ℓ
1, θ and L equal the coordinate of an intersection N, which indicates the driving position
of the three-dimensional means 5, of the T- and S-axes, the distance between the point
N and optical shaft of irradiation, the angle of rotation of the angle-varying means
and the measurement value of distance . measured by the light spot detecting sensor
3, respectively. The coordinates (X
P, Y
P, Z
p) of the light spot P on the surface of the object 2 can then be determined in accordance
with the following equations.

[0015] Therefore, when the computation is made in accordance with the equations (1) by an
arithmetic control unit 15 to determine the coordinate of the light spot P at required
intervals as the light spot detecting sensor 3 is driven around the object, it is
understood that the shape of the object can be expressed by an aggregate of the coordinates
of these light spots.
[0016] The shape data thus obtained are the data in the measuring coordinate system, O-XYZ
shown in the drawing, by which the movement of the three-dimensional driving means
5 is controlled. On the other hand, the shape of a mechanically processed object is
expressed in its own object coordinate system, O-xyz. Accordingly, in order to determine
the shape of such an object and ascertain that the object is processed in accordance
with the design values, it is necessary to determine the relative positional relation
between the above two coordinate systems, that is, determine the linkage of the coordinates,
convert the values in one coordinate system into the values in the other and compare
the values in the same coordinate system.
[0017] According to the apparatus used in the present invention, the linkage of these coordinate
systems is determined in the following procedure.
(1) One to three reference points, of which the coordinate values in the object coordinate
system are already known, are set.
(2) The coordinate values of these reference points in the measuring coordinate are
determined. To be concrete, the three-dimensional driving means 5 and angle-varying
means 4 are driven to apply a light spot from the light spot detecting sensor 3 to
these reference points.
(3) The coordinate values in these two coordinate systems with respect to the reference
points are inputted into the arithmetic control unit 15 to determine the relative
positional relation between the two coordinate systems.
[0018] A concrete linking method with respect to the case where one to three reference points
are set will now be described with reference to the drawings.
[0019] Fig. 5 shows the case where only one reference point A is required since the coordinate
axes in the object coordinate system O-xyz are set parallel to those in the measuring
coordinate system O-XYZ. Let r(a, b, c) equal the quantity of translational motion.
The following relative equations can then be established by using a coordinate conversion
matrix.
[0020] 
[0021] Let (x
A, y
A, z
A) and (x
A, Y
A, z
A) equal the coordinates in the object coordinate system of the reference point A set
in an arbitrary position on the object 2, and the coordinates in the measuring coordinate
system obtained by applying a light spot to the object, respectively. If the equation
(2) is substituted by these numerical values, the unknown quantities (a, b, c) of
translational motion can be determined easily. Namely, it is understood that the relative
positional relation between the object coordinate system and measuring coordinate
system can be determined.
[0022] How to set an object in the case where only one coordinate axis in the object coordinate
system is parallel to the corresponding coordinate axis of the measuring coordinate
system with two different reference points required to determine the linkage of these
coordinate systems will now be discussed. Fig. 6 shows an example of this case, where
z-axis of an object coordinate system is parallel to Z-axis of a measuring coordinate
system with the x- and y-axes turned by a around the z-axis. In this case, the following
equations are established between the object coordinate system O-x'y'z' and measuring
coordinate system O-XYZ.

[0023] The equations (3) include four unknown values, i.e. the quantities (a, b, c) and
the angle α
Z of rotation. Therefore, setting only one reference point for determining the linkage
of these coordinate systems is not sufficient; two points A, B shown in the drawing
are required. Let (x
A, y
A, z
A), (x
B, y
B, z
B); and (X
A, Y
A, Z
A), (X
B, Y
B, Z
B) equal the coordinates in the object coordinate system of these points A, B, and
the coordinates in the measuring coordinate system obtained by applying a light spot
to the surface of the object, respectively. A total of six relative formulae can be
obtained from the equations (3). If these formulae are united and solved, the four
unknown values can be determined. Namely, it is understood that the relative positional
relation between the object coordinate system and measuring coordinate can be determined.
Even when a pair of parallel axes are other than the z-and Z-axes, the linkage of
these coordinate systems can be determined by using the same method.
[0024] A case where no axes of the object coordinate system and measuring coordinate system
are parallel, with three different reference points, which are not on the same straight
line, required to determine the linkage of the two coordinate systems will now be
discussed. Fig. 7 shows an example of this case. In this example, no coordinate axes
of the object coordinate system O-xyz are parallel to the coordinate axes of the measuring
coordinate system O-XYZ. The reason whey not less than three reference points are
required in this case is that, if only two reference points A, B in the drawing are
set, the posture of the object 2 cannot be determined definitely. Namely, if only
two reference points are set, the object 2 is rendered rotatable around the ℓ-axis
passing the reference points A, B as shown in the drawing. In order to eliminate this
inconvenience, it is necessary to add a third reference point C which are not on the
taxis as shown in the drawing, and definitely determine the position and posture of
the object 2. In this case, it is also necessary that the coordinate values (x
A, y
A, z
A), (x
B, y
B, z
B), (x
C, y
C, z
Z) of these reference points A, B, C with respect to the object coordinate be determined
in advance. The coordinate values (X
A, Y
A, Z
A), (X
B, Y
B, Z
B), (X
C, Y
C, Z
C) of the reference points with respect to the measuring coordinate system are the
measurement values obtained by applying a light spot from the light spot detecting
sensor 3 to these reference points. It is understood that, when computation is made
by using these coordinate values, the relative positional relation between these two
coordinate systems, i.e. the quantities (a, b, c) of translational motion thereof,
and the directions of the axes of the same coordinate systems can be determined.
[0025] A method of computing a manufacturing error by using an arithmetic control unit after
the relative positional relation between the object coordinate system and measuring
coordinate system has been determined will now be described with reference to the
example shown in Fig. 6.
[0026] Let (x'p, y'p, z'p) equal the design values of the point P in Fig. 6 with respect
to the object coordinate system 0-x'y'z'. If the equations (3) are substituted by
these values, the coordinates of the point P are converted into coordinates with respect
to the measuring coordinate system as expressed by the following equations. In these
equations, a, b, c and α
z represent the values already determined by the linkage of the coordinate systems.

[0027] Let (X
p1, Y
p1, Z
p1) equal the coordinates in the measuring coordinate system, which are obtained by
practically measuring the point P. The errors (ΔX, ΔY, ΔZ) in the measuring coordinate
system can then be determined in accordance with the following equations.

[0028] If the object is manufactured in accordance with the design values, (ΔX, ΔY, ΔZ)
in the equations (5) become zero, respectively. If the object is not manufactured
in accordance with the design values, (ΔX, ΔY, ΔZ) have values other than zero, respectively.
[0029] If the operational equations (4) and (5) are programmed in advance in the arithmetic
control unit to output the results, the manufacturing errors can be automatically
determined.
[0030] The following equation, in which a distance Δℓ between the design points and measurement
points is used, can be employed as an equation for computing the manufacturing error
instead of the equation (5).

[0031] In the above embodiment, a manufacturing error is obtained as values in the measuring
coordinate system; but it can be obtained as values in the object coordinate system.
[0032] According to the present invention, the relative positional relation between an object
coordinate system in which the shape of an object is expressed and a measuring coordinate
system in which the movement of a shape determining apparatus is expressed can be
determined, and a manufacturing error of the object can be determined simply and automatically
by using the results of the operation for determining the mentioned relative positional
relation.
1. A method of measuring the shape of an object in a non-contacting manner by using
a shape-measuring apparatus including a light spot detecting sensor for measuring
the distance between said object and said sensor in non-contacting manner by using
the light, means for driving said light spot detecting sensor, and an arithmetic and
control unit adapted to receive signals representative of the distance measured by
said light spot detecting sensor and the movement of said sensor driven by said driving
means, subject siad signals to computation and control the operations of said sensor
and said driving means, comprising the steps of:
providing at least one reference point, of which the coordinate in an object coordinate
system is already known, on an object to be measured, said object coordinate system
being for defining the shape of said object;
driving said light spot detecting sensor so as to apply a light spot therefrom to
said reference point and thereby determine the coordinate value of said reference
point in a measuring coordinate system for determining the movement of said shape-measuring
apparatus;
determining the relative positional relation between said two coordinate systems by
said arithmetic control unit by using the coordinate values thug determined and the
coordinate values in said object coordinate system;
measuring various points on said object by said light spot detecting sensor to determine
the coordinate values corresponding to the various points measured;
comparing the measured values obtained in said measuring step with reference values
which are design values, corresponding to the various points on said object and modulated
with the relative positional value and which have been inputted into said arithmetic
control unit in advance, whereby a manufacturing error of said object is determined.
2. The method as defined in claim 1, wherein said coordinate values obtained in said
measuring step are ones in the measuring coordinate system, and said reference values
are the coordinate values which are converted into ones in the measuring coordinate
system.
3. The method as defined in claim 2, wherein said light spot detecting sensor is moved
three-dimensionally and the light emission angle from said sensor is varied according
to the shape of said object.
4. The method as defined in claim 3, wherein in said reference point providing step,
two reference points the coordinates of which are known in the object coordinate system
are provided on an object to be detected, when the corresponding one coordinate axis
is in parallel to each other in said two coordinate systems.
5. The method as defined in claim 3, wherein in said reference point providing step,
three reference points of which the coordinate in said object coordinate system are
known are provided on an object to be measured, in case where the corresponding three
coordinate axes are not in parallel to each other in said two coordinate systems.
6. A method of determining the shape of an object in a non-contacting manner by using
a shape-determining apparatus including a light spot detecting sensor for measuring
the distance between said object and said sensor in a non-contacting manner by using
the light, a means for varying the angle of emission of the light from said light
spot detecting sensor, a means, which has said angle-varying means secured thereto,
and which is adapted to drive said light spot detecting sensor three-dimensionally,
and an arithmetic and control unit adapted to receive signals representative of the
distance determined by said light spot detecting sensor, the amount of movement of
said sensor driven by said three-dimensional driving means and the angle of emission
of the light from said sensor, subject said signals to computation and control the
operations of said sensor and said driving means, comprising the steps of obtaining
the relation between an object coordinate system for determining the shape of said
object and a measuring coordinate system for determining the movement of said shape-determining
apparatus, said relation obtaining step including the steps of providing one or a
plurality of reference points, of which the coordinate in said object coordinate system
are already known, on a object, driving said light spot detecting, sensor so as to
apply a light spot therefrom to said reference points and thereby determine the coordinate
values in said measuring coordinate system of said reference points, and determining
the relative positional relation between said two coordinate systems by said arithmetic
control unit by using the coordinate values thus determined and the coordinate values
in said object coordinate system; and comparing the value representative of said positional
relation with a reference value, which has been inputted into said arithmetic control
unit in advance, to determine a manufacturing error of said object.