The painful hemiplegic shoulder is very common after the patient suffers a stroke. Besides pain, it implies a great limitation and can compromise the results of a rehabilitation program, which means functional limitations for the patient for life in their daily activities Is it possible to establish a relationship between the control of EEG or EMG signals with the threshold of pain in the development of exoskeletons for the treatment of painful shoulder in the hemiplegic patient?