Assuming a restricted two-body problem (neglecting the mass of the satellites and no other forces at work) the problem can be solved with search combined with a solver for the Gauss' problem.
The gauss problem is the following: Given two positions and the time between the positions, find the velocites at both positions, which in other words finds the orbit. We will denote this as $(v_1, v_2) = GaussProblem(r_1, r_2, t)$.
So how can we use the solver to intercept the second satellite? This is done by assuming an intercept time ($t$) (we will iterate to find the best one later). So what we do now is that we calculates the position of the second satellite at the intercept time, which I assume you already can do (using numerical integration or solver for the Kepler problem). I will denote this as $(r', v') = KeplerProblem(r, v, t)$.
Now that we have two positions (the current position of the first satellite, the position of the second satellite at the intercept time), we can use the solver for the Gauss problem to find what the velocity at the first position should have been, if the first satellite was on the intercept orbit.
So our maneuver is simply then: $\Delta v = v_1 - v_{satellite 1}$.
The algorithm is the following:
- For each $t \in [min, max]$ (take some range)
- $(r', \_) = KeplerProblem(r_{satellite 2}, v_{satellite 2}, t)$
- $(v_1, v_2) = GaussProblem(r_{satellite 1}, r', t)$
- $\Delta v = v_1 - v_{satellite 1}$
- Select the maneuver that best matches your parameters (minimum intercept time given delta velocity requirements).
Some notes:
- For a given problem instance, a solver for the gauss problem may fail.
- The times are relative, not absolute.
- The maneuvers are assumed to be executed at the current time. Calculating the intercept at a later time may yield a better intercept in terms of time and deltaV.
Gauss Problem
I'm not 100% sure which is the correct name for the problem, as in Fundamentals of astrodynamics by Bate, Roger R., Donald D. Mueller, and Jerry E. White denotes this as the Gauss problem, others as Lambert's problem.
For a method for solving the problem, you should either look in the mentioned book, which contains several methods, or look at the following links: http://aerospacengineering.net/?p=1614, http://www.dept.aoe.vt.edu/~cdhall/courses/aoe4134/Apiteration.pdf, https://en.m.wikipedia.org/wiki/Lambert%27s_problem.