The realignment of a mirror in resonator requires a closed loop feed back control system. The system utilise PSD, Laser Diode, stepper motor, digital encoder, data acquisition card and motor controller card, motor driver for controlling the sequence of operation. In aligned position of mirror, beam from diode laser fall on to centre of the mirror which reflects the beam back to the centre of the PSD. The central position of spot is taken as reference position. When the mirror is misaligned, the position of light beam on PSD shifts from its reference position. The output signal from PSD is then compared with the reference position. These data are processed in data acquisition card in to find the misalignment of mirror. The necessary command is then generated through controller to move mirror in correct direction through stepper motor for realignment of mirror. The no of step counted with the help of digital encoder.