Control system and method of traditional Chinese medicine bionic massage device for rehabilitation traction bed
By designing a lumbar massage device on the rehabilitation traction bed, combined with hydraulic and motor drives, the traction force and amplitude are adjusted, solving the problem of poor treatment effect of lumbar disc herniation in the existing technology, and providing efficient and personalized traditional Chinese medicine bionic massage treatment. , reducing treatment costs and patient suffering.
Patent Information
- Application Number
- CN202410696282.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-27
AI Technical Summary
The existing rehabilitation traction bed is difficult to achieve personalized traction control for patients with lumbar disc herniation, resulting in poor treatment effects, high surgical treatment costs, long recovery period, and lack of efficient and intelligent equipment for non-surgical massage methods.
A traditional Chinese medicine bionic massage device for rehabilitation traction bed is designed, including lumbar vertebra pushing subsystem, frequency amplitude adjustment subsystem and communication control subsystem. The traction force and amplitude are adjusted through hydraulic drive and motor drive, combined with the host computer. Human-computer interaction and data processing enable combined treatment of lumbar traction and massage.
The device can achieve precise adjustment of traction force and amplitude, provide a variety of traditional Chinese medicine bionic massage techniques, improve the efficiency and bionic degree of rehabilitation training, reduce treatment costs, and reduce patient pain.
Smart Images

