An oscillator circuit for buzzer

By using a resistor network, a fuse network and a capacitor module group combined with a logic control circuit in the buzzer oscillation circuit, the problem of traditional buzzer oscillation source frequency changing with power supply fluctuations is solved, achieving frequency stability and cost reduction.

CN109088600BActive Publication Date: 2024-08-30WUXI SHIDING ELECTRONIC TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201811093187.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-09-18
Publication Date
2024-08-30
Estimated Expiration
2038-09-18

AI Technical Summary

Technical Problem

The frequency of the traditional buzzer oscillation source is easy to change with power supply fluctuations, and the cost is high.

Method used

An oscillator circuit including a resistor network module, a fuse network module, a current mirror module, a comparator group, a capacitor module group and a logic control circuit module is used. The oscillator frequency is adjusted through the fuse network module so that the comparator reference voltage is consistent with the capacitor charging current. The same ratio changes with the power supply, reducing the frequency's dependence on the power supply voltage.

Benefits of technology

The oscillation frequency is stabilized within a certain range, reducing costs, and is independent of power supply voltage changes through alternating capacitor charging and discharging and fuse network adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109088600B
    Figure CN109088600B
Patent Text Reader

Abstract

The present invention provides an oscillation circuit for a buzzer, comprising a resistor network module, a fuse network module, a current mirror module, a comparator group, a capacitor module group, and a logic control circuit module. The first output end of the resistor network module is electrically connected to the current mirror module, the output end of the current mirror module is electrically connected to the capacitor module group, and the output end of the capacitor module group is electrically connected to the comparator group. The output end of the comparator group is electrically connected to the logic control circuit module, the second output end of the resistor network module is electrically connected to the comparator group, one end of the fuse network module is connected to the resistor network module and the other end is connected to the current mirror module. The present invention adopts a fuse network module to adjust the oscillator frequency, and the comparator reference voltage and the capacitor charging current change with the power supply in the same proportion, so that the oscillation frequency changes little with the power supply voltage, and the cost is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of buzzer driving chips, and in particular to an oscillating circuit for a buzzer. Background Art

[0002] Traditional buzzer oscillation sources generally use triode multivibrator circuits, such as Figure 3 As shown in the figure, the oscillation principle of this circuit is mainly to make the transistors conduct alternately through the charging and discharging of the resistor and capacitor. First, when the circuit is powered on, R 2 C 1 To charge, since the voltage across the capacitor cannot change suddenly, Q 2 The base of becomes negative voltage at this time, Q 2 Cut-off, V o Output high level. C 1 By R 2 When charging, C 1 The potential makes Q 2 When the base is forward biased, Q 2 On, V o Output low level. Similarly, C 2 The voltage across the capacitor cannot change suddenly, Q 1 The base of becomes negative voltage at this time, Q 1 Cut off, and so on and so forth, making V o Output a square wave signal of a certain frequency. However, this traditional oscillation circuit has the following disadvantages: the frequency varies greatly with power supply fluctuations, and the circuit uses discrete components, which makes the cost high. Summary of the invention

[0003] The invention provides an oscillating circuit for a buzzer to solve the problem that the oscillator frequency of a conventional buzzer varies greatly with power supply fluctuation.

[0004] In order to solve the above technical problems, the present invention provides an oscillation circuit for a buzzer, comprising a resistor network module, a fuse network module, a current mirror module, a comparator group, a capacitor module group, and a logic control circuit module. The first output end of the resistor network module is electrically connected to the current mirror module, the output end of the current mirror module is electrically connected to the capacitor module group, and the output end of the capacitor module group is electrically connected to the comparator group. The output end of the comparator group is electrically connected to the logic control circuit module, the second output end of the resistor network module is electrically connected to the comparator group, one end of the fuse network module is connected to the resistor network module and the other end is connected to the current mirror module.

[0005] Preferably, the comparator group includes a first comparator and a second comparator, and the first comparator and the second comparator are connected in parallel on a line between the current mirror module and the logic control circuit module.

[0006] Preferably, the capacitor module group includes a first capacitor, a second capacitor, a first discharge switch, and a second discharge switch, one end of the first capacitor is connected to the line between the current mirror module and the first comparator and the other end is grounded, one end of the first discharge switch is connected to the line between the current mirror module and the first comparator, that is, one end of the capacitor, and the other end is grounded, one end of the second capacitor is connected to the line between the current mirror module and the second comparator and the other end is grounded, one end of the second discharge switch is connected to the line between the current mirror module and the second comparator, that is, one end of the capacitor, and the other end is grounded, and the control ends of the first discharge switch and the second discharge switch are both electrically connected to the logic control circuit module.

[0007] Preferably, the resistor network module is composed of a plurality of series resistors, and the fuse network module is composed of a plurality of fuses and a switch array.

[0008] The beneficial effects brought by the present invention: an oscillation circuit for a buzzer provided by the present invention adopts a fuse network module to adjust the oscillator frequency, and the comparator reference voltage and the capacitor charging current change with the power supply in the same proportion, so that the oscillation frequency changes little with the power supply voltage and the cost is low. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 Schematic diagram of the structure of an oscillator circuit for a buzzer according to an embodiment of the present invention.

[0010] Figure 2 4 is a periodic waveform diagram of an oscillation circuit for a buzzer according to an embodiment of the present invention.

[0011] Figure 3 It is a background technology reference diagram. DETAILED DESCRIPTION

[0012] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0013] Figure 1 1 is a schematic diagram of the structure of an oscillator circuit for a buzzer according to an embodiment of the present invention. Figure 1As shown, an oscillation circuit for a buzzer provided by the present invention includes a resistor network module, a fuse network module, a current mirror module, a comparator group, a capacitor module group, and a logic control circuit module. Among them, the first output end of the resistor network module is electrically connected to the current mirror module, and the output end of the current mirror module is electrically connected to the capacitor module group. The output end of the capacitor module group is electrically connected to the comparator group, the output end of the comparator group is electrically connected to the logic control circuit module, the second output end of the resistor network module is electrically connected to the comparator group, one end of the fuse network module is connected to the resistor network module and the other end is connected to the current mirror module.

[0014] Further, the comparator group includes a first comparator and a second comparator, and the first comparator and the second comparator are connected in parallel on the line between the current mirror module and the logic control circuit module. The capacitor module group includes a first capacitor, a second capacitor, a first discharge switch, and a second discharge switch, one end of the first capacitor is connected to the line between the current mirror module and the first comparator and the other end is grounded, one end of the first discharge switch is connected to the line between the current mirror module and the first comparator, that is, one end of the capacitor, and the other end is grounded, one end of the second capacitor is connected to the line between the current mirror module and the second comparator and the other end is grounded, one end of the second discharge switch is connected to the line between the current mirror module and the second comparator, that is, one end of the capacitor, and the other end is grounded, and the control ends of the first discharge switch and the second discharge switch are both electrically connected to the logic control circuit module.

[0015] The resistor network module is composed of several series resistors. Assume that the voltage applied to the total series resistor is V r , the total series resistance is R, then the current flowing through the total series resistance is I r For: I r =V r ÷R. The resistor network module determines the reference current I of the current mirror module. ref , generally I ref =I r The resistor network module has a resistor voltage divider output of V 0 To simplify the discussion, let V 0 The signal voltage value is V ref , V ref ÷V r =N r (N r is a value between 0 and 1).

[0016] The fuse network module is composed of a plurality of fuses and a switch array. Different fuse combinations correspond to corresponding switch array switches to control the resistor voltage divider output V in the resistor network module. 0 The voltage value V ref and the ratio of the output current to the reference current in the current mirror module.

