A method for constructing a three-dimensional twin scene of smart water conservancy
By obtaining the historical terrain data and current terrain images of the river, combined with the internal friction angle and deformation modulus of the soil, the three-dimensional scene of the river is corrected, which solves the problems of one-sidedness and low definition of the river monitoring method in the existing technology, and generates a more realistic and accurate 3D twin scenes.
Patent Information
- Application Number
- CN202410994610.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-07-24
AI Technical Summary
Existing river monitoring methods are mainly unilateral data monitoring, which cannot fully understand the three-dimensional situation of the river. Moreover, the clarity of river monitoring through human observation is low and cannot reflect the overall situation of the river.
This paper proposes a method to construct a smart water conservancy three-dimensional twin scene. By obtaining the real-time terrain image of the river at the current moment and the real-time terrain data at the historical moment, the real-time terrain image is corrected, a CAD drawing of the river is generated, and the final three-dimensional scene is generated using Civil 3D software. , combined with the friction angle and deformation modulus within the soil of the river channel, the terrain image is corrected to reflect the stability and elasticity characteristics of the river channel, and the curvature and color of the three-dimensional scene are corrected to ensure that the generated three-dimensional scene is more realistic and objective.
The generated three-dimensional scene not only reflects the current situation of the river, but also combines the changes in the river over a period of time to ensure the accuracy and authenticity of the scene. It is generated with the help of three-dimensional software and CAD drawing to ensure the accuracy of the scene. .
Smart Images

