CN109003597B - Buzzer driving circuit and corresponding buzzer driving method - Google Patents

Buzzer driving circuit and corresponding buzzer driving method Download PDF

Info

Publication number
CN109003597B
CN109003597B CN201811119567.5A CN201811119567A CN109003597B CN 109003597 B CN109003597 B CN 109003597B CN 201811119567 A CN201811119567 A CN 201811119567A CN 109003597 B CN109003597 B CN 109003597B
Authority
CN
China
Prior art keywords
circuit module
buzzer
voltage
triode
input
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.)
Active
Application number
CN201811119567.5A
Other languages
Chinese (zh)
Other versions
CN109003597A (en
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.)
CRM ICBG Wuxi Co Ltd
Original Assignee
CRM ICBG Wuxi 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 CRM ICBG Wuxi Co Ltd filed Critical CRM ICBG Wuxi Co Ltd
Priority to CN201811119567.5A priority Critical patent/CN109003597B/en
Publication of CN109003597A publication Critical patent/CN109003597A/en
Priority to PCT/CN2019/105684 priority patent/WO2020063367A1/en
Application granted granted Critical
Publication of CN109003597B publication Critical patent/CN109003597B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K9/00Devices in which sound is produced by vibrating a diaphragm or analogous element, e.g. fog horns, vehicle hooters or buzzers
    • G10K9/12Devices in which sound is produced by vibrating a diaphragm or analogous element, e.g. fog horns, vehicle hooters or buzzers electrically operated
    • G10K9/122Devices in which sound is produced by vibrating a diaphragm or analogous element, e.g. fog horns, vehicle hooters or buzzers electrically operated using piezoelectric driving means

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Dc-Dc Converters (AREA)

Abstract

The application relates to a buzzer driving circuit and a corresponding buzzer driving method, wherein the driving circuit comprises a control circuit module, a boosting circuit module and a switch driving circuit module, the control circuit module is used for controlling the working states of the boosting circuit module and the switch driving circuit module, the boosting circuit module is used for boosting the voltage provided by a voltage source and transmitting the boosted voltage to the switch driving circuit module, and the switch driving circuit module controls the buzzer according to a signal output by the control module. The buzzer driving circuit and the corresponding buzzer driving method can effectively control the buzzer, meanwhile, the function control of the circuit can be realized only by using common inductors and components in the circuit, the cost is low, the size of the components is small, the current performance is stable, the buzzer is enabled to work stably, and when the driving circuit is in a standby state, the boosting circuit module and the switch driving circuit module have no static power consumption and have low power consumption.

Description

