An efficient optimization method to improve the measuring accuracy of oxygen saturation by using triangular wave optical signal.