1. A system for assisted coughing comprising: a first air flow sensor configured for sensing a patient's air flow, for measuring a parameter which can indicate a closed glottis and producing a first signal; a processor and associated memory for receiving the first signal, determining a state indicating the closed glottis and generating an instruction for Functional Electric Stimulation (FES) controller based, at least in part, on the determining; and a FES controller for generating an electric stimulation signal; wherein the processor determines a specific point in time associated with the indication of the closed glottis based, at least in part, on detecting a start of a plateau in the first signal.