Intelligent furniture control method and device

By detecting the user's physiological status in real time and implementing intelligent adjustment strategies, smart furniture can maintain or adjust the angles of the seat and backrest when the user sleeps, solving the problem of adjusting the mechanical status multiple times in the prior art, achieving a sleep experience with less interference and a personalized comfort state.

CN118759870BActive Publication Date: 2025-04-22EMOMO TECHNOLOGY CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410930459.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2025-04-22
Estimated Expiration
2044-07-11

AI Technical Summary

Technical Problem

When existing smart furniture changes from awake to sleep, it needs to adjust the mechanical state multiple times to search for the best state, which may wake up the user and cannot fully meet the individual usage habits of different users.

Method used

By detecting the physiological status of the target user in real time, intelligent adjustment strategies are implemented. When the user is in a sleep state, the angle between the seat and the backrest is maintained or adjusted to a preset threshold angle or the user's habitual sleep angle to achieve a zero gravity state and reduce the number of times the mechanical state is adjusted.

Benefits of technology

The number of times the mechanical state of smart furniture is adjusted to the best state is reduced, the possibility of waking up the user, and the state can be adjusted according to the user's individual habits, providing a more comfortable sleep experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118759870B_ABST
    Figure CN118759870B_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of intelligent control systems. The present application discloses a method and device for controlling intelligent furniture, the method comprising: detecting the physiological state of a target user in real time; the target user is a user located on the intelligent furniture; when it is detected that the physiological state of the target user changes from an awake state to a sleeping state, executing an intelligent adjustment strategy for the target user. The intelligent adjustment strategy comprises: when it is detected that the current angle between the seat and the backrest is less than a preset threshold angle, determining whether the target user has a corresponding habitual sleeping angle; if so, adjusting the angle between the seat and the backrest based on the corresponding habitual sleeping angle of the target user and maintaining the angle between the seat and the backrest unchanged while the target user is in a sleeping state. This method can reduce the number of times the mechanical state of the intelligent furniture is adjusted to the optimal state and make the adjusted optimal state conform to the individual usage habits of different users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an intelligent control system, and in particular to an intelligent furniture control method and device. Background Art

[0002] Smart furniture combines the mechanical structure of traditional furniture with an intelligent control device. The intelligent control device is integrated with sensors for detecting the mechanical and user status of the furniture and can execute control programs, so that it can respond to the user's status in real time to adjust the mechanical status of the furniture (i.e., the status of the smart furniture) to match the user's status, giving the user an intelligent use experience. For example, Patent Document 1 (publication number CN117872793A) discloses a smart furniture control method, which can identify the life information (including the user's heart rate, breathing, pulse and other life information) of the user who is using the smart furniture (such as a sofa seat) through a millimeter wave radar, and then adjust the mechanical status of the smart furniture (such as the angle between the cushion and the backrest) for multiple times, monitor the user's life information in each mechanical state, and compare these life information with the preset standard life information in the database, so as to determine the best mechanical state that best matches the user's current life information. In summary, in the prior art, smart furniture needs to adjust the mechanical state multiple times to search for the best mechanical state that matches the user's life information.

[0003] However, when the user changes from awake state to sleep state during the use of smart furniture, his life information changes, and the state of the smart furniture needs to be updated. If the solution in the prior art is adopted, the smart furniture needs to adjust the mechanical state multiple times to search for the best mechanical state that matches the user's life information, which may wake up the sleeping user and bring a bad user experience. Moreover, the best state determined based on the preset standard life information may not necessarily meet the individual usage habits of different users. Summary of the invention

[0004] The object of the present invention is to provide a smart furniture control method and device, which can reduce the number of times the mechanical state of the smart furniture is adjusted to an optimal state and make the adjusted optimal state conform to the individual usage habits of different users.

[0005] In order to achieve the above-mentioned purpose of the invention, the following technical solutions are provided:

[0006] In a first aspect, a method for controlling smart furniture is provided, wherein the smart furniture comprises a motor and a seat and a backrest driven by the motor to rotate relative to each other; the method is characterized in that:

[0007] Real-time detection of the physiological state of a target user; the target user is a user located on the smart furniture;

[0008] When it is detected that the physiological state of the target user changes from a wakeful state to a sleeping state, executing an intelligent adjustment strategy for the target user;

[0009] The intelligent adjustment strategy includes:

[0010] When it is detected that the angle between the current seat and the backrest is not less than a preset threshold angle, the angle between the seat and the backrest is kept unchanged while the target user is in a sleeping state;

[0011] When it is detected that the current angle between the seat and the backrest is less than a preset threshold angle, it is determined whether the target user has a corresponding habitual sleeping angle; if so, the angle between the seat and the backrest is adjusted based on the corresponding habitual sleeping angle of the target user and the angle between the seat and the backrest is kept unchanged while the target user is in a sleeping state; if not, the angle between the seat and the backrest is adjusted based on the preset threshold angle and the angle between the seat and the backrest is kept unchanged while the target user is in a sleeping state.

[0012] In a second aspect, a smart furniture control device comprises a main control module and an execution module, the execution module comprises a motor and a seat and a backrest driven by the motor to rotate relative to each other, the main control module comprises a memory, a processor and a computer program stored in the memory and executable on the processor; the processor implements the steps of the above method when executing the program.

[0013] In a third aspect, a computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the steps of the method described above.

[0014] Compared with the prior art, the intelligent furniture control method and device provided by the present application have at least the following beneficial effects:

[0015] When the user is in a sleeping state, the optimal state is a zero-gravity state, that is, the angle between the backrest and the seat is between 135° and 180°, so that the user can be close to a lying position, which is conducive to the user's sleep. On the one hand, in this application, if the current angle between the seat and the backrest is not less than 135°, the number of times required to adjust the mechanical state of the smart furniture to the optimal state is zero, and if the current angle between the seat and the backrest is less than 135°, the number of times required to adjust the mechanical state of the smart furniture to the optimal state is one. Compared with the prior art that requires multiple adjustments, the solution in this application can reduce the number of times the mechanical state of the smart furniture is adjusted to the optimal state, reducing the possibility of waking up the target user. On the other hand, due to the personalized differences of different users, each user has a different habitual sleeping angle for the zero-gravity state. Therefore, the solution in this application can also adjust the angle between the seat and the backrest based on the habitual sleeping angle corresponding to the target user, so that the adjusted optimal state meets the individual usage habits of different users. Thirdly, since the habits of the same user will change over time, for example, if the target user falls asleep in a zero-gravity state at the current angle, it means that the angle corresponding to the current zero-gravity state (i.e. the angle between the seat and the backrest) is also a sleeping angle that makes the target user feel comfortable. Therefore, it is also necessary to maintain the current angle in order to observe and analyze the user's sleeping conditions at the current angle, so as to provide sufficient observation data for updating user habits, so as to provide a smarter habitual sleeping angle update function. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The present invention is further described below in conjunction with the accompanying drawings and embodiments;

[0017] Figure 1 A schematic diagram of a flow chart of a smart furniture control method provided in an embodiment;

[0018] Figure 2 A schematic diagram of a flow chart of a smart furniture control method provided in an embodiment;

[0019] Figure 3 A schematic diagram of a flow chart of a smart furniture control method provided in an embodiment;

[0020] Figure 4 A schematic diagram of a flow chart of a smart furniture control method provided in an embodiment;

[0021] Figure 5 An application environment diagram of a smart furniture control method provided in an embodiment;

[0022] Figure 6 A circuit schematic diagram of an interlock module with programming function provided in one embodiment;

[0023] Figure 7A schematic diagram of the structure of a single-pole double-throw switch provided in an embodiment when in a first state;

[0024] Figure 8 A schematic diagram of the structure of a single-pole double-throw switch provided in an embodiment when in a second state;

[0025] Fig. 9 A schematic diagram of the positional relationship of two switches, SW1 and SW2, after packaging an interlock module with programming function in one embodiment;

[0026] Fig.10 It is a schematic diagram of the structure after encapsulation of an interlocking module with programming function in one embodiment;

[0027] Fig.11 The schematic diagram of the circuit for driving the single-phase AC motor forward and reverse through two relays for smart furniture. DETAILED DESCRIPTION

[0028] like Figure 5 As shown, in one embodiment, the smart furniture is a sofa chair, which includes a motor and a seat and a backrest that are driven by the motor to rotate relative to each other. The smart furniture is arranged in the living room, and a millimeter wave radar 1 is also arranged in the object. The millimeter wave radar 1 can transmit millimeter waves to the area 2 where the smart furniture is located and receive echoes from the area. Figure 5 As shown in FIG. 1 , the space area enclosed by two dotted lines between the millimeter wave radar 1 and the smart furniture is the scanning range of the millimeter wave radar 1. The line segment with an arrow represents the echo returned from the smart furniture. Figure 5 The echoes corresponding to the three positions P1, P2, and P3 on the smart furniture are shown as an example. By processing the echoes, the distances of the three positions P1, P2, and P3 from the antenna array of the millimeter wave radar 1 can be calculated. It can be understood that if the length of a time step is 2 seconds, a first distance is measured for the P1 position at the initial moment of a certain time step, and a second distance is measured for the P1 position at the end of the time step. The difference between the first distance and the second distance and the absolute value can reflect the movement amplitude of the P1 position within the time step. Since the smart furniture is motionless when the target user is in a sleeping state, the movement detected at this time is caused by the target user turning over. By detecting the movement amplitudes corresponding to multiple positions in the area 2 where the smart furniture is located, the turning over of the target user in the sleeping state can be reflected. For example, by detecting the movement amplitude of 60 positions in the area 2 where the smart furniture is located, the overall turning over of the user can be detected. Among them, the threshold amplitude can be set to 10 cm. Considering that a user turning over generally means that the user's entire body changes from lying upright to lying sideways or vice versa, the following method can be used to detect whether the user has turned over:

[0029] At each time step, the motion amplitudes of a preset number of positions in area 2 where the smart furniture is located are detected;

[0030] Count the number of positions whose action amplitude is greater than the threshold amplitude within a time step;

[0031] If the number is not less than the turning-over number threshold, it is determined that the user has turned over once in the current time step.

[0032] The threshold amplitude can be set to 10 centimeters, and the turning over threshold can be set to 30. Specifically, the data of a large number of users turning over on the smart furniture can be recorded and analyzed before leaving the factory to obtain a more appropriate turning over threshold and threshold amplitude. The example here does not limit the protection scope.

[0033] Specifically, based on the millimeter wave radar 1, vital signs signals can be detected in a certain spatial area, so as to determine whether there is a living body in a certain spatial area. The principle is that when there is a person, there is breathing, and when breathing, there is an ups and downs of the chest wall, which is easy to be captured by the thunder method. The breathing frequency is low frequency, so when there is a person, a peak can generally be found at a low frequency. However, due to the breathing and heartbeat of the human body, there are ups and downs of a specific frequency in the chest cavity, such as the frequency of human breathing and heartbeat is 0.1~2Hz, where breathing is 0.1~0.8 Hz and heartbeat is 0.8~2 Hz. Therefore, when the signal of a certain area is collected by the millimeter wave radar 1, the frequency range can be locked within 2 Hz through low-pass filtering, and it can be distinguished from other objects by physiological characteristic parameters, so as to identify the existence of a living body, and at the same time, the breathing frequency and heartbeat frequency of the person can be determined according to the collected echo signal. Its specific algorithm belongs to the prior art and will not be repeated here.

[0034] Furthermore, after training a neural network based on the data collected by the millimeter-wave radar 1, human postures, such as standing, sitting, lying, etc., can be identified. In specific implementation, the millimeter-wave radar 1 is used to collect data of humans in different postures, and labels are manually assigned to the corresponding data, and the labels are used to indicate the posture of the person in the corresponding data. Multiple groups of labeled data are used as training data to perform machine learning training on the neural network to obtain a neural network model that can recognize human postures. Subsequently, the millimeter-wave radar 1 is used to collect the echo data of the human body and then input it into the above-mentioned neural network model to output the posture of the human body.

[0035] Based on the functions of the above-mentioned millimeter wave radar 1 in identifying living bodies, their breathing rate, heart rate, posture, movement amplitude, etc., the present application combines it with smart homes to enhance the intelligence level of smart homes.

[0036] Specifically, Figure 1As shown, in one embodiment, a method for controlling smart furniture is provided, wherein the smart furniture includes a motor and a seat and a backrest driven by the motor to rotate relative to each other; the method:

[0037] Step S202, real-time detection of the physiological state of the target user; the target user is a user located on the smart furniture.

[0038] Step S204: when it is detected that the physiological state of the target user changes from the awake state to the sleep state, an intelligent adjustment strategy is executed for the target user.

[0039] Specifically, the physiological state includes an awake state or a sleeping state. In this embodiment, the millimeter wave radar can be used to detect the physiological state of the target user. For example, based on a large amount of experimental data, the breathing frequency and heart rate of humans when sleeping and awake are statistically obtained, and a threshold is set for the breathing frequency and heart rate respectively. When the breathing frequency and heart rate are both lower than the corresponding thresholds, it is determined that the user is in a sleeping state, otherwise it is in an awake state.

[0040] Furthermore, in order to more accurately determine the user's physiological state, this embodiment also combines the user's posture on the smart furniture. Figure 3 As shown, the specific process is as follows:

[0041] Step S402, input the physiological information of the target user in each cycle into a pre-trained neural network model. The physiological information includes the user's posture, breathing rate and heart rate in each cycle; the neural network model is obtained by machine learning training through multiple sets of data, each of which includes the physiological information of the human in each cycle and a label for marking the physiological state of the human in the current cycle; the physiological state includes awake state or sleep state.

[0042] Specifically, the duration of each cycle is 5 seconds. The posture at the end of a cycle is taken as the posture of the cycle, and the average respiratory frequency and heart rate of each cycle are counted as the respiratory frequency and heart rate of the cycle.

[0043] Step S404: determining the current physiological state of the target user according to the output of the neural network model.

[0044] Step S406: when it is detected that the user is in a sleeping state, it is determined that the physiological state of the target user changes from a wakeful state to a sleeping state.

[0045] It is understandable that when humans fall asleep, their muscles relax and they cannot maintain the same posture as when they are awake, so there is an obvious difference in posture from when they are awake. Combining the breathing rate and heart rate can improve the accuracy of judging the user's physiological state.

[0046] Specifically, intelligent adjustment strategies include the following three categories:

[0047] When it is detected that the angle between the current seat and the backrest is not less than a preset threshold angle, the angle between the seat and the backrest is kept unchanged while the target user is in a sleeping state.

[0048] When it is detected that the current angle between the seat and the backrest is less than a preset threshold angle, it is determined whether the target user has a corresponding habitual sleeping angle; if so, the angle between the seat and the backrest is adjusted based on the corresponding habitual sleeping angle of the target user and the angle between the seat and the backrest is kept unchanged while the target user is in a sleeping state; if not, the angle between the seat and the backrest is adjusted based on the preset threshold angle and the angle between the seat and the backrest is kept unchanged while the target user is in a sleeping state.

[0049] When the user is in a sleeping state, the optimal state is a zero-gravity state, that is, the angle between the backrest and the seat is between 135° and 180°, so that the user can be close to a lying position, which is conducive to the user's sleep. On the one hand, in this application, if the current angle between the seat and the backrest is not less than 135°, the number of times required to adjust the mechanical state of the smart furniture to the optimal state is zero, and if the current angle between the seat and the backrest is less than 135°, the number of times required to adjust the mechanical state of the smart furniture to the optimal state is one. Compared with the prior art that requires multiple adjustments, the solution in this application can reduce the number of times the mechanical state of the smart furniture is adjusted to the optimal state, reducing the possibility of waking up the target user. On the other hand, due to the personalized differences of different users, each user has a different habitual sleeping angle for the zero-gravity state. Therefore, the solution in this application can also adjust the angle between the seat and the backrest based on the habitual sleeping angle corresponding to the target user, so that the adjusted optimal state meets the individual usage habits of different users. Thirdly, since the habits of the same user will change over time, for example, if the target user falls asleep in a zero-gravity state at the current angle, it means that the angle corresponding to the current zero-gravity state (i.e. the angle between the seat and the backrest) is also a sleeping angle that makes the target user feel comfortable. Therefore, it is also necessary to maintain the current angle in order to observe and analyze the user's sleeping conditions at the current angle, so as to provide sufficient observation data for updating user habits, so as to provide a smarter habitual sleeping angle update function.

[0050] In one embodiment, the method further comprises:

[0051] Record the historical usage data of the target user each time he uses the smart furniture. The historical usage data corresponding to each time the smart furniture is used includes: the date of use, whether the target user changes from an awake state to a sleeping state, the duration of the target user's sleeping state, the angle that needs to be maintained between the seat and the backrest during the target user's sleeping state, the duration of large movements during the target user's sleeping state, the number of turning over movements during the target user's sleeping state, the illumination of the environment when the target user changes from an awake state to a sleeping state, the maximum illumination of the environment during the target user's sleeping state, the sound intensity of the environment when the target user changes from an awake state to a sleeping state, and the maximum sound intensity of the environment during the target user's sleeping state.

[0052] like Figure 2 As shown, when it is necessary to execute the intelligent adjustment strategy, the habitual sleeping angle corresponding to the target user is determined through the following steps;

[0053] Step S302: evaluating the sleep score of the target user each time he uses the smart furniture based on the historical usage data of the target user each time he uses the smart furniture.

[0054] Step S304 : determining the habitual sleeping angle of the target user based on the historical usage data corresponding to the time with the highest sleep score.

[0055] In this embodiment, each time the intelligent adjustment strategy needs to be executed, the target user's sleep score each time he uses the smart furniture will be evaluated to re-determine the habitual sleeping angle, which can update the user's habitual sleeping angle in real time and provide a more intelligent user experience.

[0056] Specifically, the sleep score of a target user when using smart furniture for the i-th time is calculated by the formula Conduct assessments;

[0057] Formula 1:

[0058]

[0059] Among them, Norm[] is the normalization function, , and is the preset coefficient; i is a natural number, The actual duration or corrected duration of the target user being in a sleeping state when using the smart furniture for the i-th time; The duration of significant movements or the number of turning over movements of the target user during sleep when the target user uses the smart furniture for the i-th time; The maximum value of the duration of significant movements or the number of turning over during the target user's sleep state when using the smart furniture. It is the date interval between the date when the evaluation is conducted and the date when the target user uses the smart furniture for the first time.

[0060] Specifically, all parameters in Formula 1 take dimensionless values. , and All three are greater than 0, which are 0.5, 0.5 and 2 respectively. The value is in days. The value is in seconds. The duration of significant movements during the target user's sleep state when using the smart furniture for the i-th time. When the target user has a maximum duration of large movements during sleep when using smart furniture, , The value is in seconds. is the number of times the target user turns over during sleep when using the smart furniture for the i-th time. When the target user turns over at the maximum number of times during sleep when using smart furniture, , All values ​​are taken in times.

[0061] It can be seen that if the target user who is in a sleeping state can sleep longer at the current angle, and does not make major movements during sleep and does not need to turn over frequently, it can be said that the current angle is suitable for the target user's sleep needs. On the other hand, people's habits change over time. Habits that are closer in time have greater reference value, and habits that are farther apart in time have smaller reference value, that is, habits have a temporal clustering effect. It is understandable that if the angle automatically determined based on historical usage data and formula one makes the customer feel that it does not meet the angle required for sleep, the user will automatically adjust to the angle that he feels is suitable for sleep before going to bed next time, and formula one can make the latest set angle have a greater weight, thereby realizing continuous automatic updating of the target user's latest usage habits and providing users with a smarter usage experience.

[0062] Referring to Formula 1, the angle that is more suitable for the target user's sleep needs in the historical sleep state can have a higher branch, so that it can be selected as the habitual sleeping angle corresponding to the target user when the intelligent adjustment strategy is executed. That is, if the highest sleep score is calculated according to Formula 1 when the smart furniture is used for the i-th time , then the angle that needs to be maintained between the seat and the backrest during the target user's sleep state in the historical usage data when the smart furniture is used for the i-th time is taken as the target user's corresponding habitual sleeping angle.

[0063] In one embodiment, Figure 4 As shown, the duration of the target user's significant movement during the sleep state when using the smart furniture for the i-th time is determined by the following steps:

[0064] Step S502, at the start time and the end time of each time step when the target user is in a sleep state when using the smart furniture for the i-th time, the initial distance and the end distance of multiple directions of the area where the smart furniture is located are measured based on the millimeter wave radar.

[0065] Step S504, taking the difference between the initial distance and the final distance of each direction of the area where the smart furniture is located in one time step, and taking the absolute value as the movement amplitude corresponding to each direction.

[0066] Step S506: The maximum of the motion amplitudes corresponding to the various directions of the area where the smart furniture is located measured within a time step is used as the maximum motion amplitude of the time step.

[0067] For example, if the number of orientations is 60 and the largest motion amplitude is 20 cm, then 20 cm is used as the maximum motion amplitude of the time step.

[0068] Step S508, based on the product of the number of time steps in which the maximum movement amplitude is greater than the threshold amplitude and the duration corresponding to each time step during the i-th use of the smart furniture by the target user in the sleep state, determine the duration of the large movement that occurs during the i-th use of the smart furniture by the target user in the sleep state.

[0069] For example, i=3, the threshold amplitude is 15cm, each time step is 2 seconds, and there are 900 time steps during the sleep state when the smart furniture is used for the third time, that is, the sleep state lasts for 30 minutes, of which there are 20 time steps with the maximum motion amplitude greater than the threshold amplitude. Then, the duration of large movements during the sleep state when the target user uses the smart furniture for the third time is 20*2=40 seconds.

[0070] In one embodiment, when When the target user is in the sleep state when using the smart furniture for the i-th time, the formula in formula 1 is determined by formula 2. The value of

[0071] Formula 2:

[0072]

[0073] in, and is the preset coefficient; The actual duration of the target user’s sleep state when using the smart furniture for the i-th time; When the target user uses the smart furniture for the i-th time, the illumination of the environment when the target user changes from awake state to sleeping state; The maximum illumination of the environment when the target user is sleeping when using the smart furniture for the i-th time; The sound intensity of the environment when the target user changes from awake state to sleeping state when the target user uses the smart furniture for the i-th time; The maximum sound intensity of the environment when the target user is sleeping when using the smart furniture for the i-th time.

[0074] Specifically, each parameter in Formula 2 takes a dimensionless value. The value is in seconds. , The value is measured in lux. , The value is in decibels. Specifically, and Both are greater than 0, and are 0.01 and 0.01 respectively. , the sound intensity is When the user enters the sleep state under the condition of being asleep, if the illumination or sound intensity of the environment suddenly becomes large enough during the sleep state, it is likely to affect the user's sleep and shorten the user's sleep time. Therefore, for this situation, Formula 2 can be used for correction. After the correction, the angle that is more suitable for the user's sleep state can get a higher score, so that the habitual sleeping angle corresponding to the target user determined by Formula 1 is more in line with the user's sleep needs, improving the user experience of smart furniture.

[0075] In one embodiment, the method further comprises:

[0076] During the process of adjusting the angle between the seat and the backrest, if a living body is detected within the preset anti-pinch range of the smart furniture, the adjustment is paused and a prompt signal is issued.

[0077] Specifically, a preset anti-pinch range is set in advance, and anti-pinch detection is performed during the adjustment process, which can prevent the mechanical movement of the smart furniture during the adjustment process from hurting other people and improve safety performance.

[0078] In one embodiment, a smart furniture control device is also provided, which includes a main control module and an execution module, the execution module includes a motor and a seat and a backrest driven by the motor to rotate relative to each other, the main control module includes a memory, a processor, and a computer program stored in the memory and executable on the processor; when the processor executes the program, the steps of the method described above are implemented.

[0079] In a third aspect, a computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the steps of the method described above.

[0080] like Fig.11 As shown, considering that the motor needs to rotate forward and reverse to adjust the angle between the backrest and the seat, the two pins P1 and P2 of the main control module (which can be a microcontroller) control the corresponding relay to turn on or off the forward or reverse circuit of the motor by outputting high and low pin signals to achieve the control of the motor forward and reverse rotation. For example, when P1 is high and P2 is low, relay J5 turns on the corresponding switch K5, and relay J6 turns off the corresponding switch K6. If the motor is forward at this time; when P2 is high and P1 is low, the motor reverses. Based on safety considerations, the forward and reverse circuits cannot be turned on at the same time, that is, the P1 pin and the P2 pin cannot output high levels at the same time, that is, the relay J5 and the relay J6 cannot be turned on at the same time. This article refers to the interlocking of the two pins or the interlocking of the two relays.

[0081] Therefore, in order to achieve interlocking, the present application provides Figure 6 The interlocking module with programming function shown in the figure is encapsulated in a plastic package shell, and the H1 end, H2 end, H3 end, H4 end, H5 end and H6 end extend out of the package shell through metal terminals to be connected to the circuit of the smart furniture. Fig.11 Take the forward and reverse circuit as an example, Fig.11 The P1 pin is connected to the H1 terminal and H5 terminal of the interlocking module at the same time, the P2 pin is connected to the H2 terminal and H3 terminal of the interlocking module at the same time, the H6 terminal is connected to the first end of the resistor R12, and is used to control the relay J5 to turn on or cut off the forward circuit of the motor; the H4 terminal is connected to the first end of the resistor R13, and is used to control the relay J6 to turn on or cut off the reverse circuit of the motor.

[0082] like Figure 6 As shown, the interlocking module includes a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a diode D3, a diode D5, a diode D7, a diode D8, a diode D9, a diode D10, a MOS tube M1, a MOS tube M2, a MOS tube M3, a MOS tube M4, a transistor Q1, a transistor Q2, a transistor Q3, a transistor Q4, a single-pole double-throw switch SW1, a single-pole double-throw switch SW2, a relay J1 and a relay J2; the relay J1 includes an electromagnet and a switch K1 which is turned on or off by the electromagnet, and the relay J2 includes an electromagnet and a switch K2 which is turned on or off by the electromagnet.

[0083] The first end of the resistor R1 is electrically connected to the metal terminal of the H1 end, and the second end is connected to the base of the transistor Q1. The first output end of the single-pole double-throw switch SW1 is connected to the first end of the resistor R1, the second output end is respectively connected to the collector of the transistor Q1 and the first end of the resistor R5, and the input end is connected to the first end of the resistor R3. The emitter of the transistor Q1 is connected to the negative electrode of the DC power supply. The second end of the resistor R5 is connected to the positive electrode of the DC power supply. The base of the transistor Q3 is connected to the second end of the resistor R3, the emitter is connected to the negative electrode of the DC power supply, and the collector is respectively connected to the gate of the MOS tube M1, the gate of the MOS tube M3 and the first end of the resistor R7. The second end of the resistor R7 is connected to the positive electrode of the DC power supply. The source of the MOS tube M1 is connected to the positive electrode of the DC power supply, and the drain is respectively connected to the positive electrode of the diode D3, the negative electrode of the diode D5 and the drain of the MOS tube M3. The source of the MOS tube M3 is connected to the negative electrode of the DC power supply. The cathode of diode D3 is connected to the first end of the electromagnet in relay J1. The anode of diode D5 is connected to the first end of the electromagnet in relay J2. Diode D7 is reversely connected between the source and drain of MOS tube M1, and diode D9 is reversely connected between the source and drain of MOS tube M3.

[0084] The first end of the resistor R2 is electrically connected to the metal terminal of the H2 end, and the second end is connected to the base of the transistor Q2. The first output end of the single-pole double-throw switch SW2 is connected to the first end of the resistor R2, the second output end is respectively connected to the collector of the transistor Q2 and the first end of the resistor R6, and the input end is connected to the first end of the resistor R4. The emitter of the transistor Q2 is connected to the negative electrode of the DC power supply. The second end of the resistor R6 is connected to the positive electrode of the DC power supply. The base of the transistor Q4 is connected to the second end of the resistor R4, the emitter is connected to the negative electrode of the DC power supply, and the collector is respectively connected to the gate of the MOS tube M2, the gate of the MOS tube M4, and the first end of the resistor R8. The second end of the resistor R8 is connected to the positive electrode of the DC power supply. The source of the MOS tube M2 is connected to the positive electrode of the DC power supply, and the drain is respectively connected to the second end of the electromagnet in the relay J1, the second end of the electromagnet in the relay J2, and the drain of the MOS tube M4. The source of the MOS tube M4 is connected to the negative electrode of the DC power supply. The diode D8 is reversely connected between the source and drain of the MOS tube M2, and the diode D10 is reversely connected between the source and drain of the MOS tube M4.

[0085] The first end of switch K1 is electrically connected to the metal terminal at end H3, and the second end of switch K1 is electrically connected to the metal terminal at end H4. The first end of switch K2 is electrically connected to the metal terminal at end H5, and the second end of switch K2 is electrically connected to the metal terminal at end H6.

[0086] Specifically, when the single-pole double-throw switch SW1 or the single-pole double-throw switch SW2 is in the first state, the code corresponding to the switch state is recorded as 0; when the single-pole double-throw switch SW1 or the single-pole double-throw switch SW2 is in the second state, the code corresponding to the switch state is recorded as 1. Figure 6 The single-pole double-throw switch SW1 and the single-pole double-throw switch SW2 shown in FIG. 1 are both in the first state, and therefore, the states of the single-pole double-throw switch SW1 and the single-pole double-throw switch SW2 are encoded as 00 in sequence.

[0087] The interlocking module provided in this embodiment is applicable to various types of interlocking signals. It is understandable that when manufacturing smart furniture, different manufacturers may make different preset interlocking signals for different smart furniture according to their own needs and habits. It can be divided into four situations, that is, the preset interlocking signals are: 11, 00, 10, 01. For different situations, the interlocking module with programming function provided in this embodiment can be applied to the above different situations with only one interlocking module, and the wiring method for all situations does not need to be changed, which is very convenient for different design habits. Fig.11 As shown, its interlock signal is 11 (i.e., P1P2 are both high level), 1 represents the pin output high level, and 0 represents the pin output low level. When the interlock signal is 11, it means that the forward circuit and the reverse circuit are both turned on when the corresponding control pins (i.e., P1 and P2) output 1. When the interlock signal is 11, it means that the forward circuit and the reverse circuit are both turned on when the corresponding control pins (i.e., P1 and P2) output 1. When the interlock signal is 10, it means that the forward circuit and the reverse circuit are turned on when the corresponding control pins (i.e., P1 and P2) output 1 and 0 respectively. That is, the relay of the forward circuit is turned on when the P1 pin outputs a high level, and the relay of the reverse circuit is turned on when the P2 pin outputs a low level. For other interlock signals, the principle is the same and will not be repeated here.

[0088] The working principle of the interlocking module with programming function provided in this embodiment is as follows:

[0089] 1. When the preset interlock signal is 11, the states of the single-pole double-throw switch SW1 and the single-pole double-throw switch SW2 are coded as 00. In this coded state, the interlock of switches K5 and K6 in the motor drive circuit corresponding to the preset interlock signal 11 can be realized (that is, the two cannot be closed at the same time). Specifically, when H1 and H2 input high level at the same time (that is, when P1P2=11), both the triode Q3 and the triode Q4 are turned on, and the gates of the MOS tubes M1, MOS tubes M2, MOS tubes M3, and MOS tubes M4 are all pulled to a low potential. At this time, both the MOS tubes M1 and MOS tubes M2 are turned on, and both the MOS tubes M3 and MOS tubes M4 are turned off. Since both the relays J1 and J2 are in the normally open state, the switches K1 and K2 cannot be closed, so the forward and reverse circuits of the motor are not turned on. When H1 and H2 input high level and low level respectively (that is, P1P2=10), transistor Q3 is turned on and transistor Q4 is turned off, MOS tubes M1 and M4 are both turned on, MOS tubes M2 and M3 are both turned off, the electromagnet of relay J1 is energized to close switch K1, and the electromagnet of relay J2 is not energized to open switch K2, that is, the forward circuit controlled by P1 pin is turned on, and the reverse circuit controlled by P2 is not turned on.

[0090] 2. When the preset interlock signal is 00, the states of the single-pole double-throw switch SW1 and the single-pole double-throw switch SW2 are coded as 11. In this coded state, the interlocking of the switches of the forward and reverse circuits in the motor drive circuit corresponding to the preset interlock signal 00 can be achieved (i.e., the two cannot be closed at the same time). Specifically, when H1 and H2 input low levels at the same time (i.e., when P1P2=00), both the transistors Q3 and Q4 are turned on, and the gates of the MOS tubes M1, M2, M3, and M4 are all pulled to a low potential. At this time, both the MOS tubes M1 and M2 are turned on, and both the MOS tubes M3 and M4 are turned off. Since both the relays J1 and J2 are in the normally open state, the switches K1 and K2 cannot be closed, so the forward and reverse circuits of the motor are not turned on. When H1 and H2 input low level and high level respectively (that is, P1P2=01), transistor Q3 is turned on and transistor Q4 is turned off, MOS tubes M1 and M4 are both turned on, MOS tubes M2 and M3 are both turned off, the electromagnet of relay J1 is energized to close switch K1, and the electromagnet of relay J2 is not energized to open switch K2, that is, the forward circuit controlled by P1 pin is turned on, and the reverse circuit controlled by P2 is not turned on.

[0091] 3. When the preset interlock signal is 10, the states of the single-pole double-throw switch SW1 and the single-pole double-throw switch SW2 are coded as 01. In this coded state, the interlocking of the switches of the forward and reverse circuits in the motor drive circuit corresponding to the preset interlock signal of 10 can be achieved (that is, the two cannot be closed at the same time). Specifically, when H1 and H2 input a high level and a low level respectively (that is, when P1P2=10), both the transistor Q3 and the transistor Q4 are turned on, and the gates of the MOS tubes M1, M2, M3, and M4 are all pulled to a low potential. At this time, both the MOS tubes M1 and M2 are turned on, and both the MOS tubes M3 and M4 are turned off. Since both the relays J1 and J2 are in the normally open state, the switches K1 and K2 cannot be closed, so the forward and reverse circuits of the motor are not turned on. When H1 and H2 input high level at the same time (i.e. P1P2=11), transistor Q3 is turned on and transistor Q4 is turned off, MOS tubes M1 and M4 are both turned on, MOS tubes M2 and M3 are both turned off, the electromagnet of relay J1 is energized to close switch K1, and the electromagnet of relay J2 is not energized to open switch K2, that is, the forward circuit controlled by P1 pin is turned on, and the reverse circuit controlled by P2 is not turned on.

[0092] 4. When the preset interlock signal is 01, the states of the single-pole double-throw switch SW1 and the single-pole double-throw switch SW2 are coded as 10. In this coded state, the interlocking of the switches of the forward and reverse circuits in the motor drive circuit corresponding to the preset interlock signal 01 can be achieved (i.e., the two cannot be closed at the same time). Specifically, when H1 and H2 input low level and high level respectively (i.e., when P1P2=01), both the transistor Q3 and the transistor Q4 are turned on, and the gates of the MOS tubes M1, M2, M3, and M4 are all pulled to a low potential. At this time, both the MOS tubes M1 and M2 are turned on, and both the MOS tubes M3 and M4 are turned off. Since both the relays J1 and J2 are in the normally open state, the switches K1 and K2 cannot be closed, so the forward and reverse circuits of the motor are not turned on. When H1 and H2 input low level at the same time (i.e. P1P2=00), transistor Q3 is turned on and transistor Q4 is turned off, MOS tubes M1 and M4 are both turned on, MOS tubes M2 and M3 are both turned off, the electromagnet of relay J1 is energized to close switch K1, and the electromagnet of relay J2 is not energized to open switch K2, that is, the forward circuit controlled by P1 pin is turned on, and the reverse circuit controlled by P2 is not turned on.

[0093] It should be noted that, during the installation of the interlocking module, the installer only needs to adjust the states of the single-pole double-throw switch SW1 and the single-pole double-throw switch SW2 according to the interlocking signal corresponding to the two relays to be interlocked in the above manner. During the user's use of the smart furniture, these switches in the interlocking module may change their states due to the user's accidental touch, etc., which may affect the normal function of the smart furniture and lose the interlocking function. In this regard, this embodiment provides the following solution.

[0094] In this embodiment, both the single-pole double-throw switch SW1 and the single-pole double-throw switch SW2 are implemented by a rocker switch 50. Figure 7 and Figure 8 As shown, the states of the three single-pole double-throw switches can be changed by turning the button 51, wherein the conductive terminal X is the input terminal, the conductive terminal Y1 is the first output terminal, and the conductive terminal Y2 is the second output terminal. Figure 7 The rocker switch 50 is shown in a first state. Figure 8 The rocker switch 50 is shown in the second state.

[0095] by Figure 7 For example, the structure of the rocker switch 50 is described. The rocker switch 50 includes a support shell 54, a button 51, and three conductive terminals X, Y1, and Y2. The upper ends of the three conductive terminals X, Y1, and Y2 are located inside the support shell 54, and the lower ends extend outside the support shell 54. The upper end of the support shell 54 has an opening, and a ring-shaped support sheet 55 is formed around the opening. The lower end of the button 51 extends into the support shell 54 through the opening and is connected to the metal contact sheet inside the support shell 54. The upper end of the button 51 is located outside the support shell 54. The button 51 is rotatably connected to the support shell 54 through an axis to form a seesaw structure. The left and right ends of the button 51 can be toggled to change the height of the left and right ends of the button 51 outside the support shell 54. When the button 51 is toggled, it can drive the metal contact sheet to connect the conductive terminals X and Y1 or connect the conductive terminals X and Y2. The rocker switch 50 is in a state where the button 51 is toggled. Figure 7 The first state shown can connect the conductive terminals X and Y2, and the button 51 is in Figure 8The second state shown can connect the conductive terminals X and Y1. The specific internal structure and principle belong to the prior art and will not be described here. The improvement of this embodiment is that two holes are set at the right end of the button 51 outside the support shell 54. The two holes have the same shape and size, and the axes of the two holes are parallel to the axis of the button 51 rotating around the support shell 54. The two holes are respectively an upper locking hole 52 and a lower locking hole 53. The position between the upper locking hole 52 and the lower locking hole 53 is constrained by the following relationship: when the rocker switch 50 is in the first state, there is a first distance between the axis of the lower locking hole 53 and the upper surface of the annular support sheet 55; when the rocker switch 50 is in the second state, there is also a first distance between the axis of the upper locking hole 52 and the upper surface of the annular support sheet 55. Among them, there is a second distance between the upper and lower surfaces of the annular support sheet 55, that is, the thickness of the annular support sheet 55 is equal to the second distance.

[0096] like Fig.10 As shown, the interlocking module with programming function is encapsulated in a plastic encapsulation shell 70, and the H1 end, H2 end, H3 end, H4 end, H5 end and H6 end extend out of the encapsulation shell 70 through metal terminals for connection with the circuit of the smart furniture. Support arms 72 protruding from the surface are respectively provided at both ends of the upper surface of the encapsulation shell 70, and a support through hole 73 is respectively provided on the two support arms 72. The two support through holes 73 are coaxial, and the two support through holes 73 on the two support arms 72 have the same height compared to the upper surface. The two rocker switches 50 as switches SW1 and SW2, a total of two switches, are arranged in sequence between the two support arms 72 along the axis direction of the support through hole 73. Specifically, the upper surface of the packaging shell 70 has a mounting hole, and the aperture of the mounting hole is smaller than the size of the annular support sheet 55. When the lower ends of the support shells 54 of the rocker switch 50 and the double rocker switch 60 extend into the mounting hole, the support shell of the rocker switch 50 is limited from continuing to enter the packaging shell 70 due to the limiting effect of the annular support sheet 55, and then the rocker switch 50 and the packaging shell 70 are fastened together by gluing or screws. It can be seen that when the rocker switch 50 is in the first state, the distance between the axis of the lower locking hole 53 and the upper surface of the packaging shell 70 is equal to the sum of the first distance and the second distance; when the rocker switch 50 is in the second state, the distance between the axis of the upper locking hole 52 and the upper surface of the packaging shell 70 is equal to the sum of the first distance and the second distance. In this embodiment, the axis of the support through hole 73 has a third distance from the upper surface of the packaging shell 70, so that the third distance is equal to the sum of the first distance and the second distance. When all the rocker switches 50 are in the first state, the lower locking holes 53 and the supporting through holes 73 are coaxial, and the upper locking holes 52 , the lower locking holes 53 and the supporting through holes 73 have the same apertures.

[0097] The present embodiment also includes a locking rod 71, the diameter of which is slightly smaller than the diameters of the upper locking hole 52, the lower locking hole 53 and the supporting through hole 73. After the assembler adjusts the states of the single-pole double-throw switch SW1 and the single-pole double-throw switch SW2 by toggling each rocker switch 50 in accordance with the interlocking signals of the two relays to be interlocked as described in the above embodiment, one end of the locking rod 71 is passed through the upper locking hole 52 or the lower locking hole 53 of each rocker switch 50 from one of the supporting through holes 73 in turn, and finally through the other supporting through hole 73, thereby locking the programming function and preventing the states of the switches from being changed due to accidental touches by the user during use. At the same time, as the rocker switch 50 ages, the spring therein may be unable to maintain the state of the switch. The solution provided in the present embodiment can keep the state of the rocker switch 50 unchanged when the spring and other components of the rocker switch 50 age, thereby improving circuit stability. Fig.10 As shown, the switch SW1 is in the second state, and the switch SW2 is in the first state, which is coded as 10.

[0098] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRA), memory bus (Rambus) direct RAM (RDRA), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0099] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

Claims

1. A method for controlling intelligent furniture, wherein the intelligent furniture comprises a motor and a seat and a backrest driven by the motor to rotate relative to each other; characterized in that: The method comprises: Real-time detection of the physiological state of a target user; the target user is a user located on the smart furniture; When it is detected that the physiological state of the target user changes from a wakeful state to a sleeping state, executing an intelligent adjustment strategy for the target user; The intelligent adjustment strategy includes: When it is detected that the angle between the current seat and the backrest is not less than a preset threshold angle, the angle between the seat and the backrest is kept unchanged while the target user is in a sleeping state; When it is detected that the angle between the current seat and the backrest is less than a preset threshold angle, it is determined whether the target user has a corresponding habitual sleeping angle; if so, the angle between the seat and the backrest is adjusted based on the corresponding habitual sleeping angle of the target user and the angle between the seat and the backrest is kept unchanged during the target user is in a sleeping state; if not, the angle between the seat and the backrest is adjusted based on the preset threshold angle and the angle between the seat and the backrest is kept unchanged during the target user is in a sleeping state; When it is necessary to execute the intelligent adjustment strategy, the habitual sleeping angle corresponding to the target user is determined through the following steps; Based on the historical usage data of the target user each time when using the smart furniture, the sleep score of the target user each time when using the smart furniture is evaluated; Determine the target user's habitual sleeping angle based on the historical usage data corresponding to the highest sleep score; Among them, the sleep score of a target user when using smart furniture for the i-th time is calculated by the formula Conduct assessments; Formula 1: Among them, Norm[] is the normalization function, , and is the preset coefficient; i is a natural number, The actual duration or corrected duration of the target user being in a sleeping state when using the smart furniture for the i-th time; The duration of significant movements during the sleep state of the target user when using the smart furniture for the i-th time; The maximum duration of significant movements during sleep of the target user during all the times the target user used the smart furniture. It is the date interval between the date when the evaluation is conducted and the date when the target user uses the smart furniture for the first time.

2. The intelligent furniture control method according to claim 1, characterized in that: When the corrected duration of the target user being in a sleeping state when using the smart furniture for the i-th time is , the value in formula 1 is determined by formula 2; Formula 2: in, and is the preset coefficient; The actual duration of the target user’s sleep state when using the smart furniture for the i-th time; When the target user uses the smart furniture for the i-th time, the illumination of the environment when the target user changes from awake state to sleeping state; The maximum illumination of the environment when the target user is sleeping when using the smart furniture for the i-th time; The sound intensity of the environment when the target user changes from awake state to sleeping state when the target user uses the smart furniture for the i-th time; The maximum sound intensity of the environment when the target user is sleeping when using the smart furniture for the i-th time.

3. The intelligent furniture control method according to claim 1, characterized in that: The detecting that the physiological state of the target user changes from a wakeful state to a sleeping state specifically includes: Inputting the physiological information of the target user in each cycle into a pre-trained neural network model; wherein the physiological information includes the user's posture, breathing rate and heart rate in each cycle; the neural network model is obtained by machine learning training through multiple sets of data, each set of data in the multiple sets of data includes the physiological information of the human in each cycle and a label for marking the physiological state of the human in the current cycle; the physiological state includes awake state or sleep state; Determine the current physiological state of the target user based on the output of the neural network model; When it is detected that the user is in a sleeping state, it is determined that the physiological state of the target user changes from a wakeful state to a sleeping state.

