Boost adjustable alarm
Through the combination of the main control module, boost module and sound module, and the use of MOS tube to control the duty cycle and resistor voltage division AD sampling, the problems of difficult volume adjustment and abnormal tone of existing alarms are solved, and flexible volume control and stable tone are achieved.
Patent Information
- Application Number
- CN202422486498.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2034-10-15
AI Technical Summary
The existing alarm uses a hardware three-pin inductor to boost the voltage when adjusting the volume, which makes it difficult to adjust the volume and the tone is abnormal, and lacks flexibility.
The combination of the main control module, boost module and sound module is adopted. The MOS tube is used to control the output high-frequency duty cycle and the resistor voltage division AD sampling method is used to detect the boost voltage in real time, so as to achieve flexible voltage adjustment and independent design between the boost circuit and the sound output.
Flexible volume adjustment within a wide voltage range is achieved, which prevents the tone from being affected by the boost voltage and enhances the adjustment flexibility and circuit protection function of the alarm.
Smart Images

Figure CN223308654U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of alarm equipment, in particular to a boost-adjustable alarm. Background Art
[0002] An audible alarm is an electronic product that uses sound to alert or warn us to take action to prevent or mitigate the consequences of an event. Alarms are categorized as mechanical and electronic. With technological advancements, mechanical alarms are increasingly being replaced by advanced electronic alarms. These are often used in areas such as system failures, security, transportation, medical care, emergency rescue, and sensor detection, making them an integral part of social production. Examples include door magnetic sensors and gas sensors. A wide variety of audible alarms are available on the market, including beeps, sirens, and long beeps, serving a wide range of applications and generating significant market demand. Alarm volume is a key product attribute, and since volume is proportional to the output voltage, the voltage determines the volume. However, current products on the market invariably utilize a hardware three-pin inductor booster. To increase the volume, the three-pin voltage booster requires increasing the output sound duty cycle, which can alter the timbre and create an abnormal sound. This results in limited product flexibility and difficulty adjusting the volume. Summary of the Invention
[0003] The utility model aims to solve the above technical problems and provides a boost-adjustable alarm.
[0004] In order to solve the above technical problems, the technical solution adopted by the utility model is: a boost adjustable alarm, including a main control module, a boost module and a sound module, the main control module is connected to the boost module and the sound module respectively,
[0005] The main control module includes a main control chip U1, a capacitor C1 and a capacitor C2. Pin 8 of the main control chip U1 is connected to Vin and one end of the capacitor C1 respectively. Pin 1 of the main control chip U1 is connected to the other end of the capacitor C1 and one end of the capacitor C2 respectively. Pin 2 of the main control chip U1 is connected to the other end of the capacitor C2 and VCC respectively.
[0006] The boost module includes a resistor R1, a resistor R2, a resistor R3, a capacitor C3, a capacitor C4, a capacitor C6, an inductor L1, a diode D4, a diode D5 and a MOS transistor Q1. The gate of the MOS transistor Q1 is respectively connected to one end of the resistor R1 and the positive electrode of the diode D5. The other end of the resistor R1 and the negative electrode of the diode D5 are connected in parallel and then connected to pin 7 of the main control chip U1. The source of the MOS transistor Q1 is respectively connected to one end of the inductor L1 and the positive electrode of the diode D4. The other end of the inductor L1 is respectively connected to Vin and one end of the capacitor C3. The other end of the capacitor C3 is grounded. The negative electrode of the diode D4 is respectively connected to one end of the resistor R2, one end of the capacitor C4 and 40V. The other end of the capacitor C4 is grounded. The other end of the resistor R2 is respectively connected to one end of the resistor R3, one end of the capacitor C6 and pin 3 of the main control chip U1. The other end of the resistor R3, the other end of the capacitor C6 and the drain of the MOS transistor Q1 are all grounded.
[0007] The sound module includes a control chip U2, a resistor R4, a resistor R5, a resistor R6, a capacitor C5 and a buzzer CN2. Pin 3 of the control chip U2 is connected in series with the resistor R4 and then connected to pin 5 of the main control chip U1. Pin 6 of the control chip U2 is connected in series with the resistor R5 and then connected to pin 6 of the main control chip U1. One end of the capacitor C5 is respectively connected to 40V and pin 5 of the control chip U2, and the other end of the capacitor C5 is respectively grounded and connected to pin 2 of the control chip U2. Pin 4 of the control chip U2 is sequentially connected in series with the resistor R6 and the buzzer CN2 and then connected to pin 1 of the control chip U2.
[0008] The model of the main control chip U1 is JZ8P2675, and the model of the control chip U2 is GM8023.
[0009] The advantages and positive effects of this utility model include: an adjustable boost alarm with a wide input voltage range (5-40V), which uses a MOS transistor to control the output high-frequency duty cycle (the duty cycle determines the boost level) to boost the voltage through an inductor. A resistor-divided AD sampling method is used to detect the boosted voltage in real time, providing flexible voltage regulation and circuit protection. Furthermore, the boost circuit and sound output are independent of each other, and the output sound quality is not affected by the boost voltage. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 This is the circuit connection diagram of the main control module;
[0011] Figure 2 This is the boost module circuit connection diagram;
[0012] Figure 3This is the sound module circuit connection diagram
[0013] Figure 4 This is the power module circuit connection diagram;
[0014] Figure 5 It is a block diagram of the working principle of a boost adjustable alarm;
[0015] Figure 6 This is the working principle diagram of the passive external excitation buzzer. DETAILED DESCRIPTION
[0016] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0017] like Figure 1-5 As shown, a best embodiment of a boost-adjustable alarm includes a main control module, a boost module and a sound module, wherein the main control module is connected to the boost module and the sound module respectively.
[0018] like Figure 1 As shown, the main control module includes a main control chip U1, capacitors C1 and C2. Pin 8 of the main control chip U1 is connected to Vin and one end of capacitor C1, respectively. Pin 1 of the main control chip U1 is connected to the other end of capacitor C1 and one end of capacitor C2, respectively. Pin 2 of the main control chip U1 is connected to the other end of capacitor C2 and VCC, respectively. The MCU has an internal "DC-DC" 5V regulator that accepts an input voltage of 5V-40V.
[0019] like Figure 2As shown, the boost module includes a resistor R1, a resistor R2, a resistor R3, a capacitor C3, a capacitor C4, a capacitor C6, an inductor L1, a diode D4, a diode D5 and a MOS transistor Q1. The gate of the MOS transistor Q1 is respectively connected to one end of the resistor R1 and the positive electrode of the diode D5. The other end of the resistor R1 and the negative electrode of the diode D5 are connected in parallel and then connected to pin 7 of the main control chip U1. The source of the MOS transistor Q1 is respectively connected to one end of the inductor L1 and the positive electrode of the diode D4. The other end of the inductor L1 is respectively connected to Vin and one end of the capacitor C3, the other end of the capacitor C3 is grounded, the cathode of the diode D4 is respectively connected to one end of the resistor R2, one end of the capacitor C4, and 40V, the other end of the capacitor C4 is grounded, the other end of the resistor R2 is respectively connected to one end of the resistor R3, one end of the capacitor C6, and pin 3 of the main control chip U1, the other end of the resistor R3, the other end of the capacitor C6, and the drain of the MOS tube Q1 are all grounded. It is composed of a boost inductor, a driving MOS, an anti-backflow diode, and an output frequency duty cycle of the MCU. Its working principle is: using the properties of the inductor (converting electrical energy and magnetic field energy into each other), when the MOS switch is closed, the inductor converts the electrical energy into magnetic field energy and stores it. When the MOS is disconnected, the inductor converts the stored magnetic field energy into electric field energy. This energy is superimposed on the input power supply voltage and filtered by the diode and capacitor to obtain a smooth DC voltage to be provided to the load. Since this voltage is formed by the superposition of the input power supply voltage and the magnetic energy of the inductor converted into electrical energy, the output voltage is higher than the input voltage, that is, the boost process is completed. Among them, it includes a sampling unit, namely Figure 2 The resistor R2, resistor R3, capacitor C6 and ADC acquisition port of MCU are connected in series. Its working principle is: the high voltage after boosting is converted to the required voltage, that is, the voltage that the microcontroller can withstand, through the series connection of resistors R2 and R3. The voltage divider circuit outputs voltage U o The calculation formula is as follows: o =R2 / (R2+R1)*U i , where U i is the input voltage, U o The ADC port of the MCU converts the voltage of the analog signal obtained by voltage division into digital form for processing, compares it with the threshold set by the internal program of the MUC, and feeds back the boosted voltage value through the size of the value, thereby performing control and regulation.
[0020] like Figure 3As shown, the sound module includes a control chip U2, a resistor R4, a resistor R5, a resistor R6, a capacitor C5 and a buzzer CN2. Pin 3 of the control chip U2 is connected in series with the resistor R4 and then connected to pin 5 of the main control chip U1. Pin 6 of the control chip U2 is connected in series with the resistor R5 and then connected to pin 6 of the main control chip U1. One end of the capacitor C5 is respectively connected to 40V and pin 5 of the control chip U2, and the other end of the capacitor C5 is respectively connected to ground and pin 2 of the control chip U2. Pin 4 of the control chip U2 is sequentially connected in series with the resistor R6 and the buzzer CN2 and then connected to pin 1 of the control chip U2. It is composed of GM8032 (MOS tube H bridge) and a buzzer. Its working principle is: a square wave signal is input into a resonant device and converted into a sound signal output. The working sound principle diagram of the passive excitation type buzzer is shown in the figure below. Figure 6 As shown in the figure, a passive buzzer cannot be driven by a DC signal. It must be driven by a 2K-5K square wave. Because the operating current of a buzzer is generally high, it cannot be driven directly by the microcontroller's I / O port, so the GM8032 is used to drive it.
[0021] The model of the main control chip U1 is JZ8P2675, and the model of the control chip U2 is GM8023.
[0022] It also includes a power supply module, which is connected to Vin through the interface CN1. Vin can input an external power supply voltage of 5 to 40V.
[0023] This adjustable boost alarm accepts an external supply voltage of 5 to 40V as input, and detects the voltage divider value through the AdcVoltage pin, which detects the voltage. The microcontroller then detects the boosted voltage value, compares it with the voltage, and controls the duty cycle of the PWM_BOOST pin to adjust the boost value. The PulseP and PulseN pins provide complementary outputs for the buzzer's drive frequency and sound waveform. These pins can be used to control outputs such as beeps and alarms. This allows the MCU to integrate boosting and sound output, allowing flexible control of the sound volume through program editing and the resistance values of external resistors R1 and R2.
[0024] The above embodiments of the present invention are described in detail. However, the above contents are only preferred embodiments of the present invention and should not be considered to limit the scope of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of this patent.
Claims
1. A boost adjustable alarm, characterized by: It includes a main control module, a boost module and a sound module. The main control module is connected to the boost module and the sound module respectively. The main control module includes a main control chip U1, a capacitor C1 and a capacitor C2. Pin 8 of the main control chip U1 is connected to Vin and one end of the capacitor C1 respectively. Pin 1 of the main control chip U1 is connected to the other end of the capacitor C1 and one end of the capacitor C2 respectively. Pin 2 of the main control chip U1 is connected to the other end of the capacitor C2 and VCC respectively. The boost module includes a resistor R1, a resistor R2, a resistor R3, a capacitor C3, a capacitor C4, a capacitor C6, an inductor L1, a diode D4, a diode D5 and a MOS transistor Q1. The gate of the MOS transistor Q1 is respectively connected to one end of the resistor R1 and the positive electrode of the diode D5. The other end of the resistor R1 and the negative electrode of the diode D5 are connected in parallel and then connected to pin 7 of the main control chip U1. The source of the MOS transistor Q1 is respectively connected to one end of the inductor L1 and the positive electrode of the diode D4. The other end of the inductor L1 is respectively connected to Vin and one end of the capacitor C3. The other end of the capacitor C3 is grounded. The negative electrode of the diode D4 is respectively connected to one end of the resistor R2, one end of the capacitor C4 and 40V. The other end of the capacitor C4 is grounded. The other end of the resistor R2 is respectively connected to one end of the resistor R3, one end of the capacitor C6 and pin 3 of the main control chip U1. The other end of the resistor R3, the other end of the capacitor C6 and the drain of the MOS transistor Q1 are all grounded. The sound module includes a control chip U2, a resistor R4, a resistor R5, a resistor R6, a capacitor C5 and a buzzer CN2. Pin 3 of the control chip U2 is connected in series with the resistor R4 and then connected to pin 5 of the main control chip U1. Pin 6 of the control chip U2 is connected in series with the resistor R5 and then connected to pin 6 of the main control chip U1. One end of the capacitor C5 is respectively connected to 40V and pin 5 of the control chip U2, and the other end of the capacitor C5 is respectively grounded and connected to pin 2 of the control chip U2. Pin 4 of the control chip U2 is sequentially connected in series with the resistor R6 and the buzzer CN2 and then connected to pin 1 of the control chip U2.
2. The boost adjustable alarm according to claim 1, characterized in that: The model of the main control chip U1 is JZ8P2675, and the model of the control chip U2 is GM8023.