Method for calculating celestial body orbit of Baoshu adaptive step length gravitational dynamics
Through the error analysis of the fixed step integrator SQQ in the celestial motion solution, an adaptive step-length strategy is constructed, and the adaptive step-length integrated is realized, which solves the problem of low efficiency of the fixed step-length integrator and improves the calculation efficiency and precision, suitable for complex celestial motion prediction.
Patent Information
- Application Number
- CN202410933694.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-11-01
AI Technical Summary
Most of the existing integrators for solving celestial motions are fixed steps, resulting in low resolution efficiency, especially failure when dealing with strongly changing systems, and loss of Baoxin characteristics after integration of adaptive time step technology.
Based on the error analysis of the fixed step integrator SQQ, an adaptive step size selection method was proposed, and an adaptive step size strategy was constructed based on the dynamic model. Baoxin's adaptive step size gravitational dynamics celestial orbit calculation method was obtained, and the error estimation was selected. Appropriate time steps to achieve adaptive step size stimulation integral.
It improves the efficiency and accuracy of celestial motion prediction calculation and the ability to deal with complex problems. It is more efficient and more accurate than the traditional non-sincident variable step size algorithm.
Smart Images

Figure CN118886196A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of celestial body motion prediction, and in particular to a symplectic adaptive step-length gravitational dynamics celestial body orbit calculation method. Background Art
[0002] Hamiltonian systems are widely present in solar system dynamics. Symplecticity is a characteristic of Hamiltonian systems. Compared with non-symplectic integrators, the numerical results obtained by symplectic integrators maintain long-term stability. Therefore, symplectic integrators are the first choice for solving solar system dynamics problems. However, for strongly varying systems, such as high eccentricity, encounter or hyperbolic Kepler problems, fixed-step symplectic integrators become inefficient or even fail. In addition, most symplectic algorithms lose their symplectic properties when directly integrated with adaptive time stepping techniques.
[0003] Currently, there is an urgent need for an adaptive step-size symplectic integrator suitable for solving celestial motion problems. Summary of the invention
[0004] In view of this, in order to solve the technical problem that most of the existing integrators used for solving celestial motion have fixed step sizes, which leads to low solving efficiency, the present invention is based on an existing widely used fixed step size integrator SQQ, performs error analysis on it, proposes an adaptive step size selection method suitable for SQQ, and combines this method with SQQ to obtain a symplectic adaptive step size gravitational dynamics celestial body orbit calculation method, the method comprising the following steps:
[0005] Obtaining information of all celestial bodies in the celestial system and constructing a dynamic model of the celestial system;
[0006] Based on the error theory of fixed-step integrator, an adaptive step-size strategy is constructed;
[0007] Combining the fixed step-size integrator with the adaptive step-size strategy, an adaptive step-size symplectic integrator is obtained;
[0008] Based on the dynamic model, the adaptive step-size symplectic integrator is used to solve and obtain the motion of the celestial body.
[0009] The information of celestial bodies includes their positions, velocities and masses; the integrator solves and returns the motion of all celestial bodies in the system over a certain period of time in the future (the output is the changes in the velocities and positions of all celestial bodies over time during the total integration time).
[0010] In some embodiments, the step of solving the dynamic model using the adaptive step-size symplectic integrator to obtain the motion of the celestial body specifically includes:
[0011] Set the total integration time and constraint parameters;
[0012] The total integration time, constraint parameters and information of all celestial bodies in the celestial body system are input into the adaptive step-size symplectic integrator, and the corresponding step size is selected based on the error estimation to calculate the motion of the celestial body within a preset time period.
[0013] In some embodiments, the constraint parameters include an upper limit on energy error and a number of interpolation points.
[0014] In some embodiments, the rule for selecting the corresponding step size based on the error estimate is:
[0015] When αR≤ε k ≤R, τ k+1 =τ k ;
[0016] When ε k <αR,
[0017] Among them, the ε k represents the energy error of the kth step, R represents the upper limit of the energy error, α represents the first weight parameter, τ k represents the step size of the kth step, τ k+1 represents the step size of the k+1th step, β represents the second weight parameter, and n represents the number of interpolation points.
[0018] In some embodiments, the rule for selecting the corresponding step size based on the error estimate further includes:
[0019] When ε k >R, in, Indicates the new step size.
[0020] A system applied to the above-mentioned symplectic adaptive step-size gravitational dynamics celestial body orbit calculation method, the system comprising:
[0021] A model building module, used to obtain information of all celestial bodies in the celestial system and build a dynamic model of the celestial system;
[0022] The step size selection module builds an adaptive step size strategy based on the error theory of the fixed step size integrator;
[0023] An integrator building module, used for combining the fixed step-size integrator and the adaptive step-size strategy to obtain an adaptive step-size symplectic integrator;
[0024] The integrator solving module uses the adaptive step-size symplectic integrator to solve the dynamic model and obtain the motion of the celestial body.
[0025] Based on the above scheme, the present invention provides a symplectic adaptive step-size gravitational dynamics celestial body orbit calculation method, and designs an adaptive variable step-size selection strategy for the fixed step-size integrator SQQ. First, the error of the fixed step-size integrator SQQ is estimated, an error estimation expression is proposed, and based on the comparison between the error estimation expression and the expected calculation result, the time step of each step is obtained, thereby establishing a symplectic integrator with an adaptive step-size. The introduction of the adaptive step-size can not only handle the complex problems that are difficult to calculate with the fixed step-size integrator, but also has higher efficiency and accuracy than the traditional non-symplectic variable step-size algorithm, making it suitable for the prediction and calculation of celestial body motion. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a flowchart of the steps of a symplectic adaptive step-size gravitational dynamics celestial body orbit calculation method of the present invention;
[0027] Figure 2 It is a flow chart of an adaptive step-size symplectic integrator according to a specific embodiment of the present invention. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0029] It should be noted that, for the convenience of description, only the parts related to the relevant invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other.
[0030] It should be understood that the "system", "device", "unit" and / or "module" used in this application is a method for distinguishing different components, elements, parts, portions or assemblies at different levels. However, if other words can achieve the same purpose, the word can be replaced by other expressions.
[0031] Unless the context clearly indicates an exception, the words "a", "an", "a kind" and / or "the" do not refer to the singular, but also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of clearly identified steps and elements, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements. The elements defined by the sentence "includes a..." do not exclude the existence of other identical elements in the process, method, commodity or device that includes the elements.
[0032] In the description of the embodiments of the present application, "plurality" means two or more than two. The following terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.
[0033] In addition, flow charts are used in the present application to illustrate the operations performed by the system according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, the various steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes, or a certain step or several steps of operations may be removed from these processes.
[0034] Reference Figure 1 , is a flow chart of an optional example of a symplectic adaptive step-size gravitational dynamics celestial body orbit calculation method proposed in the present invention, which can be applied to computer equipment. The prediction method proposed in this embodiment may include but is not limited to the following steps:
[0035] Step S1, obtaining information of all celestial bodies in a celestial system, and constructing a dynamic model of the celestial system;
[0036] Step S2: construct an adaptive step-size strategy based on the error theory of the fixed-step-size integrator;
[0037] Step S3, combining the fixed step-size integrator and the adaptive step-size strategy to obtain an adaptive step-size symplectic integrator;
[0038] Step S4: Based on the dynamic model, the adaptive step-size symplectic integrator is used to solve and obtain the motion of the celestial body.
[0039] In some feasible embodiments, the step S4 specifically includes:
[0040] S4.1. Set the total integration time and constraint parameters;
[0041] S4.2. Input the total integration time, constraint parameters and information of all celestial bodies in the celestial system into the adaptive step-size symplectic integrator, select the corresponding step size based on the error estimation, and calculate the motion of the celestial bodies within the preset time period.
[0042] Specifically, the fixed-step integrator SQQ uses a polynomial in the interval [t a ,t b ] Approximating any function f(t) on t has the following error estimate:
[0043]
[0044] in, represents the Chebyshev polynomial approximation, E f represents the interpolation error, ξ∈[t a ,t b ]. In SQQ, the generalized displacement is approximated by Chebyshev polynomials, so the interpolation error is:
[0045]
[0046] Where τ = t b -t a For the convenience of analysis, it is assumed that
[0047]
[0048] Next, we will introduce a step size selection method based on error theory.
[0049] In the kth solution interval [t a ,t b ], time step τ k =t b -t a , the corresponding energy error is ε k , the upper limit of the energy error is R. The time step τ is required k It cannot be too large, that is, the energy error must be less than or equal to the upper error limit:
[0050] ε k ≤R(1.4)
[0051] In addition, in order to ensure that the time step is not too small, that is, the energy error is not too small
[0052] αR≤ε k (1.5)
[0053] Among them, 0<α<<1. If R k If (1.4) and (1.5) are satisfied at the same time, then the time step τ is considered to be k is reasonable, neither too small to increase the amount of calculation nor too long to cause too large an error. The calculation procedure is to enter the next step of calculation, and
[0054] τ k+1 =τ k (1.6)
[0055] If ε k If (1.4) is satisfied but (1.5) is not satisfied, then the k solution intervals [t a ,t b ] is successful, but the time step is too conservative, so the next step size τk+1 Should be appropriately compared to τ k According to formula (1.3),
[0056]
[0057] q (n) is a function of time. Assume that within two consecutive time steps, q (n) is a constant, then from the calculated R k And the relationship (1.2) can estimate q (n) The size of τ k+1 This provides a feasible method. From formula (1.7), we can get
[0058]
[0059] and
[0060]
[0061] Substituting equation (1.8) into (1.9) we get
[0062]
[0063] Combining (1.4), (1.5) and (1.10) we have
[0064]
[0065] For simplicity, let
[0066]
[0067] Among them, β is a parameter to ensure numerical stability. After a large number of numerical experiments, β∈[0.25,0.75] is generally taken.
[0068] Let's analyze when ε k When (1.4) is not satisfied but (1.5) is satisfied, it means that the time step τ k The result does not meet the requirements and needs to be adjusted k , and recalculate. From formula (1.8), we can get:
[0069]
[0070] Therefore, the new time step can be determined. When calculating, use [t a ,t b ] is used as the new time interval. The initial solution of the calculation can speed up the iteration and will not waste the previous calculation data.
[0071] Finally, when t i +τ i ≥T, T represents the total integration time, and the final time series, time step series, numerical solution series and energy error series are output. Among them, the numerical solution series refers to the changes in the speed and position of all celestial bodies over time during the total integration time.
[0072] ε k represents the energy error of the kth step, calculated by the Hamiltonian function:
[0073]
[0074] Among them, H k is the value of the Hamiltonian function at the kth step, and H0 is the value of the Hamiltonian function at the initial moment.
[0075] The overall judgment rules and algorithm flow of the adaptive step-size symplectic integrator refer to Figure 2 .
[0076] SQQ is an existing fixed-step symplectic integrator. The innovation of the present invention is to analyze the error of the SQQ integrator and provide an adaptive time step selection strategy based on the error theory obtained by the analysis. The adaptive time step strategy is combined with SQQ to obtain an adaptive step symplectic integrator SQQATSC.
[0077] Based on the above scheme, the present invention also provides a set of simulation data:
[0078] This embodiment tests the integration of the six-body system consisting of five extrasolar planets (Jupiter, Saturn, Uranus, Neptune and Pluto) and the sun. And integrates 1000 and 10000 Jupiter orbital cycle times. Table 1 gives the detailed data of the three algorithms.
[0079] Table 1 Numerical performance of long-term integrated outer solar system, SQQ, SQQATSC and ODE45
[0080]
[0081] It can be seen from Table 1 that the adaptive step-size symplectic integrator SQQATSC of the present invention has better accuracy and efficiency than the fixed step-size integrator SQQ and the widely used non-symplectic variable step-size integrator ODE45 with the support of adaptive step-size.
[0082] A symplectic adaptive step-length gravitational dynamics celestial body orbit calculation system, comprising:
[0083] A model building module, used to obtain information of all celestial bodies in the celestial system and build a dynamic model of the celestial system;
[0084] The step size selection module builds an adaptive step size strategy based on the error theory of the fixed step size integrator;
[0085] An integrator building module, used for combining the fixed step-size integrator and the adaptive step-size strategy to obtain an adaptive step-size symplectic integrator;
[0086] The integrator solving module uses the adaptive step-size symplectic integrator to solve the dynamic model and obtain the motion of the celestial body.
[0087] The contents of the above method embodiments are all applicable to the present system embodiments. The functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0088] A symplectic adaptive step-length gravitational dynamics celestial body orbit calculation device:
[0089] at least one processor;
[0090] at least one memory for storing at least one program;
[0091] When the at least one program is executed by the at least one processor, the at least one processor implements the above-mentioned symplectic adaptive step-size gravitational dynamics celestial body orbit calculation method.
[0092] The contents of the above method embodiments are all applicable to the present device embodiments. The functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0093] A storage medium stores processor-executable instructions, which are used to implement the above-mentioned symplectic adaptive step-size gravitational dynamics celestial body orbit calculation method when executed by the processor.
[0094] The contents of the above method embodiments are all applicable to the present storage medium embodiments. The functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0095] The above is a specific description of the preferred implementation of the present invention, but the invention is not limited to the embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.
Claims
1. A symplectic adaptive step-size gravitational dynamics celestial body orbit calculation method, characterized in that: The following steps are involved: Obtaining information of all celestial bodies in the celestial system and constructing a dynamic model of the celestial system; Based on the error theory of fixed-step integrator, an adaptive step-size strategy is constructed; Combining the fixed step-size integrator with the adaptive step-size strategy, an adaptive step-size symplectic integrator is obtained; Based on the dynamic model, the adaptive step-size symplectic integrator is used to solve and obtain the motion of the celestial body.
2. According to claim 1, a symplectic adaptive step-size gravitational dynamics celestial body orbit calculation method is characterized in that: The step of solving the motion of the celestial body by using the adaptive step-size symplectic integrator based on the dynamic model specifically includes: Set the total integration time and constraint parameters; The total integration time, constraint parameters and information of all celestial bodies in the celestial body system are input into the adaptive step-size symplectic integrator, and the corresponding step size is selected based on the error estimation to calculate the motion of the celestial body within a preset time period.
3. According to claim 2, a symplectic adaptive step-size gravitational dynamics celestial body orbit calculation method is characterized in that: The constraint parameters include an upper limit of energy error and the number of interpolation points.
4. According to claim 3, a symplectic adaptive step-size gravitational dynamics celestial body orbit calculation method is characterized in that: The rule for selecting the corresponding step size based on error estimation is: When αR≤ε k ≤R, τ k+1 =τ k ; When k <αR time, Among them, the ε k represents the energy error of the kth step, R represents the upper limit of the energy error, α represents the first weight parameter, τ k represents the step size of the kth step, τ k+1 represents the step size of the k+1th step, β represents the second weight parameter, and n represents the number of interpolation points.
5. According to claim 4, a symplectic adaptive step-size gravitational dynamics celestial body orbit calculation method is characterized in that: The rule for selecting the corresponding step size based on the error estimation also includes: When ε k >R, in, Indicates the new step size.
6. A system for executing the symplectic adaptive step-size gravitational dynamics celestial body orbit calculation method as claimed in claim 1, characterized in that: include: A model building module, used to obtain information of all celestial bodies in the celestial system and build a dynamic model of the celestial system; The step size selection module builds an adaptive step size strategy based on the error theory of the fixed step size integrator; An integrator building module, used for combining the fixed step-size integrator and the adaptive step-size strategy to obtain an adaptive step-size symplectic integrator; The integrator solving module uses the adaptive step-size symplectic integrator to solve the dynamic model and obtain the motion of the celestial body.
