The invention discloses a
functional electrical stimulation personalized hand
rehabilitation system and method based on
reinforcement learning, and belongs to the technical field of
medical rehabilitation training. The
system comprises an upper computer, an angle acquisition module, a modular
electrical stimulator, an
electrode array, a power supply module and a
safety control module. The upper computer runs a
reinforcement learning control program, communicates with the
electrical stimulator through a
serial port, receives hand multi-degree-of-freedom angle information in real time and calculates electrical stimulation parameters. The modularized
electrical stimulator adopts an STM32F103C8T6 single-
chip microcomputer as a control core, and three channel expansion modules are cascaded through an SPI
bus to form 24-channel independent high-
voltage output. The
electrode array is of a flexible wearable structure and is attached to the
forearm of a patient to conduct electrical stimulation on multiple
muscle groups. And the
reinforcement learning control module realizes dynamic optimization of electrical stimulation parameters through a pre-training model and a policy network based on truncation near-end policy optimization (PPO), and realizes balance of stimulation precision and convergence speed in individualized
rehabilitation training in combination with a multi-component reward function. The
system is provided with an
emergency stop switch and a pulse width
protection mechanism, so that the safety and stability of the
rehabilitation training process are ensured. According to individual differences and rehabilitation processes of patients, personalized and self-adaptive multi-
muscle-group collaborative
rehabilitation training can be realized, and the rehabilitation efficiency and the control precision are remarkably improved.