Buzzer driving circuit and corresponding buzzer driving method
Technical Field
The application relates to the technical field of circuits, in particular to a driving circuit, and specifically relates to a buzzer driving circuit and a corresponding buzzer driving method.
Background
The buzzer is often applied in some alarm devices, and the principle of driving the buzzer to work is as follows: a square wave signal with a specific frequency is added at two ends of the buzzer, and the voltage difference at two ends of the buzzer is positive in the positive half period of the square wave; in the negative half cycle, the voltage difference across the buzzer is "zero" or "negative". The larger the pressure difference at the two ends of the buzzer, the higher the loudness of the buzzer when sounding; when the buzzer sounds, the current flowing through the two ends of the buzzer is about several mA to tens mA, and the larger the current is, the larger the loudness of the buzzer is. With the popularization of the CMOS technology, products and chips of the alarm device are also developed towards the low power consumption direction, so that a circuit is required to be changed, and the loudness of the buzzer is ensured to reach the specified standard.
Taking a smoke alarm as an example, in the smoke alarm, a buzzer is generally adopted to send an alarm signal. With the popularization of the CMOS technology, the products and chips of the smoke alarm also develop towards low power consumption, and the power supply voltage of the smoke alarm is changed from 9V battery power supply to 3V battery power supply. For the buzzer in the smoke alarm, the loudness of the buzzer in the working process needs to meet certain requirements, and the sound loudness is generally required to reach 85 decibels at a place 3m away. In the current stage, in a smoke alarm system with 3V power supply, a switching tube and a three-terminal I-shaped inductor are used, and the energy storage effect of the inductor is utilized to enable the pressure difference at two ends of the buzzer to be far greater than 3V, so that the buzzer is driven to make louder sounds.
In the smoke alarm product powered by 3V in the prior art, a buzzer driving part often uses a control method of a single chip microcomputer, a switching tube and a three-terminal I-shaped inductor, and the specific structure of the buzzer driving part is shown in figure 1. The I/O port of the singlechip is used for transmitting square waves with specific frequency, the on-off of the triode Q1 is controlled, and the voltage difference far greater than VDD (3V) is generated between the upper polar plate of the buzzer and GND through the charge and discharge of the inductor, so that the buzzer is driven to emit louder sound. The specific principle is as follows: when the triode Q1 is conducted, the collector current of the triode Q1 gradually rises from zero due to the action of the sub-inductor L13, the current direction is from 1 to 3, the collector voltage of the triode Q1 is instantaneously pulled down from VDD to be close to 0V at the moment of conducting the triode Q1, and then the collector current of the triode Q1 slowly rises along with the rising of the collector current of the triode Q1. When the triode Q1 is cut off, the energy stored by the sub-inductor L13 discharges to the buzzer BZ through the inductor L12, and the voltage of the upper polar plate of the buzzer BZ rises, wherein the sub-inductor L13 and the sub-inductor L32 are both sub-inductors of the inductor L12. Due to the resonance action of the inductor L12 and the buzzer BZ, the plate voltage on the buzzer BZ starts to drop until it is less than GND after reaching the peak voltage. And then the triode Q1 is turned back on and the cycle repeats. The collector of the triode Q1 in the circuit structure, the upper plate of the buzzer BZ and the current waveforms in the buzzer are shown in fig. 2. As can be seen from fig. 2, when the transistor Q1 is turned on, the voltage difference across the buzzer BZ is negative; when the triode Q1 is cut off, the voltage difference between the two ends of the buzzer BZ is positive, the positive and negative are alternated, and the buzzer BZ is driven to sound. Because the working voltage and the current on the buzzer are not directly switched in the on-off process, the loudness of the buzzer is inconsistent when the buzzer works.
The existing control method of the single chip microcomputer, the switching tube and the three-terminal I-shaped inductor has the following defects: (1) The three-terminal I-shaped inductor is not easy to produce in a large scale and has high cost; (2) The inductance values of the sub-inductors L13 and L32 in the three-terminal I-shaped inductor are poor in consistency due to winding and the like, so that the consistency of the voltage peak values of the pole plates on the buzzer BZ cannot be ensured, and the loudness of the buzzer is inconsistent; (3) The three-terminal I-shaped inductor has larger volume, and is required to be horizontally placed in partial occasions, so that pins are easy to break and fail.
Disclosure of Invention
The application aims to overcome at least one of the defects in the prior art and provide a buzzer driving circuit with low cost and good driving performance and a corresponding buzzer driving method.
In order to achieve the above object or other objects, a buzzer driving circuit and a corresponding buzzer driving method according to the present application are as follows:
the driving circuit of the buzzer is mainly characterized by comprising a control circuit module, a boosting circuit module and a switch driving circuit module;
the first output end of the control circuit module is connected with the input end of the boost circuit module, the second output end of the control circuit module is connected with the first input end of the switch driving circuit module, and the control circuit module is used for controlling the working states of the boost circuit module and the switch driving circuit module;
the power end of the voltage boosting circuit module is connected with a voltage source, the output end of the voltage boosting circuit module is connected with the second input end of the switch driving circuit module, and the voltage boosting circuit module is used for boosting the voltage source and transmitting the boosted voltage to the switch driving circuit module;
the output end of the switch driving circuit module is connected with the buzzer, and the switch driving circuit module is used for controlling the buzzer according to the signal output by the control circuit module.
Preferably, the control circuit module is composed of a single chip microcomputer;
the power end of the singlechip is connected with the voltage source;
the first input/output port of the singlechip is used as the first output end of the control circuit module and is connected with the input end of the boost circuit module;
the second input/output port of the singlechip is used as the second output end of the control circuit module and is connected with the first input end of the switch driving circuit module; the switch driving circuit module controls the buzzer according to signals output by the second input/output port of the singlechip;
the single chip microcomputer monitors the boosted voltage and controls the boosted voltage within a preset voltage range.
More preferably, the boost circuit module includes an inductor, a first triode, a first resistor, a second resistor, a freewheeling diode and a capacitor;
one end of the inductor is used as a power end of the boost circuit module, and the other end of the inductor is connected with the collector electrode of the first triode and the anode of the freewheeling diode at the same time;
one end of the first resistor is used as an input end of the boost circuit module, and the other end of the first resistor is connected with the base electrode of the first triode;
the second resistor is connected between the base electrode and the emitter electrode of the first triode, and the emitter electrode of the first triode is grounded;
the cathode of the free-wheeling diode is connected with one end of the capacitor, and the other end of the capacitor is grounded;
one end is led out from the connection part of the cathode of the follow current diode and the capacitor and is used as the output end of the boost circuit module.
Further, the boost circuit module further includes a voltage detection unit, configured to detect the boosted voltage, and send a detection result to the singlechip.
Further, the voltage detection unit comprises a third resistor, a fourth resistor, a fifth resistor and a second triode, and the singlechip further comprises a third input/output port and a fourth input/output port;
one end of the third resistor is connected with the cathode of the freewheeling diode, and the other end of the third resistor is connected with the collector of the second triode;
the base electrode of the second triode is connected with a fourth input/output port of the singlechip through the fifth resistor;
the emitter of the second triode is connected with the third input/output port of the singlechip, one end of the fourth resistor is connected between the emitter of the second triode and the third input/output port of the singlechip, the other end of the fourth resistor is grounded,
the third input/output port of the singlechip is used for receiving the voltage value of the boosted voltage detected by the voltage detection unit;
according to the working state of the buzzer, the fourth input/output port of the singlechip continuously outputs high level or low level.
Preferably, the switch driving circuit module includes a third triode, a fourth triode, a fifth triode, a sixth resistor, a seventh resistor and an eighth resistor;
one end of the sixth resistor is used as a first input end of the switch driving circuit module, and the other end of the sixth resistor is connected with the base electrode of the third triode;
one end of the seventh resistor is connected with the first input end of the switch driving circuit module, and the other end of the seventh resistor is connected with the base electrode of the fourth triode;
one end of the eighth resistor is connected with the collector electrode of the third triode, the other end of the eighth resistor is connected with the collector electrode of the fifth triode, and the collector electrode of the fifth triode is used as the second input end of the switch driving circuit module;
the base electrode of the fifth triode is connected between the eighth resistor and the collector electrode of the third triode;
the emitter of the third triode and the emitter of the fourth triode are grounded;
the emitter of the fifth triode is connected with the collector of the fourth triode;
the collector and the emitter of the fifth triode are also used as the output end of the switch driving circuit module, and the collector and the emitter of the fifth triode are respectively connected with the two ends of the buzzer end.
The buzzer driving method based on the driving circuit is mainly characterized by comprising the following steps of:
the working states of the boost circuit module and the switch driving circuit module are controlled by the control circuit module, so that the buzzer is controlled.
Preferably, the controlling the working states of the boost circuit module and the switch driving circuit module by the control circuit module includes the following steps:
(1) The control circuit module judges whether the buzzer needs to be driven to work or not;
(2) If the buzzer does not need to be driven to work, continuing the subsequent step (3), otherwise, continuing the subsequent step (4);
(3) The control circuit module controls the boost circuit module and the switch driving circuit module to work through a first output end and a second output end of the control circuit module;
(4) The control circuit module controls the boost circuit module and the switch driving circuit module to work through the first output end and the second output end of the control circuit module, so that the buzzer sends out alarm sounds with consistent loudness.
More preferably, the control circuit module is composed of a single chip microcomputer; the singlechip comprises a first input/output port, a second input/output port, a third input/output port and a fourth input/output port; the step-up circuit module comprises a voltage detection unit, and the step (4) comprises the following steps:
(4.1) outputting a first square wave signal by a first input/output port of the singlechip, controlling the voltage boosting circuit module to boost the voltage provided by the voltage source, and transmitting the boosted voltage to the switch driving circuit module by the voltage boosting circuit module; the singlechip controls the voltage transmitted to the switch driving circuit module within a preset voltage range; wherein the duty cycle and period of the first square wave signal are preset by the system;
and (4.2) outputting a second square wave signal by a second input/output port of the singlechip, so that the buzzer sends out alarm sound with consistent loudness, and the frequency of the second square wave signal is the working frequency of the buzzer.
Further, the single chip microcomputer controls the voltage transmitted to the switch driving circuit module within a preset voltage range, and the method comprises the following steps:
the voltage detection unit detects the boosted voltage generated by the voltage boosting circuit module and sends the detected voltage value of the boosted voltage to a third input/output port of the singlechip;
(4.1.2) the singlechip judges whether the voltage value of the boosted voltage is within the preset voltage range;
when the voltage value of the boosted voltage is within the preset voltage range, continuing the subsequent step (4.1.3), otherwise, continuing the subsequent step (4.1.4);
(4.1.3) the singlechip controls the first input/output port to stop outputting the first square wave signal, so that the boost circuit module stops boosting, and returns to the step (4.1.1);
(4.1.4) the singlechip determines whether the voltage value of the boosted voltage is higher than or lower than the preset voltage range,
if the voltage value of the boosted voltage is higher than the preset voltage range, returning to the step (4.1.3), and if the voltage value of the boosted voltage is lower than the preset voltage range, continuing to output a first square wave signal through a first input/output port of the singlechip, so that the boosting circuit module continues to boost and returns to the step (4.1.1).
Further, the step (4.1.1) further comprises the following steps:
and (4.1.0) continuously outputting a high level through a fourth input/output port of the singlechip, so that the voltage detection unit starts to work.
The buzzer driving circuit and the corresponding method for driving the buzzer to work can effectively control the buzzer to work, meanwhile, the function control of the circuit can be realized by only using common inductors and components in the circuit, three-terminal I-shaped inductors are not needed, the cost is low, the device size is small, and the current performance is stable. The control circuit module is used for controlling the boosting circuit module and the switch driving circuit module, so that stable work of the buzzer is guaranteed, the adaptability is good, and meanwhile, when the driving circuit of the buzzer is in a standby state, the boosting circuit module and the switch driving circuit module have no static power consumption, the electric energy loss is reduced, and the buzzer is more environment-friendly.
Drawings
Fig. 1 is a schematic diagram of a buzzer driving circuit in the prior art.
Fig. 2 is a schematic diagram of a partial node voltage and current waveform in a buzzer driving circuit in the prior art.
Fig. 3 is a schematic diagram of a buzzer driving circuit according to an embodiment of the present application.
Fig. 4 is a schematic diagram of a partial operating voltage waveform of a buzzer driving circuit according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail with reference to specific embodiments.
The driving circuit of the buzzer comprises a control circuit module, a boosting circuit module and a switch driving circuit module;
the first output end of the control circuit module is connected with the input end of the boost circuit module, the second output end of the control circuit module is connected with the first input end of the switch driving circuit module, and the control circuit module is used for controlling the working states of the boost circuit module and the switch driving circuit module;
the power end of the voltage boosting circuit module is connected with a voltage source, the output end of the voltage boosting circuit module is connected with the second input end of the switch driving circuit module, and the voltage boosting circuit module is used for boosting the voltage source and transmitting the boosted voltage to the switch driving circuit module;
the output end of the switch driving circuit module is connected with the buzzer BZ, and the switch driving circuit module is used for controlling the buzzer BZ according to the signal output by the control circuit module.
In this embodiment, the control circuit module is composed of a single-chip microcomputer;
the power end of the singlechip is connected with the voltage source VDD;
the first input/output port I/O1 of the singlechip is used as a first output end of the control circuit module and is connected with the input end of the boost circuit module;
the second input/output port I/O2 of the singlechip is used as a second output end of the control circuit module and is connected with the first input end of the switch driving circuit module; the switch driving circuit module controls the buzzer BZ according to the signal of the I/O2 output by the second input/output port of the singlechip;
the single chip microcomputer monitors the boosted voltage and controls the boosted voltage within a preset voltage range.
The boost circuit module comprises an inductor L1, a first triode Q11, a first resistor R11, a second resistor R12, a freewheeling diode D1 and a capacitor C1;
one end of the inductor L1 is used as a power end of the boost circuit module, and the other end of the inductor L1 is connected with the collector of the first triode Q11 and the anode of the freewheeling diode D1 at the same time;
one end of the first resistor R11 is used as an input end of the boost circuit module, and the other end of the first resistor R11 is connected with the base electrode of the first triode Q11;
the second resistor R12 is connected between the base electrode and the emitter electrode of the first triode Q11, and the emitter electrode of the first triode Q11 is grounded GND;
the cathode of the freewheeling diode D1 is connected with one end of the capacitor C1, and the other end of the capacitor C1 is grounded to GND;
one end is led out from the connection part of the cathode of the follow current diode D1 and the capacitor C1 and is used as the output end of the boost circuit module.
In this embodiment, the boosting circuit module boosts the voltage VDD supplied from the voltage source to the boosted voltage VBST (VBST > VDD);
in this embodiment, the boost circuit module further includes a voltage detection unit, configured to detect the boosted voltage, and send a detection result to the single chip microcomputer.
In this embodiment, the voltage detection unit includes a third resistor R13, a fourth resistor R14, a fifth resistor R15, and a second triode Q12, and the single chip microcomputer further includes a third input/output port I/O3 and a fourth input/output port I/O4;
one end of the third resistor R13 is connected with the cathode of the freewheeling diode D1, and the other end of the third resistor R13 is connected with the collector of the second triode Q12;
the base electrode of the second triode Q12 is connected with a fourth input/output port I/O4 of the singlechip through the fifth resistor R15;
the emitter of the second triode Q12 is connected with the third input/output port I/O3 of the singlechip, one end of the fourth resistor R14 is connected between the emitter of the second triode Q12 and the third input/output port I/O3 of the singlechip, and the other end of the fourth resistor R14 is grounded to GND;
the third input/output port I/O3 of the singlechip is used for receiving the voltage value of the boosted voltage detected by the voltage detection unit;
according to the working state of the buzzer, the fourth input/output port I/O4 of the singlechip continuously outputs high level or low level, wherein:
when the buzzer works, the fourth input/output port I/O4 of the singlechip continuously outputs high level; when the buzzer does not work, the fourth input/output port I/O4 of the singlechip continuously outputs a low level.
In this embodiment, the switch driving circuit module includes a third triode Q23, a fourth triode Q24, a fifth triode Q25, a sixth resistor R26, a seventh resistor R27 and an eighth resistor R28, and in this embodiment, the voltage difference between the two ends of the buzzer BZ is rapidly switched between 0V and VBST by the switch driving circuit module, so as to drive the buzzer BZ to sound;
one end of the sixth resistor R26 is used as a first input end of the switch driving circuit module, and the other end of the sixth resistor R26 is connected with the base electrode of the third triode Q23;
one end of the seventh resistor R27 is connected with the first input end of the switch driving circuit module, and the other end of the seventh resistor R27 is connected with the base electrode of the fourth triode Q24;
one end of the eighth resistor R28 is connected with the collector of the third triode Q23, the other end of the eighth resistor R28 is connected with the collector of the fifth triode Q25, and the collector of the fifth triode Q25 is used as the second input end of the switch driving circuit module;
the base electrode of the fifth triode Q25 is connected between the eighth resistor R28 and the collector electrode of the third triode Q23;
the emitter of the third triode Q23 and the emitter of the fourth triode Q24 are grounded;
an emitter of the fifth triode Q25 is connected with a collector of the fourth triode Q24;
the collector and the emitter of the fifth triode Q25 are also used as the output end of the switch driving circuit module, and the collector and the emitter of the fifth triode Q25 are respectively connected to the two ends of the BZ end of the buzzer.
The specific structure of the driving circuit of the buzzer in this embodiment is shown in fig. 3, in which the block labeled 1 includes a control circuit module, the block labeled 2 includes a voltage circuit module, and the block labeled 3 includes a switch driving circuit module. The buzzer driving circuit in the embodiment is formed by a singlechip, a booster circuit and a switch driver, and the singlechip is responsible for controlling the booster circuit module and the switch driving circuit module, so as to realize the switch control of the booster circuit module and the detection and the setting of the voltage value of the output voltage.
In this embodiment, all the used triodes are NPN type triodes, and in other embodiments, PNP type triodes may be replaced, and only the circuit needs to be adaptively adjusted after replacement.
In an embodiment, a buzzer driving method implemented based on the driving circuit of a buzzer described in the above embodiment includes:
the control circuit module is used for controlling the working states of the boost circuit module and the switch driving circuit module, so that the buzzer BZ is controlled, and the method specifically comprises the following steps:
(1) The control circuit module judges whether the buzzer needs to be driven to work or not;
(2) If the buzzer does not need to be driven to work, continuing the subsequent step (3), otherwise, continuing the subsequent step (4);
(3) The control circuit module controls the boost circuit module and the switch driving circuit module to work through a first output end and a second output end of the control circuit module;
(4) The control circuit module controls the boost circuit module and the switch driving circuit module to work through the first output end and the second output end of the control circuit module, so that the buzzer sends out alarm sounds with consistent loudness, and the control circuit module specifically comprises the following steps:
(4.1) outputting a first square wave signal by a first input/output port I/O1 of the singlechip, controlling the voltage boosting circuit module to boost the voltage provided by a voltage source, and transmitting the boosted voltage to the switch driving circuit module by the voltage boosting circuit module; the singlechip controls the voltage transmitted to the switch driving circuit module within a preset voltage range; the duty ratio and period of the first square wave signal are preset by the system, wherein the singlechip controls the voltage transmitted to the switch driving circuit module within a preset voltage range, and the method comprises the following steps of:
(4.1.0) continuously outputting a high level through a fourth input/output port of the singlechip to enable the voltage detection unit to start working;
the voltage detection unit detects the boosted voltage generated by the voltage boosting circuit module and sends the detected voltage value of the boosted voltage to a third input/output port I/O3 of the singlechip;
(4.1.2) the singlechip determines whether the voltage value of the boosted voltage is within the preset voltage range (in this embodiment, the preset voltage range is a small range, the final boosted voltage VBST fluctuates within a range of a few thousandths of the voltage value set by the user), and when the voltage value of the boosted voltage is within the preset voltage range, the subsequent step (4.1.3) is continued, otherwise the subsequent step (4.1.4) is continued;
(4.1.3) the singlechip controls the first input/output port I/O1 to stop outputting a first square wave signal, so that the booster circuit module stops boosting, and the step (4.1.1) is returned;
(4.1.4) the singlechip determines whether the voltage value of the boosted voltage is higher than or lower than the preset voltage range,
returning to the step (4.1.3) if the voltage value of the boosted voltage is higher than the preset voltage range, and continuing to output a first square wave signal by the first input/output port I/O1 of the singlechip if the voltage value of the boosted voltage is lower than the preset voltage range, so that the boosting circuit module continues to boost and returns to the step (4.1.1);
(4.2) outputting a second square wave signal by the I/O2 of the second input/output port of the singlechip, so that the buzzer sends out alarm sound with consistent loudness, and the frequency of the second square wave signal is the working frequency of the buzzer.
The buzzer driving circuit in the above embodiment is controlled by the method in the above embodiment, and the following requirements can be achieved:
1. the loudness of the buzzer can meet the requirement;
2. the consistency of the loudness of the buzzer is good;
3. the buzzer does not have static power consumption when not working.
Meanwhile, the three-terminal I-shaped inductor is not used in the circuit, and only a common chromatic circle inductor is needed. The color ring inductor has low price, easy mass production and small volume. The voltage difference at two ends of the buzzer is controlled by the internal software of the singlechip, so that the voltage difference is accurately adjustable, the loudness of the buzzer can be ensured, and the consistency of the loudness can be ensured.
The driving circuit of the buzzer is controlled by the method for driving the buzzer to work, and the working principle and the working process of each module of the driving circuit of the buzzer in the embodiment are as follows:
in the initial state, the average of the first input/output port I/O1, the second input/output port I/O2 and the fourth input/output port I/O4 in the singlechip is 0V. At this time, the first transistor Q11, the second transistor Q12, the third transistor Q23, and the fourth transistor Q24 are all turned off, and the boost circuit module and the switch driving circuit module have no static power consumption.
When the buzzer is required to sound, firstly, the singlechip controls the first input/output port I/O1 to output a first square wave signal with the duty ratio of D and the period of T1. The actual duty ratio and the period duration can be set according to the actual situation.
When the first input/output port I/O1= "1", the first transistor Q11 is turned on, a current path is formed among the voltage source VDD, the inductor L1 and the first transistor Q11, and the current in the inductor L1 increases linearly to store energy.
When the first input/output port I/O1= "0", the first triode Q11 is turned off, the inductor L1 charges the capacitor C1 through the flywheel diode D1, and the boosted voltage VBST gradually increases.
During the work of the buzzer, the I/O4 of the fourth input/output port of the singlechip is always 1, and the second triode Q12 is controlled to be always conducted. The boosted voltage VBST is input to a comparator or an AD port of the singlechip through a third input/output port I/O3 of the third resistor R13 and a fourth resistor R14 (when the selected singlechip is provided with the comparator, the boosted voltage VBST is input to the comparator in the singlechip, and when the selected singlechip is provided with the AD port, the boosted voltage VBST is input to the AD port in the singlechip), and the singlechip monitors the voltage division value of the boosted voltage VBST received by the third input/output port I/O3 in real time. When the voltage division value received by the third input/output port I/O3 is larger than the threshold value set in the singlechip, the first input/output port I/O1 of the singlechip stops outputting square wave signals, the square wave signals are kept at 0, and the voltage value of the boosted voltage VBST starts to drop. Along with the decrease of the boosted voltage VBST, the voltage division value of the boosted voltage VBST is smaller than the threshold value set in the singlechip again, the preset voltage range is determined by the threshold value set in the singlechip, the singlechip controls the first input/output port I/O1 to output square wave signals again, and charging is carried out again, so that the boosted voltage VBST is increased. And finally, the value of the boosted voltage VBST fluctuates slightly above and below the set value.
Meanwhile, when the buzzer works, the second input/output port I/O2 of the singlechip also outputs a square wave signal, and the frequency of the square wave signal is the working frequency of the buzzer.
When the second input/output port I/O2 is "1", the third transistor Q23 and the fourth transistor Q24 are turned on, the base of the third transistor Q23, i.e., the base of the fifth transistor Q25, is pulled down to approximately 0V, and the fifth transistor Q25 is turned off. The voltage difference between two ends of the buzzer BZ is the boosted voltage VBST, and a current path formed by the boosted voltage VBST, the buzzer BZ and the fourth triode Q24 is free of resistance, so that the buzzer BZ can flow a larger current.
When the second input/output port I/O2 is "0", both the third transistor Q23 and the fourth transistor Q24 are turned off. The boosted voltage VBST is transmitted to the lower polar plate of the buzzer BZ through the eighth resistor R28 and the emission set of the fifth triode Q25 to be charged rapidly, so that the voltage difference between the two ends of the buzzer BZ is zero. The method is repeated circularly, so that the voltage difference at two ends of the buzzer BZ is positive and zero alternately, and the buzzer is driven to make a sound. The loudness of the buzzer is regulated only by setting the value of the boosted voltage VBST, so that the loudness of the buzzer can be ensured to meet the requirement.
When the driving circuit of the buzzer in the above embodiment is used to drive the buzzer to operate, a partial waveform of the operating voltage of the buzzer is shown in fig. 4. After the buzzer driving circuit and the corresponding buzzer driving method are adopted, the upper polar plate of the buzzer always keeps a high-level state, and the lower polar plate of the buzzer is at a high level when the buzzer is cut off and at a low level when the buzzer is turned on. And as can be seen from the figure, the buzzer is operated with a consistent loudness.
The driving circuit of the buzzer in the embodiment is controlled by software in the singlechip, is accurate and adjustable, and can ensure the loudness of the buzzer and the consistency of the loudness. Meanwhile, three-end I-shaped inductors are not used in the circuit, and only a common chromatic circle inductor is needed. The color ring inductor has low price, easy mass production and small volume, and effectively avoids the failure problem caused by pin breakage. In addition, the problem of inconsistent loudness of the buzzer in mass production caused by poor consistency of three-terminal I-shaped inductance is avoided. When the boosting is not needed and the buzzer does not work, the first triode Q11, the second triode Q12, the third triode Q23 and the fourth triode Q24 are all cut off, and the boosting circuit module and the switch driving circuit module have no static power consumption. In short, the structure in the driving circuit of the buzzer realizes that positive voltage and zero voltage of the upper polar plate and the lower polar plate of the buzzer alternate, static power consumption does not exist, the cost is extremely low, and meanwhile, the buzzer does not have static loss when not working, so that the energy is saved very.
The buzzer driving circuit and the corresponding method for driving the buzzer to work can effectively control the buzzer to work, meanwhile, the function control of the circuit can be realized by only using common inductors and components in the circuit, three-end I-shaped inductors are not needed, the cost is low, the size of the device is small, and the current performance is stable. The control circuit module is used for controlling the boosting circuit module and the switch driving circuit module, so that stable work of the buzzer is guaranteed, the adaptability is good, and meanwhile, when the driving circuit of the buzzer is in a standby state, the boosting circuit module and the switch driving circuit module have no static power consumption, the electric energy loss is reduced, and the buzzer is more environment-friendly.
In this specification, the application has been described with reference to specific embodiments thereof. It will be apparent, however, that various modifications and changes may be made without departing from the spirit and scope of the application. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.

Claims (6)

1. The driving circuit of the buzzer is characterized by comprising a control circuit module, a boosting circuit module and a switch driving circuit module;
the first output end of the control circuit module is connected with the input end of the boost circuit module, the second output end of the control circuit module is connected with the first input end of the switch driving circuit module, and the control circuit module is used for controlling the working states of the boost circuit module and the switch driving circuit module;
the power end of the voltage boosting circuit module is connected with a voltage source, the output end of the voltage boosting circuit module is connected with the second input end of the switch driving circuit module, and the voltage boosting circuit module is used for boosting the voltage source and transmitting the boosted voltage to the switch driving circuit module;
the output end of the switch driving circuit module is connected with the buzzer, and the switch driving circuit module is used for controlling the buzzer according to the signal output by the control circuit module;
the control circuit module is composed of a singlechip;
the power end of the singlechip is connected with the voltage source;
the first input/output port of the singlechip is used as the first output end of the control circuit module and is connected with the input end of the boost circuit module;
the second input/output port of the singlechip is used as the second output end of the control circuit module and is connected with the first input end of the switch driving circuit module; the switch driving circuit module controls the buzzer according to a signal output by a second input/output port of the singlechip;
the singlechip monitors the boosted voltage and controls the boosted voltage within a preset voltage range;
the boost circuit module comprises an inductor, a first triode, a first resistor, a second resistor, a flywheel diode and a capacitor;
one end of the inductor is used as a power end of the boost circuit module, and the other end of the inductor is connected with the collector electrode of the first triode and the anode of the freewheeling diode at the same time;
one end of the first resistor is used as an input end of the boost circuit module, and the other end of the first resistor is connected with the base electrode of the first triode;
the second resistor is connected between the base electrode and the emitter electrode of the first triode, and the emitter electrode of the first triode is grounded;
the cathode of the free-wheeling diode is connected with one end of the capacitor, and the other end of the capacitor is grounded;
one end is led out from the connection part of the cathode of the follow current diode and the capacitor and is used as the output end of the boost circuit module;
the boost circuit module also comprises a voltage detection unit which is used for detecting the boosted voltage and transmitting the detection result to the singlechip;
the voltage detection unit comprises a third resistor, a fourth resistor, a fifth resistor and a second triode, and the singlechip also comprises a third input/output port and a fourth input/output port;
one end of the third resistor is connected with the cathode of the freewheeling diode, and the other end of the third resistor is connected with the collector of the second triode;
the base electrode of the second triode is connected with a fourth input/output port of the singlechip through the fifth resistor;
the emitter of the second triode is connected with a third input/output port of the singlechip, one end of the fourth resistor is connected between the emitter of the second triode and the third input/output port of the singlechip, the other end of the fourth resistor is grounded, and the third input/output port of the singlechip is used for receiving the voltage value of the boosted voltage detected by the voltage detection unit;
according to the working state of the buzzer, the fourth input/output port of the singlechip continuously outputs high level or low level;
the switch driving circuit module comprises a third triode, a fourth triode, a fifth triode, a sixth resistor, a seventh resistor and an eighth resistor;
one end of the sixth resistor is used as a first input end of the switch driving circuit module, and the other end of the sixth resistor is connected with the base electrode of the third triode;
one end of the seventh resistor is connected with the first input end of the switch driving circuit module, and the other end of the seventh resistor is connected with the base electrode of the fourth triode;
one end of the eighth resistor is connected with the collector electrode of the third triode, the other end of the eighth resistor is connected with the collector electrode of the fifth triode, and the collector electrode of the fifth triode is used as the second input end of the switch driving circuit module;
the base electrode of the fifth triode is connected between the eighth resistor and the collector electrode of the third triode;
the emitter of the third triode and the emitter of the fourth triode are grounded;
the emitter of the fifth triode is connected with the collector of the fourth triode;
the collector and the emitter of the fifth triode are also used as the output end of the switch driving circuit module, and the collector and the emitter of the fifth triode are respectively connected with the two ends of the buzzer end.
2. A buzzer driving method implemented based on the driving circuit of the buzzer of claim 1, wherein the buzzer driving method includes:
the working states of the boost circuit module and the switch driving circuit module are controlled by the control circuit module, so that the buzzer is controlled.
3. The buzzer driving method of claim 2, wherein said controlling the operation states of the booster circuit module and the switch driving circuit module by the control circuit module includes the steps of:
(1) The control circuit module judges whether the buzzer needs to be driven to work or not;
(2) If the buzzer does not need to be driven to work, continuing the subsequent step (3), otherwise, continuing the subsequent step (4);
(3) The control circuit module controls the boost circuit module and the switch driving circuit module to work through a first output end and a second output end of the control circuit module;
(4) The control circuit module controls the boost circuit module and the switch driving circuit module to work through the first output end and the second output end of the control circuit module, so that the buzzer sends out alarm sounds with consistent loudness.
4. A buzzer driving method in accordance with claim 3, wherein the control circuit module is constituted by a single chip microcomputer; the singlechip comprises a first input/output port, a second input/output port, a third input/output port and a fourth input/output port; the step-up circuit module comprises a voltage detection unit, and the step (4) comprises the following steps:
(4.1) outputting a first square wave signal by a first input/output port of the singlechip, controlling the voltage boosting circuit module to boost the voltage provided by the voltage source, and transmitting the boosted voltage to the switch driving circuit module by the voltage boosting circuit module; the singlechip controls the voltage transmitted to the switch driving circuit module within a preset voltage range; wherein the duty cycle and period of the first square wave signal are preset by the system;
and (4.2) outputting a second square wave signal by a second input/output port of the singlechip, so that the buzzer sends out alarm sound with consistent loudness, and the frequency of the second square wave signal is the working frequency of the buzzer.
5. The method of driving a buzzer in accordance with claim 4, wherein said single chip microcomputer controlling the magnitude of the voltage supplied to said switch driving circuit module within a preset voltage range comprises the steps of:
the voltage detection unit detects the boosted voltage generated by the voltage boosting circuit module and sends the detected voltage value of the boosted voltage to a third input/output port of the singlechip;
(4.1.2) the singlechip judges whether the voltage value of the boosted voltage is within the preset voltage range, and when the voltage value of the boosted voltage is within the preset voltage range, continuing the subsequent step (4.1.3), otherwise, continuing the subsequent step (4.1.4);
(4.1.3) the singlechip controls the first input/output port to stop outputting the first square wave signal, so that the boost circuit module stops boosting, and returns to the step (4.1.1);
and (4.1.4) the singlechip determines whether the voltage value of the boosted voltage is higher than the preset voltage range or lower than the preset voltage range, returns to the step (4.1.3) if the voltage value of the boosted voltage is higher than the preset voltage range, and continues to output a first square wave signal if the voltage value of the boosted voltage is lower than the preset voltage range, so that the boost circuit module continues to boost and returns to the step (4.1.1).
6. The buzzer driving method of claim 5, wherein the step (4.1.1) is preceded by the steps of:
and (4.1.0) continuously outputting a high level through a fourth input/output port of the singlechip, so that the voltage detection unit starts to work.
CN201811119567.5A 2018-09-25 2018-09-25 Buzzer driving circuit and corresponding buzzer driving method Active CN109003597B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811119567.5A CN109003597B (en) 2018-09-25 2018-09-25 Buzzer driving circuit and corresponding buzzer driving method
PCT/CN2019/105684 WO2020063367A1 (en) 2018-09-25 2019-09-12 Buzzer driving circuit and corresponding buzzer driving method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811119567.5A CN109003597B (en) 2018-09-25 2018-09-25 Buzzer driving circuit and corresponding buzzer driving method

Publications (2)

Publication Number Publication Date
CN109003597A CN109003597A (en) 2018-12-14
CN109003597B true CN109003597B (en) 2023-11-03

Family

ID=64589939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811119567.5A Active CN109003597B (en) 2018-09-25 2018-09-25 Buzzer driving circuit and corresponding buzzer driving method

Country Status (2)

Country Link
CN (1) CN109003597B (en)
WO (1) WO2020063367A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109003597B (en) * 2018-09-25 2023-11-03 华润微集成电路(无锡)有限公司 Buzzer driving circuit and corresponding buzzer driving method
CN110543130B (en) * 2019-10-10 2024-03-19 深圳市高新投三江电子股份有限公司 Buzzer gradually-sounding control circuit and control method
CN111128105B (en) * 2019-11-29 2022-09-23 深圳南云微电子有限公司 Electromagnetic buzzer
CN111063330A (en) * 2020-01-22 2020-04-24 无锡十顶电子科技有限公司 Buzzer driving circuit for enhancing driving capability in low voltage
CN112365869A (en) * 2020-10-09 2021-02-12 华帝股份有限公司 Single IO controlled buzzer circuit and control method thereof
CN112289291B (en) * 2020-10-10 2024-05-31 华帝股份有限公司 Buzzer device and control method thereof
CN112201218A (en) * 2020-10-12 2021-01-08 蚌埠依爱消防电子有限责任公司 Fire-fighting equipment buzzer drive circuit
CN113394013B (en) * 2021-05-18 2022-06-07 南京博纳威电子科技有限公司 Intelligent voltage transformer
CN114399874A (en) * 2022-01-29 2022-04-26 西安盛赛尔电子有限公司 Audible alarm and method for driving buzzer in audible alarm

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201549047U (en) * 2009-11-17 2010-08-11 无锡华润矽科微电子有限公司 Smoke-sensing alarm circuit
CN202966122U (en) * 2012-11-30 2013-06-05 肇庆中晶实业有限公司 Back-up buzzer circuit
JP2013134297A (en) * 2011-12-26 2013-07-08 Panasonic Corp Buzzer driver circuit
JP2013134296A (en) * 2011-12-26 2013-07-08 Panasonic Corp Ac input voltage sensing circuit and buzzer driver circuit having the same
CN104427699A (en) * 2013-09-04 2015-03-18 海洋王(东莞)照明科技有限公司 LED (Light Emitting Diode) signal lamp and LED drive circuit thereof
CN104640267A (en) * 2013-11-08 2015-05-20 苏州璨宇光学有限公司 Light source driver and driving method thereof
CN105487588A (en) * 2016-01-12 2016-04-13 四川长虹电器股份有限公司 Constant current source circuit capable of being regulated and controlled in real time and constant current control method thereof
CN205645251U (en) * 2016-02-18 2016-10-12 安徽威斯姆电子科技有限公司 Alarm buzzer that backs a car that singlechip was accomplished
CN106531140A (en) * 2016-12-05 2017-03-22 深圳市泛海三江电子股份有限公司 Piezoelectric buzzer drive circuit
CN107680573A (en) * 2017-10-30 2018-02-09 联合汽车电子有限公司 Buzzer drive circuit
CN207657704U (en) * 2017-07-31 2018-07-27 深圳市朗仁科技有限公司 Buzzer drive circuit
CN208938641U (en) * 2018-09-25 2019-06-04 无锡华润矽科微电子有限公司 Buzzer drive circuit

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2388995B (en) * 2002-05-23 2004-06-30 Gent Ltd Improvements in and relating to alarms
CN103578459B (en) * 2012-08-01 2016-05-25 万喻 Motorized vehicles and vessels electronic horn
CN203931488U (en) * 2014-07-01 2014-11-05 北京经纬恒润科技有限公司 A kind of buzzing piece driving circuit and hummer
CN206282605U (en) * 2016-12-05 2017-06-27 深圳市泛海三江电子股份有限公司 A kind of piezo buzzer drive circuit
CN107599960B (en) * 2017-07-31 2020-04-14 深圳市朗仁科技有限公司 Buzzer driving circuit
CN109003597B (en) * 2018-09-25 2023-11-03 华润微集成电路(无锡)有限公司 Buzzer driving circuit and corresponding buzzer driving method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201549047U (en) * 2009-11-17 2010-08-11 无锡华润矽科微电子有限公司 Smoke-sensing alarm circuit
JP2013134297A (en) * 2011-12-26 2013-07-08 Panasonic Corp Buzzer driver circuit
JP2013134296A (en) * 2011-12-26 2013-07-08 Panasonic Corp Ac input voltage sensing circuit and buzzer driver circuit having the same
CN202966122U (en) * 2012-11-30 2013-06-05 肇庆中晶实业有限公司 Back-up buzzer circuit
CN104427699A (en) * 2013-09-04 2015-03-18 海洋王(东莞)照明科技有限公司 LED (Light Emitting Diode) signal lamp and LED drive circuit thereof
CN104640267A (en) * 2013-11-08 2015-05-20 苏州璨宇光学有限公司 Light source driver and driving method thereof
CN105487588A (en) * 2016-01-12 2016-04-13 四川长虹电器股份有限公司 Constant current source circuit capable of being regulated and controlled in real time and constant current control method thereof
CN205645251U (en) * 2016-02-18 2016-10-12 安徽威斯姆电子科技有限公司 Alarm buzzer that backs a car that singlechip was accomplished
CN106531140A (en) * 2016-12-05 2017-03-22 深圳市泛海三江电子股份有限公司 Piezoelectric buzzer drive circuit
CN207657704U (en) * 2017-07-31 2018-07-27 深圳市朗仁科技有限公司 Buzzer drive circuit
CN107680573A (en) * 2017-10-30 2018-02-09 联合汽车电子有限公司 Buzzer drive circuit
CN208938641U (en) * 2018-09-25 2019-06-04 无锡华润矽科微电子有限公司 Buzzer drive circuit

Also Published As

Publication number Publication date
WO2020063367A1 (en) 2020-04-02
CN109003597A (en) 2018-12-14

Similar Documents

Publication Publication Date Title
CN109003597B (en) Buzzer driving circuit and corresponding buzzer driving method
US5313141A (en) Three terminal inverter for electroluminescent lamps
US7710100B2 (en) Motherboard testing apparatus
CN208938641U (en) Buzzer drive circuit
WO2022027264A1 (en) Drive circuit for channel switch, charging control method and charger
CN106531140B (en) Piezoelectric buzzer driving circuit
CN110459955A (en) A kind of semiconductor laser device driving circuit of high high-power Gao Zhongying
US20130307519A1 (en) Switching circuit and electronic device using the same
CN213661455U (en) Self-excited oscillation booster circuit
CN113193540A (en) Control circuit, control circuit system and power supply chip
US20140375285A1 (en) Dc-dc boost converter
CN219329698U (en) Half-bridge driving circuit, half-bridge converter, circuit board and electronic equipment
CN206202235U (en) A kind of drive circuit of piezoelectric buzzing piece and burglar alarm
CN219554825U (en) Low-cost negative voltage generation circuit
US20160062379A1 (en) Systems, methods, and devices for bootstrapped power circuits
CN211160544U (en) Ultrasonic transducer drive circuit
US5900786A (en) Oscillation circuit
CN111614073A (en) Low-cost power supply reverse connection protection circuit
CN216531272U (en) Circuit through electric self-locking on electric capacity
CN216312961U (en) Boost circuit and microphone thereof
CN110086328B (en) Power-on time sequence control circuit
CN1333514C (en) Switching power source circuit
CN113781990B (en) Low-voltage piezoelectric buzzer driving circuit and driving method thereof
CN113110146B (en) Driving power supply circuit and driving method thereof
CN216536234U (en) Ultraviolet sterilizing lamp control 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
CB02 Change of applicant information

Address after: 214135 -6, Linghu Avenue, Wuxi Taihu international science and Technology Park, Wuxi, Jiangsu, China, 180

Applicant after: China Resources micro integrated circuit (Wuxi) Co.,Ltd.

Address before: No.180-22, Linghu Avenue, Taihu International Science and Technology Park, Wuxi, Jiangsu, 214135

Applicant before: WUXI CHINA RESOURCES SEMICO Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant