Abstract:
The invention is concerned with a tool and method for imaging a formation through a substantially non-conductive medium. The tool comprises first circuitry for injecting a current into the formation, wherein a complex impedance to the current is measured. Second circuitry for determining a phase angle of an impedance of the non-conductive medium and third circuitry for determining a component of the complex impedance that is orthogonal to the phase angle.

Description:
FIELD OF THE INVENTION 
       [0001]    The invention relates to a tool for imaging a formation, and in particular but not exclusively, a tool for imaging a formation through a substantially non-conductive medium. 
       BACKGROUND OF THE INVENTION 
       [0002]    For oilfield and hydrocarbon exploration it is particularly useful to have a tool that is capable of scanning a subsurface geological formation and to convey data representing the various strata and hydrocarbons that constitute a subsurface geological formation. Specifically, after drilling a borehole down into the earths crust, it would be useful to have downhole tools that are capable of being run along the borehole wall and scanning the surrounding formation to provide an image of the formation&#39;s properties to a user on the surface. Equally, it is useful to have such a tool mounting on or close to a drill tip so that the formation can be imaged as the drill penetrates into the earths crust. This would enable a user to measure and/or image various formation parameters close to or ahead of the drill bit and from there get the latest information about the downhole formation, which might impact on the direction being drilled. 
         [0003]    Tools using current injection are known, for example U.S. Pat. No. 4,468,623, U.S. Pat. No. 4,614,250, U.S. Pat. No. 4,567,759, U.S. Pat. No. 6,600,321, U.S. Pat. No. 6,714,014 or U.S. Pat. No. 6,809,521; that use current injection measurements in order to obtain micro-electric images of a borehole wall, the borehole penetrating geological formations. 
         [0004]    Such tools inject AC current into the formation from one or more small electrodes (called “buttons”) and measure the current from each button and the voltage between the imaging buttons and the return electrode. In conductive mud (for example, water-based) the imaging button is surrounded by a guard electrode to force the current into the formation. In non-conductive (oil-based) mud such a guard is not necessary if the formation is more conductive than the mud at the frequency of operation. The imaging buttons plus guard electrode (if present) compose the injector. The impedance (voltage/current) seen by each button is indicative of the resistivity of a small volume of formation in front of each button. The area of the return electrode is usually much larger than the size of the injector, in order that the current tube spreads out between the injector and return to ensure first a high sensitivity and good resolution in front of the imaging buttons and second low sensitivity and resolution in front of the return electrode. 
         [0005]    Such tools can be adapted for wireline use, in which an array of imaging buttons is at equipotential with a guard electrode on a pad (laterolog principle) and the return is on a distant part of the tool mandrel. Such tools operate at frequencies in the range 1-100 kHz where the formation generally has a resistive character and dielectric effects can be neglected except at very high resistivities. 
         [0006]    Such tools can be adapted as logging-while drilling tools, which are able to achieve full coverage of the borehole with a limited number of electrodes by drill-string rotation. Laterolog principles are used, sometimes with additional focusing by hardware or software. 
         [0007]    However, the use of such tools in non-conductive oil-based mud is of limited use because the impedance measured is generally dominated by the mud impedance between the injection electrode and formation that is in series with the formation impedance. Reasonable images can be obtained in high-resistivity formations, i.e. above about 1000 Ω·m, but poor images result in formations having a lower resistivity. 
         [0008]    Broadly speaking, two approaches have been adopted to enable better imaging through oil-based mud in formations of low resistivity. 
         [0009]    The first approach relies on a different measurement principle, the four-terminal method as described in U.S. Pat. No. 6,191,588. Here the current is generated in the formation using two large electrodes near the ends of a pad and potential differences in the formation are measured using pairs of small electrodes at the centre of the pad. Using this technique the resolution is worse than conventional current injection tools because it is determined by the separation of the pair of voltage electrodes (rather than the size of the current injection electrode). Also, this technique is insensitive to events (bedding, fractures etc) parallel to the current flow (usually parallel to the borehole axis). 
         [0010]    The second approach is to increase the frequency of injection-type tools in order to reduce the mud impedance, i.e. U.S. Pat. No. 2,749,503. 
         [0011]    At high frequencies, various processing techniques have been suggested to reduce the influence of the non-conductive mud between the pad and the borehole. U.S. Pat. No. 7,066,282 proposes measuring the real part of the impedance seen by the button, while U.S. Pat. No. 6,809,521, U.S. Pat. No. 7,394,258 and U.S. Pat. No. 7,397,250 all require making at least one mathematical approximation based on the mud impedance being essentially imaginary, or the formation impedance being essentially real, or using more than one frequency and assuming various mud properties are independent of frequency. These approximations have limited ranges of validity, since they do not adequately account for the electrical properties of the rocks and muds. 
         [0012]    It is therefore desirable to provide a tool that is able to reduce the influence of the non-conductive mud medium when using a current injection principle and to avoid the previously-mentioned limitations. 
       SUMMARY OF THE INVENTION 
       [0013]    According to a first aspect of the present invention there is provided a tool for imaging a formation through a substantially non-conductive medium, the tool comprises: first circuitry for injecting a current into the formation, wherein a complex impedance to the current is measured; second circuitry for determining a phase angle of an impedance of the non-conductive medium; and third circuitry for determining a component of the complex impedance that is orthogonal to the phase angle. 
         [0014]    According to a further aspect of the present invention there is provided a method for measuring a component of an impedance of a formation through a substantially non-conductive medium, the method comprising: injecting a current in the formation; measuring a complex impedance to the current; determining a phase angle of an impedance of the non-conductive medium; and determining the component of the complex impedance that is orthogonal to the phase angle. 
         [0015]    According to yet a further aspect of the invention there is provided an apparatus for imaging a formation through a substantially non-conductive medium interposed between the apparatus and the formation; the apparatus comprising: an imaging button spaced at a first distance from the formation for injecting a first current into the formation; a mud button spaced at a second distance from the formation for injecting a second current into the formation; and a processing unit for determining a first impedance from said first current and a second impedance from said second current, taking a difference between the first and the second impedance, determining the phase angle from the difference, and determining the component of impedance from the imaging button that is orthogonal to the phase angle. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0016]    The present invention is illustrated by way of example and not limited to the accompanying figures, in which like references indicate similar elements: 
           [0017]      FIG. 1  shows a partial cross-section view of a part of a typical high-frequency current injection tool; 
           [0018]      FIGS. 2   a  and  2   b  respectively show examples of imaging tools designed for water-based mud and oil-based mud respectively; 
           [0019]      FIG. 3  shows an equivalent circuit of impedances as seen by an imaging electrode; 
           [0020]      FIG. 4  shows a further reduced equivalent circuit of impedances as seen by an imaging electrode; 
           [0021]      FIGS. 5   a ,  5   b  and  5   c  show typical impedance vector diagrams in oil-based mud in different conditions of frequency and formation resistivity; 
           [0022]      FIG. 6   a  shows the reduced circuit of the impedances; 
           [0023]      FIG. 6   b  shows the vector diagram of the impedances; 
           [0024]      FIG. 6   c  shows a determination of the orthogonal and parallel components according to one embodiment; 
           [0025]      FIGS. 7   a  and  7   b  show equivalent circuits for measurement of mud impedance using recessed buttons according to an embodiment; 
           [0026]      FIG. 8  shows the mud impedance measurement in vector form; 
           [0027]      FIG. 9  shows a high frequency imaging pad with recessed mud buttons according to an embodiment; 
           [0028]      FIG. 10  shows results of amplitudes and phase measurements at three standoffs; 
           [0029]      FIG. 11  shows results of orthogonal and parallel components of impedance measured at three standoffs; 
           [0030]      FIG. 12  shows an imaging pad with only a single recessed button according to a further embodiment; 
           [0031]      FIG. 13  shows an example of a wireline application; 
           [0032]      FIG. 14  shows an alternative embodiment for determining the mud impedance; 
           [0033]      FIG. 15  shows another embodiment of button placement on a pad; 
           [0034]      FIG. 16  shows yet another embodiment of button placement on a pad; 
           [0035]      FIG. 17  shows a cut-off section for implementing the recessed button place of the embodiment in  FIG. 16 ; and 
           [0036]      FIG. 18  shows another embodiment with a plurality of electrodes for obtaining a profile of the borehole wall. 
       
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
       [0037]      FIG. 1  shows a partial cross-section of the current injection principle. Specifically, there is shown a tool located in mud  2  down a borehole surrounded by a rock formation  4 . There is a button, or injection electrode,  10  which is responsible for injecting current into the formation  4  and returns to the tool via a return electrode  6 . The imaging button  10  has a sensitive imaging region  8  and is insulated  12  from a guard electrode  14 . 
         [0038]    Specifically, there is a shown a voltage source  18  that generates a potential difference between the imaging button  10  and the return electrode  6 . Since these electrodes are a different potential, a current is injected into the formation which follows along the paths indicated.  FIG. 1  also shows an ammeter  20  for measuring the current injected into the formation. In practice, this might take the form of a small known resister, where the current can be determined from the known voltage across the resistor divided by the known resistance itself. 
         [0039]    Moreover, it is possible to determine the complex impedance Z by dividing the known generated complex voltage by the known complex current. By complex is meant that the relevant parameter, i.e. voltage V, current I or impedance Z, have an in-phase (or real) component as well as a quadrature (imaginary) component if represented on Cartesian axes. Alternatively, if a polar co-ordinate system is used, complex means the relevant parameters can also be represented in terms of an amplitude and phase component. 
         [0040]      FIGS. 2   a  and  2   b  show a high frequency imaging tool that are designed for water-based mud and oil-based mud respectively. 
         [0041]      FIG. 3  shows an approximate electrical equivalent circuit of the impedances seen by an imaging button in non-conductive oil-based mud. Specifically, the impedance measured is of the mud impedance Zm, the formation impedance Zf and the mud return impedance Zmr, in series. 
         [0042]    Current injection tools are usually designed so the area of the return electrode is much greater than the area of the injection electrode so that the measurement is not sensitive to the formation adjacent to the return. This being so, the mud impedance between the return and formation Zmr can usually be neglected compared to the mud impedance between the injection electrode and the formation Zm. In other words: Zm&gt;&gt;Zmr. 
         [0043]      FIG. 4  shows the revised impedance model neglecting the mud return impedance Zmr as well as splitting the impedances into their respective capacitive and resistive components. Specifically, the formation impedance Zf is represented by the formation capacitance Cf in parallel with the formation resistance Rf. The mud impedance Zm is represented by the mud capacitance Cm in parallel with the mud resistance Rm. 
         [0044]    The total impedance Z is given by 
         [0000]    
       
      
       Z=Z 
       m 
       +Z 
       f  
      
     
         [0000]      where 
         [0000]        Z   m =( d   m   /A   m )/σ* m  
 
         [0000]        Z   f =( d   f   /A   f )/σ* f  
 
         [0045]    The complex conductivity (also called admittivity) σ* is given by: 
         [0000]      σ*=σ+ iω∈ 
 
         [0000]    and d is the effective distance along the current path, A is the effective area of the current path and ∈ is the permittivity. 
         [0046]    Z m  and Z f  can be thought of as parallel R-C circuits as shown in  FIG. 4  with: 
         [0000]        R   m   =d   m /( A   m ·σ m )
 
         [0000]        C   m =∈ m   A   m   /d   m  
 
         [0000]        R   f   =d   f /( A   f ·σ f )
 
         [0000]        C   f =∈ f   A   f   /d   f  
 
         [0047]    Concerning the mud, d m  is the thickness of the mud medium between the imaging electrode and the formation while A m  is the area of the electrode. If the mud medium is 2 mm thick and the electrode has a radius of 2.5 mm, A m /d m ˜10 −2  m. Concerning the formation, the factor A f /d f  is typically 10 to 100 times smaller than A m /d m  because the penetration depth in the formation d f  is much greater than the thickness of the mud medium d m    
         [0048]    The phase angles of the impedances are given by: 
         [0000]      φ m =−tan −1 (ω∈ m /σ m )
 
         [0000]      and 
         [0000]      φ f =−tan −1 (ω∈ f /σ f )
 
         [0000]    for the mud and formation respectively. Typical values of ω/∈σ for rock and mud are taken from laboratory measurements. 
         [0049]      FIG. 5  shows typical impedance vectors when the formation resistivity is sufficiently low that the mud impedance is greater than the formation impedance. The only assumption that can be made is that the phases of the mud and formation impedances are different. 
         [0050]    Specifically,  FIG. 5(   a ) shows a conventional FMI operating at around 10 kHz in oil-based mud with a formation resistivity of about 100 Ω·m. The mud impedance is much greater than the formation impedance, the mud impedance phase is in the range −90 to −30 deg and the formation phase is very close to zero (pure resistance). 
         [0051]      FIG. 5(   b ) shows a high-frequency FMI operating at around 50 MHz in oil-based mud with a formation resistivity of about 1 Ω·m. The mud impedance is much greater than the formation impedance, the mud impedance phase is in the range −80 to −90 deg and the formation phase is close to zero (pure resistance). 
         [0052]      FIG. 5(   c ) shows a high-frequency FMI operating around 50 MHz in oil-based mud with a formation resistivity of about 10 Ω·m. The mud impedance is greater than the formation impedance, the mud impedance phase is in the range −80 to −90 deg and the formation impedance phase is about −30 deg. 
         [0053]    So for all these situations the only assumption that can be made is that the phases of the mud and formation impedances are different. However, an embodiment of the present invention seeks to discriminate against the mud and to become only sensitive to the formation, thus allowing better imaging in formations having low resistivity. 
         [0054]    In order to make such a discrimination, it is necessary to determine the component of the total impedance that is perpendicular to the phase of the mud impedance. 
         [0055]      FIG. 6  shows a series of figures showing how such a discrimination is made. Specifically,  FIG. 6(   a ) shows the total impedance being the sum of the formation impedance Zf and the mud impedance Zm in series.  FIG. 6   b  shows a vector diagram where the impedance vectors are plotting on a set of real and imaginary axes. These axes show the magnitude and phase of each of the formation Zf and mud Zm impedance vectors and how these sum to give the total impedance vector Z. 
         [0056]    Finally,  FIG. 6   c  shows in accordance with an embodiment of the invention that the total impedance Z is broken into components that are parallel and orthogonal to the mud. The parallel component is sensitive mainly to the mud and can be used as a qualitative indicator of button standoff for quality control. The orthogonal component is completely insensitive to the mud and sensitive only to the formation. 
         [0057]    Thus, knowing the mud phase (i.e. phase angle of the mud impedance vector) φ m , the orthogonal and parallel components can be calculated using standard rotation equations. The real and imaginary axes are rotated by 90+φ m  degrees to become the orthogonal and parallel axes, respectively. 
         [0058]    According to an embodiment of the invention the mud phase is determined by measuring the total impedance at two distances from the borehole wall, wherein the difference of the impedances represents the impedance of the extra mud medium. In one embodiment this is achieved by adding an extra “mud” button, which is recessed to sit a few mm further from the borehole wall than the other imaging button(s). 
         [0059]    An example of such a recessed mud button configuration according to an embodiment of the invention is shown in  FIG. 9 . Specifically, the cross-section view shows that the mud button  92  is recessed at a slightly further distance away from the borehole wall than the array of imaging buttons  90  is spaced from the borehole wall. The array of imaging buttons  90  in this embodiment is insulated from a surrounding guard electrode residing on a pad of the imaging tool, which is aligned adjacent to a face of the borehole. 
         [0060]    The particular embodiment of  FIG. 9  shows a double return-pad  96  configuration, but it should be appreciated that a more basic embodiment as shown in  FIG. 12  is equally possible. Indeed,  FIG. 12  shows a basic embodiment comprising a single return pad  96 ′, a single recessed mud button  92 ′ and a single imaging button  90 ′. 
         [0061]      FIGS. 7(   a ) and  7 ( b ) shows the equivalents circuits as seen from the imaging and mud buttons respectively. 
         [0062]    Specifically, the imaging button sees: 
         [0000]        Z=Z   m   +Z   f , 
         [0000]    whereas, the mud button sees 
         [0000]        Z ( b _mud)= Z   m   +Z   f   +ΔZ   m    
         [0000]    and the difference is the extra mud impedance: 
         [0000]      Δ Z   m   =Z ( b _mud)− Z  
 
         [0063]      FIG. 8  shows this in vector form. The phase of the impedance φ m  is calculated in the normal manner: 
         [0000]      φ m =tan −1 (Imag(Δ Z   m )/Real(Δ Z   m ))
 
         [0064]    Thus, the embodiment shown in  FIG. 9  is a high frequency pad operating in the range 1-100 MHz. The two recessed mud buttons  92  are of each of similar size to the imaging buttons  90  and are surrounded by an equipotential guard electrode like the imaging buttons. A guard need not be used in an alternative embodiment. In this way the mud buttons measure an impedance very close to the impedance that would be measured by the imaging buttons if the pad were further away from the borehole wall. ΔZ m  can be determined from the difference in impedances measured by one imaging button and one mud button. 
         [0065]    ΔZ m  is proportional to the distance by which the mud button  92  is recessed. However, the phase of the mud impedance is not sensitive to this distance so the technique does not need accurate knowledge of the distance and it can cope with wear on the imaging electrode. 
         [0066]    The mud buttons  92  are advantageously placed close to the imaging array and multiplexed into the same current amplification and detection electronics. This automatically corrects any phase errors in the electronics (for example, due to high temperature downhole or inaccurate calibration). A phase shift will rotate all the impedance vectors, including ΔZ m , by the same angle. 
         [0067]    Moreover, the configuration of  FIG. 9  or  12  allows errors in the measurement to be reduced by calculating the average or median impedance seen by the mud buttons and the average or median impedance seen by two or more of the imaging buttons. 
         [0068]    The formation impedance seen by the imaging button at an instant in time is different from that seen by the mud button, because the measurements are made at slightly different physical positions on the pad. The mud button measurement can be depth-shifted to the same depth as the imaging buttons using well-known techniques. However, depth shifting is not necessary since the mud properties are expected to vary slowly compared to the formation properties. It is preferable (and simpler) to take the average or median of the measurements of both Z and Z(b_mud) over a range of depths of at least a meter in order to average the formation impedance component. 
         [0069]    There are alternative embodiments using recessed electrodes, for example instead of using a recessed mud button and an imaging button, the mud impedance may be measured using two mud buttons, one of which is recessed compared to the other. 
         [0070]    In another embodiment, instead of using a recessed mud button and an imaging button, the mud impedance may be measured using two imaging buttons, one of which is recessed compared to the other. 
         [0071]    In another embodiment, the button(s) used to measure mud impedance may have different size and shape, the difference being corrected by calculation. 
         [0072]    In another embodiment, the processing technique of taking the mud measurement may be performed in oil-based mud, whether the tool is originally designed for water-based mud or oil-based mud. Imaging tools capable of operating in the frequency range from about 1 kHz to 100 MHz are capable of being adapted for such mud measurement. 
         [0073]      FIG. 15  shows yet another button placement embodiment, in which there are two mud buttons on each side of the imaging button array  150 . At least one of the mud buttons is recessed. An advantage of this configuration is that the two mud buttons are each at the same distance from the return electrode so the impedance measurement taken of the formation can be averaged and hence made more accurate. 
         [0074]      FIG. 16  shows yet another button placement embodiment, in which the guard electrodes  152  (shown in  FIG. 15  is no longer present). Specifically, the configuration of  FIG. 16  shows all the electrodes to be located in a co-planar manner and on the same guard electrode  94 . This configuration is advantageous in providing space saving on the pad. 
         [0075]      FIG. 17  shows a profile of the pad which typically has a curvature shown by  170 . However, it is possible to implement the embodiment of  FIG. 16  by taking a machine cut along line Z-Z to recess at least one of the electrodes. 
         [0076]    It should be appreciated that the embodiments of the invention are capable to be adapted for use in wireline applications, for example by mounting the electrodes on pads or skids. The return electrode can be on the same pad, on a different pad or on a tool mandrel or a combination of these. 
         [0077]    Alternatively, the imaging tools adapted to an embodiment of the invention can be used in LWD (Logging While Drilling applications), for example by mounting electrodes on a drill collar, stabiliser blade, rotating sleeve, pad or a combination of these. The return electrode can be on the same pad, on an adjacent part of the drill collar, sleeve or stabilizer. 
         [0078]    The guard electrode is not essential, especially when the formation is more conductive than the mud, i.e. when the modulus of the formation of the formation conductivity is greater than the modulus of the mud conductivity. In such an embodiment, the current lines tend to be nearly perpendicular to the borehole wall. 
         [0079]    Thus, in an embodiment of the invention ΔZ m  is obtained by subtracting the impedance from an electrode recessed from another, which is in turn is used to determine the phase of the complex mud impedance. This in turn is used to establish the orthogonal impedance component, which provides a more accurate image for low resistivities formations. 
         [0080]    Alternatively, in another embodiment, the mud impedance Zm can be measured differently in that the current travels directly from an injector to a return via a volume of mud. In this embodiment the injector and return electrode are separate from the main imaging electrode. The injector and return electrodes can be co-planar (located on the same face of a pad) or be located face-to-face in a recess on a pad, stabilizer or tool body. Specifically,  FIG. 14  shows a pad with a recess notched out of its profile. The notch is shown to be of width d 1 . For this embodiment, it is necessary to either have a separate current source  190  or additional wiring/electronics that draw power from the main voltage source  180 . By applying the separate voltage source  190  across the notch, a potential difference is setup which causes a current I 2  to flow directly across the gap. Thus, this is an alternative method of being able to deduce the impedance of the mud Zm provided mud is flowing in the borehole and into the notch. 
         [0081]    Thus, the mud impedance is capable of being measured in different ways. The separate injector embodiment does not require further recessed buttons, but requires slightly more space due to the separation needed. On the other hand the recessed electrode embodiment allows for close placement of the mud button to the imaging button. This allows for the multiplexing of the electronics, which not only saves space but automatically allows for correction of phase shifts in the electronics. 
         [0082]      FIGS. 10 and 11  show results of the mud impedance measurement and orthogonal processing performed on lab data. The pad used for these measurements was not equipped with extra recessed mud buttons. Instead, the impedance measured by the imaging buttons at a greater standoff was used to simulate the recessed buttons. 
         [0083]    Specifically,  FIG. 10  shows a block of artificial rock containing beds of resistivities from 0.2 to 30 Ω·m. The block was scanned with an imaging tool at a frequency above 1 MHz in oil-based mud. Images  1  to  3  from the left show the amplitude measurement at three standoffs: 1, 2 and 4 mm, and images  4  to  6  show the phase measurement at three standoffs. Both amplitude and phase are affected by standoff. 
         [0084]      FIG. 11  shows the impedance components for the same data set. Images  1  to  3  from the left show the orthogonal component and images  4  to  6  show the parallel component. The images showing orthogonal component of impedance are almost unaffected by standoff and are weakly sensitive to the two parallel mud-filled grooves at the top of the image. 
         [0085]    According to another embodiment of the invention, the obtained ΔZ m  is used to also determine other properties. 
         [0086]    For example, in one embodiment the ΔZ m  measurement is used to calculate the complex conductivity of the mud provided the geometry of the mud button is accurately known. 
         [0000]      σ*=Δ d   m /( A   m   ·ΔZ   m )
 
         [0000]    where Δd m  is the distance by which the mud button is recessed and A m  is the effective area of the button. 
         [0087]    From the complex conductivity, it is possible to then determine the real-valued conductivity, permittivity and resistivity of the formation using standard equations: 
         [0000]      σ=Real(σ*)
 
         [0000]      ∈=Imag(σ*)/ω
 
         [0000]    where σ is the conductivity, ∈ the permittivity. 
         [0088]    When the material is highly conductive, the real-valued resistivity is given by 
         [0000]      ρ=1/σ
 
         [0089]    It is possible to use more than one frequency (simultaneously or sequentially) to optimise the measurement sensitivity to the mud or formation. To determine the standoff of the imaging buttons it is preferable to use a relatively low frequency (for example from about 10 kHz to 1 MHz) so that the imaging buttons are much more sensitive to the mud than the formation (Z m &gt;&gt;Z f ). 
         [0090]    From the measured mud complex conductivity, it is also possible to determine the standoff for each imaging button at a low frequency as follows: 
         [0000]        d   m   =A   m   ·|Z   m ·σ*|
 
         [0091]    To image the formation it is preferable to use higher frequencies that are less sensitive to the mud. For the lowest resitivity formations (below 1 Ω·m), a frequency in the range 10-100 MHz is preferable, while for high resistivities above 100 Ω·m a frequency in the range of 100 kHz to 1 MHz suffices. It should be understood that these frequency ranges could alter depending on electronic and processing improvements. 
         [0092]    In turn, the standoff and complex mud conductivity can be used in other processing algorithms to determine the formation properties. 
         [0093]    The standoff can be used for quality control of the measurements. The standoff can also be used to improve the accuracy of hole radius measurements. 
         [0094]    In the embodiment of a wireline tool with several pads pressed against the borehole wall, by taking the sum of the mechanically measured pad radius and the standoff on each imaging button a detailed hole shape image can be produced.  FIG. 18  shows an embodiment of this where a plurality of electrodes are  182 ,  184 ,  186 ,  188  are mounted on a pad, all capable of injecting current into the formation which completes its path to the return pad  181 . The electrodes  182 ,  184 ,  186  and  188  are shown to measure the standoffs S 1 , S 2 , S 3 , and S 4  respectively. It is then possible for these respective standoff measurements to be combined to allow a profile or shape of the actual borehole wall to be constructed. 
         [0095]    In the embodiment of a rotating LWD tool, the standoff can be used to determine the position of the tool relative to the borehole wall, and if two diametrically opposed buttons are used the hole diameter can be determined at each azimuthal position. 
         [0096]      FIG. 13  shows an overview of a wireline application where an embodiment of the invention may be applied. Specifically, an imaging tool  135 , equipped for example with a pad  137 , is suspended from a wireline cable  132  downhole. The borehole  2  is surrounded by the earth formation  4 . The imaging tool sends imaging information to surface equipment  130 . 
         [0097]    To summarise some of the embodiments described, one embodiment of the invention is concerned with orthogonal processing, wherein the component of the mud impedance phase that is orthogonal to the total impedance is determined. This improves imaging especially in oil-based mud in low resisitivity formations. 
         [0098]    Another embodiment of the invention is concerned with determining the mud impedance phase from the difference in impedances measured by two electrodes arranged at different distances from the borehole wall. 
         [0099]    Another embodiment is concerned with using the mud impedance obtained from recessed mud electrodes to determine other formation properties such as the mud conductivity or standoff or for improving the accuracy of the borehole radius measurements. 
         [0100]    Another embodiment is concerned with determining the mud impedance phase directly from current passing directly across a notch in the pad without entering the formation. 
         [0101]    Thus it is possible to obtain accurate images when the formation impedance is less than the mud impedance. This is achieved by discriminating against the mud by measuring the phase of the complex mud impedance and calculating the component of the total complex impedance orthogonal to the mud phase. The phase angle of the mud impedance is preferably measured from the difference between the impedances measured by two electrodes at different distances from the formation. Preferably, one of the difference electrodes is an imaging electrode and the other is an additional “mud” electrode situated close to it and recessed so as to be at a greater distance from the formation. However, other configurations have also been described.