CN114499269A - Aromatherapy machine driving method and system - Google Patents

Aromatherapy machine driving method and system Download PDF

Info

Publication number
CN114499269A
CN114499269A CN202111501970.6A CN202111501970A CN114499269A CN 114499269 A CN114499269 A CN 114499269A CN 202111501970 A CN202111501970 A CN 202111501970A CN 114499269 A CN114499269 A CN 114499269A
Authority
CN
China
Prior art keywords
driving
frequency
signal
current
different
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111501970.6A
Other languages
Chinese (zh)
Inventor
皮峰
董晓勇
唐波
黄冬青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Inteltron Intelligent Science & Technology Co ltd
Original Assignee
Shenzhen Inteltron Intelligent Science & Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Inteltron Intelligent Science & Technology Co ltd filed Critical Shenzhen Inteltron Intelligent Science & Technology Co ltd
Priority to CN202111501970.6A priority Critical patent/CN114499269A/en
Publication of CN114499269A publication Critical patent/CN114499269A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M11/00Power conversion systems not covered by the preceding groups
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61LMETHODS OR APPARATUS FOR STERILISING MATERIALS OR OBJECTS IN GENERAL; DISINFECTION, STERILISATION OR DEODORISATION OF AIR; CHEMICAL ASPECTS OF BANDAGES, DRESSINGS, ABSORBENT PADS OR SURGICAL ARTICLES; MATERIALS FOR BANDAGES, DRESSINGS, ABSORBENT PADS OR SURGICAL ARTICLES
    • A61L9/00Disinfection, sterilisation or deodorisation of air
    • A61L9/14Disinfection, sterilisation or deodorisation of air using sprayed or atomised substances including air-liquid contact processes
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B05SPRAYING OR ATOMISING IN GENERAL; APPLYING FLUENT MATERIALS TO SURFACES, IN GENERAL
    • B05BSPRAYING APPARATUS; ATOMISING APPARATUS; NOZZLES
    • B05B17/00Apparatus for spraying or atomising liquids or other fluent materials, not covered by the preceding groups
    • B05B17/04Apparatus for spraying or atomising liquids or other fluent materials, not covered by the preceding groups operating with special methods
    • B05B17/06Apparatus for spraying or atomising liquids or other fluent materials, not covered by the preceding groups operating with special methods using ultrasonic or other kinds of vibrations
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M3/00Conversion of dc power input into dc power output
    • H02M3/22Conversion of dc power input into dc power output with intermediate conversion into ac
    • H02M3/24Conversion of dc power input into dc power output with intermediate conversion into ac by static converters
    • H02M3/28Conversion of dc power input into dc power output with intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate ac
    • H02M3/325Conversion of dc power input into dc power output with intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate ac using devices of a triode or a transistor type requiring continuous application of a control signal
    • H02M3/335Conversion of dc power input into dc power output with intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate ac using devices of a triode or a transistor type requiring continuous application of a control signal using semiconductor devices only
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02NELECTRIC MACHINES NOT OTHERWISE PROVIDED FOR
    • H02N2/00Electric machines in general using piezoelectric effect, electrostriction or magnetostriction
    • H02N2/0005Electric machines in general using piezoelectric effect, electrostriction or magnetostriction producing non-specific motion; Details common to machines covered by H02N2/02 - H02N2/16
    • H02N2/0075Electrical details, e.g. drive or control circuits or methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Epidemiology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Disinfection, Sterilisation Or Deodorisation Of Air (AREA)

Abstract

The application relates to the field of household appliances, in particular to a champignon machine driving method and a champignon machine driving system, the output frequency of dominant frequency is adjusted according to requirements, a first driving signal and a second driving signal are respectively output, the first driving signal and the second driving signal are respectively combined according to different combination rules to form different third driving signals, corresponding driving frequency is output according to the third driving signals, voltage under the corresponding driving frequency is input into an atomization circuit according to the driving frequency, driving current is obtained, the atomization circuit is used for driving an atomization piece to atomize liquid, the driving current under different driving frequencies is compared, and the driving frequency of the maximum value of the driving current is selected. This application passes through different frequencies of ordinary singlechip output, makes up a plurality of new frequencies that form with different frequencies and constitutes frequency range, through detecting atomizing piece's under the different frequencies drive current's size, finds the operating frequency of the most suitable atomizing piece in frequency range.

Description

