METHOD AND SYSTEM FOR OPTIMIZING TORQUE IN A CMG ARRAY

Information

  • Patent Application
  • 20060022091
  • Publication Number
    20060022091
  • Date Filed
    July 30, 2004
    20 years ago
  • Date Published
    February 02, 2006
    18 years ago
Abstract
A momentum-control system for a spacecraft is disclosed. The momentum-control system comprises an attitude-control system. The attitude-control system receives data concerning a desired spacecraft maneuver and determines a torque command to complete the desired spacecraft maneuver. A momentum actuator control processor coupled to the attitude-control system receives the torque command. The momentum actuator control processor calculates a gimbal rate command comprising a range-space gimbal rate required to produce the torque command and a null-space gimbal rate required to maximize the ability to provide torque in the direction of a current torque. At least four control-moment gyros are coupled to the momentum control actuator control processor. Each of the control-moment gyros receives and executes the gimbal rate to produce the desired maneuver.
Description
FIELD OF THE INVENTION

This invention relates to the field of spacecraft vehicle control and, more specifically, to a method and system for optimizing torque in a CMG array.


BACKGROUND OF THE INVENTION

In order to control the attitude of a spacecraft, various rotating inertia members are used. One such inertia member is a control moment gyroscope (CMG). A CMG typically comprises a flywheel with a fixed or variable spin rate mounted to a gimbal assembly. The spin axis of the CMG can be tilted by moving the CMG using the gimbal assembly. This motion produces a gyroscopic torque orthogonal to the spin axis and gimbal axis.


To achieve full attitude control of a spacecraft, a minimum of three CMGs, arranged such that each CMG in the CMG array imparts torque about a linearly independent axis, is typically used. The CMGs are moved about their gimbal axis in response to a command for torque from the spacecraft attitude-control system. Expressed mathematically, a Jacobian A maps the CMG gimbal rates into a three dimensional array torque:

Aω=τ

where A is a 3×n Jacobian matrix, ω is a n×1 array of gimbal rates for the n gimbals, and τ is a 3×1 array of torque components to be imparted to the spacecraft. From the above equation and with a known torque command, τ, the individual gimbal rates for each CMG can be calculated. Using the known Moore-Penrose pseudoinverse to invert the Jacobian matrix, a set of possible gimbal rates is:

ω=AT(AAT)−1τ


For a given array of CMGs, various alignments of the individual CMGs in the array will produce a given momentum. The collection of momentum for all possible alignments of the CMGs in a CMG array is the momentum envelope. The boundaries of the momentum envelope represent the maximum achievable momentum for a particular alignment of CMGs. In one embodiment, when there are three CMGs, each point in the momentum envelope can be achieved, in general, by a unique combination of gimbal angles. When the number of CMGs exceeds the minimum number of CMGs required for full attitude control, then most points in the momentum envelope can be defined by more than one alignment of the CMGs in the CMG array.


Conversely, in response to a command to produce a requested torque, the CMGs can be in one of several alignments; each alignment produces the requested torque but at a different point on the momentum envelope. It therefore follows that for an array of CMGs having more than three CMGs, there is an alignment of the CMGs that will result in a requested torque and maximize the potential to deliver momentum.


Inherent in the use of CMGs is the possibility that the CMGs' momentum vectors may line up in such a way that one or more components of the requested torque cannot be provided. Mathematically this situation occurs when the eigenvalues of AAT approach zero, causing (AAT)−1 to go to infinity. Equivalently, singularities occur when the determinant of the matrix AAT is equal to zero (expressed algebraically as det(AAT)=0). In the case of a 3×n matrix A, this is equivalent to saying the rank of the matrix AAT is two or less.


Different approaches have been devised to avoid singularities in the movement of CMGs. In one approach, to ensure that (AAT)−1 never is 0, (AAT)−1 is replaced by (AAT+εI)−1 where I is the identity matrix and ε is a small number. The use of a positive ε ensures that det(AAT+εI)−1 never becomes 0.


While useful in some instances, a drawback to this approach is that this approach changes the gimbal rate calculation. An analogous problem is the scalar expression
1a2+ɛ.

As
a0,1a2+ɛ1ɛ,

which is well-behaved but not equal to
1a2.

