Multifunctional intelligent phototherapy system
The multifunctional intelligent phototherapy system utilizes multi-band phototherapy and multimodal weighted fusion algorithms to solve the problems of limited functionality and low intelligence in existing phototherapy instruments. It achieves precise adaptation and personalized treatment for different types of pain, improves safety and data management, and is suitable for hospital and home settings.
Patent Information
- Application Number
- CN202511866858.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-11
- Publication Date
- 2026-01-20
AI Technical Summary
Existing phototherapy devices have limited functionality, cannot accurately adapt to different types of pain, have low levels of intelligence, are difficult to meet medical-grade pain relief needs, and lack real-time detection and personalized phototherapy solutions.
A multifunctional intelligent phototherapy system was designed, including an intelligent terminal module, an environmental and physiological sensing module, a signal processing and analysis module, a multi-band light source module, an illumination control module, a feedback adjustment and execution module, and a user interaction module. Through a multi-threaded task scheduler and a multi-modal weighted fusion algorithm, personalized adjustment and closed-loop control of multi-band illumination are achieved.
It achieves precise adaptation to different types of pain, improves safety and user comfort, provides data management and traceability, is suitable for hospital and home scenarios, and meets the multi-functional needs of medical-grade applications.
Smart Images

Figure CN121360342A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to a light therapy system, in particular to a multifunctional intelligent light therapy system, belonging to the technical field of light therapy. BACKGROUND
[0002] For a long time, various types of pain have widely plagued the patient population. Unrelieved pain is accompanied by weakness, anxiety, depression, and limited functional activities, not only interfering with daily life activities, but also leading to a significant decrease in quality of life. It is estimated that more than 600 million people worldwide suffer from chronic pain, and its incidence continues to rise in recent years. The Global Burden of Disease Study (GBD) points out that pain is an important global cause of disability in both developed and developing countries, and at the same time emphasizes that the current assessment of the burden of pain is still underestimated. Therefore, exploring effective pain relief strategies has always been a key research direction in the medical field.
[0003] From the current clinical practice, analgesic methods are still mainly drug therapy, common drugs include benzodiazepines, corticosteroids, gabapentin, non-steroidal anti-inflammatory drugs, and opioid drugs, etc. However, such drugs have significant limitations: after long-term or repeated administration, patients are prone to analgesic tolerance, hyperalgesia, and may also cause addiction, constipation, nausea and vomiting, etc. Adverse reactions, some drugs (such as opioids, some non-steroidal anti-inflammatory drugs) even have serious risks such as cardiotoxicity, respiratory depression, etc., which greatly limit their application in the long-term management of chronic pain.
[0004] Under this background, phototherapy, a non-drug analgesic method, has gradually become the preferred solution for clinical management of chronic pain due to its clear efficacy, high safety, and convenient operation. The medical application of phototherapy can be traced back to the late 19th century - Nobel Prize winner Niels Ryberg Finsen first reported that red light could be used to treat smallpox and ultraviolet light could be used to treat lupus skin disease. Since then, different colors and wavelengths of light have been gradually expanded to various disease treatment fields, including neonatal jaundice regression, improvement of seasonal affective disorder, acne treatment, regulation of biological rhythm disorders, and control of psoriasis, etc.
[0005] In recent years, important progress has been made in the research of phototherapy in the field of pain relief and mood regulation: studies have confirmed that green light, blue light, and white light all have pain relief effects, among which blue light can help regulate mood and strong white light can improve circadian rhythm; especially for migraine patients with photophobia, visual exposure to green light can effectively relieve headache symptoms (Martin et al., 2021c), and another study shows that green light exposure can also reduce the dosage of analgesic drugs such as morphine and ibuprofen, thereby reducing the risk of drug side effects (Martin et al., 2023). These studies fully highlight the application potential of phototherapy in single analgesia and combined drug analgesia.
[0006] The mainstream product on the market at present stage light therapy analgesic instrument, the core light source is 650-950nm red light / near infrared light LED lamp tube, 500-560nm green light LED light strip, the light source type is mainly LED, with the advantages of small volume, low cost, easy operation.The analgesic mechanism is mainly realized through two paths: one is that the light source directly acts on the skin of the affected area, and the local tissue metabolism is adjusted through the photo-physical and photo-chemical effect to relieve pain; the other is that it is transmitted to the central nervous system through the visual system, and the pain signal processing is intervened to achieve the analgesic effect. It has the advantages of convenient use, low toxicity and wide application range, but the current instrument has obvious technical limitations: the instrument is single, only works in the form of single color light, and has not formed an integrated system of multi-color light synergistic effect, which is difficult to accurately adapt to different pain types.
[0007] In addition to the analgesic field, the current systematic light therapy system is mainly applied to lighting adjustment scenes, with basic brightness control as the core, and is mainly used for lighting adjustment in home or ordinary public space, and is partially extended to old-age or medical auxiliary lighting, such as adjusting the indoor and outdoor brightness difference and avoiding sudden change of light. Its design positioning and function are difficult to adapt to the medical-grade analgesic demand, and there are the following technical shortcomings: 1. Single function: only brightness increase and decrease can be realized, and medical related functions such as pain relief and mood regulation are lacking; 2. Low degree of intelligence: there is no real-time detection (such as environmental brightness and user pain state), parameter automatic adjustment and feedback closed loop system, which cannot dynamically adapt to the individual needs of different scenes such as medical and home, the use scene is limited, and it is difficult to meet the precision and multifunctional demand of medical-grade light therapy.
[0008] Therefore, it is necessary to design a new multifunctional intelligent light therapy system to overcome the above problems. SUMMARY
[0009] The purpose of the present application is to overcome the defects of the prior art, and provide a multifunctional intelligent light therapy system, which uses multi-band light to intervene in pain patients and ordinary people with analgesic needs to achieve the goal of relieving pain and improving mood.
[0010] The present application is realized as follows: The present application provides a multifunctional intelligent light therapy system, comprising: The intelligent terminal module is the control core of the system, and runs a multi-thread task scheduler; The environment and physiological perception module is connected with the intelligent terminal module, and is used for collecting environmental brightness and user physiological signals and generating pain score and mood index; a signal processing and analysis module connected with the intelligent terminal module and the environment and physiological perception module, configured to calculate an optimal light therapy and illumination scheme according to the environmental brightness and the user physiological state; a multi-band light source module connected with the intelligent terminal module, configured to output adjustable multi-band light based on the optimal light therapy scheme; an illumination control module connected with the intelligent terminal module, configured to provide background illumination; a feedback adjustment and execution module connected with the intelligent terminal module, the multi-band light source module and the illumination control module, configured to monitor light parameters in real time and perform closed-loop control; a user interaction module connected with the intelligent terminal module, configured to receive user instructions and provide system state feedback; a data storage module connected with the intelligent terminal module, configured to store system runtime data in layers.
[0011] Further, the environment and physiological perception module comprises: an environmental brightness acquisition unit configured to acquire environmental images through an image sensor, and extract the maximum environmental gray value (L_max), user facial expression gray change rate and body posture tilt angle after processing; a physiological signal acquisition unit configured to acquire user physiological and behavioral data through a wearable device and image analysis, and output a standardized pain score for different populations based on a pre-set linear model.
[0012] Further, the signal processing and analysis module is configured to: receive the maximum environmental gray value (L_max), and calculate the actual environmental brightness value L through a conversion formula L=K*L_max, wherein K is a calibration coefficient; call a pre-trained pain type-multi-band matching model to determine the light therapy band combination ratio according to the pain score; fuse the environmental adaptation parameters and user state parameters through a multi-modal weighted fusion algorithm to generate a comprehensive light therapy scheme including light therapy bands, light intensity, illumination color temperature and duration.
[0013] Further, the intelligent terminal module is configured to: resolve the optimal light therapy scheme into a structured control instruction object; distribute the control instruction to the multi-band light source module through a first wireless communication mode; distribute the illumination control instruction to the illumination control module through a second wireless communication mode.
[0014] Further, the feedback adjustment and execution module is configured to perform closed-loop control, including: acquire the actual light intensity output by the multi-band light source module and the actual illumination color temperature output by the illumination control module at a preset frequency; calculate the deviation rate of the actual value and the set value, and send deviation information to the intelligent terminal module when the deviation rate exceeds a preset threshold; receive the correction instruction from the intelligent terminal module, adjust the control parameters of the corresponding module until the deviation rate is lower than the preset threshold.
[0015] Further, the intelligent terminal module is further configured to: receive the updated light therapy scheme from the signal processing and analysis module; differentially calculate the updated light therapy scheme and the current execution scheme, and if the difference exceeds a preset dead zone threshold, generate and distribute a new control instruction, and simultaneously monitor the execution process through a watchdog timer.
[0016] Further, the data storage module adopts a layered storage architecture including a solid state disk (SSD) layer and a NAND Flash layer, and is configured to: store recent data with high frequency access in the SSD layer; store compressed historical archive data in the NAND Flash layer; establish a hash index table with time stamp as key and storage address as value to support fast query, and perform timed data backup and integrity check.
[0017] Further, the illumination control module is configured with two working modes: During the non-light therapy period, perform regular illumination regulation, including PWM-based brightness adjustment and color temperature adjustment based on cold / warm light LED current ratio; During the light therapy period, dynamically adjust the background illumination brightness to ensure that the difference between it and the light therapy light source intensity of the multi-band light source module is within a preset comfort threshold.
[0018] Further, the user interaction module supports both touch and voice input methods, and is configured to provide multi-dimensional output feedback, including: display light therapy parameters, countdown and historical data curves through the touch screen; provide progress prompts and abnormal state alarms through the buzzer and LED indicator light.
[0019] The present application has the following beneficial effects: 1. High safety: The present application adopts a non-drug multi-band light therapy method, which is non-invasive and has high safety and low toxicity compared to traditional drug treatment; and compared to a single light therapy instrument without monitoring design, the safety and use comfort are significantly improved.
[0020] 2. Precise adaptive treatment: existing light therapy pain relief instruments are mostly designed for single color light, which cannot adapt to different pain type requirements; the present application uses a pain type-multiband matching model to specify specific light therapy programs for different pain models, while coordinating light therapy and lighting synergy parameters to achieve integrated lighting and light therapy functions, which is more personalized than the single output mode of traditional light therapy instruments.
[0021] 3. Data and traceability: existing light therapy equipment lacks data storage and analysis capabilities, making it difficult to evaluate long-term treatment effects; the present application records historical light parameters, user pain and emotion data, and optimal treatment programs through a data storage module, supports data export and trend analysis, and provides data support for medical personnel to evaluate treatment effects and optimize programs, making it easier to manage long-term treatment compared to traditional devices without data recording.
[0022] 4. Wide application: the present application is suitable for both medical environments such as hospitals and clinics and home scenarios, and can adapt to the core needs of different scenarios. In medical environments such as hospitals and clinics, the system can access the medical institution's diagnosis and treatment data system to assist medical personnel in pain relief treatment; in home scenarios, the system simplifies the operation process, allowing users to use it conveniently without professional medical knowledge, and can automatically adjust the light therapy and lighting synergy parameters according to indoor and outdoor brightness, adapting to the use requirements of different home spaces such as bedrooms and living rooms, and realizing cross-scenario coverage of professional treatment in medical scenarios and convenient care in home scenarios. BRIEF DESCRIPTION OF DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiment or prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can obtain other drawings according to these drawings without creative labor.
[0024] Figure 1 The flowchart of the multifunctional intelligent light therapy system provided by the embodiment of the present application; Figure 2 The schematic diagram of the wearable bracelet provided by the embodiment of the present application Figure 3 The schematic diagram of the wearable bracelet provided by the embodiment of the present application from another perspective DETAILED DESCRIPTION
[0025] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0026] like Figure 1 As shown, this invention provides a multifunctional intelligent phototherapy system, comprising: an intelligent terminal module 1, which is the system control core and runs a multi-threaded task scheduler; an environmental and physiological sensing module 2, connected to the intelligent terminal module, for collecting ambient brightness and user physiological signals and generating pain scores and mood indices; a signal processing and analysis module 3, connected to the intelligent terminal module and the environmental and physiological sensing module 2, for calculating the optimal phototherapy and lighting scheme based on ambient brightness and user physiological state; a multi-band light source module 6, connected to the intelligent terminal module, for outputting adjustable multi-band illumination based on the optimal phototherapy scheme; a lighting control module 5, connected to the intelligent terminal module, for providing background lighting; a feedback adjustment execution module 7, connected to the intelligent terminal module, the multi-band light source module 6, and the lighting control module 5, for real-time monitoring of illumination parameters and performing closed-loop control; a user interaction module 8, connected to the intelligent terminal module, for receiving user commands and providing system status feedback; and a data storage module 4, connected to the intelligent terminal module, for hierarchical storage of system runtime data.
[0027] The following provides a detailed explanation of each module and their interoperability: Module 1 is an intelligent terminal module, which uses a high-performance embedded microprocessor to run a multi-threaded task scheduler based on Android customization as the core control unit of the system, realizing data processing, instruction distribution, and multi-module collaborative management. It establishes a TCP / IP connection with the signal processing and analysis module (module 3) and the data storage module (module 4) through the WiFi module, with a data transmission rate of ≥150Mbps; it communicates with the lighting control module (module 5) and the user interaction module (module 8) through the Bluetooth 5.0 module, with a single instruction transmission delay of ≤10ms; it realizes low-power data interaction with the multi-band light source module (module 6) through the ZigBee wireless communication module. The template provides a graphical interface for users to select light therapy band combinations, set light therapy time and light intensity, adjust lighting modes, and other basic device settings. It runs a multi-threaded task scheduler internally: the main thread handles user interaction, generates structured control instruction objects according to user-set light therapy parameters, Light TherapyCommand { band: [x, y, z], duration: α, intensity: β}, representing green light x%, red light y%, blue light z%, where (x+y+z=100), light therapy duration α seconds, intensity β; the high-priority control thread then analyzes and distributes these instructions to each execution module through the strategy pattern.
[0028] It undertakes the functions of system data integration and export: it temporarily stores light parameters, pain scores, emotional states, and other data in a ring buffer, standardizes them in CSV format, and fields include timestamp (YYYY-MM-DD HH:MM:SS), band combination (e.g. R:G:B=30:50:20), light intensity (Lux), pain score (0-10), emotional index (-5 to +5), supports export through USB interface or WiFi network, facilitating subsequent analysis and medical sharing. At the same time, it receives real-time feedback from the signal processing and analysis module (module 3), and after verification and difference calculation, if the difference exceeds the 5% preset dead zone threshold, it immediately generates new control instructions, monitors the execution process through the watchdog timer, and ensures that the system runs stably according to the dynamic optimization scheme.
[0029] Module 2 is an environmental and physiological perception module, whose core function is to collect environmental brightness and user physiological signals to provide basic data for system regulation. It establishes a stable communication connection with the intelligent terminal (module 1) through the SPI bus, and its core includes an environmental brightness collection unit and a physiological signal collection unit, responsible for environmental information and physiological signal collection, preprocessing, and preliminary analysis, with the following specific design: The environmental brightness acquisition unit adopts Sony IMX series CMOS image sensor to realize real-time image acquisition of indoor and outdoor environment, and the acquisition frame rate is strictly controlled at 30 fps and above, ensuring accurate capture of the dynamic change process of environmental brightness. The built-in image processing chip in the sensor performs preprocessing on the collected RAW image data: first, apply bilateral filtering algorithm for noise reduction, which effectively suppresses noise interference while preserving key image details; then convert the color image to grayscale image through the standard weighted grayscale formula (Gray = 0.299*R + 0.587*G + 0.114*B), with the grayscale value ranging from 0 to 255 (0 represents black, 255 represents white); then use Sobel operator to extract image edge features, accurately segment the user's body area and background area, and exclude non-environmental brightness related interference factors; finally, based on the segmented data, extract three core feature parameters: maximum grayscale value of the environment area (L_max), user facial expression grayscale change rate (AG / At), and body posture inclination angle (calculated by Hough transform algorithm), and pack them into a 32-byte standard data frame, then send them to the signal processing and analysis module (module 3) through the specified link.
[0030] The physiological signal acquisition unit adopts a multi-modal data fusion strategy, consisting of a pain rating block and an emotional feedback block, to achieve comprehensive acquisition and analysis of physiological indicators, behavioral characteristics and emotional state. Among them, the pain rating block cooperates with the image analysis system through a wearable bracelet to complete the comprehensive acquisition of physiological and behavioral indicators: the wearable bracelet continuously acquires heart rate (60-180 times / minute, measurement accuracy ±2 times / minute), systolic pressure (80-180 mmHg, measurement accuracy ±3 mmHg), respiratory rate (12-30 times / minute), skin resistance (100 kΩ-1 MΩ), and limb activity data (based on a three-axis acceleration sensor, range ±8g); the image analysis system reuses the camera of the environmental brightness acquisition unit to capture facial expressions (extracting key feature points such as frowning and clenching teeth) and body movements (triggering recording when the movement amplitude is greater than or equal to 5°), and simultaneously acquires 100-8000 Hz frequency band audio signals through the built-in microphone to accurately identify pain moaning characteristics. After acquisition, the module performs weighted fusion processing on the wearable bracelet data and image analysis data, inputs the pre-set linear model to output the user's real-time standardized pain rating, and the model is designed according to the classification of the target population: Adult (adapted NRS scale): Pain_Score_NRS = w1*HRV + w2*GSR + w3*Facial_AU + w4*Activity + b, wherein HRV is heart rate variability, GSR is galvanic skin response, Facial_AU is facial action unit, Activity is limb activity quantification value, w1-w4 are feature weights, and b is a bias term, and the weights and the bias term are obtained by training labeled data; Children (adapted FLACC scale): Pain_Score_FLACC = w1*Facial_Expression + w2*Leg_Movement + w3*Activity + w4*Cry + w5*Consolability + b, wherein Facial_Expression is facial expression score, Leg_Movement is leg movement score, Activity is activity state score, Cry is crying condition score, and Consolability is consolability score, each score ranges from 0 to 2, w1-w5 are feature weights, and b is a bias term, and the weights and the bias term are determined by training labeled data.
[0031] The emotional feedback block takes the pain score result and heart rate variability (HRV) as the core analysis basis, combines the HRV time domain index SDNN (standard deviation of normal sinus interval) to determine the basic emotional state: when SDNN≥100 ms, it is determined as a "calm" state, and when SDNN≤50 ms, it is determined as an "anxious" state; meanwhile, the subjective feedback input by the user through the interaction module is integrated to correct the result, and finally a standardized emotional index (value range -5 to +5, negative value represents negative emotion, and positive value represents positive emotion) is output. All output data of the physiological signal acquisition unit (including pain score, emotional index and original acquisition data) are uniformly transmitted to the intelligent terminal (module 1) to provide complete data support for subsequent processing.
[0032] wherein, Figure 2 and Figure 3 is a schematic diagram of a wearable bracelet, 201 is a bracelet touch screen, which is used to display information collected by the sensor; 202 is an elastic bracelet band, which is used to fix the instrument on the patient's bracelet; 203 is a sensor, which can continuously collect physiological indicators such as heart rate, systolic pressure, respiratory rate, skin resistance, and limb activity, and display them on the display screen while transmitting them to the intelligent terminal module 1 through Bluetooth.
[0033] Module 3 is a signal processing and analysis module, the core function of which is to calculate the optimal light therapy and lighting scheme based on the perception data. This module is built based on a high-performance digital signal processor (DSP) and has strong computing power to quickly process large amounts of data. This module first receives the maximum gray value L_max transmitted by the environmental brightness acquisition unit of the environmental and physiological perception module (module 2) and converts it into the actual environmental brightness value. The conversion formula is L=K*L_max (where K is the calibration coefficient, which needs to be calibrated by a standard light source, and the value range is 1.2-1.5 Lux / gray value). Then, the brightness adaptation algorithm is applied to calculate the target brightness of the light therapy light source and the lighting light source, which are L1 = L + ΔL1 and L2 = L + ΔL2 (ΔL1 and ΔL2 are brightness adjustment amounts), respectively. In the algorithm, the comfort threshold of |ΔL1 - ΔL2|≤50Lux is preset to ensure that the collaborative brightness difference between the indoor lighting and the light therapy light source is within the human tolerance range, effectively avoiding visual discomfort and physiological stress response caused by sudden changes in light.
[0034] After completing the calculation of the environmental adaptation parameters, the pain information of the environmental and physiological perception module (module 2) is combined to call the pre-trained "pain type-multiband matching model" - which is built based on a BP neural network, with the input layer being a pain feature vector (including physiological indicators, behavior characteristics, etc. dimensions) and the output layer being the proportion of each waveband), to determine the illumination combination ratio of different wavebands such as green light, red light, and blue light. For example, for migraine, the green light with a wavelength of 500-560nm is preferentially increased to more than 70%. The initial value of the illumination intensity of each waveband is calculated according to the formula I_λ = basic intensity I0*proportion P_λ (I0 is preset according to user tolerance, ranging from 500 to 2000 Lux) The subsequent module integrates the two types of core parameters through a multi-modal weighted fusion algorithm, and finally outputs a comprehensive light therapy scheme. The fusion formula is: final parameter = 0.4 * environmental adaptation parameter + 0.6 * user state parameter. Among them, the environmental adaptation parameter includes the difference value of lighting color temperature and brightness, and the color temperature adopts a dynamic adjustment strategy: when the environmental brightness L ≥ 500 Lux, the color temperature is set to ≥ 5000K; when L < 300 Lux, the color temperature is set to ≤ 3000K, to match the visual comfort in different lighting scenes; the user state parameter includes the light intensity of each waveband and the light therapy duration, and the light intensity is dynamically corrected based on the pain score (for every 1 point increase in pain score, the intensity is increased by 5%), and the duration is set to 20 minutes by default, and if the user emotional index < 0 (negative emotional state), it is extended to 30 minutes. The final output light therapy scheme adopts a standardized data format, and generates an optimal light therapy and lighting linkage scheme that takes into account environmental comfort and user treatment needs, for example: {light therapy waveband: [G (530nm, 70%), R (660nm, 10%), B (460nm, 20%)], light intensity: 1200Lux, lighting color temperature: 4500K, duration: 25min}, and is sent in real time to the intelligent terminal (module 1) through the WiFi communication link, providing accurate control basis for the subsequent execution unit.
[0035] Module 4 is a data storage module, and the core function is to realize efficient storage and management of system data, using a storage architecture combining NAND Flash storage chips and high-speed solid-state drives SSD, interconnected with the intelligent terminal (module 1) and the signal processing and analysis module (module 3) through a USB 3.0 interface, supporting hot plugging. The data storage adopts a layered storage strategy, with the SSD storage layer as a cache layer, storing high-frequency access data for nearly 1 month, including real-time lighting parameters recorded every 5 seconds, user physiological data updated every 10 seconds, and optimal light therapy schemes called frequently within nearly 3 days; the NAND Flash storage layer as a large-capacity archival layer, storing historical data exceeding 1 month, with data partitioned and managed by time dimension (each month divided into an independent partition), and compressed using the LZO compression algorithm (compression ratio ≥ 50%) to reduce storage space occupancy.
[0036] The module establishes a hash index table with time stamp as key and storage address as value, supports fast query within a specified time range, and the query response time is less than or equal to 1 second, meeting the real-time requirement of data backtracking and analysis. In terms of data security and integrity protection, the system automatically performs the backup task of SSD data to NAND Flash at 3 o'clock in the morning every day, and the backup process adopts RAID 0 check mechanism; at the same time, the storage data is detected for integrity by MD5 check algorithm, if the data is damaged, the system will automatically call the corresponding complete data from the backup area for recovery, ensuring the reliability and integrity of all storage data, and providing data support for subsequent personalized scheme optimization.
[0037] Module 5 is a lighting function module, and the core function is to realize precise control of basic lighting and light therapy auxiliary lighting. The hardware structure takes STM32F103 intelligent lighting control chip as the core, integrates PWM dimming circuit and continuously adjustable color temperature adjustment module, and is connected with the intelligent terminal (module 1) through Bluetooth to receive control instructions. The module has a built-in command parser in the firmware, which converts target brightness, color temperature and other parameters into specific hardware execution signals after receiving the instructions. The brightness parameter conversion follows a clear calculation logic: according to the 0-100% brightness instruction issued by the intelligent terminal, the PWM timer duty cycle is calculated by the formula Duty_Cycle = (Target_Intensity / 100) * (Timer_Period) (where Timer_Period is the maximum count value of the timer, which determines the PWM frequency and accuracy), combined with PWM pulse width modulation technology and digital dimming technology, to realize high-precision control of light.
[0038] The module has two core working modes: during the non-light therapy period, it strictly follows the instructions of the intelligent terminal (module 1) to execute indoor regular lighting control, and the brightness adjustment is realized by the above-mentioned PWM duty cycle calculation to achieve precise output, and the color temperature adjustment is realized by dynamically controlling the current ratio of cool light LED and warm light LED, for example, 5000K color temperature corresponds to 60% cool light current ratio and 40% warm light current ratio, to ensure the continuity and accuracy of color temperature adjustment; during the light therapy period, the module actively cooperates with the multi-waveband light source module (module 6) to work, and the actual intensity of the light therapy light source is obtained in real time through the feedback regulation of the closed-loop control of the execution module (module 7), and the background lighting brightness is dynamically adjusted to ensure that the difference between them is less than or equal to 30 Lux, avoiding sudden changes in light that may cause user discomfort. At the same time, the module supports the circadian rhythm simulation function, and automatically adapts the color temperature parameters according to the time: during 6:00-18:00, the high color temperature lighting of 5500-6500K is adopted, during 18:00-22:00, the color temperature is reduced to 3000-4000K, and during 22:00-6:00, the low color temperature of 2700K is maintained, which helps to improve the sleep quality and emotional state of the user through the lighting adjustment that conforms to the human physiological rhythm.
[0039] Module 6 is a multi-band light source module, the core function of which is to output precise controllable multi-band light. The hardware configuration focuses on light source performance, driving precision and heat dissipation stability: the light source assembly includes three types of core waveband LEDs, namely 440-480 nm blue light LED (peak wavelength 460 nm, rated power 3 W), 500-560 nm green light LED (peak wavelength 530 nm, rated power 5 W), and 650-950 nm red / near-infrared light LED (peak wavelength 660 nm / 850 nm, rated power 5 W), covering the commonly used key wavebands for light therapy; the driving circuit is independently designed for each waveband, each waveband is equipped with a dedicated DC-DC constant current driving module, the current adjustment range is 100 mA-1000 mA, and the PWM dimming signal can be received through the SPI bus to ensure the stability and control accuracy of the driving signal; the heat dissipation system adopts an aluminum heat sink and fan combination scheme, and is equipped with a temperature sensor to monitor the LED working state in real time, ensuring that the LED junction temperature is always ≤70°C, avoiding performance degradation or shortening of service life caused by high temperature.
[0040] The control logic of the module follows the standardized and high-precision regulation principle: first, it receives the waveband combination instruction issued by the module 1 intelligent terminal, calculates the driving current of each waveband according to I_λ = total current I_total * P_λ, where I_total is the total driving current with a maximum value of 1000 mA, and P_λ is the proportion coefficient of the corresponding waveband); the PWM dimming system adopts a 16-bit precision design, and the 0-100% light intensity adjustment corresponds to a 0-65535 duty cycle range, with a regulation step as low as 0.0015%, ensuring continuous and stepless adjustment of light intensity; at the same time, the module supports switching between two core working modes, including single-color light mode (such as pure green light output) and multi-color light cooperative mode (such as green light + blue light combination output), and the mode switching response time is ≤100 ms, which can quickly adapt to the light therapy needs of different types of pain.
[0041] Module 7 is a feedback adjustment execution module, the core function of which is to monitor light parameters in real time, and to ensure the consistency of light output and set value through a standardized closed-loop control mechanism, and to ensure the light therapy effect and lighting comfort. The module takes a microcontroller MCU as the core control unit, builds a multi-module interconnection communication architecture, interconnects with the intelligent terminal (module 1), the lighting function module (module 5) and the multi-band light source module (module 6) through a specified interface, realizes data interaction and instruction transmission, and receives the optimal light scheme instruction issued by the intelligent terminal (module 1), and relies on an analog-to-digital conversion ADC chip to complete real-time acquisition and digital processing of light parameters.
[0042] The monitoring and feedback process of the module follows standardized closed-loop control logic, which is implemented as follows: In the parameter acquisition stage, two types of core parameters are synchronously acquired by high-precision sensors. The illumination intensity is collected by an illumination sensor with a range of 0-10000 Lux and a measurement accuracy of ±5% (for the actual output value of the multi-band light source), and the color temperature is collected by a color temperature sensor with a range of 2000K-10000K and an accuracy of ±100K (for the output value of the lighting control module). All parameters are sampled at a frequency of 50ms / second, and the sampled data is converted to digital signals by a 12-bit ADC (resolution = sensor range / 4096), ensuring the real-time and accuracy of data acquisition. In the deviation judgment stage, the deviation rate of the actual value and the set value of the parameter is calculated based on a preset algorithm, and the calculation formula is deviation rate = |actual value-set value| / set value * 100%. When the deviation rate exceeds the preset threshold of 5%, the feedback adjustment mechanism is automatically triggered. In the closed-loop correction stage, the module first sends accurate deviation information (such as "blue light intensity deviation 6%") to the intelligent terminal (module 1), and after receiving the correction instruction issued by the receiving intelligent terminal, it adjusts the PWM control parameters of the corresponding module (lighting control module or multi-band light source module) to continuously optimize the output state until the parameter deviation rate ≤5%, completing the closed-loop correction and finally ensuring that the lighting system stably outputs parameters that meet the design requirements.
[0043] Module 8 is a user interaction module, and its core function is to build a two-way interaction channel between the user and the system, realize convenient instruction input and clear information feedback, and improve the operation ease of use and user experience. The hardware configuration is designed around the multi-modal interaction needs: equipped with a 7-inch capacitive touch screen (resolution up to 1280x720, response time ≤50ms and supports multi-point touch, ensuring the smoothness and accuracy of touch operation), integrated voice recognition module (supports Chinese instruction interaction, wake-up word set to "light therapy assistant", voice recognition rate ≥95%); at the same time, a buzzer and LED indicator are configured for light therapy progress prompt and abnormal state alarm, forming a multi-dimensional feedback mechanism.
[0044] The interactive process is divided into input and output links. The input level supports two ways of touch and voice: touch input can complete the selection of pain sites (such as head, shoulder, etc.), manual pain rating (0-10 point sliding bar interaction), and light comfort evaluation (1-5 star rating feedback) through the visual interface; voice input supports commands such as "start 30 minutes of light therapy" and "increase green light intensity". The voice signal is first processed by an adaptive filter for noise reduction, and then converted into a text command recognizable by the system to ensure the accuracy of command recognition. At the output level of the system, key information is displayed in real time through the touch screen, including the remaining time of light therapy (countdown accuracy of 1 second), the current light parameters (including waveband combination, light intensity, etc.), and the historical treatment data curve (for users to trace back treatment records); at the same time, the system realizes the prompting function through the buzzer and LED indicator light. Five minutes before the end of light therapy, the buzzer will issue a reminder at a frequency of 1 kHz and a duration of 0.5 seconds. The LED indicator light flashes feedback during the brightness adjustment process (green flashing indicates normal operation, and red flashing indicates abnormal state), ensuring that users can obtain system operation information in a timely manner and improving the convenience of operation and user experience.
[0045] The running steps of the multifunctional intelligent light therapy system are as follows: Start-up and initialization: the system is automatically started after power-on, module 1 leads the completion of self-checking and interconnection of all modules, and establishes a stable communication link with modules 2-8; module 8 activates the touch / voice function, module 4 initializes the storage partition and index, and module 7 sensor preheats to readiness. Users can choose to manually set the light therapy time, intensity and lighting mode through module 8, or select the "automatic" mode to call preset parameters. At this time, module 1 will automatically start module 2 without manual intervention to carry out user state analysis.
[0046] Data acquisition and input: users select the pain site, manually score, or directly issue light therapy instructions (such as "start 30 minutes of green light therapy") through the touch screen or voice function of module 8. The instructions are transmitted to module 1 in real time. At the same time, module 2 synchronously starts environmental brightness acquisition (acquires L_max, etc.) and physiological signal acquisition (bracelet + image / audio capture), generates pain score and emotion index, and sends all collected data to modules 1 and 3 synchronously.
[0047] Scheme calculation and verification: module 1 generates initial light therapy control instructions (including waveband combination, intensity, duration) according to user input; module 3 receives the perception data of module 2 and the initial instructions of module 1, determines the waveband proportion, color temperature, etc. through the brightness adaptation algorithm and BP neural network model, and generates the optimal scheme through multi-modal weighted fusion; module 1 receives the optimal scheme, and differentiates the current execution parameters. If the difference is ≤5%, it is directly executed, and if it is >5%, a new control instruction is generated.
[0048] Execution and closed-loop regulation: Module 1 distributes final instructions to Module 5 and Module 6; Module 5 adjusts the brightness and color temperature of the basic lighting, and Module 6 outputs precise multi-band light therapy light sources according to the instructions; Module 7 collects light intensity / color temperature every 50 ms and calculates the deviation rate; if the deviation is > 5%, it is fed back to Module 1, which issues a correction instruction, and Module 5 / 6 adjusts the parameters to a deviation of ≤ 5%.
[0049] Data management and end: The light therapy parameters, physiological data, and program information are stored in real time by Module 4, supporting quick queries by time. After the light therapy duration is met, Module 8 prompts completion through a buzzer + LED; users can export CSV format data through USB / WiFi, and the system enters standby or off state.
[0050] In summary, the multifunctional intelligent light therapy system has the following beneficial effects: High safety: The present application adopts a non-drug multi-band light therapy method, which is non-invasive and has high safety and low toxicity compared to traditional drug treatment; and compared to single light therapy instruments without monitoring design, the safety and use comfort are significantly improved.
[0051] Precise adaptive treatment: Existing light therapy analgesia instruments are mostly single-color light designs, which cannot adapt to different pain type requirements; the present application specifies specific light therapy programs for different pain models through a pain type-multi-band matching model, and coordinates light therapy and lighting parameters, realizing the integration of lighting and light therapy functions, which is more suitable for individualized treatment needs than the single output mode of traditional light therapy instruments.
[0052] Data and traceability: Existing light therapy devices lack data storage and analysis capabilities, making it difficult to evaluate long-term treatment effects; the present application records historical light parameters, user pain and emotion data, and optimal treatment programs through a data storage module, supports data export and trend analysis, provides data support for medical personnel to evaluate treatment effects and optimize programs, and is more convenient for long-term treatment management compared to traditional devices without data recording.
[0053] Wide application: The present application is suitable for both medical environments such as hospitals and clinics and home scenarios, and can deeply adapt to the core needs of different scenarios. In medical environments such as hospitals and clinics, the system can access the medical institution's diagnosis and treatment data system to assist medical personnel in pain relief treatment; in home scenarios, the system simplifies the operation process, allowing users to use it conveniently without professional medical knowledge, and can automatically adjust the light therapy and lighting coordination parameters according to indoor and outdoor brightness, adapting to the use needs of different home spaces such as bedrooms and living rooms, and realizing cross-scenario coverage of professional treatment in medical scenarios and convenient care in home scenarios.
[0054] The above merely provides the preferred embodiment of the present application, and is not used to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims
1. A multifunctional intelligent phototherapy system, characterized in that, The system comprises: a smart terminal module (1) serving as a system control core and running a multi-thread task scheduler; an environment and physiological perception module (2) connected with the smart terminal module (1) and used for collecting environmental brightness and user physiological signals and generating a pain score and an emotional index; a signal processing and analysis module (3) connected with the smart terminal module (1) and the environment and physiological perception module (2) and used for calculating an optimal light therapy and lighting scheme according to the environmental brightness and user physiological state; a multi-waveband light source module (6) connected with the smart terminal module (1) and used for outputting adjustable multi-waveband light based on the optimal light therapy scheme; a lighting control module (5) connected with the smart terminal module (1) and used for providing background lighting; a feedback adjustment and execution module (7) connected with the smart terminal module (1), the multi-waveband light source module (6) and the lighting control module (5) and used for monitoring light parameters in real time and performing closed-loop control; a user interaction module (8) connected with the smart terminal module (1) and used for receiving user instructions and providing system state feedback; and a data storage module (4) connected with the smart terminal module (1) and used for storing system runtime data in layers. 2.The multifunctional intelligent phototherapy system of claim 1, wherein, The environment and physiological perception module (2) comprises: an environmental brightness collection unit for collecting environmental images through an image sensor, extracting an environmental maximum grayscale value (L_max), a user facial expression grayscale change rate and a body posture inclination angle after processing; and a physiological signal collection unit for collecting user physiological and behavioral data through a wearable device and image analysis and outputting a standardized pain score for different groups of people based on a preset linear model. 3.The multifunctional intelligent phototherapy system of claim 2, wherein, The signal processing and analysis module (3) is configured to: receive the environmental maximum grayscale value (L_max) and calculate an actual environmental brightness value L through a conversion formula L=K*L_max, wherein K is a calibration coefficient; call a pre-trained pain type-multi-waveband matching model, determine a light therapy waveband combination ratio according to the pain score; fuse environmental adaptation parameters and user state parameters through a multi-modal weighted fusion algorithm to generate a comprehensive light therapy scheme including a light therapy waveband, a light intensity, a lighting color temperature and a duration. 4.The multifunctional intelligent phototherapy system of claim 1, wherein, The smart terminal module (1) is configured to: analyze the optimal light therapy scheme into a structured control instruction object; distribute the control instruction to the multi-waveband light source module (6) through a first wireless communication mode; distribute a lighting control instruction to the lighting control module (5) through a second wireless communication mode. 5.The multifunctional intelligent phototherapy system of claim 4, wherein, The feedback adjustment and execution module (7) is configured to perform closed-loop control, including: collecting actual light intensity output by the multi-waveband light source module (6) and actual lighting color temperature output by the lighting control module (5) at a preset frequency; calculating a deviation rate of the actual values from the set values and sending deviation information to the smart terminal module (1) when the deviation rate exceeds a preset threshold; receiving a correction instruction from the smart terminal module (1), adjusting the control parameters of the corresponding module until the deviation rate is lower than the preset threshold. 6.The multifunctional intelligent phototherapy system of claim 1, wherein, The intelligent terminal module (1) is further configured to: receive the updated light therapy scheme from the signal processing and analysis module (3); perform differential calculation on the updated light therapy scheme and the current execution scheme, and if the difference exceeds the preset dead zone threshold, generate and distribute new control instructions, and monitor the execution process through the watchdog timer. 7.The multifunctional intelligent phototherapy system of claim 1, wherein, The data storage module (4) adopts a layered storage architecture containing a solid state drive (SSD) layer and a NAND Flash layer, and is configured to: store high-frequency access recent data in the SSD layer; store compressed historical archive data in the NAND Flash layer; establish a hash index table with time stamp as key and storage address as value to support fast query, and perform timed data backup and integrity check. 8.The multifunctional intelligent phototherapy system of claim 1, wherein, The lighting control module (5) is configured with two working modes: During the non-light therapy period, perform regular lighting regulation, including PWM-based brightness adjustment and color temperature adjustment based on cold / warm light LED current ratio; During the light therapy period, dynamically adjust the background lighting brightness to ensure that the difference between it and the light therapy light source intensity of the multi-waveband light source module (6) is within the preset comfort threshold. 9.The multifunctional intelligent phototherapy system of claim 1, wherein, The user interaction module (8) supports both touch and voice input methods, and is configured to provide multi-dimensional output feedback, including: Display light therapy parameters, countdown and historical data curves through the touch screen; Progress prompt and abnormal state alarm through the buzzer and LED indicator light.