STM32-based intelligent rehabilitation bed and control circuit
Through the design of the STM32 intelligent rehabilitation bed, combined with a variety of sensors and automation modules, the problem of monitoring neglect of elderly and disabled patients when they are bedridden for a long time is solved, automatic monitoring and response are realized, and the patient's safety and quality of life are improved.
Patent Information
- Application Number
- CN202410884896.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-09-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Elderly and disabled patients are prone to bed sores when they are bedridden for a long time, and due to inevitable neglect by guardians, they are unable to call medical staff or relieve themselves in time, resulting in aggravation of the condition. An intelligent rehabilitation bed system that can monitor and automatically respond is needed.
An intelligent rehabilitation bed based on STM32 is designed, which integrates video monitoring, automatic dressing change call, voice button collaborative control of posture adjustment, temperature adjustment, monitoring of basic vital signs and convenient excretion functions. It is controlled by the STM32F103C8T6 microcontroller and combined with gravity detection. , heart rate and blood oxygen detection, Bluetooth communication, voice recognition, OLED display and motor drive modules to achieve automatic monitoring and response.
The gravity sensor is used to detect the end of infusion and issue an early warning. The temperature is adjusted to keep the bed environment comfortable. Voice and button control are used to adjust the posture of the rehabilitation bed. Heart rate and blood oxygen detection are used to understand the patient's condition. Video monitoring and button control realize excretion without getting out of bed, improving the efficiency of the elderly and disabled patients. improve patient safety and quality of life.
Smart Images

