An intelligent management system for LED lighting of tea tables
By designing the tea table LED lighting intelligent management system and using the dynamic control capabilities of LEDs, the problem that the existing system cannot transmit fine and real-time tea brewing reference information is solved, and the effect of users being able to intuitively judge the water temperature and tea brewing progress is ensured to ensure the optimal brewing status of the tea.
Patent Information
- Application Number
- CN202410694907.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2044-05-31
AI Technical Summary
The existing tea table LED display system fails to effectively utilize the dynamic control capabilities of LEDs, cannot transmit fine and real-time tea brewing reference information, and cannot help users grasp the optimal brewing status and timing of tea.
An intelligent management system for LED lighting on tea table was designed, including data management module, tea parameter acquisition module, analysis module, update module, LED partition module and control module. The system stores the brewing parameters and color transformation functions of tea through the database, obtains and corrects brewing parameters in real time, and performs color calculations and LED controls based on the ambient temperature and time, so as to realize LED partitions that independently display different colors.
The LED partition independently displays different colors. Users can judge the water temperature and tea brewing progress based on the color, improve the intuitiveness and convenience of tea brewing, ensure the quality of each tea brewing, and provide a personalized tea drink experience.
Smart Images

Figure CN118714691B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent LED systems, and more specifically, to an intelligent management system for LED lights on tea tables. Background Art
[0002] LED (light-emitting diode) technology, as a light-emitting method, has been widely used around the world. Due to its high energy efficiency, long life and reliability, LED has become the preferred light source in various lighting products. In addition to basic lighting, LED also plays a core role in display screens, indicator lights, decorative lights and other fields with its rich color performance and flexible control characteristics.
[0003] The development of LED control technology has been able to achieve complex dynamic effects and create environmental atmospheres, such as reading lights, night lights, stage lights, etc., which greatly enriches people's visual experience. In particular, through software programming and hardware design, LED lights can change rich colors and dynamic modes according to different scenarios, which not only meets the actual needs of users in terms of functionality, but also adds interest to the space and the fun of life in terms of perception.
[0004] Therefore, it has become a trend to widely use LED lighting in tea table environments to provide a more comfortable tea-tasting environment. Although LED control technology brings users a rich and diverse visual experience, under the background of profound tea culture, when it comes to the delicate process of brewing tea, the limitations of existing technology become apparent; in the process of brewing tea, water temperature and brewing time are crucial to the presentation of tea flavor, but existing tea table LED display systems usually only provide basic static light effects, or simple regularly changing dynamic light effects, and fail to effectively utilize the dynamic control capabilities of LEDs to deliver more detailed and real-time tea brewing reference information, and cannot effectively assist users in grasping the best brewing state and timing of tea. Summary of the invention
[0005] In order to overcome the problem that the prior art cannot effectively assist users in grasping the best brewing state and timing of tea, the present invention proposes an intelligent management system for LED lights on a tea table to solve the above problem.
[0006] The present invention provides the following technical solutions:
[0007] An intelligent management system for LED lighting of a tea table, comprising:
[0008] The data management module includes a database unit, wherein the database unit includes a tea database storing brewing parameters of various teas and a transformation function library storing color transformation functions, wherein the brewing parameters include a temperature interval, a time interval, and an ideal ambient temperature;
[0009] The tea parameter acquisition module is used to obtain the type of tea currently in use, and obtain the corresponding brewing parameters from the tea database according to the type of tea currently in use, and record them as current brewing parameters;
[0010] The analysis module includes a correction unit and a calculation unit, wherein the correction unit is used to correct the temperature interval of the current brewing parameter to obtain a corrected temperature interval, and correct the time interval of the current brewing parameter to obtain a corrected time interval, and the calculation unit is used to calculate a first color value according to the corrected temperature interval, and calculate a second color value within a brewing cycle according to the corrected time interval;
[0011] An updating module, configured to drive the calculation unit to recalculate the first color value according to a preset frequency pl1, and to drive the calculation unit to recalculate the second color value according to a preset frequency pl2;
[0012] An LED partition module, used to divide the LED into three areas, including a first display area, a second display area and other display areas;
[0013] The control module is used to obtain the first color value and the second color value in real time, and control the first display area of the LED according to the first color value, control the second display area of the LED according to the second color value, and control the LEDs in other display areas according to the preset color value.
[0014] Preferably, the method for obtaining the brewing cycle includes:
[0015] The total weight of the teapot is obtained in real time through the gravity sensor and recorded as G t , and record the corresponding acquisition time t until G t ≥G 壶 +G 预 , where G 壶 is the weight of the empty teapot, G 预 Add the amount to the preset weight;
[0016] The corresponding acquisition time t is taken as the starting time point;
[0017] The total weight of the teapot after real-time acquisition at time t is recorded as G t' , and record the corresponding acquisition time t' until G t <G 壶 +G 预 ;
[0018] The corresponding acquisition time t' is taken as the end time point;
[0019] The starting time point to the ending time point constitutes a brewing cycle.
[0020] Preferably, the method for obtaining the corrected temperature interval includes:
[0021] Get the temperature range of the current brewing parameters [W min ,W max ] and ideal ambient temperature W 理 , obtain the ambient temperature W through the temperature sensor 环 ;
[0022] Calculate the temperature correction value using the following formula:
[0023]
[0024] Among them, W x represents the temperature correction value, α is the preset temperature correction coefficient, where W min is the lower limit of the temperature range, W max is the upper limit of the temperature range;
[0025] Corrected temperature range is [W x min ,W x max ], where W x min =W min +W x , W x max =W max +W x , where W x min is the lower limit of the corrected temperature range, W x max is the upper limit of the correction temperature range;
[0026] The method for obtaining the modified time interval includes:
[0027] Get the time interval of the current brewing parameters [T min ,T max ] and the corrected temperature range [W x min ,W x max ], obtain the temperature of the kettle at the start time as the brewing temperature W 冲 ;
[0028] Use the following formula to calculate the time correction value:
[0029]
[0030] Among them, T x represents the time correction value, β is the preset time correction coefficient, where T min is the lower limit of the time interval, T max is the upper limit of the time interval;
[0031] The correction time interval is [T x min ,T x max ], where T x min =T min +T x , Tx max =T max +T x , where T x min is the lower limit of the correction time interval, T x max It is the upper limit of the correction time interval.
[0032] Preferably, the calculation method of the first color value includes:
[0033] The first color value is represented by using RGB value, specifically (R a ,G a ,B a ),
[0034] Preset the initial temperature display color, the middle temperature display color and the end temperature display color;
[0035] Get the corrected temperature range [W x min ,W x max ], get the real-time kettle temperature W 热 , determine the relationship between the two;
[0036] If W 热 <W x min , then the RGB value of the first color value is equal to the RGB value of the initial temperature-indicating color;
[0037] If W x min ≤W 热 ≤W x max , then the RGB value of the first color value is equal to the RGB value of the middle temperature-indicating color;
[0038] If W 热 >W x max , then the RGB value of the first color value is made equal to the RGB value of the end temperature indicating color.
[0039] Preferably, the color transformation function includes a first color transformation function and a second color transformation function, and the calculation method of the second color value includes:
[0040] Set a timer, initialize the timer value to 0, start timing at the start time of the most recent brewing cycle, end timing at the end time of the brewing cycle, and reset the timer value to 0;
[0041] The second color value is represented by RGB value, specifically (R b ,G b ,B b ), where R a Represents the red value of the second color value, G a Indicates the green value of the second color value, B a a blue value representing a second color value;
[0042] Preset the initial time display color, the middle time display color and the end time display color;
[0043] The RGB value of the initial time-indicating color is expressed as (R1, G1, B1), the RGB value of the intermediate time-indicating color is expressed as (R2, G2, B2), and the RGB value of the ending time-indicating color is expressed as (R3, G3, B3), wherein R1 represents the red value of the initial time-indicating color, G1 represents the green value of the initial time-indicating color, and B1 represents the blue value of the initial time-indicating color; R2 represents the red value of the intermediate time-indicating color, G2 represents the green value of the intermediate time-indicating color, and B2 represents the blue value of the intermediate time-indicating color; R3 represents the red value of the ending time-indicating color, G3 represents the green value of the ending time-indicating color, and B3 represents the blue value of the ending time-indicating color;
[0044] Obtain a first color transformation function f1(x) and a second color transformation function f2(x) from a color transformation function library;
[0045] Get the modified time interval [T x min ,T x max ], get the timer time T 计 ;
[0046] Determine the coefficient of the function of the first color transformation according to the correction time interval to obtain the function f1'(x), determine the coefficient of the function of the second color transformation to obtain the function f2'(x);
[0047] Determine the correction time interval [T x min ,T x max ] and the timer time T 计 relationship;
[0048] If T 计 <T x min , the RGB value of the second color value is calculated by the following formula:
[0049]
[0050] If T x min ≤T 计 ≤T x max , then the RGB value of the second color value is calculated by the following formula
[0051]
[0052] If T 计 >T x max , then the RGB value of the second color value is equal to the RGB value of the end color.
[0053] Preferably, the first color transformation function includes the following functional formula:
[0054]
[0055] Where J is the coefficient of the function;
[0056] The coefficients of the function for determining the first color transformation according to the correction time interval are implemented in the following manner: Let J = T x min ;
[0057] The second color transformation function includes the following functional formula:
[0058]
[0059] In the formula, K and L are coefficients of the function;
[0060] The coefficients of the function for determining the second color transformation are achieved by: setting K = T x min , L = T x max .
[0061] Preferably, dividing the LED into three areas comprises:
[0062] Read the arrangement of each independent LED cell of the LED lamp, determine the number of independent LED cells in the horizontal direction as X, and determine the number of independent LED cells in the vertical direction as Y;
[0063] According to the horizontal quantity X and the vertical quantity Y, the LED lights are mapped into an X×Y mapping matrix, where each element in the matrix corresponds to an independent LED cell;
[0064] receiving user input through a user interface, and dividing a first area and a second area on the mapping matrix according to the user instruction;
[0065] The LED independent units corresponding to the first area in the mapping matrix are divided into the first display area, the LED independent units corresponding to the second area in the mapping matrix are divided into the second display area, and the LED independent units in the mapping matrix that are not selected as the first area and the second area are divided into other display areas.
[0066] Preferably, the controlling the first display area of the LED according to the first color value includes obtaining the real-time RGB value of the first color value according to the frequency pl1, converting the RGB value into a corresponding LED control signal, and controlling the LED independent unit corresponding to the first display area to emit light through the control signal;
[0067] The controlling of the second display area of the LED according to the second color value includes obtaining the real-time RGB value of the second color value according to the frequency pl2, converting the RGB value into a corresponding LED control signal, and controlling the LED independent unit corresponding to the second display area to emit light through the control signal;
[0068] The controlling of LEDs in other display areas according to the preset color value includes obtaining RGB values of the preset color, converting the RGB values into corresponding LED control signals, and controlling the corresponding LED independent units in other display areas to emit light through the control signals.
[0069] Preferably, converting the RGB value into a corresponding LED control signal comprises:
[0070] Get the corresponding RGB value and record it as (R c ,G c ,B c );
[0071] Use the following formula to calculate the duty cycle:
[0072]
[0073] Where ZK1 represents the duty cycle of the red channel, ZK2 represents the duty cycle of the green channel, and ZK3 represents the duty cycle of the blue channel;
[0074] A PWM signal is generated as an LED control signal according to the duty ratio of the three channels: red, green and blue.
[0075] Preferably, the data management module also includes a configuration unit, which is used to customize the data in the database unit, including adding, deleting, modifying and querying the brewing parameters, and also includes enabling or disabling any color transformation function. Among the first color transformation function and the second color transformation function, at least one function is in an enabled state.
[0076] The present invention provides a tea table LED lighting intelligent management system, which has the following beneficial effects:
[0077] 1. Through the synergy of the system's control module and the LED partition module, each LED partition can independently display different colors. Users can easily judge whether the water temperature is suitable and the progress of tea brewing based on the color displayed in the partition, making the tea brewing process more intuitive and convenient. This design not only provides users with accurate timing for brewing and drinking tea, but also effectively reduces the loss of tea taste caused by improper operation.
[0078] 2. Through the tea parameter acquisition module, the system can obtain and correct the tea brewing parameters. In order to adapt to different ambient temperatures, the analysis module can correct the brewing parameters according to the ambient temperature, providing a more accurate data basis for subsequent color calculations, so that users can make more accurate judgments based on LED lights to ensure the quality of each tea brewing. Through the custom setting function of the data management module, users can adjust the brewing parameters and LED display according to their personal preferences, thereby providing a personalized tea drinking experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0079] Figure 1 It is a module schematic diagram of a tea table LED lighting intelligent management system of the present invention;
[0080] Figure 2 A schematic diagram of a brewing cycle acquisition process of a tea table LED lighting intelligent management system of the present invention;
[0081] Figure 3 It is a schematic diagram of the LED zoning process of a tea table LED lighting intelligent management system of the present invention. DETAILED DESCRIPTION
[0082] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0083] Example 1
[0084] See also Figure 1 In this embodiment, a tea table LED lighting intelligent management system includes:
[0085] The data management module includes a database unit, wherein the database unit includes a tea database storing brewing parameters of various teas and a transformation function library storing color transformation functions, wherein the brewing parameters include a temperature interval, a time interval, and an ideal ambient temperature;
[0086] In this embodiment, the database unit stores brewing parameters of various teas. For example, the database entry for Longjing may include the following brewing parameters: temperature range is 75°C to 80°C, time range is 2 to 3 minutes, and ideal ambient temperature is 25°C.
[0087] The tea parameter acquisition module is used to obtain the type of tea currently in use, and obtain the corresponding brewing parameters from the tea database according to the type of tea currently in use, and record them as current brewing parameters;
[0088] In this embodiment, the system can obtain the type of tea currently brewed, such as Longjing, through user input or RFID card reading technology, etc. The system obtains the brewing parameters of Longjing tea from the database and sets them as the current brewing parameters.
[0089] The analysis module includes a correction unit and a calculation unit, wherein the correction unit is used to correct the temperature interval of the current brewing parameter to obtain a corrected temperature interval, and correct the time interval of the current brewing parameter to obtain a corrected time interval, and the calculation unit is used to calculate a first color value according to the corrected temperature interval, and calculate a second color value within a brewing cycle according to the corrected time interval;
[0090] See also Figure 2 , the method for obtaining the brewing cycle includes:
[0091] S01. Obtain the total weight of the teapot in real time through the gravity sensor and record it as G t , and record the corresponding acquisition time t until G t ≥G 壶 +G 预 , where G 壶 is the weight of the empty teapot, G 预 Add the amount to the preset weight;
[0092] S02, taking the corresponding acquisition time t as the starting time point;
[0093] S03, real-time acquisition of the total weight of the teapot after time t is recorded as G t' , and record the corresponding acquisition time t' until G t <G 壶 +G 预 ;
[0094] S04, taking the corresponding acquisition time t' as the end time point;
[0095] S05. The starting time point to the ending time point is a brewing cycle.
[0096] In this embodiment, a gravity sensor is used to measure the total weight of the teapot. When tea leaves and water are added to the teapot, the gravity sensor records the weight change and the corresponding time point. When the weight increase reaches or exceeds a certain value, such as 150g, that is, the teapot is filled with at least 150g of water, a start time point is set; when the water in the teapot is poured out for drinking, the weight of the water in the teapot is reduced to below a certain value, such as 150g, that is, the remaining water in the teapot is less than 150g, an end time point is set, and a brewing cycle is completed.
[0097] The method for obtaining the corrected temperature interval includes:
[0098] Get the temperature range of the current brewing parameters [W min ,Wmax ] and ideal ambient temperature W 理 , obtain the ambient temperature W through the temperature sensor 环 ;
[0099] Calculate the temperature correction value using the following formula:
[0100]
[0101] Among them, W x represents the temperature correction value, α is the preset temperature correction coefficient, where W min is the lower limit of the temperature range, W max is the upper limit of the temperature range;
[0102] Corrected temperature range is [W x min ,W x max ], where W x min =W min +W x , W x max =W max +W x , where W x min is the lower limit of the corrected temperature range, W x max is the upper limit of the correction temperature range;
[0103] The method for obtaining the modified time interval includes:
[0104] Get the time interval of the current brewing parameters [T min ,T max ] and the corrected temperature range [W x min ,W x max ], obtain the temperature of the kettle at the start time as the brewing temperature W 冲 ;
[0105] Use the following formula to calculate the time correction value:
[0106]
[0107] Among them, T x represents the time correction value, β is the preset time correction coefficient;
[0108] The correction time interval is [T x min ,T x max ], where T x min =T min +T x , T x max =T max +T x , where T x min is the lower limit of the correction time interval, T x maxIt is the upper limit of the correction time interval.
[0109] In this embodiment, the corrected temperature interval and the corrected time interval are obtained through real-time monitoring by sensors and a series of calculation formulas. First, the system obtains the basic brewing parameters of the tea. However, since the actual ambient temperature is often difficult to maintain as the ideal ambient temperature, corresponding adjustments need to be made. Through the equipped temperature sensor, we can measure the current indoor temperature in real time. If the current indoor temperature is higher than the ideal ambient temperature, this may cause the tea leaves to cool down more slowly. In order to cope with this situation, the temperature correction coefficient is used for calculation to obtain the corrected temperature interval. The temperature correction coefficient can be obtained through experiments to ensure its accuracy and effectiveness.
[0110] Similarly, it is necessary to adjust the brewing time. The adjustment of the time mainly depends on the corrected temperature range, because the water temperature will directly affect the brewing speed of the tea leaves. Specifically, if the brewing temperature is higher than the average value of the corrected temperature range, it may cause the brewing speed to become faster. In order to deal with this situation, the time correction coefficient is calculated to obtain the corrected time range. The time correction coefficient can be obtained through experiments to ensure its accuracy and effectiveness.
[0111] By correcting the temperature range and time range, we obtained data that was more in line with the actual on-site environment, thus providing more accurate data support for subsequent calculations.
[0112] The calculation method of the first color value includes:
[0113] The first color value is represented by using RGB value, specifically (R a ,G a ,B a ), where R a Represents the red value of the first color value, G a Indicates the green value of the first color value, B a represents the blue value of the first color value;
[0114] Preset the initial temperature display color, the middle temperature display color and the end temperature display color;
[0115] Get the corrected temperature range [W x min ,W x max ], get the real-time kettle temperature W 热 , determine the relationship between the two;
[0116] If W 热 <W x min , then the RGB value of the first color value is equal to the RGB value of the initial temperature-indicating color;
[0117] If Wx min ≤W 热 ≤W x max , then the RGB value of the first color value is equal to the RGB value of the middle temperature-indicating color;
[0118] If W 热 >W x max , then the RGB value of the first color value is made equal to the RGB value of the end temperature indicating color.
[0119] In this embodiment, three colors are preset in the system, each representing a different temperature stage; for example, we can set the color lower than the brewing temperature, i.e., the initial temperature color, to blue, with an RGB value of (0,0,255), set the middle temperature suitable for brewing tea, i.e., the middle temperature color, to green, with an RGB value of (0,255,0), and set the color higher than the brewing temperature, i.e., the end temperature color, to red, with an RGB value of (255,0,0);
[0120] According to the current water temperature value obtained by the sensor, the relationship between the current water temperature and the corrected temperature range is checked. If the water temperature is lower than the corrected temperature range, the first color value is set to (0,0,255); if the water temperature is in the corrected temperature range, the first color value is set to (0,255,0); if the water temperature is higher than the corrected temperature range, the first color value is set to (255,0,0). The temperature of the water in the current kettle is intuitively displayed through color, so that the user can intuitively understand the current water temperature status, helping the user to better grasp the brewing time.
[0121] It should be noted that RGB values represent the numerical intensities of the three color channels of red, green and blue, and are used to describe and define various colors. RGB values can accurately represent and present various colors. Each color channel (red, green and blue) is usually represented by an integer between 0 and 255, where 0 indicates that the channel has no color component, and 255 indicates that the color component of the channel reaches the maximum value. Through different combinations of RGB values, rich and diverse color effects can be created.
[0122] The color conversion function includes a first color conversion function and a second color conversion function, and the calculation method of the second color value includes:
[0123] Set a timer, initialize the timer value to 0, start timing at the start time of the most recent brewing cycle, end timing at the end time of the brewing cycle, and reset the timer value to 0;
[0124] The second color value is represented by RGB value, specifically (R b ,G b ,B b ), where R a Represents the red value of the second color value, Ga Indicates the green value of the second color value, B a a blue value representing a second color value;
[0125] Preset the initial time display color, the middle time display color and the end time display color;
[0126] The RGB value of the initial time-indicating color is expressed as (R1, G1, B1), the RGB value of the intermediate time-indicating color is expressed as (R2, G2, B2), and the RGB value of the ending time-indicating color is expressed as (R3, G3, B3), wherein R1 represents the red value of the initial time-indicating color, G1 represents the green value of the initial time-indicating color, and B1 represents the blue value of the initial time-indicating color; R2 represents the red value of the intermediate time-indicating color, G2 represents the green value of the intermediate time-indicating color, and B2 represents the blue value of the intermediate time-indicating color; R3 represents the red value of the ending time-indicating color, G3 represents the green value of the ending time-indicating color, and B3 represents the blue value of the ending time-indicating color;
[0127] Obtain a first color transformation function f1(x) and a second color transformation function f2(x) from a color transformation function library;
[0128] Get the modified time interval [T x min ,T x max ], get the timer time T 计 ;
[0129] Determine the coefficient of the function of the first color transformation according to the correction time interval to obtain the function f1'(x), determine the coefficient of the function of the second color transformation to obtain the function f2'(x);
[0130] The first color transformation function includes the following functional formula:
[0131]
[0132] Where J is the coefficient of the function;
[0133] The coefficients of the function for determining the first color transformation according to the correction time interval are implemented in the following manner: Let J = T x min ;
[0134] The second color transformation function includes the following functional formula:
[0135]
[0136] In the formula, K and L are coefficients of the function;
[0137] The coefficients of the function for determining the second color transformation are achieved by: setting K = T x min , L = T x max .
[0138] Determine the correction time interval [T x min ,T x max ] and the timer time T 计 relationship;
[0139] If T 计 <T x min , the RGB value of the second color value is calculated by the following formula:
[0140]
[0141] If T x min ≤T 计 ≤T x max , then the RGB value of the second color value is calculated by the following formula
[0142]
[0143] If T 计 >T x max , then the RGB value of the second color value is equal to the RGB value of the end color.
[0144] In this embodiment, a timer is set to count at the beginning of a tea brewing cycle and reset at the end. The user can set the initial time indication color, the middle time indication color and the end time indication color. The color conversion function library in the system is used to determine two conversion functions: a first color conversion function and a second color conversion function. The timer time is recorded, and the corresponding color conversion function is selected according to the correction time interval and the current timer time, and the RGB value of the second color value is calculated. Specifically, if the timer time is before the middle value of the correction time interval, the first color conversion function is used to calculate the RGB value.
[0145] If the timer time exceeds the middle value of the correction time interval but does not exceed the upper limit of the correction time interval, the second color conversion function is used to calculate the RGB value. When the timer time exceeds the correction time interval, the RGB value of the end indication color is used as the RGB value of the second color value. The current tea brewing progress is intuitively displayed through color to help users better grasp the timing of drinking tea. Through the color conversion function, the color transition is dynamically adjusted to ensure that the gradual change of the LED color is smooth and continuous, thereby improving the viewing effect.
[0146] An updating module, configured to drive the calculation unit to recalculate the first color value according to a preset frequency pl1, and to drive the calculation unit to recalculate the second color value according to a preset frequency pl2;
[0147] In this example, the frequency pl1 and the frequency pl2 can be the default values, that is, pl1=1 Hz, pl2=50 Hz, or can be set by the user. The higher the set value, the more accurate the color display of the LED light.
[0148] An LED partition module, used to divide the LED into three areas, including a first display area, a second display area and other display areas;
[0149] See also Figure 3 , the LED is divided into three areas including:
[0150] S11, reading the arrangement of each independent LED cell of the LED lamp, determining the number of independent LED cells in the horizontal direction as X, and determining the number of independent LED cells in the vertical direction as Y;
[0151] S12, mapping the LED lights into an X×Y mapping matrix according to the horizontal number X and the vertical number Y, where each element in the matrix corresponds to an independent LED cell;
[0152] S13, receiving user input through the user interface, and dividing the mapping matrix into a first area and a second area according to the user instruction;
[0153] S14. Divide the LED independent units corresponding to the first area in the mapping matrix into a first display area, divide the LED independent units corresponding to the second area in the mapping matrix into a second display area, and divide the LED independent units in the mapping matrix that are not selected as the first area and the second area into other display areas.
[0154] In this example, the arrangement of the LED light screen installed on the tea table is first analyzed to identify the number of independent LED cells in the horizontal and vertical directions, and a corresponding mapping matrix is generated accordingly. For example, for an LED light screen consisting of 8 rows of horizontal cells and 12 columns of vertical cells, the system will generate an 8x12 matrix.
[0155] The user enters partitioning instructions through an interface such as a touch screen or mobile application, and specifies different rows and columns in the mapping matrix to create the first and second display areas. For example, the user can specify the top 3 rows of the matrix as the first display area and the next 2 rows as the second display area. The system completes the area division according to the instructions entered by the user, and automatically classifies the LED cells that are not designated as the first or second display area into other display areas, such as the remaining 3 rows of the mapping matrix in this example.
[0156] In this way, the LED light screen is divided into three independently controlled display areas. Each area can independently display various information or colors according to different needs. Users can obtain different information according to the display colors of different areas, such as obtaining whether the water in the kettle is at a suitable temperature for brewing according to the color of the first display area, which increases the flexibility and effect of the display.
[0157] The control module is used to obtain the first color value and the second color value in real time, and control the first display area of the LED according to the first color value, control the second display area of the LED according to the second color value, and control the LEDs in other display areas according to the preset color value.
[0158] The controlling of the first display area of the LED according to the first color value includes obtaining the real-time RGB value of the first color value according to the frequency pl1, converting the RGB value into a corresponding LED control signal, and controlling the LED independent unit corresponding to the first display area to emit light through the control signal;
[0159] The controlling of the second display area of the LED according to the second color value includes obtaining the real-time RGB value of the second color value according to the frequency pl2, converting the RGB value into a corresponding LED control signal, and controlling the LED independent unit corresponding to the second display area to emit light through the control signal;
[0160] The controlling of LEDs in other display areas according to the preset color value includes obtaining RGB values of the preset color, converting the RGB values into corresponding LED control signals, and controlling the corresponding LED independent units in other display areas to emit light through the control signals.
[0161] The converting of the RGB value into the corresponding LED control signal comprises:
[0162] Get the corresponding RGB value and record it as (R c ,G c ,B c );
[0163] Use the following formula to calculate the duty cycle:
[0164]
[0165] Where ZK1 represents the duty cycle of the red channel, ZK2 represents the duty cycle of the green channel, and ZK3 represents the duty cycle of the blue channel;
[0166] A PWM signal is generated as an LED control signal according to the duty ratio of the three channels: red, green and blue.
[0167] In this embodiment, the control module obtains the real-time RGB color value of the corresponding area, and determines the duty cycle of each color channel (red, green, and blue) through a calculation formula. These duty ratios are then used to generate a PWM signal that accurately controls the brightness and hue of the LED. For example, the duty cycle of the red channel is the result of dividing the R value (red component value) by the maximum value of 255, and the green and blue channels are calculated in the same way.
[0168] It should be noted that PWM (Pulse Width Modulation) signal is a digital signal used to simulate the effect of analog signals. It controls the analog quantity by changing the width or duty cycle of the pulse, that is, the ratio of the high level duration to the entire cycle time.
[0169] Example 2
[0170] See also Figure 1 On the basis of Example 1, the data management module also includes a configuration unit, which is used to customize the data in the database unit, including adding, deleting, modifying, and querying the brewing parameters, and also includes enabling or disabling any color conversion function. The disabled function cannot be obtained. At least one of the first color conversion function and the second color conversion function is in an enabled state.
[0171] In this example, the user can flexibly operate the data stored in the data management module through a variety of interactive methods, such as touch, keyboard and mouse, etc. In particular, when only one first color transformation function formula and one second color transformation function formula are enabled, it means that the color transformation method of the second display area has been clearly specified, so that the user can flexibly adjust the color performance of the display area according to actual needs.
[0172] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0173] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only one, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0174] The above description is only a specific implementation of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims. Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A tea table LED lighting intelligent management system, characterized in that: include: The data management module includes a database unit, wherein the database unit includes a tea database storing brewing parameters of various teas and a transformation function library storing color transformation functions, wherein the brewing parameters include a temperature interval, a time interval, and an ideal ambient temperature; The tea parameter acquisition module is used to obtain the type of tea currently in use, and obtain the corresponding brewing parameters from the tea database according to the type of tea currently in use, and record them as current brewing parameters; The analysis module includes a correction unit and a calculation unit, wherein the correction unit is used to correct the temperature interval of the current brewing parameter to obtain a corrected temperature interval, and correct the time interval of the current brewing parameter to obtain a corrected time interval, and the calculation unit is used to calculate a first color value according to the corrected temperature interval, and calculate a second color value within a brewing cycle according to the corrected time interval; The method for obtaining the corrected temperature interval includes: Get the temperature range of the current brewing parameters [W min ,W max ] and ideal ambient temperature W 理 , obtain the ambient temperature W through the temperature sensor 环 ; Calculate the temperature correction value using the following formula: Among them, W x represents the temperature correction value, α is the preset temperature correction coefficient, where W min is the lower limit of the temperature range, W max is the upper limit of the temperature range; Corrected temperature range is [W xmin ,W xmax ], where W xmin =W min +W x , W xmax =W max +W x , where W xmin is the lower limit of the corrected temperature range, W xmax is the upper limit of the correction temperature range; The method for obtaining the modified time interval includes: Get the time interval of the current brewing parameters [T min ,T max ] and the corrected temperature range [W xmin ,W xmax ], obtain the temperature of the kettle at the start time as the brewing temperature W 冲 ; Use the following formula to calculate the time correction value: Among them, T x represents the time correction value, β is the preset time correction coefficient, where T min is the lower limit of the time interval, T max is the upper limit of the time interval; The correction time interval is [T xmin ,T xmax ], where T xmin =T min +T x , T xmax =T max +T x , where T xmin is the lower limit of the correction time interval, T xmax is the upper limit of the correction time interval; Get the corrected temperature range [W xmin ,W xmax ], get the real-time kettle temperature W 热 , determine the relationship between the two; If W 热 <W xmin , then the RGB value of the first color value is equal to the RGB value of the initial temperature-indicating color; If W xmin ≤W 热 ≤W xmax , then the RGB value of the first color value is equal to the RGB value of the middle temperature-indicating color; If W 热 >W xmax , then the RGB value of the first color value is equal to the RGB value of the end temperature indicating color; A timer is set to count at the beginning of a tea brewing cycle and reset at the end. The user sets the initial time-indicating color, the middle time-indicating color and the end time-indicating color. Two transformation functions are determined using the color transformation function library: the first color transformation function and the second color transformation function. The timer time is recorded. According to the correction time interval and the current timer time, the corresponding color transformation function is selected, and the RGB value of the second color value is calculated. Specifically, if the timer time is before the middle value of the correction time interval, the first color transformation function is used to calculate the RGB value. If the timer time exceeds the middle value of the correction time interval but does not exceed the upper limit of the correction time interval, the second color conversion function is used to calculate the RGB value, and when the timer time exceeds the correction time interval, the RGB value of the end time-indicating color is used as the RGB value of the second color value; An updating module, configured to drive the calculation unit to recalculate the first color value according to a preset frequency pl1, and to drive the calculation unit to recalculate the second color value according to a preset frequency pl2; An LED partition module, used to divide the LED into three areas, including a first display area, a second display area and other display areas; The control module is used to obtain the first color value and the second color value in real time, and control the first display area of the LED according to the first color value, control the second display area of the LED according to the second color value, and control the LEDs in other display areas according to the preset color value.
2. According to claim 1, the LED lighting intelligent management system for tea tables is characterized in that: The method for obtaining the brewing cycle includes: The total weight of the teapot is obtained in real time through the gravity sensor and recorded as G t , and record the corresponding acquisition time t until G t ≥G 壶 +G 预 , where G 壶 is the weight of the empty teapot, G 预 Add the amount to the preset weight; The corresponding acquisition time t is taken as the starting time point; The total weight of the teapot after real-time acquisition at time t is recorded as G t' , and record the corresponding acquisition time t' until G t <G 壶 +G 预 ; The corresponding acquisition time t' is taken as the end time point; The starting time point to the ending time point constitutes a brewing cycle.
3. According to claim 2, the LED lighting intelligent management system for tea tables is characterized in that: The calculation method of the first color value includes: The first color value is represented by using RGB value, specifically (R a ,G a ,B a ), where R a Represents the red value of the first color value, G a Indicates the green value of the first color value, B a represents the blue value of the first color value; Preset the initial temperature display color, middle temperature display color and end temperature display color.
4. The LED lighting intelligent management system for tea tables according to claim 3 is characterized in that: The color conversion function includes a first color conversion function and a second color conversion function, and the calculation method of the second color value includes: Set a timer, initialize the timer value to 0, start timing at the start time of the most recent brewing cycle, end timing at the end time of the brewing cycle, and reset the timer value to 0; The second color value is represented by RGB value, specifically (R b ,G b ,B b ), where R a Represents the red value of the second color value, G a Indicates the green value of the second color value, B a a blue value representing a second color value; Preset the initial time display color, the middle time display color and the end time display color; The RGB value of the initial time-indicating color is expressed as (R1, G1, B1), the RGB value of the intermediate time-indicating color is expressed as (R2, G2, B2), and the RGB value of the ending time-indicating color is expressed as (R3, G3, B3), wherein R1 represents the red value of the initial time-indicating color, G1 represents the green value of the initial time-indicating color, and B1 represents the blue value of the initial time-indicating color; R2 represents the red value of the intermediate time-indicating color, G2 represents the green value of the intermediate time-indicating color, and B2 represents the blue value of the intermediate time-indicating color; R3 represents the red value of the ending time-indicating color, G3 represents the green value of the ending time-indicating color, and B3 represents the blue value of the ending time-indicating color; Obtain a first color transformation function f1(x) and a second color transformation function f2(x) from a color transformation function library; Get the modified time interval [T xmin ,T xmax ], get the timer time T 计 ; Determine the coefficient of the function of the first color transformation according to the correction time interval to obtain the function f1'(x), determine the coefficient of the function of the second color transformation to obtain the function f2'(x); Determine the correction time interval [T xmin ,T xmax ] and the timer time T 计 relationship; If T 计 <T xmin , the RGB value of the second color value is calculated by the following formula: If T xmin ≤T 计 ≤T xmax , then the RGB value of the second color value is calculated by the following formula If T 计 >T xmax , then the RGB value of the second color value is equal to the RGB value of the end color.
5. The LED lighting intelligent management system for tea tables according to claim 4 is characterized in that: The first color transformation function includes the following functional formula: Where J is the coefficient of the function; The coefficients of the function for determining the first color transformation according to the correction time interval are achieved by: setting J = T xmin ; The second color transformation function includes the following functional formula: In the formula, K and L are coefficients of the function; The coefficients of the function for determining the second color transformation are achieved by: setting K = T xmin , L = T xmax .
6. The LED lighting intelligent management system for tea tables according to claim 5 is characterized in that: The LED is divided into three areas including: Read the arrangement of each independent LED cell of the LED lamp, determine the number of independent LED cells in the horizontal direction as X, and determine the number of independent LED cells in the vertical direction as Y; According to the horizontal quantity X and the vertical quantity Y, the LED lights are mapped into an X×Y mapping matrix, where each element in the matrix corresponds to an independent LED cell; receiving user input through a user interface, and dividing a first area and a second area on the mapping matrix according to the user instruction; The LED independent units corresponding to the first area in the mapping matrix are divided into the first display area, the LED independent units corresponding to the second area in the mapping matrix are divided into the second display area, and the LED independent units in the mapping matrix that are not selected as the first area and the second area are divided into other display areas.
7. The LED lighting intelligent management system for tea tables according to claim 6 is characterized in that: The controlling of the first display area of the LED according to the first color value includes obtaining the real-time RGB value of the first color value according to the frequency pl1, converting the RGB value into a corresponding LED control signal, and controlling the LED independent unit corresponding to the first display area to emit light through the control signal; The controlling of the second display area of the LED according to the second color value includes obtaining the real-time RGB value of the second color value according to the frequency pl2, converting the RGB value into a corresponding LED control signal, and controlling the LED independent unit corresponding to the second display area to emit light through the control signal; The controlling of LEDs in other display areas according to the preset color value includes obtaining RGB values of the preset color, converting the RGB values into corresponding LED control signals, and controlling the corresponding LED independent units in other display areas to emit light through the control signals.
8. The LED lighting intelligent management system for tea tables according to claim 7 is characterized in that: The converting of the RGB value into the corresponding LED control signal comprises: Get the corresponding RGB value and record it as (R c ,G c ,B c ); Use the following formula to calculate the duty cycle: Where ZK1 represents the duty cycle of the red channel, ZK2 represents the duty cycle of the green channel, and ZK3 represents the duty cycle of the blue channel; A PWM signal is generated as an LED control signal according to the duty ratio of the three channels: red, green and blue.
9. The LED lighting intelligent management system for tea tables according to claim 8 is characterized in that: The data management module also includes a configuration unit, which is used to customize the data in the database unit, including adding, deleting, modifying and querying brewing parameters, and also includes enabling or disabling any color transformation function. Among the first color transformation function and the second color transformation function, at least one function is in an enabled state.
Citation Information
Patent Citations
Light color prompting method and device for temperature of kettle of tea bar machine
CN113588104A
Tea making machine with temperature measuring function
CN116763141A