Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
ANALOGUE SIGNAL PATHS
Document Type and Number:
WIPO Patent Application WO/2018/220353
Kind Code:
A1
Abstract:
This application relates to audio circuits, such as audio driving circuits, with improved audio performance. An audio arrangement (200) has an audio circuit (201) with a forward signal path between an input (102) for an input digital audio signal (DIN) and an output (103) for an output analogue audio signal (ΑOUT). The circuit also has a feedback path comprising an analogue-to-digital conversion module (202) for receiving an analogue feedback signal (VFB) derived from the output analogue audio signal and outputting a corresponding digital feedback signal (DFB). The analogue-to-digital conversion module (202) has an ADC (108), an analogue gain element (203) configured to apply analogue gain (GA) to the analogue feedback signal before the ADC and a digital gain element (204) for applying digital gain (GD) to a signal output from the ADC. A gain controller (205) controls the analogue gain and the digital gain applied based on the input digital audio signal (DIN).

Inventors:
LESSO JOHN PAUL (GB)
Application Number:
PCT/GB2018/051441
Publication Date:
December 06, 2018
Filing Date:
May 25, 2018
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
CIRRUS LOGIC INT SEMICONDUCTOR LTD (GB)
International Classes:
H03F3/217; H03M3/00; H03M1/18; H03M1/70
Foreign References:
US20130156207A12013-06-20
US20160036472A12016-02-04
US7362821B12008-04-22
US20160126968A12016-05-05
Attorney, Agent or Firm:
HOWELL, Matthew (GB)
Download PDF:
Claims:
CLAIMS

An audio circuit comprising: a forward signal path with an input for an input digital audio signal and an output for an output analogue audio signal; a feedback path comprising an analogue-to-digital conversion module for receiving an analogue feedback signal derived from the output analogue audio signal and outputting a corresponding digital feedback signal; wherein the analogue-to-digital conversion module comprises an analogue-to-digital converter (ADC); an analogue gain element configured to apply analogue gain to the analogue feedback signal before the ADC; and a digital gain element for applying digital gain to a signal output from the ADC; and a gain controller for controlling the analogue gain and the digital gain applied based on the input digital audio signal, wherein the analogue gain element is a variable analogue gain element and the digital gain element is a variable digital gain element and the gain controller selectively controls the analogue gain of the variable analogue gain element and the digital gain of the variable digital gain element.

An audio circuit as claimed in claim 1 wherein the gain controller is configured to control the analogue gain and the digital gain such that digital gain at least partly reverses the analogue gain applied by the analogue gain element.

An audio circuit as claimed in claim 1 wherein said ADC, said analogue gain element and said digital gain element are located in a first ADC path and wherein the analogue-to- digital conversion module comprises at least one further ADC path configured to receive the analogue feedback signal, wherein each further ADC path comprises an ADC and is configured to apply different amounts of analogue gain and digital gain; and wherein the gain controller selects the ADC paths that contribute to the digital feedback signal.

An audio circuit as claimed in claim 3 wherein one further ADC path is configured such that the analogue feedback signal is supplied to the ADC for that ADC path without any analogue gain applied.

An audio circuit as claimed in any preceding claim wherein the gain controller controls the analogue gain to apply a relatively higher analogue gain for relatively lower magnitudes of the input digital audio signal.

An audio circuit as claimed in any preceding claim wherein the gain controller is configured to receive a version of the input digital audio signal.

An audio circuit as claimed in claim 6 wherein the gain controller comprises an envelope detector configured to receive a version of the input digital audio signal and determine an envelope value for the input digital audio signal.

An audio circuit as claimed in claim 6 or claim 7 wherein the gain controller is configured to receive the version of the input digital audio signal which is tapped from the forward signal path upstream of a digital module that has an associated digital propagation delay.

9. An audio circuit as claimed in claim 9 wherein the digital module comprises an

upsampling module. An audio circuit as claimed in any of claims 1 to 5 wherein the gain controller is configured to receive an envelope signal indicative of an envelope value for the input digital audio signal.

An audio circuit as claimed in any preceding claim wherein the forward signal path comprise a digital variable gain module for applying a variable digital gain to the forward signal path.

An audio circuit as claimed in claim 9 wherein the gain controller is configured to an indication of the variable digital gain applied to the forward signal path.

13. An audio circuit as claimed in claim 12 when dependent directly or indirectly on claim 7 wherein the envelope detector is configured to modify the envelope value based on the indication of the variable digital gain applied to the forward signal path.

14. An audio circuit as claimed in any preceding claim comprising a digital-to-analogue converter (DAC) in the forward signal path.

15. An audio circuit as claimed in claim 14 comprising an analogue amplifier in the forward signal path downstream of the DAC.

An audio circuit as claimed in claim 15 wherein the analogue amplifier is operable to provide a variable amplification gain and wherein the gain controller is configured to receive an indication of the amplification gain and to control the analogue gain and the digital gain applied by the analogue-to-digital conversion module also based on the amplification gain.

17. An audio circuit as claimed in any of claims 1 to 11 comprising a class-D amplifier in the forward signal path.

18. An audio circuit as claimed in claim 17 wherein the analogue feedback signal is derived from downstream of a filter coupled to the class-D amplifier.

19. An audio circuit as claimed in any preceding claim wherein the audio circuit is configured to drive a bridge-tied load.

20. An audio circuit as claimed in any preceding claim wherein said forward signal path is a first forward signal path and the audio circuit further comprises a second forward signal path that extends between a branch node of the first signal path and a second output for an output analogue audio signal.

21. An audio circuit as claimed in claim 20 wherein the second forward signal path

comprises a digital inverter for inverting a digital signal tapped from the branch node of the first signal path.

22. An audio circuit as claimed in claim 20 or claim 21 wherein: said feedback path is a first feedback path for receiving said analogue feedback signal derived from the output analogue audio signal at the output of the first forward signal path and for outputting a corresponding digital feedback signal for processing in the first forward signal path downstream of the branch node; and the audio circuit further comprises a second feedback path comprising a second

analogue-to-digital conversion module for receiving a second analogue feedback signal derived from the output analogue audio signal at the output of the second forward signal path and outputting a corresponding digital feedback signal for processing in the second forward signal path.

23. An audio circuit as claimed in claim 22 wherein: said second analogue-to-digital conversion module comprises a second analogue-to- digital converter (ADC); a second analogue gain element configured to apply analogue gain to the second analogue feedback signal before the second ADC; and a second digital gain element for applying digital gain to a signal output from the second ADC; and said gain controller is configured to control the analogue gains and the digital gains applied by analogue-to-digital conversion modules of both the first and second feedback paths based on the input digital audio signal.

24. An audio circuit as claimed in claim 20 or claim 21 wherein said analogue-to-digital conversion module of said feedback path is configured for receiving said analogue feedback signal derived from the output analogue audio signal at the output of the first forward signal path and also a second analogue feedback signal derived from the output analogue audio signal at the output of the second forward signal path and the audio circuit is configured to modulate the first forward signal path upstream of the branch node based on said digital feedback signal.

25. An audio circuit as claimed in any preceding claim comprising a first processing module for processing the signal in the forward signal path based at least partly on the digital feedback signal.

26. An audio circuit as claimed in claim 25 wherein the first processing module comprises a pre-distortion module for applying a first transfer function to the signal in the forward signal path so as to at least partly compensate for distortion inherent in the forward signal path.

27. An audio circuit as claimed in claim 25 wherein the first processing module is configured to determine an error between the input signal and the digital feedback signal and process the signal in the forward signal path based at least partly on the determined error.

28. An audio circuit as claimed in claim 27 wherein the first processing module is configured to integrate the determined error and subtract the integrated error from the signal in the forward signal path.

29. An audio circuit as claimed in claim 25 wherein the first processing module is configured to combine the signal in the forward signal path with the digital feedback signal and filter the combined signal in the forward signal path.

30. An audio circuit as claimed in any preceding claim wherein the gain controller is further configured to control a bias applied to the ADC based on the input digital audio signal.

31. An audio circuit as claimed in any preceding claim implemented as an integrated circuit.

32. An audio apparatus comprising an audio circuit as claimed in any preceding claim. An audio apparatus as claimed in claim 32 wherein the output of the audio circuit is coupled to an output audio path that comprises at least one non-linear component wherein said analogue feedback signal is derived from the output audio path downstream of the at least one non-linear component.

An audio apparatus as claimed in claim 32 or claim 33 further comprising a first connector for removably connecting to a mating second connector of a peripheral device wherein the apparatus is operable, in use, to supply the output analogue audio signal to the first connector for driving an audio transducer of a connected peripheral device.

An audio apparatus as claimed in any of claims 32 to 34 wherein the audio apparat comprises at least one of: a battery powered device; a portable device; a

communications device; a mobile telephone; a smartphone; a computing device; a laptop; notebook or tablet computer; a gaming device; a personal media player; a wearable device; a voice controlled device.

An audio circuit comprising: a forward signal path having an input node for receiving an input digital audio signal; a signal processing module for the processing the input digital audio signal; a feedback node for receiving an analogue feedback signal derived from said input digital audio signal; an analogue gain element configured to receive the analogue feedback signal and apply a controlled analogue gain; an analogue-to-digital converter (ADC) configured to receive the output of the analogue gain element; a digital gain element configured to receive an output of the ADC and apply a controlled digital gain; and a gain controller configured to receive a version of input digital audio signal and control the analogue gain and the digital gain based on the input digital audio signal.

An audio circuit comprising: a forward signal path for receiving an input digital audio signal and outputting an output analogue audio signal; a feedback path for receiving an analogue feedback signal derived from the output analogue audio signal; and a gain controller for controlling an analogue gain and a digital gain applied before and after an analogue-to-digital converter (ADC) in the feedback path based on the input digital audio signal.

An audio circuit comprising: a forward signal path with an input for an input digital audio signal and an output for an output analogue audio signal; a feedback path comprising an analogue-to-digital conversion module for receiving an analogue feedback signal derived from the output analogue audio signal and outputting a corresponding digital feedback signal; wherein the analogue-to-digital conversion module comprises an analogue-to-digital converter (ADC); an analogue gain element configured to apply analogue gain to the analogue feedback signal before the ADC; and a digital gain element for applying digital gain to a signal output from the ADC; and a gain controller for controlling the analogue gain and the digital gain applied. An audio circuit as claimed in claim 38 wherein the gain controller is configured to control the analogue gain and the digital gain applied based on an indication of the level of the input digital audio signal.

An audio circuit as claimed in claim 39 wherein said indication of the level of the input digital audio signal comprises an indication of a digital gain applied in the forward signal path.

41. An audio circuit as claimed in claim 38 wherein said ADC, said analogue gain element and said digital gain element are located in a first ADC path and wherein the analogue- to-digital conversion module comprises at least one further ADC path configured to receive the analogue feedback signal, wherein each further ADC path comprises an ADC and is configured to apply different amounts of analogue gain and digital gain; and wherein the gain controller selects the ADC paths that contribute to the digital feedback signal.

Description:
Analogue Signal Paths

This application relates to methods and apparatus for providing feedback from an analogue signal, in particular an analogue audio signal.

Many electronic devices include some audio functionality, for instance for media playback or voice communication and/or voice control. Increasing audio data may be stored in a digital format and audio signals may be transmitted and processed as digital signals, however there are still a number of functions that may commonly use analogue audio signals. For instance analogue audio signals may be used to drive audio output transducers, e.g. loudspeakers.

Many electronic devices may thus include an audio signal path that receives an input digital audio signal and which converts the digital audio signal to an analogue audio signal. The analogue audio signal may be processed and may be propagated along an analogue part of the signal path, for instance to an audio load such as a loudspeaker. For example, an analogue audio driving signal may be supplied to an audio load of the host device or output to an external peripheral device, which may be removably connected to the host device via suitable connectors, e.g. a plug and socket. The external device could be a peripheral device such as a headset with relatively small loudspeakers, e.g. located in earphones or earbuds or the like. Such headset loudspeakers will typically have a relatively low impedance, say of the order of a few ohms or so.

There is a trend for increasing the audio performance from electronic devices, especially portable electronic devices. However for such devices size and power consumption are also deemed to be important considerations and reducing the size and power may often conflict with increasing audio performance. For example, considering distortion, various factors may contribute to distortion in an audio signal path such as a signal path for an amplifier circuit driving a load. Typically the distortion is worst for lower impedance loads. An amplifier may be designed to maintain adequately low distortion into a low impedance load by increasing the output stage quiescent current, generally requiring larger output driving devices and higher current pre-driver stages.

Distortion may also be managed by designing the amplifier circuitry with multiple amplifier stages to attempt to suppress output distortion by a high open-loop amplifier gain. However these approaches generally increase both the power consumption of the amplifier circuitry and the size and complexity, and hence cost, of the circuitry.

Embodiments of the present disclosure relate to methods and apparatus for audio signal paths that mitigate at least of the above mentioned issues.

Thus according to the present invention there is provided an audio circuit comprising: a forward signal path with an input for an input digital audio signal and an output for an output analogue audio signal; a feedback path comprising an analogue-to-digital conversion module for receiving an analogue feedback signal derived from the output analogue audio signal and outputting a corresponding digital feedback signal; wherein the analogue-to-digital conversion module comprises an analogue-to-digital converter (ADC); an analogue gain element configured to apply analogue gain to the analogue feedback signal before the ADC; and a digital gain element for applying digital gain to a signal output from the ADC; and a gain controller for controlling the analogue gain and the digital gain applied based on the input digital audio signal. The analogue gain element may be a variable analogue gain element. The digital gain element may be a variable digital gain element. The gain controller may selectively control the analogue gain of the variable analogue gain element and the digital gain of the variable digital gain element. The gain controller may be configured to control the analogue gain and the digital gain such that digital gain at least partly reverses the analogue gain applied by the analogue gain element.

In some embodiments the analogue gain element and the digital gain element are located in a first ADC path and the analogue-to-digital conversion module comprises at least one further ADC path. The, or each, further ADC path is also configured to receive the analogue feedback signal, and each further ADC path comprises an ADC and is configured to apply different amounts of analogue gain and digital gain. The gain controller may select the ADC paths that contribute to the digital feedback signal. In such an embodiment one further ADC path may be configured such that the analogue feedback signal is supplied to the ADC for that ADC path without any analogue gain applied.

The gain controller may control the analogue gain to apply a relatively higher analogue gain for relatively lower magnitudes of the input digital audio signal.

In some embodiments the gain controller is configured to receive a version of the input digital audio signal. The gain controller may comprise an envelope detector configured to receive a version of the input digital audio signal and determine an envelope value for the input digital audio signal. The gain controller may be configured to receive the version of the input digital audio signal which is tapped from the forward signal path upstream of a digital module that has an associated digital propagation delay. In some implementations the digital module may comprise an upsampling module. In some embodiments the gain controller is configured to receive an envelope signal indicative of an envelope value for the input digital audio signal.

In some implementations the forward signal path may comprise a digital variable gain module for applying a variable digital gain to the forward signal path. In such case the gain controller may be configured to receive an indication of the variable digital gain applied to the forward signal path. Where the gain controller comprises an envelope detector, the envelope detector may be configured to modify the envelope value based on the indication of the variable digital gain applied to the forward signal path.

In some implementations the circuit may have a digital-to-analogue converter (DAC) in the forward signal path. There may be an analogue amplifier in the forward signal path downstream of the DAC. The analogue amplifier may be operable to provide a variable amplification gain. In which case the gain controller may be configured to receive an indication of the amplification gain and to control the analogue gain and the digital gain applied by the analogue-to-digital conversion module also based on the amplification gain.

In some implementations there may be a class-D amplifier in the forward signal path. The analogue feedback signal may be derived from downstream of a filter coupled to the class-D amplifier. In some embodiments the audio circuit may be configured to drive a bridge-tied load.

In some embodiments the forward signal path may be a first forward signal path and the audio circuit may further comprise a second forward signal path that extends between a branch node of the first signal path and a second output for an output analogue audio signal. The second forward signal path may comprise a digital inverter for inverting a digital signal tapped from the branch node of the first signal path. In some embodiments the feedback path may be a first feedback path for receiving the analogue feedback signal derived from the output analogue audio signal at the output of the first forward signal path and for outputting a corresponding digital feedback signal for processing in the first forward signal path downstream of the branch node. In such a case the audio circuit may further comprise a second feedback path comprising a second analogue-to- digital conversion module for receiving a second analogue feedback signal derived from the output analogue audio signal at the output of the second forward signal path and outputting a corresponding digital feedback signal for processing in the second forward signal path. The second analogue-to-digital conversion module may comprise a second analogue-to-digital converter (ADC); a second analogue gain element configured to apply analogue gain to the second analogue feedback signal before the second ADC; and a second digital gain element for applying digital gain to a signal output from the second ADC. The gain controller may configured to control the analogue gains and the digital gains applied by analogue-to-digital conversion modules of both the first and second feedback paths based on the input digital audio signal.

Alternatively in some embodiments the analogue-to-digital conversion module of the feedback path may be configured to receive the analogue feedback signal derived from the output analogue audio signal at the output of the first forward signal path and also a second analogue feedback signal derived from the output analogue audio signal at the output of the second forward signal path and the audio circuit may be configured to modulate the first forward signal path upstream of the branch node based on said digital feedback signal.

The audio circuit may comprise a first processing module for processing the signal in the forward signal path based at least partly on the digital feedback signal. The first processing module may comprise a pre-distortion module for applying a first transfer function to the signal in the forward signal path so as to at least partly compensate for distortion inherent in the forward signal path. The first processing module may alternatively be configured to determine an error between the input signal and the digital feedback signal and process the signal in the forward signal path based at least partly on the determined error. The first processing module may be configured to integrate the determined error and subtract the integrated error from the signal in the forward signal path. In some embodiments the first processing module may be configured to combine the signal in the forward signal path with the digital feedback signal and filter the combined signal in the forward signal path.

In some examples the gain controller may be further configured to control a bias applied to the ADC based on the input digital audio signal.

The audio circuit may be implemented as an integrated circuit.

Embodiments also relate to audio apparatus comprising an audio circuit according to any of the variants discussed above. In such an apparatus the output of the audio circuit may be coupled to an output audio path that comprises at least one non-linear component wherein said analogue feedback signal is derived from the output audio path downstream of the at least one non-linear component. The apparatus may further comprise a first connector for removably connecting to a mating second connector of a peripheral device wherein the apparatus is operable, in use, to supply the output analogue audio signal to the first connector for driving an audio transducer of a connected peripheral device. The audio apparatus may comprise at least one of: a battery powered device; a portable device; a communications device; a mobile telephone; a smartphone; a computing device; a laptop; notebook or tablet computer; a gaming device; a personal media player; a wearable device; a voice controlled device.

In another aspect there is provided an audio circuit comprising: a forward signal path having an input node for receiving an input digital audio signal; a signal processing module for the processing the input digital audio signal; a feedback node for receiving an analogue feedback signal derived from the input digital audio signal; an analogue gain element configured to receive the analogue feedback signal and apply a controlled analogue gain; an analogue-to-digital converter (ADC) configured to receive the output of the analogue gain element; a digital gain element configured to receive an output of the ADC and apply a controlled digital gain; and a gain controller configured to receive a version of input digital audio signal and control the analogue gain and the digital gain based on the input digital audio signal.

In a further aspect there is provided an audio circuit comprising: a forward signal path for receiving an input digital audio signal and outputting an output analogue audio signal; a feedback path for receiving an analogue feedback signal derived from the output analogue audio signal; and a gain controller for controlling an analogue gain and a digital gain applied before and after an analogue-to-digital converter (ADC) in the feedback path based on the input digital audio signal.

In a further aspect there is provided an audio circuit comprising: a forward signal path with an input for an input digital audio signal and an output for an output analogue audio signal; a feedback path comprising an analogue-to-digital conversion module for receiving an analogue feedback signal derived from the output analogue audio signal and outputting a corresponding digital feedback signal; wherein the analogue-to-digital conversion module comprises an analogue-to-digital converter (ADC); an analogue gain element configured to apply analogue gain to the analogue feedback signal before the ADC; and a digital gain element for applying digital gain to a signal output from the ADC; and a gain controller for controlling the analogue gain and the digital gain applied.

The gain controller may be configured to control the analogue gain and the digital gain applied based on an indication of the level of the input digital audio signal. The indication of the level of the input digital audio signal may comprise an indication of a digital gain applied in the forward signal path. In some implementations the ADC, analogue gain element and digital gain element are located in a first ADC path and the analogue-to-digital conversion module comprises at least one further ADC path configured to receive the analogue feedback signal. Each further ADC path may comprise an ADC and be configured to apply different amounts of analogue gain and digital gain. The gain controller may select the ADC paths that contribute to the digital feedback signal.

Embodiments will now be described by way of example only with reference to the accompanying drawings, of which:

Figure 1 illustrates an example audio signal path;

Figure 2 illustrates an amplifier circuit arrangement according to an embodiment;

Figure 3 illustrates an amplifier circuit arrangement according to a further embodiment;

Figures 4 illustrates an example of an analogue-to-digital conversion module;

