Professional Documents
Culture Documents
Visit analogdialogue.com
In This Issue
Share on
Passive devices also present a lot of potential contact points to the out-
side world, points where ESD events can occur, via manual or machine
handling. Again, this has consequences and risks in overall reliability Discrete Resistors +
and robustness. Discrete Resistors From Same Batch +
Integrated Passive Resistors on a Single Die
Conclusion
At first glance, the use of integrated passives may appear only incremen-
tally more advantageous over more established approaches. The advantages,
however, turn out to be significant and iPassives as employed by ADI are
redefining not just what can be done, but also what speeds, costs, and
sizes are beneficial to customers.
Mark Murphy
Pat McGuinness
Share on
Voltage controlled current sources (VCCSs) are widely used in many areas, R1 R1 R
like medical machine and industrial automation. The dc precision, ac iLR0 1 + + RL 1 – × 4 =
R2 R2 R3
performance, and drive capability of a VCCS are highly important in these
(2)
applications. This article analyzes the enhanced Howland current source R4 R4 R R
(EHCS) circuit’s limitations and shows how to improve it with a composite uin+ + 1 – uin– + 1 × 4
R3 R3 R2 R3
amplifier topology to implement a ±500 mA current source with high
precision and fast settling.
If R1/R2 = R3/R4 = k, the equation is changed to Equation 3. The output
current is independent of the load and only controlled by the input voltage.
Enhanced Howland Current Source It’s an ideal VCCS.
R2
ux uin+ – uin–
uin+ iL = (3)
R1 uo kR0
–
R0
iL
R3
+ Performance Analysis
RL
uin– Equation 3 is based on the ideal system. Figure 3 shows the dc error
R4 analysis model of the EHCS. VOS and IB+/IB– are the input offset voltage
Figure 1. Howland current source circuit.
and bias current of the main amplifier. VOSbuf and IBbuf are the input offset
voltage and bias current of the buffer. The total output error can be
Figure 1 shows the traditional Howland current source (HCS) circuit, while calculated by Equation 4.
Equation 1 shows how the output current can be calculated. The output
current will be constant if R2 is large enough. R1 + R2 R3
IO R0 + RL 1 – × =
R1 R3 + R4
R1 R
1– × 4 R2 R2
R1 1 R2 R3 + 1 × Vos + +1 ×
iLR0 1 + + RL + = R1 R1
R2 R2 R0
(1)
R3R4 R2
R0 R R4 R R × IB+ – +1 × (4)
uin+ + 4 + 1 – uin– + 1 × 4 R3 + R4 R1
R2 R3 R3 R2 R3
R2
R1R2
× IB– + +1 ×
R1 + R2 R1
R2
ux R3
× VOSbuf – IBbuf R0
uin+ R1 uo R3 + R4
–
R0
iL R2
R3
+ RL IB–
uin– R1 Vo
R4
–
VOS R0
We can also calculate the temperature drift of the circuit, which comes R2 1 kΩ
from amplifiers and resistors. Amplifiers’ offset voltage and bias current
change with the work temperature. For most CMOS input amplifiers, the R1 10 kΩ
bias current doubles for every increase of 10°C. The drift of resistors –
R0 2 Ω
changes a lot with different types. For example, carbon composition
R3 10 kΩ
units’ TC is approximately 1500 ppm/°C, while metal film and bulk metal + RL 1 Ω
resistors’ TC can be 1 ppm/°C.
VIN
R4 1 kΩ
ADA4898-1
Table 1. Precision Amplifiers Parameters
ADA4522 5 150 3 1.3 22 In ac specifications, we are more care about settling time, slew rate,
bandwidth, and noise. The settling time is about 60 ns and bandwidth is
ADA4077 25 1500 4 1 22 about 18 MHz as shown in Figure 5. The output current slew rate can
be calculated by measuring the slope of the rising and falling stage. The
LTC2057HV 4 120 2 1.2 26 positive and negative slew rate are +25 A/µs and –25 A/µs. The noise
25 100 1 0.2 13
performance is shown in the output noise density curve. It’s about
LT1012
24 nV/√Hz at 1 kHz.
18 nV/Hz
Table 3. The DC Error of CAEHCS Based on ADA4898
12 nV/Hz
R4 1 kΩ
Test Results
–
The performance of the EHCS and CATHCS based on ADA4898 are shown
Figure 7. EHCS circuit with composite amplifier. in Table 6 and Figure 8.
Bandwidth (MHz) 18 8
Thermal Consideration
(a) The output current of the VCCS can be several hundred milliamperes. The
whole power dissipation can be several watts. If output efficiency is bad,
the temperature of the part will rise rapidly. The thermal resistance (θJA) of
ADA4870 without a head sink can be 15.95°C/W. The temperature rising
can be calculated by using Equation 7.
(b)
RL/Ω Power Dissipation (W) Temperature Rise (°C)
Nick Jiang
Nick Jiang is a product applications engineer in the Analog Devices Linear and
Precision Technology Group, and he is based in Beijing. He graduated from
Xi’an Jiaotong University, with a bachelor’s and master’s degree in electrical
engineering.
Share on
Introduction There has been some published research work on the dc-to-dc converter
Modern signal processing system design utilizing ADCs, PLLs, and RF with a secondary LC output filter.2 – 5 Specifically, the articles “Control Loop
transceivers demands lower power consumption and higher system Design for Two-Stage DC-to-DC Converters with Low Voltage/High Current
performance. Selecting proper power supplies for those noise sensitive Output” and “Comparative Evaluation of Multiloop Control Schemes for
devices is always the pain point for system designers. There is always a a High Bandwidth AC Power Source with a Two-Stage LC Output Filter”
trade-off between high efficiency and high performance. discuss the modeling and control of a two-stage voltage-mode converter,
which can’t be directly applied to a current-mode converter. A current-
Traditionally, LDO regulators are often used to power those noise sensitive mode converter with a secondary LC filter has been analyzed and modeled
devices. LDO regulators reject the low frequency noise that often presents in “Secondary LC Filter Analysis and Design Techniques for Current-Mode-
in system power supplies and they provide clean power to ADCs, PLLs, or Controlled Converters” and “Three-Loop Control for Multimodule Converter
RF transceivers. But LDO regulators usually have low efficiency, especially Systems.” However, both articles have an assumption that the secondary
in systems where LDO regulators must regulate down from a power rail inductor has a much smaller inductance value than the primary inductor,
several volts above their output voltage. In this kind of situation, LDO which is not always eligible in real applications.
regulators typically offer 30% to 50% efficiency, while using switching
regulators can reach 90% or even higher efficiency.
IL L1 V1 L2
VO
Switching regulators are more efficient than LDO regulators, but they are VIN C1 C2
d
too noisy to directly power ADCs or PLLs without significant performance RL
RESR1 RESR2
degradation. One of the noise sources of switching regulators is the
output ripple, which can appear as distinct tones or spurs in ADCs output
spectrum. To avoid degrading the signal-to-noise ratio (SNR) and spurious-
free dynamic range (SFDR), minimizing the output ripple and output noise
of switching regulators can be very important.
Ri
20
Io = 0
0 V1 VO
Gain (dB)
GVV
0 + 0
Vg = 0
0 GF
–20
IL
Ri
0 +
–40
Gvd Gid Ti He Kr 0 1k 10k 100k 1M
GEA Frequency (Hz)
– + VC 200
Fm
+
d
Gvc Vg = 0 0
100
Figure 2. A small signal block diagram of a current-mode buck
converter with a secondary LC filter.
Phase (°)
0
Buck Converter Example
The new small signal model is demonstrated with a current-mode buck
converter with the following parameters: Mc = 1
–100
Mc = 2
XX Vg = 5 V Mc = 4
Mc = 8
XX Vo = 2 V Mc = 32
–200
XX L1 = 0.8 μH 0 1k 10k 100k 1M
XX L2 = 0.22 μH Frequency (Hz)
20
RB
Slope
PWM VC
0 GVC EA
VREF
–20
Gain (dB)
Io = 0
–40 0 V1 VO
GVV
Mc = 1 0 +
–60 Mc = 2
Mc = 4 Vg = 0
Mc = 8
Mc = 32 GF1 GF2
0
–80 IL
0 1k 10k 100k 1M Ri
0 +
Frequency (Hz)
200
Gvd Gid Ti He Kr
GEA
– + VC
100 Fm
+
d
Gvc Vg = 0 0
Phase (°)
0
Figure 5. A current-mode buck converter with a proposed hybrid
feedback method, showing (a) a circuit diagram and (b) a small
signal model.
–100 Mc = 1
Mc = 2 The Feedback Network Transfer Function
Mc = 4
Mc = 8 The resulting equivalent transfer function (see Equation 31 and Equation 32
Mc = 32
–200 in Appendix II) of a hybrid feedback structure differs significantly from the
0 1k 10k 100k 1M transfer function of conventional resistor divider feedback. The new hybrid
Frequency (Hz) feedback transfer function has more zeros than poles, and the additional
Figure 4. Control-to-output transfer function for a buck converter zeros will lead to 180° phase ahead at the resonant frequency determined
by L2 and C2. Therefore, with the hybrid feedback method, the additional
The Hybrid Feedback Method phase delay in control-to-output transfer function will be compensated
for by the additional zeros in the feedback transfer function, which will
This article presents a new hybrid feedback structure, as Figure 5(a) facilitate the compensation design based on the complete control-to-
shows. The idea of hybrid feedback is to stabilize the control loop by feedback transfer function.
using an additional capacitor feedback from the primary LC filter. The
Apart from those parameters in the power stage, there are two more
parameters in the feedback transfer function. Parameter β (see Equation 30
in Appendix II) is the output voltage magnification ratio, which is already 20
well-known. However, the parameter α is a brand new concept.
Gain (dB)
0
to understand the behavior of the feedback transfer function. Figure 6
exhibits the change trend of the zeros in the feedback transfer when α is
decreased. It clearly shows that one pair of conjugate zeros will be pushed
from left half plane (LHP) to right half plane (RHP) with decreased α. –20
α = 1000 × 10–6
α = 100 × 10–6
α = 40 × 10–6
Right Half Plane (RHP) α = 10 × 10–6
3 –40
0 1k 10k 100k 1M
Frequency (Hz)
2
Decrease α 200
1
×105
0 100
–1
Phase (°)
0
–2
–3 –100
–2 –1.5 –1.0 –0.5 0 0.5 1.0 1.5 2.0 α = 1000 × 10–6
α = 100 × 10–6
×104
α = 40 × 10–6
Figure 6. Effect of feedback parameter α on the zeros of the α = 10 × 10–6
–200
feedback network. 0 1k 10k 100k 1M
Frequency (Hz)
Figure 7 is a plot of the feedback transfer function with a different α. It
shows that when α is decreased to 10–6 (for example: RA = 10k, CF = 1 nF), Figure 7. The transfer function of a proposed hybrid feedback net-
work with a different parameter α.
the transfer function of the feedback network will exhibit 180° phase delay,
which means the complex zeros have become RHP zeros. The feedback
transfer function has been simplified to a new form (see Equation 33 in Loop Compensation Design
Appendix II). To keep the zeros in the LHP, the parameter α should always Design the compensation
meet the following condition:
The control-to-feedback transfer function GP(s) can be derived by the
L2 × C2 product of the control-to-output transfer function Gvc(s) and the feedback
α> transfer function GFB(s). The compensation transfer function GC(s) is
L2 (Formula 1)
RL + RESR2 × C2
designed to have one zero and one pole. The asymptotic Bode plots of
the control-to-feedback and compensation transfer function, as well as
closed-loop transfer function TV(s), are shown in Figure 8. The following
Formula 1 gives a minimum limitation basis for feedback parameter α. As procedures show how to design the compensation transfer function.
long as the condition is satisfied, the control system will be easily stable.
However, since RA and CF will work as an RC filter of output voltage change Determine the cross frequency (fc). Since the bandwidth is limit by fz1,
during a load transient, the load transient performance will be degraded choosing an fc smaller than fz1 is recommended.
with a very big α. So α should not be too large. In practical design,
the parameter α is recommended to be 20% to ~30% bigger than the Calculate the gain of GP(s) at fc, then the middle frequency band gain of
minimum limitation value. GC(s)should be the opposite number of GP(s).
Place the compensation zero at the domain pole (fp1) of the power stage.
Place the compensation pole at the zero (fz2) caused by the ESR of output
capacitor C1.
A B C
1
B
GP
Image Axis
1 1
fp1 = fp2 = (–1, j0)
2π2RL (C1 + C2) C1 × C2 TV 0
2π L2 ×
C1 + C2
1 1
fz1 = fz2 =
2π L2 × C2 2πRESR1C1
PM A
–1
Figure 8. A loop gain design based on a proposed control-to-output C
and hybrid feedback transfer function.
loop transfer function, as Figure 9 shows. Since the plot is far away from Figure 9. Nyquist plot of the closed-loop transfer function.
ADP5014
VREF 0.47 µF
RT
OSC REF
82.5 kΩ VREF
EN1/ENALL CFG1 0Ω
EN2/DL12
17.8 kΩ CFG2 31.6 kΩ
Logic Decoder
EN3/UV
EN4/DL34
GPIO
56.2 kΩ
AVIN
FB1 5.1 kΩ RF Transceiver
5.0 V PVIN1
C1 C2 PVIN1 SW1 L1 3.3 nF L5
10 µF 1 µF CH 1 1 µH 220 nH
VOUT1 1.3 V/3000 mA
Buck 1.3 V ANALOG
VREF (2 A/4 A) SW1
10.7 kΩ VSET1 C3 C4 C5 C6
PGND1 47 µF 47 µF 47 µF 47 µF
0.1 Ω 1.3 V VDD_JESD
20 kΩ
COMP1
PGND1
10 nF 4.32 kΩ
FB2 5.1 kΩ
PVIN2
C7 SW2 L2 3.3 nF L6
10 µF PVIN2 CH 2 1 µH 220 nH
Buck VOUT2 1.3 V/1500 mA
VREF 1.3 V Digital
10.7 kΩ VSET2 (2 A/4 A)
SW2 C8 C9 C10 C11
PGND2 47 µF 47 µF 47 µF 47 µF
20 kΩ 0.1 Ω
COMP2
PGND2
10 nF 4.32 kΩ
L3
PVIN3 1.5 µH
SW3 VOUT3 3.3 V/600 mA
C12 3.3 V VDD_GPO
10 µF C13
CH 3 FB3
VREF VSET3 Buck 47 µF
(1 A/2 A) 13 kΩ
20 kΩ
COMP3 PGND3
18 nF 6.04 kΩ
PVIN4
C14 1.8 V LVDS/CMOS
10 µF
L4 L8
VREF CH 4 1.5 µH 220 nH
SW4 VOUT4 1.8 V/600 mA
2.21 kΩ VSET4 Buck 1.8 V Tx
(1 A/2 A)
FB4 C15 C16 C17
20 kΩ 47 µF 47 µF 47 µF
COMP4 PGND4 0.1 Ω
3.3 nF 5.1 kΩ
15 nF 4.32 kΩ
AGND
Exposed Pad
vo 1 + RESR2 × C2 × S
100 Gvv = v1 = (3)
S S2
1+Q ×ω + ω 2
4 4 4
10
where:
1
1
ω1 = (4)
L1 × (C1 + C2) + L2 × C2
0.1
10 100 1k 10k 100k 1M 10M
Frequency (Hz) 1
Q1 =
50 L 1 L2 (5)
ADP5014 ω1 × R + R + RESR1 × C1 + RESR2 × C2
L L
45 ADP1740
40
1
35 ω2 =
L1 × L2 × C1 × C2 (6)
Noise RMS (µV)
30
L1 × (C1 + C2) + L2 × C2
25
20
1
15
Q2 =
10 (L1 + L2) × C1 × C2 × RESR1 +
5 L1 × L2 × C1 (7)
ω2 × + L1 × C1 × C2 × RESR2
0 RL
10 100 1k 10k 100k 1M
L1 × C1 + L1 × C2 + L2 × C2
Frequency (Hz)
Figure 11. A comparison of output noise performance between
ADP5014 and ADP1740 showing (a) noise spectral density and (b) 1
integrated rms noise. ω3 =
C1 × C2 (8)
L2 ×
C1 + C2
Conclusion
This article presents a general analysis framework for modeling and
control for a current-mode buck converter with a secondary-stage LC 1
Q3 =
output filter. The accurate control-to-output transfer function is discussed. L2 × C1 + RESR1 × RL × C1 ×
A new hybrid feedback structure is proposed and the feedback parameter C2 + RESR2 × RL × C1 × C2 (9)
limitation is deduced. ω3 × RL × (C1 + C2)
The design example shows that a switching regulator with secondary LC
filter and hybrid feedback method can provide a clean, stable power supply 1
ω4 = (10)
that is competitive with, or even better than, an LDO regulator. L2 × C2
Modeling and control in this article concentrates on a current-mode buck
converter, but the methods described here can be applied to voltage-mode
buck converters as well.
The equivalent feedback network transfer function is DC-to-DC Converters with Low Voltage/High Current Output.” IEEE
Transactions on Power Electronics, Vol 20, No. 1, 2005.
vFB
GFB = vo = 3
Patricio Cortes, David O. Boillat, Hans Ertl, and Johann W. Kolar.
“Comparative Evaluation of Multiloop Control Schemes for a High
L2
1 + (α + RESR2 × C2) × S + α × + RESR2 × C2 × (31) Bandwidth AC Power Source with a Two-Stage LC Output Filter.”
RL
International Conference on Renewable Energy Research and Applications,
S 2 + α × L2 × C2× S 3 IEEE, 2013.
(ß + α × S) × (1 + RESR2 × C2 × S)
4
Raymond B. Ridley. “Secondary LC Filter Analysis and Design Techniques
The approximate feedback transfer function is for Current-Mode-Controlled Converters.” IEEE Transactions on Power
Electronics, Vol. 3, No. 4, 1988.
1+α×S
GFB_appr = ×∆ (32) 5
Byungcho Choi, Bo H. Ch, Fred C. Lee, and Raymond B. Ridley. “Three-
(ß + α × S) × (1 + RESR2 × C2 × S) Loop Control for Multimodule Converter Systems.” Power Electronics IEEE
Transactions on Power Electronics, Vol. 8, No. 4, 1993.
where:
L2 L2 × C2
∆ = 1 + R + RESR2 × C – α
L (33)
× S + L2 × C2 × S2
Ricky Yang
Ricky Yang [ricky.yang@analog.com] joined Analog Devices in April 2008 and
works as an applications engineer for the Power Management Group based
in Shanghai, China. He graduated from Shanghai Jiaotong University with a
bachelor’s degree in information and controlling engineering and a master’s
degree in power electronics. He has 10 years of experience in application
work for various switching regulators and related system design.
Share on
Question: There is a wide selection of isolated gate drivers that operate on a unipolar
Do you need a specialized gate driver to deliver positive and power supply on the secondary side (the side driving the power device),
negative voltages? but much fewer gate driver devices that allow for explicit bipolar voltage
drives. One method to overcome this lack of negative gate drive devices is
to offset the gate driver from the power device, thereby creating a negative
gate drive relative to the source or drain of the power device, while the
gate driver IC still only sees a unipolar supply. Unipolar and bipolar gate
drive waveform examples are shown in Figure 1.
VPOS
Unipolar
(a)
VPOS
Bipolar
VNEG
(b)
GND1 GND2 C2 V2
3 UVLO UVLO TSD 4
For such a large voltage swing, the gate driver must be able to withstand A reference example of the Zener diode bipolar setup was created using
a larger range than the range at which other devices were targeted. Two ADI’s ADuM4121 and GaN Systems’ GS66508T to create a half bridge. The
gate drivers that work well with these voltages are ADI’s ADuM4135 and example was designed to have a +5 V and –4 V drive referenced to the
ADuM4136 IGBT gate drivers with iCoupler® technology, which have device source. The example could easily be adapted to have +6 V and
a recommended voltage range that allows up to 30 V. Both provide a –3 V drive by using a different Zener diode, and the same 9 V isolated
dedicated ground pin on the output side, allowing the driver UVLO to be power supply. A large deadtime is used to separate the Miller bump from
referenced against the positive supply rail. The ADuM4135 also includes other turn-off transients visually, but in practice the ADuM4121 allows for
an integrated Miller Clamp, which can further help suppress the Miller much shorter deadtimes in the tens of ns range, which is an important
induced turn-on gate voltage bump. metric for high efficiency GaN designs.
A simple method for creating a bipolar supply from a single voltage source Tek Run T Trig’d
is to create a second voltage source using a biased Zener diode. Although T
gate drivers provide high currents during the turn-on and turn-off of a VGATE
power device, the average current actually needed from the power supply +5 V
is relatively low—often in the tens of mA range for most applications. Miller Bump
2
The Zener diode can be placed to either regulate the positive or the –4 V
negative voltage, and can be selected based on which rail needs higher
accuracy. The example shown in Figure 3 is setup to regulate the positive
voltage more than the negative voltage. One reason to regulate the positive VDS
voltage could be if the gate being driven has a tight tolerance on the gate 3
Ryan Schnell
Ryan Schnell [ryan.schnell@analog.com] is an applications engineer at
Analog Devices. His responsibilities include isolated gate drivers that use
iCoupler technology to achieve isolation, as well as various power manage-
ment products. He holds a B.S. and an M.S in electrical engineering, and a Ph.D.
in power electronics from the University of Colorado.
Share on
Application Space
Reset Branch
Application A
Branch
Primary Boot Second-Stage Which
Loader Boot Loader Application
Application B
Branch
Application Space
0000_0000 0000_3FFF
Reset
Branch Branch
Primary Boot Application A Application B
Loader Performs OTA Update
XX Based on Figure 4, a solution to the previous issue would be to have Design Trade-Off: Caching and Compression
the primary boot loader branch to Application B instead of Application A. Another key design decision in the OTA update software will be how to
However, on some microcontrollers, the primary boot loader always runs organize the incoming application in memory during the OTA update pro-
the program that has its interrupt vector table (IVT), a key portion of the cess. The two types of memory that are typically found on a microcontroller
application that describes interrupt handling functions, located at address are nonvolatile memory (for example, flash memory) and volatile memory
0. This means that some form of IVT relocation is necessary to have (for example, SRAM). The flash memory will be used to store the program
a reset map to Application B. If a power cycle occurs during this IVT code and read-only data of an application, along with other system-level
relocation, it could leave the system in a permanently broken state. data such as the ToC and an event log. The SRAM will be used to store
These issues are mitigated by having an SSBL fixed at address 0, as modifiable portions of the software application, such as nonconstant global
illustrated in Figure 3. Since the SSBL is a non-RTOS program, it can safely variables and the stack. The software application binary illustrated in
branch to a new application. There is no concern of a power cycle placing Figure 2 only contains the portion of the program that lives in nonvolatile
the system in a catastrophic state since the IVT of the SSBL at address 0 is memory. The application will initialize the portions that belong in volatile
never relocated. memory during a startup routine.
During the OTA update process, every time the client device receives a
Design Trade-Off: The Role of the SSBL
packet from the server containing a portion of the binary it will be stored
We’ve spent a lot of time discussing the SSBL and the relationship it has in SRAM. This packet could be either compressed or uncompressed. The
with the application software, but what does this SSBL program do? At the benefit of compressing the application binary is that it will be smaller
bare minimum, the program must determine what the current application in size, allowing for fewer packets to be sent and less space needed in
is (where it begins) and then branch to that address. The location of the SRAM to store them during the download procedure. The disadvantage
various applications in the microcontroller memory is generally kept in of this approach is the extra processing time that the compression and
a table of contents (ToC) as shown in Figure 3. This is a shared region of decompression add to the update process, along with having to bundle
persistent memory that both the SSBL and application software use to compression related code in the OTA update software.
communicate with each other. When the OTA update process completes,
the ToC is updated with the new application information. Portions of the Since the new application software belongs in flash memory but arrives
OTA update functionality can also be pushed to the SSBL. Deciding what into SRAM during the update process, the OTA update software will need to
portions is an important design decision when developing OTA update soft- perform a write to flash memory at some point during the update process.
ware. The minimal SSBL described above will be extremely simple, easy Temporarily storing the new application in SRAM is called caching. At a
to verify, and most likely will not require modifications during the life of the high level, there are three different approaches the OTA update software
application. However, this means that each application must be responsible could take to caching.
for downloading and verifying the next application. This can lead to code
duplication in terms of the radio stack, device firmware, and OTA update XX No caching: Every time a packet arrives containing a portion of the new
software. On the other hand, we can choose to push the entire OTA update application, write it to its destination in flash memory. This scheme
process to the SSBL. In this scenario, applications simply set a flag in the is extremely simple and will minimize the amount of logic in the OTA
ToC to request an update and then perform a reset. The SSBL then per- update software, but it requires that the region of flash memory for
forms the download sequence and verification process. This will minimize the new application is fully erased. This method wears down the flash
code duplication and simplify the application specific software. However, memory and adds overhead.
this introduces a new challenge of potentially having to update the SSBL XX Partial caching: Reserve a region of SRAM for caching, and when new
itself (that is, updating the update code). In the end, deciding what func- packets arrive store them in that region. When the region fills up, empty
tionality to place in the SSBL will depend on the memory constraints of it by writing the data to flash memory. This can get complex if packets
the client device, the similarity between downloaded applications, and the arrive out of order or there are gaps in the new application binary, since
portability of the OTA update software. a method of mapping SRAM addresses to flash addresses is required.
One strategy is to have the cache act as a mirror of a portion of flash
established between the server and the client. Communication protocols Page (254)
Secure Keys
that an embedded system like Figure 1 might use would be, for example,
Page (253)
Bluetooth® Low Energy (BLE) or 6LoWPAN. Sometimes these protocols AES 128/
SHA-256
have support for security and data exchange that the OTA update software AES 256
may be able to leverage during the OTA update process. Page (0)
The amount of communication functionality that must be built into the OTA
update software will ultimately be determined by how much abstraction is
Figure 6. Hardware block diagram of the crypto accelerator on the
provided by the existing communication protocol. The existing commu- ADuCM4050.
nication protocol has facilities for sending and receiving files between the
First Payload
Figure 8. Applying the hash chain to a packet sequence.
SHA-256
Experimental Setup
Hash Digest
The ultra low power microcontrollers that solve the memory, communication,
and security design challenges mentioned in this article are the ADuCM3029
Public Key Private Key and ADuCM4050. These microcontrollers contain the hardware peripherals
Verifying Function Signing Function discussed throughout the article for OTA updates such as flash memory,
SRAM, crypto accelerators, and a true random number generator. The device
True/False
Signature
family packs (DFPs) for these microcontrollers provide software support for
building an OTA update solution on these devices. The DFP contains periph-
eral drivers that provide simple, flexible interfaces for using the hardware.
Figure 7. Using asymmetric encryption to authenticate a message.
Hardware Configuration
Most microcontrollers do not have hardware accelerators for these
To verify and validate the concepts discussed here, an OTA update soft-
asymmetric encryption operations, but they can be implemented using
ware reference design was created using the ADuCM4050. For the client,
software libraries such as Micro-ECC, which specifically targets resource
an ADuCM4050 EZ-KIT® is connected to an ADF7242 using the transceiver
constrained devices. The library requires a user-defined random number
daughter board horseshoe connector. The client device is pictured on
generating function, which can be implemented using the true random
the left of Figure 9. For the server, a Python application was developed
number generator hardware peripheral on the microcontroller. While these
that runs on a Windows PC. The Python application communicates over
asymmetric encryption operations solve the trust challenge during an OTA
the serial port to another ADuCM4050 EZ-KIT that also has an ADF7242
update, they are costly in terms of processing time and require a signature
attached in the same arrangement as the client. However, the right EZ-KIT
to be sent with the data, which increases packet sizes. We could perform
in Figure 9 performs no OTA update logic, and simply relays packets
this check once at the end of the download, using a digest of the final
received from the ADF7242 to the Python application.
packet or the digest of the entire new software application, but that would
allow third-parties to download untrusted software to the client, which is
not ideal. Ideally, we want to verify every packet that we receive is from
our trusted server without the overhead of a signature each time. This
can be achieved using a hash chain.
ADuCM4050
3824
Benjamin Bucklin
Benjamin Bucklin Brown [benjamin-b.brown@analog.com] joined ADI in Brown
2016 after graduating from McGill University with a Bachelor of Engineering
in electrical engineering. Currently he works as an embedded software
engineer in the Consumer Sensing and Processing Technology (CSPT) Group,
developing firmware for application-specific integrated circuits. Previously
he worked in the IoT Platform Technology Group, developing device drivers
and software reference applications for the ADuCM3029 and ADuCM4050
microcontrollers.
Share on
Power
Traditionally, the onus was on the system developer to incorporate diagnostic Power Supply
Monitoring
and failure prevention mechanisms onto their products to ensure integrity
of the data coming from the sensing IC. This came at the cost of PCB area,
bill of materials, processing overhead, and, ultimately, expense. Since then, AFE Monitoring
through extensive engagement with system design engineers, a solution has Redundancy ADC
Debug Circuitry
been developed to address this problem for them. To that effect, functional
safety features have begun to be designed in at the IC level.
System Clock
This article explores the functional safety potential of ADCs in terms of
Clock Monitor Unit
ensuring the overall integrity of a data acquisition system.
A Legacy Functionally Safe Solution vs. a Better Way Figure 1. Integration from multicomponent functional safety system
In Figure 1, we see an example of a functionally safe system as it was in to single-chip ADI solution.
years gone by, and we compare it with a more modern solution. At the
epicenter is the data acquisition ADC that converts the analog inputs and An Example System with Functional
transmits the data to a microcontroller. To achieve this solution, however, Safety Requirements
requires many external components, repeated SPI transactions, and even
a redundant ADC, which greatly increases the bill of materials, PCB area, In data acquisition systems that contain an ADC, many faults can occur
processing overhead, and cost. It also places extra burden, such as devel- that may increase the risk to human or machine health depending on the
opment time and reliability, on system designers to develop this solution. application. System designers must distinguish between acceptable and
nonacceptable risk.
There is a single IC solution available, with minimal external components
required, to operate the functional safety features. As an example, in a system that measures and regulates the pressure in a
gas chamber, using a sensor that has a tolerance of 5% may be seen as
an acceptable risk if the pressure inside the tank should not deviate greatly
Temperature Sensor
from the outside pressure. However, if the microcontroller receives incor-
Analog Input Short
rect ADC data, this could lead to a potentially fatal occurrence whereby the Positive Full Scale
pressure in the chamber causes an implosion or explosion, both of which Negative Full Scale
can injure or kill people nearby. This level of risk is unacceptable. There-
fore, some functional safety measures should be put in place to ensure the MuxSelect
AIN Precharge
integrity of the information being received by the controller. Buffers
Some sources of fault that could cause these type of errors are Analog
Input Pins Σ-Δ
ADC
XX Power supply: low power supply voltage, low voltage output of the low
dropout (LDO) regulators.
XX Analog front end (AFE): damaged sensors or amplifier driving an incor-
rect voltage to the ADC. Figure 3. Switching to convert the analog diagnostic mux.
XX Digital logic: bit errors in the digital domain that can affect the converted
result. For example, the factory gain or offset trim coefficient. Diagnostic Error Flags: The Register Map Diagnostic
XX SPI transmission: bit errors in the transmission of the converted data Status Indicators
and receiving of commands due to a noisy environment of the transmis- Several diagnostic features may be enabled and their status can be
sion line. flagged to the user, typically via the register map. If a fault occurs, an error
XX Environmental: out of the specified ambient temperature for the IC. flag is set in a register. Users can investigate further once they are alerted
to the fault.
The AD7768-1, one of the Σ-Δ ADCs within ADI’s functional safety portfolio,
has a vast suite of diagnostic features intended to allow users the ability Let’s speculate on some real life faults that can occur and that can be
to detect and diagnose errors and more. Figure 2 highlights the sources of diagnosed using the portfolio of ADI functional safety ADCs. Let us first
some of the possible faults in a typical pressure sensing system. presume that our pressure sensor system is based in an industrial plant,
with fluctuating temperatures, several shutdowns in power due to essential
Using the ADC to Diagnose the System Errors maintenance, and electromagnetic interference (EMI) from the surrounding
Within the functional safety portfolio of ADI ADC products comes the industrial setting that can be conducted onto the system PCB.
ability to use an ADC to help diagnose and/or reduce the system errors.
This ability to measure system errors is important in maintaining accurate ADC Supply Error
measurements, and in a system that has functional safety requirements, Let’s assume that, due to the high temperatures present in the environ-
this accuracy is even more crucial. ment and inrushes of current caused by the power cycling of the system,
the LDO capacitors tasked with holding charge close to the ADC’s LDO
Positive and negative full-scale voltages, taken from the reference inputs,
supply outputs have become worn and damaged. Maintaining these out-
are used to measure the gain error of the system. A zero-scale internal
puts at a known voltage requires an external capacitor and is essential for
short is used to measure the offset error. Users can then trim the offset and
correct operation. If the capacitors are damaged due to this fault, users can
gain error performance of their system using the gain and offset trimming
notice that the converted ADC data or performance of other functions are
registers of the ADC.
unexpected. By enabling LDO monitors, once the voltage level drops below
A temperature sensor identifies changes in the temperature locally of the a certain trip point, an error flag will be set to alert users of issues at the
IC, including out of bounds temperatures. In a system sensitive to offset LDO outputs.
and gain error drift over temperature, this can be an attractive function. If a
sizable temperature change has occurred, users may decide to trim out the Analog Front-End Error
gain and offset errors at this new temperature. Figure 3 illustrates how an Let’s presume this is a system where the inputs to the ADC should not
analog diagnostic mux is connected to the ADC internally in the AD7768-1. exceed the full-scale range of the ADC. If users accidentally program an
incorrect value to the gain register that increases the voltage seen by the
In our example pressure system, a BER of less than 10–7 can be assumed if However, if an unexpected reset occurs, users may see unexpected results
transmitting to a microcontroller on the same PCB over a distance of 10 cm in the ADC data. They can identify this unexpected reset by checking the
through digital isolation. POR flag.
Let us presume that some electromagnetic interference is conducted onto Figure 4 shows how many of these internal diagnostic features within the
the SPI lines and this results in a bit error in the transmission of converted AD7768-1 hook up to the functions they will be monitoring.
ADC data from the AD7768-1 to the microcontroller. A bit error in the ADC
AD7768-1
LDO LDO
1.8 V Monitor Monitor
Analog
LDO
1.8 V
Digital
LDO
Low Ripple
Wideband
Filter
SPI Bus
Sinc5 SPI
Σ-Δ
Low Latency Interface
ADC
Filter
Sinc3 Filter
50 Hz/60 Hz Internal Internal
Clock Rejection Memory Reset Signal
Counter
RC
Oscillator
Filter
Saturated and Memory CRC SPI Monitor POR Flag
External Not Settled Checkers
Clock Monitors
Qualifier
MCLK
/CS 1 0 1
SCLK 1 0 1 0 1 0 1 0 1 0 1 0 1
Figure 5. Reading back the data register with appended status byte and CRC byte of the AD7768-1 in Continuous Read-Back mode.
Chris Norris
Share on
Introduction Notice the line labeled “SmartVID,” with a range of 0.82 V to 0.93 V. This
Modern FPGAs are among the most complex integrated circuits ever represents a broad range of voltages that are possible when the FPGA is
created. They employ the most advanced transistor technology and requesting its own core voltage through the SmartVID2 interface (more on
cutting-edge architectural structures to achieve both incredible flexibility this later). This SmartVID specification is an indication of an underlying
and the highest performance. Over time, as technology has advanced, this truth about the FPGA: it can operate at different voltages, depending upon
complexity has dictated certain compromises in the design and implemen- its particular manufacturing tolerance, and upon the particular logic design
tation of systems using the FPGAs. This is nowhere more apparent than in that it is implementing. The static voltage required by one FPGA might be
the power supplies, which must be ever more accurate, more agile, more different from another FPGA. The power supply must be able to respond
controllable, smaller, more efficient, and more fault aware with each new and adapt.
FPGA generation.
The goal is to produce just the right performance level to operate the
In this article, we look specifically at some of the constraining programmed functions without burning unnecessary power. We know
specifications for the Altera® Arria 10 FPGA, and what they mean for a from semiconductor physics, as well as published data from Altera, Xilinx®
power supply design. Then we discuss the best power delivery solutions, (Figure 1), and others, that both dynamic and static power will increase
and lay out the plan to successfully meet all of the specifications and make dramatically with increased core VDD, so the goal is to give the FPGA just
our FPGA perform at its optimal efficiency, speed, and power level using enough voltage to meet its timing requirements, but no more. Excess
Analog Devices’ complete set of power system management (PSM) ICs, power dissipation does nothing to increase performance. In fact, it makes
including the LTC3887, LTC2977, and LTM4677. things worse because transistor leakage current increases with higher
temperatures, dissipating even more unwanted power. For these reasons,
the imperative is to optimize the voltage for the design and operating point.
FPGA Power Requirements
(Interpreting the Data Sheet) Relative Power Change with Core Voltage Change
20
Engineers should spend most of their time programming—they don’t
want to spend time and energy thinking about designing suitable power 15
supplies. Indeed, the best approach to power delivery is to use a robust,
flexible, proven design that meets the requirements and expands with 10
Percent Power Change
the project. Here we take a closer look at some of the important power
5
specifications and what they mean.
0
Voltage Accuracy
–5
Core power supply voltage is one of the most important keys to balancing
FPGA power and performance. The specification documents give a range of –10
acceptable voltages, but the total range is not the complete picture. As with
–15 % Static Power
all things, there are trade-offs and optimizations to be made.
% Dynamic Power
–20
Table 1 is an example of core voltage specifications from the popular Altera –6 –4 –2 0 2 4 6
Arria 10 FPGA.1 Though these numbers are specific to the Arria 10, they Percentage Voltage Change
are representative of other FPGA core voltage requirements. The range
Figure 1. Xilinx Virtex V power vs. core VCC .
amounts to a ±3.3% tolerance around the nominal voltage. The FPGA will
operate just fine within this voltage window, but the complete picture is This optimization process requires a very accurate power supply for
more complicated. success. Regulator inaccuracy must be baked into the error budget
and subtracted from the available voltage range that can be used for
Table 1. Altera Arria 10 Core Voltage Specification optimization. If the core voltage drops below the requirement, the FPGA
may fail due to timing errors. If core voltage drifts above the maximum
Symbol Description Condition Minimum Typical Maximum Unit specification, it may damage the FPGA, or it may create hold-time failures
Core voltage Standard 0.87 0.9 0.93 V in the logic. All of these scenarios must be guarded against by taking into
VCC power and low account the power supply tolerance range, and only commanding voltages
supply power 0.92 0.95 0.98 V
that are guaranteed to remain within the specification limits.
SmartVID 0.82 0.93 V
Relative Current
6
drifts to 2% above the commanded voltage, it will operate 4% above the
5
minimum voltage required at that operating point. This still meets the speci-
fied voltage required by the FPGA, but it wastes a lot of power (Figure 2). 4
3
Max Spec
2
0
–50 0 50 100 150 200
Wasted Power Temperature (°C)
Commanded Voltage
SmartVID
SmartVID is the Altera name for the technique of operating each individ-
ual FPGA at its optimal voltage, as requested by the FPGA itself. There
Min Spec
is a register inside of the FPGA that contains a device-specific voltage
Voltage Violation
(programmed at the factory) at which the FPGA is guaranteed to operate
Figure 2. Power supply regulator tolerance trade-offs. efficiently. A piece of compiled IP inside of the FPGA can read this register
and make a request over an external bus to the power supply to provide
The solution is to choose a power supply regulator that can operate with a this exact voltage (Figure 4). Once the voltage is reached, it remains static
much tighter voltage tolerance. A regulator with a ±0.5% tolerance can be during operation.
commanded to operate much closer to the minimum required specification
at the desired operating frequency, and it is guaranteed to be less than
1% from that required voltage. The FPGA will be functional and it will be FPGA VCC
Timing Closure
Group 2
The computing speed of any logic block depends on its supply voltage. VCCPT VCCPLL_HPS 90% of
Within limits, a higher voltage gives faster performance. We have already VCCH_GXB VCCT_GXB Nominal Voltage Group 2
seen why we cannot simply operate at the highest voltage in order to VCCA_PLL VCCIOREF_HPS
guarantee the best speed. On the other hand, we must operate at a high
enough voltage for the application, as shown in Figure 5. Group 3
VCCPGM VCCIO
VDD Operating VCCIO_HPS Group 3
Point
VOP
up-sequence is: VCCINT/VCCINT_IO, VCCBRAM, VCCAUX/VCCAUX_IO, and VCCO.
nc
Fu
These are just two of the many FPGAs available. Nearly every modern FPGA
system has multiple power supply rails, and one of the most obvious ques-
VMIN
tions to ask is, in what order should they turn on and off? Even if there is no
explicit sequencing requirement there are good reasons to enforce a deter-
ministic sequence of events. Here are some of the available design options.
XX No sequencing: Let the power supplies rise and fall on their own. What
FCLK
could go wrong?
FOP
XX Hardware cascade sequencing: Each rising power supply is hardwired
Figure 5. FPGA operating frequency vs. VDD trade-off.
to enable the next one. This only works when the supplies are rising.
An important implication of Figure 5 is what can be done when a particular XX CPLD-based sequencing: Use programmable logic to create a custom
design does not meet its logic timing requirements, and falls into the failing solution. This is flexible, but the entire challenge rests on the designer.
area. Often the edge between functional and failing is not well defined XX Event-based sequencing: Event-based sequencing is similar to cascade
before a design is committed to hardware, and the particular voltage at sequencing, but more flexible because it can operate both up and down.
which it will pass timing cannot be predetermined. The only options are A dedicated sequencer IC can be programmable and take care of many
to either commit in advance to a voltage that is well above the minimum, fault scenarios and corner cases.
thus wasting power to guarantee functionality, or to design a flexible power XX Time-based sequencing: Time-based sequencing triggers each event at
supply that can adapt to the needs of the hardware at test time, or even, as
a specified time. Coupled with comprehensive fault management, time-
in the case of SmartVID, at power-up time. The ability to adapt to unknown
based sequencers can be flexible, deterministic, and safe.
demands makes the accuracy of ADI PSM devices more valuable, as FPGA
designers can trade off power for performance in the real design, and at The following sections explore these options in more detail.
any stage of development.
No Sequencing
Power Supply Sequencing 101 It is possible to turn-on a power supply system with no management at
Moore’s law drives the trend of shrinking transistors in modern FPGAs and all. When main power becomes available, or the ON switch is activated,
forces the trade-offs involved in using these tiny transistors, which are the regulators start regulating. When power is removed, or the ON switch
very fast and small, but much more fragile. A chip containing hundreds turns off, the regulators stop regulating. Of course, the problems with this
of millions of transistors must be segmented into cores, blocks, and parti- approach are many. Some more obvious than others.
tions that can be designed and managed independently. The practical
result of these considerations is an FPGA with many power domains. Some Lack of timing determinism can have various effects in a system. The
recent FPGAs have upward of a dozen power supplies that need to be kept first is simply that it stresses the sensitive FPGA. This might cause imme-
happy. This includes, in addition to voltage, current, ripple, and noise, the diate catastrophic failure, or it might cause premature aging that slowly
sequence order during start-up, shutdown, and fault conditions. degrades performance. Neither is good. It may also cause unpredictable
power-on-reset behavior or indeterminate logic states at power-up, which
Recent FPGA specifications call out specific requirements for sequence make system stability questionable and difficult to debug. Questions of
order when starting-up and shutting down the power supplies. Both Xilinx fault detection and response, energy management, and debug support are
and Altera recommend specific ordering and timing to ensure that the left entirely unanswered in this scheme. In general, to avoid power supply
FPGA gets reset properly, maintains minimal current draw, and maintains sequencing is to invite disaster.
its I/Os in the proper tristate configuration during the power transitions.
A B C
RUN RUN PGOOD RUN PGOOD RUN PGOOD
Supply 3 READY
VIN VOUT
RUN PGOOD
D
VDD4
...
RUN
...
A
...
B
...
C
...
D
...
READY
5V
3.3 V
2.5 V
DC-to-DC
Converters 1.8 V
1.5 V
1.2 V
V1 V2 V3 V4 V5 V6 System
CMP1
CMP2
OV
CMP3 GPIO1
RST
CMP4 GPIO2
FPGA LTC2936 ALERT
CMP5 GPIO3
CMP6
UVDIS
GPI1 SDA
MARG
GPI2 VPWR VDD33 SCL
GND ASEL1 ASEL0
0.1 µF
0.1 µF
12 V VIN
VPWR
SDA EN1 RUN1 OUT1 5.0 V
I2C/SMBus
SCL EN2 RUN2 OUT2 3.3 V
Interface
ALERTB EN3 RUN3 OUT3 2.5 V
LTC2937 EN4 RUN4 OUT4 1.8 V
ON EN5 RUN5 OUT5 1.5 V
MARGB EN6 RUN6 OUT6 1.2 V
To/From
Other FAULTB GND
Devices RSTB
SPCLK
SHARE_CLK V1
ASEL1 V2
R1 ASEL2 V3
3.3 kΩ ASEL3 V4
WP V5
VDD V6
C1 GND
2.2 µF
VSENSEM R20
SDA
PMBus VDAC
SCL
Interface R30
ALERTB R10
CONTROL
FAULT VOUT_EN
PWRGD TSENSE
GND MMBT3906
detect fast events and send digital status to the logic. It also has three pro- (down is the reverse of up), and configurable supervisor voltage thresholds.
grammable GPIO pins for additional functionality. This programmable IC has It has the potential to meet the requirements, but has no frills and offers no
an EEPROM for nearly instant-on functionality at start-up, and has the ability digital programmability or telemetry.
to store fault telemetry for debugging through its I2C/SMBus interface. A
convenient way to use LTC2936 is shown in Figure 8. In the category of programmable sequencer and supervisor with EEPROM
is the LTC2937. It features full digital programmability, features time-
In addition to the fast comparator functions, there must be an analog-to- based and event-based sequencing, and can sequence and supervise
digital converter (ADC) to gather telemetry. A proven choice is the LTC2418, any number of power supplies, handling faults, and logging fault status
which can monitor up to 16 channels of analog signals with its fast-settling to the EEPROM black box. It is a worthy solution for cases where voltage
24-bit Σ-Δ ADC and 4-wire SPI interface. The board controller can management and telemetry are not required.
readily stream measurements and monitor many points of interest in the
system. Power System Management
To fully capture all of the benefits of complete PSM, use one of the
In general, there are many, many options for using an FPGA or CPLD to con-
Analog Devices PSM ICs. These introduce the ability to autonomously
trol power sequencing. This approach works, but somebody must own the
sequence up and down any number of power rails; accurately control rail
digital and analog designs, including all of the inevitable design bugs, oppor-
voltages to better than 0.5% (or 0.25% in some cases); measure and report
tunities for unimaginable corner cases and faults, and the unhappy question
voltage, current, temperature, and status telemetry; cooperatively handle
of support. There are certainly easier ways to build a power system.
complex fault scenarios; and record detailed fault information to EEPROM.
Simple Sequencer/Supervisors Sequencing is done by a system of timing handshaking, with all ICs
Solving the puzzle of robust sequencing and fault handling is the domain agreeing on time zero and the time base, and all sequence events
of the simple sequencer/supervisors. These do the important job of happening at preprogrammed times (time-based sequencing). This allows
sequencing the power rails and ensuring that they remain within their any number of rails to sequence up and sequence down autonomously.
specified limits during operation (supervision). The LTC2928 is an easy to
use pin-strap configurable sequencer with configurable sequence timing The family of PSM ICs includes controllers that have their own switch
10
1 ms
ID, Drain Current (A)
1 10 ms
0.001
0.1 1 10 80
VDS, Drain to Source Voltage (V)
The most robust discharge circuit can safely dissipate energy over a
wide variety of conditions. The circuit in Figure 15 shows a tried and true
method. It uses the ON semiconductor FDMC8878 discharge FET and a
physically large SMD 1210 sized 0.5 Ω resistor.
3.3 V A10_VCC
R2
R4
10 kΩ M1
10 Ω
FDMC8878
R1
10 Ω
EN_A10_VCC
M2 R3 R5 Figure 17. Arria 10 SoC development kit power distribution.
FDV305N 100 kΩ 0.5 Ω
INTVCC
VDD25
SW0
SW1
SNUB0
SNUB1
VIN0 VOUT, 0.9 V
5.75 V to + CINH COUT
CINL VIN1 TSNS0a Adjustable
16 V 22 µF 100 µF
220 µF TSNS0b Up to 36 A
×4 SVIN ×12
ISNS0a+
ISNS0b+
VDD33
ISNS0a–
10 kΩ
ISNS0b– Load
×7
SMBus Interface SCL VOSNS0+
with PMBus SDA VOSNS0–
Command Set ALERT
LTM4677 VOUT1
RUN0
On/Off Control, TSNS1a
RUN1
Fault Management, TSNS1b
GPIO0
Power Sequencing ISNS1a+
GPIO1
SYNC ISNS1b+
PWM Clock Synch.
Time Base Synch. SHARE_CLK ISNS1a–
ISNS1b–
WP
VOSNS1
VTRIM0CFG
VTRIM1CFG
FSWPHCFG
COMP0b
COMP1b
COMP0a
COMP1a
VOUT0CFG
VOUT1CFG
SGND
ASEL
GND
10.7 kΩ
1%
This solution provides the best board space utilization because the System power sequencing is provided by the cooperative partnership of
integrated µModule devices require very few external components, and the the LTM4677 core supply, the LTM4676A 3.3 V power supply, and the
PMBus interface makes them configurable without hardware modification. LTC2977 that manages all of the other power regulators on the board.
Micromodules offer the lowest complexity solution because many of the These ICs have common PMBus timing commands (stored in EEPROM) that
complex analog considerations, such as power switches, inductors, current easily configure start-up and shutdown sequencing in any order, and with
and voltage sensing elements, loop stability, and thermals, are included. any timing. These guarantee the proper autonomous sequence of events
specified for Group 1, Group 2, and Group 3 power supplies (Figure 6).
Because the LTM4677 module includes PSM, it guarantees that the core
power supply will always operate within ±0.5% of the dc voltage target. It In addition to the voltage accuracy and sequencing control, the LTM4677,
also allows for voltage adjustments through the PMBus interface, both from LTM4676A, and LTC2977 on this board provide complete fault handling as
the SmartVID IP inside of the FPGA and from the LTpowerPlay® graphical well. In the event of an overvoltage, undervoltage, brownout, overcurrent,
user interface (GUI) that gives full user control over the power supplies. or complete failure of one or more rails, the system can be configured to
respond quickly and automatically shut down to protect the sensitive FPGA
To manage power supply regulators that do not include their own PSM and restart if it is possible.
capabilities, we simply include the LTC2977, which is an 8-channel PMBus-
compatible power system manager. Each channel wraps around a power Most of the power supply rails in the system require modest currents
supply to servo the voltage to within 0.25% of the programmed target (less than 13 A) and modest voltage tolerance. These can be supplied by
(Figure 19). It cooperates seamlessly with the LTM4677 µModule devices non-PSM devices such as the LTM4620, and sequenced and managed by
for both sequencing and fault response, making the entire power system the LTC2977. This provides a very effective balance between board area,
coherent and easily programmable. complexity, and cost.
8-Channel PMBus Power System Manager There are also power supply rails, such as PLL and transceiver power, that
Any Switching require lower noise than a switching regulator can provide, and these need
IBC 4.5 V ≤ VIBUS ≤ 15 V or Linear Regulator
DCIN IN OUT a linear regulator. The LTC3025-1and LTC3026-1 serve these functions
EN
VIN_SNS
well, removing the switching and load-induced noise from their outputs.
VIN
V OUT These, too, can be managed by the LTC2977 to sequence, trim, and handle
VIN_EN DC-to-DC fault conditions.
+ Converter
VPWR*
V RUN
VDD33* VSENSE Load FB
LTpowerPlay
LTC2977 – R20 The entire family of PSM devices is supported by the comprehensive
LTpowerPlay GUI (Figure 21). Because much of the functionality of PSM
SDA is accessed through the rich set of configuration registers in the EEPROM
PMBus VDAC
SCL R30 of the ICs, one tool can consolidate the entire collection of PSM ICs on
Interface R10
ALERTB Servo the bus into one easy to use view. The LTpowerPlay tool provides a deep
Control Sequence
CONTROL
Control
set of features to accelerate all phases of design and development. It can
FAULT VOUT_EN operate offline to present a view of the ICs before they are programmed, or
PWRGD Note: in real-time, communicating over the I2C bus with a complete system con-
Some Details Omitted for Clarity
Only One of 8 Channels Shown taining from one to hundreds of power supply rails controlled by many PSM
devices. LTpowerPlay simplifies and streamlines complex configurations by
*LTC2977 May Also Be Powered Directly from an External 3.3 V Supply providing detailed information about registers and functions. It graphically
Figure 20. LTC2977 managing any power supply voltage. represents all of the configuration, status, and telemetry information avail-
able in the system, making it clear and understandable while the system
is operating. It simplifies programming and maintenance of the complete
INTVCC
VDD25
SW0
SW1
SNUB0
SNUB1
VIN0
VTRIM0CFG
VTRIM1CFG
FSWPHCFG
COMP0b
COMP1b
COMP0a
COMP1a
VOUT0CFG
VOUT1CFG
SGND
ASEL
GND
VOUT0
INTVCC
VDD25
SW0
SW1
SNUB0
SNUB1
VIN0
TSNS0a
CIN2 VIN1
TSNS0b
22 µF SVIN
ISNS0a+
×4 ISNS0b+
VDD33
ISNS0a–
ISNS0b–
SCL VOSNS0+
SDA VOSNS0–
ALERT
LTM4677 VOUT1
RUN0
RUN1 TSNS1a
GPIO0 TSNS1b
GPIO1 ISNS1a+
SYNC ISNS1b+
SHARE_CLK ISNS1a–
ISNS1b–
WP
VOSNS1
VTRIM0CFG
VTRIM1CFG
FSWPHCFG
COMP0b
COMP1b
COMP0a
COMP1a
VOUT0CFG
VOUT1CFG
SGND
ASEL
GND
787 Ω 1.65 kΩ
VOUT0 1% 1%
INTVCC
VDD25
SW0
SW1
SNUB0
SNUB1
VIN0
CIN3 VIN1 TSNS0a
±50 ppm/°C ±50 ppm/°C
TSNS0b
22 µF SVIN
ISNS0a+
×4 VDD33
ISNS0b+
ISNS0a–
ISNS0b–
SCL VOSNS0+
SDA VOSNS0–
ALERT
LTM4677 VOUT1
RUN0
RUN1 TSNS1a
GPIO0 TSNS1b
GPIO1 ISNS1a+
SYNC ISNS1b+
SHARE_CLK ISNS1a–
ISNS1b–
WP
VOSNS1
VTRIM0CFG
VTRIM1CFG
FSWPHCFG
COMP0b
COMP1b
COMP0a
COMP1a
VOUT0CFG
VOUT1CFG
SGND
ASEL
GND
1.65 kΩ 3.24 kΩ
VOUT0 1% 1%
INTVCC
VDD25
SW0
SW1
SNUB0
SNUB1
VIN0
CIN4 VIN1 TSNS0a
±50 ppm/°C ±50 ppm/°C
TSNS0b
SVIN
22 µF ISNS0a+
ISNS0b+
×4 VDD33
ISNS0a–
ISNS0b–
VOSNS0+ U1: Slave Address = 1000000_R/W (0X40)
SMBus Interface with SCL
SDA VOSNS0– U2: Slave Address = 1000001_R/W (0X41)
PMBus Command Set ALERT
LTM4677 VOUT1
U3: Slave Address = 1000010_R/W (0X42)
On/Off Control, Fault Management, RUN0
TSNS1a U4: Slave Address = 1000011_R/W (0X43)
RUN1
Power Sequencing GPIO0 TSNS1b
ISNS1a+
GPIO1
ISNS1b+ 500 kHz Switching Frequency with Interleaving
PWM Clock Synch. SYNC
ISNS1a– No GUI Configuration and No Part-Specific
Time Base Synch. SHARE_CLK
ISNS1b–
WP
VOSNS1
Programming Required
VTRIM0CFG
VTRIM1CFG
FSWPHCFG
COMP0b
COMP1b
COMP0a
COMP1a
VOUT0CFG
VOUT1CFG
GND
34 nm 42 nm 53 nm
Height Height Height
through reuse, simpler software design with familiar building blocks, and
1 the ability to individually throttle each core to meet the demands of the
computational load. The multicore revolution began with fixed computing
0.1 platforms, but one might say that this event was the moment when FPGAs
came into their own: when the world realized that maximizing the number
0.01 of cores is best. In a sense, nothing has more cores than an FPGA with its
Static Power sea of identical, programmable logic blocks!
Dynamic Power
0.001
1960 1970 1980 1990 2000 2010 Anatomy of an FPGA
Year
Even with all of this advanced architecture, the problem of leakage power
remains troublesome. Transistor engineering is a powerful way to bend the
curve downward, but it is not enough. As each smaller transistor gener-
ation demands a lowered supply voltage, the problem of dynamic power
remains tame, but the resulting increased transistor strength and leakage,
coupled with the ever-growing number of devices on the chip, produces
a demand for voltage management. Power supply voltage must be tightly
controlled, as well as actively adjustable, to meet the needs of each partic-
ular device. Inputs
Flip-
FLOP
1 OUT0
Flop
2 Adder
Combi- COMB
Advanced Architectures • natorial OUT0
• Logic
•
Architectural developments up until the turn of the millennium had Adder
FLOP
Flip- OUT1
mainly focused on optimizing a single computing core to perform as N Flop
many computations possible as quickly as possible. This involved the COMB
OUT1
free technique of raising the clock rate to just under the speed at which
the circuit failed: its maximum operating frequency. It also involved Figure 25. FPGA configurable fabric.
architectural optimizations, but these were mainly intended to squeeze
more performance out of every clock cycle. An FPGA, at its most basic level, is a collection of primitive configurable logic
cells tied together through a configurable mesh of interconnections. Together
Following the startling realization that power mattered, engineers began with a compiler they form a highly flexible computing fabric that transforms
to redirect resources away from raw speed and into more subtle kinds of into nearly any imaginable general-purpose digital function, including combi-
optimization. This new trend showed up in computing architecture first as natorial and sequential logic blocks. At the top level, this fabric is surrounded
a plateau in the ever-increasing clock speeds, and a leveling-out of the by additional features to support and augment functionality. Some blocks,
rate of performance increase per transistor in each generation (Figure 24). such as bias circuits, RAM, and PLLs, support functions internal to the chip.
This was the most obvious way to tame the beast of dynamic power: stop Various configurable GPIO cells, high speed communication hard macros
slopping charge from VDD to VSS so fast. (LVDS, DDR, HDMI, SMBus, etc.), and high speed transceivers allow the logic
inside of the chip to communicate with the outside world with various volt-
10M Transistors (Thousands)
ages, speeds, and protocols. Other blocks, such as integrated CPU and DSP
Single-Thread Performance (SpecINT × 103) cores, support optimized functions that are commonly needed, and optimized
1M
Frequency (MHz) for power, speed, and compactness.
Typical Power (Watts)
100k
The FPGA core fabric is composed of thousands or millions of primitive
Transistors Per Chip
10k cells called configurable logic blocks (CLBs). Each CLB is a collection of
combinatorial and sequential logic elements that together can produce an
1k elementary computation and hold the value in one or more flip-flops. The
100
combinatorial logic usually takes the form of a programmable look-up table
(LUT) than can translate a few input bits to a few arbitrary output bits. Each
10 LUT performs one basic logic function, as programmed, and passes
the result into the configurable interconnect for subsequent processing
1
(Figure 26). The specific CLB and LUT design is one of the secrets
that make one FPGA family different from another. Inexpensive FPGAs
1970 1980 1990 2000 2010 2020
use simpler CLBs with fewer inputs, outputs, and interconnections, and
Year of Introduction
fewer flip-flops. The highest end FPGAs use much more complex CLBs,
Figure 24. Growth trends in computing hardware metrics. each capable of more inputs, more logic combinations, and higher speed.
This optimization allows more computation per CLB, and more optimized
performance in the compiled design. Naturally, the added inputs and
outputs in more complex FPGAs have different dynamic power trade-offs
than simpler, less interconnected devices.
CLB CLB The final piece of FPGA architecture is the tool chain (Figure 27). In order
to transform the blank slate of configurable logic fabric into a high per-
formance circuit, a comprehensive set of tools exists to translate a set of
Verilog or VHDL code into logical blocks, assign clock, reset, and testability
Figure 26. Configurable switch matrix between CLBs.
resources; optimize the functions for speed, power, or size constraints;
The fundamental concept of configurable logic functions continues outside of then load the result into the FPGA’s configuration EEPROM. Without these
the core fabric itself into the I/O cells, which are also highly configurable to tools the FPGA would never achieve its full potential. In fact, the tools and
meet a broad array of voltages, drive strengths, and logic styles (push-pull, programming languages are so important that they often overshadow the
tristate, open-drain, etc.). Like the configurable LUTs and interconnect matrix, fundamental circuit design that enables the FPGA to function. Engineers
programmable I/Os receive their configuration at boot-up time from configu- spend most of their time programming and don’t want to spend time and
ration memory, which has implications for power supply sequence order. energy thinking about delivering suitable power supplies. Often overlooked,
however, are the power supply requirements implied by the tools. Because
There are also functional blocks that cannot, or should not, be implemented so much effort goes into the digital design, it is only late in the game when
using general-purpose CLBs and GPIOs. These are the so-called hard the compiled design comes together that power requirements are known,
macros. They are functions that benefit from optimization, or that simply and problems with power supplies may be discerned. Here in the digital
cannot be made fast enough or small enough, and need-dedicated circuits. design and software tools, just as much as in the hardware design, flexible
These include gigabit transceivers, arithmetic logic and DSP elements, spe- power supply architecture is crucial to success.
cialized controllers, memories, and dedicated processor cores. These are
hard macros in contrast to soft blocks that can be compiled like software History, economics, and human factors continue to drive the trends in
and loaded into the configurable fabric. Hard macros usually have their transistors and architectures that create FPGAs. At every level, and
own power supplies, specific voltages, and timing requirements. every design stage, the power supply plays a critical, unseen role in the
success of the FPGA. The best choice of power supply is one that is accu-
rate, robust, flexible, compact, and easy to use. In all of these qualities,
Analog Devices’ family of PSM products set the standard for the industry.
Functional Constraints
Simulation (Timing, Hardware)
Source Code
Synthesis Translate Map
(Verilog, VHDL)
Nathan Enger
Nathan Enger [nathan.enger@analog.com] is a mixed-signal applications
engineer at Analog Devices in Colorado Springs, Colorado. Nathan has
a B.S.E.E. and an M.S.E.E. from the University of Colorado and Colorado
Technical University, respectively. He has 23 years of mixed-signal IC design
experience, including high speed PLL and transceiver development at Ford,
Intel, and Marvell Corporations.
Share on
Question: According to one philosophy, the AGND and PGND connections on a switch-
Where do I connect the grounds of switching regulators? ing regulator IC should be joined to each other right next to the respective
pins. This keeps the voltage offset between the two pins relatively low.
Thus, the switching regulator IC can be protected from disturbances and
even destruction. All of the circuit’s ground connections and a possible
ground plane would be linked to this common point in a star topology.
Figure 1 shows an example implementing this philosophy. The board layout
for an LTM4600 is shown here. It is a 10 A step-down micromodule. The
separate ground connections on the board are joined right next to each
other (see the blue oval in Figure 1). Due to the parasitic inductance of the
respective bonding wires between silicon and the housing, as well as the
inductances of the respective pins, there is already a certain amount of
decoupling of PGND and AGND, resulting in a low amount of mutual inter-
ference between the circuits on the silicon.
VIN
AGND
Answer:
How should you proceed with a switching regulator with an analog ground
(AGND) and a power ground (PGND)? This is a question asked by many
developers designing a switching power supply. Some developers are
accustomed to dealing with a digital GND and an analog GND; however,
their experience frequently fails them when it comes to the power GND. PGND
Designers then often copy the board layout for a selected switching
regulator and stop thinking about the problem.
PGND is the ground connection over which higher pulsed currents flow.
Depending on the switching regulator topology, this means the currents
through a power transistor or the pulsed currents of a power driver stage.
This is especially relevant in the case of switching controllers, for example,
with external power switches.
VOUT
AGND, sometimes called SGND (signal ground), is the ground connection
that the other, usually very calm, signals use as a reference. This includes Figure 1. Local connection of PGND and AGND right at the
the internal voltage reference needed for the regulation of the output voltage. solder contacts.
Soft start and enable voltages are also referenced to the AGND connection.
The other philosophy involves additional separation of AGND and PGND on
There are two different technical philosophies, and thus different opinions the board into two separate ground planes connected to each other at one
among experts regarding the handling of these two ground connections. point. Through this connection, interfering signals (voltage offset) remain
largely in the PGND region, while the voltage in the AGND region remains
CSS
CC Conclusion
RT
RRAMP
CCP
The answer to the question of how to deal with the grounds AGND and
RT/SYNC
RC
PGND is not that simple. That’s why this discussion continues. At the begin-
PGOOD
RAMP
PVIN
ning, I mentioned that many users of switching regulators adopt the board
RBOT
EN
SS
layout and the ground connection type from the example circuit supplied
COMP
PVIN by the IC manufacturer. This procedure is useful because you can usually
RTOP FB
assume that the manufacturer also tested the respective IC in this config-
GND PVIN
uration. It can also be seen in the examples given in Figure 1 and Figure 2
VREG
PVIN that the respective IC pinout is suitable for local ground connection close to
CVREG
BST PGND and AGND, or for separate grounding.
AGND GND
CBST
SW SW
SW
Of course, an IC manufacturer may make mistakes when designing exam-
SW PGND
ple circuits. That’s why it’s good to have some further information about
the underlying philosophies.
SW
SW
PGND
PGND
PGND
PGND
PGND
PGND
Figure 2. Separated AGND and PGND connected under the GND tab
by vias.
Frederik Dostal
Frederik Dostal [frederik.dostal@analog.com] studied microelectronics at
Also by this Author:
the University of Erlangen-Nuremberg, Germany. Starting work in the power
management business in 2001, he has been active in various applications Optimized Power
Supply Measurement
positions, including four years in Phoenix, Arizona, working on switch-mode
Setup
power supplies. He joined Analog Devices in 2009 and works as a power
management technical expert for Europe. Volume 52, Number 3
Share on
In these applications, programmable gain instrumentation amplifiers The choice of PGIA is dependent on the application. The AD825x is very
(PGIAs) are a good solution for the front end to accommodate the sensi- useful in multiplexed systems due to its fast settling time and high slew
tivities of the various sensor interfaces, while optimizing SNR. Integrated rate. The AD8231 and LTC6915, which have zero-drift architectures, are
PGIAs are available to achieve good dc and ac specifications. This article useful for systems where precision performance is required over a wide
discusses the various integrated PGIAs and the advantages in using them. range of temperatures.
Limitations will also be discussed, along with guidelines for building a dis-
crete PGIA when trying to meet a specific requirement.
Table 1. Programmable Gain Instrumentation Amplifiers Specifications
–VS 80
CMRR (dB)
On Resistance (Ω)
15
R2 VDD = +13.5 V
VSS = –13.5 V
550 Ω
VCC
R4 10
15 V 50 Ω
VDD = +15 V
5 VSS = –15 V
8 2 3 U1
4
+
V1 7 0
1 –25 –20 –15 –10 –5 0 5 10 15 20 25
– AD8421ARMZ
VS, VD (V)
5 6
5V Figure 6. On-resistance of ADG5412F over common-mode voltage.
–15 V
In order to eliminate the parasitic resistance effects of the switch, an in-amp
VEE
with a different architecture can be used to implement arbitrary gains. The
AD8420 and AD8237 have an indirect current feedback (ICF) architecture,
Figure 4. Discrete PGIA using a balanced configuration.
and are good choices for applications that require low power and low band-
A quad SPST switch such as the ADG5412F is recommended in this case. width. In this configuration, the switch is placed in a high impedance sense
Apart from the fact that the switch gives the flexibility to use balanced path, so the gain is not affected by the changing on-resistance of the switch.
resistors, the capacitances are also balanced for the drain and source,
which reduces the degradation on CMRR. Figure 5 shows the comparison +IN
of the ac CMRR when a multiplexer is used across the gain pins of the
AD8421 vs. when a quad SPST switch is used. AD8237 VOUT
470 pF 2 kΩ
110 –IN G=1
REF FB 20 kΩ
100
200 Ω G = 10
90 2 kΩ
ADG604 G = 100
80
200 Ω
CMRR (dB)
70 G = 1000
4:1 Mux 22.1 Ω
60
50
40
Figure 7. Discrete PGIA using in-amps with indirect current feedback.
No Switch
30 ADG5412F For these amplifiers, the gain is set with the ratio of the external resistors
ADG1408 in the same way as a noninverting amplifier. This gives the user more flex-
20
0.1 1 10 100 1k 10k 100k ibility as the gain-setting resistors can be chosen depending on the design
Frequency (Hz) requirement. Standard thin film or metal film resistors can have tempera-
ture coefficients as low as 15 ppm/°C. This gives better gain drift than
No Switch AD5412F ADG1408 standard instrumentation amplifiers that set the gain with a single external
CMRR at 10 kHz 84 dB 79 dB 41 dB
resistor, where mismatch between the on-chip and external resistors
typically limit the gain drift to around 50 ppm/°C. For the best gain error
Figure 5. CMRR simulation with an SPST switch vs. mux configura-
tions.
and drift performance, a resistor network can be used for its tolerance and
temperature coefficient tracking. This does come at the expense of cost,
The ADG5412F also has low on-resistance, which is very flat across drain though, so unless it is needed, discrete resistors are preferred.
or source voltage, as shown in Figure 6. It is specified to change to a max-
imum of 1.1 Ω over the drain or source voltage. Going back to the initial Another solution, and the one that provides the most flexibility, is the three
example, with the AD8421 in a gain of 10 and a gain resistor of 1.1 kΩ, the op amp in-amp architecture with discrete components, as shown in Figure 8,
switch would introduce only 0.1% of gain nonlinearity. There is still a com- with multiplexers to switch in gain resistors. There is a much larger variety
ponent of drift though, which will be more pronounced at higher gains. of operational amplifiers to choose from compared to instrumentation
amplifiers, so designers have more choices, which allows them to design
around a specific design requirement. Special functions such as filtering
can also be built into this first stage. A difference amplifier in the second
stage completes this architecture.
– LTC2063
IN–
S
+ U2 R2
500 kΩ
5V
5V
R5
300 kΩ
LT5400-1
1 MΩ
R10
100 kΩ LT5400-2 + U4
1 MΩ
LT5400-3 S OUT
RG
200 kΩ 1 MΩ – LTC2063
LT5400-4
R10'
1 MΩ
200 kΩ
SD
R5'
200 kΩ
REF
5V
R2'
+ 500 kΩ
S
IN+
–
SD
draw, which would negate the effect of using low power components. The 6.3
gain resistors, in this case, need to be large enough so as not to draw too
much current. The chosen resistor values, which were set to provide gains 6.1
For the second stage difference amplifier, the LTC2063 was used with the
Supply Current (µA)
5.7
LT5400 quad matched resistor network, 1 MΩ option. This ensures that
5.5
minimal current is drawn, and that CMRR is preserved due to the precise
matching of the resistors. 5.3
5.1
The circuit runs on a 5 V supply and was evaluated with different common-
mode voltages, differential input voltages, and gains. In the best condition 4.9
where the reference and the inputs are held at mid-supply, the circuit
4.7
draws only 4.8 µA of current. G=1
G = 10
4.5
Some increase in current is expected at varying differential inputs 1.5 2.0 2.5 3.0 3.5
due to the current that flows through the gain resistors, given by Output Voltage (V)
|VOUT – VREF|/(2 MΩ||1 MΩ). Figure 10 below shows the current drawn Figure 10. Supply current over output voltage.
at different gains. Data is taken with respect to the output to account for
the gains.
5.4
Conclusion
Programmable gain instrumentation amplifiers are a critical component
Supply Current (µA)
5.2
in the data acquisition space, enabling good SNR performance, even with
varying sensor sensitivities. The use of integrated PGIAs allows for shorter
5.0 design time and better overall dc and ac performance for the front end.
Integrated PGIAs should generally be preferred in the design, if there is one
4.8 that meets the requirements. However, when system requirements dictate
specifications that are not attainable with available integrated options, it
4.6
is possible to design a discrete PGIA. By following the right design rec-
ommendations, the optimal design can be achieved even with a discrete
G=1
G = 10 approach, and the various implementations can be assessed to determine
4.4
1.5 2.0 2.5 3.0 3.5 the best configuration in a specific application.
Common-Mode Voltage (V)
The author would like to thank Scott Hunt and Paul Blanchard for their
Figure 11. Supply current over common-mode voltage.
technical contributions to this article.
Kristina Fortunado
Share on
Abstract
The instrumentation amplifier (IA) is the workhorse of sensing applica- station or within the structure of a bridge, is unlikely to be located next
tions. In this article, I will explore some ways to take advantage of these to the electronics used to read the measurement. For example, when
amplifiers’ balance and excellent dc/low frequency common-mode rejection dealing with a two-wire quarter-bridge strain gage such as OMEGA’s SGT-
(CMR) for use with resistive transducers (for example, strain gage) when 1/350-TY43, placing the sensor remotely from the sensing amplifier, as
the sensor is physically separated from the amplifier. I will present methods shown in Figure 2, yields unsatisfactory results, even if shielded twisted
to increase the noise immunity of such gain stages while making them less pair sensor leads are used.
sensitive to supply variation and component drift. Measured performance
values and results will also be presented to show the accuracy range in The problem is that shielded twisted pairs are not immune to all interference
order to allow a quick evaluation for end-user applications. over long cable runs. In such a case, the well-balanced input(s) of the
instrumentation cannot be relied upon to eliminate the CM pickup. The
positive and negative amplifier inputs are not equally affected by the inter-
Detail
ference picked up by the long cable, and the inputs contain uncorrelated
When it comes to sensors, there is little competition for what a Wheatstone signals that CMR cannot eliminate. Therefore, it’s not a surprise to find sig-
bridge (Figure 1) can do. The bridge can produce a differential voltage that nificant noise at the output of the circuit, as shown in Figure 3, due to this
predictably changes in response to changes in a physical parameter—with unbalanced response to what seems to be CM noise.
the side benefit of providing temperature and time drift immunity. The dif-
ferential voltage rides atop a large common-mode (CM) voltage. To amplify
the small signal from a bridge, an instrumentation amplifier is used. The
beauty of an IA is that, with little or no loading of the bridge elements, it
can sense the differential voltage and reject the CM to a degree that is next
to impossible to achieve by a traditional op amp, due to the high degree of
external resistor matching required.
VCC
R4 R3
350 Ω 350 Ω
One solution for the successful extraction of the small bridge differential
voltage from the CM (dc and interference) is to use two pairs of shielded or
Figure 1. Wheatstone bridge. unshielded twisted pair (UTP). Done this way, both IA inputs are balanced
and subjected to the same CM noise pickup. This is shown in Figure 4. A
The electronics involved in physical measurements are often located far device such as the LT6370, with excellent low frequency CMR (120 dB) can
from the physical parameter under measurement. For instance, a strain reliably go to work on rejecting what afflicts both IA inputs. The result is a
gage measurement, such as that buried under the tarmac at a truck weigh clean output waveform at a large distance, even in noisy environments.
+15 V
Noise/Interference R4 R3
Remotely Located Imposed on the UTP 350 Ω 350 Ω U1
Sensor from the Surroundings R
RG1
24.2 Ω R
REF
R1 R4
350 Ω 350 Ω
Unshielded Twisted –15 V
Pair (80') Instrumentation
Amplifier
Figure 2. Remotely located sensor setup suffers from environmental noise pickup.
UTP2
Noise/Interference
Imposed on the UTP
from the Surroundings +15 V
R4 R3
350 Ω 350 Ω U1
RG1 R
UTP1
24.2 Ω R
REF
VDIFF
R1 R4
350 Ω 350 Ω
–15 V
LT6370
IN U3 OUT +
LT C1
LT6657-5 3.3 µF
SHDN
+5 V GND
R6
R2
1.47 kΩ*
2.37 kΩ*
Remotely Located +15 V Strain = Vo/(1 mA × (1 + 24.2 kΩ/RG1) × (1 + 24.2 kΩ/RG2) × 350 Ω × GF)
Sensor = Vo/(350 Ω × 2)
+ U1 = Vo/700 Ω
R LT6370 R9
RG1
R +
350 Ω 2.67 kΩ* REF 4.75 kΩ C2
– 3.3 µF
Unshielded Twisted
Pair (80') +15 V
R4 VR1 –15 V
2.37 kΩ* Vo
100 Ω + U2
Omega Corporation SGT-1/350-TY43 R LT6370 R7
RG2
Gage Factor (GF) = 2 R5 R
243 Ω* REF 5.1 kΩ C4
RSENSOR = 350 Ω 3.32 kΩ* 0.1 µF
–
R10 –15 V
+ Output Drift Due to 1/f Noise = ~2 mV p-p
3.74 kΩ C3
3.3 µF
R11
4.75 kΩ
R8
+15 V
4.75 kΩ
+ U5
+5 V U4
AD5602
VDD VOUT AD820
–
C5
SDA SCL
0.1 µF –15 V
Optional DAC and OPA for Offset Adjust
Ground U2-5 if Offset Adjust Not Needed
GF= 2
1000 400
1/fCORNER = 1 Hz
Current Noise Density (fA/√Hz)
1/fCORNER = 2 Hz
G=1 BW Limit
Unbalanced Source R G = 10 G = 1000
Balanced Source R G = 100, 1000
10 10
0.1 1 10 100 1k 10k 100k 0.1 1 10 100 1k 10k 100k
Frequency (Hz) Frequency (Hz)
Hooman Hashemi
Hooman Hashemi [hooman.hashemi@analog.com] joined Analog Devices in
March 2018, where he works on characterizing new products and developing
applications that showcase the products features and uses. Hooman previ-
ously worked for Texas Instruments for 22 years as an applications engineer,
concentrating on the high speed portfolio. He graduated from University of
Santa Clara with an M.S.E.E. in August, 1989, and San Jose State University
with a B.S.E.E. in December, 1983. He is married with one 14-year old daughter.
Share on
Introduction
Industrial, automotive, IT, and networking companies are major purchas- when the input voltage rails drop significantly. This article details a method
ers and consumers of power electronics, semiconductors, devices, and for using a simple buck controller in SEPIC, Cuk, and boost converters.
systems. These companies use the full array of available topologies for
dc-to-dc converters that employ buck, boost, and SEPIC in different varia- Generating Negative and Positive Voltage from a
tions. In an ideal world, these companies or firms would use a specialized Common Input Rail
controller for each new project. However, adopting new chips requires
Figure 1 illustrates the design of a bipolar power supply based on a single
significant investment due to the lengthy and costly process of testing new
buck controller with two outputs.
devices for compliance with automotive standards, verification function-
ality in the specific applications, conditions, and equipment. The obvious For maximum utilization of this chip, one output must be employed to
solution for reducing development and design cost is employing already generate a positive voltage and a second to generate negative voltage. The
approved and verified controllers in different applications. input voltage range of this circuit is 6 V to 40 V. The VOUT1 generates positive
3.3 V at 10 A and VOUT2 negative voltage –12 V at 3 A. Both outputs are
The most used topology for generating a power supply is for step-down
controlled by U1. The first output VOUT1 is the straightforward buck converter.
converters. However, employment of this topology is limited to generating
The second output has a more complex structure. Because VOUT2 is negative
positive outputs from the input voltages that are greater than the output. It
relative to GND, the differential amplifier U2 is employed to sense negative
cannot be used in a straightforward way for generating negative voltages
voltage and scale it to the 0.8 V reference. In this approach, both U1 and
or providing stable outputs when the input voltage drops below the output.
U2 are referenced to the system GND, which significantly simplifies the
Both aspects to generating output are important in automotive electronics
power supply’s control and functionality. The following expressions help
when negative voltage is needed for supplying amplifiers or when a com-
to calculate the resistor values for RF2 and RF3 in case a different output
plete system must continuously work properly in case of cold cranking
voltage is required.
LTC3892EUH-2
U1 VIN
VIN 6 V to 40 V VIN
VIN ILIM
+ 0.1 µF VPRG1
3 µF × 10 µF 1 MΩ
4.7 µF DRVUV
47 µF
DRVCC DRVSET
1 MΩ 43.2 kΩ RUN
INTVCC PGOOD1 FREQ
RF2 RF1 1 MΩ 237 kΩ
PGOOD2 100 kΩ
76.8 kΩ 5.11 kΩ PLLIN/MODE 0.1 µF
EXTVCC
10 nF INTVCC
+U2
RF3 VFB2 VFB1
– LT1797
TRACK/SS2
4.75 kΩ 0.1 µF 0.1 µF
10 nF 7.5 kΩ TRACK/SS1 4.75 kΩ 4.7 nF
ITH2 ITH1
RUN RUN
330 pF RUN2 RUN1 100 pF
VIN L3
SENSE1–
SW2
18 µH SENSE1+
0.1 µF VIN 1 nF
10 µF
BOOST2
3 × 10 µF Q1 10 µF
VOUT2, TG2 Q3 VOUT1,
–12 V @ 3 A L2 150 Ω TG1 L1 3.3 V @ 10 A
SENSE2+
SW1
150 µF 10 µF 18 µH 1 nF 2.2 µH 2 mΩ +
5 mΩ 0.1 µF
D1 10 µF
+ SENSE2– BOOST1 Q2 470 µF
BG2 GND BG1
Figure 1. An electrical schematic of LTC3892 that is generating positive and negative voltages. VOUT1 is 3.3 V at 10 A and VOUT2 is –12 V at 3 A.
RF1 = 5.11 kΩ
90
RF1
Efficiency (%)
RF2 =
KR
85
RF1 × RF2
RF3 =
RF1 + RF2
80
The VOUT2 power train employs a Cuk topology, which is widely covered in
75
the relevant technical literature. The following basic equations are required
to understand the voltage stress on the power train components.
70
0.0 0.5 1.0 1.5 2.0 2.5 3.0
|VO |
D= Load Current (A)
|VO | + VIN
Figure 2. Efficiency curve of the negative output at 14 V input voltage.
V
VC = IN
1–D Generating Stable Voltages from a Fluctuating
VDS = VD = VC Input Rail
The electrical schematic of the converter shown in Figure 3 supports
two outputs: VOUT1 with 3.3 V at 10 A and VOUT2 with 12 V at 3 A. The input
The VOUT2 efficiency curve is presented in Figure 2. The LTspice simulation ®
voltage range is 6 V to 40 V. VOUT1 is created in a similar fashion, as shown in
model of this approach is available here. In this example, the LTC3892
Figure 1. The second output is a SEPIC converter. This SEPIC converter, as
converter’s input is 10 V to 20 V. The output voltages are +5 V at 10 A
with Cuk above, is based on noncoupled, dual discrete inductor solutions.
and –5 V at 5 A.
Use of the discrete chocks significantly expands the range of the available
magnetics, which is very important for cost-sensitive devices.
LTC3892EUH-2 VIN
VIN 6 V to 40 V VIN
VIN ILIM
+ 0.1 µF VPRG1
3 µF × 10 µF 1 MΩ
4.7 µF DRVUV
47 µF
DRVCC DRVSET
1 MΩ 43.2 kΩ RUN
PGOOD1 FREQ
INTVCC 1 MΩ 237 kΩ
PGOOD2 100 kΩ
PLLIN/MODE 0.1 µF
EXTVCC
100 kΩ 1 µF INTVCC
VFB2 VFB1
TRACK/SS2
7.15 kΩ 0.1 µF 0.1 µF
10 nF 7.5 kΩ TRACK/SS1 4.75 kΩ 4.7 nF
ITH2 ITH1
RUN RUN
330 pF RUN2 RUN1 100 pF
VIN L3
SENSE1–
SW2
18 µH SENSE1+
0.1 µF VIN 1 nF
10 µF
BOOST2
Q1 10 µF
VOUT2, 3 × 10 µF
D1 TG2 Q3 VOUT1,
12 V @ 3 A 150 Ω TG1 L1
SENSE2+ 3.3 V @ 10 A
+ 10 µF SW1
L2 1 nF 2.2 µH 2 mΩ +
5 mΩ 0.1 µF
150 µF 18 µH 10 µF
SENSE2– BOOST1 Q2 470 µF
BG2 GND BG1
Conclusion
This article explained the methods of building bipolar and dual-output
power supplies based on the step-down controller. This approach allows
for the use of the same controller in buck, boost, SEPIC, and Cuk topologies.
This is very important for vendors of automotive and industrial electronics,
Figure 4. If the rail voltage drops from 14 V to 7 V, both VOUT1 and VOUT2
as they can design power supplies with a variety of output voltages based
stay in regulation.
on the same controller, once it is approved.
Victor Khasiev
Share on
Question: AD623
Can I measure the difference between two light sources with an IN–
50 kΩ 50 kΩ
instrumentation amplifier?
R1
RG
VIN VOUT
50 kΩ
+ Out
50 kΩ
R2 RG
50 kΩ
IN+
50 kΩ
REF
Note that in this circuit, there are two special resistors, R1 and R2. R1
(LDR1) measures the brightness of the two light sources.
What is an LDR? The term stands for light dependent resistor or photore-
sistor. It is a passive electronic component with a resistor that has variable
resistance depending on light intensity. Light dependent resistors come in
different shapes and colors and they are useful in many electronic circuits,
especially in alarms, switching devices, clocks, and street lights.
Answer:
Yes, by replacing the main setting resistor of an instrumentation amplifier In general, LDRs’ resistance is very high in darkness—almost high as
with two photoresistors. 1 MΩ—but when light falls on the LDR, the resistance falls to a few
kΩ (10 kΩ to 20 kΩ at 10 lux, 2 kΩ to 4 kΩ at 100 lux), depending
In many lighting applications, measuring the relative intensity of two light on the model.
sources is more important than measuring their individual intensity. This
ensures that two light sources shine with the same intensity. For example, The LDR used for this schematic is from RadioShack (part #276-1657).
it is helpful to compare the brightness inside a control room (Room 1) to
a second room (Room 2) in the same building so the adjustment can be
made any time of day as well as night, or, if you have a production system,
you might want to ensure that the bright light conditions do not change.
The circuit in Figure 1 shows a simple but effective way to solve this
problem, by using an instrumentation amplifier with resistor gain control,
Figure 2. RadioShack part #276-1657.
such as the AD623.
Using AD623, one can find out the efficiency of two light bulbs by putting
Input and Output Voltages (V)
1.5 them in the different rooms together with LDR1 and LDR2, respectively.
This circuit has low power consumption and can be powered just by two
1.0
AA batteries, which is useful in power sensitive applications.
0.5
0.0
VIN
VOUT (AD623)
–0.5
0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0
Time (ms)
Chau Tran
Chau Tran [chau.tran@analog.com] joined Analog Devices in 1984, where he Also by this Author:
works in the Instrumentation Amplifier Products (IAP) Group in Wilmington, A Low Power, Low
MA. In 1990, he graduated with an M.S.E.E. degree from Tufts University. Tran Cost, Differential Input
holds more than 10 patents and has authored more than 10 technical articles. to a Single-Ended
Output Amplifier
Volume 51, Number 3
Like Analog Dialogue to discover the latest articles and author insights.
facebook.com/analogdialogue
Analog Devices, Inc. Analog Devices, Inc. Analog Devices, Inc. Analog Devices, Inc. ©2019 Analog Devices, Inc. All rights reserved. Trademarks and
Worldwide Headquarters Europe Headquarters Japan Headquarters Asia Pacific Headquarters registered trademarks are the property of their respective owners.
Ahead of What’s Possible is a trademark of Analog Devices.
Analog Devices, Inc. Analog Devices GmbH Analog Devices, KK Analog Devices M02000-0-3/19
One Technology Way Otl-Aicher-Str. 60-64 New Pier Takeshiba 5F, Sandhill Plaza
P.O. Box 9106 80807 München South Tower Building 2290 Zuchongzhi Road analog.com
Norwood, MA 02062-9106 Germany 1-16-1 Kaigan, Minato-ku, Zhangjiang Hi-Tech Park
U.S.A. Tel: 49.89.76903.0 Tokyo, 105-6891 Pudong New District
Tel: 781.329.4700 Fax: 49.89.76903.157 Japan Shanghai, China 201203
(800.262.5643, U.S.A. only) Tel: 813.5402.8200 Tel: 86.21.2320.8000
Fax: 781.461.3113 Fax: 813.5402.1064 Fax: 86.21.2320.8222