In the case of the Jacobian A, the pseudoinverse no longer exactly maps gimbal rates into the commanded torques because of the error ε introduces. This resulting error steers the spacecraft in the wrong direction and can introduce significant, undesired torque, especially near the singularity.


A further drawback of the (AAT+εI)−1 approach is that it does very little until the CMGs are already very near the singularity, where gimbal-rate capability (and therefore CMG array torque capability) can be undesirably low. What is needed is a method and system for maximizing available torque during CMG movements. In addition, it is further desirable to provide a momentum-control system with the maximum torque available when CMGs are manipulated. This optimization allows the momentum-control system to provide momentum for a large period of time or larger amounts of momentum for a short period of time. While the present invention does not address the inability of a singular array to apply torque perpendicular to the current torque command, the present invention maximizes capability in the currently commanded direction, which is of greater value. That is, the present invention addresses singularity avoidance only for the direction of the currently commanded torque. However, nothing precludes the use of the present invention described herein at the same time as one of many other singularity-avoidance approaches. The commands from the teachings of the present invention and the commands from a singularity-avoidance method can assigned various weights and combined in a way chosen as the best compromise between performance in one dimension (the present invention) and singularity avoidance in three dimensions.


BRIEF SUMMARY OF THE INVENTION

In one embodiment of the present invention, a method for maximizing momentum in the direction of the current torque of a CMG array is disclosed. The method includes receiving a torque command representing a desired torque to produce an attitude adjustment for a spacecraft. Next, a range-space gimbal rate required to produce the desired torque and a null-space gimbal rate required to maximize the ability to provide torque in a direction of the current torque are calculated. The total gimbal rate is calculated by summing the range-space gimbal rate and the null-space gimbal rate. Then, commands are provided to the CMGs to produce the total gimbal rate.


In another embodiment of the present invention, a momentum-control system for a spacecraft is disclosed. The momentum-control system comprises an attitude-control system. The attitude-control system receives data concerning a desired spacecraft maneuver and determines a torque command to complete the desired spacecraft maneuver. A momentum actuator control processor coupled to the attitude-control system receives the torque command. The momentum actuator control processor calculates a gimbal-rate command comprising a range-space gimbal rate required to produce the torque command and a null-space gimbal rate required to maximize the ability to provide torque in the direction of a current torque command. At least four control-moment gyros are coupled to the momentum control actuator control processor. Each of the control-moment gyros receive and execute the gimbal rate to produce the desired output.




BRIEF DESCRIPTION OF DRAWINGS

The present invention will hereinafter be described in conjunction with the following drawing figures, wherein like numerals denote like elements, and:



FIG. 1 is a block diagram illustrating an exemplary CMG control system;



FIG. 2 is an illustration of a momentum plane of a CMG;



FIG. 3 is a flowchart illustrating a torque maximization CMG steering law;



FIG. 4 is a flowchart illustrating a determinant-maximizing CMG steering law; and



FIG. 5 is a flowchart illustrating an eigenvalue-based steering law.




DETAILED DESCRIPTION OF THE INVENTION

The following detailed description is merely exemplary in nature and is not intended to limit the invention or the application and uses of the invention. Furthermore, there is no intention to be bound by any expressed or implied theory presented in the preceding technical field, background, brief summary or the following detailed description.


The following detailed description describes the use of the present invention in terms of its use in an exemplary CMG array singularity avoidance system. However, applications of the present invention are not limited to any one specific application or embodiment, but are useful in many different areas of endeavor.


The present invention takes advantage of null-space steering when moving the CMGs in a CMG array to provide torque. Furthermore, the present invention does so in a way that optimally conditions the CMG array at all times, achieving gimbal angles that optimize the array's ability to deliver torque in a chosen direction. As discussed previously, a minimum of three CMGs is required to provide the three degrees of freedom needed to orient a spacecraft. However, in many cases more than three CMGs are implemented. The extra CMGs are typically provided for mechanical redundancy purposes but are occasionally used in the implementation of sophisticated steering laws like the present invention. Each extra CMG provides an extra mathematical degree of freedom. As discussed previously, in a three-dimensional vector space, the CMGs' gimbal rates can be mapped into a three-dimensional torque array by use of the Jacobian A:

Aω=τ  (1)

