A spaceflight dynamics simulation method and device based on multi-task parallelism
By employing a multi-task parallel aerospace dynamics simulation method and utilizing multi-instance simulation software and model libraries, efficient parallel processing of spacecraft orbit simulation calculations was achieved. This solved the problem of low simulation efficiency in existing technologies and improved the comprehensiveness and versatility of simulation results.
Patent Information
- Application Number
- CN202310147000.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-09
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2043-02-09
AI Technical Summary
Existing technologies for spacecraft orbit simulation calculations rely on single algorithms, resulting in low simulation efficiency and poor comprehensiveness and versatility.
A multi-task parallel aerospace dynamics simulation method is adopted, which performs multi-task parallel simulation through simulation tasks sent by the spacecraft client, executes simulation tasks in parallel using multi-instance simulation calculation software, and performs data processing and calculation by combining simulation model library and interactive interface library.
It improves the comprehensiveness and versatility of simulation, enhances simulation efficiency, and can better meet the needs of different space missions.
Smart Images

Figure CN116305843B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of aerospace telemetry and control simulation technology, and in particular to a method and apparatus for aerospace dynamics simulation based on multi-task parallelism. Background Technology
[0002] Spacecraft orbits are a fundamental element of spaceflight missions, and orbit design and calculation are crucial and complex tasks. Simulation studies of spacecraft orbital dynamics have significant application value and military implications. Related technologies involve constructing a three-dimensional digital earth model, establishing an on-orbit satellite database, calculating the positions and orbits of on-orbit satellites, and transmitting this data to a background framework for real-time display. However, these technologies only perform orbital simulation calculations for on-orbit satellites, employ simplistic algorithms, lack comprehensiveness and versatility, and suffer from low simulation efficiency. Summary of the Invention
[0003] One objective of this invention is to provide a space dynamics simulation method based on multi-task parallelism. By performing multi-task parallel simulations on simulation tasks sent by at least one spacecraft client, the comprehensiveness and versatility of the simulation are improved, thereby increasing simulation efficiency. Another objective of this invention is to provide a space dynamics simulation device based on multi-task parallelism. A further objective of this invention is to provide a computer-readable medium. A still other objective of this invention is to provide a computer device.
[0004] To achieve the above objectives, this invention discloses a space dynamics simulation method based on multi-task parallelism, comprising:
[0005] Acquire at least one simulation task sent by a spacecraft client, the simulation task including operation instructions and operation data;
[0006] In response to the operation command, at least one simulation task is executed in parallel based on the running data, and the simulation results corresponding to each simulation task are obtained.
[0007] Optionally, the simulation task includes at least one simulation operation;
[0008] In response to operation commands, at least one simulation task is executed in parallel based on the running data, and the simulation results corresponding to each simulation task are obtained, including:
[0009] In response to the operation command, based on the running data, at least one simulation operation is executed to obtain the simulation data corresponding to each simulation operation;
[0010] Based on the simulation data corresponding to each simulation operation, the simulation results corresponding to the simulation task are generated.
[0011] Optionally, the simulation operation is a spacecraft time parameter setting operation, the operation command includes a time parameter setting command, and the simulation data includes launch trajectory data;
[0012] In response to the operation command, based on the running data, at least one simulation operation is executed to obtain simulation data corresponding to each simulation operation, including:
[0013] Obtain the spacecraft time parameters sent by the spacecraft client. The spacecraft time parameters include the rocket launch time and the satellite-rocket separation time.
[0014] Based on the rocket launch time and satellite-rocket separation time, launch trajectory data based on the rocket launch time is generated according to the pre-set simulation mission configuration file.
[0015] Optionally, the simulation operation is a flight segment change operation, the operation command includes segment change command, and the simulation data includes orbit prediction data;
[0016] In response to the operation command, based on the running data, at least one simulation operation is executed to obtain simulation data corresponding to each simulation operation, including:
[0017] Obtain the flight phase sent by the spacecraft client;
[0018] Based on the flight phase, the segment transition simulation method is determined, which includes data interpolation method and mathematical model method;
[0019] By using segment-switching simulation, trajectory prediction simulation calculations are performed based on operational data to obtain trajectory prediction data.
[0020] Optionally, the simulation operation is a track control operation, the operation instructions include track control instructions, and the simulation data includes track control results;
[0021] In response to the operation command, based on the running data, at least one simulation operation is executed to obtain simulation data corresponding to each simulation operation, including:
[0022] Obtain the orbit control parameters sent by the spacecraft client;
[0023] By using a pre-set track control simulation model, track control is performed based on track control parameters and operational data to obtain track control results.
[0024] Optionally, the method further includes:
[0025] In response to the breakpoint save command sent by the spacecraft client, save the current breakpoint information;
[0026] Send the breakpoint information to the spacecraft client.
[0027] Optionally, the method further includes:
[0028] Receive breakpoint start commands and breakpoint information sent by the spacecraft client. The breakpoint information includes the breakpoint save time point, mathematical model, and simulation task.
[0029] Based on the breakpoints that save the time points and the mathematical model, the simulation task is started and executed.
[0030] This invention also discloses a space dynamics simulation device based on multi-task parallelism, comprising:
[0031] The acquisition unit is used to acquire at least one simulation task sent by a spacecraft client. The simulation task includes operation instructions and operation data.
[0032] The simulation task parallel unit is used to respond to operation instructions and execute at least one simulation task in parallel based on the running data, so as to obtain the simulation results corresponding to each simulation task.
[0033] The present invention also discloses a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the method described above.
[0034] The present invention also discloses a computer device, including a memory and a processor, wherein the memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions, wherein the processor executes the program to implement the method described above.
[0035] This invention acquires at least one simulation task sent by a spacecraft client, the simulation task including operation instructions and running data; in response to the operation instructions, at least one simulation task is executed in parallel according to the running data, and the simulation result corresponding to each simulation task is obtained. By performing multi-task parallel simulation on at least one simulation task sent by a spacecraft client, the comprehensiveness and versatility of the simulation are improved, thereby improving the simulation efficiency. Attached Figure Description
[0036] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0037] Figure 1 An operation management diagram of a space dynamics simulation system based on multi-task parallelism provided for embodiments of the present invention;
[0038] Figure 2 A flowchart illustrating a space dynamics simulation method based on multi-task parallelism provided in an embodiment of the present invention;
[0039] Figure 3 A flowchart for performing an operation to set space time parameters is provided as an embodiment of the present invention;
[0040] Figure 4 A flowchart for performing a flight segment change operation is provided in an embodiment of the present invention;
[0041] Figure 5 A flowchart for performing track control operations is provided as an embodiment of the present invention;
[0042] Figure 6 A flowchart for performing attitude control operations is provided as an embodiment of the present invention;
[0043] Figure 7 A flowchart for performing a simulation time-skip operation is provided in an embodiment of the present invention;
[0044] Figure 8 A flowchart for performing a simulation propulsion operation is provided as an embodiment of the present invention;
[0045] Figure 9 A flowchart for performing satellite attitude simulation operations is provided as an embodiment of the present invention;
[0046] Figure 10 A flowchart for performing a rendezvous and docking simulation operation is provided as an embodiment of the present invention;
[0047] Figure 11 A flowchart of a method for saving breakpoints in a simulation task, provided by an embodiment of the present invention;
[0048] Figure 12 A flowchart of a method for breakingpoint-based startup of a simulation task provided in an embodiment of the present invention;
[0049] Figure 13 A schematic diagram of a space dynamics simulation device based on multi-task parallelism provided in an embodiment of the present invention;
[0050] Figure 14 This is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. Detailed Implementation
[0051] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0052] To facilitate understanding of the technical solution provided in this application, the relevant content of the technical solution is described below. The multi-task parallel aerospace dynamics simulation method provided by this invention is a non-fixed-mode orbital dynamics calculation method. It does not preset any flight timing actions; information such as flight phases and model parameters is configured by the user according to the actual mission situation. The spacecraft client dynamically sets the flight timing actions based on the real mission requirements. The aerospace dynamics simulation device responds to operation commands and executes at least one simulation task in parallel based on the operating data, outputting the simulation results corresponding to each simulation task. This invention also provides a remote service call interface to drive the aerospace dynamics simulation device to perform orbit, attitude, and sensor simulation calculations, and output the calculated simulation results. This invention also provides an automatic assembly algorithm based on simulation configuration requirements, which can automatically select applicable algorithm modules from a unified dynamics simulation model library, assemble them, and provide dynamics simulation functions. Through different simulation task configuration files, multiple simulation calculation instances can be started, and multiple tasks can be simulated in parallel, providing users with orbital attitude calculation services.
[0053] This invention provides spacecraft simulation developers with a space dynamics simulation method and device based on multi-task parallelism. It automatically selects applicable dynamics algorithm modules based on configuration, and provides dynamics simulation functions after assembly. By calling various application programming interfaces (APIs) provided by the dynamics simulation device through remote services, it drives the space dynamics simulation device to perform various calculations, achieving the purpose of multi-task parallel simulation and has strong versatility.
[0054] Figure 1 An operation management diagram of a space dynamics simulation system based on multi-task parallelism provided for embodiments of the present invention, such as... Figure 1 As shown, the system includes at least one spacecraft client 100 and a space dynamics simulation device 200, which can communicate with each other. Alternatively, the space dynamics simulation device 200 may be dynamics simulation software.
[0055] like Figure 1 As shown, a user initiates a simulation task through at least one spacecraft client 100, including task 1 to task N; the spacecraft client 100 sends the simulation task to the space dynamics simulation device 200; the spacecraft client 100 can also send a start simulation task command or a stop simulation task command to the space dynamics simulation device 200, so that the space dynamics simulation device 200 can control the start or stop of the simulation task in response to the start simulation task command or the stop simulation task command.
[0056] In this embodiment of the invention, the aerospace dynamics simulation device 200 includes a simulation model library 210, a simulation interaction interface library 220, at least one simulation calculation software 230, and simulation management software 240.
[0057] The simulation model library 210 provides a variety of mathematical models, including but not limited to orbit prediction models, satellite attitude simulation models, sensor simulation models, orbit control simulation models, attitude control simulation models, and rendezvous and docking simulation models. It enables dynamic simulation of near-Earth, Earth-Moon, and Earth-Mars spaceflight missions. It is implemented as a component function library and is the foundation for simulation model assembly management and dynamic simulation calculation.
[0058] It is worth noting that the mathematical models in simulation model library 210 are existing mature mathematical models, which will not be elaborated here.
[0059] The simulation interaction interface library 220 is implemented as a function library, encapsulating the interface data interaction details of the aerospace dynamics simulation device 200. It provides a remote service call programming interface for the aerospace dynamics simulation device 200, driving it to perform orbit, attitude, and sensor simulation calculations and outputting the results. The simulation interaction interface library 220 uses the standard HTTP protocol to transmit data, and the data encapsulation format is JSON.
[0060] It is worth noting that the aerospace dynamics simulation device 200 also provides function programming interfaces, including but not limited to commonly used tool-type function programming interfaces such as time conversion, coordinate conversion, attitude conversion, orbit parameter conversion, and basic mathematical calculations. The aerospace dynamics simulation device 200 can directly call these interfaces to perform related data conversions and calculations.
[0061] At least one simulation software 230 includes multiple instances (instance 1 to instance N), based on the mathematical models provided by the simulation model library 210, reads the simulation task configuration file generated by the simulation management software 240, receives operation commands sent by the simulation interaction interface library 220, performs dynamic simulation calculations for near-Earth, Earth-Moon, and Earth-Mars spaceflight missions, outputs orbit, attitude, and sensor simulation data, and responds to operation commands sent by the simulation interaction interface library 220 to perform orbit control and attitude control simulation calculations. A database is used to store the simulation calculation results for easy data querying and export.
[0062] The simulation management software 240 primarily implements functions such as simulation model assembly and configuration, simulation task operation management, and operation status monitoring. It provides a graphical interface for configuring simulation task parameters, including but not limited to flight phases, aircraft parameters, engine parameters, and sensor parameters, and generates simulation task configuration files. It receives start / stop commands from the simulation interaction interface library 220 to start / stop the simulation calculation software for a specified simulation task, thus implementing simulation task operation management functions. It also provides a graphical interface to monitor the operation status of the simulation calculation software 230 for each task and offers query and export functions for simulation calculation results and system operation status data based on a database.
[0063] In this embodiment of the invention, the aerospace dynamics simulation device 200 supports concurrent simulation of multiple simulation tasks in a multi-instance manner. Based on a unified simulation model library 210, multiple simulation calculation software processes are launched, and dynamic simulations of multiple tasks are performed in parallel using different simulation task configuration files. This invention provides orbital dynamics calculation services without a fixed pattern. It does not preset any flight timing actions; information such as flight phases and model parameters is configured by the user according to the actual mission situation. The spacecraft client 100 dynamically sets the flight timing actions based on the actual mission requirements. The aerospace dynamics simulation device 200 responds to operation commands, changes the simulation calculation state, and outputs the simulation calculation results.
[0064] The following example uses a space dynamics simulation device based on multi-task parallelism as the execution subject to illustrate the implementation process of the space dynamics simulation method based on multi-task parallelism provided in this embodiment of the invention. It is understood that the execution subject of the space dynamics simulation method based on multi-task parallelism provided in this embodiment of the invention includes, but is not limited to, a space dynamics simulation device based on multi-task parallelism.
[0065] Figure 2 A flowchart of a space dynamics simulation method based on multi-task parallelism provided in an embodiment of the present invention is shown below. Figure 2 As shown, the method includes:
[0066] Step 101: Obtain at least one simulation task sent by a spacecraft client. The simulation task includes operation instructions and running data.
[0067] In this embodiment of the invention, the simulation task includes at least one simulation operation.
[0068] Step 102: In response to the operation command, execute at least one simulation task in parallel based on the running data, and obtain the simulation results corresponding to each simulation task.
[0069] It is worth noting that the acquisition, storage, use, and processing of data in the technical solution of this application all comply with the relevant provisions of national laws and regulations. The user information in the embodiments of this application was obtained through legal and compliant means, and the acquisition, storage, use, and processing of user information have been authorized and agreed upon by the client.
[0070] In the technical solution provided by the embodiments of the present invention, at least one simulation task sent by a spacecraft client is obtained. The simulation task includes operation instructions and running data. In response to the operation instructions, at least one simulation task is executed in parallel according to the running data to obtain the simulation result corresponding to each simulation task. By performing multi-task parallel simulation on at least one simulation task sent by a spacecraft client, the comprehensiveness and versatility of the simulation are improved, thereby improving the simulation efficiency.
[0071] This invention provides yet another space dynamics simulation method based on multi-task parallelism, the method comprising:
[0072] Step 201: Obtain at least one simulation task sent by a spacecraft client. The simulation task includes operation instructions and running data, and includes at least one simulation operation.
[0073] In this embodiment of the invention, each step is executed by a space dynamics simulation device based on multi-task parallelism.
[0074] In this embodiment of the invention, the user generates a simulation task by setting flight timing actions according to actual needs through the spacecraft client, and sends the simulation task through the spacecraft client. The simulation task includes operation instructions for task execution and operation data required for task execution. The simulation task includes at least one simulation operation, which includes, but is not limited to, setting spacecraft time parameters, flight segment switching, orbit control, attitude control, simulation time jump, simulation propulsion, sensitivity simulation, satellite attitude simulation, and rendezvous and docking simulation.
[0075] Step 202: In response to the operation command, execute at least one simulation operation based on the running data to obtain the simulation data corresponding to each simulation operation.
[0076] In this embodiment of the invention, when executing a simulation task, flight parameters and flight phases are first configured according to task requirements. After preparation, the aerospace dynamics simulation device performs simulation deduction and obtains the operation data of the simulation task sent by the spacecraft client. When multiple spacecraft clients send simulation tasks, the aerospace dynamics simulation device receives multiple simulation tasks. The aerospace dynamics simulation device can execute multiple simulation tasks in parallel and obtain the simulation results corresponding to each simulation task, thereby improving the execution efficiency of the simulation task. A simulation task includes at least one simulation operation. This invention uses a single simulation task as an example to describe the execution process of the simulation task in detail.
[0077] In this embodiment of the invention, spacecraft parameters need to be configured before operation to generate a simulation mission configuration file. The simulation mission configuration file includes, but is not limited to, parameter configuration, spacecraft flight phases and orbit calculation types for each phase, simulation mission time, and external communication parameters. Parameter configuration includes configuring spacecraft mass characteristics, engine parameters, and sensor parameters. Spacecraft mass characteristics include, but are not limited to, spacecraft mass, center of mass, and moment of inertia; engine parameters include, but are not limited to, the number of engines, installation location, installation angle, and engine thrust; sensor parameters include, but are not limited to, the number of sensors, type, installation location, installation angle, field of view, and measurement error. After the initial state is set up, the system awaits operation commands from the spacecraft client, performs step-by-step or time-skip simulations according to the clock, and provides simulation data (orbit, attitude, sensor measurement data, etc.).
[0078] In this embodiment of the invention, the simulation operations include, but are not limited to, setting space time parameters, flight segment switching, orbit control, attitude control, time jump simulation, propulsion simulation, sensitivity simulation, satellite attitude simulation, and rendezvous and docking simulation.
[0079] When the simulation operation is to set space time parameters, the operation instructions include instructions to set time parameters, and the simulation data includes launch trajectory data. Figure 3 A flowchart for performing an operation to set space time parameters is provided as an embodiment of the present invention, such as... Figure 3 As shown, step 202 specifically includes:
[0080] Step 2021: Obtain the space time parameters sent by the spacecraft client.
[0081] In this embodiment of the invention, the space time parameters include the rocket launch time T0 and the satellite-rocket separation time TF.
[0082] Step 2022: Based on the rocket launch time and satellite-rocket separation time, generate launch trajectory data based on the rocket launch time according to the pre-set simulation mission configuration file.
[0083] In this embodiment of the invention, the launch trajectory is the path taken by the launch vehicle from the ground until it sends the spacecraft into a predetermined orbit.
[0084] Specifically, using the rocket launch time T0 and the satellite-rocket separation time TF as reference times, interpolation calculations are performed according to the simulation mission configuration file to obtain launch trajectory data based on the rocket launch time. This launch trajectory data includes, but is not limited to, the launch trajectory's attitude, time, position, and velocity.
[0085] Furthermore, the launch trajectory data based on the rocket's liftoff moment is cached.
[0086] Furthermore, the log data during the execution of the simulation task is stored in a database for easy querying and analysis afterward.
[0087] When the simulation operation is a flight segment change operation, the operation instructions include segment change instructions, and the simulation data includes orbit prediction data.
[0088] Figure 4 A flowchart for performing a flight segment change operation is provided as an embodiment of the present invention, such as... Figure 4 As shown, step 202 specifically includes:
[0089] Step 2121: Obtain the flight phase sent by the spacecraft client.
[0090] In this embodiment of the invention, the flight phase is pre-configured by the spacecraft client, and the flight phase includes the launch phase, the operation phase, and the return phase.
[0091] Step 2122: Based on the flight phase, determine the segment transition simulation method, which includes data interpolation method and mathematical model method.
[0092] In this embodiment of the invention, the corresponding segment transition simulation method is determined based on the flight stage. It is worth noting that different flight stages have corresponding segment transition simulation methods, and this embodiment of the invention does not limit the segment transition simulation method corresponding to a specific flight stage. The segment transition simulation methods include data interpolation methods and mathematical model methods, wherein the mathematical model is an orbit prediction model.
[0093] Step 2123: Using the segment-switching simulation method, perform track prediction simulation calculations based on the operating data to obtain track prediction data.
[0094] Specifically, if the simulation method is changed to data interpolation, then the ephemeris and attitude data are read from the simulation task configuration file, and interpolation calculations are performed based on the ephemeris, attitude data and operation data to obtain the orbit prediction data.
[0095] Specifically, if the segment change simulation method is a mathematical model method, and the mathematical model is a track prediction model, then the running data is input into the track prediction model to perform track prediction simulation calculations and obtain track prediction data.
[0096] Furthermore, cache orbital prediction data.
[0097] Furthermore, the log data during the execution of the simulation task is stored in a database for easy querying and analysis afterward.
[0098] When the simulation operation is a track control operation, the operation instructions include track control instructions, and the simulation data includes track control results.
[0099] Figure 5 A flowchart for performing track control operations is provided as an embodiment of the present invention, such as... Figure 5 As shown, step 202 specifically includes:
[0100] Step 2221: Obtain the orbit control parameters sent by the spacecraft client.
[0101] In this embodiment of the invention, the orbital control parameters are pre-configured by the spacecraft client.
[0102] Step 2222: Using a pre-set track control simulation model, track control is performed based on track control parameters and operating data to obtain track control results.
[0103] Specifically, track control parameters and operational data are input into the track control simulation model to perform track control and obtain track control results.
[0104] Step 2223: Send the attitude control results to the spacecraft client.
[0105] Furthermore, the log data during the execution of the simulation task is stored in a database for easy querying and analysis afterward.
[0106] When the simulation operation is an attitude control operation, the operation instructions include attitude control instructions, and the simulation data includes attitude control results.
[0107] Figure 6 A flowchart for performing attitude control operations is provided as an embodiment of the present invention, such as... Figure 6 As shown, step 202 specifically includes:
[0108] Step 2321: Obtain the attitude control parameters sent by the spacecraft client.
[0109] In this embodiment of the invention, the attitude control parameters are pre-configured by the spacecraft client.
[0110] Step 2322: Using a pre-set attitude control simulation model, attitude control is performed based on attitude control parameters and running data to obtain attitude control results.
[0111] Specifically, attitude control parameters and operating data are input into the attitude control simulation model to perform attitude control and obtain attitude control results.
[0112] Step 2323: Send the attitude control results to the spacecraft client.
[0113] Furthermore, the log data during the execution of the simulation task is stored in a database for easy querying and analysis afterward.
[0114] When the simulation operation is a time-skip simulation operation, the operation instructions include time-skip instructions, and the simulation data includes orbit prediction data.
[0115] Figure 7 A flowchart for performing a simulation time-skip operation is provided as an embodiment of the present invention, such as... Figure 7 As shown, step 202 specifically includes:
[0116] Step 2421: Obtain the orbital elements sent by the spacecraft client.
[0117] In this embodiment of the invention, the orbital elements are pre-configured by the spacecraft client. The orbital elements (or orbital features or orbital parameters) are six parameters necessary to determine the orbit of a celestial body or spacecraft moving in its Keplerian orbit under the influence of Newton's laws of motion and Newton's law of universal gravitation.
[0118] Step 2422: Using a pre-set track prediction model, perform track prediction simulation calculations based on track elements and operational data to obtain attitude control results.
[0119] Specifically, the orbital elements and operational data are input into the orbital prediction model for attitude control, and the attitude control results are obtained.
[0120] Furthermore, cache orbital prediction data.
[0121] Furthermore, the log data during the execution of the simulation task is stored in a database for easy querying and analysis afterward.
[0122] When the simulation operation is a simulation propulsion operation, the operation instructions include propulsion instructions, and the simulation data includes trajectory prediction data.
[0123] Figure 8 A flowchart for performing a simulation propulsion operation is provided as an embodiment of the present invention, such as... Figure 8 As shown, step 202 specifically includes:
[0124] Step 2521: Obtain the simulation time sent by the spacecraft client.
[0125] In this embodiment of the invention, the simulation time is pre-configured by the spacecraft client.
[0126] Step 2522: Using the specified propulsion simulation method, perform simulation calculations based on the simulation time and running data to obtain simulation trajectory prediction data based on the simulation time.
[0127] In this embodiment of the invention, a specified propulsion simulation method can be obtained from the simulation task configuration file. The propulsion simulation method includes a data interpolation method and a mathematical model method. The mathematical model is a trajectory prediction model.
[0128] Specifically, if the simulation method is data interpolation, the pre-installed trajectory and ephemeris data are read from the simulation task configuration file, and interpolation calculations are performed based on the simulation time, the pre-installed trajectory and ephemeris data, and the operation data to obtain the simulation trajectory prediction data based on the simulation time.
[0129] Specifically, if the simulation method is a mathematical model method, and the mathematical model is an orbit prediction model, then the cached prediction data, simulation time, and operation data are input into the orbit prediction model to perform orbit prediction simulation calculations, and the simulated orbit prediction data based on the simulation time is obtained.
[0130] Furthermore, the log data during the execution of the simulation task is stored in a database for easy querying and analysis afterward.
[0131] When the simulation operation is a sensor simulation operation, the operation instructions include sensor simulation instructions, and the simulation data includes sensor measurement data.
[0132] Step 202 specifically includes: using a sensor simulation model, simulating sensor measurement data based on operational data to obtain sensor measurement data. Specifically, the operational data is input into the sensor simulation model, and the sensor measurement data is output.
[0133] In this embodiment of the invention, the sensor simulation model provides measurement data generation functions for different types of sensors, including but not limited to star sensors, solar sensors, gyroscopes, radar, accelerometers, infrared sensors, and laser sensors, and provides a sensor configuration interface. The star sensor module of the sensor simulation model simulates the generation of star-related measurement data; the solar sensor module simulates the generation of solar-related measurement information; the gyroscope module simulates the generation of gyroscope attitude information; the radar module simulates the generation of radar-related target measurement data; the accelerometer module simulates the generation of spacecraft acceleration measurement information; and the sensor configuration interface is used to configure and change sensor parameters.
[0134] Furthermore, the log data during the execution of the simulation task is stored in a database for easy querying and analysis afterward.
[0135] When the simulation operation is a satellite attitude simulation operation, the operation instructions include attitude simulation instructions, and the simulation data includes attitude data.
[0136] Figure 9 A flowchart for performing satellite attitude simulation operations is provided as an embodiment of the present invention, such as... Figure 9 As shown, step 202 specifically includes:
[0137] Step 2621: Obtain the attitude mode sent by the spacecraft client.
[0138] In this embodiment of the invention, the attitude mode is pre-configured by the spacecraft client.
[0139] Step 2622: Using the satellite attitude simulation model, perform simulation calculations based on the attitude mode and operational data to obtain the spacecraft's attitude data.
[0140] Specifically, the attitude pattern and operational data are input into the satellite attitude simulation model for simulation calculations to obtain the spacecraft's attitude data. The spacecraft's attitude data includes, but is not limited to, Earth-oriented attitude data and Sun-oriented attitude data.
[0141] Furthermore, the log data during the execution of the simulation task is stored in a database for easy querying and analysis afterward.
[0142] When the simulation operation is a rendezvous and docking simulation operation, the operation instructions include docking instructions, and the simulation data includes docking data.
[0143] Figure 10 A flowchart for performing rendezvous and docking simulation operations is provided as an embodiment of the present invention, such as... Figure 10 As shown, step 202 specifically includes:
[0144] Step 2721: Obtain spacecraft status data sent by the spacecraft client.
[0145] In this embodiment of the invention, the spacecraft status data includes the status data of the target spacecraft and the status data of the spacecraft itself. The spacecraft status data is pre-configured by the spacecraft client.
[0146] Step 2722: Using the rendezvous and docking simulation model, perform simulation calculations based on the spacecraft's status data and operational data to obtain the spacecraft's docking data.
[0147] Specifically, spacecraft status and operational data are input into the rendezvous and docking simulation model for simulation calculations to obtain the spacecraft's docking data. The spacecraft's docking data includes, but is not limited to, relative motion and attitude parameters during the rendezvous and docking process.
[0148] Furthermore, the log data during the execution of the simulation task is stored in a database for easy querying and analysis afterward.
[0149] Furthermore, if it is necessary to pause or save the current parameters during the simulation mission, a breakpoint save command can be sent through the spacecraft client. Figure 11 A flowchart of a method for saving breakpoints in a simulation task, provided by an embodiment of the present invention, is shown below. Figure 11 As shown, the method includes:
[0150] Step 301: In response to the breakpoint save command sent by the spacecraft client, save the current breakpoint information.
[0151] In this embodiment of the invention, the current breakpoint information is saved according to the breakpoint save command. The current breakpoint information includes, but is not limited to, the breakpoint save time point, the mathematical model, and the simulation task, with the simulation task including all current data.
[0152] Step 302: Send the breakpoint information to the spacecraft client.
[0153] In this embodiment of the invention, the breakpoint information is sent to the spacecraft client so that the spacecraft client can save the breakpoint information.
[0154] It is worth noting that after saving the breakpoint, the simulation task can continue to execute, or it can stop executing in response to the stop simulation task command sent by the spacecraft client.
[0155] Furthermore, the log data during the execution of the simulation task is stored in a database for easy querying and analysis afterward.
[0156] Furthermore, if it is necessary to start the simulation task from the saved breakpoint, a breakpoint start command can be sent through the spacecraft client. Figure 12 A flowchart of a method for breakingpoint-based startup of a simulation task is provided in an embodiment of the present invention, as shown below. Figure 12 As shown, the method includes:
[0157] Step 401: Receive the breakpoint start command and breakpoint information sent by the spacecraft client. The breakpoint information includes the breakpoint save time point, mathematical model and simulation task.
[0158] Step 402: Based on the breakpoints, save the time points and mathematical models, and start the simulation task.
[0159] In this embodiment of the invention, the mathematical model and simulation task are started according to the breakpoint save time point. Specifically, the simulation task is started and executed according to the data at the breakpoint save time point.
[0160] Furthermore, the log data during the execution of the simulation task is stored in a database for easy querying and analysis afterward.
[0161] This invention designs an automatic assembly algorithm based on simulation configuration requirements, which can automatically select applicable mathematical models from the dynamic simulation model library, and provide dynamic simulation functions after assembly. Through different simulation task configuration files, multiple simulation calculation instances can be started to perform dynamic simulation of multiple tasks in parallel.
[0162] In the technical solution of the aerospace dynamics simulation method based on multi-task parallelism provided by the embodiments of the present invention, at least one simulation task sent by a spacecraft client is obtained. The simulation task includes operation instructions and running data. In response to the operation instructions, at least one simulation task is executed in parallel according to the running data to obtain the simulation result corresponding to each simulation task. By performing multi-task parallel simulation on at least one simulation task sent by a spacecraft client, the comprehensiveness and versatility of the simulation are improved, thereby improving the simulation efficiency.
[0163] Figure 13 This is a schematic diagram of a space dynamics simulation device based on multi-task parallelism provided in an embodiment of the present invention. This device is used to execute the aforementioned space dynamics simulation method based on multi-task parallelism, such as... Figure 13 As shown, the device includes: an acquisition unit 11 and a simulation task parallel unit 12.
[0164] The acquisition unit 11 is used to acquire at least one simulation task sent by a spacecraft client. The simulation task includes operation instructions and operation data.
[0165] The simulation task parallel unit 12 is used to respond to operation instructions and execute at least one simulation task in parallel according to the running data, so as to obtain the simulation result corresponding to each simulation task.
[0166] In this embodiment of the invention, the simulation task includes at least one simulation operation; the simulation task parallel unit 12 is specifically used to respond to the operation instruction, execute at least one simulation operation according to the running data, obtain simulation data corresponding to each simulation operation, and generate simulation results corresponding to the simulation task according to the simulation data corresponding to each simulation operation.
[0167] In this embodiment of the invention, the simulation operation is a setting of space time parameters. The operation instructions include setting time parameters instructions, and the simulation data includes launch trajectory data. The simulation task parallel unit 12 is specifically used to acquire the space time parameters sent by the spacecraft client. The space time parameters include the rocket launch time and the satellite-rocket separation time. Based on the rocket launch time and the satellite-rocket separation time, launch trajectory data based on the rocket launch time is generated according to the pre-set simulation task configuration file.
[0168] In this embodiment of the invention, the simulation operation is a flight segment change operation, the operation command includes a segment change command, and the simulation data includes orbit prediction data; the simulation task parallel unit 12 is specifically used to acquire the flight phase sent by the spacecraft client; based on the flight phase, the segment change simulation method is determined, which includes a data interpolation method and a mathematical model method; through the segment change simulation method, orbit prediction simulation calculation is performed based on the operation data to obtain orbit prediction data.
[0169] In this embodiment of the invention, the simulation operation is an orbit control operation, the operation instructions include orbit control instructions, and the simulation data includes orbit control results; the simulation task parallel unit 12 is specifically used to acquire the orbit control parameters sent by the spacecraft client; through a pre-set orbit control simulation model, orbit control is performed according to the orbit control parameters and operation data to obtain the orbit control results.
[0170] In this embodiment of the invention, the device further includes a breakpoint preservation unit 13 and a sending unit 14.
[0171] The storage unit 13 is used to save the current breakpoint information in response to the breakpoint save command sent by the spacecraft client.
[0172] The sending unit 14 is used to send breakpoint information to the spacecraft client.
[0173] In this embodiment of the invention, the device further includes a receiving unit 15 and a breakpoint start unit 16.
[0174] The receiving unit 15 is used to receive the breakpoint start command and breakpoint information sent by the spacecraft client. The breakpoint information includes the breakpoint save time point, mathematical model and simulation task.
[0175] The breakpoint start unit 16 is used to start and execute the simulation task based on the breakpoint saved time point and mathematical model.
[0176] In the embodiment of the present invention, at least one simulation task sent by a spacecraft client is obtained. The simulation task includes operation instructions and running data. In response to the operation instructions, at least one simulation task is executed in parallel according to the running data to obtain the simulation result corresponding to each simulation task. By performing multi-task parallel simulation on at least one simulation task sent by a spacecraft client, the comprehensiveness and versatility of the simulation are improved, thereby improving the simulation efficiency.
[0177] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer device, specifically, a computer device can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or any combination of these devices.
[0178] This invention provides a computer device, including a memory and a processor. The memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions. When the program instructions are loaded and executed by the processor, they implement the steps of the above-described embodiment of the aerospace dynamics simulation method based on multi-task parallelism. For a detailed description, please refer to the above-described embodiment of the aerospace dynamics simulation method based on multi-task parallelism.
[0179] The following is for reference. Figure 14 It shows a schematic diagram of the structure of a computer device 600 suitable for implementing the embodiments of this application.
[0180] like Figure 14 As shown, the computer device 600 includes a central processing unit (CPU) 601, which can perform various appropriate tasks and processes based on programs stored in read-only memory (ROM) 602 or programs loaded from storage section 608 into random access memory (RAM) 603. The RAM 603 also stores various programs and data required for the operation of the computer device 600. The CPU 601, ROM 602, and RAM 603 are interconnected via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0181] The following components are connected to I / O interface 605: an input section 606 including a keyboard, mouse, etc.; an output section 607 including a cathode ray tube (CRT), liquid crystal feedback (LCD), etc., and speakers, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to I / O interface 605 as needed. A removable medium 611, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 610 as needed so that computer programs read from it can be installed in storage section 608 as needed.
[0182] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program including program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 609, and / or installed from removable medium 611.
[0183] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0184] For ease of description, the above devices are described separately by function as various units. Of course, in implementing this application, the functions of each unit can be implemented in one or more software and / or hardware.
[0185] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0186] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0187] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0188] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0189] The acquisition, storage, use, and processing of data in this application all comply with the relevant provisions of national laws and regulations.
[0190] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0191] This application can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0192] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0193] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A space dynamics simulation method based on multi-task parallelism, characterized in that, The method includes: Acquire at least one simulation task sent by a spacecraft client, the simulation task including operation instructions, operation data and at least one simulation operation; In response to the operation command, at least one simulation task is executed in parallel based on the running data, and the simulation results corresponding to each simulation task are obtained, including: In response to the operation command, at least one simulation operation is executed based on the running data to obtain simulation data corresponding to each simulation operation; Based on the simulation data corresponding to each simulation operation, the simulation results corresponding to the simulation task are generated; The simulation operation is a setting of space time parameters, the operation instructions include setting time parameters instructions, and the simulation data includes launch trajectory data; In response to the operation command, based on the running data, at least one simulation operation is executed to obtain simulation data corresponding to each simulation operation, including: The spacecraft client sends spacetime parameters, which include the rocket launch time and the satellite-rocket separation time. Based on the rocket launch time and the satellite-rocket separation time, interpolation calculations are performed according to a pre-set simulation mission configuration file to generate launch trajectory data based on the rocket launch time. The launch trajectory data includes the launch trajectory's attitude, time, position, and velocity.
2. The aerospace dynamics simulation method based on multi-task parallelism according to claim 1, characterized in that, The simulation operation is a flight segment change operation, the operation command includes a segment change command, and the simulation data includes orbit prediction data; In response to the operation command, based on the running data, at least one simulation operation is executed to obtain simulation data corresponding to each simulation operation, including: Obtain the flight phase sent by the spacecraft client; Based on the flight phase, a segment transition simulation method is determined, which includes a data interpolation method and a mathematical model method. By using a segment-switching simulation method, trajectory prediction simulation calculations are performed based on the operational data to obtain trajectory prediction data.
3. The aerospace dynamics simulation method based on multi-task parallelism according to claim 1, characterized in that, The simulation operation is a track control operation, the operation instructions include track control instructions, and the simulation data includes track control results; In response to the operation command, based on the running data, at least one simulation operation is executed to obtain simulation data corresponding to each simulation operation, including: Obtain the orbit control parameters sent by the spacecraft client; By using a pre-set track control simulation model, track control is performed based on the track control parameters and operating data to obtain the track control results.
4. The aerospace dynamics simulation method based on multi-task parallelism according to claim 1, characterized in that, The method further includes: In response to the breakpoint save command sent by the spacecraft client, save the current breakpoint information; The breakpoint information is sent to the spacecraft client.
5. The aerospace dynamics simulation method based on multi-task parallelism according to claim 1, characterized in that, The method further includes: Receive the breakpoint start command and breakpoint information sent by the spacecraft client. The breakpoint information includes the breakpoint save time point, mathematical model and simulation task. Based on the saved breakpoint time and mathematical model, the simulation task is started and executed.
6. A space dynamics simulation device based on multi-task parallelism, characterized in that, The device includes: The acquisition unit is used to acquire at least one simulation task sent by a spacecraft client, the simulation task including operation instructions, running data and at least one simulation operation; The simulation task parallel unit is used to respond to the operation command and execute at least one simulation task in parallel according to the running data to obtain the simulation result corresponding to each simulation task. The parallel simulation task unit is specifically used to respond to operation instructions, execute at least one simulation operation based on the running data, obtain simulation data corresponding to each simulation operation, and generate simulation results corresponding to the simulation task based on the simulation data corresponding to each simulation operation. The simulation operation is a setting of space time parameters, the operation instructions include setting time parameters instructions, and the simulation data includes launch trajectory data; The parallel simulation task unit is specifically used to acquire the spacecraft time parameters sent by the spacecraft client. The spacecraft time parameters include the rocket launch time and the satellite-rocket separation time. Based on the rocket launch time and the satellite-rocket separation time, the unit performs interpolation calculations according to the pre-set simulation task configuration file line to generate launch trajectory data based on the rocket launch time. The launch trajectory data includes the launch trajectory's attitude, time, position, and velocity.
7. A computer-readable medium having a computer program stored thereon, characterized in that, When executed by the processor, the program implements the aerospace dynamics simulation method based on multi-task parallelism as described in any one of claims 1 to 5.
8. A computer device comprising a memory and a processor, the memory for storing information including program instructions, and the processor for controlling the execution of the program instructions, characterized in that, When the program instructions are loaded and executed by the processor, they implement the aerospace dynamics simulation method based on multi-task parallelism as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Universal simulation system and method for missile flight dynamics and control
CN109031979A
