JPH10214090A - Buzzer driving circuit - Google Patents

Buzzer driving circuit

Info

Publication number
JPH10214090A
JPH10214090A JP9019420A JP1942097A JPH10214090A JP H10214090 A JPH10214090 A JP H10214090A JP 9019420 A JP9019420 A JP 9019420A JP 1942097 A JP1942097 A JP 1942097A JP H10214090 A JPH10214090 A JP H10214090A
Authority
JP
Japan
Prior art keywords
buzzer
microcomputer
duty
transistor
resistor
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.)
Pending
Application number
JP9019420A
Other languages
Japanese (ja)
Inventor
Hirohisa Meguro
裕久 目黒
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.)
Marelli Corp
Original Assignee
Kansei Corp
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 Kansei Corp filed Critical Kansei Corp
Priority to JP9019420A priority Critical patent/JPH10214090A/en
Publication of JPH10214090A publication Critical patent/JPH10214090A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To obtain the circuit reduced in the number of parts and reduced in the fluctuation of sound pressure and sound quality by connecting a switching transistor to a buzzer in series and driving the transistor with the PWM signals from a microcomputer. SOLUTION: A switching circuit 20 consists of resistors 11 to 13 and a switching transistor 14. The resistor 11 is connected between the PWM output terminal of a microcomputer 10 and the base terminal of the transistor 14. The resistor 12 is the bias resistor connected between the base terminal of the transistor 14 and a ground. When a switch SW is turned on, the microcomputer 10 repeatedly outputs pulse signals, in which the duty is changed in accordance with the characteristic, with a prescribed interval period, from the PWM output terminal for few times. In the pulse signals, the duty is continuously varied from 50% to 0% during a prescribed time.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、ドアの締め忘れ
やライトの消し忘れ等を車両に乗り降りする人に知らせ
るブザーの駆動回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a drive circuit for a buzzer that informs a person getting on or off a vehicle that he or she forgets to close a door or turn off a light.

【0002】[0002]

【従来の技術】従来のブザー駆動回路を特開平8−18
8084号公報に示し、それを図6及び図7に基づいて
説明する。マイクロコンピュータ1は、図示されないス
イッチがオンされると、一方のPWM出力端子から、バ
ッファ、ダイオードを介してブザー2のプラス電源側端
子に対して一定周波数、一定デューティの発振パルスを
出力すると共に、ブザー2のアース側端子に接続された
スイッチングトランジスタ3に対して他の出力端子から
バッファ、バイアス抵抗を介して前記発振パルスの周波
数よりも低い周波数で、そのパルス幅が発振パルスより
も大きなトリガパルスを出力する。それによって、スイ
ッチングトランジスタ3にマイクロコンピュータ1から
トリガパルスが供給され、オンしている短時間の間、ブ
ザー2の端子間にはバッファ、バイアス抵抗を介して発
振パルスの電圧が直接印加され、ブザー2は吹鳴する。
2. Description of the Related Art A conventional buzzer drive circuit is disclosed in
No. 8084, which will be described with reference to FIGS. When a switch (not shown) is turned on, the microcomputer 1 outputs an oscillation pulse having a constant frequency and a constant duty from one PWM output terminal to a positive power supply terminal of the buzzer 2 via a buffer and a diode. A trigger pulse having a frequency lower than the frequency of the oscillation pulse and a pulse width larger than the frequency of the oscillation pulse from another output terminal to a switching transistor 3 connected to the ground terminal of the buzzer 2 via a buffer and a bias resistor. Is output. As a result, a trigger pulse is supplied from the microcomputer 1 to the switching transistor 3, and during a short time during which the switching transistor 3 is turned on, the voltage of the oscillation pulse is directly applied between the terminals of the buzzer 2 via a buffer and a bias resistor. 2 sounds.

