地球物理学报  2016, Vol. 59 Issue (6): 2326-2332   PDF    
过套管电阻率测井的地层电阻率快速反演算法
刘福平1,2 , 王安玲1 , 刘华群1 , 杨长春2     
1. 北京印刷学院, 北京 102600;
2. 中国科学院地质与地球物理研究所, 北京 100029
摘要: 过套管电阻率测井是通过测量套管壁电势实现测量地层的视电阻率,基于传输线方程理论,针对层状地层,给出了套管壁电势、电流对地层横向电阻导数的微分方程(称Jacobi矩阵微分方程)及边界条件;利用Jacobi矩阵微分方程边值问题导出了过套管电阻率测井反演地层参数的Jacobi矩阵系数的解析表示, 利用Marquardt方法实现了过套管测井的地层电阻率反演;通过计算对Jacobi矩阵的特性进行了探讨,并获得了较快的计算速度(因为Jacobi矩阵是用解析解表示的),反演结果与地层模型取得了较好的逼近.本文实现了过套管电阻率测井地层参数的Jacobi系数矩阵的快速计算及地层电阻率反演,为进一步开展电阻率测井数据处理提供了理论依据和快速反演算法.
关键词: 过套管电阻率测井      Jacobi矩阵      传输线方法      测井响应      反演计算     
A fast inversion algorithm of formation resistivity for resistivity logging through casing
LIU Fu-Ping1,2, WANG An-Ling1, LIU Hua-Qun1, YANG Chang-Chun2     
1. Beijing Institute of Graphic Communication, Beijing 102600, China;
2. Institute of Geology and Geophysics, Chinese Academy of Sciences, Beijing 100029, China
Abstract: The resistivity logging through casing is that the potential distribution on the metal casing is measured to realize the measurement of formation resistivity. For this method, this study derived the differential equations of Jacobi matrix from the transmission line equation and its boundary conditions for a multi-layered formation, which are the derivative equations of the potential and current with respect to the transverse resistance of formation. With the differential equations we have given the analytic formula of the Jacobi matrix and realized the inversion of formation resistivity (Marquardt inversion method). With computing examples, the characteristics of Jacobi matrix were discussed, and the fast computing speed was obtained, in which the results of inverse are in excellent agreement with the model of formation. The realization of formation resistivity inversion and its fast computation of Jacobi matrix provide a theoretical basis and a fast inversion algorithm for the further development of the resistivity logging and data processing..
Key words: Resistivity logging through casing      Jacobi matrix      Transmission line approach      Logging response      Inversion calculation     
1 引言

过套管电阻率测井是油气井在开发过程中油气藏动态监测和剩余油地层重新评价的重要测井方法之一(Askey et al.,2002; Kaufman,1990; Kaufman and Wightman,1993; 尹军强等,1998高杰等,2008; 刘福平等,2007; Vail,1993; 谢树棋等,1999),但自从20世纪30年代过套管电阻率测井被提出后的几十年间一直未取得突破性进展(Vail,19891991; Vail et al.,19931995; Schenkel and Morrision,19941990;Xie et al.,1999; 刘福平等,2013).直到20世纪90年代初Kaufman发表了基于传输线方程的套管井电阻率测井近似理论模型和测量理论后(Benimeli et al.,2002; Kaufman,1990; Kaufman and Wightman,1993; 刘福平等,2013),在过套管电阻率测井理论上和在测井仪器的研制上才取得了实质性进展(Aulia et al.,2001; Zhou et al.,2002高杰等,2008; 刘福平等,2007).然而到目前为止,尚未涉及到过套管电阻率测井的参数反演问题.由于金属套管的电阻率与地层的电阻率存在巨大的差别(有的相差1010),致使有限元、有限差分法离散方程的矩阵系数大小存在巨大差别,用这两种方法实现套管电阻率测井的正演计算仍然存在困难(目前还没见到成功的算例),传输线方法已成为过套管电阻率测井成熟的正演计算方法(高杰等,2008; Fondyga et al.,2004刘福平等,2013),因此过套管电阻率测井参数反演的正演计算利用传输线方法目前应为一种好的选择(目前过套管电阻率测井的地层参数反演及Jacobi矩阵的计算尚未见到算法报道).要实现地层参数的反演关键是如何实现Jacobi矩阵的计算,反演计算时间的长短和精度取决于Jacobi矩阵的计算方法(魏宝君和张庚骥,2002; 丁继才等,2007; 张美根等,2003; 刑光龙等,2007刘福平和杨长春,2003; Liu et al.,2012),因此针对层状地层开展Jacobi矩阵算法研究具有重要意义.本文研究了套管壁电势、电流对地层横向电阻导数的Jacobi矩阵计算方法,导出了过套管电阻率测井反演地层参数Jacobi矩阵的解析表示,并探讨了Jacobi矩阵的特性,为进一步实现电阻率测井资料反演和测井数据解释都将具有实际意义.