Figure CN118680773A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of rehabilitation beds, and in particular to an intelligent rehabilitation bed and a control circuit based on STM32. Background Art
[0002] Rehabilitation beds are important tools to help elderly and disabled patients better undergo medical rehabilitation. They play an important role in improving the quality of life of elderly and disabled patients during hospitalization and promoting rehabilitation medicine. Elderly and disabled patients who stay in bed for a long time without adjusting their posture are prone to bedsores. They also need round-the-clock monitoring for their daily basic life, but guardians inevitably ignore some problems due to various reasons. In order to prevent elderly and disabled patients from aggravating their condition due to difficulty turning over, no one to monitor them, inability to call medical staff in time, and inability to solve problems such as excretion in time, and to improve the self-confidence of elderly and disabled patients, it is of great practical significance to develop a multifunctional intelligent rehabilitation bed control system that can integrate video monitoring, automatic dressing call, voice button coordinated control of posture adjustment, temperature adjustment, monitoring of basic vital signs, and convenient excretion.
[0003] To this end, we propose an intelligent rehabilitation bed and control circuit based on STM32 to solve the above problems. Summary of the invention
[0004] The technical problem solved by the present invention is to provide an intelligent rehabilitation bed and a control circuit based on STM32.
[0005] To achieve the above object, the present invention provides the following technical solutions: an intelligent rehabilitation bed based on STM32, comprising a bed frame, a mattress, a headboard and a footboard, a bed guard board on one side of the bed frame, a railing on the other side of the bed frame, an infusion stand installed at the headboard, a Bluetooth communication module and a gravity detection module installed on the infusion stand, an integrated module installed on the headboard, the integrated module including a main control module, a voice recognition module and an OLED display module, a camera installed on the footboard, a button module on the bed guard board, a temperature detection and adjustment module on the mattress, and a heart rate and blood oxygen detection module on the railing;
[0006] The mattress is spliced together by a number of sub-modules, which are two independent and mutually movable head-raising mattresses, two independent and mutually movable leg-raising mattresses located on the bed surround, four turning-over mattresses that are respectively in movable contact with the two head-raising mattresses and the two leg-raising mattresses, a fixed mattress located in the gaps between the four turning-over mattresses, and an excretion mattress located in the middle of the fixed mattress, wherein the head-raising mattress, the leg-raising mattress, the turning-over mattress and the excretion mattress are all hinged to the bed frame, and the head-raising mattress, the leg-raising mattress and the turning-over mattress are each moved by a corresponding servo, the excretion mattress is moved by a corresponding motor, and the fixed mattress is fixed to the bed frame.
[0007] Furthermore, support pallets are provided on both sides of the bottom of the bed frame, and the support pallets are used to place the steering gear.
[0008] Furthermore, a support frame is provided in the middle of the bottom of the bed frame, the support frame is directly opposite to the excretion mattress, an excrement collection device is placed on the support frame, and an excretion hole is provided in the middle of the fixed mattress to accommodate the excretion mattress.
[0009] Furthermore, there are two excretion mattresses, forming a double-open form, and the support frame includes four vertical guide rails and two transverse guide rails. Each transverse guide rail slides between every two vertical guide rails. A support plate is installed between the two transverse guide rails. The support plate slides with the transverse guide rails through sliders. Both ends of each transverse guide rail are connected with a pull rope, and the four pull ropes are respectively connected to the two sides of the two excretion mattresses. Four guide devices are provided at the bottom of the bed frame, and each pull rope passes through the corresponding guide device. The guide device includes guide wheel 1 and guide wheel 2. Guide wheel 2 is located on the outside of the bottom of the bed frame, and guide wheel 1 is located at the bottom of the bed frame and close to the position of the excretion mattress.
[0010] Furthermore, each excretion mattress has extensions on both sides of the bottom, the upper end surfaces of the extensions are flush with the lower end surfaces of the excretion mattress, and the drawstrings are connected to the extensions.
[0011] Furthermore, a guardrail is placed on the support frame, the excrement collection device is inside the guardrail, the guardrail is a trapezoidal structure, and the guardrail includes two symmetrical vertical plates, four guard plates are installed between the tops of the two vertical plates, and the four guard plates form a rectangle.
[0012] Furthermore, a special-shaped card slot is provided on the top of the vertical plate, and a special-shaped card block is provided on the end of the guard plate, and the vertical plate and the guard plate are plugged in through the special-shaped card slot and the special-shaped card block.
[0013] Furthermore, among the two excretion mattresses, one is a trapezoidal structure and the other is a parallelogram structure, and the contact surface between the two excretion mattresses is an inclined surface.
[0014] Another object of the present invention is to provide a control circuit of an intelligent rehabilitation bed based on STM32, including an STM32F103C8T6 control chip, a voice recognition circuit, a gravity detection circuit, a temperature adjustment circuit, a Bluetooth communication circuit, a motor drive circuit, a heart rate and blood oxygen detection circuit, a posture adjustment button circuit, a voltage stabilizing circuit, a crystal oscillator circuit, a video monitoring circuit, a power switch and a device reset button and an excretion door switch circuit, an OLED display circuit, an excretion door motor drive circuit, a relay heating circuit and a relay insulation circuit.
[0015] The invention provides an STM32-based intelligent rehabilitation bed and control circuit, which can monitor the status of elderly and disabled patients and respond to their needs when the rehabilitation bed is in use. The system uses an STM32F103C8T6 single-chip microcomputer as the main control unit, uses a gravity sensor to measure the total weight of the hanging water solution, and once the weight is lower than the set value, it will trigger an early warning and send dressing change information to the nurse station through the Bluetooth communication circuit to avoid blood reflux due to the patient's rest and no one around to take care of him. The basic conditions of the elderly and disabled patients are monitored through the heart rate and blood oxygen detection module. In case of emergency, the Bluetooth communication module is used to warn, which is convenient for timely first aid. The eight servos of the intelligent rehabilitation bed are controlled by the voice recognition circuit or four buttons to coordinate and adjust the posture. The temperature of the rehabilitation bed is measured by the temperature detection module and compared with the set temperature. When the temperature is lower than the preset temperature, it is heated by the relay. When the preset temperature is reached, the heating relay stops working, and the second relay is turned on to keep warm. The overall state of the elderly and disabled patients and the changes in the surrounding environment can be monitored by video, and the motor can be controlled by the button to open the excretion door on the rehabilitation bed to excrete at any time without getting out of bed.
[0016] The beneficial effects of the present invention are as follows: the present invention provides an STM32-based intelligent rehabilitation bed and control circuit, which detects whether the infusion is completed through a gravity sensor, and promptly issues an early warning to the nurse station through Bluetooth when the infusion is completed, detects the temperature of the rehabilitation bed through a temperature sensor and adjusts and maintains it as required, adjusts the height of each part of the rehabilitation bed through voice and button control, realizes the functions of assisting turning over, raising the head, and raising the legs, understands the basic conditions of elderly and disabled patients through a heart rate and blood oxygen detection module and can perform video monitoring, and realizes timely excretion without getting out of bed through button control. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a schematic diagram of the overall structure of the present invention;
[0018] Figure 2 It is a schematic diagram of the structure of the pull rope and the guide device in the present invention;
[0019] Figure 3 This is a structural diagram of a bed frame in the present invention;
[0020] Figure 4 This is a schematic diagram of the structure of the excretion mattress in the present invention;
[0021] Figure 5 It is a schematic diagram of the enclosure structure in the present invention;
[0022] Figure 6 This is a schematic diagram of the top view of the neutral plate of the present invention;
[0023] Figure 7 It is a schematic diagram of the top view of the guardrail structure in the present invention;
[0024] Figure 8 It is a schematic diagram of the structure of the F1-F3 circuit in the present invention;
[0025] Fig. 9 It is a schematic diagram of the structure of the F4-F6 circuit in the present invention;
[0026] Fig.10 This is a schematic diagram of the circuit structure of F7-F9 in the present invention;
[0027] Fig.11 It is a schematic diagram of the structure of the F10-F13 circuit in the present invention;
[0028] Fig.12 This is a schematic diagram of the F14-F18 circuit structure in the present invention.
[0029] In the figure: 1. Head-up mattress; 2. Bluetooth communication module and gravity detection module; 3. Integrated module; 4. Camera; 5. Key module; 6. Excretion mattress; 8. Temperature detection and adjustment module; 9. Leg-lifting mattress; 10. Fixed mattress; 11. Turnover mattress; 12. Support tray; 13. Vertical guide rail; 14. Slider; 15. Horizontal guide rail; 16. Support plate; 18. Guide wheel one; 19. Guide wheel two; 20. Pull rope; 21. Extension; 22. Vertical plate; 23. Guard plate. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0031] like Figure 1-7 As shown, the present invention is an STM32-based intelligent rehabilitation bed, comprising
[0032] A bed frame, a mattress, a headboard and a footboard, one side of the bed frame has a bed guard board, the other side of the bed frame has a railing, an infusion stand is installed at the headboard, a Bluetooth communication module and a gravity detection module 2 are installed on the infusion stand, an integrated module 3 is installed on the headboard, the integrated module 3 includes a main control module, a voice recognition module and an OLED display module, a camera 4 is installed on the footboard, a button module 5 is provided on the bed guard board, a temperature detection and adjustment module 8 is provided on the mattress, and a heart rate and blood oxygen detection module is provided on the railing;
[0033] The mattress is composed of several sub-modules, which are two independent and mutually movable head-raising mattresses 1, two independent and mutually movable leg-raising mattresses 9 located on the bed periphery, four turning-over mattresses 11 respectively in movable contact with the two head-raising mattresses 1 and the two leg-raising mattresses 9, a fixed mattress 10 located in the gaps between the four turning-over mattresses 11, and an excretion mattress 6 located in the middle of the fixed mattress 10, wherein the head-raising mattress 1, the leg-raising mattress 9, the turning-over mattress 11 and the excretion mattress 6 are all hinged to the bed frame, and the head-raising mattress 1, the leg-raising mattress 9, the turning-over mattress 11 are each moved by a corresponding servo, the excretion mattress 6 is moved by a corresponding motor, and the fixed mattress 10 is fixed to the bed frame.
[0034] The present invention also provides a control circuit system of an intelligent rehabilitation bed based on STM32, including an STM32F103C8T6 control chip, a voice recognition circuit, a gravity detection circuit, a temperature adjustment circuit, a Bluetooth communication circuit, a motor drive circuit, a heart rate and blood oxygen detection circuit, a posture adjustment button circuit, a voltage stabilizing circuit, a crystal oscillator circuit, a video monitoring circuit, a power switch and a device reset button and an excretion door switch circuit, an OLED display circuit, an excretion door motor drive circuit, a relay heating circuit and a relay insulation circuit, as shown in the following figure: Figure 8-12 .
[0035] exist Figure 8-12 Among them, F1 is the STM32F103C8T6 main control chip, F2 is the gravity detection circuit, F3 and F5 are Bluetooth communication circuits, F4 is the heart rate and blood oxygen detection circuit, F6 is the temperature detection circuit, F7 is the head and leg posture adjustment elevator servo, F8 is the left and right turning power posture adjustment elevator servo, F9 is the voice recognition circuit, F10 is the posture adjustment button circuit, F11 is the voltage stabilization circuit, F12 is the crystal oscillator circuit, F13 is the video monitoring circuit, F14 is the power switch, device reset button and excretion door switch circuit, F15 is the OLED display circuit, F16 is the excretion door motor drive circuit, F17 is the relay heating circuit, and F18 is the relay insulation circuit. Figure 8-12In the circuit diagram shown, U1 is the STM32F103C8T6 control chip, U2 is the HX711 gravity detection module, U3 and U16 are both HC-05 Bluetooth communication modules, U4-U7 are 4 leg-lifting and head-up elevator servos, U8 is the RT9161 voltage regulator module, U9-U12 are both DS18B20 temperature detection modules, U13 and U14 are video monitoring modules, U15 is the SU-03T voice recognition module, U17 is the L9110S motor driver module, U18 is the MAX30102 heart rate and blood oxygen detection module, and U19 is the OLED Display module, U20-U23 are both left and right turning power elevator servos, RCWL-9183 voltage regulator chip, P1 is gravity sensor interface, P2 is heart rate blood oxygen sensor interface, V1 is voltage conversion interface, SW1-SW4 are turning power, head and foot lifting position adjustment buttons, SW5 is system reset switch, SW6 is excretion door switch, JP1 is motor, Q1-Q2 are transistors, D1-D2 are diodes, R1-R54 are resistors, C1-C25 are capacitors, L1-L2 are inductors, SPK1 is speaker, H1 is heater, H2 is incubator;
[0036] PB2, PB3, PB4, and PA10 of the main control chip STM32F103C8T6 are connected to the DQ interface of the DS18B20 temperature sensor, PB10 is connected to the DOUT interface of the HX711 gravity sensor, PA5 and PA6 are connected to the IB and IA interfaces of the L9110S motor drive, PB8, PB9, PA12, and PA13 are connected to the RXD and TXD of the two HC-05 Bluetooth communication modules, and PA8 and PB11 are connected to the SCL and S of the OLED display module interface. DA, PB5 and PB6 are connected to B7 and B6 of the SU-03T voice recognition module interface, PB13 and PB14 are connected to SCL and SDA of the MAX30102 heart rate and blood oxygen detection module interface, PB3 is connected to the excretion door switch button, PA14, PA15, PB14, PB15 are connected to the posture adjustment button, PB7 is connected to the heating relay, PA11 is connected to the insulation relay, PB0, PB1, PA7, PA9 are connected to the interface SI GNAL of the leg lift and head lift servo, PA0, PA1, PA2, PA3 are connected to the interface SI GNAL of the leg lift and head lift servo, PD0 and PD1 are connected to the two ends of the crystal oscillator X1, and PC15 and PC14 are connected to the two ends of the crystal oscillator X2.
[0037] After the STM32-based intelligent rehabilitation bed control system is started, the entire system is initialized, including initializing the temperature detection circuit, initializing the gravity detection circuit, initializing the voice recognition circuit, initializing the Bluetooth communication circuit, initializing the heart rate and blood oxygen detection circuit, initializing the OLED display, initializing the motor drive circuit, initializing the motor and servo, and initializing the main control chip. Then the whole system starts to run, the main control chip starts to work normally, the camera is turned on, and the temperature sensor circuit starts to detect the temperature of each part of the intelligent rehabilitation bed. When the temperature is lower than the set value, the heating circuit starts to adjust the temperature of the intelligent rehabilitation bed. When the temperature reaches the set value, the heating circuit is turned off and the insulation circuit is turned on. The gravity sensor circuit starts to detect the quality of the hanging medicine. When the quality is lower than the set value, the dressing change request is forwarded to the nurse through the Bluetooth circuit. The heart rate and blood oxygen detection circuit is turned on, and the basic physical condition of the elderly and disabled patients is monitored in real time through contact. In case of emergency, an early warning is immediately issued. When the elderly and disabled patients need to turn over, raise their heads and legs, the corresponding lifting operation can be performed by pressing buttons or voice control of the servo. The angle range is adjustable. When there is a need for excretion, press the excretion door button and the excretion door motor drive drives the motor to open the excretion door. Close the excretion door after use. When the intelligent rehabilitation bed is not in use, press the reset button to reset all operations. Specifically:
[0038] When the patient needs to raise his head, the servo corresponding to the head-raising mattress 1 is started, and the servo drives the head-raising mattress 1 to rotate until it reaches the angle required by the patient and stops. When the patient needs to raise his legs, the servo corresponding to the leg-raising mattress 9 is started, and the servo drives the leg-raising mattress 9 to rotate until it stops at a suitable angle. When the patient needs to turn over, if he needs to turn over to the left, the servo corresponding to the right turning mattress 11 is started, and the servo drives the turning mattress 11 to rotate. The turning mattress 11 drives the patient to turn sideways and complete the turning action. If he needs to turn over to the right, the servo corresponding to the left turning mattress 11 is started. The servo motor is sufficient. When the patient needs to defecate, the motor corresponding to the excretion mattress 6 is started (here, the two excretion mattresses 6 can be driven by one motor with a synchronous structure, or each can have one motor, and the two motors are connected in series. This part is described as prior art. Therefore, the driving of the excretion mattress 6 is not described in detail in this case). The motor drives the two excretion mattresses 6 to rotate in opposite directions until the excretion mattresses 6 are flipped to the bottom of the bed frame, exposing the excretion hole. The patient can defecate from the excretion hole, and the excrement falls from the excretion hole into the excrement collection device below.
[0039] In the above, in order to prevent excrement from splashing around during excretion, when the excretion mattress 6 is opened, the excretion mattress 6 drives the transverse guide rail 15 and the support plate 16 on the transverse guide rail 15 to rise through the pull rope 20, and the guardrail on the support plate 16 and the excrement collecting device in the guardrail are also rising, and the top of the guardrail enters the excretion hole, that is, the four guard plates 23 are attached to the excretion hole to prevent the mattress from being soiled, and the four guard plates 23 can be removed.
[0040] Among them, one of the two excretion mattresses 6 is a trapezoidal structure and the other is a parallelogram structure. The contact surface between the two excretion mattresses 6 is an inclined surface, so that the excretion mattress 6 with the trapezoidal structure is opened first, that is, the two excretion mattresses 6 are opened staggered, so as to open smoothly.
[0041] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. An intelligent rehabilitation bed based on STM32, comprising a bed frame, a mattress, a headboard and a footboard, one side of the bed frame is provided with a bed guard board, the other side of the bed frame is provided with a railing, and an infusion stand is installed at the headboard. Features: The infusion stand is equipped with a Bluetooth communication module and a gravity detection module (2); the headboard is equipped with an integrated module (3), the integrated module (3) includes a main control module, a voice recognition module and an OLED display module; the footboard is equipped with a camera (4); the bed surround is equipped with a button module (5); the mattress is equipped with a temperature detection and adjustment module (8); and the handrail is equipped with a heart rate and blood oxygen detection module; The mattress is composed of a plurality of submodules, which are respectively two head-raising mattresses (1) which are independent and in movable contact with each other, two leg-raising mattresses (9) which are independent and in movable contact with each other and are located on the bed periphery, four turning-over mattresses (11) which are in movable contact with the two head-raising mattresses (1) and the two leg-raising mattresses (9), a fixed mattress (10) located in the gaps between the four turning-over mattresses (11), and an excretion mattress (6) located in the middle of the fixed mattress (10), wherein the head-raising mattress (1), the leg-raising mattress (9), the turning-over mattress (11) and the excretion mattress (6) are all hinged to the bed frame, and the head-raising mattress (1), the leg-raising mattress (9) and the turning-over mattress (11) are each moved by a corresponding servo, the excretion mattress (6) is moved by a corresponding motor, and the fixed mattress (10) is fixed to the bed frame.
2. According to the STM32-based intelligent rehabilitation bed according to claim 1, Features: Support plates (12) are provided on both sides of the bottom of the bed frame, and the support plates (12) are used to place the steering gear.
3. According to the STM32-based intelligent rehabilitation bed according to claim 1, Features: A support frame is provided at the middle of the bottom of the bed frame, the support frame is directly opposite to the excretion mattress (6), an excrement collection device is placed on the support frame, and an excretion hole is provided at the middle of the fixed mattress (10) to accommodate the excretion mattress (6).
4. According to the STM32-based intelligent rehabilitation bed according to claim 3, Features: The excretion mattress (6) is provided with two, forming a double-opening form, the support frame comprises four vertical guide rails (13) and two transverse guide rails (15), each transverse guide rail (15) slides between each two vertical guide rails (13), a support plate (16) is installed between the two transverse guide rails (15), the support plate (16) slides with the transverse guide rail (15) through a slider (14), both ends of each transverse guide rail (15) are connected with a pull rope (20), the four pull ropes (20) are respectively connected to the two sides of the two excretion mattresses (6), the bottom of the bed frame is provided with four guide devices, each pull rope (20) passes through the corresponding guide device, the guide device comprises a guide wheel 1 (18) and a guide wheel 2 (19), the guide wheel 2 (19) is located at the outside of the bottom of the bed frame, and the guide wheel 1 (18) is located at the bottom of the bed frame and close to the excretion mattress (6).
5. According to the STM32-based intelligent rehabilitation bed of claim 4, Features: Each excretion mattress (6) has an extension part (21) on both sides of the bottom, the upper end surface of the extension part (21) is flush with the lower end surface of the excretion mattress (6), and the pull rope (20) is connected to the extension part (21).
6. The STM32-based intelligent rehabilitation bed according to any one of claims 3 or 4, Features: A guardrail is placed on the support frame, and the excrement collection device is inside the guardrail. The guardrail is a trapezoidal structure, and comprises two symmetrical vertical plates (22). Four guard plates (23) are installed between the tops of the two vertical plates (22), and the four guard plates (23) form a rectangle.
7. The STM32-based intelligent rehabilitation bed according to claim 6, Features: The top of the vertical plate (22) is provided with a special-shaped card slot, the end of the guard plate (23) is provided with a special-shaped card block, and the vertical plate (22) and the guard plate (23) are plugged in through the special-shaped card slot and the special-shaped card block.
8. The STM32-based intelligent rehabilitation bed according to claim 4, Features: One of the two excretion mattresses (6) is a trapezoidal structure, and the other is a parallelogram structure; the contact surface between the two excretion mattresses (6) is an inclined surface.
9. The control circuit of the STM32-based intelligent rehabilitation bed according to claim 1, Features: It includes STM32F103C8T6 control chip, voice recognition circuit, gravity detection circuit, temperature adjustment circuit, Bluetooth communication circuit, motor drive circuit, heart rate and blood oxygen detection circuit, posture adjustment button circuit, voltage stabilization circuit, crystal oscillator circuit, video monitoring circuit, power switch and device reset button and excretion door switch circuit, OLED display circuit, excretion door motor drive circuit, relay heating circuit and relay insulation circuit.
