Disclosure of Invention
In view of this, the embodiment of the present application provides a liquid shortage protection circuit for an ultrasonic atomizer and a liquid shortage control method, so as to solve the problems of high cost and complex structure of a liquid shortage protection device for an ultrasonic atomizer in the prior art.
The first aspect of the embodiment of the application provides an ultrasonic nebulizer lacks liquid protection circuit, includes: the device comprises a coupling module, a control module, a voltage transformation module and a detection module;
the coupling module is connected with the PWM sending device and the control module and is used for transmitting the pulse signal sent by the PWM sending device to the control module;
the control module is connected with the voltage transformation module and is used for controlling the input frequency of the input power supply of the voltage transformation module;
the voltage transformation module is connected with the detection module and is used for providing input voltage for the detection module, wherein the input voltage is first voltage when the ultrasonic atomizer is in a liquid shortage state, the input voltage is second voltage when the ultrasonic atomizer is not in the liquid shortage state, and the first voltage is greater than the second voltage;
the detection module is used for linearly converting the input voltage into a detection signal and outputting the detection signal to a detection device, so that the detection device judges whether the ultrasonic atomizer is in liquid shortage or not according to the detection signal.
Optionally, the coupling module includes a first capacitor, a first end of the first capacitor is connected to the output end of the PWM transmitting apparatus, and a second end of the first capacitor is connected to the control module.
Optionally, the control module includes a transistor, a first end of the transistor is connected to the output end of the coupling module, a second end of the transistor is connected to the voltage transformation module, and a third end of the transistor is grounded.
Optionally, the voltage transformation module includes an input end and an output end, the input end is connected to the control module and the stable power supply, and the output end is connected to the detection module.
The optional transformation module comprises a first transformation unit and a second transformation unit;
the first voltage transformation unit comprises a transformer, the primary side of the transformer is connected with the input end of the voltage transformation module, a stable power supply is input, the transformer boosts the stable power supply, the secondary side of the transformer outputs a third voltage, the voltage value of the third voltage is higher than a first preset value, and the frequency of the third voltage is higher than a second preset value;
the second transformation unit comprises an inductor, a piezoelectric ceramic piece and a second capacitor;
the first end of the inductor is connected with the first output end of the transformer, and the second end of the inductor is connected with the piezoelectric ceramic piece;
the first end of the second capacitor is connected with the second output end of the transformer, and the second end of the second capacitor, the second end of the piezoelectric ceramic piece and the output end of the transformer are connected.
Optionally, the detection module includes an input end and an output end;
the detection module comprises a third capacitor, a fourth capacitor, a first diode, a second diode, a first resistor and a second resistor;
the first end of the third capacitor is connected with the input end of the detection module, and the second end of the third capacitor is connected with the cathode of the first diode and the anode of the second diode;
the cathode of the second diode is connected with the first end of the first resistor and the first end of the fourth capacitor;
the second end of the first resistor and the first end of the second resistor are connected with the output end of the detection module;
the anode of the first diode, the second end of the fourth resistor and the second end of the second resistor are grounded.
Optionally, the method further includes: a third resistor;
and the first end of the third resistor is connected with the second end of the first capacitor, and the second end of the third resistor is grounded.
A second aspect of the embodiments of the present application provides an ultrasonic atomizer, including a PWM sending device, an ultrasonic atomizer liquid shortage protection circuit according to the first aspect of the embodiments of the present application, and a detecting device;
the PWM sending device is used for sending PWM pulse signals to the ultrasonic atomizer liquid shortage protection circuit;
the ultrasonic atomizer liquid shortage protection circuit is used for sending a detection signal to the detection device;
the detection device is used for judging whether the ultrasonic atomizer is in liquid shortage or not according to the detection signal.
The third aspect of the embodiments of the present application provides a liquid shortage control method for an ultrasonic atomizer, which is applied to the ultrasonic atomizer according to the second aspect of the embodiments of the present application, and includes:
when the ultrasonic atomizer is in an atomization output state, starting the PWM sending device;
the PWM sending device sends PWM pulse signals to the ultrasonic atomizer liquid shortage protection circuit sending device;
after a first preset time interval, the detection device receives a detection signal sent by the liquid shortage protection circuit of the ultrasonic atomizer;
the detection device performs analog-to-digital conversion on the detection signal to obtain a voltage value corresponding to the detection signal;
and judging whether the voltage value exceeds a third preset value, if so, determining that the ultrasonic atomizer is in a liquid-deficient state, and if the voltage value is equal to the third preset value, determining that the ultrasonic atomizer is in a normal state.
Optionally, the method further includes:
if the ultrasonic atomizer is in a liquid shortage state, the detection device judges whether the time of the ultrasonic atomizer in the liquid shortage state exceeds second preset time, if so, the PWM sending device is instructed to stop sending PWM pulse signals, and sound and light alarm prompt is started;
if the ultrasonic atomizer is in a normal state, the detection device judges whether the time that the ultrasonic atomizer is in the normal state exceeds a third preset time, and if so, the detection device instructs the PWM sending device to stop sending PWM pulse signals and sets the ultrasonic atomizer to be in a standby state.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: this application shows this characteristic of different characteristic impedance value through piezoceramics piece at ultrasonic atomizer starved solution and not starved two kinds of states, and to two kinds of states, ultrasonic atomizer starved solution protection circuit output different voltage values, according to the voltage value of output quick, accurate judgement ultrasonic atomizer whether is in starved solution state to starved solution protection device is with high costs among the prior art, the problem of complicated structure has been solved.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Referring to fig. 1 and fig. 2 together, an embodiment of the present application provides a temperature compensation circuit, including: a coupling module 100, a control module 200, a voltage transformation module 300 and a detection module 400;
the coupling module 100 is connected to the PWM transmitting device and the control module 200, and is configured to transmit a pulse signal transmitted by the PWM (pulse width Modulation) transmitting device to the control module 200;
the control module 200 is connected to the transformer module 300 and is configured to control an input frequency of a power input from the transformer module 300;
the voltage transformation module 300 is connected to the detection module 400, and is configured to provide an input voltage to the detection module 400, where the input voltage is a first voltage when the ultrasonic atomizer is in a liquid-deficient state, and the input voltage is a second voltage when the ultrasonic atomizer is not in the liquid-deficient state, and the first voltage is greater than the second voltage;
the detection module 400 is configured to linearly convert the input voltage into a detection signal, and output the detection signal to a detection device, so that the detection device determines whether the ultrasonic atomizer is in a liquid shortage state according to the detection signal.
Optionally, as shown in fig. 2, the coupling module 100 includes a first capacitor C1, a first end of the first capacitor is connected to the output end of the PWM transmitting apparatus, and a second end of the first capacitor is connected to the control module.
In the embodiment of the present application, the first capacitor is a coupling capacitor, and the function of the coupling capacitor is to add the previous stage signal to the subsequent stage circuit as lossless as possible, and simultaneously remove the unwanted signal. The first capacitor couples the pulse signal transmitted by the PWM transmission apparatus to the control module 200.
Optionally, as shown in fig. 2, the control module 200 includes a transistor Q1, a first terminal of the transistor is connected to the output terminal of the coupling module, a second terminal of the transistor is connected to the transforming module, and a third terminal of the transistor is grounded.
Pulse width modulation is an analog control mode, and modulates the bias of the base electrode of a transistor according to the change of corresponding load to realize the change of the conduction time of the transistor, thereby realizing the change of the output of a switching voltage-stabilized power supply. This way the output voltage of the power supply can be kept constant when the operating conditions change, which is a very effective technique for controlling an analog circuit by means of the digital signal of the microprocessor. In the embodiment of the application, the control module is a transistor, and the PWM sending device controls the transistor to keep the input voltage of the voltage transformation module constant.
Optionally, with reference to fig. 2, the voltage transformation module 300 includes an input end and an output end, the input end is connected to the control module 200 and the stable power supply, and the output end is connected to the detection module 400, in this embodiment, an input power supply of the voltage transformation module is a +5v power supply.
Optionally, the voltage transformation module 300 includes a first voltage transformation unit and a second voltage transformation unit;
as shown in fig. 2, the first transforming unit includes a transformer T1, a primary of the transformer is connected to an input terminal of the transforming module, a stable power supply is input, the transformer boosts the stable power supply, a secondary of the transformer outputs a third voltage, a voltage value of the third voltage is higher than a first preset value, and a frequency of the third voltage is higher than a second preset value. In the embodiment of the application, the control module drives the primary side of the transformer, and the transformer generates high-frequency oscillation output with the peak voltage larger than 80v at the secondary side.
As shown in fig. 2, the second transforming unit includes an inductor L1, a piezoceramics plate, and a second capacitor C2;
the first end of the inductor is connected with the first output end of the transformer, and the second end of the inductor is connected with the piezoelectric ceramic piece;
the first end of the second capacitor is connected with the second output end of the transformer, and the second end of the second capacitor, the second end of the piezoelectric ceramic piece and the output end of the transformer are connected.
As shown in fig. 2, the secondary of the transformer T1 forms an output loop with the inductor L1, the piezoceramic sheet, and the second capacitor C2. In the embodiment of the present application, YD1 in fig. 2 is a piezoelectric ceramic plate, which is an ultrasonic atomizing plate of an ultrasonic atomizer, the ultrasonic atomizer breaks up a liquid water molecule structure by using electronic high-frequency oscillation to generate naturally flowing water mist, the piezoelectric ceramic plate has a piezoelectric effect, and the two states of liquid and liquid on the surface of the piezoelectric ceramic plate cause the piezoelectric ceramic plate to present different characteristic impedance values in the output loop formed by the secondary of the transformer T1 and the inductor L1, the piezoelectric ceramic plate and the second capacitor C2. When there is liquid on the surface of the piezoelectric ceramic plate, the impedance is large, and the output voltage of the voltage transformation module 300 is small, and when there is no liquid on the surface of the piezoelectric ceramic plate, that is, the ultrasonic atomizer is in a liquid-deficient state, the impedance of the piezoelectric ceramic plate is smaller than that in the liquid state, and at this time, the output voltage of the voltage transformation module 300 is larger.
Optionally, as shown in fig. 2, the detection module 400 includes an input end and an output end;
the detection module 400 comprises a third capacitor C3, a fourth capacitor C4, a first diode D1, a second diode D2, a first resistor R1 and a second resistor R2;
the first end of the third capacitor is connected with the input end of the detection module, and the second end of the third capacitor is connected with the cathode of the first diode and the anode of the second diode;
the cathode of the second diode is connected with the first end of the first resistor and the first end of the fourth capacitor;
the second end of the first resistor and the first end of the second resistor are connected with the output end of the detection module;
the anode of the first diode, the second end of the fourth resistor and the second end of the second resistor are grounded.
The detection module 400 linearly converts the output voltage of the transforming module 300, i.e., the input voltage of the detection module 400, into a lower voltage signal with respect to the output voltage of the transforming module 300 as the detection signal.
Optionally, as shown in fig. 2, the circuit further includes: a third resistor R3;
a first terminal of the third resistor R3 is connected to the second terminal of the first capacitor, and a second terminal of the third resistor is connected to ground.
The embodiment of the application provides an ultrasonic atomization ware lacks liquid protection circuit, lack liquid and do not lack the liquid two kinds of states at ultrasonic atomization ware through piezoceramics piece and demonstrate this characteristic of different characteristic impedance value, to two kinds of states, ultrasonic atomization ware lacks liquid protection circuit output different voltage value, according to the voltage value of output quick, whether accurate judgement ultrasonic atomization ware is in the state of lacking liquid to the problem that lacks liquid protection device is with high costs among the prior art has been solved, the structure is complicated.
Further, with reference to fig. 3, an embodiment of the present application further provides an ultrasonic atomizer 3, which includes a PWM sending device 31, an ultrasonic atomizer liquid shortage protection circuit 32 shown in fig. 1 and fig. 2, and a detecting device 33;
the PWM sending device 31 is used for sending PWM pulse signals to the liquid shortage protection circuit of the ultrasonic atomizer;
the liquid shortage protection circuit 32 of the ultrasonic atomizer is used for sending a detection signal to the detection device;
the detection device 33 is used for judging whether the ultrasonic atomizer is in liquid shortage or not according to the detection signal.
The embodiment of the application provides an ultrasonic atomizer, lack liquid and do not lack the liquid two kinds of states at ultrasonic atomizer through piezoceramics piece and demonstrate this characteristic of different characteristic impedance value, to two kinds of states, ultrasonic atomizer lacks the voltage value that liquid protection circuit output is different, according to the voltage value of output quick, the accurate ultrasonic atomizer of judgement whether is in the liquid state of lacking to it is with high costs to have solved among the prior art liquid-deficient protection device, the problem that the structure is complicated.
Further, with reference to fig. 4, an embodiment of the present application also provides a liquid shortage control method for an ultrasonic atomizer, where the method is applied to the ultrasonic atomizer shown in fig. 3, and the method includes:
s401, when the ultrasonic atomizer is in an atomization output state, the PWM sending device sends a PWM pulse signal to the liquid shortage protection circuit of the ultrasonic atomizer.
And S402, after a first preset time interval, the detection device receives a detection signal sent by the liquid shortage protection circuit of the ultrasonic atomizer.
Because the liquid shortage protection circuit of the ultrasonic atomizer has a certain time delay from the receiving of the PWM pulse signal to the generation of the detection signal, the detection device receives the detection signal sent by the liquid shortage protection circuit of the ultrasonic atomizer after a first preset time interval, and generally, the first preset time is about 1 second.
And S403, performing analog-to-digital conversion on the detection signal by the detection device to obtain a voltage value corresponding to the detection signal.
S404, judging whether the voltage value exceeds a third preset value, if so, determining that the ultrasonic atomizer is in a liquid shortage state, and if the voltage value is equal to the third preset value, determining that the ultrasonic atomizer is in a normal state.
Due to the piezoelectric effect, the liquid medicine on the surface of the piezoelectric ceramic piece in the liquid shortage protection circuit of the ultrasonic atomizer and the liquid medicine-free state can cause the piezoelectric ceramic piece to present different characteristic impedance values in an output loop. Based on the difference, the detection signal sent by the liquid shortage protection circuit of the ultrasonic atomizer to the detection device is a determined direct-current voltage value. When the liquid is short, the detection signal is larger than the value, when the liquid is not short, the detection signal is equal to the value, the detection device carries out analog-digital conversion on the detection signal, the detection signal is changed into a numerical variable which can be judged by a program, a third preset value is used as a judgment basis, if the voltage value exceeds the third preset value, the ultrasonic atomizer is in a liquid-short state, and if the voltage value is equal to the third preset value, the ultrasonic atomizer is in a normal state. The judgment and treatment of whether the atomizer is in liquid shortage can be realized by monitoring the variable through the process sequence.
Further, in conjunction with fig. 4, the method further includes:
s405, if the ultrasonic atomizer is in a liquid shortage state, the detection device judges whether the time of the ultrasonic atomizer in the liquid shortage state exceeds a second preset time, and if the time of the ultrasonic atomizer in the liquid shortage state exceeds the second preset time, the detection device instructs the PWM sending device to stop sending PWM pulse signals and starts acousto-optic alarm prompt;
s406, if the time that the ultrasonic atomizer is in the liquid shortage state does not exceed the second preset time, or if the ultrasonic atomizer is in the normal state, the detection device judges whether the time that the ultrasonic atomizer is in the normal state exceeds the third preset time, and if the detection device judges that the time that the ultrasonic atomizer is in the normal state exceeds the third preset time, the PWM sending device is instructed to stop sending PWM pulse signals, and the ultrasonic atomizer is set to the standby state.
The embodiment of the invention provides a liquid shortage control method for an ultrasonic atomizer, which is characterized in that a piezoelectric ceramic piece shows different characteristic impedance values in two states of liquid shortage and liquid non-shortage of the ultrasonic atomizer, aiming at the two states, a liquid shortage protection circuit of the ultrasonic atomizer outputs different voltage values, and whether the ultrasonic atomizer is in the liquid shortage state is rapidly and accurately judged according to the output voltage values, so that the problems of high cost and complex structure of a liquid shortage protection device in the prior art are solved.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.