A driving circuit for controlling driving output according to deformation sensing
By designing a driving circuit that controls the driving output according to the degenerative sensor, the existing atomization device cannot automatically adjust the output, and the output of the atomizer output is automatically adjusted according to the user's breathing airflow, saving the liquid, and saving liquid. Balanced fog concentration.
Patent Information
- Application Number
- CN202010617440.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-30
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2040-06-30
AI Technical Summary
The existing atomization device is manually turned on. After the atomizer is turned on, the output mist will be continuously operated until the liquid is completely atomized. The output of the atomizer cannot be automatically adjusted according to the size of the user's breathing air flow, resulting in waste or insufficient mist.
A drive circuit that controls the driver output based on the degenerative induction, including the deformation detection module, the control module, the LED drive module, and the output drive module. The preset threshold generates the driver signal, the output drive module regulates the output power, and the LED driver module adjusts the brightness of LED lights.
The fustor output is automatically adjusted according to the user's breathing airflow size, saving atomized liquid, a balanced fog concentration, suitable for different people, simplified design, and reduced costs.
Smart Images

Figure CN111615232B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power electronics, and in particular to a driving circuit for controlling driving output according to deformation sensing. Background Art
[0002] With the advancement of medical technology, atomized inhalation of drugs is often used to treat diseases. A nebulizer is used to refine the liquid into fine aerosol particles, which are inhaled into the body through the nasal cavity and oral cavity to achieve good therapeutic effects.
[0003] However, the atomizer devices currently used are manually turned on. After turning on, the atomizer keeps working to output mist until all the liquid is atomized. The user can only inhale the mist during the inhalation phase of the normal breathing process. The mist cannot enter the body during the exhalation phase, resulting in waste. In addition, the concentration of the atomized drug mist can only be adjusted manually. After the adjustment is completed, the mist output power is fixed and cannot be automatically adjusted according to the airflow size of each breath. For users with a small amount of inhalation, the mist is wasted, and for users with a large amount of inhalation, the mist may be insufficient. Summary of the invention
[0004] An embodiment of the present invention provides a driving circuit that controls the driving output based on deformation sensing, aiming to solve the problem that the existing atomization device is manually turned on, and after being turned on, the atomizer keeps working to output mist until all the liquid is atomized. During the atomization process, the mist is output according to the power currently manually adjusted by the user, and the airflow size cannot be automatically adjusted according to each breath of the atomizer user.
[0005] The present invention provides a driving circuit for controlling driving output according to deformation sensing, which is applied to an atomizer. The driving circuit for controlling driving output according to deformation sensing comprises a deformation detection module, a control module, an LED driving module and an output driving module; one end of the deformation detection module is connected to one end of the control module; the other end of the control module is connected to one end of the LED driving module, and the other end of the control module is also connected to one end of the output driving module;
[0006] The deformation detection module is used to convert the deformation signal of the external circuit to be detected into a deformation detection result;
[0007] The control module is used to compare the received deformation detection result with a preset deformation detection threshold, and generate a corresponding output drive signal and LED drive signal if the deformation detection result exceeds the deformation detection threshold;
[0008] The output drive module is used to adjust the output drive power accordingly when receiving the output drive signal sent by the control module;
[0009] The LED driving module is used to adjust the brightness of the external LED lamp accordingly when receiving the LED driving signal sent by the control module.
[0010] The embodiment of the present invention provides a driving circuit that controls the output of the drive according to deformation sensing, which is applied to an atomizer. The driving circuit that controls the output of the drive according to deformation sensing includes a deformation detection module, a control module, an LED driving module and an output driving module. It converts the deformation signal of the external circuit to be detected into an output driving signal without the need for external buttons and the like; and it can also convert the deformation signal of the circuit to be detected into the duty cycle of the output driving PWM signal, and the output driving power is automatically adjusted following the deformation amount without the need for external button adjustment. When it is applied to an atomizer, it can automatically control the atomizer output switch according to the pressure deformation sensing, so as to save the atomized liquid; it can also dynamically adjust the atomizer output power to achieve a balanced mist concentration, which can be suitable for different groups of people; and there is no need to manually adjust the atomizer, which simplifies the design, is easy to use, and reduces costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0012] Figure 1 1 is a schematic diagram of a structure of a driving circuit for controlling driving output according to deformation sensing provided by an embodiment of the present invention;
[0013] Figure 2 It is a circuit structure diagram of a detection clock module in a driving circuit that controls a driving output according to deformation sensing provided by an embodiment of the present invention;
[0014] Figure 3 It is a circuit structure schematic diagram of a bandgap reference circuit in a driving circuit for controlling a driving output according to deformation sensing provided by an embodiment of the present invention;
[0015] Figure 4 1 is a schematic diagram of the circuit structure of a first comparator in a driving circuit for controlling a driving output according to deformation sensing provided by an embodiment of the present invention;
[0016] Figure 5 It is a circuit structure diagram of a frequency detection module in a driving circuit for controlling a driving output according to deformation sensing provided by an embodiment of the present invention;
[0017] Figure 6It is a circuit structure diagram of an output driving module in a driving circuit that controls driving output according to deformation sensing provided by an embodiment of the present invention;
[0018] Figure 7 It is a circuit structure diagram of an LED driving module in a driving circuit that controls driving output according to deformation sensing provided by an embodiment of the present invention;
[0019] Figure 8 The present invention provides a curve relationship diagram of deformation pressure and output drive in a driving circuit that controls drive output based on deformation sensing, provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0020] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0021] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0022] See also Figure 1 , which is a schematic diagram of a structure of a driving circuit for controlling driving output according to deformation sensing provided by an embodiment of the present invention. Figure 1 As shown, the driving circuit for controlling the driving output according to deformation sensing includes a deformation detection module 10, a control module 20, an LED driving module 40 and an output driving module 30; one end of the deformation detection module 10 is connected to one end of the control module 20; the other end of the control module 20 is connected to one end of the LED driving module 40, and the other end of the control module 20 is also connected to one end of the output driving module 30;
[0023] The deformation detection module 10 is used to convert the deformation signal of the external circuit to be detected into a deformation detection result;
[0024] The control module 20 is used to compare the received deformation detection result with a preset deformation detection threshold, and generate a corresponding output drive signal and LED drive signal if the deformation detection result exceeds the deformation detection threshold;
[0025] The output drive module 30 is used to adjust the output drive power accordingly when receiving the output drive signal sent by the control module 20;
[0026] The LED driving module 40 is used to adjust the brightness of the external LED lamp accordingly when receiving the LED driving signal sent by the control module 20.
[0027] In this embodiment, the deformation detection module 10 is used to detect the external circuit to be detected (in Figure 1 The deformation signal of the external circuit to be detected (for example, the variable capacitor C2) is converted into a deformation detection result, and then the received deformation detection result is compared with the preset deformation detection threshold through the control module 20. If the deformation detection result exceeds the deformation detection threshold, a corresponding output drive signal and LED drive signal are generated. Finally, if the output drive module 30 receives the output drive signal sent by the control module 20, the output drive power is adjusted accordingly (in Figure 1 The external load of the output drive module 30 is represented by the sixth resistor R7. If the LED drive module 40 receives the LED drive signal sent by the control module 20, the external LED lamp is adjusted accordingly (in Figure 1 In the specific implementation, the circuit is synthesized by using the standard cell library provided by the process factory (such as TSMC, SMIC and other wafer factories) and adding condition constraints to realize the function of the control module 20.
[0028] In one embodiment, if Figure 1 As shown, the deformation detection module 10 includes a detection clock module 11, a standard clock module 12 and a frequency detection module 13; one end of the detection clock module 11 is connected to an external circuit to be detected (in Figure 1 The external circuit to be detected is connected to the variable capacitor C2 as an example), the other end of the detection clock module 11 is connected to one end of the frequency detection module 13; one end of the standard clock module 12 is connected to one end of the frequency detection module 13; the other end of the frequency detection module 13 is connected to the control module 20;
[0029] The detection clock module 11 is used to convert the deformation signal of the external circuit to be detected into a first clock signal;
[0030] The standard clock module 12 is used to generate a second clock signal;
[0031] The frequency detection module 13 is used to obtain a frequency difference between the first clock signal and the second clock signal as a deformation detection result.
[0032] In this embodiment, the detection clock module 11 is connected to the external circuit to be detected, for example, the external circuit to be detected is connected as a variable capacitor C2, and the detection clock module 11 converts the capacitance change of the variable capacitor C2 into a first clock signal, the first clock signal is recorded as an OSCA clock, and the frequency of the first clock signal is recorded as F1; the standard clock module 12 generates a second clock signal, the second clock signal is recorded as an OSCB clock, and the frequency of the second clock signal is recorded as F2. At this time, the frequency detection module 13 receives the first clock signal generated by the detection clock module 11, and receives the second clock signal generated by the standard clock module 12. The frequency detection module 13 uses the frequency difference between the first clock signal and the second clock signal as the deformation detection result.
[0033] The deformation detection result is then input to the control module 20, and a determination is made as to whether the deformation detection result exceeds the deformation detection threshold in the control module 20. If the deformation detection result exceeds the deformation detection threshold, a corresponding output drive signal and LED drive signal are generated.
[0034] In this process, the output PWM waveform width can be adjusted by the frequency change of the OSCA clock to control the working time of the output drive module. At the same time, the control module 20 controls the working state of the external LED lamp according to the LED drive signal. Thus, the entire circuit realizes the function of converting the capacitor deformation into the electrical signal change and dynamically adjusting the output.
[0035] In one embodiment, if Figure 1 and Figure 2 As shown, the detection clock module 11 includes a first capacitor C1, a first MOS transistor Q1, a bandgap reference circuit U1, a first comparator Comp1, and a first hysteresis comparator Buffer1;
[0036] One end of the first capacitor C1 is grounded, the other end of the first capacitor C1 is connected to the reference current port Iref of the bandgap reference circuit U1, and the other end of the first capacitor C1 is also connected to the drain of the first MOS transistor Q1;
[0037] The source of the first MOS transistor Q1 is grounded, the drain of the first MOS transistor Q1 is also connected to the non-inverting input terminal of the first comparator Comp1, and the gate of the first MOS transistor Q1 is connected to the output terminal of the first comparator Comp1;
[0038] The reference voltage port Vref of the bandgap reference circuit U1 is connected to the negative phase input terminal of the first comparator Comp1;
[0039] The output terminal of the first comparator Comp1 is connected to the input terminal of the first hysteresis comparator Buffer1.
[0040] In this embodiment, when the detection clock module 11 converts the capacitance change of the variable capacitor C2 into the first clock signal, the relationship between the capacitance and the plate spacing is C=εS / 4πkd; wherein ε represents the dielectric constant of the medium, S represents the area facing the two plates, d represents the vertical distance between the two plates, k represents the electrostatic force constant, and π represents pi.
[0041] The pressure change caused by the size of the breathing airflow of the user in the atomizer can change the capacitance of the variable capacitor C2, and the detection clock module 11 can detect the capacitance change of the variable capacitor C2. In this process, the characteristic that the capacitance of the variable capacitor C2 is inversely proportional to the size of the distance between the positive and negative plates is utilized. Then, the capacitance change of the variable capacitor C2 changes the frequency F1 of the detection clock module 11, and the reference clock F2 is designed in the standard clock module 12 as a counter. The frequency detection module 13 can conveniently detect the value of the frequency difference ΔF1 through the difference in the counting results of F1 and F2. When the frequency difference ΔF1 exceeds the preset deformation detection threshold F0, it can be judged that a capacitor deformation has occurred.
[0042] Specifically, the control module 20 determines that the deformation detection result ΔF1 exceeds the deformation detection threshold F0 to generate a corresponding output drive signal and LED drive signal, and controls the output drive module 30 and the LED drive module 40 to be turned on. At the same time, the control module 20 dynamically adjusts the PWM output duty cycle in the drive signal output by the control module 20 through its internal and pre-stored lookup tables. Figure 8 As shown, before T0, there is no capacitance change, no output drive signal and it is at a low level. Between T0 and T1, the deformation pressure gradually increases, resulting in a larger variable capacitance value, a gradually increased output PWM waveform duty cycle, and a gradually increased output drive power of the output drive signal. From T1 to T2, the deformation pressure reaches a maximum value, and the output PWM waveform duty cycle is 100%. At this time, the output drive power of the output drive signal is maximum. From T2 to T3, the deformation pressure gradually decreases, the output PWM waveform expansion ratio gradually decreases, and the output drive power of the output drive signal gradually decreases. After T3, there is no deformation change, and the output drive is turned off. During this process, the control module 20 outputs a high level to control the external LED light to light up, which is used to indicate the state of the output drive work. Furthermore, the control module can also generate a PWM signal connected to an external LED light. According to the different duty cycles of the PWM signal, the external LED light can achieve a breathing light effect, which can more intuitively display the output drive working power change state.
[0043] The driving circuit that controls the driving output according to deformation sensing is applied to the atomizer, and can automatically control the atomizer output switch according to the pressure deformation sensing, so as to save the atomized liquid; it can also dynamically adjust the atomizer output power to achieve a balanced mist concentration, which can be suitable for different groups of people; and there is no need to manually adjust the atomizer, which simplifies the design, is easy to use, and reduces costs.
[0044] In one embodiment, if Figure 1 and Figure 3 As shown, the bandgap reference circuit U1 includes a first transistor q1, a second transistor q2, a third transistor q3, a first resistor R1, a second resistor R2, a first operational amplifier A1, a second MOS transistor Q2, a third MOS transistor Q3, a fourth MOS transistor Q4 and a fifth MOS transistor Q5;
[0045] The collector of the first transistor q1 is grounded, the base of the first transistor q1 is grounded, and the emitter of the first transistor q1 is connected to one end of the first resistor R1;
[0046] The other end of the first resistor R1 is connected to the non-inverting input end of the first operational amplifier A1, and is also connected to the drain of the second MOS transistor Q2;
[0047] The base of the second transistor q2 is grounded, the collector of the second transistor q2 is grounded, and the emitter of the second transistor q2 is connected to the negative phase input terminal of the first operational amplifier A1;
[0048] The base of the third transistor q3 is grounded, the collector of the third transistor q3 is grounded, and the emitter of the third transistor q3 is connected to one end of the second resistor;
[0049] The other end of the second resistor is connected to the drain of the fourth MOS tube Q4;
[0050] The source of the second MOS transistor Q2 is connected to the source of the third MOS transistor Q3, the source of the second MOS transistor Q2 is also connected to the source of the fourth MOS transistor Q4, the source of the second MOS transistor Q2 is also connected to the source of the fifth MOS transistor Q5, and the gate of the second MOS transistor Q2 is connected to the output end of the first operational amplifier A1;
[0051] The gate of the third MOS transistor Q3 is connected to the output terminal of the first operational amplifier A1, and the drain of the third MOS transistor Q3 is also connected to the negative phase input terminal of the first operational amplifier A1;
[0052] The gate of the fourth MOS transistor Q4 is connected to the output end of the first operational amplifier A1, and the drain of the fourth MOS transistor Q4 serves as a reference voltage port Vref;
[0053] The gate of the fifth MOS transistor Q5 is connected to the output end of the first operational amplifier A1, and the drain of the fifth MOS transistor Q5 serves as a reference current port Iref.
[0054] In this embodiment, if Figure 3 As shown, the source of the second MOS transistor Q2, the source of the third MOS transistor Q3, the source of the fourth MOS transistor Q4 and the source of the fifth MOS transistor Q5 are all connected to the constant voltage VDD, q1 and q2 are PNP transistors, and the emitter junction area of each tube of q1 and q2 is the same, but the number m of the PNP transistors is different, and the m values of q1 and q2 are 8 and 1 respectively. The forward voltage VBE of the PN junction of the PNP transistor has the characteristic of negative temperature coefficient; and the voltage difference ΔVBE between q1 and q2 has the characteristic of positive temperature coefficient; perform "addition operation" to make the positive and negative temperature characteristics cancel each other, thereby obtaining a reference voltage Vref that is insensitive to temperature, which is the so-called "temperature compensation". At the same time, a PTAT current (PTAT stands for proportional to absolute temperature, which means proportional to absolute temperature) is generated, that is, a positive temperature coefficient current Iref.
[0055] In one embodiment, if Figure 1 , Figure 2 and Figure 4 As shown, the first comparator Comp1 includes a sixth MOS tube Q6, a seventh MOS tube Q7, an eighth MOS tube Q8, a ninth MOS tube Q9, a tenth MOS tube Q10, an eleventh MOS tube Q11, a twelfth MOS tube Q12, a thirteenth MOS tube Q13, a fourteenth MOS tube Q14 and a fifteenth MOS tube;
[0056] The source of the sixth MOS tube Q6 is grounded, the drain of the sixth MOS tube Q6 is connected to the drain of the tenth MOS tube Q10, and the gate of the sixth MOS tube Q6 is connected to the drain of the tenth MOS tube Q10;
[0057] The source of the seventh MOS transistor Q7 is grounded, the drain of the seventh MOS transistor Q7 is connected to the drain of the eleventh MOS transistor Q11, and the gate of the seventh MOS transistor Q7 is connected to the drain of the eleventh MOS transistor Q11;
[0058] The source of the eighth MOS tube Q8 is grounded, the gate of the eighth MOS tube Q8 is connected to the drain of the eleventh MOS tube Q11, and the drain of the eighth MOS tube Q8 is connected to the drain of the fourteenth MOS tube Q14;
[0059] The source of the ninth MOS tube Q9 is grounded, the gate of the ninth MOS tube Q9 is connected to the drain of the tenth MOS tube Q10, and the drain of the ninth MOS tube Q9 is connected to the drain of the fifteenth MOS tube Q15;
[0060] The source of the tenth MOS transistor Q10 is connected to the drain of the thirteenth MOS transistor Q13, and the gate of the tenth MOS transistor Q10 serves as the non-inverting input terminal VIP of the first comparator Comp1;
[0061] The source of the eleventh MOS transistor Q11 is connected to the drain of the thirteenth MOS transistor Q13, and the gate of the eleventh MOS transistor Q11 serves as the negative input terminal VIN of the first comparator Comp1;
[0062] The source of the twelfth MOS tube Q12 is connected to the constant voltage VDD, the drain of the twelfth MOS tube Q12 is connected to the gate of the thirteenth MOS tube Q13, and the gate of the twelfth MOS tube Q12 is connected to the gate of the thirteenth MOS tube Q13;
[0063] The source of the thirteenth MOS tube Q13 is connected to the constant voltage VDD;
[0064] The source of the fourteenth MOS tube Q14 is connected to the constant voltage VDD, the gate of the fourteenth MOS tube Q14 is connected to the gate of the fifteenth MOS tube Q15, and the drain of the fourteenth MOS tube Q14 is connected to the gate of the fifteenth MOS tube Q15;
[0065] The source of the fifteenth MOS transistor Q15 is connected to the constant voltage VDD, and the drain of the fifteenth MOS transistor Q15 serves as the output terminal VOUT of the first comparator.
[0066] In this embodiment, if Figure 4 As shown in the figure, the first comparator Comp1 constructed by MOS tube, VIP and VIN are respectively the positive and negative input terminals of the first comparator Comp1, IB provides bias current for the first comparator Comp1, establishes a DC operating point for the first comparator Comp1, and VOUT is the output terminal of the first comparator Comp1. When the VIP voltage is greater than VIN, VOUT outputs a high level, which is logic 1; conversely, when the VINP voltage is less than VIN, VOUT outputs a low level, which is logic 0.
[0067] In one embodiment, if Figure 1 and Figure 5 As shown, the frequency detection module 13 includes a counter 131, a counter trigger unit 132, a first latch 133, a second latch 134, a difference calculation unit 135 and a PWM generator 136;
[0068] The input end of the counter 131 is connected to the standard clock module 12, the output end of the counter 131 is connected to the input end of the first latch 133, and the output end of the counter 131 is also connected to the input end of the second latch 134;
[0069] The input end of the counter trigger unit 132 is connected to the detection clock module 11, the output end of the counter trigger unit 132 is connected to the input end of the first latch 133, and the output end of the counter trigger unit 132 is also connected to the input end of the second latch 134;
[0070] The output end of the first latch 133 is connected to the input end of the difference calculation unit 135;
[0071] The output end of the second latch 134 is connected to the input end of the difference calculation unit 135;
[0072] The output end of the difference calculation unit 135 is connected to the input end of the PWM generator 136;
[0073] The PWM generator 136 is used to generate a PWM signal according to the frequency difference between the first clock signal and the second clock signal.
[0074] In this embodiment, the circuit structure of the frequency detection module 13 is as follows: Figure 5 As shown, the principle is to use a stable and accurate clock ClkA (i.e., the second clock signal generated by the standard clock module 12, the second clock signal is also recorded as the OSCB clock) as a ruler to measure the clock ClkB of the detection clock module 11 (the first clock signal generated by the variable capacitor C2 connected to the detection clock module 11, the first clock signal is also recorded as the OSCA clock). When ClkB is not deformed, because the value of the variable capacitor C2 does not change, the frequency of ClkB is also fixed. Therefore, the number of cycles of ClkB counted by ClkA is also a fixed value, which is stored by the first latch 133 and output to the difference calculation unit 135 as a standard value; when the external capacitor is deformed, the value of the variable capacitor C2 changes, causing ClkB to change. At this time, the number of cycles of ClkB counted by ClkA also changes. This value is stored by the second latch 134 and output to the difference calculation unit 135. When it is compared with the fixed standard value and the difference reaches n*Δf, the output signal controls the PWM generator 136 to output a PWM signal. In specific implementation, the circuit is synthesized by using the standard cell library provided by the process factory (such as TSMC, SMIC and other wafer factories) and adding conditional constraints to realize the functions of the counter trigger unit 132 and the difference calculation unit 135.
[0075] In one embodiment, if Figure 1 and Figure 6 As shown, the output driving module 30 includes a third resistor R3, a first potentiometer R5, a fourth resistor R4, a sixteenth MOS tube Q16, a seventeenth MOS tube Q17, a second comparator Comp2, a digital driving controller U3, and an analog driving controller U2;
[0076] The drain of the sixteenth MOS tube Q16 is grounded through the third resistor R3, the drain of the sixteenth MOS tube Q16 is also connected to the source of the seventeenth MOS tube Q17, the source of the sixteenth MOS tube Q16 is connected to the constant voltage VDD, and the gate of the sixteenth MOS tube Q16 is connected to the analog drive controller U2;
[0077] The drain of the seventeenth MOS tube Q17 is connected to one end of the first potentiometer R5, and the gate of the seventeenth MOS tube Q17 is connected to the analog drive controller U2;
[0078] The other end of the first potentiometer R5 is connected to one end of the fourth resistor R4, and the other end of the first potentiometer R5 is also connected to the non-inverting input end of the second comparator Comp2;
[0079] The other end of the fourth resistor R4 is grounded;
[0080] The negative phase input terminal of the second comparator Comp2 is connected to the reference voltage port Vref;
[0081] The output end of the second comparator Comp2 is connected to one end of the digital drive controller U3;
[0082] The other end of the digital drive controller U3 is connected to the analog drive controller U2.
[0083] In this embodiment, the circuit structure of the output driving module 30 is as follows: Figure 6As shown, its external drive is realized by the sixteenth MOS tube Q16 connected to the VDD power supply, and the external output is also fed back through the seventeenth MOS tube Q17 for voltage detection to determine the level of the output voltage. The output voltage is fed back and generated by resistor voltage division to generate At_vref, which is compared by the second comparator Comp2 and the reference voltage generated by the bandgap reference, and output Vout to the digital drive controller U3. When the Vout of the digital drive controller U3 is high, the digital drive output Da_at_duty_ctrl is given to the analog drive controller U2, generating a pulse duty cycle modulation (PMW), so that the PWM of the analog drive output At_driver_enn is reduced, thereby controlling the output voltage of the sixteenth MOS tube Q16 to decrease; conversely, when the Vout of the digital drive controller U3 is low, the digital driver U3 outputs Da_at_duty_ctrl to the analog drive control, generating a pulse duty cycle modulation (PMW), so that the PWM of the analog drive controller U2 output At_driver_enn is increased, thereby controlling the output voltage of the sixteenth MOS tube Q16 to increase, realizing negative feedback, so that the output voltage is stabilized at a predetermined value, that is, the digital drive controller U3 is configured to provide the Da_at_vref_cal<5:0> signal to the first potentiometer R5 voltage divider.
[0084] In the specific implementation, the circuit is synthesized by using the standard cell library provided by the process factory (such as TSMC, SMIC and other wafer factories) and conditionally constrained to realize the function of the digital drive controller U3. The analog drive controller U2 performs an "AND" operation on the drive enable signal Da_driver_en and the drive output duty cycle control signal Da_at_duty_ctrl, and then adds it to the analog inverter circuit to realize digital-to-analog level conversion and realize analog drive control output.
[0085] In one embodiment, if Figure 1 and Figure 7 As shown, the LED driving module 40 is used to drive an external light emitting diode D1; the LED driving module 40 includes an eighteenth MOS tube Q18, a nineteenth MOS tube Q19, a twentieth MOS tube Q20, a twenty-first MOS tube Q21, a twenty-second MOS tube Q22, a MOS tube parallel circuit mn_led, and a fifth resistor R6;
[0086] The source of the eighteenth MOS tube Q18 is connected to the constant voltage VDD, the drain of the eighteenth MOS tube Q18 is connected to the gate of the nineteenth MOS tube Q19, and the gate of the eighteenth MOS tube Q18 is connected to the gate of the nineteenth MOS tube Q19;
[0087] The source of the nineteenth MOS tube Q19 is connected to the constant voltage VDD, the drain of the nineteenth MOS tube Q19 is connected to the drain of the twenty-second MOS tube Q20, and the drain of the nineteenth MOS tube Q19 is connected to the gate of the MOS tube parallel circuit mn_led;
[0088] The source of the 20th MOS transistor Q20 is connected to the constant voltage VDD, the drain of the 20th MOS transistor Q20 is connected to the drain of the MOS transistor parallel circuit mn_led, and the drain of the 20th MOS transistor Q20 is connected to the gate of the 21st MOS transistor Q21;
[0089] The source of the twenty-first MOS transistor Q21 is connected to the constant voltage VDD, and the drain of the twenty-first MOS transistor Q21 is connected to the positive electrode of the light emitting diode D1;
[0090] The source of the twenty-second MOS transistor Q22 is grounded, and the gate of the twenty-second MOS transistor Q22 is connected to the gate of the MOS transistor parallel circuit mn_led;
[0091] The source of the MOS tube parallel circuit mn_led is grounded, and the source of the MOS tube parallel circuit mn_led is also connected to the cathode of the light emitting diode D1.
[0092] In this embodiment, the circuit structure of the LED driving module 40 is as follows: Figure 7As shown, the eighteenth MOS tube Q18 is a first current mirror, the nineteenth MOS tube Q19 is a second current mirror, the twentieth MOS tube is a third current mirror Q20, and the twenty-first MOS tube is a fourth current mirror Q21. The LED drive is realized by driving the light-emitting diode D1 with the output of the twenty-first MOS tube Q21. The fifth resistor R6 is inserted between the twenty-first MOS tube Q21 and the light-emitting diode D1 for current limiting and ESD (i.e., electrostatic discharge). The current source of the current mirror is Ib_led, which comes from the bias current generated by the bandgap reference circuit U1. After the mirroring of the eighteenth MOS tube Q18 and the nineteenth MOS tube Q19, it is converted to the twenty-second MOS tube Q22, and the twenty-second MOS tube Q22 is mirrored to the MOS tube parallel circuit mn_led, which is a group of parallel NMOS tubes with switch control, and the control signal is given by Driver<4:0> output by the control module 20. When Driver<4:0>=11111, the more parallel NMOS tubes are turned on, the greater the output current of the twenty-first MOS tube Q21, and the brighter the LED; conversely, when Driver<4:0>=00000, the fewer parallel NMOS tubes are turned on, the smaller the output current of the twenty-first MOS tube Q21, and the dimmer the LED. In the above manner, the brightness adjustment of the LED is achieved.
[0093] It can be seen that the driving circuit disclosed in this embodiment, which controls the drive output according to deformation sensing, converts the deformation signal of the external circuit to be detected into an output drive signal, without the need for external buttons and other controls; and can also convert the deformation signal of the circuit to be detected into the duty cycle of the output drive PWM signal, and the output drive power is automatically adjusted following the deformation amount, without the need for external button adjustment. When applied to an atomizer, it can automatically control the atomizer output switch according to pressure deformation sensing to achieve the purpose of saving atomized liquid; it can also dynamically adjust the atomizer output power to achieve a balanced mist concentration, which can be suitable for different groups of people; and there is no need to manually adjust the atomizer, which simplifies the design, is easy to use, and reduces costs.
[0094] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A driving circuit for controlling driving output according to deformation sensing, applied to an atomizer, characterized in that: It includes a deformation detection module, a control module, an LED driving module and an output driving module; one end of the deformation detection module is connected to one end of the control module; the other end of the control module is connected to one end of the LED driving module, and the other end of the control module is also connected to one end of the output driving module; The deformation detection module is used to convert the deformation signal of the external circuit to be detected into a deformation detection result; The control module is used to compare the received deformation detection result with a preset deformation detection threshold, and generate a corresponding output drive signal and LED drive signal if the deformation detection result exceeds the deformation detection threshold; The output drive module is used to adjust the output drive power accordingly when receiving the output drive signal sent by the control module; The LED driving module is used to adjust the brightness of the external LED lamp accordingly when receiving the LED driving signal sent by the control module; The deformation detection module includes a detection clock module, a standard clock module and a frequency detection module; one end of the detection clock module is connected to an external circuit to be detected, and the other end of the detection clock module is connected to one end of the frequency detection module; one end of the standard clock module is connected to one end of the frequency detection module; the other end of the frequency detection module is connected to the control module; The detection clock module is used to convert the deformation signal of the external circuit to be detected into a first clock signal; The standard clock module is used to generate a second clock signal; The frequency detection module is used to obtain a frequency difference between the first clock signal and the second clock signal as a deformation detection result; The detection clock module includes a first capacitor, a first MOS tube, a bandgap reference circuit, a first comparator, and a first hysteresis comparator; One end of the first capacitor is grounded, the other end of the first capacitor is connected to the reference current port of the bandgap reference circuit, and the other end of the first capacitor is also connected to the drain of the first MOS tube; The source of the first MOS transistor is grounded, the drain of the first MOS transistor is also connected to the non-inverting input terminal of the first comparator, and the gate of the first MOS transistor is connected to the output terminal of the first comparator; A reference voltage port of the bandgap reference circuit is connected to a negative phase input terminal of the first comparator; The output terminal of the first comparator is connected to the input terminal of the first hysteresis comparator; The bandgap reference circuit comprises a first triode, a second triode, a third triode, a first resistor, a second resistor, a first operational amplifier, a second MOS transistor, a third MOS transistor, a fourth MOS transistor and a fifth MOS transistor; Wherein, the collector of the first transistor is grounded, the base of the first transistor is grounded, and the emitter of the first transistor is connected to one end of the first resistor; The other end of the first resistor is connected to the non-inverting input end of the first operational amplifier, and is also connected to the drain of the second MOS tube; The base of the second triode is grounded, the collector of the second triode is grounded, and the emitter of the second triode is connected to the negative phase input terminal of the first operational amplifier; The base of the third triode is grounded, the collector of the third triode is grounded, and the emitter of the third triode is connected to one end of the second resistor; The other end of the second resistor is connected to the drain of the fourth MOS tube; The source of the second MOS tube is connected to the source of the third MOS tube, the source of the second MOS tube is also connected to the source of the fourth MOS tube, the source of the second MOS tube is also connected to the source of the fifth MOS tube, and the gate of the second MOS tube is connected to the output end of the first operational amplifier; The gate of the third MOS tube is connected to the output terminal of the first operational amplifier, and the drain of the third MOS tube is also connected to the negative phase input terminal of the first operational amplifier; The gate of the fourth MOS tube is connected to the output end of the first operational amplifier, and the drain of the fourth MOS tube serves as a reference voltage port; The gate of the fifth MOS tube is connected to the output end of the first operational amplifier, and the drain of the fifth MOS tube serves as a reference current port; The first comparator includes a sixth MOS tube, a seventh MOS tube, an eighth MOS tube, a ninth MOS tube, a tenth MOS tube, an eleventh MOS tube, a twelfth MOS tube, a thirteenth MOS tube, a fourteenth MOS tube and a fifteenth MOS tube; Wherein, the source of the sixth MOS tube is grounded, the drain of the sixth MOS tube is connected to the drain of the tenth MOS tube, and the gate of the sixth MOS tube is connected to the drain of the tenth MOS tube; The source of the seventh MOS tube is grounded, the drain of the seventh MOS tube is connected to the drain of the eleventh MOS tube, and the gate of the seventh MOS tube is connected to the drain of the eleventh MOS tube; The source of the eighth MOS tube is grounded, the gate of the eighth MOS tube is connected to the drain of the eleventh MOS tube, and the drain of the eighth MOS tube is connected to the drain of the fourteenth MOS tube; The source of the ninth MOS tube is grounded, the gate of the ninth MOS tube is connected to the drain of the tenth MOS tube, and the drain of the ninth MOS tube is connected to the drain of the fifteenth MOS tube; The source of the tenth MOS tube is connected to the drain of the thirteenth MOS tube, and the gate of the tenth MOS tube serves as a non-inverting input terminal of the first comparator; The source of the eleventh MOS tube is connected to the drain of the thirteenth MOS tube, and the gate of the eleventh MOS tube serves as a negative phase input terminal of the first comparator; The source of the twelfth MOS tube is connected to a constant voltage, the drain of the twelfth MOS tube is connected to the gate of the thirteenth MOS tube, and the gate of the twelfth MOS tube is connected to the gate of the thirteenth MOS tube; The source of the thirteenth MOS tube is connected to a constant voltage; The source of the fourteenth MOS tube is connected to a constant voltage, the gate of the fourteenth MOS tube is connected to the gate of the fifteenth MOS tube, and the drain of the fourteenth MOS tube is connected to the gate of the fifteenth MOS tube; The source of the fifteenth MOS tube is connected to a constant voltage, and the drain of the fifteenth MOS tube serves as the output end of the first comparator.
2. The driving circuit for controlling driving output according to deformation sensing according to claim 1, characterized in that: The frequency detection module includes a counter, a counter trigger unit, a first latch, a second latch, a difference unit and a PWM generator; The input end of the counter is connected to the standard clock module, the output end of the counter is connected to the input end of the first latch, and the output end of the counter is also connected to the input end of the second latch; The input end of the counter trigger unit is connected to the detection clock module, the output end of the counter trigger unit is connected to the input end of the first latch, and the output end of the counter trigger unit is also connected to the input end of the second latch; The output terminal of the first latch is connected to the input terminal of the difference calculation unit; The output terminal of the second latch is connected to the input terminal of the difference calculation unit; The output end of the difference calculation unit is connected to the input end of the PWM generator; The PWM generator is used to generate a PWM signal according to the frequency difference between the first clock signal and the second clock signal.
3. The driving circuit for controlling driving output according to deformation sensing according to claim 2, characterized in that: The output drive module includes a third resistor, a first potentiometer, a fourth resistor, a sixteenth MOS tube, a seventeenth MOS tube, a second comparator, a digital drive controller, and an analog drive controller; The drain of the sixteenth MOS tube is grounded through a third resistor, the drain of the sixteenth MOS tube is also connected to the source of the seventeenth MOS tube, the source of the sixteenth MOS tube is connected to a constant voltage, and the gate of the sixteenth MOS tube is connected to the analog drive controller; The drain of the seventeenth MOS tube is connected to one end of the first potentiometer, and the gate of the seventeenth MOS tube is connected to the analog drive controller; The other end of the first potentiometer is connected to one end of the fourth resistor, and the other end of the first potentiometer is also connected to the non-inverting input end of the second comparator; The other end of the fourth resistor is grounded; The negative phase input terminal of the second comparator is connected to the reference voltage port; The output terminal of the second comparator is connected to one terminal of the digital drive controller; The other end of the digital drive controller is connected to the analog drive controller.
4. The driving circuit for controlling driving output according to deformation sensing according to claim 3, characterized in that: The LED driving module is used to drive an external light emitting diode; the LED driving module includes an eighteenth MOS tube, a nineteenth MOS tube, a twentieth MOS tube, a twenty-first MOS tube, a twenty-second MOS tube, a MOS tube parallel circuit, and a fourth resistor; Wherein, the source of the eighteenth MOS tube is connected to a constant voltage, the drain of the eighteenth MOS tube is connected to the gate of the nineteenth MOS tube, and the gate of the eighteenth MOS tube is connected to the gate of the nineteenth MOS tube; The source of the nineteenth MOS tube is connected to a constant voltage, the drain of the nineteenth MOS tube is connected to the drain of the twenty-second MOS tube, and the drain of the nineteenth MOS tube is connected to the gate of the MOS tube parallel circuit; The source of the 20th MOS tube is connected to a constant voltage, the drain of the 20th MOS tube is connected to the drain of the MOS tube parallel circuit, and the drain of the 20th MOS tube is connected to the gate of the 21st MOS tube; The source of the twenty-first MOS tube is connected to a constant voltage, and the drain of the twenty-first MOS tube is connected to the positive electrode of the light-emitting diode; The source of the twenty-second MOS transistor is grounded, and the gate of the twenty-second MOS transistor is connected to the gate of the MOS transistor parallel circuit; The source of the MOS tube parallel circuit is grounded, and the source of the MOS tube parallel circuit is also connected to the cathode of the light emitting diode.
5. The driving circuit for controlling driving output according to deformation sensing according to claim 4, characterized in that: The eighteenth MOS tube is a first current mirror, the nineteenth MOS tube is a second current mirror, the twentieth MOS tube is a third current mirror, and the twenty-first MOS tube is a fourth current mirror.
6. The driving circuit for controlling driving output according to deformation sensing according to claim 4, characterized in that: The MOS tube parallel circuit is composed of a plurality of NMOS tubes connected in parallel.
Citation Information
Patent Citations
Driving circuit for controlling driving output according to deformation induction
CN212137963U