WO2019085861A1 - Buzzer drive circuit - Google Patents

Buzzer drive circuit Download PDF

Info

Publication number
WO2019085861A1
WO2019085861A1 PCT/CN2018/112432 CN2018112432W WO2019085861A1 WO 2019085861 A1 WO2019085861 A1 WO 2019085861A1 CN 2018112432 W CN2018112432 W CN 2018112432W WO 2019085861 A1 WO2019085861 A1 WO 2019085861A1
Authority
WO
WIPO (PCT)
Prior art keywords
transistor
circuit
resistor
buzzer
pulse
Prior art date
Application number
PCT/CN2018/112432
Other languages
French (fr)
Chinese (zh)
Inventor
王苗
张久庆
Original Assignee
联合汽车电子有限公司
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 联合汽车电子有限公司 filed Critical 联合汽车电子有限公司
Publication of WO2019085861A1 publication Critical patent/WO2019085861A1/en

Links

Images

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

Definitions

  • the present invention relates to the field of driving circuit technologies, and in particular, to a buzzer driving circuit.
  • the buzzer is divided into a DC buzzer and an AC buzzer.
  • the DC buzzer As long as the DC buzzer is connected to DC power, it will emit a predetermined sound, such as continuous beeping. This kind of sound cannot be controlled, and the frequency cannot be changed. It is generally used in some simple applications.
  • the AC buzzer is equivalent to a simple speaker. It does not sound when it is connected to the DC. Only when it is connected to the AC, it will emit a corresponding sound according to the frequency of the AC. This buzzer can control the sound output arbitrarily, but the user needs to respond accordingly. The signal is driven. In the electric tailgate system of the car, the buzzer acts as a warning sound and is driven by the tailgate controller.
  • the traditional buzzer drive circuit includes a controller and a switch tube, and the pulse-modulated square wave drive switch tube generated by the controller switches.
  • the switching state causes the voltage across the buzzer to alternately produce a piezoelectric effect, which causes the internal metal piece to vibrate and sound, but the warning sound produced by this circuit is single, the tone is sharp, and the sound quality is poor.
  • Other methods of audio drive include the use of dedicated audio amplifiers and digital-to-analog converters, which provide flexible drive waveforms and sound quality, but at a cost that far exceeds discrete device solutions and is not suitable for applications such as tone. occasion.
  • the present invention provides a buzzer driving circuit, the buzzer driving circuit comprising a first pulse circuit, a second pulse circuit, a storage circuit and an output circuit, wherein:
  • the first pulse circuit is connected to the energy storage circuit and provides a single pulse signal to the energy storage circuit;
  • the energy storage circuit generates a charge and discharge signal according to the single pulse signal, the energy storage circuit is connected to the output circuit, and provides the charge and discharge signal to the output circuit;
  • the second pulse circuit is connected to the output circuit, and provides a multi-pulse signal to the output circuit, the frequency of the multi-pulse signal is responsive to a vibration frequency of the buzzer;
  • the output circuit generates an output signal based on the charge and discharge signal and the multi-pulse signal, and supplies the output signal to the buzzer.
  • the buzzer driving circuit further includes an amplitude modulation amplifying circuit, and the amplitude amplifying circuit is connected between the energy storage circuit and the output circuit
  • the amplitude modulation amplifying circuit includes a first transistor and a second transistor, wherein the first transistor and the second transistor are both NPN transistors, a base of the first transistor is connected to the energy storage circuit, and the first transistor is emitted
  • the pole is connected to the base of the second transistor, the collector of the first transistor is connected to the power source, the emitter of the second transistor is connected to the output circuit, and the collector of the second transistor is connected to the power source.
  • the energy storage circuit includes a first capacitor and a first resistor, and the first capacitor and the first resistor are connected in parallel to form a parallel circuit, where the parallel circuit One end is connected to the first pulse circuit, and the other end is grounded.
  • the output circuit includes a third transistor and a fourth transistor, the third transistor is an NPN transistor, the fourth transistor is a PNP transistor, and the third a base of the transistor and the fourth transistor is connected to the second pulse circuit, an emitter of the third transistor and the fourth transistor is connected to the buzzer, and a collector of the third transistor is connected to the a tank circuit, the collector of the fourth transistor being grounded.
  • the output circuit further includes a second capacitor, the second capacitor is connected to the buzzer at one end, and the third transistor and the The emitter of a four transistor.
  • the first pulse circuit includes a fifth transistor, the fifth transistor is a PNP transistor, and a base of the fifth transistor is connected to a controller, An emitter of the fifth transistor is coupled to the power source, and a collector of the fifth transistor is coupled to the tank circuit.
  • the second pulse circuit includes a sixth transistor, the sixth transistor is an NPN transistor, and a base of the sixth transistor is connected to the controller.
  • the emitter of the sixth transistor is grounded, and the collector of the sixth transistor is connected to the output circuit.
  • the first pulse circuit further includes a seventh transistor, the seventh transistor is an NPN transistor, and a base of the seventh transistor is connected to the controller, The emitter of the seventh transistor is grounded, and the collector of the seventh transistor is connected to the base of the fifth transistor.
  • the buzzer driving circuit further includes a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, and a ninth Resistance and tenth resistor, where:
  • One end of the third resistor is connected to the energy storage circuit, and the other end is connected to the collector of the fifth transistor;
  • the fourth resistor is connected to the power source at one end and to the base of the fifth transistor at the other end;
  • the fifth resistor is connected to the controller at one end and the base of the seventh transistor is connected to the other end;
  • the sixth resistor is connected to the controller at one end and grounded at the other end;
  • the seventh resistor is connected to the controller at one end, and the other end is connected to the base of the sixth transistor;
  • the eighth resistor is connected to the controller at one end and grounded at the other end;
  • One end of the ninth resistor is connected to the collector of the sixth transistor, and the other end is connected to the base of the third transistor;
  • One end of the tenth resistor is connected to the collector of the sixth transistor, and the other end is connected to the collector of the third transistor.
  • the duty ratio of the single pulse signal is 10% to 30%.
  • a single pulse signal is supplied to the energy storage circuit through the first pulse circuit, and the energy storage circuit filters the single pulse signal to form a charge and discharge signal with a gentle slope, and a charge and discharge signal.
  • the power of the output signal is supplied to the output circuit, and the multi-pulse signal provides an alternating control signal of the output signal to the output circuit.
  • the gentle slope of the charging and discharging signal makes the power of the output signal slow. Rising or falling, the buzzer sounds from strong to weak, the tone is moderated, and the buzzer sound is improved.
  • FIG. 1 is a circuit diagram of a buzzer driving circuit in an embodiment of the present invention
  • FIG. 2 is a circuit diagram of a buzzer driving circuit in another embodiment of the present invention.
  • FIG. 3 is a waveform diagram of a signal of a buzzer driving circuit in an embodiment of the present invention.
  • the figure shows: 10 - first pulse circuit; 20 - second pulse circuit; 30 - energy storage circuit; 40 - output circuit; 50 - amplitude modulation amplifier circuit; 60 - buzzer;
  • the core idea of the present invention is to provide a buzzer drive circuit for improving the buzzer tone.
  • the embodiment provides a buzzer driving circuit.
  • the buzzer driving circuit includes a first pulse circuit 10, a second pulse circuit 20, a storage circuit 30, and The output circuit 40, wherein: the first pulse circuit 10 is connected to the energy storage circuit 30, and supplies a single pulse signal V1 to the energy storage circuit 30.
  • the waveform of the single pulse signal V1 is a single pulse.
  • the storage circuit 30 generates a charge and discharge signal V2 according to the single pulse signal V1, and the energy storage circuit 30 is connected to the output circuit 40, and
  • the output circuit 40 provides the charge and discharge signal V2;
  • the second pulse circuit 20 is connected to the output circuit 40, and provides a multi-pulse signal V3 to the output circuit 40, the frequency of the multi-pulse signal V3 is responsive to the bee
  • the vibration frequency of the horn 60 i.e., the buzzer 60 emits a sound within a certain oscillating frequency, and the frequency of the multi-pulse signal should be within the range);
  • the output circuit 40 is based on the charge and discharge signal V2 and the plurality Pulse signal V3 produces an output signal V4 and will Said output signal V4 is supplied to the buzzer 60.
  • the buzzer driving circuit further includes an amplitude amplifying circuit 50, and the amplitude amplifying circuit 50 is connected between the energy storage circuit 30 and the output circuit 40.
  • the amplitude modulation amplifying circuit 50 includes a first transistor Q1 and a second transistor Q2.
  • the first transistor Q1 and the second transistor Q2 are both NPN transistors, and the base of the first transistor Q1 is connected to the energy storage.
  • the circuit 30 is specifically connected to a parallel circuit formed by R1 and C1.
  • the emitter of the first transistor Q1 is connected to the base of the second transistor Q2, and the collector of the first transistor Q1 is connected to the power supply VDD.
  • the emitter of the second transistor Q2 is connected to the output circuit 40, specifically connected to the collector of the third transistor Q3, and the collector of the second transistor Q2 is connected to the power supply VDD.
  • the first transistor Q1 and the second transistor Q2 constitute an amplifying circuit that amplifies the amplitude of the charge and discharge signal V2 to provide its driving capability.
  • the tank circuit 30 includes a first capacitor C1 and a first resistor R1, and the first capacitor C1 and the first resistor R1 are connected in parallel to form a parallel circuit.
  • the parallel circuit can buffer the falling edge of the single pulse signal V1 to form a gentle descending slope, so that the tone of the buzzer is strongly weakened, one end of the parallel circuit is connected to the first pulse circuit 10, and the other end is grounded.
  • the energy storage circuit 30 may also have a parallel circuit formed by an inductor and a resistor.
  • the parallel circuit is connected to the first pulse circuit 10 at one end and the amplitude modulation amplifier circuit 50 at the other end.
  • the parallel circuit can make the rising edge of the single pulse signal V1. Buffering forms a slower rising edge, making the buzzer's tone stronger and weaker.
  • the output circuit 40 includes a third transistor Q3 and a fourth transistor Q4, the third transistor Q3 is an NPN transistor, and the fourth transistor Q4 is a PNP transistor.
  • the bases of the third transistor Q3 and the fourth transistor Q4 are connected to the second pulse circuit 20, and the emitters of the third transistor Q3 and the fourth transistor Q4 are connected to one end of the buzzer 60, buzzing The other end of the device 60 is grounded, and the output signal V4 can flow out from the emitters of the third transistor Q3 and the fourth transistor Q4, and flows into the ground through the buzzer, and the buzzer sounds when passing the buzzer, the first The collector of the three transistor Q3 is coupled to the tank circuit 30, or as shown in FIG.
  • the multi-pulse signal generated by the second pulse circuit is amplified to drive the buzzer.
  • a typical implementation is a push-pull drive structure composed of Q3 and Q4.
  • the frequency of the multi-pulse signal is preferably 1 kHz, and the high-power of the multi-pulse signal
  • Q4 is turned on, and the output signal outputs a low level, and the voltage is about 0V.
  • the output charging and discharging signal is amplified by the amplitude modulation amplifying circuit.
  • the output Under the continuous action of the multi-pulse signal, the output can obtain an amplitude-modulated pulse drive signal with a gradually decreasing amplitude. This signal can directly drive the buzzer to get the sound improvement effect.
  • the output circuit 40 further includes a second capacitor C2, the second capacitor C2 is connected to the buzzer 60 at one end, and the other end is connected to the third transistor Q3 and the fourth transistor Q4.
  • the emitter, the inductor-type buzzer that needs to be driven symmetrically, can use the second capacitor C2 to achieve the output of the AC.
  • the first pulse circuit 10 includes a fifth transistor Q5, the fifth transistor Q5 is a PNP transistor, and the base of the fifth transistor Q5 is connected to a controller. 70, or connected to the seventh transistor as shown in FIG. 3, the emitter of the fifth transistor Q5 is connected to the power source VDD, and the collector of the fifth transistor Q5 is connected to the tank circuit 30.
  • the second pulse circuit 20 includes a sixth transistor Q6, the sixth transistor Q6 is an NPN transistor, a base of the sixth transistor Q6 is connected to the controller 70, and an emitter of the sixth transistor Q6 is grounded. The collector of the sixth transistor Q6 is connected to the output circuit 40.
  • the first pulse circuit 10 further includes a seventh transistor Q7, the seventh transistor Q7 is an NPN transistor, a base of the seventh transistor Q7 is connected to the controller 70, and an emitter of the seventh transistor Q7 is grounded. The collector of the seventh transistor Q7 is connected to the base of the fifth transistor Q5.
  • the single pulse signal V1 and the multi-pulse signal V3 are output.
  • the controller 70 periodically generates a single pulse signal to give a signal to the base of the seventh transistor Q7.
  • the seven transistors are turned on, the base of the fifth transistor is grounded, the fifth transistor is turned on, the power supply VDD charges the storage circuit 30, and the voltage value of the charge and discharge signal V2 can be adjusted by the duration of the single pulse signal V1, thereby adjusting the output.
  • the initial value of the amplitude the controller 70 also outputs a multi-pulse signal V3 in real time, and the output of the two pulse signals can be realized by one controller 70, and the control method is simple.
  • the buzzer driving circuit further includes a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, and a tenth resistor.
  • R10 wherein: the third resistor R3 is connected to the energy storage circuit 30 at one end, and the collector of the fifth transistor Q5 is connected to the other end; the third resistor R3 functions to isolate and protect the energy storage circuit from the power supply.
  • the fourth resistor R4 is connected to the power supply VDD at one end and to the base of the fifth transistor Q5 at the other end. The fourth resistor functions to turn on the fifth resistor.
  • the fifth resistor R5 is connected to the controller at one end, and the other end is connected to the base of the seventh transistor; the sixth resistor R6 is connected to the controller at one end and grounded at the other end; the fifth resistor and the sixth resistor are To turn on the seventh transistor and protect the seventh transistor.
  • the seventh resistor R7 is connected to the controller 70 at one end and to the base of the sixth transistor Q6 at the other end; the eighth resistor R8 is connected to the controller 70 at one end and grounded at the other end; the seventh resistor and the The eight resistors function to turn on the sixth transistor Q6 and protect the sixth transistor Q6.
  • One end of the ninth resistor R9 is connected to the collector of the sixth transistor Q6, and the other end is connected to the base of the third transistor Q3; one end of the tenth resistor R10 is connected to the collector of the sixth transistor Q6, and the other One end is connected to the collector of the third transistor Q3.
  • the ninth resistor and the tenth resistor function to buffer the pulse signal outputted by the controller to protect the bases of the third transistor and the fourth transistor.
  • the duty ratio of the single pulse signal V1 is 10% to 30%.
  • the energy storage circuit is connected by a first pulse circuit, and a single pulse signal is provided to the energy storage circuit, and the energy storage circuit filters the single pulse signal V1.
  • the charge and discharge signal V2 provides the output circuit with the power of the output signal V4
  • the multi-pulse signal V3 provides the output circuit with an alternating control signal of the output signal V4, which has only a comparison with the conventional drive circuit.
  • the multi-pulse signal V3, the gentle slope of the charge and discharge signal V2 causes the power of the output signal V4 to rise slowly, so that the tone of the buzzer is from strong to weak, the tone is moderated, and the buzzer tone is improved.
  • an amplitude modulation control structure is provided as a buzzer driving circuit to drive a passive buzzer.
  • the controller 70 adjusts circuit parameters, the amplitude and frequency of the waveform can be adjusted.
  • the amplitude-adjusted drive waveform is expanded in the frequency domain, which improves the sounding effect of the buzzer and enriches the tone.
  • the amplitude modulation interface proposed in the paper is realized by discrete components, and the cost is greatly reduced, which is suitable for application scenarios such as a buzzer.
  • the parameters of the single pulse signal and the multi-pulse signal can be adjusted by the controller software.
  • the initial amplitude of the output signal can be adjusted by adjusting the width of the single pulse signal, and the frequency of the output signal can be adjusted by the frequency of the multi-pulse signal.
  • the adjustment can be implemented on the same hardware structure to adapt the buzzer of different kinds of different frequencies to the whole product application, or to realize different audio effects on the same buzzer, and to reduce the overall product system while improving the system audio effect. Complexity and cost.
  • the amplitude modulation mechanism is adopted, and the analysis from the frequency domain is to increase the frequency component, which is equivalent to the effect of the spin, using discrete components and a simple digital control method, thereby avoiding the use of expensive digital-to-analog conversion devices and integrated audio power amplifiers.
  • Circuits reduce the cost of the product.
  • the circuit structure supports the direct-drive mode. Compared with the traditional single-side drive, it has the short-circuit protection function in the interface.
  • the traditional single-side drive mode will damage the amplitude modulation parameters of the circuit drive structure when the external buzzer is short-circuited.
  • the drive frequency can be passed through the controller.
  • the software is adjusted to adapt to different buzzers and application scenarios, and the application is very flexible, which reduces the cost of the entire system in different scenarios.
  • the single pulse signal and the multi pulse signal can also be realized by an oscillator of a digital circuit or an analog circuit.
  • the first capacitor used for amplitude modulation control may be a ceramic capacitor, or an electrolytic capacitor, a thin film capacitor or other components having a voltage storage function.
  • Transistors for drive and switching control functions can be implemented using other semiconductor devices of equivalent performance, including but not limited to FETs, device parameters are adjusted to change the specific parameters of the waveform, and for less powerful buzzers, Use a push-pull drive circuit.
  • the above embodiment details the different configurations of the buzzer driving circuit.
  • the present invention includes, but is not limited to, the configurations listed in the above embodiments, and any configuration based on the above embodiments is provided.
  • the contents of the transformation are all within the scope of protection of the present invention. Those skilled in the art can make the same according to the content of the above embodiments.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Amplifiers (AREA)
  • Emergency Alarm Devices (AREA)

Abstract

A buzzer drive circuit, comprising a first pulse circuit (10), a second pulse circuit (20), an energy storage circuit (30), and an output circuit (40). The first pulse circuit (10) is connected to the energy storage circuit (30) and provides a single pulse signal (V1) to the energy storage circuit (30); the energy storage circuit (30) generates a charging/discharging signal (V2) according to the single pulse signal (V1); the energy storage circuit (30) is connected to the output circuit (40) and provides the charging/discharging signal (V2) to the output circuit (40); the second pulse circuit (20) is connected to the output circuit (40) and provides a multi-pulse signal (V3) to the output circuit (40), the frequency of the multi-pulse signal (V3) responding to the vibration frequency of a buzzer (60); the output circuit (40) generates an output signal (V4) according to the charging/discharging signal (V2) and the multi-pulse signal (V3) and provides same to the buzzer (60). The present buzzer drive circuit can improve the tone of a buzzer.

Description

蜂鸣器驱动电路Buzzer drive circuit 技术领域Technical field
本发明涉及驱动电路技术领域,特别涉及一种蜂鸣器驱动电路。The present invention relates to the field of driving circuit technologies, and in particular, to a buzzer driving circuit.
背景技术Background technique
蜂鸣器分为直流蜂鸣器和交流蜂鸣器。直流蜂鸣器只要通上直流电,就会发出预定的声音,比如连续嘀嘀声,这种声音无法控制,频率也无法改变,一般用在一些简单应用场合。交流蜂鸣器相当于一个简单的喇叭,通上直流电不会发声,只有通上交流电,才会根据交流电的频率发出相应的声音,这种蜂鸣器可以任意控制声音输出,但是需要用户以相应的信号驱动。在汽车电动尾门系统中,蜂鸣器作为警告音发声负载,由尾门控制器驱动,传统的蜂鸣器驱动电路包括控制器和开关管,控制器产生的脉冲调制方波驱动开关管切换开关状态,使蜂鸣器两端电压交替变化产生压电效应,带动内部金属片振动而发声,但这种电路产生的警告音音色单一、音调尖锐、音质差。音频驱动的其他方法包括使用专用音频功放和数模转换器件来实现,这种方式可以得到灵活的驱动波形和音质效果,但成本远远超过分立器件方案,并不适用于提示音这一类应用场合。The buzzer is divided into a DC buzzer and an AC buzzer. As long as the DC buzzer is connected to DC power, it will emit a predetermined sound, such as continuous beeping. This kind of sound cannot be controlled, and the frequency cannot be changed. It is generally used in some simple applications. The AC buzzer is equivalent to a simple speaker. It does not sound when it is connected to the DC. Only when it is connected to the AC, it will emit a corresponding sound according to the frequency of the AC. This buzzer can control the sound output arbitrarily, but the user needs to respond accordingly. The signal is driven. In the electric tailgate system of the car, the buzzer acts as a warning sound and is driven by the tailgate controller. The traditional buzzer drive circuit includes a controller and a switch tube, and the pulse-modulated square wave drive switch tube generated by the controller switches. The switching state causes the voltage across the buzzer to alternately produce a piezoelectric effect, which causes the internal metal piece to vibrate and sound, but the warning sound produced by this circuit is single, the tone is sharp, and the sound quality is poor. Other methods of audio drive include the use of dedicated audio amplifiers and digital-to-analog converters, which provide flexible drive waveforms and sound quality, but at a cost that far exceeds discrete device solutions and is not suitable for applications such as tone. occasion.
因此,需要设计一种改善蜂鸣器音色的蜂鸣器驱动电路。Therefore, it is necessary to design a buzzer driving circuit that improves the buzzer sound.
发明内容Summary of the invention
本发明的目的在于提供一种蜂鸣器驱动电路,以解决现有的蜂鸣器音色差的问题。It is an object of the present invention to provide a buzzer drive circuit that solves the problem of the existing buzzer chromatic aberration.
为解决上述技术问题,本发明提供一种蜂鸣器驱动电路,所述蜂鸣器驱动电路包括第一脉冲电路、第二脉冲电路、储能电路和输出电路,其中:In order to solve the above technical problem, the present invention provides a buzzer driving circuit, the buzzer driving circuit comprising a first pulse circuit, a second pulse circuit, a storage circuit and an output circuit, wherein:
所述第一脉冲电路连接所述储能电路,并向所述储能电路提供单脉冲信号;The first pulse circuit is connected to the energy storage circuit and provides a single pulse signal to the energy storage circuit;
所述储能电路根据所述单脉冲信号产生充放电信号,所述储能电路连接所述输出电路,并向所述输出电路提供所述充放电信号;The energy storage circuit generates a charge and discharge signal according to the single pulse signal, the energy storage circuit is connected to the output circuit, and provides the charge and discharge signal to the output circuit;
所述第二脉冲电路连接所述输出电路,并向所述输出电路提供多脉冲信号,所述多脉冲信号的频率响应于蜂鸣器的振动频率;The second pulse circuit is connected to the output circuit, and provides a multi-pulse signal to the output circuit, the frequency of the multi-pulse signal is responsive to a vibration frequency of the buzzer;
所述输出电路根据所述充放电信号和所述多脉冲信号产生输出信号,并将所述输出信号提供给所述蜂鸣器。The output circuit generates an output signal based on the charge and discharge signal and the multi-pulse signal, and supplies the output signal to the buzzer.
可选的,在所述的蜂鸣器驱动电路中,所述蜂鸣器驱动电路还包括调幅放大电路,所述调幅放大电路连接在所述储能电路和所述输出电路之间,所述调幅放大电路包括第一晶体管和第二晶体管,所述第一晶体管和所述第二晶体管均为NPN三极管,所述第一晶体管的基极连接所述储能电路,所述第一晶体管的发射极连接所述第二晶体管的基极,所述第一晶体管的集电极连接电源,所述第二晶体管的发射极连接所述输出电路,所述第二晶体管的集电极连接所述电源。Optionally, in the buzzer driving circuit, the buzzer driving circuit further includes an amplitude modulation amplifying circuit, and the amplitude amplifying circuit is connected between the energy storage circuit and the output circuit, The amplitude modulation amplifying circuit includes a first transistor and a second transistor, wherein the first transistor and the second transistor are both NPN transistors, a base of the first transistor is connected to the energy storage circuit, and the first transistor is emitted The pole is connected to the base of the second transistor, the collector of the first transistor is connected to the power source, the emitter of the second transistor is connected to the output circuit, and the collector of the second transistor is connected to the power source.
可选的,在所述的蜂鸣器驱动电路中,所述储能电路包括第一电容和第一电阻,所述第一电容和所述第一电阻并联形成并联电路,所述并联电路的一端连接所述第一脉冲电路,另一端接地。Optionally, in the buzzer driving circuit, the energy storage circuit includes a first capacitor and a first resistor, and the first capacitor and the first resistor are connected in parallel to form a parallel circuit, where the parallel circuit One end is connected to the first pulse circuit, and the other end is grounded.
可选的,在所述的蜂鸣器驱动电路中,所述输出电路包括第三晶体管和第四晶体管,所述第三晶体管为NPN三极管,所述第四晶体管为PNP三极管,所述第三晶体管和所述第四晶体管的基极连接所述第二脉冲电路,所述第三晶体管和所述第四晶体管的发射极连接所述蜂鸣器,所述第三晶体管的集电极连接所述储能电路,所述第四晶体管的集电极接地。Optionally, in the buzzer driving circuit, the output circuit includes a third transistor and a fourth transistor, the third transistor is an NPN transistor, the fourth transistor is a PNP transistor, and the third a base of the transistor and the fourth transistor is connected to the second pulse circuit, an emitter of the third transistor and the fourth transistor is connected to the buzzer, and a collector of the third transistor is connected to the a tank circuit, the collector of the fourth transistor being grounded.
可选的,在所述的蜂鸣器驱动电路中,所述输出电路还包括第二电容,所述第二电容一端连接所述蜂鸣器,另一端连接所述第三晶体管和所述第四晶体管的发射极。Optionally, in the buzzer driving circuit, the output circuit further includes a second capacitor, the second capacitor is connected to the buzzer at one end, and the third transistor and the The emitter of a four transistor.
可选的,在所述的蜂鸣器驱动电路中,所述第一脉冲电路包括第五晶体管,所述第五晶体管为PNP三极管,所述第五晶体管的基极连接一控制器,所述第五晶体管的发射极连接所述电源,所述第五晶体管的集电极连接所述储能电路。Optionally, in the buzzer driving circuit, the first pulse circuit includes a fifth transistor, the fifth transistor is a PNP transistor, and a base of the fifth transistor is connected to a controller, An emitter of the fifth transistor is coupled to the power source, and a collector of the fifth transistor is coupled to the tank circuit.
可选的,在所述的蜂鸣器驱动电路中,所述第二脉冲电路包括第六晶体管,所述第六晶体管为NPN三极管,所述第六晶体管的基极连接所述控制器, 所述第六晶体管的发射极接地,所述第六晶体管的集电极连接所述输出电路。Optionally, in the buzzer driving circuit, the second pulse circuit includes a sixth transistor, the sixth transistor is an NPN transistor, and a base of the sixth transistor is connected to the controller. The emitter of the sixth transistor is grounded, and the collector of the sixth transistor is connected to the output circuit.
可选的,在所述的蜂鸣器驱动电路中,所述第一脉冲电路还包括第七晶体管,所述第七晶体管为NPN三极管,所述第七晶体管的基极连接所述控制器,所述第七晶体管的发射极接地,所述第七晶体管的集电极连接所述第五晶体管的基极。Optionally, in the buzzer driving circuit, the first pulse circuit further includes a seventh transistor, the seventh transistor is an NPN transistor, and a base of the seventh transistor is connected to the controller, The emitter of the seventh transistor is grounded, and the collector of the seventh transistor is connected to the base of the fifth transistor.
可选的,在所述的蜂鸣器驱动电路中,所述蜂鸣器驱动电路还包括第三电阻、第四电阻、第五电阻、第六电阻、第七电阻、第八电阻、第九电阻和第十电阻,其中:Optionally, in the buzzer driving circuit, the buzzer driving circuit further includes a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, and a ninth Resistance and tenth resistor, where:
所述第三电阻一端连接所述储能电路,另一端连接所述第五晶体管的集电极;One end of the third resistor is connected to the energy storage circuit, and the other end is connected to the collector of the fifth transistor;
所述第四电阻一端连接所述电源,另一端连接所述第五晶体管的基极;The fourth resistor is connected to the power source at one end and to the base of the fifth transistor at the other end;
所述第五电阻一端连接所述控制器,另一端连接所述第七晶体管的基极;The fifth resistor is connected to the controller at one end and the base of the seventh transistor is connected to the other end;
所述第六电阻一端连接所述控制器,另一端接地;The sixth resistor is connected to the controller at one end and grounded at the other end;
所述第七电阻一端连接所述控制器,另一端连接所述第六晶体管的基极;The seventh resistor is connected to the controller at one end, and the other end is connected to the base of the sixth transistor;
所述第八电阻一端连接所述控制器,另一端接地;The eighth resistor is connected to the controller at one end and grounded at the other end;
所述第九电阻一端连接所述第六晶体管的集电极,另一端连接所述第三晶体管的基极;One end of the ninth resistor is connected to the collector of the sixth transistor, and the other end is connected to the base of the third transistor;
所述第十电阻一端连接所述第六晶体管的集电极,另一端连接所述第三晶体管的集电极。One end of the tenth resistor is connected to the collector of the sixth transistor, and the other end is connected to the collector of the third transistor.
可选的,在所述的蜂鸣器驱动电路中,所述单脉冲信号的占空比为10%~30%。Optionally, in the buzzer driving circuit, the duty ratio of the single pulse signal is 10% to 30%.
在本发明提供的蜂鸣器驱动电路中,通过第一脉冲电路向储能电路提供单脉冲信号,储能电路将所述单脉冲信号进行滤波,形成坡度较缓的充放电信号,充放电信号向输出电路提供输出信号的功率,而多脉冲信号向输出电路提供输出信号的交变控制信号,相比于传统驱动电路只具有多脉冲信号,充放电信号的较缓坡度使输出信号的功率缓慢上升或下降,使蜂鸣器的音色从强到弱,音调缓和,改善了蜂鸣器音色。In the buzzer driving circuit provided by the present invention, a single pulse signal is supplied to the energy storage circuit through the first pulse circuit, and the energy storage circuit filters the single pulse signal to form a charge and discharge signal with a gentle slope, and a charge and discharge signal. The power of the output signal is supplied to the output circuit, and the multi-pulse signal provides an alternating control signal of the output signal to the output circuit. Compared with the conventional driving circuit, only the multi-pulse signal is provided, and the gentle slope of the charging and discharging signal makes the power of the output signal slow. Rising or falling, the buzzer sounds from strong to weak, the tone is moderated, and the buzzer sound is improved.
附图说明DRAWINGS
图1是本发明一实施例中蜂鸣器驱动电路电路示意图;1 is a circuit diagram of a buzzer driving circuit in an embodiment of the present invention;
图2是本发明另一实施例中蜂鸣器驱动电路电路示意图;2 is a circuit diagram of a buzzer driving circuit in another embodiment of the present invention;
图3是本发明一实施例中蜂鸣器驱动电路信号波形图;3 is a waveform diagram of a signal of a buzzer driving circuit in an embodiment of the present invention;
图中所示:10-第一脉冲电路;20-第二脉冲电路;30-储能电路;40-输出电路;50-调幅放大电路;60-蜂鸣器;70-控制器。The figure shows: 10 - first pulse circuit; 20 - second pulse circuit; 30 - energy storage circuit; 40 - output circuit; 50 - amplitude modulation amplifier circuit; 60 - buzzer;
具体实施方式Detailed ways
以下结合附图和具体实施例对本发明提出的蜂鸣器驱动电路作进一步详细说明。根据下面说明和权利要求书,本发明的优点和特征将更清楚。需说明的是,附图均采用非常简化的形式且均使用非精准的比例,仅用以方便、明晰地辅助说明本发明实施例的目的。The buzzer driving circuit proposed by the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Advantages and features of the present invention will be apparent from the description and appended claims. It should be noted that the drawings are in a very simplified form and all use non-precise proportions, and are only for convenience and clarity to assist the purpose of the embodiments of the present invention.
本发明的核心思想在于提供一种蜂鸣器驱动电路,以改善蜂鸣器音色。The core idea of the present invention is to provide a buzzer drive circuit for improving the buzzer tone.
为实现上述思想,本实施例提供一种蜂鸣器驱动电路,如图1~2所示,所述蜂鸣器驱动电路包括第一脉冲电路10、第二脉冲电路20、储能电路30和输出电路40,其中:所述第一脉冲电路10连接所述储能电路30,并向所述储能电路30提供单脉冲信号V1,如图3所示,单脉冲信号V1的波形为单个脉冲,宽度为1毫秒~5毫秒,优选的为2毫秒;所述储能电路30根据所述单脉冲信号V1产生充放电信号V2,所述储能电路30连接所述输出电路40,并向所述输出电路40提供所述充放电信号V2;所述第二脉冲电路20连接所述输出电路40,并向所述输出电路40提供多脉冲信号V3,所述多脉冲信号V3的频率响应于蜂鸣器60的振动频率(即蜂鸣器60的在一定的振荡频率内发出声音,多脉冲信号的频率应在该范围内);所述输出电路40根据所述充放电信号V2和所述多脉冲信号V3产生输出信号V4,并将所述输出信号V4提供给所述蜂鸣器60。In order to achieve the above idea, the embodiment provides a buzzer driving circuit. As shown in FIGS. 1 and 2, the buzzer driving circuit includes a first pulse circuit 10, a second pulse circuit 20, a storage circuit 30, and The output circuit 40, wherein: the first pulse circuit 10 is connected to the energy storage circuit 30, and supplies a single pulse signal V1 to the energy storage circuit 30. As shown in FIG. 3, the waveform of the single pulse signal V1 is a single pulse. a width of 1 millisecond to 5 milliseconds, preferably 2 milliseconds; the storage circuit 30 generates a charge and discharge signal V2 according to the single pulse signal V1, and the energy storage circuit 30 is connected to the output circuit 40, and The output circuit 40 provides the charge and discharge signal V2; the second pulse circuit 20 is connected to the output circuit 40, and provides a multi-pulse signal V3 to the output circuit 40, the frequency of the multi-pulse signal V3 is responsive to the bee The vibration frequency of the horn 60 (i.e., the buzzer 60 emits a sound within a certain oscillating frequency, and the frequency of the multi-pulse signal should be within the range); the output circuit 40 is based on the charge and discharge signal V2 and the plurality Pulse signal V3 produces an output signal V4 and will Said output signal V4 is supplied to the buzzer 60.
具体的,在所述的蜂鸣器驱动电路中,所述蜂鸣器驱动电路还包括调幅放大电路50,所述调幅放大电路50连接在所述储能电路30和所述输出电路40之间,所述调幅放大电路50包括第一晶体管Q1和第二晶体管Q2,所述 第一晶体管Q1和所述第二晶体管Q2均为NPN三极管,所述第一晶体管Q1的基极连接所述储能电路30,具体的连接R1和C1形成的并联电路,所述第一晶体管Q1的发射极连接所述第二晶体管Q2的基极,所述第一晶体管Q1的集电极连接电源VDD,所述第二晶体管Q2的发射极连接所述输出电路40,具体连接第三晶体管Q3的集电极,所述第二晶体管Q2的集电极连接电源VDD。第一晶体管Q1和所述第二晶体管Q2组成放大电路,将充放电信号V2的幅值进行放大,提供其驱动能力。Specifically, in the buzzer driving circuit, the buzzer driving circuit further includes an amplitude amplifying circuit 50, and the amplitude amplifying circuit 50 is connected between the energy storage circuit 30 and the output circuit 40. The amplitude modulation amplifying circuit 50 includes a first transistor Q1 and a second transistor Q2. The first transistor Q1 and the second transistor Q2 are both NPN transistors, and the base of the first transistor Q1 is connected to the energy storage. The circuit 30 is specifically connected to a parallel circuit formed by R1 and C1. The emitter of the first transistor Q1 is connected to the base of the second transistor Q2, and the collector of the first transistor Q1 is connected to the power supply VDD. The emitter of the second transistor Q2 is connected to the output circuit 40, specifically connected to the collector of the third transistor Q3, and the collector of the second transistor Q2 is connected to the power supply VDD. The first transistor Q1 and the second transistor Q2 constitute an amplifying circuit that amplifies the amplitude of the charge and discharge signal V2 to provide its driving capability.
进一步的,在所述的蜂鸣器驱动电路中,所述储能电路30包括第一电容C1和第一电阻R1,所述第一电容C1和所述第一电阻R1并联形成并联电路,该并联电路可将单脉冲信号V1的下降沿进行缓冲,形成较缓的下降坡度,使蜂鸣器的音色由强渐弱,所述并联电路的一端连接所述第一脉冲电路10,另一端接地;另外,储能电路30也可以有电感和电阻并联形成并联电路,该并联电路一端连接第一脉冲电路10,另一端连接调幅放大电路50,该并联电路可使单脉冲信号V1的上升沿进行缓冲,形成较缓的上升沿,使蜂鸣器的音色由弱渐强。Further, in the buzzer driving circuit, the tank circuit 30 includes a first capacitor C1 and a first resistor R1, and the first capacitor C1 and the first resistor R1 are connected in parallel to form a parallel circuit. The parallel circuit can buffer the falling edge of the single pulse signal V1 to form a gentle descending slope, so that the tone of the buzzer is strongly weakened, one end of the parallel circuit is connected to the first pulse circuit 10, and the other end is grounded. In addition, the energy storage circuit 30 may also have a parallel circuit formed by an inductor and a resistor. The parallel circuit is connected to the first pulse circuit 10 at one end and the amplitude modulation amplifier circuit 50 at the other end. The parallel circuit can make the rising edge of the single pulse signal V1. Buffering forms a slower rising edge, making the buzzer's tone stronger and weaker.
另外,在所述的蜂鸣器驱动电路中,所述输出电路40包括第三晶体管Q3和第四晶体管Q4,所述第三晶体管Q3为NPN三极管,所述第四晶体管Q4为PNP三极管,所述第三晶体管Q3和所述第四晶体管Q4的基极连接第二脉冲电路20,所述第三晶体管Q3和所述第四晶体管Q4的发射极连接所述蜂鸣器60的一端,蜂鸣器60的另一端接地,输出信号V4可从第三晶体管Q3和所述第四晶体管Q4的发射极流出,通过蜂鸣器流入地,通过蜂鸣器时使蜂鸣器发出声音,所述第三晶体管Q3的集电极连接所述储能电路30,或者如图2中所示,连接调幅放大电路中的第二晶体管Q2的发射极,所述第四晶体管Q4的集电极接地。将第二脉冲电路产生的多脉冲信号放大以驱动蜂鸣器,典型的实现方式是通过Q3,Q4构成的推挽驱动结构,多脉冲信号的频率优选的为1kHz,在多脉冲信号的高电平阶段Q4导通,输出信号输出低电平,电压为0V左右。在多脉冲信号的低电平阶段,Q3导通,输出充放电信号经过调幅放大电路放大的电压。在多脉冲信号的持续作用下,输出可以得 到一个幅度逐步衰减的调幅脉冲驱动信号。这一信号可以直接驱动蜂鸣器得到音色改善的效果。In addition, in the buzzer driving circuit, the output circuit 40 includes a third transistor Q3 and a fourth transistor Q4, the third transistor Q3 is an NPN transistor, and the fourth transistor Q4 is a PNP transistor. The bases of the third transistor Q3 and the fourth transistor Q4 are connected to the second pulse circuit 20, and the emitters of the third transistor Q3 and the fourth transistor Q4 are connected to one end of the buzzer 60, buzzing The other end of the device 60 is grounded, and the output signal V4 can flow out from the emitters of the third transistor Q3 and the fourth transistor Q4, and flows into the ground through the buzzer, and the buzzer sounds when passing the buzzer, the first The collector of the three transistor Q3 is coupled to the tank circuit 30, or as shown in FIG. 2, to the emitter of the second transistor Q2 in the amplitude modulation amplifier circuit, the collector of which is grounded. The multi-pulse signal generated by the second pulse circuit is amplified to drive the buzzer. A typical implementation is a push-pull drive structure composed of Q3 and Q4. The frequency of the multi-pulse signal is preferably 1 kHz, and the high-power of the multi-pulse signal In the flat phase, Q4 is turned on, and the output signal outputs a low level, and the voltage is about 0V. In the low-level phase of the multi-pulse signal, Q3 is turned on, and the output charging and discharging signal is amplified by the amplitude modulation amplifying circuit. Under the continuous action of the multi-pulse signal, the output can obtain an amplitude-modulated pulse drive signal with a gradually decreasing amplitude. This signal can directly drive the buzzer to get the sound improvement effect.
在本实施例中,所述输出电路40还包括第二电容C2,所述第二电容C2一端连接所述蜂鸣器60,另一端连接所述第三晶体管Q3和所述第四晶体管Q4的发射极,需要对称驱动的电感型蜂鸣器应用场合可以使用第二电容C2实现交流的输出。In this embodiment, the output circuit 40 further includes a second capacitor C2, the second capacitor C2 is connected to the buzzer 60 at one end, and the other end is connected to the third transistor Q3 and the fourth transistor Q4. The emitter, the inductor-type buzzer that needs to be driven symmetrically, can use the second capacitor C2 to achieve the output of the AC.
具体的,在所述的蜂鸣器驱动电路中,所述第一脉冲电路10包括第五晶体管Q5,所述第五晶体管Q5为PNP三极管,所述第五晶体管Q5的基极连接一控制器70,或如图3所示连接第七晶体管,所述第五晶体管Q5的发射极连接电源VDD,所述第五晶体管Q5的集电极连接所述储能电路30。所述第二脉冲电路20包括第六晶体管Q6,所述第六晶体管Q6为NPN三极管,所述第六晶体管Q6的基极连接所述控制器70,所述第六晶体管Q6的发射极接地,所述第六晶体管Q6的集电极连接所述输出电路40。所述第一脉冲电路10还包括第七晶体管Q7,所述第七晶体管Q7为NPN三极管,所述第七晶体管Q7的基极连接所述控制器70,所述第七晶体管Q7的发射极接地,所述第七晶体管Q7的集电极连接所述第五晶体管Q5的基极。Specifically, in the buzzer driving circuit, the first pulse circuit 10 includes a fifth transistor Q5, the fifth transistor Q5 is a PNP transistor, and the base of the fifth transistor Q5 is connected to a controller. 70, or connected to the seventh transistor as shown in FIG. 3, the emitter of the fifth transistor Q5 is connected to the power source VDD, and the collector of the fifth transistor Q5 is connected to the tank circuit 30. The second pulse circuit 20 includes a sixth transistor Q6, the sixth transistor Q6 is an NPN transistor, a base of the sixth transistor Q6 is connected to the controller 70, and an emitter of the sixth transistor Q6 is grounded. The collector of the sixth transistor Q6 is connected to the output circuit 40. The first pulse circuit 10 further includes a seventh transistor Q7, the seventh transistor Q7 is an NPN transistor, a base of the seventh transistor Q7 is connected to the controller 70, and an emitter of the seventh transistor Q7 is grounded. The collector of the seventh transistor Q7 is connected to the base of the fifth transistor Q5.
对于第一脉冲电路和第二脉冲电路分别输出单脉冲信号V1和多脉冲信号V3,典型的实现方式是通过控制器70定时产生一个单脉冲信号,给第七晶体管Q7的基极一个信号,第七晶体管导通,使第五晶体管的基极接地,第五晶体管导通,电源VDD给储能电路30充电,通过单脉冲信号V1持续时间可以调整充放电信号V2的电压值,从而调整输出的幅度初始值。另外,控制器70还实时输出一个多脉冲信号V3,由一个控制器70即可实现两个脉冲信号的输出,控制方法简单。For the first pulse circuit and the second pulse circuit, respectively, the single pulse signal V1 and the multi-pulse signal V3 are output. Typically, the controller 70 periodically generates a single pulse signal to give a signal to the base of the seventh transistor Q7. The seven transistors are turned on, the base of the fifth transistor is grounded, the fifth transistor is turned on, the power supply VDD charges the storage circuit 30, and the voltage value of the charge and discharge signal V2 can be adjusted by the duration of the single pulse signal V1, thereby adjusting the output. The initial value of the amplitude. In addition, the controller 70 also outputs a multi-pulse signal V3 in real time, and the output of the two pulse signals can be realized by one controller 70, and the control method is simple.
具体的,所述蜂鸣器驱动电路还包括第三电阻R3、第四电阻R4、第五电阻R5、第六电阻R6、第七电阻R7、第八电阻R8、第九电阻R9和第十电阻R10,其中:所述第三电阻R3一端连接所述储能电路30,另一端连接所述第五晶体管Q5的集电极;第三电阻R3对储能电路起到与电源隔离以及保护的作用。所述第四电阻R4一端连接所述电源VDD,另一端连接所述第五晶体 管Q5的基极;第四电阻起到使第五电阻导通的作用。所述第五电阻R5一端连接所述控制器,另一端连接所述第七晶体管的基极;所述第六电阻R6一端连接所述控制器,另一端接地;第五电阻和第六电阻起到使第七晶体管导通以及保护第七晶体管的作用。所述第七电阻R7一端连接所述控制器70,另一端连接所述第六晶体管Q6的基极;所述第八电阻R8一端连接所述控制器70,另一端接地;第七电阻和第八电阻起到使第六晶体管Q6导通以及保护第六晶体管Q6的作用。所述第九电阻R9一端连接所述第六晶体管Q6的集电极,另一端连接所述第三晶体管Q3的基极;所述第十电阻R10一端连接所述第六晶体管Q6的集电极,另一端连接所述第三晶体管Q3的集电极。第九电阻和第十电阻起到对控制器输出的脉冲信号进行缓冲的作用,保护第三晶体管和第四晶体管的基极。Specifically, the buzzer driving circuit further includes a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, and a tenth resistor. R10, wherein: the third resistor R3 is connected to the energy storage circuit 30 at one end, and the collector of the fifth transistor Q5 is connected to the other end; the third resistor R3 functions to isolate and protect the energy storage circuit from the power supply. The fourth resistor R4 is connected to the power supply VDD at one end and to the base of the fifth transistor Q5 at the other end. The fourth resistor functions to turn on the fifth resistor. The fifth resistor R5 is connected to the controller at one end, and the other end is connected to the base of the seventh transistor; the sixth resistor R6 is connected to the controller at one end and grounded at the other end; the fifth resistor and the sixth resistor are To turn on the seventh transistor and protect the seventh transistor. The seventh resistor R7 is connected to the controller 70 at one end and to the base of the sixth transistor Q6 at the other end; the eighth resistor R8 is connected to the controller 70 at one end and grounded at the other end; the seventh resistor and the The eight resistors function to turn on the sixth transistor Q6 and protect the sixth transistor Q6. One end of the ninth resistor R9 is connected to the collector of the sixth transistor Q6, and the other end is connected to the base of the third transistor Q3; one end of the tenth resistor R10 is connected to the collector of the sixth transistor Q6, and the other One end is connected to the collector of the third transistor Q3. The ninth resistor and the tenth resistor function to buffer the pulse signal outputted by the controller to protect the bases of the third transistor and the fourth transistor.
如图3所示,所述单脉冲信号V1的占空比为10%~30%。在本实施例提供的蜂鸣器驱动电路中,通过第一脉冲电路连接所述储能电路,并向所述储能电路提供单脉冲信号,储能电路将所述单脉冲信号V1进行滤波,形成坡度较缓的充放电信号V2,充放电信号V2向输出电路提供输出信号V4的功率,而多脉冲信号V3向输出电路提供输出信号V4的交变控制信号,相比于传统驱动电路只具有多脉冲信号V3,充放电信号V2的较缓坡度使输出信号V4的功率缓慢上升,使蜂鸣器的音色从强到弱,音调缓和,改善了蜂鸣器音色。As shown in FIG. 3, the duty ratio of the single pulse signal V1 is 10% to 30%. In the buzzer driving circuit provided in this embodiment, the energy storage circuit is connected by a first pulse circuit, and a single pulse signal is provided to the energy storage circuit, and the energy storage circuit filters the single pulse signal V1. Forming a slower slope of the charge and discharge signal V2, the charge and discharge signal V2 provides the output circuit with the power of the output signal V4, and the multi-pulse signal V3 provides the output circuit with an alternating control signal of the output signal V4, which has only a comparison with the conventional drive circuit. The multi-pulse signal V3, the gentle slope of the charge and discharge signal V2 causes the power of the output signal V4 to rise slowly, so that the tone of the buzzer is from strong to weak, the tone is moderated, and the buzzer tone is improved.
本实施例提出一种调幅控制结构作为蜂鸣器驱动电路,驱动无源蜂鸣器,在控制器70调整电路参数时,波形的幅度,频率均可以调整。相对传统的固定幅度的方波驱动信号,调幅后的驱动波形在频域上扩展,改善了蜂鸣器发声效果,丰富了音色。相对采用高性能模数转换器(DAC)和音频功放的音频驱动方案,文中提出的调幅接口采用分立元件实现,成本大大降低,适用于提示音蜂鸣器这一类应用场景。In this embodiment, an amplitude modulation control structure is provided as a buzzer driving circuit to drive a passive buzzer. When the controller 70 adjusts circuit parameters, the amplitude and frequency of the waveform can be adjusted. Compared with the traditional fixed-amplitude square wave drive signal, the amplitude-adjusted drive waveform is expanded in the frequency domain, which improves the sounding effect of the buzzer and enriches the tone. Compared with the audio driving scheme of high-performance analog-to-digital converter (DAC) and audio power amplifier, the amplitude modulation interface proposed in the paper is realized by discrete components, and the cost is greatly reduced, which is suitable for application scenarios such as a buzzer.
单脉冲信号和多脉冲信号的参数可以通过控制器软件来调整,通过调整单脉冲信号的宽度可以调整输出信号的起始幅值,通过多脉冲信号的频率可以调整输出信号的频率,以上两种调整可以在同样的硬件结构上是整个产品应用适应不同种类的不同频率的蜂鸣器,也可以在同一种蜂鸣器上实现不同 的音频效果,在改善系统音频效果的同时降低了整个产品系统的复杂度和成本。The parameters of the single pulse signal and the multi-pulse signal can be adjusted by the controller software. The initial amplitude of the output signal can be adjusted by adjusting the width of the single pulse signal, and the frequency of the output signal can be adjusted by the frequency of the multi-pulse signal. The adjustment can be implemented on the same hardware structure to adapt the buzzer of different kinds of different frequencies to the whole product application, or to realize different audio effects on the same buzzer, and to reduce the overall product system while improving the system audio effect. Complexity and cost.
本实施例采用调幅的机制,从频域上分析是增加了频率分量,相当于和旋的效果,使用分立元件和简单的数字控制方法,避免了使用昂贵的数模转换器件和集成的音频功放电路,降低产品的成本。电路结构支持隔直驱动方式,相对传统的单边驱动具有在接口短路防护功能,传统的单边驱动方式当外部蜂鸣器短路后会损害电路驱动结构的调幅参数,驱动频率可以通过控制器的软件来调整,以适应不同的蜂鸣器和应用场景,应用上十分灵活,降低了整个系统在不同场景下的成本。In this embodiment, the amplitude modulation mechanism is adopted, and the analysis from the frequency domain is to increase the frequency component, which is equivalent to the effect of the spin, using discrete components and a simple digital control method, thereby avoiding the use of expensive digital-to-analog conversion devices and integrated audio power amplifiers. Circuits reduce the cost of the product. The circuit structure supports the direct-drive mode. Compared with the traditional single-side drive, it has the short-circuit protection function in the interface. The traditional single-side drive mode will damage the amplitude modulation parameters of the circuit drive structure when the external buzzer is short-circuited. The drive frequency can be passed through the controller. The software is adjusted to adapt to different buzzers and application scenarios, and the application is very flexible, which reduces the cost of the entire system in different scenarios.
另外,单脉冲信号和多脉冲信号也可以通过数字电路或模拟电路的振荡器来实现。用于调幅控制的第一电容可以是瓷片电容,也可以是电解电容,薄膜电容或者其他具有电压储能功能的元器件。用于驱动和开关控制功能的三极管可以使用同等性能的其他半导体器件实现,包括但不限于场效应管等,器件参数的调整以改变波形的具体参数,对于功率较小的蜂鸣器,可以不使用推挽驱动电路。In addition, the single pulse signal and the multi pulse signal can also be realized by an oscillator of a digital circuit or an analog circuit. The first capacitor used for amplitude modulation control may be a ceramic capacitor, or an electrolytic capacitor, a thin film capacitor or other components having a voltage storage function. Transistors for drive and switching control functions can be implemented using other semiconductor devices of equivalent performance, including but not limited to FETs, device parameters are adjusted to change the specific parameters of the waveform, and for less powerful buzzers, Use a push-pull drive circuit.
综上,上述实施例对蜂鸣器驱动电路的不同构型进行了详细说明,当然,本发明包括但不局限于上述实施中所列举的构型,任何在上述实施例提供的构型基础上进行变换的内容,均属于本发明所保护的范围。本领域技术人员可以根据上述实施例的内容举一反三。In summary, the above embodiment details the different configurations of the buzzer driving circuit. Of course, the present invention includes, but is not limited to, the configurations listed in the above embodiments, and any configuration based on the above embodiments is provided. The contents of the transformation are all within the scope of protection of the present invention. Those skilled in the art can make the same according to the content of the above embodiments.

Claims (10)

  1. 一种蜂鸣器驱动电路,包括第一脉冲电路、第二脉冲电路、储能电路和输出电路,其中:A buzzer driving circuit includes a first pulse circuit, a second pulse circuit, a tank circuit and an output circuit, wherein:
    所述第一脉冲电路连接所述储能电路,并向所述储能电路提供单脉冲信号;The first pulse circuit is connected to the energy storage circuit and provides a single pulse signal to the energy storage circuit;
    所述储能电路根据所述单脉冲信号产生充放电信号,所述储能电路连接所述输出电路,并向所述输出电路提供所述充放电信号;The energy storage circuit generates a charge and discharge signal according to the single pulse signal, the energy storage circuit is connected to the output circuit, and provides the charge and discharge signal to the output circuit;
    所述第二脉冲电路连接所述输出电路,并向所述输出电路提供多脉冲信号,所述多脉冲信号的频率响应于蜂鸣器的振动频率;The second pulse circuit is connected to the output circuit, and provides a multi-pulse signal to the output circuit, the frequency of the multi-pulse signal is responsive to a vibration frequency of the buzzer;
    所述输出电路根据所述充放电信号和所述多脉冲信号产生输出信号,并将所述输出信号提供给所述蜂鸣器。The output circuit generates an output signal based on the charge and discharge signal and the multi-pulse signal, and supplies the output signal to the buzzer.
  2. 如权利要求1所述的蜂鸣器驱动电路,还包括调幅放大电路,所述调幅放大电路连接在所述储能电路和所述输出电路之间,所述调幅放大电路包括第一晶体管和第二晶体管,所述第一晶体管和所述第二晶体管均为NPN三极管,所述第一晶体管的基极连接所述储能电路,所述第一晶体管的发射极连接所述第二晶体管的基极,所述第一晶体管的集电极连接电源,所述第二晶体管的发射极连接所述输出电路,所述第二晶体管的集电极连接所述电源。A buzzer driving circuit according to claim 1, further comprising an amplitude modulation amplifying circuit connected between said energy storage circuit and said output circuit, said amplitude amplifying circuit comprising a first transistor and a a second transistor, wherein the first transistor and the second transistor are both NPN transistors, a base of the first transistor is connected to the energy storage circuit, and an emitter of the first transistor is connected to a base of the second transistor The collector of the first transistor is connected to a power source, the emitter of the second transistor is connected to the output circuit, and the collector of the second transistor is connected to the power source.
  3. 如权利要求1所述的蜂鸣器驱动电路,其特征在于,所述储能电路包括第一电容和第一电阻,所述第一电容和所述第一电阻并联形成并联电路,所述并联电路的一端连接所述第一脉冲电路,另一端接地。The buzzer driving circuit according to claim 1, wherein said energy storage circuit comprises a first capacitor and a first resistor, said first capacitor and said first resistor being connected in parallel to form a parallel circuit, said parallel One end of the circuit is connected to the first pulse circuit, and the other end is grounded.
  4. 如权利要求2所述的蜂鸣器驱动电路,其特征在于,所述输出电路包括第三晶体管和第四晶体管,所述第三晶体管为NPN三极管,所述第四晶体管为PNP三极管,所述第三晶体管和所述第四晶体管的基极连接所述第二脉冲电路,所述第三晶体管和所述第四晶体管的发射极连接所述蜂鸣器,所述第三晶体管的集电极连接所述储能电路,所述第四晶体管的集电极接地。The buzzer driving circuit according to claim 2, wherein said output circuit comprises a third transistor and a fourth transistor, said third transistor is an NPN transistor, and said fourth transistor is a PNP transistor, said a base of the third transistor and the fourth transistor is connected to the second pulse circuit, an emitter of the third transistor and the fourth transistor is connected to the buzzer, and a collector connection of the third transistor In the tank circuit, the collector of the fourth transistor is grounded.
  5. 如权利要求4所述的蜂鸣器驱动电路,其特征在于,所述输出电路还包括第二电容,所述第二电容一端连接所述蜂鸣器,另一端连接所述第三晶 体管和所述第四晶体管的发射极。The buzzer driving circuit according to claim 4, wherein the output circuit further comprises a second capacitor, the second capacitor is connected to the buzzer at one end, and the third transistor and the other end are connected to the other end. The emitter of the fourth transistor.
  6. 如权利要求4所述的蜂鸣器驱动电路,其特征在于,所述第一脉冲电路包括第五晶体管,所述第五晶体管为PNP三极管,所述第五晶体管的基极连接一控制器,所述第五晶体管的发射极连接所述电源,所述第五晶体管的集电极连接所述储能电路。The buzzer driving circuit according to claim 4, wherein the first pulse circuit comprises a fifth transistor, the fifth transistor is a PNP transistor, and a base of the fifth transistor is connected to a controller, An emitter of the fifth transistor is coupled to the power source, and a collector of the fifth transistor is coupled to the tank circuit.
  7. 如权利要求6所述的蜂鸣器驱动电路,其特征在于,所述第二脉冲电路包括第六晶体管,所述第六晶体管为NPN三极管,所述第六晶体管的基极连接所述控制器,所述第六晶体管的发射极接地,所述第六晶体管的集电极连接所述输出电路。The buzzer driving circuit according to claim 6, wherein said second pulse circuit comprises a sixth transistor, said sixth transistor is an NPN transistor, and a base of said sixth transistor is connected to said controller The emitter of the sixth transistor is grounded, and the collector of the sixth transistor is connected to the output circuit.
  8. 如权利要求7所述的蜂鸣器驱动电路,其特征在于,所述第一脉冲电路还包括第七晶体管,所述第七晶体管为NPN三极管,所述第七晶体管的基极连接所述控制器,所述第七晶体管的发射极接地,所述第七晶体管的集电极连接所述第五晶体管的基极。The buzzer driving circuit according to claim 7, wherein said first pulse circuit further comprises a seventh transistor, said seventh transistor is an NPN transistor, and said base of said seventh transistor is connected to said control The emitter of the seventh transistor is grounded, and the collector of the seventh transistor is connected to the base of the fifth transistor.
  9. 如权利要求8所述的蜂鸣器驱动电路,其特征在于,所述蜂鸣器驱动电路还包括第三电阻、第四电阻、第五电阻、第六电阻、第七电阻、第八电阻、第九电阻和第十电阻,其中:The buzzer driving circuit according to claim 8, wherein the buzzer driving circuit further comprises a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, and an eighth resistor. a ninth resistor and a tenth resistor, wherein:
    所述第三电阻一端连接所述储能电路,另一端连接所述第五晶体管的集电极;One end of the third resistor is connected to the energy storage circuit, and the other end is connected to the collector of the fifth transistor;
    所述第四电阻一端连接所述电源,另一端连接所述第五晶体管的基极;The fourth resistor is connected to the power source at one end and to the base of the fifth transistor at the other end;
    所述第五电阻一端连接所述控制器,另一端连接所述第七晶体管的基极;The fifth resistor is connected to the controller at one end and the base of the seventh transistor is connected to the other end;
    所述第六电阻一端连接所述控制器,另一端接地;The sixth resistor is connected to the controller at one end and grounded at the other end;
    所述第七电阻一端连接所述控制器,另一端连接所述第六晶体管的基极;The seventh resistor is connected to the controller at one end, and the other end is connected to the base of the sixth transistor;
    所述第八电阻一端连接所述控制器,另一端接地;The eighth resistor is connected to the controller at one end and grounded at the other end;
    所述第九电阻一端连接所述第六晶体管的集电极,另一端连接所述第三晶体管的基极;One end of the ninth resistor is connected to the collector of the sixth transistor, and the other end is connected to the base of the third transistor;
    所述第十电阻一端连接所述第六晶体管的集电极,另一端连接所述第三晶体管的集电极。One end of the tenth resistor is connected to the collector of the sixth transistor, and the other end is connected to the collector of the third transistor.
  10. 如权利要求1所述的蜂鸣器驱动电路,其特征在于,所述单脉冲信 号的占空比为10%~30%。A buzzer driving circuit according to claim 1, wherein said single pulse signal has a duty ratio of 10% to 30%.
PCT/CN2018/112432 2017-10-30 2018-10-29 Buzzer drive circuit WO2019085861A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711035622.8 2017-10-30
CN201711035622.8A CN107680573B (en) 2017-10-30 2017-10-30 Buzzer driving circuit

Publications (1)

Publication Number Publication Date
WO2019085861A1 true WO2019085861A1 (en) 2019-05-09

Family

ID=61142428

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/112432 WO2019085861A1 (en) 2017-10-30 2018-10-29 Buzzer drive circuit

Country Status (2)

Country Link
CN (1) CN107680573B (en)
WO (1) WO2019085861A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107680573B (en) * 2017-10-30 2024-04-16 联合汽车电子有限公司 Buzzer driving circuit
CN108880222B (en) * 2018-07-19 2024-03-22 杭州百隆电子有限公司 Protection circuit and push-pull output circuit of switching element
CN109003597B (en) * 2018-09-25 2023-11-03 华润微集成电路(无锡)有限公司 Buzzer driving circuit and corresponding buzzer driving method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05249977A (en) * 1992-03-05 1993-09-28 Toshiba Corp Buzzer driving output circuit
CN202502733U (en) * 2012-01-09 2012-10-24 惠州市德赛西威汽车电子有限公司 Driving circuit for buzzer
CN205282081U (en) * 2015-12-18 2016-06-01 绍兴联英汽车电子有限公司 Passive buzzer drive circuit of dual -frenquency
CN107680573A (en) * 2017-10-30 2018-02-09 联合汽车电子有限公司 Buzzer drive circuit
CN207602215U (en) * 2017-10-30 2018-07-10 联合汽车电子有限公司 Buzzer drive circuit

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3243060B2 (en) * 1993-05-28 2002-01-07 株式会社東芝 Resonant buzzer drive
KR100239126B1 (en) * 1993-09-28 2000-03-02 구자홍 Alarm apparatus and method of microwave oven
JP3904661B2 (en) * 1997-04-24 2007-04-11 カルソニックカンセイ株式会社 Buzzer drive circuit
JP2012155195A (en) * 2011-01-27 2012-08-16 Yazaki Corp Buzzer driving circuit
CN103281652A (en) * 2013-04-22 2013-09-04 无锡艾柯威科技有限公司 Buzzer drive circuit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05249977A (en) * 1992-03-05 1993-09-28 Toshiba Corp Buzzer driving output circuit
CN202502733U (en) * 2012-01-09 2012-10-24 惠州市德赛西威汽车电子有限公司 Driving circuit for buzzer
CN205282081U (en) * 2015-12-18 2016-06-01 绍兴联英汽车电子有限公司 Passive buzzer drive circuit of dual -frenquency
CN107680573A (en) * 2017-10-30 2018-02-09 联合汽车电子有限公司 Buzzer drive circuit
CN207602215U (en) * 2017-10-30 2018-07-10 联合汽车电子有限公司 Buzzer drive circuit

Also Published As

Publication number Publication date
CN107680573B (en) 2024-04-16
CN107680573A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
WO2019085861A1 (en) Buzzer drive circuit
US7332962B2 (en) Filterless class D power amplifier
TWI356583B (en) Audio power amplifier
US7705517B1 (en) Ultrasound transmitter
JPWO2006132202A1 (en) Audio signal amplifier circuit and electronic device using the same
JPH0233280Y2 (en)
JP2006094158A (en) Drive circuit, and portable device having the same
JPS6120637Y2 (en)
EP1594225A1 (en) Method and apparatus for self-oscillating differential feedback class-D amplifier
US8721550B2 (en) High voltage ultrasound transmitter with symmetrical high and low side drivers comprising stacked transistors and fast discharge
CN207602215U (en) Buzzer drive circuit
US3504364A (en) Electronic siren
US20110088475A1 (en) Transmitter with intrinsic output zeroing
US20080101628A1 (en) Switching amplifier circuits and methods
US8715192B2 (en) High voltage ultrasound transmitter with symmetrical high and low side drivers comprising stacked transistors
CN210202074U (en) Analog buzzer circuit and electronic equipment
KR100626987B1 (en) A headphone driver and the method for driving the driver
WO2014132953A1 (en) D-class amplifier and electronic apparatus
CN220155173U (en) Buzzer control circuit and electronic equipment
TW201105029A (en) An improved self oscillation audio amplifier and a method for retraining audio distortion of the improved self oscillation audio amplifier
CN118072702A (en) Buzzer driving circuit and endoscope equipment
JP3916449B2 (en) Amplifier
TWI418141B (en) Amplification circuit and method therefor
TW200950318A (en) Audio amplifier
JP2005203869A (en) Ultra-directivity acoustic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18873023

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18873023

Country of ref document: EP

Kind code of ref document: A1