Modern Test and Measure: April 2015

Page 1

April 2015

Applying Multi-rate Digital Filtering The SPI Protocol at High Frequencies

Transforming

the Industry

Rigol’s Advanced New Product Line Delivers on Innovation

Interview with Chris Armstrong Director of Product Marketing for Rigol

t t


Join Today CLICK HERE

eeweb.com/register


CONTENTS

Modern Test & Measure

TECH SERIES

CONTENTS

4

Implementing Digital Filter Packages Multi-rate Digital Filtering for Extended Frequency Range

TECH REPORT Understanding the SPI Protocol Constraints How to Use the Protocol at 100MHz

EEWEB FEATURES The Basics of Ball Grid Arrays Tips for Low-volume PCB Assembly

INDUSTRY INTERVIEW Transforming the Test Industry Interview with Rigol’s Chris Armstrong

AMETEK Sorensen SG Series

PRODUCT WATCH

Programmable DC Power Supplies The SG Series from AMETEK is available with two types of controls: the SGA, which uses simple analog controls, and the SGI, which includes a variety of intelligent controls, including sequencing, constant power mode, and multi-language support. Products from both series are based on a 5kW power module, with single-chassis configurations combining up to 6 to form a 30kW supply. If you need more power, you can configure up to two supplies in series or 5 supplies in parallel to act as a single supply, providing up to 150kW of DC power.

AMETEK Sorensen SG Series Programmable DC Power Supplies

10 20 24 34 40 3


Modern Test & Measure

Applying Multi-stage, Multi-rate

DIGITAL FILTERING how to A while back, we reviewed some basics on how to apply digital filters

apply digital filters to sort out signals with undesirable elements riding on top of them, i.e. a square wave that’s being corrupted by a sinusoidal signal creeping in from somewhere in your system design. Now, let’s look at how to extend the range of cutoff frequencies for digital filters, allowing them to be used even more effectively. By David Maliniak Technical Marketing Communication Specialist Teledyne LeCroy

4


TECH SERIES

5


Modern Test & Measure

Using the available math traces on Teledyne

Figure 1. The input signal shows both the desired 63kHz signal along with a 60Hz component. Zoom trace Z1 shows the 60Hz component in detail.

LeCroy oscilloscopes, you can implement multi-stage, multi-rate filters to extend the range of the DFP2 package’s filter limits.

Figure 2. Shown is the series of math operations used to implement a multi-stage, multi-rate digital filter.

6


TECH SERIES

W

Digital ith Teledyne LeCroy’s Digital Filter Packagexxxxxx Filter Package (DFP2), users can

select any of seven standard filter types or define a custom filter for application to measured data. You can specify a range of pass-band limits and transition (roll-off) widths for any filter, which are implemented as digital finite impulse response (FIR) filters. The range of band-edge frequencies is a function of the oscilloscope’s effective sampling rate. Using the available math traces on Teledyne LeCroy oscilloscopes, you can implement multi-stage, multi-rate filters to extend the range of the DFP2 package’s filter limits. Let’s see how this works with an example of a signal (Figure 1). This is a signal you’ll commonly find in switching power-supply measurements. The measured waveform contains a 63kHz pulse-width-modulated signal riding on top of a 60Hz sine wave. Removal of the 60Hz signal requires a high-pass filter with a pass-band edge above 60Hz. While this filter can be implemented with the DFP2 filters, doing so at a 10 Msample/s sampling rate means using filters with a very large number of taps. If we want to reduce the filter size, we must reduce the sampling rate. There are two ways to go about this. One is to reduce the length of the oscilloscope’s acquisition memory; the other is to decimate the data using the sparse math function.

Reducing the sampling rate increases the possibility of aliasing the data, especially with a harmonic-rich signal like this one. To limit the possibility of aliasing, the data can be sampled at a high rate and then low-pass filtered, using a digital filter, before decimation. This combination of filtering and decimation before performing another filtering operation on the data is called “multi-stage, multi-rate” digital filtering. It allows you to reduce the effective sampling rate with minimal risk of aliasing, thus extending the usable range of the DFP2 filters. The multi-stage, multi-rate implementation is shown in Figure 2. The upper trace is the acquired waveform sampled at 10 Msamples/s. The goal is to reduce that sampling rate by 10:1. We accomplished this by first low-pass-filtering the acquired data with a bandwidth of less than 50% of the desired effective sampling rate of 1 Msamples/s. Math trace F2 is the signal after low-pass filtering with a bandwidth of 500kHz. Math trace F3 applies the sparse math function, which is used to decimate waveform data. The decimation ratio of 10:1 is set using the Sparsing Factor variable in the Math dialog box (accessed using the Math Setup menu). The resulting decimation is 10:1 and the effective sampling rate is 1 Msamples/s.

7


Modern Test & Measure

In Figure 3, a comparison of the input and output frequency spectra shows that the 60Hz component has been reduced by 40dB. This can be seen in the right-hand zoom trace comparison. The high-pass filtering does not affect spectral components above 300Hz. Math trace F4 is the setup for the high-pass filter. The cutoff frequency is 200Hz with a transition zone width of 50Hz. Note that the 60Hz component has been greatly reduced by the filtering process. With this example, we can see how multi-stage, multi-rate filtering extends the usable range of the DFP2 digital filters.

Figure 3. Shown is a comparison of the input and output spectra with a 40dB reduction of the 60Hz component in the lower (output) trace. The right side shows the 60Hz component before and after filtering.

The combination of filtering and decimation before performing another filtering operation on the data is called “multi-stage, multi-rate” digital filtering.

