admcf340 Analog Devices, Inc., admcf340 Datasheet - Page 22

no-image

admcf340

Manufacturer Part Number
admcf340
Description
Dashdsptm 64-lead Flash Mixed-signal Dsp With Enhanced Analog Front End
Manufacturer
Analog Devices, Inc.
Datasheet
ADMCF340
Analog Front End
The main analog inputs of the ADMCF340 (I
I
front end blocks. Figure 14 shows the block diagram of a single
analog front end.
Each analog front end has two analog inputs: voltage and
current. A 2-to-1 multiplexer selects which input will be
converted; the multiplexer selection is determined by the
MODECTRL Register.
The current input (I
(Gain –2.5). There is an output offset that matches the amplifier
output signal range to the input signal range of the A/D converter.
The amplifier has a built-in over current and open circuit protec-
tion. The over current protection shuts down the PWM block
when the voltage at any of the I
old (high or low). The open-circuit protection shuts down the
PWM block when any of the I
(for example the current sense resistor or the current transducer
is disconnected). The shut-down signals generated by the amplifi-
ers are then OR-ed and filtered in order to avoid spurious trip
caused by the switching of the power devices. The amplifier is
followed by a sample-and-hold amplifier (SHA). The SHA time
is user-programmable through the SHA Timer Register. The
sampling time is set as a delay from the rising edge of the
PWMSYNC signal and is calculated as:
The SHA Timer Counter has a minimum reload value of 0x0003,
which ensures a minimum settling time of the SHA output in
case the user is programming the SHA Timer Register to a value
smaller than 0x0003. This means that the sampling time is program-
mable from 5 T
3.28 ms for a CLKOUT rate of 20 MHz). The sampling time,
however, is limited to the rising edge of the following PWMSYNC
SENSE
3) are connected to the ADC converter through three
T
CK
SAMPLE
to 65535 T
SENSE
=
) is amplified through a bipolar amplifier
(
ADC REGISTER
SHA CNT
ISENSE INPUT
SHA STATUS
SHA TIMER
PWMSYNC
SENSE
COUNTER
SENSE
CK
_
CYCLE
(corresponding to 250 ns to
pins exceeds the trip thresh-
VC
inputs is in high impedance
Figure 15. ADC Conversion Sequence of a Current Input
N – 1
+
X
2
)
1
T
×
DATA READY
SAMPLED ON
SAMPLE
CYCLE N – 2
T
SENSE
T
2
CK
S
N
1 through
3
INVALID
H
LSB = 1
4
N + 1
5
–22–
DATA READY
SAMPLED ON
T
CYCLE N
SAMPLE
6
T
cycle. Each channel has an independent amplifier, SHA, and
SHA timing unit/state machine. Figure 15 shows a conversion
sequence of a single channel.
At the beginning of the cycle N (rising edge of PWMSYNC
signal (1)), the Timer Counter is loaded with the value con-
tained in the SHA_CNT Register. After the Timer Counter has
been reloaded, it starts counting down at the CLKOUT rate; in
this phase the SHA state-machine forces the SHA in TRACK
(sample) status.
When the counter reaches the value of 0x0000 (after the time
T
machine forces the SHA in HOLD status.
The conversion of the sampled value is then taking place in the
cycle N + 1 (from (4) to (5)) in Figure 16 and the result of the
conversion is available on the ADC Register at the cycle N + 2
(rising edge of PWMSYNC (5)).
On cycle N + 2, the reload value of the Timer Counter exceeds the
period of the PWMSYNC signal. In this case the SHA state ma-
chine forces the SHA in HOLD status at the rising edge of
PWMSYNC of the next cycle (7). The conversion then takes place
on cycle N + 3 and the conversion result is available on the ADC
Register at the cycle N + 4 (rising edge of PWMSYNC (9)).
During the acquire phase (the PWMSYNC cycle during the
sampling of the input value) the conversion takes place. How-
ever, the value on the ADC Register is not considered valid.
This condition is signaled by the ADC by setting the LSB of the
ADC Register to high.
On cycle N + 4, at the rising edge of the PWMSYNC signal (9),
the Timer Counter is reloaded with a value smaller than the
PWMSYNC pulsewidth. In this case the SHA samples within
the PWMSYNC pulsewidth and the conversion takes place in
the same PWMSYNC cycle (from (10) to (11)).
N + 2
SAMPLE
7
S
T
INVALID
LSB = 1
8
SAMPLE
from the rising edge of PWMSYNC), the SHA state-
TRACK
H
N + 3
9
SAMPLED ON
DATA READY
S
CYCLE N + 2
10
N + 4
H
T
SAMPLE
11
S
SAMPLED ON
DATA READY
CYCLE N + 4
T
12
N + 5
H
REV. 0

Related parts for admcf340