where, in this three-CMG example, A is a 3×3 matrix, ω is a 3×1 matrix, and τ is a 3×1 matrix. If extra CMGs are provided and n is the number of CMGs in the CMG array, then A will be a 3×n matrix, ω an n×1 matrix and τ a 3×1 l matrix. For a CMG array comprising n CMGs, with n>3, the subspace of the n-dimensional vector space associated with the nonzero singular values of A is known as the range space. When rank(A)=3, the range space of A is the three-dimensional physical space, which is inhabited by the three-dimensional, physical torque.


The rest of the n-dimensional vector space is known as the null space. The null space is outside and perpendicular to the range space. Together, both the range space and the null space completely span the n-dimensional vector space. Values of ω that lie entirely within the null space of A produce no physical torque. A 3×n matrix A provides for a three-dimensional range space and a null space of dimension at least n-3.


When changing the attitude of a spacecraft, only the movement of CMGs in the range space affects the attitude of the spacecraft. Conversely, motions of the CMG gimbals in the null space produce no physical torque and, thus, no error in the torque provided by the CMGs. A matrix B can be defined as spanning the null space of matrix A. One way to compute B is:

B=I−AT(AAT)−1A   (2)

where I is the identity matrix.


While movement of the CMGs in the null space does not affect the torque provided by the CMG array, the movement of the CMGs in the null space can affect how each CMG gimbal angle contributes to the total gimbal rate, ω, an n×1 array, required to produce the torque:

ω=ωrn   (3)

where ωr is the portion of the total gimbal-rate vector that lies within the range space, and ωn is the portion within the null space.


An exemplary control system 100 for implementing the present invention is illustrated in FIG. 1. The components of the control system 100 are known in the art and can be assembled in different ways using different processors, software, controllers, sensors and the like. The control system 100 includes an attitude-control system 102 coupled to a momentum actuator control processor 104. CMGs 106 are coupled the momentum actuator control processor 104. Associated with each CMG 106 are one or more CMG sensors 108 for providing information concerning the state of the CMG 106 to the control system 100. Control system 100, in one embodiment, is mounted on a spacecraft such as an orbiting satellite.


Attitude-control system 102 controls the positioning of a spacecraft. The attitude-control system 102 receives data concerning a desired spacecraft maneuver and determines an appropriate torque command to complete the desired maneuver. The torque commands are presented to the momentum actuator control processor 104. The momentum actuator control processor 104, in response to the torque commands, calculates the gimbal rates necessary to produce the commanded torque. Additionally, the momentum actuator control processor 104 calculates CMG movement in both the range space and the null space to optimally condition the array for providing torque in a certain direction.


The momentum actuator control processor 104, based on the above-identified calculations, provides the necessary commands to the CMGs 106 such that the CMG movement produces the commanded torque and, in accordance with the teachings of the present invention, provides the torque while optimally conditioning the array for torque in a certain direction. In one embodiment, there are at least four CMGs: three mathematical degrees of freedom to provide motion in the range space (the desired torque) and at least one additional degree of freedom to allow null-space motion to steer towards a torque-optional configuration. Individual CMGs are not necessarily devoted exclusively to range-space or null-space motion; rather, all of the CMGs, working in concert, produce both range-space and null-space effects.


Since movement of the CMGs in the null space can change how the output torque is achieved, movement in the null space can be used to optimally condition the array for torque in a certain direction. For example, in one embodiment of the present invention, each CMG in the CMG array is moved such that the ability to provide torque in the direction of the present torque is maximized. The reason for this choice of direction is that most spacecraft maneuvers are undertaken with acceleration, coasting and deceleration close to a (one-dimensional) line in three-dimensional momentum space. Therefore, maximizing the ability of the array to provide torque along such a line maximizes the array's capability in a nearly global sense. In order to maximize the ability to provide torque in the direction of the current torque, each individual CMG is moved such that the momentum vector for that CMG is as close to perpendicular to the direction of the current torque command. Again, this motion occurs in the null space so that it does not interfere with the torque the array is commanded to apply. A method for optimizing torque in a CMG array is illustrated with reference to FIG. 2 and 3.



