1 Introduction

Upper limb rehabilitation robot system is the robot technology which was in the field of clinical medicine and produce a complementary or alternative doctor completed the limb rehabilitation training of special robot system, its appearance has opened up a new technical way for upper limb hemiplegic rehabilitation, and makes up for the clinical treatment of the movement of the problems mentioned above. Upper limb rehabilitation robots break the limitation of doctor-patient between one and one, will not only the physician from heavy, repeated training mission to make it more focus on the treatment improvement, and making it possible to focus on medical and remote rehabilitation medical; In addition, the rehabilitation robot through intelligent human–machine interface, can provide different strength in different period of rehabilitation patients, different modes of training, active exercise consciousness motivate patients to enhance confidence, enhance the rehabilitation confidence of patients; Data of sensor to measure the kinematics of human body, physiological utilization of rehabilitation robots provide, provide an objective basis for improving and optimizing the rehabilitation physician [1]. Therefore, the research, the development of upper limb rehabilitation robot system will promote the medical and engineering resources complementary, is important practical significance to the development of the cross subject and social progress of rehabilitation.

Surface electromyography signal (sEMG) is from the skin surface through the guidance of the electrode, amplification, display and record down the biological electrical signal when neuromuscular system activity, the signal form has great randomness and uncertainty. Because of sEMG exists different degree of correlation with muscle function and activity states, which can reflect the neuromuscular activity to some extent, at the same time sEMG has the advantages of non-invasive, real-time and multiple targets, neuromuscular disease diagnosis in clinical medicine, rehabilitation medicine in the field of muscle function evaluation, as well as the fatigue assessment in sports science, exercise technology and reasonable analysis and so on all have important practical value.

There is a lot of researches focus on the pattern recognition of sEMG, so as to distinguish different limb motion mode, realize the control of multi degree of freedom prosthetic. However, in a single movement mode, the motion state of the prosthesis such as movement speed, movement range and the position of the arm can’t control. This is mainly due to the complexity of the electromyographic signal producing mechanism and the complex relationship between the electromyographic signal and human self motion control system, makes the relationship between sEMG and arm motion state is difficult to determine. The process of pattern recognition using sEMG can be expressed as the electromyographic signal collection, signal preprocessing (optimization), feature extraction and pattern recognition. First by analyzing the electromyographic signal to extract the characteristic value, and then provided input pattern recognizer for identification [2]. In order to accurately realize the gesture recognition, feature extraction and pattern recognition are the key to the whole system.

Due to the original action sEMG has a typical non-linear and non-stationary characteristics, so from the perspective of stationary random signals (such as statistical characteristic analysis and Fourier transform) to obtain the recognition rate has big error, and from the angle of non-stationary (time–frequency analysis) or nonlinear angle (nonlinear feature extraction) or a combination of both angle (combining empirical mode decomposition and nonlinear characteristics) to analyze signal can obtain better recognition rate. In order to extract the corresponding feature effectively, should be the first in-depth analysis of surface electromyography signal, to master certain prior knowledge [3]. Then according to the action surface electromyographic signal choose the appropriate features and treatment methods, and then input the corresponding classifier for identification. The effect of pattern recognition is the most effective tool to test whether the appropriate feature extraction. The system principle diagram of Robot based on sEMG was shown in Fig. 1.

Fig. 1
figure 1

The system principle diagram of robot based on sEMG

2 Surface EMG Signal Processing

Collected for processing the original action surface EMG signal including data collection, filtering, model selection, feature extraction and pattern recognition, as shown in Fig. 2.

Fig. 2
figure 2

The flow chart of signal processing

3 Feature Extraction

Different feature extraction method based on the original surface EMG action is seen as different models, then the corresponding feature extraction or feature space conversion, and then calculate the corresponding typical characteristics, for identification. When performing model selection, a priori knowledge, that mastery of the original action surface EMG is essential. Select the appropriate model determines whether the extracted features is appropriate, also decided to identify the good and bad effects. The system of electrical signal acquisition is shown in Fig. 3. The signal acquisition of electromyographic signal and angle signal are shown in Fig. 4.

Fig. 3
figure 3

The system of electrical signal acquisition

Fig. 4
figure 4

The signal acquisition of electromyographic signal and angle signal

In the methods described herein taken in, statistical feature extraction will be seen as the original action surface EMG same statistical characteristics of stationary random signal, the Fourier transform is built on the basis of stationary random signal, time–frequency analysis method sucked original action seen as non-stationary surface EMG signals, nonlinear feature extraction sucked original action deemed non-linear surface EMG signals, to calculate the typical nonlinear characteristics and identified [4]. Empirical mode decomposition method is also from the perspective of non-stationary nonlinear original action surface EMG decomposition and feature extraction. Percentage of energy is from the perspective of the energy distribution of the original action surface EMG signals were identified. Because the original surface EMG action with a typical non-linear non-stationary characteristics, therefore from the perspective of a stationary random signals (such as statistical feature analysis and Fourier transform) the recognition rate obtained large error, and from the perspective of non-stationary (time–frequency analysis) or nonlinear angle (non-linear feature extraction), or a combination of both the departure angle (empirical mode decomposition and nonlinear characteristics of the combination) of the signal can be analyzed to obtain the ideal identification rate [5]. The frequently used methods of feature extraction were shown in Fig. 5.

