Core idea with closed-loop stimulation: bioelectronic devices monitor user state and stimulate in response to measured biological activity. This is done with machine learning and low-power ICs.
Open-loop stimulation stimulates at pre-programmed intervals.
Much like open- and closed-loop control systems.