{'fraction_non_alphanumeric': 0.02682882665379044, 'fraction_numerical': 0.014576291646547562, 'mean_word_length': 4.6192979481092085, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Analysis, Design, and Experimental Research of a Novel Wheelchair-Stretcher Assistive Robot

Featured Application: This novel robot could be applied in hospital, family and nursing home to help the elderly complete the basic daily activities and move patient autonomously. Abstract: Life care for disabled or semi-disabled elderly has become an increasingly common problem in society. In this paper, a novel wheelchair-stretcher assistive robot, which can meet the physiological needs of patients, is investigated and designed. The following tasks are conducted: (1) the mecanum wheel is adopted as the executive device of the walking mechanism, and its kinematics is analyzed in detail. (2) A five-link mechanism with single degree of freedom is proposed to realize the folding motion of the robot. Through the minimum conclusive area method, the optimal sizes of the armrests link and the side link are 507.9, and 332.5 mm, respectively. Based on the force analysis of the linkage mechanism, six torsion springs and RV (rotate vector) reduction motor are used as the driving device, which reduces the driving torque of the motor. (3) Based on the STM32 (STMicroelectronics 32-bits Microcontroller) chip, and combined with the theoretical analysis, the mechanical structure and the control system of the whole prototype are designed, and the feasibility of each module is verified by experimental research. The results confirm that the proposed robot has good performance, and that the control algorithm for the walking mechanism and the lifting mechanism are suitable.


Introduction
It is generally known that population aging is a global phenomenon because of the increasing levels of health care. In 2019, the number of people aged 65 years or over has become 703 million in the world, and it is estimated to double in 2050 [1,2]. With the aging population, there are more and more disabled and semi-disabled elderly people. Despite that bedridden elderly needs to go to the toilet in a wheelchair or go out for some fresh air, it is impossible to do on their own [3].
Researchers have done a lot of work on enabling the elderly to smoothly move between bed and wheelchair. For instance, bed chair assist robot "Resyone" is developed by Panasonic Company in Japan [4]; a bed-chair robot system "AgileLife", that can be docked with wheelchair, is made by NextHealth Company [5]; a multi-functional wheelchair of assisting the elderly to get up and down the bed is proposed by Harbin Engineering University [6]; an integrated multi-functional nursing bed for the bedridden elderly with weak body but normal intelligence is developed by Institute of Robotics of Beijing University of Aeronautics and Astronautics and Xinsong Robot Automation Co., Ltd. [7,8]. By changing the structure of the bed, the above studies enable patients to move between the bed and the wheelchair. There is also some research on the transport device from bed to stretcher, such as a patient transport device developed by SA.VIR Company in Italy [9], taxiing air cushion designed by Getinge Company in Sweden [10], "PowerNurse" transfer equipment invented by Astir Technologies Company in American [11], SE series medical electric transfer vehicle developed by Ningbo Kai Medical Technology Co., Ltd. [12], a transfer robot researched by the Institute of Health Equipment of the Academy of Military Medical Sciences of the Chinese people's Liberation Army [13], and intelligent transport robot for patients designed by Yanshan University [14].
In addition, some researchers use humanoid robots to study the transfer and transport of patients, such as lifting transfer robot "RIBA", invented by the Institute of Physical and Chemical Research in Japan [15], the wounded transfer robot BEAR developed by Vecna Company in the United States [16], and the humanoid back-hugging transfer robot "Baize" designed by Hebei University of Technology [17].
In summary, we can see that: (1) The technology of transport devices in moving patients from bed to stretcher, or from stretcher to bed, is more mature; but it is difficult to transform the stretcher to a wheelchair. (2) The research on the multi-function nursing bed mainly focuses on the change of bed structure.
There are two main forms; one is that the middle part of the bed structure is changed directly into a wheelchair; the other is that one side of the bed structure is transformed into a wheelchair. However, for these two methods, not only the sheets need to be customized, but also the mattress under the body needs to be moved with the patient which resulted in a deterioration of the patient's experience. (3) The research technology of humanoid assistive robot is advanced, but it is expensive and is far away from industrial application. (4) It has always been a difficult problem for patients to go to the toilet. Although the research institutions have put forward some ideas, they have not been able to successfully develop the right products.
Based on these, a low-cost and practical wheelchair-stretcher assistive robot is proposed. The robot could transform between wheelchair and stretcher. In wheelchair form, it could move autonomously, so that the elderly can easily complete the basic daily activities such as going to the bathroom and outdoors. In stretcher form, it could automatically adjust the height and dock with the bed. The robot can also work with transport device to move patient between bed and stretcher which promote comfort and prevent harm to patients.

Mechanical Structure Design of the Wheelchair-Stretcher Assistive Robot
The product is determined on the basis of user requirements and corresponding design standards. As wheelchair and stretcher belong to medical equipment, the designed robot should meet the corresponding medical device standards [18,19]. In order to ensure that the human-machineenvironment system can be in line with human movement habits, physiological habits and psychological habits, and to ensure that people can use robots to carry out all kinds of movements safely, comfortably and efficiently. Therefore, the theory of ergonomics is adapted as the other design standard [20,21]. Based on these two standards, the proposed robot is designed.
The robot consists of two main parts, namely, the design of the mechanical structure and the design of the control system. The design of the mechanical structure includes the design of the folding mechanism, the walking mechanism, the lifting mechanism and the toilet mechanism; the control system design includes the main control unit, drive unit, and remote control unit, as shown in Figure  1. The prototype is shown in Figure 2.

Kinematics Analysis and Structure Design of the Walking Mechanism
Kinematics play a crucial role in the selection of mechanism design parameters. First, the kinematics of walking mechanism is analyzed in detail.

Kinematics Analysis of the Walking Mechanism
The mecanum wheel, a kind of omnidirectional wheel, is selected for the design of the walking mechanism. The reason is that a combination of three or more mecanum wheels can move in any direction on a flat surface [22]. The typical four-wheel longitudinal symmetrical layout structure is applied in the walking mechanism, as shown in Figure 3. The global coordinate frame   xy o is assigned on the center of the walking platform and the velocity of the center point is described as  Assuming that the roller does not skid against the ground and the platform moves on the horizontal plane, the velocity v4 of the fourth wheel can be established by kinematics analysis: where R is the radius of the Mecanum wheel;  is the bias angle of the roller and the diagonal line in Figure 3 indicates the layout of the rollers in contact with the ground; 4 w is the angular velocity of the fourth wheel; 4 g v is velocity to perpendicular to the roller.
Meanwhile, in the global coordinate system, the following equation can be obtained, where 1 m , 2 m are horizontal and vertical distance from the center of the platform to the center of the wheel respectively. Combining Equations (1) and (2), we can obtain: Similarly, the kinematics expression from the first wheel to the three wheels can be computed; finally, the angular velocity vector w for the four wheels can be described as, The angular velocity is obtained by the transmission of the motor and the gearing; therefore, the corresponding relationship between the rotational velocity of the motor and the velocity of the platform can be obtained as follows, where m is the reduction ratio of the mecanum wheels.

Structure Design of the Walking Mechanism
Based on the computing of the walking mechanism and the layout arrangement of the mecanum wheel, the mechanical structure of the walking mechanism, which is installed on the support plate of the seat, is designed in detail and shown in Figures 4-6. The left part of the walking mechanism is similar to the right part. The mecanum wheel, which is mounted in the case of the walking wheel, is connected to NMRV040 turbine worm reducer by the synchronous wheel and the synchronous belt; and the motor is linked to the turbine worm reducer by P52HA planetary reducer. Therefore, the mecanum wheel could easily get power from the motor.

Kinematics Analysis and Parameters Optimization of the Folding Mechanism
Folding mechanism is the key to realizing the safe and smooth switching between wheelchair and stretcher. Analyzing the movement characteristic of the wheelchair-stretcher assistive robot and researching the references [23][24][25][26][27], the corresponding mechanism is proposed, as shown in Figure 7. There is one rack, five motion components and seven revolute joints in the mechanism. On the basis of the computing formula of the degree of freedom for the planar linkage mechanism [28], the following equation can be obtained: where n is the number of motion components, L P is the number of lower pair, and H P is the number of higher pair. Parallelogram structure composed by the calf support plate, foot pedal, connecting rod and the seat plate has no effect on the motion of the whole folding mechanism. Therefore, the motion of the quadrilateral structure, which consisted of the seat plate, side link 1, armrests and side link 2, is only analyzed.
In order to determine the structural size of the mechanism, the minimum conclusive area, which is the smallest plane region produced in a period for the motion of the folding mechanism, is used as the optimization function [29]. The movement diagram of the whole mechanism is shown in Figure  8. The two positions shown in Figure 8 are the limit positions of the movement of the planar linkage, and the region formed by the two limit positions is the smallest region of the planar linkage and can be described as: In this formula, area 1 S of ∆ADC is given as, where l2 = 290 mm is the length of side link 1. The optimal parameter l3 is the length of the armrests.
The optimal parameter l4 is the length of side link 2. And where l1 = 555 mm is the length of the seat plate. Area 3 S of sector CBC1 is written as: Area 4 S of trapezoid ABC1D1 is described as: In the meantime, the relationship expressions between 3 4 l l ， and   、 can be determined as follows, where α is the angle between the armrests link and the horizontal direction. β is the angle between the side link 2 and the vertical direction. ∠D1AB is the angle between the side link 2 in the limit position and the seat plate. Simplifying Equation (12), the following equations can be derived: Combining the Equations (8)- (13) into Equation (7), the expression for S can be obtained. Meanwhile, the condition that the mechanism has a crank can be determined as: The angles  ,  are set in the range 0 10    o and 0 10    o , respectively. Based on the Equation (7) and relationships (14), the change in S can be obtained when the parameters 3 l and 4 l change, as shown in Figure 9. Observing this figure, it can be found that the area S is the smallest and its value is 2.42 × 10 5 mm 2 when the value of the parameters l3, l4 are 507.9 mm, and 332.5 mm, respectively.

Figure 9.
Parameter optimization of the folding mechanism.

Force Analysis of the Folding Mechanism
The force research for the folding mechanism can provide a basis for the selection of the motor, as well as the setting, and optimization of the control parameters. In this section, force analysis is conducted in detail. The stress analysis diagram is shown in Figure 10. According to the stress analysis diagram, the force equation in x-axis direction can be established as, where Ax F is the force of the horizontal direction on fulcrum A, and Bx F is the force of the horizontal direction on fulcrum B.
In the meanwhile, the force equation in y-axis direction also can be expressed as, where Ay F is the force of the vertical direction on fulcrum A, By F is the force of the vertical direction on fulcrum B, 1 F is the force on the calf support plate, and 2 F is the force on the back plate.
So resultant moment on fulcrum A can be obtained as, where l5 is the length of the calf support plate, l6 is the length of the back plate, θ1 is the angle between the back plate and direction of x-axis, θ2 is the angle between the side link 2 and direction of x-axis, M is the torque of the motor, γ is the angle between the seat plate and the direction of x axis. Correspondingly, the resultant moment on the fulcrum B can be described as: In the folding mechanism process, the force applied at the center of the calf support plate can be equaled by the weight of human lower limbs and mechanism weight of this part; and the force applied at the center of the back plate can be equaled by the weight of the upper body and the mechanism weight in this part. According to the standards of ergonomics and adult body size in China [30,31], the values of parameters 5 l , 6 l , 1 F , 2 F are set as 490 mm, 510 mm, 300 N, and 600 N, respectively.
Through the force analysis of 4 l and 5 l , the resultant moment on point D can be obtained as: Through the force analysis of 2 l and 6 l , the resultant moment on point C can be obtained as: The following geometric relationships between 1  and 2  can be described as: Merging Equations (15)-(21) by using Matlab software to program, the torque M required by the folding mechanism can be solved as: It is found that the maximum torque is 162 N·m. If such a high output torque is chosen, the size and power of the motor are too big for the folding mechanism. It is necessary to add a booster device to the mechanical structure.

Driving Device Computation of the Folding Mechanism
According to the above analysis, the degree of freedom for the folding mechanism is 1, so only one driving motor is needed to complete the mechanical motion. It is proposed that 24 V DC gear motor is adopted as the main driving power, and the torsion spring group as the auxiliary driving power for the motion of the folding mechanism. Since the maximum torque of the gear motor is about 30 N·m, the torsion spring group needs to overcome all the remaining torques; therefore, the designed torsional spring group includes 6 torsional springs, each of which can withstand a maximum torque of 22 N·m and a maximum torsional angle m  = 90°.
According to the character of the load, the spring material is determined to be 60Si2MnA, elastic modulus E is 206 GPa, ultimate tensile strength σb is 1667 MPa, allowable bending stress [σb] is 1334 MPa.
Based on these parameters, the required spring steel diameter d can be calculated as, 1 3 32 where The stiff of the spring is expressed as: Similarly, the free length of the spring can be computed as where t = 6.5 mm.
According to the force analysis of the folding mechanism and the design analysis of the torsional spring, the torque required by the motor can be calculated as, According to the Equations (22), (25), and (27), the torque variation curve can be plotted, as shown in Figure 11. It is found that the torque of the motor is maximum in =57  o place and its value is =46 m T N·m. According to this parameter, the performance parameters of the worm gear reducer motor can be determined in shown in Table 1.  Through the above analysis and computing, the designed folding mechanism is composed of the foot pedal, the calf support plate, the seat plate and the back plate, as shown in Figure 12. These four sections are assembled together by the bolt and the hinge. All the components of the folding mechanism are shown in Figure 13, which is axonometric drawing.  . Axonometric view of folding mechanism; 1-the pipe structure of the back plate, 2support of the back plate, 3-connecting plate, 4-armrests, 5-backrest fitting, 6-cushion support, 7-leg fitting, 8-the pipe structure of the leg, 9-pedal connecting strip, 10-the pipe structure of the pedal, 11-the upper support plate of the seat, 12-the support plate in the seat side. Figure 14 is the back diagram of the folding mechanism. In Figure 14, the installation method and position of the six springs are pointed out, and the installation method of the worm gear and worm reducer motor and torsion spring is given.  Figure 14. Back mechanism diagram of the wheelchair-stretcher robot; 1-the support plate of the spring, 2-motor, 3-spring seat, 4-torsional spring, 5-Rubber cushion for the backrest.

Design of the Lifting Mehanism and Toilet Mechanism
When docking with the bed or the toilet, the height needs to be often adjusted; so the lifting mechanism is designed. Considering the docking demand in the family environment, the height of the lifting mechanism is the range 480 mm-680 mm. For safety, 24 V DC power is supplied. In the lifting process, considering the compact structure and the balance, linear actuators are arranged on both sides for pushing and two linear guideways on each side are equipped to realize the vertical lifting and ensure good parallelism between the two linear actuators. In order to realize the synchronous control of both sides, linear displacement sensor is used to control the real-time position. The design diagram of the whole mechanism is shown in Figures 15 and 16.  In order to achieve the patients or the elderly toilet, the push and pull mechanism is used. Firstly, the height of the seat plate is adjusted, and then the left pad and the right pad in the toilet mechanism are pulled to the sides to go to the toilet for the elderly. When the elderly finish the toilet, the left pad and the right pad are pushed to the original position. The movement diagram and design drawing for the toile mechanism are shown in Figures 17 and 18.  . The design drawing of the toilet mechanism; 1-the left pad, 2-the right pad, 3-back slide, 4-the right plate, 5-front slide, 6-the front sliding block, 7-the left plate.

Control System Design of the Wheelchair-Stretcher Assistive Robot
The control system of the wheelchair-stretcher assistive robot includes 4 motors for the walking mechanism, 2 linear actuators for toilet mechanism, 2 linear actuators for lifting mechanism, and 1 motor for folding mechanism and several sensors. The whole system is controlled by a remote control. The remote controller transmits instructions to the main control board, and the radio frequency board, connected to the main control board, receives signals and performs corresponding actions according to the control instructions. The hardware control block diagram of the whole system is shown in Figure 19.
Toilet mechanism control and folding mechanism control are relatively simple, both are openloop position control, which is not described here. The control of the walking mechanism and lifting mechanism involves the position feedback problem, and the control process is relatively complex. Therefore, a detailed analysis is made on these two parts.

Control of the Walking Mechanism
The walking mechanism mainly realizes six kinds of motions, which are forward, backward, left, right, turning both sides. The main control board transmits four PWM pulses respectively to control the walking mechanism. In order to ensure the accuracy of the moving process, the compound position control method is adopted to control six kinds of motion. The so-called composite motion adopts velocity control between two discrete position nodes and detects the position at the same time. The position error of this node is taken as part of the theoretical velocity control of the next node and the theoretical velocity is corrected. The control block diagram is shown in Figure 20. The velocity of the next node is:

Control of the Lifting Mechanism
The control block diagram of the lifting mechanism is shown in Figure 21. This part adopts the position closed-loop control, and the modified PWM value can be obtained through the transformation of real-time monitoring position information. The process is as follows: firstly, we assume that the same PWM values of the two linear actuators are given as, 1 2 = PWM PWM (30) where 1 PWM is the value of the linear actuator 1 L , 2 PWM is the value of the linear actuator, 2 L .
At time t , the output voltage values of the two electronic rulers are 1 U , 2 U . Since the output voltage of the linear displacement sensor is linearly related to the moving displacement, the moving displacement of the two electronic rulers can be described as, The velocity difference of the two linear actuators in time t can be computed as, where 1 V is the velocity of the linear actuator 1 L , 2 V is the velocity of the linear actuator 2 L .
The data of the linear actuator 1 L is used as the reference value, and the velocity of the linear actuator 2 L can be modified as: Since the velocity of the motor is directly proportional to the duty cycle, it can be described as, where K  is the assuming proportional coefficient,  is the duty cycle.
According to Equations (33) and (34), the duty cycle of the linear actuator 2 L can be modified as: The position closed-loop control for the lifting mechanism is conducted by the STM32 chip. So PWM pulse modulation mode and ADC mode of STM32 are used in the process of control program design, and duty cycle can be calculated by the following formula, where CCRx is comparison value, ARR is value of automatic reload register in the stm32 chip. So the modified duty cycle 2  of the linear actuator 2 L can be obtained as: According to the above analysis, the coordination control of the lifting mechanism can be completed.

Experimental Research of the Walking Mechanism
In order to evaluate the performance of the compound position control method and verify the correctness of the kinematic equations, experimental research of the walking mechanism is conducted. First of all, the design parameters of the walking mechanism are shown in Table 2.
The motion profile exhibits 1.0 m parallel motions along the y-axis of the global coordinate frame. In addition, the trajectory consists of acceleration for 4 s followed by deceleration for 4 s. The profile is formed by a 5th order polynomial equation, as shown in Figure 22a. Based on the profile, Equations (5) and (37), the theoretical curves for the velocity of the motor could be obtained, as shown in Figure 22b. The following conclusions can be drawn from the Figure 22b: (1) In the mobile process, the trajectories of the four motors for the mecanusm wheel are the same, which is identical to the theoretical analysis. (2) The maximum velocity of the motor is less than the rated velocity (4900 r/min ≈ 81.6 r/s) and the motion curve is suitable to the experimental requirements.
The simulation data is processed, and the corresponding binary files can be obtained. Then, the data are imported into the control system to control the robot's motion in the experimental environment under a normal position control method, which means position control without the feedback function) and compound position control method, as shown in Figure 23a. Data collection is conducted every 100 ms, so 80 data samples can be obtained during the whole movement (100 ms × 80 = 8 s). These data can be processed to obtain the real position of the robot under normal conditions and under composite position control, as shown in Figure 23b. Observing Figure 23b, the following conclusions could be obtained: (1) The waveform for the normal position control shows steady-state positioning error not only for the x-axis but also for the y-axis. On the contrary, the compound position control can achieve a successful result in no steady-state error. (2) In data node 80, the position of the robot for the compound position control is 995.6 mm and there is a 4.4 mm deviation from the theoretical value 1000 mm.
Based on the above experiment analysis, we can understand that the compound position method is not suitable for the precise control requirements, but it is enough for the control of the walking mechanism of the stretcher-wheel assistive robot as control accuracy is undemanding.

Experimental Research of the Folding Mechanism
The driving device of the folding mechanism is shown in Figure 24. In order to verify the reliability of the folding mechanism and the feasibility of the driving device, different weight experimenter is used for verification. First, the experimenters lay flat on the wheelchair-stretcher assistive robot, and then the folding mechanism is transformed, as shown in Figure 25. The whole moving process is stable and the mechanism folds smoothly, which indicates that the force of the torsion spring plays a role in balancing the weight of the equipment and the human body. Since the change of current reflects the change of force, the current equipment is used to test the change of motor current. The test curve is shown in Figure 26, and the following three conclusions can be drawn. (1) From the perspective of the curve, it is basically consistent with the variation law of the motor torque curve simulated in Figure 11, which verifies the correctness for the theoretical analysis of the driving device. (2) The rated current of the motor is 8.3 A. When the tester is 90 kg, the actual maximum current measured is 8.26 A, so the maximum carrying capacity of the whole equipment is 90 kg.

Experiment Research of the Lifting Mechanism and the Toilet Mechanism
(1) Experiment Research of the Lifting Mechanism The automatic lifting function experiment mainly tests the synchronization of the robot in the process of rising and fall on both sides. The experimental height is set in the range 0-100 mm; the curve is formed by the fifth order polynomial equation and the motion time is 8 s. The position and velocity curves of the lifting mechanism under the theoretical state can be obtained, as shown in Figure 27. The performance parameters of the milang electronic ruler and linear actuator are shown in Table 3. By comparing the parameters in Figure 27 and Table 3, it is found that the planned trajectory is within the range of motion.  The position close loop control method is used to control the motion of the lifting mechanism, and the output voltage of the milang electronic ruler could be measured by applying the A/D conversion function in the STM32 chip. The sampling time is 10 ms, and the average voltage is calculated by collecting 10 times of data. The position difference between linear actuator L1 and L2 can be obtained by the conversion of the average voltage, and the value of linear actuator L2 is modified. The time interval of each updating data value is 130 ms; therefore, in the process of the whole movement, a maximum of 61 data samples could be saved. The curves of the position and velocity are formed by using 61 data samples, as shown in Figure 28. Observing Figure 28, the following conclusions could be obtained: (1) The real position trajectories of the linear actuators L1 and L2 are stable and fluctuation is not obvious. The position close loop control strategy is suitable for the lifting mechanism. (2) To ensure that the position of the linear actuator L1, the velocity of the linear actuator L2 slightly larger than the velocity of the linear actuator L1.
In addition, tests also are conducted by multiple groups of passengers and the results show that the robot runs smoothly and passengers do not feel the deviation of movement as shown in Figure  29. It also indicates that the control algorithm of the lifting mechanism is in line with the design requirements. (2) Experiment research of the toilet mechanism The control of the toilet mechanism is relatively simple. In order to test its function, the current test method is used to detect its movement process. Firstly, passengers on the robot stand up by relying on the armrest, and then hold the open button on the remote control for the opening and closing of the toilet mechanism, as shown in Figure 30a,b.
In the process of moving, the current values of the left and right linear actuators of the toilet mechanism are recorded, and the corresponding experimental results as shown in Figure 30c. Observing Figure 30c, the following conclusions could be obtained: (1) Excepting for the instantaneous impulse current in the initial stage, the curve of the left and right linear actuators is smooth in the process of moving. (2) In the opening process of the toilet mechanism, the current increases gradually; in the closing process of the toilet mechanism, the current decreases gradually. The reason for this phenomenon is mainly the lengthening of the force arm of the linear actuator. (3) Due to machining and assembly errors, the friction force of the slide rail is increased; therefore the current curves of the left and right linear actuators do not coincide with each other in the process of moving.
So we know that the motion of the two pads is smooth and doesn't interfere with the handrail bracket, which verifies the design function can meet the requirements.

Experimental Research of Cooperating with Other Equipment
The robot is used together with the transfer equipment to test its docking ability, as shown in Figure 31.
First of all, the wheelchair-stretcher assistive robot is controlled by the remote control to move to the bedside, and then the height of the lifting mechanism is adjusted to achieve high docking with  the bed, as shown in Figure 31a. The transfer equipment is used to move the object from the bed to the wheelchair-stretcher assistive robot; when the object fully reaches the wheelchair-stretcher assistive robot, the transfer equipment is moved back to the bed, as shown in Figure 31b. The folding mechanism is used to transform the object from the lying position to the sitting position, as shown in Figure 31c. From the operation process in the figure, it can be seen that the transfer equipment can accurately move the object to the wheelchair-stretcher assistive robot without interference in the movement process, the docking is accurate, and the folding mechanism can also realize the automatic folding function.
(a) (b) (c) Figure 31. The movement process of the object from the bed to the wheelchair-stretcher assistive robot; (a) the transfer equipment carries the object to the wheel-stretcher assistive robot; (b) the object is moved onto the wheel-stretcher assistive robot and the transfer equipment return; (c) the robot changed from a stretcher to a wheelchair.

Conclusions
A novel wheelchair-stretcher assistive robot is analyzed, computed and designed in detail in this paper; finally, the following conclusions are obtained: (1) The kinematics equation and control equation of the walking mechanism are established, and the correctness of which is determined by theoretical calculation and practical experiment. (2) A five-link mechanism with single degree of freedom is proposed to realize the folding motion of the robot. The optimal design of the parameters of the mechanism is realized by using the minimum conclusive area method. By studying the force properties of the folding mechanism, the torsion spring and RV reduction motor are used as the driving device, the output torque of the motor is reduced, and the motion optimization and mechanical optimization of the folding mechanism are completed. (3) Combined with ergonomics, the mechanical structure design of four functional modules is completed. The movement of each module is verified by the experiment research. (4) Based on the STM32 chip, the control system of the whole prototype is achieved, and the synchronous control algorithm for the control of the lifting mechanism and the compound position control algorithm for the walking mechanism are applied. According to the experimental results, these algorithms can meet the motion requirements. Based on the current, the load capacity of the robot is determined as 90 kg.
In future research, we will reduce the weight of the equipment and improve its reliability. In addition, in the whole folding process, the joint of the human body is not concentric with that of the wheelchair stretcher assistant robot, which results in poor comfort of the patients, so these problems will be further studied in the follow-up work.