Cloud-edge collaborative brain-computer interface closed-loop sleep emotion regulation system
Patent Information
- Application Number
- CN202611066913.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-17
- Publication Date
- 2026-08-21
AI Technical Summary
[0003]近年来,睡眠调控技术不断演进,逐步从单一功能的睡眠监测设备发展为集监测、分析和干预于一体的闭环调控系统;部分现有系统能够通过佩戴于用户头部的脑电采集设备实时监测脑电信号,并在检测到特定睡眠分期(如慢波睡眠)时,通过音频、电刺激等方式对用户进行神经调控干预,初步实现了基于脑电反馈的闭环调控;然而,这些现有的睡眠调控系统大多采用本地微处理器进行数据处理和调控决策,受限于本地计算资源的算力瓶颈,难以部署复杂的深度学习模型进行高精度的睡眠分期识别和情绪状态评估,导致调控策略的精准性和个性化程度不足;同时,本地化处理的方式也限制了系统对海量睡眠数据的积累和深度挖掘能力
[0015]优选的,还包括密封垫,舱门上设置有密封垫;密封垫与舱门和舱体之间的缝隙进行密封,提高密封性。
Smart Images

Figure CN122605066A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the technical field of intelligent medical care and health management, and in particular to a cloud-edge collaborative brain-computer interface closed-loop sleep and emotion regulation system. Background Technology
[0002] Sleep disorders and mood problems have become increasingly common health challenges in modern society. Long-term sleep deprivation not only seriously affects cognitive function, immunity, and cardiovascular health, but is also closely related to the formation and aggravation of mood disorders such as anxiety and depression. With the rapid development of brain-computer interface (BCI) technology, sleep monitoring and neuromodulation technology based on electroencephalogram (EEG) signals provides a new technical path for improving sleep quality and regulating mood. BCI technology can collect users' EEG signals in real time, and by analyzing sleep stages and mood states, it can implement precise neurofeedback regulation, thereby achieving non-invasive sleep intervention and mood regulation.
[0003] In recent years, sleep regulation technology has been continuously evolving, gradually developing from single-function sleep monitoring devices into closed-loop regulation systems that integrate monitoring, analysis, and intervention. Some existing systems can monitor EEG signals in real time through EEG acquisition devices worn on the user's head, and when a specific sleep stage (such as slow-wave sleep) is detected, they can intervene in the user's neuromodulation through audio, electrical stimulation, etc., thus initially realizing closed-loop regulation based on EEG feedback. However, most of these existing sleep regulation systems use local microprocessors for data processing and regulation decisions. Limited by the computing power bottleneck of local computing resources, it is difficult to deploy complex deep learning models for high-precision sleep stage identification and emotional state assessment, resulting in insufficient accuracy and personalization of regulation strategies. At the same time, the localized processing method also limits the system's ability to accumulate and deeply mine massive amounts of sleep data.
[0004] Meanwhile, with the maturity of edge computing and cloud computing technologies, the "cloud-edge-device" collaborative architecture, which combines local real-time processing with the powerful computing power of the cloud, has been widely used in fields such as smart homes and smart healthcare. However, in the field of sleep regulation technology, there is still a lack of mature technical solutions for how to deeply integrate brain-computer interface technology with cloud-edge collaborative computing architecture to build a sleep mood regulation system that has both real-time response capabilities and powerful data analysis capabilities. Existing systems are still stuck in a localized, stand-alone processing mode and have failed to make full use of the big data analysis and deep learning capabilities of the cloud to optimize regulation strategies.
[0005] Existing sleep regulation systems have significant shortcomings in environmental regulation. Studies have shown that factors such as light, sound, temperature, humidity, and aroma in the sleep environment have a significant impact on sleep quality and emotional state. However, current sleep regulation systems mainly focus on providing direct neural stimulation (such as electrical, magnetic, and auditory stimulation) to users through wearable devices, while neglecting the automatic configuration and coordinated regulation of the macroscopic sleep environment. When using existing systems, users often need to manually adjust the lights, turn on aromatherapy devices, and get up to draw blackout or soundproof curtains. These actions not only interrupt the continuous relaxation process from wakefulness to sleep, but are also extremely inconvenient for patients with limited mobility or those already in a semi-sleep state, and may even cause them to lose sleepiness due to getting up and moving around. Existing systems have failed to achieve a seamless and automated sleep environment configuration where "the environment is ready as soon as the user lies down."
[0006] Furthermore, the "closed loop" claimed by existing sleep regulation systems usually only refers to the electrical closed loop between neural signal acquisition and neural feedback stimulation, failing to incorporate physical environmental parameters (such as light intensity, aroma concentration, sound insulation and light blocking status) into the closed-loop regulation logic. In other words, the system cannot automatically adjust the multi-dimensional environmental parameters in the cabin according to the user's current sleep stage and emotional state to achieve the synergistic effect of physiological neural regulation and environmental physical intervention. The lack of this "physiological-environmental" dual closed-loop regulation architecture makes it difficult for the existing system to achieve optimal regulation effects and to realize the composite intervention of psychological and physiological synergy. Summary of the Invention
[0007] To address the aforementioned technical problems, this invention provides a cloud-edge collaborative brain-computer interface closed-loop sleep and emotion regulation system.
[0008] The present invention provides a cloud-edge collaborative brain-computer interface closed-loop sleep emotion regulation system, including a sleep capsule module. The sleep capsule module is used to carry the user and automatically configures the sleep environment inside the capsule according to the user's lying position. Wearable brain-computer interface device, worn on the user's head, communicates with the sleep chamber module to collect brain signals and receive control commands, and implements neuromodulation stimulation on the user; An edge controller, located locally in the sleep capsule module, communicates with both the sleep capsule module and the wearable brain-computer interface device. It is used to receive EEG signals for preprocessing and to control the environmental configuration actions of the sleep capsule module. The wireless communication module is electrically connected to the edge controller and is used to enable wireless data transmission and reception. The cloud server communicates with the edge controller via a wireless communication module. It receives EEG feature data uploaded by the edge controller, performs sleep stage identification and emotional state analysis, generates personalized closed-loop control strategies, and distributes the control strategies to the edge controller. The sleep capsule module automatically initializes the sleep environment in response to the user's lying down movement. After the environment is configured, the edge controller activates the wearable brain-computer interface device to execute the control strategy sent by the cloud server, forming a closed-loop sleep emotion regulation system of "automatic environment configuration - EEG acquisition - cloud analysis - neuromodulation". The sleep capsule module automatically configures the environment inside the capsule when the user is lying down, allowing the user to obtain a one-stop adaptation of the multi-dimensional sleep environment such as light, sound, aroma, and sound insulation without any manual operation. This solves the problems of existing control systems that require users to adjust environmental parameters manually, are cumbersome, and interrupt the continuity of sleep. The edge controller and the cloud server work together to ensure millisecond-level real-time response locally, while the cloud is responsible for sleep staging and emotional state analysis based on deep learning, overcoming the limitations of insufficient local computing power. The brain-computer interface device is activated after the environment is configured to avoid interference with EEG signals from environmental changes. EEG data is uploaded to the cloud via the edge controller, and the control strategy generated by the cloud is sent to the edge controller for execution, forming a closed-loop control system of "environment-physiology-neurology". The system can dynamically adjust the control parameters according to the user's real-time EEG characteristics and has adaptive capabilities.
[0009] Preferably, the enclosure includes a hull, a hatch, sliding rails, rollers, and windows. Sliding rails are provided at the upper and lower ends of the front side of the hull, and rollers are rotatably provided at the upper and lower ends of the hatch. The rollers are rotatably connected to the adjacent sliding rails. Windows are provided on the hatch and at the front end of the hull. The enclosure also includes: A lifting bed assembly, installed inside the cabin, for users to rest; Aromatherapy components, installed inside the cabin, are used to provide fragrance to the interior of the cabin; Curtain assembly, installed inside the cabin, is used to cover two sets of windows from inside the cabin. The lifting bed assembly, curtain assembly, and aromatherapy assembly are all electrically connected to the edge controller. In use, the operator moves the cabin door using the sliding rails and rollers, then enters the cabin. The operator seals the front of the cabin door, then lies on the lifting bed assembly. The lifting bed assembly senses the operator's pressure and lowers the operator. At the same time, the lifting bed assembly activates the aromatherapy assembly to fill the cabin with fragrance. Simultaneously, the aromatherapy assembly activates the curtain assembly to cover the two sets of windows, improving privacy and ease of operation.
[0010] Preferably, the lifting bed assembly includes a groove, a first servo electric cylinder, a bed body, a lifting plate, a pressure sensor, conduits, and guide rods. A groove is located at the bottom of the cabin interior, and a first servo electric cylinder is fixedly installed inside the groove. The top moving end of the first servo electric cylinder is fixedly connected to the bottom end of the lifting plate. The bed body is above the lifting plate, and a pressure sensor is installed between the bed body and the lifting plate. A set of guide rods is installed at each of the four corners of the bottom of the bed body, and each set of guide rods slides inside a set of conduits. The bottom ends of all four sets of conduits are fixedly connected to the bottom of the cabin interior. In normal operation, the first servo electric cylinder is extended, raising the bed body. When the operator lies on the bed to rest, the pressure sensor detects the operator's weight pressure, causing the first servo electric cylinder to shorten. The bed body descends under the guidance of the conduits and guide rods. Simultaneously with the descent, the aromatherapy component is activated, which in turn activates the curtain component. This allows the operator to lie on the bed, thus activating both the aromatherapy and curtain components. The operation is simple, convenient, and easy to learn.
[0011] Preferably, the aromatherapy component includes a tray, a fan, a mounting bracket, a sealing plate, a smooth rod, a slider, a first spring, a first fixed pulley, a second fixed pulley, a first rope, a placement slot, and a push-button switch. A placement slot is located at the right end of the cabin interior, containing both the tray and the fan. A push-button switch is located at the bottom of the cabin interior, below the bed frame. Two sets of mounting brackets are located at the left end of the cabin interior, each containing a set of smooth rods fixed longitudinally. A set of sliders is located at each side of the sealing plate, each slider slidably connected to a set of smooth rods. A first spring is fitted onto the outside of each set of smooth rods, below the sliders. A first fixed pulley and a second fixed pulley are located at the bottom of the cabin interior. The bottom of the sealing plate is fixedly connected to the first end of the first rope. The second end of the first rope passes over the bottom of the first fixed pulley and the top of the second fixed pulley and is fixedly connected to one end of the bed frame. The push-button switch is electrically connected to the fan. In normal use, the sealing plate seals the placement slot. The operator lies on the bed. When the No. 1 servo electric cylinder descends, the bed descends under the guidance of the guide tube and guide rod. As the bed descends, it pulls the second end of the No. 1 rope, causing the first end of the No. 1 rope to pull downwards towards the bottom of the sealing plate. This further causes the sealing plate to move downwards under the guidance of the slider and guide rod, releasing the seal on the placement slot. Simultaneously, the bed presses the button, activating the fan. The fan blows air onto the aromatherapy blocks on the tray, filling the cabin with a pleasant fragrance to aid the operator's sleep. When the operator finishes using the cabin, they stand up, and the No. 1 servo electric cylinder extends, raising the bed and releasing the pull on the No. 1 rope. This allows the slider, under the force of the No. 1 spring, to reseal the sealing plate on the placement slot, preventing the use of the aromatherapy blocks when the cabin is unattended.
[0012] Preferably, the curtain assembly includes a servo stepper motor, support plates, a rotating shaft, a curtain, a clasp, and a locking assembly. Two sets of support plates are located at the top of the interior of the cabin, with a rotating shaft rotatably positioned between them. The curtain is wound around the rotating shaft between the two sets of support plates. A servo stepper motor is mounted on one set of support plates, and its output is fixedly connected to the first end of the rotating shaft. A clasp is located on the rotating shaft, near the second end. A locking assembly is positioned between the sealing plate and the rotating shaft, limiting the rotation of the shaft through the clasp. In normal operation, the locking assembly is inserted into the clasp, restricting the rotation. When the rotating shaft rotates and the operator lies on the bed, the bed lowers. As the bed lowers, the sealing plate is pulled downwards by the storage tray, and the sealing plate pulls the locking component away from the socket. Then, the edge controller starts the servo stepper motor to drive the rotating shaft to unroll the curtain. The curtain covers the two sets of pressure sensors inside the cabin. After use, the operator leaves the bed, and the servo stepper motor drives the rotating shaft to roll up the curtain. The groove extends, causing the sealing plate to reseal the storage groove, and the locking component is reinserted into the socket, thus locking the rotating shaft.
[0013] Preferably, the locking assembly includes a U-shaped frame, a plug rod, a limiting plate, a second spring, a second rope, and a guide wheel. The U-shaped frame is located at the front end of the cabin interior. The plug rod is slidably connected to the U-shaped frame. The limiting plate is installed on the plug rod inside the U-shaped frame. A second spring is located between the limiting plate and the U-shaped frame. A guide wheel is located at the right end of the cabin interior. The first end of the second rope is fixedly connected to the top of the sealing plate, and the second end of the second rope passes over the top of the guide wheel and is horizontally fixedly connected to one end of the plug rod. In normal operation, the limiting plate, under the elastic force of the second spring, causes the plug rod to insert into the insertion hole. When the bed lowers, the sealing plate further lowers. The lowered sealing plate, in conjunction with the guide wheel, pulls the second rope, thereby separating the limiting plate from the insertion hole, releasing the rotation restriction on the rotating shaft, allowing the operator to roll up and down the curtain while lying on the bed.
[0014] Preferably, it also includes a handle, with a handle provided at the front end of the hatch; the operator opens and closes the hatch by using the handle, improving the ease of operation.
[0015] Preferably, it also includes a sealing gasket, which is provided on the hatch; the sealing gasket seals the gap between the hatch and the hull, thereby improving the airtightness.
[0016] Preferably, it also includes adjustable feet, with a set of adjustable feet provided at each of the four corners of the bottom of the cabin; the four sets of adjustable feet work together to provide stable support for the cabin and improve the stability of the support.
[0017] Preferably, the handle has anti-slip texture.
[0018] Compared with existing technologies, the beneficial effects of this invention are as follows: The sleep capsule module automatically configures the cabin environment while the user is lying down, allowing for a one-stop adaptation of the multi-dimensional sleep environment, including light, sound, aroma, and soundproofing, without any manual operation. This solves the problems of existing control systems requiring users to manually adjust environmental parameters, cumbersome operation, and disruption of sleep continuity. The edge controller and cloud server work collaboratively, ensuring millisecond-level real-time response locally, while the cloud handles sleep staging and emotional state analysis based on deep learning, overcoming the limitations of insufficient local computing power. The brain-computer interface device starts after environmental configuration, preventing environmental changes from interfering with EEG signals. EEG data is uploaded to the cloud via the edge controller, and the control strategies generated by the cloud are sent to the edge controller for execution, forming a closed-loop control system that coordinates "environment-physiology-neurology." The system can dynamically adjust control parameters based on the user's real-time EEG characteristics, possessing adaptive capabilities. Attached Figure Description
[0019] Figure 1 This is a structural block diagram of the present invention; Figure 2 This is an isometric structural diagram of the sleep chamber module in this invention; Figure 3 This is a cross-sectional structural diagram of the sleep chamber module in this invention; Figure 4 This is an exploded structural diagram of the sleep chamber module in this invention; Figure 5 It is an enlarged structural diagram of structures such as hatches and rollers; Figure 6 This is an enlarged structural diagram of the servo stepper motor and the bed, etc. Figure 7 yes Figure 6 A partially enlarged structural diagram of section A in the middle; Figure 8 This is an exploded structural diagram of structures such as sealing panels and curtains; Figure 9 This is an enlarged structural diagram of the No. 1 servo electric cylinder and pressure sensor, etc. Figure 10 This is an enlarged structural diagram of the fan and No. 1 rope, among other structures. Figure 11 This is an enlarged structural diagram of the No. 2 rope and support plate, etc.
[0020] In the attached diagram, the following markings are used: 101, cabin; 102, hatch; 103, slide rail; 104, roller; 105, window; 106, handle; 107, adjustable foot; 201, groove; 202, servo electric cylinder No. 1; 203, bed; 204, lifting platform; 205, pressure sensor; 206, conduit; 207, guide rod; 301, storage tray; 302, fan; 303, mounting bracket; 304, sealing plate; 305, smooth rod. 306. Slider; 307. Spring No. 1; 308. Fixed Pulley No. 1; 309. Fixed Pulley No. 2; 310. Rope No. 1; 311. Placement slot; 312. Push switch; 401. Servo stepper motor; 402. Support plate; 403. Rotating shaft; 404. Curtain; 405. Socket; 501. U-shaped frame; 502. Insert rod; 503. Limiting plate; 504. Spring No. 2; 505. Rope No. 2; 506. Guide wheel. Detailed Implementation
[0021] To facilitate understanding of the present invention, a more complete description will be given below with reference to the accompanying drawings. The present invention can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided for the purpose of… like Figures 1 to 11 As shown, the present invention provides a cloud-edge collaborative brain-computer interface closed-loop sleep emotion regulation system, including a sleep capsule module. The sleep capsule module is used to carry the user and automatically configures the sleep environment inside the capsule according to the user's lying position. Wearable brain-computer interface device, worn on the user's head, communicates with the sleep chamber module to collect brain signals and receive control commands, and implements neuromodulation stimulation on the user; An edge controller, located locally in the sleep capsule module, communicates with both the sleep capsule module and the wearable brain-computer interface device. It is used to receive EEG signals for preprocessing and to control the environmental configuration actions of the sleep capsule module. The wireless communication module is electrically connected to the edge controller and is used to enable wireless data transmission and reception. The cloud server communicates with the edge controller via a wireless communication module. It receives EEG feature data uploaded by the edge controller, performs sleep stage identification and emotional state analysis, generates personalized closed-loop control strategies, and distributes the control strategies to the edge controller. The sleep chamber module automatically completes the initial configuration of the sleep environment in response to the user's lying down action. After the environment configuration is completed, the edge controller starts the wearable brain-computer interface device to execute the control strategy issued by the cloud server, forming a closed-loop sleep emotion regulation system of "automatic environment configuration - EEG acquisition - cloud analysis - neuromodulation". Furthermore, the sleep capsule module includes a capsule body 101, a door 102, a slide rail 103, rollers 104, and a window 105. The capsule body 101 serves as the overall load-bearing structure and is made of sound-insulating and light-blocking materials to provide a closed resting space. Slide rails 103 are respectively installed at the upper and lower ends of the front side of the capsule body 101. Rollers 104 are rotatably installed at the upper and lower ends of the door 102. The rollers 104 are rotatably connected to the adjacent slide rails 103, allowing the door 102 to move smoothly along the slide rails 103, thus opening and closing the capsule body 101. Windows 105 are respectively installed on the door 102 and at the front end of the capsule body 101 for users to observe the external environment or allow natural lighting. A handle 106 is installed at the front end of the door 102 for operators to open and close the door 102. The handle 106 has anti-slip textures to increase operating friction and prevent hand injuries. To prevent slippage, a sealing gasket is installed on the door 102 to seal the gap between the door 102 and the cabin body 101, thereby improving the sound insulation and light blocking effect inside the cabin body 101. A set of adjustable feet 107 is provided at each of the four corners of the bottom of the cabin body 101, and the four sets of adjustable feet 107 cooperate with each other to provide stable support for the cabin body 101 and can adapt to the ground with different flatness. Furthermore, a lifting bed assembly is installed inside the cabin body 101 for users to rest, an aromatherapy assembly is installed inside the cabin body 101 to provide fragrance inside the cabin body 101 to help users relax, and a curtain assembly is installed inside the cabin body 101 to cover the two sets of windows 105 inside the cabin body 101 to improve privacy and light blocking effect. The lifting bed assembly, curtain assembly and aromatherapy assembly are all electrically connected to the edge controller so that the edge controller can uniformly coordinate and control the action sequence of each component.
[0022] Furthermore, the lifting bed assembly includes a groove 201, a first servo electric cylinder 202, a bed body 203, a lifting plate 204, a pressure sensor 205, a guide tube 206, and a guide rod 207. The bottom of the cabin 101 has a groove 201 to provide accommodating space and reduce the overall height. A first servo electric cylinder 202 is fixedly installed inside the groove 201, and the bottom of the first servo electric cylinder 202 is fixedly connected to the bottom wall of the groove 201 to prevent displacement during operation. The top of the first servo electric cylinder 202... The movable end is fixedly connected to the bottom end of the lifting plate 204, thereby driving the lifting plate 204 to rise and fall through the extension and retraction of the first servo electric cylinder 202. The bed body 203 is positioned above the lifting plate 204, and a pressure sensor 205 is installed between the bed body 203 and the lifting plate 204 to detect changes in pressure on the bed body 203, thereby determining whether the user is lying on the bed body 203. A set of guide rods 207 is respectively installed at the four corners of the bottom end of the bed body 203, and each set of guide rods 207 is slidably installed inside a set of guide tubes 206. To ensure smooth lifting and lowering of the bed 203, the four sets of guide tubes 206 are fixedly connected to the bottom of the cabin 101 to provide a stable guiding foundation. In normal conditions (i.e., when no one is lying down), the first servo electric cylinder 202 is in an extended state, which, with the support of the lifting plate 204 and the guide rod 207, puts the bed 203 in a higher position so that the user can sit or lie down. When the operator is resting on the bed 203, the pressure sensor 205 detects the change in the operator's weight pressure and transmits the detection signal to the edge controller. The edge controller controls the first servo electric cylinder 202 to shorten according to the signal, so that the bed 203 descends smoothly under the guidance of the guide tubes 206 and the guide rod 207. At the same time as the bed 203 descends, the aromatherapy component is triggered to start, which in turn triggers the curtain component to start. Thus, the user only needs to lie on the bed 203 to realize the automatic linkage start of the aromatherapy component and the curtain component. The operation is simple and convenient and does not require the user to actively search for or operate any switches. Furthermore, the aromatherapy component includes a storage tray 301, a fan 302, a mounting bracket 303, a sealing plate 304, a light rod 305, a slider 306, a first spring 307, a first fixed pulley 308, a second fixed pulley 309, a first rope 310, a placement slot 311, and a push-button switch 312. The right end of the chamber 101 has a placement slot 311 to accommodate the aromatherapy blocks and the fan 302, thus avoiding occupying space in the bed 203 area. The placement slot 311 contains both the storage tray 301 and the fan 302. The storage tray 301 holds the solid aromatherapy blocks, and the fan 302 disperses the aromatherapy scent from the storage tray 301 into the chamber 101. A push-button switch 312 is located at the bottom of the chamber 101. 312 is located below the bed 203 and is triggered by the bed 203 when it descends to a predetermined position. Two sets of mounting brackets 303 are provided at the left end of the cabin 101, and each set of mounting brackets 303 has a set of longitudinally fixed guide rods 305 inside to provide a vertical guide path. A set of sliders 306 are provided at both ends of the sealing plate 304, and each set of sliders 306 is slidably connected to a set of guide rods 305 to achieve smooth lifting and lowering of the sealing plate 304 along the direction of the guide rods 305. A set of first springs 307 are fitted on the outside of each set of guide rods 305, and each set of first springs 307 is located below the sliders 306 to provide an upward restoring elastic force. A first fixed pulley 308 and a second fixed pulley 308 are respectively provided at the bottom of the cabin 101. 09. To change the traction direction of the first rope 310, the bottom end of the sealing plate 304 is fixedly connected to the first end of the first rope 310. The second end of the first rope 310 passes over the bottom end of the first fixed pulley 308 and the top end of the second fixed pulley 309, and is fixedly connected to one end of the bed 203. Thus, when the bed 203 descends, the sealing plate 304 is pulled downwards by the first rope 310. The push switch 312 is electrically connected to the fan 302 to start the fan 302 when the push switch 312 is triggered. Under normal conditions, the sealing plate 304 is in a high position supported by the slider 306 and the first spring 307, sealing the placement groove 311 to prevent the aroma from escaping when not in use. When the bed 203 descends, the sealing plate 304 is pulled downwards by the first rope 310. The bottom end of the sealing plate 304 is pulled downwards, causing the sealing plate 304 to move downwards under the guidance of the slider 306 and the light rod 305, thus releasing the seal on the placement slot 311. At the same time, the descending bed body 203 presses the button switch 312, thereby starting the fan 302 and blowing the aromatherapy block on the storage tray 301, filling the cabin 101 with a pleasant fragrance. When the user gets up and leaves the bed body 203 after use, the first servo electric cylinder 202 extends, raising the bed body 203. The bed body 203 releases the pull on the first rope 310, causing the slider 306 to move the sealing plate 304 upwards under the elastic force of the first spring 307 to reseal the placement slot 311, thus avoiding unnecessary consumption of aromatherapy blocks when the cabin 101 is not in use.
[0023] Furthermore, the curtain assembly includes a servo stepper motor 401, support plates 402, a rotating shaft 403, a curtain 404, a jack 405, and a locking assembly. Two sets of support plates 402 are located at the top of the interior of the housing 101 to support both ends of the rotating shaft 403. The rotating shaft 403 is rotatably mounted between the two sets of support plates 402 and can rotate freely around its own axis. The curtain 404 is wound around the rotating shaft 403 between the two sets of support plates 402, with its free end hanging down naturally to cover the window 105 when unrolled. A servo stepper motor 401 is mounted on one of the support plates 402, and the output end of the servo stepper motor 401 is fixedly connected to the first end of the rotating shaft 403 to drive the rotating shaft 403 to rotate forward or backward, thereby controlling the curtain 404. For unwinding and rewinding, the rotating shaft 403 is provided with a socket 405 near the second end of the rotating shaft 403 to cooperate with the locking assembly to circumferentially limit the rotating shaft 403. A locking assembly is provided between the sealing plate 304 and the rotating shaft 403, and the locking assembly cooperates with the socket 405 to limit the rotating shaft 403 to prevent the curtain 404 from accidentally coming loose when not in use. Specifically, the locking assembly includes a U-shaped frame 501, a rod 502, a limiting plate 503, a second spring 504, a second rope 505, and a guide wheel 506. The front end of the cabin 101 is provided with a U-shaped frame 501 to provide sliding support for the rod 502. The rod 502 is slidably connected to the U-shaped frame 501 and can slide along the U-shaped frame 501. The device moves horizontally in one direction to insert or withdraw from the insertion hole 405. A limiting plate 503 is installed inside the U-shaped frame 501 on the insertion rod 502, and the size of the limiting plate 503 is larger than the opening size of the U-shaped frame 501 to prevent the insertion rod 502 from coming out of the U-shaped frame 501. A second spring 504 is provided between the limiting plate 503 and the U-shaped frame 501 to provide an elastic force to push the insertion rod 502 toward the insertion hole 405. A guide wheel 506 is provided at the right end of the interior of the cabin 101 to change the traction direction of the second rope 505. The first end of the second rope 505 is fixedly connected to the top of the sealing plate 304, and the second end of the second rope 505 passes around the top of the guide wheel 506 and is horizontally fixedly connected to one end of the insertion rod 502. Under normal conditions, the limiting plate 503 is in the second direction. Under the elastic force of spring 504, the insertion rod 502 is inserted into the insertion hole 405 to restrict the rotation of the rotating shaft 403. When the bed body 203 descends and the sealing plate 304 moves downward via rope 310, the descending sealing plate 304 pulls rope 505 via guide wheel 506, causing the insertion rod 502 to overcome the elastic force of spring 504 and exit the insertion hole 405, thus releasing the restriction on the rotation of the rotating shaft 403. Subsequently, the edge controller starts the servo stepper motor 401 to drive the rotating shaft 403 to rotate and unroll the curtain 404, so that the curtain 404 covers the window 105 inside the cabin 101. After use, the user leaves the bed body 203, the bed body 203 rises, and the sealing plate 304 returns to its original position under the action of the spring.After the sealing plate 304 resets, it releases the pull on the second rope 505. Under the elastic force of the second spring 504, the limiting plate 503 pushes the insertion rod 502 back into the insertion hole 405 to lock the rotating shaft 403. The servo stepper motor 401 then drives the rotating shaft 403 to roll up the curtain 404 for future use.
[0024] like Figures 1 to 11As shown, this invention discloses a cloud-edge collaborative brain-computer interface closed-loop sleep emotion regulation system. During operation, the user first pulls the door 102 via handle 106, causing the roller 104 to roll along the slide rail 103 to open the cabin 101. The user then enters the cabin 101 and lies flat on the bed 203. At this time, the pressure sensor 205 detects the user's weight pressure change and transmits the signal to the edge controller. The edge controller then controls the first servo electric cylinder 202 to shorten, causing the lifting plate 204 and bed 203 to descend smoothly under the guidance of the guide tube 206 and guide rod 207. During the descent of the bed 203, the first rope 310 passes around the first fixed pulley 308 and the second fixed pulley 309, pulling the sealing plate 304 downwards to seal the bed. The sealing plate 304 overcomes the elastic force of the first spring 307 and moves downward along the guide rod 305 and the slider 306, thereby opening the placement slot 311. At the same time, the descending bed body 203 presses the push switch 312 located below it, thereby activating the fan 302, which blows the scent of the aromatherapy block on the storage tray 301 into the cabin 101. As the sealing plate 304 moves downward, it pulls the insertion rod 502 by passing the guide wheel 506 through the second rope 505, causing the insertion rod 502 to overcome the elastic force of the second spring 504 and exit the insertion hole 405, thereby releasing the circumferential limit on the rotating shaft 403. After confirming that the lock is released, the edge controller starts the servo stepper motor 401 to drive the rotating shaft 403 to rotate forward, thereby releasing the curtain 404, causing the curtain 404 to fall and cover. Window 105 completes the initial configuration of the sleep environment. After environment configuration, the edge controller activates the wearable brain-computer interface device to collect the user's EEG signals. The EEG signals are filtered and denoised by the edge controller before being uploaded to the cloud server via the wireless communication module. The cloud server uses a pre-trained deep learning model to perform sleep stage identification and emotional state analysis on the EEG feature data and generates a personalized closed-loop control strategy based on the analysis results. This control strategy is then sent to the edge controller via the wireless communication module. The edge controller adjusts the neurostimulation parameters (such as stimulation frequency, intensity, and duration) of the wearable brain-computer interface device in real time according to the control instructions to implement neuromodulation stimulation on the user. Simultaneously, the edge controller can also... The system dynamically adjusts environmental parameters within the cabin 101 based on feedback from the control parameters (such as adjusting the fan speed 302 to regulate the aroma concentration, and adjusting the curtain 404 opening degree via the servo stepper motor 401 to regulate the light intensity). During the user's sleep, the system continuously executes a closed-loop process of "EEG acquisition - feature extraction - cloud analysis - strategy distribution - neural modulation and environmental linkage" until the user wakes up or the control cycle ends. After the user finishes using the bed, the pressure sensor 205 detects the pressure release and transmits a signal to the edge controller. The edge controller controls the first servo electric cylinder 202 to extend, pushing the bed 203 to rise and reset. During the rising of the bed 203, the force on the first rope 310 and the push switch 312 is released.The sealing plate 304 rises and resets under the elastic force of the first spring 307 to reseal the placement slot 311. Simultaneously, the fan 302 shuts off. As the sealing plate 304 rises and resets, it releases the pull on the second rope 505, allowing the insertion rod 502 to re-insert into the insertion hole 405 under the elastic force of the second spring 504, thus locking the rotating shaft 403. Subsequently, the edge controller controls the servo stepper motor 401 to rotate in the opposite direction to retract the curtain 404, completing the system's automatic reset for the next use.
[0025] The main functions achieved by this invention are as follows: the sleep capsule module automatically and seamlessly configures the multi-dimensional sleep environment, including light blocking, aroma release, and capsule sealing, while the user is lying down. It achieves the organic unity of millisecond-level local response and cloud-based deep learning analysis through a cloud-edge computing architecture that coordinates edge controllers and cloud servers. The edge controller ensures low latency in environmental linkage control so that the user can have an immediate and imperceptible sleep experience. The cloud server is responsible for sleep stage recognition and emotional state assessment based on deep convolutional neural networks and high-order EEG feature extraction, thereby overcoming the local computing power bottleneck. The system incorporates physical environmental regulation (light blocking, sound insulation, aroma) and physiological neural regulation (EEG acquisition, neural stimulation) into a unified closed-loop regulation framework, forming a "environment-physiology-neurology" three-element synergistic regulation mechanism.
[0026] The present invention discloses a cloud-edge collaborative brain-computer interface closed-loop sleep emotion regulation system. Its installation, connection, and setting methods are all common mechanical methods; any method that achieves its beneficial effects can be implemented. The first servo electric cylinder 202, as the drive source of the lifting bed assembly, is constantly exposed to the internal environment of the cabin 101 and undergoes frequent extension and retraction movements. Its lead screw is prone to accumulating dust and debris, affecting transmission accuracy and service life. Therefore, a dustproof telescopic cover is preferably fitted to the outside of the lead screw of the first servo electric cylinder 202 to prevent external particles from entering the lead screw pair. Simultaneously, a dustproof sealing ring is added between the push rod and the cylinder body of the first servo electric cylinder 202 to prevent lubricating grease leakage and the intrusion of external contaminants. The guide tube 206 and guide rod 207... The sliding pair, after long-term relative motion, may develop gaps due to wear, affecting the smoothness of lifting. Therefore, a self-lubricating bushing or wear-resistant ring is embedded between the inner wall of the guide tube 206 and the outer wall of the guide rod 207 to reduce the coefficient of friction and extend service life. Simultaneously, a dust scraper ring is installed at the end of the guide tube 206 to scrape off foreign matter adhering to the surface when the guide rod 207 retracts. The pressure sensor 205, as a key sensitive element for sensing the user's lying motion, bears the weight load of the bed frame 203 and the user for extended periods and may experience zero-point drift or decreased sensitivity under frequent loading, unloading, or impacts. Therefore, the pressure sensor 205 is detachably installed between the bed frame 203 and the lifting plate 204 via bolts for easy maintenance and replacement. Stainless steel elastomers and high-stability strain gauges are used to improve overload resistance and long-term stability. During long-term operation, fan 302 generates heat inside its motor. Poor heat dissipation can lead to excessive temperature rise in the motor windings, shortening its lifespan. Therefore, heat dissipation fins are installed on the motor housing of fan 302 to increase the heat dissipation area, and ventilation slots are opened on the side wall of the placement slot 311 to form a convection heat dissipation channel. As an electrical contact component, push switch 312 is exposed to humid air containing volatile oils from fragrances. Oil mist may adhere to the contacts, forming an insulating film and causing poor contact. Therefore, push switch 312 uses a fully sealed, waterproof, and dustproof microswitch. Its contacts are gold-plated to resist oxidation, and the pins are... Sealant is used to prevent oil mist intrusion; the output shaft of the servo stepper motor 401 and the rotating shaft 403 are connected by a coupling to transmit torque. However, the coupling may develop fatigue cracks due to long-term exposure to start-stop impacts and radial loads. Therefore, a protective cover is installed on the outside of the coupling to prevent foreign objects from being drawn in. At the same time, a high-strength aluminum alloy elastic coupling is selected to absorb impacts and compensate for installation coaxiality errors; the insertion rod 502 and the U-shaped frame 501 are in sliding fit. The surface of the insertion rod 502 is prone to wear and scratches during long-term insertion and removal, which affects the smoothness of insertion. Therefore, the surface of the insertion rod 502 is hard chrome plated to improve surface hardness and wear resistance, and a copper-based oil-impregnated bushing is embedded in the guide hole of the U-shaped frame 501 to form a self-lubricating sliding pair.As a moving component simultaneously subjected to the elastic force of spring 307, the pulling force of rope 310, and the pulling force of rope 505, the sealing plate 304 may experience sealing failure due to friction between its sealing edge and the edge of the placement groove 311 during long-term lifting and lowering. Therefore, an elastic sealing strip is attached to the side of the sealing plate 304 facing the placement groove 311 to form a soft contact seal. Simultaneously, the sealing plate 304 is made of lightweight aluminum alloy to reduce reciprocating motion inertia and thus improve response speed. The servo electric cylinder 202, pressure sensor 205, fan 302, push switch 312, and servo stepper motor 401 of the cloud-edge collaborative brain-computer interface closed-loop sleep emotion regulation system of this invention are commercially available. Those skilled in the art only need to install and operate them according to the accompanying instruction manual, without requiring any creative effort from those skilled in the art.
[0027] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the technical principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A cloud-edge collaborative brain-computer interface closed-loop sleep and emotion regulation system, characterized in that, The sleep capsule module is used to carry users and automatically configures the sleep environment inside the capsule according to the user's lying position. Wearable brain-computer interface device, worn on the user's head, communicates with the sleep chamber module to collect brain signals and receive control commands, and implements neuromodulation stimulation on the user; An edge controller, located locally in the sleep capsule module, communicates with both the sleep capsule module and the wearable brain-computer interface device. It is used to receive EEG signals for preprocessing and to control the environmental configuration actions of the sleep capsule module. The wireless communication module is electrically connected to the edge controller and is used to enable wireless data transmission and reception. The cloud server communicates with the edge controller via a wireless communication module. It receives EEG feature data uploaded by the edge controller, performs sleep stage identification and emotional state analysis, generates personalized closed-loop control strategies, and distributes the control strategies to the edge controller. The sleep chamber module automatically completes the initial configuration of the sleep environment in response to the user's lying down action. After the environment configuration is completed, the edge controller starts the wearable brain-computer interface device to execute the control strategy issued by the cloud server, forming a closed-loop sleep emotion regulation system.
2. The cloud-edge collaborative brain-computer interface closed-loop sleep and emotion regulation system as described in claim 1, characterized in that, The cabin includes a hull (101), a hatch (102), a sliding rail (103), rollers (104), and windows (105). Sliding rails (103) are provided at the upper and lower ends of the front side of the hull (101). Rollers (104) are rotatably provided at the upper and lower ends of the hatch (102). The rollers (104) are rotatably connected to the adjacent sliding rails (103). Windows (105) are provided on the hatch (102) and at the front end of the hull (101). The cabin also includes: A lifting bed assembly, which is installed inside the cabin (101) for users to rest; Aromatherapy unit, which is installed inside the cabin (101) to provide fragrance to the interior of the cabin (101); A curtain assembly, installed inside the cabin (101), is used to cover two sets of windows (105) inside the cabin (101); The lifting bed assembly, curtain assembly, and aromatherapy assembly are all electrically connected to the edge controller.
3. The cloud-edge collaborative brain-computer interface closed-loop sleep and emotion regulation system as described in claim 2, characterized in that, The lifting bed assembly includes a groove (201), a first servo electric cylinder (202), a bed body (203), a lifting plate (204), a pressure sensor (205), a conduit (206), and guide rods (207). The bottom of the cabin body (101) is provided with a groove (201). The first servo electric cylinder (202) is fixedly installed inside the groove (201). The top moving end of the first servo electric cylinder (202) is fixedly connected to the bottom end of the lifting plate (204). The bed body (203) is above the lifting plate (204). The pressure sensor (205) is provided between the bed body (203) and the lifting plate (204). A set of guide rods (207) is provided at the four corners of the bottom end of the bed body (203). Each set of guide rods (207) is slidably installed inside a set of conduits (206). The bottom ends of the four sets of conduits (206) are fixedly connected to the bottom end of the cabin body (101).
4. The cloud-edge collaborative brain-computer interface closed-loop sleep and emotion regulation system as described in claim 3, characterized in that, The aromatherapy components include a tray (301), a fan (302), a mounting bracket (303), a sealing plate (304), a light rod (305), a slider (306), a first spring (307), a first fixed pulley (308), a second fixed pulley (309), a first rope (310), a placement slot (311), and a push switch (312). A placement slot (311) is located at the right end of the cabin (101), containing a tray (301) and a fan (302). A push switch (312) is located at the bottom of the cabin (101), below the bed frame (203). Two sets of mounting brackets (303) are located at the left end of the cabin (101), each set containing a longitudinally fixed component. A set of smooth rods (305) and a set of sliders (306) are respectively provided on both sides of the sealing plate (304). Each set of sliders (306) is slidably connected to a set of smooth rods (305). A set of No. 1 springs (307) are respectively fitted on the outside of each set of smooth rods (305). Each set of No. 1 springs (307) is below the sliders (306). A No. 1 fixed pulley (308) and a No. 2 fixed pulley (309) are respectively provided at the bottom of the cabin (101). The bottom of the sealing plate (304) is fixedly connected to the first end of the No. 1 rope (310). The second end of the No. 1 rope (310) passes around the bottom of the No. 1 fixed pulley (308) and the top of the No. 2 fixed pulley (309) and is fixedly connected to one end of the bed (203). The push switch (312) is electrically connected to the fan (302).
5. The cloud-edge collaborative brain-computer interface closed-loop sleep and emotion regulation system as described in claim 4, characterized in that, The curtain assembly includes a servo stepper motor (401), a support plate (402), a rotating shaft (403), a curtain (404), a jack (405), and a locking assembly. Two sets of support plates (402) are provided at the top inside the housing (101). A rotating shaft (403) is rotatably provided between the two sets of support plates (402). The curtain (404) is wound around the rotating shaft (403) between the two sets of support plates (402). A servo stepper motor (401) is provided on one set of support plates (402). The output end of the servo stepper motor (401) is fixedly connected to the first end of the rotating shaft (403). A jack (405) is provided on the rotating shaft (403). The jack (405) is close to the second end of the rotating shaft (403). A locking assembly is provided between the sealing plate (304) and the rotating shaft (403). The locking assembly limits the rotating shaft (403) through the jack (405).
6. The cloud-edge collaborative brain-computer interface closed-loop sleep and emotion regulation system as described in claim 5, characterized in that, The locking assembly includes a U-shaped frame (501), a rod (502), a limiting plate (503), a second spring (504), a second rope (505), and a guide wheel (506). The U-shaped frame (501) is provided at the front end of the cabin (101). The rod (502) is slidably connected to the U-shaped frame (501). The limiting plate (503) is installed on the rod (502) inside the U-shaped frame (501). The second spring (504) is provided between the limiting plate (503) and the U-shaped frame (501). The guide wheel (506) is provided at the right end of the cabin (101). The first end of the second rope (505) is fixedly connected to the top of the sealing plate (304). The second end of the second rope (505) passes around the top of the guide wheel (506) and is horizontally fixedly connected to one end of the rod (502).
7. The cloud-edge collaborative brain-computer interface closed-loop sleep and emotion regulation system as described in claim 1, characterized in that, It also includes a handle (106), and the front end of the hatch (102) is provided with a handle (106).
8. The cloud-edge collaborative brain-computer interface closed-loop sleep and emotion regulation system as described in claim 1, characterized in that, It also includes a sealing gasket, which is provided on the hatch (102).
9. The cloud-edge collaborative brain-computer interface closed-loop sleep and emotion regulation system as described in claim 1, characterized in that, It also includes adjustable feet (107), with a set of adjustable feet (107) provided at each of the four corners of the bottom of the cabin (101).
10. The cloud-edge collaborative brain-computer interface closed-loop sleep and emotion regulation system as described in claim 1, characterized in that, The handle (106) is provided with anti-slip texture.