# US 4,545,242 A · Method and apparatus for measuring the depth of a tool in a borehole

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 4,545,242 A
- Document ID: US4545242A
- Status: Granted
- Kind: A
- Application number: 06/437,059
- Filed: 1982-10-27
- Granted: 1985-10-08
- Earliest claimed: 1982-10-27
- Assignees: Schlumberger Technology Corporation
- Inventors: David S. K. Chan
- Web page: https://patentgrep.com/patent/US4545242A

## CPC

- E21B 47/04: Measuring depth or liquid level
- G01B 7/26: for measuring depth
- E21B: EARTH OR ROCK DRILLING; OBTAINING OIL, GAS, WATER, SOLUBLE OR MELTABLE MATERIALS OR A SLURRY OF MINERALS FROM WELLS
- G01B: MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS

## Abstract

A high resolution method and apparatus for measuring the depth of a tool suspended from a cable inside a borehole are described. The tool includes accelerometers for measuring its acceleration and this measurement is combined with a cable depth measurement with which the amount of cable in the borehole is determined. A Kalman filter is employed to continually provide estimates of the velocity and depth of the tool from the accelerometer and cable depth measurements. A filter modifier alters operation of the filter during discontinuous motions of the tool such as when it is stuck and slips. A tool sticking detector senses when the tool is stuck and for how long to correspondingly modify the filter by forcing it to more strongly rely upon accelerometer measurements when the tool is stuck and gradually return to normal filter operation when the tool resumes movement after having been stuck.

## Claims

### Claim 1

A method for determining the depth of a tool suspended from a cable inside a borehole penetrating an earth formation comprising the steps of:
deriving a measurement of cable depth of the tool from a measurement of the length of the cable from which the tool is suspended;
deriving a measurement of the acceleration of the tool along the borehole axis;
estimating the depth of the tool from the cable depth and acceleration measurements;
sensing a motionless tool in the borehole; and
modifying the tool depth estimating step at least during the interval the tool is sensed to be motionless so as to maintain the tool depth estimate constant while the tool is motionless.

### Claim 2 (depends on 1)

The method for determining the depth of a tool as claimed in claim 1 wherein the estimating step includes the step of integrating the acceleration measurement to derive a measurement of the velocity of the tool; and
wherein the sensing step includes the step of sensing when the derived velocity of the tool is below a threshold level as an indication of a motionless tool.

### Claim 3 (depends on 2)

The method for determining the depth of a tool as claimed in claim 2 wherein the sensing step further includes the step of determining when the flatness of the acceleration measurement is below a threshold level.

### Claim 4 (depends on 2)

The method for determining the depth of a tool as claimed in claim 2 wherein the sensing step further includes determining when the mean of the acceleration measurement is below a threshold level.

### Claim 5 (depends on 4)

The method for determining the depth of a tool as claimed in claim 4 wherein the sensing step further includes the step of determining when the variance of the acceleration measurement from the determined mean is below a threshold level.

### Claim 6 (depends on 5)

The method for determining the depth of a tool as claimed in claim 5 wherein the sensing step further includes the step of scanning the acceleration measurement for the presence of a ringing response.

### Claim 7 (depends on 1)

The method for determining the depth of a tool as claimed in claim 1 wherein the estimating step comprises the step of estimating the tool depth with a Kalman filter.

### Claim 8 (depends on 1)

The method for determining the depth of a tool as claimed in claim 1 and further including the step of generating a modifier signal whose magnitude is a function of the duration that the tool is motionless and of the nominal cable velocity; and
applying the modifier signal so as to initially reduce and then gradually return reliance by the depth estimate step upon the cable depth measurement following the interval the tool was motionless.

### Claim 9

A method for determining the depth of a tool suspended from a cable inside a borehole penetrating an earth formation comprising the steps of:
deriving at a surface location a measurement of cable depth of the tool from a measurement of the length of the cable from which the tool is suspended;
deriving a measurement of the acceleration of the tool along the borehole axis;
estimating the depth of the tool from the cable depth and acceleration measurements with a Kalman filter,
sensing a motionless tool; and
modifying the tool depth estimating step at least during the interval the tool is sensed to be motionless so as to maintain the tool depth estimate constant while the tool is motionless.

### Claim 10 (depends on 9)

The method for determining the depth of a tool as claimed in claim 9 and further including the steps of:
determining the elongation of the cable while the tool was motionless; and
modifying the Kalman filter as a function of the determined cable elongation so as to initially reduce reliance by the Kalman filter upon the cable measurement after the tool resumes motion after a motionless interval and then gradually return normal reliance by the Kalman filter upon the cable measurement.

### Claim 11

A method for determining the depth of a tool suspended from a cable inside a borehole penetrating an earth formation comprising the steps of:
generating a signal representative of the cable depth of the tool;
generating a signal representative of the acceleration of the tool along the borehole;
estimating the depth of the tool from the acceleration and cable depth signals with a Kalman filter;
sensing when the tool becomes stuck in the borehole; and
maintaining the tool depth estimate constant while the tool is stuck.

### Claim 12 (depends on 11)

The method for determining the depth of a tool in a borehole as claimed in claim 11 wherein said depth estimating step includes the step of:
modifying the cable depth measurement for a time after the tool becomes unstuck after it had been stuck so as to initially reduce and then gradually return normal reliance of the tool depth estimate step on the cable depth measurement.

### Claim 13 (depends on 11)

The method for determining the depth of a tool in a borehole as claimed in claim 11 wherein said depth estimating step includes the steps of:
generating a modifying signal having a characteristic which is a function of the time the tool has been stuck; and
applying the function signal to the depth estimating step so as to initially reduce its reliance upon the cable depth measurement after the tool becomes unstuck.

### Claim 14 (depends on 13)

The method for determining the depth of a tool as claimed in claim 13 wherein said function generating step further includes:
generating the modifying signal with an amplitude that is a function of the time the tool has been stuck and the nominal cable velocity.

### Claim 15

An apparatus for determining the depth of a tool suspended from a cable inside a borehole penetrating an earth formation comprising:
means located at the surface for generating a cable depth signal indicative of the length of cable from which the tool is suspended;
means for measuring the acceleration of the tool along the borehole axis and producing a signal representative thereof;
means responsive to the cable depth and acceleration signals for generating an estimate of the depth of the tool;
means for detecting a motionless tool and producing a signal indicative thereof; and
means for modifying said estimate generating means with the latter signal to maintain the tool depth estimate constant while the tool is motionless.

### Claim 16 (depends on 15)

The apparatus for determining the depth of a tool in a borehole as claimed in claim 15 wherein the means for detecting a motionless tool includes:
means for generating a signal representative of the velocity of the tool; and
means for detecting from the acceleration signal when an amplitude excursion of a predetermined magnitude follows a predetermined minimum tool velocity level.

### Claim 17 (depends on 16)

The apparatus for determining the depth of a tool in a borehole as claimed in claim 16 wherein the means for detecting a motionless tool further includes:
means for detecting when the mean of the acceleration signal is below a threshold level; and
means for detecting when the variance of the acceleration signal is below a threshold level.

### Claim 18 (depends on 15)

The apparatus for determining the depth of a tool in a borehole as claimed in claim 15 wherein the means for generating the depth estimate further includes Kalman filter means.

### Claim 19 (depends on 15)

The apparatus for determining the depth of a tool in a borehole as claimed in claim 15 wherein the modifying means further includes:
means for producing a modifier signal with a value related to the product between the time the tool was motionless and a nominal cable velocity; and
means for applying the modifier signal to the depth estimating means so as to initially reduce and then gradually return reliance by the depth estimating means upon the cable depth signal.

### Claim 20

An apparatus for determining the depth of a tool suspended from a cable inside a borehole penetrating an earth formation comprising:
means for generating a cable depth signal indicative of the length of the cable from which the tool is suspended;
means for measuring the acceleration of the tool along the borehole axis and producing a signal indicative thereof;
Kalman filter means responsive to the cable depth and acceleration signals for generating an estimate of the depth of the tool;
means for detecting a motionless tool and producing a signal indicative thereof; and
means for applying the latter signal to the Kalman filter means to maintain its tool depth estimate constant while the tool is motionless.

### Claim 21 (depends on 20)

The apparatus as claimed in claim 20 and further including:
means for producing a modifier signal that is a function of the elongation of the cable while the tool was motionless; and
means for applying the modifier signal to the Kalman filter means so as to initially reduce and then gradually return reliance by the Kalman filter means upon the cable depth signal following the time the tool was motionless.
