| CPC E21B 44/00 (2013.01) [E21B 7/068 (2013.01); E21B 47/022 (2013.01); E21B 2200/20 (2020.05)] | 20 Claims |

|
1. A method comprising:
receiving a well plan and determining a plurality of sections of the well plan;
receiving data from surface and downhole to determine a current location of a drill bit, the drill bit located on a bottom hole assembly of a drill string;
analyzing the well plan to automatically derive trajectory constraints that are associated with each of the plurality of sections of the well plan;
determining a plurality of trajectory candidates that pertain to respective paths from the current location of the drill bit to respective targets included within each of the plurality of sections of the well plan based on a consideration of the trajectory constraints;
ranking the plurality of trajectory candidates based on the respective paths, wherein ranking the plurality of trajectory candidates includes penalizing, with a penalty weight, violations of the trajectory constraints;
using the ranking, determining a working plan that includes an optimal path from the current location of the drill bit to reach a final target based on the plurality of trajectory candidates, wherein the working plan includes hardware specific drill command sequences to direct the drill bit along the optimal path;
communicating the hardware specific drill command sequences to control the bottom hole assembly of the drill string to access the final target from the current location; and
executing the hardware specific drill command sequences to steer the drill bit to the final target.
|