Human body detection method of intelligent furniture, intelligent furniture and controller
By utilizing changes in the capacitance of heating elements in smart furniture to detect the presence of a human body, the issues of cost and comfort caused by the increase in sensors are resolved, achieving efficient human body detection.
Patent Information
- Application Number
- CN202511918187.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-18
- Publication Date
- 2026-02-10
AI Technical Summary
Existing human detection methods for smart furniture require additional sensors, resulting in high hardware costs, increased production complexity, and reduced user comfort.
By placing heating elements under the human contact surface of smart furniture, the presence of a human body can be detected by utilizing changes in the capacitance value of the heating elements, thus achieving human presence detection and avoiding the need for additional sensors.
This reduces the hardware cost of sensors, lowers the complexity of furniture production, and improves user comfort, accuracy of data collection, and anti-interference capabilities.
Smart Images

Figure CN121489259A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of artificial intelligence technology, and in particular to human body detection methods for smart furniture, smart furniture, and controllers. Background Technology
[0002] With the development of smart home technology, sofas, beds, and other seating and reclining furniture are gradually equipped with intelligent functions such as heating, massage, and automatic adjustment. To improve ease of use and energy efficiency, it is usually necessary to detect whether a person is sitting or lying on the furniture so that the heating and massage functions can be automatically turned off when the person leaves and automatically turned on when the person is sitting or lying on the furniture.
[0003] In existing technologies, the above-mentioned detection function is generally achieved by additionally installing human body proximity sensors (such as pressure sensors) under furniture cushions or bed surfaces. However, this method has the following drawbacks: First, it increases the hardware cost of the sensors; second, the installation of the sensors requires additional process steps, increasing production complexity; and third, placing the sensors under the cushions or bed surfaces may affect the comfort of using the furniture. For example, pressure sensors may cause the surface of the cushion to bulge, affecting the sitting or lying comfort. Summary of the Invention
[0004] This application provides a human body detection method for smart furniture, smart furniture, and a controller. It can realize the in-situ detection of human bodies in smart furniture without adding additional sensors, thereby reducing the hardware cost of sensors, reducing the complexity of furniture production, and improving the comfort of using the furniture.
[0005] In a first aspect, embodiments of this application provide a human body detection method for smart furniture, applied to a controller in the smart furniture, wherein a heating element is provided below the human body contact surface of the smart furniture, and the method includes: Obtain the current capacitance value of the heating element; Determine the capacitance difference between the current capacitance value and the preset capacitance reference value; The human body detection result is determined based on the capacitance difference and the preset capacitance threshold.
[0006] Secondly, embodiments of this application also provide a smart furniture for executing the human body detection method for smart furniture provided in the first aspect, including: The furniture body and the heating element, wherein the heating element is disposed below the human contact surface of the furniture body; The controller, located in the central control area of the furniture body and connected to the heating element, is used to determine the human body detection result based on the current capacitance value of the heating element.
[0007] Thirdly, embodiments of this application also provide a human body detection device for smart furniture. The human body detection device is deployed in the controller of the smart furniture, and a heating element is provided below the human body contact surface of the smart furniture, including: A transceiver unit is used to obtain the current capacitance value of the heating element; The processing unit is used to determine the capacitance difference between the current capacitance value and a preset capacitance reference value; and to determine the human body detection result based on the capacitance difference and a preset capacitance threshold.
[0008] Fourthly, embodiments of this application also provide a controller, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-described method.
[0009] Fifthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, the computer program including program instructions that, when executed by a processor, can implement the above-described method.
[0010] This application provides a human body detection method for smart furniture, smart furniture, and a controller. The controller, applied to smart furniture, includes a heating element located below the human body contact surface. The method includes: acquiring the current capacitance value of the heating element; determining the capacitance difference between the current capacitance value and a preset capacitance reference value; and determining a human body detection result based on the capacitance difference and a preset capacitance threshold. This embodiment uses the capacitance value of the heating element for human body detection, achieving in-situ human body detection in smart furniture without adding additional sensors, reducing sensor hardware costs, lowering the complexity of furniture production, and improving the comfort of using the furniture. Attached Figure Description
[0011] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0012] Figure 1 This is a schematic diagram of one side structure of the smart furniture provided in an embodiment of this application; Figure 2 This is a schematic diagram of the structure of the heating cloth provided in an embodiment of this application; Figure 3 A flowchart illustrating the human body detection method for smart furniture provided in this application embodiment; Figure 4A flowchart illustrating a human body detection method for smart furniture provided in another embodiment of this application; Figure 5 A schematic diagram of a sub-process of the human body detection method for smart furniture provided in an embodiment of this application; Figure 6 A schematic diagram of the control circuit provided in an embodiment of this application; Figure 7 A schematic block diagram of a human body detection device for smart furniture provided in an embodiment of this application; Figure 8 A schematic block diagram of a controller provided in an embodiment of this application. Detailed Implementation
[0013] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0014] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0015] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the application. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0016] It should also be further understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0017] This application provides a human body detection method for smart furniture, smart furniture, and a controller.
[0018] The subject executing the human body detection method of the smart furniture can be the human body detection device of the smart furniture provided in the embodiments of this application, or a controller that integrates the human body detection device of the smart furniture. The human body detection device of the smart furniture can be implemented in hardware or software.
[0019] The smart furniture in this application embodiment can be a smart sofa, smart bed, or smart chair, etc., which has a reclining / lying function. A heating element is provided below the human body contact surface of the smart furniture. When the smart furniture is a smart sofa or smart chair, the human body contact surface is the surface of the cushion. When the smart furniture is a smart bed, the human body contact surface is the surface of the mattress.
[0020] For ease of understanding, this application uses a smart sofa as an example of smart furniture to provide a detailed description of the human body detection method for smart furniture provided in this application.
[0021] Please see Figure 1 , Figure 1 The schematic diagram of one side of the smart furniture (taking a smart sofa as an example) provided in this application includes the sofa body 1 and the heating element 2, wherein the heating element 2 is located below the human body contact surface.
[0022] The heating element 2 is arranged above the sponge 3 of the seat cushion, and silk floss 4 is arranged above the heating element 2 to reduce the impact of the heating element 2 on the sitting comfort. The outermost part of the seat cushion is covered with a specific outer fabric 5 (such as cowhide or cloth).
[0023] In some embodiments, the heating element 2 is a heating wire, and the heating wire is woven into the fabric to form a heating cloth, thereby achieving uniform heating of the cushion and better securing the heating wire. Figure 2 As shown, Figure 2 This is a schematic diagram of the structure of the heating cloth provided in this application. The heating wire is spread all over the heating cloth through a serpentine route, and the two pins of the heating wire are Heat+ and Heat- respectively.
[0024] Furthermore, a temperature sensor 6 is provided on the heating cloth, and the temperature sensor 6 is connected to the controller. The temperature sensor 6 is located at the end of the heating cloth, which is close to the back of the sofa. The two pins of the temperature sensor 6 (NTC) are NTC+ and NTC-, respectively. NTC+ and NTC- are connected to the corresponding pins of the controller. Each pin on the heating cloth is connected to the controller through a wire harness.
[0025] The edges of the heating cloth are at a certain distance from the edge of the sofa cushion, for example, more than 3cm.
[0026] The controller provided in this application is a microcontroller unit (MCU).
[0027] Figure 3 This is a flowchart illustrating the human body detection method for smart furniture provided in this application embodiment. Figure 3As shown, the method includes the following steps S110-S130.
[0028] S110. Obtain the current capacitance value of the heating element.
[0029] In this embodiment, when a person sits on the sofa, because the human body is a conductor, a coupling capacitance is formed between the heating wire, the human body, and the ground. This causes the capacitance value of the heating wire to suddenly increase the moment the person sits down; conversely, when the person leaves the sofa, this coupling capacitance disappears, causing the measured capacitance value to decrease. Therefore, the change in capacitance value on the heating wire can be used to determine whether the user is sitting on the sofa.
[0030] In this application, the capacitance value acquisition and heating control are performed in a time-division multiplexing manner. Specifically, the heating element control cycle is preset and then divided into a capacitance detection sub-cycle, a heating start sub-cycle, and a heating stop sub-cycle in sequence. The controller performs capacitance value acquisition in the capacitance detection sub-cycle and performs heating control operations in the heating start and heating stop sub-cycles (when someone is detected sitting on the sofa).
[0031] Specifically, step S110 involves obtaining the current capacitance value within the capacitance detection sub-cycle.
[0032] For example, 1 second (1000ms) is a heating element control cycle. The first 50ms is the capacitor detection sub-cycle, the 50ms to 990ms is the heating start sub-cycle, and the 990ms to 1000ms is the heating stop sub-cycle.
[0033] The controller is connected to the positive terminal of the heating element via a high-side drive switch and to the negative terminal via a low-side drive switch. During the capacitance detection sub-cycle, both the high-side and low-side drive switches are off, and the heating wire is in a floating state, allowing the acquisition of the induced capacitance value (current capacitance value) of the heating wire. The detection method involves charging the heating wire's port using an RC circuit and using the time taken to detect the calibrated voltage value as an equivalent measurement; a longer charging time indicates a larger capacitance value at the port.
[0034] S120. Determine the capacitance difference between the current capacitance value and the preset capacitance reference value.
[0035] In this embodiment, the capacitance difference between the current capacitance value and the preset capacitance reference value is calculated. Specifically, the current capacitance value - the capacitance reference value = the capacitance difference.
[0036] Furthermore, since the capacitance value on the heating wire will slowly change due to the influence of ambient temperature and humidity (but the change will be much smaller than the change when a person sits on the sofa), in order to ensure the accuracy of the capacitance reference value and improve the system's anti-interference capability, this embodiment will dynamically update the capacitance reference value. Specifically, after determining the capacitance difference between the current capacitance value and the preset capacitance reference value, the method further includes: If the capacitance difference is less than or equal to the capacitance threshold, then it is determined whether the difference between the current capacitance value and the capacitance value collected in the previous cycle is less than a preset change threshold; if it is less than the preset change threshold, then the capacitance reference value is updated according to the preset capacitance reference value adjustment rule.
[0037] Specifically, if the collected capacitance value C1 (current capacitance value) changes slowly compared to the previously collected capacitance value, for example, if the change is less than 10 (a preset change threshold), it is determined that the change is due to a change in the induced capacitance value on the heating wire caused by changes in ambient temperature and humidity. Therefore, the capacitance reference value is updated slowly to reduce the influence of ambient temperature and humidity on the collection results. For example, if the reference capacitance value calibrated at power-on is 1000, and the capacitance value is 1010 during subsequent collection, the capacitance value can be increased by 1 every 60 seconds until it approaches the actual collected value of 1010. This dynamic updating of the capacitance reference value improves the system's anti-interference capability and makes the collection results more accurate.
[0038] S130. Determine the human body detection result based on the capacitance difference and the preset capacitance threshold.
[0039] Specifically, if the capacitance difference is greater than the capacitance threshold, the result of the human body being in place is determined as the human body detection result; if the capacitance difference is less than or equal to the capacitance threshold, the result of the human body being out of place is determined as the human body detection result.
[0040] Among them, the "human body in place" result indicates that someone is currently sitting on the sofa, and the "human body out of place" result indicates that no one is currently sitting on the sofa.
[0041] When a person sits on a sofa, the capacitance value of the heating wire will suddenly increase due to the coupling with the human body's capacitance. In order to detect whether someone is sitting on the sofa through capacitance, the capacitance threshold needs to be calibrated in advance. For example, the equivalent capacitance value when no one is sitting is 1000, and the capacitance value will increase to about 1200 after someone sits on the sofa. The calibrated capacitance threshold ΔC is a preset multiple (between 0.3 and 0.8 times) of the measured capacitance change value after someone sits on the sofa. Therefore, the threshold ΔC is calibrated to 100.
[0042] This embodiment also provides the determination of the user's seated (currently seated) and user's departed (currently departed) states. When the system (controller) determines that the user is not seated, the system determines that the user is seated when the collected capacitance value is C1 and the capacitance reference value is C0, and C1-C0>ΔC. If the system determines that the user is seated, the system determines that the user has departed when the collected capacitance value is C1-C0<ΔC.
[0043] If the user has set the seat heating function to automatically turn on when someone is detected sitting down, then after determining the human presence result as the human detection result, as follows: Figure 4 As shown, it also includes step S140: S140, Perform heating control on the heating element.
[0044] In some embodiments, please refer to Figure 5 Step S140 includes: S1401. Perform a heating start-up operation on the heating element during the heating start-up sub-cycle.
[0045] In this embodiment, specifically, the low-side drive switch is turned on at the first moment of the heating start-up sub-cycle, and the first moment is the start moment of the heating start-up sub-cycle; the high-side drive switch is turned on at the second moment within the heating start-up sub-cycle, and the second moment is located after a preset delay time of the start moment.
[0046] The step of turning on the high-side drive switch at the second moment within the heating start-up sub-cycle includes: determining the heating power corresponding to the current preset temperature; setting the PWM value for turning on the high-side drive switch according to the heating power; and turning on the high-side drive switch at the second moment.
[0047] S1402, Perform a heating shutdown operation on the heating element during the heating shutdown sub-cycle.
[0048] In this embodiment, specifically, the high-side drive switch is turned off at the beginning of the heating shutdown sub-cycle; and the low-side drive switch is turned off at the end of the heating shutdown sub-cycle.
[0049] For example, if the preset delay time is 10ms, in step S1401, the low-side drive switch is first turned on, the PWM value for the high-side drive switch is set, and then the high-side drive switch is turned on again after a 10ms delay. In step S1402, during the heating off sub-cycle (i.e., the last 10ms of a one-second cycle), the high-side drive switch is first turned off, and then the low-side drive switch is turned off after a 10ms delay. This ensures that the low-side drive switch is always on when the high-side drive switch is on. At this time, the capacitor detection pin is pulled to GND during the heating wire's working cycle; it will not be pulled to the power supply voltage (e.g., +29V) due to the high-side switch being on and the low-side switch being off, which could potentially damage the capacitor detection port due to overvoltage. When heating is not required, both the high-side and low-side drive switches are always kept off, meaning that the heating element is in a stopped heating state during capacitor detection.
[0050] Furthermore, before controlling the heating element, the method further includes: obtaining the current temperature of the heating element; at this time, controlling the heating element includes: if the current temperature is lower than the current preset temperature, then controlling the heating element.
[0051] For example, when the actual seat temperature (the current temperature of the heating element) is lower than the seat temperature set by the user (the current preset temperature), step S140 is executed to turn on the heating wire to heat and increase the seat surface temperature.
[0052] Furthermore, after determining the capacitance difference between the current capacitance value and the preset capacitance reference value, the method further includes: if the capacitance difference between the current capacitance value and the capacitance reference value obtained within a preset time period is less than or equal to the capacitance threshold, then the smart furniture is determined to be in a user-away scenario; and an away action associated with the user-away scenario is executed, the away action including stopping the massage action and / or lifting the leg back to its original position.
[0053] For example, if the preset duration is 2 minutes and no one is detected within 2 minutes, the massage and / or leg-lifting return actions will stop according to the settings.
[0054] Furthermore, after determining the human body presence result as the human body detection result, the method further includes: determining the continuous presence duration of the human body; if the continuous presence duration is greater than the continuous presence duration threshold, then issuing a human body presence timeout reminder.
[0055] For example, a user closes their eyes to rest on the sofa to avoid resting for too long. The user sets a 30-minute timer on the sofa. If the system detects that the user has been on the sofa for more than 30 minutes, it will issue a human presence timeout reminder, such as through vibration at a specific frequency or by emitting a sound reminder.
[0056] In summary, this embodiment obtains the current capacitance value of the heating element; determines the capacitance difference between the current capacitance value and a preset capacitance reference value; and determines the human body detection result based on the capacitance difference and a preset capacitance threshold. This embodiment uses the capacitance value of the heating element for human body detection, enabling in-situ human body detection in smart furniture without adding additional sensors. This reduces sensor hardware costs, lowers the complexity of furniture production, and improves the comfort of using the furniture.
[0057] Specifically, this embodiment determines whether a user is sitting on the sofa by directly detecting changes in the capacitance value of the heating wire on the sofa's built-in heating fabric, eliminating the cost, installation process, and impact on sofa comfort associated with a separate seat / position sensor. By dynamically updating the reference capacitance value on the heating wire, the system's impact from changes in capacitance value due to ambient temperature and humidity variations is reduced, resulting in more accurate data acquisition. Two independent control circuits for the high and low sides of the heating wire prevent automatic heating if one side fails. When the heating wire needs to operate, the low side switch remains on before and after the high side drive is turned on, thus preventing damage to the capacitance detection port due to overvoltage.
[0058] This application embodiment also provides a smart furniture, which is used to execute the aforementioned human body detection method for smart furniture. The smart furniture can be a smart sofa, smart bed, or smart chair, or other smart furniture with reclining / lying functions. Specifically, the smart furniture includes: The furniture body and the heating element, wherein the heating element is disposed below the human contact surface of the furniture body; The controller, located in the central control area of the furniture body and connected to the heating element, is used to determine the human body detection result based on the current capacitance value of the heating element.
[0059] Furthermore, the heating element is a heating wire, and the heating wire is woven into the fabric to form a heating cloth.
[0060] Please see Figure 6 , Figure 6 A schematic diagram of the control circuit provided in this application is shown below. The following description, in conjunction with this control circuit, further illustrates the smart furniture and human body detection method provided in this application: The controller 9 is connected to the heating element 2 via a control circuit, which includes the controller 9, the heating element 2, a high-side drive switch 7, a low-side drive switch 8, and a detection resistor (R6). The input terminal of the high-side drive switch 7 is connected to the power supply, the output terminal is connected to the positive terminal of the heating element 2, and the control terminal is connected to the positive control pin of the controller 9 through the first drive resistor (R1). The input terminal of the low-side drive switch 8 is connected to the negative terminal of the heating element 2, the output terminal is grounded, and the control terminal is connected to the negative control pin of the controller 9 through the second drive resistor (R7). One end of the detection resistor is connected to the negative terminal of the heating element 2, and the other end is connected to the capacitance detection pin of the controller 9.
[0061] Specifically, controller 9 can be an MCU.
[0062] In some embodiments, the control circuit further includes a current-limiting resistor (R3), one end of which is connected to the current detection pin on the high-side drive switch 7, and the other end is grounded.
[0063] In some embodiments, the high-side drive switch 7 is a smart power switch chip or a P-channel MOSFET; The high-side drive switch 7 also includes a current detection enable pin and a current detection pin. The current detection enable pin is used to enable the current detection pin to detect the current of the heating element. The current detection enable pin is connected to the enable pin on the controller 9 through an enable resistor. The current detection pin is connected to the current detection pin on the controller 9 through a current detection resistor. The low-side drive switch 8 is an N-channel MOSFET.
[0064] In some embodiments, the controller 9 specifically includes the following pins: Heat_C+ (positive control pin), DIAG (enable pin connection), CS (current detection pin), Detc (capacitance detection pin), and Heat_C- (negative control pin); the high-side drive switch 7 includes the following pins: VS (input terminal), IN (control terminal), DING_EN (current detection enable pin), CL (current limit pin), CS (current detection pin), GND (ground terminal), and OUT (output terminal); wherein, the VS pin of the high-side drive switch 7 is connected to the power supply, the IN pin is connected to the Heat_C+ pin of the controller 9 through resistor R1, the DING_EN pin is connected to the DIAG pin of the controller 9 through resistor R2, the CL pin is grounded through resistor R3, the CS pin is connected to the CS pin of the controller 9 through resistor R4, the GND pin is grounded and connected to the CS pin through resistor R5. In addition, this embodiment also provides a pull-down resistor R8, one end of which is grounded and the other end is connected to the control terminal of the low-side drive switch 8 to prevent false turn-on.
[0065] In this embodiment, the mains power is converted into a voltage suitable for smart furniture operation (e.g., 29V) by an isolation transformer and connected to the VS pin of the high-side drive switch 7. The OUT pin is connected to one end of the heating element 2 lead Heat+ (positive terminal), and the IN pin is connected to the IO port (i.e., Heat_C+) of the controller 9 (e.g., a microcontroller). The controller 9 drives the high-side drive switch 7 to turn on and off by outputting high and low levels. The DIAG_EN pin is a current sensing enable port to enable the CS pin to detect the current of the heating element 2, enabling diagnosis and protection in case of short circuit or open circuit. The CL pin is connected to GND (ground) through resistor R3 to limit the driving current of the heating element 2, enabling direct hardware protection when the heating element 2 is short-circuited. Similarly, the high-side drive switch 7 can also be equivalently replaced by a P-channel MOS.
[0066] The other end of the heating element 2, Heat-, is connected to an N-channel MOSFET to drive the low-side conduction and turn-off. Simultaneously, the other end, Heat- (negative terminal), is connected to the capacitance detection port Detc of the controller 9 via a resistor. When both the high-side drive switch 7 and the low-side drive switch 8 are off, and the heating element 2 is in a floating state, the induced capacitance value of the heating element 2 is detected. The detection method can be equivalent to the time taken to charge the port using an RC circuit and detect the calibrated voltage value; the longer the charging time, the larger the capacitance value of the port.
[0067] When a person sits on the sofa, because the human body is a conductor, a coupling capacitance is formed between the heating element 2 (heating wire) and the human body to the ground. This causes the capacitance value of the heating element 2 to suddenly increase the moment the person sits down; and when the person leaves the sofa, this coupling capacitance disappears, causing the measured capacitance value to decrease. Therefore, the user's sitting position can be determined by measuring the change in capacitance value on the heating wire.
[0068] The following describes in detail the heating control and capacitance value acquisition process of the smart sofa provided in this embodiment, taking smart furniture as an example. The parameters in the following example are only illustrative, and the actual parameters can be adjusted according to actual needs. This embodiment does not limit the specific parameters set in the heating control and capacitance value acquisition process.
[0069] In this embodiment, heating control and capacitance value acquisition are performed using a time-division multiplexing method. For example, with a 1-second cycle, the high and low sides of heating element 2 are off for the first 50ms, and the heating wire is suspended to acquire the induced capacitance value of heating element 2. The remaining 950ms drive the switching of the high and low sides of heating element 2 to control the temperature of the sofa cushion. When the sofa needs heating, the low side drive switch 8 is turned on first, and the high side drive switch 7 is turned on after a 10ms delay; similarly, when heating is turned off, the high side drive switch 7 is turned off first, and the low side drive switch 8 is turned off after a 10ms delay, to avoid damage to the capacitance detection port DeCETT of controller 9 due to instantaneous overvoltage.
[0070] The heating control logic in this embodiment is as follows: When the sofa is powered on but the user is not sitting on it, the high-side drive switch 7 and the low-side drive switch 8 are in the off state. The capacitance value C0 of the heating element 2 is equivalently acquired through the Detc port of the controller 9. After the acquired capacitance value stabilizes, it is used as the reference capacitance value C0. Subsequently, every 1 second is a cycle. The capacitance value of the heating element 2 is acquired and the user sitting or leaving the sofa is detected in the first 50ms. In the next 950ms, the heating is controlled to adjust the temperature of the sofa cushion. This cycle continues continuously.
[0071] The logic for single-pass human body sitting / leaving detection in this embodiment is as follows: Human body sitting / leaving detection is performed in the first 50ms of a 1-second cycle. Since the capacitance value of the heating element 2 increases sharply when a person sits on the sofa due to coupling with the human body capacitance, the capacitance threshold needs to be calibrated in advance. For example, the equivalent capacitance value is 1000 when no one is sitting, and it increases to around 1200 after someone sits on the sofa. The calibrated capacitance threshold ΔC is between 0.3 and 0.8 times the measured capacitance change after sitting, so the threshold ΔC is calibrated to 100. When the system determines that the user is not seated, the collected capacitance value is C1, and the capacitance reference value is C0. When C1 - C0 > ΔC, the system determines that the user is seated. If the system determines that the user is seated... In this state, when the collected capacitance value C1-C0 < ΔC, it is determined that the user has left the seat. Because the induced capacitance value on heating element 2 will also change slowly due to the influence of ambient temperature and humidity, but the change will be much smaller than the change when a person is sitting on the sofa. If the collected capacitance value C1 changes slowly compared to the previous value, for example, a change of < 10, it is determined that the change in the induced capacitance value on heating element 2 is caused by changes in ambient temperature and humidity. Therefore, the capacitance reference value is updated slowly to reduce the influence of ambient temperature and humidity on the collection results. For example, if the reference capacitance value calibrated at power-on is 1000, and the capacitance value is 1010 during subsequent collection, the capacitance value can be increased by 1 every 60 seconds until it approaches the actual collected value of 1010. This dynamic updating of the capacitance reference value improves the system's anti-interference capability and makes the collection results more accurate.
[0072] In summary, this embodiment obtains the current capacitance value of the heating element; determines the capacitance difference between the current capacitance value and a preset capacitance reference value; and determines the human body detection result based on the capacitance difference and a preset capacitance threshold. This embodiment uses the capacitance value of the heating element for human body detection, enabling in-situ human body detection in smart furniture without adding additional sensors. This reduces sensor hardware costs, lowers the complexity of furniture production, and improves the comfort of using the furniture.
[0073] Figure 7 This is a schematic block diagram of a human body detection device for smart furniture provided in an embodiment of this application. Figure 7 As shown, corresponding to the above-described human body detection method for smart furniture, this application also provides a human body detection device for smart furniture. This human body detection device includes a unit for executing the above-described human body detection method for smart furniture. The device can be configured in the controller of the smart furniture, and a heating element is provided below the human body contact surface of the smart furniture. Specifically, please refer to... Figure 7 The human body detection device 700 of the smart furniture includes a transceiver unit 701 and a processing unit 702, wherein: The transceiver unit 701 is used to obtain the current capacitance value of the heating element; The processing unit 702 is used to determine the capacitance difference between the current capacitance value and a preset capacitance reference value; and to determine the human body detection result based on the capacitance difference and a preset capacitance threshold.
[0074] In some embodiments, when the processing unit 702 performs the step of determining the human body detection result based on the capacitance difference and a preset capacitance threshold, it is specifically used for: If the capacitance difference is greater than the capacitance threshold, the result of the human body being in place is determined as the human body detection result; if the capacitance difference is less than or equal to the capacitance threshold, the result of the human body being out of place is determined as the human body detection result.
[0075] In some embodiments, after performing the step of determining the in-situ human body result as the human body detection result, the processing unit 702 is further configured to: The heating element is heated and controlled.
[0076] In some embodiments, the controller presets a heating element control cycle, which sequentially includes a capacitance detection sub-cycle, a heating start sub-cycle, and a heating stop sub-cycle; when performing the step of obtaining the current capacitance value of the heating element, the processing unit 702 is specifically used for: The current capacitance value is obtained within the capacitance detection sub-cycle.
[0077] In some embodiments, when performing the step of controlling the heating of the heating element, the processing unit 702 is specifically used for: During the heating start-up sub-cycle, a heating start-up operation is performed on the heating element; during the heating stop-down sub-cycle, a heating stop-down operation is performed on the heating element.
[0078] In some embodiments, the controller is connected to the positive terminal of the heating element via a high-side drive switch and to the negative terminal of the heating element via a low-side drive switch.
[0079] In some embodiments, when the processing unit 702 performs the step of performing a heating start-up operation on the heating element during the heating start-up sub-cycle, it is specifically used for: The low-side drive switch is turned on at the first moment of the heating start-up sub-cycle, which is the start time of the heating start-up sub-cycle; the high-side drive switch is turned on at the second moment within the heating start-up sub-cycle, which is located after a preset delay time from the start time.
[0080] In some embodiments, when the processing unit 702 performs the step of opening the high-side drive switch at the second moment within the heating start-up sub-cycle, it is specifically used for: Determine the heating power corresponding to the current preset temperature; The PWM value for turning on the high-side drive switch is set according to the heating power, and the high-side drive switch is turned on at the second moment.
[0081] In some embodiments, when the processing unit 702 performs the step of performing a heating shutdown operation on the heating element during the heating shutdown sub-cycle, it is specifically used for: The high-side drive switch is turned off at the beginning of the heating shutdown sub-cycle; The low-side drive switch is turned off at the end of the heating shutdown sub-cycle.
[0082] In some embodiments, before performing the step of controlling the heating of the heating element, the processing unit 702 is further configured to: Obtain the current temperature of the heating element; At this time, the heating control of the heating element includes: if the current temperature is lower than the current preset temperature, then the heating element is heated.
[0083] In some embodiments, after performing the step of determining the in-situ human body result as the human body detection result, the processing unit 702 is further configured to: Determine the continuous duration of human presence; if the continuous duration of presence exceeds the continuous duration threshold, issue a human presence timeout reminder.
[0084] In some embodiments, after performing the step of determining the capacitance difference between the current capacitance value and a preset capacitance reference value, the processing unit 702 is further configured to: If the capacitance difference is less than or equal to the capacitance threshold, then it is determined whether the difference between the current capacitance value and the capacitance value collected in the previous cycle is less than a preset change threshold. If the value is less than the preset change threshold, the capacitance reference value is updated according to the preset capacitance reference value adjustment rules.
[0085] In some embodiments, after performing the step of determining the capacitance difference between the current capacitance value and a preset capacitance reference value, the processing unit 702 is further configured to: If the capacitance difference between the current capacitance value and the capacitance reference value obtained within the preset time period is less than or equal to the capacitance threshold, then it is determined that the smart furniture is currently in a user-away scenario. Perform an action associated with the user leaving the seat, the action including stopping the massage and / or lifting the leg back to its original position.
[0086] In summary, this embodiment obtains the current capacitance value of the heating element; determines the capacitance difference between the current capacitance value and a preset capacitance reference value; and determines the human body detection result based on the capacitance difference and a preset capacitance threshold. This embodiment uses the capacitance value of the heating element for human body detection, enabling in-situ human body detection in smart furniture without adding additional sensors. This reduces sensor hardware costs, lowers the complexity of furniture production, and improves the comfort of using the furniture.
[0087] Specifically, this embodiment determines whether a user is sitting on the sofa by directly detecting changes in the capacitance value of the heating wire on the sofa's built-in heating fabric, eliminating the cost, installation process, and impact on sofa comfort associated with a separate seat / position sensor. By dynamically updating the reference capacitance value on the heating wire, the system's impact from changes in capacitance value due to ambient temperature and humidity variations is reduced, resulting in more accurate data acquisition. Two independent control circuits for the high and low sides of the heating wire prevent automatic heating if one side fails. When the heating wire needs to operate, the low side switch remains on before and after the high side drive is turned on, thus preventing damage to the capacitance detection port due to overvoltage.
[0088] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the human body detection device 700 and each unit of the above-mentioned smart furniture can be referred to the corresponding description in the foregoing method embodiments. For the sake of convenience and brevity, it will not be repeated here.
[0089] The human body detection device in the aforementioned smart furniture can be implemented as a computer program, which can, for example... Figure 8 It runs on the controller shown.
[0090] Please see Figure 8 , Figure 8 This is a schematic block diagram of a controller provided in an embodiment of this application. The controller 800 can be an MCU. The controller 800 is installed in smart furniture. The smart furniture has a heating element below the human contact surface. For example, when the smart furniture is a smart sofa, the controller 800 can be installed behind the backrest or under the seat cushion.
[0091] See Figure 8 The controller 800 includes a processor 802, a memory, and a network interface 805 connected via a system bus 801. The memory may include a non-volatile storage medium 803 and internal memory 804.
[0092] The non-volatile storage medium 803 may store an operating system 8031 and a computer program 8032. The computer program 8032 includes program instructions that, when executed, cause the processor 802 to perform a human body detection method for smart furniture.
[0093] The processor 802 provides computing and control capabilities to support the operation of the entire controller 800.
[0094] The internal memory 804 provides an environment for the operation of the computer program 8032 in the non-volatile storage medium 803. When the computer program 8032 is executed by the processor 802, the processor 802 can execute a human body detection method for smart furniture.
[0095] This network interface 805 is used for network communication with other devices. Those skilled in the art will understand that... Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the controller 800 to which the present application is applied. The specific controller 800 may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0096] The processor 802 is used to run a computer program 8032 stored in the memory to perform the following steps: Obtain the current capacitance value of the heating element; Determine the capacitance difference between the current capacitance value and the preset capacitance reference value; The human body detection result is determined based on the capacitance difference and the preset capacitance threshold.
[0097] It should be understood that in the embodiments of this application, the processor 802 may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0098] It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program includes program instructions and can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.
[0099] Therefore, this application also provides a storage medium. This storage medium can be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When executed by a processor, the program instructions cause the processor to perform the following steps: Obtain the current capacitance value of the heating element; Determine the capacitance difference between the current capacitance value and the preset capacitance reference value; The human body detection result is determined based on the capacitance difference and the preset capacitance threshold.
[0100] The storage medium can be any computer-readable storage medium capable of storing program code, such as a USB flash drive, portable hard drive, read-only memory (ROM), magnetic disk, or optical disk.
[0101] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.
[0102] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.
[0103] The steps in the methods of this application embodiment can be adjusted, merged, or deleted according to actual needs. The units in the apparatus of this application embodiment can be merged, divided, or deleted according to actual needs. Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0104] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.
[0105] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A human body detection method for smart furniture, characterized in that, A controller for use in smart furniture, wherein a heating element is located below the human contact surface of the smart furniture, the method comprising: Obtain the current capacitance value of the heating element; Determine the capacitance difference between the current capacitance value and the preset capacitance reference value; The human body detection result is determined based on the capacitance difference and the preset capacitance threshold.
2. The method according to claim 1, characterized in that, The step of determining the human body detection result based on the capacitance difference and a preset capacitance threshold includes: If the capacitance difference is greater than the capacitance threshold, then the human body in-situ result is determined as the human body detection result; If the capacitance difference is less than or equal to the capacitance threshold, then the human body displacement result is determined as the human body detection result.
3. The method according to claim 2, characterized in that, After determining the in-situ human body result as the human body detection result, the method further includes: The heating element is heated and controlled.
4. The method according to claim 3, characterized in that, The controller has a preset heating element control cycle, which includes, in sequence, a capacitance detection sub-cycle, a heating start sub-cycle, and a heating stop sub-cycle; obtaining the current capacitance value of the heating element includes: The current capacitance value is obtained within the capacitance detection sub-cycle.
5. The method according to claim 4, characterized in that, The heating control of the heating element includes: During the heating start-up sub-cycle, a heating start-up operation is performed on the heating element; During the heating shutdown sub-cycle, a heating shutdown operation is performed on the heating element.
6. The method according to claim 5, characterized in that, The controller is connected to the positive terminal of the heating element via a high-side drive switch and to the negative terminal of the heating element via a low-side drive switch.
7. The method according to claim 6, characterized in that, The heating start-up operation performed on the heating element during the heating start-up sub-cycle includes: The low-side drive switch is turned on at the first moment of the heating start-up sub-cycle, where the first moment is the start moment of the heating start-up sub-cycle. The high-side drive switch is turned on at a second moment within the heating start-up sub-cycle, the second moment being a preset delay after the start moment.
8. The method according to claim 7, characterized in that, Turning on the high-side drive switch at the second moment within the heating start-up sub-cycle includes: Determine the heating power corresponding to the current preset temperature; The PWM value for turning on the high-side drive switch is set according to the heating power, and the high-side drive switch is turned on at the second moment.
9. The method according to claim 6, characterized in that, The step of performing a heating shutdown operation on the heating element during the heating shutdown sub-cycle includes: The high-side drive switch is turned off at the beginning of the heating shutdown sub-cycle; The low-side drive switch is turned off at the end of the heating shutdown sub-cycle.
10. The method according to claim 3, characterized in that, Before controlling the heating of the heating element, the method further includes: Obtain the current temperature of the heating element; The heating control of the heating element includes: If the current temperature is lower than the current preset temperature, then the heating element is heated.
11. The method according to claim 2, characterized in that, After determining the in-situ human body result as the human body detection result, the method further includes: Determine the duration of continuous presence of the human body; If the continuous on-the-job duration exceeds the continuous on-the-job duration threshold, a human on-the-job timeout reminder will be issued.
12. The method according to any one of claims 1 to 11, characterized in that, After determining the capacitance difference between the current capacitance value and the preset capacitance reference value, the method further includes: If the capacitance difference is less than or equal to the capacitance threshold, then it is determined whether the difference between the current capacitance value and the capacitance value collected in the previous cycle is less than a preset change threshold. If the value is less than the preset change threshold, the capacitance reference value is updated according to the preset capacitance reference value adjustment rules.
13. The method according to any one of claims 1 to 11, characterized in that, After determining the capacitance difference between the current capacitance value and the preset capacitance reference value, the method further includes: If the capacitance difference between the current capacitance value and the capacitance reference value obtained within the preset time period is less than or equal to the capacitance threshold, then it is determined that the smart home is currently in a user-away scenario. Perform an action associated with the user leaving the seat, the action including stopping the massage and / or lifting the leg back to its original position.
14. A smart furniture, used to perform the human body detection method of the smart furniture as described in any one of claims 1-13, characterized in that, include: The furniture body and the heating element, wherein the heating element is disposed below the human contact surface of the furniture body; The controller, located in the central control area of the furniture body and connected to the heating element, is used to determine the human body detection result based on the current capacitance value of the heating element.
15. The smart furniture according to claim 14, characterized in that, The heating element is a heating wire, and the heating wire is woven into the fabric to form a heating cloth.
16. The smart furniture according to claim 15, characterized in that, The heating cloth is equipped with a temperature sensor, which is connected to the controller.
17. The smart furniture according to claim 14, characterized in that, The controller and the heating element are connected via a control circuit, which includes the controller, the heating element, a high-side drive switch, a low-side drive switch, and a detection resistor. The input terminal of the high-side drive switch is connected to the power supply, the output terminal is connected to the positive terminal of the heating element, and the control terminal is connected to the positive control pin of the controller through the first drive resistor. The input terminal of the low-side drive switch is connected to the negative terminal of the heating element, the output terminal is grounded, and the control terminal is connected to the negative control pin of the controller through the second drive resistor. One end of the detection resistor is connected to the negative terminal of the heating element, and the other end is connected to the capacitance detection pin of the controller.
18. The smart furniture according to claim 17, characterized in that, The control circuit also includes a current-limiting resistor, one end of which is connected to the current detection pin on the high-side drive switch, and the other end is grounded.
19. The smart furniture according to claim 17, characterized in that, The high-side drive switch is a smart power switch chip or a P-channel MOSFET. The high-side drive switch also includes a current detection enable pin and a current detection pin. The current detection enable pin is used to enable the current detection pin to detect the current of the heating element. The current detection enable pin is connected to the enable pin on the controller through an enable resistor. The current detection pin is connected to the current detection pin on the controller through a current detection resistor. The low-side drive switch is an N-channel MOSFET.
20. A controller comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the human body detection method for smart furniture as described in any one of claims 1-13.