Disclosure of Invention
The invention aims to provide an intelligent bed system based on action intention recognition and a using method thereof, and the system enables an intelligent nursing bed to monitor the intention of a user to get up or lean on the body and automatically drives a motor to control the inclination and the descent of a bed plate so as to adjust the sleeping posture of a human body.
In order to achieve the purpose, the invention adopts the technical scheme that:
an intelligent bed system based on action intention recognition comprises a mechanical nursing bed main body, a pressure sensor module, an upper computer, a controller and a driver; the method is characterized in that:
the nursing bed main body comprises a bed frame, a bed plate, a plurality of electric push rods and a driver, wherein the bed plate is formed by seven movably connected spliced small bed plates arranged on the bed frame, the guardrails are fixed on the bed frame and distributed around the bed plate, the electric push rods drive each small bed plate to act, the electric push rods are connected with the driver, the driver is simultaneously connected with the controller, and the controller is connected with a pressure sensing module and an upper computer;
the bed plate comprises a first small bed plate, a second small bed plate, a third small bed plate, a fourth small bed plate, a fifth small bed plate, a sixth small bed plate and a seventh small bed plate, wherein the seventh small bed plate supports the part below the shank of a human body, the first small bed plate, the second small bed plate and the third small bed plate are arranged side by side in the left-to-right sequence to support the upper half part of the human body, the fourth small bed plate, the fifth small bed plate and the sixth small bed plate are arranged side by side in the left-to-right sequence to support the waist part to the thigh part of the human body, and the first small bed plate, the second small bed plate and the third small bed plate provide supporting force when a person has the intention of getting up; when a person has an intention to turn over to the left, the first small bed plate and the fourth small bed plate provide supporting force, when the person has an intention to turn over to the right, the third small bed plate and the sixth small bed plate provide supporting force, and the second small bed plate and the fifth small bed plate provide stable areas when the person turns over; the seventh small bed board is used for helping the user to lift the legs so as to carry out leg activities;
the pressure sensor module is used for acquiring pressure change data of a user lying in real time, and is paved on a first small bed board-sixth small bed board area by adopting a flexible pressure sensor array;
the controller is internally loaded with an intention recognition algorithm and is used for processing the acquired pressure value, analyzing and recognizing the pressure data of the bed surface when a user has an intention to rise and lie, sending an action intention signal of the human body to the driver, controlling the electric push rod of the corresponding part of the bed plate and displaying the size change of the real-time pressure signal on the upper computer;
the driver comprises a control unit and a boosting device, the control unit is communicated with the controller through a serial port, the control unit is connected with the electric push rod through the boosting device, and an action signal of the controller is sent to the control unit of the driver through the serial port;
the boosting device amplifies the action intention signal received by the control unit to enable the voltage value to meet the voltage working range of the electric push rod, the voltage input of different electric push rods is connected to the output of the boosting device, when the boosting device outputs positive voltage, the part corresponding to the bed board identified by the action intention acts, and when the output voltage of the boosting device is 0, the electric push rod stops acting.
The specific process of the intention recognition algorithm is as follows:
the method comprises the following detailed steps:
step one, state judgment:
under normal operation, a minimum pressure threshold value and an effective area threshold value of the lying are set, the upper computer collects data of the flexible pressure sensor in real time through the controller, if the collected pressure data are not larger than the minimum pressure threshold value of the lying, or the area of the pressure sensor with the minimum pressure of 10% is smaller than the effective area threshold value of the lying, the data are recorded as a state 1, at the moment, the data collection mode is used for collecting data in a low-frequency low-consumption mode, and a low-consumption dormant state is realized when no person is used or a person is in the non-lying state; otherwise, the acquired pressure data is greater than the minimum pressure threshold value of lying, and meanwhile, the area of the pressure sensor at the minimum pressure of 10% is not less than the effective area threshold value of lying, so that the situation that the user lies on the bed surface can be judged, the state is recorded as 2, and the data acquisition mode is adjusted to be the normal use mode;
secondly, positioning a lying area of a user:
performing Kalman filtering processing on the pressure sensor information acquired in the state 2; the signal after interference elimination constantly detects the pressure variation amplitude of the user in the state 2, and if the pressure variation amplitude is not more than 50% within 10s, the current pressure distribution state is set to be in a normal lying state;
then under the normal lying state, acquiring different pressure values on the horizontal and vertical units on the flexible pressure sensor, generating corresponding pressure distribution maps and positioning a lying area of a user;
for lying areas, positioning a spine according to a central axis of a human body structure rule, and carrying out significant area division on three head length positions as a waist, wherein the lying areas can significantly reflect the rising action intention of a sleeper, namely the upper half areas, namely the shoulder, the back and the waist;
thirdly, monitoring the rising and lying intentions in real time:
monitoring and calculating the upper half body area by a preset identification algorithm, and indicating the intention of getting up or lying down when the pressure change proportion of the area exceeds the standard value of the algorithm; the specific flow of the recognition algorithm is as follows:
selecting a collected pressure area, setting the pressure value of +/-100 calculated by the area of each unit of the sensor and the pressure value when the sensor enters a normal lying state as an effective upper and lower limit threshold value of the point, comparing each value of the selected waist, back and shoulder areas with the effective threshold value, wherein the output of the effective upper limit threshold value which is more than or equal to the value is true, and the output of the effective lower limit threshold value which is less than or equal to the value is false; calculating the proportion of true output to false area pressure value;
setting the proportional coefficient of the rising state to be 0.5, comparing the ratio of the pressure value output as a True area to the pressure value output as a False area, when the ratio of the output True area to the output False area is larger than the proportional coefficient, the rising intention is considered, and when the ratio of the output True area to the output False area is equal to the proportional coefficient, the user is considered to be unresponsive, namely motionless; when the ratio of the output true area to the output false area is smaller than the scale factor, the user is considered to fall down; therefore, the identification of the rising intention of the user is judged;
the fourth step: memory learning
In use, the rising and lying sample data of the same user is continuously recorded, a corresponding sample classifier is set by using a machine learning algorithm, the data of effective work when the intention is correctly identified in the use process is recorded, the effective threshold value and the proportional coefficient of the rising intention are continuously judged in the third step of modifying and optimizing specific body parameters of the specific user from the original rough standard, and the monitoring accuracy of the rising and lying intention is improved.
In the intelligent bed system based on action intention recognition, the control units of the controller and the driver adopt STM32F103ZET6 chips.
The use method of the intelligent bed system based on action intention recognition comprises the following steps:
1) sleeping posture recognition and intention recognition
Transmitting the pressure data acquired by the pressure sensor module to a controller, processing the sleeping posture pressure image by the controller, processing the sleeping posture pressure image to identify the sleeping posture and identify the type of the sleeping posture; after the sleeping posture type is identified, the human action intention is identified according to the dynamic change of the pressure data acquired by the pressure sensor module and by combining an intention identification algorithm in the controller;
2) dynamic weight detection
Transmitting the dynamic weight data detected by the pressure sensor module to the controller, processing the dynamic weight data by the controller, and identifying the body movement state of the user;
3) sleeping posture adjustment
The controller comprehensively judges the state of the user according to the results of the sleeping posture identification and the dynamic weight detection, and when the sleeping posture of the user needs to be adjusted, the controller controls the small bed plate on the corresponding subarea to perform lifting, angle inclination and flat movements, so that the automatic rising and side rising of the user are realized to relieve pressure.
In the using method, the sleeping posture types are six types, namely a supine type, a prone type, a right side lying fetus type, a right side lying trunk type, a left side lying fetus type and a left side lying trunk type.
Compared with the prior art, the intelligent bed system based on action intention recognition has the beneficial effects that:
the invention has the remarkable advantages that:
the intelligent nursing bed system based on action intention recognition is based on the existing mechanical nursing bed, a bed plate partition, a pressure sensor module and a controller are added, the functions of the intelligent nursing bed system are improved, pressure change data of lying of a user are obtained in real time through the pressure sensor module, then the controller analyzes and recognizes the pressure data of the bed surface when the user has a rising and lying intention picture by means of a preset intention recognition algorithm, an action intention signal is transmitted to a driver, a boosting device of the driver is controlled, an electric push rod in a corresponding area is made to stretch and retract, the corresponding bed plate is driven to lift or tilt, the functions of lifting and tilting the bed plate are achieved, the sleeping posture of the bedridden person is automatically adjusted, and the potential health risks such as pressure sores caused by excessive pressure can be relieved.
The invention has the substantive characteristics that:
1) the bed board is divided into a first small bed board, a second small bed board, a third small bed board, a fourth small bed board, a fifth small bed board, a sixth small bed board and a seventh small bed board, seven small bed boards are spliced together to form the whole bed board, and the seven small bed boards are movably connected through hinges and controlled by an electric push rod, so that different small bed boards can independently act. The arrangement is that the sleeping postures of a human body on the bed are divided into lying on the side and lying on the flat, the actions can be divided into rising, turning over and the like, the rising is convenient for the human body to lie on the flat, and the bed board partitions designed according to different functional requirements are the basis for the free-angle inclination of the bed board.
2) The invention is provided with the controller, a conscious-graph recognition algorithm is loaded in the controller, and the automatic control can be carried out according to the action intention of the patient, so that the bed board acts, and the inconvenience caused by the fact that the existing nursing bed still needs manual control to operate is avoided.
3) The pressure sensor array is adopted to collect pressure signals, the conductive adhesive tape is used for building, the price is low, only array points are collected, the cost is low, the material and the preparation process are simple, the large-area expansion application is easy, the quantitative feedback can be carried out on the contact state, and the signal collection is accurate. The sensor module has high response speed and accurate identification. The information of contact pressure of hands, feet and the like can be clearly distinguished; capacitance sensitivity of about 1.17% V/kPa; the response speed can reach 30f/s, and the real-time graphical display of the pressure information can be realized.
4) The system can achieve action recognition and automatic adjustment, has high degree of automation and intelligence, has simple structure and stable function, can realize multidirectional inclination of the bed plate, and can flexibly adjust the sleeping posture of a human body.
In conclusion, the system is an intelligent bed which can automatically regulate and control the inclined movement of the bed plate of the nursing bed by identifying the action intention of the user so as to assist the user in getting up and lying down. The invention can change the manual control of the traditional intelligent bed into the automatic and intelligent control, and realize the functions of automatic rising and lateral angle inclination to relieve the body pressure of the user. The intelligent household nursing system can meet the requirements and development of the current intelligent household and medical market on nursing of the old people, remarkably relieves the pressure of patients and nurses, and has wide application and market prospects.
Detailed Description
In order to realize the functions of the invention, the following embodiment example will specifically describe an intelligent nursing bed system based on action intention recognition provided by the invention with reference to the attached drawings.
The invention relates to an intelligent bed system based on action intention recognition, which comprises a mechanical nursing bed main body, a pressure sensor module, an upper computer, a controller and a driver, wherein the mechanical nursing bed main body is connected with the pressure sensor module;
the nursing bed main body comprises a bed frame, a bed plate, a plurality of electric push rods and a driver, wherein the bed plate is formed by seven movably connected spliced small bed plates arranged on the bed frame, the guardrails are fixed on the bed frame and distributed around the bed plate, the electric push rods drive each small bed plate to act, the electric push rods are connected with the driver, the driver is simultaneously connected with the controller, and the controller is connected with a pressure sensing module and an upper computer;
the bed plate comprises a first small bed plate, a second small bed plate, a third small bed plate, a fourth small bed plate, a fifth small bed plate, a sixth small bed plate and a seventh small bed plate, wherein the seventh small bed plate supports the part below the shank of a human body, the first small bed plate, the second small bed plate and the third small bed plate are arranged side by side in the left-to-right sequence to support the upper half part of the human body, the fourth small bed plate, the fifth small bed plate and the sixth small bed plate are arranged side by side in the left-to-right sequence to support the waist part to the thigh part of the human body, and the first small bed plate, the second small bed plate and the third small bed plate provide supporting force when a person has the intention of getting up; when a person has an intention to turn over to the left, the first small bed plate and the fourth small bed plate provide supporting force, when the person has an intention to turn over to the right, the third small bed plate and the sixth small bed plate provide supporting force, and the second small bed plate and the fifth small bed plate provide stable areas when the person turns over; the seventh small bed board is used for helping the user to lift the legs so as to carry out leg activities;
the guardrails comprise a bed head guardrail, a bed tail guardrail and two side guardrails and are used for ensuring that the use safety of a user is protected;
the pressure sensor module is used for acquiring pressure change data of a user lying in real time, and is paved on a first small bed board-sixth small bed board area by adopting a flexible pressure sensor array;
the controller is internally loaded with an intention recognition algorithm and used for processing the collected pressure values, analyzing and recognizing the pressure data of the bed surface when a user has the intention of getting up and lying down, sending an action intention signal of the human body to the driver, controlling the electric push rod of the corresponding part of the bed plate and displaying the size change of the real-time pressure signal on the upper computer.
The driver comprises a control unit and a boosting device, the control unit is communicated with the controller through a serial port, the control unit is connected with the electric push rod through the boosting device, and an action signal of the controller is sent to the control unit of the driver through the serial port;
the boosting device amplifies the action intention signal received by the control unit to enable the voltage value to meet the voltage working range of the electric push rod, the voltage input of different electric push rods is connected to the output of the boosting device, when the boosting device outputs positive voltage, the part corresponding to the bed board identified by the action intention acts, and when the output voltage of the boosting device is 0, the electric push rod stops acting.
The use method of the system comprises the following steps:
1) sleeping posture recognition and intention recognition
Transmitting the pressure data acquired by the pressure sensor module to a controller, processing the sleeping posture pressure image by the controller, processing the sleeping posture pressure image to identify the sleeping posture and identify the type of the sleeping posture; after the sleeping posture type is identified, the human action intention is identified according to the dynamic change of the pressure data acquired by the pressure sensor module and by combining an intention identification algorithm in the controller; the sleeping posture types are six types, namely a supine type, a prone type, a right side lying fetus type, a right side lying tree trunk type, a left side lying fetus type and a left side lying tree trunk type;
2) dynamic weight detection
The dynamic weight data detected by the pressure sensor module is transmitted to the controller and processed by the controller, and the body movement states of the user, such as body turning, sitting up, getting out of bed and getting into bed, are identified;
3) sleeping posture adjustment
The controller comprehensively judges the state of the user according to the results of the sleeping posture identification and the dynamic weight detection, and when the sleeping posture of the user needs to be adjusted, the controller controls the small bed plate on the corresponding subarea to lift, incline at an angle and place horizontally, so that the user can automatically rise and lean to relieve pressure.
The intention recognition algorithm analyzes and recognizes the pressure data of the user bed surface and monitors whether the user has the intention of getting up or not, thereby being beneficial to assisting the user with inconvenient activities to get up and lie down.
The specific flow of the intention recognition algorithm is as follows:
step one, state judgment:
under normal operation, a minimum pressure threshold value and an effective area threshold value of lying are set, an upper computer collects data of a flexible pressure sensor in real time through a controller main control unit, if the collected pressure data are not larger than the minimum pressure threshold value of lying, or the area of the pressure sensor with the minimum pressure of 10% is smaller than the effective area threshold value of lying, the data are recorded as a state 1, the data collection mode collects data in a low-frequency low-consumption mode at the moment, the data collection frequency is adjusted to realize a low-consumption dormant state when no person is used or someone but no lying state is present, and the normal collection frequency is recovered when someone lies; otherwise, the acquired pressure data is greater than the lowest lying pressure threshold value, and meanwhile, the area of the pressure sensor at the lowest pressure of 10% is not less than the effective lying area threshold value, so that the situation that the user lies on the bed surface can be judged, the state is recorded as 2, and the data acquisition mode is adjusted to be the normal use mode;
secondly, positioning a lying area of a user:
performing Kalman filtering processing on the pressure sensor information acquired in the state 2 to eliminate signal interference; eliminating the interfered signals, generating a visual pressure distribution diagram by using LabVIEW according to corresponding coordinates of the LabVIEW in a sensor, adjusting the scanning speed by adjusting the serial port communication baud rate of a controller to obtain a real-time pressure distribution image, detecting the pressure variation amplitude of a user at any time in a state 2, and setting the current pressure distribution state as a normal lying state if the pressure variation amplitude is not more than 50% within 10 s;
then under the normal lying state, acquiring different pressure values on the horizontal and vertical units on the flexible pressure sensor, generating corresponding pressure distribution maps and positioning a lying area of a user;
for lying areas, positioning a spine according to a central axis of a human body structure rule, and carrying out significant area division on three head length positions as a waist, wherein the lying areas can significantly reflect the rising action intention of a sleeper, namely the upper half areas, namely the shoulder, the back and the waist;
when a person has the intention of getting up, the sacrospinous muscle in the body contracts to pull the person to raise the head, and then the flexors of the muscle groups of the abdominal muscles and the hip muscles contract to drive the upper half of the body to straighten, so that the whole getting up action is completed. In the course of this action, the pressure variation trend of the lying bed surface of the human body is very obvious, which is the key for judging whether the user has the intention of getting up. The user is not strong or difficult to move, the force provided by the body muscles is not enough to complete the rising action when the user intends to rise, but the pressure change signal is provided enough to tell the user's intention to rise.
Thirdly, monitoring the rising and lying intentions in real time
Monitoring and calculating the upper half body area by a preset identification algorithm, and indicating the intention of getting up or lying down when the pressure change proportion of the area exceeds the standard value of the algorithm; the specific flow of the recognition algorithm is as follows:
selecting a collected pressure area, setting the pressure value of +/-100 calculated by the area of each unit of the sensor and the pressure value when the sensor enters a normal lying state as an effective upper and lower limit threshold value of the point, comparing each value of the selected waist, back and shoulder areas with the effective threshold value, wherein the output of the effective upper limit threshold value which is more than or equal to the value is true, and the output of the effective lower limit threshold value which is less than or equal to the value is false; calculating the proportion of true output to false area pressure value;
setting the proportional coefficient of the rising state to be 0.5, comparing the ratio of the pressure value output as a True area to the pressure value output as a False area, when the ratio of the output True area to the output False area is larger than the proportional coefficient, the rising intention is considered, and when the ratio of the output True area to the output False area is equal to the proportional coefficient, the user is considered to be unresponsive, namely motionless; when the ratio of the output true area to the output false area is smaller than the scale factor, the user is considered to fall down, and therefore the identification of the rising intention of the user is judged.
The fourth step: memory learning
In use, the rising and lying sample data of the same user is continuously recorded, a corresponding sample classifier is set by using a machine learning algorithm, effective working data such as a pressure distribution state and an effective proportional coefficient when an intention is correctly recognized in the use process are recorded, an effective threshold value and a proportional coefficient of a rising and lying intention diagram are judged in a third step from an original rough standard continuously aiming at specific body parameters of the specific user, and the monitoring accuracy of the rising and lying intention is improved so as to adapt to the change of different conditions of the same user.
And when the user changes, restoring the effective threshold value and the proportionality coefficient for judging the rising intention to the initial coarse standard value in the third step, and optimizing data through machine learning.
The sleeping posture recognition in the invention is the prior art, and the machine learning algorithm can adopt the prior art, such as: the specific process of the machine learning algorithm is as follows:
and task T: correcting and obtaining rising scale factor more fitting to user
Performance annotation P: percentage of probability of correctly identifying intention to rise
Training experience E: recumbent data each time a person successfully stands up
When the system is used for the first time, the user can get up by himself or herself for five to ten times to simulate and provide the system as an initial sample library, and the system can make the user's intention of getting up in the initial sample library all be fed back correctly by finely adjusting the scale factor K of the state of getting up with the initial value of 0.5.
Assuming that the user shows that the set of all instances of the user' S intention to rise is D, the initial sample library is continuously added with the set of instances of the use sample library formed by successful data after use is S. K is the proportional coefficient of rising state, H (i) is whether the user has the intention of rising after each rising judgment (i belongs to S, 1 is present, 0 is absent).
Sample error rate error for sample S taken from D
S(H (i)) is the proportion of instances of the hypothesis misclassification in S, i.e.
(δ (K, h (i)) is 1 when h (i) ═ 0, otherwise is 0). For true error rate error in D
D(h (i)), the sample error rate has a 95% confidence. Setting conditions, selecting the rising state proportionality coefficient K value with the lowest error rate, and automatically adjusting the rising state proportionality coefficient K value according to the system, thereby realizing continuous optimization of the rising state proportionality coefficient and improving the rising intention identification precision.
The minimum pressure threshold value of lying and the effective area threshold value of lying in the method can be obtained through initial experiments for many times, the effective threshold value of the intention of getting up and the setting of the proportional coefficient can also be set according to the actual situation, and the updating and the correction can be carried out through a machine learning algorithm in the later period.
Example 1
The intelligent nursing bed system based on action intention recognition comprises a mechanical nursing bed main body, a pressure sensor module, an upper computer, a controller and a driver;
the nursing bed main body comprises a bed frame, a bed plate, a plurality of electric push rods and a driver, wherein the bed plate is formed by seven movably connected spliced small bed plates arranged on the bed frame, the guardrails are fixed on the bed frame and distributed around the bed plate, the electric push rods drive each small bed plate to act, the electric push rods are connected with the driver, the driver is simultaneously connected with the controller, and the controller is connected with a pressure sensing module and an upper computer;
the bed board comprises seven small bed boards which are respectively a first small bed board 1, a second small bed board 2, a third small bed board 3, a fourth small bed board 4, a fifth small bed board 5, a sixth small bed board 6 and a seventh small bed board 7, the small bed boards are movably connected through hinges, the seventh small bed board supports the part below the shank of the human body, the first small bed board, the second small bed board and the third small bed board are arranged side by side according to the sequence from left to right to support the upper half part of the human body, the fourth small bed board, the fifth small bed board and the sixth small bed board are arranged side by side according to the sequence from left to right to support the waist part to the thigh part of the human body,
the first small bed board, the second small bed board and the third small bed board are arranged to provide supporting force when a person has the intention to rise, so that the rising force of a user is greatly reduced; when a person has the intention of turning over to the left, the first small bed plate and the fourth small bed plate provide supporting force, when the person has the intention of turning over to the right, the third small bed plate and the sixth small bed plate provide supporting force to assist the user in turning over, the second small bed plate and the fifth small bed plate provide stable areas when the person turns over, the safety of the person in use is improved, and the person is prevented from sideslipping. The seventh footplate may assist the user in raising the legs for leg activity. The bed board subareas designed according to different functional requirements are the basis for free angle inclination of the small bed board.
The pressure sensor module is laid on the first small bed board-sixth small bed board area, is built based on a cross electrode type capacitor array, structurally comprises an upper buffer layer, a lower buffer layer and a pressure-sensitive sensor array arranged between the upper buffer layer and the lower buffer layer, and is made of flexible materials. The pressure sensor module is connected with the controller, and pressure change data of the user lying down is acquired in real time through the controller.
The guardrail 9 comprises a bed head guardrail, a bed tail guardrail and two side guardrails, and is used for ensuring that the use safety of a user is protected.
Driver 12 includes the control unit and the device that steps up, the control unit adopts STM32F103ZET6 chip, and with communicate by the UART through the serial ports between the controller, sends the driver control unit through the serial ports with the action signal of controller. The boosting device amplifies action intention signals received by the control unit, voltage inputs of different electric push rods are connected to the output of the boosting device, and when the boosting device outputs positive voltage, the corresponding part of the bed board identified by the action intention acts; when the output voltage of the booster is 0, the electric push rod stops operating.
All install electric putter on different little bed board subregion, little bed board is connected to electric putter 10's one end, and the other end is installed on the bedstead, and electric putter internally mounted has the encoder, and the encoder links to each other with the inside motor spindle of motor putter, through the accurate feedback motor spindle number of turns of encoder pulse to the accurate electric putter stroke that calculates changes, realizes accurate control. An electric push rod of a corresponding area is arranged under each small bed plate partition. The extension length of the electric push rod and the lifting angle of the small bed plate are acquired through the encoder, the number of rotating circles of the motor in the electric push rod is acquired controllably, the action requirements of the small bed plates at different angles are met, and the actions of lifting, inclining and leveling the small bed plate of the nursing bed are completed.
The controller 11 adopts STM32F103ZET6 chip, is loaded with intention recognition algorithm in the controller, handles the pressure value that will gather, and the host computer shows the size change of real-time pressure signal. The controller analyzes and identifies the pressure data of the bed surface when the user has the intention of rising and lying, sends the action intention signal of the human body to the driver, and controls the push rod of the corresponding part of the bed body, thereby assisting the user with inconvenient activities to rise and lie, and lifting the body to an angle to relieve the body pressure.
Distributed pressure detection can be realized by collecting capacitance values of each capacitance unit of the pressure sensor module, pressure data are converted into data values which can be processed by the controller through an A/D converter in the controller, DMA transmission in the controller is started, the controller judges whether the current value of the timer is cleared, and if the current value of the timer is not cleared, the controller continuously judges whether the timer is cleared; if the timer value is cleared and the data sending command is received, DMA (direct memory access) transmission is carried out to transmit the current data to the serial port and send the current data to the LABVIEW upper computer through the serial port, so that the pressure value of the pressure sensor can be expressed in a pressure distribution graph in real time; when the serial port transmits data, the action intention recognition is carried out through an intention recognition algorithm preset in the controller, the action intention of the human body is determined, the intention is transmitted to the driver as an electric signal, and the signal is an action intention signal.
After the action intention signal is sent to the driver control unit, the signal is amplified and output through the boosting device, when the positive voltage is output, the control unit of the driver controls the electric push rod of the part corresponding to the bed body identified by the action intention to act, and finally the action of the small bed plate is finished.
In the embodiment, the length of the whole bed board is 2m, the width of the whole bed board is 0.9m, the thicknesses of the upper buffer layer and the lower buffer layer are both 5mm, the pressure sensor array is composed of 64 multiplied by 128 pressure-sensitive sensors, and the single pressure-sensitive sensor array of the soft bed fully ensures the comfort and the integrity of pressure images of a user in different sleeping postures.
Although the embodiments of the present invention have been described with reference to the accompanying drawings, they should be construed as being within the scope of the present invention as long as they do not exceed the scope of the present invention as set forth in the appended claims.
Nothing in this specification is said to apply to the prior art.