Abstract
A procedure to accurately calculate the settling time of second-order systems for any damping ratio and natural frequency is proposed in this paper. In addition, settling time calculation for second-order systems is reviewed in this paper, illustrating the errors generated by classical approximations reported in textbooks and research papers. Finally, such a procedure is used to precisely design a perturb and observe algorithm in a photovoltaic application.