Satellite load power consumption conflict detection method and device and storage medium
By constructing a satellite payload power supply model and detecting its actual power consumption curve, the problem of resource waste caused by maximum power consumption planning is solved, and more efficient resource utilization and mission planning are achieved.
Patent Information
- Application Number
- CN202410729751.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-10-01
AI Technical Summary
The existing technology uses maximum power consumption for mission planning in satellite payload experiments, resulting in waste of power resources and low efficiency, especially in space science missions, affecting overall efficiency.
By constructing a load power supply model and setting telemetry points, the actual power consumption value of each component is obtained, a power consumption curve piecewise function is generated, and a minimally possible conflict set is constructed based on this, and power consumption conflict detection is performed to ensure reasonable allocation of resources.
Quickly resolve conflicts, avoid limiting the work of other loads, improve overall efficiency, and make full use of the space station's power resources.
Smart Images

Figure CN118734432A_ABST
Abstract
Description
Technical Field
[0001] The present invention mainly relates to the technical field of satellite payload conflict detection, and in particular to a satellite payload power consumption conflict detection method, device and storage medium. Background Art
[0002] With the in-depth advancement of space station construction and the rapid development of aerospace technology, the number of space station payloads has continued to increase, and the structure and function of the payloads have become increasingly complex. The implementation of payload experiments requires the support of space station-related resources, such as power consumption, storage, bandwidth, and astronaut resources. Due to the particularity of the environment, these resources are limited in number and very valuable. Therefore, how to reasonably plan a large number of space science experiments under limited resource conditions faces huge challenges.
[0003] Mission planning is mainly responsible for generating payload work plans, data downlink plans, material use plans, etc. that meet certain constraints based on the user's experimental application under given resource conditions. Due to the limited resources of the space station, the work plans obtained by mission planning often need to meet resource constraints such as power consumption, storage, and bandwidth. Among them, power consumption constraints are the most basic and common resource constraints. In the planning stage, it is particularly important to accurately establish the power consumption model of the payload, calculate the power consumption of each payload experiment and the total power consumption, and quickly detect whether there is a power consumption conflict in the planning scheme for conducting space science experiments.
[0004] Existing planning technologies usually consider the experimental power consumption of a single payload as a constant value. To ensure resource security, this constant value is generally the maximum power consumption of the payload during the experiment. For example, the journal DO I:10.7641 / CTA.2019.90492 sets the load power during the satellite's Earth shadow period as a constant value to complete subsequent mission planning.
[0005] The above technical solution uses the maximum power consumption for task planning, thereby ensuring that the final planning result meets the resource security. However, in actual situations, the load experiment consists of a series of control instructions, and each control instruction will cause one or more components of the load to move when executed, and the power consumption of the load may also change accordingly. Figure 1 The power consumption changes of a certain load experiment during the execution of each control instruction are given. If the maximum power consumption of this experiment is used for planning, there will be a large amount of power consumption margin in certain time periods. These power consumption margins are occupied by the load experiment but are not actually used, and cannot be allocated to other load experiments, resulting in a waste of power consumption resources. For remote sensing missions, the mission duration is generally from a few minutes to tens of minutes, and this waste of resources has little impact; however, for space science missions, each experiment lasts from a few minutes to a few hours or even tens of hours. If the mission is planned according to the maximum power consumption, it will seriously limit the work of other loads and affect the overall efficiency. Summary of the invention
[0006] The technical problem to be solved by the present invention is to provide a satellite payload power consumption conflict detection method, device and storage medium in view of the deficiencies in the prior art.
[0007] The technical solution of the present invention to solve the above technical problem is as follows: A satellite payload power consumption conflict detection method comprises the following steps:
[0008] A load power supply model is constructed through a topological relationship of a plurality of load components, wherein the load components include power consumption components, switch components, and power consumption irrelevant components;
[0009] A plurality of telemetry points are set at key positions in the load power supply model, and a task set is imported, and during the execution of the task set, the actual power consumption values of all load components are obtained through all the telemetry points;
[0010] Generate a power consumption curve piecewise function according to each actual power consumption value;
[0011] Based on the power consumption curve piecewise function and conflict definition, the minimum possible conflict set that violates the power consumption constraint in the task set is constructed;
[0012] Power consumption conflict detection is performed according to the minimal possible conflict set to obtain a result of whether a power consumption conflict occurs.
[0013] The beneficial effects of the present invention are as follows: a load power supply model is constructed by power-consuming components, switch components and power-independent components in the load components, and multiple telemetry points are set in the load power supply model. The actual power consumption values of all load components are obtained through the telemetry points and a power consumption curve piecewise function is generated. The minimal possible conflict set is constructed through the power consumption curve piecewise function, and power consumption conflict detection is performed based on the minimal possible conflict set, which is conducive to quickly resolving conflicts during conflict detection and task planning, avoiding restrictions on the work of other loads, and improving overall efficiency.
[0014] Based on the above technical solution, the present invention can also be improved as follows.
[0015] Furthermore, the actual power consumption values of all load components are obtained through all the telemetry points during the execution of the task set, specifically:
[0016] Define the actual power consumption of each load component Where n is the number of components in the load, Indicates load component N i The actual power consumption of i = 1, 2, ..., n, and define the switching vector a of each load component i ={a i1 , a i2 , ..., a in}, aij ∈{0,1},j=1,2,…,n,a ij Indicates the switch status;
[0017] The power consumption measurements of all load components are obtained from all telemetry points, and all the power consumption measurements are combined into a vector E = {e1, e2, ..., e k} T , k∈[1,2 n ], where k is the number of measurements;
[0018] When multiple control instructions of the task set are executed, a load event occurs. According to the topological relationship of all load components, the switch states of each switch component when and before the load event occurs are written into the switch vector a. i and through the switch vector a written into the switch state i The coefficient matrix A is constructed.
[0019]
[0020] The least square method is used to solve the equation group AP = E to obtain the actual power consumption P of each load component N i The actual power consumption value.
[0021] Furthermore, the power consumption curve piecewise function is generated according to each actual power consumption value, specifically:
[0022] According to the execution time sequence of multiple control instructions in the task set, a control instruction set Exp = {cmd(t i )|i=1,2,…,z},where cmd(t i ) indicates that at t i The control instructions executed at all times, the control instructions are used to control the opening or closing of each load component, and z represents the number of control instructions;
[0023] Define the initial power consumption p(t0)=0 corresponding to each load component at the initial time t0, and define the power consumption change point set P Δ ={p(t0)}, let i=1;
[0024] Traverse each control instruction cmd(t i ), when executing each control command cmd(t i ) is calculated by using the corresponding actual power consumption value at t i The power consumption change value caused by the moment, and the power consumption change point set P is updated according to the power consumption change value. Δ , in each control command cmd(t i ) When the traversal is completed, the updated power consumption change point set P is obtained Δ;
[0025] Traverse the updated power consumption change point set P Δ , generate the power consumption curve piecewise function:
[0026] p(t)=p(t i-1 ), t∈[t i-1 , t i ), i=1, 2, ..., z.
[0027] Further, in executing each control instruction cmd(t i ) is calculated by using the corresponding actual power consumption value at t i The power consumption change value caused by the moment, and the power consumption change point set P is updated according to the power consumption change value. Δ , specifically:
[0028] When executing the ith control instruction cmd(t i ), the corresponding controlled load component N j Execute the action at t i The power consumption changes at each moment, and the power consumption change value p(t i ),
[0029] If the controlled load component N j If it is a power-consuming component,
[0030] If the controlled load component N j For a switch component, detect the set of all subsequent components of the switch component:
[0031] Succ(N j )={N k |k∈[1,m]},
[0032] a) If the action is "on", then
[0033] b) If the action is "off", then
[0034] If the controlled component is a power-independent component, then p(t i )=p(t i-1 );
[0035] Update the power consumption change point set according to the power consumption change value: Δ =P Δ ∪{p(t i )}.
[0036] Furthermore, the minimal possible conflict set that violates the power consumption constraint in the task set is constructed based on the power consumption curve piecewise function and the conflict definition, specifically:
[0037] The conflict is defined as the total resource consumption of all tasks in the task set exceeding the limit at any time, and the total resource consumption of all tasks in any proper subset of the task set does not exceed the limit at any time.
[0038] The expression of the conflict definition is:
[0039] Task T i = {lb i ,ts i ,te i ,ub i , p(t-ts i )},
[0040] Task set V = {T i |i∈[1,n]},
[0041] Relationship Collection
[0042] Among them, lb i ,ub i are the initial time and end time of the task elastic window, ts i ,te i are the estimated start time and end time of the task respectively, p(t-ts i ) is the task T i The power consumption curve piecewise function;
[0043] The expression of the conflict definition is used to output the minimal possible conflict set MCS.
[0044] Further, the expression outputting the minimum possible conflict set MCS through the conflict definition is specifically:
[0045] S1.1. Take the empty set as the root node Root, and set the root node Root to the node to be expanded N≤Root, and define the possible intersection set
[0046] S1.2, sort the task set V according to certain rules as the candidate task set S(N)≤V;
[0047] S1.3. Traverse each task T in S(N) i :
[0048] S301, expand a child node P(N) at node N,
[0049] S302, node P(N) generates a possible intersection set C(P(N))=C(N)∪{T i},
[0050] S303, calculate the resource curves of all tasks in C(P(N)), if it exceeds the limit, the minimum possible conflict set MCS = MCS∪C(P(N)), and jump to step S305, otherwise continue to execute step S304,
[0051] S304, detect a new candidate task set S(P(N))={T j |e ij ∈E&i>j}, if Jump to step S301 to traverse the new candidate task set S(P(N)), otherwise continue to execute step S305,
[0052] S305, end the current loop and continue to traverse task T i+1 ;
[0053] S1.4. Output the minimum possible conflict set MCS.
[0054] Further, the power consumption conflict detection is performed according to the minimal possible conflict set to obtain a result of whether a power consumption conflict occurs, specifically:
[0055] S2.1. Let i=1, conflict=false;
[0056] S2.2, for multiple tasks in the i-th minimal possible conflict set MCS, retrieve the actual execution time of each task in the planning scheme;
[0057] S2.3, find the intersection of the actual execution time of all tasks. If the intersection is empty, jump to step S2.6.
[0058] S2.4, calculating the power consumption of each load component under each task of the minimal possible conflict set MCS, summing up the calculated power consumptions to obtain the total power consumption;
[0059] S2.5. If the total power consumption exceeds the preset upper power consumption limit, set conflict = true.
[0060] S2.6, if conflict = true or all tasks in the minimal conflict set MCS have been traversed, the detection is completed and conflict is output, that is, the result of the power consumption conflict; otherwise i = i + 1, and jump to step S2.2;
[0061] Wherein, conflict=false indicates that no power consumption conflict will occur, and conflict=true indicates that a power consumption conflict will occur.
[0062] Another technical solution of the present invention to solve the above technical problem is as follows: a satellite payload power consumption conflict detection device, comprising:
[0063] A load power supply model building module, used to build a load power supply model through the topological relationship of multiple load components, wherein the load components include power consumption components, switch components and power consumption irrelevant components;
[0064] A power consumption value calculation module is used to set multiple telemetry points at key positions in the load power supply model, import a task set, and obtain the actual power consumption values of all load components through all the telemetry points during the execution of the task set;
[0065] A power consumption curve generating module, used for generating a power consumption curve piecewise function according to each actual power consumption value;
[0066] A conflict set building module, used for building a minimal possible conflict set that violates the power consumption constraint in a task set based on a power consumption curve piecewise function and a conflict definition;
[0067] The power consumption conflict detection module is used to perform power consumption conflict detection according to the minimal possible conflict set to obtain a result of whether a power consumption conflict occurs.
[0068] Another technical solution of the present invention to solve the above-mentioned technical problem is as follows: A satellite payload power consumption conflict detection device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the satellite payload power consumption conflict detection method as described above is implemented.
[0069] Another technical solution of the present invention to solve the above technical problem is as follows: a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the satellite payload power consumption conflict detection method as described above is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Figure 1 It is a schematic diagram of power changes during the execution of various control instructions in the prior art;
[0071] Figure 2 A schematic diagram of a flow chart of a satellite payload power consumption conflict detection method provided by an embodiment of the present invention;
[0072] Figure 3 An example diagram of telemetry points of a load power supply model provided in an embodiment of the present invention;
[0073] Figure 4 A schematic diagram of a process of monitoring a load component by a telemetry point provided in an embodiment of the present invention;
[0074] Figure 5 A flowchart of a fast conflict detection based on a minimal possible conflict set provided by an embodiment of the present invention;
[0075] Figure 6 A task Gantt chart provided for an embodiment of the present invention;
[0076] Figure 7 A possible intersection relationship diagram provided for an embodiment of the present invention;
[0077] Figure 8 A task search tree provided by an embodiment of the present invention;
[0078] Fig. 9 A schematic flow chart of a satellite payload power consumption conflict detection method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0079] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.
[0080] The existing planning technology uses load experiment as the basic unit when calculating power consumption, which results in inaccurate power consumption calculation and low effective utilization rate of power consumption resources. Therefore, the present invention refines the power consumption calculation method of load experiment, adopts smaller control instructions in load experiment as the basic unit of power consumption calculation, effectively alleviates the occupation of power consumption resources on the basis of ensuring resource security, and makes full use of the power consumption resources of the space station during the planning process.
[0081] In addition, the present invention calculates in advance the minimal possible conflict set of power consumption of the experiment based on the accurate experimental power consumption curve, which effectively reduces the computational complexity in the conflict detection and task planning process.
[0082] Embodiment 1:
[0083] like Figure 2 , Figure 3 As shown, an embodiment of the present invention provides a satellite payload power consumption conflict detection method, comprising the following steps:
[0084] A load power supply model is constructed through a topological relationship of a plurality of load components, wherein the load components include power consumption components, switch components, and power consumption irrelevant components;
[0085] A plurality of telemetry points are set at key positions in the load power supply model, and a task set is imported, and during the execution of the task set, the actual power consumption values of all load components are obtained through all the telemetry points;
[0086] Generate a power consumption curve piecewise function according to each actual power consumption value;
[0087] Based on the power consumption curve piecewise function and conflict definition, the minimum possible conflict set that violates the power consumption constraint in the task set is constructed;
[0088] Power consumption conflict detection is performed according to the minimal possible conflict set to obtain a result of whether a power consumption conflict occurs.
[0089] It should be understood that the key parts can be understood as:
[0090] The setting of telemetry points on each component of the load is not random, but the key components have been determined in the load design stage, and only some key parts can calculate the power consumption through the current and voltage data (of the telemetry points). The present invention aims to solve the actual power consumption of these components through the power consumption data of these limited telemetry points combined with the topological structure between the various components of the load.
[0091] The present invention divides the components of the load into three categories: the first category is power-consuming components, which only consume power and do not control the power on and off of other components; the second category is switch components, which are used to control the power on and off of subsequent components, and their own power consumption is relatively small and can be ignored; the third category is components that are irrelevant to power consumption.
[0092] Figure 3 An example diagram of the telemetry points of the load power supply model is given, where ○ represents the components of the load and ● represents the telemetry points of the load.
[0093] Telemetry points E1, E2, E3, and E4 can obtain power consumption data in real time. When each control instruction in the load experiment is executed, the components in the load will move and the telemetry data will change. Therefore, each control instruction corresponds to a set of telemetry data.
[0094] In the above embodiment, a load power supply model is constructed by power-consuming components, switch components and power-independent components in the load components, and multiple telemetry points are set in the load power supply model. The actual power consumption values of all load components are obtained through the telemetry points and a power consumption curve piecewise function is generated. The minimum possible conflict set is constructed through the power consumption curve piecewise function, and power consumption conflict detection is performed based on the minimum possible conflict set. This is conducive to quickly resolving conflicts during conflict detection and task planning, avoiding restrictions on the work of other loads, and improving overall efficiency.
[0095] Preferably, the actual power consumption values of all load components are obtained through all the telemetry points during the execution of the task set, specifically:
[0096] Define the actual power consumption of each load component Where n is the number of components in the load, Indicates load component N i The actual power consumption, Indicates load component N i The actual power consumption, i = 1, 2, ..., n, is the quantity to be determined;
[0097] Define the switch vector a of each switch component i ={a i1 , a i2 ,…,ain},a ij ∈{0,1},j=1,2,…,n,a ij represents the switch state; it is determined according to the control instructions contained in the mission plan. Therefore, a power consumption measurement value e_i can be obtained by a measurement equation a i P=e i , when multiple measured values correspond to the same switching vector, the filtering method should be used to calculate e i .
[0098] The power consumption measurements of all load components are obtained from all telemetry points, and all the power consumption measurements are combined into a vector E = {e1, e2, ..., e k} T , k∈[1,2 n ], where k is the number of measured values. To ensure accurate calculation, k should cover all situations of the switch combination of each component and be much larger than the number of measuring points;
[0099] When multiple control instructions of the task set are executed, a load event occurs. According to the topological relationship of all load components, the switch states of each switch component when and before the load event occurs are written into the switch vector a. i and through the switch vector a written into the switch state i The composition coefficient matrix A;
[0100] The least square method is used to solve the equation group AP = E to obtain the actual power consumption P of each load component N i The actual power consumption value.
[0101] like Figure 4 As shown, based on the above embodiment, the process of obtaining the actual power consumption values of all load components by the telemetry point is given in the form of data processing flow.
[0102] s11. Start;
[0103] s12. Record the current load component status;
[0104] s13. Wait for the load event to occur;
[0105] s14. Determine the coefficient matrix A according to the load attachment topological relationship, load event and load component state before the event occurs, that is, when multiple control instructions of the task set are executed, a load event occurs, and according to the topological relationship of all switch components and load components, the switch states of each switch component when and before the load event occurs are written into the switch vector a i and through the switch vector a written into the switch state iConstruct a coefficient matrix A; at the same time, obtain telemetry data E, that is, obtain the power consumption measurement values of all load components from all telemetry points, and form all power consumption measurement values into a vector E = {e1, e2, ..., e k} T , k∈[1,2 n ];
[0106] s15. Solve the equation system AP=E, and we get
[0107] s16. Substitute into the actual power consumption P set;
[0108] s17. Determine whether the power consumption values of each component in the actual power consumption P set have been obtained. If so, execute step s18; if not, return to s12;
[0109] s18. End.
[0110] It should be understood that in actual engineering, a step-by-step solution method can be used. After the actual power consumption of certain components is obtained and verified to be correct, these values are substituted into P as constants. As the load test continues, the actual power consumption values of all components will be continuously solved.
[0111] In the above embodiment, a closed-loop improvement method of the load power supply model is proposed, and the power consumption of each component of the load in the power supply model is further adjusted and improved by using the telemetry data during the load experiment.
[0112] Preferably, the generating of the power consumption curve piecewise function according to each actual power consumption value is specifically:
[0113] According to the execution time sequence of multiple control instructions in the task set, a control instruction set Exp = {cmd(t i )|i=1,2,...,z},where cmd(t i ) indicates that at t i The control instructions executed at any time, the control instructions are used to control the opening or closing of each load component; z represents the number of control instructions;
[0114] Define the initial power consumption p(t0)=0 corresponding to each load component at the initial time t0, and define the power consumption change point set P Δ ={p(t0)}, let i=1;
[0115] Traverse each control instruction cmd(t i ), when executing each control command cmd(t i ) is calculated by using the corresponding actual power consumption value at t iThe power consumption change value caused by the moment, and the power consumption change point set P is updated according to the power consumption change value. Δ , in each control command cmd(t i ) When the traversal is completed, the updated power consumption change point set P is obtained Δ ;
[0116] Traverse the updated power consumption change point set P Δ , generate the power consumption curve piecewise function:
[0117] p(t)=p(t i-1 ), t∈[t i-1, t i ), i=1,2,...,z.
[0118] Preferably, when executing each control instruction cmd(t i ) is calculated by using the corresponding actual power consumption value at t i The power consumption change value caused by the moment, and the power consumption change point set P is updated according to the power consumption change value. Δ , specifically:
[0119] When executing the ith control instruction cmd(t i ), the corresponding controlled load component N j Execute the action at t i The power consumption changes at each moment, and the power consumption change value p(t i ),
[0120] If the controlled load component N j If it is a power-consuming component,
[0121] If the controlled load component N j For a switch component, detect the set of all subsequent components of the switch component:
[0122] Succ(N j )={N k |k∈[1,m]},
[0123] a) If the action is "on", then
[0124] b) If the action is "off", then
[0125] If the controlled component is a power-independent component, then p(t i )=p(t i-1 );
[0126] Update the power consumption change point set according to the power consumption change value: Δ =P Δ ∪{p(ti )}.
[0127] In the above embodiment, the load components are divided into three categories: power consumption components, switch components and power consumption irrelevant components, and a tree-like power consumption model between the load components is established. Starting from the control instructions in the load experiment, the precise power consumption curve of the experiment is calculated according to the power consumption model.
[0128] Preferably, the minimal possible conflict set violating the power consumption constraint in the task set is constructed based on the power consumption curve piecewise function and the conflict definition, specifically:
[0129] The conflict is defined as the total resource consumption of all tasks in the task set exceeding the limit at any time, and the total resource consumption of all tasks in any proper subset of the task set does not exceed the limit at any time.
[0130] The expression of the conflict definition is:
[0131] Task T i = {lb i ts i ,te i ,ub i , p(t-ts i )},
[0132] Task set V = {T i |i∈[1,n]},
[0133] Relationship Collection
[0134] Among them, lb i ,ub i are the initial time and end time of the task elastic window, ts i ,te i are the estimated start time and end time of the task respectively, p(t-ts i ) is the task T i The power consumption curve piecewise function;
[0135] Figure 6 Gantt chart for tasks; Figure 7 is a possible intersection relationship graph; according to the relationship set E, a possible intersection relationship graph can be constructed, such as Figure 6 , Figure 7 As shown, the task set V 6 ={T1, T2, T3, T4, T5, T6}, a possible intersection relationship graph G can be constructed as shown in the figure 6 .
[0136] For the relationship set E or the possible intersecting relationship graph, a depth-first search method can be used to search for the minimum possible conflict set MCS.
[0137] The expression of the conflict definition is used to output the minimum possible conflict set MCS, specifically:
[0138] S1.1. Take the empty set as the root node Root, and set the root node Root to the node to be expanded N≤Root, and define the possible intersection set
[0139] S1.2, sort the task set V according to certain rules as the candidate task set S(N)≤V;
[0140] S1.3. Traverse each task T in S(N) i :
[0141] S301, expand a child node P(N) at node N,
[0142] S302, node P(N) generates a possible intersection set C(P(N))=C(N)∪{T i},
[0143] S303, calculate the resource curves of all tasks in C(P(N)), if it exceeds the limit, the minimum possible conflict set MCS = MCS∪C(P(N)), and jump to step S305, otherwise continue to execute step S304,
[0144] S304, detect a new candidate task set S(P(N))={T j |e ij ∈E&i>j}, if Jump to step S301 to traverse the new candidate task set S(P(N)), otherwise continue to execute step S305,
[0145] S305, end the current loop and continue to traverse task T i+1 ;
[0146] S1.4. Output the minimum possible conflict set MCS.
[0147] like Figure 8 As shown, for the above possible intersection relationship graph G 6 , the algorithm search process will form a task search tree.
[0148] In the above embodiment, for the experiment with the flexible time window, the minimal possible conflict set is solved based on the accurate power consumption calculation, which is conducive to quickly resolving the conflict during the conflict detection and task planning process.
[0149] Preferably, if Figure 5 As shown, the power consumption conflict detection is performed according to the minimal possible conflict set to obtain the result of whether the power consumption conflict occurs, specifically:
[0150] S2.1. Let i=1, conflict=false;
[0151] S2.2, for multiple tasks (i.e., multiple experiments) in the i-th minimal possible conflict set MCS, retrieve the actual execution time of each task in the planning scheme;
[0152] S2.3, find the intersection of the actual execution time of all tasks. If the intersection is empty, jump to step S2.6.
[0153] S2.4, calculating the power consumption of each load component under each task of the minimal possible conflict set MCS, summing up the calculated power consumptions to obtain the total power consumption;
[0154] S2.5, determine whether the total power consumption exceeds the preset power consumption upper limit, if so, set conflict = true, if not, execute S2.6;
[0155] S2.6, if confilct=true or all tasks in the minimal conflict set MCS have been traversed, the detection is completed and conflict is output, that is, the result of the power consumption conflict; otherwise i=i+1, and jump to step S2.2;
[0156] Wherein, conflict=false indicates that no power consumption conflict will occur, and conflict=true indicates that a power consumption conflict will occur.
[0157] Embodiment 2:
[0158] like Fig. 9 As shown, an embodiment of the present invention provides a satellite payload power consumption conflict detection device, comprising:
[0159] A load power supply model building module, used to build a load power supply model through the topological relationship of multiple load components, wherein the load components include power consumption components, switch components and power consumption irrelevant components;
[0160] A power consumption value calculation module is used to set multiple telemetry points at key positions in the load power supply model, import a task set, and obtain the actual power consumption values of all load components through all the telemetry points during the execution of the task set;
[0161] A power consumption curve generating module, used for generating a power consumption curve piecewise function according to each actual power consumption value;
[0162] A conflict set building module, used for building a minimal possible conflict set that violates the power consumption constraint in a task set based on a power consumption curve piecewise function and a conflict definition;
[0163] The power consumption conflict detection module is used to perform power consumption conflict detection according to the minimal possible conflict set to obtain a result of whether a power consumption conflict occurs.
[0164] Embodiment 3:
[0165] An embodiment of the present invention provides a satellite payload power consumption conflict detection device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the satellite payload power consumption conflict detection method described above is implemented.
[0166] Embodiment 4:
[0167] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the satellite payload power consumption conflict detection method as described above is implemented.
[0168] The advantages of the present invention are:
[0169] 1. The load components are divided into three categories: power-consuming components, switch components and power-independent components, and a tree-like power consumption model between the load components is established. Starting from the control instructions in the load experiment, the precise power consumption curve of the experiment is calculated according to the power consumption model.
[0170] 2. A closed-loop improvement method for the load power supply model is proposed. The telemetry data during the load experiment is used to further adjust and improve the power consumption of each component of the load in the power supply model.
[0171] 3. Calculate the minimum possible conflict set for the experiment to be planned in order to reduce the computational complexity in the subsequent conflict detection and task planning process.
[0172] 4. A fast conflict detection method based on the minimal possible conflict set is designed, which is beneficial to reducing the computational complexity of power consumption conflict detection during task planning.
[0173] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0174] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0175] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0176] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.
[0177] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0178] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0179] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A satellite payload power consumption conflict detection method, characterized in that: The steps include: A load power supply model is constructed through a topological relationship of a plurality of load components, wherein the load components include power consumption components, switch components, and power consumption irrelevant components; A plurality of telemetry points are set at key positions in the load power supply model, and a task set is imported, and during the execution of the task set, the actual power consumption values of all load components are obtained through all the telemetry points; Generate a power consumption curve piecewise function according to each actual power consumption value; Based on the power consumption curve piecewise function and conflict definition, the minimal possible conflict set that violates the power consumption constraint in the task set is constructed; Power consumption conflict detection is performed according to the minimal possible conflict set to obtain a result of whether a power consumption conflict occurs.
2. The satellite payload power consumption conflict detection method according to claim 1, characterized in that: The actual power consumption values of all load components are obtained through all the telemetry points during the execution of the task set, specifically: Define the actual power consumption of each load component Where n is the number of components in the load, Indicates load component N i The actual power consumption of i = 1, 2, ..., n, and define the switching vector a of each load component i ={a i1 , a i2 , ..., a in }, a ij ∈{0,1},j=1,2,…,n,a ij Indicates the switch status; The power consumption measurements of all load components are obtained from all telemetry points, and all the power consumption measurements are combined into a vector E = {e1, e2, ..., e k } T , k∈[1,2 n ], where k is the number of measurements; When multiple control instructions of the task set are executed, a load event occurs. According to the topological relationship of all load components, the switch states of each switch component when and before the load event occurs are written into the switch vector a. i and through the switch vector a written into the switch state i The composition coefficient matrix A; The least square method is used to solve the equation group AP=E to obtain the actual power consumption value of each load component N in the actual power consumption P.
3. The satellite payload power consumption conflict detection method according to claim 2, characterized in that: The power consumption curve piecewise function is generated according to each actual power consumption value, specifically: According to the execution time sequence of multiple control instructions in the task set, a control instruction set Exp = {cmd(t i )|i=1,2,…,z}, Among them, cmd(t i ) indicates that at t i The control instructions executed at all times, the control instructions are used to control the opening or closing of each load component, and z represents the number of control instructions; Define the initial power consumption p(t0)=0 corresponding to each load component at the initial time t0, and define the power consumption change point set P Δ ={p(t0)}, let i=1; Traverse each control instruction cmd(t i ), when executing each control command cmd(t i ) is calculated by using the corresponding actual power consumption value at t i The power consumption change value caused by the moment, and the power consumption change point set P is updated according to the power consumption change value. Δ , in each control command cmd(t i ) When the traversal is completed, the updated power consumption change point set P is obtained Δ ; Traverse the updated power consumption change point set P Δ , generate the power consumption curve piecewise function: p(t)=p(t i-1 ),t∈[t i-1 ,t i ),i=1,2,...,z。 4. The satellite payload power consumption conflict detection method according to claim 3, characterized in that: In executing each control instruction cmd(t i ) is calculated by using the corresponding actual power consumption value at t i The power consumption change value caused by the moment, and the power consumption change point set P is updated according to the power consumption change value. Δ , specifically: When executing the ith control instruction cmd(t i ), the corresponding controlled load component N j Execute the action at t i The power consumption changes at each moment, and the power consumption change value p(t i ), If the controlled load component N j If it is a power-consuming component, If the controlled load component N j For a switch component, detect the set of all subsequent components of the switch component: Succ(N j )={N k |k∈[1,m]}, a) If the action is "open", then b) If the action is "off", then If the controlled component is a power-independent component, then p(t i )=p(t i-1 ); Update the power consumption change point set according to the power consumption change value: Δ =P Δ ∪{p(t i )}.
5. The satellite payload power consumption conflict detection method according to claim 1, characterized in that: The minimal possible conflict set that violates the power consumption constraint in the task set is constructed based on the power consumption curve piecewise function and the conflict definition, specifically: The conflict is defined as the total resource consumption of all tasks in the task set exceeding the limit at any time, and the total resource consumption of all tasks in any proper subset of the task set does not exceed the limit at any time. The expression of the conflict definition is: Task T i = {lb i ,ts i ,te i ,ub i , p(t-ts i )}, Task set V = {T i |i∈[1,n]}, Relationship Collection Among them, lb i ,ub i are the initial time and end time of the task elastic window, ts i ,te i are the estimated start time and end time of the task respectively, p(t-ts i ) is the task T i The power consumption curve piecewise function; The expression of the conflict definition is used to output the minimal possible conflict set MCS.
6. The satellite payload power consumption conflict detection method according to claim 5, characterized in that: The expression outputting the minimal possible conflict set MCS through the conflict definition is specifically: S1.
1. Take the empty set as the root node Root, and set the root node Root to the node to be expanded N≤Root, and define the possible intersection set S1.2, sort the task set V according to certain rules as the candidate task set S(N)≤V; S1.
3. Traverse each task T in S(N) i : S301, expand a child node P(N) at node N, S302, node P(N) generates a possible intersection set C(P(N))=C(N)∪{T i }, S303, calculate the resource curves of all tasks in C(P(N)), if it exceeds the limit, the minimum possible conflict set MCS = MCS∪C(P(N)), and jump to step S305, otherwise continue to execute step S304, S304, detect a new candidate task set S(P(N))={T j |e ij ∈E&i>j}, if Jump to step S301 to traverse the new candidate task set S(P(N)), otherwise continue to execute step S305, S305, end the current loop and continue to traverse task T i+1 ; S1.
4. Output the minimum possible conflict set MCS.
7. The satellite payload power consumption conflict detection method according to claim 3, characterized in that: The power consumption conflict detection is performed according to the minimal possible conflict set to obtain a result of whether a power consumption conflict occurs, specifically: S2.
1. Let i=1, conflict=false; S2.2, for multiple tasks in the i-th minimal possible conflict set MCS, retrieve the actual execution time of each task in the planning scheme; S2.3, find the intersection of the actual execution time of all tasks. If the intersection is empty, jump to step S2.
6. S2.4, calculating the power consumption of each load component under each task of the minimal possible conflict set MCS, summing up the calculated power consumptions to obtain the total power consumption; S2.
5. If the total power consumption exceeds the preset upper power consumption limit, set conflict = true. S2.6, if conflict = true or all tasks in the minimal conflict set MCS have been traversed, the detection is completed and conflict is output, that is, the result of the power consumption conflict; otherwise i = i + 1, and jump to step S2.2; Wherein, conflict=false indicates that no power consumption conflict will occur, and conflict=true indicates that a power consumption conflict will occur.
8. A satellite payload power consumption conflict detection device, characterized in that: include: A load power supply model building module, used to build a load power supply model through the topological relationship of multiple load components, wherein the load components include power consumption components, switch components and power consumption irrelevant components; A power consumption value calculation module is used to set multiple telemetry points at key positions in the load power supply model, import a task set, and obtain the actual power consumption values of all load components through all the telemetry points during the execution of the task set; A power consumption curve generating module, used for generating a power consumption curve piecewise function according to each actual power consumption value; A conflict set building module, used for building a minimal possible conflict set that violates the power consumption constraint in a task set based on a power consumption curve piecewise function and a conflict definition; The power consumption conflict detection module is used to perform power consumption conflict detection according to the minimal possible conflict set to obtain a result of whether a power consumption conflict occurs.
9. A satellite payload power consumption conflict detection device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the satellite payload power consumption conflict detection method as described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the satellite payload power consumption conflict detection method as described in any one of claims 1 to 7 is implemented.
