A system for generating nitric oxide is a device disposed within a mammalian trachea, the respiratory sensor for collecting information related to one or more triggering events associated with the trachea; An apparatus comprising an oxygen sensor for collecting information related to oxygen concentration in a gas and one or more electrode pairs for starting a series of electric arcs to generate nitric oxide And the system for generating nitric oxide can further comprise a controller for determining one or more control parameters based on information collected by the respiratory sensor and the oxygen sensor. A series of electric arcs are activated based on the control parameters determined by the controller.一酸化窒素を生成するためのシステムが、哺乳動物の気管内に配置される装置であって、気管に付随する1つまたはそれ以上のトリガイベントに関連する情報を収集するための呼吸センサと、ガス内の酸素濃度に関連する情報を収集するための酸素センサと、一酸化窒素を発生させるために、一連の電気アークを起動するための1つまたはそれ以上の電極対とを備える装置を含むことができ、一酸化窒素を生成するためのシステムが、呼吸センサおよび酸素センサによって収集された情報に基づいて、1つまたはそれ以上の制御パラメータを決定するための制御装置を更に備えることができ、一連の電気アークが、制御装置によって決定された制御パラメータに基づいて起動される。