CN220933609U - Buzzer control circuit - Google Patents

Buzzer control circuit Download PDF

Info

Publication number
CN220933609U
CN220933609U CN202322655260.XU CN202322655260U CN220933609U CN 220933609 U CN220933609 U CN 220933609U CN 202322655260 U CN202322655260 U CN 202322655260U CN 220933609 U CN220933609 U CN 220933609U
Authority
CN
China
Prior art keywords
resistor
buzzer
switch
control circuit
operational amplifier
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
CN202322655260.XU
Other languages
Chinese (zh)
Inventor
请求不公布姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ingenu Technology Co ltd
Original Assignee
Beijing Ingenu Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Ingenu Technology Co ltd filed Critical Beijing Ingenu Technology Co ltd
Priority to CN202322655260.XU priority Critical patent/CN220933609U/en
Application granted granted Critical
Publication of CN220933609U publication Critical patent/CN220933609U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Alarm Systems (AREA)

Abstract

The utility model discloses a buzzer control circuit, which belongs to the technical field of alarms and comprises a buzzer, a first switch, a first operational amplifier, a first resistor, a second resistor and a first capacitor, wherein the first end of the buzzer is connected with a first power supply, the second end of the buzzer is connected with the first end of the first switch, the second end of the first switch is connected with the first end of the first resistor, the third end of the first switch is connected with the second port of a micro control unit, the second end of the first resistor is grounded, the first end of the first resistor is connected with the input positive end of the first operational amplifier, the second end of the first resistor is connected with the input negative end of the first operational amplifier, the output end of the first operational amplifier is connected with the first end of the second resistor, the second end of the second resistor is grounded through the first capacitor, and the second end of the second resistor is connected with the first port of the micro control unit. The buzzer control circuit can drive the buzzer and collect the working frequency of the buzzer in real time.

Description

Buzzer control circuit
Technical Field
The utility model relates to the technical field of alarms, in particular to a buzzer control circuit.
Background
The buzzer is an electronic sounder with an integrated structure, adopts direct-current voltage to supply power, and is widely applied to electronic products such as computers, printers, copiers, alarms, electronic toys, automobile electronic equipment, telephones, timers and the like as a sounding device.
In alarm equipment, a buzzer is usually adopted for warning, and under dangerous conditions, a singlechip sends out pulse width modulation signals to drive the buzzer to send out sound so as to play a role in warning. In practical use, in order to monitor the working state of the buzzer, the real-time working frequency of the buzzer needs to be acquired.
Disclosure of utility model
The utility model aims to provide a buzzer control circuit which realizes the functions of driving a buzzer to sound and collecting working frequency in real time.
In order to achieve the above purpose, the technical scheme of the utility model is as follows:
The utility model provides a buzzer control circuit, includes buzzer, first switch, first operational amplifier, first resistance, second resistance and first electric capacity, first power is connected to buzzer's first end, buzzer's second end is connected first switch's first end, first switch's second end is connected first resistance's first end, micro-control unit's second port is connected to first switch's third end, first operational amplifier's input positive end is connected to first resistance's second end, first operational amplifier's input negative end is connected to first resistance's second end, second resistance's second end is through first electric capacity ground connection, micro-control unit's first port is connected to second resistance's second end.
Further, the buzzer control circuit further comprises a third resistor, and the third end of the first switch is connected with the second port of the micro control unit through the third resistor.
Further, the buzzer control circuit further comprises a fourth resistor, wherein a first end of the fourth resistor is connected with the third end of the first switch, and a second end of the fourth resistor is grounded.
Further, the buzzer control circuit further comprises a fifth resistor, wherein the first end of the first resistor is connected with the input positive end of the first operational amplifier through the fifth resistor.
Further, the buzzer control circuit further comprises a sixth resistor, wherein the second end of the first resistor is connected with the input negative end of the first operational amplifier through the sixth resistor.
Further, the buzzer control circuit further comprises a seventh resistor and a second capacitor, wherein a first end of the second capacitor is connected with the input negative end of the first operational amplifier, a second end of the second capacitor is connected with the output end of the first operational amplifier, and the seventh resistor is connected in parallel with two ends of the second capacitor.
Further, the second port of the micro control unit outputs a pulse width modulation signal, and the frequency of the pulse width modulation signal is the resonance frequency of the buzzer.
Further, the buzzer control circuit further comprises an eighth resistor, wherein the eighth resistor is connected in parallel with two ends of the buzzer.
Further, the first switch is an N-type MOSFET, a drain electrode of the first switch is connected to the second end of the buzzer, a gate electrode of the first switch is connected to the second port of the micro control unit, and a source electrode of the first switch is connected to the first end of the first resistor.
The buzzer control circuit has the beneficial effects that the buzzer can be driven, and the working frequency of the buzzer can be acquired in real time; the buzzer can be driven to work at the resonant frequency, so that the sound emitted by the buzzer is maximized.
In order to make the above features and advantages of the present utility model more comprehensible, embodiments accompanied with figures are described in detail below.
Drawings
Fig. 1 is a circuit diagram of a buzzer control circuit according to an embodiment of the present utility model.
Detailed Description
In order to make the purpose and technical solutions of the embodiments of the present utility model more clear, the technical solutions of the embodiments of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present utility model. It will be apparent that the described embodiments are some, but not all, embodiments of the utility model. All other embodiments, which can be made by a person skilled in the art without creative efforts, based on the described embodiments of the present utility model fall within the protection scope of the present utility model.
Fig. 1 is a circuit diagram of a buzzer control circuit according to an embodiment of the present utility model. As shown in fig. 1, a first end of the buzzer SP1 is connected to the power supply V1, a second end of the buzzer SP1 is connected to a first end of the switch Q1, a second end of the switch Q1 is connected to a first end of the resistor R1, a third end of the switch Q1 is connected to the port P2 of the micro control unit MCU through the resistor R3, and a second end of the resistor R1 is grounded. The first end of the resistor R1 is connected with the input positive end of the operational amplifier A1 through the resistor R5, the second end of the resistor R1 is connected with the input negative end of the operational amplifier A1 through the resistor R6, the output end of the operational amplifier A1 is connected with the first end of the resistor R2, the second end of the resistor R2 is grounded through the capacitor C1, and the second end of the resistor R2 is connected with the port P1 of the micro control unit MCU.
Further, a first end of the resistor R4 is connected to a third end of the switch Q1, and a second end of the resistor R4 is grounded.
Further, a first end of the capacitor C2 is connected to an input negative end of the operational amplifier A1, and a second end of the capacitor C2 is connected to an output end of the operational amplifier A1. Resistor R7 is connected in parallel across capacitor C2. The first power end of the operational amplifier A1 is connected with the power supply V2, the first power end of the operational amplifier A1 is grounded through the capacitor C3, and the second power end of the operational amplifier A1 is grounded.
More specifically, the switch Q1 is an N-type MOSFET, the drain of the switch Q1 is connected to the second end of the buzzer SP1, the gate of the switch Q1 is connected to the port P2 through the resistor R3, and the source of the switch Q1 is connected to the first end of the resistor R1.
More specifically, the power supply V1 is a power supply.
More specifically, the power supply V2 is a power supply.
Optionally, if the buzzer SP1 is a capacitive buzzer, after one charge and discharge is completed, the buzzer is not charged and discharged again, and no sound is generated, and a resistor R8 needs to be connected in parallel to two ends of the buzzer SP1, so that the charge and discharge can be realized through the resistor R8. If the buzzer SP1 is an inductive buzzer, the resistor R8 may not be required.
The working principle of the buzzer control circuit of the present utility model is described further below. The port P2 of the micro control unit MCU sends out a pulse width modulation signal (PWM signal) with a fixed frequency, and controls the on and off of the switch Q1. When the port P2 outputs a low level, the switch Q1 is turned off, and the buzzer SP1 does not emit sound; when the port P2 outputs a high level, the switch Q1 is turned on, the buzzer SP1 is grounded through the resistor R1, and the buzzer SP1 sounds.
Preferably, the frequency of the pwm signal is the resonant frequency of the buzzer SP1, and at this time, the sound emitted from the buzzer SP1 is maximum.
Further, when the switch Q1 is turned on, a current flows through the resistor R1, a voltage is generated at two ends of the resistor R1, the voltage at two ends of the resistor R1 is amplified proportionally by the operational amplifier A1, and then is converted into a smooth direct-current voltage by the RC filter formed by the resistor R2 and the capacitor C1, and the smooth direct-current voltage is output to the port P1 of the micro control unit MCU, so that the acquisition of the real-time working frequency of the buzzer SP1 is realized.
Further, resistor R3 acts as a current limiter.
Further, the resistor R4 is an anti-interference resistor of the switch Q1.
Although the present utility model has been described with reference to the above embodiments, it should be understood that the utility model is not limited thereto, but rather is capable of modification and variation without departing from the spirit and scope of the present utility model.

Claims (9)

1. The utility model provides a buzzer control circuit, its characterized in that includes buzzer, first switch, first operational amplifier, first resistance, second resistance and first electric capacity, the first power is connected to buzzer's first end, buzzer's second end is connected the first end of first switch, the second end of first switch is connected the first end of first resistance, the second port of micro-control unit is connected to the third end of first switch, the second end of first resistance is grounded, the first end of first resistance is connected the input positive terminal of first operational amplifier, the second end of first resistance is connected the input negative terminal of first operational amplifier, the output of first operational amplifier is connected the first end of second resistance, the second end of second resistance passes through first electric capacity ground connection, the first port of micro-control unit is connected to the second end of second resistance.
2. A buzzer control circuit in accordance with claim 1, further comprising a third resistor, the third terminal of the first switch being connected to the second port of the micro control unit via the third resistor.
3. A buzzer control circuit in accordance with claim 2, further comprising a fourth resistor, the first terminal of the fourth resistor being connected to the third terminal of the first switch, the second terminal of the fourth resistor being grounded.
4. A buzzer control circuit in accordance with claim 3, further comprising a fifth resistor, the first end of the first resistor being connected to the input positive end of the first operational amplifier through the fifth resistor.
5. A buzzer control circuit in accordance with claim 3, further comprising a sixth resistor, the second end of the first resistor being connected to the negative input terminal of the first operational amplifier through the sixth resistor.
6. The buzzer control circuit of claim 5, further comprising a seventh resistor and a second capacitor, wherein a first end of the second capacitor is connected to the negative input terminal of the first operational amplifier, a second end of the second capacitor is connected to the output terminal of the first operational amplifier, and the seventh resistor is connected in parallel across the second capacitor.
7. The buzzer control circuit of claim 6, wherein the second port of the micro control unit outputs a pulse width modulated signal, the frequency of the pulse width modulated signal being the resonance frequency of the buzzer.
8. A buzzer control circuit in accordance with any one of claims 1 to 7, further comprising an eighth resistor connected in parallel across the buzzer.
9. The buzzer control circuit of claim 8, wherein the first switch is an N-type MOSFET, the drain of the first switch is connected to the second terminal of the buzzer, the gate of the first switch is connected to the second terminal of the micro-control unit, and the source of the first switch is connected to the first terminal of the first resistor.
CN202322655260.XU 2023-09-28 2023-09-28 Buzzer control circuit Active CN220933609U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202322655260.XU CN220933609U (en) 2023-09-28 2023-09-28 Buzzer control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202322655260.XU CN220933609U (en) 2023-09-28 2023-09-28 Buzzer control circuit

Publications (1)

Publication Number Publication Date
CN220933609U true CN220933609U (en) 2024-05-10

Family

ID=90937877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202322655260.XU Active CN220933609U (en) 2023-09-28 2023-09-28 Buzzer control circuit

Country Status (1)

Country Link
CN (1) CN220933609U (en)

Similar Documents

Publication Publication Date Title
CN207020508U (en) A kind of ultrasonic atomizatio piece oscillation control circuit and ultrasonic electronic cigarette
CN206949539U (en) A kind of ultrasonic electronic cigarette circuit and the ultrasonic electronic cigarette
CN207185925U (en) A kind of ultrasonic electronic cigarette chases after frequency circuit and ultrasonic electronic cigarette
CN202042870U (en) Improved monitoring and alarming device for communication power supply system
CN220933609U (en) Buzzer control circuit
CN201569491U (en) Noise detecting and warning device
CN203250356U (en) Sound control and light control alarm
CN107590933B (en) A kind of sound light alarming circuit
CN200980860Y (en) Transfusion monitor
CN206656777U (en) Simple water-level alarm
CN202939745U (en) Vibration sensing alarm device
CN105576617A (en) Speed frequency output protection circuit of automobile instrument
CN114062758A (en) Electric signal detection method, circuit and switching power supply
CN204407951U (en) Wheelbarrow lithium battery protection circuit
CN2719031Y (en) Combined ultrasonic mouse expelling machine
CN207885673U (en) A kind of ultrasonic electronic cigarette operating circuit and the ultrasonic electronic cigarette
CN219351700U (en) Software and hardware switching circuit
CN204632027U (en) A kind of oscillatory type Household antitheft warning circuit
CN213340482U (en) Battery monitoring sensor with battery activation function
CN105405231A (en) Intelligent antitheft system based on high-pass filtering circuit
CN200979730Y (en) A vehicle electric horn device which can also be used as an alarming horn device
CN104026116A (en) Electronic anti-bird instrument for anti-bird straw man
CN211275347U (en) Ultrasonic transmitting circuit
CN215894983U (en) Infrared induction device and electric vehicle instrument
CN202631696U (en) Automatic alarm system for high-voltage electric field of high-voltage electrostatic dust removal energy-saving controller

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant