Method, system and related device for digital twinning playback of drilling engineering data

By constructing a visual digital wellbore and playing drilling playback data, the problem of difficulty in backtracking complex drilling processes in drilling data analysis is solved, and the accurate playback of the drilling process and accurate data restoration is achieved, which improves the accuracy of analysis and decision-making.

CN119083974APending Publication Date: 2024-12-06CHENGDU WEITAI SHUZHI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411228999.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

In the prior art, drilling data analysis is difficult to effectively backtrack and restore complex drilling processes, resulting in low analysis efficiency and inaccurate decision-making.

Method used

By obtaining real-time drilling data and logging data, a visual digital wellbore is constructed, the playback timeline is determined, and the drilling playback data is played based on this, including fitting the working condition status of the drill bit preset body and dynamically updating the display effect, and identifying abnormal events.

Benefits of technology

Accurate playback of the drilling process is achieved, the efficiency and accuracy of data analysis are improved, especially in complex geological conditions, which can accurately locate problems and support subsequent analysis and decision-making.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119083974A_ABST
    Figure CN119083974A_ABST
Patent Text Reader

Abstract

The invention discloses a drilling engineering data digital twinborn playback method and system and a related device, which are used for solving the problem that a complex drilling process cannot be effectively backtracked and restored in traditional drilling data analysis. The method comprises the following steps: acquiring real-time drilling data of a drilling site recorded by taking second as a unit; measuring a shaft to obtain well logging data, and creating a well track according to the well logging data; determining wellbore structure data according to the real-time drilling data and the logging data, wherein the wellbore structure data comprises lithology, a layer position, a casing layer sequence and well cementation opening times; constructing a visual digital wellbore according to the wellbore trajectory and the wellbore construction data; determining a playback time axis according to a playback time range, and screening well drilling playback data according to the playback time axis and the real-time well drilling data; and playing the well drilling playback data based on the playback time axis by taking the visual digital wellbore as a carrier.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of well engineering data processing, and in particular to a method, system and related devices for digital twin playback of drilling engineering data. Background Art

[0002] In modern drilling projects, as the complexity and risk of downhole operations increase, a large amount of real-time data is generated during the drilling process. These data include the movement of the drill bit, downhole pressure, wellbore trajectory and other key parameters, which are essential for real-time monitoring and decision-making. However, although a large amount of real-time data is generated during the drilling process, this data is often only used for immediate monitoring and simple post-analysis, lacking a systematic and effective playback mechanism.

[0003] When analyzing past drilling data, existing technologies often only provide static or simplified views. This limitation makes it difficult for engineers to fully understand what happened underground when reviewing the drilling process. Especially in drilling operations under complex geological conditions, it is impossible to accurately restore the operation scene at that time by replaying the data. This not only reduces the analysis efficiency of drilling data, but also may miss important underground information, thus affecting the accuracy of operation decisions. Summary of the invention

[0004] The present application provides a method, system and related devices for digital twin playback of drilling engineering data, which are used to solve the problem that traditional drilling data analysis cannot effectively trace back and restore complex drilling processes.

[0005] The first aspect of the present application provides a method for replaying a drilling engineering data digital twin, comprising:

[0006] Get real-time drilling data recorded in seconds at the drilling site;

[0007] Measuring the wellbore to obtain logging data, and creating a wellbore trajectory based on the logging data;

[0008] Determine wellbore structural data according to the real-time drilling data and the logging data, wherein the wellbore structural data includes lithology, strata, casing sequence and cementing opening times;

[0009] Constructing a visualized digital wellbore according to the wellbore trajectory and the wellbore structure data;

[0010] Determining a playback time axis according to the playback time range, and filtering the drilling playback data according to the playback time axis and the real-time drilling data;

[0011] The visualized digital wellbore is used as a carrier to play the drilling playback data based on the playback timeline.

[0012] Optionally, the drilling playback data includes drilling tool playback data, and the playing of the drilling playback data based on the playback timeline using the visualized digital wellbore as a carrier includes:

[0013] Creating a drilling tool assembly and initializing a drill bit preset body in the drilling tool assembly;

[0014] Fitting the working state of the preset drill bit body according to the drilling tool playback data;

[0015] The visualized digital wellbore is used as a carrier, and playback is performed based on the playback timeline in combination with the working conditions of the drilling tool assembly and the drill bit preset body.

[0016] Optionally, fitting the working state of the preset drill bit body according to the drilling tool playback data includes:

[0017] Determine the mapping position of the drill bit preset body on the spline curve of the wellbore trajectory through the drilling tool playback data;

[0018] The tangent direction of the spline curve is calculated at the mapping position, and the direction of the drill preform is adjusted according to the tangent direction.

[0019] Optionally, the method further includes:

[0020] Calculating the wear degree and fatigue state of the drill bit preset body based on the real-time drilling data;

[0021] The method of replaying the working state of the drilling tool assembly and the drill bit preset body based on the replay time axis and taking the visualized digital wellbore as a carrier includes:

