Various embodiments of the present invention provide systems, methods and devices for respiratory support. As one example, a method is described that includes providing a measured signal such as gas pressure or flow or any respiratory signal derived or obtained by combining pressure or flow signals related to a patients breathing. Breathing events of interest are detected by establishing similarity of at least a portion of the measured signal with a reference signal or a collection of reference signals using a similarity criterion. A ventilation cycle is triggered if patients breath phase transition event is detected from the measured signal using the described method.