KF5OBS #3: L-Network Impedance Matching:

New video about impedance matching using an L-Network. This is a complimentary video to my classic text blog entry I wrote about this subject earlier.

L-Network impedance matching

Impedance matching is an everyday problem for RF circuit designers. The L-Network is one of the easiest lossless ways of matching a low source impedance to a higher load impedance. This article shows how they work and how to design them.

Matching a transistor amplifier’s low output impedance with the higher impedance of an antenna (typically 50 or 75 Ohms) is just one everyday example of where an L-Network can be used. For this article, we are going to design an L-Network that matches a 75 Ohm source (function generator) with a 1 kΩ load (resistor).

To make it easier for you to understand how this network works, I will present the complete circuit first, explain how it works and then explain how the values are being calculated. Here is the finished L-Network:

L-Network matching 75 Ohms source impedance to 1000 Ohms load impedance

L-Network matching 75 Ohms source impedance to 1000 Ohms load impedance

RS = Source Resistance (75 Ohms)
RL = Load Resistance
Ls = Series inductance (j263)
Cp = Parallel Capacitance (-j284)

Don’t be frightened by the little “j” in front of the values, in case you have never seen it. The letter “j” in electronics engineering stands for the imaginary unit. Adding “j” to a reactance is basically the so-called “vector notation.” A positive value indicates an inductive reactance and a negative value is always a capacitive reactance. If you are not used to it, you can just think of Ls as an inductor with a reactance of 263 Ohms and of Cp as a capacitor with a reactance of 284 Ohms.

Note that the reactance of a capacitor and an inductor is frequency dependent. Therefore, this circuit does not work well over a large bandwidth.

This circuit makes the 1000 Ohms load ‘look’ like a 75 Ohms load to the source. But how does it work? To answer this question, we have to look at the equivalent circuit. For that, we will reduce the overall circuit to simpler elements, step by step.

Let’s start with Cp and RL. They are in parallel. The overall impedance of two resistors is calculated as follows:

R = \frac{R_1 * R_2}{R_1 + R_2}

Likewise, the resulting complex impedance of a resistor and a capacitor can be calculated as follows:

Z = \frac{Xc * R}{Xc + R}

In our case, we get:

Z = \frac{X_c * R_L}{Xc + R_L} = \frac{-j284 * 1000}{-j284 + 1000} = 75-j263

75 is the real part in Ohms and -j263 is a capacitive reactance of 263 Ohms. That means the capacitor and resistor in parallel will act like a resistor with 75 Ohms and a capacitor with 263 Ohms reactance in series.

Equivalent circuit for Cp and RL

Equivalent circuit for Cp and RL

Now if you insert that back into the original circuit and have a close look at it, you may notice something. Look at the reactance of Cp and Ls.

Overall equivalent circuit after reducing Cp and RL to a series equivalent circuit

Overall equivalent circuit after reducing Cp and RL to a series equivalent circuit

Correct, the reactance of both the capacitor and the inductor are the same, just with different vectors. If you have never worked with a complex impedance beforehand, you will now be amazed by how much easier it makes things. We can simply add the reactances together, and since 263 + -263 is zero, we only have the 75 Ohms load resistance left. Yes, it’s that simple, the source ‘sees’ the 1 kΩ load as a 75 Ω load.

Overall equivalent circuit of the L-Network

Overall equivalent circuit of the L-Network

An often-welcomed side effect is that this L-Network acts as a low-pass filter. So, if it’s used to match a low transistor amplifier impedance directly to the higher antenna impedance, one suppresses harmonics at the same time.

If one wishes to have a high-pass characteristic, one can simply switch the positions of the inductor and the capacitor. It really changes nothing. The impedance values, of course, need to be properly adjusted in that case.

Let’s talk about how to design a circuit like this from scratch. We will use the above values, source impedance of 75 Ohms and load impedance of 1000 Ohms at a frequency of 16 MHz. The frequency doesn’t matter until the end when we have to pick actual values for Ls and Cp.

The first thing we have to calculate is the quality factor, or Q factor. It describes how under-damped an oscillator or resonator is, or equivalently, characterizes a resonator’s bandwidth relative to its center frequency. The Q of an L-Network is calculated as follow:

Q = \sqrt{\frac{R_{Load}}{R_{Source}}-1}

RLoad = Load Resistance
RSource = Source Resistance

With our values plugged into the equation, we get the following:

Q = \sqrt{\frac{1000}{75}-1} = 3.512

So 3.512 is our Q. The rest is just as simple. To get the needed impedance of the inductor, we use the following formula:

X_L = Q*R_{Source} = 3.512 * 75 = 263

That means the inductor needs to have an impedance of 263 Ohms at the desired frequency. We can write this as j263 to make sure it’s apparent that it is an inductive reactance. The impedance of the capacitor needs to be the load resistance divided by the Q factor.

X_C = \frac{R_{Load}}{Q} = \frac{1000}{3.512} = 284

Again, this means that the impedance of the capacitor at the desired frequency needs to be 284 Ohms. Using the vector notation, we write -j284 to indicate that it is a capacitive impedance.

Okay, now we need to find actual values for the inductor and the capacitor. To be able to calculate either one, we need to settle on an operating frequency. For this article we will use 16 MHz. Using the following formulas, we can find the actual values for the parts at the desired frequency:

L = \frac{X_L}{\omega} = \frac{263}{2 \pi (16*10^6)} = 2.6 \mu H

That means our inductor needs to have a value of 2.6 μH. I chose a value of 2.2 μH as it is a common value I had in stock. Since the circuitry itself in real life usually contains what’s called parasitic inductance, it won’t throw the circuit off by far. Next up is the capacitor:

C = \frac{1}{\omega X_C} =  \frac{1}{2 \pi (16*10^6) 284} = 35 pF

Instead of 35 pF, I used a 33 pF capacitor. Not only is it a more common value, we can again assume a little bit of stray capacitance by the remaining circuit.

75 Ohms to 1000 Ohms L-Network characterized with a return loss bridge

75 Ohms to 1000 Ohms L-Network characterized with a return loss bridge

I used a return loss bridge, a signal generator and an oscilloscope to verify the performance of this circuit. And sure enough, it acts just like a 75 Ohm resistive terminator at about 16 MHz. The exact frequency for best operation turned out to be roughly 16.1 MHz.

Confirming the performance of the 75 Ohms to 1000 Ohms L-Network using the Teledyne LeCroy HDO4024

Confirming the performance of the 75 Ohms to 1000 Ohms L-Network using the Teledyne LeCroy HDO4024

Update (04/06/2013): I previously wrote that one can not match a high impedance source to a low impedance load. That is incorrect. Naturally, it works perfectly fine the other way around. One only has to switch the position of the load and the source.

KJ6QBA took out the time to simulate this circuit using LTspice. He also simulated the same circuit used in reverse to match a 1000 Ohm source to a 75 Ohm load. Here’s the result:

LTspice simulation of the L-Network provided by KJ6QBA

LTspice simulation of the L-Network provided by KJ6QBA

Review: Abracon MEMSpeed Pro II Programmer / MEMS Oscillators

Most circuit design engineers know this problem. They seem to have an inexhaustible amount of oscillators with all kinds of frequencies available, but there’s always one frequency that seems to be unavailable: the one they need. Abracon offers a variety of low-cost MEMS oscillators that can be programmed for a wide range of frequencies.

When I saw that Abracon had reasonably priced programmable oscillators available, I knew I had to get some. There is a variety of different oscillators with different specifications available. I picked the Abracon ASDMB series MEMS (Micro Electro Mechanical System) oscillators [1] [2]. To be able to program these oscillators, one needs the MEMSpeed Pro II programmer and an adapter socket [3].

First off, a warning. MEMS oscillators aren’t the best performers when it comes to phase noise performance. So wherever phase noise plays an important role, these oscillators are probably not your best choice. But for that, MEMS oscillators or MEMS actuators / sensors in general are significantly less sensitive to vibrations and mechanical shock.

I got my MEMSpeed Pro II kit and the ASDMB adapter kit directly from Abracon. Any adapter kit comes with 50 blank oscillators. The case that the MEMSpeed Pro II comes in offers space for two adapter cards and plenty of blank ICs. There are numerous different oscillators with different parameters available [4].

Here’s a close-up of the MEMSpeed Pro II kit:

MEMSpeed Pro II kit with adapter socket and some blank oscillators

MEMSpeed Pro II kit with adapter socket and some blank oscillators

As you can see, there’s space for two socket cards and plenty of blank oscillators in the case. The USB drive contains all the software necessary for the programmer. Please make sure you install the software before you connect the programmer for the first time. The reason is that the programmer uses a proprietary USB driver that should be installed before the device talks to the PC for the first time.

Close-up of the MEMSpeed Pro II programmer and the adapter card with opened socket

Close-up of the MEMSpeed Pro II programmer and the adapter card with opened socket

The adapter card connects to the side of the MEMSpeed Pro II. Once everything is connected, one can hook up the programmer to the PC and start the software. The software is really self-explanatory. After entering the target frequency and clicking the “Program” button, the MEMS oscillator is programmed.

The software for the MEMSpeed Pro II is very easy to use

The software for the MEMSpeed Pro II is very easy to use

The “Measure” section of the software makes it possible to verify that the burn went correctly. However, it seems that the precision of this feature is not the best. It’s enough to make sure that the frequency is about right, but please don’t trust the last digit.

For an experiment, I programmed one of my ASDMB oscillators to the frequency 145.565, which is the national frequency for radio direction finding in the amateur radio community. I used my brand new Teledyne LeCroy HDO4024′s spectrum analyzer capabilities to obtain some data on the device’s performance.

As indicated above, the phase noise performance of MEMS oscillators is not the best. The following shot shows this clearly on the instantaneous spectrum and the historical spectrogram:

Output spectrum of a Abracon ASDMB programmed to 145.565 MHz viewed on a Teledyne LeCroy HDO4025

Output spectrum of a Abracon ASDMB programmed to 145.565 MHz viewed on a Teledyne LeCroy HDO4025

Next up is the harmonic output. The Teledyne LeCroy automatically marks harmonics and displays the level. Unfortunately, I entered a slightly off fundamental frequency (145.5 instead of 145.565). But the representation is still valid.

Using the harmonic marker function of the Teledyne LeCroy HDO4025 12-bit high definition oscilloscope to view the harmonic content of the output signal

Using the harmonic marker function of the Teledyne LeCroy HDO4025 12-bit high definition oscilloscope to view the harmonic content of the output signal

The ASDMB oscillators can operate between 1 and 150 MHz. They can be operated between 1.8 and 3.3 V and work well over the entire range. There are different temperature options available ad there are 3 sub-types available, which are designed for an output load of 10 kΩ and either 15, 25 or 40 pF of capacitive load. At 3.3 volts, the rise time is better than 2 nS.

Altogether, this is a very nice product and from now, on a must have in my lab. From now on, I will have almost any frequency available whenever I need it. The only way Abracon could make me happier would be by coming out with an MEMS VCO that can be pulled by an external voltage.

Links and Sources:

[1] ASDMB Datasheet, Abracon: http://www.abracon.com

[2] ASDMB Blank Oscillators, Mouser: http://www.mouser.com/

[3] MEMSpeed Pro II, Mouser: http://www.mouser.com/

[4] MEMS Overview, Abracon: http://www.abracon.com/

Dealing with social media

This blog is now just over one year old. In that short time, I could gather quite a bit of experience in dealing with US-based companies and their way of handling social media. Time to recap and give those companies a bit of advise.

Most marketing managers see social media as a very dangerous tool. Dealing with social media can give you very quick success or an even more rapid downfall. A well-planned marketing campaign can quickly turn into a marketing crisis, and in the eyes of many marketing managers, social media is therefore an acquired taste with unpredictable outcomes. But is it really unpredictable?

I personally don’t think social media is unpredictable, it is merely a paradigm shift. A while back, big corporations could sweep problems under the carpet and customers had little to no platform to voice their opinions on, and essentially, that is the part that marketing managers seem to be so afraid of: the customer’s opinion.

Attempting to sweep a problem under the carpet will usually create a marketing crisis when dealing with social media. This is called the Streisand effect and is named after Barbra Streisand, whose legal actions against images of her house sparked a wide interest in the images that otherwise would not have been there to begin with [1].

So far, I’ve to write few negative reviews but I usually have a few things listed in every product review that could be improved. Different manufacturers had different ways of responding. They ranged from “thanks for your feedback, we’ll fix it” to no response at all. The first response is great and most companies would have less problems dealing with social media if they’d save the sentence “thank you for your feedback, we’ll take care of that” as a boilerplate [2] somewhere and use it every time an issue comes up.

No reaction or no response is, in a way, the safe route but still undesirable. Companies should take feedback in social media (and anywhere else, for that matter) very serious and let the customer / reviewer know that they value their opinion.

Speaking of no response, Agilent has been contacted by me on at least 4 occasions. Every time I requested a demo device, the response time was usually less than 24 hours. They’d ask me what exactly I was planning on doing, and being fair, I would tell them that I have a blog and I’d like to review their products. And that was the end of it. Not once did I receive an answer after I explained my intentions. I mean of course, they want to sell something. And of course, my request is probably undesirable and of course, it’s their prerogative to not participate in such a review, but they could at least write a quick response saying that they are unable to participate or that they chose not to participate.

So if they already serve somebody, they know they will write about it on the web with the silent treatment, how will their customer service interact with other undesirable requests, maybe from paying customers? It’s not too difficult to imagine that the response is equally poor.

To be fair, I do understand that most sales managers are unfamiliar with social media and do not know what they can and can not do. And that brings me to Teledyne LeCroy. My first contact was not sure what he could and what he could not do, but he did the correct thing: he told me exactly that. Additionally, he clarified LeCroy’s position on this internally and got back with me. The rest is history to the frequent readers of my blog.

Teledyne LeCroy, Abracon and Jackson Labs are the top companies regarding response time, as well. Even though I am a non-paying customer and prospectful trouble maker, they respond very quickly at any time of the day whenever I have a question or an issue. And that’s exactly what people want to see. No product is flawless. No matter how hard the marketing guys try to bend the truth, perfection does not exist. And nobody understands this better than engineers, but engineers have little to no appreciation for poor customer support.

That was my rant of the day. I’ll make sure that Agilent gets a link to this article. Let’s see if we can break the silence.

Update (04/01/2013): I got one response from Agilent today in response of my most recent request of a demo license of Agilent’s RF design software Genesys.

Thanks for your patience. As this is more of a marketing request I needed to check in with our Genesys Product Manager and he has been on vacation. I apologize for the delay. Unfortunately I found out that Agilent does not provide software demo licenses to support blog reviews. That said, in the coming months we will be at some major RF/MW tradeshows (Wamicon, IMS/MTT) and Agilent would be happy to meet with you and provide a demonstration as well as answer any questions you have for a blog review.

Links and Sources:

[1] Streisand effect, Wikipedia: http://en.wikipedia.org/wiki/Streisand_effect

[2] Boilerplate, Wikipedia: http://en.wikipedia.org/wiki/Boilerplate_(text)

KF5OBS #2: C-Band LNB Teardown

12-bit vs. 8-bit – What’s the difference?

Teledyne LeCroy and Agilent offer brand new 12-bit oscilloscopes and promise clearer, crisper waveform displays than an 8-bit oscilloscope can deliver. But what does it really mean for a real world application to have 12 instead of 8-bit resolution?

I have no idea if that was just my perception or if the year 2012 was the year of the oscilloscope revolution. An incredible flood of new scopes was released into the market in 2012. There’s the Agilent InfiniVision series, the Tektronix MDO4000 series, the Rigol 2000, and the Teledyne LeCroy HDO4000 and HDO6000 series.

Teledyne LeCroy sent me one of their 6000 series High-Definition Oscilloscope (HDO). To be precise, it’s the HDO6054, a 12-bit, 500 MHz oscilloscope. A product like this deserves a thorough review. With my usual review style, the length of the review would exceed the length of the bible. But before I even start to write the review, let’s talk about 12-bit vs. 8-bit.

First, movie time. Let’s watch the official video LeCroy used to announce their HDO4000 and HDO6000 series scopes:

I was very surprised about the way Teledyne LeCroy presented their new scope. Aside from stating some apparent facts in a humorous and authentic way, there was no typical US marketing buzzword bingo present at all. I like it. That being said, let’s talk about 12-bit.

8-bit or 12-bit resolution, what does that even mean? A digital scope measuring an analog signal logically needs a circuit translating between the realms of the analog and digital world. An analog-to-digital converter (abbreviated ADC, A/D or A to D) is needed to allow the digital circuitry of a modern scope understand the analog input. The root of the word digital is the Latin word for ‘finger’, digitus. This is because digital systems can only indicate whether or not a bit is set (1) or not (0), kind of like counting with your fingers. There are only 256 (28) different values that can be represented with an 8-bit variable. That means if the maximum permissible input range of an ADC is 0 – 5.12 V, the maximum resolution would be 20 mV. That means the ADC can’t tell the difference between two signals whose difference is smaller than 20 mV very well. The ADC rounds up and down in between full 20 mV steps.

Rise time measurement with markers on the HDO 6054

Rise time measurement with markers on the HDO 6054

12-bit means 4096 possible values. Assuming the same input range, we now get 1.25 mV resolution. That’s obviously much better. Critics argue that one is not able to utilize the full 12-bit in a real world application due to quantization noise among other things. But let’s not get into that discussing now, it’s enough material for a whole new article.

Another term often heard in relation to 12-bit technology is “dynamic range.” To understand dynamic range, we must first understand how an oscilloscope applies a signal to the ADC. In my above example, I chose an ADC with 0 – 5.12 V input range. The number is arbitrarily picked for easy math. Now let’s a assume a saw tooth-shaped signal with a peak at 512 mV is applied. With 8-bit resolution, the ADC would turn the smooth upwards slope into 20 mV steps. The ADC could not understand that it is dealing with a linear increase but would indeed see a stepped response. To circumvent this problem, oscilloscopes include a Variable Gain Amplifier (VGA). The smart circuitry makes sure that the ADC is always driven to the max. In the case of our saw-tooth signal, an amplification factor of 10 would be just fine. The ADC could now detect steps as small as 2 mV because after amplification they are going to be 20 mV steps.

400 MHz sine wave output of a PLL synthesizer

400 MHz sine wave output of a PLL synthesizer

In other words, the scope adapts. That works pretty well within certain limitations. It becomes a problem when there are two signals with large differences in amplitude present at the same time. The ADC has no problem digitizing a sine wave ranging from 0 Volts to 5.12 volts. The same way it has no problem doing the same with a sine wave ranging from 0 – 51.2 mV – the VGA will take care of it, but both at the same time causes trouble. If you think about it for a minute, this will become apparent for you.

Assume the 0 – 51.2 mV signal is noise riding on your wanted signal, the sine wave with 0 – 5.12 volts range. The ADC has to sample over its entire range in order to capture the entire 0 – 5.12 V signal. There’s nothing the VGA can do to lift the 0 – 51.2 signal in a better zone for the ADC. With the proportions being as given, the noise will barely cover more than 3 quantization steps over the whole range. In an real world application, you probably wouldn’t be able to notice anything unusual and miss the noise altogether.

Output spectrum of a 400 MHz PLL with a 200 kHz PFD frequency. Clearly visible, the spurs 200 kHz left and right from the carrier

Output spectrum of a 400 MHz PLL with a 200 kHz PFD frequency. Clearly visible, the spurs 200 kHz left and right from the carrier

Dynamic range is a measure for the highest and lowest level that can be detected at the same time. This number directly correlates with the resolution of the ADC. Therefore, some noise or unwanted parts of a signal can be missed with an 8-bit oscilloscope but are clearly visible with a 12-bit oscilloscope.

This entire 12-bit thing isn’t new at all, though. Agilent has 12-bit scopes and Teledyne LeCroy had some for a while, as well. A 12-bit ADC alone won’t do you any good, though. Because we can see signals so much clearer, there are now very stringent requirement to be met in regards of the oscilloscope’s front-end. The VGA needs to be super low-noise and the entire input stage needs to be even more linear than in an 8-bit scope. And that is something that LeCroy claims to have perfected in their HDO series.

Okay, that is all I am going to cover about this subject for now. It is a pretty large subject, though, and one could write books about it. As a matter of fact, I am sure someone has written books about it. As a matter of fact, this article is an extreme reduction of a rather complex matter.

Pictures are always better than words. Therefore, I will write another article on this matter. I will then add noise to a desired signal and show screenshots of an 8-bit scope and then on the HDO (12-bit) for comparison. There’s a lot of talk on the web on why 12-bit is really not worth it and such, but I will not engage in that discussion and let the pictures speak. So stay tuned!

KF5OBS #1: Introduction and content ideas

Here it is, the first entry to my video blog:

Review: Analog Devices ADF4360 PLL Synthesizer

The ADF4360 series from Analog Devices is a a family of integer-N-synthesizer chips with on-board VCOs. Since the chips cover all amateur radio bands between 4m – 13 cm and are rather inexpensive, they are predestined to be used in homebrew amateur radio equipment.

Not too long ago I reviewed ADI’s wideband PLL synthesizer ADF4351 with integrated low phase noise VCO. The ADF4360 series family of synthesizer chips is very similar. The primary difference is their restricted frequency coverage and thus much lower price.

The ADF4360 is an integrated integer-N synthesizer with an integrated voltage controlled oscillator (VCO). The center frequency is set by external inductors. There are 9 chips in the family with 8 different frequency ranges. The frequency range are as follows:

ADF4360-0: 2400 to 2725 MHz
ADF4360-1: 2050 to 2450 MHz
ADF4360-2: 1850 to 2170 MHz
ADF4360-3: 1600 to 1950 MHz
ADF4360-4: 1450 to 1750 MHz
ADF4360-5: 1200 to 1400 MHz
ADF4360-6: 1050 to 1250 MHz
ADF4360-7: 350 to 1800 MHz
ADF4360-8: 65 to 400 MHz
ADF4360-9: 65 to 400 MHz

Even though the ADF4360-8 and ADF4360-9 have the same frequency range, they are a bit different. The ADF4360-9 has an auxiliary divider with division ranges from 2 to 31 on board. The ADF4360-8 has – just like all other ADF4360 – a hardware power down input (CE).

Analog Devices kindly sent me one of their Evaluation Kits for the ADF4360-9 (EV-ADF4360-9EB1Z) for review and evaluation [1].

EV-ADF4360-9EB1Z evaluation board from Analog Devices

EV-ADF4360-9EB1Z evaluation board from Analog Devices

What I intend to use this chip in is called a Fox-Hunt transmitter. It has very little to do with hunting actual foxes and actually relates to a common radio direction finding exercise. The way this works is that a small transmitter (the “fox”) is hidden somewhere and a group of people will attempt to locate the transmitter. Whoever finds the transmitter first, wins the game.

I want to build a very small transmitter for the 2m amateur radio band (~145 MHz) with just a few miliwatts of output power. With such a low power VHF transmitter, a radio direction finding exercise could be conducted in a small area like a park, or even more challenging, with several transmitters at the same time. A microcontroller is supposed to be in charge of setting the frequency and keying the required station identification (call-sign of the control operator) as required by the FCC.

But now back to the ADF4360. The chip has an SPI compatible 3-wire interface, operates between 3 – 3.6 Volts and its inputs are 1.8 V logic compatible. In other words: this chip will interface with pretty much any microcontroller out there. My project will probably be Atmel AVR or MSP430 based and I program in C. However, I will write example code for Arduino (AVR) / Energia (MSP430) for folks who would like to experiment with it more easily.

I looked at the output spectrum of the ADF4360-9 set to 400 MHz on a Teledyne LeCroy HDO6054. The phase frequency detector (PFD) frequency is 200 kHz and you can clearly see spurs 200 kHz spaced to both sides of the carrier. The spurs are smaller than -70 dBc and, to be fair, the ADF4360-9 is not correctly terminated. The IC has a differential output and the datasheet warns that the performance of the output signal may be degraded if not both ports are properly terminated with 50 Ohms. In my case, only one port is fed into the 50 Ohm port of the scope. The other port is open.

Output spectrum of a ADF4360-9 at 400 MHz with a 200 kHz PFD frequency. Clearly visible, the spurs 200 kHz left and right from the carrier

Output spectrum of a ADF4360-9 at 400 MHz with a 200 kHz PFD frequency. Clearly visible, the spurs 200 kHz left and right from the carrier

In any case, -70 dBc is a lot of attenuation. As a matter of fact, the output signal could be transmitted the way it is over the air. The FCC demands in 74 CFR 97.307 (e) that “the mean power of any spurious emission from a station transmitter or external RF power amplifier transmitting on a frequency between 30 – 225 MHz must be at least 60 dB below the mean power of the fundamental.” This is clearly the case.

The eval board comes with a very comfortable software, just like the ADF4351 did. It is very nice to be able to manipulate all registers and parameters and watch what happens right away.

So what’s next? I will design the circuit, design a PCB, and write the necessary software code for the little VHF tracker (“fox”). The project will be an open hardware project. That means you will be able to use my project free of charge for personal use. As soon as that is done, I will post a new article with the entire project in it. Stay tuned!

Links and Sources:

[1] ADF4360-9, ADI: http://www.analog.com/

Review: Texas Instruments CC2531 USB Evaluation Module Kit

The CC2531 is the second generation ZigBee/IEEE 802.15.4 compliant System-onChip with an optimized 8051 MCU core and radio for the 2.4 GHz unlicensed ISM/SRD band from Texas Instruments. But what good is it, really?

To make the evaluation of the CC2531 a bit easier, TI put together the CC2531EMK. The CC2531EMK is a an evaluation kit containing a USB dongle built around the CC2531 [1]. Element 14 sent me a CC2531 USB dongle development kit as part of a RoadTest. RoadTest is a program sponsored by Element 14 that promotes real product reviews by real people like us.

CC2531 USB Dongle plugged into my Netbook

CC2531 USB Dongle plugged into my Netbook

Overview and Tech Specs

The CC2531 is a USB-Enabled System-On-Chip Solution for 2.4-GHz IEEE 802.15.4 and ZigBee applications in a tiny 6-mm × 6-mm QFN40 package. The chip is 8051-based, has 8 kB of RAM and is available with either 128 kB (CC2531F128) or 256 kB (CC2531F256) of In-System-Programmable (ISP) flash [2].

Since the chip is compliant with various national and international standards, namely ETSI EN 300 328 and EN 300 440 (Europe), FCC CFR47 Part 15 (US), and ARIB STD-T-66 (Japan), products built around this chip do not need to worry about national and international compliance. With a maximum output power of 4.5 dBm (2.82 mW), the chip is perfect for small range communication.

The CC2531 provides extensive hardware support for packet handling, data buffering, burst transmissions, data encryption (AES Security Coprocessor), data authentication, clear channel assessment, link quality indication (Accurate Digital RSSI/LQI) and packet timing information.

With 21 general-purpose I/O Pins and a 12-Bit ADC with 8 channels and configurable resolution, the chip supplies plenty of peripherals for external circuitry.

Unboxing

The box contains the CC2531EMK USB dongle and a quick start guide. The quick start guide is straight to the point and easy to understand.

CC2531EMK on top of the quick start quide

CC2531EMK on top of the quick start quide

While reading the quick start guide, I realized that there is no way to program the MCU’s flash memory without the use of an external debugger. Such a debugger needs to be purchased individually. In other words, one can’t program the CC2531EMK without buying a debugger like the CC Debugger, for instance [3].

Software Installation

To get started with the CC2531 dongle, one needs to install the appropriate drivers. The driver package comes bundled with a packet sniffer application which TI provides. Be careful to use the correct URL for the download. It is not – as falsely indicated in the quick start manual – http://www.ti.com/packetsniffer! The correct URL is: http://www.ti.com/tool/packet-sniffer

Download and install the software package from the previously mentioned URL. After the installation is complete, your PC should automatically recognize your CC2531 dongle and apply the pre-installed drivers.

Upon start-up of the packet sniffer software, one has to select the protocol one intends to use. For the CC2531, the only possible options are “IEEE 802.15.4/ZigBee” and “ZigBee RF4CE”.

TI Packet Sniffer Application

TI Packet Sniffer Application

The next thing that needs to be selected is, of course, the correct RF channel.

SmartRF Packet Sniffer Channel Selection

SmartRF Packet Sniffer Channel Selection

One can specify which fields of the captured traffic that the SmartRF packet sniffer software displays.

SmartRF Packet Sniffer filter selection

SmartRF Packet Sniffer filter selection

Summary

This is a nice piece of kit to evaluate the CC2531. However, the kit alone is not of much use. To actually accomplish anything useful, one needs at least one additional IEE 802.14 / ZigBee device. And in order to program it, an extra programmer / debugger is required.

I will go ahead and buy a CC Debugger and post again soon with my experience of the CC2531EMK in an actual (demo) application.

Links and Sources:

[1] CC2531EMK, Newark: http://www.newark.com/

[2] CC2531 Datasheet, TI: http://www.ti.com/

[3] CC Debugger, Newark: http://www.newark.com/

Review: Goldsource 2000 W Step Up & Down Transformer

Goldsource STU-2000 is a 2000 Watt step up/down transformer designed to convert 110 Volts to 220 Volts and vice versa. It’s also equipped with a 5 V USB output suitable for powering USB devices. The STU-2000 is available for less than $100. Let’s see how good it is.

Before I write any further, let’s agree on some nomenclature. For the sake of this article, I will use 220 Volts and 240 Volts interchangeably. In Europe, the correct supply voltage is 240 Volts AC. However, actual supply voltages range between 220 Volts and 240 Volts. Americans usually speak of “220″ when referring to European voltages. Similarly, many Americans refer to their own supply voltage as 110 Volts even though it is actually rated at 120 Volts nominal. So again, for the sake of this article I will use 110 and 120 interchangeably.

I have a bunch of European equipment that works on 240 Volts only. Here in the US, I naturally only have 110 V available. While it is technically possible to combine two 110 Volt lines to create a 220 Volt line, I do not currently have that option to do so as my lab is fed by a single 110 V line only.

The solution to my problem is as simple as finding a 110 to 240 Volts transformer. If you have a power requirement of more than 1000 Watts, this can be a pretty expensive solution, though. Therefore, iIwas very surprised to find this 2000 W transformer for less than $100 [1]. For that price, I decided I’d give it a try.

Goldsource STU-2000 front view

Goldsource STU-2000 front view

There’s no actual magic inside the box. Inside the case is a standard transformer with a set of different primary taps.

According to the tech specs, this transformer will accept 110, 120, 220, and 240 Volts as input voltage. It supplies 110 Volts and 220 Volts on its output at the same time over two different receptacles.

I did measure 220 Volts output in actual working conditions with 110 Volts input. Accordingly, I could measure 240 Volts out with 120 Volts input while keeping the input selector set to “110 Volts.”

Goldsource STU-2000 input voltage selector

Goldsource STU-2000 input voltage selector

The transformer was pretty smelly at first. I assume this was the smell of the fresh paint. After airing it out for a few hours, it stopped smelling funny. The operation noise is barely audible and depends on the actual load.

Goldsource STU-2000 opened up.

Goldsource STU-2000 opened up.

The overall look of this transformer is pretty solid. The wiring has been done pretty well and the wires seem to have adequate thickness. The device is fused twice. There is a 20 A fuse on the primary side and another resettable 20 A fuse on the secondary side (220 V only). There are 2 spare primary fuses supplied with the transformer.

Goldsource STU-2000 secondary side

Goldsource STU-2000 secondary side

Just when I was about to close the transformer back up, I noticed a wire that looked a little bit suspicious. Have a look, do you see it?

Faulty wire in the 200 V primary hook-up

Faulty wire in the 200 V primary hook-up

The transformer works very well for my purpose. I have several SMD soldering tools and other scientific devices powered through this device. Most devices do not mind about the fact that the mains frequency is not being translated. European mains frequency is 50 Hz and in the USA it’s 60 Hz. Only devices which derive timing information from the mains frequency, like cheap alarm clocks for instance, will have difficulties dealing with the wrong frequency.

Links and Sources:

[1] Goldsource STU-2000, Amazon: http://www.amazon.com