Figure CN118521729B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of water conservancy data technology, and specifically relates to a method for constructing a smart water conservancy three-dimensional twin scene. Background Art
[0002] At present, the research of engineering hydraulics usually requires comprehensive monitoring due to the complexity and three-dimensionality of water flow conditions. Most of the existing river monitoring adopts single-item monitoring, such as riverbed monitoring, water level monitoring, water surface monitoring and water pollution monitoring. Most of these methods use data for unilateral monitoring; another existing river research method is to directly observe and study through river monitoring videos, which has low clarity and cannot understand the overall situation of the river. Therefore, it is necessary to carry out three-dimensional modeling of the river to reflect the real situation of the river. Summary of the invention
[0003] In order to solve the above problems, the present invention proposes a method for constructing a smart water conservancy three-dimensional twin scene.
[0004] The technical solution of the present invention is: a method for constructing a smart water conservancy three-dimensional twin scene comprises the following steps:
[0005] S1, obtaining the current topographic image of the river and the real-time topographic data of the river at historical moments;
[0006] S2. According to the real-time topographic data of the river at the historical moment, the real-time topographic image of the river at the current moment is corrected to obtain a topographic survey map of the river;
[0007] S3. Determine the CAD drawing of the river course based on the topographic survey map of the river course;
[0008] S4. Based on the CAD drawing of the river channel, a final three-dimensional scene of the river channel is generated.
[0009] In S3, the CAD survey map of the river is usually a three-dimensional drawing generated by surveying and drawing technology based on the actual river topography, landform and hydrological conditions.
[0010] Furthermore, in S1, the real-time topographic data of the river channel at each historical moment includes the internal friction angle of the soil on both sides of the river channel at each historical moment and the deformation modulus of the river channel at each historical moment.
[0011] Furthermore, S2 includes the following sub-steps:
[0012] S21. Determine the overall deformation stability of the river channel based on the internal friction angle of the soil on both sides of the river channel at various historical moments;
[0013] S22. Determine the overall elasticity of the river channel based on the deformation modulus of the river channel at each historical moment;
[0014] S23. According to the overall deformation stability and overall elasticity of the river channel, the topographic real scene image of the river channel at the current moment is corrected to obtain a topographic survey map of the river channel.
[0015] Furthermore, in S21, the calculation formula of the overall deformation stability S of the river channel is:
[0016] ; In the formula; α i-1_L represents the internal friction angle of the soil on one side of the river channel at the i-1th moment, α i-1_R represents the internal friction angle of the soil on the other side of the river channel at the i-1th moment, α i_L represents the internal friction angle of the soil on one side of the river channel at the i-th moment, α i_R represents the internal friction angle of the soil on the other side of the river channel at the i-th moment, α i+1_L represents the internal friction angle of the soil on one side of the river channel at the i+1th moment, α i+1_R represents the internal friction angle of the soil on the other side of the river channel at the i+1th moment, and I represents the historical duration.
[0017] The beneficial effect of the above further scheme is: in the present invention, there are a lot of soil and rocks on both sides of the river channel, and the friction between the soil and the rocks can reflect the stability of the soil, so it can also reflect the stability of both sides of the river channel from the side. By analyzing the stability of the river channel at each historical moment, the deformation degree of the river channel and the river bank can be determined, and the deformation degree can be used to correct the topographic real-scene image at the current moment, so that the topographic survey map obtained by S2 can better reflect the changes of the river channel over a whole period of time, rather than simply reflecting the situation of the river channel at the current moment. In addition, the deformation modulus of the river channel can reflect the elastic characteristics of the river channel soil, reflect the compressive strength of the river channel, and can also reflect the changes of the river channel over a whole period of history, so it also participates in the correction of the topographic real-scene image.
[0018] Furthermore, in S22, the calculation formula of the overall elasticity E of the river channel is:
[0019] ; In the formula, m i represents the deformation modulus of the river channel at the i-th moment, max(·) represents the maximum value function, H i represents the water level of the river at the i-th moment, S i represents the slope displacement of the river channel at the i-th moment, A i represents the Xiecai coefficient of the river channel at the i-th moment, ln(·) represents the logarithmic function, Represents the ceiling function.
[0020] Furthermore, in S23, the method for correcting the topographic real-scene image of the river channel at the current moment is specifically as follows: extracting the actual slope angle of the river channel in the topographic real-scene image of the river channel at the current moment, and taking the product of the actual slope angle and the overall deformation stability as the final slope angle of the river channel in the topographic real-scene image; extracting the actual river channel width of the river channel in the topographic real-scene image of the river channel at the current moment, and taking the product of the actual river channel width and the overall elasticity as the final width of the river channel in the topographic real-scene image, to obtain a topographic measurement map of the river channel.
[0021] In the real-life topographic image of the river channel at the current moment, the angle between the river channel slope and the horizontal plane, namely the slope angle, can be reflected.
[0022] Further, S4 includes the following sub-steps:
[0023] S41, inputting the CAD drawing of the river into Civil 3D software to generate a preliminary three-dimensional scene of the river;
[0024] S42, extracting the basic terrain surface of the preliminary three-dimensional scene;
[0025] S43, correcting the basic terrain surface of the preliminary three-dimensional scene;
[0026] S44, performing color correction on the preliminary three-dimensional scene;
[0027] S45. After completing the basic terrain surface correction and color correction, the final three-dimensional scene of the river is generated.
[0028] The beneficial effect of the above further scheme is that in the present invention, Civil 3D software uses the measurement data to realize automatic mapping, and the surface image of the river channel can be extracted from the preliminary three-dimensional scene as the basic terrain surface, which can reflect the curvature of the river channel. The curvature and color of the river channel are corrected, so that the curvature of the river channel is closer to the actual situation and the color is more realistic.
[0029] Further, S43 includes the following sub-steps:
[0030] S431, extracting the starting point and the end point of the river channel centerline of the basic terrain surface, and determining the position coordinates of the starting point and the end point on the basic terrain surface;
[0031] S432, extracting a plurality of turning points from the basic terrain surface, and determining a correction coefficient of the river channel according to the plurality of turning points;
[0032] S433, determining the final position coordinates of the starting point and the end point of the center line of the river channel on the basic terrain surface according to the correction coefficient of the river channel;
[0033] S434, determining the curvature of the river channel based on the final position coordinates of the starting point and the end point of the centerline of the river channel on the basic terrain surface, and completing the correction of the basic terrain surface.
[0034] The beneficial effect of the above further scheme is: in the present invention, the centerline of the river refers to a virtual line that runs through the river in the plane layout of the river and reflects the main flow direction of the river. It is usually located at the geometric center of the river or the position with the highest flow velocity, and is intended to represent the main axis of the river. The curvature of the river is related to the length of the centerline of the river. Therefore, after determining the starting and ending points of the center point of the river, the curvature of the river can be determined, thereby completing the correction of the basic terrain surface. The mean of the horizontal coordinate of the starting point position of the river and the correction coefficient is used as the final horizontal coordinate of the starting point position, and the mean of the vertical coordinate of the starting point position of the river and the correction coefficient is used as the final vertical coordinate of the starting point position; the mean of the horizontal coordinate of the end point position of the river and the correction coefficient is used as the final horizontal coordinate of the end point position, and the mean of the vertical coordinate of the end point position of the river and the correction coefficient is used as the final vertical coordinate of the end point position.
[0035] Furthermore, the calculation formula of the correction coefficient ρ of the river channel is:
[0036] ; In the formula, Q K It represents the curvature of the kth turning point in the base terrain surface, and K represents the number of turning points in the base terrain surface.
[0037] Furthermore, in S44, the preliminary three-dimensional scene is subjected to denoising to complete color correction.
[0038] The beneficial effects of the present invention are as follows: the present invention discloses a method for constructing a smart water conservancy three-dimensional twin scene, which combines the terrain data of the river at historical moments to correct the real-life terrain map of the river at the current moment, ensuring that the generation of the final three-dimensional scene does not only rely on the river conditions at the current moment, but is combined with the soil changes of the river over a whole period of time. Therefore, the final three-dimensional scene generated by the present invention is more real and objective; and three-dimensional software and CAD drawing are used to assist scene generation to ensure scene accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 This is a flow chart of the method for constructing a three-dimensional twin scene of smart water conservancy. DETAILED DESCRIPTION
[0040] The embodiments of the present invention will be further described below in conjunction with the accompanying drawings.
[0041] like Figure 1 As shown, the present invention provides a method for constructing a smart water conservancy three-dimensional twin scene, comprising the following steps:
[0042] S1, obtaining the current topographic image of the river and the real-time topographic data of the river at historical moments;
[0043] S2. According to the real-time topographic data of the river at the historical moment, the real-time topographic image of the river at the current moment is corrected to obtain a topographic survey map of the river;
[0044] S3. Determine the CAD drawing of the river course based on the topographic survey map of the river course;
[0045] S4. Based on the CAD drawing of the river channel, a final three-dimensional scene of the river channel is generated.
[0046] In S3, the CAD survey map of the river is usually a three-dimensional drawing generated by surveying and drawing technology based on the actual river topography, landform and hydrological conditions.
[0047] In the embodiment of the present invention, in S1, the real-time topographic data of the river channel at historical moments include the internal friction angle of the soil on both sides of the river channel at various historical moments and the deformation modulus of the river channel at various historical moments.
[0048] In this embodiment of the present invention, S2 includes the following sub-steps:
[0049] S21. Determine the overall deformation stability of the river channel based on the internal friction angle of the soil on both sides of the river channel at various historical moments;
[0050] S22. Determine the overall elasticity of the river channel based on the deformation modulus of the river channel at each historical moment;
[0051] S23. According to the overall deformation stability and overall elasticity of the river channel, the topographic real scene image of the river channel at the current moment is corrected to obtain a topographic survey map of the river channel.
[0052] In the embodiment of the present invention, in S21, the calculation formula of the overall deformation stability S of the river channel is:
[0053] ; In the formula; α i-1_L represents the internal friction angle of the soil on one side of the river channel at the i-1th moment, α i-1_R represents the internal friction angle of the soil on the other side of the river channel at the i-1th moment, α i_L represents the internal friction angle of the soil on one side of the river channel at the i-th moment, α i_R represents the internal friction angle of the soil on the other side of the river channel at the i-th moment, α i+1_L represents the internal friction angle of the soil on one side of the river channel at the i+1th moment, α i+1_R represents the internal friction angle of the soil on the other side of the river channel at the i+1th moment, and I represents the historical duration.
[0054] In the present invention, there are a lot of soil and rocks on both sides of the river channel. The friction between the soil and the rocks can reflect the stability of the soil, so it can also reflect the stability of both sides of the river channel from the side. By analyzing the stability of the river channel at each historical moment, the deformation degree of the river channel and the river bank can be determined. The deformation degree can correct the topographic real scene image at the current moment, so that the topographic survey map obtained by S2 can better reflect the changes of the river channel over a whole period of time, rather than simply reflecting the situation of the river channel at the current moment. In addition, the deformation modulus of the river channel can reflect the elastic characteristics of the river channel soil, reflect the compressive strength of the river channel, and can also reflect the changes of the river channel over a whole period of history, so it also participates in the correction of the topographic real scene image.
[0055] In the embodiment of the present invention, in S22, the calculation formula of the overall elasticity E of the river channel is:
[0056] ; In the formula, m i represents the deformation modulus of the river channel at the i-th moment, max(·) represents the maximum value function, H i represents the water level of the river at the i-th moment, S i represents the slope displacement of the river channel at the i-th moment, A i represents the Xiecai coefficient of the river channel at the i-th moment, ln(·) represents the logarithmic function, Represents the ceiling function.
[0057] In an embodiment of the present invention, in S23, the method for correcting the topographic real scene image of the river channel at the current moment is specifically: extracting the actual slope angle of the river channel in the topographic real scene image of the river channel at the current moment, and taking the product of the actual slope angle and the overall deformation stability as the final slope angle of the river channel in the topographic real scene image; extracting the actual river channel width of the river channel in the topographic real scene image of the river channel at the current moment, and taking the product of the actual river channel width and the overall elasticity as the final width of the river channel in the topographic real scene image, to obtain a topographic measurement map of the river channel.
[0058] In the real-life topographic image of the river channel at the current moment, the angle between the river channel slope and the horizontal plane, namely the slope angle, can be reflected.
[0059] In this embodiment of the present invention, S4 includes the following sub-steps:
[0060] S41, inputting the CAD drawing of the river into Civil 3D software to generate a preliminary three-dimensional scene of the river;
[0061] S42, extracting the basic terrain surface of the preliminary three-dimensional scene;
[0062] S43, correcting the basic terrain surface of the preliminary three-dimensional scene;
[0063] S44, performing color correction on the preliminary three-dimensional scene;
[0064] S45. After completing the basic terrain surface correction and color correction, the final three-dimensional scene of the river is generated.
[0065] In the present invention, Civil 3D software uses the measurement data to realize automatic mapping, and the surface image of the river channel can be extracted from the preliminary three-dimensional scene as the basic terrain surface, which can reflect the curvature of the river channel. The curvature and color of the river channel are corrected, so that the curvature of the river channel is closer to the actual situation and the color is more realistic.
[0066] In this embodiment of the present invention, S43 includes the following sub-steps:
[0067] S431, extracting the starting point and the end point of the river channel centerline of the basic terrain surface, and determining the position coordinates of the starting point and the end point on the basic terrain surface;
[0068] S432, extracting a plurality of turning points from the basic terrain surface, and determining a correction coefficient of the river channel according to the plurality of turning points;
[0069] S433, determining the final position coordinates of the starting point and the end point of the center line of the river channel on the basic terrain surface according to the correction coefficient of the river channel;
[0070] S434, determining the curvature of the river channel based on the final position coordinates of the starting point and the end point of the centerline of the river channel on the basic terrain surface, and completing the correction of the basic terrain surface.
[0071] In the present invention, the centerline of a river channel refers to a virtual line that runs through the entire river in the plane layout of the river and reflects the main flow direction of the river. It is usually located at the geometric center of the river channel or the position with the highest flow velocity, and is intended to represent the main axis of the river. The curvature of the river channel is related to the length of the centerline of the river channel. Therefore, after determining the starting and ending points of the center point of the river channel, the curvature of the river channel can be determined, thereby completing the correction of the basic terrain surface. The mean of the horizontal coordinate of the starting point position of the river channel and the correction coefficient is used as the final horizontal coordinate of the starting point position, and the mean of the vertical coordinate of the starting point position of the river channel and the correction coefficient is used as the final vertical coordinate of the starting point position; the mean of the horizontal coordinate of the end point position of the river channel and the correction coefficient is used as the final horizontal coordinate of the end point position, and the mean of the vertical coordinate of the end point position of the river channel and the correction coefficient is used as the final vertical coordinate of the end point position.
[0072] In the embodiment of the present invention, the calculation formula of the correction coefficient ρ of the river channel is:
[0073] ; In the formula, Q K It represents the curvature of the kth turning point in the base terrain surface, and K represents the number of turning points in the base terrain surface.
[0074] In the embodiment of the present invention, in S44, the preliminary three-dimensional scene is subjected to denoising to complete color correction.
[0075] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.
Claims
1. A method for constructing a smart water conservancy three-dimensional twin scene, characterized in that: The following steps are involved: S1, obtaining the current topographic image of the river and the real-time topographic data of the river at historical moments; S2. According to the real-time topographic data of the river at the historical moment, the real-time topographic image of the river at the current moment is corrected to obtain a topographic survey map of the river; S3. Determine the CAD drawing of the river course based on the topographic survey map of the river course; S4, generating the final three-dimensional scene of the river based on the CAD drawing of the river; In S1, the real-time topographic data of the river channel at each historical moment includes the internal friction angle of the soil on both sides of the river channel at each historical moment and the deformation modulus of the river channel at each historical moment; The S2 comprises the following sub-steps: S21. Determine the overall deformation stability of the river channel based on the internal friction angle of the soil on both sides of the river channel at various historical moments; S22. Determine the overall elasticity of the river channel based on the deformation modulus of the river channel at each historical moment; S23, according to the overall deformation stability and overall elasticity of the river channel, the topographic real scene image of the river channel at the current moment is corrected to obtain a topographic survey map of the river channel; In S21, the overall deformation stability of the river channel S The calculation formula is: ; In the formula; α i-1_L Indicates i The internal friction angle of the soil on one side of the river channel at -1, α i-1_R Indicates i The internal friction angle of the soil on the other side of the river channel at -1, α i_L Indicates i The internal friction angle of the soil on one side of the river channel at that moment, α i_R Indicates i The internal friction angle of the soil on the other side of the river channel at that moment, α i+1_L Indicates i The internal friction angle of the soil on one side of the river channel at time +1, α i+1_R Indicates i The internal friction angle of the soil on the other side of the river channel at time +1, I Indicates the historical duration; In S22, the overall elasticity of the river channel E The calculation formula is: ; In the formula, m i Indicates i The deformation modulus of the river channel at time max (·) represents the maximum value function, H i Indicates i The water level of the river at that moment, S i Indicates i The slope displacement of the river channel at time A i Indicates i The Xiecai coefficient of the river at that moment, ln (·) represents the logarithmic function, represents the ceiling function; In the above S23, the method for correcting the topographic real scene image of the river channel at the current moment is specifically as follows: extracting the actual slope angle of the river channel in the topographic real scene image of the river channel at the current moment, and taking the product of the actual slope angle and the overall deformation stability as the final slope angle of the river channel in the topographic real scene image; extracting the actual river channel width of the river channel in the topographic real scene image of the river channel at the current moment, and taking the product of the actual river channel width and the overall elasticity as the final width of the river channel in the topographic real scene image, to obtain a topographic survey map of the river channel.
2. The method for constructing a smart water conservancy three-dimensional twin scene according to claim 1 is characterized in that: The S4 comprises the following sub-steps: S41, inputting the CAD drawing of the river into Civil 3D software to generate a preliminary three-dimensional scene of the river; S42, extracting the basic terrain surface of the preliminary three-dimensional scene; S43, correcting the basic terrain surface of the preliminary three-dimensional scene; S44, performing color correction on the preliminary three-dimensional scene; S45. After completing the basic terrain surface correction and color correction, the final three-dimensional scene of the river is generated.
3. The method for constructing a smart water conservancy three-dimensional twin scene according to claim 2 is characterized in that: The S43 comprises the following sub-steps: S431, extracting the starting point and the end point of the river channel centerline of the basic terrain surface, and determining the position coordinates of the starting point and the end point on the basic terrain surface; S432, extracting a plurality of turning points from the basic terrain surface, and determining a correction coefficient of the river channel according to the plurality of turning points; S433, determining the final position coordinates of the starting point and the end point of the center line of the river channel on the basic terrain surface according to the correction coefficient of the river channel; S434, determining the curvature of the river channel based on the final position coordinates of the starting point and the end point of the centerline of the river channel on the basic terrain surface, and completing the correction of the basic terrain surface.
4. The method for constructing a smart water conservancy three-dimensional twin scene according to claim 2 is characterized in that: Correction factor for the river channel ρ The calculation formula is: ; In the formula, Q K Represents the first k The curvature of the turning point, K Represents the number of turning points of the underlying terrain surface.
5. The method for constructing a smart water conservancy three-dimensional twin scene according to claim 2 is characterized in that: In S44, the preliminary three-dimensional scene is subjected to denoising to complete color correction.
Citation Information
Patent Citations
Reduction modeling method of water culture historical image based on digital twinborn basin
CN117710599A
Sluice informatization system construction method based on digital twin technology
CN118332832A
Method and arrangement for mapping a road and accident avoidance system
GB0123688D0
