This paper presents a nonlinear biological controller inspired by human gait for simulating biped locomotion in robots using a central pattern generator (CPG) made from four coupled Rayleigh oscillators. The parameters of the CPG are optimized using a genetic algorithm to match the stable human gait, with data collected via a biometric suit known as the intelligent gait oscillation detector (IGOD). The developed model has been successfully simulated on a spring flamingo robot in the Yobotics environment.