1 Introduction

Hayabusa2 is the Japanese sample and return robotic mission to the Ryugu asteroid (Watanabe et al. 2019). On 27th of July 2018, the Hayabusa2 spacecraft arrived at Ryugu where the spacecraft-asteroid proximity operations have started. The spacecraft is designed to hover above Ryugu at a distance of 20 km, known as Home Position (HP). In early December 2018, the Hayabusa2 spacecraft was located behind the Sun as seen from the Earth. This condition is known as superior solar conjunction because of the solar radio interference constraints. During the solar conjunction the signal pass through the solar corona that causes a substantial increase in the Doppler data noise with consequent degradation in the orbit determination accuracy (Morley and Budnik 2007). The Earth, the Sun and Ryugu were almost aligned on the 11th of December 2018 by causing a temporary blackout in the communication link between the Hayabusa2 spacecraft and the Earth. The solar radio interference constraints for the Hayabusa2 spacecraft is the region within \(3^{\circ }\) of the Sun-Earth-Probe (SEP) angle called Solar Exclusion Zone (SEZ) (Canalias and Masdemont 2004). The superior solar conjunction event represents a challenge for hovering satellite as communications with the Earth are prohibited. During the Earth-Ryugu communication blackout, the spacecraft needed to be placed in a safe “conjunction” trajectory to prevent undesired: close approaches, escape dynamics or, in the worst case, collision with the asteroid.

