Fragrance allowance calculation method and device
By establishing a lifespan table for fragrances at different settings and temperatures and combining it with current conditions, the problem of users having difficulty judging the progress of fragrance consumption has been solved, enabling accurate monitoring of remaining fragrance and improving the user experience.
Patent Information
- Application Number
- CN202511327855.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-17
- Publication Date
- 2025-11-21
AI Technical Summary
Existing solid fragrance products lack a visual structure, making it difficult for users to intuitively judge the progress of fragrance consumption, resulting in untimely use and affecting the experience.
By establishing a lifespan table for fragrances at different settings and ambient temperatures, and combining the current setting and ambient temperature, the remaining fragrance capacity is calculated using linear interpolation or nearest neighbor matching principles, providing a device for real-time monitoring.
It improves the accuracy of fragrance balance monitoring, reduces errors in traditional multi-parameter calculations, and enhances the user experience.
Smart Images

Figure CN120991397A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of fragrance technology, and in particular to a method and device for calculating fragrance residue. Background Technology
[0002] Among related technologies, while current mainstream solid aromatherapy products have advantages in terms of high safety and ease of use, they have significant shortcomings due to their product form characteristics: aromatherapy components usually adopt a concealed installation design and lack a visible structure, making it difficult for users to intuitively judge the actual consumption progress of the fragrance and accurately grasp the remaining amount used. As a result, replacement is often not timely, which seriously affects the user experience. Summary of the Invention
[0003] The method and apparatus for calculating fragrance residue provided in this application at least partially solve the above-mentioned problems. A first aspect of this application provides a method for calculating fragrance residue, the method comprising:
[0004] Obtain the current setting and ambient temperature of the fragrance, as well as a table showing the lifespan of the fragrance at different settings and ambient temperatures;
[0005] Based on the current setting of the fragrance, the current ambient temperature, and the lifespan table, determine the lifespan of the fragrance at the current setting and ambient temperature.
[0006] Obtain the initial remaining amount of the fragrance and the duration of this use. Based on the initial remaining amount, the duration of this use, and the lifespan, determine the current remaining amount of the fragrance.
[0007] Optionally, before obtaining the current setting and ambient temperature of the fragrance, and the lifespan table of the fragrance at different settings and ambient temperatures, the method further includes:
[0008] The lifespan information of the fragrance at different settings and under different ambient temperatures is obtained to establish a lifespan table for the fragrance.
[0009] Optionally, the different ambient temperatures include a first temperature range and a second temperature range, wherein the temperature value of the first temperature range is less than the temperature value of the second temperature range; and in the service life table, the temperature interval of the second temperature range is less than the temperature interval of the first temperature range.
[0010] Optionally, the temperature interval of the high-temperature section is at least 0.5 degrees; and / or, the temperature interval of the low-temperature section is at least 2 degrees.
[0011] Optionally, the different gear positions include a closed gear position and an open gear position, wherein the ambient temperature range of the closed gear position is greater than the ambient temperature range of the open gear position.
[0012] Optionally, the ambient temperature range for the off position is 10 to 50 degrees Celsius; and / or, the ambient temperature range for the on position is 15 to 35 degrees Celsius.
[0013] Optionally, the fragrance can be controlled to different levels by controlling at least one of the following: fan speed, heating wire temperature, and ultrasonic frequency.
[0014] Optionally, determining the lifespan of the fragrance at the current setting and ambient temperature based on the current setting of the fragrance, the current ambient temperature, and the lifespan table includes:
[0015] When the current ambient temperature of the fragrance is within the range of the ambient temperature difference in the lifespan table, the lifespan of the fragrance at the current setting and the current ambient temperature is determined by linear interpolation.
[0016] Optionally, determining the lifespan of the fragrance at the current setting and ambient temperature based on the current setting of the fragrance, the current ambient temperature, and the lifespan table includes:
[0017] When the current ambient temperature of the fragrance is within the range of the ambient temperature difference in the lifespan table, the lifespan of the fragrance at the current setting and the current ambient temperature is determined by the nearest neighbor matching principle.
[0018] Optionally, when the fragrance is switched from the current setting to the target setting, the remaining amount of fragrance at the target setting is recalculated.
[0019] An apparatus that operates the fragrance balance calculation method as described in any of the preceding claims.
[0020] This application establishes a lifespan table for fragrances at different settings and ambient temperatures. Then, by looking up the lifespan table using the current fragrance setting and ambient temperature, the current remaining amount of fragrance can be determined. This effectively solves the error problem and computational complexity caused by traditional multi-parameter calculations, and improves the accuracy of fragrance remaining amount monitoring.
[0021] Other features and advantages of this application will be described in detail in the following detailed description section. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] To gain a more complete understanding of this application and its beneficial effects, the following description will be provided in conjunction with the accompanying drawings, wherein the same reference numerals in the following description denote the same parts.
[0024] Figure 1 This is a flowchart of a method for calculating fragrance residue provided in an exemplary embodiment of this disclosure;
[0025] Figure 2 This is a schematic diagram of the structure of a fragrance provided in an exemplary embodiment of this disclosure. Detailed Implementation
[0026] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the protection scope of this application.
[0027] This application provides a method for calculating the remaining amount of fragrance, such as... Figure 1 As shown, the method includes:
[0028] Step S100: Obtain the current setting of the fragrance and the current ambient temperature, as well as the lifespan of the fragrance at different settings and ambient temperatures.
[0029] The lifespan table of the fragrance at different levels and under different ambient temperatures can be obtained based on prior measurements of the same product. The relevant dimensions of the lifespan table are not limited to level and ambient temperature, and may include other dimensions of information, which are not specifically limited here.
[0030] Step S200: Determine the lifespan of the fragrance at the current setting and ambient temperature based on the current setting, ambient temperature, and lifespan table.
[0031] Step S300: Obtain the initial remaining amount of the fragrance and the current usage duration. Based on the initial remaining amount, the current usage duration, and the lifespan, determine the current remaining amount of the fragrance.
[0032] In the above embodiments, this application establishes a lifespan table for fragrances at different settings and ambient temperatures, and then uses the current fragrance setting and current ambient temperature to look up the lifespan table to determine the current remaining amount of fragrance. This effectively solves the error problem and computational complexity caused by traditional multi-parameter calculations, and improves the accuracy of fragrance remaining amount monitoring.
[0033] In some embodiments, step S100 may include the following prior to:
[0034] Step S001: Test the lifespan of the fragrance at different settings and ambient temperatures to establish a fragrance lifespan table;
[0035] The specific measurement method can be as follows: when the fragrance is turned on, switch between different on / off levels X, with the ambient temperature Y ranging from 15-35℃, and measure the usable time T of the fragrance at equal temperature intervals. The resulting series of times is recorded as T. X,Y The purpose of this step is to obtain the total operating time of the fragrance system under different operating conditions. Here, different activation levels X represent the adjustable concentrations of the fragrance system, such as low, medium, and high, which can also be represented by Arabic numerals. The temperature range is based on comfort and safety considerations; when the fragrance is on, the interior temperature is generally between 15-35℃. Within this range, temperatures are selected at equal intervals, such as 5℃, 4℃, and 2℃, to test the total usable time of the fragrance. To improve the accuracy of the margin calculation, smaller intervals of 2℃ are preferred. The obtained times are distinguished by activation level and temperature, and pre-stored as data in the fragrance system for later retrieval. The preferred storage accuracy is in whole minutes. Then, the fragrance is switched to the off level 0, and the temperature Y is selected within the range of 10-50℃. The usable time T of the fragrance is tested at equal temperature intervals, and the resulting series of times is recorded as T. 0,Y The process involves storing the data. The purpose of this step is to obtain the total usable time when the fragrance is off. Here, 0 represents the off position. The fragrance being off includes the parking state, therefore the interior temperature varies considerably; in this test, 10-50℃ is used. Within this range, temperatures are selected at equal intervals, such as 8℃, 5℃, and 4℃, to test the fragrance's usable time. For improved accuracy, 4℃ intervals are preferred. The obtained times are then categorized by temperature and pre-stored as data in the fragrance system for later retrieval. The preferred storage precision is in whole minutes. In the specific implementation, ambient temperature data can be collected in real time using an onboard temperature sensor, while the setting information is provided by the fragrance system control module.
[0036] In some embodiments, the above-mentioned service life table is stored in the form of a three-dimensional matrix, with the horizontal axis representing the gear level (0-5), the vertical axis representing the temperature range (-10℃ to 50℃), and the depth axis representing the corresponding theoretical service life (unit: minutes).
[0037] In some embodiments, different ambient temperatures include low-temperature and high-temperature ranges. In the lifespan table, the temperature intervals in the high-temperature range are shorter than those in the low-temperature range. Specifically, the low-temperature range (-10℃ to 15℃) is divided into 5℃ intervals, and the high-temperature range (15℃ to 50℃) is divided into 2℃, 1℃, or 0.5℃ intervals. This design is based on the fragrance volatilization kinetics. Experimental verification shows that dividing the high-temperature range into 2℃ intervals can control the calculation error within ±3%.
[0038] In some embodiments, the temperature interval of the high-temperature segment is at least 1 degree; and / or, the temperature interval of the low-temperature segment is at least 2 degrees. Specifically, the high-temperature segment is divided into intervals of 1°C or 0.5°C (15°C-50°C), and the low-temperature segment is divided into intervals of 2°C (-10°C-15°C). This division scheme ensures accuracy while keeping data storage within a reasonable range.
[0039] In some embodiments, different temperature settings include an off setting and an on setting, with the off setting having a wider ambient temperature range than the on setting. The temperature settings are defined in a hierarchical structure: the off setting (setting 0) has a temperature range of -20°C to 60°C, while the on setting (settings 1-5) has a temperature range of -10°C to 50°C. This design takes into account the possibility that the fragrance may be in an extreme temperature environment when off, while the system automatically adjusts the ambient temperature when on.
[0040] In some embodiments, the ambient temperature range for the off position is 10°C to 50°C; and / or, the ambient temperature range for the on position is 15°C to 35°C. Specifically, the temperature range for the off position is set to 10°C-50°C, and the temperature range for the on position is set to 15°C-35°C. This parameter setting is based on actual measured data from the vehicle environment. When the ambient temperature exceeds the range, the system will prompt the user to check the installation location.
[0041] In some embodiments, the fragrance is controlled to different levels by controlling at least one of the following: fan speed, heating wire temperature, and ultrasonic frequency. The level control employs multi-parameter coordinated adjustment: at the low level (level 1), the fan speed is 500 RPM, the heating wire temperature is 50°C, and the ultrasonic frequency is 1.7 MHz; at the high level (level 5), the fan speed is 2000 RPM, the heating wire temperature is 120°C, and the ultrasonic frequency is 2.3 MHz. By adjusting these parameter combinations, precise control of the fragrance release rate can be achieved. The control of various factors such as fan speed, heating wire temperature, and ultrasonic frequency can be determined based on the fragrance principle; that is, this application is applicable to fan-controlled solid-liquid fragrances, heat-controlled solid-liquid fragrances, ultrasonic-controlled solid-liquid fragrances, or possibly composite fragrances based on multiple principles, and is not specifically limited here.
[0042] In some embodiments, when the current ambient temperature of the fragrance falls within the ambient temperature difference range of the lifespan table, the ambient temperature difference range is the interval between two temperatures in the lifespan table. For example, if the lifespan table has a level 1 with ambient temperatures of 25°C and 26°C, and the current ambient temperature is 25.5°C, then the current ambient temperature of the fragrance falls within the ambient temperature difference range of the lifespan table. In this case, linear interpolation can be used to determine the lifespan of the fragrance at the current level and current ambient temperature. The implementation steps of the linear interpolation method include: first, determining that the current temperature T falls within the temperature interval [T1, T2], where T1 and T2 are adjacent temperature test points. For example, when the current temperature is 22°C, and the nearest test points in the table are 20°C and 25°C, the corresponding lifespan value is obtained through linear interpolation.
[0043] In some embodiments, when the current ambient temperature of the fragrance falls within the range of ambient temperature differences in the lifespan table, the nearest neighbor matching principle is used to determine the fragrance's lifespan at the current setting and ambient temperature. The implementation of the nearest neighbor matching principle includes calculating the distance between the current temperature T and all temperature test points, and selecting the nearest test point as a reference. For example, if the current temperature is 22°C, and the nearest test points are 20°C and 25°C, the closer 20°C is selected as the reference. Furthermore, in some embodiments, if the current temperature is exactly at the midpoint between the two nearest test points, the higher temperature is preferentially used as the reference. This method significantly reduces computational complexity by sacrificing some accuracy (experiments show an error of no more than 5%).
[0044] In some embodiments, when the fragrance is switched from the current level to the target level, the remaining amount of fragrance at the target level is recalculated. The level switching process includes: 1) detecting the level change signal; 2) recording the current remaining amount and remaining time; 3) querying the corresponding lifespan table according to the new level; and 4) recalculating the remaining amount. For example, when the user switches from level 3 to level 5, the system will recalculate the remaining amount according to the lifespan table for level 5.
[0045] This application also provides a device, such as... Figure 2As shown, the device operates using the fragrance remaining quantity calculation method described above. The device includes: a temperature sensor module (accuracy ±0.5℃), a control module (ARM Cortex-M4 processor), a storage unit (Flash memory lifespan table), and a user interaction module (LCD display and physical buttons). All modules are connected via a CAN bus. The control module executes the above calculation method and displays the fragrance remaining quantity in real time. The device can operate normally within a temperature range of -40℃ to 85℃, meeting the requirements of in-vehicle environments. Furthermore, this device can be a fragrance diffuser or a fragrance carrier device (e.g., a car, fragrance diffuser socket, etc.). The device may also include a control system, which may further include a timing module, a calculation unit, and an interactive panel.
[0046] In some embodiments, the device's control module obtains the current gear and ambient temperature in step S100, determines the service life in step S200, and calculates the current margin in step S300. When the user switches gears, the control module calculates the margin to ensure the continuity and accuracy of the calculation results.
[0047] In some embodiments, the device's storage module stores a lifespan table in step S001. This table is stored in the form of a three-dimensional matrix, with the horizontal axis representing the gear level (0-5), the vertical axis representing the temperature range (-10℃ to 50℃), and the depth axis representing the corresponding theoretical lifespan (unit: minutes). This storage method effectively reduces the amount of data stored while ensuring calculation accuracy.
[0048] In some embodiments, the device's user interaction module can also display the current remaining balance and allow users to set personalized calibration parameters, such as a remaining balance warning value, via physical buttons or a touchscreen. Users can also customize the remaining balance warning value to accommodate the different scent preferences of various users.
[0049] In some embodiments, the device's temperature sensor module collects ambient temperature data in real time. When the ambient temperature is detected to be outside the applicable range of the current setting, the control module triggers a temperature compensation algorithm to adjust the lifespan calculation results and ensure the accuracy of the calculation under extreme temperatures.
[0050] In some embodiments, the device's control module dynamically adjusts the calculated lifespan based on the current ambient temperature by performing linear interpolation or nearest neighbor matching. For example, when the current temperature is 22°C, the control module calculates the interpolation within the temperature range [20°C, 25°C], or selects the nearest neighbor test point at 20°C as a reference.
[0051] In some embodiments, the device's storage module dynamically updates the lifespan table and optimizes the temperature range division and interpolation algorithm parameters based on actual usage environment data to ensure that the lifespan table maintains high accuracy during long-term use.
[0052] In some embodiments, the user interaction module of the device provides a personalized calibration interface, allowing users to input a custom margin warning value. The control module stores this value in non-volatile memory and uses it to provide a warning when calculating the current margin.
[0053] In some embodiments, the device's control module processes gear shifting events. When a gear change is detected, it immediately performs a recalculation of the margin to ensure that the calculated margin matches the current gear. This process is implemented through an event-driven mechanism, avoiding calculation delays.
[0054] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more features. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0055] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0056] The embodiments, implementation methods, and related technical features of this application can be combined and substituted for each other without conflict.
[0057] The above are merely preferred embodiments of this application and are not intended to limit this application in any way. Any simple modifications, equivalent changes, and alterations made to the above embodiments based on the technical essence of this application without departing from the scope of the technical solution of this application shall still fall within the scope of the technical solution of this application.
Claims
1. A method for calculating residual fragrance, characterized in that, The method includes: Obtain the current setting and ambient temperature of the fragrance, as well as a table showing the lifespan of the fragrance at different settings and ambient temperatures; Based on the current setting of the fragrance, the current ambient temperature, and the lifespan table, determine the lifespan of the fragrance at the current setting and ambient temperature. Obtain the initial remaining amount of the fragrance and the duration of this use. Based on the initial remaining amount, the duration of this use, and the lifespan, determine the current remaining amount of the fragrance.
2. The calculation method according to claim 1, characterized in that, Before obtaining the current setting and ambient temperature of the fragrance, and the lifespan table of the fragrance at different settings and ambient temperatures, the method further includes: The lifespan information of the fragrance at different settings and under different ambient temperatures is obtained to establish a lifespan table for the fragrance.
3. The calculation method according to claim 1, characterized in that, The different ambient temperatures include a first temperature range and a second temperature range, where the temperature value of the first temperature range is less than the temperature value of the second temperature range; in the service life table, the temperature interval of the second temperature range is less than the temperature interval of the first temperature range.
4. The calculation method according to claim 3, characterized in that, The temperature interval of the high-temperature section is at least 0.5 degrees; and / or, the temperature interval of the low-temperature section is at least 2 degrees.
5. The calculation method according to claim 1, characterized in that, The different gears include a closed gear and an open gear, and the ambient temperature range of the closed gear is greater than that of the open gear.
6. The calculation method according to claim 5, characterized in that, The ambient temperature range for the off position is 10 degrees to 50 degrees; and / or, the ambient temperature range for the on position is 15 degrees to 35 degrees.
7. The calculation method according to claim 1, characterized in that, The fragrance is controlled to different levels by controlling at least one of the following: fan speed, heating wire temperature, and ultrasonic frequency.
8. The calculation method according to claim 1, characterized in that, Determining the lifespan of the fragrance at the current setting and ambient temperature based on the current fragrance setting, current ambient temperature, and the lifespan table includes: When the current ambient temperature of the fragrance is within the range of the ambient temperature difference in the lifespan table, the lifespan of the fragrance at the current setting and the current ambient temperature is determined by linear interpolation.
9. The calculation method according to claim 1, characterized in that, Determining the lifespan of the fragrance at the current setting and ambient temperature based on the current fragrance setting, current ambient temperature, and the lifespan table includes: When the current ambient temperature of the fragrance is within the range of the ambient temperature difference in the lifespan table, the lifespan of the fragrance at the current setting and the current ambient temperature is determined by the nearest neighbor matching principle.
10. The calculation method according to claim 1, characterized in that, When the fragrance is switched from the current level to the target level, the remaining amount of fragrance at the target level is recalculated.
11. A device, characterized in that, The device operates the fragrance balance calculation method as described in any one of claims 1 to 10.
Citation Information
Cited By
Electric iron fragrance release amount regulation and control method and system
CN121541509A
A method and system for regulating the release of fragrance from an electric iron
CN121541509B