Figures 5a and 5b illustrates examples of processing modules for processing a digital audio signal based on a digital feedback signal;

Figures 6a and 6b illustrate example of amplifier circuits for output of differential output signals according to further embodiments.

Embodiments of the invention provide audio circuitry and methods of audio processing. Embodiments provide audio circuits with good audio performance, e.g. in terms of distortion noise etc. Audio circuits according to embodiments of the disclosure may be relatively small circuit area and/or have relatively low power requirements compared to conventional audio circuitry of similar performance. Figure 1 illustrates one example of a generalised audio circuit arrangement 100. An audio circuit 101 has an input node 102 for receiving an audio signal and an output node 103 for outputting an audio signal for a downstream audio component 104. The downstream component 104 is a component that operates with analogue audio signal. As mentioned above however, audio is increasing being stored and transmitted in digital format as far as possible and thus the input signal received at the input node 102 is a digital audio signal D| N . The audio circuit 101 thus comprises a digital-to-analogue converter (DAC) 105 in the forward signal path between the input node 102 and the output node 103 and the audio circuit outputs an analogue audio signal Αουτ at the output node.

One example of such an audio circuit arrangement 100 comprises an audio driving circuit for driving an audio load. Thus the audio circuit 101 may be at least part of an audio driving circuit such as a codec or the like and the audio component 104 may comprise an audio load such as a loudspeaker. The audio load 104 may be part of the same host device as the audio driving circuit 101 or it may be an external load connected, in use, via some suitable connection (omitted from figure 1 for clarity). The audio circuit 101 may be an integrated circuit, in which case the output node 103 could comprise an output terminal, e.g. pin or pad, of the integrated circuit although in some instances the output node could be any suitable node of the signal path downstream of the DAC 105. Likewise the input node 102 could be a suitable pin of the audio circuit 101 or may just be a node of a signal path, for instance coupled to the output of some upstream processing block.

In this example the audio circuit 101 may thus convert the input digital audio signal D| N into an output analogue audio signal Α 0 υτ to be applied to the audio load 104 as a driving signal V D . In some instances the DAC 105 may, itself, be able to output a suitable analogue output signal AOUT. For example the DAC 105 could comprise a class-D amplifier or similar. In some instances however the audio circuit 101 may comprise an analogue amplifier 106 downstream of the DAC 105 to amplifier or buffer the output of the DAC 105 to produce the analogue output signal Α 0 υτ.

In some instances there may be one or more analogue components 107 in the analogue part of the signal path between the output node 103 and the audio component, e.g. audio load, 104. Where the audio circuit 101 is formed as integrated circuit, e.g. a codec or the like, at least some analogue components 107 may be formed external to the integrated circuit 101. For instance, if the DAC 105 is a class-D amplifier the analogue components 107 could comprise filter components. Additionally or alternatively the analogue components may comprise components such as ferrite beads for EM I (electromagnetic interference) reduction for the off-chip signal path.

It will be appreciated by one skilled in the art that the output of a class-D amplifier or the like might be a rail-to-rail output PWM signal which is low-filtered by some downstream elements, which may include a load being driven by the class-D amplifier and/or some dedicated filter components. As used in this specification the term analogue signal will include the output of a class-D amplifier.

As noted above there is a general trend towards requiring high quality audio performance, i.e. to ensure that the audio driving signal V D supplied to the audio load meets certain

performance criteria, e.g. in terms of fidelity, noise, dynamic range etc. However to achieve the required performance in an open-loop analogue signal path may require the use of analogue circuitry which is relatively large and/or has relatively high power consumption. For example amplifier 106 may be designed to maintain relatively low distortion through the use of relatively large output stage quiescent currents and/or using multiple amplifier stages with a high open-loop amplifier gain, but these approaches require relatively high power

consumption and/or a relatively large circuit area for the amplifier. Generally it is desired to keep power and size requirements as low as possible. One way to improve performance could be to use feedback. Feedback of the analogue audio signal, either the driving signal V D or the analogue output signal Αουτ, can provide useful information about the analogue audio signal, for instance the amount of distortion, noise etc. which may be used to increase performance, e.g. by adjusting parameters to optimise the audio performance and/or to compensate for errors introduced by the signal processing.

In general, for power and size reasons it is advantageous for audio circuit to comprise digital circuitry as far as possible. Thus an analogue-to-digital converter (ADC) 108 could be provided to receive an analogue feedback signal V F B- The analogue feedback signal V F B could be tapped from the downstream signal path and received via a node, e.g. pin, 109, and thus be indicative of the driving signal V D . Alternatively the analogue feedback signal V F B could be provided by an on-chip feedback path 110 and indicative of the analogue output signal Α 0 υτ· The ADC 108 converts the analogue feedback signal V FB to a digital feedback signal D FB which can be supplied to a processing module 111. The processing module could adjust some aspect of the operation of the audio circuit 101 based on the digital feedback signal D FB so as to improve performance, compared to open-loop operation. For instance the processing module 111 could apply some processing to the input digital audio signal DI N to provide a processed version Dp that may be compensated or corrected for the effects of the downstream components.

In theory such an arrangement could reduce the requirements on the components of the signal path, for instance size and/or power requirements of the DAC 105 and/or amplifier 106 if present, whilst allowing the audio circuit to meet certain performance criteria.

It will be understood that in such an analogue feedback arrangement the performance of the ADC 108 will be important. For example if the ADC 108 introduces noise into the digital feedback signal D FB then such noise may be introduced into the signal in the forward signal path. If the processing module 111 attempts to compensate for distortion in the analogue part of the signal path, the digital feedback signal V FB should be an accurate representation of the relevant analogue audio signal, e.g. Α 0 υτ·

An ADC 108 implemented as illustrated in figure 1 would thus need to have good noise performance, better than that of the forward signal path, in order to provide a benefit.

Conventionally this would require an ADC that would be relatively large and/or with relatively high power requirements. The requirements for the ADC may be such that there is no size or power benefit compared to implementing a higher specification amplifier.

In embodiments of the present disclosure an audio circuit has a forward signal path with an input for an input digital audio signal and an output for an output analogue audio signal and a feedback path comprising an analogue-to-digital conversion module for receiving an analogue feedback signal derived from the output analogue audio signal and outputting a corresponding digital feedback signal. The analogue-to-digital conversion module comprises an analogue-to- digital converter (ADC) with an analogue gain element, configured to apply analogue gain to the analogue feedback signal before the ADC, and a digital gain element for applying digital gain to a signal output from the ADC and a gain controller for controlling the analogue gain and the digital gain applied based on the input digital audio signal.

Figure 2 illustrates one example of an audio circuit arrangement having an audio circuit 201 according to an embodiment, in which similar components to those discussed with respect to figure 1 are identified by the same reference numerals.

The audio circuit 201, which may be at least part of an integrated circuit, again has a forward signal path between input node 102 and output node 103, for receiving an input digital audio signal D| N and outputting an analogue audio signal Αουτ. As discussed previously the input node 102 may be an input terminal for the audio circuit 201, e.g. a circuit pin or the like, or may be a node of the circuit, e.g. some suitable part of a signal path of the integrated circuit, e.g. the output of a signal processing block. Likewise the output node 103 may be an output terminal, e.g. pin/pad, for the audio circuit 201, or may be a node of a signal path of the audio circuit. The forward signal path has a DAC 105 and may, in some embodiments comprise an amplifier 106 downstream of the DAC 105.

The output analogue audio signal Αουτ may be output to any downstream analogue audio signal path. In the example illustrated in figure 2 the output analogue audio signal Α 0 υτ is propagated, in use, to a relevant audio load, e.g. audio transducer such as a loudspeaker, via a signal path that may include analogue components 107. As discussed above the audio load 104 may be a transducer of an external device connected, in use, via a connector (not shown), e.g. via a tip or ring contact of a jack socket for example.

The audio circuit 201 also comprise a feedback path for receiving a feedback signal V F B derived from the output analogue audio signal Αουτ. In the embodiment of figure 2 the feedback path includes an ADC 108. The ADC 108 forms part of an ADC module 202 which also includes an analogue gain element 203 for applying analogue gain G A to the analogue feedback signal V F B upstream of the ADC 108. The gain adjusted analogue feedback signal V F BI is thus supplied to the ADC 108. The ADC module 202 also includes a digital gain element 204 for applying digital gain G D to the digital signal D F BI produced by the ADC 108 to provide the digital feedback signal D FB . A gain controller 205 is provided to control the gains applied by the ADC module 202. In some embodiments, an anti-aliasing filter 206 may be provided upstream of the ADC module 108 in the feedback path, although such a filter may not be needed if the analogue feedback signal V FB is tapped from the signal path downstream of elements 107 that provide some filtering.

In use the ADC module 202 is operable to vary the gains applied in the feedback path, i.e. the analogue gain G A and the digital gain G D , in producing the digital feedback signal. The gain controller 205 controls the gains applied by the ADC module 202 based on the input digital signal D, N . In some embodiments the analogue gain element 203 and digital gain element 204 may each be variable gain elements so that the respective gain applied, G A or G D , may be controllably varied in use. The gain controller 205 may thus controllably vary the analogue gain G A applied and the digital gain applied G D according to the digital input signal DIN.

The analogue gain GA may be varied so as to provide more positive gain (i.e. a greater boost or reduced attenuation) at lower signal levels and less positive gain (i.e. a reduced boost or increased attenuation) at higher signal levels. The digital gain G D may be varied in a converse fashion, i.e. to provide less positive gain at lower signal levels and more less positive gain at higher signal levels. The variation of the digital gain G D may thus compensate, at least partly, for the variation of the analogue gain G A . In some embodiments the digital gain G D may be varied inversely to the analogue gain so that G A *G D is substantially constant and provides a desired level of overall gain for the feedback path.

As described above the analogue feedback signal V F B is derived from the analogue audio signal AOUT which is output from the audio circuit 201. This analogue audio signal Αουτ is produced based on the received digital audio signal DIN. Thus it will be clear that the digital input signal DIN is indicative of the analogue feedback signal V F B, and in particular the signal level of the voltage feedback signal V F B and how it changes can be determined from the input signal DIN. This allows the analogue gain G A applied to the analogue feedback signal V F B to be set appropriately so as to maximise the use of some operating range of the ADC 108.

Thus, when the input digital audio signal DIN indicates that the level, e.g. envelope, of the analogue feedback signal V FB will be high, the analogue gain GA may be set relatively low. For example if the input digital audio signal DIN indicates that the analogue feedback signal is at or near maximum amplitude, the analogue gain GA may be controlled to a minimum gain setting, i.e. applying lowest boost or greatest attenuation, which allows the gain adjusted feedback signal V F BI to be converted to digital by the ADC 108 without clipping and making use of substantially all of the relevant operating input range of the ADC 108. If the input digital audio signal D| N indicates that the amplitude of the analogue feedback signal V F B reduces, the analogue gain G A may then be increased so that the gain adjusted feedback signal V F BI make use of more of the relevant operating range of the ADC 108 than otherwise would be the case. The analogue gain GA may be controlled so that the gain adjusted feedback signal V F BI makes use of most or substantially all of the relevant operating range of the ADC 108. The digital gain varies in the converse sense so that increased analogue gain applied is offset by a reduced digital gain.

The gain controller 205 may thus control the analogue and digital gain elements 203 to 204 to apply the techniques of dynamic range extension (DRE) to the ADC 108. This provides the advantage of improving the signal-to-noise ratio (SNR) for the digital feedback signal D FB . It will be understood that the ADC 108 will quantify the input analogue voltage level to one of a defined number of digital values and thus, will introduce quantisation noise into the digital output. The quantisation noise depends on the voltage resolution of the ADC 108, which is fixed. By effectively applying an increased analogue gain GA for lower level input signals, together with a corresponding reduced digital gain, the same signal level in the digital feedback signal DI N is produced as if the gain adjustments were not made, but the quantisation noise is effectively attenuated. As mention this improves SNR, at least for lower level signals.

DRE is a known technique, but conventionally DRE techniques for an ADC are implemented with the gains being controlled based on the signals of the signal path in which the ADC itself is located. Thus conventional DRE would control the gains based on an analogue signal supplied to the ADC, possibly after gain adjustment, e.g. by comparing the analogue signal to one or more thresholds. This would however increase the amount of analogue circuitry required. In some instances it may be possible to control the DRE gains applied either side of an ADC based on the digital output from the ADC. However it will be understood that the analogue gain should be set at an appropriate level for the analogue signal input to the analogue gain element. If a relatively high analogue gain was being applied, suitable for a low level analogue signal, it would be necessary to reduce the analogue gain before the analogue signal increases significantly so as to prevent the gain adjusted analogue signal exceeding the input range of the ADC. If the ADC has a relatively long latency associated with conversion, as may be the case with some ADCs, then the digital output from the ADC may lag the input analogue signal by some amount. This may make it difficult to control the analogue and digital gains appropriately, without taking a cautious approach as to the amount of analogue gain that can be applied and thus limiting the possible performance benefits.

In embodiments of the present disclosure the gain applied by the ADC module 202 is controlled based on a digital signal applied to a different signal path. In this particular application it is known that the digital audio signal D| N applied to the forward signal path can be used as a suitable look-ahead for the level of the analogue feedback signal V F B. This allows the analogue and digital gains GA and G D to be controlled appropriately.

Embodiments of the present disclosure thus allow DRE type techniques to be applied with gain control implemented as wholly digital circuitry, which thus can be implemented by relatively small and/or low power circuitry, but without the latency problems associated with the digital feedback signal D F B.

The use of an ADC module 202 with controlled analogue and digital gains GA and G D reduces the requirements on ADC 108 to meet a certain performance standard. In other words an ADC 108 may be implemented as a relatively small and/or low power ADC and control of the analogue and digital gains GA and G D can ensure that the noise in digital feedback signal D F B is relatively low (and the noise of the ADC 108 is reduced compared to no gain variation). The SNR of the digital feedback signal D F B can thus be good enough such that processing module 111 can use the digital feedback signal D FB to provide performance improvements for the forward signal path. As mentioned the gain controller 205 controls the gains applied by the ADC module 202 based on the digital audio signal D| N and in particular on the signal level of the digital audio signal DIN. The gain controller 205 may thus receive a version of the digital audio signal D| N and determine the analogue and digital gains G A and G D based on the level of the digital audio signal DIN. In some embodiments the gain controller 205 may com prise an envelope detector as illustrated in figure 3. An envelope detector 301 of the gain controller may thus be arranged to receive the digital audio signal D| N and determine an envelope value Env for the digital audio signal DIN. There are various ways in which a digital envelope detector may determine an envelope value as would be understood by one skilled in the art. As used herein the term envelope detector will refer to any processing that determines an indication of the signal amplitude level. The envelope detector 301 may have a relatively fast attack time constant to respond quickly to any increases in signal level. The envelope value Env may be provided to control logic 302 of the gain controller 205 to set the analogue and digital gains GA and G D appropriately. Note that the envelope detector 301 could be separate from the control logic 302 and together just provide the functionality of the gain controller 205.

In some embodiments a suitable envelope detector could be off-chip. For instance in some implementations there may be an envelope detector arranged to determine an envelope value for the digital audio signal DIN upstream of the input node 102. In which case the gain controller 205 may be configured to receive the envelope value Env from the upstream envelope detector. In some embodiments the envelope value received may be quantised to some degree and may for instance just be an indication of whether the signal level is above or below some threshold, i.e. the envelope value may be an output from a low-level detector.

A version of the digital audio signal D| N may thus be tapped from the forward signal path (or in some cases upstream of the input node) and supplied to the gain controller 205. In some instance there may be some variable digital gain GVD that may be applied in the forward signal path, downstream of the tap point. For example for an audio driving circuit there may be a user controlled volume setting which is applied as a variable digital gain G V D, for example by digital multiplier 303. If the signal supplied to the envelope detector 301 is tapped from upstream of such variable digital gain G V D, the effect of the variable digital gain GVD should be taken into account in setting an appropriate analogue gain G A for the feedback path. The envelope detector 301 and/or the control logic 302 of the gain controller 205 may thus be provided with the value of the variable digital gain GVD applied.

In some embodiments the gain controller 205 could be configured to control the analogue and digital gains G A and G D applied in the feedback path based on the value of the variable digital gain G V D applied, without determining the envelope or signal level of the actual digital audio signal D| N . In other words the variable digital gain GVD applied, e.g. the user or system controlled volume setting, may be used as an indication of the signal level of the digital audio signal D| N and hence the analogue feedback signal V F B- The variable digital gain GVD applied can be used as an indication of the maximum expected signal level and the analogue and digital gains GA and G D controlled accordingly. This would avoid the need to determine the envelope of the digital audio signal DIN but would not provide the same benefits for low level parts of the signal, and thus controlling the analogue and digital gains GA and G D applied in the feedback path based on the actual digital signal itself, e.g. an envelope value, may be advantageous in some implementations.

In some instances a gain of an analogue component of the forward signal path may also be variable, for instance the may be a variable analogue gain G V A applied by amplifier 106, i.e. an amplification gain. The gain controller 205 may also be provided with an indication of the variable analogue gain GVA applied in the forward signal path so that the analogue gain GA of the feedback path can be set correctly to maximise the used operating range of the ADC 108 whilst avoiding signal clipping, and also to set the analogue and digital gains GA and G D to compensate for any variable analogue gain GVA in the forward signal path. In some embodiments the input digital audio signal D| N may be subjected to some digital processing in the forward signal path before being converted to analogue. Thus there may be a signal processing module 304 in the forward signal path. For example the digital audio signal DIM may be up-sampled prior to being converted to analogue by processing module 304. Such processing may introduce an inherent propagation delay into the forward signal path. In some embodiments the digital signal supplied to the gain controller 205 may be tapped from upstream of the processing module 304. The processing module 304 effectively acts as a delay element, thus providing the gain controller 205 with a greater amount of look-ahead for signal changes in the analogue feedback signal V F B- This allows sufficient time for the envelope detector 301, if present, to determine the envelope value Env, and the control logic 302 to determine and set appropriate gain settings. In some embodiments if there was no such signal processing and/or a greater propagation delay was desired for the forward signal path the module 304 could comprise a digital delay element and thus the processing module may be any component(s) that provides a digital propagation delay.

In some embodiments one or more other parameters of the feedback path may be controlled based on the indication of the level of the input digital audio signal DI N . For instance a bias supplied to the ADC 108 in the feedback path may be varied by the gain controller 205 based on the digital audio signal DI N , e.g. the envelope value Env. As one skilled in the art will appreciate a bias voltage and/or current may be supplied to the ADC 108. The performance of the ADC 108 may partly depend on the bias supplied, for instance the noise performance may be better at higher bias levels, but at the expense of increased power consumption. The bias may thus be varied based on the signal level, for instance it may be increased for lower signal levels to improve SNR but reduced at higher signal levels where the higher signal itself will provide adequate SNR.

As discussed above the ADC module 202 may comprise an analogue gain element 203 that is operable to provide a variable analogue gain GA and a digital gain element that is operable to provide a variable digital gain G D . In some embodiments however the ADC module 202 may comprise a plurality of ADC paths operable to receive the analogue feedback signal V F B. The gain controller 205 may control the gain applied by the ADC module 202 by selecting an appropriate ADC path as the one used to generate the digital feedback signal.

Figure 4 illustrates an embodiment where the ADC module 202 comprise a first ADC path with a first analogue gain GAI and a second ADC path with a second different analogue gain GA2. Figure 4 illustrates that the analogue feedback signal V FB may be divided into the two separate ADC paths. The first ADC path has an analogue gain element 203i for applying a defined first analogue gain GAI. The defined first analogue gain may be a fixed gain and may be non-unity. In this embodiment the first ADC path also has a first ADC 108i and a first digital gain element 204i for applying a first digital gain G D i. The first digital gain G D i may be fixed and may be defined so as to provide a desired overall gain G A i*G D i. The first ADC path may provide a first digital output D 0 i. The first and second ADCs 108i and IO82 may be of substantially identical design.

The second ADC path is configured to apply different analogue and digital gains G A 2 and G D 2- There may thus be a second analogue gain element 203 2 for applying a fixed analogue gain G A 2 and a second digital gain element 204 2 for applying a second fixed digital gain G D 2- The second analogue and digital gains G A 2 and G D 2 are different to the first analogue and digital gains GAI and GDI but may be arranged to provide the same overall gain, i.e. GAI*G D I = GA2*G D 2- The second ADC path may provide a second digital output D02.

In at least some embodiments at least one of the second analogue gain element 2032 or second digital gain element G D 2 may be omitted. If the overall gain of the first signal path GAI*G D I is equal to unity then both the second analogue and digital gain elements may be omitted and the second signal ADC may comprise a second ADC 108 2 without additional ga elements. The gain controller 205 may be configured to select an appropriate one of the first or second ADC paths to be used for generating the digital feedback signal D F B. For instance consider that the second ADC path comprises the second ADC 108 2 only, i.e. there is no second analogue gain element 203 2 or second digital gain element 204 2 and thus GA 2 = G D 2 = 1. The first ADC path has first analogue gain element 203i to apply a gain boost and second digital gain element 204i to apply a corresponding attenuation. For low-level signals the first ADC path will provide a boost to the analogue feedback signal and the first output Doi may provide a suitable output signal with lower noise/improved SN to the first output D02. The first output Doi may thus be selected to provide the digital feedback signal D F B- For higher level signals the boost applied for the first analogue gain element 203i may cause clipping in the first ADC IO81. However the signal in the second ADC path will be converted satisfactorily without clipping. The gain controller 205 may thus select the second output D02 to be used as the digital feedback signal D FB . By selecting either the first ADC path or the second ADC path of the ADC module 202 to be used to provide the digital feedback signal D F B the gain controller thus selectively varies the gains applied by the ADC Module to generate the feedback signal D FB .

The gain controller 205 may receive an indication of the digital audio signal DI N . This can provide a look-ahead for the gain controller 205 as to what changes are expected for the analogue feedback signal V FB . This can allow the gain controller 205 to switch between the various outputs Doi and D02 in a way that minimises any unwanted transients or errors in the feedback signals. For instance the gain controller can be provided with advance warning that a change in output, i.e. from D 0 i to D02 or vice versa, should occur and may be able to time the change to a zero crossing in the feedback signal. Additionally or alternatively there may be some element of cross-fading applied.

In some instances a look-ahead of the analogue feedback signal V FB may not be required and the gain controller 205 could transition from one output to another depending on whether the ADC path for high-level signals is above or below one or more thresholds. Given that there is no need to change the analogue gain applied in any ADC path, and an ADC path which is suitable for high-level signals is always present, the latency requirements are reduced compared to an arrangement with a variable analogue gain. In such a case the digital signal(s) output from the ADC module 202 may be used to select the appropriate gain applied.

However in general it may be advantageous to use the digital input signal to swap between the various digital outputs at appropriate times.

The embodiment of figure 4 thus avoids the need to vary an analogue gain applied in the analogue part of a feedback path, which could introduce audio artefacts. However each different combination of analogue gain G A and digital gain G D is implemented as a separate ADC signal path of the ADC module 202. The number of different gain combinations that can be implemented without requiring a significant amount of additional circuitry is thus relatively limited.

Embodiments of the present disclosure thus provide a digital feedback signal D F B derived from an analogue audio signal Αουτ that can have relatively low noise/good SN whilst being produced by relatively small and/or low power components.

Such a feedback signal D F B can be provided to the processing module 111 and used to improve the performance of the forward signal path in a number of ways.

Figure 5a illustrates one example of a processing module 111 that may receive the digital feedback signal D F B and use the digital feedback signal to apply correction or compensation to the digital audio signal D| N . In the example of figure 5a the processing module subtracts the feedback signal D F B from a version of the digital audio signal DIN to provide a first error signal Ei. This first error signal ει may be input to a functional module 501 which applies a defined function such as integration to generate a compensation signal S c that can be subtracted from the input digital audio signal DIN to compensate or correct for downstream errors. The resultant processed signal D P may be passed to the DAC 105. Figure 5b illustrates another example of processing module 111. In this example the digital feedback signal D F B is subtracted from the input digital audio signal DI N and the resultant error signal is filtered by loop filter 502.

It will be appreciated however that these are just two examples of processing modules and the feedback signal D F B may be used in a variety of ways in different applications.

It will be appreciated that the embodiments described above have been described with reference to a single-ended load with a return to ground. It will of course be appreciated that the output could be an H-bridge type arrangement. The principles of operation would be the same as described. Figure 6a illustrates one example of an audio circuit 601 according to an embodiment for outputting a differential output signal, for example for driving a bridge tied load. The audio circuit 601 thus has first and second output nodes 103P and 103N for outputting a differential output signal suitable for driving a load 104, electrically connected in use as a bridge tied load. In the example of figure 6a the audio circuit is operable with an digital input signal DI N . The circuit has a first forward signal path between the input node 102 and the first output node 103P. In the embodiment of figure 6a a second forward signal path branches off from a branch node of the first forward signal path and extends to a second output node 103P.

Note as used herein, where similar components appear in both the first and second forward signal paths, or associated feedback paths, the components may be identified with the same basic reference numeral, which may in some instances correspond to a reference numeral used previous to describe a similar components in another embodiment, but with a suffix P or N as appropriate to denote the first or second processing paths. The reference numeral may be used without the suffix to refer to such components collectively, or singularly, where appropriate. In the example of figure 6a the second forward signal path comprises a digital inverter 602 for inverting the digital input signal D| N to provide a complementary signal DI N to be processed in the second forward signal path.

The audio circuit 601 illustrated in the example of figure 6a is a class-D driver circuit. Each of the first and second forward signal paths thus comprises a respective class-D output stage 603P and 603N driven respectively by a suitable modulator 604P and 604N. In this example the modulators 604 are PWM (pulse-width-modulation) modulators. Together the PWM modulator 604 and output stage 603 of a signal path can be seen as providing the functionality of the ADC 105 as discussed previously, although it will be understood that the output from the Class-D output stages 603 will be filtered by an off-chip filter arrangement, which may include the load 104 itself, to provide a driving signal for driving the load 104.

In this example each of the first and second forward signal paths has a separate feedback path for providing feedback from the output of the first and second output stages 603P and 603N respectively. In the example illustrated in figure 6a the feedback signals may be derived from on-chip as shown, and thus first and second low-pass filters 605P and 605N may be arranged to filter the tapped feedback signals to provide first and second voltage feedback signals V F BP and V F B N - In other embodiments however the feedback signals could be tapped from off -chip as discussed previously.

The analogue feedback signals V F BP and V F B N are provided to first and second analogue gain elements 203P and 203N, which in this example are programmable gain amplifiers (PGAs). In the embodiment of figure 6a the PGAs 203P and 203P each also receive a common reference voltage V F BR comprising a supply voltage VDD filtered by a low-pass filter 607. This can be advantageous to decouple the feedback from a supply, perhaps less well regulated, used for the power stage. This can allow the output stage 603 to provide a high voltage output, which may be boosted at times, whilst the feedback path may be relatively low voltage.

In variations of this embodiment the common reference voltage V F BR may be a scaled version of a supply voltage VDD, for example VDD/2, and VDD may be substantially equal to the output stage supply voltage.

The output of the PGAs 203P and 203N, which may be a differential output, is supplied to respective feedback ADCs 108P and 108N. The output of the feedback ADCs 108P and 108N are provided to the respective digital gain elements 204P and 204N.

In use the gain of the PGAs 605P and 605N are controlled, at least partly, based on an indication of the signal level of the input signal D| N in a similar manner as discussed previously. It will be understood that the signals at the first and second output nodes 103P and 103N will be of substantially the same magnitude, but opposite polarity, and thus the input signal D| N can be used to determine a suitable analogue gain G A for both the first and second feedback paths and also corresponding digital gains G D . The audio circuit 601 may thus comprise a gain controller 205, which may, in some implementations, have an envelope detector 301 and control logic 302 as discussed previously. As noted previously the digital input signal DI N for the gain controller 205 may be tapped from upstream of a processing module 304, which may for instance comprise an interpolation filter or the like, and which may provide an inherent or deliberately introduced propagation delay to allow time for the relevant analogue and digital gains to be determined.

The respective digital feedback signals D FB p and D F B N are then applied to the first and second forward signal paths respectively by processing modules 111P and 111N, which may for instance include loop filters 501P and 501N arranged as generally discussed with respect to figure 5a. This provides an audio circuit arrangement with the benefit of feedback but without requiring a very high performance feedback ADC.

This arrangement outputs a differential output signal in a pseudo-differential arrangement, with separate feedback for the first and second forward signal paths. Such an arrangement can also be advantageous in terms of power supply rejection ratio. As will be understood by one skilled in the art power supply variations can be seen as a noise terms that may modulate the response of various components of a processing path. For a class-D driver circuit arrangement any supply noise may, in particular, modulate the response of the output stage 603.

In the arrangement of figure 6a, with a differential output stage the supply variation may affect both the output stage 603P and 603N in the same way, thus providing a modulation in the first and second signal paths that varies the common-mode voltage. The first and second feedback paths provide feedback to the first and second forward signal paths, referenced to the decoupled supply voltage provided to the PGAs 203 via the low-pass filter 607 to stabilise the common-mode voltage.

Ideally the first and second feedback paths would have identical signal transfer functions (STFs) so as eliminate any supply noise. In practice though it will be understood by one skilled in the art that there may be resistor mismatches which can lead to the PGAs 203P and 203N having different transfer functions, i.e. different gains, in use. However in the arrangement of figure 6a the effect of any mismatch is mitigated by the gain of the loop filter 501.

Consider that the level of the input signal D| N is represented by X and the output signals at the first and second output nodes 103P and 103N are Y P and Y N respectively. Assume, for ease of analysis, that the signal transfer function (STFs) of the modulators 604 together with output stages 603 is equal to unity and likewise the STF of feedback ADC is also equal to unity. In such a case the output Y P at the first output node 103P is a function of the gain H of the loop filter 501P and also the gain K P of PGA 203P. Likewise the output Y N at the second output node 103P is a function of the gain of the loop filter 501N (which will typically be the same as loop filter 501P, i.e. H) and also the gain K N of PGA 203N.

Supply noise can be modelled as an input Q. applied in the same way to both processing paths at the output stage 603.

1 + H \ ( 1 \ /-(1 + H) ,

d + KpHJ VI + KpHJ <v V 1 + K N H J \1 + K N HJ Eqn. (1)

The differential signal Y = Y P - Y N is thus equal to:

1 + H (- (1 + H)

Y = X +

1 + KpHJ \ 1 + K N H 1 + KpHJ VI + K N H

Eqn. (2) The supply noise term can be rewritten as:

(K N — Kp)H

(1 + KpH)(l + K N H)

Eqn. (3) or:

(K N — Kp)

+ Kp + Kf j + Kp. Kf j

Eqn. (4) It can thus be seen that the noise term thus depends on the extent of any variation between the PGAs 203P and 203N. It will also be seen however that gain H of the loop filter 501 remains part of the denominator and that a higher loop gain thus results in better PS .

The audio circuit illustrated in figure 6a thus provides a differential output signal suitable for driving a bridge-tied load for example, and is a pseudo-differential arrangement with separate feedback paths. An alternative, as illustrated in figure 6b would be to provide differential feedback. Figure 6b illustrates an audio circuit where an input signal D| N is received and feedback applied by processing module before the processed signal D P is tapped and inverted by inverter 602 to provide a signal D PN for the second forward signal path. Each of the first and second forward signal paths has a class-D output state 603 and modulator 604 as discussed with reference to figure 6a.

In the embodiment of figure 6b feedback signals indicative of the output of the first and second output stages 603P and 603N are filtered by low pass filters 605P and 605N and input to a differential-input, differential output PGA 203. PGA 203 may comprise a single differential- input, differential-output op amp, or may comprise two or more op amps.

In this embodiment the output of the PGA 203is input to a differential ADC 108 which determines a digital feedback value D F B as the difference between the outputs of the PGA 203.

It can be shown that for an arrangement such as illustrated in figure 6b, with differential feedback, the supply noise can be seen to have the general form as illustrated in equation 4, but without the KR. K N .H term. Thus the PSRR of the audio circuit of figure 6b is determined mainly by any resistor mismatch and is not as dependent on loop filter gain as the circuit of figure 6a. Note that as used herein the terms 'module' and 'block' shall both be used to refer to a functional unit for performing the stated function. A module or block may be implemented at least partly by dedicated hardware components such as custom defined circuitry and/or at least partly be implemented by one or more software processors or appropriate code running on a suitable general purpose processor or the like. The appropriate code may be stored in memory in the host device. It should also be noted that any components forming part of one module or block may be shared with another module or block and/or the same processor may implement multiple modules or blocks and may already be performing other control or data processing, which include other processing of the audio signal, e.g. pre-conditioning of the audio signal data stream.

The amplifier module 102 may comprise any type of amplifier, for instance of the Class AB type (possibly with Class G or H type power tracking) or a Class D type amplifier (in which case there may be off-chip filter components) whether with fixed or variable power rails. In particular the amplifier module may have variable gain.

Embodiments have been described with reference to an audio driving circuit for driving an audio transducer, which may be an audio transducer or an external device. A reference to an audio transducer shall be taken to include ultrasonic or haptic transducers. The principles of the disclosure would also be applicable to other types of audio circuitry that receive a digital audio signal and output an analogue audio signal. The principles would also be applicable to other types of non-audio signal.

The skilled person will thus recognise that some aspects of the above described apparatus and methods may be embodied as processor control code, for example on a non-volatile carrier medium such as a disk, CD- or DVD-ROM, programmed memory such as read only memory (Firmware), or on a data carrier such as an optical or electrical signal carrier. For many applications, embodiments of the present invention will be implemented on a DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit) or FPGA (Field Programmable Gate Array). Thus the code may comprise conventional program code or microcode or, for example, code for setting up controlling an ASIC or FPGA. The code may also comprise code for dynamically configuring re-configurable apparatus such as re-programmable logic gate arrays. Similarly, the code may comprise code for a hardware description language such as Verilog TM or VHDL. AS the skilled person will appreciate, the code may be distributed between a plurality of coupled components in communications with one another. Where appropriate, the embodiments may also be implemented using code running on a field-(re)programmable analogue array or similar device in order to configure analogue hardware.

Some embodiments of the present invention may be arranged as part of an audio processing circuit, for instance an audio circuit which may be provided in a host device. A circuit according to an embodiment of the present invention may be implemented as an integrated circuit. One or more speakers may be connected to the integrated circuit in use.

Embodiments of the present invention may be implemented in a host device, especially a portable and/or battery powered host device such as a mobile telephone, an audio player, a video player, a PDA, a mobile computing platform such as a laptop computer or tablet and/or a games device, for example.

It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. The word "comprising" does not exclude the presence of elements or steps other than those listed in the claim, "a" or "an" does not exclude a plurality, and a single feature or other unit may fulfil the functions of several units recited in the claims. Any reference numerals or labels in the claims shall not be construed so as to limit their scope. Terms such as amplify or gain include possible applying a scaling factor or less than unity to a signal.