The present invention provides an apparatus for stimulating a peripheral nerve comprising a memory, at least one electrode attached to a patient's body for generating a pulse, and a control unit coupled to the electrode for setting at least one electrode pulse parameter . The apparatus further includes a detector coupled to the control unit for transmitting information about the motion frequency of at least a portion of the body, a detector for response to neural control, and a controller coupled to a control unit for obtaining a user input. The control unit of the apparatus further automatically sets the current flow of the electrode pulse according to the information on the frequency value of the motion of the part of the body. The present invention further provides a method of treating irritable bladder syndrome using a neural control device and a method of collecting information of such a device.본 발명은 메모리, 펄스를 생성하기 위해 환자의 신체에 부착되는 적어도 하나의 전극, 및 적어도 하나의 전극 펄스 파라미터를 설정하기 위해 전극에 연결된 제어 유닛을 포함하는 말초 신경을 자극하기 위한 장치를 제공한다. 장치는 또한 신체의 적어도 한 부분의 운동 주파수에 대한 정보를 전송하기 위해 제어 유닛과 연결된 신경조절에 대한 반응의 탐지기, 및 사용자 입력을 획득하기 위한 제어 유닛에 연결된 제어기를 더 포함한다. 장치의 제어 유닛은, 신체의 일부의 운동의 주파수 값에 대한 정보에 따라 자동적으로 전극 펄스의 전류의 흐름을 더 설정한다. 본 발명은 신경조절 장치를 사용하여 과민성 방광 증후군의 치료 방법 및 이러한 장치의 정보 수집의 방법을 더 제공한다.