Abstract:
In the use of a rotatable wheel and a rotation sensing device such as an incremental shaft encoder to measure the longitudinal translation of one member relative to another which extends longitudinally, for example, and wherein the wheel is supported for rotation on the longitudinally extending member by means of an inclined pivot arm supported on the one member, means are provided to automatically adjust the angular position of the stator portion of the shaft encoder to compensate for rotation of the wheel when the lateral spacing between the two relatively movable members changes, thereby eliminating a false indication of longitudinal translation.

Description:
BACKGROUND OF THE INVENTION 
     In the nondestructive inspection of objects by the use of some types of magnetic, electromagnetic and radioactive inspection apparatus, the apparatus produces electrical inspection signals which indicate a condition or property of the object being inspected. It is common practice to record the inspection signals on a recording medium such as a magnetic tape and/or on a strip chart. When inspecting elongated objects such as lengths of tubular goods, long sheets of metal, and pipelines, for example, it is desirable also to provide signals in response to the relative movement of the inspecting apparatus and the object so that the inspection signals may be correlated on the record to the exact distance along the object where the signals were produced. For very precise and very rapid inspection procedures it is necessary that the indication of relative motion between the inspection apparatus and the object, i.e., the distance one moves along the other, be correlated as accurately as possible in incremental units to the exact times of occurrence of the inspection signals. 
     In the case of a pipeline inspection pig traveling through a pipeline being nondestructively inspected by apparatus carried by the pig, the distance of travel of the pig is measured by measuring the rotation of a wheel which is carried by the pig and urged into rolling contact with the wall of the pipeline. Because the inspection pig must pass over and through obstructions and irregularities such as valves, couplings to branch lines, weld &#34;icicles&#34; within the pipeline, mashes and dents in the pipe wall, it is common practice to mount the rotatable measuring wheel at the end of a pivot arm that is inclined with respect to the wall of the pipeline. A spring acting on the pivot arm resiliently urges the wheel into contact with the pipe wall and permits the wheel to pass over and through the obstructions without damage. 
     Another use of rotating distance measuring wheels resiliently urged into rolling contact with the pipeline wall is in apparatus for measuring the curvature of a pipeline, as disclosed in U.S. Pat. No. 3,882,606 entitled: &#34;Method and Apparatus for Measuring Curvature and Curvature Variations in Pipelines and the Like&#34;, issued to R. Kaenel et al. In that patent, pipeline curvature measurement is based on the fact that for a curved path having a finite width, the distance along the boundary of the path having the greater radius of curvature is greater than the distance along the other boundary of the curved path. Based on this fact, various ones of an array of measuring wheels carried by a pipeline pig and arranged in a given configuration around the inner wall of a pipeline will travel different distances when passing through a section of curved pipe. By measuring the rotations of the various wheels along successive incremental lengths of the pipeline, sufficient data may be obtained to calculate the curvature of the pipe. As in the previous example, digital shaft encoders, sometimes called incremental shaft encoders, attached to the wheel axles are used to measure the rotations of the wheels. 
     As is well understood, a digital shaft encoder is comprised of a housing portion which functions as a stator member, and a rotating shaft portion which is coupled to a member whose rotation is to be measured. A coded disc is attached to and rotates with the rotor member, and suitable means are mounted on the stator portion to detect the movement of the coded disc past some reference position on the stator. 
     In the conventional use of a digital shaft encoder on the axle of a measuring wheel of the types described above, the stator portion is mounted on and fixed with respect to the pivot arm which supports the axle. This is the customary way to mount and use a digital shaft encoder. It has been discovered, however, that when attempting to make precise distance measurements over short distances such as several feet of travel of a pipeline pig, unexpected errors were detected in the output readings of the digital shaft encoders. As will be explained in more detail below, the errors were discovered to result from changes in the angle of inclination of the pivot arm that supports the measuring wheel and to which the stator portion of the digital shaft encoder was attached. In practice it was found that the angle of inclination of the wheel supporting pivot arm did in fact experience considerable change as the inspection pig moved through a pipeline. This was caused by mashes and dents in the wall of the pipeline which push the wheel and pivot arm inwardly and by the lateral movement of the pig from the exact center of the pipeline. 
     It therefore is an object of this invention to provide a method and apparatus for using a rotation measurement device on a measurement wheel carried by a pipeline pig to provide an accurate measurement of the distance the pig moves in the pipeline. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     The invention will be described by referring to the accompanying drawings wherein: 
     FIG. 1 is a simplified illustration of apparatus in which the present invention may be employed; 
     FIGS. 2, 3 and 6 are simplified illustrations of rotation measurement apparatus incorporating the present invention; 
     FIGS. 4 and 5 are simplified illustrations of prior art rotation measurement apparatus which are referred to in explaining the nature of the error which is corrected by use of the present invention; and 
     FIGS. 7 and 8 are diagrams referred to in explaining the construction and operation of the apparatus of this invention. 
    
    
     DESCRIPTION OF PREFERRED EMBODIMENT 
     Referring now in detail to the drawings, FIG. 1 is a simplified illustration of but one instance where the present invention may be used. In this example, an instrumented pipeline pig is passed through a section of pipeline 10 for measuring the curvature in the pipeline. The pig includes a propelling section on the left which is comprised of resilient cups 12 and 13 which slide along the inside wall of the pipeline and which are propelled to the left by the force exerted by the fluid being transported through the pipeline. The propelling section is connected by a universal joint 15 to a following section 16 which has mounted thereon a plurality of wheels 18 which are urged into rolling contact with the wall of pipe 10. Wheels 18 are mounted at the ends of respective inclined arms 19 which are pivotally attached to the exterior portion of trailing section 16. Suitable spring means 20 urge pivot arm 19 outwardly to maintain wheels 18 in contact with the pipe wall and also to serve as centering means to cause the trailing section to maintain a generally centered position within the pipe. 
     Associated with each wheel 18 is a rotation sensing or pickoff device 23 having a rotary portion which rotates as the wheel rotates, and a stator portion which includes means for producing a signal that indicates rotation of the rotor relative to a reference position on the stator portion. A model ON 25-2000 Optecon incremental shaft encoder sold by Data Technology, Inc., 65 Grove Street, Watertown, Massachusetts 02172 is a suitable rotation sensing device. The output signal of such a device is a digitally coded signal. 
     One use for the apparatus just described is in the measurement of pipeline curvature as taught in the above-identified patent. However, the present invention is useful in other applications where precise incremental distance measurements are to be made by means of a rotating wheel mounted on a pivot arm that is inclined relative to the path of relative movement of two members. Accordingly, for purpose of simplifying this description, the following discussion will deal with the invention in its basic form as embodied in a single measuring wheel. 
     In FIGS. 2 and 3 the axle 30 of measuring wheel 18 is secured to and rotates with the wheel 18 by means of bushings in the two arms at the forked end of pivot arm 19. As illustrated in FIG. 3, spring 20 urges pivot arm 19 outwardly to maintain wheel 18 in rolling contact with the wall of pipe 10. The bottom end of pivot arm 19 is pivotally attached to a base comprised of mounting bracket 32 which is attached to the body 16 of a pipeline inspection pig, for example. 
     An incremental shaft encoder 40 which may be of the type described above has its rotor 41 coupled to axle 30 of wheel 18 by means of a suitable coupling means 39 so that rotor portion 41 rotates with axle 30. Unlike the common usage of a shaft encoder, the housing or stator portion 42 of shaft encoder 40 is not attached to the fixed support for axle 30, but instead, stator portion 42 is spaced from and unattached to the forked end of pivot arm 19. A rigid split ring 46 is disposed about the stator portion of encoder 40 and is fixedly attached thereto by means of fasteners such as nuts and bolts 47 which hold the two halves of the split ring 46 in tight engagement with stator 42. 
     A crank arm 50 has its upper end pivotally attached to split ring 46 by means of bolt 51 and its lower end pivotally attached to a bracket 53 that is secured to the body 16 of the pipeline pig. As an alternative arrangement, it may be desirable to provide on stator portion 42 means for pivotally connecting crank arm 50 directly thereto, rather than employing a split ring 46. 
     The present invention will be better understood by first examining the nature of the error that occurs when the stator portion 42 of shaft encoder 40 is fixedly attached to pivot arm 19, which is the conventional way to mount and use such a device. Referring to FIG. 4, the pipeline wall 10 and body portion 16 of the pig are illustrated in what may be considered their nominal or usual spacing S. Wheel 18 contacts the pipe wall at a point p on the wheel. A fixed reference point p&#39; on the stator member 42 of shaft encoder 40 is in vertical alignment with point p. Assume now for the purpose of explanation that there has been no horizontal movement between the pig body 16 and pipe wall 10 and that wheel 18 remains in contact with the pipe wall 10. Assume also that for some reason the spacing between the wall 10 and the pig body 16 gradually decreases to the distance S&#39;, as in FIG. 5. In practice, such a decrease in spacing may result from the pig body 16 moving radially away from the center of the pipeline, or may be caused by a dent or depression in the wall of the pipeline which pushes wheel 18 and pivot arm 19 inwardly. Because the pipe wall 10 and pig body 16 now are closer together, pivot arm 19 is inclined at a smaller angle to the body of the pig. The clockwise rotation of pivot arm 19 causes the point p&#39; on stator 42 to move in space clockwise relative to its former position in FIG. 4, and additionally causes the point of contact of wheel 18 with wall 10 to change so as to cause the point p on wheel 18 to move counterclockwise relative to its former position in FIG. 4. Wheel 18 now contacts wall 10 at a new position p&#34;. It may be seen in FIG. 5 that the points p and p&#39; now are angularly displaced by the angle α rather than being in vertical alignment as in FIG. 4. This angular displacement α causes a change in the output of shaft encoder 40 and gives rise to a false indication that relative horizontal movement has occurred between the base, or pig body 16, and pipe wall 10. 
     The manner in which the present invention operates to compensate for and correct the error described above will be explained by referring to FIGS. 2, 3 and 6. It is seen that the rotor 41 of incremental shaft encoder 40 is attached to and rotates with axle 30, but the housing or stator portion 42 of the encoder is unattached to pivot arm 19 and is free to rotate with respect thereto. The angular position of the stator portion 42 is determined by a geometrical relationship that includes the length and angle of inclination of pivot arm 19, the length and angular inclination of crank arm 50, and the locations where crank arm 50 is coupled to base 16 and stator portion 42. By comparing FIGS. 3 and 6 it will be seen that when the spacing S between the pig body 16 and pipe wall 10 decreases to the smaller distance S&#39;, the angles of inclination of pivot arm 19 and crank arm 50 both decrease. However, crank arm 50, being rigid and of a fixed length, imparts a counterclockwise rotation to the encoder housing or stator portion 42. The geometry of the apparatus has been so constructed and arranged, as will be explained, that as the angle of inclination of pivot arm 19 decreases the counterclockwise rotation imparted to the stator portion 42 by crank arm 50 is substantially equal in magnitude to the counterclockwise rotation experienced by wheel 18 and is in the proper direction to cause the fixed reference point p&#39; on the stator portion 42 to remain radially aligned with the rotated point p on the rim of wheel 18, as they were in FIG. 3. The operation just described thus substantially eliminates any false indication of relative longitudinal motion between pig 16 and pipe wall 10 due to a change in the spacing S therebetween. 
     In analyzing the structure of the present invention it will be seen in FIGS. 7 and 8 that the mechanism may be considered to be a quadrangular shaped four bar pivotally connected linkage having the legs AB, BC, CD, DA. The design of the linkage to produce its desired compensating motion may proceed as follows. Assuming that the normal inclination of pivot arm 19, link AB, when the pig is centered in the pipeline will be the angle Tθ. As the pig moves off center, or if the wall 10 has a mash therein, the spacing S changes and arm AB changes to some different inclination Tθ 1 . When Tθ 1  is less than Tθ the point p on wheel 18 rotates counterclockwise, as previously explained. To compensate the encoder readout for this rotation it will be necessary for the angle X to change so that the linkage arm BC rotates by the same amount in the counterclockwise direction. Correspondingly, when the angle Tθ 1  is larger than Tθ, wheel 18 will have rotated clockwise and linkage arm BC must rotate the same amount clockwise. 
     The angular rotation of the point p as a function of the change in angle Tθ is related to the change in the length of the leg AE of triangle AEB, FIG. 8. This rotation of point p may be expressed in radians by the relationship 
     
         ∠p = AB/r (Cos Tθ.sub.1 - Cos Tθ)        (1) 
    
     where r is the radius of wheel 18 and the other quantities are as defined above. 
     It now is desired to choose the parameters of the four bar linkage ABCDA so that for a change in inclination of pivot arm 19 from Tθ to Tθ 1 , the linkage BC (which in fact is the stator portion of the incremental shaft encoder) will rotate in the same direction as point p by an angle equal to the value of equation (1). In FIG. 8, the angle X must change by a value substantially equal to the value of equation (1). 
     First, the angle X must be defined in terms of the known parameters Tθ and the lengths of the linkages AB, BC, CD, OA and OD. The following development will provide the desired definition of angle X. The length AD is given by the Pythagorean relationship 
     
         AD = √OA.sup.2 + OD.sup.2 
    
     the angle Tx is equal to the angle Tθ plus the angle DAE, which may be expressed as follows, it being realized that angles DAE and ADO are equal, 
     
         Tx = Tθ + arc tan OA/OD 
    
     now the sides AB and AD and the included angle Tx of triangle BAD are known so that the side BD may be determined by the law of cosines as follows. 
     
          BD = √AB.sup.2 + AD.sup.2 - 2(AB × AD × Cos Tx) 
    
     Similarly, the angle A 1  may be expressed as follows. ##EQU1## The three sides of triangle BCD are now known so that the angle A 2  may be expressed as follows. ##EQU2## 
     The line ABF is an angle of 180° which has the component angles A 1 , A 2 , X, and Tθ. X is the only unknown angle so that it may be expressed as follows. 
     
         ∠X = 180 - A.sub.1 - A.sub.2 - Tθ              (2) 
    
     in designing the apparatus of the present invention, a set of parameters is selected for the four bar linkage AB, BC, CD, DA, and with the use of equation (1) the angular rotation of wheel 18 (point p) is determined and plotted for a working range of angles Tθ, Tθ 1 , Tθ 2 , Tθ 3  . . . Tθ n . That is, for the angular range of movement of pivot arm 19 that is expected in an operating situation. With the same set of assumed parameters the changes in the value of angle X are determined from equation (2) and plotted throughout the angular range Tθ, Tθ 1 , Tθ 2 , Tθ 3  . . . T n . The resultant curves are compared to determine their correspondence, or lack of correspondence, over the working angular range of Tθ . . . T n . If the two curves do not match over the desired range, one or more parameters, such as the lengths BC, CD, OA, and OD are changed and the equations again are evaluated over the working range. By successive trial and error, a set of parameters is arrived at which will result in the two curves matching, or substantially matching, over the desired operating range. Of course, the time and effort involved in the above procedure may be considerably shortened and simplified by using a computer to run through the calculations for the working range of angles with various sets of assumed parameters and producing readouts which are a comparison of the two rotations. 
     From the above explanation it may be seen that error compensation for shaft encoder 40 is achieved by the use of a rotatable stator portion 42 and crank arm 50. Crank arm 50 provides an over-the-center type of crank motion so that upon a decrease in the angle Tθ arm BC (stator portion 42) will be rotated counterclockwise when point c, FIG. 8, is on the right side of line DB and its extension through the circumference of wheel 18. Upon an increase in the angle Tθ, wheel 18 will rotate clockwise and the directions of rotation imparted to link BC will be just opposite to the directions described above. For the type of linkage illustrated in the drawings, the points C and D must each fall on the same side of the respective lines BD and BA. That is, in FIG. 8 points C and D both are to the right of a plane that includes the axis of rotation through point B and point A. 
     It is to be understood that other arrangements of linkages and couplings may be employed to produce the proper rotation of stator member 42 that will track or follow the rotation of point p on wheel 18 as pivot arm 19 changes its inclination. As one example, the end region of crank arm 50 may be attached to the pig body 16, which may be considered a base for the linkage, by means of a sliding joint rather than a pivot joint. It further is to be understood that the rotation measuring device 40 might take some other form such as an angle measuring potentiometer which produces an output voltage whose magnitude is a function of the angular relationship between its rotor and stator portions.