Figure CN118697607A
Abstract
Description
Technical Field
[0001] The invention belongs to the electrical technology field of a traditional Chinese medicine bionic massage device, and in particular relates to a control system and method of a traditional Chinese medicine bionic massage device for a rehabilitation traction bed. Background Art
[0002] In recent years, the number of patients with lumbar disc herniation has increased year by year, and the patient population even covers the old, middle-aged and young generations. Better and more effective intelligent rehabilitation traction equipment is urgently needed. Although lumbar disc herniation can also be treated by surgery, the cost of surgery is high, the recovery period is long, and postoperative rehabilitation requires more manpower and material resources. Non-surgical traction massage has a comparable effect to surgery, reduces the pain of surgery for patients, and is relatively low in cost. Therefore, it is the massage method currently being studied.
[0003] Clinically, since the symptoms of lumbar disc herniation are different for each patient, targeted massage is required. Therefore, it is very important to control the traction force.
[0004] Therefore, it is urgent to propose a control system and method for a traditional Chinese medicine bionic massage device for a rehabilitation traction bed. Summary of the invention
[0005] In order to solve the above technical problems, the present invention proposes a control system and method for a traditional Chinese medicine bionic massage device for a rehabilitation traction bed, which solves the problem that the existing rehabilitation traction bed used in clinical practice can realize the traditional Chinese medicine bionic massage function, realizes the adjustable traction force and closed-loop control of the device, and better realizes the combined treatment of lumbar traction and lumbar massage.
[0006] To achieve the above object, the present invention provides a traditional Chinese medicine bionic massage device for a rehabilitation traction bed, comprising: a lumbar vertebra pushing subsystem, a frequency amplitude adjustment subsystem, a communication control subsystem and a host computer;
[0007] The lumbar vertebra pushing subsystem includes a pushing frame, a control and adjustment base assembly, a lumbar pushing adjustment mechanism movably connected to the adjustment base assembly, and a lumbar pushing assembly fixed to the lumbar pushing adjustment mechanism. Pushing massage modules are respectively installed on both sides of the lumbar pushing assembly. The pushing massage modules are driven by two sets of motors and control the frequency and amplitude of the pushing massage, and realize different degrees of traditional Chinese medicine bionic pushing massage techniques based on a hydraulic drive device.
[0008] The frequency and amplitude adjustment subsystem includes a frequency adjustment module and an amplitude adjustment module, and the frequency adjustment module and the amplitude adjustment module respectively adjust the frequency and amplitude of the push-up massage through the corresponding frequency adjustment circuit and amplitude adjustment circuit;
[0009] The communication control subsystem is used to realize the communication control between the lumbar vertebra pushing subsystem, the frequency amplitude adjustment subsystem and the host computer based on the RS485 communication protocol and the MODBUS communication protocol;
[0010] The host computer is used to provide a human-computer interaction interface and a host computer data processing interface.
[0011] Optionally, the component connection structure of the lumbar vertebra pushing subsystem includes: a first guide rail, a second guide rail parallel to and spaced from the first guide rail, and a slider slidably connected to the first guide rail and the second guide rail, a U-shaped fixing frame is fixed to the slider, a third guide rail is fixed to the bottom surface of the U-shaped fixing frame, and a lifting system is movably connected to the third guide rail;
[0012] The first guide rail and the second guide rail are fixed on the push-up machine frame; the push-up sponge in the waist push-up assembly is connected to the sliders on the first guide rail and the second guide rail and the waist push-up cylinder; the motor is installed between the slider connected to the first guide rail and the second guide rail and the U-shaped fixing frame connecting the three guide rails.
[0013] Optionally, the hydraulic drive device includes a hydraulic drive sub-device, and the hydraulic drive sub-device includes a valve body, a reversing valve, a valve core, a valve sleeve and a drive component;
[0014] The valve sleeve is arranged in the valve core channel of the valve body, the reversing valve is connected to the top of the valve body, the valve core is rotatably installed in the valve sleeve, and the driving component is connected to the valve core to drive the valve core to rotate, wherein:
[0015] There is a cavity between the valve core and the valve sleeve, the valve core is hollow inside, and at least one radial oil hole is arranged in the radial direction of the valve core, and the at least one radial oil hole is connected to the cavity;
[0016] The valve body is provided with an oil inlet channel, a valve core oil passage, an oil outlet hole, a reversing valve oil passage and an operating port channel, wherein the oil inlet channel includes an oil inlet port, and the oil inlet port is provided on the side of the valve body; the reversing valve oil passage and the valve core oil passage are both connected with the oil inlet channel, the reversing valve oil passage is connected to the reversing valve, and the valve core oil passage is connected to at least one radial oil hole of the valve core; the oil outlet hole is located below the valve sleeve; the operating port channel is connected with the reversing valve oil passage.
[0017] Optionally, the hydraulic drive device further includes a hydraulic control sub-device, which includes an oil tank, a hydraulic pump, a hydraulic pressure gauge, a first overflow valve, a first check valve and a second check valve for providing power to the reversing valve, a three-position four-way reversing valve installed on both sides of the valve body, and a hydraulic cylinder;
[0018] The oil inlet of the hydraulic pump is connected to the oil tank through an oil inlet pipe, and the oil outlet of the hydraulic pump is connected to the first relief valve, and the oil pressure output by the first relief valve is detected in real time based on the hydraulic pressure gauge;
[0019] The oil outlet hole of the first overflow valve is connected to the first one-way valve and the second one-way valve in two ways, so as to allocate hydraulic drive resources for the three-position four-way reversing valve and the hydraulic cylinder to move individually or in combination to complete the waist-lifting action.
[0020] Optionally, the hydraulic control sub-device further includes a second relief valve, an electro-hydraulic electric-controlled proportional valve, an electric-controlled relief valve, a first throttle valve and a second throttle valve, the three-position four-way reversing valve includes a first three-position four-way reversing valve and a second three-position four-way reversing valve, and the hydraulic cylinder includes a first hydraulic cylinder and a second hydraulic cylinder;
[0021] During the waist-pushing operation, the first one-way valve is connected to the second overflow valve, and the second overflow valve adjusts the total pressure of the waist-pushing action by adjusting the swing angle; the electro-hydraulic electric-controlled proportional valve is connected to the second one-way valve to control the oil pressure to make periodic pressure changes; then the first throttle valve and the second throttle valve adjust the oil flow, and then the first three-position four-way reversing valve and the second three-position four-way reversing valve control the oil to enter the first hydraulic cylinder and the second hydraulic cylinder from the direction of 1YA or 2YA or 3YA or 44YA, control the forward movement, reverse movement and stop of the first hydraulic cylinder and the second hydraulic cylinder, cooperate with the electric-controlled overflow valve to control the running direction and speed, and complete the up and down reciprocating waist-pushing action.
[0022] Optionally, the frequency adjustment circuit is used to output a PWM control signal through an STM32F103ZET6 microcontroller at a fixed time, and then a functional function is designed to achieve fixed PWM output, PWM duty cycle reduction and PWM duty cycle increase based on the functional function, and flexibly change the real-time value of PWM, thereby controlling the speed of the motor.
[0023] Optionally, the amplitude regulation circuit is used to construct an H-bridge circuit using dual relays, and use a ULN2803 Darlington transistor array to drive the relays to complete the control of the forward and reverse rotation of the motor.
[0024] Optionally, the host computer includes a control module and a display module;
[0025] The control module is used for PC-side software based on PyQt5. After entering the main interface, it communicates with the host computer through the RS485 communication protocol. After selecting the baud rate, it selects the massage mode, adjusts the frequency, amplitude, and unilateral or bilateral push-up massage;
[0026] The display module is used for the mobile terminal software based on Android, and displays the mode selection interface through the main interface, and displays various push-up massage modes and the specific parameter settings involved through the sub-interface.
[0027] The present invention also provides a control system of a traditional Chinese medicine bionic massage device for a rehabilitation traction bed. Based on the traditional Chinese medicine bionic massage device for a rehabilitation traction bed, the control system includes a hardware driver layer, a function module layer, a kernel and an application layer;
[0028] The hardware driver layer is used to perform bottom-level configuration of external devices based on the microcontroller;
[0029] The functional module layer is used to modularize the functions of the lumbar vertebra pushing subsystem, the frequency amplitude adjustment subsystem, the communication control subsystem and the host computer;
[0030] The application layer is used to call the relevant code of the functional module layer according to the specific functions that the massage device needs to realize, and complete the application design;
[0031] The kernel at least includes an API, a HAL library and a RT-THREAD.
[0032] The present invention also provides a control method of a traditional Chinese medicine bionic massage device for a rehabilitation traction bed, based on the control system of the traditional Chinese medicine bionic massage device for a rehabilitation traction bed, comprising the following steps:
[0033] The mainboard of the hardware driver layer is powered on, and the internal program begins to initialize the massage device and external devices. After the initialization is completed, the control instructions from the host computer are received through the RS485 communication protocol, and the control instructions are parsed, the massage mode is selected, and the lumbar vertebra push-up massage function, massage frequency amplitude adjustment and RS485 communication control are realized by calling the function modules of the function module layer.
[0034] Compared with the prior art, the present invention has the following advantages and technical effects:
[0035] The component connection structure of the lumbar vertebra pushing subsystem of the present invention enables the TCM bionic massage device to have the degree of freedom of displacement and spatial compensation of position, thus realizing a multifunctional lumbar pushing massage technique;
[0036] The device structure of the present invention can meet the requirements of building a liquid-electric hybrid control system. By means of bionic Chinese medicine treatment techniques, the massage techniques can be restored to the machine, providing a Chinese medicine bionic rehabilitation training platform for rehabilitation physicians.
[0037] The design of the TCM bionic massage device of the present invention enables the rehabilitation traction bed to realize the rehabilitation training of the lumbar spine in three-dimensional space, and can complete more complex TCM bionic massage techniques at the TCM level. The higher the bionic degree, the closer it is to the actual techniques.
[0038] The present invention regulates TCM bionic movements through the regulation of hydraulic valves and the PWM wave regulation method combined with PID algorithm, and can combine and simulate TCM techniques to achieve a variety of waist massage techniques;
[0039] The overall control system designed in cooperation with the host computer can quantify the top waist massage training, visualize the training process and facilitate real-time adjustment of the top waist massage. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0041] Figure 1 This is a control system architecture diagram of a traditional Chinese medicine bionic massage device for a rehabilitation traction bed according to an embodiment of the present invention;
[0042] Figure 2 It is a schematic flow chart of a control method of a traditional Chinese medicine bionic massage device for rehabilitation traction according to an embodiment of the present invention;
[0043] Figure 3 It is a structural schematic diagram of a hydraulic drive device of a traditional Chinese medicine bionic massage device according to an embodiment of the present invention;
[0044] Figure 4 A schematic diagram of a frequency adjustment circuit design according to an embodiment of the present invention;
[0045] Figure 5 A schematic diagram of an amplitude adjustment circuit design according to an embodiment of the present invention;
[0046] Figure 6 A schematic diagram of a frequency regulation function flow based on PWM speed regulation control according to an embodiment of the present invention;
[0047] Figure 7 It is a schematic diagram of the amplitude modulation function flow based on the H-bridge motor control circuit according to an embodiment of the present invention;
[0048] Figure 8 A mechanical physical diagram and a motion diagram of the waist pushing massage according to an embodiment of the present invention;
[0049] Fig. 9 The following are a control diagram and a flow chart of the waist pushing and resetting massage function according to an embodiment of the present invention, wherein (a) is a control diagram of the waist pushing and resetting massage function, and (b) is a flow chart of the waist pushing and resetting massage function;
[0050] Fig.10 It is a schematic diagram of the starting process of waist pushing and massaging based on RS485 communication network according to an embodiment of the present invention;
[0051] Fig.11 A schematic diagram of MODNUS-RTU communication message processing according to an embodiment of the present invention;
[0052] Fig.12 It is a schematic diagram of the waist pushing and massaging thread architecture based on the RT-Thread operating system according to an embodiment of the present invention;
[0053] Among them, 1. oil tank; 2. oil filter; 3. hydraulic pump; 4. first hydraulic pressure gauge; 5. first overflow valve; 6. second overflow valve; 7. second hydraulic pressure gauge; 8. first non-return valve; 9. second non-return valve; 10. electronically controlled proportional valve; 11. first throttle valve; 12. second throttle valve; 13. third throttle valve; 14. fourth throttle valve; 15. third hydraulic pressure gauge; 16. first three-position four-way reversing valve; 17. second three-position four-way reversing valve; 18. third three-position four-way reversing valve; 19. fourth three-position four-way reversing valve; 20. fifth three-position four-way reversing valve; 21. first hydraulic cylinder; 22. second hydraulic cylinder; 23. third hydraulic cylinder; 24. fourth hydraulic cylinder; 25. fifth hydraulic cylinder. DETAILED DESCRIPTION
[0054] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0055] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0056] Embodiment 1
[0057] This embodiment provides a control system and method for a traditional Chinese medicine bionic massage device for a rehabilitation traction bed. Figure 1 , Figure 1 This is a control system architecture diagram of a Chinese medicine bionic massage device for a rehabilitation traction bed in this embodiment. The control system architecture includes a hardware driver layer, a functional module layer, a kernel, and an application layer. In the hardware driver layer, the microcontroller performs bottom-level configurations for peripherals such as relays, motors, communications, and sensors. After the bottom-level configurations are set, each function is modularized, including an initialization module, a relay control module, a motor control module, a sensor data processing module, an RS485 communication module, and a MODBUS communication protocol part. In the application layer, the relevant code of the functional module layer is called according to the specific functions to be implemented to complete the application design. The device needs to realize multi-dimensional traction, bed posture data acquisition, and RS485 communication.
[0058] See attached Figure 2 , Figure 2 This is a flow chart of a control method of a TCM bionic massage device for rehabilitation traction of the present invention. After the hardware driver layer mainboard is powered on, the software is started, the internal program starts the initialization of the system and peripherals, the system is in working state, and the peripheral hardware driver is automatically configured. After the initialization is completed, the system is in a state of waiting for external control instructions. After receiving the instructions through RS485 communication, the instructions are parsed according to the communication protocol, and the function selection part is entered. There are four function options: setting multi-dimensional traction parameters, directly operating multi-dimensional traction in manual mode, collecting data, and resetting the device. After that, the function is confirmed and executed, and after the action is completed, the function execution completion instruction is sent to the upper computer.
[0059] A traditional Chinese medicine bionic massage device for a rehabilitation traction bed comprises a lumbar vertebra pushing subsystem, a frequency amplitude regulating subsystem, a communication control subsystem and a host computer.
[0060] The lumbar vertebra pushing subsystem includes a pushing frame, a control and adjustment base assembly, a lumbar adjustment mechanism movably connected to the adjustment base assembly, and a lumbar assembly fixed to the lumbar adjustment mechanism. The TCM bionic massage device of the rehabilitation traction bed can realize the movement of the pushing system. The two identical left and right pushing massage modules need to control two pairs of DC brushed motors to reproduce the TCM bionic movements. To ensure the safety of the device, the pushing massage module needs to reset the device after the treatment is completed, and a proximity switch is installed at the zero position to control the reset through the signal change of the proximity switch.
[0061] The control system includes a first guide rail, a second guide rail parallel to and spaced from the first guide rail, and a moving system of a slider slidably connected to the first and second guide rails; a U-shaped fixing frame is fixed on the slider, a third guide rail is fixed on the bottom surface of the U-shaped fixing frame, and a lifting system of the first and second sliders is movably connected on the third guide rail. The first and second guide rails are fixed on the push-up frame; the push-up sponge in the waist push-up assembly is connected to the slider on the first and second guide rails and the waist push-up cylinder; the motor module is installed between the slider connected to the first and second guide rails and the U-shaped fixing frame connecting the three guide rails.
[0062] Furthermore, the waist pushing and pushing massage module includes two elliptical waist pushing and pushing devices on the left and right sides, and its control system is composed of a main control board, a slave control board, a drive board, 2 DC motors, 2 motors, 2 reversing valves, 2 hydraulic cylinders, 4 proximity switches, two magnetic switches and 2 pressure sensors. The waist pushing and pushing massage module drives and controls the amplitude and frequency of the waist pushing and pushing structure through two sets of motors, controls the starting height of the rising unit through two hydraulic cylinders, and realizes a fast pushing and pushing action at a certain pushing and pushing height, completing the three therapies of fist tip point method, tremor method and single fist pressing method in traditional Chinese medicine bionic treatment.
[0063] Furthermore, the waist pushing and pushing massage module realizes different degrees of TCM bionic pushing and pushing massage techniques based on a hydraulic drive device. The three-position four-way solenoid valve of the hydraulic drive device has three working states, an oil circuit blocked state and two opposite passage states. The change of the working state is achieved by driving the solenoid valves on both sides of the valve body. In the hydraulic system, a three-position four-way solenoid reversing valve is used to change the direction of the oil circuit.
[0064] Furthermore, the hydraulic drive device includes a control module, which is connected to a tension and pressure sensor. The tension and pressure sensor feeds back measured data to the control module. The control module outputs sinusoidal pulse width modulation through PID control to control the rotation speed of the valve core to achieve different degrees of Chinese medicine bionic massage techniques.
[0065] The tension and pressure sensor in the waist pushing massage module is used to collect tension and pressure data during the massage process and feed it back to the control module in real time; the control module improves the control accuracy and stability through the PID control algorithm, controls the working state of the valve core motor, thereby adjusting the liquid pressure change to output sinusoidal pulse width modulation, and controls the rotation speed of the valve core to achieve different degrees of Chinese medicine bionic massage techniques.
[0066] Furthermore, the hydraulic drive device is provided with 4 PWM waves to control the vibration main motor to achieve an adjustable massage frequency of 2 to 5 Hz; 2 IO ports to control the motor frequency modulation to adjust the massage amplitude; and 4 IO ports to control the push-up hydraulic cylinder, that is, to change the state of the corresponding electromagnetic reversing valve.
[0067] Furthermore, the hydraulic drive device is provided with 3 groups of USART for testing codes, and RS485 communication mode is selected to complete interactive communication and reserved communication between the waist pushing and pushing massage module of the massage device and the host computer and the traction bed body.
[0068] Furthermore, the hydraulic drive device is provided with an IO port for monitoring the status of the magnetic switch and the Hall proximity switch. After the reset signal switch is triggered, the main control chip receives the switch signal and determines that the system is reset to ensure the safety of human-computer interaction during rehabilitation traction movement.
[0069] The main control chip in the massage push-up control module uses the STM32F103ZET6 microcontroller. The encoder mode of the microcontroller allocates four groups of special timer pins, and four GPIO pins are allocated, which are configured as input mode to receive proximity switch signals in real time. The 2-way IO port controls the motor frequency modulation to adjust the massage amplitude; the 4-way IO port controls the push-up hydraulic cylinder, which can change the state of the corresponding electromagnetic reversing valve.
[0070] As a preferred technical solution, the waist push-up massage module controls the vibration amplitude of the massage device by adjusting the amplitude of the auxiliary motor. The massage frequency is adjusted by the PWM speed regulation module to control the speed of the main motor in the massage push-up control module, thereby controlling the massage frequency. The PWM speed regulation module circuit adopts the internal circuit logic of L298 and can output a PWM signal with a duty ratio of 0 to 100%.
[0071] See attached Figure 3 , Figure 3 It is a structural schematic diagram of a hydraulic drive device of a traditional Chinese medicine bionic massage device.
[0072] The hydraulic drive device comprises a hydraulic drive sub-device, and the hydraulic drive sub-device comprises a valve body, a reversing valve, a valve core, a valve sleeve and a drive component.
[0073] The valve sleeve is arranged in the valve core channel of the valve body, the reversing valve is connected to the top of the valve body, and the valve core is rotatably installed in the valve sleeve; the driving component is connected to the valve core to drive the valve core to rotate, wherein:
[0074] There is a cavity between the valve core and the valve sleeve, the interior of the valve core is hollow, and at least one radial oil hole is arranged radially of the valve core, and the at least one oil hole is communicated with the cavity; an oil inlet channel, a valve core oil passage, an oil outlet hole, a reversing valve oil passage, and an action port channel are arranged in the valve body; the oil inlet channel includes an oil inlet, and the oil inlet is arranged on the side of the valve body; the reversing valve oil passage and the valve core oil passage are both communicated with the oil inlet channel, the reversing valve oil passage is connected to the reversing valve, and the valve core oil passage is connected to the at least one radial oil hole of the valve core; the oil outlet hole is located below the valve sleeve; the action port channel is communicated with the reversing valve oil passage, and action ports are respectively arranged at both ends of the action port channel, and the action port is configured to be connected with a hydraulic cylinder, wherein the first hydraulic cylinder 21 performs a right-side waist pushing and massaging action, and the second hydraulic cylinder 22 performs a left-side waist pushing and massaging action.
[0075] The hydraulic drive device also includes a hydraulic control sub-device, in which three-phase electricity is passed to the hydraulic pump 3, and the hydraulic pump 3 sucks oil from the oil tank 1 through the oil filter 2, and the first overflow valve 5 controls the total pressure of the system as a whole. The first throttle valve 11, the second throttle valve 12, the third throttle valve 13 and the fourth throttle valve 14 can manually control the opening size, change the flow of the first hydraulic cylinder 21, the second hydraulic cylinder 22, the third hydraulic cylinder 23 and the fourth hydraulic cylinder 24, and adjust the hydraulic cylinder action speed. The electric proportional valve 10 is adjusted by a pulse width modulation electrical signal (PWM) to control the pressure, flow and other parameters of the oil, and the pressure and displacement feedback signals are collected to achieve automatic and precise control. By changing the on-off power of the electromagnet to control the first three-position four-way reversing valve 16 and the second three-position four-way reversing valve 17 on both sides of the valve body, the on-off relationship of each main oil port on the valve body is changed to achieve the Chinese medicine bionic massage technique.
[0076] As a preferred technical solution, the first three-position four-way reversing valve 16 and the second three-position four-way reversing valve 17 realize that the electromagnets 1YA, 2YA, 3YA and 4YA of the electromagnetic reversing valves control the forward movement, reverse movement and stop of the first hydraulic cylinder 21 and the second hydraulic cylinder 22 by turning on and off their currents, and cooperate with the first overflow valve 5 to control the direction and speed of the hydraulic cylinder operation.
[0077] The hydraulic control sub-device is also used for the hydraulic pump and provides power to the reversing valve through the first overflow valve 5, the first hydraulic pressure gauge 4, the first check valve 8 and the second check valve 9. The oil inlet of the hydraulic pump 3 is connected to the oil tank 1 through the oil inlet pipe via the oil filter 2, and the oil in the oil tank 1 can be transported to the hydraulic pump 3 through the oil inlet pipe; the oil outlet of the hydraulic pump 3 is connected to the first overflow valve 5, and outputs a suitable oil pressure under the regulation of the first overflow valve 5; the first hydraulic pressure gauge 4 can detect the real-time oil pressure; the oil outlet of the first overflow valve 5 is connected to the first check valve 8 and the second check valve 9 in two ways, so as to better allocate hydraulic drive resources for the three-position four-way solenoid reversing valve and the hydraulic cylinder to move individually or in combination, wherein the three-position four-way solenoid reversing valve includes a first three-position four-way reversing valve 16, a second three-position four-way reversing valve 17, a third three-position four-way reversing valve 18, a fourth three-position four-way reversing valve 19 and a fifth three-position four-way reversing valve 20; the hydraulic cylinder includes a first hydraulic cylinder 21, a second hydraulic cylinder 22, a third hydraulic cylinder 23, a fourth hydraulic cylinder 24 and a fifth hydraulic cylinder 25.
[0078] During the waist-pushing action, the first one-way valve 8 is connected to the second overflow valve 6, the second hydraulic pressure gauge 7 can detect the real-time oil pressure, the second overflow valve 6 adjusts the total pressure of the swing angle and rotation waist-pushing action, the oil pressure changes periodically through the electronically controlled proportional valve 10, the third hydraulic pressure gauge 15 can detect the real-time oil pressure, and after the flow is adjusted by the first throttle valve 11 and the second throttle valve 12, the first three-position four-way reversing valve 16 and the second three-position four-way reversing valve 17 control the 1YA or 2YA or 3YA or 4YA direction to enter the first hydraulic cylinder 21, and the second hydraulic cylinder 22 is connected to the actuator to complete the up and down reciprocating waist-pushing action.
[0079] After the flow is adjusted by the third throttle valve 13 and the fourth throttle valve 14, the third three-position four-way reversing valve 18 and the fourth three-position four-way reversing valve 19 control the direction of 5YA or 6YA or 7YA or 8YA to enter the third hydraulic cylinder 23 and the fourth hydraulic cylinder 24 connected to the actuator to complete the rotation and swing angle actions respectively. The fifth hydraulic cylinder 25 is responsible for the straight horizontal traction action.
[0080] The frequency-amplitude regulating subsystem comprises a frequency regulating module and an amplitude regulating module, and the frequency regulating module and the amplitude regulating module respectively regulate the frequency and amplitude of the pushing-up massage through corresponding frequency regulating circuits and amplitude regulating circuits.
[0081] See attached Figure 4 , Attachment Figure 6 , Figure 4 This is a schematic diagram of the frequency adjustment circuit design of a waist pushing and massaging module of a traditional Chinese medicine bionic massage device for a rehabilitation traction bed in this embodiment. Figure 6 It is a flow chart of the frequency modulation function based on PWM speed control in the frequency regulation circuit design. The hardware circuit design of this embodiment mainly consists of a DC / DC step-down circuit, an RS485 communication circuit, a USART communication, a three-wire proximity switch circuit, a two-wire proximity switch circuit, a magnetic switch circuit, a Darlington drive circuit, a PWM motor speed regulation circuit and an STM32F103ZET6 minimum system. The drive voltage is adjusted by PWM control to make the DC motor rotate at the desired speed. The drive circuit scheme of the brushed DC motor is an H-bridge drive circuit. A half-bridge drive chip and a MOSFET are selected to build the drive circuit. Among them, the half-bridge drive chip is EG2104S, which is dedicated to driving MOS tubes, and the withstand voltage can reach 600V. The suspension drive power supply structure is adopted to simplify the drive power supply design. Two EG2104s are used to drive four MOS tubes to form an H-bridge circuit. An optocoupler isolation circuit is added between the main control and the drive circuit. The use of a high-speed optocoupler can not only ensure the normal output of PWM, but also enhance the safety of the circuit.
[0082] The control method of frequency-modulated motor is PWM speed regulation. The STM32F103ZET6 microcontroller can output PWM control signals by configuring the on-chip timer to achieve adjustable motor speed. Then enable the preload register and timer to output PWM signals. According to the actual control function requirements, the function function is designed to achieve three functions: fixed PWM output, PWM duty cycle reduction, and PWM duty cycle increase. The real-time value of PWM can be flexibly changed to control the speed of the motor.
[0083] See attached Figure 5 , Attachment Figure 7 , Figure 5 This is a schematic diagram of the amplitude regulation circuit design of a traditional Chinese medicine bionic massage device for a rehabilitation traction bed in this embodiment. Figure 7 This is a flow chart of the amplitude modulation function based on the H-bridge motor control circuit. The principle of waist push-up massage is to drive the crank slider mechanism to move, thereby simulating the massage process under traditional Chinese medicine techniques and adjusting the push-up amplitude, that is, the amplitude. Therefore, the eccentricity motor is installed in the lead screw, and the position of the internal slider is changed by adjusting the eccentricity, driving the lead screw to rotate, changing the eccentricity, and driving the slider to move. By adjusting the amplitude through the eccentricity motor, there is no need to adjust the speed of the motor. In order to simplify the control and enhance the circuit stability, a dual relay is used to build an H-bridge circuit to complete the control of the motor forward and reverse rotation. The ULN2803 Darlington transistor array is used to increase the current output and drive the relay.
[0084] Regarding the frequency modulation and amplitude modulation process of the above functions, the frequency modulation is to adjust the frequency of the push-top massage by 0 to 5 Hz, and the amplitude modulation refers to adjusting the amplitude of the push-top massage. When the amplitude is different, the squeezing force will also change accordingly.
[0085] See attached Figure 8 , Figure 8 This is a mechanical physical diagram and a motion diagram of the waist pushing massage of this embodiment. Figure 8 The figure shows a movement cycle of the push-up. The shorter the movement cycle, the faster the massage frequency. The amplitude is adjusted by adjusting the size of r. It is obvious from the figure that the maximum displacement of the push-up is D = 2r. The actual adjustment is the control of the frequency modulation motor and the amplitude modulation motor. The combination of the two can achieve a variety of massage actions.
[0086] A Chinese medicine bionic massage device for a rehabilitation traction bed also includes: a host computer. The waist push-up massage module is based on PyQt to develop a host computer, and the host computer system can provide a doctor-patient friendly human-computer interaction interface and host computer data processing, and the host computer system is divided into a main interface and a sub-interface.
[0087] The main interface of the host computer system is a mode selection interface, and the sub-interface of the host computer system includes various traction mode interfaces and push-up massage mode interface specific parameter settings. In the manual mode of the host computer system sub-interface, the action of the remote control device can be directly controlled, and the amplitude and frequency of the massage can be set in the push-up massage mode to customize the massage mode.
[0088] like Fig.10 As shown, this embodiment completes the initialization configuration of the motor drive, the control pin and the code configuration of the control method through the design of the upper-level software system; turns on the built-in USART communication of the microcontroller; uses DMA to transmit high-speed data exchange; configures the timer to collect the motor running speed; and outputs high and low levels of IO to control the electromagnetic reversing valve. Each basic function is also split and written in a modular manner, including the initialization module, motor control module, proximity switch signal module, RS485 communication module and MODBUS communication protocol. Finally, the design of the application layer software includes calling the function module to realize the lumbar vertebra push-up function, massage frequency amplitude adjustment and RS485 communication control.
[0089] like Fig.11 As shown, this embodiment completes the communication between the upper and lower computers through the MODBUS communication protocol. After power-on initialization, the system continuously loops and waits for the upper computer to issue instructions. After receiving the instruction, the instruction is parsed according to the MODBUS communication protocol, the function code is obtained, and the instruction selection state is entered, including setting the left massage frequency, setting the left amplitude, setting the left top waist height, setting the right massage frequency, setting the right amplitude, and setting the right top waist height. Verify the parameters and instructions, execute the function after the verification is normal, and finally enter the instruction waiting state, waiting for the next instruction or ending the entire treatment.
[0090] like Fig.12 As shown, the control system software of this embodiment adds the RT-Thred operating system, and under the MIAN main function loop, four sub-threads are designed, namely RS485 communication thread, vibration frequency adjustment thread, vibration amplitude adjustment thread and push-up massage function execution thread.
[0091] In order to achieve accurate closed-loop control with the motor, the PID algorithm module and the motor control module code are designed accordingly in this embodiment. In closed-loop control, the acquisition accuracy of sensor data is very important, so the Kalman filter is performed on the collected data to reduce noise signal interference. The specific formula of Kalman filter is as follows:
[0092]
[0093] This formula is a priori state estimation, is the actual value of the current cycle, is the actual value of the previous cycle, a is the state transfer amount, buk To deal with noise. After the prior state estimation, the uncertainty of the prior estimation needs to be calculated. At this time, it is necessary to know the error between the prediction and the actual, p k is the forecast error of this period, q is the sum covariance, and the calculation formula is as follows:
[0094] p k =ap k-1 a+q
[0095] The results of the above prediction process are used to update the current process. The Kalman filter calculates a Kalman gain for each new measurement to determine the extent to which the input measurement affects the system state estimate. That is, when a real noisy measurement is used to update the state of the system, the Kalman gain will trust its current state estimate more than this new inaccurate information.
[0096] g k =p k h / (hp k h+r)
[0097]
[0098] Among them, g k is the Kalman gain, r is the measurement noise u k The average value of .
[0099] Attached Fig. 9 This is the circuit diagram of the proximity switch. In order to achieve motor reset and prevent motor stalling, a two-wire proximity switch is installed at the zero position of the amplitude modulation module. When the motor drives the slider to reset, the slider approaches the zero position, triggering the proximity switch and stopping the motor immediately. The two-wire proximity switch cannot be used directly and will always maintain a weak current. A differential amplifier circuit needs to be added to eliminate interference current so that the microcontroller can correctly identify the working status of the proximity switch.
[0100] The interface design of the host computer was initially designed to better adapt to the overall system. By visualizing the training process, the control system can be monitored in real time, which is convenient for serving rehabilitation physicians to execute rehabilitation prescriptions. The host computer control module and display module are designed. The control module designs the PC control software based on PyQt5. After entering the main interface, the device interface is identified from top to bottom. The lower computer communicates with the host computer through the RS485 bus. After selecting the baud rate, the communication is turned on and the massage mode is selected. The frequency, amplitude, and unilateral or bilateral push-top massage can be adjusted. The display module is equipped with Android mobile terminal software, which is written in JAVA language. The software architecture is MVP (Model-View-Presenter). This architecture avoids difficulties in the maintenance and expansion of mobile applications in terms of maintainability, readability, scalability and reconstruction of the application. The communication between the mobile terminal and the device is realized by the WIFI serial port server.
[0101] The number of devices and processing scales described here are used to simplify the description of the present invention, and the application, modification and variation of the present invention will be obvious to those skilled in the art.
[0102] Although the embodiments of the present invention have been disclosed as above, they are not limited to the applications listed in the specification and implementation modes. They can be fully applied to various fields suitable for the present invention. For those familiar with the art, additional modifications can be easily implemented. Therefore, without departing from the general concept defined by the claims and the scope of equivalents, the present invention is not limited to the specific details and the illustrations shown and described herein.
[0103] The above are only preferred specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A traditional Chinese medicine bionic massage device for a rehabilitation traction bed, characterized in that: include: Lumbar vertebra push-up subsystem, frequency amplitude adjustment subsystem, communication control subsystem and host computer; The lumbar vertebra pushing subsystem includes a pushing frame, a control and adjustment base assembly, a lumbar pushing adjustment mechanism movably connected to the adjustment base assembly, and a lumbar pushing assembly fixed to the lumbar pushing adjustment mechanism. Pushing massage modules are respectively installed on both sides of the lumbar pushing assembly. The pushing massage modules are driven by two sets of motors and control the frequency and amplitude of the pushing massage, and realize different degrees of traditional Chinese medicine bionic pushing massage techniques based on a hydraulic drive device. The frequency and amplitude adjustment subsystem includes a frequency adjustment module and an amplitude adjustment module, and the frequency adjustment module and the amplitude adjustment module respectively adjust the frequency and amplitude of the push-up massage through the corresponding frequency adjustment circuit and amplitude adjustment circuit; The communication control subsystem is used to realize the communication control between the lumbar vertebra pushing subsystem, the frequency amplitude adjustment subsystem and the host computer based on the RS485 communication protocol and the MODBUS communication protocol; The host computer is used to provide a human-computer interaction interface and a host computer data processing interface.
2. The Chinese medicine bionic massage device for a rehabilitation traction bed according to claim 1, characterized in that: The component connection structure of the lumbar vertebra pushing subsystem includes: a first guide rail, a second guide rail parallel to and spaced from the first guide rail, and a slider slidably connected to the first guide rail and the second guide rail, a U-shaped fixing frame is fixed on the slider, a third guide rail is fixed on the bottom surface of the U-shaped fixing frame, and a lifting system is movably connected to the third guide rail; The first guide rail and the second guide rail are fixed on the push-up machine frame; the push-up sponge in the waist push-up assembly is connected to the sliders on the first guide rail and the second guide rail and the waist push-up cylinder; the motor is installed between the slider connected to the first guide rail and the second guide rail and the U-shaped fixing frame connecting the three guide rails.
3. The Chinese medicine bionic massage device for a rehabilitation traction bed according to claim 1, characterized in that: The hydraulic drive device comprises a hydraulic drive sub-device, and the hydraulic drive sub-device comprises a valve body, a reversing valve, a valve core, a valve sleeve and a drive component; The valve sleeve is arranged in the valve core channel of the valve body, the reversing valve is connected to the top of the valve body, the valve core is rotatably installed in the valve sleeve, and the driving component is connected to the valve core to drive the valve core to rotate, wherein: There is a cavity between the valve core and the valve sleeve, the valve core is hollow inside, and at least one radial oil hole is arranged in the radial direction of the valve core, and the at least one radial oil hole is connected to the cavity; The valve body is provided with an oil inlet channel, a valve core oil passage, an oil outlet hole, a reversing valve oil passage and an operating port channel, wherein the oil inlet channel includes an oil inlet port, and the oil inlet port is provided on the side of the valve body; the reversing valve oil passage and the valve core oil passage are both connected with the oil inlet channel, the reversing valve oil passage is connected to the reversing valve, and the valve core oil passage is connected to at least one radial oil hole of the valve core; the oil outlet hole is located below the valve sleeve; the operating port channel is connected with the reversing valve oil passage.
4. The Chinese medicine bionic massage device for a rehabilitation traction bed according to claim 1, characterized in that: The hydraulic drive device also includes a hydraulic control sub-device, which includes an oil tank, a hydraulic pump, a hydraulic pressure gauge, a first overflow valve, a first check valve and a second check valve for providing power to the reversing valve, a three-position four-way reversing valve installed on both sides of the valve body, and a hydraulic cylinder; The oil inlet of the hydraulic pump is connected to the oil tank through an oil inlet pipe, and the oil outlet of the hydraulic pump is connected to the first relief valve, and the oil pressure output by the first relief valve is detected in real time based on the hydraulic pressure gauge; The oil outlet hole of the first overflow valve is connected to the first one-way valve and the second one-way valve in two ways, so as to allocate hydraulic drive resources for the three-position four-way reversing valve and the hydraulic cylinder to move individually or in combination to complete the waist-lifting action.
5. The Chinese medicine bionic massage device for a rehabilitation traction bed according to claim 4, characterized in that: The hydraulic control sub-device further includes a second relief valve, an electro-hydraulic electric-controlled proportional valve, an electric-controlled relief valve, a first throttle valve and a second throttle valve, the three-position four-way reversing valve includes a first three-position four-way reversing valve and a second three-position four-way reversing valve, and the hydraulic cylinder includes a first hydraulic cylinder and a second hydraulic cylinder; During the waist-pushing operation, the first one-way valve is connected to the second overflow valve, and the second overflow valve adjusts the total pressure of the waist-pushing action by adjusting the swing angle; the electro-hydraulic electric-controlled proportional valve is connected to the second one-way valve to control the oil pressure to make periodic pressure changes; then the first throttle valve and the second throttle valve adjust the oil flow, and then the first three-position four-way reversing valve and the second three-position four-way reversing valve control the oil to enter the first hydraulic cylinder and the second hydraulic cylinder from the direction of 1YA or 2YA or 3YA or 44YA, control the forward movement, reverse movement and stop of the first hydraulic cylinder and the second hydraulic cylinder, cooperate with the electric-controlled overflow valve to control the running direction and speed, and complete the up and down reciprocating waist-pushing action.
6. The Chinese medicine bionic massage device for a rehabilitation traction bed according to claim 1, characterized in that: The frequency adjustment circuit is used to output the PWM control signal regularly through the STM32F103ZET6 microcontroller, and then design a functional function, based on which fixed PWM output, PWM duty cycle reduction and PWM duty cycle increase are achieved, and the real-time value of PWM is flexibly changed, thereby controlling the speed of the motor.
7. The Chinese medicine bionic massage device for a rehabilitation traction bed according to claim 1, characterized in that: The amplitude adjustment circuit is used to build an H-bridge circuit using dual relays, and use a ULN2803 Darlington transistor array to drive the relays to complete the control of the forward and reverse rotation of the motor.
8. The Chinese medicine bionic massage device for a rehabilitation traction bed according to claim 1, characterized in that: The host computer includes a control module and a display module; The control module is used for PC-side software based on PyQt5. After entering the main interface, it communicates with the host computer through the RS485 communication protocol. After selecting the baud rate, it selects the massage mode, adjusts the frequency, amplitude, and unilateral or bilateral push-up massage; The display module is used for the mobile terminal software based on Android, and displays the mode selection interface through the main interface, and displays various push-up massage modes and the specific parameter settings involved through the sub-interface.
9. A control system for a traditional Chinese medicine bionic massage device for a rehabilitation traction bed, characterized in that: Based on the Chinese medicine bionic massage device for a rehabilitation traction bed according to any one of claims 1 to 8, the control system includes a hardware driver layer, a functional module layer, a kernel and an application layer; The hardware driver layer is used to perform bottom-level configuration of external devices based on the microcontroller; The functional module layer is used to modularize the functions of the lumbar vertebra pushing subsystem, the frequency amplitude adjustment subsystem, the communication control subsystem and the host computer; The application layer is used to call the relevant code of the functional module layer according to the specific functions that the massage device needs to realize, and complete the application design; The kernel at least includes an API, a HAL library and a RT-THREAD.
10. A control method of a traditional Chinese medicine bionic massage device for a rehabilitation traction bed, characterized in that: The control system of the traditional Chinese medicine bionic massage device for a rehabilitation traction bed according to claim 9 comprises the following steps: The mainboard of the hardware driver layer is powered on, and the internal program begins to initialize the massage device and external devices. After the initialization is completed, the control instructions from the host computer are received through the RS485 communication protocol, and the control instructions are parsed, the massage mode is selected, and the lumbar vertebra push-up massage function, massage frequency amplitude adjustment and RS485 communication control are realized by calling the function modules of the function module layer.