2 场分布的正演计算

设金属套管单位长度的电阻为Rc,金属套管单位长度所对应的地层的横向电阻为T(漏电电阻),则传输线方程可写为(高杰等,2008; 刘福平等,2007)

(1)

其中U,I分别为套管井的电势和流过套管的电流,Rc包含了套管的信息,Rc=ρc/(2πaΔa),ρc为套管电阻率,a为套管半径,Δa为套管厚度.在轴向第p层导电层中传输线方程的解为

(2)

其中Ap*、Bp*为待定系数,ξp=Tpαp.由第p、p+1层边界电流和电势连续条件得系数关系

(3)

其中

(4)

考虑n+1层地层后有

(5)

由于在n+1层中z可以取无限远,为保证电流I(z)有限,应取An+1=0,设电源在坐标原点,则I1(0)=I0,其中I0为由电源流出而流向上半个空间的电流.利用电流源条件和方程(5)可得Bn+1A1B1,再利用公式(3)可得任意一层中的解.

3 过套管电阻率测井的Jacobi矩阵

沿套管将求解模型剖分成一系列小单元,设每一个小单元模型参数为常数,设参数化后模型参数向量为m=(m1m2,…,mNz),Nz为参数总数,第i个观测数据Ui(如电势),则有Ui=Ui(m),i=1,2,…,Mq,Mq为观测数据的个数,设模型初值为m0=(m10m20,…,mNz0),在m0点将Ui展开成Taylor级数并取一级近似有

(6)

矩阵形式为

(7)

其中

(8)

(9)

(8)式即为过套管电阻率测井观测数据对地层模型参数的导数(称Jacobi矩阵或敏感系数).

4 Jacobi矩阵的计算方法

为了利用解析结果计算Jacobi矩阵,设观测数据也有Nz个(这样可以得到计算Jacobi矩阵的解析结果,利用这个解析解可以计算任意一个观测数据的Jacobi矩阵),与网格个数相同.将方程(1)对Tj求导得第p层中电势、电流对Tj的导数方程

(10)

其中

(11)

在纵向多层状地层的界面电流、电势是连续的(方程同时对地层参数求导等式仍成立),因此由于某一网格ΔTj的微小变化,在相邻两层中所引起的变化ΔU、ΔI(电荷守恒)也应该相等,所以Gpj、Dpj在地层界面是连续的(Zhang et al.,2003),即

(12)

由于套管壁上电压与电流的关系(高杰等,2008; 刘福平等,2007)为 将该两式对Tj求导数得

(13)

(14)

其中 设电源位于坐标原点,由场分布的对称性得

(15)

由(13)(14)及(15)式得

(16)

实际上当观测数据少于网格个数时,因为p只是取整数,当pj时(第p、j层不在同一地层),方程(10)为齐次方程,其通解为

(17)

由(13)式得

(18)

其中

p=j时(即第pj层为同一地层),观测点和方程(10)为非齐次方程,其特解

(19)

非齐次方程解为

(20)

同理

(21)

其中Ip、Up为方程(1)的解.若纵向有Nz层地层,利用Gpj、Dpj在地层界面连续可得两相邻地层均为齐次方程时的系数递推关系

(22)

其中

(23)

在方程(10)中每选一个j则有Nz个微分方程,只有当p=j时,微分方程为非齐次,在该层中由上界面连续边界条件(12)及(20)、(21)式得

(24)

(25)

写成矩阵形式有

(26)

其中

(27)

在第p层中由下界面连续边界条件(12)及(20)、(21)式得

(28)

其中

(29)

由(22)式得

(30)

(31)

将(30)、(31)式代入(26)、(28)式得

(32)

由电流源(16)式得

(33)

