I just finished reading this book on chronic pain and, despite the questionable title, it gives an excellent explanation of how chronic pain develops and is maintained.