FIG. 2 illustrates the momentum plane for an exemplary CMG. The momentum for this CMG is confined to the momentum plane. A gimbal axis, gi, and a command torque, τ, are shown in FIG. 2. The commanded torque is the total requested torque and this is provided by the vector sum of the torque from each CMG. The gimbal axis is fixed for each CMG but can, and typically will, vary among CMGs. The momentum vector for the ith CMG for zero gimbal angle is ĥo,i. This momentum vector rotated by the gimbal angle, δ, is ĥi=Q(δ, ĝio,i, where Q(δ, ĝ) is a direction-cosine matrix for rotation by an angle δ about an axis. ĥd,i is the desired momentum vector that will give the ith CMG the maximum torque output in the direction of the current torque. ĥd,i is calculated to be as close to perpendicular to the command torque as possible. When this occurs, ĥi is, as always, perpendicular to the gimbal axis, gi, and the cross product of ĥd,i and gi will have its maximum possible projection along the τ direction. Therefore, the torque capability is maximized along the direction of the commanded torque.


A method for determining the gimbal angle to make ĥd,i perpendicular to the command torque for each CMG and to determine the null-space gimbal rate to achieve the determined gimbal angle is illustrated in the flowchart of FIG. 3. In a first step, step 302, the command torque to perform a desired attitude adjustment is determined.


Next, in step 304, the range-space gimbal rate needed to the required command torque, τ is determined:

ωr=AT(AAT)−1τ  (4)

This calculation can be done by noting that the Jacobian A can be represented by:

A=[v1 v2 . . . vn]  (5)

In addition, the symmetric AAT matrix can be written as
AAT=[i=1nvix2i=1nvixviyi=1nvixvizi=1nviy2i=1nviyviz(sym)i=1nviz2](6)

where

vi=gixĥi=gixQ(δ,ĝi)ĥ0,i   (7)


Once the range-space gimbal rate is determined, the null space gimbal rate is determined. In step 306, the desired momentum vector, ĥd,i, is determined:
h^d,i=τ×giτ×gi(8)

Where τ is the command torque and gi is the gimbal axis of the ith CMG. Note that since the momentum vector ĥd,i results from the cross product of the command torque τ and gimbal axis gi, the desired momentum vector, ĥd,i, is perpendicular to the command torque τ and gimbal axis gi.


Once the momentum vector ĥd,i that is perpendicular to the command torque τ and gimbal axis gi is determined, the gimbal angle of that momentum vector is calculated in step 308:
cosϕi=-Q(δi,g^i)Th^d,isgn(((Q(δi,g^i)h^d,i)×h^d,i)Tg^i)(9)

where φi is the change in gimbal angle required to rotate the momentum vector from its current position to the desired position that is perpendicular to the command torque. The sgn function returns the sign (positive or negative) of its argument. The sign determines whether the momentum vector must rotate clockwise or counterclockwise to achieve the desired orientation.


The gimbal angle φi is then used to determine a gimbal rate, {dot over (δ)}, in step 310:

{dot over (δ)}=Ki)   (10)

Where K is a gain, chosen based on several criteria known to practitioners of the art of control-system design. For example, in one embodiment K to creates a stable closed-loop system in the presence of CMG dynamics, existing rate-control loops and other factors. Roughly speaking, feeding back position error to a rate actuation ought to result in an unconditionally stable system, provided other effects such as sampling lag and system dynamics are negligible.


The gimbal rate {dot over (δ)} is then projected on to the null space to determine the null-space gimbal rate in step 312.

ωn=B(BTB)−1BT{dot over (δ)}  ( 11)

where B(BTB)−1BT projects the gimbal rate on to the null space.


Then, in step 314, the overall gimbal rate is calculated:

ω=ωrn   (12)

Thus, ω is the gimbal rate required both to provide the required torque and to maximize torque capability.


While the present invention does not address the inability of a singular array to apply torque perpendicular to the current torque command, it maximizes capability of delivery torque in the currently commanded direction, which is of greater value. That is, the present invention addresses singularity avoidance only for the direction of the currently commanded torque. However, nothing precludes utilizing the teachings of the present invention in conjunction with one of many singularity-avoidance approaches. For example, in one embodiment, the commands from the teachings of the present invention and the commands from a singularity-avoidance method can assigned various weights and combined in a way chosen as the best compromise between performance in one dimension (the present invention) and singularity avoidance in three dimensions. For example, the teachings of the present invention can be used in conjunction with the a singularity-avoidance method that maximizes the determinant of (AAT) using null-space steering, as described in conjunction with FIG. 4, or the teachings of the present invention can be used in conjunction with a singularity-avoidance method that maximizes the eigenvalues of (AAT) using null-space steering, as described in conjunction with FIG. 5. These are, of course, just two examples of singularity-avoidance methods that can be used in conjunction with the teachings of the present invention.