Deep space missions’ vicinity operation techniques include (1) fly-bys (Taylor et al. 2017), (2) orbiting (i.e. OSIRIS-REx mission (Lauretta et al. 2017)) and (3) hovering (i.e. Hayabusa (Yoshikawa et al. 2013) and Hayabusa2 missions (Watanabe et al. 2017)).

  1. (1)

    For spacecrafts in fly-by with the asteroid, the spacecraft orbit is designed in a heliocentric way and, usually, a manoeuvre is given to increase the Spacecraft-Asteroid relative distance (i.e. Rosetta mission) with respect to the Sun (Morabito et al. 2003).

  2. (2)

    For a spacecraft in orbit around an asteroid, it is possible to either place the spacecraft in a stable orbit or design an orbit that naturally avoids the SEZ regions (i.e. Terminator Orbits (Takahashi and Scheeres 2019) and Halo Orbits (Farres et al. 2013).

  3. (3)

    A spacecraft in hovering with the asteroid has the advantage to ease communication with the Earth through a relatively simple communication link geometry that is a fundamental asset for Touch-Down operations in deep space. However, the major disadvantage is that a spacecraft in hovering is located at a highly unstable condition and it requires to be artificially constrained at the HP altitude (of 20 km altitude) with daily maneuvers called BOX-A (\(x_{hp} = y_{hp} = \pm 0.5~\text{km}\), \(z_{hp} = 20 \pm 2.5~\text{km}\)) operation for the Hayabusa2 mission. Therefore, the design of a low fuel expenditure conjunction manoeuvre for a hovering spacecraft is not straightforward as for the case of spacecrafts in (1) fly-by or (2) orbiting the asteroid.

The Hayabusa spacecraft experienced the solar conjunction during the heliocentric transfer phase before its arrival to the asteroid Itokawa, which is a common procedure for deep space missions (Yoshikawa et al. 2013). It is the first time that a spacecraft experiences the superior solar conjunction while in hovering. Thus, to the best of our knowledge, the solar conjunction phase for a hovering spacecraft has never been studied in the past.

In this article, a low energy transfer trajectory is proposed as a candidate of the conjunction trajectory for the Hayabusa2 spacecraft. The main idea here is to make use of the natural dynamics in the Asteroid-Sun system, knowing that in the Hill problem, the spacecraft motion towards the Sun direction can be forbidden by fixing the S/C energy. This approach is similar to ballistic captures (Qi et al. 2014), weak stability boundaries (Belbruno et al. 2010) or low energy transfers (Koon et al. 2001). JAXA’s Hiten mission used similar ideas for the design of a recovery trajectory in the patched Circular Restricted Three-Body Problem (CR3BP) of the Sun-Earth and Earth-Moon system (Uesugi et al. 1991). This low energy trajectory aims at inserting the spacecraft in a trajectory towards the forbidden region of motion (known as curve of zero velocity) located at higher altitude with respect to the HP position. Once the spacecraft had reached the boundary of the curve of zero velocity on the 11th of December 2018, its velocity was naturally inverted in the opposite direction and the spacecraft returned at the HP point by decreasing its altitude. The conjunction orbit is designed in the Hill frame of the Sun-Asteroid system and due to its fish-shape was named “ayu” (sweetfish in Japanese). The time of flight of this trajectory is around 30 days and it requires two deterministic \(\Delta V\mbox{s}\). The first maneuver is given at the Conjunction Orbit Insertion (COI) point (Home Position before the conjunction, 23rd November 2018) and the second one at the Home-position Recovery Maneuver (HRM) point (Home Position after the conjunction, 29th December 2018) with a total expenditure in the \(\Delta V\) less than 1 m/s which implies low fuel consumption. optNEAR (optimum trajectory in Near Earth Asteroid Regions) tool was developed for the trajectory, guidance navigation planning of the ayu conjunction trajectory as the JAXA’s software JATOPS (Jaxa Approach Trajectory Optimizer with Statistical Constraints) developed for the Hayabusa2 approach phase could not determine the optimum conjunction solution following the required mission constraints.

The article is organised as follow: Sect. 2 provides an overview of the conjunction phase’s mission planning and the relevant definitions of the reference frames used. The equations of motion are given in the Hill coordinates in Sect. 3. Section 4 presents the shooting method for the design of the ayu trajectory developed in the optNEAR tool. Section 5 shows the results of the uncertainty analysis in the deterministic maneuvers at COI and HRM. Section 6 investigates the effect of the navigation in BOX-A on the COI maneuvers while Sect. 7 shows the shooting method for the design of the TCM maneuvers. Finally, the results of the guidance and navigation design are presented in Sect. 8.

2 Overview of the Hayabusa2’s Superior Solar conjunction Phase

For the \(\Delta V\) planning of the ayu conjunction trajectory, the required interfaces between the Orbit Determination (OD), Flight Dynamics (FD), and the Attitude Orbit Control System (AOCS) teams were prepared. The OD team provides the inputs for the trajectory design to the Flight Dynamics (FD) team as the estimates of the spacecraft’s state vector, and the initial knowledge of the covariance matrix (after the navigation). The AOCS team receives the product of the trajectory planning from the FD team in a “way” file \(\Delta V\) sequence format. Different teams require the definition of the state vector of the spacecraft and of the \(\Delta V\) in a specific reference system. At least four reference frames are required for the solar conjunction mission phase and their mutual rotations have to be derived. Figure 1 shows a schematic overview of the entire solar conjunction phase for the Hayabusa2 mission and of the four main reference frames used. Two main phases are identified here: the Mission Design and Mission Operation. Two reference frames are required for Mission Design as:

  1. (1)

    The Hill reference frame is centered at Ryugu. In this system, the Sun occupies a fixed relative distance with Ryugu and it is always located in the \(x_{hill}\) negative coordinates. This reference frame is rotating along the \(z_{hill}\)-axis with an angular velocity equal to the Sun-Ryugu mean motionFootnote 1 with respect to the J2000EQ reference frame.

  2. (2)

    The J2000 equatorial reference frame is here either centered at the Solar System Barycenter (SSB) (J2000EQ) or at Ryugu (J2000EQ-Ry), as shown in the blue dot square in Fig. 1. Note that the J2000EQ reference frame is an inertial reference frame centered in the SSB, while the axes of the J2000EQ-Ry reference frame are parallel to the J2000 EQuatorial (J2000EQ) frame but centered at Ryugu asteroid.

    Fig. 1
    figure 1

    Schematic overview of the mission design and mission operation for the solar conjunction phase

In this article, the Hill reference frame (1) is used for the design of the nominal trajectory as a 1st guess of the ephemeries dynamical system (2) (N-Body Problem) where the gravity of all planets, the Sun, the Moon and Ryugu are taken into account. The solution in the Hill system is refined with the developed N-Body propagator called optNEAR (optimum trajectory in Near Earth Asteroid Regions). optNEAR is written in the J2000EQ-Ry reference frame and it makes use of the NASA’s SPICE Toolkit for loading the ephemeries of the planets. The effect of the Solar Radiation Pressure (SRP) perturbation is included in both the Hill propagator (1) (only cannon-ball model) and the J2000EQ-Ry propagator (2) (flat surface model).

  1. (3)

    Interfaces between the FD team with the OD, and the AOCS teams require the definition of the Home Position (HP) reference frame as shown in Fig. 1. The HP reference frame is used mainly for the mission operation (red dashed rectangle in Fig. 1). The HP reference frame is asteroid-centred. The \(z_{hp}\)-axis is along the Earth-Asteroid line, the Sun-Asteroid line belongs to the positive \(x_{hp}\)-\(z_{hp}\) plane (gray area in Fig. 1) and the \(y_{hp}\)-axis is given such that the HP frame is a right-handed coordinate system. Thus:

    • The \(z_{hp}\)-axis is defined as:

      $$ \hat{\boldsymbol{r}}_{3} = \frac{\boldsymbol{r}_{Earth}}{|\boldsymbol{r}_{Earth}|}; $$
    • The \(y_{hp}\)-axis is defined as:

      $$ \hat{\boldsymbol{r}}_{2} = \frac{\boldsymbol{r}_{Earth} \times \boldsymbol{r}_{Sun}}{|\boldsymbol{r}_{Earth} \times \boldsymbol{r}_{Sun}|}; $$
    • The \(x_{hp}\)-axis is defined as:

      $$ \hat{\boldsymbol{r}}_{1} = \frac{\left (\frac{\boldsymbol{r}_{Earth} \times \boldsymbol{r}_{Sun}}{|\boldsymbol{r}_{Earth} \times \boldsymbol{r}_{Sun}|} \right ) \times \left ( \frac{\boldsymbol{r}_{Earth}}{|\boldsymbol{r}_{Earth}|} \right )}{\left | \left (\frac{\boldsymbol{r}_{Earth} \times \boldsymbol{r}_{Sun}}{|\boldsymbol{r}_{Earth} \times \boldsymbol{r}_{Sun}|} \right ) \times \left ( \frac{\boldsymbol{r}_{Earth}}{|\boldsymbol{r}_{Earth}|} \right ) \right |}. $$

    Note that \(\boldsymbol{r}_{Earth} = \boldsymbol{r}_{Earth|_{J2000EQ}} - \boldsymbol{r}_{Ryugu|_{J2000EQ}}\) and \(\boldsymbol{r}_{Sun} = - \boldsymbol{r}_{Ryugu|_{J2000EQ}}\) with

    $$ \boldsymbol{C}_{HP} = [\hat{\boldsymbol{r}}_{1}|\hat{\boldsymbol{r}}_{2}| \hat{\boldsymbol{r}}_{3}]. $$
    (1)

    This rotational transformation matrix takes coordinates in the HP reference frame (3) to coordinates in the J2000EQ-Ry reference frame (2).

  2. (4)

    Once the planned \(\Delta V\) is given in the HP reference frame (3), it has to be transformed in the Hayabusa2 spacecraft’s body fixed reference frame where the twelve Reaction Control System (RCS)’s thrusters are mounted on the body of the Hayabusa2 spacecraft. This is then send as a \(\Delta V\) command on board the spacecraft.

This article is devoted to present the activities of the FD team (blue rectangle Fig. 1) while the results of the conjunction mission operation are give in Soldini et al. (2020). The solar conjunction phase is defined by the relative geometry of the Sun, the Earth and the Hayabusa2 Probe. The Sun-Earth-Probe (SEP) angle reaches its minimum valueFootnote 2 of \(0.459^{\circ }\) in deep conjunction on the 11th of December 2018 as shown in Fig. 2b. Since the Hayabusa2 spacecraft is usually located at 20 km from Ryugu along the Earth-Ryugu line, the SEP angle can be approximated as the angle between the Earth-Sun line and the Earth-Ryugu line (or Earth-Hayabusa2 probe line) as shown in Fig. 2a.

Fig. 2
figure 2

The left panel shows the SEP angle definition in the J2000EQ reference frame while the right panel shows the SEP angle as a function of the epoch

2.1 Solar Conjunction Mission Operation

The solar conjunction operation is divided in three phases as shown in Table 1. When the SEP angle is \(\leq 3^{\circ }\), the radio communication is disturbed by the solar corona (Morley and Budnik 2007); therefore, it is not safe to send commands to the spacecraft when in deep conjunction (blue area in the right panel of Fig. 2b). In Fig. 2b, the SEP angle is function of the epoch between late November/December 2018. The blue area shows the epochs where the SEP angle is below \(3^{\circ }\), when the noise in the Earth-Spacecraft communication signal is affected by the solar corona (Morley and Budnik 2007).

Table 1 Solar conjunction mission phases, epochs and SEP angle

Table 1 highlight the three main phases for the solar conjunction operation: (a) Preparation Phase, (b) Deep Conjunction Phase and (c) Recovery Phase as shown also in Fig. 2b.

  1. (a)

    During the preparation phase, the spacecraft performed a \(180^{\circ }\) slew maneuver around the \(z_{hp}\)-axis to ensure the correct orientation of the 12 thrusters after the deep conjunction phase (flip of the HP reference frame). On the 23rd of November 2018, the COI maneuver is performed when the SEP angle is \(5^{\circ }\) and TCM1 is performed on the 30th of November 2018, when the SEP angle is \(3^{\circ }\).

  2. (b)

    When the spacecraft is in Deep Conjunction (SEP angle \(<3^{\circ}\)), the spacecraft will not perform any orbit maneuver but only attitude maintenance. Beacon operations have been done to monitor the status of the spacecraft while in its highest altitude point of the deep conjunction phase on the 11th of December 2018. The spacecraft stays in deep conjunction for 24 days with no control commands sent from Earth.

  3. (c)

    The recovery phase requires a second TCM2 maneuver on the 25th of December 2018, when the SEP angle is \(4^{\circ }\). The HP Recovery Maneuver (HRM) is performed on the 29th of December 2018 when the SEP angles is \(5^{\circ }\).

Four days of observations are planned: two days before deep conjunction and two days right after deep conjunction. As one can see, the two TCMs are scheduled before and after the deep conjunction. However, the two TCMs are not scheduled at the same SEP angle to allow the two days of observation campaign required for the TCM2 maneuver after the deep conjunction phase, Fig. 2b.

3 Equations of Motion in the Hill Problem of the Sun-Ryugu System

The ayu conjunction trajectory is designed in the Hill Reference frame introduced in Sect. 2. We recall that the dynamics of the mother spacecraft are therefore written in a rotating reference frame where the system is centred in the asteroid Ryugu’s center of mass. As mentioned in Sect. 2, the Sun and the asteroid are placed along the \(x_{hill}\)-axis at a fixed position. The Sun is in the negative \(x_{hill}\) coordinates. The photo-gravitation Hill problem is a special approximation of the photo-gravitational Circular Restricted Three Body Problem (CR3BP) where the mass of the secondary body (i.e. asteroid Ryugu) is considered smaller than the mass of the primary body (i.e. the Sun). Therefore, the Hill problem is a subset of the CR3BP where the Sun and the asteroid have fixed relative position along the \(x_{hill}\)-axis. When the perturbation of Solar Radiation Pressure (SRP) acceleration is taken into account, the Hill/CR3BP is known as the photo-gravitational Hill/CR3BP. For a Sun-pointing spacecraft, the SRP acceleration has a constant direction as seen from the Hill reference frame. The Hill problem has two equilibrium solutions know as Libration points, \(\mbox{L}_{1}\) and \(\mbox{L}_{2}\). When the effect of the SRP acceleration is taken into account, the \(x_{hill}\) coordinate of the equilibrium points move towards the Sun and the equilibrium points are here re-named as \(\mbox{SL}_{1}\) and \(\mbox{SL}_{2}\) (pseudo Libration points). Depending on how the initial energy of the Spacecraft (state vector) is set, two regions of motion can be distinguished where the spacecraft dynamics are or are not permitted (known as forbidden regions). Those ideas have been used to increase the spacecraft altitude from the nominal operational 20 km (HP position) to a safe spacecraft-asteroid distance grater than 20 km during the conjunction operation. Note that from now on the subscript “\(_{hill}\)” will be removed when referring to the Hill equations to ease the notation in the paper. Therefore, the Hill equations in dimensional coordinates are given by:

$$ \left \{ \textstyle\begin{array}{ll} \ddot{x} - 2 n \dot{y} &= - \frac{\mu _{a}}{r^{3}} x + 3 n^{2} x + a_{x}\\ \ddot{y} + 2 n \dot{x} &= - \frac{\mu _{a}}{r^{3}} y\\ \ddot{z} & = - \frac{\mu _{a}}{r^{3}} z - n^{2} z, \end{array}\displaystyle \right . $$
(2)

where, \(a_{x}\) is the SRP acceleration for a Sun-pointing spacecraft (cannon-ball model) and it is defined as:

$$ a_{x} = a_{x0} \left (\frac{1~\text{AU}}{d} \right )^{2}, $$
(3)

where \(a_{x0}\) is the SRP acceleration at 1 Astronomical Unit (AU):

$$ a_{x0} = \frac{P_{0}}{c} \frac{A}{m} C_{r} = 1.377 \cdot 10^{-7} ~[\mbox{m/s}^{2}]. $$
(4)

In Eq. (4), \(A\) is the Hayabusa2 spacecraft’s reflective area approximated to \(13.276~\mbox{m}^{2}\), and its mass, \(m\), of 580 kg. \(P_{0}\) is the solar flux of \(1366~\mbox{W/m}^{2}\), \(c\) is the speed of light of \(2.99792458 \cdot 10^{8}~\text{m}/\text{s}\), and \(C_{r}\) is the reflectivity property of the Hayabusa2 spacecraft assumed as 1.321. The mean anomaly, \(n\), is defined as:

$$ n = \sqrt{\frac{\mu _{a} + \mu _{s}}{d^{3}}}. $$
(5)

Note that, in our problem, \(d\) is the distance of the Sun from the asteroid in the Hill frame at the spacecraft highest altitude location of 1.38 AU (2018/12/11) during the deep conjunction phase. Therefore, the ayu trajectory was designed in the instantaneous Hill reference frame at the 11th of December 2018 epoch rather than considering the average motion of Ryugu around the Sun. This assumption is more appropriate for asteroids with high eccentricity as Ryugu (\(e = 0.1902\)). The equations of motion of the Hill problem are Hamiltonian and time independent; thus, they admit an energy integral of motion.Footnote 3 For a conservative system (i.e. Sun-pointing spacecraft), the energy integral is a constant of motion and it is given by:

$$ E = \frac{1}{2} \left ( \dot{x}^{2} + \dot{y}^{2} + \dot{z}^{2} \right ) - \frac{\mu _{a}}{r} - \frac{3}{2}n^{2} x^{2} + \frac{1}{2} n^{2} z^{2} - a_{x} x. $$
(6)

For the conjunction epoch at 1.38 AU (2018/12/11), \(a_{x}\) was computed as \(7.1442 \cdot 10^{-11}~\mbox{km}\,\mbox{s}^{-2}\). The equations of equilibrium can be found by setting the velocities and the accelerations of Eq. (2) equal to zero, and in particular we get:

$$ - \frac{\mu _{a}}{r^{3}} x + 3 n^{2} x + a_{x} = 0. $$
(7)

For \(a_{x}\) equal to zero (non reflective case) the coordinate of the libration point is simply \(x_{L_{2,1}} = \pm \sqrt[3]{\frac{\mu _{a}}{3 n^{2}}}\) which is \(\pm 89.62~\text{km}\) (radius of the Hill sphere, in Fig. 3a). For a Sun-pointing spacecraft with reflectivity coefficient equal to the Hayabusa2 case (\(C_{r} = 1.321\)), the 3rd order equation in Eq. (7) was solved which gives the coordinates of the pseudo libration points as \(x_{\text{SL}_{2}} = 21.03~\mbox{km}\) and \(x_{\text{SL}_{2}} = -1{,}606.78~\text{km}\) (Fig. 3b).

Fig. 3
figure 3

The left panel shows the dynamical objects (ZVC and equilibrium points) when the effect of SRP is neglected, while the right panel shows the same dynamical object for the Hayabusa2 spacecraft. In both cases, the dynamical objects are computed for the instantaneous Hill problem in deep conjunction (2018/12/11)

The green areas in Fig. 3 are regions where the spacecraft motion is not permitted. Conversely, the white area in Fig. 3 represents the region of possible motion for the spacecraft. Therefore, if the energy of the spacecraft is below the energy of either \(\mbox{L}_{1,2}\) (for \(C_{r} = 0\)) or \(\mbox{SL}_{2}\) (for \(C_{r} = 1.321\)), the spacecraft motion can be naturally bounded and constrained around Ryugu. The boundary line between the white and the green areas is called the Zero Velocity Curve (ZVC). As the name suggests, points that lie on the ZVC line have zero velocities. To obtain the ZVC in Fig. 3, the velocities in Eq. (6) are set to zero. Therefore, the critical energy is defined as:

$$ E^{*} = - \frac{\mu _{a}}{r} - \frac{3}{2}n^{2} x^{2} + \frac{1}{2} n^{2} z^{2} - a_{x} x. $$
(8)

The ZVC can be found by setting the \(z\)-coordinate to zero in Eq. (8) while \(x\) and \(y\) are free to vary. The intersection of the potential surface \(E^{*}\) with a fixed energy constant results in the ZVC appearance in the \(x\)-\(y\) plane. The ZVC and its forbidden regions disappear if the energy is above the energy level of \(\mbox{SL}_{1}\) (\(E_{\text{SL}_{1}}\)) and the spacecraft motion is permitted for any \(x\)-\(y\) coordinates. In Fig. 3, the Home Position (HP) point at COI and HRM is (\(C_{r} = 0\), Fig. 3a) or isn’t (\(C_{r} = 1.321\), Fig. 3a) inside the Hill sphere depending on the spacecraft’s reflectively property. Therefore, the energy of the Hayabusa2 spacecraft at HP point must be above the \(\mbox{SL}_{2}\) energy. This means that due to the reflectively of the Hayabusa2 spacecraft, its motion is not bounded around Ryugu and \(\Delta V\) maintenance for station-keeping at the HP location must be given every 1-2 days.

Using this notion and adapting it to the superior solar conjunction phase, we make use of the energy integral, \(E\), to confine the Hayabusa2 spacecraft motion along a low energy transfer trajectory (ayu-shape) with a consequent low fuel expenditure.

4 Low Energy Ayu Conjunction Trajectory Design for Hovering Spacecraft

The ayu conjunction trajectory has a fixed Time of Flight (ToF) and it depends on the selected SEP (Sun-Earth-Probe) angle. The SEP angle is function of the epoch and it was introduced in Fig. 2 (Sect. 2). The epoch associated to the minimum SEP angle is the reference frozen epoch used for the design of the conjunction trajectory as shown in Fig. 4. Figure 4 shows a schematic idea behind the proposed conjunction trajectory. Figure 4a shows the ZVC before the \(\Delta V\) is given at COI, while Fig. 4b shows how the effect of the maneuver moves the ZVC towards the Sun at an altitude of \(-H\) in the \(x\)-coordinates of the Hill reference frame. As shown in Fig. 4-5, the major design constraint of the conjunction trajectory requires the spacecraft to depart from HP before deep conjunction (COI’s red star in Fig. 5) and to return to HP after deep conjunction (HRM’s red star in Fig. 5). It is well know that a trajectory approaching the ZVC or the forbidden regions inverts naturally its motion.

Fig. 4
figure 4

A cartoon representation of the chosen instantaneous Hill problem at the 2018/12/11 epoch (highest altitude in deep conjunction, \(-H\)) for the design of the conjunction trajectory. The HP position at COI and HRM are represented in the epoch of the maneuver that for \(6^{\circ }\) in the SEP angle corresponds to 2018/11/11 at COI and to 2019/01/11 at HRM respectively

Fig. 5
figure 5

A cartoon representation of the trajectory conjunction design: optNEAR’s shooting method

Our main idea was to look for a trajectory that can encounter the forbidden region at an altitude with \(x\)-coordinate, \(-H\), greater than -20 km (HP). \(H\) is an unknown variable of our problem and it is shown in both Fig. 4 and Fig. 5. Once the SEP angle has been fixed, the position at COI and HRM epochs are also fixed as shown in Fig. 4 for \(6^{\circ }\) in the SEP angle. Note that the velocity of the spacecraft is artificially kept equal to zero at the HP point (COI or HRM). The HP position keeping is known as Hayabusa2’s BOX-A operation that was already introduced in Sect. 2. Knowing that the COI and HRM positions are fixed and lie almost in the \(x\)-\(y\) plane of the Hill reference frame, the conjunction trajectory was expected to be planar with insertion velocity at COI (\(v_{z}\) close to zero). This holds true if the spacecraft is kept at HP point in nominal condition of zero velocity. As a first approximation, a symmetric conjunction trajectory with respect to the \(x\)-\(z\) plane was expected. The insertion velocity at COI is related to the unknown parameter \(H\). We made use of the ZVC notion to lead our thinking towards the design of the shooting method proposed here.

The altitude \(-H\) is chosen to belong to the ZVC, therefore \(-H\) is a point of zero velocity by definition as shown in Fig. 4-5. This relates the velocity of the spacecraft directly with the coordinate \(-H\) through Eq. (6). However, Eq. (6) gives information of the modulus of the velocity and not of its components. To solve the two boundary problem between COI and HRM (red stars in Fig. 5), we introduce the angle \(\alpha \) and a local reference frame centered at COI (\(x',y',z'\)) as shown in Fig. 5. For navigation purposes, the Hayabusa2 spacecraft has to be on the day side of the asteroid, therefore the planar COI injection velocity, \(V_{xy}\) has to be in the II or III quadrant of the \(x',y'\) coordinates frame (\(90^{\circ }<\alpha <270^{\circ }\)). However, due to the geometry of the problem, we can limit \(\alpha \) further by knowing that at \(-H\) the velocity of the spacecraft will be inverted. Therefore to reach HRM \(V_{xy}\) has to be in the III quadrant (\(180^{\circ }<\alpha <270^{\circ }\)) if the SEP angles are between \(4^{\circ }\)-\(6^{\circ }\). The geometry of the conjunction trajectory can be intuitively understood by imagining the game of pool where a ball strikes a rail and bounces off it (here the “rail” is the ZVC of the forbidden regions).

The main parameters used for designing the trajectory are \(H\), \(\alpha \) and \(v_{z}\) as shown in blue in Fig. 5. Note that \(V_{xy}\) is function of \(v_{z}\). Once the Time of Flight (ToF) (or SEP) and \(\mu _{a}\) are selected, the trajectory has to satisfy a two boundary value problem where the position at the insertion velocity (COI) and the position at braking velocity (HRM) are fixed. The optimum trajectory can be found as a function of \(H\) (the maximum trajectory distance from the center of the Hill reference frame), \(\alpha \) (the in plane direction of the insertion velocity) and \(v_{z}\) (the \(z\) component of the insertion velocity in the Hill reference frame). \(v_{z}\) is kept as an optimal parameter as the trajectory is not perfectly symmetric along the \(x\)-\(z\) plane.

To find the nominal conjunction trajectory, the main steps of the proposed single shooting method (optNEAR tool) are as follow:

  1. 1)

    From Eq. (6), the energy associated to the altitude \(-H\) is given as:

    $$ E_{H} = -\frac{\mu _{a}}{H} - \frac{3}{2} n^{2} H^{2} - a_{x} H, $$
    (9)

    where the energy, \(E_{H}\), is associated to a point that belongs to the ZVC therefore the state vector is \(\left \{ -H, 0,0,0,0,0 \right \} \).

  2. 2)

    Once the altitude of the forbidden region is set (read the energy \(E_{H}\)), we can find the modulus of the insertion velocity at COI as followed by re-organizing Eq. (6):

    $$ V = \sqrt{2 E_{H} + 2 \frac{\mu _{a}}{r_{0}} + 3 n^{2} x_{0}^{2} - n^{2} z_{0}^{2} + 2 a_{x} x_{0}}, $$
    (10)

    note that the initial position of COI in the Hill reference frame is given by \(\left \{ x_{0}, y_{0}, z_{0} \right \} \). This position can be found by knowing the initial state at COI in the previously introduced HP reference frame \(\left \{ 0~\text{km}, 0~\text{km}, 20~\text{km}\right \} \) in Sect. 2 and by applying the transformation from the HP reference frame to the Hill reference frame. The details are given in Appendix A.

  3. 3)

    The first guess of the COI insertion velocity is given by:

    $$ \boldsymbol{v}_{0} = \left \{ \textstyle\begin{array}{c} V_{xy} \cos \alpha _{0} \\ V_{xy} \sin \alpha _{0} \\ v_{z_{0}} \end{array}\displaystyle \right \} , $$
    (11)

    with \(V_{xy} = \sqrt{V^{2}-v_{z_{0}}^{2}}\) and \(V\) being the module of \(\boldsymbol{v}_{0}\) obtained from Eq. (10).

  4. 4)

    The initial guess in point 3) is used to solve Eq. (2) through ODE integration. The time of integration corresponds to the selected ToF by assuming the following initial state vector:

    $$ \boldsymbol{X}_{0} = \left \{ \textstyle\begin{array}{c} x_{0} \\ y_{0} \\ z_{0} \\ V_{xy} \cos \alpha _{0} \\ V_{xy} \sin \alpha _{0} \\ v_{z_{0}} \end{array}\displaystyle \right \} $$
    (12)
  5. 5)

    After the integration at Step 4), we can find the final state, \(\boldsymbol{X}_{f}\), and compare the expected final position (\(\boldsymbol{r}_{HRM}\)) with the one computed at the end of the ODE integration (\(\boldsymbol{r}_{f}\)). We can thus find \(H\), \(\alpha \) and \(v_{z}\) that minimize the following cost function:

    $$ \min _{H,\alpha ,v_{z}} ||\boldsymbol{r}_{HRM}-\boldsymbol{r}_{f}||. $$
    (13)

