Attitude measurement method, system and equipment of rotary steering system and medium
By performing semantic mining and correlation fusion on the acceleration components of the rotary guidance system, the problem of low reliability in attitude measurement was solved, and reliable and accurate measurement of drill bit orientation control was achieved.
Patent Information
- Application Number
- CN202511430173.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-09
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2045-10-09
AI Technical Summary
In the existing technology, the attitude measurement reliability of rotary guidance systems is relatively low, making it difficult to achieve high-precision direction control.
By acquiring the acceleration component sequences of the accelerometer at the target time and within the time period, internal semantic mining and correlation fusion are performed to form target acceleration semantic features. Based on these features, the output is decoded and the acceleration components are corrected to determine the inclination angle of the drill string.
This improved the reliability of attitude measurement and ensured the accuracy and precision of drill bit orientation control.
Smart Images

Figure CN120907508A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data processing, in particular to a posture measurement method, system, device and medium of a rotary steering system. BACKGROUND
[0002] The rotary steering system (RSS) is a guided drilling system that can complete the steering function in real time while the drill string is rotating. The rotary steering drilling system is the most advanced and highest-end technical equipment in the field of petroleum engineering, and is a key tool for achieving geological targets, improving oil and gas drilling success rate, and reducing costs and increasing efficiency. It can make the drill bit complete the direction control function in real time while the drill string is rotating. In the drilling process, especially in the geological environment where the direction of the drill bit needs to be accurately controlled, the rotary steering system plays a crucial role. In order to ensure that the steering system can complete the direction control in real time, posture measurement is particularly important. Posture measurement needs to provide real-time monitoring of the posture of the drill string (including inclination angle, azimuth angle, etc.) to achieve high-precision direction control. However, the inventors have found that in the prior art, the reliability of posture measurement is relatively low. SUMMARY
[0003] Therefore, the purpose of the present application is to provide a posture measurement method, system, device and medium of a rotary steering system to improve the problem of relatively low reliability of posture measurement in the prior art.
[0004] To achieve the above-mentioned purpose, the technical scheme adopted by the present application is as follows: A posture measurement method of a rotary steering system, comprising: obtaining a first acceleration component and a second acceleration component of an accelerometer in a target rotary steering system at a target time, wherein the accelerometer is installed inside the drill string, and the first acceleration component belongs to the horizontal direction, and the second acceleration component belongs to the gravity direction; obtaining a first acceleration component sequence and a second acceleration component sequence of the accelerometer within a target time period, wherein the target time period includes the target time; respectively performing internal semantic mining on the first acceleration component sequence and the second acceleration component sequence, and performing associated fusion on the results of semantic mining to form a target acceleration semantic feature; decoding and outputting based on the target acceleration semantic feature to obtain a third acceleration component and a fourth acceleration component, wherein the third acceleration component belongs to the horizontal direction, and the fourth acceleration component belongs to the gravity direction; correcting the first acceleration component based on the third acceleration component to form a corresponding first corrected acceleration component, and correcting the second acceleration component based on the fourth acceleration component to form a corresponding second corrected acceleration component; determining the inclination angle of the drill string based on a ratio between the first corrected acceleration component and the second corrected acceleration component.
[0005] In a preferred selection of the present application, in the attitude measurement method of the rotary steerable system, the step of respectively performing internal semantic mining on the first acceleration component sequence and the second acceleration component sequence, and correlatively fusing the results of semantic mining to form a target acceleration semantic feature, comprises: performing multi-dimensional semantic mining on the first acceleration component sequence to form a plurality of first acceleration semantic features; performing multi-dimensional semantic mining on the second acceleration component sequence to form a plurality of second acceleration semantic features; for each of the first acceleration semantic features, performing first correlational fusion on the first acceleration semantic feature, other-dimensional first acceleration semantic features, and same-dimensional second acceleration semantic features to form a corresponding fused acceleration semantic feature; performing second correlational fusion on the fused acceleration semantic feature corresponding to each of the first acceleration semantic features to form a target acceleration semantic feature.
[0006] In a preferred selection of the present application, in the attitude measurement method of the rotary steerable system, the step of performing multi-dimensional semantic mining on the first acceleration component sequence to form a plurality of first acceleration semantic features, comprises: performing convolution mining on the first acceleration component sequence to form a first acceleration convolution feature; performing frequency domain conversion on the first acceleration component sequence to form a first acceleration frequency spectrum; performing convolution mining on the first acceleration frequency spectrum to form a first frequency spectrum convolution feature; determining the first acceleration convolution feature and the first frequency spectrum convolution feature as first acceleration semantic features respectively to form a plurality of first acceleration semantic features.
[0007] In a preferred selection of the present application, in the attitude measurement method of the rotary steerable system, the step of performing convolution mining on the first acceleration frequency spectrum to form a first frequency spectrum convolution feature, comprises: performing low-frequency offset masking on the first acceleration frequency spectrum to form a masked acceleration frequency spectrum; respectively, to form acceleration global semantic features and acceleration mask semantic features; respectively, to form acceleration global semantic features and acceleration mask semantic features; For each size of the acceleration global compression feature, based on the acceleration mask compression feature of the corresponding size, the acceleration global compression feature is subjected to attention processing to form the acceleration attention feature corresponding to the acceleration global compression feature; The fusion feature of the acceleration attention feature corresponding to each size of the acceleration global compression feature is subjected to gate mapping to form a gate mapping parameter; Based on the gate mapping parameter, the acceleration global semantic features are subjected to semantic information screening to form a first spectrum convolution feature.
[0008] In the preferred selection of the present application, in the attitude measurement method of the rotary steerable system, the step of, for each of the first acceleration semantic features, first associated fusion of the first acceleration semantic feature, first acceleration semantic features of other dimensions, and second acceleration semantic features of the same dimension, to form corresponding fusion acceleration semantic features, includes: For each of the first acceleration semantic features, linear mapping of the first acceleration semantic feature and first acceleration semantic features of other dimensions is performed respectively to form corresponding first linear mapping features and second linear mapping features, and the second linear mapping features are subjected to gate mapping to form corresponding gate mapping parameters, and based on the gate mapping parameters, the first linear mapping features are subjected to semantic information screening to form intra-dimension fusion semantic features; Based on the second acceleration semantic features of the same dimension, the intra-dimension fusion semantic features are subjected to attention processing to form corresponding fusion acceleration semantic features.
[0009] In the preferred selection of the present application, in the attitude measurement method of the rotary steerable system, the step of, for each of the first acceleration semantic features, first associated fusion of the first acceleration semantic features, first acceleration semantic features of other dimensions, and second acceleration semantic features of the same dimension, to form corresponding fusion acceleration semantic features, includes: Based on the fusion acceleration semantic features corresponding to the first acceleration semantic features, attention weight determination is performed on the fusion acceleration semantic features corresponding to the second acceleration semantic features to form a first attention weight parameter, and based on the first attention weight parameter, weighted summation calculation is performed on the fusion acceleration semantic features corresponding to the second acceleration semantic features to obtain a first associated semantic feature; mapping based on the first attention weight parameter to form a second attention weight parameter, and performing weighted summation calculation on the fusion acceleration semantic feature corresponding to the first first acceleration semantic feature based on the second attention weight parameter to obtain a second associated semantic feature; splicing, adding or mean calculation on the first associated semantic feature and the second associated semantic feature to form a target acceleration semantic feature.
[0010] In the preferred selection of the present application, in the attitude measurement method of the rotary steering system, the step of decoding output based on the target acceleration semantic feature to obtain a third acceleration component and a fourth acceleration component comprises: fully connected processing on the target acceleration semantic feature to form a fully connected semantic feature, wherein the size of the fully connected semantic feature is 1*2 or 2*1; linear mapping or identity mapping on the fully connected semantic feature to form a target mapping parameter, and determining a first parameter included in the target mapping parameter as the third acceleration component and a second parameter included in the target mapping parameter as the fourth acceleration component.
[0011] The present application also provides a rotary steering system attitude measurement system, comprising: An acceleration component acquisition module is configured to acquire a first acceleration component and a second acceleration component of an accelerometer in a target rotary steering system at a target time, wherein the accelerometer is installed in the interior of a drill string, and the first acceleration component belongs to a horizontal direction and the second acceleration component belongs to a gravity direction. A component sequence acquisition module is configured to acquire a first acceleration component sequence and a second acceleration component sequence of the accelerometer within a target time period, wherein the target time period includes the target time. A semantic mining and fusion module is configured to perform internal semantic mining on the first acceleration component sequence and the second acceleration component sequence respectively, and perform associated fusion on the results of semantic mining to form a target acceleration semantic feature. A semantic feature decoding module is configured to perform decoding output based on the target acceleration semantic feature to obtain a third acceleration component and a fourth acceleration component, wherein the third acceleration component belongs to a horizontal direction and the fourth acceleration component belongs to a gravity direction. An acceleration component correction module is configured to correct the first acceleration component based on the third acceleration component to form a corresponding first corrected acceleration component, and correct the second acceleration component based on the fourth acceleration component to form a corresponding second corrected acceleration component. The tilt angle determination module is configured to determine the tilt angle of the drill string based on a ratio between the first corrected acceleration component and the second corrected acceleration component.
[0012] On the basis of the above, the application further provides an electronic device, comprising: a memory for storing a computer program; a processor connected to the memory, configured to execute the computer program stored in the memory to implement the attitude measurement method of the rotary steerable system.
[0013] On the basis of the above, the application further provides a computer readable storage medium, which stores a computer program, and the computer program performs each step of the attitude measurement method of the rotary steerable system when running.
[0014] The application provides an attitude measurement method, system, device and medium of a rotary steerable system. First, the first acceleration component and the second acceleration component of an accelerometer in a target rotary steerable system at a target time are obtained. Second, the first acceleration component sequence and the second acceleration component sequence of the accelerometer within a target time period are obtained. Then, the first acceleration component sequence and the second acceleration component sequence are subjected to internal semantic mining respectively, and the results of the semantic mining are associated and fused to form a target acceleration semantic feature. After that, the target acceleration semantic feature is decoded and output to obtain the third acceleration component and the fourth acceleration component. Further, the first acceleration component is corrected based on the third acceleration component to form a corresponding first corrected acceleration component, and the second acceleration component is corrected based on the fourth acceleration component to form a corresponding second corrected acceleration component. Finally, the tilt angle of the drill string is determined based on the ratio between the first corrected acceleration component and the second corrected acceleration component. Based on the above, after the first acceleration component and the second acceleration component at the target time are obtained, the tilt angle is not directly determined based on the two acceleration components, but the first acceleration component sequence and the second acceleration component sequence within the target time period including the target time are subjected to semantic mining and associated fusion, so as to realize the capture and mining of potential semantic information, and realize the associated constraint of the semantic information of different acceleration components. In this way, the richness and representation accuracy of the semantic information can be taken into account, and the reliability of the acceleration component correction based on the decoded output acceleration component can be ensured, so that a reliable tilt angle can be obtained. Therefore, the problem of relatively low reliability of attitude measurement in the prior art can be improved. BRIEF DESCRIPTION OF DRAWINGS
[0015] In order to make the above-mentioned purposes, features and advantages of the application more obvious and easy to understand, the following preferred embodiments are specifically described in detail below, and the accompanying drawings are referred to.
[0016] Figure 1 A structural block diagram of an electronic device provided by an embodiment of the present application.
[0017] Figure 2 A schematic diagram of a posture measurement method of a rotary steering system provided by an embodiment of the present application.
[0018] Figure 3 A schematic diagram of multi-dimensional semantic mining provided by an embodiment of the present application.
[0019] Figure 4 A schematic diagram of convolution mining provided by an embodiment of the present application.
[0020] Figure 5 A schematic diagram of a posture measurement system of a rotary steering system provided by an embodiment of the present application. DETAILED DESCRIPTION
[0021] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application but not all the embodiments. The components of the embodiments of the present application described and shown in the drawings can be arranged and designed in various different configurations.
[0022] Therefore, the detailed description of the embodiments of the present application provided in the drawings below is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art without creative labor based on the embodiments in the present application are within the scope of protection of the present application.
[0023] As shown in Figure 1 The embodiments of the present application provide an electronic device. The electronic device can include a memory, a processor and a posture measurement system of a rotary steering system.
[0024] In detail, the memory and the processor are directly or indirectly electrically connected to realize data transmission or interaction. For example, the memory and the processor can be electrically connected through one or more communication buses or signal lines. The posture measurement system of the rotary steering system includes at least one software function module stored in the memory in the form of software or firmware. The processor is configured to execute the executable computer programs stored in the memory, for example, the software function modules and computer programs included in the posture measurement system of the rotary steering system, to realize the posture measurement method of the rotary steering system provided by the embodiments of the present application.
[0025] Optionally, the memory can be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electric Erasable Programmable Read-Only Memory (EEPROM) and the like.
[0026] In addition, the processor can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), a System on Chip (SoC) and the like; and can also be a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component.
[0027] It can be understood that, Figure 1 The structure shown is only schematic, and the electronic device can further include more or fewer components than those shown, or have a different configuration of components than those shown, such as further including a communication unit for information interaction with other devices (such as an accelerometer, etc.). Figure 1 It can be understood that, Figure 1 The structure shown is only schematic, and the electronic device can further include more or fewer components than those shown, or have a different configuration of components than those shown, such as further including a communication unit for information interaction with other devices (such as an accelerometer, etc.).
[0028] In combination with Figure 2 The embodiments of the present application also provide a posture measurement method of a rotary steering system applicable to the electronic device. The method steps defined by the flow of the posture measurement method of the rotary steering system can be implemented by the electronic device.
[0029] The specific flow shown in Figure 2 will be described in detail below.
[0030] In step S110, the first acceleration component and the second acceleration component of the accelerometer in the target rotary steering system at the target time are obtained.
[0031] In the embodiment of the present application, the electronic device can obtain a first acceleration component and a second acceleration component of an accelerometer in a target rotary steering system at a target time. The accelerometer is installed inside a drill string, and the first acceleration component is in the horizontal direction, and the second acceleration component is in the gravity direction. It should be noted that the target time can be the current time (correspondingly, the first acceleration component at the target time is the last horizontal direction acceleration component output by the accelerometer, and the second acceleration component at the target time is the last gravity direction acceleration component output by the accelerometer), or other time.
[0032] In step S120, a first acceleration component sequence and a second acceleration component sequence of the accelerometer in a target time period are obtained.
[0033] In the embodiment of the present application, the electronic device can also obtain a first acceleration component sequence and a second acceleration component sequence of the accelerometer in a target time period. The target time period includes the target time, for example, the target time can be the last time in the target time period, or the first time, or any intermediate time. In addition, it should be noted that the first acceleration component at the target time can be extracted from the first acceleration component sequence, or obtained separately, and the second acceleration component at the target time can be extracted from the second acceleration component sequence, or obtained separately.
[0034] In step S130, internal semantic mining is performed on the first acceleration component sequence and the second acceleration component sequence respectively, and the results of semantic mining are associated and fused to form a target acceleration semantic feature.
[0035] In the embodiment of the present application, after obtaining the first acceleration component sequence and the second acceleration component sequence, the electronic device can also perform internal semantic mining on the first acceleration component sequence and the second acceleration component sequence respectively, and associate and fuse the results of semantic mining to form a target acceleration semantic feature. That is, internal semantic mining can be performed on the first acceleration component sequence to form a first semantic mining result, and internal semantic mining can be performed on the second acceleration component sequence to form a second semantic mining result. Then, the first semantic mining result and the second semantic mining result can be associated and fused to form a target acceleration semantic feature.
[0036] In step S140, decoding output is performed based on the target acceleration semantic feature to obtain a third acceleration component and a fourth acceleration component.
[0037] In the embodiments of the present application, after the target acceleration semantic feature is formed, the electronic device can perform decoding output based on the target acceleration semantic feature to obtain a third acceleration component and a fourth acceleration component. The third acceleration component belongs to a horizontal direction (i.e., the first acceleration component corresponding to the target moment, the first acceleration component sequence), and the fourth acceleration component belongs to a gravity direction (i.e., the second acceleration component corresponding to the target moment, the second acceleration component sequence).
[0038] In step S150, the first acceleration component is corrected based on the third acceleration component to form a corresponding first corrected acceleration component, and the second acceleration component is corrected based on the fourth acceleration component to form a corresponding second corrected acceleration component.
[0039] In the embodiments of the present application, after the third acceleration component is obtained, the electronic device can correct the first acceleration component based on the third acceleration component to form a corresponding first corrected acceleration component, and correct the second acceleration component based on the fourth acceleration component to form a corresponding second corrected acceleration component. That is, the actual acceleration component is corrected based on the predicted acceleration component.
[0040] In step S160, the inclination angle of the drill string is determined based on the ratio between the first corrected acceleration component and the second corrected acceleration component.
[0041] In the embodiments of the present application, after the first corrected acceleration component and the second corrected acceleration component are obtained, the electronic device can determine the inclination angle of the drill string based on the ratio between the first corrected acceleration component and the second corrected acceleration component.
[0042] Based on the above, after the first acceleration component and the second acceleration component at the target moment are obtained, the inclination angle is not directly determined based on the two acceleration components, but semantic mining and associated fusion are performed based on the first acceleration component sequence and the second acceleration component sequence of the target time period including the target moment, so as to realize the capture and mining of potential semantic information, and realize the associated constraint of the semantic information of different acceleration components. In this way, the richness and representation accuracy of the semantic information can be taken into account, and the reliability of the acceleration component correction based on the decoding output can be ensured, so that a reliable inclination angle is obtained. Therefore, the problem that the reliability of the posture measurement in the prior art is relatively low can be improved.
[0043] In the first aspect, it should be noted that the specific manner of obtaining the first acceleration component and the second acceleration component of the accelerometer in the target rotary steerable system at the target time is not limited, and can be selected according to actual requirements.
[0044] For example, in an alternative implementation, the acceleration components of the accelerometer in the horizontal direction and the gravity direction at the target time can be obtained to obtain the first acceleration component and the second acceleration component. For another example, in another alternative implementation, the acceleration components of multiple accelerometers in the horizontal direction and the gravity direction at the target time can be obtained, and then, the mean value is calculated to obtain the first acceleration component and the second acceleration component.
[0045] In the second aspect, it should be noted that the specific manner of obtaining the first acceleration component sequence and the second acceleration component sequence of the accelerometer in the target time period is not limited, and can be selected according to actual requirements.
[0046] For example, in an alternative implementation, the first acceleration component at each time obtained before can be combined to form the first acceleration component sequence, and the second acceleration component at each time obtained before can be combined to form the second acceleration component sequence, that is, the target time period can be a time period from when the drill string starts to work to the current time. For another example, in another alternative implementation, the first acceleration component in the recent time obtained before can be combined to form the first acceleration component sequence, and the second acceleration component in the recent time obtained before can be combined to form the second acceleration component sequence, that is, the target time period can be a recent time period, and the specific time length is not limited, and can be configured according to actual requirements. For example, in consideration of the calculation amount, the time length of the target time period can be small, and in consideration of the calculation accuracy, the time length of the target time period can be large to ensure that more potential semantic information can be mined.
[0047] In the third aspect, it should be noted that the specific manner of forming the target acceleration semantic feature is not limited, and can be selected according to actual requirements.
[0048] For example, in an alternative implementation, in order to ensure that the target acceleration semantic feature formed can represent the acceleration components in two directions and can also take into account the richness and accuracy of semantic information, the above step S130 can further include steps S131, S132, S133 and S134, and the specific contents of each step are as follows.
[0049] Step S131, multi-dimension semantic mining is performed in the first acceleration component sequence to form a plurality of first acceleration semantic features.
[0050] In the embodiments of the present application, multi-dimension semantic mining can be performed in the first acceleration component sequence to form a plurality of first acceleration semantic features. For example, semantic mining can be performed in the time domain to form a corresponding first acceleration semantic feature, and for another example, semantic mining can be performed in the frequency domain to form a corresponding first acceleration semantic feature.
[0051] Step S132, multi-dimension semantic mining is performed in the second acceleration component sequence to form a plurality of second acceleration semantic features.
[0052] In the embodiments of the present application, multi-dimension semantic mining can be performed in the second acceleration component sequence to form a plurality of second acceleration semantic features. For example, semantic mining can be performed in the time domain to form a corresponding second acceleration semantic feature, and for another example, semantic mining can be performed in the frequency domain to form a corresponding second acceleration semantic feature. It should be noted that the manner of multi-dimension semantic mining in step S132 can be the same as the manner of multi-dimension semantic mining in step S131, and the specific mining manner can be referred to the relevant description hereinafter.
[0053] Step S133, for each of the first acceleration semantic features, the first acceleration semantic feature, other-dimension first acceleration semantic features, and same-dimension second acceleration semantic features are first associated and fused to form a corresponding fused acceleration semantic feature.
[0054] In the embodiments of the present application, after the plurality of first acceleration semantic features and the plurality of second acceleration semantic features are obtained, for each of the first acceleration semantic features, the first acceleration semantic feature, other-dimension first acceleration semantic features, and same-dimension second acceleration semantic features can be first associated and fused to form a corresponding fused acceleration semantic feature. For example, for a time-dimension first acceleration semantic feature, the first acceleration semantic feature, a frequency-dimension first acceleration semantic feature, and a time-dimension second acceleration semantic feature can be first associated and fused to form a first fused acceleration semantic feature. For another example, for a frequency-dimension first acceleration semantic feature, the first acceleration semantic feature, a time-dimension first acceleration semantic feature, and a frequency-dimension second acceleration semantic feature can be first associated and fused to form a second fused acceleration semantic feature.
[0055] Step S134, performing second associated fusion on the fusion acceleration semantic feature corresponding to each of the first acceleration semantic features to form a target acceleration semantic feature.
[0056] In the embodiments of the present application, after obtaining the fusion acceleration semantic feature corresponding to each of the first acceleration semantic features, the fusion acceleration semantic feature corresponding to each of the first acceleration semantic features can be subjected to second associated fusion to form a target acceleration semantic feature. For example, the first fusion acceleration semantic feature and the second fusion acceleration semantic feature can be subjected to second associated fusion to form a target acceleration semantic feature.
[0057] It can be understood that in the step S131, the specific manner of performing multi-dimensional semantic mining is not limited. For example, in an alternative embodiment, in order to ensure that the plurality of first acceleration semantic features mined can represent more detailed information, the step S131 can further include steps S131a, S131b, S131c and S131d, the specific contents of which are described below in conjunction with Figure 3 .
[0058] Step S131a, performing convolution mining on the first acceleration component sequence to form a first acceleration convolution feature.
[0059] In the embodiments of the present application, the first acceleration component sequence can be subjected to convolution mining to form a first acceleration convolution feature. For example, the convolution mining can be implemented through a convolution neural network layer, which can include convolution layer 1, pooling layer 1, fully connected layer 1, convolution layer 2, pooling layer 2 and fully connected layer 2 connected in sequence. Based on this, semantic mining of the first acceleration component sequence in the time domain dimension can be achieved.
[0060] Step S131b, performing frequency domain conversion on the first acceleration component sequence to form a first acceleration frequency spectrum.
[0061] In the embodiments of the present application, the first acceleration component sequence can be subjected to frequency domain conversion to form a first acceleration frequency spectrum. For example, the first acceleration component sequence can be subjected to Fourier transform to form a first acceleration frequency spectrum.
[0062] Step S131c, performing convolution mining on the first acceleration frequency spectrum to form a first frequency spectrum convolution feature.
[0063] In the embodiments of the present application, after the first acceleration frequency spectrum is obtained, the first acceleration frequency spectrum can be convoluted to form a first frequency spectrum convolution feature. Based on this, semantic mining of the first acceleration component sequence in the frequency domain dimension can be realized.
[0064] In the embodiments of the present application, after the first acceleration convolution feature and the first frequency spectrum convolution feature are obtained, the first acceleration convolution feature and the first frequency spectrum convolution feature can be determined as first acceleration semantic features respectively to form a plurality of first acceleration semantic features. It should be noted that the first acceleration convolution feature can be a first acceleration semantic feature in the time domain dimension, and the first frequency spectrum convolution feature can be a first acceleration semantic feature in the frequency domain dimension.
[0065] In the embodiments of the present application, after the first acceleration convolution feature and the first frequency spectrum convolution feature are obtained, the first acceleration convolution feature and the first frequency spectrum convolution feature can be determined as first acceleration semantic features respectively to form a plurality of first acceleration semantic features. It should be noted that the first acceleration convolution feature can be a first acceleration semantic feature in the time domain dimension, and the first frequency spectrum convolution feature can be a first acceleration semantic feature in the frequency domain dimension.
[0066] It can be understood that in the above step S131c, the specific manner of convoluting the first acceleration frequency spectrum is not limited, for example, in an alternative embodiment, in order to capture more detailed information in the process of convolution mining, and to avoid the problem of semantic distortion caused by the drift of the accelerometer, the above step S131c can further include steps c1, c2, c3, c4, c5 and c6, the specific contents of each step are as follows, combined with Figure 4 .
[0067] Step c1, the first acceleration frequency spectrum is subjected to low frequency offset masking to form a masked acceleration frequency spectrum.
[0068] In the embodiments of the present application, the first acceleration frequency spectrum can be subjected to low frequency offset masking to form a masked acceleration frequency spectrum. For example, a low frequency threshold can be configured according to actual conditions, and then the region corresponding to the low frequency threshold in the first acceleration frequency spectrum can be masked, such as being multiplied by a masking matrix (the size is the same as that of the first acceleration frequency spectrum), the value of the region corresponding to the low frequency threshold in the masking matrix is 0, and the value of the other regions is 1.
[0069] Step c2, the first acceleration frequency spectrum and the masked acceleration frequency spectrum are subjected to convolution processing respectively to form an acceleration global semantic feature and an acceleration masked semantic feature.
[0070] In the embodiments of the present application, after the masked acceleration frequency spectrum is formed, the first acceleration frequency spectrum and the masked acceleration frequency spectrum can be respectively subjected to convolution processing to form acceleration global semantic features and acceleration masked semantic features. For example, the first acceleration frequency spectrum can be subjected to convolution processing (which can be implemented by a convolution layer, a pooling layer and a full connection layer) to obtain acceleration global semantic features, and the masked acceleration frequency spectrum can be subjected to convolution processing to obtain acceleration masked semantic features.
[0071] In the embodiments of the present application, after the masked acceleration frequency spectrum is formed, the first acceleration frequency spectrum and the masked acceleration frequency spectrum can be respectively subjected to convolution processing to form acceleration global semantic features and acceleration masked semantic features. For example, the first acceleration frequency spectrum can be subjected to convolution processing (which can be implemented by a convolution layer, a pooling layer and a full connection layer) to obtain acceleration global semantic features, and the masked acceleration frequency spectrum can be subjected to convolution processing to obtain acceleration masked semantic features.
[0072] In the embodiments of the present application, after the masked acceleration frequency spectrum is formed, the first acceleration frequency spectrum and the masked acceleration frequency spectrum can be respectively subjected to convolution processing to form acceleration global semantic features and acceleration masked semantic features. For example, the first acceleration frequency spectrum can be subjected to convolution processing (which can be implemented by a convolution layer, a pooling layer and a full connection layer) to obtain acceleration global semantic features, and the masked acceleration frequency spectrum can be subjected to convolution processing to obtain acceleration masked semantic features.
[0073] In the embodiments of the present application, after the masked acceleration frequency spectrum is formed, the first acceleration frequency spectrum and the masked acceleration frequency spectrum can be respectively subjected to convolution processing to form acceleration global semantic features and acceleration masked semantic features. For example, the first acceleration frequency spectrum can be subjected to convolution processing (which can be implemented by a convolution layer, a pooling layer and a full connection layer) to obtain acceleration global semantic features, and the masked acceleration frequency spectrum can be subjected to convolution processing to obtain acceleration masked semantic features.
[0074] In the embodiments of the present application, after the masked acceleration frequency spectrum is formed, the first acceleration frequency spectrum and the masked acceleration frequency spectrum can be respectively subjected to convolution processing to form acceleration global semantic features and acceleration masked semantic features. For example, the first acceleration frequency spectrum can be subjected to convolution processing (which can be implemented by a convolution layer, a pooling layer and a full connection layer) to obtain acceleration global semantic features, and the masked acceleration frequency spectrum can be subjected to convolution processing to obtain acceleration masked semantic features.
[0075] Step c5, performing gating mapping on the fusion feature of the acceleration attention feature corresponding to the acceleration global compression feature of each size to form a gating mapping parameter.
[0076] In the embodiments of the present application, after obtaining the acceleration attention feature, the fusion feature of the acceleration attention feature corresponding to the acceleration global compression feature of each size can be performed gating mapping to form a gating mapping parameter. For example, the acceleration attention feature corresponding to the acceleration global compression feature of each size can be spliced, and the spliced result can be compressed to form a fusion feature. Then, the fusion feature can be linearly mapped by a fully connected layer (the size of the mapping result is the same as that of the acceleration global semantic feature), and finally, the linearly mapped result can be activated by a sigmiod function to form a gating mapping parameter.
[0077] Step c6, performing semantic information screening on the acceleration global semantic feature based on the gating mapping parameter to form a first frequency spectrum graph convolution feature.
[0078] In the embodiments of the present application, after forming the gating mapping parameter, the acceleration global semantic feature can be screened based on the gating mapping parameter to form a first frequency spectrum graph convolution feature. For example, the size of the gating mapping parameter can be the same as that of the acceleration global semantic feature, so that the gating mapping parameter and the acceleration global semantic feature can be multiplied by bit to form a corresponding first frequency spectrum graph convolution feature. Based on this, the attention processing can be performed on the first acceleration frequency spectrum graph and the masked acceleration frequency spectrum graph to mine the associated semantic information, that is, to effectively capture important semantic information. Then, based on the captured important semantic information, the semantic information in the first acceleration frequency spectrum graph can be screened based on a gating mechanism. Thus, compared with the scheme of directly gating screening two semantic features, the quality of the formed gating mapping parameter can be further improved, thereby realizing reliable semantic information screening and ensuring that the obtained first frequency spectrum graph convolution feature has high semantic representation accuracy.
[0079] It can be understood that in the above step S133, the specific manner of forming the corresponding fusion acceleration semantic feature by first association fusion is not limited, for example, in an alternative embodiment, in order to ensure that the accuracy and computational complexity of semantic information fusion are taken into account, the above step S133 can further include steps S133a and S133b, and the specific contents of each step are as follows.
[0080] Step S133a: For each of the first acceleration semantic features, the first acceleration semantic feature and the first acceleration semantic features of other dimensions are linearly mapped to form corresponding first linear mapping features and second linear mapping features. Then, the second linear mapping features are gated to form corresponding gated mapping parameters. Based on the gated mapping parameters, the first linear mapping features are semantically filtered to form intra-dimensional fused semantic features.
[0081] In this embodiment, for each first acceleration semantic feature, the first acceleration semantic feature (e.g., time domain dimension) and other dimensions of first acceleration semantic features (e.g., frequency domain dimension) can be linearly mapped (e.g., through a fully connected layer) to form corresponding first linear mapping features and second linear mapping features. Then, the second linear mapping features are gated (e.g., through functions such as sigmoid) to form corresponding gated mapping parameters. Based on the gated mapping parameters, the first linear mapping features are semantically filtered (e.g., by bitwise multiplication) to form intra-dimensional fused semantic features. In other words, for acceleration components in the same direction, since the semantic information is similar, fusion can be achieved through a gating mechanism.
[0082] Step S133b: Based on the second acceleration semantic features of the same dimension, attention processing is performed on the fused semantic features within the dimension to form corresponding fused acceleration semantic features.
[0083] In this embodiment, after forming the intra-dimensional fused semantic features, attention processing can be performed on the intra-dimensional fused semantic features based on the second acceleration semantic features of the same dimension (for example, when the first acceleration semantic features of other dimensions belong to the frequency domain dimension, the second acceleration semantic features of the same dimension belong to the time domain dimension), to form corresponding fused acceleration semantic features. In other words, an attention mechanism can be used to fuse acceleration components in different directions, ensuring the accuracy of the fusion.
[0084] It is understood that the specific method of performing the second association fusion to form the target acceleration semantic features in step S134 above is not limited. For example, in an alternative implementation, in order to balance the accuracy of semantic information fusion and the consumption of computing resources, step S134 above may further include steps S134a, S134b and S134c, the specific contents of each step are as follows.
[0085] In step S134a, attention weight determination is performed on the fusion acceleration semantic feature corresponding to the second first acceleration semantic feature based on the fusion acceleration semantic feature corresponding to the first first acceleration semantic feature, to form a first attention weight parameter, and weighted summation calculation is performed on the fusion acceleration semantic feature corresponding to the second first acceleration semantic feature based on the first attention weight parameter, to obtain a first associated semantic feature.
[0086] In the embodiments of the present application, attention weight determination can be performed on the fusion acceleration semantic feature corresponding to the second first acceleration semantic feature based on the fusion acceleration semantic feature corresponding to the first first acceleration semantic feature, to form a first attention weight parameter (such as the dot product between the query feature corresponding to the fusion acceleration semantic feature corresponding to the first first acceleration semantic feature and the transpose feature of the key feature corresponding to the fusion acceleration semantic feature corresponding to the second first acceleration semantic feature), and weighted summation calculation is performed on the value feature of the fusion acceleration semantic feature corresponding to the second first acceleration semantic feature based on the first attention weight parameter, to obtain a first associated semantic feature.
[0087] In step S134b, mapping is performed based on the first attention weight parameter, to form a second attention weight parameter, and weighted summation calculation is performed on the fusion acceleration semantic feature corresponding to the first first acceleration semantic feature based on the second attention weight parameter, to obtain a second associated semantic feature.
[0088] In the embodiments of the present application, after obtaining the first attention weight parameter, mapping (such as linear mapping) can also be performed based on the first attention weight parameter, to form a second attention weight parameter, and weighted summation calculation is performed on the fusion acceleration semantic feature corresponding to the first first acceleration semantic feature based on the second attention weight parameter, to obtain a second associated semantic feature. That is, since the first attention weight parameter and the second attention weight parameter actually have a certain relationship, and the calculation amount is large when attention weight parameter calculation is performed again, the second attention weight parameter can be directly obtained by mapping, thereby reducing the calculation amount.
[0089] In step S134c, the first associated semantic feature and the second associated semantic feature are spliced, added or mean calculated to form a target acceleration semantic feature.
[0090] In the embodiments of the present application, after obtaining the first associated semantic feature and the second associated semantic feature, the first associated semantic feature and the second associated semantic feature can be spliced, added or mean calculated to form a target acceleration semantic feature.
[0091] In the fourth aspect, it needs to be explained that the specific manner of decoding and outputting based on the target acceleration semantic feature in step S140 is not limited, and can be selected according to actual requirements.
[0092] For example, in an alternative embodiment, step S140 described above can further include the following contents: Firstly, full connection processing can be performed on the target acceleration semantic feature to form a full connection semantic feature, wherein the size of the full connection semantic feature is 1*2 or 2*1. Secondly, linear mapping or identity mapping (such as y=x) can be performed on the full connection semantic feature to form a target mapping parameter, and a first parameter included in the target mapping parameter is determined as the third acceleration component, and a second parameter included in the target mapping parameter is determined as the fourth acceleration component.
[0093] In the fifth aspect, it needs to be explained that the specific manner of correcting the acceleration components in step S150 is not limited, and can be selected according to actual requirements.
[0094] For example, in an alternative embodiment, mean or weighted sum calculation can be performed on the third acceleration component and the first acceleration component to obtain a first corrected acceleration component. And mean or weighted sum calculation can be performed on the fourth acceleration component and the second acceleration component to obtain a second corrected acceleration component.
[0095] In the sixth aspect, it needs to be explained that the specific manner of determining the inclination angle of the drill string in step S160 is not limited, and can be selected according to actual requirements.
[0096] For example, in an alternative embodiment, the ratio between the first corrected acceleration component and the second corrected acceleration component can be calculated, and then the ratio can be calculated based on an inverse tangent function to obtain the inclination angle of the drill string.
[0097] In combination Figure 5 The embodiments of the present application also provide a posture measurement system of a rotary steering system which can be applied to the electronic device described above. The posture measurement system of the rotary steering system can include an acceleration component acquisition module, a component sequence acquisition module, a semantic mining and fusion module, a semantic feature decoding module, an acceleration component correction module, and an inclination angle determination module.
[0098] In detail, the acceleration component obtaining module can be configured to obtain a first acceleration component and a second acceleration component of an accelerometer in the target rotary steerable system at a target moment, wherein the accelerometer is installed in the interior of the drill string, and the first acceleration component belongs to a horizontal direction, and the second acceleration component belongs to a gravity direction. In the embodiment of the present application, the acceleration component obtaining module can be configured to execute Figure 2 The step S110 is shown, and the related content of the acceleration component obtaining module can be referred to the foregoing description of the step S110.
[0099] In detail, the component sequence obtaining module can be configured to obtain a first acceleration component sequence and a second acceleration component sequence of the accelerometer in a target time period, wherein the target time period includes the target moment. In the embodiment of the present application, the component sequence obtaining module can be configured to execute Figure 2 The step S120 is shown, and the related content of the component sequence obtaining module can be referred to the foregoing description of the step S120.
[0100] In detail, the semantic mining and fusion module can be configured to respectively perform internal semantic mining on the first acceleration component sequence and the second acceleration component sequence, and perform associated fusion on the results of the semantic mining to form a target acceleration semantic feature. In the embodiment of the present application, the semantic mining and fusion module can be configured to execute Figure 2 The step S130 is shown, and the related content of the semantic mining and fusion module can be referred to the foregoing description of the step S130.
[0101] In detail, the semantic feature decoding module can be configured to perform decoding output based on the target acceleration semantic feature to obtain a third acceleration component and a fourth acceleration component, wherein the third acceleration component belongs to a horizontal direction, and the fourth acceleration component belongs to a gravity direction. In the embodiment of the present application, the semantic feature decoding module can be configured to execute Figure 2 The step S140 is shown, and the related content of the semantic feature decoding module can be referred to the foregoing description of the step S140.
[0102] In detail, the acceleration component correction module can be configured to correct the first acceleration component based on the third acceleration component to form a corresponding first corrected acceleration component, and correct the second acceleration component based on the fourth acceleration component to form a corresponding second corrected acceleration component. In the embodiment of the present application, the acceleration component correction module can be configured to execute Figure 2 The step S150 is shown, and the related content of the acceleration component correction module can be referred to the foregoing description of the step S150.
[0103] In detail, the inclination angle determining module can be configured to determine the inclination angle of the drill string based on a ratio between the first corrected acceleration component and the second corrected acceleration component. In the embodiments of the present application, the inclination angle determining module can be configured to perform the following steps Figure 2 The step S160 is shown, and the related content of the inclination angle determining module can be referred to the foregoing description of the step S160.
[0104] In the embodiments of the present application, corresponding to the above-mentioned attitude measurement method applied to the rotary steerable system of the electronic device, a computer readable storage medium is also provided, and the computer readable storage medium stores a computer program. When the computer program runs, it executes each step of the attitude measurement method of the rotary steerable system.
[0105] Wherein, each step executed by the computer program when running is not repeated here, and can be referred to the foregoing explanation and description of the attitude measurement method of the rotary steerable system.
[0106] In summary, the attitude measurement method, system, device and medium of the rotary steerable system provided by the present application, first, the first acceleration component and the second acceleration component of the accelerometer in the target rotary steerable system at the target time are obtained; secondly, the first acceleration component sequence and the second acceleration component sequence of the accelerometer within the target time period are obtained; then, the first acceleration component sequence and the second acceleration component sequence are respectively subjected to internal semantic mining, and the results of semantic mining are associated and fused to form a target acceleration semantic feature; thereafter, the target acceleration semantic feature is decoded and output to obtain a third acceleration component and a fourth acceleration component; further, the first acceleration component is corrected based on the third acceleration component to form a corresponding first corrected acceleration component, and the second acceleration component is corrected based on the fourth acceleration component to form a corresponding second corrected acceleration component; finally, the inclination angle of the drill string is determined based on the ratio between the first corrected acceleration component and the second corrected acceleration component. Based on the above, after obtaining the first acceleration component and the second acceleration component at the target time, the inclination angle is not directly determined based on the two acceleration components, but the first acceleration component sequence and the second acceleration component sequence within the target time period including the target time are subjected to semantic mining and associated fusion, so as to realize the capture and mining of potential semantic information, and realize the associated constraint of the semantic information of different acceleration components. In this way, the richness and representation accuracy of semantic information can be taken into account, and the reliability of the acceleration component correction based on the decoded output acceleration component can be ensured, so as to obtain a reliable inclination angle, and thus the problem of relatively low reliability of attitude measurement in the prior art can be improved.
[0107] In several embodiments provided by the embodiments of the present application, it should be understood that the disclosed apparatus and method can also be implemented by other manners. The apparatus and method embodiments described above are only illustrative. For example, the flowchart and block diagram in the drawings show the possible implementation architecture, function and operation of the apparatus, method and computer program product according to the embodiments of the present application. In this regard, each block in the flowchart or block diagram can represent a module, a program segment or a part of code, which includes one or more executable instructions for implementing the specified logic function. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in different order from that shown in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and sometimes they can be executed in reverse order, depending on the function involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for implementing the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0108] In addition, each functional module in the embodiments of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0109] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of a software product, and the computer software product is stored in a storage medium, and includes a number of instructions for causing a computer device (which can be a personal computer, an electronic device, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes. It should be noted that in this document, the terms "include", "contain" or any other variant thereof are intended to cover non-exclusive inclusion, so that the processes, methods, articles or devices that include a series of elements not only include those elements, but also include other elements not explicitly listed, or include elements inherent to such processes, methods, articles or devices. Without more limitations, the element defined by the statement "includes a" does not exclude the presence of another identical element in the process, method, article or device that includes the element.
[0110] The above descriptions are only the preferred embodiment of the present application, but not for limiting the present application. For those skilled in the art, the present application can have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method of attitude measurement for a rotary steerable system, the method comprising: The method comprises the following steps: obtaining a first acceleration component and a second acceleration component of an accelerometer in a target rotary steerable system at a target time, wherein the accelerometer is installed inside a drill string, and the first acceleration component belongs to a horizontal direction, and the second acceleration component belongs to a gravity direction; obtaining a first acceleration component sequence and a second acceleration component sequence of the accelerometer within a target time period, wherein the target time period includes the target time; respectively performing internal semantic mining on the first acceleration component sequence and the second acceleration component sequence, and performing associated fusion on the results of the semantic mining to form a target acceleration semantic feature; based on the target acceleration semantic feature, decoding and outputting to obtain a third acceleration component and a fourth acceleration component, wherein the third acceleration component belongs to a horizontal direction, and the fourth acceleration component belongs to a gravity direction; based on the third acceleration component, correcting the first acceleration component to form a corresponding first corrected acceleration component, and based on the fourth acceleration component, correcting the second acceleration component to form a corresponding second corrected acceleration component; based on the ratio between the first corrected acceleration component and the second corrected acceleration component, determining the inclination angle of the drill string.
2. The method of attitude measurement of a rotary steerable system of claim 1, wherein, The step of respectively performing internal semantic mining on the first acceleration component sequence and the second acceleration component sequence, and performing associated fusion on the results of the semantic mining to form a target acceleration semantic feature comprises: performing multi-dimensional semantic mining inside the first acceleration component sequence to form a plurality of first acceleration semantic features; performing multi-dimensional semantic mining inside the second acceleration component sequence to form a plurality of second acceleration semantic features; for each first acceleration semantic feature, performing first associated fusion on the first acceleration semantic feature, other-dimensional first acceleration semantic features, and second acceleration semantic features of the same dimension to form a corresponding fused acceleration semantic feature; performing second associated fusion on the fused acceleration semantic feature corresponding to each first acceleration semantic feature to form a target acceleration semantic feature.
3. The method of attitude measurement of a rotary steerable system according to claim 2, wherein, The step of performing multi-dimensional semantic mining inside the first acceleration component sequence to form a plurality of first acceleration semantic features comprises: performing convolution mining on the first acceleration component sequence to form a first acceleration convolution feature; performing frequency domain conversion on the first acceleration component sequence to form a first acceleration frequency spectrum; performing convolution mining on the first acceleration frequency spectrum to form a first frequency spectrum convolution feature; determining the first acceleration convolution feature and the first frequency spectrum convolution feature as first acceleration semantic features respectively to form a plurality of first acceleration semantic features.
4. The method of attitude measurement of a rotary steerable system according to claim 3, wherein, The step of performing convolution mining on the first acceleration frequency spectrum to form a first frequency spectrum convolution feature comprises: performing low-frequency offset masking on the first acceleration frequency spectrum to form a masked acceleration frequency spectrum; The first acceleration spectrum map and the occluded acceleration spectrum map are convolved respectively to form global acceleration semantic features and acceleration occlusion semantic features; Multiple compression operations of different sizes are performed on the global acceleration semantic features and the acceleration occlusion semantic features respectively to form global acceleration compressed features of multiple sizes and acceleration occlusion compressed features of multiple sizes; For each size of the global acceleration compression feature, based on the corresponding size of the acceleration occlusion compression feature, attention processing is performed on the global acceleration compression feature to form the acceleration attention feature corresponding to the global acceleration compression feature; The fused features of acceleration attention features corresponding to the global acceleration compression features of each size are gated and mapped to form gated mapping parameters. Based on the gating mapping parameters, semantic information is filtered from the global semantic features of acceleration to form the first spectrogram convolutional features.
5. The method of attitude measurement of a rotary steerable system of claim 2, wherein, The step of performing a first association fusion on each of the first acceleration semantic features, the first acceleration semantic features of other dimensions, and the second acceleration semantic features of the same dimension to form a corresponding fused acceleration semantic feature includes: For each of the first acceleration semantic features, the first acceleration semantic feature and the first acceleration semantic features of other dimensions are linearly mapped to form corresponding first linear mapping features and second linear mapping features. Then, the second linear mapping features are gated to form corresponding gated mapping parameters. Based on the gated mapping parameters, the first linear mapping features are filtered for semantic information to form intra-dimensional fused semantic features. Based on the second acceleration semantic features of the same dimension, attention processing is performed on the fused semantic features within the same dimension to form the corresponding fused acceleration semantic features.
6. The method of attitude measurement of a rotary steerable system of claim 2, wherein, The step of performing a second association fusion on the fused acceleration semantic features corresponding to each of the first acceleration semantic features to form the target acceleration semantic features includes: Based on the fused acceleration semantic feature corresponding to the first first acceleration semantic feature, attention weights are determined for the fused acceleration semantic feature corresponding to the second first acceleration semantic feature to form a first attention weight parameter. Based on the first attention weight parameter, a weighted summation is performed on the fused acceleration semantic feature corresponding to the second first acceleration semantic feature to obtain a first associated semantic feature. Based on the first attention weight parameter, a second attention weight parameter is formed by mapping; and based on the second attention weight parameter, a weighted summation is performed on the fused acceleration semantic feature corresponding to the first first acceleration semantic feature to obtain the second associated semantic feature. The first associated semantic feature and the second associated semantic feature are concatenated, added, or averaged to form the target acceleration semantic feature.
7. The method of attitude measurement of a rotary steerable system according to any one of claims 1 to 6, characterized in that, The step of decoding and outputting the target acceleration semantic features to obtain the third acceleration component and the fourth acceleration component includes: The target acceleration semantic feature is fully connected to form a fully connected semantic feature, wherein the size of the fully connected semantic feature is 1*2 or 2*1; The fully connected semantic feature is linearly mapped or identity mapped to form a target mapping parameter, and a first parameter included in the target mapping parameter is determined as a third acceleration component, and a second parameter included in the target mapping parameter is determined as a fourth acceleration component.
8. A posture measurement system of a rotary steering system, characterized by, Comprise: An acceleration component acquisition module is configured to acquire a first acceleration component and a second acceleration component of an accelerometer in a target rotary steerable system at a target time, wherein the accelerometer is installed in the interior of a drill string, and the first acceleration component belongs to a horizontal direction, and the second acceleration component belongs to a gravity direction; A component sequence acquisition module is configured to acquire a first acceleration component sequence and a second acceleration component sequence of the accelerometer in the target rotary steerable system at a target time period, wherein the target time period includes the target time; A semantic mining and fusion module is configured to respectively perform internal semantic mining on the first acceleration component sequence and the second acceleration component sequence, and perform associated fusion on the results of the semantic mining to form a target acceleration semantic feature; A semantic feature decoding module is configured to perform decoding output based on the target acceleration semantic feature to obtain a third acceleration component and a fourth acceleration component, wherein the third acceleration component belongs to a horizontal direction, and the fourth acceleration component belongs to a gravity direction; An acceleration component correction module is configured to correct the first acceleration component based on the third acceleration component to form a corresponding first corrected acceleration component, and correct the second acceleration component based on the fourth acceleration component to form a corresponding second corrected acceleration component; An inclination angle determination module is configured to determine the inclination angle of the drill string based on the ratio between the first corrected acceleration component and the second corrected acceleration component.
9. An electronic device, comprising: Comprise: A memory is configured to store a computer program; A processor connected with the memory is configured to execute the computer program stored in the memory to implement the attitude measurement method of the rotary steerable system according to any one of claims 1-7.
10. A computer readable storage medium characterized by The computer readable storage medium stores a computer program, and the computer program runs to execute the attitude measurement method of the rotary steerable system according to any one of claims 1-7.
Citation Information
Patent Citations
IMU attitude angle estimation method with high precision and anti-interference capability
CN111879325A
Near-bit measurement while drilling method, system and equipment and computer readable storage medium
CN114635690A
Method and system for dynamically measuring attitude while drilling
CN116641697A
Rotary steering drilling measurement and control method, system, equipment and medium
CN118030017A
Acceleration signal processing method, device and equipment for measurement while drilling and medium
CN119382669A