An adaptive approach to spacecraft control software facing runtime uncertainty
Through the spacecraft control software adaptive method oriented to runtime uncertainty, using the adaptive integrated model and vertical hierarchical component design, the autonomous adaptation and strategy generation of the spacecraft control software are realized, solving the problems in the existing technology. The inability to deal with runtime uncertainty in a timely manner reduces operation and maintenance costs and resource requirements.
Patent Information
- Application Number
- CN202310423596.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-19
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-04-19
AI Technical Summary
Existing spacecraft control software is unable to respond promptly and independently when faced with operational uncertainties, unexpected environmental changes, and unknown system failures. It requires manual analysis and software patch code writing on the ground, resulting in a waste of resources and high operation and maintenance costs.
Adopting a spacecraft control software adaptive method oriented to runtime uncertainty, through vertical hierarchical component design and adaptive integration model, a perception-analysis module, an adaptive knowledge base and a decision-execution module are constructed to realize spacecraft control. Autonomous adaptation and strategy generation of software.
It achieves rapid and accurate autonomous adaptation of spacecraft control software, reduces computing and storage resource requirements, reduces the cost of manual operation and maintenance on the ground, and can automatically match or generate strategies to deal with unknown anomalies.
Smart Images

Figure CN116736695B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of aerospace technology, and in particular relates to a spacecraft control software adaptive method facing runtime uncertainty. Background Art
[0002] Control software is the main carrier for spacecraft to realize guidance, navigation, attitude and orbit control functions. It collects various index data during the flight process through sensors deployed in different parts of the spacecraft, performs a series of complex control law calculations, and outputs the calculation results to the execution structure such as thrusters to realize a closed-loop control loop. Compared with conventional controlled equipment, spacecraft are expensive and have irreplaceable importance in both national defense and people's livelihood. The control system is one of the four key subsystems of spacecraft. As the key to ensure the long-term stable operation of spacecraft in orbit, the operating environment of control software is extreme and harsh. It has the characteristics of complex structure, strong real-time, limited resources, many calculation values, and high requirements for safety, reliability and fault tolerance. Therefore, it is of far-reaching significance to introduce adaptive mechanisms in the study of onboard software operation to realize the autonomous adaptability of spacecraft control software.
[0003] There are many ways to ensure that the software can still meet the established functional and non-functional requirements after an abnormal event occurs. The traditional methods are mainly based on machine learning and manual design of plans. Machine learning is an effective way to give software a certain degree of autonomy. Computers gradually extract specific data features by analyzing and learning a large amount of data. This feature can also be improved over time and with the deepening of learning. When new data arrives, the machine analyzes it based on the algorithm and the learned experience and gives the most appropriate option. This method has been applied in the aerospace field, but due to its own preference for huge demand for data, especially computing resources, it cannot be widely used in the field of spaceborne software. Manual plan design is currently the mainstream method for autonomous handling of aircraft anomalies on orbit. This method is based on the designer's analysis of known historical data on orbit, and the corresponding countermeasures are deployed in the spacecraft in the form of solidified code. A typical case is that the Chang'e-4 probe uses intelligent autonomous control technology for complex environment dynamic descent to achieve lunar landing and obstacle avoidance.
[0004] When faced with new mission requirements, unexpected environmental changes and unknown system failures, the existing software cannot respond online in a timely manner. It requires targeted analysis and decision-making by ground personnel, and then rewriting the software patch code. The ground station must issue injection commands within a limited communication time window to complete software maintenance. The entire process requires the formulation of complex and detailed operating standards and processes, and the construction and equipment of supporting ground infrastructure and instruments, which inevitably consumes huge manpower and material resources. How to apply software adaptive technology to space vehicles to improve the autonomous capabilities of space flight systems has become a highly valued issue in various aerospace fields. Summary of the invention
[0005] In order to solve the above problems existing in the prior art, the present invention provides a spacecraft control software adaptive method facing runtime uncertainty. The technical problem to be solved by the present invention is achieved by the following technical solutions:
[0006] The present invention provides a spacecraft control software adaptive method for runtime uncertainty, comprising:
[0007] The spacecraft control software is designed in a vertical layered componentized manner, resulting in four layers including the application business layer, system management layer, service component layer, and basic equipment layer from top to bottom;
[0008] Build an adaptive system including a perception-analysis module, an adaptive knowledge base, and a decision-execution module;
[0009] Establishing an adaptive integrated model including onboard equipment, the spacecraft control software and the adaptive system, wherein autonomous adaptation of the spacecraft control software is achieved through direct interaction between the onboard equipment and the spacecraft control software and the adaptive system;
[0010] The adaptive integrated model is used to generate and execute corresponding execution strategy combinations for monitored abnormal events, and the adaptive knowledge base is updated according to unknown abnormal events.
[0011] In one embodiment of the present invention, the basic equipment layer includes a physical flight equipment component and a basic equipment component that carries computing;
[0012] The service component layer includes a track control component, an attitude control component and a business implementation component; the service component layer is used to shield the details of the physical flight equipment component, provide a driver for the basic equipment component, and provide a packaged operation interface to the upper layer group;
[0013] The system management layer includes a power control system component, a power management system component, an AOCS management system component and a computing resource management system component;
[0014] The application business layer is responsible for the action design, execution, planning, and feedback of spacecraft flight missions, provides a business expansion interface for human-computer interaction on the ground, and coordinates the multi-dimensional decoupling between the operating system kernel and business, the control plane and the device plane, and the business and business.
[0015] In one embodiment of the present invention, the onboard equipment is used to monitor and collect the operating data of the spacecraft in real time, including internal software operating data, physical equipment operating data and external environment data of the spacecraft, and when an abnormal event is detected, the abnormal event is sent to the perception-analysis module.
[0016] In one embodiment of the present invention, the adaptive knowledge base includes a fault knowledge base, an environment knowledge base and a demand knowledge base; wherein,
[0017] The fault knowledge base is used to store and represent fault information, fault events and corresponding unit strategies including software internal faults and physical device faults;
[0018] The environmental knowledge base is used to store the entities, event information and associated strategies of environmental changes;
[0019] The requirement knowledge base is used to store and represent task expansion requirement information and software evolution requirement information.
[0020] In one embodiment of the present invention, the fault knowledge base, the environment knowledge base and the demand knowledge base are all hierarchical knowledge networks composed of a vertically stripped entity layer, an event layer and a strategy layer;
[0021] Among them, nodes at different levels are vertically linked according to key elements, which include event occurrence logic, representation, action targets and established strategies.
[0022] In one embodiment of the present invention, the perception-analysis module is provided with a fault model, a demand model, an environment model and a state mapping model; wherein,
[0023] When abnormal operation data of a physical device is detected, the fault model performs fault information disassembly and analysis on the abnormal event to obtain unit fault information, extracts a knowledge hypergraph from the fault knowledge base according to the unit fault information, uses the knowledge hypergraph to match the unit fault information to extract corresponding fault entities, attributes and attribute values, represents the unit fault information in the form of a tuple and sends it to the state mapping model;
[0024] When abnormalities in the internal running data of the software are detected, the demand model extracts a knowledge hypergraph from the demand knowledge base according to the abnormal event, uses the knowledge hypergraph to match and extract the demand entities and relationships of the demand information, and represents the demand information in the form of tuples and sends it to the state mapping model;
[0025] When the external environment data of the spacecraft is detected to be abnormal, the environmental model autonomously generates the subject mission requirements according to the application logic of the spacecraft control software and transmits them to the requirement model for processing, and at the same time generates the estimated subject fault and transmits them to the fault model for processing;
[0026] The state mapping model is used to locate the target entity and target strategy corresponding to the abnormal event from the entity layer and strategy layer of the adaptive knowledge base according to the received tuple information, and send the target strategy to the decision-making-execution module in a combined form.
[0027] In one embodiment of the present invention, the decision-execution module includes a component model and a behavior model; wherein,
[0028] The component model is used to adjust the association relationship between corresponding components in the service component layer according to the received strategy combination, so as to realize different software functions through different component combinations;
[0029] The behavior model is used to adjust the parameters of the corresponding components in the basic device layer according to the received strategy combination to achieve component function changes.
[0030] In one embodiment of the present invention, the adaptive integrated model is used to generate and execute corresponding execution strategy combinations for monitored abnormal events, and the adaptive knowledge base is updated according to unknown abnormal events, including:
[0031] Analyze the event characteristics of the monitored abnormal events to determine whether the current abnormal event is a known event;
[0032] If it is a known event, the event layer of the adaptive knowledge base is traversed, and a topic event with the same topic features as the abnormal event is found based on the precise reasoning method of rule reasoning as the target topic event. The target entity and target strategy corresponding to the target topic event are located from the entity layer and strategy layer of the adaptive knowledge base to form a strategy combination, and the strategy combination is executed to realize the autonomous adjustment of the spacecraft;
[0033] If it is an unknown event, the event layer of the adaptive knowledge base is traversed, and a subject event similar to the subject feature of the abnormal event is found based on the event recognition method of fuzzy reasoning, which is used as the target subject event. The target entity and target strategy corresponding to the target subject event are located from the entity layer and strategy layer of the adaptive knowledge base to form a strategy combination, and the strategy combination is executed to realize the autonomous adjustment of the spacecraft. After the abnormal event is processed, a new topic is generated according to the unit entities and unit events involved in the abnormal event, and the association between the entity layer and the event layer of the adaptive knowledge base is updated according to the new topic.
[0034] Compared with the prior art, the present invention has the following beneficial effects:
[0035] The adaptive method for spacecraft control software facing runtime uncertainty of the present invention realizes autonomous adaptation of spacecraft control software by utilizing the constructed adaptive integrated model. The method has low requirements on computing and storage resources, and can automatically match or quickly generate response strategies for unknown anomalies through event monitoring and analysis, thus solving the cost problem of consuming huge manpower and material resources for manual operation and maintenance on the ground.
[0036] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the following specifically cites a preferred embodiment and describes it in detail with the accompanying drawings as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 is a schematic diagram of a spacecraft control software adaptive method for runtime uncertainty provided by an embodiment of the present invention;
[0038] Figure 2 is a flow chart of a spacecraft control software adaptive method for runtime uncertainty provided by an embodiment of the present invention;
[0039] Figure 3 is a schematic diagram of a knowledge-driven adaptive integrated model provided by an embodiment of the present invention;
[0040] Figure 4 It is a schematic diagram of software adaptive process modeling provided by an embodiment of the present invention;
[0041] Figure 5 It is a knowledge architecture diagram oriented to abnormal event elements provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0042] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined purpose of the invention, the following is a detailed description of a spacecraft control software adaptive method for runtime uncertainty proposed by the present invention in combination with the accompanying drawings and specific implementation methods.
[0043] The above and other technical contents, features and effects of the present invention are clearly presented in the following detailed description of the specific implementation modes in conjunction with the accompanying drawings. Through the description of the specific implementation modes, the technical means and effects adopted by the present invention to achieve the predetermined purpose can be more deeply and specifically understood. However, the attached drawings are only for reference and explanation purposes and are not used to limit the technical solutions of the present invention.
[0044] Embodiment 1
[0045] Please refer to Figure 1 and Figure 2 , Figure 1 is a schematic diagram of a spacecraft control software adaptive method for runtime uncertainty provided by an embodiment of the present invention; Figure 2 1 is a flow chart of a method for spacecraft control software self-adaptation facing runtime uncertainty provided by an embodiment of the present invention. As shown in the figure, the method for spacecraft control software self-adaptation facing runtime uncertainty of this embodiment includes:
[0046] Step 1: Design the spacecraft control software in a vertical layered componentized manner, and obtain four layer groups including the application business layer, system management layer, service component layer, and basic equipment layer from top to bottom;
[0047] Step 2: Build an adaptive system including a perception-analysis module, an adaptive knowledge base, and a decision-execution module;
[0048] Step 3: Establish an adaptive integrated model including onboard equipment, spacecraft control software and adaptive system, in which the autonomous adaptation of the spacecraft control software is achieved through direct interaction between onboard equipment and spacecraft control software and the adaptive system;
[0049] Step 4: Use the adaptive integrated model to generate corresponding execution strategy combinations for the monitored abnormal events and execute them, and update the adaptive knowledge base according to unknown abnormal events.
[0050] In this embodiment, by constructing an adaptive integrated model of the spacecraft and the knowledge support method for each stage of adaptation, the spacecraft operating environment, control software, adaptive system, and adaptive knowledge supporting the adaptive process are integrated to achieve event analysis and strategy generation, so that the spacecraft control software has the ability to adapt quickly and accurately and autonomously. Among them, the spacecraft control software, adaptive system, and onboard equipment and operating environment outside the system boundary are components of the knowledge-driven adaptive integrated model. The adaptive knowledge base is embedded between the perception-analysis module and the decision-making-execution module of the adaptive system, and its update and empowerment process is realized through direct interaction with the adaptive process and control software.
[0051] In an optional implementation, a software collaboration approach is used to conduct mainstream design of spacecraft control software, vertically layering application services, system management, service components, and basic equipment, while performing component-based design at different levels, and standardizing and normalizing its services and structures.
[0052] Among them, the basic equipment layer includes physical flight equipment components, such as thrusters, CMG, star sensors, radars, etc., as well as basic equipment components that carry computing, such as processors, memories, etc.
[0053] In an optional embodiment, the service component layer is used to shield the details of the physical flight equipment components to weaken the differences between the devices and reduce the coupling of the platform devices; the service component layer is also used to provide drivers for the basic equipment components and provide encapsulated operation interfaces to the upper layer groups to ensure the reusability of the service components.
[0054] In this embodiment, the service component layer includes a track control component, a posture control component, and a business implementation component.
[0055] In an optional embodiment, the system management layer is composed of a variety of high-frequency management subsystems, including a power control system component, a power management system component, an AOCS management system component, and a computing resource management system component.
[0056] In an optional implementation, the application business layer is responsible for the action design, execution, planning, and feedback of the spacecraft flight mission, provides a business expansion interface for human-computer interaction on the ground, and coordinates the multi-dimensional decoupling between the operating system kernel and business, the control plane and the device plane, and the business and the business.
[0057] In an optional embodiment, the onboard equipment is used to monitor and collect the spacecraft's operating data in real time, including software internal operating data, physical equipment operating data and spacecraft external environment data, and when an abnormal event is detected, the abnormal event is sent to the perception-analysis module.
[0058] Please refer to Figure 3 , Figure 4 and Figure 5 , Figure 3 is a schematic diagram of a knowledge-driven adaptive integrated model provided by an embodiment of the present invention; Figure 4 is a schematic diagram of software adaptive process modeling provided by an embodiment of the present invention, Figure 5 It is a knowledge architecture diagram oriented to abnormal event elements provided by an embodiment of the present invention.
[0059] In an optional implementation, a bottom-up approach is used to construct a knowledge base for three adaptive software triggering factors: sudden failure, environmental change, and demand expansion. That is, the adaptive knowledge base includes a fault knowledge base, an environmental knowledge base, and a demand knowledge base, and the knowledge bases interact horizontally.
[0060] Among them, the fault knowledge base is used to store and represent fault information, fault events and corresponding unit strategies including internal software faults and physical equipment faults, to support adaptive full-process optimization triggered by faults. The environment knowledge base is used to store the entities, event information and associated strategies of environmental changes, so as to characterize the changes in the external environment of the system. The requirement knowledge base is used to store and represent task expansion requirement information and software evolution requirement information. Among them, the requirement changes come from the task upload of the ground command center or the autonomous evolution iteration of the software. The different requirements published by the adaptive model are matched or effective strategy combinations are generated to support the autonomous business expansion of the system.
[0061] In an optional implementation, the fault knowledge base, the environment knowledge base and the demand knowledge base are all hierarchical knowledge networks that are a combination of vertically peeled entity layer, event layer and strategy layer; wherein nodes at different levels are vertically linked according to key elements, and the key elements include event occurrence logic, representation, action target and established strategy.
[0062] In this embodiment, the knowledge network uses coarse-grained topics as nodes, and the horizontal connections between the same level depend on the topic relevance. The node relevance is described by the edges between the nodes, and the node relevance is weighted and quantified. The value range is [0, 1]. The larger the value, the stronger the relevance. For example, "communication equipment" and "communication software" are both direct influencing factors of the system functional goal "communication", so there is a strong correlation between the two nodes.
[0063] The vertical stratification of the knowledge base is explained in detail below.
[0064] Optionally, the entity layer defines the content of physical and abstract software entities in combination with spacecraft design specifications, expert experience, historical logs, and runtime data. Different knowledge bases have different event types, but they all focus on concrete fine-grained hardware and software entities, such as "thruster driver" and "light sensor driver" in the fault knowledge base, "high-energy particle radiation", "space debris", "perturbation force" in the environment knowledge base, and "function call component" and "logic operation component" in the demand knowledge base. In the process of building the entity layer, these numerous fine-grained entity relationships are too complex. Therefore, the entities are clustered into coarse-grained entity combinations according to event characteristics, and this combination is defined as a topic. For example, the physical devices related to attitude control such as "three-axis magnetometer", "infrared horizon", and "scanning momentum wheel" constitute the subject entity "attitude control equipment"; the power management software units such as "current and voltage signal acquisition component", "peak power tracking component", and "discharge regulator component" constitute the subject entity "energy management system".
[0065] Optionally, the event layer has the same structure as the entity layer, which is an information extension of the upper entity knowledge. The event knowledge comes from the detailed attribute information of abnormal events, based on the existing spacecraft operation log, and is improved through event injection, and is continuously updated during the operation of the system. The event layer also takes independent unit events as the core, and the theme event represents the same unit events as the clustering standard based on the theme entity. Taking "communication failure" as an example, the unit events that constitute the theme event are directly related to the failure of the system communication function, such as "antenna damage", "component loss", "network conflict", etc. It is not difficult to find that any of the above three unit events will induce the theme event, that is, the unit event is a sufficient condition for the theme event to which it belongs.
[0066] Optionally, the policy layer does not need to be constructed in the form of subject policies. The policy layer is mainly composed of unit policies that vertically connect unit events and entities. This form of events, entities, and policies meets the use conditions of ECA rules. This triple information containing "events", "conditions", and "relationships" is passed to the adaptive system component model to perform policy matching according to ECA rules.
[0067] In this embodiment, the communities composed of knowledge hypergraphs are used as knowledge network nodes, and the entity layer and event layer are constructed into knowledge networks with subject entities and subject events as nodes respectively. Topics at different levels are constructed by communities composed of unit entities and unit events.
[0068] In an optional implementation, the perception-analysis module is provided with a fault model, a demand model, an environment model and a state mapping model; the decision-execution module includes a component model and a behavior model.
[0069] Optionally, the adaptive elements and adaptive process modeling use fault models, demand models and environment models to monitor and collect data on corresponding abnormal events through onboard equipment (i.e., software and hardware detection equipment) deployed on spacecraft, and then combine the event layer of the corresponding knowledge base to disassemble the abstract subject events and generate unit events. The state mapping model maps the unit events on this basis, and then traverses the path in the entity layer of the knowledge base to locate the corresponding event-related entities to achieve unit entity positioning. Finally, similar strategies are searched at the strategy layer based on the similarity algorithm, and are passed to the decision-execution module in the form of a strategy combination. The component model and the behavior model realize software behavior changes by adjusting the internal parameters of the components and the associations between components. In this embodiment, the adaptive elements are necessary factors for adaptive software in the perception-analysis process and the decision-execution process.
[0070] The following is a detailed description of the perception-analysis module and the decision-execution module.
[0071] In an optional implementation, when abnormal operation data of a physical device is monitored, the fault model decomposes and analyzes the fault information of the abnormal event to obtain unit fault information, extracts a knowledge hypergraph from the fault knowledge base based on the unit fault information, uses the knowledge hypergraph to match the unit fault information to extract the corresponding fault entities, attributes and attribute values, represents the unit fault information in the form of a tuple and sends it to the state mapping model.
[0072] In this embodiment, the unit fault information is described in the form of fault RDF triples.
[0073] In an optional implementation, when an abnormality is detected in the internal running data of the software, the demand model extracts a knowledge hypergraph from the demand knowledge base based on the abnormal event, uses the knowledge hypergraph to match and extract the demand entities and relationships of the demand information, represents the demand information in the form of tuples and sends it to the state mapping model.
[0074] In this embodiment, the demand model can decompose the abstract top-level business and guide the system's understanding of spacecraft mission expansion and onboard software evolution.
[0075] In an optional implementation, when the external environment data of the spacecraft is monitored to be abnormal, the environment model autonomously generates the subject mission requirements according to the application logic of the spacecraft control software and transmits them to the requirement model for processing, and simultaneously generates the estimated subject fault and transmits them to the fault model for processing;
[0076] In this embodiment, the environment model can characterize the context changes that may trigger adaptation when the system is running. There are two types of environmental changes: passive environmental changes that the system cannot avoid and active changes that can maintain the current system operation quality by taking appropriate strategies.
[0077] In an optional implementation, the state mapping model is used to locate the target entity and target strategy corresponding to the abnormal event from the entity layer and strategy layer of the adaptive knowledge base according to the received tuple information, and send the target strategy in a combined form to the decision-execution module.
[0078] In this embodiment, the state mapping model captures the subject events at the event layer of the corresponding knowledge base according to the received tuple information, screens the upper-layer related subject entities by path traversal, extracts other entities strongly associated with the target entity, and then returns to the event layer to achieve joint filtering of unit events and entities. According to the target unit event, it propagates to the lower strategy layer, locates the unit strategies that match a large number of unit events, and finally sends the unit strategies to the decision-making-execution module in the form of strategy combination.
[0079] In an optional implementation, the component model is used to adjust the association relationship between corresponding components in the service component layer according to the received policy combination, so as to implement different software functions through different component combinations.
[0080] In this embodiment, the component model is responsible for adjusting the association relationship between software components and realizing different software functions through different component combinations.
[0081] Optionally, the component model adopts a component relationship representation method based on the ECA form. The ECA rule is a policy-based adaptive decision-making method, which consists of events, conditions and actions. It has the advantages of simple grammatical structure and fast execution speed. Among them, events are perceived and monitored objects in the component model, and conditions will constrain the pre-state of the execution action. When the conditions are met, the established actions will be taken. In the component model, the running state of the event model will be used as a perception object. When the event model is running, the component model will be activated and judge whether the constraint conditions are met. If the established conditions are met, the component reorganization action will be executed according to the upper-level strategy.
[0082] In an optional implementation, the behavior model is used to adjust the parameters of the corresponding components in the basic device layer according to the received policy combination to achieve component function changes.
[0083] In this embodiment, the behavior model implements the change of component functions by adjusting component parameters.
[0084] For example, when the external temperature of the spacecraft decreases, the adaptive system should adjust the load upper limit of the temperature-sensitive computing equipment, or lower the power consumption threshold of the heat dissipation equipment.
[0085] In this embodiment, the behavior model is also designed and represented based on the ECA rules. In the behavior model, the running status of the component model will be used as the perception object. When the component model abandons the task, the behavior model will be activated, and then the constraint conditions will be judged. If the established conditions are met, the upper-level strategy combination will be used as a guide to execute the parameter update action.
[0086] In an optional embodiment, step 4 includes:
[0087] Step 4.1: Analyze the event characteristics of the monitored abnormal events to determine whether the current abnormal event is a known event;
[0088] In this embodiment, an abnormal event is discovered through the perception-analysis module, and then whether the current abnormal event is known is analyzed based on the event characteristics.
[0089] It should be noted that the abnormal event here is the unit event analyzed by the perception-analysis module. For example, if the gyro communication failure occurs for 10 seconds, the unit event cannot be divided. The event feature is the effective feature value information monitored by the onboard equipment.
[0090] Step 4.2: If it is a known event, traverse the event layer of the adaptive knowledge base, find the subject event with the same subject features as the abnormal event based on the precise reasoning method of rule reasoning, and use it as the target subject event. Locate the target entity and target strategy corresponding to the target subject event from the entity layer and strategy layer of the adaptive knowledge base, form a strategy combination, and execute the strategy combination to realize the autonomous adjustment of the spacecraft;
[0091] Specifically, first, traverse the corresponding knowledge base and take the subject events with the same subject features as the abnormal events in the knowledge base as the target subject events. Secondly, locate the subject entities associated with the target subject events through the vertical connection of each knowledge layer in the knowledge base. Then, perceive the entities with state sensors in the target subject entities, and infer the states of the adjacent unit entities that cannot be perceived, judge and filter out the unit entities in abnormal states. Finally, according to the policy rule form, generate the corresponding unit strategy for the current abnormal events and conditions, form a strategy combination, and perform autonomous adjustment of the system according to the ECA rules.
[0092] In this embodiment, the theme feature is a higher level of abstraction of the event feature of the unit event. For example, for the unit event of gyro communication failure occurring for 10 seconds, the corresponding theme event is gyro communication failure. The strategy layer will adopt different action strategies based on the different features of the unit event, taking the fault duration as an example here.
[0093] In this embodiment, the subject feature identical matching method adopts an accurate reasoning method based on rule reasoning established based on the rule reasoning concept, and achieves matching by mapping the monitored effective feature values with their corresponding rules.
[0094] Step 4.3: If it is an unknown event, traverse the event layer of the adaptive knowledge base, find the subject event with similar subject features to the abnormal event based on the event recognition method of fuzzy reasoning, and use it as the target subject event. Locate the target entity and target strategy corresponding to the target subject event from the entity layer and strategy layer of the adaptive knowledge base, form a strategy combination, and execute the strategy combination to realize the autonomous adjustment of the spacecraft;
[0095] After the abnormal event is processed, a new topic is generated according to the unit entities and unit events involved in the abnormal event, and the association between the entity layer and the event layer of the adaptive knowledge base is updated according to the new topic.
[0096] Specifically, first, traverse the corresponding knowledge base and take the subject events in the knowledge base that are similar to the subject features of abnormal events as the target subject events. Secondly, locate the subject entity associated with the target subject event through the vertical connection of each knowledge layer in the knowledge base, perceive the entity with state sensor in the entity combination, judge and screen out the unit entity with abnormal state, and infer the state of the unit entity that does not have the state check condition but is strongly associated based on the complex network theory. Then, according to the association between the screened abnormal state unit entity and the event layer, perceive the unit event with the state checker, and infer the state of the unit event that does not have the state check condition but is strongly associated. Finally, according to the policy rule form, generate the corresponding unit strategy for the current abnormal event and condition, form a strategy combination, and perform autonomous adjustment of the system according to the ECA rules.
[0097] In this embodiment, after the processing of an unknown abnormal event is completed, the unit entities and unit events involved in the abnormal event are combined respectively, the relationship between the unit entities and the unit events is completed, a new topic is generated, and the association between the entity layer and the event layer of the adaptive knowledge base is updated according to the internal vertical relationship between the topic entities and the topic events of the new topic.
[0098] In this embodiment, the topic feature similarity matching method adopts an event recognition method based on fuzzy reasoning based on the idea of fuzzy reasoning, and achieves matching by calculating the similarity between the membership degree corresponding to the monitored effective feature value and the rule antecedent.
[0099] The adaptive method for spacecraft control software facing runtime uncertainty in the embodiment of the present invention constructs an adaptive integrated model including onboard equipment, spacecraft control software and an adaptive system, and the autonomous adaptation of spacecraft control software can be achieved through the adaptive integrated model. When an abnormal event is perceived, it is analyzed whether the current event is known based on the event characteristics. If it is known, the corresponding subject entity is located, and anomaly detection is performed based on the unit entity sensor in the subject to achieve unit entity positioning, and the corresponding unit strategy is matched. Finally, the system is autonomously adjusted according to the ECA rules. For unknown events, based on the identification of similar events, the target is located in the hypergraph through the representation of associated entities, and then the unit events are combined for strategy matching. Finally, the unit strategy is passed to the adaptive system decision-making-execution module in the form of a strategy combination for decision execution.
[0100] The embodiment of the present invention utilizes the constructed adaptive integrated model to realize autonomous adaptation of spacecraft control software. The method has low requirements on computing and storage resources, and can automatically match or quickly generate response strategies for unknown anomalies through event monitoring and analysis, thus solving the cost problem of consuming huge manpower and material resources for ground manual operation and maintenance.
[0101] Furthermore, a specific embodiment is used to verify that the adaptive integrated model of the embodiment of the present invention realizes autonomous adaptation of the spacecraft control software.
[0102] Experimental content: Reproduce the known abnormal event of satellite deviation from orbit and the unknown abnormal event of unstable attitude caused by operation conflict when the satellite orbit is changed, and use the method of the embodiment of the present invention to handle these two events.
[0103] Experimental process: First, the system object relationships involved in the adaptive process of this case are abstracted. In this case, the onboard adaptive system perceives the abnormality of the current system speed and altitude in real time with its onboard sensors. The fault model intervenes and successfully identifies the known subject event "orbit control failure" based on the key event representations such as "speed abnormality" and "altitude abnormality". Then, according to the longitudinal association of the subject in the event layer and entity layer of the adaptive knowledge base, the event entity is located as "power equipment", "energy", "attitude and orbit control system", etc. The fault model actively perceives the subject entity and locates that the key entities are all actuators, so the current event is accurately identified as "actuator abnormality". Then, the response strategy is matched based on the knowledge base strategy layer, and it is passed to the component model and behavior model to guide the execution of the spacecraft control software. The state mapping model intervenes to calculate the deviations of the expected target "orbit altitude", "available fuel", "ground attitude", etc. Since the subject event is a known event, the fault model can realize adaptive processing according to the strategy combination associated with the strategy layer. During the fault analysis process, the ground command center can modify the established target orbit to the current orbit and upload the subject demand to hand over the abnormal event to the demand model for processing. Since the event is a known event, the two models can identify and match similar strategies, but the demand model can save the time overhead of fault model event analysis.
[0104] During the orbit change process, the satellite attitude was unstable when the main engine was about to ignite, and the attitude control engine adjusted and corrected the attitude and changed automatically again. After ground investigation, it was found that another branch operation in the system caused the Taineng sailboard to vibrate strongly and induced the unknown event of abnormal attitude. After the attitude sensor alerted the unknown abnormal event, the onboard environmental perception system (onboard equipment) did not detect the abnormal external environment, and the spacecraft control software also did not receive the ground business expansion command. The adaptive system fault model intervened and identified multiple theme events based on the event representations of "abnormal amplitude" and "abnormal attitude", so the current abnormal event was determined to be an unknown event. Then, the event-related subject entities are traced and matched to relevant hardware and software subject entities such as "charging equipment", "charging control software", "attitude control equipment", and "attitude control software". The entity class knowledge hypergraph composed of the subject entities is marked in the entity layer of the adaptive knowledge base, and a weighted undirected subject knowledge network is generated. According to the relationship weight, the entity with the sensor is actively sensed to obtain its operating status, and the status of other associated unit entities is inferred. A knowledge network is constructed based on the subject event knowledge hypergraph, and finally the key unit entity "reaction wheel 0x 65B204", "Test business support component 0x005481", "Charging business component 0x007B62", "Function management business component 0x0007B2", etc., as well as key unit events "id: 0x006240, forward, 1800rpm" and "id: 0x006226, reverse, 900rpm" are determined as business conflicts according to the constraint rules, and matched with relevant unit strategies such as "business priority check", "business preservation", "business interruption", "wait for wake-up", etc., and handed over to the component model to adjust the corresponding timing of the components.
[0105] The above two experimental cases also prove the scientificity and rationality of the method of the present invention. The method does not require high computing and storage resources and can automatically match or quickly generate response strategies for unknown abnormal events through monitoring and analysis, solving the cost problem of the existing method that requires huge manpower and material resources to carry out ground manual operation and maintenance.
[0106] It should be noted that, in this article, the terms "comprise", "include" or any other variants are intended to cover non-exclusive inclusion, so that an article or device including a series of elements includes not only those elements, but also other elements not explicitly listed. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the article or device including the elements. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The orientation or positional relationship indicated by "upper", "lower", "left", "right", etc. is based on the orientation or positional relationship shown in the accompanying drawings, only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0107] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A spacecraft control software adaptive method for runtime uncertainty, characterized in that: include: The spacecraft control software is designed in a vertical layered componentized manner, resulting in four layers including the application business layer, system management layer, service component layer, and basic equipment layer from top to bottom; Build an adaptive system including a perception-analysis module, an adaptive knowledge base, and a decision-execution module; Among them, a bottom-up method is adopted to construct a fault knowledge base for fault sudden adaptive software trigger factors, an environmental knowledge base for environmental change adaptive software trigger factors, and a demand knowledge base for demand expansion adaptive software trigger factors as the adaptive knowledge base, and the fault knowledge base, the environmental knowledge base and the demand knowledge base interact horizontally; wherein the fault knowledge base is used to store and represent fault information, fault events and corresponding unit strategies including software internal faults and physical equipment faults, and is used to support adaptive full-process optimization triggered by faults; the environmental knowledge base is used to store the role entities, event information and associated strategies of environmental changes, and realize the characterization of changes in the external environment of the system; the demand knowledge base is used to store and represent task expansion demand information and software evolution demand information; The fault knowledge base, the environment knowledge base and the demand knowledge base are all hierarchical knowledge networks composed of a vertically stripped entity layer, an event layer and a strategy layer; wherein nodes at different levels are vertically linked according to key elements, and the key elements include event occurrence logic, representation, action targets and established strategies; wherein the hierarchical knowledge network uses coarse-grained topics as nodes, and the horizontal connections between the same levels depend on the topic relevance, and the node relevance is described by the edges between the nodes, and the node relevance is weighted and quantified, and the value range is [0, 1], and the larger the value, the stronger the relevance; The vertical stratification process of the fault knowledge base, the environment knowledge base and the demand knowledge is as follows: the entity layer defines the physical and abstract software entity content in combination with the spacecraft design specifications, expert experience, historical logs and runtime data. The event types faced by different knowledge bases are all centered on concrete fine-grained software and hardware entities. In the process of constructing the entity layer, the entities are clustered into coarse-grained entity combinations according to event characteristics, and this combination is defined as a theme; the event layer has the same structure as the entity layer and is an information extension of the upper-level entity knowledge. Event knowledge comes from the detailed attribute information of abnormal events. It is based on the existing spacecraft operation logs and is improved by event injection. It is continuously updated during the operation of the system. The event layer is centered on independent unit events. The theme events represent the same unit events as clustering standards based on the theme entities; the strategy layer is composed of unit strategies that vertically connect unit events and entities; the communities composed of knowledge hypergraphs are used as knowledge network nodes, and the entity layer and event layer are respectively constructed into knowledge networks with theme entities and theme events as nodes. Themes at different levels are constructed by communities composed of unit entities and unit events; Establishing an adaptive integrated model including onboard equipment, the spacecraft control software and the adaptive system, wherein autonomous adaptation of the spacecraft control software is achieved through direct interaction between the onboard equipment and the spacecraft control software and the adaptive system; The adaptive integrated model is used to generate and execute corresponding execution strategy combinations for monitored abnormal events, and the adaptive knowledge base is updated according to unknown abnormal events, including: Analyze the event characteristics of the monitored abnormal events to determine whether the current abnormal event is a known event; If it is a known event, the event layer of the adaptive knowledge base is traversed, and a topic event with the same topic features as the abnormal event is found based on the precise reasoning method of rule reasoning as the target topic event. The target entity and target strategy corresponding to the target topic event are located from the entity layer and strategy layer of the adaptive knowledge base to form a strategy combination, and the strategy combination is executed to realize the autonomous adjustment of the spacecraft; If it is an unknown event, the event layer of the adaptive knowledge base is traversed, and a subject event similar to the subject feature of the abnormal event is found based on the event recognition method of fuzzy reasoning, which is used as the target subject event. The target entity and target strategy corresponding to the target subject event are located from the entity layer and strategy layer of the adaptive knowledge base to form a strategy combination, and the strategy combination is executed to realize the autonomous adjustment of the spacecraft. After the abnormal event is processed, a new topic is generated according to the unit entities and unit events involved in the abnormal event, and the association between the entity layer and the event layer of the adaptive knowledge base is updated according to the new topic.
2. The method for spacecraft control software adaptation for runtime uncertainty according to claim 1, characterized in that: The basic equipment layer includes physical flight equipment components and basic equipment components that carry computing; The service component layer includes a track control component, an attitude control component and a business implementation component; the service component layer is used to shield the details of the physical flight equipment component, provide a driver for the basic equipment component, and provide a packaged operation interface to the upper layer group; The system management layer includes a power control system component, a power management system component, an AOCS management system component and a computing resource management system component; The application business layer is responsible for the action design, execution, planning, and feedback of spacecraft flight missions, provides a business expansion interface for human-computer interaction on the ground, and coordinates the multi-dimensional decoupling between the operating system kernel and business, the control plane and the device plane, and the business and business.
3. The method for spacecraft control software adaptation for runtime uncertainty according to claim 2, characterized in that: The onboard equipment is used to monitor and collect the spacecraft's operating data in real time, including software internal operating data, physical equipment operating data and spacecraft's external environment data, and when an abnormal event is detected, the abnormal event is sent to the perception-analysis module.
4. The method for spacecraft control software adaptation for runtime uncertainty according to claim 1, characterized in that: The perception-analysis module is provided with a fault model, a demand model, an environment model and a state mapping model; wherein, When abnormal operation data of a physical device is detected, the fault model performs fault information disassembly and analysis on the abnormal event to obtain unit fault information, extracts a knowledge hypergraph from the fault knowledge base according to the unit fault information, uses the knowledge hypergraph to match the unit fault information to extract corresponding fault entities, attributes and attribute values, represents the unit fault information in the form of a tuple and sends it to the state mapping model; When abnormalities in the internal running data of the software are detected, the demand model extracts a knowledge hypergraph from the demand knowledge base according to the abnormal event, uses the knowledge hypergraph to match and extract the demand entities and relationships of the demand information, and represents the demand information in the form of tuples and sends it to the state mapping model; When the external environment data of the spacecraft is detected to be abnormal, the environmental model autonomously generates the subject mission requirements according to the application logic of the spacecraft control software and transmits them to the requirement model for processing, and at the same time generates the estimated subject fault and transmits them to the fault model for processing; The state mapping model is used to locate the target entity and target strategy corresponding to the abnormal event from the entity layer and strategy layer of the adaptive knowledge base according to the received tuple information, and send the target strategy to the decision-making-execution module in a combined form.
5. The method for spacecraft control software adaptation facing runtime uncertainty according to claim 4, characterized in that: The decision-making-execution module includes a component model and a behavior model; wherein, The component model is used to adjust the association relationship between corresponding components in the service component layer according to the received strategy combination, so as to realize different software functions through different component combinations; The behavior model is used to adjust the parameters of the corresponding components in the basic device layer according to the received strategy combination to achieve component function changes.