在(32)、(33)式中只有A1B1An+1Bn+1为未知常数,考虑到在z→∞时Gpj有限,则An+1=0,利用(32)、(33)式可计算A1B1Bn+1,再利用(26)(28)及(22)式可确定全部待定系数,从而实现Jacobi矩阵的解析计算.

5 过套管电阻率测井的地层电阻率反演方法

设反演目标函数为

(34)

其中Ud为过套管电阻率测井电势实际测量结果,U为地层模型电势响应(由地层模型计算的电势分布).设f(m)=U-Ud,则f(m)为地层模型电势响应与过套管电阻率测井电势实际测量结果所构成的参差函数,若设mkm的第k次反演迭代近似.使反演目标函数极小得迭代公式

(35)

(36)

其中GkF(m),λk为第k次迭代计算的步长.在式(35)中有时会出现矩阵GkTGk的奇异或接近奇异的情形,为提高计算的速度和稳定性,把正定对角矩阵加到GkTGk上去,使矩阵变成条件数较好的对称正定矩阵(Marquardt方法),反演迭代公式修改为

(37)

其中In阶单位矩阵,αk为一个正实常数,根据计算精度要求通过试算适当选取.

6 数值算例及分析 6.1 Jacobi矩阵特性分析

下面取四层状地层模型为算例,电极供电电流I0=6 A,电源位于坐标原点,套管电阻率为ρc=2.0×10-7 Ωm,套管半径a=0.1 m,套管厚度Δa=0.01 m,四层状地层界面位于dp=15,18,22 m,取观测数据点的坐标为z0=10,17,20,24 m(表 1图 1均使用上述统一参数).表 1的3种情况的差别仅是地层的电阻率不同,表的第2,3,4,5列分别为在z0=10,17,20,24 m测量点电势对第1,2,3,4层地层横向电阻的导数,表 1中Case 1四层状地层的电阻率比较接近(ρb=1.1,1.0,1.1,1.0 Ωm),表 1中Case 3四层状地层的电阻率差距较大(ρb=20,1,20,1 Ωm).表 1显示地层电阻率对电势敏感系数(电势对地层横向电阻的导数)影响较大.图 1为电势对地层横向电阻的导数随z坐标的变化曲线,由于金属套管的高导电性的影响(电势沿套管的变化缓慢,接近线性),使得电势敏感系数随z坐标的变化基本呈线性关系,曲线1、2、3、4分别为测量点位置变化时(z坐标是变化的),测量电势对第1,2,3,4层地层横向电阻的导数,图 1中曲线1,2是重合的.在该算例中第4层是一个半无界的空间层,电势敏感系数与其他层的差别较大.

表 1 电势对地层横向电阻的导数 Table 1 Derivations of potential with respect to transverse resistance of formation
图 1 电势对地层横向电阻的导数曲线 Fig. 1 Curves of derivations of potential with respect to transverse resistance of formation

我们还计算了Jacobi矩阵(电势敏感系数)方程的条件数,对应表 1的3种情况的Jacobi矩阵方程条件数分别是Con=2.47×104、4.73×104、6.63×105,该表说明Jacobi矩阵方程病态较重,且随层状地层电阻率差别的增大方程条件数变差,因此利用电势的过套管电阻率测井参数反演,选择什么样的反演方法十分重要,这仍是需要进一步研究和探索的新问题.为提高计算的稳定性,我们在公式(37)中把正定对角矩阵加到GkTGk上去,试图改变反演迭代矩阵的条件数.设E=GkTGk+αkI,针对表 1的3种情况的计算条件,其对应反演迭代矩阵E的条件数分别为

其中关于反演公式(37)中αk,经我们反复试验发现取GkTGk每一行代数和的模作为αk,取得了较好的效果(该算例αk是这样选取的),这样αk在反演过程中还实现了动态变化.

6.2 数值反演算例

为考察Jacobi矩阵的可靠性及反演方法的可行性,下面以三层状和五层状地层实现了过套管地层电阻率反演,除地层参数外,其余计算条件与前面图 1算例相同.图 2为三层状地层模型,其初值为15 Ωm,反演的最大相对误差为1.3%,反演结果与地层模型取得很好的逼近.图 3为五层状地层模型,其初值分为2段,第1,2层为8 Ωm,第3,4,5层为13 Ωm,反演结果见表 2,其最大相对误差为2.2%,反演结果与地层模型也取得很好的逼近,验证了方法的可靠性与可行性.算例说明该方法是可以用于过套管电阻率的反演.

图 2 地层电阻率反演结果(三层状地层) Fig. 2 Inversion result of formation resistance (3-layer model)
图 3 地层电阻率反演结果(五层状地层) Fig. 3 Inversion result of formation resistance (5-layer model)
表 2 层间电阻率反演结果 (五层状地层模型,反演迭代次数为k=8) Table 2 Inversion results of interlayer resistance (5-layer formation model, with iteration number k=8)
7 结论

本文针对层状地层,导出了过套管电阻率测井套管壁电势、电流对地层横向电阻导数(Jacobi系数矩阵)的解析表示,实现了地层参数反演中Jacobi系数矩阵的计算,选择Marquardt反演方法实现了过套管测井的地层电阻率反演.由于Jacobi系数矩阵计算的解析表示,可获得较快的计算速度.本文通过算例对Jacobi系数矩阵的特性进行了探讨,结果表明由于金属套管的高导电性影响使得电势敏感系数随z坐标的变化接近线性关系,且变化缓慢,地层电阻率的差异对电势敏感系数有较大影响;本算法是基于传输线方程实现的,同样克服了由于金属套管的电阻率与地层电阻率存在巨大差别给有限元、有限差分法模拟过金属套管问题所造成的困难.算例还考察了Jacobi矩阵特性,发现由Jacobi矩阵组成的反演方程属病态方程,针对反演迭代矩阵通过试验发现,利用每次反演迭代矩阵每行代数和的模作为Marquardt反演方法中每行的迭代校正因子,较好地改善了反演迭代系数矩阵条件数.本文提出了地层参数反演中Jacobi系数矩阵的计算方法及地层电阻率反演算法,并用解析的形式实现了Jacobi系数矩阵的计算,不仅计算精度高而且计算速度快(推导过程没有新的近似),反演算例表明,反演结果能较好地逼近地层模型,为进一步的过套管电阻率测井数据处理提供了理论依据和方法.

