An incoming laser beam is relayed to a steering mirror and a phase
correction device. The beam is relayed from the phase correction device
to a focal plane array and to a wavefront sensor (WFS). Low order
steering mirror tilt corrections can be based on data from the focal
plane array. The WFS outputs data on multiple channels to a field
programmable gate array (FPGA), with each of the WFS channels
corresponding to a subaperture of the beam wavefront. The FPGA calculates
phase corrections for each of the subapertures and forwards those
corrections to the phase correction device. The FPGA also calculates
tilts for the steering mirror based on the WFS output data, which tilts
can be used instead of tilts based on focal plane array data. The phase
corrections may be based on modulo 2.pi. phase error calculations and/or
modal phase error calculations.