[0017] The current mirror module uses the current I flowing through the total series resistance in the resistor network module r After multiplying by a coefficient, they are mirrored to the output V of the current mirror. 1 、V 2 Signal line (V 1 and V 2 The ratio of the current on the first capacitor C 1 and the second capacitor C 2 To charge the first capacitor C 1 The charging current is I 1 , for the second capacitor C 2 The charging current is I 2 , let N 1 =I 1 ÷I ref ; N 2 =I 2 ÷I ref , in order to simplify the discussion, let I ref =I r , then: N 1 =I 1 ÷I r ; N 2 =I 2 ÷I r , that is I 1 =N 1 ×I r , I 2 =N 2 ×I r , N 1 、N 2 is the ratio of the current mirror output current to the reference current.

[0018] The comparator group connects one end of the capacitor to the output V of the current mirror module 1 Signal line or V 2 On the signal line, V 1 、V 2 The voltage on the resistor network module is proportional to the resistor voltage output V 0 The voltage V ref After comparison by the comparator, the comparator outputs B 1 , B 2 Connect to the logic control circuit module.

[0019] The first discharge switch and the second discharge switch are configured such that after the oscillator starts oscillating normally, the offset voltage of the comparator group is ignored, and when the first capacitor C connected to the first discharge switch is 1 Voltage higher than V 0 Signal line voltage V ref When the first discharge switch is turned on through the logic control circuit module, the first capacitor C 1 Similarly, when the first capacitor C connected to the second discharge switch 2 Voltage higher than V 0 Signal line voltage V ref When the second discharge switch is turned on through the logic control circuit, the second capacitor C 2 Discharge.

[0020] The logic control circuit module controls the discharge switch to discharge the first capacitor C 1 , the second capacitor C 2 Alternately charge and discharge the first capacitor C 1 , the second capacitor C 2 Alternate discharge. Figure 2 As shown, for the first capacitor C 1 Charging time t a During the second capacitor C 2 Discharge the second capacitor C 2 Charging time t b During the first capacitor C 1 Discharge to ensure an oscillation period T 1 The first capacitor C 1 Charging time t a With the second capacitor C 2 Charging time t b The sum of the addition (if the offset voltage of the comparator group and the signal transmission delay between the comparator group and the logic control circuit module and the two discharge switches are not taken into account, the first capacitor C 1 The voltage at the end of the previous cycle discharge is charged to the resistor voltage divider output V in the resistor network module. 0 The voltage V ref The time required is t a , the second capacitor C 2 The voltage at the end of the previous cycle discharge is charged to the resistor voltage divider output V in the resistor network module. 0 The voltage V ref The time required is t b ).

[0021] As mentioned above, assume that the circuit parameters are: the total series resistance in the resistor network module is R, and the voltage applied to the total series resistance in the resistor network module is V r, the resistor voltage divider output V in the resistor network module 0 The voltage value is V ref , V ref ÷V r =N r (N r is a value between 0 and 1), the first capacitor C 1 The value of C a , the second capacitor C 2 The value of C b , the reference current I of the current mirror module ref =I r , N 1, N 2 is the ratio of the current mirror output current to the reference current, that is, N 1 =I 1 ÷I ref ; N 2 =I 2 ÷I ref , then: I 1 =N 1 ×I r , I 2 =N 2 ×I r ,

[0022] The current flowing through the series resistor is I r for:

[0023] I r =V r ÷R

[0024] V 0 The voltage V ref =V ref =V r ×N r

[0025] The first capacitor C 1 Charge from 0V to V 0 The voltage V ref The time required is:

[0026] (C a ×V ref )÷I 1 =(C a ×V r ×N r )÷(N 1 ×(V r ÷R))=Ca×N r ×R÷N 1

[0027] If the first capacitor C 1The voltage at the end of the previous cycle discharge is charged to the resistor voltage divider output V in the resistor network module. 0 The voltage V ref The time required is t a , and the first capacitor C 1 Since the voltage at the end of the last cycle discharge is close to 0V, the following approximation can be made:

[0028] t a ≈C a ×N r ×R÷N 1

[0029] Similarly, the second capacitor C 2 Charge from 0V to V 0 The voltage V ref The time required is:

[0030] (C b ×V ref )÷I 2 =(C b ×V r ×N r )÷(N 2 ×(V r ÷R))=C b ×N r ×R÷N 2

[0031] If the second capacitor C 2 The voltage at the end of the previous cycle discharge is charged to the resistor voltage divider output V in the resistor network module. 0 The voltage V ref The time required is t b , and the second capacitor C 2 Since the voltage at the end of the last cycle discharge is close to 0V, the following approximation can be made:

[0032] t b ≈C b ×N r ×R÷N 2

[0033] like Figure 2 As shown, an oscillation period T1 is:

[0034] T 1 =t a +t b ≈C a ×N r ×R÷N 1 +C b ×N r ×R÷N 2

[0035] It can be seen that the period T of the oscillation circuit 1 The voltage V applied to the resistor network module R It has nothing to do with the power supply voltage. In the circuit, N can be adjusted by the fuse network module. r 、N 1 , N 2 To adjust T 1 , in order to achieve the purpose of adjusting the oscillator frequency, of course, you can also adjust C through the fuse network module a , C b To achieve the purpose of adjusting the oscillator frequency.

[0036] In summary, the capacitor charging current in the oscillation circuit floats in the same proportion as the comparison voltage, so that the frequency of the oscillation circuit is independent of the power supply voltage within a certain range. Two capacitors are alternately charged and discharged to achieve an oscillation cycle in which the time of the oscillation cycle is only related to the capacitor charging time and has nothing to do with the discharge time. The oscillation frequency can be adjusted by adjusting the comparison voltage value through the fuse network, or the current ratio of the output current value of the current mirror module to the reference current value can be adjusted through the fuse network, and then the charging current value of the capacitor can be adjusted to adjust the oscillation frequency, or the capacitance value of the charging capacitor can be adjusted through the fuse network module to adjust the oscillation frequency. The actual circuit selects a combination of three of these adjustment methods or a combination of any two or one of them to adjust the oscillation frequency.

[0037] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of the claims of the present invention.

Claims

1. An oscillator circuit for a buzzer, It is characterized in that It includes a resistor network module, a fuse network module, a current mirror module, a comparator group, a capacitor module group, and a logic control circuit module, wherein the first output end of the resistor network module is electrically connected to the current mirror module, the output end of the current mirror module is electrically connected to the capacitor module group, the output end of the capacitor module group is electrically connected to the comparator group, the output end of the comparator group is electrically connected to the logic control circuit module, the second output end of the resistor network module is electrically connected to the comparator group, one end of the fuse network module is connected to the resistor network module and the other end is connected to the current mirror module; The comparator group includes a first comparator and a second comparator, wherein the first comparator and the second comparator are connected in parallel on a line between the current mirror module and the logic control circuit module; The capacitor module group includes a first capacitor, a second capacitor, a first discharge switch, and a second discharge switch. One end of the first capacitor is connected to the line between the current mirror module and the first comparator and the other end is grounded. One end of the first discharge switch is connected to the line between the current mirror module and the first comparator, that is, one end of the capacitor, and the other end is grounded. One end of the second capacitor is connected to the line between the current mirror module and the second comparator and the other end is grounded. One end of the second discharge switch is connected to the line between the current mirror module and the second comparator, that is, one end of the capacitor, and the other end is grounded. The control ends of the first discharge switch and the second discharge switch are both electrically connected to the logic control circuit module.

2. The oscillator circuit for a buzzer as claimed in claim 1, It is characterized in that The resistor network module is composed of a plurality of series resistors, and the fuse network module is composed of a plurality of fuses and a switch array.

Citation Information

Patent Citations

  • Protection circuit of voltage-controlled oscillator (VCO)

    CN102130684A

  • A phase lock loop with error measurement and correction in alternate periods

    CN1125021A