The purpose of ALC is to limit AF input beyond a certain defined limit,
which in this case is 0 dB; the point where the A/D converter begins to
clip. By doing so, the secondary affect is that you are not over driving
the PA which could induce a decrease the linearity of it causing splatter
and RF output is reduced accordingly eliminating RF "spikes".
The algorithm that is responsible for this has to do several things.
First
it has to monitor the AF input. If it exceeds the AF threshold (0 dB),
then
it has to reduce the AF input gain by a certain amount in order to be
below
the AF threshold setting. Obviously it would do no good, just to turn
off
the AF input resulting in no RF output and some really choppy audio, so
it
has to ramp down or decrease the AF input gain by an amount (aka the ALC
clamping value) that is in excess of the AF threshold point. This does
not
happen instantaneously.
The algorithm has three variables that are exposed to the user for
adjustment; attach, decay and hang. All of which have units in the time
domain (milliseconds (ms).
So here is simplified explanation of how it works. I am doing this from
memory since it has been a long time since I looked at the code.
The software detects that the AF input gain has exceeded the threshold
limit, say by +3 dB
How quickly ALC responds to this event is determined by the ATTACK
parameter. The default for this is 2 ms. So when the AF threshold is
exceeded by 2 ms, the ALC clamping or gain reduction of the AF input
signal
reduces the AF input gain by -3 dB achieving the threshold limit of 0 dB.
Once the ALC has clamped the AF gain "spike", it will continue to
attenuate the RF at that clamping value for a fixed amount of time. This
is
the HANG value and for PowerSDR the default is 500 ms.
Once the HANG time has been exceeded, rather than setting the clamping
value back to 0 immediately, it slowly decreases the AF gain clamping
value
back to 0 over a specific time period. This is so there isn't an abrupt
change in your AF input gain, making audio transitions smoother and more
natural sounding. This is the DECAY value and its default is 10 ms.
So the net effect is that your AF gain input does not exceed 0 dB, even
on
multiple voice peaks within the HANG period, making you audio sound
better
(no clipping of the ADC) and reduces RF spikes in excess of the RF drive
value you have set.
Now, with all this explained, let me say that is a properly configured AF
input signal path, you should never exceed 0 dB of AF input gain causing
the
ALC algorithm to be invoked. You get no appreciable improvement in
output
talk power by setting your mic gain to the point that it is banging up
against the 0 dB ALC threshold limit causing the radio to attenuate your
input mic gain. What you will get is slightly distorted audio from the
time
between clipping the ADC and having ALC kick in. Peaking your mic input
gain at -2 dB is plenty of "drive" and will result in getting the full
100
watts PEP out of your radio. I actually use the ALC TX meter rather than
the MIC meter for this purpose and make sure that it never exceeds -1 dB
under any circumstance (voice peaks).
-Tim
-----Original Message-----
From: [email protected] [mailto:
[email protected]] On Behalf Of Burke Schlott
Sent: Tuesday, December 14, 2010 9:27 AM
To: [email protected]; [email protected]
Subject: [FlexEdge] ALC
Hi,
Does anyone have an insights as to how the 3 functions work in the ALC
tab?
The manual is rather vague.
Thanks,
Burke
_______________________________________________
Flexedge mailing list
[email protected]
http://mail.flex-radio.biz/mailman/listinfo/flexedge_flex-radio.biz
This is the FlexRadio Systems e-mail Reflector called FlexEdge. It is
used
for posting topics related to SDR software development and
experimentalist
who are using beta versions of the software.
_______________________________________________
Flexedge mailing list
[email protected]
http://mail.flex-radio.biz/mailman/listinfo/flexedge_flex-radio.biz
This is the FlexRadio Systems e-mail Reflector called FlexEdge. It is
used
for posting topics related to SDR software development and
experimentalist
who are using beta versions of the software.