[0022] The visualized digital wellbore is used as a carrier, playback is performed based on the playback timeline in combination with the working conditions of the drill tool assembly and the drill bit preset body, and the display effect of the drill bit preset body is dynamically updated according to the wear degree and fatigue state of the drill bit preset body.

[0023] Optionally, the method further includes:

[0024] Perform optimization analysis according to the working condition of the preset drill bit body to generate an optimized drilling path;

[0025] The optimized drilling path is displayed using the visualized digital wellbore as a carrier.

[0026] Optionally, the method further includes:

[0027] identifying and marking abnormal events and target features associated with the abnormal events in the drilling playback data, the abnormal events including abnormal pressure fluctuations, drill bit damage, abnormal mud flow and wellbore collapse;

[0028] The method of playing the drilling playback data based on the playback time axis using the visualized digital wellbore as a carrier includes:

[0029] The visualized digital wellbore is used as a carrier to play the drilling playback data based on the playback timeline, and the visualization of the abnormal events and the target features is dynamically enhanced.

[0030] Optionally, the drilling playback data also includes: ground hook height playback data, pool volume playback data, pump stroke playback data and pump operation status playback data.

[0031] The second aspect of the present application provides a system for replaying a digital twin of drilling engineering data, comprising:

[0032] An acquisition unit, used for acquiring real-time drilling data of a drilling site recorded in seconds;

[0033] A creation unit, used for measuring the wellbore to obtain logging data, and creating a wellbore trajectory according to the logging data;

[0034] A determination unit, configured to determine wellbore structural data according to the real-time drilling data and the logging data, wherein the wellbore structural data includes lithology, strata, casing sequence and cementing opening times;

[0035] A construction unit, used for constructing a visualized digital wellbore according to the wellbore trajectory and the wellbore structure data;

[0036] A screening unit, configured to determine a playback time axis according to a playback time range, and screen the drilling playback data according to the playback time axis and the real-time drilling data;

[0037] A playback unit is used to play the drilling playback data based on the playback timeline using the visualized digital wellbore as a carrier.

[0038] Optionally, the playback unit is specifically used for:

[0039] Creating a drilling tool assembly and initializing a drill bit preset body in the drilling tool assembly;

[0040] Fitting the working state of the preset drill bit body according to the drilling tool playback data;

[0041] The visualized digital wellbore is used as a carrier, and playback is performed based on the playback timeline in combination with the working conditions of the drilling tool assembly and the drill bit preset body.

[0042] Optionally, the playback unit is further configured to:

[0043] Determine the mapping position of the drill bit preset body on the spline curve of the wellbore trajectory through the drilling tool playback data;

[0044] The tangent direction of the spline curve is calculated at the mapping position, and the direction of the drill preform is adjusted according to the tangent direction.

[0045] Optionally, the system further includes:

[0046] A calculation unit, used for calculating the wear degree and fatigue state of the drill bit preset body based on the real-time drilling data;

[0047] The playback unit is further specifically used for:

[0048] The visualized digital wellbore is used as a carrier, playback is performed based on the playback timeline in combination with the working conditions of the drill tool assembly and the drill bit preset body, and the display effect of the drill bit preset body is dynamically updated according to the wear degree and fatigue state of the drill bit preset body.

[0049] Optionally, the system further includes:

[0050] The optimization unit is used to perform optimization analysis according to the working condition of the preset drill bit body to generate an optimized drilling path; and to display the optimized drilling path using the visualized digital wellbore as a carrier.

[0051] Optionally, the system further includes:

[0052] an identification unit, configured to identify and mark abnormal events and target features related to the abnormal events in the drilling playback data, wherein the abnormal events include abnormal pressure fluctuations, drill bit damage, abnormal mud flow and well wall collapse;

[0053] The playback unit is further specifically used for:

[0054] The visualized digital wellbore is used as a carrier to play the drilling playback data based on the playback timeline, and the visualization of the abnormal events and the target features is dynamically enhanced.

[0055] Optionally, the drilling playback data also includes: ground hook height playback data, pool volume playback data, pump stroke playback data and pump operation status playback data.

[0056] A third aspect of the present application provides a device for replaying a drilling engineering data digital twin, the device comprising:

[0057] Processor, memory, input-output unit, and bus;

[0058] The processor is connected to the memory, the input and output unit, and the bus;

[0059] The memory stores a program, and the processor calls the program to execute the first aspect and any optional method for digital twin playback of drilling engineering data in the first aspect.

[0060] The fourth aspect of the present application provides a computer-readable storage medium, on which a program is stored. When the program is executed on a computer, the method for digital twin playback of drilling engineering data according to the first aspect and any optional item in the first aspect is executed.

[0061] It can be seen from the above technical solutions that this application has the following advantages:

[0062] By organically combining the real-time data during the drilling process with the logging data, accurate wellbore trajectory and wellbore structure are generated, and a visual digital wellbore is constructed to present the downhole structure in three dimensions. On this basis, by determining the playback timeline and screening and playing the drilling playback data, the entire drilling playback process is made more accurate and efficient, avoiding information redundancy and ensuring the accurate restoration of key data.

[0063] This application uses digital twin technology to closely combine actual drilling data with virtual models, achieving accurate playback of the drilling process, solving the problem of being unable to effectively trace back and restore complex drilling processes in traditional drilling data analysis, and enabling relevant personnel to more intuitively and comprehensively understand various situations that occur during the drilling process. Especially when facing complex geological conditions, the problem can be accurately located through drilling playback, providing accurate support for subsequent analysis, optimization, and decision-making. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] In order to more clearly illustrate the technical solution in the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0065] Figure 1 A schematic diagram of an embodiment of a method for replaying a digital twin of drilling engineering data provided in this application;

[0066] Figure 2 A flowchart of another embodiment of the method for replaying the digital twin of drilling engineering data provided in this application;

[0067] Figure 3 A schematic diagram of the structure of an embodiment of a system for digital twin playback of drilling engineering data provided in this application;

[0068] Figure 4A schematic diagram of the structure of an embodiment of a device for digital twin playback of drilling engineering data provided in this application. DETAILED DESCRIPTION

[0069] The present application provides a method, system and related devices for digital twin playback of drilling engineering data, which are used to solve the problem that traditional drilling data analysis cannot effectively trace back and restore complex drilling processes.

[0070] It should be noted that the method for replaying the digital twin of drilling engineering data provided in this application can be applied to a terminal or a server. For example, the terminal can be a smart phone or a computer, a tablet computer, a smart TV, a smart watch, a portable computer terminal, or a fixed terminal such as a desktop computer. For the convenience of explanation, this application uses the system as an example for the execution subject.

[0071] See also Figure 1 , Figure 1 An embodiment of a method for replaying a digital twin of drilling engineering data provided in the present application includes:

[0072] 101. Obtain real-time drilling data of the drilling site recorded in seconds;

[0073] In drilling projects, drilling equipment will be equipped with high-precision sensors and data acquisition systems to monitor and record various parameters in downhole operations in real time. These sensors are installed on the derrick, big hook, pump, drill bit and other key locations to ensure that key data points in the entire drilling process are covered. In order to ensure the synchronization of data and the accuracy of playback, the system will collect data from all sensors in seconds and correspond it to the current timestamp. All data collected at the drilling site is real-time drilling data. The system will store the recorded real-time drilling data in CSV, JSON and other formats to facilitate subsequent data analysis and processing, ensuring fine-grained monitoring and analysis of dynamic changes in the drilling process.

[0074] Real-time drilling data includes but is not limited to: date and time, well name, vertical pressure, casing pressure, pump stroke, drilling pressure, current well depth, rotation speed, hook height, hook load, inlet density, outlet density, inlet temperature, outlet temperature, total pool volume, drill bit position, downhole drilling tool assembly and other parameters. By recording real-time drilling data at the drilling site, reliable data support can be provided for subsequent drilling playback.

[0075] 102. Measure the wellbore to obtain logging data, and create a wellbore trajectory based on the logging data;

[0076] In addition to recording real-time drilling data, it is also necessary to use special logging tools (such as inclinometers, azimuth meters, etc.) to measure the wellbore and obtain logging data. The logging data specifically includes the well depth, well inclination and azimuth of each measuring point. The well inclination refers to the inclination angle of the wellbore relative to the vertical direction, which affects the actual inclination of the wellbore; the azimuth refers to the rotation angle of the wellbore on the horizontal plane, which determines the horizontal direction of the wellbore. By analyzing and calculating the logging data, the wellbore trajectory of the entire wellbore can be obtained, which can reflect the actual path of the wellbore underground.

[0077] Specifically, the process of creating a wellbore trajectory can adopt the minimum curvature method, that is, the wellbore path is designed by minimizing the curvature change of the wellbore trajectory. First, the starting point and target point of the wellbore are determined, and then the movement of the wellbore in the three directions of X, Y, and Z at each depth is calculated based on the logging data and the incremental formula based on the minimum curvature method. The displacement of each measuring point is accumulated to the coordinates of the previous measuring point, thereby gradually constructing the three-dimensional coordinates of the wellbore. Starting from the initial coordinates of the wellhead, by continuously calculating and accumulating the displacement of each measuring point, the continuous coordinate points of the wellbore are gradually obtained, and then the calculated three-dimensional coordinate points are connected in sequence to form a three-dimensional trajectory of the wellbore.

[0078] 103. Determine the wellbore structural data based on real-time drilling data and logging data. The wellbore structural data includes lithology, layer position, casing sequence and cementing opening times;

[0079] Integrate real-time drilling data and logging data to determine the wellbore structure data, which can provide detailed geological and structural information for the construction of digital wellbore. The wellbore structure data includes lithology, layer position, casing sequence and cementing opening times, which are described below:

[0080] Lithology: The physical and chemical properties of rocks, including the composition, structure, color, etc. of the rocks. Specifically, the formation information recorded in the logging data can be used to determine the type and properties of rocks in the wellbore, and this can be achieved by analyzing the logging curves such as formation resistivity, acoustic wave velocity, density, etc.

[0081] Stratum: The vertical distribution level of a stratum, describing the geological age, lithology and geological characteristics of the stratum. Specifically, different stratigraphic levels can be identified by combining the depth information in the well logging data with the well depth recorded in the real-time drilling data;

[0082] Casing sequence: The order and configuration of casing installed during drilling, with the purpose of protecting the wellbore wall, preventing wellbore collapse, and isolating fluids in different formations. The sequence and configuration of casing can be determined based on the casing information recorded during drilling, combined with the casing pressure and depth information in real-time drilling data;

[0083] Cementing times: During the drilling process, cement slurry is injected into the wellbore to fix the casing. Cementing times refer to the specific stages and effects of each cementing operation. The specific layers and effects of each cementing can be determined based on the data during the cementing process (such as cementing pressure, time, etc.).

[0084] In addition, by matching real-time drilling data with logging data, the accuracy of geological and casing information obtained at a specific well depth can be ensured. Real-time drilling data comes from sensors of drilling equipment, such as well depth sensors, pressure sensors, etc., while logging data comes from downhole logging instruments, such as resistivity meters, sonic meters, etc. The well depth information in real-time drilling data and the stratigraphic layer data in logging data need to be matched within the same depth range. By aligning the two data in depth, the current well depth in the real-time drilling data is compared with the corresponding stratigraphic layer in the logging data, and then using timestamps or synchronization marks to ensure the consistency of real-time drilling data and logging data in time and space, so as to accurately match the data at the actual well depth. Furthermore, a data verification algorithm can be used for consistency checks to verify whether real-time drilling data and logging data provide consistent information at the same depth point. Through matching and verification, the accuracy of wellbore structure data can be ensured, data errors can be reduced, and data reliability can be improved.

[0085] 104. Construct a visualized digital wellbore based on the wellbore trajectory and wellbore structure data;

[0086] The wellbore trajectory describes the spatial path of the wellbore during the drilling process, and the wellbore structural data provides the geological structure and operation history inside the wellbore. First, the wellbore trajectory data is converted into a three-dimensional model, and the spatial path of the trajectory is represented as a 3D curve. For example, a spline curve (such as a B-spline curve) is used to describe the spatial path of the wellbore. Then the wellbore structural data is integrated into the digital wellbore model. Combined with information such as lithology, stratigraphy, casing sequence, and cementing opening times, the wellbore is modeled in detail, and the thickness of different rock layers, the distribution of casing, and the cementing layer sections are drawn. The above data is converted into a visual 3D model to construct a three-dimensional visual digital wellbore.

[0087] In this visualized digital wellbore, different lithologies are represented by different colors and textures, and a pipe model is used to represent the casing and cementing layers. The diameter, position and depth of the pipe should match the actual data. Users can rotate, zoom and move in the visualized digital wellbore to view various parts of the wellbore, and click on a specific location in the model to view detailed lithology, casing information and depth data.

[0088] By integrating the wellbore trajectory and wellbore structural data into a unified digital model, embedding the wellbore trajectory into the overall digital wellbore model, and combining it with lithology and casing information, the color and thickness of the wellbore trajectory can be used to distinguish different drilling stages or wellbore curves, thereby fully displaying the geological information and operation status of the wellbore.

[0089] 105. Determine the playback time axis according to the playback time range, and filter the drilling playback data according to the playback time axis and the real-time drilling data;

[0090] After the visualization of the digital wellbore is completed, drilling playback can be performed. Users can define the playback time range by themselves, that is, playback data from a specific time point to another time point, such as from "2024-08-01 10:00:00" to "2024-08-01 16:00:00". The system creates a time series object or data structure to represent the timeline based on the playback time range, which is used to represent the playback timeline. Each timestamp on the playback timeline corresponds to one or more data records. According to the playback timeline, the system can filter out all data records that match the playback time range from the real-time drilling data as drilling playback data.

[0091] In order to ensure the fluency and continuity of the data during playback, it may be necessary to interpolate or adjust the drilling playback data after filtering out the drilling playback data to ensure that the filtered drilling playback data is synchronized with each time point on the time axis.

[0092] 106. Using the visualized digital wellbore as a carrier, the drilling playback data is played based on the playback timeline.

[0093] The visualized digital wellbore and playback control tools are displayed through a user interface, which may include a playback timeline, playback control buttons (play, pause, stop, fast forward, fast rewind), zoom and slide functions, and the playback timeline may be presented in the form of a slider or a scroll bar. The time points on the playback timeline are mapped to the drilling playback data, and the display effects of various components in the visualized digital wellbore are dynamically updated according to the playback timeline and the drilling playback data, including but not limited to updating the position of the drill bit, wellbore trajectory, lithology changes, casing and cementing layer display effects, so that the drilling playback data can be truly presented in the visualized digital wellbore.

[0094] In this embodiment, by organically combining the real-time data in the drilling process with the logging data, accurate wellbore trajectories and wellbore structures are generated, and a visual digital wellbore is constructed to present the downhole structure in three dimensions. On this basis, by determining the playback timeline and screening and playing the drilling playback data, the entire drilling playback process is made more accurate and efficient, avoiding information redundancy and ensuring the accurate restoration of key data. Through digital twin technology, the actual drilling data is closely combined with the virtual model to achieve accurate playback of the drilling process, solving the problem of the inability to effectively trace back and restore the complex drilling process in traditional drilling data analysis, so that relevant personnel can more intuitively and comprehensively understand the various situations that occur during the drilling process. Especially in the face of complex geological conditions, the problem can be accurately located through drilling playback, providing accurate support for subsequent analysis, optimization and decision-making.

[0095] In other embodiments, abnormal events can also be highlighted during drilling playback to help users quickly identify and analyze problems. The system specifically performs the following steps:

[0096] Identify and mark abnormal events and target features related to abnormal events in drilling playback data, including abnormal pressure fluctuations, drill bit damage, abnormal mud flow and wellbore collapse; use visual digital wellbore as a carrier, play drilling playback data based on the playback timeline, and dynamically enhance the visualization of abnormal events and target features.

[0097] In this embodiment, the system uses a machine learning algorithm or a rule engine to analyze the drilling playback data and identify abnormal events. The algorithm can identify anomalies based on threshold detection, pattern recognition, or historical data comparison. These abnormal events may include abnormal pressure fluctuations, drill bit damage, abnormal mud flow, and wellbore collapse. The system extracts key target features from abnormal events, such as abnormal pressure values, damaged drill bit locations, abnormal mud flow readings, and specific locations of wellbore collapse, and records the timestamps and related data of abnormal events. When performing drilling playback, significant visual effects (such as color changes, flashing, and icon markings) are used to highlight abnormal events in the visualized digital wellbore. For example, abnormal pressure fluctuations can be represented by a red fluctuation line, drill bit damage can be represented by a warning sign, and dynamic charts or additional views are used to display detailed information on abnormal data (such as pressure fluctuation charts, drill bit status charts), and are updated synchronously during playback, so that users can quickly identify and locate key problems that occur during drilling and reduce the time for troubleshooting.

[0098] Drilling playback data includes but is not limited to: drilling tool playback data, ground hook height playback data, pool volume playback data, pump stroke playback data and pump operation status playback data. Using the visualized digital wellbore as a carrier, all drilling playback data are integrated into a unified digital model, so as to accurately playback the movement trajectory of the drilling tool, changes in ground operations, changes in the status of the pump and changes in other key operating parameters, and accurately restore the actual situation of the drilling operation. The following is an example of the playback implementation process of the drilling tool, please refer to Figure 2 , Figure 2 Another embodiment of the method for replaying the drilling engineering data digital twin provided in the present application includes:

[0099] 201. Obtaining real-time drilling data of the drilling site recorded in seconds;

[0100] 202. Measure the wellbore to obtain logging data, and create a wellbore trajectory based on the logging data;

[0101] 203. Determine the wellbore structural data based on the real-time drilling data and logging data, the wellbore structural data including lithology, layer position, casing sequence and cementing opening times;

[0102] 204. Construct a visualized digital wellbore based on the wellbore trajectory and wellbore structure data;

[0103] 205. Determine a playback time axis according to the playback time range, and filter the drilling tool playback data according to the playback time axis and the real-time drilling data;

[0104] In this embodiment, steps 201 to 205 are similar to steps 101 to 105 in the aforementioned embodiment, and are not described again here.

[0105] In this embodiment, the drilling tool playback data is mainly used as an example for description, so it is necessary to filter the drilling tool playback data in the real-time drilling data according to the playback time axis, including the movement state, position, speed and other information of the drilling tool.

[0106] 206. Create a drilling tool assembly and initialize a drill bit preset body in the drilling tool assembly;

[0107] By analyzing the downhole drill tool assembly parameters in the drilling playback data, the composition of the drill tool assembly can be determined. The drill tool assembly includes the drill bit model, screw model and other tool components. The system generates a drill tool assembly model according to the analysis results, matches the preset body of the corresponding component in the model library, and connects the head and tail of each component preset body to create a complete drill tool assembly model. After that, it is necessary to initialize the drill bit preset body in the drill tool assembly, that is, assign the drill bit preset body PDC according to the rotation speed in the drilling playback data, and restore the drill bit's 1:1 rotation speed through animation to ensure that it can accurately simulate the actual working state of the drill bit.

[0108] 207. Fitting the working state of the preset drill bit body according to the drilling tool playback data;

[0109] By analyzing the drill tool playback data, the actual working state of the drill bit preset body at different time points can be fitted. The working state is used to describe the actual working condition of the drill bit during the drilling process. The working state includes the speed, position, temperature, pressure, etc. of the drill bit. Specifically, the process of fitting the working state of the drill bit preset body according to the drill tool playback data includes:

[0110] 1) Determine the mapping position of the drill bit preset body on the spline curve of the wellbore trajectory through the drilling tool playback data;

[0111] The position of the drill bit preset body and the well depth can be determined by the drilling tool playback data, and the wellbore trajectory is represented as a spline curve. In order to accurately represent the position of the drill bit preset body on the wellbore trajectory, it is necessary to project the position of the drill bit preset body on the spline curve. First, define the wellbore trajectory as Spline, the well depth as the total length of the spline: total_length, and the distance between the current drill bit position and the wellhead: distance_to_travel;

[0112] During the mapping process, the arc length of the spline curve needs to be calculated first, in order to associate the length of the curve with the parameter t on the curve. Specifically, the arc length can be calculated by numerically integrating the spline curve, that is, dividing the curve into small segments, approximately calculating the length of each segment, and then adding these lengths. After obtaining the arc length, the parameter t corresponding to the required distance can be found. In order to speed up the search, the arc lengths corresponding to several t values ​​can be pre-calculated and stored in a table, each entry of which contains a t value and the corresponding arc length. By searching the pre-calculated table, the t value corresponding to the required distance distance_to_travel can be found:

[0113] #Known: spline, total_length, distance_to_travel

[0114] #Step 1: Precompute arc lengths for several t values

[0115] arc_length_table = []

[0116] for t in range(0,1,small_step):

[0117] length=calculate_arc_length(spline,t)

[0118] arc_length_table.append((t,length))

[0119] #Step 2: Find the t value corresponding to the given distance

[0120] desired_length=distance_to_travel

[0121] for iin range(len(arc_length_table)):

[0122] if arc_length_table[i][1]>=desired_length:

[0123] t = arc_length_table[i][0]

[0124] break

[0125] Once the corresponding parameter t is determined, the position of the point t on the spline curve can be evaluated using the evaluation function of the spline curve, and the result obtained is the mapping position of the drill bit preset body on the wellbore trajectory.

[0126] #Step 3: Evaluate the spline at point t

[0127] location=evaluate_spline(spline,t).

[0128] 2) calculating the tangent direction of the spline curve at the mapping position, and adjusting the direction of the drill preform according to the tangent direction;

[0129] The tangent vector is the direction vector of the straight line tangent to the curve at a certain point on the curve. In drilling engineering, this vector indicates the extension direction of the wellbore trajectory at that point. By taking the derivative of the spline curve, the first-order derivative of the curve at parameter t is obtained. This derivative vector is the tangent vector, which reflects the local rate of change of the wellbore trajectory at that point. The tangent vector is normalized to obtain the unit tangent vector. By adjusting the direction vector of the drill bit preform according to the unit tangent vector in the tangent direction, it can be ensured that the drill bit preform drills according to the predetermined path of the wellbore trajectory during playback.

[0130] #Step 4: Calculate the derivative of the spline curve at point t

[0131] tangent_vector=evaluate_spline_derivative(spline,t)

[0132] #Step 5: Normalize the tangent vector

[0133] tangent_vector_normalized=normalize_vector(tangent_vector);

[0134] Among them, the evaluate_spline_derivative(spline,t) function is used to calculate the first-order derivative of the spline curve at t, that is, the tangent vector; the normalize_vector(tangent_vector) function is used to normalize the tangent vector, that is, divide it by its modulus to obtain a unit vector.

[0135] By mapping the depth information of the drill bit preset body to the position on the wellbore trajectory, it is possible to achieve close integration with the actual three-dimensional trajectory of the wellbore during the playback process, display the actual position and path of the drill bit in the wellbore, and accurately reflect the steering and inclination of the drill bit in different well sections, thereby improving the accuracy and realism of the playback.

[0136] 208. Using the visualized digital wellbore as a carrier, playback is performed based on the playback timeline combined with the working status of the drilling tool assembly and the drill bit preset body;

[0137] The drilling tool playback data contains the drill bit position (depth) and speed information at each moment. Combined with the working condition of the drill bit preset body, the rotation animation of the drill bit preset body in the visualized digital wellbore is updated, and the speed value in the drilling playback data is analyzed and converted into the rotation speed of the drill bit preset body in the visualized digital wellbore. During the playback process, as the playback timeline advances, the system continuously and dynamically updates the position of the drilling tool assembly in the visualized digital wellbore and the position and speed of the drill bit preset body according to the latest drilling tool playback data and the working condition of the drill bit preset body, providing intuitive and dynamic drilling playback.

[0138] In some specific embodiments, the wear degree and fatigue state of the preset drill body can also be synchronously displayed during playback. The system specifically performs the following steps:

[0139] The wear degree and fatigue status of the drill bit preset body are calculated based on real-time drilling data; using the visualized digital wellbore as the carrier, playback is performed based on the playback timeline combined with the working status of the drill tool assembly and the drill bit preset body, and the display effect of the drill bit preset body is dynamically updated according to the wear degree and fatigue status of the drill bit preset body.

[0140] In practical applications, an empirical model of drill bit wear and fatigue can be established based on engineering experience and historical data, and real-time drilling data can be input into the empirical model to calculate the real-time wear degree and fatigue state of the drill bit preset body. The calculated wear and fatigue state information is integrated into the visualized digital wellbore model, and the display effect of the drill bit preset body in the digital wellbore is dynamically updated. The visual effects of wear and fatigue, such as color changes and material degradation effects, can be synchronously displayed in the rotation animation of the drill bit preset body, further improving the simulation effect of drilling playback.

[0141] 209. Perform optimization analysis based on the working condition of the preset drill bit body to generate an optimized drilling path;

[0142] In this embodiment, the system can perform multi-dimensional optimization analysis based on the working condition of the drill bit preset body, combined with real-time drilling data and historical data. The analysis process includes a comprehensive evaluation of key parameters such as the drill bit speed, drilling pressure, and stress distribution of the drill tool assembly to identify potential problems or inefficient links in the current drilling path. Based on the results of the optimization analysis, the system generates one or more optimized drilling paths. These paths will provide more efficient and safer drilling solutions based on the simulation and data analysis of the working conditions.

[0143] 210. Use visual digital wellbore as a carrier to display the optimized drilling path.

[0144] The system displays both the original drilling path and the generated optimized drilling path in the visualized digital wellbore, and compares them through different colors, line types or dynamic effects, so that users can intuitively see the improvements of the optimized drilling path during playback and understand the advantages of the optimized drilling path under complex geological conditions.

[0145] The following is a detailed description of the system for digital twin playback of drilling engineering data provided by this application. Figure 3 , Figure 3 Another embodiment of the system for digital twin playback of drilling engineering data provided by the present application includes:

[0146] An acquisition unit 301 is used to acquire real-time drilling data of a drilling site recorded in seconds;

[0147] A creation unit 302 is used to measure the wellbore to obtain logging data, and create a wellbore trajectory according to the logging data;

[0148] A determination unit 303 is used to determine wellbore structural data according to real-time drilling data and logging data, wherein the wellbore structural data includes lithology, layer position, casing sequence and cementing opening number;

[0149] A construction unit 304, used to construct a visualized digital wellbore according to the wellbore trajectory and wellbore structure data;

[0150] A screening unit 305, for determining a playback time axis according to a playback time range, and screening drilling playback data according to the playback time axis and real-time drilling data;

[0151] The playback unit 306 is used to play the drilling playback data based on the playback time axis using the visualized digital wellbore as a carrier.

[0152] Optionally, the playback unit 306 is specifically configured to:

[0153] Create a drilling tool assembly and initialize the drill preset body in the drilling tool assembly;

[0154] Fit the working condition of the drill bit preset body according to the drilling tool playback data;

[0155] Using the visualized digital wellbore as the carrier, playback is performed based on the playback timeline combined with the working status of the drilling tool assembly and the drill bit preset body.

[0156] Optionally, the playback unit 306 is further configured to:

[0157] Determine the mapping position of the drill bit preset body on the spline curve of the wellbore trajectory through the drilling tool playback data;

[0158] The tangent direction of the spline curve is calculated at the mapped position, and the direction of the drill preform is adjusted according to the tangent direction.

[0159] Optionally, the system further includes:

[0160] A calculation unit 307, used to calculate the wear degree and fatigue state of the preset body of the drill bit based on the real-time drilling data;

[0161] The playback unit 306 is further specifically used for:

[0162] Using the visualized digital wellbore as the carrier, playback is performed based on the playback timeline in combination with the working conditions of the drill tool assembly and the drill bit preset body, and the display effect of the drill bit preset body is dynamically updated according to the wear degree and fatigue state of the drill bit preset body.

[0163] Optionally, the system further includes:

[0164] The optimization unit 308 is used to perform optimization analysis according to the working condition of the preset drill bit body, generate an optimized drilling path, and display the optimized drilling path using a visualized digital wellbore as a carrier.

[0165] Optionally, the system further includes:

[0166] An identification unit 309 is used to identify and mark abnormal events and target features related to abnormal events in the drilling playback data, wherein the abnormal events include abnormal pressure fluctuations, drill bit damage, abnormal mud flow and well wall collapse;

[0167] The playback unit 306 is further specifically used for:

[0168] Using the visualized digital wellbore as a carrier, the drilling playback data is played based on the playback timeline, and the visualization of abnormal events and target features is dynamically enhanced.

[0169] Optionally, the drilling playback data also includes: ground hook height playback data, pool volume playback data, pump stroke playback data and pump operation status playback data.

[0170] In this embodiment, the functions of each unit are the same as those described above. Figure 1 Or the steps in the method embodiment shown in 2 correspond to each other and will not be repeated here.

[0171] This application also provides a device for replaying drilling engineering data digital twins, please refer to Figure 4 , Figure 4 An embodiment of a device for replaying a digital twin of drilling engineering data provided in this application includes:

[0172] Processor 401, memory 402, input and output unit 403, bus 404;

[0173] The processor 401 is connected to the memory 402, the input and output unit 403 and the bus 404;

[0174] The memory 402 stores a program, and the processor 401 calls the program to execute any of the above methods for replaying the digital twin of drilling engineering data.

[0175] The present application also relates to a computer-readable storage medium, on which a program is stored. When the program is run on a computer, the computer executes any of the above methods for digital twin playback of drilling engineering data.

[0176] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0177] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0178] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0179] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0180] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.

Claims

1. A method for replaying digital twins of drilling engineering data, characterized in that: The method comprises: Get real-time drilling data recorded in seconds at the drilling site; Measuring the wellbore to obtain logging data, and creating a wellbore trajectory based on the logging data; Determine wellbore structural data according to the real-time drilling data and the logging data, wherein the wellbore structural data includes lithology, strata, casing sequence and cementing opening times; Constructing a visualized digital wellbore according to the wellbore trajectory and the wellbore structure data; Determining a playback time axis according to the playback time range, and filtering the drilling playback data according to the playback time axis and the real-time drilling data; The visualized digital wellbore is used as a carrier to play the drilling playback data based on the playback timeline.

2. The method according to claim 1, characterized in that The drilling playback data includes drilling tool playback data, and the playing of the drilling playback data based on the playback time axis using the visualized digital wellbore as a carrier includes: Creating a drilling tool assembly and initializing a drill bit preset body in the drilling tool assembly; Fitting the working state of the preset drill bit body according to the drilling tool playback data; The visualized digital wellbore is used as a carrier, and playback is performed based on the playback timeline in combination with the working conditions of the drilling tool assembly and the drill bit preset body.

3. The method according to claim 2, characterized in that The step of fitting the working state of the preset drill bit body according to the drilling tool playback data comprises: Determine the mapping position of the drill bit preset body on the spline curve of the wellbore trajectory through the drilling tool playback data; The tangent direction of the spline curve is calculated at the mapping position, and the direction of the drill preform is adjusted according to the tangent direction.

4. The method according to claim 2, characterized in that: The method further comprises: Calculating the wear degree and fatigue state of the drill bit preset body based on the real-time drilling data; The method of replaying the working state of the drilling tool assembly and the drill bit preset body based on the replay time axis and taking the visualized digital wellbore as a carrier includes: The visualized digital wellbore is used as a carrier, playback is performed based on the playback timeline in combination with the working conditions of the drill tool assembly and the drill bit preset body, and the display effect of the drill bit preset body is dynamically updated according to the wear degree and fatigue state of the drill bit preset body.

5. The method according to claim 2, characterized in that: The method further comprises: Perform optimization analysis according to the working condition of the preset drill bit body to generate an optimized drilling path; The optimized drilling path is displayed using the visualized digital wellbore as a carrier.

6. The method according to claim 1, characterized in that The method further comprises: identifying and marking abnormal events and target features associated with the abnormal events in the drilling playback data, the abnormal events including abnormal pressure fluctuations, drill bit damage, abnormal mud flow and wellbore collapse; The method of playing the drilling playback data based on the playback time axis using the visualized digital wellbore as a carrier includes: The visualized digital wellbore is used as a carrier to play the drilling playback data based on the playback timeline, and the visualization of the abnormal events and the target features is dynamically enhanced.

7. The method according to any one of claims 1 to 6, characterized in that The drilling playback data also includes: ground hook height playback data, pool volume playback data, pump stroke playback data and pump operation status playback data.

8. A system for replaying digital twins of drilling engineering data, characterized in that: The system comprises: An acquisition unit, used for acquiring real-time drilling data of a drilling site recorded in seconds; A creation unit, used for measuring the wellbore to obtain logging data, and creating a wellbore trajectory according to the logging data; A determination unit, configured to determine wellbore structural data according to the real-time drilling data and the logging data, wherein the wellbore structural data includes lithology, strata, casing sequence and cementing opening times; A construction unit, used for constructing a visualized digital wellbore according to the wellbore trajectory and the wellbore structure data; A screening unit, configured to determine a playback time axis according to a playback time range, and screen the drilling playback data according to the playback time axis and the real-time drilling data; A playback unit is used to play the drilling playback data based on the playback timeline using the visualized digital wellbore as a carrier.

9. A device for replaying digital twins of drilling engineering data, characterized in that: The device comprises: Processor, memory, input-output unit, and bus; The processor is connected to the memory, the input and output unit, and the bus; The memory stores a program, and the processor calls the program to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a program stored thereon, wherein the program, when executed on a computer, performs the method according to any one of claims 1 to 7.