System and method for pain management therapy that provides customized signal analysis for each patient's perception of pain. In addition, the pain relief response to the sensed brain wave signals indicating perceived pain can also be customized for each patient. An implantable medical device system senses and analyzes a brain wave signal for an indication of pain. Feedback control for providing pain management therapy with the implantable medical device system is provided based on the indication of pain from the analysis of the brain wave signal. The brain wave signal can continue to be sensed and analyzed to determine whether the pain management therapy is effective in reducing or eliminating the indication of pain in the brain wave signal. Based on the analysis, parameters used to control the amount of pain management therapy and/or the type of pain management therapy can be adjusted.
Brain signal feedback for pain management