Fig. 5
figure 5

The frequently used methods of feature extraction

  1. (1)

    Arithmetic Mean Value, which as the general description of the centure of the data probability distribution.

    $$\overline{x} = \frac{1}{N}\sum\limits_{i = 0}^{N - 1} {x(i)}$$
    (1)
  2. (2)

    Mean absolute difference in time-domain analysis.

    $$x = \frac{1}{N}\sum\limits_{i = 0}^{N - 1} {\left| {x(i)} \right|}$$
    (2)
  3. (3)

    Range is the difference between the Max and the Min of the sample.

    $$x = x_{ \hbox{max} } - x_{ \hbox{min} }$$
    (3)
  4. (4)

    The standard deviation reflect concentration and dispersion degree of the random variable.

    $$x = \frac{1}{N}\sum\limits_{i = 0}^{N - 1} {x(i)}$$
    $$\delta = \sqrt {\frac{1}{N}\sum\limits_{i = 0}^{N - 1} {\left[ {x(i) - x} \right]^{2} } }$$
    (4)

The feature extraction method combined with feature recognition was shown in Fig. 6.

Fig. 6
figure 6

Feature extraction methods combined with feature recognition

4 Pattern Recognition

Back propagation network is a multilayer of nonlinear differential function weight training feedforward neural networks. The meaning of error of back propagation is: the network output error at the little direction was adjusted according to the connection weights of output error to each layer of neurons in the network of reverse, and finally achieve the desired output. BPNN has the characteristics: (1) to realize the nonlinear mapping of different dimension space; (2) according to the samples self-learning; (3) distributed knowledge expression; (4) parallel information processing; (5) there is a certain generalization capability to unknown information [6]. According to the research, BPNN can be used as a standard type of nonlinear approximation: with regard to any function of the real space, as long as it satisfies certain conditions, there must be only with a single hidden layer BPNN as the best for its optimal error back propagation learning algorithm which consists of two steps: the first is the progress of forward input, the second is the process of output error back propagation [7]. The so-called positive communication refers to the input signal applied to the input layer of the network layer to the output layer transfer which get the output response. While the output error back propagation is the output error value by the output to the input layer began to reverse the spread of, each layer of the network weight changes are based on spread to the error of the layer to decide. At the start of training before all weights must be initialized. The choice of initial value is a important problem. In the absence of prior knowledge of what a good contrast, usually by initializing the random number to small. In the view of the characteristics of BP network, this paper uses the BP neural network for motion pattern classification of EMG signals processed, to identify the joint flexion extension motion do the motion state of the joint trajectory prediction [8]. The BP network consists of three layers, the first layer is the input layer, there are four nodes, the input feature 4 road sEMG values;the last layer is the output layer, a node, output angle signal [9]. Full interconnection mode is adopted between the different layers of neurons, between the same layer neurons does not exist mutual connection;In the network, the input layer and the hidden layer using bipolar S shape function. The neural network structure as shown in Fig. 7.

Fig. 7
figure 7

The structure of BP neural network

It is needed to pay attention to the middle layer which is to determine the number of hidden units. There is obvious influence to the performance in BP network nodes on the network [10]. The hidden layer node is too small, the network may not be able to solve the problem of: too much, and the hidden layer (Min Lei et al. 2001), the network may be training samples to accurately describe and not to the new input pattern precise description. There are 3 formulas can be used for reference:

$$\sum\limits_{i = 0}^{n} {C_{n1}^{i} } > k$$
(5)

k—sample number, n1—The number of hidden layer units, n—The number of input units.

First training on BPNN, from the application environment and pick out a few sample data and the corresponding class labels weights and linear bias of BPNN adjustment, until we get the relationship between input and output right, by the end of that network convergence. The network after training, for each new test samples coming discriminant results directly by the trained BPNN by forward calculation can get the sample category [11]. Training and simulation using MATLAB7. 1 for neural network. The establishment of BP network, prediction and angle signal. Block diagram as shown in Fig. 8.

Fig. 8
figure 8

Quantitative identification of the block diagram

5 Conclusion

The research is the acquisition and feature extraction based on sEMG, and joint angle signal synchronous acquisition, analysis, quantitative information on the joint motion recognition, establish a quantitative relationship between the model and the joint angle sEMG signal;On this basis, quantitative relationship model will be collected sEMG input has been built, the output prediction joint angle, thereby identify movement intentions, exercise planning, driving the robot to drive upper limb rehabilitation in accordance with the patient’s movement intent. More experiments will to be executed in the future works.