4. The intelligent furniture control method according to claim 3, characterized in that: Based on millimeter-wave radar, the target user's breathing rate, heart rate and posture in each cycle are detected in real time.

5. The intelligent furniture control method according to claim 2, characterized in that: The following steps are used to determine the duration of significant movements during the target user's sleep state when using the smart furniture for the i-th time: At the start and end time of each time step when the target user is in a sleeping state when using the smart furniture for the i-th time, the initial distance and the final distance of multiple directions of the area where the smart furniture is located are measured based on the millimeter wave radar; The initial distance and the final distance of each direction of the area where the smart furniture is located measured in one time step are respectively subtracted and the absolute value is taken as the movement amplitude corresponding to each direction; The largest of the motion amplitudes corresponding to the various directions of the area where the smart furniture is located measured within a time step is taken as the maximum motion amplitude of the time step; Based on the product of the number of time steps in which the maximum movement amplitude is greater than the threshold amplitude and the duration corresponding to each time step during the i-th period when the target user uses the smart furniture in a sleeping state, the duration of large movements occurring during the i-th period when the target user uses the smart furniture in a sleeping state is determined.

6. The intelligent furniture control method according to claim 3, characterized in that: The method further comprises: During the process of adjusting the angle between the seat and the backrest, if a living body is detected within the preset anti-pinch range of the smart furniture, the adjustment is paused and a prompt signal is issued.

7. A smart furniture control device, characterized in that: The control device includes a main control module and an execution module, the execution module includes a motor and a seat and a backrest driven by the motor to rotate relative to each other, the main control module includes a memory, a processor, and a computer program stored in the memory and executable on the processor; when the processor executes the program, the steps of the method as described in any one of claims 1 to 6 are implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Intelligent furniture control method and system, intelligent furniture, cloud server and terminal

    CN117872793A

  • Smart seat and control method thereof

    CN107550128A

  • Safety seat capable of being automatically adjusted according to sleeping states of child passenger and control system thereof

    CN110154841A

  • Electric bed control method and system capable of automatically adjusting bed angle

    CN114468655A