【0003】その後、スイッチングトランジスタ3がオ
フされると、コンデンサ4がPWM出力端子からの発振
パルスによって充電されて、ブザー2のアース側端子の
電圧は直列接続された抵抗5とコンデンサ4によって決
まる時定数で徐々に上昇し、吹鳴音は徐々に小さくな
る。その結果、ブザー2は「ポーン・・・ポーン」と連
続して吹鳴されることになる。
Thereafter, when the switching transistor 3 is turned off, the capacitor 4 is charged by the oscillation pulse from the PWM output terminal, and the voltage of the ground terminal of the buzzer 2 is determined by the resistor 5 and the capacitor 4 connected in series. The sound gradually rises at a constant rate, and the noise is gradually reduced. As a result, the buzzer 2 is continuously sounded as “pawn... Pawn”.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記の
如き回路は、抵抗5、コンデンサ4からなる時定数回路
を利用していたために、部品点数が多くなり、コストア
ップになるという問題点があった。また、コンデンサ4
が電解コンデンサ等の大容量コンデンサを構成しなくて
はならないために、セラミックコンデンサ等に比べて容
量値のバラツキが大きく、かつ使用環境温度によって容
量変動が大きく変化するために、音圧、音質のバラツキ
が大きいという問題点があった。
However, the above-mentioned circuit has a problem that the number of parts increases and the cost increases because the time constant circuit including the resistor 5 and the capacitor 4 is used. . The capacitor 4
Must form a large-capacity capacitor such as an electrolytic capacitor, so that the capacitance value varies widely compared to a ceramic capacitor, etc., and the capacitance fluctuates greatly depending on the operating environment temperature. There was a problem that the variation was large.

【0005】そこで、この発明は上記問題点を鑑みてな
されたもので、部品点数が少なく、かつ音圧、音質のバ
ラツキが少ないブザー駆動回路を提供することを目的と
する。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a buzzer drive circuit having a small number of components and a small variation in sound pressure and sound quality.

【0006】[0006]

【課題を解決するための手段】このブザー駆動回路に係
る第1の発明は、マイクロコンピュータからのPWM信
号によってブザーを駆動するブザー駆動回路において、
前記ブザーにスイッチングトランジスタを直列に接続
し、該スイッチングトランジスタを前記マイクロコンピ
ュータからのPWM信号で駆動したことを特徴とする。
According to a first aspect of the present invention, there is provided a buzzer drive circuit for driving a buzzer by a PWM signal from a microcomputer.
A switching transistor is connected to the buzzer in series, and the switching transistor is driven by a PWM signal from the microcomputer.

【0007】第2の発明は、第1の発明におけるマイク
ロコンピュータから出力されるPWM信号は、デューテ
ィが所定値から、他の所定値まで連続的に変化すること
を特徴とする。
A second invention is characterized in that the PWM signal output from the microcomputer according to the first invention has a duty continuously changing from a predetermined value to another predetermined value.

【0008】第3の発明は、第2の発明におけるデュー
ティは、所定値からその所定値より小さい他の所定値ま
で第1の速さで変化し、その後0%までを第1の速さよ
り緩やかな速さで変化することを特徴とする。
In a third aspect of the present invention, the duty in the second aspect of the invention changes at a first speed from a predetermined value to another predetermined value smaller than the predetermined value, and then gradually changes to 0% from the first speed. It is characterized by changing at a fast speed.

【0009】[0009]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.この発明の実施の一形態を図1乃至図3
に基づいて以下に説明する。すなわち、図1において、
10はマイクロコンピュータで、スイッチSWがオンさ
れると、PWM出力端子から、図3に一点鎖線の曲線A
で示すような特性に従ってデューティが変化するパルス
信号(図2参照)をインターバルT2(例えば1〜1.
5sec)の周期で数回繰り返し出力する。このパルス
信号は、周波数1KHzのPWM信号で、時間T1(T
1<T2で、T1=0.9sec)の間にデューティ5
0%からデューティ0%まで連続的に変化させる。15
はブザー、20はスイッチング回路で、抵抗11〜1
3、スイッチングトランジスタ14から構成され、抵抗
11は、マイクロコンピュータ10のPWM出力端子と
スイッチングトランジスタ14のベース端子との間に接
続され、また、抵抗12はスイッチングトランジスタ1
4のベース端子とグランドとの間に接続されたバイアス
用の抵抗である。抵抗13は、スイッチングトランジス
タ14のコレクタ端子とブザー15との間に接続された
電流制限用抵抗である。
Embodiment 1 FIG. 1 to 3 show an embodiment of the present invention.
This will be described below based on That is, in FIG.
Reference numeral 10 denotes a microcomputer. When a switch SW is turned on, a dashed line curve A shown in FIG.
A pulse signal (see FIG. 2) whose duty changes in accordance with the characteristic shown in FIG.
The output is repeated several times with a period of 5 sec). This pulse signal is a PWM signal having a frequency of 1 KHz and has a time T1 (T
1 <T2, T1 = 0.9 sec), duty 5
The duty is continuously changed from 0% to 0% duty. Fifteen
Denotes a buzzer, 20 denotes a switching circuit, and resistors 11 to 1
3, a switching transistor 14; a resistor 11 is connected between a PWM output terminal of the microcomputer 10 and a base terminal of the switching transistor 14;
4 is a bias resistor connected between the base terminal of No. 4 and the ground. The resistor 13 is a current limiting resistor connected between the collector terminal of the switching transistor 14 and the buzzer 15.

【0010】次に、前記マイクロコンピュータ10にお
いて、PWM信号が作成される方法について図4及び図
5を参照して説明するが、図3の曲線Aに沿ってデュー
ティを変化させることは、実際的ではないので、その曲
線Aに近似した直線B、Cの発生について説明する。す
なわち、スイッチSWがオンされると、クロックパルス
発生手段102が一定周波数、例えば1KHzのクロッ
クパルスAの出力を開始する(図5A参照)。そのクロ
ックパルスAは積分手段103に供給され、この積分手
段103はF/V変換機能を有し、供給されたクロック
パルスAの数に比例した電圧を出力するが、この積分手
段103はタイマ手段104から供給される切り換え信
号B(図5B参照)に基づいて積分定数を切り換える。
例えば、ハイレベルな切り換え信号が供給されている間
は、切り換え接触片103dによって抵抗103a(抵
抗103bよりも抵抗値が小さい)がコンデンサ103
cに接続され、また切り換え信号の供給が停止されると
(図5Bにおいてローレベル状態)、切り換え接触片1
03dによって抵抗103bがコンデンサ103cに接
続される。その結果、積分手段103からの出力は、図
5Cに示されるように電圧値が時間の経過と共に直線的
に変化する。
Next, a method of generating a PWM signal in the microcomputer 10 will be described with reference to FIGS. 4 and 5. It is practical to change the duty along the curve A in FIG. Therefore, the generation of the straight lines B and C that approximate the curve A will be described. That is, when the switch SW is turned on, the clock pulse generating means 102 starts outputting the clock pulse A having a constant frequency, for example, 1 KHz (see FIG. 5A). The clock pulse A is supplied to the integrating means 103. The integrating means 103 has an F / V conversion function and outputs a voltage proportional to the number of the supplied clock pulses A. The integration constant is switched based on a switching signal B (see FIG. 5B) supplied from 104.
For example, while the high-level switching signal is being supplied, the resistance 103a (having a smaller resistance value than the resistance 103b) is changed by the switching contact piece 103d to the capacitor 103
c, and when the supply of the switching signal is stopped (low level in FIG. 5B), the switching contact piece 1
03d connects the resistor 103b to the capacitor 103c. As a result, as shown in FIG. 5C, the output from the integrating means 103 changes its voltage value linearly with time.

【0011】それによって、ワンショットマルチバイブ
レータ手段105にクロックパルス発生手段102から
クロックパルスが供給されると、ワンショットマルチバ
イブレータ手段105は前記積分手段103から供給さ
れる電圧値に比例したパルス幅のパルス(図5D参照)
を出力する。すなわち、最初は積分手段103の積分出
力の変化が大きいので、ワンショットマルチバイブレー
タ手段105から出力されるパルス幅は、図3にも示さ
れている近似直線Bで時刻T3まで、急に小さくなり
(第1の速さ)、それ以後、近似直線Cに切り換わり、
時刻T1までパルス幅の変化が緩やかに変化し、時刻T
1でパルス幅は0になる。このパルス幅0の状態は時刻
T2まで持続され、その後、再度上記動作が繰り返され
る(図5D参照)。
When the clock pulse is supplied from the clock pulse generating means 102 to the one-shot multivibrator means 105, the one-shot multivibrator means 105 has a pulse width proportional to the voltage value supplied from the integrating means 103. Pulse (See Fig. 5D)
Is output. That is, since the change of the integration output of the integration means 103 is large at first, the pulse width output from the one-shot multivibrator means 105 is sharply reduced by the approximate straight line B shown in FIG. 3 until time T3. (First speed), and thereafter, it switches to the approximate straight line C,
Until time T1, the pulse width gradually changes, and at time T1.
When it is 1, the pulse width becomes 0. This state of the pulse width 0 is maintained until time T2, and thereafter, the above operation is repeated again (see FIG. 5D).

【0012】次に、上記構成の作動説明を行う。マイク
ロコンピュータ10は、スイッチSWがオンされると、
PWM出力端子から、図3に近似直線B、Cで示すよう
な特性、すなわち最初デューティが50%のパルス信号
が出力され、それからその近似直線に沿ってデューティ
が小さくなるように変化し、0%まで連続的に変化して
いく。それによって、電力が次第に小さくなり、音も小
さくなる。その結果、ブザー15から従来と同じような
「ポーン・・・ポーン」という音が発生される。
Next, the operation of the above configuration will be described. When the switch SW is turned on, the microcomputer 10
From the PWM output terminal, a pulse signal whose duty is 50% is initially output as indicated by the approximate straight lines B and C in FIG. 3, and then changes along the approximate straight line such that the duty is reduced to 0%. It changes continuously until. As a result, the power gradually decreases and the sound also decreases. As a result, the buzzer 15 generates the same sound as “pawn... Pawn” as in the related art.

【0013】なお、PWM出力端子から出力されるトリ
ガパルスのデューティ特性は図3に示すようなものに限
定されるものではなく、デューティが時間の経過に伴っ
て変化するものであれば、如何なる特性のものであって
もよいことはいうまでもないことである。
The duty characteristic of the trigger pulse output from the PWM output terminal is not limited to the one shown in FIG. 3, but may be any characteristic as long as the duty changes with time. It is needless to say that it may be a thing.

【0014】[0014]

【発明の効果】以上説明したように、この発明によれ
ば、従来と同様な音を発生するブザー駆動回路をコスト
を安く、音圧、音質を安定にして得ることができるとい
う効果が発揮される。
As described above, according to the present invention, it is possible to obtain a buzzer drive circuit for generating a sound similar to the conventional one at low cost, with stable sound pressure and sound quality. You.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明によるブザー駆動回路の一実施の形態を
示す回路説明図である。
FIG. 1 is a circuit diagram showing an embodiment of a buzzer drive circuit according to the present invention.

【図2】図1のマイクロコンピュータ10から出力され
るPWM信号の波形説明図である。
FIG. 2 is an explanatory diagram of a waveform of a PWM signal output from the microcomputer 10 of FIG. 1;

【図3】図2に示すPWM信号のデューティの変化の様
子を示す特性図である。
FIG. 3 is a characteristic diagram showing how the duty of the PWM signal shown in FIG. 2 changes.

【図4】マイクロコンピュータ10でPWM信号が作成
される方法を回路的に説明するための図である。
FIG. 4 is a circuit diagram for explaining a method of creating a PWM signal in the microcomputer 10;

【図5】図4の回路の作動を説明するための波形図であ
る。
FIG. 5 is a waveform chart for explaining the operation of the circuit of FIG. 4;

【図6】従来の回路説明図である。FIG. 6 is an explanatory diagram of a conventional circuit.

【図7】図6に示した回路の作動を説明するための波形
図である。
FIG. 7 is a waveform chart for explaining the operation of the circuit shown in FIG. 6;

【符号の説明】[Explanation of symbols]

10 マイクロコンピュータ 11,12,13 抵抗 14 スイッチングトランジスタ 15 ブザー Reference Signs List 10 microcomputer 11, 12, 13 resistor 14 switching transistor 15 buzzer

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 マイクロコンピュータからのPWM信号
によって、ブザーを駆動するブザー駆動回路において、
前記ブザーにスイッチングトランジスタを直列に接続
し、該スイッチングトランジスタを前記マイクロコンピ
ュータからのPWM信号で駆動することを特徴とするブ
ザー駆動回路。
1. A buzzer driving circuit for driving a buzzer according to a PWM signal from a microcomputer,
A buzzer driving circuit, wherein a switching transistor is connected in series to the buzzer, and the switching transistor is driven by a PWM signal from the microcomputer.
【請求項2】 前記マイクロコンピュータから出力され
るPWM信号は、デューティが所定値から、他の所定値
まで連続的に変化することを特徴とする請求項1記載の
ブザー駆動回路。
2. The buzzer drive circuit according to claim 1, wherein a duty cycle of the PWM signal output from the microcomputer changes from a predetermined value to another predetermined value.
【請求項3】 前記デューティは、所定値からその所定
値より小さい他の所定値まで第1の速さで変化し、その
後0%までを第1の速さより緩やかな速さで変化するこ
とを特徴とする請求項2記載のブザー駆動回路。
3. The method according to claim 1, wherein the duty changes at a first speed from a predetermined value to another predetermined value smaller than the predetermined value, and thereafter changes up to 0% at a slower speed than the first speed. 3. The buzzer drive circuit according to claim 2, wherein:
JP9019420A 1997-01-31 1997-01-31 Buzzer driving circuit Pending JPH10214090A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9019420A JPH10214090A (en) 1997-01-31 1997-01-31 Buzzer driving circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9019420A JPH10214090A (en) 1997-01-31 1997-01-31 Buzzer driving circuit

Publications (1)

Publication Number Publication Date
JPH10214090A true JPH10214090A (en) 1998-08-11

Family

ID=11998780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9019420A Pending JPH10214090A (en) 1997-01-31 1997-01-31 Buzzer driving circuit

Country Status (1)

Country Link
JP (1) JPH10214090A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101901596A (en) * 2010-08-18 2010-12-01 王伟东 Touch type horn system with counting function
WO2011027688A1 (en) * 2009-09-04 2011-03-10 矢崎総業株式会社 Method for producing sounds for turn signal sounds for an automobile and sounder for turn signal sounds for an automobile
WO2014103104A1 (en) * 2012-12-26 2014-07-03 カルソニックカンセイ株式会社 Buzzer output control device and buzzer output control method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011027688A1 (en) * 2009-09-04 2011-03-10 矢崎総業株式会社 Method for producing sounds for turn signal sounds for an automobile and sounder for turn signal sounds for an automobile
JP2011056967A (en) * 2009-09-04 2011-03-24 Yazaki Corp Method for producing sounds for turn sounds for automobile and sounder for turn sounds for automobile
US8638208B2 (en) 2009-09-04 2014-01-28 Yazaki Corporation Method for generating turn-signal sound of vehicle and device using the same
CN101901596A (en) * 2010-08-18 2010-12-01 王伟东 Touch type horn system with counting function
WO2014103104A1 (en) * 2012-12-26 2014-07-03 カルソニックカンセイ株式会社 Buzzer output control device and buzzer output control method
JP2014125088A (en) * 2012-12-26 2014-07-07 Calsonic Kansei Corp Buzzer output control device, and buzzer output control method
CN104870255A (en) * 2012-12-26 2015-08-26 日本康奈可株式会社 Buzzer output control device and buzzer output control method
US9583089B2 (en) 2012-12-26 2017-02-28 Calsonic Kansei Corporation Buzzer output control device and buzzer output control method

Similar Documents

Publication Publication Date Title
EP0466757A1 (en) A controller for an electrical load
JPH10214090A (en) Buzzer driving circuit
JP2852205B2 (en) Radio selective call receiver
US4792789A (en) Alarm driving signal generator
US4787087A (en) Circuit for driving a laser diode
JP3697678B2 (en) V / F conversion circuit
US6633203B1 (en) Method and apparatus for a gated oscillator in digital circuits
JPS5917892B2 (en) multi vibrator
JP2884517B2 (en) Light receiving circuit of photoelectric switch
JP2001092465A (en) Buzzer ringing device
JPH0437002Y2 (en)
JPH10197669A (en) Sound volume controller for alarm clock
KR200169996Y1 (en) Circuit for buzzer
JPS63129863A (en) Switching power device
JP3591519B2 (en) Pulse width modulation circuit
KR950001105Y1 (en) Direction indicator device for vehicle
JPS6253812B2 (en)
JPH1098875A (en) Switching regulator
JPH0212752Y2 (en)
JPS6016054B2 (en) Relay drive circuit
JPH0333192Y2 (en)
JP2592472Y2 (en) Wiper motor control circuit
JPH09283831A (en) Laser diode driving circuit
JP2592232Y2 (en) Switching power supply
JP3010708B2 (en) Pulse generator

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040427

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050322