The boundary conditions are given as \(180^{\circ }< \alpha < 270^{\circ }\), \(-0.001< v_{z}< 0.001~\text{km}/\text{s}\) and \(80< H< 800~\text{km}\). As a first guess, \(H_{0} = 300~\text{km}\), \(\alpha _{0} = 188^{\circ }\) and \(v_{z_{0}} = 0~\text{km}/\text{s}\) were assumed. Figure 6 shows the designed conjunction trajectory for the nominal case (\(\mu _{a} = 32~\mbox{m}^{3}\,\mbox{s}^{-2}\) and the SEP angle equal to \(5^{\circ }\)). The presented shooting algorithm was developed in the optNEAR tool. The 3D view of the nominal conjunction trajectory is shown in the right panel of Fig. 6. As one can see, the conjunction trajectory is not perfectly planar because the HP z-coordinate at COI (\(-168~\mbox{m}\) in \(z\)) and HRM (361.7 m in \(z\)) epochs do not lie on the \(x\)-\(y\) plane. The left panel in Fig. 6 shows the forbidden regions. The conjunction trajectory has a “fish-like” shape that we named as “ayu” (sweetfish in Japanese) trajectory. The light gray area represents the energy of the Hayabusa2 spacecraft in the Hill reference frame when in hovering position (Home Position), while the dark gray is the case of the energy of the spacecraft once the insertion velocity is given at COI (energy increase). The expected maximum distance from Ryugu is of 109 km (2018/12/11) for the nominal case. Table 2 shows the optimum parameters for the design of the ayu conjunction trajectory as a function of the Ryugu’s gravity constant, \(\mu _{a}\), and the SEP angles (or ToFs). As one can see, larger SEP angles correspond to longer ToF and consequently higher altitude, \(H\), can be reached. Moreover, for a fixed SEP angle, higher \(\mu _{a}\) results in higher \(H\) reached. Therefore, uncertainties in the Ryugu’s gravity parameter mean that the spacecraft might be closer or farther from the center of the asteroid.

Fig. 6
figure 6

Nominal ayu conjunction trajectory as designed in the Hill frame. The left panel shows two forbidden regions: before (light gray area) and after (dark gray area) the COI maneuver. Note that the HP position lies on the ZVC of the light gray forbidden region; while the \(-H\) coordinate lies on the ZVC of the dark gray region. The right panel shows a 3D view of the conjunction trajectory

Table 2 Designed trajectory for different SEP angles (or ToFs) and \(\mu_{a}\) with \(\frac{A}{m} Cr\) equal to 0.0302 \(\frac{\text{m}^{2}}{\text{kg}}\)

For the conservation of the kinetic and potential energy, the theoretical expected \(\Delta V\) cost in the hill reference frame to increase and decrease the altitude of the spacecraft from 20 km to 109 km and finally back to 20 km can be computed as:

$$ \Delta V_{hill} = 2 \sqrt{2 a_{x} \Delta h} =2 \sqrt{2 a_{x} (109~\text{km} - 20~\text{km})} = 0.2255~\mbox{m/s} $$
(14)

The total \(\Delta V\) computed with the optNEAR tool’s shooting method is of 0.2359 m/s which is consistent with the theoretical expected value. Table 3 shows the energy integral for: the libration points, the \(H\) coordinate and the HP position at COI or HRM, where \(E_{\text{SL}_{2}}< E_{COI/HRM}< E_{H}<E_{\text{SL}_{1}}\).

Table 3 Energy integral for the libration points, the coordinate \(H\) and the HP points (COI/HRM)

Figure 7 shows a cartoon of the conjunction trajectory where the spacecrafts attitude is assumed to be kept constant and pointing in the \(x\) negative coordinate. The ayu trajectory is almost symmetrical along the \(x\)-\(z\) axis by keeping the velocities in \(x\) and \(z\) equal to zero at \(-H\) and this configuration allows to keep the asteroid in the FoV of the wide angle camera, ONC-W1 (\(60^{\circ }\)). Therefore, the ayu conjunction trajectory demonstrates to respect all the required constraints at low fuel costs and it has been selected as a reference solution for the Hayabusa2’s solar conjunction phase.

Fig. 7
figure 7

A cartoon of the conjunction trajectory and the ONC-W1 camera’s FOV

5 Robustness to Uncertainties in the Deterministic Maneuvers

The ayu conjunction trajectory meets the major operation constraints. In this section, the robustness of the deterministic maneuvers and the required guidance maneuvers (stochastic \(\Delta V\mbox{s}\)) are investigated as function of the maneuver uncertainties.

5.1 Uncertainty in the COI Maneuver

Figure 8 shows the effect of the uncertainties in the COI maneuver in the planar (\(x\)-\(y\)) case where an error in the planar velocity, \(V_{xy}\), orientation angle, \(\alpha \) presented in the in Sect. 4 of the optNEAR tool’s shooting method was considered. The reference ayu trajectory for a SEP angle of \(5^{\circ }\) and \(\mu _{a}\) of \(32~\mbox{m}^{3}/\mbox{s}^{2}\) presented in Table 2 was selected and it is marked in red in Fig. 8. As shown in Table 2, the optimum \(\alpha \) is for \(187.18^{\circ }\). An uncertainty of \(\pm 5^{\circ }\) in \(\alpha \) has been considered and the resulting trajectories are shown in gray in Fig. 8. The modules of the in-plane velocity \(V_{xy}\) and out-of plane velocity \(v_{z_{0}}\) were kept constant. Figure 8b shows that for \(\alpha < 187.18^{\circ }\), the spacecraft will be in the positive \(y\)-coordinates at the HRM epoch while it will be in the negative \(y\)-coordinates for \(\alpha > 187.18^{\circ }\).

Fig. 8
figure 8

Reference solution for \(5^{\circ }\) in the SEP angle and \(\mu _{a}\) equal \(32~\mbox{m}^{3}/\mbox{s}^{2}\) (red). Solutions for \(\alpha \) equal to \(187.18^{\circ }\pm 5^{\circ }\) (gray)

Figure 9 shows the effect of the uncertainties in \(\alpha \) and on the in-plane velocity at COI on to the ToF (Fig. 9a) of the ayu trajectory and the final error at the HRM point (Fig. 9b). The red square represents the nominal solution. The ToF increases with the increase of \(V_{xy}\) and it has little dependency on \(\alpha \) as shown in Fig. 9a. This can be understood by looking at the energy equation, Eq. (6) where a higher module in the velocity increases the energy of the spacecraft and it can be expected that the altitude \(H\) will be farther away from the center of the asteroid. This holds also true for lower module in the velocity at COI where it can be expected a shorter ToF to reach HRM position. The highest error in the HRM position is found for high \(V_{xy}\) (i.e. 0.2 m/s) and lower \(\alpha \) (\(<187.18^{\circ }\)) as shown in Fig. 9b. This can be explained by Fig. 8b where solutions with \(\alpha <187.18^{\circ }\) bring the spacecraft to the positive \(y\)-coordinates while HRM is positioned in the negative \(y\)-coordinates resulting in position errors of 250 km (5.5 km in log scale) for the worst case scenario

Fig. 9
figure 9

Half of the ToF and position error at HRM as function of \(182.18^{\circ }<\alpha <193.18^{\circ }\) and the module of the in-plane velocity \(0.1< V_{xy}<0.2~\text{m}/\text{s}\)

Figure 10 shows the effect of the COI maneuver uncertainties on the \(\Delta V\) at HRM. The solution is function of the uncertainties in \(182.18^{\circ }<\alpha <193.18^{\circ }\) and in the module of the in-plane velocity \(0.1< V_{xy}<0.2~\text{m}/\text{s}\). The red square in Fig. 10 highlights the solution for the nominal ayu trajectory of Table 2.

Fig. 10
figure 10

\(\Delta V\) maneuver at HRM as a function of uncertainties in the COI maneuver for \(182.18^{\circ }<\alpha <193.18^{\circ }\) and the module of the in-plane velocity \(0.1< V_{xy}<0.2~\text{m}/\text{s}\)

The module of the \(\Delta V\) at HRM is primarily influenced by the in-plane velocity \(V_{xy}\) and its dependency with \(\alpha \) shows that for a given \(V_{xy}\) there exist a optimum \(\alpha \) angle that minimizes the \(\Delta V\) at HRM. It is possible to notice that the effect of uncertainties in \(\alpha \) and in \(V_{xy}\) results in higher \(\Delta V\) at HRM in the \(x\) direction as shown in Fig. 11. From Fig. 11, it is possible to conclude that \(\alpha \) and \(V_{xy}\) do not affect much the \(y\) and \(z\) components of the \(\Delta V\) at HRM.

Fig. 11
figure 11

\(\Delta V\) maneuver at HRM as a function of uncertainties in the COI maneuver for \(182.18^{\circ }<\alpha <193.18^{\circ }\) and the module of the in-plane velocity \(0.1< V_{xy}<0.2~\text{m}/\text{s}\): \(x\), \(y\), \(z\) components

5.2 Uncertainty in the HRM Maneuver

This section investigates the effect of uncertainties in the HRM maneuver at the end of the conjunction phase. Figure 12 shows a schematic representation of the ayu conjunction trajectory at its final arrival at the HRM point (20 km altitude from Ryugu on the 29th of November 2018). Two parameters of uncertainties were considered, the in-plane velocity \(V_{xy}\) and its orientation angle, \(\alpha \). Figure 13a shows the map of the Close Approach (CA) distance from Ryugu in km after 1 day of integration time from the HRM location as function of \(-22^{\circ }<\alpha <22^{\circ }\) and the in-plane velocity \(0< V_{xy}<40~\text{cm}/\text{s}\). This is the contingency scenario in which we considered the robustness of the ayu conjunction trajectory against failures in executing the HRM maneuver at the HRM point allowing a 1 day margin for rescheduling the HRM maneuver.

Fig. 12
figure 12

A cartoon of the conjunction trajectory and HRM maneuver

Fig. 13
figure 13

Close Approach (CA) distance from Ryugu as function of uncertainties in \(\alpha \) and in the in-plane velocity \(V_{xy}\). The red square highlights the solution for the nominal ayu trajectory. Three cases are highlighted for \(V_{xy}\): (1) 12.11 cm/s (nominal ayu trajectory, dashed line), (2) 20 cm/s (solid line) and (3) 30 cm/s (dot lines)

In Fig. 13, three solutions for \(V_{xy}\) are highlighted in white in Fig. 13a and in black in Fig. 13b. The nominal ayu trajectory case with \(V_{xy}\) equal to 12.11 cm/s in dashed line, the case of 20 cm/s in solid line and the case of 30 cm/s in dot lines.

For uncertainties in \(V_{xy}\) less than 20 cm/s, the spacecraft will not impact on Ryugu after 1 day of simulation starting from the HRM position. Conversely, for \(V_{xy}>\) 20 cm/s, the spacecraft can potentially impact on Ryugu when \(0^{\circ }<\alpha <9^{\circ }\) (white area of Fig. 13a). Moreover, arrival velocities, \(V_{xy}\), at HRM below 18 cm/s are not of much concern if the HRM maneuver is missed because the CA distance has little dependency from \(\alpha \). Therefore, the solution of the nominal ayu trajectory for \(V_{xy} = 12~\text{cm}/\text{s}\) (white dashed line in Fig. 13a) allows recovery maneuvers for any uncertainties in \(\alpha \). The red square marks the nominal ayu trajectory for \(\alpha = - 7.2^{\circ }\) and \(V_{xy} =12.11~\text{cm}/\text{s}\) at HRM.

Figure 13b shows the dependency of CA for a fixed \(V_{xy}\) in this case 12.11 cm/s which correspond to the white dashed line solution in the CA map of Fig. 13a). As one can see, the spacecraft maintains a distance from Ryugu between 9-11 km allowing to reschedule a recovery maneuver to reach the desired 20 km altitude in the BOX-A operation.

5.3 Contingency Study: Recovery Trajectory

A contingency study is here carried out to demonstrate the robustness of the selected ayu conjunction trajectory. Figure 14 shows a schematic representation of the possible contingency scenario. Following the result of Sect. 5.2, this case scenario study a possible recovery trajectory when the \(\Delta V\) maneuver at HRM on 29th of December 2018 is cancelled. The proposed strategy assumes that a recovery \(\Delta V\) will be given a day after the HRM position on the 30th of December 2018. The recovery position is of \(\{-1.97, 0.41, 9\}~\text{km}\) in the HP reference frame and it was obtained by numerical forward integration from the HRM position. This final position is quite far from the desired HP position of \(\{0, 0, 20\}~\text{km}\) in the HP coordinates after the conjunction. Figure 15 shows the optimum recovery trajectory from the 30th of December 2018 until the 29th of January 2019 (20 km altitude from Ryugu). The optNEAR’s shooting method presented in Sect. 4 was modified in point 3) where the recovery trajectory starts from the recovery location rather than at COI and the epochs have been changed accordingly. However, the core idea of the presented method holds true for the recovery case.

Fig. 14
figure 14

Schematic representation of a possible recovery trajectory for the case of missed opportunity to execute the HRM manoeuvre (black star). The red star represent the final recovery point

Fig. 15
figure 15

Recovery operation: the black trajectory is the designed ayu trajectory between COI (green star) and HRM (black start). The recovery maneuver is executed 1 day after the HRM point. The red star is the HP position after 1 month from the recovery position

Figure 15a shows the forbidden region (red area) associated to the recovery trajectory (red line). The energy of the recovery trajectory (forbidden region’s red area in Fig. 15a) is lower than the energy of the ayu trajectory (forbidden region’s dark gray area in Fig. 6). Finally, Fig. 15b shows the ayu and the recovery trajectories as seen in the Hill reference frame. The boundary conditions for the recovery trajectory are: \(188^{\circ }<\alpha <195^{\circ}\), \(-0.001< v_{z}<0.001\), and \(40< H<90~\text{km}\). The initial guess in the optimum parameters were set as: \(H_{0} = 70~\text{km}\), \(\alpha = 190^{\circ }\) and \(v_{z_{0}} = 0~\text{km}/\text{s}\). The optimum parameters after the optimisation method are given by: \(\bar{\alpha } = 188.36^{\circ }\), \(\bar{H} = 83.17~\text{km}\) and \(\bar{v_{z}} = 0.81~\text{mm}/\text{s}\).

6 Robustness to Uncertainties in the Navigation at Home Position (HP-NAV)

Once the robustness of the ayu trajectory has been verified against uncertainties in the deterministic maneuvers (at COI and HRM), we are now interested to verify the effect of the navigation uncertainties at HP position on the COI maneuver.

