System and method for controlling system with mixed-state material
A controller with a heterogeneous model for mixed-state materials addresses fluid sloshing by integrating solid and liquid dynamics, enhancing system stability and control precision.
Patent Information
- Application Number
- JP2023208986
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-21
- Filing Date
- 2023-12-12
- Publication Date
- 2024-10-07
AI Technical Summary
The sloshing of liquids in systems with mixed-state materials, such as spacecraft fuel tanks, causes resonance and instability, overwhelming thrust vector correction methods and leading to loss of control.
A controller using a heterogeneous model that integrates solid and liquid state material dynamics, estimating fluid volume shape and center of mass changes to account for fluid sloshing, and determining control commands through optimal control problems.
Precise control of systems with mixed-state materials by minimizing the effects of fluid sloshing, maintaining stability and improving system performance.
Smart Images

Figure 2024137670000001_ABST
Abstract
Description
[Technical field]
[0001] FIELD OF THE DISCLOSURE This disclosure relates generally to control systems, and more particularly to systems and methods for controlling systems having mixed-state materials. [Background technology]
[0002] Liquid sloshing occurs in liquid propellant rockets, aircraft propellant tanks, ships, oil tankers, and other applications where the fluid is contained and can cause the tank system to collapse due to the accumulation of kinetic energy in the liquid and the resulting interaction of the liquid with the walls of the container.
[0003] For example, in aerospace technology, liquid sloshing is a well-recognized problem, especially in liquid propellant launched spacecraft that tend to have a huge percentage of their initial mass as fuel. If slosh waves are allowed to oscillate freely, they tend to go into resonance. At resonance, slosh waves generally have a maximum amplitude. The force of the sloshing fuel can cause the spacecraft to nutate about its spin axis. To mitigate such problems, thrust vector correction methods are used to correct the nutation in the spacecraft. However, the large magnitude of the fuel sloshing force can overwhelm the corrections in place, thus resulting in increased nutation and complete loss of control of the spacecraft. Thus, the interaction of the sloshing fuel with the motion of the spacecraft directly affects the performance of the spacecraft and can also result in instability of the spacecraft.
[0004] For this reason, it is desirable for a controller for controlling a system (such as a spacecraft) to take into account the effects of liquid sloshing so as to minimize the effects of liquid sloshing on the control of the system. Thus, a controller is needed that takes into account liquid sloshing in the control of the system. Summary of the Invention
[0005] It is an object of some embodiments to provide a controller for controlling a system having a mixed-state material, including a solid-state material having portions forming a container. The container includes a fluid volume. Examples of systems having a mixed-state material include a spacecraft having a container with fuel to power its movement, and a robot carrying a container with water or other type of fluid. It is also an object of some embodiments to build a heterogeneous model that models the inter-coupling between the dynamics of the solid-state material (e.g., the container) and the liquid-state material (the fluid). Additionally, it is an object of some embodiments to use the heterogeneous model in the control of the system.
[0006] During operation of the system, the container is subjected to external forces, which cause sloshing of the fluid. For example, during flight of a spacecraft, the container may cause sloshing of the fluid. The sloshing of the fluid causes a change in the shape of the fluid volume. Some embodiments are also based on the recognition that the change in the shape of the fluid volume changes the position of the center of mass of the fluid volume and thus the position of the center of mass of the system. The change in the shape of the fluid volume also changes the velocity of the fluid. Some embodiments are based on the recognition that since the dynamics of mixed-state materials are interconnected, i.e. the dynamics of solid-state materials (e.g. the container) and liquid-state materials (fluids) affect each other, in theory the interconnection between the dynamics of solid-state materials and liquid-state materials should be taken into account when designing a controller for controlling the system. However, such interconnections are difficult to model.
[0007] Some embodiments are based on the recognition that the interconnection between the dynamics of the solid state material and the liquid state material can be performed by estimating the shape of the fluid volume caused by the movement of the container. Some embodiments are based on the further recognition that the shape of the fluid volume changes the location of the center of mass of the fluid volume, and thus the interconnection can be performed by including the center of mass of the fluid volume in the model of the dynamics of the solid state material. Additionally, in some embodiments, the interconnection is performed by including the velocity of the fluid in the model of the dynamics of the solid state material. In some alternative embodiments, the interconnection is performed by including both the velocity of the fluid and the center of mass of the fluid volume in the model of the dynamics of the solid state material. Coupling the dynamics of the solid state material and the liquid state material in such a manner establishes a heterogeneous model of the dynamics of the system.
[0008] According to one embodiment, the heterogeneous model of the dynamics of the system includes a model of the dynamics of the solid state material interconnected with a model of the dynamics of the fluid volume in the vessel. The model of the dynamics of the fluid volume estimates the shape of the fluid volume caused by the motion of the vessel. The model of the dynamics of the solid state material includes a center of mass of the fluid volume that depends on the shape of the fluid volume. Such a heterogeneous model is used to account for sloshing of the fluid in the control of the system.
[0009] For example, first, feedback signals indicative of a state of the system are collected. Examples of the state of the system include the orientation of the system, the position of the system, the velocity of the system, or the acceleration of the system. And, control commands to actuators of the system are determined by solving an optimal control problem that changes the state of the system according to a control objective. The optimal control problem depends on a heterogeneous model of the dynamics of the system, including a model of the dynamics of the fluid volume and a model of the dynamics of the interconnected solid-state material. And, the control commands are presented to the actuators of the system to change the state of the system.
[0010] According to one embodiment, the shape of the fluid volume in the container is determined by a profile of an interface between the estimated fluid volume and the remaining volume in the container. The remaining volume in the container relates to air or gas or voids not occupied by fluid. The profile of the interface is estimated using the principles of Computational Fluid Dynamics (CFD). In other words, the shape of the fluid volume can be determined using CFD. For example, boundary conditions are determined based on the motion of the container. Also, a CFD simulation of the fluid volume is performed based on the boundary conditions. From the CFD simulation, the shape of the fluid volume and the center of mass of the fluid volume can be determined.
[0011] Accordingly, one embodiment discloses a controller for controlling a system having a mixed state material including a solid state material having a portion forming a vessel containing a fluid volume, the controller comprising a memory configured to store executable instructions and a processor configured to execute the executable instructions to cause the controller to perform a plurality of steps, the plurality of steps including: collecting feedback signals indicative of a state of the system; and determining control commands to actuators of the system at a current control step by solving an optimal control problem that changes a state of the system according to a control objective determined by a heterogeneous model of dynamics of the system including a model of dynamics of the solid state material interconnected with a model of dynamics of the fluid volume in the vessel, the model of dynamics of the fluid volume estimating a shape of the fluid volume caused by a motion of the vessel in response to execution of the control commands at the current control step, the model of dynamics of the solid state material including a center of mass of the fluid volume in the vessel depending on the shape of the fluid volume at the current control step, and the plurality of steps further including presenting the control commands to actuators of the system to change the state of the system.
[0012] Accordingly, another embodiment discloses a method for controlling a system having a mixed state material including a solid state material having a portion forming a vessel containing a fluid volume, the method comprising the steps of collecting feedback signals indicative of a state of the system, and determining control commands to actuators of the system at a current control step by solving an optimal control problem that changes the state of the system according to a control objective that depends on a heterogeneous model of the dynamics of the system including a model of the dynamics of the solid state material interconnected with a model of the dynamics of the fluid volume in the vessel, the model of the dynamics of the fluid volume estimates a shape of the fluid volume caused by a movement of the vessel in response to execution of the control commands at the current control step, the model of the dynamics of the solid state material including a center of mass of the fluid volume in the vessel that depends on the shape of the fluid volume at the current control step, and the method further comprises the step of presenting the control commands to actuators of the system to change the state of the system.
[0013] Thus, yet another embodiment discloses a non-transitory computer readable storage medium having embodied thereon a program executable by a processor to perform a method for controlling a system having a mixed state material including a solid state material having portions forming a vessel containing a fluid volume, the method comprising the steps of: collecting feedback signals indicative of a state of the system; and determining control commands to actuators of the system at a current control step by solving an optimal control problem that changes the state of the system according to a control objective, the control objective being determined by a heterogeneous model of the dynamics of the system including a model of the dynamics of the solid state material interconnected with a model of the dynamics of the fluid volume in the vessel, the model of the dynamics of the fluid volume estimating a shape of the fluid volume caused by the vessel motion in response to execution of the control commands at the current control step, the model of the dynamics of the solid state material including a center of mass of the fluid volume in the vessel depending on the shape of the fluid volume at the current control step, and the method further comprising the step of presenting the control commands to actuators of the system to change the state of the system. [Brief description of the drawings]
[0014] [Figure 1A] FIG. 1 is a block diagram for controlling a system having a mixed state material according to one embodiment of the present disclosure. [Figure 1B] FIG. 1 illustrates a system having a mixed state material according to one embodiment of the present disclosure. [Figure 1C] FIG. 13 illustrates the changing shape of a fluid volume over time in a container due to fluid sloshing, according to one embodiment of the present disclosure. [Figure 1D] FIG. 13 illustrates the change in position of the center of mass of a fluid volume due to a change in the shape of the fluid volume, according to one embodiment of the present disclosure. [Figure 1E] FIG. 2 illustrates a heterogeneous model of the dynamics of a system according to one embodiment of the present disclosure. [Figure 1F] FIG. 2 is a block diagram of a controller for controlling a system according to some embodiments of the present disclosure. [Diagram 2] FIG. 1 is a block diagram of a method for determining the shape of a fluid volume using computational fluid dynamics (CFD) according to one embodiment of the present disclosure. [Diagram 3] FIG. 2 is a schematic diagram illustrating a representation of a parametric physics model for modeling fluid dynamics, according to some embodiments of the present disclosure. [Figure 4] FIG. 1 illustrates an algorithm for Dynamic Mode Decomposition (DMD) in accordance with some embodiments of the present disclosure. [Diagram 5] FIG. 1 is a schematic diagram of a Kalman filter for tracking the shape of a fluid volume at a time according to an embodiment of the present disclosure. [Figure 6] FIG. 1 illustrates a spacecraft employing a controller in accordance with some embodiments of the present disclosure. [Figure 7] FIG. 1 is a schematic diagram illustrating a computing device for implementing a controller according to some embodiments of the present disclosure.
[0015] The presently disclosed embodiments are further described with reference to the accompanying drawings, in which the drawings are not necessarily to scale, emphasis instead generally being placed upon illustrating the principles of the presently disclosed embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. However, it will be apparent to one skilled in the art that the present disclosure may be practiced without these specific details. In other instances, the devices and methods are shown only in block diagram form in order to avoid obscuring the present disclosure.
[0017] As used in this specification and claims, the terms "for example," "such as," "including," and the verbs "comprise," "have," "include," and other verb forms thereof, when used with a list of one or more components or other items, should each be construed as open-ended. That is, the list should not be considered to exclude other additional components or items. The term "based on" means based at least in part on. It should also be understood that the language and terminology employed in this specification are for purposes of explanation and should not be considered limiting. Any headings used within this description are for convenience only and have no legal or limiting effect.
[0018] FIG. 1A illustrates a block diagram for controlling a system 101 according to an embodiment of the present disclosure. FIG. 1B illustrates a system 101 according to an embodiment of the present disclosure. The system 101 includes a mixed state material including a solid state material having portions forming a container 103. The container 103 contains a volume of a fluid 105. The container 103 can be of any shape and size as required by the system 101. Examples of a system 101 with a mixed state material include a spacecraft with a container with fuel to power its movement and a robot carrying a container with water or other type of fluid.
[0019] During operation of the system 101, the container 103 is subjected to external forces that cause sloshing of the fluid 105. For example, during flight of a spacecraft, the movement of the container 103 may cause sloshing of the volume of fluid 105. The sloshing of the fluid 105 causes the shape of the volume of fluid 105 to change, as shown in FIG. 1C.
[0020] 1C illustrates the shape of the volume of fluid 105 changing over time in the container 103 due to fluid sloshing, according to one embodiment of the present disclosure. 107a illustrates the shape of the volume of fluid 105 at time t=0 s. Similarly, 107b illustrates the shape of the volume of fluid 105 at time t=0.157 s. 107c illustrates the shape of the volume of fluid 105 at time t=0.275 s. 107d illustrates the shape of the volume of fluid 105 at time t=0.340 s. 107e illustrates the shape of the volume of fluid 105 at time t=0.450 s. 107f illustrates the shape of the volume of fluid 105 at time t=0.552 s. 107g illustrates the shape of the volume of fluid 105 at time t=0.597 s. 107h illustrates the shape of the volume of fluid 105 at time t=0.713 s. 107i shows the shape of the volume of fluid 105 at time t = 0.838s. 107j shows the shape of the volume of fluid 105 at time t = 0.976s. 107k shows the shape of the volume of fluid 105 at time t = 1.06s. 107l shows the shape of the volume of fluid 105 at time t = 1.13s. 107m shows the shape of the volume of fluid 105 at time t = 1.14s. 107n shows the shape of the volume of fluid 105 at time t = 1.25s. 107o shows the shape of the volume of fluid 105 at time t = 1.50s.
[0021] 1C, it can be observed that the shape of the volume of fluid 105 changes over time in the container 103 due to fluid sloshing. For example, the shape 109 of the volume of fluid 105 at time t=0 s changes to the shape 111 of the volume of fluid 105 at the next time t=0.157 s.
[0022] Some embodiments are also based on the recognition that a change in the shape of the volume of fluid 105 changes the position of the center of mass of the volume of fluid 105. Figure 1D illustrates a change in the position of the center of mass of the volume of fluid 105 due to a change in the shape of the volume of fluid 105, according to one embodiment of the present disclosure. The position 113 of the center of mass of the volume of fluid 105, which corresponds to the shape 115 of the volume of fluid 105, then changes to position 117 when the shape 115 of the volume of fluid 105 changes to shape 119. Additionally, the change in the shape of the volume of fluid 105 changes the velocity of the fluid 105.
[0023] Some embodiments are based on the realization that since the dynamics of mixed-state materials are interconnected, i.e. the dynamics of the solid-state material (e.g. the container 103) and the liquid-state material (the fluid 105) affect each other, in theory the interconnection between the dynamics of the solid-state material and the liquid-state material should be taken into account when designing a controller for controlling the system 101. However, such interconnections are difficult to model.
[0024] Some embodiments are based on the recognition that the coupling between the dynamics of the solid state material and the liquid state material can be performed by estimating the shape of the volume of the fluid 105 caused by the movement of the container 103. Some embodiments are based on the further recognition that the shape of the volume of the fluid 105 changes the location of the center of mass of the volume of the fluid 105, and thus the coupling can be performed by including the center of mass of the volume of the fluid 105 in the model of the dynamics of the solid state material. Additionally, in some embodiments, the coupling is performed by including the velocity of the fluid 105 in the model of the dynamics of the solid state material. In some alternative embodiments, the coupling is performed by including both the velocity of the fluid 105 and the center of mass of the volume of the fluid 105 in the model of the dynamics of the solid state material. Coupling the dynamics of the solid state material and the liquid state material in such a manner establishes a heterogeneous model of the dynamics of the system 101.
[0025] 1E illustrates a heterogeneous model 121 of the mechanics of the system 101 according to one embodiment of the present disclosure. The heterogeneous model 121 of the mechanics of the system 101 includes a model 123 of solid state material mechanics interconnected with a model 125 of the mechanics of the volume of fluid 105 in the vessel 103. The model 125 of the mechanics of the volume of fluid 105 estimates the shape of the volume of fluid 105 caused by the motion of the vessel 103. The model 123 of solid state material mechanics includes a center of mass of the volume of fluid 105 that depends on the shape of the volume of fluid 105.
[0026] Some embodiments also provide a controller that controls the system 101 using the heterogeneous model 121 to account for fluid sloshing in the control of the system 101. Such a controller is described below in FIG. 1F.
[0027] 1F illustrates a block diagram of a controller 127 for controlling the system 101 according to some embodiments of the present disclosure. The controller 127 is communicatively coupled to the system 101. The controller 127 includes a processor 129 and a memory 131. The processor 129 may be a single-core processor, a multi-core processor, a computing cluster, or any number of other configurations. The memory 131 may include random access memory (RAM), read only memory (ROM), flash memory, or any other suitable memory system. Additionally, in some embodiments, the memory 131 may be implemented using a hard drive, an optical drive, a thumb drive, an array of drives, or any combination thereof. The memory 131 is configured to store executable instructions, and the processor 129 is configured to execute the executable instructions to cause the controller 127 to control the system 101 using the heterogeneous model 121 as described below.
[0028] 1A , in block 133, the processor 129 configures the controller 127 to collect a feedback signal indicative of a state of the system 101. The state of the system 101 may correspond to an orientation of the system 101, a position of the system 101, a velocity of the system 101, or an acceleration of the system 101.
[0029] In block 135, the processor 129 is configured to solve an optimal control problem for changing the state of the system 101 according to a control goal at the current control step to determine control commands to the actuators of the system 101. The control goal may be to reduce the difference between a current state 135a of the system 101 and a desired state 135b of the system 101. For example, the control goal may be to move the system 101 from a current target position or orientation to a target position or orientation. The optimal control problem depends on a heterogeneous model 121 of the dynamics of the system 101, including a model 123 of the dynamics of the solid state material interconnected with a model 125 of the dynamics of the volume of the fluid 105. The model 125 of the dynamics of the volume of the fluid 105 estimates the shape of the volume of the fluid 105 caused by the movement of the vessel 103 in response to the execution of the control commands at the current control step. The model 123 of solid state material mechanics includes a center of mass of the volume of fluid 105 in the vessel 103 that depends on the shape of the volume of fluid 105 at the current control step.
[0030] In some other embodiments, the processor 129 may solve a Model Predictive Control (MPC) problem or other feedback control problem determined by the heterogeneous model 121 to determine the control commands to the actuators of the system 101. Alternatively, data-driven control techniques, such as reinforcement learning, may be used to determine the control commands to the actuators of the system 101. Also, an adaptive control problem, such as extremum seeking, determined by the heterogeneous model 121 may be solved to determine the control commands to the actuators of the system 101.
[0031] In block 137, the processor 129 is configured to present control commands to the actuators of the system 101 to change the state of the system 101. And for the next current control step, the processor 129 collects new feedback signals and the same process is performed. In such an aspect, the heterogeneous model 121 is used to determine the control commands for controlling the system 101, taking into account the inter-coupling between the dynamics of the solid and liquid state materials of the system 101.
[0032] According to one embodiment, the shape of the volume of fluid 105 in the vessel 103 is determined by the interface profile between the fluid volume estimated for the current control step and the remaining volume in the vessel. The interface profile is estimated using the principles of computational fluid dynamics (CFD). In other words, the shape of the volume of fluid 105 may be determined using CFD.
[0033] 2 shows a block diagram 200 for using CFD to determine the shape of a volume of fluid 105 according to one embodiment of the disclosure. In block 201, the processor 129 determines boundary conditions based on the motion of the vessel 103.
[0034] In block 203, the processor 129 performs a CFD simulation of the volume of the fluid 105 based on the boundary conditions. In particular, the processor 129 simulates the Partial Differential Equations (PDEs) describing the motion of the fluid based on the boundary conditions. For example, for two-phase flows related to sloshing problems, the liquid (fluid 105) and air are considered as two immiscible fluids. Incompressible Navier-Stokes PDEs describe the dynamics along with explicit equations for the interfaces that appear as fluid fraction quantities. Such dynamics can be solved, for example, using the Volume of Fluid (VOF) method. The VOF method provides a simple and economical way to track free boundaries in 2D or 3D grids and is more flexible and more efficient in addressing problems with very complex free surface configurations.
[0035] At block 205, the processor 129 determines from the CFD simulation the shape of the volume of fluid 105 and the center of mass of the volume of fluid 105. Additionally, in some embodiments, the processor 129 calculates the velocity of the fluid 105 from the CFD simulation.
[0036] Some embodiments are based on the realization that CFD simulations using PDEs are computationally too heavy for use in real-time control. Some embodiments are based on the realization that such problems can be mitigated by simulating the CFD of the fluid volume using a reduced-order model that approximates the full CFD model. The full CFD model is a PDE model, and the order of the reduced-order model is lower than the order of the PDE model. The use of a reduced-order model (ROM), i.e., reducing the PDE model to a system of finite-dimensional ordinary differential equations (ODEs), reduces the computational burden. In one embodiment, the ROM is determined based on a parametric physical model.
[0037] 3 shows a schematic diagram illustrating a representation of a parametric physical model modeling the dynamics of the fluid 105 according to some embodiments of the present disclosure. The dynamics of the fluid 105 may be modeled as a mass-damper-spring system 301, or a pendulum system 303, among other possible models. The parameters of the mass-damper-spring system 301 and the pendulum system 303, such as the number and weight of masses, the number and stiffness of springs, the inertia tensor of the fuel, and the damper coefficients, are calibrated based on CFD simulations. Some embodiments use a least-squares approach for the estimation of the parameters of the mass-damper-spring system 301 and the pendulum system 303 from the CFD data.
[0038] In some alternative embodiments, the ROM is obtained based on Proper Orthogonal Decomposition (POD). POD is data-based in that a suitable orthonormal basis is determined from observational or experimental data to capture and order relevant information from the spatial dynamics of the system 101. In some other embodiments, the ROM is obtained by Galerkin projection of the system dynamics onto the first few and most relevant basis functions. In mathematics, in the field of numerical analysis, Galerkin methods convert continuous operator problems, such as differential equations, into discrete problems by applying linear constraints determined by a finite set of basis functions.
[0039] POD arises from turbulent fields as an attempt to decompose a random vector field representing turbulent fluid velocities into a set of deterministic functions that each capture a portion of the total fluctuating kinetic energy in the fluid flow. POD determines the subtle coherent structures that populate turbulence. Thus, POD provides a technique for analyzing multi-dimensional data. POD essentially provides an orthonormal basis for representing the given data at some least-squares optimum. POD can also be applied to infinite-dimensional data such as fluid flow patterns. Optimal basis truncation provides a method for finding the best lower-dimensional approximation of the given data. In this disclosure, the fluid velocities and fluid volumes are determined using CFD data, which are of very large dimensions at each time instant. POD analysis using singular value decomposition finds the best primal basis that can represent the fluid velocities and fluid volumes. In the next step, we combine POD with Galerkin projection to develop a method for generating lower dimensional models of liquid slosh dynamics with very large or even infinite dimensional phase spaces. Galerkin projection is a mathematical framework where the solutions (i.e., fluid velocity and fluid volume) are represented as linear combinations of POD modes and then inserted into the governing PDE (which is the Navier-Stokes equations). The orthogonality of the POD modes along with truncation is used to construct the lower dimensional ODE. In essence, the POD Galerkin method takes a snapshot of the fluid properties (fluid velocity, volume) and transfers them to a lower dimensional ODE that can be used for prediction and control.
[0040] Instead, in some embodiments, the ROM is obtained by calculating a set of modes based on dynamic mode decomposition (DMD), where each mode is associated with a temporal signature and correlated spatial activity. Given a time series of data, DMD calculates a set of modes, each associated with a fixed oscillation frequency and decay / growth rate. Due to the unique temporal behavior associated with each mode, DMD differs from dimensionality reduction methods such as principal component analysis, which calculate orthogonal modes with no predefined temporal behavior.
[0041]
number
[0042]
number
[0043]
number
[0044]
number
[0045]
number
[0046] At block 405, the processor 129 computes the eigendecomposition of matrix A: AW=WΛ where the columns of W are the eigenvectors and Λ are the corresponding eigenvalues λ k is a diagonal matrix containing
[0047] At block 407, the processor 129 reconstructs the eigendecomposition of matrix A from W and Λ. In particular, the eigenvalues of A are given by Λ, and the eigenvectors (DMD modes) of A are given by the columns of Φ: Φ=XVΣ -1 W
[0048]
number
[0049] Some embodiments are based on the recognition that although ROM is computationally inexpensive, ROM may incur stability loss and prediction degradation. Stability loss and prediction degradation are due to truncation of higher modes and parameter uncertainty. More specifically, basis functions (spatial modes) obtained from data snapshots at one given set of parameters may exhibit a degradation in the accuracy of ROM prediction and may even become unstable when applied to represent solutions for different ranges of parameters. Therefore, simulating a volume of fluid 105 using ROM produces an inaccurate estimate of the shape of the volume of fluid 105.
[0050] Some embodiments are based on the realization that the shape of the volume of fluid 105 can be accurately determined by using a probabilistic filter (e.g., a Kalman filter). One or more sensors, such as a camera and a pressure sensor, may be associated with the container 103. A processor 129 collects measurements of the volume of fluid 105 in the container 103 and measurements of the occupancy of the fluid 105 at multiple points in the container 103 from the one or more sensors. The camera measurements are fed into a Kalman filter that tracks the shape of the volume of fluid 105.
[0051] 5 shows a schematic diagram of a Kalman filter for tracking the shape of a volume of fluid 105 at a time in accordance with one embodiment of the present disclosure. The Kalman filter is executed by the processor 129. The Kalman filter uses a prediction model 501 that depends on the process noise and a measurement model 505 that depends on the measurement noise to track the shape of the volume of fluid 105.
[0052] The prediction model 501 simulates the CFD of the fluid volume given the motion of the container 103 as boundary conditions to predict a distribution 503 of the shape of the fluid 105 volume. The measurement model 505 updates the predicted distribution 503 of the shape of the fluid 105 volume based on measurements 507 of the occupancy of the fluid 105 collected from one or more sensors to generate an updated distribution 509 of the shape of the fluid 105 volume.
[0053]
number
[0054]
number
[0055] In one embodiment, system 101 is a spacecraft that includes a container containing fuel for spacecraft 601. The spacecraft may employ controller 127 for control of the spacecraft.
[0056] 6 illustrates a spacecraft 601 employing a controller 127, according to some embodiments of the present disclosure. The spacecraft 601 is communicatively coupled to the controller 127 (not shown in the drawings). The spacecraft 601 is equipped with actuators such as thrusters 603 and momentum exchange devices 605. Examples of momentum exchange devices 605 include reaction wheels (RW) and control moment gyroscopes.
[0057] Spacecraft 601 is a vehicle, vessel, or machine designed to fly in space whose movements change quantities such as the spacecraft's position, its velocity, and its attitude or orientation in response to commands sent to actuators. Spacecraft 601 includes a container containing fuel for spacecraft 601. When commanded, the actuators impart forces to spacecraft 601 that increase or decrease the velocity of spacecraft 601, thus causing spacecraft 601 to move its position. When commanded, the actuators also impart torques to spacecraft 601, which cause spacecraft 601 to rotate, thereby changing its attitude or orientation. The movement of spacecraft 601 causes the fuel to slosh.
[0058] Spacecraft 601 flies along an open or closed orbital path 607. A desired or target state along the orbital path 607 is specified by a user for the spacecraft 601. The desired state may include a desired position 609 and / or a desired orientation of the spacecraft 601. For purposes of illustration, the desired position 609 is considered to be the desired state. The controller 127 is configured to determine control commands to actuators of the spacecraft 601 by solving an optimal control problem of reaching the desired position 609, which is determined by a heterogeneous model 121 that takes into account the dynamics of the fuel of the spacecraft 601. The determined control commands cause the actuators to move the spacecraft 601 to the desired position 609. Since the spacecraft 601 is controlled by the control commands determined by taking into account the heterogeneous model 121 that takes into account the dynamics of the fuel of the spacecraft 601, the spacecraft 601 is accurately controlled.
[0059] Alternatively, in some embodiments, the system 101 is a mobile robot transporting liquid in a container. Acceleration of the mobile robot causes changing boundary conditions for the liquid in the container, which in turn can cause liquid slosh. The controller 127 can be configured for rapid and accurate control of the mobile robot by taking into account the dynamics of the liquid in the container. For example, the controller 127 can determine control commands to actuators of the mobile robot by solving an optimal control problem that depends on a heterogeneous model of the dynamics of the mobile robot.
[0060] 7 is a schematic diagram illustrating a computing device 700 for implementing a controller 127 of the present disclosure. The computing device 700 includes a power supply 701, a processor 703, a memory 705, and a storage device 707, all connected to a bus 709. Also connected to the bus 709 may be a high-speed interface 711, a low-speed interface 713, a high-speed expansion port 716, and a low-speed expansion port 717. Additionally, a low-speed connection port 719 is connected to the bus 709.
[0061] An input interface 721 may also be connected to an external receiver 723 and an output interface 725 via the bus 709. A receiver 727 may be connected to an external transmitter 729 and a transmitter 731 via the bus 709. An external memory 733, an external sensor 735, a machine 737, and an environment 739 may also be connected to the bus 709. One or more external input / output devices 741 may also be connected to the bus 709. A network interface controller (NIC) 743 may be adapted to connect to a network 745 through the bus 709, such that, among other things, data or other data may be rendered on a third party display device, a third party imaging device, and / or a third party printing device external to the computing device 700.
[0062] The memory 705 can store instructions executable by the computing device 700 and any data that can be utilized by the methods and systems of the present disclosure. The memory 705 can include random access memory (RAM), read only memory (ROM), flash memory, or any other suitable memory system. The memory 705 can be a volatile memory unit(s) and / or a non-volatile memory unit(s). The memory 705 can also be another form of computer readable medium, such as a magnetic disk or an optical disk.
[0063] The storage device 707 can be adapted to store supplemental data and / or software modules used by the computer device 700. The storage device 707 can include a hard drive, an optical drive, a thumb drive, an array of drives, or any combination thereof. The storage device 707 can also include computer-readable media such as a floppy disk device, a hard disk device, an optical disk device, or an array of devices including tape devices, flash memory or other similar solid-state memory devices, or devices in a storage area network or other configuration. Instructions can be stored on an information carrier. The instructions, when executed by one or more processing devices (e.g., processor 703), perform one or more methods, such as those described above.
[0064] The computing device 700 may optionally be linked through a bus 709 to a display interface or user interface (HMI) 747 adapted to connect the computing device 700 to a display device 749 and a keyboard 751, which may include, among others, a computer monitor, a camera, a television, a projector, or a mobile device. In some implementations, the computing device 700 may include a printer interface for connecting to a printing device, which may include, among others, a liquid inkjet printer, a solid ink printer, a large scale commercial printer, a thermal printer, a UV printer, or a dye-sublimation printer.
[0065] The high-speed interface 711 manages bandwidth-intensive operations for the computing device 700, while the low-speed interface 713 manages less bandwidth-intensive operations. Such an allocation of functions is merely an example. In some implementations, the high-speed interface 711 may be coupled to memory 705, a user interface (HMI) 747, and to a keyboard 751 and a display 749 (e.g., through a graphics processor or accelerator), as well as to a high-speed expansion port 716 that may accept various expansion cards via a bus 709. In one implementation, the low-speed interface 713 is coupled to a storage device 707 and a low-speed expansion port 717 via a bus 709. The low-speed expansion port 717, which may include various communication ports (e.g., USB, Bluetooth, Ethernet, wireless Ethernet), may be coupled to one or more input / output devices 741. The computing device 700 may be connected to a server 753 and a rack server 755. The computing device 700 may be implemented in several different forms. For example, the computing device 700 may be implemented as part of a rack server 755 .
[0066] The description provides only exemplary embodiments and is not intended to limit the scope, applicability, or configuration of the present disclosure. Rather, the above description of exemplary embodiments will provide one of ordinary skill in the art with an enabling description for implementing one or more exemplary embodiments. Various changes may be made in the function and arrangement of elements without departing from the spirit and scope of the disclosed subject matter as set forth in the appended claims.
[0067] Specific details are given in the above description to provide a thorough understanding of the embodiments. However, it will be understood by those skilled in the art that the embodiments may be practiced without these specific details. For example, systems, processes, and other elements in the disclosed subject matter may be shown as components in block diagram form to avoid obscuring the embodiments in unnecessary detail. In other instances, well-known processes, structures, and techniques may be shown without unnecessary detail to avoid obscuring the embodiments. Also, the same reference numbers and names in the various drawings refer to the same elements.
[0068] Also, individual embodiments may be described as a process, which is depicted as a flowchart, a flow diagram, a data flow diagram, a structure diagram, or a block diagram. Although a flowchart may describe operations as a sequential process, many of the operations may occur in parallel or simultaneously. In addition, the order of operations may be rearranged. A process may terminate when its operations are completed, but may have additional steps not described or included in the drawings. Moreover, not all operations in any specifically described process may occur in all embodiments. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc. When a process corresponds to a function, the end of the function may correspond to the function returning to the calling function or to the main function.
[0069] Furthermore, embodiments of the disclosed subject matter may be implemented, at least in part, manually or automatically. The manual or automatic implementation may be performed or at least assisted through the use of a machine, hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware, or microcode, the program code or code segments to perform the necessary tasks may be stored on a machine-readable medium. A processor may perform the necessary tasks.
[0070] The various methods or processes outlined herein may be coded as software executable on one or more processors employing any one of a variety of operating systems or platforms. In addition, such software may be written using any of a number of suitable programming languages and / or programming or scripting tools, and may be compiled as executable machine code or intermediate code that runs on a framework or virtual machine. Typically, the functionality of the program modules may be combined or distributed as desired in various embodiments.
[0071] The embodiments of the present disclosure may be embodied as a method, examples of which are provided. The operations performed as part of the method may be ordered in any suitable manner. Thus, while an example embodiment shows operations as sequential, embodiments may be constructed in which operations are performed in an order different from that illustrated, which may include performing some operations simultaneously.
[0072] Also, the embodiments of the present disclosure and the functional operations described herein may be implemented in digital electronic circuitry, in tangibly embodied computer software or firmware, in computer hardware including the structures disclosed herein and their structural equivalents, or in a combination of one or more of them. Also, some embodiments of the present disclosure may be implemented as one or more computer programs, i.e., as one or more modules of computer program instructions encoded on a tangible non-transitory program carrier for execution by or for controlling the operation of a data processing apparatus. Furthermore, the program instructions may be encoded on an artificially generated propagating signal, such as, for example, a machine-generated electrical, optical, or electromagnetic signal, generated to encode information for transmission to a suitable receiver device for execution by the data processing apparatus. The computer storage medium may be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or a combination of one or more of them.
[0073] According to an embodiment of the present disclosure, the term "data processing apparatus" may encompass any kind of apparatus, device, and machine for processing data, including, by way of example, a programmable processor, computer, or multiple processors or computers. The apparatus may include special purpose logic circuitry, such as, for example, a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC). In addition to hardware, the apparatus may also include code that creates an execution environment for the computer program in question, such as code constituting a processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of these.
[0074] A computer program (which may also be referred to or described as a program, software, software application, module, software module, script, or code) may be written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages, and it may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program may, but need not, correspond to a file in a file system. A program may be stored in part of a file that holds other programs or data, such as one or more scripts stored in a markup language document, in a single file dedicated to the program in question, or in multiple integrated files, such as a file that stores one or more modules, subprograms, or portions of code.
[0075] A computer program may be deployed to be executed on one computer or on multiple computers, located at one site or distributed across multiple sites and interconnected by a communication network. Computers suitable for the execution of computer programs include, by way of example, those that may be based on general purpose or special purpose microprocessors or both, or any other type of central processing unit. Typically, the central processing unit will receive instructions and data from a read-only memory or a random access memory or both. The essential elements of a computer are a central processing unit for performing or executing instructions and one or more memory devices for storing instructions and data.
[0076] Typically, a computer will also include one or more mass storage devices for storing data, such as, for example, magnetic disks, magneto-optical disks, or optical disks, or be operatively coupled to such mass storage devices to receive and / or transfer data. However, a computer need not have such devices. Furthermore, a computer may be incorporated into another device, such as, for example, a mobile phone, a personal digital assistant (PDA), a portable audio or video player, a game console, a Global Positioning System (GPS) receiver, or a portable storage device, such as a universal serial bus (USB) flash drive, to name just a few.
[0077] To provide for interaction with a user, embodiments of the subject matter described herein may be implemented on a computer having a display device, such as a CRT (cathode ray tube) or LCD (liquid crystal display) monitor, for displaying information to the user, and a keyboard and pointing device, such as a mouse or trackball, for allowing the user to provide input to the computer. Other types of devices may be used to provide for interaction with the user as well. For example, feedback provided to the user may be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback. Also, input from the user may be received in any form, including acoustic, speech, or tactile input. Additionally, the computer may interact with the user by sending documents to and receiving documents from a device used by the user, for example, by sending a web page to a web browser on the user's client device in response to a request received from the web browser.
[0078] An embodiment of the subject matter described herein may be implemented in a computing system that includes a back-end component, e.g., as a data server, or a middleware component, e.g., an application server, or a front-end component, e.g., a client computer having a graphical user interface or a web browser that allows a user to interact with an implementation of the subject matter described herein, or any combination of one or more such back-end, middleware, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication, e.g., a communications network. Examples of communications networks include local area networks (LANs) and wide area networks (WANs), e.g., the Internet.
[0079] A computing system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of clients and servers arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
[0080] Although the disclosure has been described with reference to certain preferred embodiments, it is to be understood that various other adaptations and modifications can be made within the spirit and scope of the disclosure. It is therefore the object of the appended claims to cover all such variations and modifications as fall within the true spirit and scope of the disclosure.
Claims
1. 1. A controller for controlling a system having a mixed state material including a solid state material having portions forming a vessel containing a fluid volume, the controller comprising: a memory configured to store executable instructions; and a processor configured to execute the executable instructions to cause the controller to perform a plurality of steps, the plurality of steps including: collecting feedback signals indicative of a state of the system; determining control commands to actuators of the system at a current control step by solving an optimal control problem associated with varying the state of the system according to a control objective, the control command being determined by a heterogeneous model of dynamics of the system including a model of dynamics of the solid state material interconnected with a model of dynamics of the fluid volume in the vessel, the model of dynamics of the fluid volume estimating a shape of the fluid volume caused by a movement of the vessel in response to execution of the control commands at the current control step, the model of dynamics of the solid state material including a center of mass of the fluid volume in the vessel depending on the shape of the fluid volume at the current control step, the steps further comprising: A controller comprising the step of presenting the control commands to the actuators of the system to change the state of the system.
2. The controller of claim 1 , wherein the shape of the fluid volume is determined by a profile of an interface between the fluid volume estimated for the current control step and a remaining volume in the vessel.
3. The controller of claim 2 , wherein the profile of the interface is estimated using principles of computational fluid dynamics (CFD).
4. The controller of claim 1 , wherein the model of fluid dynamics simulates a computational fluid dynamics (CFD) of the fluid volume within the vessel.
5. The controller of claim 4 , wherein the model of fluid dynamics simulates CFD of the fluid volume using a reduced order model that approximates a full CFD model.
6. The controller of claim 5 , wherein the full CFD model is a PDE model and the order of the reduced order model is lower than an order of the PDE model.
7. The controller of claim 5 , wherein the reduced order model is based on one or more parametric physical models that model the dynamics of the fluid.
8. The controller of claim 5 , wherein the reduced order model is obtained by computing a set of modes based on dynamic motion decomposition (DMD), where each mode is associated with a temporal feature and a correlated spatial activity.
9. The processor further comprises: collecting measurements of a volume of fluid within the vessel and measurements of the occupancy of the fluid at a plurality of points within the vessel; 2. The controller of claim 1, configured to execute a probabilistic filter that tracks the shape of the fluid volume using a prediction model that depends on process noise and a measurement model that depends on measurement noise, the prediction model simulating computational fluid dynamics (CFD) of the fluid volume using the container motion as boundary conditions to predict a distribution of the shape of the fluid volume, and the measurement model updating the predicted distribution based on the measured values of fluid occupancy.
10. The controller of claim 9 , wherein the measurements of the volume of fluid in the vessel and the measurements of the occupancy of fluid at the points in the vessel are collected from one or more sensors associated with the vessel.
11. The controller of claim 9 , wherein the probabilistic filter is a Kalman filter.
12. The system is a spacecraft including a vessel containing fuel for the spacecraft, the vessel further comprising: and configured to determine control commands for one or more actuators of the spacecraft by solving an optimal control problem to reach a desired state of the spacecraft, the optimal control problem being determined by the heterogeneous model, the processor further comprising: The controller of claim 1 , configured to present the control commands to one or more actuators of the spacecraft to move the spacecraft to the desired state.
13. 1. A method for controlling a system having a mixed state material including a solid state material having portions forming a vessel containing a fluid volume, the method comprising: collecting feedback signals indicative of a state of the system; determining control commands to actuators of the system at a current control step by solving an optimal control problem that varies the state of the system according to a control objective, the control objective being determined by a heterogeneous model of dynamics of the system including a model of dynamics of the solid state material interconnected with a model of dynamics of the fluid volume in the vessel, the model of dynamics of the fluid volume estimating a shape of the fluid volume caused by a movement of the vessel in response to execution of the control commands at the current control step, the model of dynamics of the solid state material including a center of mass of the fluid volume in the vessel that depends on the shape of the fluid volume at the current control step, the method further comprising:
23. A method comprising: presenting the control command to the actuator of the system to change the state of the system.
14. The method of claim 13 , wherein the shape of the fluid volume is determined by a profile of an interface between the fluid volume estimated for the current control step and a remaining volume in the vessel.
15. The method of claim 14 , wherein the profile of the interface is estimated using principles of computational fluid dynamics (CFD).
16. The method of claim 13 , wherein the model of fluid dynamics simulates a computational fluid dynamics (CFD) of the fluid volume within the vessel.
17. The method of claim 16 , wherein the model of fluid dynamics simulates CFD of the fluid volume using a reduced order model that approximates a full CFD model.
18. The method of claim 17 , wherein the full CFD model is a PDE model and the order of the reduced order model is lower than the order of the PDE model.
19. 1. A non-transitory computer readable storage medium having embodied thereon a program executable by a processor to perform a method for controlling a system having a mixed state material including a solid state material having portions forming a vessel containing a fluid volume, the method comprising: collecting feedback signals indicative of a state of the system; determining control commands to actuators of the system at a current control step by solving an optimal control problem that varies the state of the system according to a control objective, the control objective being determined by a heterogeneous model of dynamics of the system including a model of dynamics of the solid state material interconnected with a model of dynamics of the fluid volume in the vessel, the model of dynamics of the fluid volume estimating a shape of the fluid volume caused by a movement of the vessel in response to execution of the control commands at the current control step, the model of dynamics of the solid state material including a center of mass of the fluid volume in the vessel that depends on the shape of the fluid volume at the current control step, the method further comprising: presenting the control commands to the actuators of the system to change the state of the system.
20. 20. The non-transitory computer-readable storage medium of claim 19, wherein the shape of the fluid volume is determined by a profile of an interface between the fluid volume estimated for the current control step and a remaining volume in the vessel.