Aromatherapy machine driving method and system
Technical Field
The application relates to the field of household appliances, in particular to a method and a system for driving an aromatherapy machine.
Background
With the general improvement of living standard, people begin to pay attention to quality of life. In order to improve living environment, the aromatherapy machine is in our life, the aromatherapy machine atomizes and sprays essential oil and water by adding different essential oils to change the taste and humidity in the air, and the aromatherapy machine atomizes and sprays water and essential oil to adsorb an ash layer in the air, so that the life quality of people is improved.
In the related technology, the 5V aromatherapy machine has high driving frequency reaching 3MHz, is mainly driven by a special MCU, and internally integrates an independent high-frequency output module to drive an atomizing sheet to atomize water and essential oil.
In view of the above related technologies, the inventor believes that, when the MCU is selected, the output frequency of the common chip does not meet the requirement, and only the special MCU can be selected for driving, which increases the production cost.
Disclosure of Invention
In order to reduce the production cost, the application provides a driving method and a driving system of an aromatherapy machine.
The technical scheme provided by the application is as follows:
a driving method of an aromatherapy machine is characterized in that the output frequency of a main frequency is adjusted according to requirements, and a first driving signal and a second driving signal are respectively output;
respectively combining the first driving signal and the second driving signal according to different combination rules to form different third driving signals;
outputting a corresponding driving frequency according to the third driving signal;
inputting voltage under the corresponding driving frequency into an atomization circuit according to the driving frequency to obtain driving current, wherein the atomization circuit is used for driving an atomization sheet to atomize liquid;
comparing the driving currents under different driving frequencies, and selecting the driving frequency of the maximum value of the driving current;
and inputting a driving voltage corresponding to the maximum value of the driving current to the atomization circuit according to the driving frequency of the maximum value of the driving current so that the atomization sheet atomizes the liquid under the driving voltage with the optimal driving frequency.
By adopting the technical scheme, when the aromatherapy machine is driven, the output frequency of the main frequency is adjusted to respectively output a first driving signal and a second driving signal, the first driving signal and the second driving signal are combined according to different combination rules to obtain a third driving signal, the third driving signal is output as the driving frequency, the voltage corresponding to the driving frequency is input into an atomization circuit, the atomization circuit is connected with an atomization sheet, the atomization sheet inputs alternating voltage to vibrate to atomize liquid, the atomization circuit drives the atomization sheet to generate driving current, the driving current generated under different driving frequencies is different in magnitude, the driving current generated in 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 atomization circuit to drive the atomization sheet to work, so that the selectable chip range is enlarged, and the output waveforms in unit time are combined by the chip, can obtain new frequency suitable for the requirement and reduce the production cost.
Optionally, the adjusting the output frequency of the main frequency according to the requirement, and outputting the first driving signal and the second driving signal respectively includes:
adjusting the duration time of the high level and the low level of the main frequency according to the requirement and outputting;
and outputting the first driving signal and the second driving signal which are different according to the low level and the high level which are different.
By adopting the technical scheme, the duration time of the high level and the low level of the main frequency output is prolonged to obtain a new frequency, a plurality of new frequencies can be obtained according to different prolonging times, the new frequencies are lower than the main frequency, the obtained first new frequency output is a first driving signal, and the second new frequency is a second driving signal.
Optionally, the respectively combining the first driving signal and the second driving signal according to different combination rules to form different third driving signals includes:
setting the combination rule as a quantity rule according to requirements;
and combining different numbers of the first driving signals and the second driving signals according to the number rule to generate third driving signals.
By adopting the technical scheme, the waveforms with different frequencies are combined to generate a new waveform, the frequency of the new waveform is limited within a range according to different combination numbers, the optimal frequency for driving the atomizing plate is within the range, and the new waveform can be combined into any frequency lower than the main frequency to generate a frequency range according to requirements.
Optionally, the comparing the driving currents at different driving frequencies and selecting the driving frequency of the maximum driving current includes:
inputting third driving signals with different frequencies into the atomizing sheet to obtain different driving currents;
comparing different driving currents to obtain the maximum current;
and acquiring the driving frequency corresponding to the maximum current.
By adopting the technical scheme, after the frequency range is controlled to be close to the vibration frequency range of the atomizing plate, the voltage value of the generated frequency is input into the atomizing circuit to generate the driving current, the values of the driving currents generated by different frequencies are 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 and is used as the input frequency for the operation of the atomizing plate.
Optionally, after obtaining the corresponding driving frequency according to the driving current with the maximum value, the method includes:
sending a water tank pulse control signal to a water detection circuit;
judging whether the water detection circuit returns a voltage signal or not;
if yes, controlling the atomization circuit to be powered off, and judging that the water tank has no liquid;
if not, the atomization circuit is controlled to continue working, and the liquid in the water tank is judged.
Through adopting above-mentioned technical scheme, atomizing is in the work back, for preventing not having water atomization piece vibration damage atomization piece in the water tank, detects the water in the water tank, to examining water circuit one end input pulse signal, if examine the water circuit other end and detect voltage signal, then there is not liquid in the water tank, control atomization circuit outage, if can not detect voltage signal, then there is liquid in the water tank, continues work.
Optionally, after selecting the driving frequency corresponding to the maximum value to input into the atomization circuit according to the maximum value of the comparison result, including,
respectively sending a blue control signal, a red control signal and a green control signal to the RGB control circuit;
the RGB lamps of the RGB control circuit emit light with different colors through the blue control signal, the red control signal and the green control signal.
By adopting the technical scheme, after the aromatherapy machine works normally, the chip sends out the blue control signal, the red control signal and the green control signal, the three control signals control the red, yellow and blue lamps such as RGB to emit light, the light with different colors is combined according to the brightness of the red, yellow and blue lamps, and the lamps with the three primary colors of red, yellow and blue are adjusted according to the different brightness.
Optionally, after selecting the driving frequency corresponding to the maximum value to be input to the atomization circuit according to the maximum value of the comparison result, the method further includes:
sending out fan current to a fan driving circuit;
and controlling the fan to start according to the fan current, wherein the fan is used for blowing out the atomized liquid.
Through adopting above-mentioned technical scheme, the chip sends drive current, and drive current inputs, and the fan starts to blow off the liquid of atomizing, and is unified by the chip control, cooperation cross cutting.
Optionally, the controlling the fan to start according to the driving current includes:
controlling the working state of the triode according to the fan current;
when the triode is in a cut-off state, the fan stops rotating;
when the triode is in a saturated state, the fan is started.
By adopting the technical scheme, the chip outputs driving currents with different sizes, the driving currents flow through the base electrode of the triode, when the size of the fan current is smaller than the cut-off current, the fan stops, and when the fan current is larger than or equal to the saturation current, the fan works.
A drive system of an aromatherapy machine comprises a signal module, a first driving module and a second driving module, wherein the signal module is used for respectively outputting a first driving signal and a second driving signal;
the adjusting module is used for respectively combining the first driving signal and the second driving signal according to different combination rules to form different third driving signals;
the output module is used for outputting corresponding driving frequency according to the third driving signal;
the test module is used for inputting the voltage under the corresponding driving frequency into the atomization circuit to obtain the driving current;
the comparison module is used for comparing the driving currents under different driving frequencies and selecting the driving frequency of the maximum value of the driving current;
and the execution module is used for selecting the driving frequency of the maximum value of the driving current and inputting the driving voltage corresponding to the maximum value of the driving current to the atomization circuit.
By adopting the technical scheme, the first driving signal and the 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, corresponding driving frequency is output according to the third driving signal, voltage corresponding to the driving frequency is input into the atomization circuit, a driving current value is obtained, the driving current values generated by the voltage input into the atomization circuit under different frequencies are compared, the maximum value of the driving current is selected, the driving frequency of the maximum value of the driving current is selected, the voltage corresponding to the driving frequency corresponding to the maximum driving current is input into the atomization circuit to serve as the working frequency of the atomization sheet, the range of the selectable chip is enlarged, the waveform of the chip in unit time is combined, new frequency suitable for requirements can be obtained, and the production cost is reduced.
Optionally, the adjusting module includes an MCU chip, the MCU chip sets a number combination rule, and combines the first driving signals and the second driving signals of different numbers according to the number rule to generate third driving signals.
By adopting the technical scheme, the MCU chip combines the first drive signals with different quantities and the second drive signals with different quantities to obtain the third drive signal, and the third drive signal is used for inputting the atomization circuit to drive the atomization sheet to vibrate.
In summary, the present application includes at least one of the following beneficial technical effects:
when the aromatherapy machine is driven, adjusting the output frequency of the dominant frequency to respectively output a first driving signal and a second driving signal, combining the first driving signal and the second driving signal according to different combination rules to obtain a third driving signal, outputting the third driving signal as the driving frequency, inputting the voltage corresponding to the driving frequency into an atomization circuit, wherein the atomization circuit is connected with an atomization sheet, inputting alternating voltage into the atomization sheet to vibrate to atomize liquid, generating driving current when the atomization circuit drives the atomization sheet, generating different driving currents under different driving frequencies, comparing the driving currents generated in the output frequency range to obtain the maximum driving current, inputting the driving frequency corresponding to the maximum driving current into the atomization circuit to drive the atomization sheet to work, so that the selectable chip range is enlarged, and the chip combines the waveforms output in unit time, can obtain new frequency suitable for the requirement and reduce the production cost.
Drawings
FIG. 1 is a schematic flow chart of a driving method of an aromatherapy machine according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an atomization circuit in accordance with an embodiment of the present application;
FIG. 3 is a schematic diagram of a pin of a single chip microcomputer chip according to an embodiment of the present application;
fig. 4 is a schematic flow chart of a step S100 of a method for driving an aromatherapy machine according to an embodiment of the present application;
fig. 5 is a schematic flow chart of a step S110 in the aromatherapy machine driving method according to the embodiment of the present application;
fig. 6 is a schematic flow chart of a step S140 in the aromatherapy machine driving method according to the embodiment of the present application;
fig. 7 is a schematic flow chart of the aromatherapy machine driving method according to the embodiment of the present application after a step S150;
FIG. 8 is a schematic diagram of a water detection circuit according to an embodiment of the present application;
fig. 9 is another schematic flow chart of the aromatherapy machine driving method according to the embodiment of the present application after a step S150;
FIG. 10 is a schematic diagram of an RGB lamp control circuit according to an embodiment of the present application;
fig. 11 is a schematic flow chart of the aromatherapy machine driving method according to the embodiment of the present application after a step S150;
FIG. 12 is a schematic diagram of a fan driving circuit according to an embodiment of the present application;
fig. 13 is a schematic flow chart of a step S710 in a method for driving an aromatherapy machine according to an embodiment of the present application;
FIG. 14 is a schematic diagram of a switching circuit according to an embodiment of the present application;
fig. 15 is a system block diagram of a driving system of the aromatherapy machine in the embodiment of the present application.
Description of reference numerals: 1. a signal module; 2. an adjustment module; 3. an output module; 4. a test module; 5. a comparison module; 6. and executing the module.
Detailed Description
The present application is described in further detail below with reference to figures 1-15.
The embodiment of the application discloses a method for driving an aromatherapy machine, which comprises the following steps of with reference to fig. 1 and 2:
s100, adjusting the output frequency of the main frequency according to requirements, and respectively outputting a first driving signal and a second driving signal.
The frequency of the main frequency is the working frequency which can be provided by the single chip microcomputer, the frequency of the main frequency can be changed along with requirements, and in the embodiment, the frequency of the single chip microcomputer is set to be 20M.
S110, respectively combining the first driving signal and the second driving signal according to different combination rules to form different third driving signals;
the first driving signal, the second driving signal and the third driving signal are frequency signals, the first driving signal and the second driving signal are signals close to the working frequency of the aromatherapy machine, and the optimal working frequency of the atomization sheet during production has a certain amplitude, and the first driving signal and the second driving signal are combined to form a plurality of third driving signals, so that the working frequency of the aromatherapy machine is within a frequency range formed by the third driving signals.
And S120, outputting a corresponding driving frequency according to the third driving signal.
Wherein, the driving frequency is the frequency for driving the aromatherapy machine to work.
And S130, inputting the voltage under the corresponding driving frequency into an atomization circuit according to the driving frequency to obtain driving current, wherein the atomization circuit is used for driving an atomization sheet to atomize liquid.
Referring to a pin diagram of a single chip microcomputer chip in fig. 2, a 12 pin of the single chip microcomputer sends a driving frequency signal, one end of an atomization circuit is connected to the 12 pin of the single chip microcomputer, the 12 pin is connected in series with a protective resistor R6, the R6 is connected in parallel with a diode, the anode of the diode is connected with a triode and is connected in series with the base of the triode, the cathode of the diode is connected to the 12 pin of the single chip microcomputer, the cathode of the diode is connected in series with an energy consumption resistor R9, the other end of R9 is grounded, the other end of R6 is connected in series with the base of the triode, the collector of the triode is connected with the primary side of a transformer, the other end of the primary side is connected with the anode of a power supply, the secondary side of the transformer is connected with a filter capacitor C7, the other end of C7 is connected with an atomization sheet, the other end of the atomization sheet is connected with sampling resistors R10 and R11, R10 and R11 which are connected in parallel, the other ends of R3884 are grounded, R10 and R11 are connected with a potential difference with the ground, the potential difference is added on a sampling resistor R7 to form a driving current, the other end of the R7 is connected with a pin 9 of the single chip microcomputer, the pin 9 is used for collecting the driving current value of the atomization piece, the pin 9 is connected with a capacitor C9, and the C9 is a voltage-stabilizing capacitor.
S140, comparing the driving currents under different driving frequencies, and selecting the driving frequency of the maximum value of the driving current.
And S150, inputting a driving voltage corresponding to the maximum value of the driving current into the atomization circuit according to the driving frequency of the maximum value of the driving current so that the atomization sheet atomizes the liquid under the driving voltage with the optimal driving frequency.
After the driving voltage is input into the atomization circuit, the frequency of the atomization circuit is the same as that of the driving voltage, the atomization sheet is connected into the atomization circuit, and high-frequency resonance occurs after the atomization sheet inputs alternating voltage, so that the molecular structure of the liquid is scattered and atomized.
The implementation principle of the aromatherapy machine driving method in the embodiment of the application is as follows: the single chip microcomputer sends out different frequencies to generate a first driving signal and a second driving signal, the first driving signal and the second driving signal generate a third driving signal according to different combination rules, the third driving signal is output as a driving frequency, the driving frequencies with different frequencies are respectively input into the atomization circuit to generate different driving currents, the obtained driving current signals are compared, the maximum value of the driving current is selected, the single chip microcomputer outputs the driving frequency corresponding to the maximum value of the driving current, the voltage corresponding to the driving frequency is input into the atomization circuit, and the atomization sheet vibrates to destroy the water molecule structure to atomize water.
Referring to fig. 4, adjusting the output frequency of the main frequency according to the requirement, and respectively outputting a first driving signal and a second driving signal, includes:
and S200, adjusting the duration time of the high level and the low level of the main frequency according to the requirement and outputting.
In this embodiment, the frequency of the single chip microcomputer is 20M, the frequency of the atomizing plate commonly used in the 5V aromatherapy machine is 3MHz, the time for the IO port of the single chip microcomputer to output the high level is 0.05 μ s, and after the high level, the high level output by the IO port of the single chip microcomputer is changed into the low level according to the principle that the high level is output
Figure RE-539150DEST_PATH_IMAGE001
The output frequency is 1/(0.05 + 0.05) μ s =10MHz, the output time of the high level and the output time of the low level are extended by the same time, and if the output time of the high level of the single chip IO is set to 0.1 μ s, the output frequency becomes 5 MHz.
In this embodiment, when the single-chip microcomputer is set to high level output time
Figure RE-478157DEST_PATH_IMAGE002
The output frequency is 3.3MHz, and the output time is set as
Figure RE-159674DEST_PATH_IMAGE003
The output frequency is 2.5MHz, the common frequency of the atomizing plate is close to 3MHz, and the fluctuation range of the driving frequency is between 2.9MHz and 3.2 MHz.
S210, outputting different first driving signals and second driving signals according to different low levels and high levels.
The frequencies of 2.5MHz and 3.3MHz are the frequencies close to the atomization plate, the frequency of 2.5MHz is output as a first driving signal, and the frequency of 3.3MHz is output as a second driving signal.
Referring to fig. 5, in order to make the frequency of the signal for driving the vibration of the atomization plate more suitable for the atomization plate, even if the frequency of the third driving signal is closer to the driving frequency of the atomization plate than the frequencies of the first driving signal and the second driving signal, the first driving signal and the second driving signal are respectively combined according to different combination rules to form different third driving signals, including:
and S300, setting the combination rule as a quantity rule according to the requirement.
The number rule is the number of the first driving signals and the number of the second driving signals, and in other embodiments, the combination rule may be an arrangement rule of the first driving signals and the second driving signals.
And S310, combining different numbers of first driving signals and second driving signals according to a number rule to generate third driving signals.
In the present 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, 20 groups of the first driving signal and the second driving signal are selected, 8 groups of the first driving signal and 13 groups of the second driving signal are combined, the average frequency of the obtained third driving signal is 2.82MHz, 9 groups of the first driving signal and 11 groups of the second driving signal are combined, the average frequency of the obtained third driving signal is 2.86MHz, 10 groups of the first driving signal and 10 groups of the second driving signal are combined, the average frequency of the obtained third driving signal is 2.9MHz, 18 groups of the first driving signal and 2 groups of the second driving signal are combined, the average frequency of the obtained third driving signal is 3.22MHz, therefore, the frequency range of the third driving signal is between 2.82MHz and 3.22MHz, the frequency of the atomizing sheet is between 2.9MHz and 3.2MHz, within the range of the third drive signal.
The embodiment of the application adjusts the output frequency of the main frequency according to the requirement, and the implementation principle of respectively outputting the first driving signal and the second driving signal is as follows: the high level is changed into the low level at the end of an instruction period to adjust different output frequencies by utilizing the difference of the time of outputting an instruction period by the IO port of the singlechip.
Referring to fig. 6, comparing the driving currents at different driving frequencies, selecting the driving frequency at which the driving current has the maximum value includes:
and S400, inputting third driving signals with different frequencies into the atomizing sheet to obtain different driving currents.
And respectively inputting the voltage corresponding to the third driving signal into the atomization circuit from low frequency to high frequency, wherein the driving signals with different frequencies obtain different driving currents.
And S410, comparing the different driving currents to obtain the maximum current.
The absolute values of the two driving currents are subtracted to select one of the driving currents with a larger current value, the one of the driving currents with the larger current value is compared with the other driving current to select the one of the driving currents with the larger current value, and accordingly, after all the driving currents are compared, the driving current with the largest current value is selected, and the driving frequency corresponding to the largest driving current is obtained.
And S420, acquiring a driving frequency corresponding to the maximum current.
And comparing the obtained driving currents, selecting the maximum driving current value, obtaining the driving frequency corresponding to the maximum driving current, and inputting the driving frequency corresponding to the maximum driving current into the atomization circuit.
In the embodiment of the application, the implementation principle of comparing the driving currents at different driving frequencies and selecting the driving frequency with the maximum value of the driving current is as follows: and inputting voltages corresponding to the third driving signals with different frequencies into the atomization circuit, inputting the voltages with different frequencies into the atomization circuit to generate different driving currents, comparing the obtained driving currents, selecting the maximum value of the driving currents, and inputting the voltage with the driving frequency corresponding to the maximum driving current into the atomization circuit.
Referring to fig. 7 and 8, after acquiring the corresponding driving frequency according to the driving current of the maximum value, the method includes:
and S500, sending a water tank pulse control signal to a water detection circuit.
Referring to a pin schematic diagram of a single chip microcomputer in fig. 3, the water detection circuit includes a protection resistor R1, the other end of R1 is connected with a filter capacitor C1, C1 is connected in series with a capacitor C4, the other end of C4 is connected in series with a diode and connected with the anode of the diode, the cathode of the diode is connected with a protection resistor R3, the other end of R3 is connected with the 10 pin of the single chip microcomputer, the 10 pin is used for collecting voltage signals, one end of C1 far away from R1 is also connected in series with a voltage stabilizing capacitor C2, the other end of C2 is connected with ground C2 in parallel, one end of the atomizing sheet is connected in series with C1, the other end is connected with ground, the cathode of the diode is connected in series with an energy storage capacitor C5, the other end of C5 is connected with ground, C5 is connected in parallel with an energy consumption resistor R4, one end of R4 is connected in series with the cathode of the diode, the other end of R4 is connected with ground, R4 is connected with diode D2 in parallel, the anode of the diode is connected with ground, the cathode of the diode is connected in series with the cathode of the diode is connected with the diode, the cathode of the diode is connected in series with C4, the cathode of the diode is connected with the diode in series, the diode is connected with the cathode of the diode in series and connected with C4, the cathode of the single chip microcomputer 11 is used for sending pulse signals, 11 pin series connection protection resistance R1, under the condition that does not have water in the water tank, pulse signal that the singlechip sent passes behind filter capacitor C1 and C4, it can to fill energy to energy storage capacitor C5, there is the voltage drop at C5 both ends, voltage signal on the C5 is gathered to the 10 pins of singlechip, when having water in the water tank, there are two probes in the water tank, a probe connects C7 in series, another probe ground connection, the probe uses liquid as the medium to form the route, the pulse passes through the direct ground connection of water tank, voltage signal that 11 pins were gathered is 0, the energy that stores on the electric capacity C5 consumes through R4.
And S510, judging whether the water detection circuit returns a voltage signal or not.
Wherein, be equipped with two probes in the water tank, two probes accessible liquid medium electrically conduct forms the route, and 11 pins of singlechip send pulse signal, and when having water in the water tank, pulse signal is 0 through examining water circuit back, and the voltage signal who gathers on the 10 pins of singlechip, when not having water in the water tank, voltage signal is gathered to the 10 pins of singlechip, judges through voltage signal that there is water in the water tank.
And S520, if so, controlling the atomization circuit to be powered off, and judging that the water tank has no liquid.
And S530, if not, controlling the atomization circuit to work continuously, and judging that liquid exists in the water tank.
When no liquid exists in the water tank, the 12 pins of the single chip microcomputer are controlled to stop sending out driving frequency, so that the atomization plate stops vibrating, and when water exists in the water tank, the water tank continues to work.
The implementation principle of the water detection circuit in the embodiment of the application is as follows: when there is not water in the water tank, the 11 pins of singlechip send pulse signal transmission to examining the water circuit, and after pulse signal passed through filter capacitor C1 and C4, the signal transmitted energy storage capacitor C5 through the diode and filled the ability, voltage signal was gathered to the 10 pins of singlechip, and when there was water in the water tank, two probes formed the route, and pulse signal passes through C1 back through probe ground connection, and the voltage signal of the 10 pins collection of singlechip is 0.
Referring to fig. 9 and 10, after the driving frequency corresponding to the maximum value is selected to be inputted to the atomization circuit according to the maximum value of the comparison result, including,
s600, respectively sending a blue control signal, a red control signal and a green control signal to the RGB control circuit.
Referring to a pin schematic diagram of a single chip microcomputer in fig. 3, a pin 6 of the single chip microcomputer sends a red control signal, a pin 7 of the single chip microcomputer sends a green control signal, and a pin 8 of the single chip microcomputer sends a blue control signal, the red control signal, and the green control signal respectively control the brightness of a blue light, a red light, and a green light, the pin 8 of the single chip microcomputer is connected in series with a current limiting resistor R27, an energy dissipation resistor R30 is connected in parallel between the base and the emitter of a triode, R30 is located between R27 and the base, the other end of R27 is connected with a triode Q5 and connected with the base of a triode, the collector of the triode is connected in series with a protection resistor R13, the other end of the protection resistor R13 is connected in series with a blue light, the other end of the blue light is connected with a 5V power supply, the pin 6 of the single chip microcomputer sends a current signal, if the current signal is less than the cutoff current of the triode, the blue light is not bright, if the current signal is greater than the saturation current of the triode, the control principle of the blue light is completely the same as that of the blue light, and the lights with a plurality of colors are combined by controlling the brightness and the non-brightness of the red light, the green light and the red light.
S610, the RGB lamp of the RGB control circuit emits light with different colors through the blue control signal, the red control signal and the green control signal.
The implementation principle of the control of the RGB lamp in the embodiment of the application is as follows: the red light, the blue light and the green light are controlled by controlling the on-off of the triode according to the current sent by the pin of the single chip microcomputer so as to control the red light, the green light and the blue light to be bright or not to be bright, and a plurality of colors are formed by different colors and numbers of the bright lights.
Referring to fig. 11 and 12, after selecting the driving frequency corresponding to the maximum value according to the maximum value of the comparison result and inputting the driving frequency into the atomization circuit, the method further includes:
s700, sending out fan driving current to a fan driving circuit.
Wherein, referring to the pin diagram of the single chip in fig. 3, the fan driving circuit includes a protective resistor R8, the other end of R8 is connected with a triode Q2 and is connected in series with the base of the triode, the collector of the triode is connected with a diode D3 and is connected with the anode of the diode, the cathode of the diode is connected with a power supply, a diode D3 is connected in parallel with a fan, a dissipation resistor R12 is connected in parallel between the base and the emitter of the triode, one end of R12 is grounded, and the other end is connected in series with R8, the 2 pin of the single chip is connected in series with a current limiting resistor R8 of the fan driving circuit, the 2 pin of the single chip sends a current signal and then flows into the base of the triode Q2, when the current value is larger than the saturation current of the triode, the triode forms a passage to start the fan, when the current value is smaller than the saturation current of the triode, the triode is disconnected to turn off the fan, and the current returned from the triode can be consumed through the energy consumption resistor R12.
And S710, controlling the fan to start according to the fan driving current, wherein the fan is used for blowing out the atomized liquid.
The implementation principle of the fan driving circuit in the embodiment of the application is as follows: the single chip microcomputer sends out a current signal, the characteristics of the triode in a cut-off state and a saturation state are used as switches, the triode is switched off in the cut-off state, the triode is switched on in the saturation state, and the opening and closing of the fan are controlled through the current sent out by the pin 2 of the single chip microcomputer.
Referring to fig. 13, controlling the fan to be started according to the fan current includes:
and S800, controlling the working state of the triode according to the fan current.
And S810, stopping the fan when the triode is in a cut-off state.
And S820, when the triode is in a saturated state, starting the fan.
When the fan driving current is larger than the saturation current of the triode, the triode is switched on, and the fan is started.
Referring to fig. 14, the fragrance machine further comprises a switch circuit, the switch circuit comprises a first switch button and a second switch button, one end of the first switch button is grounded, one end of the first switch button is connected with 3 pins of the single chip microcomputer, one end of the second switch button is grounded, one end of the second switch button is connected with 13 pins of the single chip microcomputer, 13 pins of the single chip microcomputer are connected with the second switch button, the first switch button is used for starting the fragrance machine, and the second switch button is used for closing the fragrance machine.
The 16 pins of the single chip microcomputer are connected with a 5V power supply, the 1 pin is grounded, and a filter capacitor C6 is connected between the 1 pin and the 16 pin in series.
The above embodiment describes a driving method of the incense machine in detail, and the following description is made of a system applied to the driving method of the incense machine.
Referring to fig. 15, an aromatherapy machine driving system includes:
the signal module 1 is configured to output a first driving signal and a second driving signal respectively.
The adjusting module 2 is used for respectively combining the first driving signal and the second driving signal according to different combination rules to form different third driving signals;
the conditioning module 2 comprises:
and the MCU chip is provided with quantity combination rules and combines the first drive signals and the second drive signals with different quantities according to the quantity rules to generate third drive signals.
And the output module 3 is used for outputting the corresponding driving frequency according to the third driving signal.
And the test module 4 is used for inputting the voltage under the corresponding driving frequency into the atomization circuit to obtain the driving current.
And the comparison module 5 is used for comparing the driving currents under different driving frequencies and selecting the driving frequency of the maximum value of the driving current.
And the execution module 6 is used for selecting the driving frequency of the maximum value of the driving current and inputting the driving voltage corresponding to the maximum value of the driving current into the atomization circuit.
The implementation principle of the champignon machine driving system in the embodiment of the application is as follows: the signal module 1 sends a first driving signal and a second driving signal, the MCU chip of the adjusting module 2 combines the first driving signal and the second driving signal with different quantities to form a third driving signal, the driving frequency is output according to the third driving signal, the voltage corresponding to the driving frequency is input into the atomization circuit to drive the atomization sheet to vibrate, and the driving current during the working of the atomization sheet is obtained under different driving frequencies, the driving current is compared, the maximum driving current is selected, and then the voltage corresponding to the maximum driving current is input into the atomization circuit to be used as the frequency during the normal working of the atomization sheet.
The above embodiments are preferred embodiments of the present application, and the protection scope of the present application is not limited by the above embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.