For any Hayabusa2 proximity operations, the spacecraft is kept within the nominal operation box named A (BOX-A). BOX-A is centered at the HP altitude around 20 km in the HP reference frame introduced in Sect. 2. When the spacecraft is in BOX-A, the navigation requires a \(\Delta V\) maneuver every 1/2 days to keep the spacecraft inside the BOX-A (know as HP-NAV or HP maintenance). Therefore, the COI operation has to account for the effects of the navigation in BOX-A. For the uncertainty analysis, we considered a uniform distribution in the position uncertainties (Fig. 16a). The spacecraft can be potentially located anywhere within the BOX-A. A Gaussian distribution was selected for the uncertainty in the COI’s insertion velocity (Fig. 16b). The nominal COI position is shown in red in Fig. 16. The following parameters have been considered:

  • Uniform distribution in position within the BOX-A:

    • \(x_{HP} = y_{HP} = \pm 0.5~\text{km}\)

    • \(z_{HP} = 20 \pm 2.5~\text{km}\)

  • Gaussian distribution in velocity in the HP reference frame: \(3 \sigma = [0.5,~0.7,~1]~\text{cm}/\text{s}\), for example see Fig. 16b

    Fig. 16
    figure 16

    Uncertainties in the HP maintenance NAVigation (HP-NAV) within BOX-A (in green). Possible distribution in position and velocities at COI

We kept the same assumptions for the SEP angle and \(\mu _{a}\) as shown in Table 2. Note that the coordinates are given in the HP reference frame and they have to be expressed in the Hill reference frame through the transformation given in Appendix A. The uncertainty analysis is carried out in the Hill problem. We aim to verify if correction maneuvers (stochastic \(\Delta V\mbox{s}\)) between COI and HRM are required.

6.1 Uncertainty in HP-NAV Position

For the HP-NAV uncertainty in position, a uniform distribution of 3000 points within the BOX-A (green box in Fig. 16) was considered. The velocity at COI was kept to its nominal value. Figure 17 shows the final position at HRM in the Hill reference frame, starting from initial states at COI as shown in Fig. 16a. In Figs. 18, Ryugu gravity’s is set to \(32~\mbox{m}^{3}/\mbox{s}^{2}\). In Fig. 18, figures that belong to the same column as Fig. 18.a, Fig. 18.d and Fig. 18.g show the results for increasing values in the SEP angles from \(4^{\circ }\) to \(6^{\circ }\). Rows of figures in Fig. 18 show the same SEP angle solution but with different views for example for a SEP angle of \(5^{\circ }\) it shows a 3D view (Fig. 18.a), a planar view in the \(x\)-\(y\) plane (Fig. 18.b) and a planar view in the \(x\)-\(z\) plane (Fig. 31.c). As one can notice, if the spacecraft is initially inside the BOX-A at COI, it will be inside the final box at HRM. This suggests that the conjunction trajectory is robust in error in the HP-NAV position. The same analysis was carried out for Ryugu’s gravity equal to \(11~\mbox{m}^{3}/\mbox{s}^{2}\) (nominal case shown in Fig. 31, Appendix B) and \(92~\mbox{m}^{3}/\mbox{s}^{2}\) (Fig. 32, Appendix B). From this analysis, we concluded that the corners of the BOX-A are the only representative cases to perform the uncertainty analysis in velocity.

Fig. 17
figure 17

Uncertainty manifold for \(\mu _{a} = 32~\mbox{m}^{3}/\mbox{s}^{2}\) and \(\mbox{SEP} = 5^{\circ }\)

Fig. 18
figure 18

Dispersion in position at HRM: \(\mu _{a} = 32~\mbox{m}^{3}/\mbox{s}^{2}\)

Therefore, instead of using the full set of 3000 solutions, only 9 points (the 8 corners of BOX-A and the nominal solution, HP position at COI) will be considered. Figure 17 shows a 3D view of the manifold (blue trajectories) associate to BOX-A when Ryugu’s gravity is \(32~\mbox{m}^{3}/\mbox{s}^{2}\). Further solutions can be found in Appendix B for \(\mu _{a} = 11\) and \(92~\mbox{m}^{3}/\mbox{s}^{2}\).

6.2 Uncertainty in HP-NAV Velocity

In this section, the effect of velocity uncertainty in the HP-NAV at COI are investigated. The nominal case of \(3\sigma = 5~\text{mm}/\text{s}\) is presented here (for the other solutions refer to Appendix C). Figure 19 shows the number of solutions analysed. For each of the nine solutions (P1-P9) (red dots), a \(3\sigma \) Gaussian distribution of 1000 solutions were analysed such that in Fig. 20-21 9000 solutions are computed at the end of the simulation. As before, rows of figures in Fig. 20-21 shows how the solution evolves for increasing gravity coefficient (left to right), \(\mu _{a}\), while columns of figures show the dependency for increasing SEP angle (top to bottom).

Fig. 19
figure 19

Gaussian distribution of the HP-NAV velocity uncertainty (1000 solutions). Nine positions (P1-P9) were selected

Fig. 20
figure 20

Final position at HRM with HP-NAV velocity distribution of \(3\sigma = 5~\text{mm}/\text{s}\) at COI

Fig. 21
figure 21

Final velocity at HRM with HP-NAV velocity distribution of \(3\sigma = 5~\text{mm}/\text{s}\) at COI

Figure 20 shows the Gaussian distribution in position at HRM for \(3\sigma = 5~\text{mm}/\text{s}\) of uncertainty at COI while Fig. 21 shows the distribution of the arrival velocity at HRM. Tables 4 and 5 show the \(1\sigma\) error in both the final position (Fig. 20) and velocity (Fig. 21) at HRM for all the six cases. The maximum errors are in the Hill \(x\)-coordinate for solution c in Fig. 20-21 with a \(3\sigma \) error of 44.4 km in position and 17.25 cm/s.

Table 4 Reference position at \(\mbox{HRM} \pm 1\sigma\) with \(3\sigma = 5~\text{mm}/\text{s}\) at COI
Table 5 Reference velocity at HRM ± \(1\sigma\) with \(3\sigma = 5~\text{mm}/\text{s}\) at COI

Based on this results and the one in Appendix C we concluded that at least one stochastic maneuver (TCM) right after the deep conjunction phase is required. We also concluded that error in the execution \(\Delta V\mbox{s}\) during the mission operation below or equal 4 mm/s can be accepted. Therefore, error in the main \(\Delta V\mbox{s}\) above 4 mm/s will require a contingency correction \(\Delta V\) (trim \(\Delta V\mbox{s}\)).

7 Design of the Trajectory Correction Maneuver (TCM)

The Trajectory Correction Manoeuvre (TCM) is designed by solving a two boundary value problem where the initial position at TCM and the final position at HRM are fixed. From the previous analysis, we concluded that at least one TCM is required after deep conjunction (\(\mbox{SEP} \sim 0^{\circ }\)). Once the spacecraft reaches its highest altitude along the ayu trajectory, a TCM is scheduled at \(\mbox{SEP} = 4^{\circ }\) as shown in Fig. 22. The ToF is fixed and is the time frame between the TCM epoch and the ToF at HRM. Therefore, a ODE integration that uses Eq. (2) is done and the error between the final desired position and the expected position is computed. Finally, the insertion velocity at TCM is found through the minimisation of the following cost function:

$$ \min _{V_{x},V_{y},V_{z}} ||\boldsymbol{r}_{HRM} - \boldsymbol{r}_{f}||. $$
(15)

Note that the \(\Delta V\) at TCM is the difference between the TCM insertion velocity and the velocity of the spacecraft before the TCM manoeuvre. We adopted a conservative approach so that a second TCM maneuver is scheduled before the spacecraft enters in deep conjunction. As part of the guidance in the conjunction phase, we have to compute two TCMs (stochastic \(\Delta V\mbox{s}\)) as mentioned in Sect. 2.

Fig. 22
figure 22

Shooting method for the TCM manoeuvre design

8 Preliminary Guidance and Navigation Design: Consider Parameters Covariance Analysis

A complete and exact knowledge of the spacecraft state vector is generally not possible. The individual state variables cannot be measured precisely and available measurements are usually function of the state variables. The spacecraft motion can be affected by non-modelled forces which are not adequately represented in the dynamical model. Its model parameters can be uncertain too. By definition, the linearized system of equations of the nonlinear dynamics is a further approximation. These sources of error make the knowledge of the spacecraft’s state uncertain. The computation of the most likely current state of the spacecraft in the presence of measurements and model uncertainty is the focus of orbit determination which will not be studied in this paper. The error analysis instead involves an investigation of the impact of various sources of error on the orbit determination. The output of an error analysis, as done in this paper, provides the magnitudes of the state vector variances and covariances, thus quantifying the relative contribution of the significant error sources for a preliminary guidance and navigation design (Gordon 1991).

In the first part of this article, the design of the ayu conjunction trajectory has been presented. The second part of this article is devoted to investigate the preliminary OD error analysis for this newly proposed trajectory. The technique used here involves the linearisation of the nonlinear equations of motion around a reference solution (nominal ayu path) and then applying linear estimation techniques (Tapley et al. 2004). The OD process is thus changed from estimating the state of the linear, time-varying, deviations from the reference trajectory. The reference solution used here is generated by numerical integration of a high-fidelity nonlinear equations of motion in the optNEAR tool. As OD is out of the scope of this analysis, the current work focuses only on the consider parameters covariance analysis that includes the uncertainties in the dynamical model and in the measurements (Montenbruck and Gill 2005; Tapley et al. 2004; Gordon 1991). The scope of the covariance analysis is to compute the covariance matrix after some tracking and to estimate the stochastic \(\Delta V\mbox{s}\) at TCMs.

In this article, the linear covariance analysis is carried out to account for uncertainties in the HP-NAV (initial knowledge error) at the COI maneuver (20 km from the asteroid), the GCP-NAV or OpNav (two-way Doppler and ONC-T or ONC-W1 cameras) and \(\Delta V\)-maneuver execution error. The covariance analysis is carried out considering three trajectory legs: from COI to TCM1 (Leg 1), from TCM1 to TCM2 (Leg 2) and from TCM2 to HRM (Leg 3). The uncertainties in the navigation are considered independently for only Leg 1 and Leg 2. The epochs of the maneouvers for the reference conjunction trajectory are shown in Table 1.

8.1 Initial Knowledge at COI

Before the insertion \(\Delta V\) is given at COI, the HP-NAV navigation error was taken into account through the initial knowledge covariance matrix, \(\boldsymbol{P}_{0,~hp}\), given in the HP coordinates as shown in Table 6.

Table 6 Standard Deviation in the HP coordinates at COI

8.2 \(\Delta V\)-Maneuver Execution Error

Figure 23a shows the three independent \(\boldsymbol{\Delta V}_{HP}\) along the \(X_{HP}\), \(Y_{HP}\) and \(Z_{HP}\) coordinate of the HP reference frame. In Fig. 23b, a local reference frame aligned with the \(\Delta V\) direction is considered (Wagner and Goodson 2008). This \(\boldsymbol{\Delta V}_{HP}\) is given by transforming the nominal \(\boldsymbol{\Delta V }_{J2000EQ}\) from the J2000EQ reference frame to the HP reference frame. The \(\Delta V\) execution error uncertainties are given in the module and in the pointing direction. Three independent covariance matrices for the \(X_{HP},Y_{HP},Z_{HP}\) components were considered. The assumption made in the pointing accuracy and in the velocity module are shown in Table 7. The process noise covariance matrix is given by:

$$ \boldsymbol{P}_{n,~hp} = \left [ \textstyle\begin{array}{c@{\quad }c} \boldsymbol{0}_{3\times3} & \boldsymbol{0}_{3\times3}\\ \boldsymbol{0}_{3\times3} & \boldsymbol{P}_{ExErr,~hp}^{(3\times3)} \end{array}\displaystyle \right ] $$
(16)

where \(\boldsymbol{P}_{ExErr,~hp}^{(3\times3)}\) is derived from the assumption made in Fig. 23.

Fig. 23
figure 23

Uncertainties in the \(\Delta V\) maneuver module and direction in the \(\Delta V\) reference frame

Table 7 Uncertainties in the manoeuvre execution

8.3 Navigation Error: Consider Parameters Covariance Matrix

The consider parameters covariance analysis is a batch weighted least square formulation that also includes parameters uncertainty. For an unbiased system with a sufficient number of observations, the covariance matrix will asymptotically approach zero and the estimation algorithm will be insensitive to any further observations. This condition can lead to filter divergence. A possible approach to prevent this divergence is to recognize that the linearised equations are in error. To compensate for this error, we assumed that the error in the linearised equations is due to uncertain parameters called considered parameters. They are a priori estimates and the associated covariance matrix is known. Therefore, the nonlinear dynamical model in J2000EQ coordinates is given by (Tapley et al. 2004):

