A central pattern generator (CPG) is a neuronal network in which interconnected excitatory and inhibitory neurons produce an oscillating, rhythmic output in the absence of sensory feedback.