The present invention is a hollow body having an intake port on one side and an exhaust port on the other side; A fan fixed to the hollow portion of the fuselage so that the blades can rotate by airflow flowing to the exhaust port through the inlet of the fuselage; power; And a substrate located in the hollow part of the body and connected to the power source, the substrate having an ion generating circuit including a microcontroller and a circuit constituting an airflow detection unit that senses the airflow passing through the fan and transmits it to the microcontroller. Provides a configured ion generator. The ion generator detects the rotation of the fan blades by the airflow flowing through the intake port of the fuselage to the exhaust port by the airflow flow detector of the substrate and transmits it to the microcontroller, thereby generating ions by the ion generating circuit of the substrate.본 발명은 일측에는 흡기구를 가지며 타측에는 배기구를 갖는 중공형 동체; 동체의 흡기구를 통해 배기구로 유동하는 기류에 의해 날개가 회전할 수 있도록 동체의 중공부에 고정되는 팬; 전원; 및 동체의 중공부에 위치되고 상기 전원에 연결되되, 마이크로컨트롤러를 포함하는 이온 생성회로와 상기 팬을 통과하는 기류를 감지하여 마이크로컨트롤러로 전달하는 기류 유동 검출부를 구성하는 회로를 구비하는 기판;으로 구성된 이온 발생기를 제공한다. 이온 발생기는 기판의 기류 유동 검출부가 동체의 흡기구를 통해 배기구로 유동하는 기류에 의해 팬 날개가 회전하면 이를 감지하여 마이크로컨트롤러로 전달함으로써 기판의 이온 생성회로에 의해 이온이 생성된다.