A method and system for driving an aromatherapy machine

By adjusting and combining the drive signal frequency and selecting the optimal drive current frequency, the problem of high production cost of 5V aroma diffusers was solved, and efficient atomization of the atomizing plate was achieved.

CN114499269BActive Publication Date: 2025-10-28SHENZHEN INTELTRON INTELLIGENT SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111501970.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-09
Publication Date
2025-10-28
Estimated Expiration
2041-12-09

AI Technical Summary

Technical Problem

The existing 5V aroma diffuser has a high driving frequency, which requires a dedicated MCU driver, increasing production costs.

Method used

By adjusting the main frequency to output different drive signals, a third drive signal is formed. The drive current at different frequencies is compared, and the frequency corresponding to the maximum drive current is selected to drive the atomizing sheet, thereby reducing production costs.

Benefits of technology

This achieves the goal of reducing production costs while ensuring that the atomizing plate operates at the optimal frequency, thereby improving atomization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114499269B_ABST
    Figure CN114499269B_ABST
Patent Text Reader

Abstract

This application relates to the field of household appliances, and more particularly to a method and system for driving an aromatherapy diffuser. The method involves adjusting the output frequency of the main frequency according to requirements, outputting a first driving signal and a second driving signal, and combining the first and second driving signals according to different combination rules to form different third driving signals. A corresponding driving frequency is output based on the third driving signal. Based on the driving frequency, the voltage at the corresponding driving frequency is input to the atomizing circuit to obtain the driving current. The atomizing circuit drives the atomizing plate to atomize the liquid. By comparing the driving current at different driving frequencies, the driving frequency with the maximum driving current is selected. This application uses a common microcontroller to output different frequencies, combining these different frequencies to form several new frequencies forming a frequency range. By detecting the magnitude of the driving current of the atomizing plate at different frequencies, the most suitable operating frequency for the atomizing plate is found within the frequency range.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of household appliances, and in particular to a method and system for driving an aroma diffuser. Background Technology

[0002] As living standards generally improve, people are paying more attention to their quality of life. To improve their living environment, aroma diffusers have emerged in our lives. These diffusers add different essential oils, atomize the oils and water, and spray them out, altering the scent and humidity in the air. Furthermore, the atomized water and essential oils can absorb dust from the air, improving people's quality of life. 5V aroma diffusers are particularly popular with consumers due to their small size, common voltage, and compatibility with mobile phone chargers.

[0003] Among related technologies, 5V aroma diffusers have a relatively high driving frequency, reaching 3MHz. They mainly use a dedicated MCU driver, with an internally integrated independent high-frequency output module to drive the atomizing plate to atomize water and essential oils.

[0004] Regarding the aforementioned technologies, the inventors believe that when selecting an MCU, the output frequency of ordinary chips cannot meet the requirements, so only a dedicated MCU driver can be selected, which increases production costs. Summary of the Invention

[0005] To reduce production costs, this application provides a method and system for driving an aroma diffuser.

[0006] The technical solution provided in this application is as follows:

[0007] A method for driving an aroma diffuser, wherein the output frequency of the main frequency is adjusted according to the demand, and a first driving signal and a second driving signal are output respectively;

[0008] The first driving signal and the second driving signal are combined according to different combination rules to form different third driving signals;

[0009] The corresponding driving frequency is output according to the third driving signal;

[0010] According to the driving frequency, the voltage at the corresponding driving frequency is input to the atomizing circuit to obtain the driving current. The atomizing circuit is used to drive the atomizing plate to atomize the liquid.

[0011] Compare the drive current at different drive frequencies and select the drive frequency with the maximum drive current.

[0012] Based on the driving frequency corresponding to the maximum driving current, a driving voltage corresponding to the maximum driving current is input to the atomizing circuit so that the atomizing plate atomizes the liquid at the optimal driving frequency and driving voltage.

[0013] By adopting the above technical solution, when driving the aroma diffuser, the output frequency of the main frequency is adjusted to output the first driving signal and the second driving signal respectively. The first driving signal and the second driving signal are combined according to different combination rules to obtain the third driving signal. The third driving signal is output as the driving frequency, and the voltage corresponding to the driving frequency is input into the atomizing circuit. The atomizing circuit is connected to an atomizing plate. The atomizing plate vibrates when the AC voltage is input, atomizing the liquid. When the atomizing circuit drives the atomizing plate, it generates a driving current. The magnitude of the driving current generated at different driving frequencies is different. The driving current generated within the output frequency range is compared to obtain the maximum driving current. The driving frequency corresponding to the maximum driving current is input into the atomizing circuit to drive the atomizing plate to work, which increases the range of selectable chips. The chips combine the waveforms output per unit time to obtain new frequencies suitable for the requirements, reducing production costs.

[0014] Optionally, adjusting the output frequency of the main frequency according to requirements and outputting the first drive signal and the second drive signal respectively includes:

[0015] Adjust the duration of the high and low levels of the main frequency according to requirements and output accordingly;

[0016] Different first drive signals and second drive signals are output according to different low levels and high levels.

[0017] By adopting the above technical solution, the duration of the high and low levels of the main frequency output is extended to obtain a new frequency. Depending on the extension time, several new frequencies can be obtained, and the new frequencies are lower than the main frequency. The first new frequency output is the first driving signal, and the second new frequency is the second driving signal.

[0018] Optionally, the step of combining the first driving signal and the second driving signal according to different combination rules to form different third driving signals includes:

[0019] Set the combination rule as a quantity rule according to the requirements;

[0020] According to the quantity rules, different quantities of the first driving signal and the second driving signal are combined to generate the third driving signal.

[0021] By adopting the above technical solution, waveforms of different frequencies are combined to generate a new waveform. Depending on the number of combinations, the frequency of the new waveform will be limited to a range. The optimal frequency for driving the atomizing plate is within this range. According to the requirements, any frequency lower than the main frequency can be combined to generate a frequency range.

[0022] Optionally, comparing the drive current at different drive frequencies and selecting the drive frequency with the maximum drive current includes:

[0023] Different driving signals of different frequencies are input into the atomizing plate to obtain different driving currents;

[0024] By comparing the magnitudes of the different drive currents, the maximum current is obtained;

[0025] Obtain the driving frequency corresponding to the maximum current.

[0026] By adopting the above technical solution, after controlling the frequency range to be near the vibration frequency range of the atomizing plate, the voltage value of the generated frequency is input to the atomizing circuit to generate a driving current. The driving current values ​​generated at different frequencies are also different. The generated driving currents are compared to obtain the maximum driving current value, and the driving frequency corresponding to the maximum driving current is obtained as the input frequency for the operation of the atomizing plate.

[0027] Optionally, after obtaining the corresponding driving frequency based on the maximum value of the driving current, the process includes:

[0028] Send a water tank pulse control signal to the water detection circuit;

[0029] Determine whether the water detection circuit returns a voltage signal;

[0030] If so, the atomizing circuit will be de-energized, and it will be determined that there is no liquid in the water tank;

[0031] If not, the atomizing circuit continues to operate to determine if there is liquid in the water tank.

[0032] By adopting the above technical solution, after the atomizer starts working, in order to prevent the atomizing plate from vibrating and damaging the atomizing plate due to the lack of water in the water tank, the water in the water tank is detected. A pulse signal is input to one end of the water detection circuit. If a voltage signal is detected at the other end of the water detection circuit, there is no liquid in the water tank, and the atomizing circuit is powered off. If no voltage signal is detected, there is liquid in the water tank, and the operation continues.

[0033] Optionally, based on the maximum value of the comparison result, the driving frequency corresponding to the maximum value is selected and input into the atomizing circuit, including:

[0034] Send blue, red, and green control signals to the RGB control circuit respectively;

[0035] The RGB control circuit uses blue, red, and green control signals to make the RGB lights emit different colors of light.

[0036] By adopting the above technical solution, after the aroma diffuser is working normally, the chip sends out blue, red and green control signals. These three control signals control the RGB lights to emit light. Different colors of light are formed by combining the brightness of the three primary colors of red, yellow and blue. The brightness of the three primary colors of red, yellow and blue lights is adjusted according to the different brightness levels.

[0037] Optionally, after selecting the driving frequency corresponding to the maximum value of the comparison result and inputting it into the atomizing circuit, the following can be included:

[0038] Send fan current to the fan drive circuit;

[0039] The fan is controlled to start based on the fan current, and the fan is used to blow out the atomized liquid.

[0040] By adopting the above technical solution, the chip emits a driving current. When the driving current is input, the fan starts and blows out the atomized liquid. The entire process is controlled by the chip and works in conjunction with die cutting.

[0041] Optionally, controlling the fan to start based on the drive current includes:

[0042] The operating state of the transistor is controlled based on the fan current.

[0043] When the transistor is in the off state, the fan stops rotating;

[0044] The fan starts when the transistor is in saturation.

[0045] By adopting the above technical solution, the chip outputs drive currents of different magnitudes. The drive current flows through the base of the transistor. When the fan current is less than the cutoff current, the fan stops. When the fan current is greater than or equal to the saturation current, the fan starts working.

[0046] An aroma diffuser drive system includes a signal module for outputting a first drive signal and a second drive signal respectively;

[0047] The adjustment module is used to combine the first driving signal and the second driving signal according to different combination rules to form different third driving signals;

[0048] The output module is used to output the corresponding driving frequency according to the third driving signal;

[0049] The test module is used to input the voltage at the corresponding driving frequency into the atomization circuit to obtain the driving current;

[0050] The comparison module is used to compare the drive current at different drive frequencies and select the drive frequency with the maximum drive current.

[0051] The execution module is used to select the driving frequency corresponding to the maximum value of the driving current and input the driving voltage corresponding to the maximum value of the driving current into the atomizing circuit.

[0052] By adopting the above technical solution, a first driving signal and a second driving signal are output. Different quantities of the first driving signal and the second driving signal are combined to obtain a third driving signal. The corresponding driving frequency is output according to the third driving signal. The voltage corresponding to the driving frequency is input to the atomizing circuit, and the driving current value is obtained. The driving current values ​​generated by the voltage input to the atomizing circuit at different frequencies are compared, and the maximum value of the driving current is selected. The driving frequency with the maximum value of the driving current is selected, and the voltage corresponding to the driving frequency with the maximum driving current is input to the atomizing circuit as the working frequency of the atomizing sheet. This increases the range of selectable chips. The chips can combine the waveforms output per unit time to obtain new frequencies that meet the requirements, thereby reducing production costs.

[0053] Optionally, the adjustment module includes an MCU chip, which sets a quantity combination rule and combines different quantities of the first driving signal and the second driving signal to generate a third driving signal according to the quantity rule.

[0054] By adopting the above technical solution, the MCU chip combines different numbers of first driving signals and different numbers of second driving signals to obtain a third driving signal, which is used to input the atomizing circuit to drive the atomizing plate to vibrate.

[0055] In summary, this application includes at least one of the following beneficial technical effects:

[0056] When driving the aroma diffuser, the main frequency output is adjusted to output the first and second driving signals respectively. The first and second driving signals are combined according to different combination rules to obtain the third driving signal. The third driving signal is output as the driving frequency, and the voltage corresponding to the driving frequency is input into the atomizing circuit. The atomizing circuit is connected to an atomizing plate. The atomizing plate vibrates when the AC voltage is input, atomizing the liquid. When the atomizing circuit drives the atomizing plate, it generates a driving current. The magnitude of the driving current generated at different driving frequencies is different. The driving current generated within the output frequency range is compared to obtain the maximum driving current. The driving frequency corresponding to the maximum driving current is input into the atomizing circuit to drive the atomizing plate. This increases the range of selectable chips. The chips combine the waveforms output per unit time to obtain new frequencies suitable for the requirements, reducing production costs. Attached Figure Description

[0057] Figure 1 This is a schematic flowchart of a method for driving an aroma diffuser according to an embodiment of this application;

[0058] Figure 2This is a schematic diagram of the atomization circuit according to an embodiment of this application;

[0059] Figure 3 This is a schematic diagram of the pinout of the microcontroller chip in an embodiment of this application;

[0060] Figure 4 This is a flowchart illustrating step S100 of a method for driving an aroma diffuser according to an embodiment of this application.

[0061] Figure 5 This is a flowchart illustrating step S110 of a method for driving an aroma diffuser according to an embodiment of this application.

[0062] Figure 6 This is a flowchart illustrating step S140 of a method for driving an aroma diffuser according to an embodiment of this application.

[0063] Figure 7 This is a flowchart illustrating the process after step S150 of a method for driving an aroma diffuser according to an embodiment of this application.

[0064] Figure 8 This is a schematic diagram of the water detection circuit in an embodiment of this application;

[0065] Figure 9 This is a schematic diagram of another process after step S150 in a method for driving an aroma diffuser according to an embodiment of this application;

[0066] Figure 10 This is a schematic diagram of the RGB lamp control circuit according to an embodiment of this application;

[0067] Figure 11 This is a schematic diagram of the process after step S150 of a method for driving an aroma diffuser according to an embodiment of this application.

[0068] Figure 12 This is a schematic diagram of the fan drive circuit according to an embodiment of this application;

[0069] Figure 13 This is a flowchart illustrating step S710 of a method for driving an aroma diffuser according to an embodiment of this application.

[0070] Figure 14 This is a schematic diagram of the switching circuit according to an embodiment of this application;

[0071] Figure 15 This is a system block diagram of an aroma diffuser drive system according to an embodiment of this application.

[0072] Explanation of reference numerals in the attached diagram: 1. Signal module; 2. Adjustment module; 3. Output module; 4. Test module; 5. Comparison module; 6. Execution module. Detailed Implementation

[0073] The following is in conjunction with the appendix Figure 1-15This application is described in further detail.

[0074] This application discloses a method for driving an aroma diffuser, referring to... Figure 1 and Figure 2 ,include:

[0075] S100: Adjust the output frequency of the main frequency according to the requirements, and output the first drive signal and the second drive signal respectively.

[0076] The main frequency is the operating frequency that the microcontroller can provide. The main frequency can be changed according to the requirements. In this embodiment, the microcontroller frequency is set to 20MHz.

[0077] S110. Combine the first driving signal and the second driving signal according to different combination rules to form different third driving signals;

[0078] Among them, the first driving signal, the second driving signal and the third driving signal are all frequency signals. The first driving signal and the second driving signal are signals close to the working frequency of the aroma diffuser. Since the optimal working frequency of the atomizing plate during production has a certain amplitude, the first driving signal and the second driving signal are combined to form several third driving signals, so that the working frequency of the aroma diffuser is within the frequency range composed of several third driving signals.

[0079] S120: Output the corresponding drive frequency according to the third drive signal.

[0080] Among them, the driving frequency is the frequency at which the aroma diffuser is driven to work.

[0081] S130. Based on the driving frequency, the voltage at the corresponding driving frequency is input into the atomizing circuit to obtain the driving current. The atomizing circuit is used to drive the atomizing plate to atomize the liquid.

[0082] Among them, reference Figure 2The diagram shows the pinout of the microcontroller chip. Pin 12 of the microcontroller outputs the drive frequency signal. One end of the atomizing circuit is connected to pin 12 of the microcontroller. A protection resistor R6 is connected in series with pin 12. A diode is connected in parallel with R6. The anode of the diode is connected to a transistor and is in series with the base of the transistor. The cathode of the diode is connected to pin 12 of the microcontroller. A power-dissipating resistor R9 is connected in series with the cathode of the diode. The other end of R9 is grounded. The other end of R6 is connected in series with the base of the transistor. The collector of the transistor is connected to the primary winding of the transformer. The other end of the primary winding is connected to... The positive terminal of the power supply is connected to the secondary side of the transformer, where a filter capacitor C7 is connected. The other end of C7 is connected to an atomizing plate, and the other end of the atomizing plate is connected to sampling resistors R10 and R11. R10 and R11 are connected in parallel, and the other ends of R10 and R11 are grounded. A potential difference is formed between the end of R10 and R11 connected to the atomizing plate and ground. This potential difference is applied to the sampling resistor R7 to form a driving current. The other end of R7 is connected to pin 9 of the microcontroller. Pin 9 is used to collect the driving current value of the atomizing plate. Pin 9 is connected to capacitor C9, which is a voltage regulator capacitor.

[0083] S140. Compare the drive current at different drive frequencies and select the drive frequency with the maximum drive current.

[0084] S150. Based on the driving frequency of the maximum driving current, input the driving voltage corresponding to the maximum driving current to the atomizing circuit so that the atomizing plate atomizes the liquid at the optimal driving frequency and driving voltage.

[0085] When the driving voltage is input to the atomizing circuit, the frequency of the atomizing circuit is the same as the frequency of the driving voltage. The atomizing plate is connected in the atomizing circuit. When the atomizing plate is input with AC voltage, it will resonate at a high frequency, breaking up the molecular structure of the liquid and atomizing it.

[0086] The implementation principle of the aroma diffuser driving method in this application embodiment is as follows: the microcontroller generates a first driving signal and a second driving signal at different frequencies, and generates a third driving signal by combining the first driving signal and the second driving signal according to different combination rules. The third driving signal is output as the driving frequency. The driving frequencies of different frequencies are respectively input into the atomizing circuit to generate different driving currents. The obtained driving current signals are compared and the maximum value of the driving current is selected. The microcontroller outputs the driving frequency corresponding to the maximum value of the driving current. The voltage corresponding to the driving frequency is input into the atomizing circuit, and the atomizing plate vibrates to destroy the water molecule structure and atomize the water.

[0087] Reference Figure 4 The main frequency is adjusted according to requirements to output the first drive signal and the second drive signal respectively, including:

[0088] S200: Adjust the duration of the high and low levels of the main frequency according to requirements and output accordingly.

[0089] In this embodiment, the microcontroller's frequency is 20MHz, the atomizing plate commonly used in 5V aroma diffusers has a frequency of 3MHz, the microcontroller's I / O port outputs a high level for 0.05μs, and after the high level ends, the high level output of the microcontroller's I / O port is changed to a low level. The output frequency is 1 / (0.05+0.05)μs=10MHz. If the output time of the high level and the low level are extended by the same amount of time, such as setting the output time of the high level of the microcontroller IO to 0.1μs, the output frequency becomes 5MHz.

[0090] In this embodiment, when the high-level output time of the microcontroller is set to... The output frequency is 3.3MHz, and the output time is set to... The output frequency is 2.5MHz, while the commonly used frequency of the atomizing plate is close to 3MHz, and the driving frequency fluctuates between 2.9MHz and 3.2MHz.

[0091] S210: Outputs different first drive signals and second drive signals according to different low and high levels.

[0092] Among them, the frequencies of 2.5MHz and 3.3MHz are closer to the frequencies of the atomizing plate. The 2.5MHz frequency is output as the first driving signal, and the 3.3MHz frequency is output as the second driving signal.

[0093] Reference Figure 5 To make the frequency of the signal driving the atomizing plate more suitable for the atomizing plate, even if the frequency of the third driving signal is closer to the driving frequency of the atomizing plate than the frequencies of the first and second driving signals, the first and second driving signals are combined according to different combination rules to form different third driving signals, including:

[0094] S300, Set the combination rule to a quantity rule according to the requirements.

[0095] The quantity rule refers to the number of the first drive signal and the number of the second drive signal output. In other embodiments, the combination rule can be the arrangement rule of the first drive signal and the second drive signal.

[0096] S310. According to the quantity rules, combine different quantities of the first driving signal and the second driving signal to generate the third driving signal.

[0097] In this embodiment, for example, the output frequency of the first driving signal is 2.5MHz, the output frequency of the second driving signal is 3.3MHz, and a total of 20 sets of the first and second driving signals are selected. Combining 8 sets of the first driving signal and 13 sets of the second driving signal results in an average frequency of 2.82MHz for the third driving signal. Combining 9 sets of the first driving signal and 11 sets of the second driving signal results in an average frequency of 2.86MHz for the third driving signal. Combining 10 sets of the first driving signal and 10 sets of the second driving signal results in an average frequency of 2.9MHz for the third driving signal. Combining 18 sets of the first driving signal and 2 sets of the second driving signal results in an average frequency of 3.22MHz for the third driving signal. Therefore, the frequency range of the third driving signal is between 2.82MHz and 3.22MHz. The commonly used frequency of the atomizing plate is between 2.9MHz and 3.2MHz, which is within the range of the third driving signal.

[0098] The implementation principle of this application embodiment, which adjusts the output frequency of the main frequency according to the requirements and outputs the first driving signal and the second driving signal respectively, is as follows: by using the different times of one instruction cycle output by the microcontroller's IO port, the high level is changed to a low level at the end of one instruction cycle to adjust the different output frequencies.

[0099] Reference Figure 6 Compare the drive current at different drive frequencies and select the drive frequency with the maximum drive current, including:

[0100] S400: Inputting third driving signals of different frequencies into the atomizing plate to obtain different driving currents.

[0101] Specifically, the voltage corresponding to the third driving signal is input into the atomizing circuit from low frequency to high frequency, and different driving signals at different frequencies produce different driving currents.

[0102] S410: Compare the magnitudes of different drive currents to obtain the maximum current.

[0103] The process involves subtracting the absolute values ​​of the two drive currents and selecting the one with the larger value. Then, the one with the larger value is compared with the other drive current, and the one with the larger value is selected. This process is repeated until all the currents are compared, and then the drive current with the largest value is selected to obtain the drive frequency corresponding to the largest drive current.

[0104] S420: Obtain the drive frequency corresponding to the maximum current.

[0105] The obtained drive currents are compared, the largest drive current value is selected, and the drive frequency corresponding to the largest drive current is obtained. The drive frequency corresponding to the largest drive current is then input into the atomization circuit.

[0106] The implementation principle of this application embodiment, which compares the driving current at different driving frequencies and selects the driving frequency with the maximum driving current, is as follows: the voltage corresponding to the third driving signal at different frequencies is input into the atomization circuit. The driving current generated by the voltage input to the atomization circuit at different frequencies is different. The obtained driving currents are compared, the maximum value of the driving current is selected, and the voltage corresponding to the driving frequency of the maximum driving current is input into the atomization circuit.

[0107] Reference Figure 7 and Figure 8 After obtaining the corresponding drive frequency based on the maximum drive current, the process includes:

[0108] S500 sends a water tank pulse control signal to the water detection circuit.

[0109] Among them, reference Figure 3 The microcontroller pinout diagram shows a water detection circuit including a protection resistor R1. The other end of R1 is connected to a filter capacitor C1. C1 is connected in series with capacitor C4. The other end of C4 is connected in series with a diode and is connected to the anode of the diode. The cathode of the diode is connected to a protection resistor R3. The other end of R3 is connected to pin 10 of the microcontroller, which is used to acquire voltage signals. A voltage regulator capacitor C2 is connected in series with the end of C1 furthest from R1. The other end of C2 is grounded. C2 is connected in parallel with an atomizing element. One end of the atomizing element is connected in series with C1, and the other end is grounded. An energy storage capacitor C5 is connected in series with the cathode of the diode. The other end of C5 is grounded. An energy dissipation resistor R4 is connected in parallel with C5. One end of R4 is connected in series with the cathode of the diode, and the other end... The circuit is grounded. R4 is connected in parallel with diode D2. The positive terminal of the diode is grounded, and the negative terminal of the diode is connected in series with C4. Pin 11 of the microcontroller is used to send pulse signals. Pin 11 is connected in series with protective resistor R1. When there is no water in the tank, the pulse signal sent by the microcontroller passes through filter capacitor C1 and C4 to charge energy storage capacitor C5. There is a voltage drop across C5. Pin 10 of the microcontroller collects the voltage signal on C5. When there is water in the tank, there are two probes in the tank. One probe is connected in series with C7, and the other probe is grounded. The probes form a path with the liquid as the medium. The pulse passes directly to the ground through the tank. The voltage signal collected by pin 11 is 0. The energy stored in capacitor C5 is consumed through R4.

[0110] S510: Determine whether the water detection circuit returns a voltage signal.

[0111] The system includes two probes inside the water tank. These probes can conduct electricity through the liquid medium to form a circuit. Pin 11 of the microcontroller emits a pulse signal. When there is water in the tank, the pulse signal passes through the water detection circuit and the voltage signal collected on pin 10 of the microcontroller is 0. When there is no water in the tank, pin 10 of the microcontroller collects a voltage signal, and the system uses the voltage signal to determine whether there is water in the tank.

[0112] S520 If so, the atomizing circuit is de-energized, and it is determined that there is no liquid in the water tank.

[0113] S530 If not, the atomizing circuit will continue to work to determine if there is liquid in the water tank.

[0114] When there is no liquid in the water tank, the microcontroller stops sending the drive frequency through pin 12, causing the atomizing plate to stop vibrating. When there is water in the water tank, it continues to work.

[0115] The implementation principle of the water detection circuit in this application embodiment is as follows: When there is no water in the water tank, pin 11 of the microcontroller sends a pulse signal to the water detection circuit. After passing through filter capacitors C1 and C4, the pulse signal is transmitted through the diode to the energy storage capacitor C5 for charging. Pin 10 of the microcontroller collects the voltage signal. When there is water in the water tank, the two probes form a path. After passing through C1, the pulse signal is grounded through the probe. The voltage signal collected by pin 10 of the microcontroller is 0.

[0116] Reference Figure 9 and Figure 10 After selecting the driving frequency corresponding to the maximum value of the comparison results and inputting it into the atomizing circuit, the following steps are taken:

[0117] S600 sends blue, red, and green control signals to the RGB control circuit respectively.

[0118] Among them, reference Figure 3 The diagram shows the pinout of the microcontroller. Pin 6 of the microcontroller emits a red control signal, pin 7 emits a green control signal, and pin 8 emits a blue control signal. These signals control the brightness of the blue, red, and green lights, respectively. A current-limiting resistor R27 is connected in series with pin 8. A power-dissipating resistor R30 is connected in parallel between the base and emitter of the transistor, between R27 and the base. The other end of R27 is connected to transistor Q5 and its base. A protective resistor R13 is connected in series with the collector of the transistor. The other end of R13 is connected in series with the blue light, which is connected to a 5V power supply. Pin 6 of the microcontroller emits a current signal. If the current signal is less than the transistor's cutoff current, the blue light is off; if the current signal is greater than the transistor's saturation current, the blue light is on. The control principle for the green and red lights is exactly the same as that for the blue light. By controlling the brightness of the red, green, and blue lights, various colors of light can be created.

[0119] S610 uses blue, red, and green control signals to make the RGB lights in the RGB control circuit emit different colors of light.

[0120] The implementation principle of RGB light control in this application embodiment is as follows: the red, blue, and green lights control the on / off state of the transistors by the current emitted from the pins of the microcontroller, thereby controlling the brightness of the red, green, and blue lights. By varying the color and number of the lit lights, several colors are formed.

[0121] Reference Figure 11 and Figure 12 Based on the maximum value of the comparison results, the driving frequency corresponding to the maximum value is selected and input into the atomizing circuit, followed by:

[0122] S700 sends fan drive current to the fan drive circuit.

[0123] Among them, reference Figure 3 The schematic diagram of the microcontroller pinout shows that the fan drive circuit includes a protection resistor R8. The other end of R8 is connected to a transistor Q2 and is in series with the base of the transistor. The collector of the transistor is connected to a diode D3 and is connected to the anode of the diode. The cathode of the diode is connected to the power supply. The fan is connected in parallel with the diode D3. A power dissipation resistor R12 is connected in parallel between the base and emitter of the transistor. One end of R12 is grounded, and the other end is connected in series with R8. The current-limiting resistor R8 of the fan drive circuit is connected in series with pin 2 of the microcontroller. After the pin 2 of the microcontroller sends a current signal, it flows into the base of the transistor Q2. When the current value is greater than the saturation current of the transistor, the transistor forms a path to start the fan. When the current value is less than the saturation current of the transistor, the transistor disconnects and the fan is turned off. The current returning from the transistor can be consumed by the power dissipation resistor R12.

[0124] S710: Controls the fan to start based on the fan drive current. The fan is used to blow out atomized liquid.

[0125] The implementation principle of a fan drive circuit in this application embodiment is as follows: the microcontroller sends a current signal and uses the characteristics of the transistor in the cutoff state and saturation state as a switch. When the transistor is in the cutoff state, it is open; when the transistor is in the saturation state, it is closed. The fan is turned on and off by the magnitude of the current sent by pin 2 of the microcontroller.

[0126] Reference Figure 13 Based on the fan current, control the fan to start, including:

[0127] S800 controls the operating state of the transistor based on the fan current.

[0128] S810: When the transistor is in the off state, the fan stops rotating.

[0129] S820: When the transistor is in saturation, the fan starts.

[0130] Specifically, when the fan drive current is less than the transistor's cutoff current, the transistor is turned off and the fan stops rotating; when the fan drive current is greater than the transistor's saturation current, the transistor is turned on and the fan starts.

[0131] Reference Figure 14 The aroma diffuser also includes a switching circuit, which includes a first switch button and a second switch button. One end of the first switch button is grounded and the other end is connected to pin 3 of the microcontroller. One end of the second switch button is grounded and the other end is connected to pin 13 of the microcontroller. Pin 13 of the microcontroller is connected to the second switch button. The first switch button is used to start the aroma diffuser and the second switch button is used to turn off the aroma diffuser.

[0132] The microcontroller's pin 16 is connected to a 5V power supply, pin 1 is grounded, and a filter capacitor C6 is connected in series between pin 1 and pin 16.

[0133] The above embodiments describe in detail a method for driving an aroma diffuser. The following describes a system applied to a method for driving an aroma diffuser.

[0134] Reference Figure 15 An aroma diffuser drive system includes:

[0135] Signal module 1 is used to output the first drive signal and the second drive signal respectively.

[0136] Adjustment module 2 is used to combine the first driving signal and the second driving signal according to different combination rules to form different third driving signals;

[0137] Adjustment module 2 includes:

[0138] The MCU chip sets a number combination rule, and combines different quantities of the first drive signal and the second drive signal to generate the third drive signal according to the number rule.

[0139] Output module 3 is used to output the corresponding drive frequency according to the third drive signal.

[0140] Test module 4 is used to input the voltage at the corresponding driving frequency into the atomization circuit to obtain the driving current.

[0141] Comparison module 5 is used to compare the drive current at different drive frequencies and select the drive frequency with the maximum drive current.

[0142] The execution module 6 is used to select the driving frequency with the maximum value of the driving current and input the driving voltage corresponding to the maximum value of the driving current into the atomizing circuit.

[0143] The implementation principle of the aroma diffuser drive system in this application embodiment is as follows: the signal module 1 sends out a first drive signal and a second drive signal, the MCU chip of the adjustment module 2 combines different numbers of the first drive signal and the second drive signal to form a third drive signal, outputs a drive frequency according to the third drive signal, inputs the voltage corresponding to the drive frequency into the atomizing circuit to drive the atomizing plate to vibrate, and obtains the drive current when the atomizing plate is working under different drive frequencies, compares the drive currents, selects the largest drive current, and then inputs the voltage of the drive frequency corresponding to the maximum value of the drive current into the atomizing circuit as the normal working frequency of the atomizing plate.

[0144] The above are all preferred embodiments of this application, and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the structure, shape and principle of this application should be covered within the scope of protection of this application.

Claims

1. A method for driving an aroma diffuser, characterized in that, include: Adjust the main frequency output frequency according to the demand, and output the first drive signal and the second drive signal respectively; The first driving signal and the second driving signal are combined according to different combination rules to form different third driving signals; The corresponding driving frequency is output according to the third driving signal; According to the driving frequency, the voltage at the corresponding driving frequency is input to the atomizing circuit to obtain the driving current. The atomizing circuit is used to drive the atomizing plate to atomize the liquid. Compare the drive current at different drive frequencies and select the drive frequency with the maximum drive current. Based on the driving frequency of the maximum driving current, a driving voltage corresponding to the maximum driving current is input to the atomizing circuit so that the atomizing plate atomizes the liquid at the driving voltage of the optimal driving frequency. The step of adjusting the output frequency of the main frequency according to demand and outputting the first drive signal and the second drive signal respectively includes: Adjust the duration of the high and low levels of the main frequency according to requirements and output accordingly; Different first drive signals and second drive signals are output according to different low levels and high levels; The step of combining the first driving signal and the second driving signal according to different combination rules to form different third driving signals includes: Set the combination rule as a quantity rule according to the requirements; According to the quantity rules, different quantities of the first driving signal and the second driving signal are combined to generate the third driving signal.

2. The method for driving an aromatherapy diffuser according to claim 1, characterized in that, The step of comparing drive currents at different drive frequencies and selecting the drive frequency with the maximum drive current includes: Different driving signals of different frequencies are input into the atomizing plate to obtain different driving currents; By comparing the magnitudes of the different drive currents, the maximum current is obtained; Obtain the driving frequency corresponding to the maximum current.

3. The method for driving an aroma diffuser according to claim 2, characterized in that, After obtaining the corresponding driving frequency based on the maximum value of the driving current, the process includes: Send a water tank pulse control signal to the water detection circuit; Determine whether the water detection circuit returns a voltage signal; If so, the atomizing circuit will be de-energized, and it will be determined that there is no liquid in the water tank; If not, the atomizing circuit continues to operate to determine if there is liquid in the water tank.

4. The method for driving an aromatherapy diffuser according to claim 2, characterized in that, Based on the maximum value of the comparison results, the driving frequency corresponding to the maximum value is selected and input into the atomizing circuit, including: Send blue, red, and green control signals to the RGB control circuit respectively; The RGB control circuit uses blue, red, and green control signals to make the RGB lights emit different colors of light.

5. The method for driving an aromatherapy diffuser according to claim 2, characterized in that: Based on the maximum value of the comparison results, the driving frequency corresponding to the maximum value is selected and input into the atomizing circuit, which then includes: Send fan drive current to the fan drive circuit; The fan is controlled to start according to the fan drive current, and the fan is used to blow out the atomized liquid.

6. The method for driving an aromatherapy diffuser according to claim 5, characterized in that, The step of controlling the fan to start based on the fan current includes: The operating state of the transistor is controlled based on the fan current. When the transistor is in the off state, the fan stops rotating; The fan starts when the transistor is in saturation.

7. An aroma diffuser drive system, characterized in that: include: Signal module 1 is used to adjust the output frequency of the main frequency according to the requirements and output the first drive signal and the second drive signal respectively; Adjustment module 2 is used to combine the first driving signal and the second driving signal according to different combination rules to form different third driving signals; Output module 3 is used to output a corresponding driving frequency according to the third driving signal; Test module 4 is used to input the voltage at the corresponding driving frequency into the atomizing circuit to obtain the driving current. The atomizing circuit is used to drive the atomizing plate to atomize the liquid. Comparison module 5 is used to compare the drive current at different drive frequencies and select the drive frequency with the maximum drive current. The execution module 6 is used to select the driving frequency of the maximum value of the driving current and input the driving voltage corresponding to the maximum value of the driving current to the atomizing circuit so that the atomizing plate atomizes the liquid at the driving voltage of the optimal driving frequency. The adjustment module 2 includes: The MCU chip sets a number combination rule, and combines different quantities of the first driving signal and the second driving signal to generate a third driving signal according to the number rule; The step of adjusting the output frequency of the main frequency according to demand and outputting the first drive signal and the second drive signal respectively includes: Adjust the duration of the high and low levels of the main frequency according to requirements and output accordingly; Different first drive signals and second drive signals are output according to different low levels and high levels.

Citation Information

Patent Citations

  • Multifrequency simultaneously-driving ultrasonic generator and realization method thereof

    CN102350409A

  • Take frequency tracking's atomizing piece drive circuit

    CN208353199U