Simple model for the study of period-doubling instabilities in the nonlinear ring cavity