Claims (10)

1. A method for driving an aromatherapy machine is characterized by comprising the following steps:
adjusting the output frequency of the main frequency according to the requirement, and respectively outputting a first driving signal and a second driving signal;
respectively combining the first driving signal and the second driving signal according to different combination rules to form different third driving signals;
outputting a corresponding driving frequency according to the third driving signal;
inputting voltage under the corresponding driving frequency into an atomization circuit according to the driving frequency to obtain driving current, wherein the atomization circuit is used for driving an atomization sheet to atomize liquid;
comparing the driving currents under different driving frequencies, and selecting the driving frequency of the maximum value of the driving current;
and inputting a driving voltage corresponding to the maximum value of the driving current to the atomization circuit according to the driving frequency of the maximum value of the driving current so that the atomization sheet atomizes the liquid under the driving voltage with the optimal driving frequency.
2. The driving method of the aromatherapy machine according to claim 1, wherein the adjusting the output frequency of the main frequency according to the requirement to output the first driving signal and the second driving signal respectively comprises:
adjusting the duration time of the high level and the low level of the main frequency according to the requirement and outputting;
and outputting the first driving signal and the second driving signal which are different according to the low level and the high level which are different.
3. The method for driving an aromatherapy machine according to claim 1, wherein: the combining the first driving signal and the second driving signal according to different combination rules to form different third driving signals includes:
setting the combination rule as a quantity rule according to the requirement;
and combining different numbers of the first driving signals and the second driving signals according to the number rule to generate third driving signals.
4. The driving method of the aromatherapy machine according to claim 1, wherein the comparing the driving currents at different driving frequencies and selecting the driving frequency with the maximum driving current comprises:
inputting third driving signals with different frequencies into the atomizing sheet to obtain different driving currents;
comparing different driving currents to obtain the maximum current;
and acquiring the driving frequency corresponding to the maximum current.
5. The driving method of the incense machine according to claim 4, after obtaining the corresponding driving frequency according to the maximum driving current, comprising:
sending a water tank pulse control signal to a water detection circuit;
judging whether the water detection circuit returns a voltage signal or not;
if yes, controlling the atomization circuit to be powered off, and judging that the water tank is free of liquid;
if not, the atomization circuit is controlled to continue working, and the liquid in the water tank is judged.
6. The driving method of aromatherapy machine according to claim 4, wherein, after selecting the driving frequency corresponding to the maximum value according to the maximum value of the comparison result and inputting it into the atomization circuit, comprising,
respectively sending a blue control signal, a red control signal and a green control signal to the RGB control circuit;
the RGB lamps of the RGB control circuit emit light with different colors through the blue control signal, the red control signal and the green control signal.
7. The method for driving an aromatherapy machine according to claim 4, wherein: according to the maximum value of the comparison result, after selecting the driving frequency corresponding to the maximum value and inputting the driving frequency into the atomization circuit, the method further comprises the following steps:
sending out fan driving current to a fan driving circuit;
and controlling the fan to start according to the fan driving current, wherein the fan is used for blowing out the atomized liquid.
8. The method as claimed in claim 7, wherein said controlling the fan to start according to the fan current comprises:
controlling the working state of the triode according to the fan current;
when the triode is in a cut-off state, the fan stops rotating;
when the triode is in a saturated state, the fan is started.
9. The utility model provides a champignon machine actuating system which characterized in that: the method comprises the following steps:
the signal module 1 is used for respectively outputting a first driving signal and a second driving signal;
the adjusting module 2 is configured to combine the first driving signal and the second driving signal according to different combination rules, respectively, to form different third driving signals;
the output module 3 is used for outputting a corresponding driving frequency according to the third driving signal;
the test module 4 is used for inputting the voltage under the corresponding driving frequency into the atomization circuit to obtain the driving current;
the comparison module 5 is used for comparing the driving currents under different driving frequencies and selecting the driving frequency of the maximum value of the driving current;
and the execution module 6 is used for selecting the driving frequency of the maximum value of the driving current and inputting the driving voltage corresponding to the maximum value of the driving current into the atomization circuit.
10. The incense machine driving system according to claim 9, wherein the adjusting module 2 comprises:
and the MCU chip is provided with quantity combination rules and combines the first driving signals and the second driving signals with different quantities according to the quantity rules to generate third driving signals.
CN202111501970.6A 2021-12-09 2021-12-09 Aromatherapy machine driving method and system Pending CN114499269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111501970.6A CN114499269A (en) 2021-12-09 2021-12-09 Aromatherapy machine driving method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111501970.6A CN114499269A (en) 2021-12-09 2021-12-09 Aromatherapy machine driving method and system