FIG. 4 is a flowchart illustrating a method for maximizing the determinant of (AAT) using null-space steering. In a first step, step 402, the torque required to move the spacecraft is determined, in one embodiment by the attitude-control system 102. Next, in step 404, the elements of the AAT matrix are calculated to determine the determinant. The result is an entirely analytical gradient-steering method, whose explicit solution for the gimbal motion eliminates the need for numerical search algorithms. For example, given (for a n-CMG system) a Jacobian A whose columns are represented by:

A=[v1 v2 . . . vn]  (13)

the determinant of the symmetric matrix AAT depends on the six terms found in:
AAT=[i=1nvix2i=1nvixviyi=1nvixvizi=1nviy2i=1nviyviz(sym)i=1nviz2](14)

These six values can be computed from the known elements of A using:
Sjk=i=1nvijvik(15)

In terms of these precomputed values, the determinant of (AAT) can be expressed as:

det(AAT)=Δ=SxxSyySzz+2SxySxzSyz−SxxSyz−SyySxz−SzzSxy   (16)


In a next step, step 406, the change in the determinant, Δ, with respect to the change in output torque direction, δ, can be calculated:
Δδ=[Δδ1Δδ2Δδn](17)

To calculate
Δδ,

the chain rule can be used. From the chain rule:
Δδi=Δviviδi.(18)

Given that the elements of the Jacobian A can be expressed as:

vi=gixĥi=gixeigix)ĥ0,i   (19)

where gi is the ith CMG's gimbal axis rate and hi is the ith CMG's angular momentum. The derivative of vi with respect to the ith gimbal angle can thus be calculated:
viδi=gixgix(δigix)h^0.i(20)

The matrix exponential eigix is used as a convenience in the derivation. In practice, this direction-cosine matrix is a simple function of the gimbal axis and sines and cosines of the gimbal angle. The matrix exponential eigix represents a rotation of an angle δ about an axis gi.


The derivative of the determinant with respect to vi can be found in its x, y and z components as:
Δvi,x=2vi,xSyySzz+Syz(vi,ySxz+vi,xSxy)-2vi,xSyz2-2vi,zSyySxz-2vi,ySzzSxyΔvi,y=2vi,ySxxSzz+2Sxz(vi,zSxy+vi,ySyz)-2vi,zSxx-2vi,ySxz2-2vi,xSzzSxyΔvi,z=2vi,ySxxSyy+2Sxy(vi,xSxz+vi,ySyz)-2vi,ySxxSyz-2vi,xSxzSyy-2vi,zSzz2(21)

Eqn. 21 can be precomputed using Eqn. 15. Then, the change in determinant with respect to the output torque direction,
Δδ,

can be determined from Eqns. 20 and 21 using the chain rule as shown in Eqn. 18. The result is an analytical expression for incremental change in the determinant with respect to incremental change in the output torque direction.


Next, in step 408, the range-space gimbal rate can be calculated using:

ωr=AT(AAT)−1τ  (22)


Then, in step 410, the null-space gimbal rate can be calculated from:
ωn=KB(BTB)-1BT[Δδ]T(23)


K is a matrix or scalar gain, either constant or otherwise, selected to ensure that the gimbal rate never exceeds a maximum value and so that, for all points in the CMG array's capability, the determinant, det(AAT), is driven away from singularities faster than it is drawn to them.


B(BTB)−1BT projects the gimbal motion that would follow the gradient of the determinant exactly onto the null space so that it does not influence the output torque. In the present embodiment, since A has a rank of three and because null-space steering ensures the invertibility of AAT, closed-form solutions for the pseudoinverse of A and for the null space of A (i.e. B) are possible:

B=I−AT(AAT)−1A   (24)

where I is a 3×3 identity matrix.
Δδ


is the partial derivative of the determinant with respect to the output torque direction. The components of this vector were previously calculated in step 406. The expression
[Δδ]T

is used as the pseudoinverse of
Δδ.

The traditional pseudoinverse includes a factor of one over the square of the magnitude. Since, in this case, the magnitude can never go to zero in the gimbal angle set, this term can be excluded. The result is a bell-behaved, stable, null-space command.


Next, in step 412, the total n×1 gimbal rate command, ω, can be determined as the sum of the range-space gimbal rate and the null-space gimbal rate:

ω=ωrn   (25)

This is the commanded gimbal rate for each CMG in the CMG array.


In a second embodiment, the null-space steering maximizes a weighted sum of the eigenvalues of (AAT). For an n×n matrix, D, a scalar, λ, is an eigenvalue of D if there is a non-zero vector x such that Dx=λx. The eigenvalue can be found by first rewriting Dx=λx as [D−λ0I]x=0. This equation has a non-trivial solution if and only if det(D−λ0I)=0. Also, it is known that the
det(D)=detD=i=1nλi.

That is, the product i=l of the eigenvalues equals the determinant of the matrix. Therefore, indirectly, this embodiment also steers the CMGs in a way that attempts to optimize the determinant. The difference in this embodiment is that each of the eigenvalues can be treated individually, an approach that may offer more versatility in some applications.


As discussed previously, when det(AAT)=0 the CMG array is singular. Since the product of the eigenvalues of a matrix equals the determinant of the matrix, by maximizing the weighted sum of the eigenvalues, singularities can be avoided. FIG. 5 is a flowchart illustrating an embodiment of the present invention that maximizes the eigenvalues of (AAT) by null-space motion.


In a first step, the required torque is determined (step 502). This torque is the torque requested to change the attitude of the spacecraft. Next, in step 504, the elements of the matrix AAT are calculated. The elements of matrix AAT are calculated in the same manner as the first embodiment.


Next, in step 506, the eigenvalues of AAT are calculated. As discussed previously the eigenvalues of AAT can be found from solving det(AAT−λI)=0 for the λ. Since AAT has a rank of three, there will be three eigenvalues: λ1, λ2, and λ3, and the solution to det(AAT−λI)=0 will be a third-degree polynomial, for which a closed-form, analytical solution can be found. Furthermore, these eigenvalues will all be real and nonzero, further simplifying the computation.


In step 508, a weighted sum of the eigenvalues can be formed as a cost function, J, to be maximized:

J=αλ1+βλ2+γλ3   (26)


In Eqn. 26, the coefficients α, β and γ are weighting factors that can be varied to emphasis a particular eigenvalue if desired. Alternatively, the coefficients can be given equal weight.


In step 510, the derivative of the cost function with respect to the gimbal angle can be calculated using the chain rule:
Jδi=Jvivδi(27)

where, as before,
viδi=gixgix(δigix)h^0,i(28)

Moreover, for this embodiment:
Jvi=Jλiλivi(29)


Both
viδiandJvi

can be computed analytically from the eigenvalues determined previously. After
Jδi

is calculated, in step 512, the range-space gimbal rate can be calculated as before:

ωr=AT(AAT)−1τ  (30)


Then, in step 514, the null-space gimbal rate can be calculated:
ωn=KB(BTB)-1BT[Jδ]T(31)

where K is the gain as discussed previously, B(BTB)−1BT projects the gradient of the cost function on to the null space and ∂J/∂δ is the partial derivative of the cost function with respect to gimbal angle. In step 516, the total gimbal rate is calculated as the sum of the range-space gimbal rate, ωr, and the null-space gimbal rate, ωn:

ω=ωrn   (32)

This sum gives the gimbal rate that both produces the desired torque without an error and ensures that the torque is produced without encountering a singularity of a CMG. This is the commanded gimbal rate for each CMG in the CMG array needed for the avoidance of singularities. The gimbal rate command that maximizes momentum in the direction of current torque can be combined with the gimbal rate needed to maximize the eigenvalues of (AAT) to provide an optimal combined gimbal rate that minimizes the possibility of encountering a singularity in three dimensions while maximizing momentum in the direction of the current torque.


While at least one exemplary embodiment has been presented in the foregoing detailed description, it should be appreciated that a vast number of variations exist. It should also be appreciated that the exemplary embodiment or exemplary embodiments are only examples, and are not intended to limit the scope, applicability, or configuration of the invention in any way. Rather, the foregoing detailed description will provide those skilled in the art with a convenient road map for implementing the exemplary embodiment or exemplary embodiments. It should be understood that various changes can be made in the function and arrangement of elements without departing from the scope of the invention as set forth in the appended claims and the legal equivalents thereof.

Claims
  • 1. A method for optimizing torque in a CMG array of a spacecraft comprising: receiving a torque command representing a desired torque to produce an attitude adjustment for the spacecraft; computing a range-space gimbal rate required to produce the desired torque; computing a null-space gimbal rate required to maximize the ability to provide torque in a chosen direction; computing a total gimbal rate by summing the range-space gimbal rate and the null-space gimbal rate; and providing commands to the CMGs to produce the total gimbal rate.
  • 2. The method of claim 1 wherein the step of computing a null-space gimbal rate further comprises computing a null-space gimbal rate based on the projection of a gimbal rate that produces a momentum vector perpendicular to the current direction of the torque onto the null space of the array Jacobian.
  • 3. The method of claim 1 further comprising: computing a gimbal rate that avoids singularities in three dimensions; and determining an optimal combination of the gimbal rate required to maximize momentum in the direction of current torque and the gimbal rate that avoids singularities in three dimensions.
  • 4. The method of claim 3 wherein the step of computing a gimbal rate that avoids singularities in three dimensions further comprises computing a null-space gimbal rate based on the projection of the determinant of the product of a Jacobian matrix and the transpose of the Jacobian matrix.
  • 5. The method of claim 3 wherein the step of computing a gimbal rate that avoids singularities in three dimensions further comprises computing a null-space gimbal rate based on the projection of the eigenvalues of the product of a Jacobian matrix and the transpose of the Jacobian matrix.
  • 6. A momentum-control system for a spacecraft comprising: an attitude-control system operable to receive data concerning a desired spacecraft maneuver and determine a torque command to complete the desired spacecraft maneuver; a momentum actuator control processor coupled to the attitude-control system and operable to receive the torque command and calculate a gimbal rate command comprising a range-space gimbal rate required to produce the torque command and a null-space gimbal rate required to maximize the ability to provide torque in a chosen direction; and a CMG array comprising at least four control-moment gyros, each CMG operable to receive the gimbal rate command and execute the gimbal rate command to produce the desired maneuver.
  • 7. The momentum-control system of claim 6 wherein the null-space gimbal rate is calculated based on the projection of a gimbal rate that produces a momentum vector perpendicular to the current direction of the torque onto the null space of the array Jacobian.
  • 8. The momentum-control system of claim 6 wherein the momentum actuator control processor is further operable to: compute a gimbal rate that avoids singularities in three dimensions; and determine an optimal combination of the gimbal rate command required to maximize momentum in the direction of current torque and the gimbal rate that avoids singularities in three dimensions.
  • 9. The momentum-control system of claim 8 wherein the gimbal rate that avoids singularities in three dimensions is determined by computing a null-space gimbal rate based on the projection of the determinant of the product of a Jacobian matrix and the transpose of the Jacobian matrix.
  • 10. The momentum-control system of claim 8 wherein the gimbal rate that avoids singularities in three dimensions is determined by computing a null-space gimbal rate based on the projection of the eigenvalues of the product of a Jacobian matrix and the transpose of the Jacobian matrix.
  • 11. A method for maximizing the ability to provide torque in a chosen direction of a CMG array in a spacecraft while avoid singularities when maneuvering the spacecraft comprising: computing by summing a first range-space gimbal rate required to produce a torque to an overall gimbal rate achieve a desired maneuver of the spacecraft and a first null-space gimbal rate required to maximize the ability to provide torque in a given direction; computing a singularity avoiding gimbal rate by summing a second range-space gimbal rate required to produce a torque to achieve a desired maneuver of the spacecraft and a second null-space gimbal rate required to assist in the avoidance of singularities; and determining an overall gimbal rate from an optimized combination of the momentum maximizing gimbal rate and the singularity avoiding gimbal rate.
  • 12. The method of claim 11 wherein computing an overall gimbal rate further comprises computing a null-space gimbal rate based on the projection of a gimbal rate that produces a momentum vector perpendicular to the current direction of the torque onto the null space of an array Jacobian.
  • 13. The method of claim 11 wherein computing a second null-space gimbal rate further comprises computing a null-space gimbal rate based on the projection of the determinant of the product of a Jacobian matrix and the transpose of an array Jacobian.
  • 14. The method of claim 11 wherein computing a second null-space gimbal rate further comprises computing a null-space gimbal rate based on the projection of the eigenvalues of the product of a Jacobian matrix and the transpose of an array Jacobian.