参考文献
Askey S, Farag S, Logan J, et al. 2002. Cased Hole Resistivity Measurements Optimize Management of Mature Waterflood in Indonesia.//SPWLA 43rd Annual Logging Symposium. Oiso, Japan: Society of Petrophysicists and Well-Log Analysts.
Aulia K, Poernomo B, Richmond W, et al. 2001. Resistivity behind casing. Oilfield Review, 13(1): 1-25.
Benimeli D, Levesque C, Rouault G, et al. 2002. A new technique for faster resistivity measurements in cased holes.//SPWLA 43rd Annual Logging Symposium. Oiso, Japan: Society of Petrophysicists and Well-Log Analysts.
Ding J C, Chang X, Liu Y K, et al. 2007. Layer by layer waveform inversion of seismic reflection data. Chinese J. Geophys. (in Chinese), 50(2): 574-580.
Fondyga A, Sherba G. 2004. Cased hole density, neutron, sonic and resistivity logging in South America, case histories, lessons learned, and a methodology for including the technology in formation evaluation programs.//SPWLA 45th Annual Logging Symposium. Noordwijk, Netherlands: Society of Petrophysicists and Well-Log Analysts.
Gao J, Liu F P, Bao D Z, et al. 2008. Responses simulation of through-casing resistivity logging in heterogeneous-casing wells. Chinese J. Geophys. (in Chinese), 51(4): 1255-1261.
Kaufman A A. 1990. The electrical field in a borehole with a casing. Geophysics, 55(1): 29-38.
Kaufman A A, Wightman W E. 1993. A transmission-line model for electrical logging through casing. Geophysics, 58(12): 1739-1747.
Liu F P, Yang C C. 2003. The numerical calculation of sensitivity coefficients of permeability field. Chinese J. Geophys. (in Chinese), 46(1): 131-137.
Liu F P, Gao J, Sun B D, et al. 2007. Forward calculation of the resistivity logging response through casing by transmission line equation for multi-layer formations. Chinese J. Geophys. (in Chinese), 50(6): 1905-1913.
Liu F P, Meng X J, Xiao J Q, et al. 2012. Applying accurate gradients of seismic wave reflection coefficients (SWRC) to the inversion of seismic wave velocities. Science China Earth Sciences, 55(12): 1953-1960.
Liu F P, Chen X A, Zhao B C, et al. 2013. Instability analysis of through casing resistivity logging responses in higher resistance formation. Well Logging Technology (in Chinese), 37(1): 85-89.
Schenkel C J, Morrision H F. 1994. Electrical resistivity measurement through metal casing. Geophysics, 59(7): 1072-1082.
Schenkel C J, Morrision H F. 1990. Effects of well casing on potential field measurements using downhole current sources. Geophysical Prospecting, 38(6): 663-686.
Vail W B. 1989. Methods and apparatus for measurement of electronic properties of geological formations through borehole casing. U. S. Patent No. 4882542. November 21.
Vail W B. 1991. Methods and apparatus for measurement of the resistivity of geological formations from within cased well in presence of acoustic and magnetic energy sources. U. S. Patent No. 5043669. August 27.
Vail W B. 1993. Measuring resistivity changes from within a first cased well to monitor fluids injected into oil bearing geological formations from a second cased well while passing electrical current between the two cased wells. U. S. Patent No. 5187440. February 16.
Vail W B, Momii S T, Woodhouse R, et al. 1993. Formation resistivity measurements through metal casing.//SPWLA 34th Annual Logging Symposium. Calgary, Alberta, Canada: Society of Petrophysicists and Well-Log Analysts.
Vail W B, Momii S T, Haines H, et al. 1995. Formation resistivity measurements through metal casing at the MWX-2 well in Rifle, Colorado.//SPWLA 36th Annual Logging Symposium. Paris, France: Society of Petrophysicists and Well-Log Analysts.
Wei B J, Zhang G J. 2002. Forward modeling and inversion of 3-D cross-hole electromagnetic fields. Chinese J. Geophys. (in Chinese), 45(5): 735-743.
Xie S Q, Chu Z T, Li K P, et al. 1999. On methodology of resistivity logging through casing. Well Logging Technology (in Chinese), 23(5): 338-343.
Xing G L, Yang S D, Li S G. 2007. On the fast algorithm and characteristic analysis of Jacobi matrix in the inversion of electromagnetic wave logs. Chinese J. Geophys. (in Chinese), 50(2): 642-650.
Yin J Q, Feng Q N, Zhu L D, et al. 1998. Feasibility study on formation resistivity measurement through metal casing. Well Logging Technology (in Chinese), 22(5): 376-379.
Zhang M G, Wang M Y, Li X F, et al. 2003. Full wavefield inversion of anisotropic elastic parameters in the time domain. Chinese J. Geophys. (in Chinese), 46(1): 94-100.
Zhou Q, Julander D, Penley L. 2002. Experiences with casedhole resistivity logging for reservoir monitoring.//SPWLA 43rd Annual Logging Symposium. Oiso, Japan: Society of Petrophysicists and Well-Log Analysts.
丁继才, 常旭, 刘伊克等. 2007. 反射地震数据的逐层波形反演. 地球物理学报, 50(2): 574-580.
高杰, 刘福平, 包德洲等. 2008. 非均匀套管井中的过套管电阻率测井响应. 地球物理学报, 51(4): 1255-1261.
刘福平, 杨长春. 2003. 渗透率场敏感系数的数值计算. 地球物理学报, 46(1): 131-137.
刘福平, 高杰, 孙宝佃等. 2007. 实际井眼条件下过套管电阻率测井响应的传输线方程正演算法. 地球物理学报, 50(6): 1905-1913.
刘福平, 陈小安, 赵宝成等. 2013. 过套管电阻率测井高电阻率层段不稳定性分析. 测井技术, 37(1): 85-89.
魏宝君, 张庚骥. 2002. 三维井间电磁场的正反演计算. 地球物理学报, 45(5): 735-743.
谢树棋, 储昭坦, 李克沛等. 1999. 套管井电阻率测井方法研究. 测井技术, 23(5): 338-343.
刑光龙, 杨善德, 李曙光. 2007. 电磁波测井资料反演中Jacobi矩阵的快速算法及其特性分析. 地球物理学报, 50(2): 642-650.
尹军强, 冯启宁, 朱龙德等. 1998. 通过金属套管测量地层电阻率的可行性研究. 测井技术, 22(5): 376-379.
张美根, 王妙月, 李小凡等. 2003. 时间域全波场各向异性弹性参数反演. 地球物理学报, 46(1): 94-100.