I assumed that rather than implementing audio feedback, he meant just
measure the device turn on and turn off times, and feedforwardly tweak
the on and off times by that to cancel the problem. Thus all digital.
[/QUOTE]
Yes this is what I was arguing and I believe Win understood the point.
Win is quite right that the system would not be truely completely digital.
The measuement would contain at least a small analog section.
Assuming that, I will now disagree with Win (or maybe this is just a
misunderstanding):
Switching times alter with load current and temperature. You can never
fix the problem reliably that
way.
If we assume that the switching frequency is well above the highest signal
frequency and that the amplifier is never driven to clipping, I think we
can make the following simplifications:
(1)
The die temperature does not change much from on cycle to the next.
(2)
The current in the MOS-FET, the next time its on, will be predictable
based on the previous input data and the newest point.
(3)
The delay characteristics of a MOSFET at a certain temperature and current
changes only very slowly as it ages.
Based on this, I suggest that a clever enough circuit that contains the
following would work:
You will need some circuit to convert the large amplitude signal that
indicates whether the MOS-FET is conducting or not into a digital logic
level.
This logic signal would be connected to some sort of counter clocked at,
lets say, 5GHz. This counter would measure the time between the ideal
turn on time and the true turn on time and the ideal turn off to true turn
off.
either:
(A)
The numbers from this counter are fed back to the PWM circuit which is
also clocked at 5GHz. In the PWM circuit, the delay times are subtracted
from the ideal times and these corrected times are then used to drive the
outputs.
or:
(B)
The numbers from the counter are used to keep a table discribing the
MOS-FETS characteristics up to date. Values from this table are then used
to adjust the numbers before they are presented to the PWM output section.
The weakness in this idea is that it assumes that the MOSFET delays and
then switches perfectly after that delay. This circuit can improve
matters but without correcting for the actual turn on and turn off shapes,
the results will still be less than ideal.