JPH03163913A - Power source fluctuation detecting circuit - Google Patents

Power source fluctuation detecting circuit

Info

Publication number
JPH03163913A
JPH03163913A JP30377189A JP30377189A JPH03163913A JP H03163913 A JPH03163913 A JP H03163913A JP 30377189 A JP30377189 A JP 30377189A JP 30377189 A JP30377189 A JP 30377189A JP H03163913 A JPH03163913 A JP H03163913A
Authority
JP
Japan
Prior art keywords
converter
voltage
output
power supply
reference voltage
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
JP30377189A
Other languages
Japanese (ja)
Inventor
Hiroshi Kowaki
宏 小脇
Shoji Fujimoto
藤本 昇治
Toshitaka Yamato
俊孝 大和
Masatsugu Kamimura
正継 上村
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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP30377189A priority Critical patent/JPH03163913A/en
Publication of JPH03163913A publication Critical patent/JPH03163913A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily enable the circuit to detect the fluctuation of a power source by operating an A/D converter by a fluctuating power source, inputting a reference voltage, which is generated by a reference voltage generator, to the said A/D converter and defining the conversion output of the said A/D converter as a power source fluctuation detecting signal. CONSTITUTION:The fixed reference voltage is generated by a reference voltage generator 12 and this voltage is inputted to an A/D converter 11. Since the A/D converter 11 executes the A/D conversion of this reference voltage, the A/D output is not changed when a power supply voltage is fixed. However, when the power supply voltage is fluctuated, the internal voltage of the A/D converter 11 to be compared with an A/D input is also changed and accordingly, the A/D output is changed. The ratio of the change in this A/D output is correspondent to the power source fluctuation. The power source of the A/D converter 11 is B<+> as well. The reference voltage generator 12 serially connects a resistor R3 and a Zener's diode D1 between power sources B<+> and B<-> and a Zener voltage to be generated at the said diode D1 is inputted to the A/D converter 11 as a reference voltage. A correcting circuit 13 corrects (analogly inverts) the conversion output of the A/D converter 11 and inputs it to a PCM/PWM converter 22.

Description

【発明の詳細な説明】 〔概 要〕 A/D変換器を用いた電源変動検出回路に関し、電源電
圧の変動幅をデジタル値で出力することを目的とし、 A/D変換器を変動のある電源で動作させ、該A/D変
換器に基準電圧発生器で発生した基準電圧を入力し、該
A/D変換器の変換出力を電源変動検出信号とし、また
は A/D変換器を定電圧回路の出力で動作させ、該A/D
変換器に変動のある電源電圧を分圧回路で分圧して入力
し、該A/D変換器の変換出力を電源変動検出信号とす
るよう構戒する。
[Detailed Description of the Invention] [Summary] Regarding a power supply fluctuation detection circuit using an A/D converter, the purpose is to output the fluctuation width of the power supply voltage as a digital value. Operate with a power supply, input the reference voltage generated by the reference voltage generator to the A/D converter, use the conversion output of the A/D converter as a power supply fluctuation detection signal, or set the A/D converter to a constant voltage. Operated by the output of the circuit, the A/D
A power supply voltage that fluctuates is input to the converter after being divided by a voltage dividing circuit, and the converted output of the A/D converter is used as a power supply fluctuation detection signal.

〔産業上の利用分野〕[Industrial application field]

本発明は、A/D変換器を用いた電源変動検出回路に関
する。
The present invention relates to a power supply fluctuation detection circuit using an A/D converter.

電源電圧の変動が出力に影響を与える回路では、電源変
動を抑制するか、その変動を検出して出力を補正するこ
とが望ましい。ところが、車載用機器で電源をバッテリ
直結とした場合には、電源電圧を安定化することはでき
ない(負荷の増減等によって大きく変動する)ため、電
源変動を検出して機器出力を補正する方法が効果的であ
る。
In a circuit where power supply voltage fluctuations affect the output, it is desirable to suppress the power supply fluctuations or to detect the fluctuations and correct the output. However, when the power supply of in-vehicle equipment is directly connected to the battery, it is not possible to stabilize the power supply voltage (it fluctuates greatly depending on changes in load, etc.), so there is no way to detect power fluctuations and correct the equipment output. Effective.

〔従来の技術〕[Conventional technology]

車載用オーディオ機器はソース(音源)のデジタル化に
伴ない各部もデジタル化される傾向にある。スピーカを
駆動する電力増幅器もその一例で、ここにスイソチング
アンプと呼ばれるデジタルアンプを使用すると大出力を
実現できる。
As the source (sound source) of in-vehicle audio equipment becomes digital, there is a tendency for each part to become digital as well. One example is the power amplifier that drives a speaker, and if a digital amplifier called a Swiss-isolating amplifier is used here, a large output can be achieved.

第7図はスイッチングアンプの説明図で、SPはスピー
カ、Q1 〜Q4はスイッチング素子、Aは制御信号、
λはその反転信号、Vccは電源、GNDはアースであ
る。素子Q,,Q3は信号AがH(ハイ)のときにオン
となり、スピーカSPに実線矢印の極性で駆動電流を流
す。これに対し素子Q2,Q4は信号λがHのときにオ
ンになり、スピーカSPに逆極性の電流(破線矢印で示
す)を流す。本例はBTL方式としているため素子数が
多いが、簡単にはスピーカSPの一端を接地し、他端側
の素子対Q,,Q2またはQ3,Q4を用いるだけでよ
い。
Figure 7 is an explanatory diagram of a switching amplifier, where SP is a speaker, Q1 to Q4 are switching elements, A is a control signal,
λ is its inverted signal, Vcc is the power supply, and GND is the ground. Elements Q, , Q3 are turned on when signal A is H (high), and drive current flows through speaker SP with the polarity indicated by the solid line arrow. On the other hand, elements Q2 and Q4 are turned on when signal λ is H, causing currents of opposite polarity (indicated by broken line arrows) to flow through speaker SP. Although this example uses a BTL system, the number of elements is large, but simply grounding one end of the speaker SP and using the element pair Q, , Q2 or Q3, Q4 at the other end is sufficient.

制御信号A.Aは例えば一定周期のパルス列(キャリア
)の各パルスのデューティをオーディオ信号の振幅に応
して変化させたPWM(パルス幅変調)信号である。こ
のPWM信号で第7図の素子Q1 〜Q4を駆動すると
、スピーカSPには電源電圧とPWM信号のデューティ
に応じて積分された駆動電流が流れ、これを平滑化する
と元のアナログ値に復元されたオーディオ信号がスピー
カSPから再生される。電源電圧はPWM信号の振幅を
決定するものである。
Control signal A. A is, for example, a PWM (pulse width modulation) signal in which the duty of each pulse of a pulse train (carrier) of a constant period is changed according to the amplitude of the audio signal. When elements Q1 to Q4 in Fig. 7 are driven with this PWM signal, a driving current that is integrated according to the power supply voltage and the duty of the PWM signal flows through the speaker SP, and when this is smoothed, it is restored to the original analog value. The audio signal is reproduced from the speaker SP. The power supply voltage determines the amplitude of the PWM signal.

第8図にはPWM信号のキャリアと、スピーカSPに印
加される電圧波形(PWM信号と相似)、および平滑化
されてスピーカSPに流れる駆動電流の波形を示してあ
る。
FIG. 8 shows the carrier of the PWM signal, the voltage waveform (similar to the PWM signal) applied to the speaker SP, and the smoothed waveform of the drive current flowing to the speaker SP.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

第7図の回,路の電源Vccが車両のバソテリであると
、その電圧は負荷(例えばエアコンディショナ)の増減
によって大きく変動する。この結果、スピーカSPの印
加電圧が例えば第8図のVccからvcc′に低下した
場合、スピーカ駆動電流も実線の( V cc)から破
線の(Vcc′)に減少するため、スピーカSPで再生
される音圧が低下する。
If the power supply Vcc of the circuit shown in FIG. 7 is the vehicle's battery, its voltage will vary greatly depending on the increase or decrease of the load (for example, the air conditioner). As a result, when the voltage applied to the speaker SP decreases, for example, from Vcc to vcc' in FIG. The sound pressure decreases.

本発明は、上述した有害な電源電圧の変動を、A/D変
換器を用いて簡単に検出しようとするものである。
The present invention attempts to easily detect the above-mentioned harmful power supply voltage fluctuations using an A/D converter.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の第1原理図で、11はA/D変換器、
12は基準電圧発生器、13は必要に応じて用いられる
補正回路である。
FIG. 1 is a first principle diagram of the present invention, where 11 is an A/D converter;
12 is a reference voltage generator, and 13 is a correction circuit used as necessary.

第3図は本発明の第2原理図で、11はA/D変換器、
l4は分圧回路、15は定電圧回路である。
FIG. 3 is a second principle diagram of the present invention, in which 11 is an A/D converter;
14 is a voltage dividing circuit, and 15 is a constant voltage circuit.

〔作 用〕[For production]

第1図のA/D変換器l1は変動のある電源で動作する
。このA/D変換器11が仮に電源電圧をA/D入力に
すると、A/D出力は電源変動によらず常に一定となる
ため、電源変動は検出できない。そこで本例では、基準
電圧発生器12で一定の基準電圧を発生し、これをA/
D変換器11に入力する。A/D変換器Ifはこの基準
電圧をA/D変換するため、電源電圧が一定であればA
/D出力も変らない。しかし、電源電圧が変動するとA
/D入力と比較するΔ/D変換器11の内部電圧も変化
するためA/D出力が変化する。このA/D出力の変化
の割合いは電源変動に対応する。
The A/D converter l1 in FIG. 1 operates on a fluctuating power supply. If this A/D converter 11 uses the power supply voltage as an A/D input, the A/D output will always be constant regardless of power supply fluctuations, so power supply fluctuations cannot be detected. Therefore, in this example, a constant reference voltage is generated by the reference voltage generator 12, and this is
The signal is input to the D converter 11. Since the A/D converter If converts this reference voltage into A/D, if the power supply voltage is constant, A/D converter If converts this reference voltage into A/D.
/D output also remains unchanged. However, when the power supply voltage fluctuates, A
Since the internal voltage of the Δ/D converter 11 compared with the /D input also changes, the A/D output changes. The rate of change in this A/D output corresponds to power supply fluctuations.

第2図はこの動作を示す波形図で、(a)は電源、(b
)はA/D入力(基準電圧)、(C)はA/D出力であ
る。このA/D出力はデジタル値であるが、説明を容易
にするためアナログ化して表わしてある。
Figure 2 is a waveform diagram showing this operation, where (a) is the power supply, (b)
) is the A/D input (reference voltage), and (C) is the A/D output. Although this A/D output is a digital value, it is expressed as an analog value for ease of explanation.

これらの図に示すようにA/D入力が一定のとき電源が
上昇(低下)するとA/D出力は減少(増加)する。
As shown in these figures, when the A/D input is constant and the power supply increases (decreases), the A/D output decreases (increases).

尚、A/D出力の変化の方向を電源変動と同じにしたけ
れば反転回路のような補正回路13を用いればよい。第
2図(d)はこのような補正回路13の出力をアナログ
化して表わしたものである。
Incidentally, if it is desired that the direction of change in the A/D output is the same as the power supply fluctuation, a correction circuit 13 such as an inverting circuit may be used. FIG. 2(d) shows an analog representation of the output of such a correction circuit 13.

第3図のA/D変換器11は定電圧回路15の出力で動
作し、分圧回路14で分圧した変動のある電源電圧の分
圧出力をA/D変換する。分圧回路14は直列抵抗R,
,R2で構威される簡単なもので、第4図(al Tb
)に示すように電源のN倍の電圧変動を示す。Nは分圧
比で、これにより分圧出力がA/D変換器11の最大入
力レベル以下となるようにする。このA/D変換器l1
の出力をアナログ化して示すと第4図(Clのようにな
り、電源変動と対応している。この場合は第1図の補正
回路13は必要としない。
The A/D converter 11 in FIG. 3 operates on the output of the constant voltage circuit 15, and A/D converts the divided voltage output of the fluctuating power supply voltage divided by the voltage dividing circuit 14. The voltage dividing circuit 14 includes a series resistor R,
, R2, as shown in Figure 4 (al Tb
) shows a voltage fluctuation of N times that of the power supply. N is a voltage division ratio, whereby the voltage division output is set to be less than or equal to the maximum input level of the A/D converter 11. This A/D converter l1
When the output is converted into an analog form and shown as shown in FIG. 4 (Cl), it corresponds to power supply fluctuations. In this case, the correction circuit 13 shown in FIG. 1 is not required.

〔実施例〕〔Example〕

第5図は本発明の第l実施例の構或図である。 FIG. 5 is a structural diagram of a first embodiment of the present invention.

本例は車載用のオーディオ機器に適用したもので、21
はCD(コンパクトディスク)等のデジタルソース、2
2はその出力(PCM信号)をPWM信号に変換ずるP
CM/PWM変換器、23は最終段が第7図のように構
威されるスイソチング式の電力増幅器、SPばスビーカ
、B+はバソテリの正側、B一はハソテリの負側である
。第7図に対応させればB 十一,V cc, B  
= G N Dである。
This example is applied to in-vehicle audio equipment.
is a digital source such as a CD (compact disc), 2
2 is P which converts the output (PCM signal) into PWM signal
The CM/PWM converter 23 is a Swiss switching type power amplifier whose final stage is configured as shown in FIG. 7, the SP speaker, B+ is the positive side of the bass terminal, and B1 is the negative side of the bass terminal. Corresponding to Figure 7, B 11, V cc, B
= GND.

この電源B十は全ての回路の動作電源として使用される
This power source B1 is used as an operating power source for all circuits.

本例は第l図の方式を適用したので、A/D変換器I1
の電源もB十である。基準電圧発生器12は抵抗R3と
ツェナーダイオー1・D1を電源B十とB−の間に直列
に接続し、該ダイオードD1に発生するツェナー電圧を
基準電圧としてA/D変換器11に入力する。補正回路
13はA/D変換器11の変換出力を補正(アナログ的
には反転)してPCM/PWM変換器22に入力する。
In this example, the method shown in Figure 1 is applied, so the A/D converter I1
The power source is also B0. The reference voltage generator 12 connects a resistor R3 and a Zener diode 1/D1 in series between power supplies B1 and B-, and inputs the Zener voltage generated at the diode D1 to the A/D converter 11 as a reference voltage. . The correction circuit 13 corrects (inverts in analog terms) the converted output of the A/D converter 11 and inputs it to the PCM/PWM converter 22 .

このPCM/PWM変換器22にばデジタルソース21
からのPCM信号(オーディオ信号)が入力しており、
これがPWM信号に変換されて電力増幅器23に供給さ
れ、第7図および第8図で説明したような動作が行われ
る。このときPCM/PWM変換器22は補正回路13
の出力によってPWM信号を次の様に補正する。
This PCM/PWM converter 22 has a digital source 21
The PCM signal (audio signal) from
This is converted into a PWM signal and supplied to the power amplifier 23, and the operation as explained in FIGS. 7 and 8 is performed. At this time, the PCM/PWM converter 22
The PWM signal is corrected by the output as follows.

第8図に示したようにスピーカ印加電圧の振幅が電源変
動によってVccからVcc′ に低下した場合は、そ
れを補う(面積を同じにする)ようにデューティを増加
させてスビーカ駆動電流を破線から実線に戻すようにす
る(電源が上昇したときは逆に補正する)。例えばPC
M信号をパルス幅カウンタを用いてPWM信号に変換す
るとしたら、該カウンタにブリセソl・する値を、PC
M信号が示す値に補正信号が示す値を加味したものとす
る構或が考えられる。或いはPCM/PWM変換器22
をDSP (デジタル信号処理器)でソフト的に構威す
る場合には、このデューティ補正もソフト的に行えばよ
い。尚、PCM/PWM変換器22に補正回路13と同
等の機能があれば、補正回路13は省略してもよい。
As shown in Figure 8, when the amplitude of the speaker applied voltage decreases from Vcc to Vcc' due to power supply fluctuations, the duty is increased to compensate for this (make the area the same) and the speaker drive current changes from the broken line. Try to return it to a solid line (if the power increases, correct it in the opposite direction). For example, PC
If the M signal is converted to a PWM signal using a pulse width counter, the value to be input to the counter is
A configuration may be considered in which the value indicated by the correction signal is added to the value indicated by the M signal. Or PCM/PWM converter 22
If this is implemented using software using a DSP (digital signal processor), this duty correction may also be performed using software. Note that if the PCM/PWM converter 22 has a function equivalent to that of the correction circuit 13, the correction circuit 13 may be omitted.

第6図は本発明の第2実施例を示す構威図である。本例
は電源変動検出回路10に第3図の方式を採用したもの
で、他は第5図と同様である。定電圧回路15は抵抗R
4とツェナーダイオードD2を電源B十とB一の間に直
列に接続し、ダイオードD2のツェナー電圧をA/D変
換器11の動作電源とする。このA/D変換器11は分
圧回路14の抵抗R,,R2で分圧された電源B十, 
Bの分圧電圧をA/D入力とし、そのA/D出力をPC
M/PWM変換器22に補正値として入力する。本例で
はこのPCM/PWM変換器22の動作電源も定電圧回
路15から供給する。
FIG. 6 is a structural diagram showing a second embodiment of the present invention. In this example, the system shown in FIG. 3 is adopted for the power supply fluctuation detection circuit 10, and the other parts are the same as those shown in FIG. The constant voltage circuit 15 is a resistor R
4 and a Zener diode D2 are connected in series between power supplies B1 and B1, and the Zener voltage of the diode D2 is used as the operating power supply for the A/D converter 11. This A/D converter 11 is connected to a power supply B0, whose voltage is divided by the resistors R, , R2 of the voltage dividing circuit 14.
The divided voltage of B is the A/D input, and the A/D output is the PC.
This value is input to the M/PWM converter 22 as a correction value. In this example, the operating power for the PCM/PWM converter 22 is also supplied from the constant voltage circuit 15.

〔発明の効果〕〔Effect of the invention〕

9 以上述べたように本発明によれば、電源変動がそのまま
出力変動につながるシステムに対し、該電源変動幅をデ
ジタル値として検出し、それを補正パラメータとして与
えることができる。
9 As described above, according to the present invention, for a system in which power supply fluctuations directly lead to output fluctuations, the range of power supply fluctuations can be detected as a digital value and provided as a correction parameter.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の第1の原理図、 第2図はその動作波形図、 第3図は本発明の第2の原理図、 第4図はその動作波形図、 第5図は本発明の第1実施例の構成図、第6図は本発明
の第2実施例の構戒図、第7図はスイソチングアンプの
説明図、第8図はその動作波形図である。 図中、11はA/D変換器、l2は基準電圧発生器、1
3は補正回路、14は分圧回路、15は定電圧回路であ
る。
Figure 1 is the first principle diagram of the present invention, Figure 2 is its operating waveform diagram, Figure 3 is the second principle diagram of the present invention, Figure 4 is its operating waveform diagram, and Figure 5 is the present invention. FIG. 6 is a configuration diagram of a second embodiment of the present invention, FIG. 7 is an explanatory diagram of a switching amplifier, and FIG. 8 is an operating waveform diagram thereof. In the figure, 11 is an A/D converter, l2 is a reference voltage generator, 1
3 is a correction circuit, 14 is a voltage dividing circuit, and 15 is a constant voltage circuit.

Claims (1)

【特許請求の範囲】 1、A/D変換器(11)を変動のある電源で動作させ
、 該A/D変換器に基準電圧発生器(12)で発生した基
準電圧を入力し、 該A/D変換器の変換出力を電源変動検出信号とするこ
とを特徴とする電源変動検出回路。 2、A/D変換器(11)を定電圧回路(15)の出力
で動作させ、 該A/D変換器に変動のある電源電圧を分圧回路(14
)で分圧して入力し、 該A/D変換器の変換出力を電源変動検出信号とするこ
とを特徴とする電源変動検出回路。
[Claims] 1. The A/D converter (11) is operated with a fluctuating power supply, and the reference voltage generated by the reference voltage generator (12) is input to the A/D converter; A power fluctuation detection circuit characterized in that a conversion output of a /D converter is used as a power fluctuation detection signal. 2. The A/D converter (11) is operated by the output of the constant voltage circuit (15), and the fluctuating power supply voltage is applied to the A/D converter by the voltage divider circuit (14).
), and the converted output of the A/D converter is used as a power fluctuation detection signal.
JP30377189A 1989-11-22 1989-11-22 Power source fluctuation detecting circuit Pending JPH03163913A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30377189A JPH03163913A (en) 1989-11-22 1989-11-22 Power source fluctuation detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30377189A JPH03163913A (en) 1989-11-22 1989-11-22 Power source fluctuation detecting circuit

Publications (1)

Publication Number Publication Date
JPH03163913A true JPH03163913A (en) 1991-07-15

Family

ID=17925090

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30377189A Pending JPH03163913A (en) 1989-11-22 1989-11-22 Power source fluctuation detecting circuit

Country Status (1)

Country Link
JP (1) JPH03163913A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0547871U (en) * 1991-11-29 1993-06-25 ぺんてる株式会社 Battery voltage detection circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0547871U (en) * 1991-11-29 1993-06-25 ぺんてる株式会社 Battery voltage detection circuit

Similar Documents

Publication Publication Date Title
US8299853B2 (en) Class D amplifier
JP2946091B2 (en) Switching regulator
US7205834B2 (en) Power amplifier
JP2643813B2 (en) Stabilized power supply circuit
JP2844479B2 (en) Power supply fluctuation compensation circuit for switching amplifier
JP4211465B2 (en) Pulse width modulation circuit
JP2004053528A (en) Current detecting circuit
JPH0443706A (en) Pulse width modulation amplifier
JPH03163913A (en) Power source fluctuation detecting circuit
JPH04172705A (en) Pulse width modulation amplifier
JP3972601B2 (en) Level shift circuit
JP3124179B2 (en) Pulse width modulation circuit
JP2004180294A (en) Power amplifier
JPH1117478A (en) Power amplifier
JP2544746B2 (en) Pulse width modulated wave generator
JP2839558B2 (en) PWM drive circuit
JPH0260089B2 (en)
JP4385320B2 (en) PWM modulation circuit
JP2638498B2 (en) Laser drive circuit
JPS62254692A (en) Stepper motor driving circuit
JPS5831041B2 (en) pulse width modulation amplifier
JPH05315850A (en) Operational amplifier circuit
JPS6359214A (en) Pulse width modulation circuit
JPH0698592A (en) Fan motor drive control circuit
JPH0792204A (en) Comparator circuit