Publications (1)

Publication Number Publication Date
CN114499269A true CN114499269A (en) 2022-05-13

Family

ID=81492390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111501970.6A Pending CN114499269A (en) 2021-12-09 2021-12-09 Aromatherapy machine driving method and system

Country Status (1)

Country Link
CN (1) CN114499269A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116726223A (en) * 2023-05-08 2023-09-12 深圳盈特创智能科技有限公司 Intelligent aromatherapy machine control circuit, device and control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116726223A (en) * 2023-05-08 2023-09-12 深圳盈特创智能科技有限公司 Intelligent aromatherapy machine control circuit, device and control method

Similar Documents

Publication Publication Date Title
CN109419035B (en) Electronic cigarette and method for adjusting power of electronic cigarette
CN102958246B (en) The control circuit of light-emitting component
CN114499269A (en) Aromatherapy machine driving method and system
EP3677133A1 (en) Ultrasonic atomization sheet oscillation control circuit and ultrasonic electronic cigarette
US8432660B2 (en) Ion generating unit and lighting apparatus
CA2514206A1 (en) Electrosurgical generator and system
EP1229764A2 (en) Light emitting diode driving circuit
CN1171175A (en) Power amplifier with switching power supply
CN107376064B (en) Atomization device and method for automatically identifying frequency points of different mesh sheets
CN106341921A (en) Light modulation controller, lighting system, and equipment instrument
CN107803282A (en) Voltage bringing device and electric discharge device
CN106549588A (en) The power circuit and television set of television set
CN108988469B (en) Battery circuit, battery device, electronic cigarette and power supply control method
CN113932318A (en) Air conditioner indoor unit and control method, control system and storage medium thereof
CN212261980U (en) Aromatherapy sterilizer for automobile
CN218763779U (en) Atomizing return circuit and humidifying equipment
JP2005126303A (en) Ozone generator
CN221490877U (en) Flame aromatherapy machine control circuit
CN218003946U (en) Humidifier adjusting and controlling circuit and humidifier control panel
CN111617300A (en) Aromatherapy sterilizer for automobile
CN220754659U (en) PFC circuit and household appliance
CN216653051U (en) Atomizer actuating system with adjustable atomizing amount
CN221816439U (en) Driving circuit and atomizer
CN213040724U (en) Humidifier control circuit and humidifier
CN209787046U (en) Atomization sheet drive circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination