JP2010045726A - Signal amplification apparatus and signal processing method - Google Patents

Signal amplification apparatus and signal processing method Download PDF

Info

Publication number
JP2010045726A
JP2010045726A JP2008209890A JP2008209890A JP2010045726A JP 2010045726 A JP2010045726 A JP 2010045726A JP 2008209890 A JP2008209890 A JP 2008209890A JP 2008209890 A JP2008209890 A JP 2008209890A JP 2010045726 A JP2010045726 A JP 2010045726A
Authority
JP
Japan
Prior art keywords
signal
circuit
output
state
synchronization
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
JP2008209890A
Other languages
Japanese (ja)
Inventor
Kenji Yanagihara
謙志 柳原
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2008209890A priority Critical patent/JP2010045726A/en
Publication of JP2010045726A publication Critical patent/JP2010045726A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Amplifiers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To achieve circuit protection and to prevent noise generation when any abnormality occurs in input of a source clock in a class-D amplifier. <P>SOLUTION: When a source clock CLK_S to be inputted to a PLL circuit 160 is kept in low output, the PLL circuit 160 is disabled from being locked and an unlock detector makes high-output of an unlock signal S_UL. In response to the high-output, a P-channel FET 151a of a high-side amplification circuit 150a and a P-channel FET 151b of a low-side amplification circuit 150b are turned off. Similarly, outputs of NOR circuits 142a, 142b, to which the unlock signal S_UL is inputted are made low. As a result, an N-channel FET 152a of the high-side amplification circuit 150a and an N-channel FET 152b of a low-side amplification circuit 150b are turned off. Thus, both the high-side amplification circuit 150a and the low-side amplification circuit 150b are brought to high impedance together. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、信号増幅装置及び信号処理方法に係り、所定のクロックで変調処理を行う信号処理装置、その様な信号処理装置で利用可能な信号処理方法に関する。   The present invention relates to a signal amplification device and a signal processing method, and more particularly to a signal processing device that performs modulation processing with a predetermined clock, and a signal processing method that can be used in such a signal processing device.

昨今、AV(Audio Visual)機器におけるシステムのデジタル化が進んでいる。ノイズによる信号劣化やバラつき問題の発生しやすいアナログ回路よりも、それら問題が発生せず、集積化もしやすいデジタル回路が好まれるからである。   In recent years, the digitization of systems in AV (Audio Visual) devices is progressing. This is because a digital circuit that does not cause such problems and is easy to be integrated is preferred to an analog circuit that easily causes signal degradation and variation problems due to noise.

テレビの音声回路やオーディオ機器においてもその流れは例外ではない。音の入り口では、HDMI(High-Definition Multimedia Interface)といったデジタル信号を扱う規格が広く採用され、音の出口では、厳密にはデジタル回路ではないが、クロックを必要とするD級アンプが用いられている。D級アンプは、いわゆるアナログアンプと異なり、パルス状の波形の密度や幅をもってして信号を表現し、電力増幅を行う。   The flow is not an exception in television audio circuits and audio equipment. At the entrance of the sound, a standard for handling digital signals such as HDMI (High-Definition Multimedia Interface) is widely adopted, and at the exit of the sound, although not strictly a digital circuit, a class D amplifier that requires a clock is used. Yes. Unlike a so-called analog amplifier, a class D amplifier expresses a signal with the density and width of a pulse waveform and performs power amplification.

言うまでも無く、クロックを必要とする回路は、クロックが停止してしまうと動作しない。D級アンプについて述べると、D級アンプに供給されるクロック(以下、「オーディオクロック」と呼ぶ)が不安定になれば音質の劣化につながる。また、アナログ入力タイプのD級アンプであれば、オーディオクロックが一瞬でも停止すれば、アンプが発振する可能性がある。さらに、クロックの停止により、例えば図16に示すように、負荷に対してDC電圧がかかる形でパルスが固定されてしまった場合、負荷に大電流が流れて負荷の破壊、さらにD級アンプの中の電力増幅回路の破壊につながる虞がある。   Needless to say, a circuit that requires a clock does not operate if the clock stops. As for the class D amplifier, if the clock (hereinafter referred to as “audio clock”) supplied to the class D amplifier becomes unstable, the sound quality is deteriorated. Further, in the case of an analog input type class D amplifier, if the audio clock stops even for a moment, the amplifier may oscillate. Furthermore, when the pulse is fixed due to the DC voltage applied to the load due to the stop of the clock, for example, as shown in FIG. 16, a large current flows through the load and the load is destroyed. There is a risk of damage to the power amplifier circuit inside.

例えば、システムの簡易化のために、HDMIレシーバーから出力されるクロックを、直接アンプのオーディオクロックとして用いる構成がある。この場合、ユーザーがHDMIケーブルを抜いただけで、オーディオクロックが停止してしまう場合があり、上述の課題の発生が容易に想像される。   For example, in order to simplify the system, there is a configuration in which a clock output from an HDMI receiver is directly used as an audio clock of an amplifier. In this case, the audio clock may stop when the user simply disconnects the HDMI cable, and the above-described problem is easily imagined.

その様な状況に対応する技術として以下のようなパルス変調型電力増幅器が提案されている(例えば、特許文献1参照)。この技術では、クロックと入力信号を入力として入力信号をパルス列に変換するパルス変調器と、前記クロックの停止を検出してクロック停止時にクロック正常時と異なる信号を出力するクロック検出回路と、前記パルス変調器が出力する前記パルス列と前記クロック検出回路の出力を入力とする出力制御回路と、前記出力制御回路が出力する出力パルス列に応じてスイッチングする出力回路とを備え、前記出力制御回路は、前記クロック検出回路が出力する前記クロック正常時と異なる信号に応じて、前記出力回路のスイッチングを停止させるように制御する。
特開2007−288431号公報
As a technique corresponding to such a situation, the following pulse modulation type power amplifier has been proposed (for example, see Patent Document 1). In this technique, a pulse modulator that receives a clock and an input signal and converts the input signal into a pulse train, a clock detection circuit that detects a stop of the clock and outputs a signal different from that when the clock is normal, and the pulse An output control circuit that inputs the pulse train output from the modulator and the output of the clock detection circuit; and an output circuit that switches according to the output pulse train output from the output control circuit; and Control is performed to stop the switching of the output circuit in response to a signal output from the clock detection circuit that is different from that when the clock is normal.
JP 2007-288431 A

ところで、特許文献1に開示の技術では、クロックの停止に対応しようとしているが、クロック周期が間延びしたような場合には対応できないという課題があった。なぜなら、クロック周期が間延びしたような場合であっても、同じDuty50%のクロックであれば、それを積分して得られるレベルも同じであるため、クロック検出回路はクロックを「正常」と判断してしまい、保護動作を行わない場合があるからである。一方、パルス変調回路は、クロックが間延びしたときに発振する可能性がある。その場合、出力回路はOFFされておらず(保護動作が行われていない)、通常動作をしているので、異音の発生はもちろんのこと、出力回路の破壊につながる虞もあった。より具体的には、以下のような課題があった。
(1)クロックが停止した場合、ただちに保護動作を行うべきであるが、クロックの停止からクロック検出回路がクロック停止を検出するまでの間に、多少の時間がある。その間、負荷(スピーカ)には大電流が流れるので、出力回路が故障してしまう可能性が残る。
(2)クロック停止時、出力回路の出力は、瞬時に出力回路がオフされる(ハイインピーダンス(Hi−Z)出力になる)構成となっており、ユーザーにとって不快なポップノイズが発生する。クロックの停止が頻繁に発生するシステムにおいては、到底許容できない。
By the way, in the technique disclosed in Patent Document 1, an attempt is made to cope with the stop of the clock, but there is a problem that the case where the clock cycle is extended cannot be dealt with. This is because even if the clock period is extended, the clock detection circuit determines that the clock is “normal” because the level obtained by integrating the same 50% duty clock is the same. This is because the protection operation may not be performed. On the other hand, the pulse modulation circuit may oscillate when the clock is extended. In that case, since the output circuit is not turned off (the protective operation is not performed) and is operating normally, there is a possibility that the output circuit is destroyed as well as the occurrence of abnormal noise. More specifically, there were the following problems.
(1) When the clock stops, the protection operation should be performed immediately, but there is some time between the clock stop and the clock detection circuit detecting the clock stop. Meanwhile, since a large current flows through the load (speaker), there is a possibility that the output circuit will fail.
(2) When the clock is stopped, the output of the output circuit is configured such that the output circuit is instantaneously turned off (high impedance (Hi-Z) output), and unpleasant pop noise is generated for the user. In a system where clock stops frequently occur, it is far from acceptable.

本発明の目的は、このような状況に鑑みなされたものであって、その目的は、クロックの入力に異常が生じたときにD級アンプの回路保護を実現する技術を提供することにある。また、別の観点では、クロックの入力に異常が生じたときにポップ音などの雑音が出力されてしまうことを防止する技術を提供することにある。   An object of the present invention has been made in view of such a situation, and an object of the present invention is to provide a technique for realizing circuit protection of a class D amplifier when an abnormality occurs in clock input. Another object of the present invention is to provide a technique for preventing a noise such as a pop sound from being output when an abnormality occurs in clock input.

本発明に係る装置は、信号増幅装置に関する。この信号増幅装置は、基準クロックをもとに入力信号を変調する変調手段と、変調された入力信号を増幅して出力する増幅手段と、ソースクロックを取得して、当該ソースクロックをもとに前記変調手段で利用する前記基準クロックを生成するとともに、取得した前記ソースクロックと生成した前記基準クロックの同期状態を出力する位相同期手段と、前記増幅手段の動作を前記位相同期手段の同期状態に応じて制御する出力制御手段と、を備える。
また、前記出力制御手段は、前記位相同期手段の前記同期状態がアンロックとなったときに前記増幅手段をオフしてもよい。
また、前記変調手段は、前記位相同期手段の前記同期状態がアンロックとなったときに、前記出力制御手段が前記増幅手段をオフする前に、ノイズ低減処理を行ってもよい。
また、前記位相同期手段がアンロック状態となったときに所定のタイマ時間でタイマ動作を開始し、前記タイマ時間に達したときに、前記出力制御手段に対して前記増幅手段をオフする制御信号を出力するタイマ手段を備えてもよい。
また、前記位相同期手段の前記同期状態がアンロックとなったときに、前記出力制御手段が前記増幅手段をオフする前に、前記変調手段に入力される入力信号の信号レベルを下げるレベル調整処理を行うレベル調整手段を備えてもよい。
また、前記位相同期手段は、前記同期状態として、アンロックのおそれのある警告状態を出力し、前記変調手段は、前記警告状態に応じてノイズ低減処理を行ってもよい。
また、前記位相同期手段は、前記同期状態として、アンロックのおそれのある警告状態を出力し、前記レベル調整手段は、前記警告状態に応じてレベル調整処理を行ってもよい。
また、前記位相同期手段は、同期可能な周波数帯域を有し、アンロック状態であっても当該周波数帯域の前記基準クロックを出力してもよい。
また、前記位相同期手段は、同期可能な周波数帯域を有し、アンロック状態のときに当該周波数帯域に近い周波数の前記基準クロックを出力してもよい。
本発明に係る方法は、信号処理方法に関する。この信号処理方法は、基準クロックをもとに入力信号を変調する変調工程と、変調された入力信号を増幅して出力する増幅工程と、当該ソースクロックをもとに、位相同期処理により前記基準クロックを生成する基準クロック生成工程と、前記ソースクロックと生成した前記基準クロックの同期状態を出力する同期状態出力工程と、前記増幅工程の動作を前記位相同期処理の同期状態に応じて制御する出力制御工程と、を備える。
また、前記出力制御工程は、前記同期状態出力工程において出力された前記同期状態がアンロックであるときに前記増幅工程の動作による出力をオフにしてもよい。
また、前記変調工程は、前記同期状態出力工程において出力された前記同期状態がアンロックであるときに、前記増幅工程の動作による出力をオフにする動作の前に、ノイズ低減処理を行ってもよい。
また、前記同期状態出力工程において出力された前記同期状態がアンロックとなったときに、所定のタイマ時間でタイマ動作を開始し、前記タイマ時間に達したときに、前記増幅工程の動作をオフにする信号を出力するタイマ動作工程を備えてもよい。
また、前記同期状態出力工程において出力された前記同期状態がアンロックであるときに、前記増幅工程の動作による出力をオフにする動作の前に、前記変調工程に入力される入力信号の信号レベルを下げるレベル調整処理を行うレベル調整工程を備えてもよい。
また、前記同期状態出力工程は、前記同期状態としてアンロックのおそれのある警告状態を出力し、前記変調工程は、前記警告状態に応じてノイズ低減処理を行ってもよい。
また、前記同期状態出力工程は、前記同期状態として、アンロックのおそれのある警告状態を出力し、前記レベル調整工程は、前記警告状態に応じてレベル調整処理を行ってもよい。
また、前記同期状態出力工程は、同期可能な周波数帯域を有し、アンロック状態であっても当該周波数帯域の前記基準クロックを出力してもよい。
また、前記同期状態出力工程は、アンロック状態のときに出力する前記基準クロックの周波数に上限及び下限を設けてもよい。
The apparatus according to the present invention relates to a signal amplifying apparatus. The signal amplifying apparatus includes a modulating unit that modulates an input signal based on a reference clock, an amplifying unit that amplifies and outputs the modulated input signal, a source clock, and a source clock based on the source clock. A phase synchronization unit that generates the reference clock used by the modulation unit and outputs a synchronization state of the acquired source clock and the generated reference clock; and an operation of the amplification unit is set to the synchronization state of the phase synchronization unit. Output control means for controlling accordingly.
The output control unit may turn off the amplification unit when the synchronization state of the phase synchronization unit is unlocked.
The modulation means may perform noise reduction processing before the output control means turns off the amplification means when the synchronization state of the phase synchronization means is unlocked.
Also, a control signal for starting a timer operation with a predetermined timer time when the phase synchronization means is unlocked and turning off the amplification means with respect to the output control means when the timer time is reached May be provided with timer means for outputting.
In addition, when the synchronization state of the phase synchronization means is unlocked, the level adjustment process for lowering the signal level of the input signal input to the modulation means before the output control means turns off the amplification means You may provide the level adjustment means to perform.
The phase synchronization unit may output a warning state that may be unlocked as the synchronization state, and the modulation unit may perform noise reduction processing according to the warning state.
Further, the phase synchronization unit may output a warning state that may be unlocked as the synchronization state, and the level adjustment unit may perform a level adjustment process according to the warning state.
The phase synchronization means may have a synchronizable frequency band, and may output the reference clock in the frequency band even in an unlocked state.
The phase synchronization means may have a frequency band that can be synchronized and may output the reference clock having a frequency close to the frequency band in an unlocked state.
The method according to the present invention relates to a signal processing method. The signal processing method includes a modulation step of modulating an input signal based on a reference clock, an amplification step of amplifying and outputting the modulated input signal, and a phase synchronization process based on the source clock. A reference clock generation step for generating a clock, a synchronization state output step for outputting the synchronization state of the generated reference clock with the source clock, and an output for controlling the operation of the amplification step according to the synchronization state of the phase synchronization processing A control step.
Further, the output control step may turn off the output by the operation of the amplification step when the synchronization state output in the synchronization state output step is unlocked.
In the modulation step, when the synchronization state output in the synchronization state output step is unlocked, noise reduction processing may be performed before the operation of turning off the output due to the operation of the amplification step. Good.
In addition, when the synchronization state output in the synchronization state output step is unlocked, the timer operation starts with a predetermined timer time, and when the timer time is reached, the amplification step operation is turned off. There may be provided a timer operation step for outputting a signal to be used.
In addition, when the synchronization state output in the synchronization state output step is unlocked, the signal level of the input signal input to the modulation step before the operation of turning off the output due to the operation of the amplification step There may be provided a level adjustment process for performing a level adjustment process for lowering.
The synchronization state output step may output a warning state that may be unlocked as the synchronization state, and the modulation step may perform noise reduction processing according to the warning state.
The synchronization state output step may output a warning state that may be unlocked as the synchronization state, and the level adjustment step may perform a level adjustment process according to the warning state.
Further, the synchronization state output step may have a frequency band that can be synchronized, and may output the reference clock of the frequency band even in an unlocked state.
In the synchronization state output step, an upper limit and a lower limit may be provided for the frequency of the reference clock output in the unlock state.

本発明によれば、クロックの入力に異常が生じたときにD級アンプの回路保護を実現する技術を提供できる。また、別の観点では、クロックの入力に異常が生じたときにポップ音などの雑音が出力されてしまうことを防止する技術を提供できる。   ADVANTAGE OF THE INVENTION According to this invention, the technique which implement | achieves circuit protection of a class-D amplifier when abnormality in clock input arises can be provided. Further, from another viewpoint, it is possible to provide a technique for preventing a noise such as a pop sound from being output when an abnormality occurs in the clock input.

次に、本発明を実施するための最良の形態(以下、単に「実施形態」という)を、図面を参照して具体的に説明する。本実施形態では、D級アンプの保護回路としてPLL(Phase-locked loop)回路を設け、PLL回路においてアンロック状態が生じたときに、保護処理を実行することで、異音出力の防止及びD級アンプの回路故障を防止する。   Next, the best mode for carrying out the present invention (hereinafter simply referred to as “embodiment”) will be specifically described with reference to the drawings. In the present embodiment, a PLL (Phase-locked loop) circuit is provided as a protection circuit for the class D amplifier, and when an unlocked state occurs in the PLL circuit, the protection process is executed to prevent abnormal noise output and D Class circuit amplifier circuit failure is prevented.

<第1の実施形態>
本実施形態の概要を説明する。従来のD級アンプにあっては、クロックそのものに対してLPF(Low Pass Filter)をかけ、その出力レベルを見ることでクロックの停止が検出されていた。しかしながら、それでは、クロック周期が間延びした場合にクロックの不具合を検出できず、結果、パルス変調回路の発振や、それに伴う異音、最悪の場合、出力回路の故障につながる虞があった。そこで本実施形態では、ソースクロックの停止だけでなく、ソースクロック周期の間延びも検出すべく、PLL回路のアンロック信号をクロック不安定状態/停止状態の検出信号として利用している。以下、詳細に説明する。
<First Embodiment>
An outline of the present embodiment will be described. In a conventional class D amplifier, a clock stop is detected by applying an LPF (Low Pass Filter) to the clock itself and checking its output level. However, in this case, when the clock cycle is extended, it is not possible to detect a clock failure. As a result, there is a possibility that the pulse modulation circuit oscillates, accompanying noise, and in the worst case, the output circuit may fail. Therefore, in this embodiment, in order to detect not only the stop of the source clock but also the extension of the source clock period, the unlock signal of the PLL circuit is used as a detection signal of the clock unstable state / stop state. Details will be described below.

図1は、本実施形態に係る音声出力装置110の概略構成を示す機能ブロック図である。この音声出力装置110は、例えば、テレビ受像装置などに搭載される。音声出力装置110は、アナログ信号又はPCM(Pulse Code Modulation)信号のオーディオ信号S_Aを入力信号とするD級アンプ120と、スピーカSPと、PLL回路160を備えている。   FIG. 1 is a functional block diagram showing a schematic configuration of the audio output device 110 according to the present embodiment. The audio output device 110 is mounted on, for example, a television receiver. The audio output device 110 includes a class D amplifier 120 that receives an audio signal S_A of an analog signal or a PCM (Pulse Code Modulation) signal, a speaker SP, and a PLL circuit 160.

D級アンプ120は、PDM(Pulse Density Modulation)処理によるΔΣ変調処理を行うとともに、差動駆動によりスピーカSPを駆動する。D級アンプ120は、パルス変調回路130と、出力制御回路140と、増幅回路150(ハイサイド増幅回路150a、ローサイド増幅回路150b)とを備える。なお、変調方式としてPWM(Pulse Width Modulation)処理が用いられてもよい。   The class D amplifier 120 performs ΔΣ modulation processing by PDM (Pulse Density Modulation) processing and drives the speaker SP by differential driving. The class D amplifier 120 includes a pulse modulation circuit 130, an output control circuit 140, and an amplifier circuit 150 (a high-side amplifier circuit 150a and a low-side amplifier circuit 150b). Note that PWM (Pulse Width Modulation) processing may be used as the modulation method.

パルス変調回路130は、入力されたオーディオ信号S_Aに対してPDM変調による△Σ変調処理を施し、出力制御回路140に変調オーディオ信号S_Amとして出力する。なお、変調プロセス及び構成については一般的なPWM処理又はPDM処理の技術であり、ここでは説明を省略する。また、PDM処理のために、PLL回路160から基準クロックとして機能するオーディオクロックCLK_Aを取得する。   The pulse modulation circuit 130 performs ΔΣ modulation processing by PDM modulation on the input audio signal S_A, and outputs it to the output control circuit 140 as a modulated audio signal S_Am. Note that the modulation process and configuration are general PWM processing or PDM processing techniques, and description thereof is omitted here. In addition, the audio clock CLK_A that functions as a reference clock is acquired from the PLL circuit 160 for PDM processing.

図2は、PLL回路160の概略構成を示す機能ブロック図である。PLL回路160は、位相比較器161と、ループフィルタ162と、VCO163と、第1の分周器164と、第2の分周器165と、アンロック検出器166とを備えている。このPLL回路160は、一般的なPLL処理により所望の周波数の信号を出力する回路である。位相比較器161は、2信号間の位相差を比較して差信号を発生する。ここでは、外部から基準信号として入力されたソースクロックCLK_Sと第2の分周器165から帰還した信号とを比較する。   FIG. 2 is a functional block diagram showing a schematic configuration of the PLL circuit 160. The PLL circuit 160 includes a phase comparator 161, a loop filter 162, a VCO 163, a first frequency divider 164, a second frequency divider 165, and an unlock detector 166. The PLL circuit 160 is a circuit that outputs a signal having a desired frequency by general PLL processing. The phase comparator 161 compares the phase difference between the two signals and generates a difference signal. Here, the source clock CLK_S input as a reference signal from the outside is compared with the signal fed back from the second frequency divider 165.

ループフィルタ162は、上述の差信号の交流成分を除去し直流成分のみを出力する。VCO163は、ループフィルタ162の出力の大きさに応じた周波数の発振信号を第1及び第2の分周器164、165へ出力する。図3は、VCO163のV−F特性を示した図である。   The loop filter 162 removes the AC component of the above difference signal and outputs only the DC component. The VCO 163 outputs an oscillation signal having a frequency corresponding to the output level of the loop filter 162 to the first and second frequency dividers 164 and 165. FIG. 3 is a diagram showing the V-F characteristics of the VCO 163.

第1の分周器164は、VCO163から出力された発振信号を所定倍数に分周して出力する。同様に、第2の分周器165は、VCO163から出力された発振信号を所定倍数に分周して位相比較器161に帰還信号として出力する。そして、差信号がゼロとなるようにVCO163の出力がフィードバック制御される。   The first frequency divider 164 divides the oscillation signal output from the VCO 163 into a predetermined multiple and outputs it. Similarly, the second frequency divider 165 divides the oscillation signal output from the VCO 163 by a predetermined multiple and outputs it to the phase comparator 161 as a feedback signal. The output of the VCO 163 is feedback controlled so that the difference signal becomes zero.

また、アンロック検出器166は、当該PLL回路160が適切に同期できているか否か、つまりロック状態にあるか否かを判断する。アンロックの検出法については、公知の検出方法が適用でき、具体的には以下の1)〜3)の方法が例示できる。
1)位相比較器161の出力を取得して急峻なソースクロックCLK_Sの変化を検出する方法; この方法は、誤差信号が急に大きくなったときにアンロック状態になったと判断する方法である。ソースクロックCLK_Sの周波数がゆっくりと変化する場合、本当にロックレンジを外れるまでアンロック信号S_ULが出力されないという特徴がある。
2)ループフィルタ162の出力電圧を基準電圧と比較する方法; ソースクロックCLK_Sの変化速度に依存せず、比較的簡単にアンロック状態を検出することができるという特徴がある。
3)VCO163の出力周波数を基準クロックと比較する方法; この方法では、VCO163の出力(またはその分周信号)を別途用意された固定周波数のクリスタル発振回路などの周波数と比較する。この方法は、絶対信頼できる基準クロックを別途設ける必要があり、また、誤差信号の積分値を見るため応答性がよくないとう特徴があるが、ソースクロックCLK_Sの変化速度に依存せずアンロックを検出できるという利点がある。
上記のいずれかの方法またはそれら方法を適宜組み合わせて利用することで、所望のアンロック検出精度を実現できる。当然に上記以外の検出方法が用いられてもよい。そして、アンロック検出器166は、ロック状態及びアンロック状態を示すアンロック信号S_ULを出力する。本実施形態では、アンロック信号S_ULは、出力制御回路140へ出力される。また、ロック状態のとき、アンロック信号S_ULはロー出力となり、アンロック状態のときハイ出力となる。
The unlock detector 166 determines whether or not the PLL circuit 160 is properly synchronized, that is, whether or not it is in a locked state. As an unlocking detection method, a known detection method can be applied, and specifically, the following methods 1) to 3) can be exemplified.
1) A method of detecting an abrupt change in the source clock CLK_S by acquiring the output of the phase comparator 161; This method is a method of determining that an unlock state has been established when the error signal suddenly increases. When the frequency of the source clock CLK_S changes slowly, the unlock signal S_UL is not output until it really goes out of the lock range.
2) A method of comparing the output voltage of the loop filter 162 with a reference voltage; there is a feature that the unlocked state can be detected relatively easily without depending on the changing speed of the source clock CLK_S.
3) A method of comparing the output frequency of the VCO 163 with a reference clock; In this method, the output of the VCO 163 (or its frequency-divided signal) is compared with a frequency of a separately prepared fixed frequency crystal oscillation circuit or the like. This method requires the provision of a reference clock that is absolutely reliable, and has the feature that the response is not good because the integrated value of the error signal is seen. However, it detects the unlock regardless of the change rate of the source clock CLK_S. There is an advantage that you can.
By using any one of the above methods or a combination of these methods as appropriate, desired unlock detection accuracy can be realized. Of course, detection methods other than those described above may be used. Then, the unlock detector 166 outputs an unlock signal S_UL indicating the locked state and the unlocked state. In the present embodiment, the unlock signal S_UL is output to the output control circuit 140. Further, the unlock signal S_UL becomes a low output in the locked state, and becomes a high output in the unlocked state.

出力制御回路140は、ハイサイド制御回路140aと、ローサイド制御回路140bと、インバータ143とを備える。また、出力制御回路140は、パルス変調回路130から変調オーディオ信号S_Amを入力する音声信号入力部148と、PLL回路160からアンロック信号S_ULを入力する制御信号入力部149を備える。   The output control circuit 140 includes a high side control circuit 140a, a low side control circuit 140b, and an inverter 143. The output control circuit 140 also includes an audio signal input unit 148 that inputs the modulated audio signal S_Am from the pulse modulation circuit 130 and a control signal input unit 149 that inputs the unlock signal S_UL from the PLL circuit 160.

変調オーディオ信号S_Amは、ハイサイド制御回路140aに入力されるとともに、インバータ143を介してローサイド制御回路140bに反転入力される。また、アンロック信号S_ULは、ハイサイド制御回路140aとローサイド制御回路140bに入力される。   The modulated audio signal S_Am is input to the high side control circuit 140a and is inverted and input to the low side control circuit 140b via the inverter 143. The unlock signal S_UL is input to the high side control circuit 140a and the low side control circuit 140b.

ハイサイド制御回路140aは、NAND回路141aとNOR回路142aとを並列に配置して備えている。より具体的には、NAND回路141aの一方の入力端子には変調オーディオ信号S_Amが入力し他方の入力端子にはアンロック信号S_ULが反転入力する。また、NOR回路142aの一方の入力端子には変調オーディオ信号S_Amが入力し、他方の入力端子にはアンロック信号S_ULが入力する。そして、NAND回路141aとNOR回路142aの出力は、いずれも各ロジックに応じてハイサイド増幅回路150aへ出力される。   The high side control circuit 140a includes a NAND circuit 141a and a NOR circuit 142a arranged in parallel. More specifically, the modulated audio signal S_Am is input to one input terminal of the NAND circuit 141a, and the unlock signal S_UL is inverted and input to the other input terminal. Further, the modulated audio signal S_Am is input to one input terminal of the NOR circuit 142a, and the unlock signal S_UL is input to the other input terminal. The outputs of the NAND circuit 141a and the NOR circuit 142a are both output to the high side amplifier circuit 150a according to each logic.

ローサイド制御回路140bは、ハイサイド制御回路140aと同様の回路構成を有し、NAND回路141bとNOR回路142bとを並列に配置して備えている。より具体的には、NAND回路141bの一方の入力端子にはインバータ143で反転後の変調オーディオ信号S_Amが入力し他方の入力端子にはアンロック信号S_ULが反転入力する。また、NOR回路142bの一方の入力端子にはインバータ143で反転後の変調オーディオ信号S_Amが入力し、他方の入力端子にはアンロック信号S_ULが入力する。そして、NAND回路141bとNOR回路142bの出力は、いずれも各ロジックに応じてローサイド増幅回路150bへ出力される。   The low side control circuit 140b has a circuit configuration similar to that of the high side control circuit 140a, and includes a NAND circuit 141b and a NOR circuit 142b arranged in parallel. More specifically, the modulated audio signal S_Am inverted by the inverter 143 is input to one input terminal of the NAND circuit 141b, and the unlock signal S_UL is inverted and input to the other input terminal. Further, the modulated audio signal S_Am inverted by the inverter 143 is input to one input terminal of the NOR circuit 142b, and the unlock signal S_UL is input to the other input terminal. The outputs of the NAND circuit 141b and the NOR circuit 142b are both output to the low side amplifier circuit 150b according to each logic.

ハイサイド増幅回路150aは、PチャネルFET151aとNチャネルFET152aとを備えている。PチャネルFET151aとNチャネルFET152aはプラス電源電位(+VDD)からマイナス電源電位(−VDD)へ直列に接続されている。具体的には、PチャネルFET151aのソース端子がプラス電源電位(+VDD)に接続され、ドレイン端子が、NチャネルFET152aのドレイン端子に接続点T1で接続されている。また、ゲート端子は、NAND回路141aの出力部に接続されている。NチャネルFET152aのソース端子はマイナス電源電位(−VDD)に接続され、ゲート端子はNOR回路142aの出力部に接続されている。そして接続点T1は、インダクタンスL1とキャパシタC1で構成されるLPFを介してスピーカSPの一方の端子に接続される。なお、ここでは、マイナス電源電位(−VDD)は、グランド電位Gである。   The high side amplifier circuit 150a includes a P channel FET 151a and an N channel FET 152a. The P-channel FET 151a and the N-channel FET 152a are connected in series from the positive power supply potential (+ VDD) to the negative power supply potential (−VDD). Specifically, the source terminal of the P-channel FET 151a is connected to the positive power supply potential (+ VDD), and the drain terminal is connected to the drain terminal of the N-channel FET 152a at the connection point T1. The gate terminal is connected to the output part of the NAND circuit 141a. The source terminal of the N-channel FET 152a is connected to the negative power supply potential (−VDD), and the gate terminal is connected to the output part of the NOR circuit 142a. The connection point T1 is connected to one terminal of the speaker SP via an LPF configured by an inductance L1 and a capacitor C1. Note that the negative power supply potential (−VDD) is the ground potential G here.

ローサイド増幅回路150bは、ハイサイド増幅回路150aと同様の構成を有しており、PチャネルFET151bとNチャネルFET152bとを備えている。PチャネルFET151bとNチャネルFET152bはプラス電源電位(+VDD)からマイナス電源電位(−VDD)へ直列に接続されている。具体的には、PチャネルFET151bのソース端子がプラス電源電位(+VDD)に接続され、ドレイン端子がNチャネルFET152bのドレイン端子に接続点T2で接続されている。また、ゲート端子はNAND回路141bの出力部に接続されている。NチャネルFET152bのソース端子はマイナス電源電位(−VDD)に接続され、ゲート端子はNOR回路142bの出力部に接続されている。そして接続点T2は、インダクタンスL2とキャパシタC2で構成されるLPFを介してスピーカSPの他方の端子に接続される。なお、ここでは、マイナス電源電位(−VDD)は、グランド電位Gである。   The low side amplifier circuit 150b has the same configuration as the high side amplifier circuit 150a, and includes a P-channel FET 151b and an N-channel FET 152b. The P-channel FET 151b and the N-channel FET 152b are connected in series from the positive power supply potential (+ VDD) to the negative power supply potential (−VDD). Specifically, the source terminal of the P-channel FET 151b is connected to the positive power supply potential (+ VDD), and the drain terminal is connected to the drain terminal of the N-channel FET 152b at the connection point T2. The gate terminal is connected to the output part of the NAND circuit 141b. The source terminal of the N-channel FET 152b is connected to the negative power supply potential (−VDD), and the gate terminal is connected to the output part of the NOR circuit 142b. The connection point T2 is connected to the other terminal of the speaker SP through an LPF composed of an inductance L2 and a capacitor C2. Note that the negative power supply potential (−VDD) is the ground potential G here.

以上の構成による動作について、図4のタイミングチャートに基づいて説明する。ここでは、ソースクロックCLK_S、オーディオクロックCLK_A、アンロック信号S_UL、ハイサイド増幅回路150aの出力、ローサイド増幅回路150bの出力について示している。また、図4(a)は、ソースクロックCLK_Sが停止したケースを示しており、図4(b)はソースクロックCLK_Sの周波数が小さくなり間延びしたケースを示している。   The operation of the above configuration will be described based on the timing chart of FIG. Here, the source clock CLK_S, the audio clock CLK_A, the unlock signal S_UL, the output of the high side amplifier circuit 150a, and the output of the low side amplifier circuit 150b are shown. 4A shows a case in which the source clock CLK_S is stopped, and FIG. 4B shows a case in which the frequency of the source clock CLK_S is reduced and extended.

図4(a)及び(b)に示すように、時間T10〜T11の期間において、ソースクロックCLK_Sが正常に入力されている。そして、図4(a)では時間T11においてソースクロックCLK_Sの入力がなくなり、PLL回路160へ入力されるソースクロックCLK_Sはロー出力のままとなる。   As shown in FIGS. 4A and 4B, the source clock CLK_S is normally input during the period of time T10 to T11. In FIG. 4A, the source clock CLK_S is not input at time T11, and the source clock CLK_S input to the PLL circuit 160 remains at a low output.

すると、PLL回路160は、ロック可能とする周波数レンジ(ロックレンジ)を有するので、ソースクロックCLK_Sの入力停止後、ロックできなくなると(時間T12)、つまり、アンロック検出器166がアンロック状態を検出すると、アンロック信号S_ULをハイ出力する。   Then, since the PLL circuit 160 has a frequency range (lock range) that can be locked, after the input of the source clock CLK_S is stopped, the PLL circuit 160 cannot be locked (time T12), that is, the unlock detector 166 enters the unlocked state. When detected, the unlock signal S_UL is output high.

また、図4(b)に示すように、時間T11でソースクロックCLK_Sの周期が長くなったりして不安定になり、時間T12でロックレンジから外れ、そのタイミングでPLL回路160はアンロック信号S_ULをハイ出力する。   Further, as shown in FIG. 4B, the period of the source clock CLK_S becomes unstable at time T11 and becomes unstable, and the clock signal goes out of the lock range at time T12. At that timing, the PLL circuit 160 unlocks the unlock signal S_UL. Is output high.

これによって、図4(a)及び(b)のいずれも、時間T12以降、アンロック信号S_ULが入力される各NAND回路141a、141bの出力はハイになり、その結果、ハイサイド増幅回路150aのPチャネルFET151aとローサイド増幅回路150bのPチャネルFET151bはオフとなる。同様にアンロック信号S_ULが入力されるNOR回路142a、142bの出力がローとなる。その結果、ハイサイド増幅回路150aのNチャネルFET152aとローサイド増幅回路150bのNチャネルFET152bがオフとなる。これによって、ハイサイド増幅回路150aとローサイド増幅回路150bはともにハイインピーダンス(Hi−Z)になる。   Accordingly, in both of FIGS. 4A and 4B, after time T12, the outputs of the NAND circuits 141a and 141b to which the unlock signal S_UL is input become high, and as a result, the high-side amplifier circuit 150a The P channel FET 151a and the P channel FET 151b of the low side amplifier circuit 150b are turned off. Similarly, the outputs of the NOR circuits 142a and 142b to which the unlock signal S_UL is input become low. As a result, the N channel FET 152a of the high side amplifier circuit 150a and the N channel FET 152b of the low side amplifier circuit 150b are turned off. As a result, both the high-side amplifier circuit 150a and the low-side amplifier circuit 150b become high impedance (Hi-Z).

以上、本実施形態によると、例えば、ソースクロックCLK_Sが突然に不安定状態や停止状態になってPLL回路160のロックレンジから外れた場合に、PLL回路160がいわゆるフリーラン状態に陥るまでの間のわずかな時間であるが、オーディオクロックCLK_Aは比較的正常時に近い周波数に保たれることができる。つまりオーディオクロックCLK_Aは、D級アンプにとって最適の状態ではないものの停止することはないため、パルス変調回路130はしばらくの間、比較的正常時に近い状態で継続して動作する。つまり、パルス変調回路130は発振状態に陥りにくい。また、PLL回路160が完全にフリーラン状態に陥り、クロック周期が間延びした状態になっても、パルス変調回路130は動いているため、発振状態にさえ陥っていなければ、負荷に対してDC電圧をかける状態にはならない。PLL回路160がアンロック状態になると、PLL回路160からはアンロック状態を示すアンロック信号S_ULがハイ出力される。この信号に基づいて、パルス変調回路130が発振などの異常状態に陥る前に、出力制御回路140が増幅回路150をオフすることで、D級アンプ120は破壊されることなくオフ状態となる。   As described above, according to the present embodiment, for example, when the source clock CLK_S suddenly becomes unstable or stopped and goes out of the lock range of the PLL circuit 160, the PLL circuit 160 falls into a so-called free-run state. However, the audio clock CLK_A can be kept at a frequency that is relatively close to the normal time. That is, although the audio clock CLK_A is not optimal for the class D amplifier, it does not stop, so the pulse modulation circuit 130 continues to operate in a state relatively close to normal for a while. That is, the pulse modulation circuit 130 is unlikely to fall into an oscillation state. Even if the PLL circuit 160 is completely in a free-run state and the clock cycle is extended, the pulse modulation circuit 130 is operating. It will not be in a state to apply. When the PLL circuit 160 is unlocked, the PLL circuit 160 outputs an unlock signal S_UL indicating the unlocked state. Based on this signal, the output control circuit 140 turns off the amplifier circuit 150 before the pulse modulation circuit 130 falls into an abnormal state such as oscillation, so that the class D amplifier 120 is turned off without being destroyed.

<第2の実施形態>
本実施形態では、PLL回路をクロックの不安定状態/停止状態を検出回路として使用するとともに、クロックの不安定状態/停止状態になった後、つまり、アンロック状態になった後、正常な周波数に近い周波数でオーディオクロックが動作する期間を利用してパルス変調回路において、パルス制御によるポップノイズ発生防止処理がなされる。以下、詳細に説明する。
<Second Embodiment>
In the present embodiment, the PLL circuit uses the unstable / stopped state of the clock as the detection circuit, and after entering the unstable / stopped state of the clock, that is, after entering the unlocked state, the normal frequency In the pulse modulation circuit, a pop noise generation prevention process by pulse control is performed using a period in which the audio clock operates at a frequency close to. Details will be described below.

図5は、本実施形態に係る音声出力装置210の概略構成を示す機能ブロック図である。本実施形態の音声出力装置210は第1の実施形態の音声出力装置110と類似の構成であるので、同一構成については同一符号を付して説明を適宜省略し、異なる構成及び動作について説明する。   FIG. 5 is a functional block diagram showing a schematic configuration of the audio output device 210 according to the present embodiment. Since the audio output device 210 of the present embodiment has a configuration similar to that of the audio output device 110 of the first embodiment, the same components are denoted by the same reference numerals, description thereof will be omitted as appropriate, and different configurations and operations will be described. .

第1の実施形態と異なる部分は、PLL回路260のアンロック信号S_ULの出力先が、D級アンプ220において、出力制御回路140ではなく、パルス変調回路230としている構成にある。PLL回路260の構成は第1の実施形態のPLL回路160と同一である。そして、出力制御回路140の制御信号入力部149には、アンロック信号S_ULの代わりに、パルス変調回路230から出力されるパルス制御処理完了信号PF1が入力される。   The difference from the first embodiment is that the output destination of the unlock signal S_UL of the PLL circuit 260 is not the output control circuit 140 but the pulse modulation circuit 230 in the class D amplifier 220. The configuration of the PLL circuit 260 is the same as that of the PLL circuit 160 of the first embodiment. The control signal input unit 149 of the output control circuit 140 receives the pulse control processing completion signal PF1 output from the pulse modulation circuit 230 instead of the unlock signal S_UL.

具体的な動作について、図6のタイミングチャートをもとに説明する。本実施の形態では、ソースクロックCLK_Sが停止したケースについて説明するが、当然に、第1の実施形態と同様にソースクロックCLK_Sが不安定になったときでも適用できる。   A specific operation will be described based on the timing chart of FIG. In this embodiment, the case where the source clock CLK_S is stopped will be described. However, as a matter of course, the present invention can also be applied when the source clock CLK_S becomes unstable as in the first embodiment.

時間T20〜T21の間は、ソースクロックCLK_Sは正常にPLL回路260に入力されている。そして、時間T21において、PLL回路260にソースクロックCLK_Sの入力がなくなる。すると、PLL回路260はロック状態を維持する制御ができなくなり、時間T22でアンロック検出器166がアンロック信号S_ULをハイ出力する。すると、パルス変調回路230は、時間T22〜T23の所定期間において、ポップノイズ発生防止処理を施す。ポップノイズ発生防止処理とは、例えば、パルス変調回路230がPDM処理を行う回路であれば、パルスの幅を小さくしたり、パルス周期を徐々に拡げる処理を行ったりする。   During the time T20 to T21, the source clock CLK_S is normally input to the PLL circuit 260. At time T21, the source clock CLK_S is not input to the PLL circuit 260. Then, the PLL circuit 260 cannot control to maintain the locked state, and the unlock detector 166 outputs the unlock signal S_UL high at time T22. Then, the pulse modulation circuit 230 performs a pop noise generation prevention process in a predetermined period of time T22 to T23. For example, if the pulse modulation circuit 230 is a circuit that performs PDM processing, the pop noise generation prevention processing is performed by reducing the pulse width or gradually increasing the pulse period.

図7は、ポップノイズ発生防止処理を有するパルス変調回路230の機能ブロック図であり、図8は、ポップノイズ発生防止処理のタイミングチャートである。ここで、△Σ変調処理について簡単に説明し、つづいてポップノイズ発生防止処理を説明する。パルス変調回路230は、入力信号#10(オーディオ信号S_A)を△Σ変調する。そして、後段に配された増幅回路150が、△Σ変調信号を増幅して、スピーカSPなどの負荷を差動駆動する。入力信号#10は、アナログ信号であってもよいし、PCM信号などのデジタル信号であってもよい。なお、ここでは出力制御回路140の図示を省略している。   FIG. 7 is a functional block diagram of the pulse modulation circuit 230 having a pop noise occurrence prevention process, and FIG. 8 is a timing chart of the pop noise occurrence prevention process. Here, the ΔΣ modulation process will be briefly described, followed by the pop noise generation prevention process. The pulse modulation circuit 230 performs ΔΣ modulation on the input signal # 10 (audio signal S_A). Then, the amplifier circuit 150 disposed in the subsequent stage amplifies the ΔΣ modulation signal and differentially drives a load such as the speaker SP. The input signal # 10 may be an analog signal or a digital signal such as a PCM signal. Here, illustration of the output control circuit 140 is omitted.

パルス変調回路230は、積分回路1110、量子化回路1120、パルス幅調整回路1130、セレクタ1140、遅延回路1150、消音制御回路1200、パルス密度測定回路1300、及び遷移パルス生成回路1400とを備えている。   The pulse modulation circuit 230 includes an integration circuit 1110, a quantization circuit 1120, a pulse width adjustment circuit 1130, a selector 1140, a delay circuit 1150, a mute control circuit 1200, a pulse density measurement circuit 1300, and a transition pulse generation circuit 1400. .

積分回路1110には、入力信号#10の値から遅延スイッチング信号#60の値を減算した差分値が入力される。積分回路1110は、この差分値からなる差分値信号#20を積分する。積分信号#30、すなわち、積分回路1110より出力される積分値は、量子化回路1120に供給される。   The integration circuit 1110 receives a difference value obtained by subtracting the value of the delayed switching signal # 60 from the value of the input signal # 10. The integrating circuit 1110 integrates the difference value signal # 20 consisting of this difference value. The integration signal # 30, that is, the integration value output from the integration circuit 1110 is supplied to the quantization circuit 1120.

量子化回路1120は、積分信号#30の値を閾値Thと比較することによって、増幅回路150を駆動するための正負のスイッチング信号#41及び#42を生成する。正負のスイッチング信号#41及び#42は、増幅回路150のスイッチング素子を制御するためのデジタル信号であり、正のスイッチング信号#41のパルス密度(スイッチング信号#41の値が「1」になる、単位時間あたりの回数)と負のスイッチング信号#42のパルス密度との差が、入力信号#10の値に略比例するパルス密度変調信号である。   The quantization circuit 1120 generates positive and negative switching signals # 41 and # 42 for driving the amplifier circuit 150 by comparing the value of the integration signal # 30 with the threshold Th. The positive and negative switching signals # 41 and # 42 are digital signals for controlling the switching elements of the amplifier circuit 150, and the pulse density of the positive switching signal # 41 (the value of the switching signal # 41 is “1”. The difference between the number of times per unit time) and the pulse density of the negative switching signal # 42 is a pulse density modulation signal that is approximately proportional to the value of the input signal # 10.

より具体的には、正のスイッチング信号#41は、積分信号#30の値が閾値Th>0より大きいとき論理値「1」を、そうでないとき論理値「0」を取るデジタル信号であり、負のスイッチング信号#42は、積分信号#30の値が負の閾値−Thより小さいとき「1」を、そうでないとき論理値「0」を取るデジタル信号である。量子化回路1120は、閾値Thを変更可能に構成されており、この閾値Thは、消音制御回路1200によって決定される。   More specifically, the positive switching signal # 41 is a digital signal that takes a logical value “1” when the value of the integral signal # 30 is greater than the threshold Th> 0, and takes a logical value “0” otherwise. The negative switching signal # 42 is a digital signal that takes “1” when the value of the integral signal # 30 is smaller than the negative threshold −Th, and takes a logical value “0” otherwise. The quantization circuit 1120 is configured to be able to change the threshold value Th, and this threshold value Th is determined by the mute control circuit 1200.

量子化回路1120は、積分回路1110により積分値を量子化するものであり、動作クロック毎に「1」又は「0」のいずれか一方の値を出力する。すなわち、量子化回路1120により生成されるスイッチング信号#41及び#42は、動作クロックに相当するパルス幅をもつ単位パルスにより構成される。量子化回路1120が2回連続して「1」を出力すれば、2動作クロック幅のスイッチングバルス(2つの単位パルスからなるパルス)が得られ、量子化回路1120が3回連続して「1」を出力すれば、3動作クロック幅のスイッチングパルス(3つの単位パルスからなるパルス)が得られることになる。   The quantization circuit 1120 quantizes the integration value by the integration circuit 1110, and outputs either “1” or “0” for each operation clock. That is, the switching signals # 41 and # 42 generated by the quantization circuit 1120 are configured by unit pulses having a pulse width corresponding to the operation clock. If the quantization circuit 1120 outputs “1” twice in succession, a switching pulse having two operation clock widths (pulses composed of two unit pulses) is obtained, and the quantization circuit 1120 continues to output “1” three times in succession. ", A switching pulse having a width of three operation clocks (a pulse composed of three unit pulses) is obtained.

なお、増幅回路150を駆動するためのスイッチング信号としては、2値のデジタル信号、3値のデジタル信号、あるいは、それらの組み合わせなど、上記のものに限らず、増幅回路150の構成に応じた各種デジタル信号を利用し得る。例えば、増幅回路150が片ブリッジ型増幅回路である場合には、積分信号#30の値が閾値Th>0より大きいとき値「1」を、そうでないとき値「0」を取るスイッチング信号を用いてもよい。   Note that the switching signal for driving the amplifier circuit 150 is not limited to the above, such as a binary digital signal, a ternary digital signal, or a combination thereof. Digital signals can be used. For example, when the amplifier circuit 150 is a single-bridge amplifier circuit, a switching signal that takes a value “1” when the value of the integral signal # 30 is larger than the threshold Th> 0 and a value “0” otherwise is used. May be.

パルス幅調整回路1130は、正負それぞれのスイッチング信号#41及び#42を構成するスイッチングパルスのパルス幅が下限パルス幅Wを下回らないよう、正負それぞれのスイッチングパルスのパルス幅を拡幅する。言い換えれば、スイッチング信号#41の値が連続して「1」となる時間が下限値Wを下回らないように、スイッチング信号#41の値を補正する(負のスイッチングパルス#42についても同様)。パルス幅調整回路1130は、後述するように、下限パルス幅Wを変更可能に構成されており、この下限パルス幅Wは、消音制御回路1200によって決定される。   The pulse width adjustment circuit 1130 widens the pulse widths of the positive and negative switching pulses so that the pulse widths of the switching pulses constituting the positive and negative switching signals # 41 and # 42 do not fall below the lower limit pulse width W. In other words, the value of the switching signal # 41 is corrected so that the time during which the value of the switching signal # 41 is continuously “1” does not fall below the lower limit value W (the same applies to the negative switching pulse # 42). As will be described later, the pulse width adjustment circuit 1130 is configured to be able to change the lower limit pulse width W, and the lower limit pulse width W is determined by the muffling control circuit 1200.

パルス幅調整回路1130にて得られた正負のスイッチング信号#51及び#52は、セレクタ1140を介して、増幅回路150と遅延回路1150とに供給される。遅延回路1150は、正のスイッチング信号#51と負のスイッチング信号#52との差分値を、N動作クロック遅延する。正のスイッチング信号#51と負のスイッチング信号#52との差分値を遅延して得られた遅延スイッチング信号#60は、上述した積分回路1100に帰還される。   The positive and negative switching signals # 51 and # 52 obtained by the pulse width adjustment circuit 1130 are supplied to the amplifier circuit 150 and the delay circuit 1150 via the selector 1140. The delay circuit 1150 delays the difference value between the positive switching signal # 51 and the negative switching signal # 52 by N operation clocks. Delayed switching signal # 60 obtained by delaying the difference value between positive switching signal # 51 and negative switching signal # 52 is fed back to integration circuit 1100 described above.

正のスイッチング信号#51により増幅回路150(ハイサイド増幅回路150a)を駆動して得られる出力信号#71は、LPF1170によって平滑化され、平滑化された出力信号#81が負荷(スピーカSP)のプラス側端子に入力される。一方、負のスイッチング信号#52により増幅回路150(ローサイド増幅回路150b)を駆動して得られる出力信号#72は、LPF1170によって平滑化され、平滑化された出力信号#82が負荷(スピーカSP)のマイナス端子に入力される。   The output signal # 71 obtained by driving the amplifier circuit 150 (high-side amplifier circuit 150a) with the positive switching signal # 51 is smoothed by the LPF 1170, and the smoothed output signal # 81 is the load (speaker SP). Input to the positive terminal. On the other hand, the output signal # 72 obtained by driving the amplifier circuit 150 (low-side amplifier circuit 150b) with the negative switching signal # 52 is smoothed by the LPF 1170, and the smoothed output signal # 82 is the load (speaker SP). Is input to the negative terminal.

以上のように、パルス変調回路230は、増幅回路150を駆動するスイッチングパルスのパルス幅を拡幅するパルス幅調整回路1130を備えているので、例えば、パルス幅調整回路1130の下限パルス幅を動作クロックの数倍に設定することにより、増幅回路150のスイッチング頻度を数分の1に低下させることができる。これにより、増幅回路150における発熱や不要輻射を抑えることができる。   As described above, since the pulse modulation circuit 230 includes the pulse width adjustment circuit 1130 that widens the pulse width of the switching pulse that drives the amplification circuit 150, for example, the lower limit pulse width of the pulse width adjustment circuit 1130 is set as the operation clock. By setting it to several times, the switching frequency of the amplifier circuit 150 can be reduced to a fraction. Thereby, heat generation and unnecessary radiation in the amplifier circuit 150 can be suppressed.

しかしながら、スイッチングパルスのパルス幅の下限が制限されたことによって、△Σ変調処理における量子化誤差は大きくなり、△Σ変調処理を停止する際に発生する量子化誤差に伴うポップ音も大きくなる。   However, since the lower limit of the pulse width of the switching pulse is limited, the quantization error in the ΔΣ modulation process increases, and the pop sound accompanying the quantization error generated when the ΔΣ modulation process is stopped also increases.

そこで、パルス変調回路230は、ΔΣ変調処理を停止する際に発生する量子化誤差に伴うポップ音を低減するための構成として、消音制御回路1200、パルス密度測定回路1300、及び、遷移パルス生成回路1400を備えている。   Therefore, the pulse modulation circuit 230 has a mute control circuit 1200, a pulse density measurement circuit 1300, and a transition pulse generation circuit as a configuration for reducing the pop sound accompanying the quantization error generated when the ΔΣ modulation process is stopped. 1400.

消音制御回路1200は、ΔΣ変調処理を停止する前に、パルス幅調整回路1130に下限パルス幅指示信号を供給し、下限パルス幅Wを逐次低下させる。これにより、△Σ変調における量子化誤差を低下させることができるので、ΔΣ変調処理を停止したときに発生するポップ音を小さくすることができる。   The silencer control circuit 1200 supplies the lower limit pulse width instruction signal to the pulse width adjustment circuit 1130 and stops the lower limit pulse width W sequentially before stopping the ΔΣ modulation process. As a result, the quantization error in the ΔΣ modulation can be reduced, and the pop sound generated when the ΔΣ modulation process is stopped can be reduced.

消音制御回路1200は、ΔΣ変調処理を停止する前に、量子化回路1120に閾値指示信号を供給し、閾値Thを逐次低下させる。これにより、ΔΣ変調処理における量子化誤差をさらに低下させることができるので、ΔΣ変調処理を停止したときに発生するポップ音がさらに小さくすることができる。   The silencer control circuit 1200 supplies a threshold value instruction signal to the quantization circuit 1120 and stops the threshold value Th sequentially before stopping the ΔΣ modulation process. As a result, the quantization error in the ΔΣ modulation process can be further reduced, so that the pop sound generated when the ΔΣ modulation process is stopped can be further reduced.

さらに、スイッチングパルスの下限パルス幅Wを1動作クロック相当まで低下させた後、パルス密度測定回路1300は、スイッチング信号#51のパルス密度を測定する。遷移パルス生成回路1400は、パルス密度測定回路1300により測定されたパルス密度を読み出し、読み出したスイッチング信号#51のパルス密度を初期パルス密度とする遷移信号#91及び#92を生成する。   Further, after lowering the lower limit pulse width W of the switching pulse to one operating clock, the pulse density measuring circuit 1300 measures the pulse density of the switching signal # 51. The transition pulse generation circuit 1400 reads the pulse density measured by the pulse density measurement circuit 1300, and generates transition signals # 91 and # 92 with the pulse density of the read switching signal # 51 as the initial pulse density.

遷移パルス生成回路1400は、遷移信号#91及び#92を構成する遷移パルスとして、1動作クロック相当のパルス幅を有する単位パルスを、そのパルス密度が逐次低下するようにタイミングを見計らって生成するように構成されている。これにより、スイッチングパルスのパルス幅を低下させることによって、負荷に対する印加電圧の直流成分を小さくしたのち,さらに、遷移パルスのパルス密度を低下させることによって、この直流成分をさらに小さくずることができる。これにより、遷移パルスの生成を停止した際に発生し得るポップ音を十分小さくすることができる。   The transition pulse generation circuit 1400 generates unit pulses having a pulse width corresponding to one operation clock as the transition pulses constituting the transition signals # 91 and # 92 at an appropriate timing so that the pulse density sequentially decreases. It is configured. As a result, the DC component of the applied voltage to the load is reduced by reducing the pulse width of the switching pulse, and then the DC component can be further reduced by reducing the pulse density of the transition pulse. Thereby, the pop sound that can be generated when the generation of the transition pulse is stopped can be sufficiently reduced.

(パルス変調回路の消音動作)
次に、消音制御回路1200の制御により実行される消音動作について、図8及び図9を参照してより詳細に説明する。
(Silence operation of pulse modulation circuit)
Next, the silencing operation executed under the control of the silencing control circuit 1200 will be described in more detail with reference to FIGS.

図8は、パルス変調回路230の消音動作を例示するタイミングチャートである。消音制御回路1200は、消音指令が与えられた時点(時間T0)、すなわち、消音指令信号の値が「0」から「1」に立ち上がった時点からの経過時間Tをカウントする。消音制御回路1200の制御により実行される消音動作の各工程は、以下に説明するように、経過時間Tが予め設定された時間T1、T2、T3、及びT4に達したごとを契機として実行される。   FIG. 8 is a timing chart illustrating the silencing operation of the pulse modulation circuit 230. The mute control circuit 1200 counts the elapsed time T from the time when the mute command is given (time T0), that is, the value of the mute command signal rises from “0” to “1”. Each process of the silencing operation executed by the control of the silencing control circuit 1200 is executed when the elapsed time T reaches preset times T1, T2, T3, and T4, as will be described below. The

経過時間が「時間T1」に達すると、消音制御回路1200は、標準閾値Thより小さい閾値を示す閾値指示信号を、量子化回路1120に供給する。量子化回路1120は、この閾値指示信号の値に基づいて、閾値を標準閾値Thの3/4に低下させる。また同時に、消音制御回路1200は、標準下限パルス幅より小さいパルス幅を示す下限パルス幅指示信号を、パルス幅調整回路1130に供給する。パルス幅調整回路1130は、この下限パルス幅指示信号に基づいて、元々4動作クロック相当であった下限パルス幅を3動作クロック相当に低下させる。   When the elapsed time reaches “time T1”, the mute control circuit 1200 supplies the quantization circuit 1120 with a threshold value instruction signal indicating a threshold value smaller than the standard threshold value Th. The quantization circuit 1120 reduces the threshold to 3/4 of the standard threshold Th based on the value of the threshold instruction signal. At the same time, the mute control circuit 1200 supplies the pulse width adjustment circuit 1130 with a lower limit pulse width instruction signal indicating a pulse width smaller than the standard lower limit pulse width. Based on this lower limit pulse width instruction signal, the pulse width adjustment circuit 1130 lowers the lower limit pulse width, which was originally equivalent to 4 operation clocks, to 3 operation clocks.

経過時間が「時間T2」に達すると、消音制御回路1200は、さらに小さい閾値を示す閾値指示信号を、量子化回路1120に供給する。量子化回路1120は、この閾値指示信号の値に基づいて、閾値を標準閥値Thの2/4に低下させる。また同時に、消音制御回路1200は、さらに小さい下限パルス幅を示す下限パルス幅指示信号を、パルス幅調整回路1130に供給する。パルス幅調整回路1130は、この下限パルス幅指示信号に基づいて、下限パルス幅を2動作クロック相当に低下させる。   When the elapsed time reaches “time T2”, the mute control circuit 1200 supplies the quantization circuit 1120 with a threshold value instruction signal indicating a smaller threshold value. The quantization circuit 1120 reduces the threshold value to 2/4 of the standard threshold value Th based on the value of the threshold value instruction signal. At the same time, the mute control circuit 1200 supplies the pulse width adjustment circuit 1130 with a lower limit pulse width instruction signal indicating a smaller lower limit pulse width. The pulse width adjustment circuit 1130 reduces the lower limit pulse width to the equivalent of two operation clocks based on the lower limit pulse width instruction signal.

経過時間が「時間T3」に達すると、消音制御回路1200は、さらに小さい閾値を示す閾値指示信号を、量子化回路1120に供給する。量子化回路1120は、この閾値指示信号の値に基づいて、閾値を標準値Thの1/4に低下させる。また同時に、消音制御回路1200は、さらに小さい下限パルス幅を示すパルス幅制御信号を、パルス幅調整回路1130に供給する。パルス幅調整回路1130は、この下限パルス幅指示信号に基づいて、下限パルス幅を1動作クロック相当に低下させる。   When the elapsed time reaches “time T3”, the mute control circuit 1200 supplies a threshold value instruction signal indicating a smaller threshold value to the quantization circuit 1120. The quantization circuit 1120 reduces the threshold to ¼ of the standard value Th based on the value of the threshold instruction signal. At the same time, the mute control circuit 1200 supplies a pulse width control signal indicating a smaller lower limit pulse width to the pulse width adjustment circuit 1130. The pulse width adjustment circuit 1130 reduces the lower limit pulse width to the equivalent of one operation clock based on the lower limit pulse width instruction signal.

また、消音制御回路1200は、経過時間が「時間T3」に達した時点で、パルス密度測定回路1300に供給するパルス密度測定指令信号の値を「0」から「1」に立ち上げる。パルス密度測定回路1300は、パルス密度測定指令信号の値が「1」に立ち上がった時点で、スイッチング信号#51を構成するパルス数(スイッチング信号#51の値が「1」になる回数)のカウントを開始する。   Further, the silencing control circuit 1200 raises the value of the pulse density measurement command signal supplied to the pulse density measurement circuit 1300 from “0” to “1” when the elapsed time reaches “time T3”. The pulse density measurement circuit 1300 counts the number of pulses constituting the switching signal # 51 (the number of times the value of the switching signal # 51 becomes “1”) when the value of the pulse density measurement command signal rises to “1”. To start.

経過時間が「時間T4」に達すると、消音制御回路1200は、パルス密度測定回路1300に供給するパルス密度測定指令信号の値を「1」から「0」に立ち下げる.パルス密度測定回路1300は、パルス密度測定指令信号の値が「0」に立ち下がった時点で、パルス数のカウントを停止する。パルス密度測定回路1300によりカウントされたパルス数は、時間Tc=T4−T3(定数)当たりのパルス数すなわち、時間Tcを単位時間とする平均パルス密度である。   When the elapsed time reaches “time T4”, the mute control circuit 1200 lowers the value of the pulse density measurement command signal supplied to the pulse density measurement circuit 1300 from “1” to “0”. When the value of the pulse density measurement command signal falls to “0”, the pulse count is stopped. The number of pulses counted by the pulse density measuring circuit 1300 is the number of pulses per time Tc = T4−T3 (constant), that is, the average pulse density with the time Tc as a unit time.

また、消音制御回路1200は、経過時間が74に達した時点で、遷移パルス生成回路1400に供給ずる遷移パルス生成指令信号の値を「0」から「1」に立ち上げる遷移パルス生成回路1400は、遷移パルス生成指令信号の値が「1」に立ち上がった時点で、パルス密度測定回路1300により測定された平均パルス密度を初期パルス密度とする遷移信号#91及び#92の生成を開始する。   Further, when the elapsed time reaches 74, the silencing control circuit 1200 causes the transition pulse generation circuit 1400 to raise the value of the transition pulse generation command signal supplied to the transition pulse generation circuit 1400 from “0” to “1”. When the value of the transition pulse generation command signal rises to “1”, generation of transition signals # 91 and # 92 with the average pulse density measured by the pulse density measurement circuit 1300 as the initial pulse density is started.

また、消音制御回路1200は、経過時間がT4に達した時点で、セレクタ1140に供給する出力パルス切替指令信号の値を「1」から「2」に変化させる。出力パルス切替指令信号の値が「2」になると、セレクタ1140は、増幅回路150に供給する信号を、スイッチング信号#51、#52から遷移信号#91及び#92に切り替える。   Further, the mute control circuit 1200 changes the value of the output pulse switching command signal supplied to the selector 1140 from “1” to “2” when the elapsed time reaches T4. When the value of the output pulse switching command signal becomes “2”, the selector 1140 switches the signal supplied to the amplifier circuit 150 from the switching signals # 51 and # 52 to the transition signals # 91 and # 92.

その後、消音制御回路1200は、遷移信号#91及び#92のパルス密度が所定の値Dth以下になった時点で、出力パルス切替指令信号の値を「2」から「0」に変化させる。出力パルス切替指令信号の値が「0」に変化すると、セレクタ1140は、増幅回路150に供給する信号を、値が恒等的に「0」であるダミー信号に切り替える。これにより、増幅回路150にはパルスが一切入力されない状態となる。   Thereafter, the silencing control circuit 1200 changes the value of the output pulse switching command signal from “2” to “0” when the pulse density of the transition signals # 91 and # 92 becomes equal to or less than the predetermined value Dth. When the value of the output pulse switching command signal changes to “0”, the selector 1140 switches the signal supplied to the amplifier circuit 150 to a dummy signal whose value is “0”. As a result, no pulse is input to the amplifier circuit 150.

図9は、図8に示した消音動作の結果として得られる信号波形を例示する図である。同図において、パルスとして表現されている信号は、増幅回路150に入力される信号、すなわち、経過時間T4以前はスイッチング信号#51(実線)及び#52(点線)、経過時間T4以後は遷移信号#91(実線)及び#92(点線)を示す。また、曲線として表現されている信号は、平滑化された出力信号#81を示す。このようにして、パルス変調回路230におけるポップノイズ発生防止処理がなされる。なお、ここで説明したポップノイズ発生防止処理は例示でありこれに限る趣旨ではない。例えば、パルス幅を調整する処理(時間T0〜T4の処理)だけであってもよい。   FIG. 9 is a diagram illustrating a signal waveform obtained as a result of the silencing operation shown in FIG. In the figure, a signal expressed as a pulse is a signal input to the amplifier circuit 150, that is, switching signals # 51 (solid line) and # 52 (dotted line) before the elapsed time T4, and a transition signal after the elapsed time T4. # 91 (solid line) and # 92 (dotted line) are shown. A signal expressed as a curve represents a smoothed output signal # 81. In this way, pop noise generation prevention processing in the pulse modulation circuit 230 is performed. Note that the pop noise generation prevention process described here is an example, and the present invention is not limited to this. For example, only the processing for adjusting the pulse width (processing at times T0 to T4) may be used.

そして、ポップノイズ発生防止処理が終了すると(図6の時間T23)、パルス変調回路230は、パルス制御処理完了信号PF1を出力制御回路140(制御信号入力部149)へハイ出力する。これによって、第1の実施形態と同様に、ハイサイド増幅回路150aとローサイド増幅回路150bがハイインピーダンス(Hi−Z)になる。   When the pop noise generation prevention process ends (time T23 in FIG. 6), the pulse modulation circuit 230 outputs the pulse control process completion signal PF1 to the output control circuit 140 (control signal input unit 149). As a result, as in the first embodiment, the high-side amplifier circuit 150a and the low-side amplifier circuit 150b become high impedance (Hi-Z).

以上、本実施形態によると、ソースクロックCLK_Sが不安定状態もしくは停止状態となっても、オーディオクロックCLK_Aが即座に停止することは無い。さらに、ソースクロックCLK_Sが不安定状態もしくは停止状態となってから、ごく短時間ではあるが、しばらくの間は、正常な周波数に近い周波数でオーディオクロックCLK_Aが動作する。このオーディオクロックCLK_Aが動いている時間を利用して、パルス変調回路230において、パルス制御によるポップノイズ発生防止処理を施すことができる。そして、その処理が終了したことを示すパルス制御処理完了信号PF1をもとに出力制御回路140が増幅回路150(ハイサイド増幅回路150a、ローサイド増幅回路150b)をオフすることで、ユーザーにとって不快なポップ音が発生してしまうこと無く、ソースクロックCLK_Sの不安定状態/停止状態に起因する増幅回路150の破壊を回避することができる。   As described above, according to the present embodiment, even when the source clock CLK_S becomes unstable or stopped, the audio clock CLK_A does not stop immediately. Further, the audio clock CLK_A operates at a frequency close to the normal frequency for a while after the source clock CLK_S becomes unstable or stopped for a very short time. Using the time during which the audio clock CLK_A is moving, the pulse modulation circuit 230 can perform pop noise generation prevention processing by pulse control. Then, the output control circuit 140 turns off the amplifier circuit 150 (the high-side amplifier circuit 150a and the low-side amplifier circuit 150b) based on the pulse control processing completion signal PF1 indicating that the processing is completed, which is uncomfortable for the user. It is possible to avoid the destruction of the amplifier circuit 150 due to the unstable state / stopped state of the source clock CLK_S without generating a pop sound.

<第3の実施形態>
本実施形態では、PLL回路をクロックの不安定状態/停止状態を検出回路として使用するとともに、クロックの不安定状態/停止状態になった後、つまり、アンロック状態になった後、正常な周波数に近い周波数でオーディオクロックが動作する期間を利用して、パルス変調回路より前段に配置されている信号処理回路において、PCM信号の制御によるポップノイズ発生防止処理を図る。以下、詳細に説明する。
<Third Embodiment>
In the present embodiment, the PLL circuit uses the unstable / stopped state of the clock as the detection circuit, and after entering the unstable / stopped state of the clock, that is, after entering the unlocked state, the normal frequency In a signal processing circuit arranged upstream of the pulse modulation circuit, a pop noise generation prevention process is controlled by controlling the PCM signal using a period in which the audio clock operates at a frequency close to. Details will be described below.

図10は、本実施形態に係る音声出力装置310の概略構成を示す機能ブロック図である。本実施形態の音声出力装置310は第1の実施形態の音声出力装置110と類似の構成であるので、同一構成については同一符号を付して説明を適宜省略し、異なる構成及び動作について説明する。   FIG. 10 is a functional block diagram showing a schematic configuration of the audio output device 310 according to the present embodiment. Since the audio output device 310 of the present embodiment has a configuration similar to that of the audio output device 110 of the first embodiment, the same components are denoted by the same reference numerals, description thereof will be omitted as appropriate, and different configurations and operations will be described. .

第1の実施形態と異なる部分は、PLL回路360からの出力が、D級アンプ320だけでなく、その前段でPCM信号処理を行うDSP(Digital Signal Processor)である信号処理回路370に対してもなされる。具体的には、アンロック信号S_ULは、PCM信号処理をする信号処理回路370へ出力される。信号処理回路370でPCM信号処理されたオーディオ信号S_Aは、DAC371を介してパルス変調回路330へ出力される。   The difference from the first embodiment is that the output from the PLL circuit 360 is not only for the class D amplifier 320 but also for the signal processing circuit 370 which is a DSP (Digital Signal Processor) that performs PCM signal processing in the preceding stage. Made. Specifically, the unlock signal S_UL is output to the signal processing circuit 370 that performs PCM signal processing. The audio signal S_A subjected to PCM signal processing by the signal processing circuit 370 is output to the pulse modulation circuit 330 via the DAC 371.

また、オーディオクロックについては、パルス変調回路330へ出力される第1のオーディオクロックCLK_A1と信号処理回路370へ出力される第2のオーディオクロックCLK_A2の2系統の出力先となっている。そして、信号処理回路370は、PLL回路360からソースクロックCLK_Sが不安定状態もしくは停止状態になった旨の信号であるアンロック信号S_ULのハイ出力を取得すると、PCM信号のアッテネートレベルを徐々に下げ、例えば最終的に−∞にするボリューム調整処理を行う。なお、目標とするボリュームレベルは−∞に限らず、30%であってもよく、特定のレベルに限定する趣旨ではない。そして、そのボリューム調整が終了すると、終了したことを示すPCM信号制御処理完了信号PF2を出力制御回路140(制御信号入力部149)に出力する。そして、出力制御回路140はその信号をもとにして、増幅回路150をオフする。   In addition, the audio clock is an output destination of two systems of the first audio clock CLK_A1 output to the pulse modulation circuit 330 and the second audio clock CLK_A2 output to the signal processing circuit 370. When the signal processing circuit 370 obtains a high output of the unlock signal S_UL, which is a signal indicating that the source clock CLK_S has become unstable or stopped, from the PLL circuit 360, the signal processing circuit 370 gradually decreases the attenuation level of the PCM signal. For example, volume adjustment processing is finally performed to set −∞. Note that the target volume level is not limited to -∞ but may be 30%, and is not intended to be limited to a specific level. When the volume adjustment is completed, a PCM signal control process completion signal PF2 indicating the completion is output to the output control circuit 140 (control signal input unit 149). Then, the output control circuit 140 turns off the amplifier circuit 150 based on the signal.

具体的な動作について、図11のタイミングチャートをもとに説明する。本実施の形態では、ソースクロックCLK_Sが停止したケースについて説明するが、当然に、第1の実施形態と同様にソースクロックCLK_Sが不安定になったときでも適用できる。   A specific operation will be described based on the timing chart of FIG. In this embodiment, the case where the source clock CLK_S is stopped will be described. However, as a matter of course, the present invention can also be applied when the source clock CLK_S becomes unstable as in the first embodiment.

時間T30〜T31の期間は、ソースクロックCLK_Sは正常にPLL回路360に入力されている。そして、時間T31において、PLL回路360にソースクロックCLK_Sの入力がなくなる。すると、PLL回路360はロック状態を維持する制御ができなくなり、第1及び第2のオーディオクロックCLK_A1、CLK_A2が徐々に間延びしていく。そして、時間T32でPLL回路360はロックすることができなくなり、アンロック検出器166がアンロック信号S_ULをハイ出力する。すると、信号処理回路370は、時間T32〜T33の期間でPCM信号のアッテネートレベルを下げるボリューム調整処理を行う。時間T33でボリューム調整処理が終了すると、信号処理回路370は出力制御回路140へPCM信号制御処理完了信号PF2を出力する。そして、そのPCM信号制御処理完了信号PF2をもとにして、増幅回路150はハイインピーダンス(Hi−Z)になりオフになる。   During the period of time T30 to T31, the source clock CLK_S is normally input to the PLL circuit 360. At time T31, the source clock CLK_S is not input to the PLL circuit 360. Then, the PLL circuit 360 cannot be controlled to maintain the locked state, and the first and second audio clocks CLK_A1 and CLK_A2 are gradually extended. At time T32, the PLL circuit 360 cannot be locked, and the unlock detector 166 outputs the unlock signal S_UL high. Then, the signal processing circuit 370 performs volume adjustment processing for lowering the attenuation level of the PCM signal during the period of time T32 to T33. When the volume adjustment process ends at time T33, the signal processing circuit 370 outputs a PCM signal control process completion signal PF2 to the output control circuit 140. Then, based on the PCM signal control processing completion signal PF2, the amplifier circuit 150 becomes high impedance (Hi-Z) and is turned off.

以上、本実施形態によると、ソースクロックCLK_Sが不安定状態もしくは停止状態となっても、即座にオーディオクロック(第1及び第2のオーディオクロックCLK_A1、CLK_A2)が停止することはない。そして、ソースクロックCLK_Sが不安定状態もしくは停止状態となってから、ごく短時間ではあるが、しばらくの間は、正常な周波数に近い周波数でオーディオクロックCLK_A(第1及び第2のオーディオクロックCLK_A1、CLK_A2)が動作している。このオーディオクロック(第1及び第2のオーディオクロックCLK_A1、CLK_A2)が動いている時間を利用して、信号処理回路370において、PCM信号の制御によるポップノイズ発生防止処理を図ることができる。そして、その処理が終了したことを示すPCM信号制御処理完了信号PF2をもとに出力制御回路140が増幅回路150をオフすることで、ユーザーにとって不快なポップ音を発生させること無く、ソースクロックCLK_Sの不安定状態/停止状態に起因する増幅回路150の破壊を回避することができる。   As described above, according to the present embodiment, even when the source clock CLK_S becomes unstable or stopped, the audio clock (the first and second audio clocks CLK_A1, CLK_A2) does not stop immediately. The audio clock CLK_A (the first and second audio clocks CLK_A1 and CLK_A1, the first and second audio clocks CLK_A1,. CLK_A2) is operating. By using the time during which the audio clocks (first and second audio clocks CLK_A1, CLK_A2) are moving, the signal processing circuit 370 can perform the pop noise generation prevention process by controlling the PCM signal. Then, the output control circuit 140 turns off the amplifier circuit 150 based on the PCM signal control processing completion signal PF2 indicating that the processing is completed, so that the source clock CLK_S is generated without generating an unpleasant pop sound for the user. It is possible to avoid the destruction of the amplifier circuit 150 due to the unstable state / stop state.

なお、本実施形態では、信号処理回路370とパルス変調回路330に供給される第1及び第2のオーディオクロックCLK_A1、CLK_A2は、同一のクロック周波数であったが、これに限る趣旨ではない。いずれにせよ、一つのPLL回路360から出力されることで、第1及び第2のオーディオクロックCLK_A1、CLK_A2間に同期性が保たれ、両回路の間にDAC371などがないデジタル信号で直結されている場合であっても、データの誤りなく伝送することができる。なお、DAC371がある場合は、第1及び第2のオーディオクロックCLK_A1、CLK_A2は異なるPLL回路から生成されたものでもよい。   In the present embodiment, the first and second audio clocks CLK_A1 and CLK_A2 supplied to the signal processing circuit 370 and the pulse modulation circuit 330 have the same clock frequency. However, the present invention is not limited to this. In any case, by outputting from one PLL circuit 360, the synchronization between the first and second audio clocks CLK_A1 and CLK_A2 is maintained, and the two circuits are directly connected by a digital signal without a DAC 371 or the like. Even in such a case, data can be transmitted without error. If the DAC 371 is present, the first and second audio clocks CLK_A1 and CLK_A2 may be generated from different PLL circuits.

<第4の実施の形態>
本実施形態では、上述した第2及び第3の実施形態を組み合わせた技術であり、PLL回路が同期できないアンロック状態になると、ボリューム調整処理とポップノイズ発生防止処理がなされる。図12は、本実施形態に係る音声出力装置410の概略構成を示す機能ブロック図である。この音声出力装置410は第3の実施形態の音声出力装置310と類似の構成であるので、同一構成については同一符号を付して説明を適宜省略し、異なる構成及び動作について説明する。
<Fourth embodiment>
In the present embodiment, the technique is a combination of the second and third embodiments described above. When the PLL circuit is in an unlocked state where synchronization is not possible, volume adjustment processing and pop noise generation prevention processing are performed. FIG. 12 is a functional block diagram showing a schematic configuration of the audio output device 410 according to the present embodiment. Since this audio output device 410 has a configuration similar to that of the audio output device 310 of the third embodiment, the same components are denoted by the same reference numerals, description thereof is omitted as appropriate, and different configurations and operations will be described.

PLL回路460がアンロック状態となったときに、PLL回路460が出力するアンロック信号S_ULと、第1及び第2のオーディオクロックCLK_A1、CLK_A2の出力先は同一である。異なる点は、信号処理回路470におけるボリューム調整処理の終了を示すPCM信号制御処理完了信号PF3が、出力制御回路140ではなく、D級アンプ420のパルス変調回路430へ出力されることにある。さらに、PCM信号制御処理完了信号PF3を取得したパルス変調回路430は、第2の実施形態で示したようなポップノイズ発生防止処理を施し、その処理が終了すると、パルス制御処理完了信号PF4を出力制御回路140(制御信号入力部149)へハイ出力する。これによって、最終的にハイサイド増幅回路150aとローサイド増幅回路150bがハイインピーダンス(Hi−Z)になり、増幅回路150がオフする。   When the PLL circuit 460 is unlocked, the output destination of the unlock signal S_UL output from the PLL circuit 460 and the first and second audio clocks CLK_A1 and CLK_A2 are the same. A difference is that a PCM signal control processing completion signal PF3 indicating the end of the volume adjustment processing in the signal processing circuit 470 is output to the pulse modulation circuit 430 of the class D amplifier 420 instead of the output control circuit 140. Further, the pulse modulation circuit 430 that has acquired the PCM signal control processing completion signal PF3 performs the pop noise generation prevention processing as shown in the second embodiment, and outputs the pulse control processing completion signal PF4 when the processing ends. High output to the control circuit 140 (control signal input unit 149). As a result, the high-side amplifier circuit 150a and the low-side amplifier circuit 150b finally become high impedance (Hi-Z), and the amplifier circuit 150 is turned off.

具体的な動作について、図13のタイミングチャートをもとに説明する。本実施の形態では、ソースクロックCLK_Sが停止したケースについて説明するが、当然に、第1の実施形態と同様にソースクロックCLK_Sが不安定になったときでも適用できる。   A specific operation will be described based on the timing chart of FIG. In this embodiment, the case where the source clock CLK_S is stopped will be described. However, as a matter of course, the present invention can also be applied when the source clock CLK_S becomes unstable as in the first embodiment.

時間T40〜T41の期間は、ソースクロックCLK_Sは正常にPLL回路460に入力されている。そして、時間T41において、PLL回路460にソースクロックCLK_Sの入力がなくなる。すると、PLL回路460はロック状態を維持する制御ができなくなり、第1及び第2のオーディオクロックCLK_A1、CLK_A2が徐々に間延びしていく。そして、時間T42でPLL回路360はロックすることができなくなり、アンロック検出器166がアンロック信号S_ULをハイ出力する。すると、信号処理回路470は、時間T42〜T43の期間でPCM信号のアッテネートレベルを下げるボリューム調整処理を行う。時間T43でボリューム調整処理が終了すると、信号処理回路370はパルス変調回路430へPCM信号制御処理完了信号PF3を出力する。つづいて、パルス変調回路430は、時間T43〜T44の期間において、ポップノイズ発生防止処理を施し、その処理が終了すると出力制御回路140(制御信号入力部149)へハイ出力する。これによって、最終的にハイサイド増幅回路150aとローサイド増幅回路150bがハイインピーダンス(Hi−Z)になり、増幅回路150がオフする。   During the period from time T40 to T41, the source clock CLK_S is normally input to the PLL circuit 460. At time T41, the input of the source clock CLK_S to the PLL circuit 460 disappears. Then, the PLL circuit 460 cannot control to maintain the locked state, and the first and second audio clocks CLK_A1 and CLK_A2 are gradually extended. At time T42, the PLL circuit 360 cannot be locked, and the unlock detector 166 outputs the unlock signal S_UL high. Then, the signal processing circuit 470 performs volume adjustment processing for lowering the attenuation level of the PCM signal during the period of time T42 to T43. When the volume adjustment process ends at time T43, the signal processing circuit 370 outputs the PCM signal control process completion signal PF3 to the pulse modulation circuit 430. Subsequently, the pulse modulation circuit 430 performs pop noise generation prevention processing during a period of time T43 to T44, and outputs high to the output control circuit 140 (control signal input unit 149) when the processing ends. As a result, the high-side amplifier circuit 150a and the low-side amplifier circuit 150b finally become high impedance (Hi-Z), and the amplifier circuit 150 is turned off.

以上、本実施形態によると、ユーザーにとって不快なポップ音を発生させること無く、ソースクロックCLK_Sの不安定状態/停止状態に起因する増幅回路150の破壊を回避することができる。つまり、入力されるオーディオ信号がゼロレベルでなくとも、信号処理回路470にてオーディオ信号の不連続性に起因するポップ音をなくし、さらにD級アンプ420のパルス変調回路430でパルスの不連続性に起因するポップ音をなくすことにより、入力されるオーディオ信号が0レベルでなくとも、ユーザーにとって不快な非常に大きなポップ音を全く出すことなく、ソースクロックCLK_Sが停止した場合の過電流による増幅回路150の破壊を防ぐことができる。   As described above, according to the present embodiment, it is possible to avoid the destruction of the amplifier circuit 150 due to the unstable state / stopped state of the source clock CLK_S without generating an unpleasant pop sound for the user. That is, even if the input audio signal is not at a zero level, the signal processing circuit 470 eliminates the pop sound caused by the discontinuity of the audio signal, and the pulse modulation circuit 430 of the class D amplifier 420 further eliminates the pulse discontinuity. By eliminating the pop sound caused by the above, even if the input audio signal is not at the 0 level, the amplifier circuit due to overcurrent when the source clock CLK_S is stopped without producing a very loud pop sound uncomfortable for the user at all. 150 destruction can be prevented.

<第5の実施形態>
第1〜第4の実施形態におけるPLL回路260、360、460のアンロック検出器166からのアンロック信号S_ULの出力をハイ及びローの2段階で出力した。しかし、本実施形態では、ロックレンジから外れる前であっても、ソースクロックCLK_Sの変動状態を出力する。そして、出力先の各回路において、いち早く異音発生防止処理を行う。一般に、PLL回路260、360、460は、ソースクロックCLK_Sの周波数が変動しても、ある程度、ロックしたままソースクロックCLK_Sの周波数の変動に追従する。すなわちソースクロックCLK_Sが異常を起こしてから、それが本来追従すべき周波数変動から外れ、アンロックとなりアンロック信号S_ULを出力するまでの間に、どうしても時間差が発生する。上述の第1〜第4の実施形態(特に、第2〜第4の実施形態)における処理では、オーディオクロックCLK_Aが正常な周波数に近い状態であるほど、アンロック状態になりにくい。したがって、ソースクロックCLK_Sが正常であるか疑わしい状態になったときにいち早く上述の実施形態で示した処理を開始することにより、それら処理が始まる前や、処理の途中でオーディオクロックCLK_Aの周期が間延びしすぎて異音となる不具合を防ぐ。
<Fifth Embodiment>
The output of the unlock signal S_UL from the unlock detector 166 of the PLL circuits 260, 360, and 460 in the first to fourth embodiments is output in two stages of high and low. However, in the present embodiment, the fluctuation state of the source clock CLK_S is output even before being out of the lock range. Then, abnormal noise generation prevention processing is performed immediately in each output destination circuit. In general, even if the frequency of the source clock CLK_S varies, the PLL circuits 260, 360, and 460 follow the variation in the frequency of the source clock CLK_S while being locked to some extent. That is, there is a time difference between the time when the source clock CLK_S is abnormal and the time when the source clock CLK_S deviates from the frequency fluctuation that should be followed and becomes unlocked and outputs the unlock signal S_UL. In the processing in the above-described first to fourth embodiments (particularly, the second to fourth embodiments), the closer to the normal frequency the audio clock CLK_A is, the less likely it is to be in the unlocked state. Accordingly, when the source clock CLK_S is in a suspicious state, the processing shown in the above embodiment is started immediately, so that the period of the audio clock CLK_A is extended before the processing starts or during the processing. To prevent the trouble that becomes too much noise.

より具体的には、例えば、アンロック検出器166は、その検出に用いる信号の一つとして位相比較器161で検出した差信号を用い、その差信号に応じた信号を出力する。そして、パルス変調回路230、330、430や信号処理回路370、470では、その信号に応じたポップノイズ発生防止処理を施す。図14は、アンロック検出器166に入力される差信号(位相差)とアンロック信号S_ULの出力レベルの関係を示した図である。位相差がD1より小さいときには、アンロック検出器166は、ロック領域であると判断して、ローレベル(「ゼロ」)を出力する。位相差がD1〜D5のときには、アンロックの虞がある警告領域として4段階のレベルの信号S_UL1〜4を出力し、位相差がD5以上のときは、完全にアンロック状態である旨を示す信号S_UL0を出力する。信号S_UL0が、上述のアンロック信号S_ULに相当する。例えば、第2の実施形態の構成及び動作に適用した場合、パルス変調回路230では、信号S_UL0がハイになっていなくとも、すなわち、アンロック信号状態になっていなくとも、信号S_UL3がハイになった時点で、図8における時間T0〜T5の動作を始める。   More specifically, for example, the unlock detector 166 uses the difference signal detected by the phase comparator 161 as one of the signals used for the detection, and outputs a signal corresponding to the difference signal. Then, the pulse modulation circuits 230, 330, and 430 and the signal processing circuits 370 and 470 perform a pop noise generation prevention process corresponding to the signal. FIG. 14 is a diagram showing the relationship between the difference signal (phase difference) input to the unlock detector 166 and the output level of the unlock signal S_UL. When the phase difference is smaller than D1, the unlock detector 166 determines that it is the lock region and outputs a low level (“zero”). When the phase difference is D1 to D5, four levels of signals S_UL1 to S_UL1-4 are output as warning areas that may be unlocked. When the phase difference is D5 or more, it indicates that the state is completely unlocked. The signal S_UL0 is output. The signal S_UL0 corresponds to the unlock signal S_UL described above. For example, when applied to the configuration and operation of the second embodiment, in the pulse modulation circuit 230, the signal S_UL3 becomes high even if the signal S_UL0 is not high, that is, the unlock signal state is not obtained. At this point, the operation at time T0 to T5 in FIG. 8 is started.

<第6の実施形態>
上述のように、ソースクロックCLK_Sの周波数が変動しても、PLL回路160は、ある程度、ロックしたままソースクロックCLK_Sの周波数の変動に追従する。しかし、予めソースクロックCLK_Sの変動が少ないことが分かっている場合、アンロック状態、すなわちフリーラン状態で出力されるオーディオクロックCLK_Aの上限及び下限を設けることで、上述した第1〜第4の実施形態におけるポップノイズ発生防止処理の途中でクロック周期が間延びしすぎて異音となる不具合を防ぐ。そのため、本実施形態では、PLL回路160のVCO163の電圧に上限及び下限を設けた。図15は、VCO163の電圧と出力周波数の関係を示した図である。図示のように、入力電圧がV1〜V2では、VCO163は、その入力電圧に応じて周波数f1〜f2を出力する。しかし、入力電圧がV1未満のときには周波数f1の信号を出力し、V2より大きいときには周波数f2の信号を出力する。上限及び下限の周波数f1、f2は、ロック状態の周波数又はそのような周波数に近い周波数である。これによって、アンロック(フリーラン)状態でも、ロック状態のオーディオクロックに近い周波数とすることができ、ポップノイズ発生防止処理の途中でクロック周期が間延びしすぎて異音となることを防止できる。
<Sixth Embodiment>
As described above, even if the frequency of the source clock CLK_S varies, the PLL circuit 160 follows the variation in the frequency of the source clock CLK_S while being locked to some extent. However, when it is known in advance that the fluctuation of the source clock CLK_S is small, the first to fourth implementations described above are provided by providing the upper and lower limits of the audio clock CLK_A output in the unlocked state, that is, the free-run state. This prevents a problem that the clock cycle is excessively extended in the middle of the pop noise generation prevention process in the form and becomes abnormal noise. Therefore, in this embodiment, an upper limit and a lower limit are provided for the voltage of the VCO 163 of the PLL circuit 160. FIG. 15 is a diagram showing the relationship between the voltage of the VCO 163 and the output frequency. As shown in the figure, when the input voltage is V1 to V2, the VCO 163 outputs frequencies f1 to f2 according to the input voltage. However, when the input voltage is less than V1, a signal of frequency f1 is output, and when it is greater than V2, a signal of frequency f2 is output. The upper and lower frequencies f1, f2 are frequencies in the locked state or frequencies close to such frequencies. As a result, even in the unlocked (free-run) state, the frequency can be made close to that of the audio clock in the locked state, and it is possible to prevent the clock cycle from being excessively extended during the pop noise generation preventing process and causing abnormal noise.

<第7の実施形態>
図17は、本実施形態の音声出力装置1210の概略構成を示す機能ブロック図である。この音声出力装置1210は、第2の実施形態の音声出力装置210(図5参照)の変形例であり、異なる構成はタイマ回路290を追加した点にあり、同一の構成については同一符号を付し説明は省略し、以下、異なる構成及び動作について説明する。
<Seventh Embodiment>
FIG. 17 is a functional block diagram showing a schematic configuration of the audio output device 1210 of the present embodiment. This audio output device 1210 is a modification of the audio output device 210 (see FIG. 5) of the second embodiment, and a different configuration is that a timer circuit 290 is added. The same components are denoted by the same reference numerals. The description will be omitted, and different configurations and operations will be described below.

音声出力装置1210のPLL回路260は、アンロック信号S_ULをパルス変調回路230とともにタイマ回路290へも出力する。そして、タイマ回路290は、出力制御回路140の制御信号入力部149に対して、パルス変調回路230から出力されるパルス制御処理完了信号PF1に代わってパルス制御処理完了時刻通知信号TM1を出力する。   The PLL circuit 260 of the audio output device 1210 outputs the unlock signal S_UL to the timer circuit 290 together with the pulse modulation circuit 230. Then, the timer circuit 290 outputs a pulse control processing completion time notification signal TM1 to the control signal input unit 149 of the output control circuit 140 instead of the pulse control processing completion signal PF1 output from the pulse modulation circuit 230.

より具体的には、音声出力装置1210のパルス変調回路230は、PLL回路260からアンロック信号S_ULを取得すると、図7〜9で説明したように、ポップノイズ防止処理として、変調処理におけるパルスの幅を小さくしたり、パルス周期を徐々に拡げるパルス幅制御処理を行う。そして、タイマ回路290には、パルス幅制御処理を行う期間として予め想定される処理時間がタイマ動作時間として記録されている。タイマ回路290は、PLL回路260からアンロック信号S_ULを取得するとタイマ動作を開始し、上記のタイマ動作時間となると、タイマ動作を停止するとともにパルス制御処理完了時刻通知信号TM1を出力制御回路140の制御信号入力部149に出力する。すると、パルス制御処理完了時刻通知信号TM1をもとに出力制御回路140が増幅回路150をオフする。このような構成及び動作によって、第2の実施形態と同様の効果が得られる。   More specifically, when the pulse modulation circuit 230 of the audio output device 1210 obtains the unlock signal S_UL from the PLL circuit 260, as described with reference to FIGS. Pulse width control processing is performed to reduce the width or gradually increase the pulse period. In the timer circuit 290, a processing time assumed in advance as a period for performing the pulse width control process is recorded as a timer operation time. When the timer circuit 290 obtains the unlock signal S_UL from the PLL circuit 260, the timer circuit 290 starts the timer operation. When the timer operation time is reached, the timer circuit 290 stops the timer operation and outputs the pulse control processing completion time notification signal TM1 to the output control circuit 140. The result is output to the control signal input unit 149. Then, the output control circuit 140 turns off the amplifier circuit 150 based on the pulse control processing completion time notification signal TM1. With such a configuration and operation, the same effects as those of the second embodiment can be obtained.

<第8の実施形態>
図18は、本実施形態の音声出力装置1310の概略構成を示す機能ブロック図である。この音声出力装置1310は、第3の実施形態の音声出力装置310(図10参照)の変形例であり、異なる構成はタイマ回路390を追加した点にあり、同一の構成については同一符号を付し説明は省略し、以下、異なる構成及び動作について説明する。
<Eighth Embodiment>
FIG. 18 is a functional block diagram showing a schematic configuration of the audio output device 1310 of the present embodiment. This audio output device 1310 is a modification of the audio output device 310 (see FIG. 10) of the third embodiment, and is different in that a timer circuit 390 is added, and the same components are denoted by the same reference numerals. The description will be omitted, and different configurations and operations will be described below.

第3の実施形態のPLL回路360は、アンロック信号S_ULを信号処理回路370へ出力し、信号処理回路370はアンロック信号S_ULを取得することで開始したボリューム処理を終了すると、PCM信号制御処理完了信号PF2を出力した。本実施形態の音声出力装置1310のPLL回路360は、アンロック信号S_ULを信号処理回路370とともに、タイマ回路390へも出力する。そして、第3の実施形態において信号処理回路370から出力されるPCM信号制御処理完了信号PF2の代わりに、タイマ回路390は、出力制御回路140の制御信号入力部149に対して、PCM信号制御処理時刻通知信号TM2を出力する。   The PLL circuit 360 of the third embodiment outputs the unlock signal S_UL to the signal processing circuit 370, and when the signal processing circuit 370 finishes the volume processing started by acquiring the unlock signal S_UL, the PCM signal control processing A completion signal PF2 was output. The PLL circuit 360 of the audio output device 1310 of this embodiment outputs the unlock signal S_UL to the timer circuit 390 together with the signal processing circuit 370. Then, instead of the PCM signal control processing completion signal PF2 output from the signal processing circuit 370 in the third embodiment, the timer circuit 390 sends a PCM signal control processing to the control signal input unit 149 of the output control circuit 140. The time notification signal TM2 is output.

より具体的には、信号処理回路370はアンロック信号S_ULを取得すると、第3の実施形態と同様に、PCM信号のアッテネートレベルを徐々に下げるボリューム調整処理を開始する。また、タイマ回路390には、上述のボリューム処理に必要と推定される処理時間がタイマ時間として記憶されている。そして、タイマ回路390は、アンロック信号S_ULを取得すると、上述のタイマ時間でタイマ動作を開始する。そして、タイマ回路390は、上述のタイマ時間になると、出力制御回路140の制御信号入力部149に対して、PCM信号制御処理時刻通知信号TM2を出力する。すると、PCM信号制御処理時刻通知信号TM2をもとに出力制御回路140が増幅回路150をオフする。このような構成及び動作によって、第3の実施形態と同様の効果が得られる。   More specifically, when the unlocking signal S_UL is acquired, the signal processing circuit 370 starts a volume adjustment process for gradually decreasing the attenuation level of the PCM signal, as in the third embodiment. The timer circuit 390 stores a processing time estimated to be necessary for the above-described volume processing as a timer time. When the timer circuit 390 acquires the unlock signal S_UL, the timer circuit 390 starts the timer operation with the above-described timer time. Then, the timer circuit 390 outputs the PCM signal control processing time notification signal TM2 to the control signal input unit 149 of the output control circuit 140 when the above timer time is reached. Then, the output control circuit 140 turns off the amplifier circuit 150 based on the PCM signal control processing time notification signal TM2. With such a configuration and operation, the same effects as those of the third embodiment can be obtained.

<第9の実施形態>
図19は、本実施形態の音声出力装置1410の概略構成を示す機能ブロック図である。この音声出力装置1410は、第4の実施形態の音声出力装置410(図12参照)の変形例であり、異なる構成はタイマ回路490を追加した点にあり、同一の構成については同一符号を付し説明は省略し、以下、異なる構成及び動作について説明する。
<Ninth Embodiment>
FIG. 19 is a functional block diagram showing a schematic configuration of the audio output device 1410 of the present embodiment. This audio output device 1410 is a modification of the audio output device 410 (see FIG. 12) of the fourth embodiment, and a different configuration is that a timer circuit 490 is added. The description will be omitted, and different configurations and operations will be described below.

第4の実施形態は、第2及び第3の実施形態を組み合わせた技術であり、PLL回路460が同期できないアンロック状態になると、ボリューム調整処理とポップノイズ発生防止処理がなされ、それら処理が終了すると、最終的に、パルス変調回路430が、パルス制御処理完了信号PF4を出力制御回路140(制御信号入力部149)へ出力し、増幅回路150がオフとなった。一方、本実施形態は、第7及び第8の実施形態を組み合わせた技術であり、音声出力装置1410のPLL回路460が同期できないアンロック状態になるとアンロック信号S_ULを信号処理回路470とタイマ回路490へ出力する。信号処理回路470は、第4の実施形態同様にボリューム調整処理を開始する。タイマ回路490は、ボリューム調整処理に必要と推定される時間を第1のタイマ時間として設定されており、さらに、ポップノイズ発生防止処理(パルス幅制御処理)に必要とされる時間が第2のタイマ時間として設定されている。タイマ回路490は、アンロック信号S_ULを取得すると、第1のタイマ時間によるタイマ動作を開始する。第1のタイマ時間になると、タイマ回路490は、パルス変調回路430へPCM信号制御処理時刻通知信号TM3を出力する。つづいて、PCM信号制御処理時刻通知信号TM3を取得したパルス変調回路430は、ポップノイズ発生防止処理を開始する。また、タイマ回路490は、第2のタイマ時間によるタイマ動作を開始する。そして、第2のタイマ時間になると、タイマ回路490は、制御信号入力部149に対して、PCM信号制御処理時刻通知信号TM4を出力する。すると、PCM信号制御処理時刻通知信号TM4をもとに出力制御回路140が増幅回路150をオフする。このような構成及び動作によって、第4の実施形態と同様の効果が得られる。   The fourth embodiment is a technique that combines the second and third embodiments. When the PLL circuit 460 enters an unlocked state in which synchronization is not possible, volume adjustment processing and pop noise generation prevention processing are performed, and the processing ends. Then, finally, the pulse modulation circuit 430 outputs the pulse control processing completion signal PF4 to the output control circuit 140 (control signal input unit 149), and the amplifier circuit 150 is turned off. On the other hand, the present embodiment is a technique that combines the seventh and eighth embodiments. When the PLL circuit 460 of the audio output device 1410 enters an unlocked state that cannot be synchronized, the unlock signal S_UL is transmitted to the signal processing circuit 470 and the timer circuit. Output to 490. The signal processing circuit 470 starts volume adjustment processing as in the fourth embodiment. In the timer circuit 490, the time estimated to be necessary for the volume adjustment processing is set as the first timer time, and the time required for the pop noise generation prevention processing (pulse width control processing) is set to the second time. It is set as the timer time. When the timer circuit 490 acquires the unlock signal S_UL, the timer circuit 490 starts a timer operation based on the first timer time. When the first timer time is reached, the timer circuit 490 outputs the PCM signal control processing time notification signal TM3 to the pulse modulation circuit 430. Subsequently, the pulse modulation circuit 430 that has acquired the PCM signal control processing time notification signal TM3 starts pop noise generation prevention processing. In addition, the timer circuit 490 starts a timer operation based on the second timer time. When the second timer time is reached, the timer circuit 490 outputs a PCM signal control processing time notification signal TM4 to the control signal input unit 149. Then, the output control circuit 140 turns off the amplifier circuit 150 based on the PCM signal control processing time notification signal TM4. By such a configuration and operation, the same effect as that of the fourth embodiment can be obtained.

以上、本発明を実施形態をもとに説明した。この実施形態は例示であり、それらの各構成要素及びその組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。   The present invention has been described based on the embodiments. This embodiment is an exemplification, and it is understood by those skilled in the art that various modifications can be made to each of those components and combinations thereof, and such modifications are also within the scope of the present invention.

第1の実施形態に係る、音声出力装置の概略構成を示す機能ブロック図である。It is a functional block diagram which shows schematic structure of the audio | voice output apparatus based on 1st Embodiment. 第1の実施形態に係る、PLL回路の概略構成を示す機能ブロック図である。1 is a functional block diagram illustrating a schematic configuration of a PLL circuit according to a first embodiment. 第1の実施形態に係る、PLL回路のVCOのV−F特性を示す図である。It is a figure which shows the VF characteristic of VCO of the PLL circuit based on 1st Embodiment. 第1の実施形態に係る、ソースクロックが異常となったときの音声出力装置の処理のタイミングチャートを示す図である。It is a figure which shows the timing chart of a process of the audio | voice output apparatus when the source clock becomes abnormal based on 1st Embodiment. 第2の実施形態に係る、音声出力装置の概略構成を示す機能ブロック図である。It is a functional block diagram which shows schematic structure of the audio | voice output apparatus based on 2nd Embodiment. 第2の実施形態に係る、ソースクロックが異常となったときの音声出力装置の処理のタイミングチャートを示す図である。It is a figure which shows the timing chart of a process of the audio | voice output apparatus when the source clock becomes abnormal based on 2nd Embodiment. 第2の実施形態に係る、ポップノイズ発生防止処理を有するパルス変調回路の機能ブロック図である。It is a functional block diagram of a pulse modulation circuit having pop noise generation prevention processing according to a second embodiment. 第2の実施形態に係る、ポップノイズ発生防止処理のタイミングチャートである。It is a timing chart of the pop noise generation prevention processing according to the second embodiment. 第2の実施形態に係る、図8に示したポップノイズ発生防止処理の結果として得られる信号波形を例示する図である。It is a figure which illustrates the signal waveform obtained as a result of the pop noise generation | occurrence | production prevention process shown in FIG. 8 based on 2nd Embodiment. 第3の実施形態に係る、音声出力装置の概略構成を示す機能ブロック図である。It is a functional block diagram which shows schematic structure of the audio | voice output apparatus based on 3rd Embodiment. 第3の実施形態に係る、ソースクロックが異常となったときの音声出力装置の処理のタイミングチャートを示す図である。It is a figure which shows the timing chart of a process of the audio | voice output apparatus when the source clock becomes abnormal based on 3rd Embodiment. 第4の実施形態に係る、音声出力装置の概略構成を示す機能ブロック図である。It is a functional block diagram which shows schematic structure of the audio | voice output apparatus based on 4th Embodiment. 第4の実施形態に係る、ソースクロックが異常となったときの音声出力装置の処理のタイミングチャートを示す図である。It is a figure which shows the timing chart of a process of the audio | voice output apparatus when the source clock becomes abnormal based on 4th Embodiment. 第5の実施形態に係る、アンロック検出器に入力される差信号とアンロック信号アンロック信号の出力レベルの関係を示した図である。It is the figure which showed the relationship between the output level of the difference signal and unlock signal unlock signal which are input into the unlock detector based on 5th Embodiment. 第6の実施形態に係る、PLL回路のVCOの電圧と出力周波数の関係を示した図である。It is the figure which showed the relationship between the voltage of VCO of a PLL circuit, and an output frequency based on 6th Embodiment. 従来技術に係る、ソースクロックが異常となったときの音声出力装置の処理のタイミングチャートを示す図である。It is a figure which shows the timing chart of a process of the audio | voice output apparatus when a source clock becomes abnormal based on a prior art. 第7の実施形態に係る、音声出力装置の概略構成を示す機能ブロック図である。It is a functional block diagram which shows schematic structure of the audio | voice output apparatus based on 7th Embodiment. 第8の実施形態に係る、音声出力装置の概略構成を示す機能ブロック図である。It is a functional block diagram which shows schematic structure of the audio | voice output apparatus based on 8th Embodiment. 第9の実施形態に係る、音声出力装置の概略構成を示す機能ブロック図である。It is a functional block diagram which shows schematic structure of the audio | voice output apparatus based on 9th Embodiment.

符号の説明Explanation of symbols

110、210、310、410、1210、1310、1410 音声出力装置
120、220、320、420 D級アンプ
130、230、330、430 パルス変調回路
140 出力制御回路
140a ハイサイド制御回路
140b ローサイド制御回路
141a、141b NAND回路
142a、142b NOR回路
148 音声信号入力部
149 制御信号入力部
150 増幅回路
150a ハイサイド増幅回路
150b ローサイド増幅回路
151a、151b PチャネルFET
152a、152b NチャネルFET
160、260、360、460 PLL回路
161 位相比較器
163 VCO
166 アンロック検出器
290、390、490 タイマ回路
110, 210, 310, 410, 1210, 1310, 1410 Audio output devices 120, 220, 320, 420 Class D amplifiers 130, 230, 330, 430 Pulse modulation circuit 140 Output control circuit 140a High side control circuit 140b Low side control circuit 141a , 141b NAND circuit 142a, 142b NOR circuit 148 Audio signal input unit 149 Control signal input unit 150 Amplifier circuit 150a High side amplifier circuit 150b Low side amplifier circuit 151a, 151b P-channel FET
152a, 152b N-channel FET
160, 260, 360, 460 PLL circuit 161 Phase comparator 163 VCO
166 Unlock detector 290, 390, 490 Timer circuit

Claims (18)

基準クロックをもとに入力信号を変調する変調手段と、
変調された入力信号を増幅して出力する増幅手段と、
ソースクロックを取得して、当該ソースクロックをもとに前記変調手段で利用する前記基準クロックを生成するとともに、取得した前記ソースクロックと生成した前記基準クロックの同期状態を出力する位相同期手段と、
前記増幅手段の動作を前記位相同期手段の同期状態に応じて制御する出力制御手段と、
を備えることを特徴とする信号増幅装置。
Modulation means for modulating an input signal based on a reference clock;
Amplifying means for amplifying and outputting the modulated input signal;
A phase synchronization unit that obtains a source clock and generates the reference clock to be used by the modulation unit based on the source clock, and outputs a synchronization state of the acquired source clock and the generated reference clock;
Output control means for controlling the operation of the amplification means according to the synchronization state of the phase synchronization means;
A signal amplifying apparatus comprising:
前記出力制御手段は、前記位相同期手段の前記同期状態がアンロックとなったときに前記増幅手段をオフすることを特徴とする請求項1に記載の信号増幅装置。   2. The signal amplification apparatus according to claim 1, wherein the output control means turns off the amplification means when the synchronization state of the phase synchronization means is unlocked. 前記変調手段は、前記位相同期手段の前記同期状態がアンロックとなったときに、前記出力制御手段が前記増幅手段をオフする前に、ノイズ低減処理を行うことを特徴とする請求項1または2に記載の信号増幅装置。   2. The modulation unit according to claim 1, wherein the modulation unit performs a noise reduction process before the output control unit turns off the amplification unit when the synchronization state of the phase synchronization unit is unlocked. 2. The signal amplification device according to 2. 前記位相同期手段がアンロック状態となったときに所定のタイマ時間でタイマ動作を開始し、前記タイマ時間に達したときに、前記出力制御手段に対して前記増幅手段をオフするための制御信号を出力するタイマ手段を備えることを特徴とする請求項3に記載の信号増幅装置。   A control signal for starting a timer operation with a predetermined timer time when the phase synchronization means is unlocked, and for turning off the amplification means with respect to the output control means when the timer time is reached 4. A signal amplifying apparatus according to claim 3, further comprising a timer means for outputting. 前記位相同期手段の前記同期状態がアンロックとなったときに、前記出力制御手段が前記増幅手段をオフする前に、前記変調手段に入力される入力信号の信号レベルを下げるレベル調整処理を行うレベル調整手段を備えることを特徴とする請求項1から4までのいずれかに記載の信号増幅装置。   When the synchronization state of the phase synchronization means is unlocked, level adjustment processing is performed to lower the signal level of the input signal input to the modulation means before the output control means turns off the amplification means. 5. The signal amplifying apparatus according to claim 1, further comprising a level adjusting unit. 前記位相同期手段は、前記同期状態として、アンロックのおそれのある警告状態を出力し、
前記変調手段は、前記警告状態に応じてノイズ低減処理を行うことを特徴とする請求項1から5までのいずれかに記載の信号増幅装置。
The phase synchronization means outputs a warning state that may be unlocked as the synchronization state,
The signal amplifying apparatus according to claim 1, wherein the modulation unit performs noise reduction processing according to the warning state.
前記位相同期手段は、前記同期状態として、アンロックのおそれのある警告状態を出力し、
前記レベル調整手段は、前記警告状態に応じてレベル調整処理を行うことを特徴とする請求項1から5までのいずれかに記載の信号増幅装置。
The phase synchronization means outputs a warning state that may be unlocked as the synchronization state,
6. The signal amplifying apparatus according to claim 1, wherein the level adjusting unit performs a level adjusting process according to the warning state.
前記位相同期手段は、同期可能な周波数帯域を有し、アンロック状態であっても当該周波数帯域の前記基準クロックを出力することを特徴とする請求項1から6までのいずれかに記載の信号増幅装置。   7. The signal according to claim 1, wherein the phase synchronization means has a synchronizable frequency band and outputs the reference clock in the frequency band even in an unlocked state. Amplification equipment. 前記位相同期手段は、同期可能な周波数帯域を有し、アンロック状態のときに当該周波数帯域に近い周波数の前記基準クロックを出力することを特徴とする請求項1から7までのいずれかに記載の信号増幅装置。   The said phase synchronization means has a frequency band which can be synchronized, and outputs the said reference clock of the frequency close | similar to the said frequency band in the unlocked state. Signal amplifier. 基準クロックをもとに入力信号を変調する変調工程と、
変調された入力信号を増幅して出力する増幅工程と、
当該ソースクロックをもとに、位相同期処理により前記基準クロックを生成する基準クロック生成工程と、
前記ソースクロックと生成した前記基準クロックの同期状態を出力する同期状態出力工程と、
前記増幅工程の動作を前記位相同期処理の同期状態に応じて制御する出力制御工程と、
を備えることを特徴とする信号処理方法。
A modulation process for modulating an input signal based on a reference clock;
An amplification step of amplifying and outputting the modulated input signal;
A reference clock generating step for generating the reference clock by phase synchronization processing based on the source clock;
A synchronization state output step of outputting a synchronization state of the source clock and the generated reference clock;
An output control step of controlling the operation of the amplification step according to the synchronization state of the phase synchronization process;
A signal processing method comprising:
前記出力制御工程は、前記同期状態出力工程において出力された前記同期状態がアンロックであるときに前記増幅工程の動作による出力をオフにすることを特徴とする請求項10に記載の信号処理方法。   11. The signal processing method according to claim 10, wherein the output control step turns off the output due to the operation of the amplification step when the synchronization state output in the synchronization state output step is unlocked. . 前記変調工程は、前記同期状態出力工程において出力された前記同期状態がアンロックであるときに、前記増幅工程の動作による出力をオフにする動作の前に、ノイズ低減処理を行うことを特徴とする請求項10または11に記載の信号処理方法。   In the modulation step, when the synchronization state output in the synchronization state output step is unlocked, a noise reduction process is performed before the operation of turning off the output due to the operation of the amplification step. The signal processing method according to claim 10 or 11. 前記同期状態出力工程において出力された前記同期状態がアンロックとなったときに、所定のタイマ時間でタイマ動作を開始し、前記タイマ時間に達したときに、前記増幅工程の動作をオフにする信号を出力するタイマ動作工程を備えることを特徴とする請求項12に記載の信号処理方法。   When the synchronization state output in the synchronization state output step is unlocked, a timer operation is started with a predetermined timer time, and when the timer time is reached, the operation of the amplification step is turned off. The signal processing method according to claim 12, further comprising a timer operation step of outputting a signal. 前記同期状態出力工程において出力された前記同期状態がアンロックであるときに、前記増幅工程の動作による出力をオフにする動作の前に、前記変調工程に入力される入力信号の信号レベルを下げるレベル調整処理を行うレベル調整工程を備えることを特徴とする請求項10から13までのいずれかに記載の信号処理方法。   When the synchronization state output in the synchronization state output step is unlocked, the signal level of the input signal input to the modulation step is lowered before the operation of turning off the output due to the operation of the amplification step The signal processing method according to claim 10, further comprising a level adjustment step of performing level adjustment processing. 前記同期状態出力工程は、前記同期状態としてアンロックのおそれのある警告状態を出力し、
前記変調工程は、前記警告状態に応じてノイズ低減処理を行う
ことを特徴とする請求項11から14までのいずれかに記載の信号処理方法。
The synchronization state output step outputs a warning state that may be unlocked as the synchronization state,
The signal processing method according to claim 11, wherein the modulation step performs noise reduction processing according to the warning state.
前記同期状態出力工程は、前記同期状態として、アンロックのおそれのある警告状態を出力し、
前記レベル調整工程は、前記警告状態に応じてレベル調整処理を行う
ことを特徴とする請求項11から15までのいずれかに記載の信号処理方法。
The synchronization state output step outputs a warning state that may be unlocked as the synchronization state,
The signal processing method according to claim 11, wherein the level adjustment step performs level adjustment processing according to the warning state.
前記同期状態出力工程は、同期可能な周波数帯域を有し、アンロック状態であっても当該周波数帯域の前記基準クロックを出力することを特徴とする請求項11から16までのいずれかに記載の信号処理方法。   17. The synchronization state output step has a synchronizable frequency band, and outputs the reference clock of the frequency band even in an unlocked state. Signal processing method. 前記同期状態出力工程は、アンロック状態のときに出力する前記基準クロックの周波数に上限及び下限を設けていることを特徴とする請求項11から16までのいずれかに記載の信号処理方法。   17. The signal processing method according to claim 11, wherein the synchronization state output step sets an upper limit and a lower limit for the frequency of the reference clock output in the unlock state.
JP2008209890A 2008-08-18 2008-08-18 Signal amplification apparatus and signal processing method Pending JP2010045726A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008209890A JP2010045726A (en) 2008-08-18 2008-08-18 Signal amplification apparatus and signal processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008209890A JP2010045726A (en) 2008-08-18 2008-08-18 Signal amplification apparatus and signal processing method

Publications (1)

Publication Number Publication Date
JP2010045726A true JP2010045726A (en) 2010-02-25

Family

ID=42016697

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008209890A Pending JP2010045726A (en) 2008-08-18 2008-08-18 Signal amplification apparatus and signal processing method

Country Status (1)

Country Link
JP (1) JP2010045726A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012033182A1 (en) * 2010-09-10 2012-03-15 日本電気株式会社 Transmitter, control method, computer program, and δς modulator
WO2021153340A1 (en) * 2020-01-27 2021-08-05 ローム株式会社 Class-d amplifier module, audio system, and automobile

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55140332A (en) * 1979-04-19 1980-11-01 Toyo Commun Equip Co Ltd Phase lock loop voltage control crystal oscillator type variable multiplier
JPS5933908A (en) * 1982-08-18 1984-02-24 Nec Corp Signal interrupting circuit
JPS6290053A (en) * 1985-10-15 1987-04-24 Hitachi Cable Ltd Synchronization limiting method in phase locked loop
JPH03131124A (en) * 1989-10-17 1991-06-04 Fujitsu Ten Ltd Audio reproducing circuit
JP2002039654A (en) * 2000-07-24 2002-02-06 Sony Tektronix Corp Signal measuring device
JP2002176325A (en) * 2000-09-22 2002-06-21 Texas Instruments Inc Digital amplifier
JP2004201185A (en) * 2002-12-20 2004-07-15 Sony Corp Audio amplifier
JP2007181148A (en) * 2005-12-28 2007-07-12 Sony Corp Digital amplifier and method for muting digital amplifier

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55140332A (en) * 1979-04-19 1980-11-01 Toyo Commun Equip Co Ltd Phase lock loop voltage control crystal oscillator type variable multiplier
JPS5933908A (en) * 1982-08-18 1984-02-24 Nec Corp Signal interrupting circuit
JPS6290053A (en) * 1985-10-15 1987-04-24 Hitachi Cable Ltd Synchronization limiting method in phase locked loop
JPH03131124A (en) * 1989-10-17 1991-06-04 Fujitsu Ten Ltd Audio reproducing circuit
JP2002039654A (en) * 2000-07-24 2002-02-06 Sony Tektronix Corp Signal measuring device
JP2002176325A (en) * 2000-09-22 2002-06-21 Texas Instruments Inc Digital amplifier
JP2004201185A (en) * 2002-12-20 2004-07-15 Sony Corp Audio amplifier
JP2007181148A (en) * 2005-12-28 2007-07-12 Sony Corp Digital amplifier and method for muting digital amplifier

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012033182A1 (en) * 2010-09-10 2012-03-15 日本電気株式会社 Transmitter, control method, computer program, and δς modulator
US8873611B2 (en) 2010-09-10 2014-10-28 Nec Corporation Transmitter, control method, computer program and delta-sigma modulator
WO2021153340A1 (en) * 2020-01-27 2021-08-05 ローム株式会社 Class-d amplifier module, audio system, and automobile

Similar Documents

Publication Publication Date Title
US11804813B2 (en) Class D amplifier circuit
US7492217B2 (en) On-the-fly introduction of inter-channel delay in a pulse-width-modulation amplifier
US7795970B2 (en) Reduction of dead-time distortion in class D amplifiers
US8416017B2 (en) Circuit and method for reducing noise in class D amplifiers
KR100810853B1 (en) Apparatus and method for preventing pop noise in audio output apparatus
JP4513832B2 (en) Class D amplifier circuit
JP2010200216A (en) Class-d amplifier
JP2011066558A (en) Class-d amplifier
JP2006041734A (en) Automatic level adjusting circuit
JP2010034775A (en) Short-circuit detecting circuit
JP2010045726A (en) Signal amplification apparatus and signal processing method
US7492218B2 (en) Digital amplifier apparatus and method of resetting a digital amplifier apparatus
JP4657252B2 (en) Charge pump circuit and slice level control circuit
JP3904508B2 (en) Digital switching amplifier
JP2006174268A (en) Digital amplifier
JP4885835B2 (en) ΔΣ modulator, ΔΣ modulation stop method, program, and recording medium
JP4455395B2 (en) Muting judgment circuit and muting circuit
JP2004146868A (en) Digital amplifier
JP2020041953A (en) Semiconductor device and sound output device
JP2014204296A (en) Signal amplification device and signal supply control method
US11509272B2 (en) Time encoding modulator circuitry
US9431984B2 (en) Acoustic apparatus
JP2004504750A (en) Switching control circuit
US7436256B2 (en) Systems and methods for maintaining minimum pulse width during shutdown
JP4466695B2 (en) Class D amplifier circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100826

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111025

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111101

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120306