1. A control unit (18) for controlling the operation of the nebulizer (2), where the nebulizer (12) contains an actuator (14) and a spray element (16), which is configured to remove it from the nebulizer (12) and which is separated from the actuator (14), while the control unit (18) is configured to measure the impedance of the actuator (14) in the nebulizer (2) and to determine whether the spray element (16) in the nebulizer (2) is in the correct position with respect to the actuator ( 14), based on the comparison measured th impedance with a given impedance value. 2. The control unit (18) according to claim 1, wherein the control unit (18) is configured to determine that the spray element (16) is in the correct position if the measured impedance of the actuator (14) is equal to or within the specified range of the set value impedance. 3. The control unit (18) according to claim 1, wherein the control unit (18) is configured to measure the impedance of the actuator (14) when the actuator (14) operates at the first and second frequencies, and determine that the spray element (16) is in the correct position if both measured impedances are equal or are within the specified range of the corresponding specified impedance values. 4. The control unit (18) according to claims 1, 2 or 3, while the control unit (18) is additionally configured to activate the actuator (14) in order to spray the liquid (12), if it is determined that the spray element (16) is in the correct position in the nebulizer (2) .5. The control unit (18) according to claims 1, 2 or 3, while the control unit (18) is optional�1. Блок управления (18) для управления работой небулайзера (2), где небулайзер (12) содержит исполнительный механизм (14) и распылительный элемент (16), который выполнен с возможностью его удаления из небулайзера (12) и который отделен от исполнительного механизма (14), при этом блок управления (18) выполнен с возможностью измерять импеданс исполнительного механизма (14) в небулайзер