Fragrance device and control method thereof
Patent Information
- Application Number
- CN202510439413.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-09
- Publication Date
- 2026-10-16
AI Technical Summary
然而,现有香氛设备在动态环境适配、多设备协同控制及数据驱动的智能决策方面仍存在显著不足,具体表现在以下几方面:1、静态调控模式的局限性,当前市面上的香氛设备大多依赖预设的喷洒模式(如“清新模式”或“浓郁模式”),需要用户手动选择或定时设置,此类设备无法根据实时环境参数(如温湿度等)动态调整喷洒策略,无法自动精确调整香氛设备的喷洒方案,导致香氛浓度与环境需求不匹配,例如,高温环境下香氛液挥发加速,若香氛设备仍保持高功率运行,易造成香氛过度扩散,影响用户体验并增加耗材浪费
[0034]本发明所述的香氛设备及其控制方法,通过实时采集环境参数,结合服务器的处理,动态自动精确调整香氛设备的喷洒策略,确保香氛浓度与扩散效果始终与环境需求匹配,提升用户体验感;此外,在将该香氛设备用于人流量经常变化的空间(如商场、机场、高铁站等公共空间)时,通过采集到的人流数量数据,结合服务的处理,能够实时动态调整所在空间的香氛喷洒方案,确保香氛液资源的高效利用;通过数据采集模块、控制模块、雾化装置与服务器的数据、指令传送,利用服务器生成动态调控指令,进一步实现了香氛设备运行的智能化与自适应化。
Smart Images

Figure CN122933701A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of fragrance device technology, and in particular to a fragrance device and its control method. Background Technology
[0002] With the rapid development of smart home and IoT technologies, fragrance devices are gradually evolving from traditional fixed modes towards intelligent and personalized features. However, existing fragrance devices still have significant shortcomings in dynamic environment adaptation, multi-device collaborative control, and data-driven intelligent decision-making, specifically in the following aspects: 1. Limitations of static control modes: Most fragrance devices on the market currently rely on preset spray modes (such as "fresh mode" or "strong mode"), requiring users to manually select or set them at set times. These devices cannot dynamically adjust the spray strategy according to real-time environmental parameters (such as temperature and humidity), and cannot automatically and accurately adjust the spraying scheme of the fragrance device, resulting in a mismatch between fragrance concentration and environmental needs. For example, in high-temperature environments, fragrance liquid evaporates faster. If the fragrance device continues to operate at high power, it is easy to cause excessive diffusion of fragrance, affecting user experience and increasing waste of consumables. Summary of the Invention
[0003] The present invention aims to solve the technical problems existing in the prior art and provide a dynamic control system for fragrance devices that can automatically adjust the spraying strategy based on the Internet of Things.
[0004] To solve the above-mentioned technical problems, the present invention provides the following technical solutions:
[0005] The fragrance device of the present invention includes a control module, a data acquisition module, and an atomizing device;
[0006] The data acquisition module is used to collect environmental parameters in real time, including temperature and humidity data, and send the collected environmental parameters to the server through the data transmission module.
[0007] The control module receives dynamic control commands sent by the server through the data transmission module, and adjusts one or more of the atomization quantity, spraying frequency, and atomization power of the atomizing device.
[0008] The atomizing device is used to execute the adjustment instructions of the control module and to atomize and diffuse the fragrance liquid.
[0009] Furthermore, the dynamic control command includes the actual atomization amount Q2 generated by the server, and the temperature and humidity data includes the actual ambient temperature data T3. The server compares the received actual ambient temperature data T3 with the preset base temperature T1, and calculates the result using the formula Q1*(1+K). T *(T3-T1)) generates the actual atomization amount Q2, where Q1 is the preset base atomization amount, KT The temperature influence coefficient is used; and the actual atomization amount Q2 generated is sent to the control module of the fragrance device;
[0010] Alternatively, the dynamic control command includes the actual atomization power P2 generated by the server, and the temperature and humidity data includes the actual ambient temperature data T3. The server compares the received actual ambient temperature data T3 with a preset temperature threshold T2. When T3 > T2, the dynamic control is applied using the formula P1*[1-K]. P *(T3-T2)】Generates the actual atomization power P2, where P1 is the preset base atomization power, K P This is the power reduction coefficient; and the generated actual atomization power P2 is sent to the control module of the fragrance device.
[0011] Alternatively, the dynamic control command includes the actual spraying frequency F2 generated by the server, and the temperature and humidity data includes the actual ambient humidity data H2. The server compares the received actual ambient humidity data H2 with the preset baseline humidity H1, and calculates the result using the formula F1*[1-K]. H *(H2-H1)】Generates the actual spraying frequency F2, where F1 is the preset base spraying frequency, K H The humidity influence coefficient is used; and the generated actual spraying frequency F2 is sent to the control module of the fragrance device.
[0012] Furthermore, the dynamic control command includes the actual atomization amount Q2 generated by the server, and the environmental parameters also include pedestrian flow data; the pedestrian flow data includes the actual number of pedestrians N2. The server compares the received pedestrian flow data N2 with a preset pedestrian flow threshold N1. When N2 is within the range of N1, there is no need to adjust the atomization amount based on the number of pedestrians, but rather based on the ambient temperature and humidity data; when N2 is not within the range of N1, the atomization amount is adjusted based on the number of pedestrians. The server uses the formula Q1*[1+K] to adjust the atomization amount. N *(N2-N1)】Generates the actual atomization amount Q2, where Q1 is the preset base atomization amount, K N A coefficient is added to the spray intensity; and the actual atomized amount Q2 generated is sent to the control module of the fragrance device.
[0013] Alternatively, the dynamic control command includes an actual spraying frequency F2 generated by the server, and the environmental parameters also include pedestrian traffic data, which includes actual area pedestrian density data D2. The server compares the received actual area pedestrian density data D2 with a preset area pedestrian density data threshold D1. When D2 is within the range of D1, the spraying frequency does not need to be adjusted based on the pedestrian density data, but is adjusted based on the ambient temperature and humidity data. When D2 is not within the range of D1, the spraying frequency is adjusted based on the pedestrian density data. The server uses the formula F1*[1+K] to adjust the spraying frequency. D *(D2-D1)】Generates the actual spraying frequency F2, where F1 is the preset base spraying frequency, K D This is the frequency adjustment coefficient; and the generated actual spraying frequency F2 is sent to the control module of the fragrance device.
[0014] Furthermore, the data transmission module sends the environmental parameters to the server in a fragmented transmission and breakpoint resume manner;
[0015] The data transmission module includes a data encryption unit, a data compression unit, and a communication unit; the data encryption unit uses an encryption algorithm to encrypt the received environmental parameters; the data compression unit uses a compression algorithm to compress the environmental parameters; and the communication unit is used to enable communication between the control module and the server.
[0016] Furthermore, the fragrance device also includes a liquid level detection device, which is used to detect the actual liquid level data L2 of the fragrance liquid in real time and send the actual liquid level data L2 to the server through a data transmission module. The server compares the received actual liquid level data L2 with a preset liquid level threshold L1. When L2 > L1, the server adjusts the atomization amount only according to environmental parameters. When L2 ≤ L1, the server adjusts the atomization amount only according to the liquid level data of the fragrance liquid. The server generates the atomization amount Q3 in the low liquid level mode using the formula Q2*R, where R is the intensity reduction coefficient. The generated atomization amount Q3 is then sent to the control module of the fragrance device.
[0017] Alternatively, the fragrance device may further include a liquid level detection device, which is used to detect the actual liquid level data L2 of the fragrance liquid in real time and send the actual liquid level data L2 to the server through a data transmission module; the server compares the received actual liquid level data L2 with a preset liquid level threshold L1; when L2 > L1, the server adjusts the spraying frequency only according to environmental parameters; when L2 ≤ L1, the server adjusts the spraying frequency only according to the liquid level data of the fragrance liquid, and the server generates the spraying frequency F3 in the low liquid level mode using the formula F2*R, where R is the intensity reduction coefficient; and sends the generated spraying frequency F3 to the control execution module of the fragrance device.
[0018] Furthermore, the fragrance device also includes a liquid storage bottle connected to the atomizing device. The liquid storage bottle is made of insulating material. The liquid level detection device includes a liquid level detection electrode, a reference electrode, and a control module electrically connected to the liquid level detection electrode and the reference electrode. The liquid level detection electrode and the reference electrode are disposed on the outer wall of the liquid storage bottle or located outside the liquid storage bottle and spaced apart from the outer wall of the liquid storage bottle. The liquid level detection electrode extends along the liquid level height direction. At least one reference electrode is provided and is adjacent to the bottom of the liquid storage bottle. The control module calculates the liquid level height in the liquid storage bottle based on the detection signals of the liquid level detection electrode and the reference electrode.
[0019] Furthermore, the fragrance device also includes a housing, the atomizing device is connected to the housing, the housing has a receiving cavity, and the liquid storage bottle is located in the receiving cavity; the liquid level detection electrode and the reference electrode are installed on the inner wall of the receiving cavity, the control module is located in the housing and is spaced 0.1mm-20mm from the outer wall of the liquid storage bottle, preferably 1mm-5mm; or the liquid storage bottle is detachable from the receiving cavity, the liquid level detection electrode and the reference electrode are installed on the outer wall of the liquid storage bottle, the control module is located in the housing, the outer wall of the liquid storage bottle is also provided with contacts electrically connected to the liquid level detection electrode and the reference electrode, the inner wall of the receiving cavity is provided with contacts electrically connected to the control module, and when the liquid storage bottle is placed in the receiving cavity, the contacts on the liquid storage bottle contact the contacts on the inner wall of the receiving cavity;
[0020] Alternatively, the fragrance device may further include a housing, with the atomizing device connected to the housing. A main control circuit board is disposed inside the housing, and a receiving cavity is provided on the housing. The liquid storage bottle is located inside the receiving cavity. The fragrance device may also include a liquid level detection circuit board, which is mounted on the outer wall of the liquid storage bottle. The liquid level detection electrode and the reference electrode are connected to the liquid level detection circuit board, and the liquid level detection electrode and the reference electrode are located on the inner side of the liquid level detection circuit board facing the liquid storage bottle. The control module is also mounted on the liquid level detection circuit board, and the liquid level detection circuit board is electrically connected to the main control circuit board.
[0021] Furthermore, the server can be a local server or a cloud server; when the server is a cloud server, the data transmission module transmits data with the cloud server via an IoT link.
[0022] Alternatively, the fragrance device may also include a user interaction module, which includes a scenario-based recommendation unit. The scenario-based recommendation unit recommends a fragrance spraying scheme suitable for the current scenario based on the current location and time of the fragrance device. The fragrance spraying scheme includes a morning wake-up mode and an evening relaxation mode.
[0023] The present invention provides a method for controlling an aromatherapy device, comprising the following steps;
[0024] S1. Collect environmental parameters of the environment where the fragrance device is located, including temperature and humidity data, and send the collected environmental parameters to the server;
[0025] S2. The server generates a dynamic control command based on the received environmental parameters and preset basic parameters to adjust one or more of the following: atomization amount, spraying frequency, and atomization power of the fragrance device, and sends the dynamic control command to the fragrance device.
[0026] S3. The fragrance device atomizes and diffuses the fragrance liquid according to the received dynamic control instructions.
[0027] Furthermore, in step S2, the dynamic control command includes the actual atomization amount Q2 generated by the server, the temperature and humidity data includes the actual ambient temperature data T3, and the preset basic parameters include the basic temperature T1. The server compares the received actual ambient temperature data T3 with the basic temperature T1 using the formula Q1*(1+K). T *(T3-T1)) generates the actual atomization amount Q2, where Q1 is the preset base atomization amount, K T This is the temperature influence coefficient;
[0028] Alternatively, in step S2, the dynamic control command includes the actual atomization power P2 generated by the server, the temperature and humidity data includes the actual ambient temperature data T3, the preset basic parameters include the temperature threshold T2, and the server compares the received actual ambient temperature data T3 with the temperature threshold T2. When T3 > T2, the dynamic control is adjusted using the formula P1*[1-K]. P *(T3-T2)】Generates the actual atomization power P2, where P1 is the preset base atomization power, K P This is the power reduction factor;
[0029] Alternatively, in step S2, the dynamic control command includes the actual spraying frequency F2 generated by the server, the temperature and humidity data includes the actual ambient humidity data H2, the preset basic parameters include the basic humidity H1, and the server compares the received actual ambient humidity data H2 with the basic humidity H1 using the formula F1*[1-K]. H *(H2-H1)】Generates the actual spraying frequency F2, where F1 is the preset base spraying frequency, K H This represents the humidity influence coefficient.
[0030] Furthermore, in step S1, the environmental parameters also include pedestrian flow data; the pedestrian flow data includes actual pedestrian flow data N2; in step S2, the dynamic control command includes the actual atomization amount Q2 generated by the server, and the preset basic parameters include a pedestrian flow threshold N1. The server compares the received pedestrian flow data N2 with the pedestrian flow threshold N1. When N2 is within the range of N1, there is no need to adjust the atomization amount based on the pedestrian flow, but rather based on the ambient temperature and humidity data; when N2 is not within the range of N1, the atomization amount is adjusted based on the pedestrian flow. The server uses the formula Q1*[1+K] to adjust the atomization amount. N *(N2-N1)】Generates the actual atomization amount Q2, where Q1 is the preset base atomization amount, K N Increase the coefficient to increase the spraying intensity;
[0031] Alternatively, in step S1, the environmental parameters further include pedestrian flow data, which includes actual regional pedestrian density data D2; in step S2, the dynamic control command includes the actual spraying frequency F2 generated by the server, and the preset basic parameters include the regional pedestrian density data threshold D1. The server compares the received actual regional pedestrian density data D2 with the regional pedestrian density data threshold D1. When D2 is within the range of D1, there is no need to adjust the spraying frequency based on the pedestrian density data, but rather based on the environmental temperature and humidity data; when D2 is not within the range of D1, the spraying frequency is adjusted based on the pedestrian density data. The server uses the formula F1*[1+K] to adjust the spraying frequency. D*(D2-D1)】Generates the actual spraying frequency F2, where F1 is the preset base spraying frequency, K D This is the frequency adjustment factor.
[0032] Further, in step S1, the actual liquid level data L2 of the fragrance liquid in the fragrance device is detected in real time, and the detected actual liquid level data L2 is sent to the server; in step S2, the dynamic control instruction includes the atomization amount Q3 in the low liquid level mode generated by the server, and the preset basic parameter also includes the liquid level threshold L1. The server compares the received actual liquid level data L2 with the preset liquid level threshold L1; when L2>L1, the server adjusts the atomization amount only according to the environmental parameters; when L2≤L1, the server adjusts the atomization amount only according to the liquid level data of the fragrance liquid. The server generates the atomization amount Q3 in the low liquid level mode using the formula Q2*R, where R is the intensity reduction coefficient.
[0033] Alternatively, in step S1, the actual liquid level data L2 of the fragrance liquid is detected in real time and sent to the server; in step S2, the dynamic control instruction includes the spraying frequency F3 in the low liquid level mode generated by the server, and the preset basic parameter also includes the liquid level threshold L1. The server compares the received actual liquid level data L2 with the preset liquid level threshold L1; when L2 > L1, the server adjusts the spraying frequency only according to the environmental parameters; when L2 ≤ L1, the server adjusts the spraying frequency only according to the liquid level data of the fragrance liquid. The server generates the spraying frequency F3 in the low liquid level mode using the formula F2*R, where R is the intensity reduction coefficient.
[0034] The fragrance device and its control method described in this invention dynamically and automatically adjust the spraying strategy of the fragrance device by collecting environmental parameters in real time and combining them with server processing. This ensures that the fragrance concentration and diffusion effect always match the environmental requirements, enhancing the user experience. Furthermore, when the fragrance device is used in spaces with frequently changing foot traffic (such as shopping malls, airports, high-speed rail stations, and other public spaces), the collected foot traffic data, combined with service processing, can dynamically adjust the fragrance spraying plan in real time, ensuring efficient utilization of fragrance liquid resources. Through data and instruction transmission between the data acquisition module, control module, atomizing device, and server, and the generation of dynamic control instructions by the server, the intelligent and adaptive operation of the fragrance device is further realized. Attached Figure Description
[0035] The above and other objects, features, and advantages of the invention will become clearer through a more detailed description of the preferred embodiments illustrated in the accompanying drawings. The same reference numerals denote the same parts throughout the drawings, and the drawings are not intentionally drawn to scale with actual dimensions; the focus is on illustrating the gist of the invention.
[0036] Figure 1 This is a schematic diagram of the principle of the present invention.
[0037] Figure 2 This is a schematic diagram of one embodiment of the present invention.
[0038] Figure 3 This is a schematic diagram showing the alignment of the liquid level detection electrode and the reference electrode in this invention.
[0039] Figure 4 This is a schematic diagram showing the misalignment of the liquid level detection electrode and the reference electrode in this invention.
[0040] Figure 5 This is a schematic diagram of Embodiment 2 of the present invention.
[0041] Figure 6 This is a schematic diagram of Embodiment 3 of the present invention.
[0042] Figure 7 This is a schematic diagram of Embodiment 4 of the present invention.
[0043] Figure 8 This is a comparison chart of existing technologies that use only one set of test electrodes to detect liquid levels.
[0044] Figure 9 This is a comparison diagram of the liquid level detection using a reference electrode and a liquid level detection electrode in this invention.
[0045] Figure 10 This is a schematic diagram of Embodiment 5 of the present invention.
[0046] Figure 11 This is a cross-sectional schematic diagram of the installation relationship between the liquid storage bottle and the shell in Embodiment 5 of the present invention.
[0047] Figure 12 This is a schematic diagram of the shell structure in Embodiment 5 of the present invention.
[0048] Figure 13 This is a schematic diagram of Embodiment Six of the present invention.
[0049] Figure 14 This is a schematic diagram of Embodiment Seven of the present invention.
[0050] Figure 15 This is a schematic diagram of one of the structures in Embodiment Nine of the present invention. Detailed Implementation
[0051] To facilitate understanding of the present invention, a more comprehensive description will be given below with reference to the accompanying drawings.
[0052] It should be noted that when a component is considered to be "connected" to another component, it can be directly connected to and integrated with the other component, or there may be an intervening component present. The terms "mounted," "one end," "the other end," and similar expressions used in this document are for illustrative purposes only.
[0053] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0054] This invention specifically provides an implementation method for a dynamic control system for fragrance devices based on the Internet of Things (IoT). See [link to implementation details]. Figure 1 The system includes a data acquisition module, a control module, and an atomizing device. The data acquisition module collects environmental parameters in real time, including temperature and humidity data, and transmits these parameters to the server via a data transmission module. The data acquisition module can be a temperature and humidity sensor, installed within the fragrance device, to detect the temperature and humidity of the environment surrounding the device. The control module receives dynamic control commands from the server via the data transmission module and adjusts one or more of the atomization volume, spray frequency, and atomization power of the atomizing device. The control module can be a microprocessor to ensure efficient and stable system operation. The atomizing device executes the adjustment commands from the control module and atomizes and diffuses the fragrance liquid.
[0055] This fragrance device dynamically and automatically adjusts its spraying strategy by collecting environmental parameters in real time and processing them with a server. This ensures that the fragrance concentration and diffusion effect always match the environmental requirements, enhancing the user experience. Furthermore, when used in spaces with fluctuating foot traffic (such as shopping malls, airports, and high-speed rail stations), the device can dynamically adjust the fragrance spraying plan in real time based on collected foot traffic data and server processing, ensuring efficient use of fragrance liquid resources. Through data and instruction transmission between the data acquisition module, control module, atomizing device, and server, and the generation of dynamic control instructions by the server, the device achieves intelligent and adaptive operation.
[0056] In a preferred embodiment, the dynamic control command includes the actual atomization amount Q2 generated by the server, and the temperature and humidity data includes the actual ambient temperature data T3. The server compares the received actual ambient temperature data T3 with the preset base temperature T1, and then uses the formula Q1*[1+K] to determine the atomization amount. T *(T3-T1)】Generates the actual atomization amount Q2, where Q1 is the preset base atomization amount, K T The temperature influence coefficient is set, and the actual atomization amount Q2 is sent to the control module. Specifically, the preset base atomization amount Q1 and the preset base temperature T1 are preset values stored on the server, while the temperature influence coefficient K... T These are experience-based values, also preset by technicians and stored on the server. Two examples illustrate this: Example 1: Q1 is preset to 1 mL / min, T1 to 25℃, K... T Given a current ambient temperature T3 of 30℃, the atomization rate at the current temperature T3, calculated using the above formula, should be Q2 = 1 * [1 + 0.02 * (30 - 25)] = 1.1 mL / min. Example 2: Pre-set Q1 to 1 mL / min, T1 to 25℃, K... T Given that the actual ambient temperature T3 is 20℃, the atomization rate of the substance at the current temperature T3 should be Q2 = 1 * [1 + 0.02 * (20 - 25)] = 0.9 mL / min, according to the above formula.
[0057] In a preferred embodiment, the dynamic control command includes the actual atomization power P2 generated by the server, and the temperature and humidity data includes the actual ambient temperature data T3. The server compares the received actual ambient temperature data T3 with a preset temperature threshold T2. When T3 > T2, the dynamic control is adjusted using the formula P1*[1-K]. P *(T3-T2)】Generates the actual atomization power P2, where P1 is the preset base atomization power, K P This is the power reduction factor; and the generated actual atomization power P2 is sent to the control module. Specifically, the set base atomization power P1 and the preset temperature threshold T2 are preset values stored on the server, while the power reduction factor K... P These are experience-based values, also preset by technicians and stored on the server. The following example illustrates this: P1 is preset to 10W, T2 to 28℃, and K... PGiven a value of 0.03 / ℃ and an actual ambient temperature of 30℃ for T3, the atomization amount at the current temperature T3, calculated using the above formula, should be P2 = 10 * [1 - 0.03 * (30 - 28)] = 9.4W. It should be noted that when T3 ≤ T2 and the actual liquid level of the fragrance liquid is above the preset threshold, no adjustment of the atomization power is required.
[0058] In a preferred embodiment, the dynamic control command includes the actual spraying frequency F2 generated by the server, and the temperature and humidity data includes the actual ambient humidity data H2. The server compares the received actual ambient humidity data H2 with the preset baseline humidity H1, and calculates the humidity using the formula F1*[1-K]. H *(H2-H1)】Generates the actual spraying frequency F2, where F1 is the preset base spraying frequency, K H The humidity influence coefficient is set, and the generated actual spraying frequency F2 is sent to the control module. Specifically, the set base spraying frequency F1 and the preset base humidity H1 are preset values stored on the server, while the humidity influence coefficient K... H These are experience-based values, also preset by technical personnel and stored on the server. Two examples illustrate this: Example 1: F1 is preset to 10 times / min, H1 to 50%, K... H Given a humidity level of 0.01%, and the current actual ambient humidity H2 is 75%, the actual spraying frequency under the current humidity H2, calculated using the above formula, should be F2 = 10 * [1 - 0.01 * (75 - 50)] = 7.5 times / min. Example 2: Pre-set F1 to 10 times / min, H1 to 50%, K... H Given that the actual humidity is 0.01%, and the current actual ambient humidity data H2 is 35%, the spraying frequency under the current humidity H2 should be F2 = 10 * [1 - 0.01 * (35 - 50)] = 8.5 times / min.
[0059] This fragrance device uses temperature and humidity data from received environmental parameters, combined with a specific algorithm, to precisely and effectively adjust the spraying strategy of the fragrance device dynamically. This ensures that the fragrance concentration and diffusion effect always match the environmental requirements, enhancing the user experience.
[0060] In a preferred embodiment, the dynamic control command includes the actual atomization amount Q2 generated by the server, and the environmental parameters also include pedestrian flow data; the pedestrian flow data includes the actual number of pedestrians N2. The server compares the received pedestrian flow data N2 with a preset pedestrian flow threshold N1. When N2 is within the range of N1, there is no need to adjust the atomization amount based on the number of pedestrians, but rather based on the ambient temperature and humidity data; when N2 is not within the range of N1, the atomization amount is adjusted based on the number of pedestrians. At this time, the system no longer adjusts the atomization amount based on the ambient temperature and humidity data, and the server uses the formula Q1*[1+K] to adjust the atomization amount. N *(N2-N1)】Generates the actual atomization amount Q2, where Q1 is the preset base atomization amount, K N A spray intensity increase coefficient is applied; and the generated actual atomization volume Q2 is sent to the control module. Specifically, the preset base atomization volume Q1 and the preset threshold for the number of people N1 are preset values stored on the server, while the spray intensity increase coefficient K... N These are experience-based values, also preset by technicians and stored on the server. Two examples illustrate this: Example 1: Q1 is preset to 1 mL / min, N1 to 10-20 people, K... N Given a concentration of 0.05 mL / person and an actual flow of 8 people (N2), the actual atomization rate under the current flow of 8 people (N2) should be Q2 = 1 * [1 + 0.05 * (8 - 10)] = 0.9 mL / min. Example 2: Pre-set Q1 to 1 mL / min, N1 to 10-20 people, K... N The value is 0.05 / person. The current actual number of people, N2, is 30. Therefore, according to the above formula, the actual atomization volume under the current actual number of people, N2, should be Q2 = 1 * [1 + 0.05 * (30 - 20)] = 1.5 mL / min.
[0061] In a preferred embodiment, the dynamic control command includes the actual spraying frequency F2 generated by the server, and the environmental parameters also include pedestrian traffic data, which includes the actual area pedestrian density data D2. The server compares the received actual area pedestrian density data D2 with a preset area pedestrian density data threshold D1. When D2 is within the range of D1, there is no need to adjust the spraying frequency based on the pedestrian density data, but rather based on the environmental temperature and humidity data. When D2 is not within the range of D1, the spraying frequency is adjusted based on the pedestrian density data. At this time, the system no longer adjusts the spraying frequency based on the environmental temperature and humidity data, and the server uses the formula F1*[1+K] to control the frequency. D *(D2-D1)】Generates the actual spraying frequency F2, where F1 is the preset base spraying frequency, K DThis is the frequency adjustment coefficient; and the generated actual spraying frequency F2 is sent to the control module; specifically, the preset base spraying frequency F1 and the preset area population density data threshold D1 are both preset contents stored on the server, while the frequency adjustment coefficient K... D These are experience-based values, also preset by technical personnel and stored on the server. Two examples illustrate this: Example 1: F1 is preset to 10 times / min, and D1 to 6 people / min. 2 -15 people / m 2 K D It is 0.02 / m 2 The current actual population density data for the area, D2, is 2 people / m². 2 Therefore, based on the above formula, the actual spraying frequency under the current actual population density data D2 should be F2 = 10 * [1 + 0.02 * (2 - 6)] = 9.2 times / min; Example 2, pre-set F1 to 10 times / min and D1 to 6 people / m 2 -15 people / m 2 K D It is 0.02 / m 2 The current actual population density data for the area, D2, is 18 people / m². 2 Therefore, based on the above formula, the actual spraying frequency under the current actual population density data D2 should be F2=10*【1+0.02*(18-15)】=10.6 times / min.
[0062] This fragrance device, through real-time monitoring of pedestrian traffic data within a space and a specific algorithm, can accurately and effectively optimize the global allocation of spatial resources, achieving efficient resource utilization. It dynamically adjusts the spraying strategy of the fragrance devices within the space, enhancing spatial comfort and user satisfaction. The data acquisition module also includes infrared sensors that detect pedestrian traffic data near the fragrance device in real time, such as the number of people and pedestrian density. When there is only one fragrance device, the infrared sensor detects pedestrian traffic data within a certain area (e.g., a radius of five meters) in real time. When there are multiple fragrance devices, the infrared sensors of multiple devices work together to collect pedestrian traffic data over a larger area.
[0063] In a preferred embodiment, the data transmission module sends environmental parameters to the server in a fragmented transmission and breakpoint resume manner. The data transmission module includes a data encryption unit, a data compression unit, and a communication unit. The data encryption unit uses an encryption algorithm to encrypt the received environmental parameters or dynamic control commands. The data compression unit uses a compression algorithm to compress the environmental parameters. The communication unit is used to enable communication between the control module and the server. Through data encryption, compression, and breakpoint resume functions, the security, efficiency, and reliability of data transmission can be ensured.
[0064] In a preferred embodiment, the control module can be a microprocessor. The microprocessor automatically switches the operating mode of the fragrance device based on environmental parameters, user preferences, etc. The operating modes include one or more of energy-saving mode, high-concentration mode, and timed spraying mode. The control module is located within the fragrance device. By switching between multiple modes, the applicability, reliability, and user experience of the fragrance device can be enhanced.
[0065] In a preferred embodiment, the fragrance device further includes a user interaction module, which includes a scenario-based recommendation unit. This unit recommends fragrance spraying schemes suitable for the current scenario based on the device's current location and time. The fragrance spraying schemes include a morning wake-up mode and an evening relaxation mode. The user interaction module can be a mobile app. Scenario-based recommendations on the user interaction module further enhance the user experience and ease of operation. The server can be a local server or a cloud server. When the server is a cloud server, the data transmission module transmits data with the cloud server via an IoT link.
[0066] In a preferred embodiment, the fragrance device further includes a liquid level detection device, which is used to detect the actual liquid level data L2 of the fragrance liquid in real time and send the actual liquid level data L2 to the server through the data transmission module. The server compares the received actual liquid level data L2 with a preset liquid level threshold L1. When L2 > L1, the server only adjusts the spraying frequency and atomization amount according to environmental parameters. When L2 ≤ L1, the server only adjusts the spraying frequency and atomization amount according to the liquid level data of the fragrance liquid. That is, the server no longer adjusts the spraying frequency and atomization amount according to environmental parameters. The server generates the atomization amount Q3 in the low liquid level mode using the formula Q2*R, and also generates the spraying frequency F3 in the low liquid level mode using the formula F2*R, where R is the intensity reduction coefficient. The generated atomization amount Q3 and spraying frequency F3 are then sent to the control module. Specifically, the intensity reduction coefficient R is an empirical value, also preset by technicians and stored on the server. Two examples illustrate this: Example 1, the preset R is 0.5, representing a 50% reduction. Based on the aforementioned data, the current actual atomization rate Q2 is calculated. It should be noted that the current actual atomization rate can be generated based on temperature and humidity data or pedestrian flow data; the appropriate method should be chosen based on the actual situation. In this embodiment, it is assumed that the current actual atomization rate is generated based on temperature and humidity data. Therefore, according to one of the aforementioned embodiments, Q2 is 1.1 mL / min. The atomization rate under the current low liquid level mode is then calculated using the above formula. The spray rate should be Q3 = 1.1 * 0.5 = 0.55 mL / min. In Example 2, the preset R is 0.5, representing a 50% reduction. Based on the aforementioned content, the actual spraying frequency F3 is calculated. It should be noted that the actual spraying frequency can be generated based on temperature and humidity data or pedestrian flow data. The appropriate method should be chosen based on the actual situation. In this embodiment, assuming the actual spraying frequency is generated based on temperature and humidity data, F2 can be calculated as 7.5 times / min according to one of the aforementioned embodiments. Using the above formula, the spraying frequency under the current low liquid level mode should be F3 = 7.5 * 0.5 = 3.75 times / min. By monitoring the remaining amount of fragrance liquid in the fragrance device, combined with a server-specific algorithm, rapid consumption of fragrance liquid without timely replenishment or replacement can be avoided, thus extending the lifespan of consumables.
[0067] In a preferred embodiment, the server further generates the remaining usage time M of the fragrance liquid based on the actual liquid level data L2, atomization volume Q3, and spraying frequency F3, using the formula M = L2 / (P3*F3); and sends the remaining time M to the user interaction module to remind the user to replace or add fragrance liquid. Specifically, based on the spraying frequency F3, atomization volume Q3, and actual liquid level data L2 obtained above, the remaining usage time of the fragrance liquid can be calculated using the above formula. By monitoring the remaining usage time of the fragrance liquid and promptly providing feedback to the user interaction module regarding replenishing or replacing the fragrance liquid, an automatic ordering service can also be enabled, reducing the management burden.
[0068] In preferred embodiments, the liquid level detection device has multiple implementations. This invention provides nine specific implementations, as follows:
[0069] First implementation method: See Figure 2-3 The fragrance device also includes a liquid storage bottle 1 connected to an atomizing device. The liquid storage bottle 1 is made of insulating material. The atomizing device is used to atomize the liquid in the liquid storage bottle 1 and diffuse it outwards. The fragrance diffuser also includes a liquid level detection electrode 2, a reference electrode 3, and a control module electrically connected to the liquid level detection electrode 2 and the reference electrode 3. The liquid level detection electrode 2 and the reference electrode 3 are disposed on the outer wall of the liquid storage bottle 1. The liquid level detection electrode 2 extends along the liquid level height direction. At least one reference electrode 3 is disposed and is adjacent to the bottom of the liquid storage bottle 1. The control module 4 calculates the liquid level height in the liquid storage bottle based on the detection signals of the liquid level detection electrode 2 and the reference electrode 3.
[0070] The liquid level is detected by reference electrode 3 and liquid level detection electrode 2. Liquid level detection electrode 2 extends along the liquid level height direction, so that any liquid level height of the storage bottle 1 can be measured.
[0071] Both the reference electrode 3 and the liquid level detection electrode 2 are non-contact capacitive sensors, and are attached to the outer wall of the storage bottle 1. When the liquid level changes, the frequency of the electrodes changes. In a preferred embodiment, a groove is recessed inward from the outer wall of the storage bottle 1; the reference electrode 3 and the liquid level detection electrode 2 are attached to the groove.
[0072] In a preferred embodiment, one end of the reference electrode 3 is flush with the bottom of the storage bottle 1, and one end of the liquid level detection electrode 2 is flush with the top of the storage bottle 1; this enables accurate detection of the liquid level from the bottom to the top of the storage bottle 1.
[0073] The liquid level detection electrode 2 and the reference electrode 3 are distributed along the height direction of the liquid storage bottle 1, so that the electrodes on the liquid storage bottle 1 are set in a split manner. This can avoid the electrodes being too long and the electrode area being too large, which would lead to increased error. By setting the distributed electrodes, the area of each electrode is reduced, thus reducing the error.
[0074] When detecting the liquid level height, the current liquid level height is determined by the frequency change of the liquid level detection electrode 2 and the frequency change of the reference electrode 3; the current frequency change ratio Cc is determined by the ratio of the frequency change Cey of the liquid level detection electrode 2 to the frequency change Cex of the reference electrode 3; and the corresponding liquid level height is determined by the current frequency change ratio Cc, where Cc = Cey / Cex.
[0075] Multiple liquid level detection electrodes 2 are provided, and in the direction of liquid level height, the liquid level detection electrodes 2 are located above the reference electrodes 3. In one preferred embodiment, two reference electrodes 3 are provided; the number of liquid level detection electrodes 2 is a positive integer multiple of the number of reference electrodes 3; the two reference electrodes 3 and every two liquid level detection electrodes 2 are distributed along the direction of liquid level height, and the reference electrodes 3 and liquid level detection electrodes 2 are located on opposite sides of the storage bottle.
[0076] In one preferred embodiment, the number of liquid level detection electrodes 2 is twice the number of reference electrodes 3. There are two reference electrodes 3, located on opposite sides of the liquid storage bottle 1. There are also two liquid level detection electrodes 2, also located on opposite sides of the liquid storage bottle 1.
[0077] In one preferred embodiment, two liquid level detection electrodes 2 are provided, located on opposite sides of the liquid storage bottle 1, and two reference electrodes 3 are also provided, also located on opposite sides of the liquid storage bottle 1. By providing two liquid level detection electrodes 2 and two reference electrodes 3, the accuracy of data acquisition is improved. The heights of the liquid level detection electrodes 2 and the reference electrodes 3 are positive integer multiples of each other, thus enabling accurate determination of the liquid level height based on the proportional relationship between the liquid level detection electrodes 2 and the reference electrodes 3.
[0078] In the circumferential direction of the liquid storage bottle 1, the two liquid level detection electrodes 2 correspond one-to-one with the two reference electrodes 3 and are aligned in position. The two liquid level detection electrodes 2 and the two reference electrodes 3 are all rectangles extending along the liquid level height direction.
[0079] Reference Figure 3 As shown, in another embodiment, in the circumferential direction of the liquid storage bottle 1, the two liquid level detection electrodes 2 are respectively misaligned with the two reference electrodes 3.
[0080] In the direction of liquid level height, the length of the liquid level detection electrode 2 is a positive integer multiple of the length of the reference electrode 3; in a preferred embodiment, the length of the liquid level detection electrode 2 is twice the length of the reference electrode 3.
[0081] In the circumferential direction of the liquid storage bottle, the width of the reference electrode 3 is a positive integer multiple of the width of the liquid level detection electrode 2; in a preferred embodiment, the width of the liquid level detection electrode 2 is 1 times the width of the reference electrode 3.
[0082] The width of one liquid level detection electrode 2 is a positive integer multiple of the width of the other liquid level detection electrode 2; the width of one reference electrode 3 is a positive integer multiple of the width of the other reference electrode 3. In a preferred embodiment, the width of one liquid level detection electrode 2 is 1 times the width of the other liquid level detection electrode 2, and the widths of the two liquid level detection electrodes 2 are equal; the width of one reference electrode 3 is 1 times the width of the other reference electrode 3, and the widths of the two reference electrodes 3 are equal.
[0083] The method for detecting liquid level includes the following steps:
[0084] S1, pre-installed reference electrode 3 and liquid level detection electrode 2.
[0085] S2. The linear relationship between the preset frequency change ratio and the liquid level height is Cc = H * K; Cc is the frequency change ratio; H is the liquid level height; K is the coefficient; in this embodiment, the coefficient K is a preset value.
[0086] S3. Collect the frequency change Cex of the current reference electrode 3.
[0087] S4. Collect the frequency change Cey of the current liquid level detection electrode 2.
[0088] S5. Determine the ratio of the current frequency change Cc using Cc = Cey / Cex, and then determine the corresponding liquid level height using the ratio of the current frequency change Cc.
[0089] The above method works as follows: when the liquid level in the storage bottle 1 changes, the frequency change of the reference electrode 3 and the frequency change of the liquid level detection electrode 2 also change, and consequently, the frequency change ratio between the reference electrode 3 and the liquid level detection electrode 2 also changes. The frequency change ratio is the largest when the storage bottle 1 is full, and gradually decreases as the liquid level decreases. The frequency change ratio reflects the change in liquid level. Furthermore, since the electrodes detect different liquids at different frequencies, the liquid level is determined by the frequency change. This method is suitable for detecting different liquid levels.
[0090] In the above method, S3 involves acquiring the frequency change Cex of the current reference electrode 3, specifically including the following steps:
[0091] S3.1. Preset the no-load frequency Cea of the reference electrode. The no-load frequency Cea of the reference electrode is the frequency corresponding to the liquid storage bottle 1 when it is unloaded.
[0092] S3.2 Obtain the current frequency Ceb of the reference electrode. Specifically, obtain the frequencies of the two reference electrodes respectively, then calculate the average frequency of the two reference electrodes, and set the average frequency of the reference electrodes as the current frequency Ceb of the reference electrodes.
[0093] In this embodiment, the frequency Ce1 of one reference electrode is first obtained; then the frequency Ce2 of another reference electrode is obtained; the average frequency of the two reference electrodes is calculated by (Ce1+Ce2) / 2; then the average frequency of the two reference electrodes is set as the current frequency Ceb of the reference electrode; the frequency obtained in this way has good accuracy.
[0094] S3.3 Determine the frequency change Cex of the current reference electrode 3 by subtracting the no-load frequency Cea of the reference electrode from the current frequency Ceb of the reference electrode; Ceb-Cea=Cex.
[0095] In the above method, the frequency change Cey of the current liquid level detection electrode 2 is collected in S4, specifically including the following steps:
[0096] S4.1. Preset the no-load frequency Cec of the liquid level detection electrode 2. The no-load frequency Cec of the liquid level detection electrode 2 is the frequency corresponding to the liquid storage bottle 1 when it is unloaded.
[0097] S4.2 Obtain the current frequency Ced of the liquid level detection electrode 2. Specifically, obtain the frequencies of the two liquid level detection electrodes 2 respectively, then calculate the average frequency of the two liquid level detection electrodes 2, and set the average frequency of the liquid level detection electrodes 2 as the current frequency Ced of the liquid level detection electrode 2.
[0098] In this embodiment, the frequency Ce3 of one liquid level detection electrode 2 is first obtained; then the frequency Ce4 of the other liquid level detection electrode 2 is obtained; the average frequency of the two liquid level detection electrodes 2 is calculated by (Ce3+Ce4) / 2; then the average frequency of the two liquid level detection electrodes 2 is set as the current frequency Ced of the liquid level detection electrode 2; the frequency obtained in this way has good accuracy.
[0099] S4.3. Determine the current frequency change Cey of the liquid level detection electrode 2 by subtracting the no-load frequency Cec of the liquid level detection electrode 2 from the current frequency Ced of the liquid level detection electrode 2; Ced-Cec=Cey.
[0100] The following data will be used to illustrate this.
[0101] Table 1 shows the data on the liquid level height corresponding to the frequency change ratio of liquid M1.
[0102]
[0103] Table 1
[0104] Taking Table 1 as an example, as the liquid level decreases, the ratio of frequency changes will gradually decrease.
[0105] Table 2 shows the data on the liquid level height corresponding to the frequency change ratio of liquid M2.
[0106]
[0107] Table 2
[0108] Taking Table 2 as an example, as the liquid level decreases, the ratio of frequency changes will gradually decrease.
[0109] Table 3 shows the data on the liquid level height corresponding to the frequency change ratio of liquid M3.
[0110]
[0111] Table 3
[0112] Taking Table 3 as an example, as the liquid level decreases, the ratio of frequency changes will gradually decrease.
[0113] Refer to Tables 1, 2, and 3. Figure 8 and Figure 9 As shown, the frequency change ratios of the liquid level detection electrodes 2 are inconsistent for different types of liquids; this invention determines the liquid level height by the frequency change ratio, and is applicable to the detection of different liquid levels.
[0114] The second implementation method: as follows Figure 5 As shown, the device includes a housing 6, an atomizing device 5, and a liquid storage bottle 1 connected to the atomizing device 5. The atomizing device 5 is connected to the housing 6, and the housing 6 has a receiving cavity 61, in which the liquid storage bottle 1 is fixedly disposed. The control module 4 is disposed inside the housing 6 and is spaced 0.1mm-20mm from the outer wall of the liquid storage bottle 1, preferably 1mm-5mm apart. The liquid level detection electrode 2 and the reference electrode 3 are disposed on the inner wall of the receiving cavity 61 of the housing 6. In this embodiment, the liquid level detection electrode 2 and the reference electrode 3 are connected to the control module 4 through leads to achieve signal transmission. The remaining structure is the same as in Embodiment 1.
[0115] The third implementation method: such as Figure 6As shown, the device includes a housing 6, an atomizing device 5, and a storage bottle 1 connected to the atomizing device 5. The atomizing device 5 is connected to the housing 6, and the housing 6 has a receiving cavity 61. The storage bottle 1 is located inside the receiving cavity 61. The storage bottle 1 is detachably disposed in the receiving cavity 61. The control module 4 is disposed inside the housing 6. The reference electrode 3 and the liquid level detection electrode are disposed on the outer wall of the storage bottle 1. The outer wall of the storage bottle 1 is also provided with contacts 7 that are electrically connected to the liquid level detection electrode 2 and the reference electrode 3. The inner wall of the receiving cavity 61 is provided with contacts 7 that are electrically connected to the control module 4. When the storage bottle 1 is placed in the receiving cavity 61, the contacts 7 on the storage bottle 1 contact with the contacts 7 on the inner wall of the receiving cavity 61. Through the contact 7 on the storage bottle 1 and the contacts 7 on the inner wall of the receiving cavity 61, the liquid level detection electrode 2, the reference electrode 3, and the control module 4 are connected by signal. The remaining structure is the same as in Embodiment 1.
[0116] The fourth implementation method: such as Figure 7 As shown, it includes a housing 6, an atomizing device 5, and a liquid storage bottle 1 connected to the atomizing device 5. The atomizing device 5 is connected to the housing 6. The housing 6 is provided with a receiving cavity 61. The liquid storage bottle 1 is located in the receiving cavity 61 and is detachably disposed in the receiving cavity 61.
[0117] The housing 6 contains a main control circuit board 62 and a receiving cavity 61. The liquid storage bottle 1 is located in the receiving cavity 61. The aroma diffuser also includes a liquid level detection circuit board 8, which is mounted on the outer wall of the liquid storage bottle 1. The liquid level detection electrode 2 and the reference electrode 3 are connected to the liquid level detection circuit board 8 and are located on the inner side of the liquid level detection circuit board 8 facing the liquid storage bottle 1. The control module is also mounted on the liquid level detection circuit board 8 and is electrically connected to the main control circuit board 62.
[0118] The liquid level detection electrode 2 and the reference electrode 3 are formed on the inner side of the liquid level detection circuit board 8 by etching. A metal shielding layer is formed on the outer side of the liquid level detection circuit board 8 facing away from the liquid storage bottle 1; the rest of the structure is the same as in Embodiment 1.
[0119] Fifth implementation method: such as Figure 10-12As shown, the fragrance device also includes a housing 6, with an atomizing device 5 connected to the housing 6. A receiving cavity 61 is provided on the housing 6, and a liquid storage bottle is located within the receiving cavity 61. A liquid level detection electrode 2 and a reference electrode 3 are installed on the inner wall of the receiving cavity 61, with a distance of 0.1mm-20mm between the liquid level detection electrode 2, the reference electrode 3, and the outer wall of the liquid storage bottle. Two grooves 63 extending along the height direction are formed on the outer wall of the receiving cavity 61. A liquid level detection electrode 2 and a reference electrode 3 are installed in each of the two grooves 63. Both the liquid level detection electrode 2 and the reference electrode 3 are thin sheets, attached to the grooves 63 at intervals. The liquid level detection electrodes 2 and the reference electrodes 3 are arranged in at least two groups. Each group of electrodes includes a reference electrode 3 located at the bottom and 2-4 liquid level detection electrodes 2. The reference electrode 3 and the 2-4 liquid level detection electrodes 2 are arranged in a straight line along the height direction and are spaced apart. The number of liquid level detection electrodes 2 in each group of electrodes is the same and they are arranged at equal heights (or as shown in the figure). Figure 13-15 (To understand). In this embodiment, an outer shell can also be provided outside the housing 6 to enclose the liquid level detection electrode 2.
[0120] Sixth implementation method: such as Figure 13 As shown, the device includes an absorbent cotton core 12 and an atomizing device including a vibrating atomizing plate 51. One end of the absorbent cotton core 12 is inserted into the liquid storage bottle 1, and the other end abuts against the vibrating atomizing plate 51, transferring the liquid in the liquid storage bottle 1 to the vibrating atomizing plate 51. The vibration of the vibrating atomizing plate 51 atomizes the liquid delivered to it. The atomizing device in this embodiment uses ultrasonic atomization. The settings of the liquid level detection electrode 2 and the reference electrode 3 can be the same as in any other embodiment.
[0121] The seventh embodiment includes an air pump 9 and a siphon tube 11. The air pump 9 is connected to the atomizing device 5 via a pipeline, providing airflow to the atomizing device 5. The atomizing device 5 is connected to the liquid storage bottle 1 via the siphon tube 11, mixing and atomizing the liquid in the liquid storage bottle 1 with the airflow provided by the air pump 9. The aroma diffuser includes an outer shell 601 and an inner shell 602. The inner shell 602 is installed inside the outer shell 601. The atomizing device is installed inside either the outer shell 601 or the inner shell 602. A receiving cavity 61 is provided inside the inner shell 602. The liquid storage bottle 1 is located inside the receiving cavity 61. The liquid level detection electrode 2 and the reference electrode 3 are installed on the outer wall of the receiving cavity 61. The liquid level detection electrode 2 and the reference electrode 3 are arranged in at least two groups. Each group of electrodes includes a reference electrode 3 located at the bottom and 2-4 liquid level detection electrodes 2. The reference electrode 3 and the 2-4 liquid level detection electrodes 2 are arranged in a straight line along the height direction and are spaced apart. The number of liquid level detection electrodes 2 in each group of electrodes is the same and they are arranged at the same height in a one-to-one correspondence.
[0122] In this embodiment, two grooves 63 extending along the height direction are formed on the outer wall of the receiving cavity. A liquid level detection electrode 2 and a reference electrode 3 are installed in each of the two grooves 63. Both the liquid level detection electrode 2 and the reference electrode 3 are thin sheets, spaced apart and attached to the grooves 63 (reference). Figure 11-13 (To understand).
[0123] Eighth implementation method: Method for detecting the liquid level height of the diffuser in Examples 5 to 7. In the diffuser in Examples 5 to 7, the liquid level detection electrode and the reference electrode are arranged in at least one group. Each group of electrodes includes a reference electrode located at the bottom and 2-4 liquid level detection electrodes. The reference electrode and the 2-4 liquid level detection electrodes are arranged in a straight line along the height direction and are spaced apart to avoid mutual interference between the electrodes.
[0124] The method for detecting liquid level includes the following steps:
[0125] S1. Preset linear relationship data between the frequency change ratio and the liquid level height: Cc = H * K; Cc is the frequency change ratio; H is the liquid level height; K is the coefficient; in this embodiment, the coefficient K is a preset value.
[0126] S2. Collect the current frequency change Cex of the reference electrode 3, and the frequency change Cey of the current liquid level detection electrode. Determine the ratio Cc of the current frequency changes using Cc = Cey / Cex, and determine the corresponding liquid level height H using the ratio Cc. Calculate the liquid level height H using the formula H = 1 / K * Cey / Cex. In one embodiment, if the current liquid level detection electrode is the highest liquid level detection electrode, a full bottle signal is issued, and the liquid level height H does not need to be calculated.
[0127] An electrode for detecting the current liquid level that meets the following conditions is a liquid level detection electrode for detecting the current liquid level:
[0128] (1) When the frequency change Cey of the undetermined liquid level detection electrode is greater than the preset value and is the highest liquid level detection electrode, the liquid level detection electrode is regarded as the liquid level detection electrode of the current liquid level.
[0129] For reference Figure 11 The coefficient K is preset to 0. The liquid level detection electrodes 2 include a first liquid level detection electrode 2a and a second liquid level detection electrode 2b. The second liquid level detection electrode 2b is relatively closer to the bottle opening, so it is the highest liquid level detection electrode. When the frequency change of the second liquid level detection electrode 2b is greater than 0, the bottle is full, and the second liquid level detection electrode 2b is the liquid level detection electrode for the current liquid level.
[0130] (2) When the frequency change Cey of the undetermined liquid level detection electrode is greater than the preset value, and the frequency change Cey of the liquid level detection electrode at the next higher position is less than or equal to the preset value, the liquid level detection electrode 2 is regarded as the liquid level detection electrode of the current liquid level.
[0131] refer to Figure 13 When the coefficient K is preset to 0, a first liquid level detection electrode 2a, a second liquid level detection electrode 2b, and a third liquid level detection electrode 2c are sequentially arranged from the bottom of the bottle to the top. When the frequency change of the third liquid level detection electrode 2c is ≤0, it indicates that the bottle is not full. The frequency change of the second liquid level detection electrode 2b is then detected. When the frequency change of the second liquid level detection electrode 2b is >0, the second liquid level detection electrode 2b becomes the liquid level detection electrode for the current liquid level.
[0132] You can also refer to Figure 11 When the frequency change of the second liquid level detection electrode 2b is ≤0 and the frequency change of the first liquid level detection electrode 2a is >0, the first liquid level detection electrode 2a is the liquid level detection electrode for the current liquid level.
[0133] The frequency change Cey of the current liquid level detection electrode satisfies the following condition: Cey = Ced - Cec, where Ced is the current frequency of the current liquid level detection electrode and Cec is the no-load frequency of the current liquid level detection electrode.
[0134] For example when Figure 11 When the first liquid level detection electrode 2a is the liquid level detection electrode for the current liquid level, the frequency of the first liquid level detection electrode 2a is Ced.
[0135] If the liquid level detection electrodes and reference electrodes are arranged in at least two groups, there are at least two liquid level detection electrodes for the current liquid level, and Ced is the average of the current frequencies of multiple liquid level detection electrodes for the current liquid level. For example, when the first liquid level detection electrode 2a is the liquid level detection electrode for the current liquid level, the average of the current frequencies of multiple first liquid level detection electrodes 2a is taken as Ced.
[0136] The frequency change Cex of the current reference electrode 3 satisfies the following condition: Cex = Ceb - Cea, where Ceb is the current frequency of the reference electrode and Cea is the no-load frequency of the reference electrode.
[0137] If the level detection electrode and the reference electrode are arranged in at least two groups, and there are at least two reference electrodes, Ceb takes the average of the current frequencies of multiple reference electrodes.
[0138] In embodiments where the liquid level detection electrodes and reference electrodes are arranged in at least two groups, each group has the same number of liquid level detection electrodes, which are arranged at the same height in a one-to-one correspondence, and multiple reference electrodes are arranged at the same height. For example... Figure 13 Understanding: the left group has two liquid level detection electrodes, and the right group also has two liquid level detection electrodes. The two first liquid level detection electrodes 2a on the left and right are at the same height, and the two reference electrodes 3 on the left and right are at the same height. In this embodiment, left and right refer to... Figure 13 Let's take a look.
[0139] Ninth implementation method: such as Figure 10-14 As shown, in this embodiment, the number of liquid level detection electrodes is twice the number of reference electrodes 3. Two reference electrodes 3 are provided, located on opposite sides of the storage bottle 1; four liquid level detection electrodes are provided, also located on opposite sides of the storage bottle 1. The two reference electrodes and each pair of liquid level detection electrodes 3 are distributed along the liquid level height direction. The structure of this embodiment can be referred to... Figure 10-14 Any structure.
[0140] The liquid level detection electrodes are a first liquid level detection electrode 2a and a second liquid level detection electrode 2b; one end of each of the two reference electrodes 3 is flush with the bottom of the storage bottle 1, and the other end of each of the two second liquid level detection electrodes 2b is flush with the top of the liquid when the storage bottle 1 is full; the two first liquid level detection electrodes 2a are located between the reference electrodes and the second liquid level detection electrodes 2b. The rest of the structure is the same as in Embodiment 1.
[0141] In this embodiment, when detecting the liquid level height, the current liquid level height is determined by the frequency change of the first liquid level detection electrode 2a or the second liquid level detection electrode 2b and the frequency change of the reference electrode 3.
[0142] In this embodiment, at least two methods for detecting liquid level are included. The first method for detecting liquid level includes the following steps:
[0143] S1, pre-installed reference electrode 3, first liquid level detection electrode 2a, and second liquid level detection electrode 2b.
[0144] S2. The linear relationship between the preset frequency change ratio and the liquid level height is Cc = H * K; Cc is the frequency change ratio; H is the liquid level height; K is the coefficient; in this embodiment, the coefficient K is a preset value.
[0145] S3. Collect the frequency change Cex of the current reference electrode 3.
[0146] S4. Collect the frequency change Cey of the second liquid level detection electrode 2b; if the frequency change of the second liquid level detection electrode 2b is >0, then determine that the current liquid level has reached the full height of the bottle; if the frequency change of the second liquid level detection electrode 2b is ≤0, then proceed to S5.
[0147] S5. Collect the frequency change Cey of the first liquid level detection electrode 2a.
[0148] S6. Determine the current frequency change ratio Cc using Cc = Cey, / Cex, and then determine the corresponding liquid level height using the current frequency change ratio Cc.
[0149] The first method for detecting liquid level height uses the second liquid level detection electrode 2b to determine whether the liquid level height has reached the full bottle height; and determines the liquid level height below the full bottle height by the ratio between the frequency change of the first liquid level detection electrode 2a and the frequency change of the reference electrode 3.
[0150] In the above method, S3 involves acquiring the frequency change Cex of the current reference electrode 3, specifically including the following steps:
[0151] 1. Preset the no-load frequency Cea of the reference electrode. The no-load frequency Cea of the reference electrode is the frequency corresponding to the liquid storage bottle 1 when it is unloaded.
[0152] 2. Obtain the current frequency Ceb of the reference electrode. Specifically, obtain the frequencies of the two reference electrodes separately, then calculate the average frequency of the two reference electrodes, and set the average frequency of the reference electrodes as the current frequency Ceb of the reference electrodes.
[0153] In this embodiment, the frequency Ce1 of one reference electrode is first obtained; then the frequency Ce2 of another reference electrode is obtained; the average frequency of the two reference electrodes is calculated by (Ce1+Ce2) / 2; then the average frequency of the two reference electrodes is set as the current frequency Ceb of the reference electrode; the frequency obtained in this way has good accuracy.
[0154] 3. Determine the frequency change Cex of the current reference electrode 3 by subtracting the no-load frequency Cea of the reference electrode from the current frequency Ceb of the reference electrode; Ceb-Cea=Cex.
[0155] In the above method, the frequency change Cey of the second liquid level detection electrode 2b is collected in S4; specifically, it includes the following steps:
[0156] 1. The unloaded frequency Cec of the second liquid level detection electrode 2b is preset; the unloaded frequency Cec of the second liquid level detection electrode 2b is the frequency corresponding to the unloaded state of the storage bottle 1.
[0157] 2. Obtain the current frequency Ced of the second liquid level detection electrode 2b. Specifically, obtain the frequencies of the two second liquid level detection electrodes 2b respectively, then calculate the average frequency of the two second liquid level detection electrodes 2b, and set the average frequency of the second liquid level detection electrodes 2b as the current frequency Ced of the second liquid level detection electrode 2b.
[0158] In this embodiment, the frequency Ce3 of one second liquid level detection electrode 2b is first obtained; then the frequency Ce4 of another second liquid level detection electrode 2b is obtained; the average frequency of the two second liquid level detection electrodes 2b is calculated by (Ce3, + Ce4,) / 2; then the average frequency of the two second liquid level detection electrodes 2b is set as the current frequency Ced of the second liquid level detection electrode 2b; the frequency obtained in this way has good accuracy.
[0159] 3. By subtracting the no-load frequency Cec from the current frequency Ced of the second liquid level detection electrode 2b, determine the current frequency change Cey of the second liquid level detection electrode 2b; Ced - Cec = Cey.
[0160] 4. If the frequency change of the second liquid level detection electrode 2b is greater than 0, it indicates that the current liquid level is greater than the lower end height of the second liquid level detection electrode 2b, thus determining that the current liquid level has reached the full bottle height. If the frequency change of the second liquid level detection electrode 2b is less than or equal to 0, it indicates that the current liquid level is less than or equal to the lower end height of the second liquid level detection electrode 2b, thus determining that the current liquid level has not reached the full bottle height.
[0161] In the above method, S5 involves collecting the frequency change Cey of the first liquid level detection electrode 2a; specifically, it includes the following steps:
[0162] 1. The unloaded frequency Cec, of the first liquid level detection electrode 2a is preset; the unloaded frequency Cec, of the first liquid level detection electrode 2a is the frequency corresponding to the unloaded state of the storage bottle 1.
[0163] 2. Obtain the current frequency Ced of the first liquid level detection electrode 2a. Specifically, obtain the frequencies of the two first liquid level detection electrodes 2a respectively, then calculate the average frequency of the two first liquid level detection electrodes 2a, and set the average frequency of the first liquid level detection electrode 2a as the current frequency Ced of the first liquid level detection electrode 2a.
[0164] In this embodiment, the frequency Ce3 of one first liquid level detection electrode 2a is first obtained; then the frequency Ce4 of another first liquid level detection electrode 2a is obtained; the average frequency of the two first liquid level detection electrodes 2a is calculated by (Ce3, + Ce4,) / 2; then the average frequency of the two first liquid level detection electrodes 2a is set as the current frequency Ced of the first liquid level detection electrode 2a; the frequency obtained in this way has good accuracy.
[0165] 3. By subtracting the no-load frequency Cec from the current frequency Ced of the first liquid level detection electrode 2a, the frequency change Cey of the first liquid level detection electrode 2a is determined; Ced - Cec = Cey.
[0166] The second method for detecting liquid level includes the following steps:
[0167] S1, pre-installed reference electrode 3, first liquid level detection electrode 2a, and second liquid level detection electrode 2b.
[0168] S2. The linear relationship between the preset frequency change ratio and the liquid level height is Cc = H * K; Cc is the frequency change ratio; H is the liquid level height; K is the coefficient; in this embodiment, the coefficient K is a preset value.
[0169] S3. Collect the frequency change Cex of the current reference electrode 3.
[0170] S4. Collect the frequency change Cey of the second liquid level detection electrode 2b and the frequency change Cey of the first liquid level detection electrode 2a.
[0171] S5. Determine the frequency change of the liquid level detection electrode at different heights.
[0172] If the frequency change of the liquid level detection electrode with the lowest height position is >0, and the frequency change of the other liquid level detection electrodes is ≤0, then the ratio of the current frequency change Cc is calculated using the liquid level detection electrode with the lowest height position and the reference electrode 3; that is, if the frequency change of the first liquid level detection electrode 2a is >0, and the frequency change of the second liquid level detection electrode 2b is ≤0, then proceed to S6.
[0173] If the frequency change of the liquid level detection electrodes at different heights is >0, then the ratio of the current frequency change Cc is calculated using the liquid level detection electrode with a frequency change >0 and the highest height position and the reference electrode 3; that is, if the frequency change of the first liquid level detection electrode 2a and the second liquid level detection electrode 2b is both >0, then the frequency change of the second liquid level detection electrode 2b is used for calculation, and then S7 is performed.
[0174] S6. Determine the ratio of the current frequency change Cc using Cc = Cey, / Cex, and then determine the corresponding liquid level height using the ratio of the current frequency change Cc.
[0175] S7. Determine the ratio of the current frequency change Cc using Cc = Cey / Cex, and then determine the corresponding liquid level height using the ratio of the current frequency change Cc.
[0176] In the above method, in S5, if the frequency change of the liquid level detection electrode with the lowest height position is >0 and the frequency change of the other liquid level detection electrodes is ≤0, it means that the current liquid level corresponds to the height of the liquid level detection electrode with the lowest height position. The ratio of the current frequency change Cc is calculated using the liquid level detection electrode with the lowest height position and the reference electrode 3.
[0177] In S5, if the frequency change of liquid level detection electrodes at different heights is >0, it means that the liquid level has submerged multiple liquid level detection electrodes. The frequency change ratio Cc is calculated using the liquid level detection electrode with the highest height among the multiple liquid level detection electrodes with frequency change >0.
[0178] The second method for detecting liquid level height involves comparing the liquid level using multiple liquid level detection electrodes at different heights, thus determining the liquid level height with good accuracy.
[0179] This invention also provides a specific implementation of a control method for a fragrance device, comprising the following steps: S1, collecting environmental parameters of the environment where the fragrance device is located, including temperature and humidity data, and sending the collected environmental parameters to a server; S2, the server generates dynamic control instructions to adjust one or more of the following parameters of the fragrance device: atomization volume, spraying frequency, and atomization power, based on the received environmental parameters and preset basic parameters, and sends the dynamic control instructions to the fragrance device; S3, the fragrance device atomizes and diffuses the fragrance liquid according to the received dynamic control instructions. In step S2, the dynamic control instructions include the actual atomization volume Q2 generated by the server, the temperature and humidity data include the actual ambient temperature data T3, the preset basic parameters include the basic temperature T1, and the server compares the received actual ambient temperature data T3 with the basic temperature T1 using the formula Q1*(1+K). T *(T3-T1)) generates the actual atomization amount Q2, where Q1 is the preset base atomization amount, K T The temperature influence coefficient; or, in step S2, the dynamic control command includes the actual atomization power P2 generated by the server, the temperature and humidity data includes the actual ambient temperature data T3, the preset basic parameters include the temperature threshold T2, the server compares the received actual ambient temperature data T3 with the temperature threshold T2, and when T3 > T2, the temperature threshold T2 is adjusted using the formula P1*[1-K]. P *(T3-T2)】Generates the actual atomization power P2, where P1 is the preset base atomization power, K P The power reduction coefficient is used; or, in step S2, the dynamic control command includes the actual spraying frequency F2 generated by the server, the temperature and humidity data includes the actual ambient humidity data H2, the preset basic parameters include the basic humidity H1, and the server compares the received actual ambient humidity data H2 with the basic humidity H1 using the formula F1*[1-K]. H *(H2-H1)】Generates the actual spraying frequency F2, where F1 is the preset base spraying frequency, K H This represents the humidity influence coefficient.
[0180] In step S1, the environmental parameters also include pedestrian flow data; the pedestrian flow data includes actual pedestrian flow data N2; in step S2, the dynamic control command includes the actual atomization amount Q2 generated by the server, and the preset basic parameters include a pedestrian flow threshold N1. The server compares the received pedestrian flow data N2 with the pedestrian flow threshold N1. When N2 is within the range of N1, there is no need to adjust the atomization amount based on the pedestrian flow, but rather based on the ambient temperature and humidity data; when N2 is not within the range of N1, the atomization amount is adjusted based on the pedestrian flow. The server uses the formula Q1*[1+K] to adjust the atomization amount. N *(N2-N1)】Generates the actual atomization amount Q2, where Q1 is the preset base atomization amount, K N To increase the spraying intensity coefficient; or, in step S1, the environmental parameters also include pedestrian flow data, which includes actual regional pedestrian density data D2; in step S2, the dynamic control command includes the actual spraying frequency F2 generated by the server, and the preset basic parameters include the regional pedestrian density data threshold D1. The server compares the received actual regional pedestrian density data D2 with the regional pedestrian density data threshold D1. When D2 is within the range of D1, there is no need to adjust the spraying frequency based on the pedestrian density data, but rather based on the environmental temperature and humidity data; when D2 is not within the range of D1, the spraying frequency is adjusted based on the pedestrian density data. The server uses the formula F1*[1+K] to adjust the spraying frequency. D *(D2-D1)】Generates the actual spraying frequency F2, where F1 is the preset base spraying frequency, K D This is the frequency adjustment factor.
[0181] In step S1, the actual liquid level data L2 of the fragrance liquid in the fragrance device is detected in real time and sent to the server; in step S2, the dynamic control instruction includes the atomization amount Q3 in the low liquid level mode generated by the server, and the preset basic parameter also includes the liquid level threshold L1. The server compares the received actual liquid level data L2 with the preset liquid level threshold L1; when L2 > L1, the server adjusts the atomization amount only according to the environmental parameters; when L2 ≤ L1, the server adjusts the atomization amount only according to the liquid level data of the fragrance liquid. The server generates the atomization amount Q3 in the low liquid level mode using the formula Q2*R, where R is the intensity reduction coefficient. Alternatively, in step S1, the actual liquid level data L2 of the fragrance liquid is detected in real time and sent to the server; in step S2, the dynamic control instruction includes the spraying frequency F3 in the low liquid level mode generated by the server, and the preset basic parameter also includes the liquid level threshold L1. The server compares the received actual liquid level data L2 with the preset liquid level threshold L1; when L2 > L1, the server adjusts the spraying frequency only according to the environmental parameters; when L2 ≤ L1, the server adjusts the spraying frequency only according to the liquid level data of the fragrance liquid. The server generates the spraying frequency F3 in the low liquid level mode using the formula F2*R, where R is the intensity reduction coefficient.
[0182] In this application, unless otherwise expressly specified and limited, "above" or "below" the second feature can mean that the first feature is in direct contact with the second feature, or that the first feature is in indirect contact with the second feature through an intermediate medium. Furthermore, "above," "on top of," and "over" the second feature can mean that the first feature is directly above or diagonally above the second feature, or simply that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature can mean that the first feature is directly below or diagonally below the second feature, or simply that the first feature is at a lower horizontal level than the second feature.
[0183] In the description of this specification, the references to terms such as "preferred embodiment," "another embodiment," "other embodiment," or "specific example," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0184] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A fragrance device, characterized in that: It includes a control module, a data acquisition module, and an atomizing device; The data acquisition module is used to collect environmental parameters in real time, including temperature and humidity data, and send the collected environmental parameters to the server through the data transmission module. The control module receives dynamic control commands sent by the server through the data transmission module, and adjusts one or more of the atomization quantity, spraying frequency, and atomization power of the atomizing device. The atomizing device is used to execute the adjustment instructions of the control module and to atomize and diffuse the fragrance liquid.
2. The fragrance device according to claim 1, characterized in that: The dynamic control command includes the actual atomization amount Q2 generated by the server, and the temperature and humidity data includes the actual ambient temperature data T3. The server compares the received actual ambient temperature data T3 with the preset base temperature T1, and calculates the result using the formula Q1*(1+K). T *(T3-T1)) generates the actual atomization amount Q2, where Q1 is the preset base atomization amount, K T The temperature influence coefficient is used; and the actual atomization amount Q2 generated is sent to the control module of the fragrance device; Alternatively, the dynamic control command includes the actual atomization power P2 generated by the server, and the temperature and humidity data includes the actual ambient temperature data T3. The server compares the received actual ambient temperature data T3 with a preset temperature threshold T2. When T3 > T2, the dynamic control is applied using the formula P1*[1-K]. P *(T3-T2)】Generates the actual atomization power P2, where P1 is the preset base atomization power, K P This is the power reduction coefficient; and the generated actual atomization power P2 is sent to the control module of the fragrance device. Alternatively, the dynamic control command includes the actual spraying frequency F2 generated by the server, and the temperature and humidity data includes the actual ambient humidity data H2. The server compares the received actual ambient humidity data H2 with the preset baseline humidity H1, and calculates the result using the formula F1*[1-K]. H *(H2-H1)】Generates the actual spraying frequency F2, where F1 is the preset base spraying frequency, K H The humidity influence coefficient is used; and the generated actual spraying frequency F2 is sent to the control module of the fragrance device.
3. The fragrance device according to claim 1, characterized in that: The dynamic control command includes the actual atomization amount Q2 generated by the server, and the environmental parameters also include pedestrian flow data; the pedestrian flow data includes the actual number of pedestrians N2. The server compares the received pedestrian flow data N2 with a preset pedestrian flow threshold N1. When N2 is within the range of N1, there is no need to adjust the atomization amount based on the number of pedestrians, but rather based on the ambient temperature and humidity data; when N2 is not within the range of N1, the atomization amount is adjusted based on the number of pedestrians. The server uses the formula Q1*[1+K] to adjust the atomization amount. N *(N2-N1)】Generates the actual atomization amount Q2, where Q1 is the preset base atomization amount, K N A coefficient is added to the spray intensity; and the actual atomized amount Q2 generated is sent to the control module of the fragrance device. Alternatively, the dynamic control command includes an actual spraying frequency F2 generated by the server, and the environmental parameters also include pedestrian traffic data, which includes actual area pedestrian density data D2. The server compares the received actual area pedestrian density data D2 with a preset area pedestrian density data threshold D1. When D2 is within the range of D1, the spraying frequency does not need to be adjusted based on the pedestrian density data, but is adjusted based on the ambient temperature and humidity data. When D2 is not within the range of D1, the spraying frequency is adjusted based on the pedestrian density data. The server uses the formula F1*[1+K] to adjust the spraying frequency. D *(D2-D1)】Generates the actual spraying frequency F2, where F1 is the preset base spraying frequency, K D This is the frequency adjustment coefficient; and the generated actual spraying frequency F2 is sent to the control module of the fragrance device.
4. The fragrance device according to any one of claims 1-3, characterized in that: The data transmission module sends the environmental parameters to the server in a fragmented transmission and breakpoint resume manner; The data transmission module includes a data encryption unit, a data compression unit, and a communication unit; the data encryption unit uses an encryption algorithm to encrypt the received environmental parameters; the data compression unit uses a compression algorithm to compress the environmental parameters; and the communication unit is used to enable communication between the control module and the server.
5. The fragrance device according to claim 2 or 3, characterized in that: The fragrance device also includes a liquid level detection device, which is used to detect the actual liquid level data L2 of the fragrance liquid in real time and send the actual liquid level data L2 to the server through a data transmission module. The server compares the received actual liquid level data L2 with a preset liquid level threshold L1. When L2 > L1, the server adjusts the atomization amount only according to environmental parameters. When L2 ≤ L1, the server adjusts the atomization amount only according to the liquid level data of the fragrance liquid. The server generates the atomization amount Q3 in the low liquid level mode using the formula Q2*R, where R is the intensity reduction coefficient. The generated atomization amount Q3 is then sent to the control module of the fragrance device. Alternatively, the fragrance device may further include a liquid level detection device, which is used to detect the actual liquid level data L2 of the fragrance liquid in real time and send the actual liquid level data L2 to the server through a data transmission module; the server compares the received actual liquid level data L2 with a preset liquid level threshold L1; when L2 > L1, the server adjusts the spraying frequency only according to environmental parameters; when L2 ≤ L1, the server adjusts the spraying frequency only according to the liquid level data of the fragrance liquid, and the server generates the spraying frequency F3 in the low liquid level mode using the formula F2*R, where R is the intensity reduction coefficient; and sends the generated spraying frequency F3 to the control execution module of the fragrance device.
6. The fragrance device according to claim 5, characterized in that: The fragrance device also includes a liquid storage bottle connected to the atomizing device. The liquid storage bottle is made of insulating material. The liquid level detection device includes a liquid level detection electrode, a reference electrode, and a control module electrically connected to the liquid level detection electrode and the reference electrode. The liquid level detection electrode and the reference electrode are disposed on the outer wall of the liquid storage bottle or located outside the liquid storage bottle and spaced apart from the outer wall of the liquid storage bottle. The liquid level detection electrode extends along the liquid level height direction. At least one reference electrode is provided and is adjacent to the bottom of the liquid storage bottle. The control module calculates the liquid level height in the liquid storage bottle based on the detection signals of the liquid level detection electrode and the reference electrode.
7. The fragrance device according to claim 6, characterized in that: The fragrance device further includes a housing, with the atomizing device connected to the housing. The housing has a receiving cavity, and the liquid storage bottle is located within the receiving cavity. The liquid level detection electrode and reference electrode are mounted on the inner wall of the receiving cavity. The control module is located within the housing and spaced 0.1mm-20mm from the outer wall of the liquid storage bottle, preferably 1mm-5mm. Alternatively, the liquid storage bottle is detachable from the receiving cavity. The liquid level detection electrode and reference electrode are mounted on the outer wall of the liquid storage bottle, and the control module is located within the housing. The outer wall of the liquid storage bottle also has contacts electrically connected to the liquid level detection electrode and reference electrode. The inner wall of the receiving cavity has contacts electrically connected to the control module. When the liquid storage bottle is placed inside the receiving cavity, the contacts on the liquid storage bottle contact the contacts on the inner wall of the receiving cavity. Alternatively, the fragrance device may further include a housing, with the atomizing device connected to the housing. A main control circuit board is disposed inside the housing, and a receiving cavity is provided on the housing. The liquid storage bottle is located inside the receiving cavity. The fragrance device may also include a liquid level detection circuit board, which is mounted on the outer wall of the liquid storage bottle. The liquid level detection electrode and the reference electrode are connected to the liquid level detection circuit board, and the liquid level detection electrode and the reference electrode are located on the inner side of the liquid level detection circuit board facing the liquid storage bottle. The control module is also mounted on the liquid level detection circuit board, and the liquid level detection circuit board is electrically connected to the main control circuit board.
8. The fragrance device according to any one of claims 1-7, characterized in that: The server can be a local server or a cloud server; when the server is a cloud server, the data transmission module transmits data with the cloud server via an IoT link. Alternatively, the fragrance device may also include a user interaction module, which includes a scenario-based recommendation unit. The scenario-based recommendation unit recommends a fragrance spraying scheme suitable for the current scenario based on the current location and time of the fragrance device. The fragrance spraying scheme includes a morning wake-up mode and an evening relaxation mode.
9. A method for controlling a fragrance device, characterized in that, Includes the following steps; S1. Collect environmental parameters of the environment where the fragrance device is located, including temperature and humidity data, and send the collected environmental parameters to the server; S2. The server generates a dynamic control command to adjust one or more of the following parameters of the fragrance device: atomization amount, spraying frequency, and atomization power, based on the received environmental parameters and preset basic parameters, and sends the dynamic control command to the fragrance device. S3. The fragrance device atomizes and diffuses the fragrance liquid according to the received dynamic control instructions.
10. The control method for the fragrance device according to claim 9, characterized in that... In step S2, the dynamic control command includes the actual atomization amount Q2 generated by the server, the temperature and humidity data includes the actual ambient temperature data T3, and the preset basic parameters include the basic temperature T1. The server compares the received actual ambient temperature data T3 with the basic temperature T1 using the formula Q1*(1+K). T *(T3-T1)) generates the actual atomization amount Q2, where Q1 is the preset base atomization amount, K T This is the temperature influence coefficient; Alternatively, in step S2, the dynamic control command includes the actual atomization power P2 generated by the server, the temperature and humidity data includes the actual ambient temperature data T3, the preset basic parameters include the temperature threshold T2, and the server compares the received actual ambient temperature data T3 with the temperature threshold T2. When T3 > T2, the dynamic control is adjusted using the formula P1*[1-K]. P *(T3-T2)】Generates the actual atomization power P2, where P1 is the preset base atomization power, K P This is the power reduction factor; Alternatively, in step S2, the dynamic control command includes the actual spraying frequency F2 generated by the server, the temperature and humidity data includes the actual ambient humidity data H2, the preset basic parameters include the basic humidity H1, and the server compares the received actual ambient humidity data H2 with the basic humidity H1 using the formula F1*[1-K]. H *(H2-H1)】Generates the actual spraying frequency F2, where F1 is the preset base spraying frequency, K H This represents the humidity influence coefficient.
11. The control method for the fragrance device according to claim 9, characterized in that... In step S1, the environmental parameters also include pedestrian flow data; the pedestrian flow data includes actual pedestrian flow data N2; in step S2, the dynamic control command includes the actual atomization amount Q2 generated by the server, and the preset basic parameters include a pedestrian flow threshold N1. The server compares the received pedestrian flow data N2 with the pedestrian flow threshold N1. When N2 is within the range of N1, there is no need to adjust the atomization amount based on the pedestrian flow, but rather based on the ambient temperature and humidity data; when N2 is not within the range of N1, the atomization amount is adjusted based on the pedestrian flow. The server uses the formula Q1*[1+K] to adjust the atomization amount. N *(N2-N1)】Generates the actual atomization amount Q2, where Q1 is the preset base atomization amount, K N Increase the coefficient to increase the spraying intensity; Alternatively, in step S1, the environmental parameters further include pedestrian flow data, which includes actual regional pedestrian density data D2; in step S2, the dynamic control command includes the actual spraying frequency F2 generated by the server, and the preset basic parameters include the regional pedestrian density data threshold D1. The server compares the received actual regional pedestrian density data D2 with the regional pedestrian density data threshold D1. When D2 is within the range of D1, there is no need to adjust the spraying frequency based on the pedestrian density data, but rather based on the environmental temperature and humidity data; when D2 is not within the range of D1, the spraying frequency is adjusted based on the pedestrian density data. The server uses the formula F1*[1+K] to adjust the spraying frequency. D *(D2-D1)】Generates the actual spraying frequency F2, where F1 is the preset base spraying frequency, K D This is the frequency adjustment coefficient.
12. The control method for the fragrance device according to claim 10 or 11, characterized in that... In step S1, the actual liquid level data L2 of the fragrance liquid in the fragrance device is detected in real time and sent to the server. In step S2, the dynamic control command includes the atomization amount Q3 in the low liquid level mode generated by the server. The preset basic parameters also include the liquid level threshold L1. The server compares the received actual liquid level data L2 with the preset liquid level threshold L1. When L2 > L1, the server adjusts the atomization amount only according to the environmental parameters. When L2 ≤ L1, the server adjusts the atomization amount only according to the liquid level data of the fragrance liquid. The server generates the atomization amount Q3 in the low liquid level mode using the formula Q2*R, where R is the intensity reduction coefficient. Alternatively, in step S1, the actual liquid level data L2 of the fragrance liquid is detected in real time and sent to the server; in step S2, the dynamic control instruction includes the spraying frequency F3 in the low liquid level mode generated by the server, and the preset basic parameter also includes the liquid level threshold L1. The server compares the received actual liquid level data L2 with the preset liquid level threshold L1; when L2 > L1, the server adjusts the spraying frequency only according to the environmental parameters; when L2 ≤ L1, the server adjusts the spraying frequency only according to the liquid level data of the fragrance liquid. The server generates the spraying frequency F3 in the low liquid level mode using the formula F2*R, where R is the intensity reduction coefficient.