8


Click here


Modern Test & Measure

The

SPI PROTOCOL at Higher Frequencies

10


TECH REPORT

Understanding the constraints of using the SPI Protocol at 100MHz The Serial Peripheral Interface (SPI) protocol is in widespread use today for chip-to-chip communications, which does not come without its challenges. SPI is not a very well defined protocol and many “flavors” of SPI coexist on the market today. SPI does not even define the clock frequency to be used—unlike a protocol such as I²C. Common frequencies for SPI are between 10MHz and 20MHz; however, with technologies like FPGAs, it is easy to choose clock frequencies that go up to 50MHz or even 100MHz, and testing a product with using a 100MHz SPI signal requires controlling the protocol parameters.

By Frederic Leens (Byte Paradigm) and Alan Lowne (Saelig Company Inc.)

11


ial Peripheral Interface (SPI) - an overview

Modern Test & Measure

s fairly straightforward: it is a master-slave protocol scheme, with one single master on the bus. The Master es the communications (read or write) with the slaves and notably sends the reference clock signal to all the . It uses at least 4 signal lines: SCLK (clock), MOSI (Master-Out-Slave-In), MISO (Master-In-Slave-Out) and S (slave select) line per slave. The master uses one clock edge to send data and the opposite edge in the same d to sample the data sent back by the slave.

Serial Peripheral Interface (SPI): An Overview

SPI is fairly straightforward: it is a masterslave protocol scheme, with one single Master on the bus. The Master initiates the communications (read or write) with the slaves and notably sends the reference clock signal to all the slaves. It uses at least four signal lines: SCLK (clock), MOSI (Master-Out-Slave-In), MISO (Master-In-Slave-Out) and one SS (slave select) line per slave. The Master uses one clock edge to send data and the oppositePutting s Putting s edge in the same period to sample the Example 1: data sent back by the slave.

gure below depicts a read operation. This is the longest path from the master to the slave and back.

The figure at the left depicts a read operation. This is the longest path from the Master to the Slave and back.

Using SPI protocol at Higher Speeds

Symbol

TSCLK tprop_SCLK tSSCLKtoOut tprop_data TSamp

Description SCLK period SCLK propagation delay from master to slave Slave clock (SCLK) to output delay: delay between the clock edge at slave input and the data at the slave MISO output. MISO Data propagation delay from slave to master Timing budget available to the master for sampling the read back data.

propagation Example 1: d output delay. propagation d output delay.

The path starts at the Master’s output. The clock signal SCLK is present at the output pin of the Master and is Page 1 propagated on the (wire or trace) connection between the Master and the Slave. The Slave responds by using No problem h this clock edge (e.g. the rising edge) to provide the requested data on its MISO Example 2: No problem dh propagation pin (this is “MISO @ Slave”). Between the reception of the SCLK signal at the Slave’s Example 2: clock input and the moment when the propagation d requested data is present at the MISO output, there is a delay tSSCLKtoOut (‘Slave SCLK to data output’).

The data on MISO is then propagated from the Slave to the Master MISO input. The Master uses the falling edge of SCLKThe available to sample this data [1]. With a standard th starts at the Master's output. The clock signal SCLK is present at the output pin of the Master and is SPI protocol, data is generated on one ated on the (wire or trace) connection between the Master and the Slave. The Slave responds by using this andthesampled on the opposite edge dge (e.g. the rising edge) to provide the requested data on its MISO pin: this is 'MISO @ slave'.edge Between on of the SCLK signal at the Slave's clock input and the moment when the requested data is present the same clock cycle. withinatthe The available

output, there is a delay tSSCLKtoOut ('Slave SCLK to data output').

a on MISO is then propagated from the Slave to the Master MISO input. The Master uses the falling edge of o sample this data1. With a standard SPI protocol, data is generated on one edge and sampled on the opposite thin the same clock cycle.

12

een area shows the timing budget that is available to the Master for sampling the data. This budget must be


TECH REPORT The green area shows the timing budget that is available to the Master for sampling the data. This budget must be sufficient to allow the master to properly sample data, and it depends on the characteristics of the Master’s I/O and technology. Based on the timings labeled on the picture at far left, we have the following simple expression:

TSamp = TSCLK / 2 - tprop_ SCLK - tSSCLKtoOut - tprop_data Numbers in Action Example 1:

someSCLK numbers in at …. interface 4MHz. Master and Slave are interconnected with

somesimple numbers in …. 15cm wires that have a propagation delay of 100ps/cm. The

SCLK wires interface 4 MHz. andMISO Slave are are identical. interconnected simple onatthe SCLKMaster and the Thewith slave has15cm a 6nswires that have a delay of 100ps/cm. The wires on the SCLK and the MISO are identical. The slave a 6ns SCLK interface at 4 MHz. Master and Slave are interconnected with simple 15cmhas wires thatclock have toa

clock to output delay. delay of 100ps/cm. The wires on the SCLK and the MISO are identical. The slave has a 6ns clock to Symbol

Symbol TSCLK

Value 250 ns (= 1/(4 MHz)) Value

1.5 ns x 100 ps) 250 ns(= (=15 1/(4 MHz)) tprop_SCLK T SCLK 6 nsns (= 15 x 100 ps) 1.5 SSCLKtoOut ttprop_SCLK 1.5 ns ttSSCLKtoOut prop_data 6 ns 250 /2 - 1.5 - 6 - 1.5 = 116 ns TSamp 1.5 ns tprop_data 250 /2 - 1.5 - 6a -slow 1.5 =of 116 ns No problem there is plenty margin, even with here: there plenty of here: margin, even with master requiring - e.g. 5nsaofslow setup time. TisSamp

master requiring, e.g. 5ns of setup time.

SCLK interface at 100MHz. Master and Slave are interconnected with simple 10cm traces that have a here: there is plenty of margin, even with a slow master requiring - e.g. 5ns of setup time. delay of 64ps/cm.

Example 2: Symbol Value interface at 100MHz. and Slave are interconnected SCLK SCLK interface at 100MHz. Master andMaster Slave are interconnected with simple 10cm traces that have a 10 ns with simple 10cm traces that have a propagation delay of 64ps/cm. delay of 64ps/cm. TSCLK

tprop_SCLK Symbol

0.64 ns

Value 6 ns 10 ns

tSSCLKtoOut T SCLK 0.64 ns tprop_data 0.64 ns tTprop_SCLK 10 /2 - 0.64 - 6 - 0.64 = -2.28 ns (!) Samp 6 ns tSSCLKtoOut e budget is negative as seen 0.64 fromns the waveforms: tprop_data 10 /2 - 0.64 - 6 - 0.64 = -2.28 ns (!) TSamp

[1] In reality, it can also use an internal clock signal, a delayed version of SCLK or a resynchronized version of SCLK. Of course, in this case, the timing relationship between the SCLK signal at its input and the internal clock used for sampling the data must be taken into account.

e budget is negative as seen from the waveforms:

13


tSSCLKtoOut ns tprop_data Modern Test &0.64 Measure 10 /2 - 0.64 - 6 - 0.64 = -2.28 ns (!) TSamp The available budget is negative as seen from the waveforms: The available budget is negative as seen from the waveforms:

Using SPI protocol at Higher Speeds

So, the transition on MISO occurs 2.28ns after the SPI conventional sampling edge. The higher interface frequency does not allow the use of a standard SPI protocol because the total timing budget is insufficient for the selected connections and slave characteristics.

Which options are there to ensure proper sampling at this speed? Option 1: Shorten the connections and find a Slave with a shorter clock to output delay (such a “faster slave” may simply not be available). Using shorter or “faster” connections will also have a very limited impact because this is the smallest share of the “missing” timing budget.

14

Page 3


TECH REPORT

Option 2: Slow the bus down until sufficient margin is available. If the Master requires at least 2ns of setup time to properly sample the data, we can deduce the bus maximum frequency of operation: By reversing the expression and replacing tSamp by the minimum setup time (tsetup):

TSCLK ≥ 2x (tsetup + tprop_ SLCK + tSSCLKtoOut + tprop_data) TSCLK ≥ 2x (2 + 0.64 + 6 + 0.64) = 18.56ns This means that the SCLK frequency can be at max: 1/ 18.56ns = 53.87MHz if a “pure SPI” protocol has to be used with the provided system. Option 3: Use another Master edge for sampling data. As seen on the diagram above, the next rising edge probably has sufficient timing margin to sample the data. Calculating the timing budget for this edge:

TSamp (Next rising edge) = TSCLK / 2 + TSamp TSamp (Next rising edge) = 5 - 2.28 = 2.72ns The next rising edge can indeed be used for sampling if, for instance, the Master needs at least 2ns of margin to sample data. This option should be considered as viable. The purpose of going for higher bus speeds is all about getting a larger bandwidth for transmitting data. There are many components like memory, DACs and ADCs on the market today that already “tweak” the protocol slightly in order to get more total throughput.

15


Option 3: Use another Master edge for sampling data. As seen on the diagram above, the next rising edge probably has sufficient timing margin to sample the data. Calculating the timing budget for this edge:

Modern Test & Measure

TSamp (Next rising edge) = TSCLK / 2 + TSamp TSamp (Next rising edge) = 5 - 2.28 = 2.72 ns The next rising edge can indeed be used for sampling if, for instance, the Master needs at least 2 ns of margin to Going Further sample data.

Consider a very poorly designed system, with large propagation

This option should be considered as viable. The purpose of going for higher bus speeds is all about getting a larger delays on the wires and a “slave-clock-to-output” time as large as bandwidth for transmitting data. There are many components like memory, DACs and ADCs on the market today that 8ns, keeping 100MHz working frequency. The “clock-to-output” already 'tweak' the protocol slightly inaorder to get more total throughput.

delay takes 80% of a clock period and will certainly create problems

Going furtherfor…a “pure SPI” protocol.

Consider a very poorly designed system, with large propagation delays on the wires and a 'slave clock to output' time Example 3: as large as 8 ns, keeping a 100 MHz working frequency. The „clock to output‟ delay takes 80% of a clock period and interface will certainly create SCLK problems for a 'pure at SPI'100MHz; protocol. Master and Slave are interconnected

with simple 15cm traces that have a propagation delay of 100ps/cm.

Example 3: SCLK Slave interface“clock-to-output” at 100 MHz; Master and is Slave 8ns. are interconnected with simple 15 cm traces that have a propagation delay of 100ps/cm. Slave „clock to output‟ is 8 ns. Symbol

Value 10 ns

TSCLK tprop_SCLK 1.5 ns 8 nsSpeeds UsingtSPI protocol at Higher SSCLKtoOut 1.5 ns 8 ns tSSCLKtoOut tprop_data 1.5-ns 8 - 1.5 = -6 ns (!) TSamptprop_data10 /2 - 1.5 10 /2 - 1.5 - 8 - 1.5 = -6 ns (!) TSamp

Page 4

From the diagram above, it can readily be seen that the data can't be sampled by the clock falling edge, as it is usually defined for SPI, but, in addition, the data is ready for sampling at the input of the Master only 6 ns after this edge, i.e. From the diagram above, it can readily be seen that the data can't be sampled by the clock falling edge, as it is usually 1 ns after the next rising edge of diagram the clock. The first clock edge available for sampling at the master input is the next From above, it can readily data defined for SPI, but,the in addition, the data is ready for sampling atbe theseen input that of the the Master onlycan’t 6 ns after this edge, i.e. clock period's falling edge, with a margin as large as 4 ns. sampled clockThe falling edge, asavailable it is usually defined SPI.input is the next 1 ns after thebe next rising edgeby ofthe the clock. first clock edge for sampling at thefor master clock period's falling edge, with a margin as large as 4 ns. However, in addition, the data is ready for sampling at the input

of the only 6ns after clock this edge, 1ns after the next rising In order to adequately testMaster SPI protocols at various speeds,i.e. it may be essential to use edge a serialof protocol adapter thatfirst can accommodate custom the clock. The clock edge available for sampling at the In order to adequately test SPI protocols at various clock speeds, it may SPI variations. Byte Paradigm's SPI Storm is a USB-connected PC-based inputprotocol is the next clock period’s fallingcustom edge, with a margin as be essentialMaster to use a serial adapter that can accommodate serial protocol host adapter useful for functional testing on systems using SPI variations. Byte SPI Storm is a USB-connected PC-based large asParadigm's 4ns. SPI and many other serial protocols. SPI Storm operates at up to 100 serial protocol host adapter useful for functional testing on systems using MHz and notably includes a custom protocol definition engine that SPI and many other serial protocols. SPI Storm operates at up to 100 provides full control of data sampling times sample data from any “SPIMHz and notably includes a custom protocol definition engine that like” slave and handle the situations described above. provides full control of data sampling times sample data from any “SPIlike” slave and handle the situations described above.

16

Conclusions


TECH REPORT In order to adequately test SPI protocols at various clock speeds, it may be essential to use a serial protocol adapter that can accommodate custom SPI variations. Byte Paradigm’s SPI Storm is a USB-connected PC-based serial protocol host adapter useful for functional testing on systems using SPI and many other serial protocols. SPI Storm operates at up to 100MHz and notably includes a custom protocol definition engine that provides full control of data sampling times sample data from any “SPI-like” Slave and handle the situations described above.

Conclusions Keeping a sufficient timing margin for sampling data on an SPI interface is not an easy task when the interface’s clock is in the 100MHz range. The “standard SPI” interface protocol, which specifies generating data on one edge of the SCLK and sampling data on the opposite edge within the same period is actually quite a tough constraint at higher speeds. But using a faster clock is desirable in order to reach higher data throughput using a serial protocol, and the technologies available on the market today are certainly able to handle such speeds. For this reason, many non-standard serial protocols derived from SPI are commonly used today. One of the main solutions for being able to use clock frequencies as high as 100MHz consists in sampling Readback data during the next clock period in order to give sufficient time to the Slave to respond—and still keep a communication scheme where the reference clock is provided by the Master.

17


Click here

Click here


Keysight


Modern Test & Measure

Basics of

BALL GRID

ARRAYS (BGAs)

20


EE WEB FEATURE

B

all grid arrays are the boon and bane of engineers and printed circuit board designers all over the world. Their unparalleled pin density and low-lead inductance are essential in today’s high pin count, high-frequency integrated circuits. However, that same pin density and unique interface create a challenge unique unto themselves. These challenges need to be faced head on since the ball grid array (BGA) is prevalent in modern PCBs. While there are entire textbooks that cover the topic of BGAs, their use, and their fanout techniques, the quick overview provided here offers a good starting point for improving BGA designs.

21


Modern Test & Measure

While the basic BGA concept has remained the same, they have been changing in dimensions since their introduction, with smaller pitches and smaller outlines. Certain BGAs have no connections in the center, while others have pins all across the bottom of the package. For simpler BGAs, with greater pitch and space in the middle of the BGA, manual routing can be accomplished without creating a breakout pattern. As the pitch decreases and pin count goes up, the amount of connections required makes the semi-random placement of traces unfeasible. While increasing layers of the board can be a shortcut to make it simpler to route the traces, this creates increased cost and greater reliability concerns, which should be avoided. If it is possible to reduce the layer requirements by more thoughtful layouts, then do so, only increasing the layer count as a last option. As the different ball patterns on the board give rise to different optimal fanouts or escape routing, it’s important

to carefully look at the patterns and ask various questions; How far apart are the balls? Are they parallel and equidistant, or do they have greater spacing in one direction? Does the pattern change? What is your minimum trace width and spacing? With answers to these questions in hand, you can either decide on how to best approach the fanout yourself, or you can turn to the Internet to see if someone else has already developed a solution to this problem. Due to their complex nature, BGAs are heavily dependent on vias, and it is essential to know how and where to use them. Where possible, to save money and increase reliability, you should use mechanical drilling for the vias. However, this has the drawback of creating a hole through all layers of the board when you may only want to connect to one or two layers. Blind microvias give you the option of only drilling down to the layer needed, or you can use laminated buried vias that can be used to change layers within the PCB. Unfortunately, this technology is expensive and unreliable. Yet, at times, it’s indispensable. If it is not possible to properly breakout the BGA, contact your PCB manufacturer to ask about the company’s capabilities and cost for microvias.

“While the basic BGA concept has remained the same, they have been changing in dimensions since their introduction, with smaller pitches and smaller outlines.”

22


EE WEB FEATURE A BGA, having the leads beneath the package itself, is most easily soldered using a reflow process. Small balls of solder are attached to the part itself by the manufacturer which, when flowed, create the electrical and physical connection between the BGA and the PCB. Most assembly houses use automated X-ray inspection (AXI) to verify the solder joints since there is no other way to see the connections.

“Due to their complex nature, BGAs are heavily dependent on vias, and it is essential to know how and where to use them.”

The pads for BGAs typically fall under two styles, solder mask defined pads and non-solder mask defined pads. The biggest difference is whether the solder mask encroaches on the pad or not. Generally, non-solder mask defined pads are recommended because of the increased surface area for bonding, however the solder mask defined pads decrease the chance of bridging and may be needed with smaller pitches. Despite the complexity and difficulty inherent with the use of BGAs, the increased performance and space savings frequently merit the challenges and potential headaches. As with all processes, time and practice will make the challenge of BGA design a second-nature skill that will become invaluable.

Advanced Assembly was founded to help engineers assemble their prototype and lowvolume PCB orders. Based on years of experience within the printed circuit board industry, Advanced Assembly developed a proprietary system to deliver consistent, machine surface mount technology (SMT) assembly in 1-5 days. It’s our only focus. We take the hassle out of PCB assembly and make it easy, so you can spend time on other aspects of your design. 20100 E. 32nd Pkwy #225 | Aurora, CO 80011 | www.aapcb.com www.aapcb.com | 1-800-838-5650

23


Modern Test & Measure

PCB Assembly Methods

24


EE WEB FEATURE

D

esign-for-manufacturing (DFM) is a well-known term and an essential part of the design process. Perhaps just as important, yet not as well-known, is the concept of design-for-assembly (DFA). If you optimize your circuit board so that it is produced flawlessly, but make it so the board can only be assembled by tedious hand soldering, then you have saved cents per board on manufacturing just to increase the cost by dollars per board on assembly. To avoid this, both the manufacturing and the assembly need to be taken into account during the design phase. Fortunately, there is generally no need to compromise between manufacturing or assembly, and in most cases you should be able to design a board that is both highly manufacturable and easily assembled. The first step in being able to design-forassembly is to understand the assembly process. This process will be discussed in depth to show how a board goes from an unpopulated printed circuit board (PCB) to a final product, ready to be packaged and sent to consumers.

25


Modern Test & Measure

The first absolutely critical step of the assembly process happens before the PCBs have been manufactured; the first step is to contact your assembly house and talk to them about the project. Communication should be a constant throughout the life of the product with continual feedback and discussion between the two parties. While we will discuss the general processes of an assembly, each house will have its own methods, strengths, and requirements that you should become familiar with and either prepare for or take advantage of. Depending on the assembly house, you will likely be assigned an account manager who will help you interface with different members of the team as necessary. If possible, go visit the assembly house in person, meet the team, and look at the process. This is a great time to get a feel for a company, its staff responsiveness, and professionalism. Take a look at the production floor and check to make sure that proper electrostatic discharge (ESD) precautions are taken, that current projects are organized, and that the overall facility is clean of dust, debris, and chemicals. Long delays in communication, conflicting feedback from different members of the team, or disorganized facilities are signs that you may have trouble later on. In preparation to submit your boards for assembly, there are certain items that you need to provide to the assembly house so they know what to do once they receive your boards. The first is

26

your bill of materials (BOM), which should include part number, description, value, reference number, and package type. It is advised that this information be complete and accurate or the assembly house will almost certainly place parts in the wrong places. If there is something that looks odd to them, a good assembly house will stop and ask for clarification. However, most small inaccuracies, perhaps an unintentional swap of a 100K and 100 ohm resistor that are both 0402 packages, will not be something they can catch. Besides the BOM, an X-Y-rotation-side (XYRS), or centroid, file will be required for most assembly houses. The XYRS file contains the X- and Y- coordinates, rotational angle, and which side of the board each part is placed. This information is used by the pick-and-place machine for SMT components. Nearly all computer-aided design (CAD) programs for PCB design will be able to export the XYRS file directly, and those that cannot will likely have a module or extension that will give them the capability. Finally, the Gerber files for your board should be included in your submission to the assembly house. Specifically needed are the copper files, silkscreen, and solder paste for both sides of the board. The silkscreen helps with orientation of which way is up, the copper tell the engineers how to line up the XYRS information, and the solder paste allows them to create a solder stencil if necessary. While not always necessary, it is helpful to include fiducials either on the entire panel of PCBs, or if being done board by board, fiducials on the individual boards. For most boards, these three files


EE WEB FEATURE x

R Y

“Communication should be a constant throughout the life of the product with continual feedback and discussion between the two parties.” S

XYRS Information

are all that is necessary to assemble a board. However, an assembly drawing may be needed to complete the board if there are special instructions (board marking, special mounting, etc.) Once the assembly house has received all of the requisite information, they will begin by reviewing what they have been sent. They will catch more obvious errors and work with you to get them resolved. A few assembly companies run designs through internally developed verification software, which use the aforementioned manufacturing files to create digital images of a design and help catch partto-footprint errors. Then, depending on if it is a turn-key process, they can order parts and/or boards on your behalf. If ordering assembly only, you will need to ship them the boards and the parts, making sure to provide the appropriate overages. Again, proper paperwork and labelling is crucial. If your BOM and board match each other with the appropriate reference designators, but you mislabel the parts when providing them, there will, at best, be delays. At worst, the entire run can require rework, considerably

increasing assembly costs. Check with the assembler for kitting checklists or recommended best practices. Some companies will even send you custom kitting labels free of charge to help with accurate kit preparation.

Pick-and-Place Machines The physical process at the assembly starts with setting up the pick-andplace machines. This involves loading the XYRS files and all of the different parts into the machines. Reels and trays are manually loaded and some pickand-place machines can even accept cut tape. Certain assembly houses will hand populate a board and then scan that into the pick-and-place machines to “teach” them the correct locations of the different parts. While this is effective, it takes even longer and can sometimes lead to large setup costs. For small runs, some assembly houses will use hand placement for every board. This is very time consuming and creates inconsistency for both solder-paste application and component placement. There are a few companies that specialize in machine-assembling low-quantity

27


Modern Test & Measure orders. Using a proprietary software system, they have automated the set-up process, making it cost-effective and fast to set-up the pick-and-place machines— even for a single board. For smaller runs, certain pick-and-place machines are able to deposit solder paste where necessary for surface-mount technology (SMT) parts, but it is much more common for a solder stencil to be used. Depending on the method, either the Gerber file for the paste layer is uploaded into the pick and place or the stencil and solder paste are physically loaded. In the case of SMTs that will be wave soldered, a glue file or stencil will need to be provided so that the SMTs can be held in place during the wave soldering process.

PCB and Solder Stencil

Board Flexing Under Pressure

28

Once the pick-and-place machine is setup, PCBs are either manually placed in the machine or the boards are brought in via a conveyor system. The boards are then clamped into position, and the pick-and-place machine uses an optical inspection machine to detect variations in the placement of the board in regards to X, Y, and theta. At this stage, use of fiducials is most important since the machine can reference the fiducials as absolute points on the board and then accommodate for small, yet potentially catastrophic, misalignments. The pickand-place machine automatically places the stencil on the board, deposits a dab of solder paste, and wipes the board, smoothing the solder paste across the stencil and covering the appropriate places on the PCB. The board is either moved or the stencil removed, and the board begins to be populated. Pick-and-place machines can only place parts on one side of the board, after which they will need to be taken out, soldered, and potentially run through the pick-and-place to take care of the back side. Surface-mount parts are kept in place by the surface tension of the solder paste if they are to be reflowed, otherwise they are simply glued in place in preparation for the wave-soldering process. As the pieces are placed onto the board, there is sometimes a literal push as the pick-and-place puts the parts on the board. This push, or pressure downward on the board, is typically benign, but with thin boards, or panels with only a bare minimum of connecting tabs between the boards, you may see the board flex. As the pick-and-place moves away, the


EE WEB FEATURE board snaps back to its original form, sometimes flicking pieces off the board. If your design calls for thin boards or minimal break tabs, it is recommended to speak with your assembly house to make certain that this will not cause a problem.

Solder With the board solder pasted or glued and populated, the board is ready to actually be soldered. If there are only a few boards, the assembly house is likely to simply hand solder the board. While this is a slow method, it requires no setup time and limits the amount of thermal stress on the components as the application of heat is highly localized. If the boards are comprised of primarily surface-mount devices, fine pitch or bottom terminated devices, or more than a handful of boards are going to be made, reflow soldering is the likely choice. Reflow is much easier to design for than wave soldering but is less than ideal for through-hole components as well as being more expensive. Wave

Hand Soldering

soldering is an older, very mature technology and has excellent success with through-hole components. Wave soldering surface-mount components adds complexity, but it is generally better to design a mixed-technology board to be either wave-soldered or reflow-soldered than to require both. Depending upon the process, boards may be delivered to another station to insert pressfit parts, or complete any TH soldering.

Testing Once the boards have cooled enough to handle, the final step before shipment is testing. There are an impressively wide array of tests that can be performed on assembled PCBs. The most simple is the visual inspection. When the boards are complete, a trained inspector looks over the boards to find obvious problems such as missing parts, tombstoned passives, or components that were not actually soldered. This can be followed by an automated optical inspection (AOI) in which a computer inspects the board. Older inspection software compared new boards with a known good board, or a golden board, but newer inspection systems compare the produced boards with the electronic files from which they were produced. These two inspections are standard with almost every assembly house but further tests can be performed if requested. The automated X-ray inspection is a tool very frequently used with BGA and other leadless devices, to make sure that proper solder connections were made between the integrated circuits (IC) and the board. Electrical testing can also be used at this point, either via a joint-test-action-group

“It is helpful to include fiducials either on the entire panel of PCBs, or— if being done board by board— fiducials on the individual boards.”

29


Modern Test & Measure (JTAG) connection or a bed-of-nails tester. Finally, the board can be given a functional test, verifying that it starts up and performs in the way expected. The level of testing is your decision and dependent on the complexity of the board and requirements for reliability.

Defective Boards After the testing is complete, a decision must be made. What should be done with the defective boards? If you’re producing low-cost, consumer-level products, it may not be worth the time and associated cost to repair the board. Large, expensive boards usually indicate a greater investment and are more likely to be worth taking the time to troubleshoot and salvage. Before production, the general policy on defective boards should be made; however, there will need to be decisions made on the production floor by the technicians.

A simple tombstoned resistor would only take a few moments to fix, while a board that fails the functional test yet passes the other tests could take considerable time to troubleshoot. This is one of the many reasons that communication with the assembly house must be continual throughout the process.

Shipping Once the boards have been confirmed as good, the assembly house will ship them off. If it were a small prototyping run, they may package the boards in antistatic bags and send them directly to you with the excess materials. For large runs, some assembly houses have the option of packaging the products for you and sending them either directly to distributors or even end consumers. These details can be worked out with your assembly house, but if the pricing is competitive enough, this can allow you

Bed of Nails Tester

30


EE WEB FEATURE to focus on improving your product and creating the next generation instead of worrying about stocking, storing, and shipping. Dedicated circuit board assembly houses have the expertise, experience, and equipment to quickly produce highquality populated boards. By knowing what they do, how they do it, and how you interface with them, you can increase quality and throughput while decreasing cost. To have a better idea of what type of assembly would work best for your product, start searching for assembly houses and asking questions. Work with them to make sure that your design for assembly is on par with your design for manufacturing. With this knowledge and careful planning, your production cycle should move smoothly, manufacturing quality products quickly and inexpensively.

“The level of testing is your decision and dependent on the complexity of the board and requirements for reliability.”

Advanced Assembly was founded to help engineers assemble their prototype and low-volume PCB orders. Based on years of experience within the printed circuit board industry, Advanced Assembly developed a proprietary system to deliver consistent, machine surface mount technology (SMT) assembly in 1-5 days. It’s our only focus. We take the hassle out of PCB assembly and make it easy, so you can spend time on other aspects of your design. 20100 E. 32nd Pkwy #225 | Aurora, CO 80011 | www.aapcb.com | 1-800-838-5650

31


MYLINK


MYLINK


Modern Test & Measure

Transforming

the

TEST Industry Interview with Chris Armstrong Director of Product Marketing for Rigol

34


INDUSTRY INTERVIEW

W

ith the electronics landscape constantly evolving to serve the increasingly complex consumer market, it would be easy to say that innovation occurs at every level of

product development. This is mostly true—thanks to Moore’s Law— but historically, test and measure technology has remained relatively unchanged, both in the price point and the technical capability. For Rigol, a global test and measure equipment provider, this is simply not enough. Through an overhaul of their product portfolio and an expansion of their customer support teams, Rigol is taking aim to transform the test industry once and for all. EEWeb spoke with Chris Armstrong, Director of Product Marketing for Rigol, about expanding the company’s offering and some key areas of differentiation from its global competition.

35


Modern Test & Measure

“By getting closer to our customers and giving them great applications support we also add to the Rigol value proposition.”

36

When you are in talks with a customer, how do you position Rigol against the likes of your main competitors? The markets our customers serve are all changing rapidly. Moore’s Law has driven significant price reductions in every electronics market. Computers, communications, and consumer electronics have all seen rapid price decreases while performance has increased. Only the test and measurement industry has been immune to this reality and today, four-channel scopes are still around two thousand dollars and DMMs are still around one thousand dollars—just like it was fifteen years ago. This price stability has created significant strains on customers who are continuously expected to do more with less. Rigol is transforming the test and measurement industry by delivering the same high-quality modern instrumentation as our more well known competitors, but at significantly lower price points. This provides our customers with unprecedented value for their T&M investment. We accomplish this by utilizing standard off-the-shelf components, FPGA-based designs, and common architectures across our portfolio and then we pass this value

engineering off to our customers rather than maintaining the savings as profit. Our FPGA-based design philosophy also allows us to quickly design and deploy new products and features, expand our portfolio, and solve new customer challenges.

How has Rigol outgrown its roots as a hardware vendor? What does this shift in focus mean for Rigol? When you start up a company in this industry, you aim to build quality instruments that serve the needs of the broad market. Rigol has built a strong position in the value general-purpose test category by delivering great products like the DS1102E Oscilloscope. That scope has met the needs of tens of thousands of engineers and students and helped establish Rigol as a serious brand. As more engineers embrace the value that Rigol brings to their bench, their advanced applications require more support both in the measurement capabilities of their equipment as well as the support they need on how to make measurements and maximize the return on their investment. We have executed against both of those needs. We have built many new SW and analysis features into our products


INDUSTRY INTERVIEW to help solve specific needs—from EMI testing, to embedded mixed-signal debug, to power analysis and serial bus decode. We have expanded our portfolio to meet the specific application needs of our customers, but it goes beyond products. We have developed a world-class team of applications engineers, sales engineers, and technical support people in our US office to help customers successfully use these new and ever more powerful application packages. By getting closer to our customers and giving them great applications support we also add to the Rigol value proposition. Instead of just building hardware that you think people need, it’s about digging deeper and learning what troubles an engineer, what costs them time and money, and how you can help them engineer better and more efficiently.

What kind of opportunities have you noticed in the embedded side of test and measurement? The biggest challenge is the fragmentation of smaller engineering firms that are building more and more connected devices. This means there are more engineers doing embedded design work that is not necessarily their primary discipline. Rigol provides cost-effective, intuitive tools that help engineers doing embedded design

DS1104Z Oscilloscope – The latest generation, improving on the award-winning DS1102E

work complete their tasks. By combining analog and digital capabilities with powerful triggering and analysis capabilities, our bench instruments let even non-experts complete their board-level debug. However, there are challenges in this area around serial debugging. Whatever the engineer is connecting their embedded designs to, they are inevitably utilizing serial data transmissions on a number of buses—some of these busses might be custom and some of them standard—but regardless the engineer needs to be able to decode bus traffic and test these interfaces. They will also need to be able to evaluate the conditions on many traces with a system view of the bus and analog signals in order to debug their embedded design.

“Rigol is transforming the test and measurement industry by delivering the same high-quality modern instrumentation as our more well known competitors, but at significantly lower price points.”

37


Modern Test & Measure

Rigol M300

“With HALT/HASS testing and data acquisition products like the M300, we help engineers design for quality and manufacture to their specifications completing their most difficult projects on time and under budget.”

38

What is Rigol doing in the reliability and lifecycle area? Our M300 product line is a data acquisition system. With an M300 system you can do all of the necessary voltage, temperature, resistance, and current measurements. It’s a full, standalone system for benchtop and lab-based acquisitions, so people use it for lifecycle testing and temperature profiling in a manufacturing or industrial setting. It’s a broad-based data acquisition set that we have developed to focus on usability and has a large format, front-panel UI for making those measurements and monitoring them in real time as well as a powerful PC software package for simple setup, monitoring, and analysis. This enables Rigol to be a more complete provider for engineers. With our scopes and embedded design know-how Rigol’s value on the debug and design bench continues to grow. With our spectrum analyzers and RF solutions, Rigol has a unique offering around RF debug and EMI PreCompliance evaluation. With HALT/HASS testing and data acquisition products like the M300, we help engineers design for quality and manufacture to their specifications completing their most difficult projects on time and under budget with less capital equipment investment than ever before.


INDUSTRY INTERVIEW How has Rigol worked to develop towards being a trusted brand in the US market? We got our foot in the door on price. It is no secret that early on that, price was what convinced customers to try us out, but we have grown so rapidly because of other things. The quality of our products is uncompromised—it is reliable and people learn to depend on it. Our portfolio is expanding to new applications areas so we are growing along with the needs of our customers. We have put in place a great support team and we differentiate from the big guys with the personal attention we provide. We provide timely application content and use training to help make measurements. Last but not least, our customers continue to get products at a fair price delivering great value. That is how we have grown our brand and will continue to do so. A simple recipe really. How does Rigol differentiate itself from similar competitors with roots in China? In some senses, it’s the same differentiation we seek in the US market. We have been in the US for almost six years, and we have built up a set of customers and users that trust us and love our equipment. I think we have continued to dive into the applications that engineers care about most and we have built up knowledge

and capabilities and have implemented it back into our products. Basically, by providing great products and great support at fair prices we leave our valued customers no reason to look anywhere else. That is the essence of loyalty.

Now that Rigol has established itself here in the US, what do you hope to see in the next five years? Over the next five years our key goal is growth. We want to delight more customers and introduce more engineers and technicians to our amazing portfolio and unique value. We want to continue to build relationships with our customers and find more application spaces where we think we can offer solutions that help them out and quickly design and deploy products that fulfill those needs. We intend to transform the T&M industry and be the world’s preeminent T&M brand. We will achieve that through four simple pillars: •

Delivering constant innovation

Providing unprecedented customer value

Ensuring a world class customer experience at every turn

Expanding our portfolio to meet our customers changing needs

39


Modern Test & Measure

40


PRODUCT WATCH

AMETEK Sorensen SG Series

Programmable DC Power Supplies The SG Series from AMETEK is available with two types of controls: the SGA, which uses simple analog controls, and the SGI, which includes a variety of intelligent controls, including sequencing, constant power mode, and multi-language support. Products from both series are based on a 5kW power module, with single-chassis configurations combining up to 6 to form a 30kW supply. If you need more power, you can configure up to two supplies in series or 5 supplies in parallel to act as a single supply, providing up to 150kW of DC power.

41


Modern Test & Measure

Hardware Front View

1

2

Vacuum Fluorescent Graphical Display

Constant Voltage, Current, and Power Modes

Back View

3 Control Interfaces

42

4 DC Output up to 30kW per Supply


PRODUCT WATCH

Specs Sorensen offers 90 different voltage and current configurations, including a 3U model that will do up to 10V and 1200A. Both the SGA and SGI series have analog and digital remote control interfaces, including GPIB, RS232, and Ethernet, which uses the LXI standard. One of the big benefits of the SGI series is the sequencing capability that frees up your system controller and shortens test time. It not only allows you to program in standard voltage, current, or power modes, but also voltage or current ramps as well as using subroutines, looping, and pauses for highly flexible automation. With up to 30kW from a single supply and the ability to configure multiple supplies in parallel or series, the Sorensen SG series addresses the needs of applications requiring high-power programmable DC supplies. For more info, visit ProgrammablePower.com.

Watch Video To watch a demo of the SG Series, click the image below:

CLICKXXX HEREXXXX

43


M o v i n g To w a r d s a

David Elien VP of Marketing & Business Development, Cree, Inc.

Clean Energy

Let There Be

LIGHT

FUTURE

How Cree reinvented the light bulb

— Hugo van Nispen, COO of DNV KEMA

Cutting Edge

SPICE

Modeling

MCU Wars 32-bit MCU Comparison

+

Cutting Edge Flatscreen Technologies

+

New LED Filament Tower

View more EEWeb magazines— Click Here

Power Developer O ct o b er

201 3

From Concept to

Reality

Sierra Circuits:

Designing for

Durability

A Complete PCB Resource

Wolfgang Heinz-Fischer Head of Marketing & PR, TQ-Group

TQ-Group’s Comprehensive Design Process

Freescale and TI Embedded Modules

+

Ken Bahl CEO of Sierra Circuits

PLUS: The “ Ground ” Myth in Printed Circuits

+

+

PCB Resin Reactor

ARM Cortex Programming

Low-Power Design Techniques


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.