$$ \left \{ \textstyle\begin{array}{ll} \dot{\boldsymbol{X}} &= \boldsymbol{F}(\boldsymbol{X},\boldsymbol{C},t) \\ \dot{\boldsymbol{Y}}_{i} &= \boldsymbol{G}(\boldsymbol{X_{i}}, \boldsymbol{C}, t_{i}) + \boldsymbol{\epsilon }_{i} \end{array}\displaystyle \right . $$
(17)

The first equation in the system of Eq. (17) is a compact form of the N-Body dynamics written in J2000EQ-Ry coordinates, for further details in the propagator developed in optNAER tool refer to Appendix D. \(\boldsymbol{C}\) is the vector of the considered parameters. Note that the vector \(\boldsymbol{C}\) can be divided in the dynamical model considered parameters, \(\boldsymbol{C_{d}}\), and measurements model parameters, \(\boldsymbol{C_{m}}\):

$$ \boldsymbol{C} = \left [ \textstyle\begin{array}{l} \boldsymbol{C_{d}}\\ \boldsymbol{C_{m}} \end{array}\displaystyle \right ] $$
(18)

By expanding Eq. (17) in a first order Taylor series around the nominal ayu trajectory, Eq. (17) turns into:

$$ \left \{ \textstyle\begin{array}{ll} \dot{\boldsymbol{x}}(t) &= \boldsymbol{A}(t) \boldsymbol{x}(t) + \boldsymbol{B}(t) \boldsymbol{c}(t) \\ \boldsymbol{y}_{i} & = \tilde{\boldsymbol{H}}_{i} \boldsymbol{x}_{i} + \tilde{\boldsymbol{H}}_{ci} \boldsymbol{c} + \boldsymbol{\epsilon }_{i} \end{array}\displaystyle \right . $$
(19)

where \(\boldsymbol{c}(t) = \boldsymbol{C}(t) -\boldsymbol{C}_{*}(t)\) is the residual of the consider parameters. \(\boldsymbol{C}\) is the nominal vector of the consider parameters and \(\boldsymbol{C}_{*}\) is the reference vector.

A= [ F X ] B= [ F C ] = [ F C d F C m ]
(20)

The matrix \(\boldsymbol{A}\) is the matrix of the linearised equations. Note that \(\left [\frac{\partial \boldsymbol{F} }{\partial \boldsymbol{C_{m}}} \right ]_{*} = \boldsymbol{0}\) as the measurements model parameters do not appear in the dynamical model. In order to compute the observation at a time \(t_{i}\) different from the observation epoch, the state transition matrix has to be computed. The state transition matrices associated to the state and the consider parameters are numerically computed through:

$$ \left \{ \textstyle\begin{array}{ll} \dot{\boldsymbol{\Phi }}(t,t_{0}) &= \boldsymbol{A}(t) \boldsymbol{\Phi }(t,t_{0}) \\ \dot{\boldsymbol{\Theta }}(t,t_{0}) &= \boldsymbol{A}(t) \boldsymbol{\Theta }(t,t_{0}) + \boldsymbol{B}(t) \end{array}\displaystyle \right . $$
(21)

with \(\boldsymbol{\Theta }(t_{0},t_{0}) = \boldsymbol{0}\) and \(\boldsymbol{\Phi }(t_{0},t_{0}) = \boldsymbol{I}\). Note that:

$$ \boldsymbol{\Theta }(t,t_{0}) = \frac{\partial \boldsymbol{X}(t)}{\partial \boldsymbol{C}(t_{0})} = \left [ \textstyle\begin{array}{l@{\quad }l} \frac{\partial \boldsymbol{X}(t)}{\partial \boldsymbol{C_{d}}(t_{0})} & \frac{\partial \boldsymbol{X}(t)}{\partial \boldsymbol{C_{m}}(t_{0})} \end{array}\displaystyle \right ] $$
(22)

with \(\frac{\partial \boldsymbol{X}(t)}{\partial \boldsymbol{C_{m}}(t_{0})} = \boldsymbol{0}\). The sensitivity matrix for both the state vector and the consider parameters are defined as:

H ˜ i = [ F i C i ] H ˜ c i = [ G i C i ]
(23)

We make use of the state transition matrices to compute the observations at time \(t_{i}\) so that:

$$ \boldsymbol{y}_{i} = \tilde{\boldsymbol{H}}_{i} \left [ \boldsymbol{\Phi }(t_{i},t_{0})\boldsymbol{x}_{0} + \boldsymbol{\Theta }(t_{i},t_{0}), \boldsymbol{c} \right ] + \tilde{\boldsymbol{H}}_{ci} \boldsymbol{c} + \boldsymbol{\epsilon }_{i} $$
(24)

The sensitivity matrix are finally computed as

H i = H ˜ i Φ( t i , t 0 ) H c i = H ˜ i Θ( t i , t 0 )+ H ˜ c i
(25)

The consider parameters filter is given by solving the following set of equations:

$$ \left \{ \textstyle\begin{array}{ll} \dot{\boldsymbol{x}}(t) &= \boldsymbol{A}(t) \boldsymbol{x}(t) + \boldsymbol{B}(t) \boldsymbol{c}(t) \\ \boldsymbol{y}_{i} & = \boldsymbol{H}_{i} \boldsymbol{x}_{0} + \boldsymbol{H}_{ci} \boldsymbol{c} + \boldsymbol{\epsilon }_{i} \end{array}\displaystyle \right . $$
(26)

8.4 Observations and the Sensitivity Matrix (\(\bar{\boldsymbol{H}}\))

In our analysis, the measurements in the range and the range rate are assumed to be along the Earth-Spacecraft line. The azimuth and elevation angles are measured from the spacecraft (Gordon 1991) (\(-\boldsymbol{r}\)) as shown in Fig. 24. The observations vector, \(\boldsymbol{y}\), is defined as:

$$ \boldsymbol{y} = \left \{ \textstyle\begin{array}{l} \rho \\ \dot{\rho } \\ \alpha \\ \delta \end{array}\displaystyle \right \} = \left \{ \textstyle\begin{array}{l} \sqrt{(x-x_{e})^{2}+(y-y_{e})^{2}+(z-z_{e})^{2}} \\ \frac{(x-x_{e}) (vx -vx_{e}) + (y-y_{e}) (vy-vy_{e}) +(z-z_{e}) (vz-vz_{e})}{\sqrt{(x-x_{e})^{2}+(y-y_{e})^{2}+(z-z_{e})^{2}}} \\ \tan ^{-1}\left ( \frac{y}{x} \right ) \\ \sin ^{-1}\left ( -\frac{z}{r} \right ) \end{array}\displaystyle \right \} , $$
(27)

with \(r = \sqrt{x^{2} + y^{2} + z^{2}}\) (spacecraft-asteroid distance). \(x_{e}\), \(y_{e}\) and \(z_{e}\) are the coordinates of the EarthFootnote 4 as seen from Ryugu in the J2000EQ reference frame. We can now compute the sensitivity matrix following the definition given in Eq. (23):

$$ \tilde{\boldsymbol{H}} = \left [ \textstyle\begin{array}{c@{\quad }c@{\quad }c@{\quad }c@{\quad }c@{\quad }c} \frac{x-x_{e}}{\rho } & \frac{y-y_{e}}{\rho } & \frac{z-z_{e}}{\rho } & 0 & 0 &0 \\ \frac{(vx-vx_{e})}{\rho } - \frac{(\boldsymbol{\rho } \cdot \dot{\boldsymbol{\rho }})(x-x_{e})}{\rho ^{3}} & \frac{(vy-vy_{e})}{\rho } - \frac{(\boldsymbol{\rho } \cdot \dot{\boldsymbol{\rho }})(y-y_{e})}{\rho ^{3}} & \frac{(vz-vz_{e})}{\rho } - \frac{(\boldsymbol{\rho } \cdot \dot{\boldsymbol{\rho }})(z-z_{e})}{\rho ^{3}} & \frac{(x-x_{e})}{\rho } & \frac{(y-y_{e})}{\rho } & \frac{(z-z_{e})}{\rho } \\ -\frac{y}{x^{2}+y^{2}} & \frac{x}{x^{2}+y^{2}} & 0 & 0 & 0 &0 \\ \frac{z x}{r^{3} \sqrt{1-\left ( \frac{z}{r} \right )^{2}}} & \frac{z y}{r^{3} \sqrt{1-\left ( \frac{z}{r} \right )^{2}}} & \frac{1}{r^{2} \sqrt{1-\left ( \frac{z}{r} \right )^{2}}} \left [ \frac{z^{2}}{r} - r\right ] & 0 & 0 &0 \end{array}\displaystyle \right ]. $$
(28)

\(\tilde{\boldsymbol{H}}\) is the measurement matrix and it is a time-varying matrix function of Eq. (27). The expected measurements are given in Table 8 and Table 9 for Leg 1 and Leg 2 respectively where we assumed a 2-days observation campaign before each TCM. The assumed Gaussian distribution (\(1\sigma\)) is given in the list below:

  • \(1\sigma\) Range Rate [km/s]: 5e-06

  • \(1\sigma\) Range [km]: 0.01

  • \(1\sigma\) Azimuth = Elevation (ONC-W1) [rad]: 0.00102265

  • \(1\sigma\) Azimuth = Elevation (ONC-T) [rad]: 0.000102265

Fig. 24
figure 24

Reference frames and measurements (in red)

Table 8 Measurements for the Leg 1: From COI to TCM1
Table 9 Measurements for the Leg 2: From TCM1 to TCM2

8.5 Consider Parameter Covariance Matrix (\(\boldsymbol{B}\))

We have chosen the spacecraft reflectively coefficient, \(Cr\), and the camera accuracy, \(\Delta \alpha \) and \(\Delta \delta \) as consider parameters. Their standard deviations are given as follow:

  • \(1\sigma\) Azimuth = Elevation (ONC-W1) [rad]: 0.00102265 (as before)

  • \(1\sigma\) Azimuth = Elevation (ONC-T) [rad]: 0.000102265 (as before)

  • \(3\sigma \) Cr: 10%

The consider parameters matrix \(\boldsymbol{B}\) is derived through (Montenbruck and Gill 2005; Tapley et al. 2004):

$$ \boldsymbol{B} = \left [ \textstyle\begin{array}{c@{\quad }c@{\quad }c} \frac{\partial F_{1}}{\partial Cr} & \frac{\partial F_{1}}{\partial \Delta \alpha } & \frac{\partial F_{1}}{\partial \Delta \delta } \\ \frac{\partial F_{2}}{\partial Cr} & \frac{\partial F_{2}}{\partial \Delta \alpha } & \frac{\partial F_{2}}{\partial \Delta \delta } \\ \frac{\partial F_{3}}{\partial Cr} & \frac{\partial F_{3}}{\partial \Delta \alpha } & \frac{\partial F_{3}}{\partial \Delta \delta } \\ \frac{\partial F_{4}}{\partial Cr} & \frac{\partial F_{4}}{\partial \Delta \alpha } & \frac{\partial F_{4}}{\partial \Delta \delta } \\ \frac{\partial F_{5}}{\partial Cr} & \frac{\partial F_{5}}{\partial \Delta \alpha } & \frac{\partial F_{5}}{\partial \Delta \delta } \\ \frac{\partial F_{6}}{\partial Cr} & \frac{\partial F_{6}}{\partial \Delta \alpha } & \frac{\partial F_{6}}{\partial \Delta \delta } \end{array}\displaystyle \right ] = \left [ \textstyle\begin{array}{l@{\quad }l} \boldsymbol{B_{d}} (6 \times 1) &\boldsymbol{B_{m}} (6 \times 2) \end{array}\displaystyle \right ]. $$
(29)

The matrix \(\boldsymbol{B}\) can be easily partitioned into two contributions. The matrix \(\boldsymbol{B_{d}}\) is associated to the derivatives with respect of the dynamical model parameters, \(\boldsymbol{C_{d}}\), and the matrix \(\boldsymbol{B_{m}}\) is associated to the derivatives with respect of the measurements model. Since the measurements do not appear in the dynamical equations, we can conclude that \(\boldsymbol{B_{m}} = 0\). The partial derivatives of \(F_{4}\), \(F_{5}\) and \(F_{6}\) (components of \(\boldsymbol{F}\) in Eq. (17)) with respect to \(Cr\) are derived from the solar radiation pressure acceleration and for a flat plate surface the derivative of the acceleration is:

$$ \left \{ \textstyle\begin{array}{l} \frac{\partial F_{4}}{\partial Cr} \\ \frac{\partial F_{5}}{\partial Cr} \\ \frac{\partial F_{6}}{\partial Cr} \end{array}\displaystyle \right \} = \frac{\partial \boldsymbol{a}_{srp}}{\partial Cr} = - \frac{K}{r_{ls}^{2}} \cos \theta \left ( - \frac{\boldsymbol{r}_{ls}}{r_{ls}} + 2 \cos \theta \hat{\boldsymbol{n}} \right ) $$
(30)

with \(\hat{\boldsymbol{n}}\) being the normal vector to the flat plate, pointing towards the Earth:

$$ \hat{\boldsymbol{n}} = \frac{\boldsymbol{r}_{Earth}}{r_{Earth}}, $$
(31)

and \(\theta \) being the angle between \(\hat{\boldsymbol{n}}\) and the Sun-spacecraft direction \(\boldsymbol{r}_{ls}\):

$$ \cos \theta = \frac{\boldsymbol{r}_{ls} \cdot \boldsymbol{r}_{Earth} }{r_{ls} r_{Earth}} $$
(32)

\(\epsilon \) is the reflectively parameter and K is a constant function of the spacecraft’s property (mass/size) and Sun’s luminosity. Further details in the definition of the SRP acceleration can be found in Appendix D. By knowing that \(\frac{\partial F_{1}}{\partial Cr} = \frac{\partial F_{2}}{\partial Cr} = \frac{\partial F_{3}}{\partial Cr} = 0\), the matrix \(\boldsymbol{B}\) can be rewritten as:

$$ \boldsymbol{B} = \left [ \textstyle\begin{array}{l@{\quad }l} \boldsymbol{0}_{3\times1} &\boldsymbol{0}_{3\times2} \\ \frac{\partial \boldsymbol{a}_{srp}}{\partial Cr} & \boldsymbol{0}_{3\times2} \end{array}\displaystyle \right ] $$
(33)

8.6 Sensitivity Matrix of the Consider Parameter Covariance Matrix (\(\tilde{\boldsymbol{H}}_{ci}\))

The sensitivity matrix of the consider parameters is derived by linearizing the nonlinear measurement equations. From the definition given in Eq. (23), the sensitivity matrix of the consider parameter covariance matrix is given as:

$$ \tilde{\boldsymbol{H}}_{c} = \left [ \textstyle\begin{array}{c@{\quad }c@{\quad }c} \frac{\partial \rho }{\partial Cr} & \frac{\partial \rho }{\partial \Delta \alpha } & \frac{\partial \rho }{\partial \Delta \delta } \\ \frac{\partial \dot{\rho }}{\partial Cr} & \frac{\partial \dot{\rho }}{\partial \Delta \alpha } & \frac{\partial \dot{\rho }}{\partial \Delta \delta } \\ [5pt] \frac{\partial \alpha }{\partial Cr} & \frac{\partial \alpha }{\partial \Delta \alpha } & \frac{\partial \alpha }{\partial \Delta \delta } \\ [5pt] \frac{\partial \delta }{\partial Cr} & \frac{\partial \delta }{\partial \Delta \alpha } & \frac{\partial \delta }{\partial \Delta \delta } \end{array}\displaystyle \right ] = \left [ \textstyle\begin{array}{c@{\quad }c@{\quad }c} 0 & 0 & 0 \\ 0 & 0 &0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \\ \end{array}\displaystyle \right ] . $$
(34)

8.7 Consider Parameters Covariance Matrix (\(\boldsymbol{P}_{c}\)): Least Square Batch Filter

The consider parameters covariance matrix, \(\boldsymbol{P}_{c}\), is larger than the noise-only covariance, \(\boldsymbol{P}_{x}\). By adopting a large number of measurements, the impact of the data noise is effectively averaged out and the uncertainty of the estimated parameters is decreased. The consider parameters are assumed to be constant throughout a single orbit determination but affected by a given uncertainty. The matrix \(\boldsymbol{P}_{c}\) does not decrease with the increasing in the data rate, but it is essentially constant for a given data arc and tracking configuration. The consider covariance batch filter is suited for assessing the impact of systematic errors in the orbit determination process. For the case of the consider parameters, the covariance matrix is computed as (Montenbruck and Gill 2005):

$$ \boldsymbol{P}_{c} = \boldsymbol{P}_{x} + (\boldsymbol{P}_{x} \boldsymbol{H}^{T} \boldsymbol{W})(\boldsymbol{H}_{c} \boldsymbol{C}_{c} \boldsymbol{H}_{c}^{T})(\boldsymbol{P}_{x} \boldsymbol{H}^{T} \boldsymbol{W})^{T}. $$
(35)

The noise-only covariance matrix, \(\boldsymbol{P}_{x}\), is given by:

$$ \boldsymbol{P}_{x} = \left (\sum _{i} \boldsymbol{H}_{i}^{T} \boldsymbol{W}_{i} \boldsymbol{H}_{i}\right )^{-1} = \left (\sum _{i} \boldsymbol{P}_{i}\right )^{-1} $$
(36)

where the weight matrix, \(\boldsymbol{W}_{i}\), is defined as:

$$ \boldsymbol{W}_{i} = \left [ \textstyle\begin{array}{c@{\quad }c@{\quad }c@{\quad }c} \sigma _{\rho }^{-2}(t_{i}) & 0 & 0 & 0 \\ 0 & \sigma _{\dot{\rho }}^{-2}(t_{i}) & 0 & 0 \\ 0 & 0 & \sigma _{\alpha }^{-2}(t_{i}) & 0 \\ 0 & 0 & 0 & \sigma _{\delta }^{-2}(t_{i}) \end{array}\displaystyle \right ]. $$
(37)

We can now derive the following matrices as:

$$ \boldsymbol{H}^{T} \boldsymbol{W} = \sum _{i} \boldsymbol{H}_{i}^{T} \boldsymbol{W}_{i} =\sum _{i} \boldsymbol{HW}_{i}, $$
(38)

and

$$ \boldsymbol{H}_{c} \boldsymbol{C}_{c} \boldsymbol{H}_{c}^{T} = \sum _{i} \boldsymbol{H}_{ci} \boldsymbol{C}_{ci} \boldsymbol{H}_{ci}^{T} = \sum _{i} \boldsymbol{HCH}_{i}. $$
(39)

The inverse of the weight matrix associated to the constraint parameters is provided by:

$$ \boldsymbol{C}_{ci} = \left [ \textstyle\begin{array}{c@{\quad }c@{\quad }c} \sigma _{Cr}^{2}(t_{i}) & 0 & 0 \\ 0 & \sigma _{\Delta \alpha }^{2}(t_{i}) & 0 \\ 0 & 0 & \sigma _{\Delta \delta }^{2}(t_{i}) \end{array}\displaystyle \right ]. $$
(40)

Note that, the covariance matrix was computed in J2000EQ-Ry but it can be transformed in the HP reference frame.

8.8 Covariance Analysis

The covariance matrix along the reference conjunction trajectory can be computed as a function of time as follow:

$$ \bar{\boldsymbol{P}}(t_{i+1}) = \left [ \left ( \boldsymbol{\Phi } (t_{i+1}, t_{i}) \bar{\boldsymbol{P}}(t_{i}) \boldsymbol{\Phi }^{T} (t_{i+1}, t_{i}) \right )^{-1} + \boldsymbol{P}^{-1}_{c} (t_{i+1}) \right ] ^{-1} + P_{n}(t_{i+1}) $$
(41)

with \(\boldsymbol{\Phi }(t_{i},t_{i})= \boldsymbol{I}\). Note that the state transition matrix is used to update the time of the covariance matrix from \(t_{i}\) to \(t_{i+1}\). We also distinguished between the time before and after the maneuver where the effect of the process noise (\(\Delta V\) execution error) is given by \(\boldsymbol{P}_{n}\) that was previously introduced in Eq. (16) and here transformed in J2000EQ-Ry coordinates. The effect of the initial knowledge covariance matrix is included in the term \(\bar{\boldsymbol{P}}(t_{i})\) while the effect of the navigation at time \(t_{i+1}\) is included in the matrix \(\boldsymbol{P}_{c}(t_{i+1})\). Note that the effect of the navigation at \(t_{i}\) is given in the term \(\bar{\boldsymbol{P}}(t_{i})\). Once the covariances before and after the \(\Delta V\) maneuver at COI, TCM1, TCM2 and HRM are given, it is possible to compute the stochastic \(\Delta V\) (guidance). Figure 25 shows the standard deviation expressed in the HP frame and projected to the final HRM epoch for both the positions and velocities. The dashed gray vertical lines highlight the TCM1 (-29 days to HRM) and the TCM2 (-4 days to HRM) epochs. The red dots show the effect of the execution error \(\Delta V\). As one can see, the effect of the navigation before TCM1 (Leg 1) and TCM2 (Leg 2) aims to reduce the standard deviation error at HRM.

Fig. 25
figure 25

Variance in position and velocity in the HP frame projected at HRM epoch: ONC-W1 case

8.9 Semi-analytic Stochastic \(\Delta V\) Method

For the statistical analysis of control maneuvers, we follow the idea presented in Renaultand and Scheeres (2003). A similar approach has been used for the design of the TCMs during the Hayabusa2’s approach phase (Tsuda et al. 2013).

The stochastic \(\Delta V\) can be computed analytically following the definition of the state transition matrix. At time \(t_{i}\), a manoeuvre \(\Delta V_{i}\) is executed to null the error in position at time \(t_{HRM}\), and a manoeuvre \(\Delta V_{HRM}\) is scheduled at time \(t_{HRM}\) to null the error in velocity at HRM. The principle of the semi-analytic computation of the stochastic \(\Delta V\mbox{s}\) is shown in Fig. 26. Therefore, we can write the following formulas:

$$ \left \{ \textstyle\begin{array}{c} \delta \boldsymbol{r}_{HRM_{m}} \\ \delta \boldsymbol{v}_{HRM_{m}} \end{array}\displaystyle \right \} = \left [ \textstyle\begin{array}{c@{\quad }c} \boldsymbol{\Phi }_{11} & \boldsymbol{\Phi }_{12} \\ \boldsymbol{\Phi }_{21} & \boldsymbol{\Phi }_{22} \end{array}\displaystyle \right ]_{(t_{HRM},t_{i})} \left \{ \textstyle\begin{array}{c} \delta \boldsymbol{r}_{i} \\ \delta \boldsymbol{v}_{i} + \Delta V_{i} \end{array}\displaystyle \right \} $$
(42)

and

$$ \left \{ \textstyle\begin{array}{c} \delta \boldsymbol{r}_{HRM} \\ \delta \boldsymbol{v}_{HRM} \end{array}\displaystyle \right \} = \left [ \textstyle\begin{array}{c@{\quad }c} \boldsymbol{\Phi }_{11} & \boldsymbol{\Phi }_{12} \\ \boldsymbol{\Phi }_{21} & \boldsymbol{\Phi }_{22} \end{array}\displaystyle \right ]_{(t_{HRM},t_{i})} \left \{ \textstyle\begin{array}{c} \delta \boldsymbol{r}_{i} \\ \delta \boldsymbol{v}_{i} + \Delta V_{i} \end{array}\displaystyle \right \} + \left \{ \textstyle\begin{array}{c} \boldsymbol{0} \\ \Delta V_{HRM} \end{array}\displaystyle \right \} . $$
(43)

Given Eq. (43), the objective is to have \(\delta \boldsymbol{r}_{HRM} = \delta \boldsymbol{v}_{HRM} = \boldsymbol{0}\). Therefore, Eq. (43) can be rewritten as:

$$ \left \{ \textstyle\begin{array}{ll} \boldsymbol{\Phi }_{11}(t_{HRM},t_{i}) \delta \boldsymbol{r}_{i} + \boldsymbol{\Phi }_{12}(t_{HRM},t_{i}) \delta \boldsymbol{v}_{i} + \boldsymbol{\Phi }_{12} (t_{HRM},t_{i}) \Delta V_{i} & = \boldsymbol{0} \\ \boldsymbol{\Phi }_{21}(t_{HRM},t_{i}) \delta \boldsymbol{r}_{i} + \boldsymbol{\Phi }_{22}(t_{HRM},t_{i}) \delta \boldsymbol{v}_{i} + \boldsymbol{\Phi }_{22}(t_{HRM},t_{i}) \Delta V_{i} + \Delta V_{HRM} & = \boldsymbol{0}. \end{array}\displaystyle \right . $$
(44)

By rearranging Eq. (44) as an explicit function of the stochastic \(\Delta V\), we get:

$$ \left \{ \textstyle\begin{array}{c} \Delta V_{i} \\ \Delta V_{HRM} \end{array}\displaystyle \right \} = \left [ \textstyle\begin{array}{c@{\quad }c} - \boldsymbol{\Phi }_{12}^{-1} \boldsymbol{\Phi }_{11} & - \boldsymbol{I} \\ \boldsymbol{\Phi }_{22} \boldsymbol{\Phi }_{12}^{-1} \boldsymbol{\Phi }_{11} - \boldsymbol{\Phi }_{21} & \boldsymbol{0} \end{array}\displaystyle \right ]_{(t_{HRM},t_{i})} \left \{ \textstyle\begin{array}{c} \delta \boldsymbol{r}_{i} \\ \delta \boldsymbol{v}_{i} \end{array}\displaystyle \right \} $$
(45)

so that in a compact form we have:

$$ \Delta \boldsymbol{V} = \boldsymbol{Q}(t_{HRM},t_{i}) \delta \boldsymbol{x}_{i}. $$
(46)

The covariance matrix of the stochastic \(\Delta V\) is given by:

$$ \boldsymbol{P}_{\Delta \boldsymbol{V}} = E[ \Delta \boldsymbol{V} \Delta \boldsymbol{V}^{T}] = \boldsymbol{Q}(t_{HRM},t_{i}) E[\delta \boldsymbol{x}_{i} \delta \boldsymbol{x}_{i}^{T}] \boldsymbol{Q}^{T}(t_{HRM},t_{i}) $$
(47)

and we recognise that \(E[ \Delta \boldsymbol{V} \Delta \boldsymbol{V}^{T}]\) is the covariance matrix in Eq. (41):

$$ \boldsymbol{P}_{\Delta \boldsymbol{V}} = \boldsymbol{Q}(t_{HRM},t_{i}) \bar{\boldsymbol{P}}_{i}(t_{i}) \boldsymbol{Q}^{T}(t_{HRM},t_{i}). $$
(48)

In Eq. (48), \(t_{i}\) is the time of the maneuver (e.g. COI, TCM1 and TCM2) and the covariance matrix \(\bar{\boldsymbol{P}}_{i}(t_{i})\) is computed as in E. (41). The diagonal of the covariance matrix provides the standard deviation of the stochastic \(\Delta V\):

$$ diag(\boldsymbol{P}_{\Delta \boldsymbol{V}}) = \left [ \textstyle\begin{array}{c@{\quad }c@{\quad }c@{\quad }c@{\quad }c@{\quad }c} \sigma ^{2}_{V_{xi}} & 0 & 0& 0& 0& 0\\ 0 & \sigma ^{2}_{V_{yi}} & 0 & 0& 0& 0\\ 0 & 0& \sigma ^{2}_{V_{zi}} & 0 & 0& 0\\ 0 & 0& 0& \sigma ^{2}_{V_{x,HRM}} & 0 & 0\\ 0 & 0& 0& 0& \sigma ^{2}_{V_{y,HRM}} & 0\\ 0 & 0& 0& 0& 0& \sigma ^{2}_{V_{z,HRM}} \end{array}\displaystyle \right ] $$
(49)

and we can now separate the covariance matrix of the stochastic \(\Delta V\) at time \(t_{i}\) and the one at \(t_{HRM}\) so that we can write in a compact way:

$$ diag(\boldsymbol{P}_{\Delta \boldsymbol{V}}) = \left [ \textstyle\begin{array}{c@{\quad }c} \boldsymbol{P}_{\Delta \boldsymbol{V}_{i, ~J2000}}^{(3\times3)}(t_{i}) & \boldsymbol{0} \\ \boldsymbol{0} & \boldsymbol{P}_{\Delta \boldsymbol{V}_{HRM, ~J2000}}^{(3\times3)}(t_{HRM}) \end{array}\displaystyle \right ]. $$
(50)

We are interested only in the standard deviation at time \(t_{i}\), \(\boldsymbol{P}_{\Delta \boldsymbol{V}_{i, J2000}}^{(3\times3)}(t_{i}) \). Figure 27 shows the results of the covariance analysis for the deterministic and the stochastic \(\Delta V\mbox{s}\) in each components of the HP reference frame. Note that due to the mounting direction of the thrusters attached to the body of the spacecraft, we have to account for a thrust loss factor of \(\cos (75^{\circ })^{-1}\) in \(\Delta V\mbox{s}\) given along the \(y_{hp}\) coordinate. Given the linear covariance analysis, Fig. 28 shows an example of estimated trajectory (in red) vs the ayu nominal trajectory (in blue).

Fig. 26
figure 26

Schematic representation of the shooting method for the semi-analytic computation of the stochastic \(\Delta V\)

Fig. 27
figure 27

Deterministic and stochastic \(\Delta V\) in the HP frame

Fig. 28
figure 28

Design trajectory (blue) and estimated trajectory (red) in J2000EQ frame for the case of ONC-W1

8.10 Monte Carlo Analysis in the Nonlinear System

In this section, we verified that the covariance matrix propagated from COI to TCM2 (no navigation) returns the same stochastic \(\Delta V\) in both the previously presented semi-analytic method (Fig. 29.b) and the Monte Carlo method for the nonlinear system (Gordon 1991) (Fig. 29.a). For the Monte Carlo analysis, we performed a simple shooting between TCM2 and HRM to determine the standard deviation of the \(\Delta V\) at TCM2 under the effect of nonlinearities. Table 10 shows the results of the two analysis compared. Both methods give similar solutions showing that the semi-analytic method is reliable under the effect of nonlinearities. We also demonstrated that our shooting method (optNEAR) can control the spacecraft within a 99% confidence criterion as shown in Table 10 and in Fig. 29.a (red trajectories).

Fig. 29
figure 29

Deterministic and stochastic \(\Delta V\) in the HP frame

Table 10 Comparison of the stochastic \(\Delta V\) at TCM2 between the Monte Carlo solution and the semi-analytic method

9 Conclusions

In this article, we have shown the design of the ayu conjunction trajectory for hovering satellite around minor bodies. The case of the Hayabusa2 mission trajectory planning was presented. The ayu trajectory is a low energy transfer trajectory designed in the Hill reference frame. It requires two deterministic \(\Delta V\mbox{s}\) (COI/HRM) with overall fuel cost of less than 1 m/s. Uncertainties in the insertion \(\Delta V\) at COI affects the overall \(\Delta V_{x}\) at HRM. Under contingency scenario at HRM, a recovery trajectory can be rescheduled after one day from the missed HRM maneuver. The effect of the BOX-A’s initial knowledge navigation error at COI requires at least one TCM maneuver after deep conjunction (SEP angle \(\sim 0^{\circ }\)). To be conservative, at least two TCMs maneuvers should be scheduled during the operations. The effect of uncertainties in the observations and dynamical model are investigated and the stochastic \(\Delta V\mbox{s}\) are computed using a semi-analytic formulation. When compared to the nonlinear Monte Carlo method, we concluded that the semi-analytic formula works well. Moreover, we are confident that the shooting method developed in optNEAR works well for the \(\Delta V\) planning during the superior solar conjunction mission operation.