Saturday, April 29, 2017

A New Line of Transceivers ~ DifX

Transceiver Architecture 2.10

How to Build a 11.5 MHz Crystal Filter

Method #1:

Simply Purchase four 11.5 MHz Crystals at the cheapest price you can. Next build a Ladder Filter using five coupling caps of the same value. For a SSB Filter use 68PF and for a CW Filter use 470 PF. A guess at the in/out impedance would be in the neighborhood of 150 to 200 Ohms. Use 200 Ohms, as a 50:200 match is just a 4:1 transformer.
With this method you rely mostly on luck. It will probably not work too well. However if it does then you should immediately go out a buy a single lottery ticket as you are on a path to striking it rich.
Here are the shortcomings of Method #1. With only four crystals and making no measurement of their actual frequency you will never know: 1) how well matched they are in frequency 2) what is the filter center frequency and 3) the actual Zin/out. Did I also mention that if you don't test the crystals in an oscillator circuit prior to just installing them in a filter you may not know that one or several are inoperative (you did buy bargain crystals). But many "good enough" filters have been made this way. That said very likely there are substantially more poor filters than good ones that were built using this approach. But hey you built a crystal filter.

Method #2:

You purchase four crystals at the cheapest possible price and you make a measurement of the crystal frequencies using the G3URR test oscillator. You dutifully note the "loaded" frequency and the spread of each crystal as related to all of the crystals. (A goal is no more than about a 50 Hz spread across all of the crystals). After obtaining this data you simply ignore the information and follow the Method #1 approach. Again if it is perfect, then buy more lottery tickets. But more than likely it will not be. Oh by the way --you will probably need the center frequency info in your Arduino Sketch so you know how much to shift the USB LSB BFO frequencies -- but hey close is close enough. So you get a few dings from the SDR police on 40 Meters --who cares?

Method #3:

This is where you find some ham who really knows what they are doing and after an enticement of the standard B^3 (Booze, Bucks and Babes) have them build you the filter. Just sit back and relax and wait for the unit to arrive. This is a lot less stressful and all you need to do is install it in your rig. Now wasn't that easy? Never let the XYL find out you spent $250 for a crystal filter is the real issue.

Method #4:

This is where you get serious about homebrewing a crystal filter. The process involves the following:
  • Collecting information on how to actually build a crystal filter. There are several really good sources. First do an Internet Search on Nick Kennedy WA5BDU, as he has prepared an exhaustive tutorial on the steps needed. Also search on Almost All Digital Electronics as they have a computer program that is very handy to design a filter. I also believe that EMRFD has a program on the DVD that is located in the back jacket. Do not overlook You Tube Videos on how it is done. Bottom line you need a disciplined process and resource information.
  • You will have to build some test hardware including the G3URR test oscillator. Basically this oscillator enables you to measure the frequency of a crystal and then by loading that crystal with a small capacitance shifts the crystal frequency. That amount of shift is an important parameter in the final calculations. (It has something to do with pole zero spacing) This is where you need to buy one of those $13 TV SDR Dongles! Get one and modify it so it will work on HF. You should also download the free software program HDSDR. This $13 device will let you precisely measure the crystal frequencies with and without the load. Almost better than a frequency counter. All you do is power up the oscillator and with a short "antenna lead" bring the oscillator near the Dongle and look for the output.
  • Purchase twenty five 11.5 MHz crystal (about $0.30 each at this quantity) from Mouser. When they arrive use a Brother tape label machine on the smallest print size to label every crystal from 1 through 25. Open up a Excel Spreadsheet on your computer and record the loaded and unloaded frequencies for the crystals marked 1 - 25. The first thing that should amaze you is that the crystals while nominally 11.5 MHz are all over the map. Now you can either do it by visual inspection or have Excel do it but rank order the crystals from high to low frequency. Once you do that you should now look for groupings of crystals that are within 50 Hz total spread from low to high. You might get lucky and find five or six that meet this criteria but you need a minimum of four. You will most likely find out of the batch of 25 that you will have several groupings of at least four crystals that are close in frequency. Once you have at least four then you need to follow the process outlined by Kennedy. Look to the manufacturers specifications as you might be lucky to find the "Average" series resistance as this number is needed for the calculation.
  • Most likely the final filter (for SSB) will have low value coupling capacitors (around 100PF not all the same) and the Zin/out would be in the 170 Ohm range. But unlike Method #1, you are being precise in the measuring process and WILL have four crystals that are close in frequency.
  • Method #4 is not a 1 or 2 hour process -- it might take several sessions to complete the data analysis and calculations before you start soldering crystals to a circuit board. Be sure to connect all of the cans together and ground that connection. Build the filter over a large ground plane area.
  • At this point Method #3 has a lot of appeal.
Have fun.
Pete N6QW

Friday, April 28, 2017

A New Line of Transceivers ~ DifX

Transceiver Architecture 2.09


Dual Conversion Band Switching

In this posting I want to talk about some of the specifics of the band switching and how to cause the proper Band Pass Filter and Low Pass Filters to be put in line for the band in use.

The Arduino Mega 2560

The first realization I had with the dual conversion multi-band approach was that you needed a lot more pins. There will be those who immediately jump up and say but you can add a pin expander to the standard UNO, Nano and/or Pro-Mini and no need to move up to the larger footprint and more costly microcontroller. There is another requirement that is answered by the Mega 2560 and that is the 10X increase in program size. That perhaps is the bigger driver for the Mega 2560. Undoubtedly there will be more things you want to add to your homebrew rig and then pins is not the issue but programming space will be. The Mega 2560 has 54 digital pins and 16 Analog pins and thus you have many more options available to you. Now as I discovered there are differences from the  Uno, Nano and Pro-Mini so you will need to think about pin assignments and it is not a straight pin for pin compatibility. I will highlight those differences.

The Band Switching Scheme

My band switch scheme involves two band switches and has the capability for 17 band positions. One band switch has 12 positions and the second band switch has 6 position. So OK you have a blank look on your face. Hey guys Ten Tec did this with some of their transceivers, where you placed the main band switch on 10 Meters and the auxiliary band switch then selected four sub bands within the 10 Meter band.
For my Dual Conversion DifX when the main band switch is placed on 60 Meters  that merely connects to the auxiliary band switch where you can select the five channels on the 60M band including one channel that will be tunable as I did in my 60M DifX rig. Moving away from the 60M position in effect disconnects the second band switch.  The process of selecting the operating band with the band switch will automatically trigger a comparable Mega 2560 Pin that has 5 Volts on that Pin to control either relays or Pin Diodes in the Low Pass and Band Pass filters. One switch position changes frequency and selects the proper filters.

Mega 2560 Pin Assignments

The logic of the code is that the digital pins are read, as an example Pin 30, which is designated for 20 Meters when that pin is sensed LOW, then Pin 39 will go HIGH and that switches in the proper Band Pass Filter and Low Pass Filters. On 60 Meters Pin 49 is made HIGH for all of the 60 Meter Pins.
Pin A10 and A11 on the Mega 2560 are used for Encoder A and Encoder B. (Thanks Rob!)
Keep good notes as we are moving forward with the design.
Pete N6QW

Wednesday, April 26, 2017

A New Line of Transceivers ~ DifX

Transceiver Architecture Part 2.08

The "Math" of the Frequency Display!

Don't you just hate it when you see information without detail and much like the guy at 1600 Pennsylvania Avenue you hear 'Folks You Will Love This". But it still leaves a lingering question --just how did we get here and how do you insure this is not Fake News!
In our last posting we advanced the idea that with dual conversion this presents some unique problems because of the frequencies involved and how to accurately display the true transmitted frequency. Essentially we have about five frequencies we must deal with in our display process --and that is just for SSB. By way of recap we have the incoming frequency, then the 1st mixer which is the tunable Local Oscillator (LO) followed by the fixed frequency 2nd mixer and then the two BFO frequencies that address either USB or LSB.
Mind you this is Pete's scheme -- there are obviously others and better ones. BUT I understand this and I can be assured that I will not be transmitting out of band. In the final analysis there are many roads to San Diego --the objective is to arrive in San Diego.
In my scheme when you shift from USB to LSB the dial will change by 3 KHz without moving the encoder. In going from USB to LSB you will have to move the LO down by 3 KHz to transmit on the same frequency using the opposite sideband. Inconvenient for some -- well not for me. So if this is objectionable to you, then stop here and go write your own code!
There are several actions taking place in the background as you change bands and change from USB to LSB which I will now detail. [Because we are using two conversions and the conversion frequency is above the incoming -- the net effect: There is no sideband inversion. Thus the lower BFO frequency will be used for USB and the higher frequency BFO for LSB.]
  • Let us say you will start by tuning in 14.2 MHz on 20 Meter Upper Sideband --a favorite spot of mine. As you put the mode switch into the USB mode and turn the encoder to 14.2 there are some behind the scenes steps taking place. The first is that 1500 Hz will be subtracted from the display formula and secondly the LO is preloaded with a frequency that will show 14.2 MHz on the display. But the display is actually the subtraction of 45 MHz and the subtraction of 1500 Hz from the start up frequency. The 1500 Hz is the nominal offset from the center frequency of the SSB crystal filter. [Typically it is +/- 1500 Hz depending on the sideband. ] For LSB on 14.2 MHz we will be adding 1500 Hz.
  • The LO uses a subtractive mix process so the LO - the incoming signal = 45 MHz. Our pre-loaded LO frequency already contained a 1500 Hz add. So our subtractive mix actually resulted in a frequency of 45001500 MHz plus the Voice signal. Since the Bandwidth of the ESC 45 MHz Filter is 7.5 KHz --this is not an issue.
  • The second mixer is at a fixed frequency of 56.5 MHz and the second down mix results in an output of 11.498500 MHz + voice.
  • Feeding this signal into the Product Detector with the USB BFO of 11.498500 leaves only the audio voice signal which is upper sideband.
  • For a LSB signal the preloaded LO will have to be tuned down by 3 KHz to put you on 14.2 MHz LSB. So now the LO is at 59198500 MHz and when we subtract 45000000 we must add in 1500 Hz to make the display read 14.2 MHz. So putting the USB/LSB switch into LSB causes the addition of 1500 Hz to the formula so that the display will read the true transmit frequency.
  • Thus the first mix has the LO at 59198500 - 14200000 + Voice = 44998500 + Voice and this mixed with 56.5 MHz 2nd Mixer signal results in a frequency of 11501500 + Voice.
  • Sending that signal on to the product detector with a LSB BFO of 11501500 results in LSB Voice.
Thus you have the decode on how to use the dual conversion scheme yet have the frequency display read properly for the true transmitted frequency. CW can be done the same way --but involves a lot more code and since I am not a CW person have not done any more with it. But shifting one of the BFO frequencies for CW transmit will get you there as was done in the KWM-4 and use USB for receive.
Time to start building your DifX. In a couple of days I will post a link to the Arduino Mega 2560 code and that will be on my website at
Pete N6QW

Sunday, April 23, 2017

A New Line of Transceivers ~ DifX

Transceiver Architecture 2.07

So How to Get the Display To Read Right!

4-26-2017 Update

Thanks to Addi dc0dw , here is a link that explains about interrupts. This actually makes sense. LINK

There is a caution here in that the 328 (internal structure and wiring) is different from the 2560 and that is why I was having problems. But a really good treatise on interrupts.

Pete N6QW

4-25-2017 Update

Get Your Heart Racing! --Here are some screen shots of the DifX Dual Conversion display. When you shift from USB to LSB the Display changes by 3 kHz.

The current processor is an Uno or Nano but because of the pin limitations I can only support 7 bands. I have loaded the code on a Mega 2560 and am able to have 15 bands.

But I am asking for some help with the Mega 2560. While I can get the bands to change and USB/LSB to change and the TUNE function and S Meter to work. The Encoder is Dead In The Water. Evidently there is a different code set to make the Mega recognize the Interrupt on Pins 2 & 3. There is some goofy function called attachInterrupt --well I tried the sample code and it just stares at me or nothing happens. So if any kind soul knows how to get the interrupt function to work with digital Pins 2 & 3 so that I can tune the encoder --please let me know.
Pete N6QW

I have very much admired Ten Tec and the products they built. Sadly I am not so sure about the future of that company given the number of recent owners and the state of the technology coming from offshore. I have a Ten Tec Triton Model 544 and always thought it one of their best rigs. Some will argue with me about later rigs and how much better crystal mixing was/is over a synthesized rig. But the fact remains they did build some great gear.
One anomaly I found in some Ten Tec designs (I think was the Corsair series), where the display would read very properly on the normal emissions for the ham bands id est [that is Latin for i. e.] LSB on 40 Meters but if you switched to Opposite (Ten Tec didn't use LSB or USB but Normal or Opposite), the display would not show the correct frequency. In the Ten Tec documentation there was a small obscure note to this effect.
In my DifX designs I have paid particular attention to this issue in my Arduino Code. I always place the LO above the incoming frequency and there is math in the code that for the display what is read is the LO - BFO. So If I switch from LSB to USB on 40 Meters (say 7.2 MHz), and since there is a sideband inversion taking place, the higher BFO frequency is used for USB. Thus the display while reading the true transmit frequency will now display a lower frequency on the LCD. When you shift back to LSB, the lower BFO frequency is used and so now the LCD will read higher. So I do have to move the encoder to 7.2 MHz when shifting from LSB to USB but the true transmit frequency is always displayed.
Some would like it so that in switching from USB to LSB you would not have to move the dial --and that is just more code. So I  move the dial and not add the code. But what ever the display and whatever the mode when I read the LCD --that is the true transmit frequency.
I addressed this problem in the KWM-4 by using an LO that changed based on the mode. The 1st conversion frequency was 10.7 MHz. Because I simply shifted channels for USB/LSB such that the difference of the LO and incoming would not be 10.7 MHz but either slightly higher or slightly lower than 10.7 MHz and this would easily pass through the roofing filter. The slight difference was then the nominal +/- 1.5 kHz. So then the BFO selected for the Mode would make up that difference. Thus 7.2 MHz for either USB or LSB would read correctly on the LCD and that was the transmitted frequency.
In Dual Conversion designs the true reading of the display becomes more complex because of the multiple conversions and the Dual Conversion DifX is no exception. Lets us look at what might be required to get the display to read correctly. We will use 40 Meters as the example.
The 1st IF is at 45 MHz and thus for 7.2 MHz the LO injection would be 52.2 MHz --thus all incoming signals are subtracted from the LO and converted to 45 MHz and in the case of the 2nd mixer which is operating at a fixed frequency of 56.5 MHz the second conversion is to 11.5 Mhz. There is no sideband inversion (we did it twice) and thus to receive LSB our BFO must operate at 11.5015 MHz. So now the problem of how to get the display to read 7.2 MHz LSB. Let us not forget if we shift to USB the BFO is operating at 11.49985 MHz and again how do we insure that the LCD and transmitted frequency is in fact 7.2 MHz USB.

In earlier display designs (1970/80's) there were summing circuits that read the HFO (High Frequency Oscillator), BFO and VFO and the results were then displayed. The DFD-2 (from AADE) did exactly that process. We will do something similar in the DifX. My first encounter with this issue was in 2009 when I built the Tri-Band SSB transceiver that used the frequency scheme AND components from an HW-100. You can read about it here

In the description I speak about the summing circuits so that you combine the HFO, BFO and VFO so that the display reads correctly. The innovation from N6QW was to mix two of the components in an SBL-1 and then to use  tuned band pass filters so only the correct mix was used and then that was finally mixed with the VFO signal. Using an EI9GQ huff and puff stabilizer it was possible to shift the display depending on the sideband and thus what was displayed was the true transmit frequency. It was a lot more hardware but 8 years ago I was on frequency!
The lazy approach would be to simply display the LO - 45 MHz [Display = LO - 45 MHz] and that would get you close (within KHz) and so in shifting from LSB to USB the display would not change with the mode. But in either case you would be off the true transmit frequency--the 40 Meter SDR Police will have a field day with you -- keep in mind they get gnarly when you are 20 Hz off --imagine being off by kHz. So that is not a good solution -- but a start.
Now what if there were one more factor in the math that changed depending on the mode. In case you got lost in the last paragraph we are up-converting the incoming signal to 45 MHz and thus to get the actual signal value we subtract 45 MHz. So now if we rewrite the equation to say the following to account for the  total of 3 KHz in the shift in the spread then we would have Display = LO - 45000000 + Offset. Now we can sign the offset as +/- depending on the mode. So if we were on LSB the Offset would be one value and for USB the Offset would be another. The display would now change by a total of 3 KHz depending on the mode. The second conversion frequencies can be simply ignored as all that is doing is getting the signal to the IF frequency. This is not unlike our single conversion code. Yes you will have to reset the dial when shifting USB/LSB but you will be displaying the correct transmit frequency.

In the next installment I will detail how I did it and the math involved. Maybe if I am lucky I will have code I can share. But the bottom line is that when shifting mode (USB/LSB) the display must account for the BFO shift and display the true transmit frequency. In the old analog VFO days many manufacturers fudged this problem by putting two (yes two) scribe lines on the dial window. One you used for USB and the other for LSB. Amazing solution --like using a rusty spoon to do brain surgery.

Pete N6QW

Tuesday, April 11, 2017

A New Line of Transceivers - Difx (On Steroids)

4-13-2017 ~ A small Radio story.

Last evening (4/12) my XYL and I went to our favorite Chinese restaurant. Great food and really reasonable prices. As we walked in the door we saw a large party of about 25 people who were celebrating a birthday. I noted an older gentleman seated at the head of the table and our booth must have been only about 5 feet away. I leaned over to another gentleman sitting closely to me and inquired if it was a birthday celebration. He responded back that it was his father-in-law who turned 97 that very day.
I wished the celebrant a Happy Birthday and then commented to the other gentleman that his father-in-law experienced the evolution of radio broadcasting, the stock market crash, the end of prohibition, the New Deal, completion of Hoover Dam and the SF Bay Bridge, WWII, TV, space travel and the computer revolution. With that there was a bit of a buzz at the table as the other well wishers suddenly grasped what this man had seen.
Then the Birthday Boy spoke up and said I built my first crystal set when I was age 9! Boom that was amazing. I then asked if he wound the coil on an Quaker Oats box and used a piece of aluminum as a slider tuner -- and of course finding the hot spot on the galena crystal. He then said yes and asked how I knew that. I explained that about 18 years after him I built my 1st crystal set. What an experience. Just think anyone in their 90's has seen a dramatic change in our world. Of the 16M who served in WWII only 600,000 are still around. Not many left.
Pete N6QW


DifX A Dual Conversion Transceiver!

In 2017, VU2ESE announced his uBitx (Micro-Bitx) transceiver which uses an up-conversion technique to a 45 MHz 1st IF and then a lower 12 MHz second IF, which handles the normal transceiver functions. This is a well known Gain and Selectivity approach to minimize "birdies" and to better process a lot of crud showing up on our beloved ham bands.

In theory the higher IF provides the gain and the lower IF the selectivity. But there may be more subtleties with actually having the higher IF to also provide a degree of selectivity much like a "roofing filter". So the first IF must be designed as such as to have  gain and bandwidth parameters in keeping with up conversion and crud prevention.

The magic key in a successful transceiver design is a reasonable gain distribution with attendant selectivity over the entire rig topology. Super high gain front end amplifiers that overload a receiver can and should be eliminated and the gain made up in later stages. When you hop up the signal gain at the front end --you are doing the same to the noise coming into the receiver chain! So what have you gained (that was a pun)?

A dual conversion has other desirable attributes such as the second filter selection. My KWM-4 has a 455 KHz "primo" Collins  mechanical filter embedded as the second filter; but the choice is mostly open to the many of the popular, 8, 9 ,10, 11 and 12 MHz filters. I say mostly as you really have to perform a frequency analysis to determine unwanted mixing products and ones where harmonics of BFO's or LO's end up in the middle of some conversion process. Later you will see such an analysis for this DifX rig. Don't overlook the 4.9152 MHz IF frequency as used in the Elecraft K2.

In fact there is some very strong support for keeping crystal filters in the range of 4 to 10 MHz and avoid those above and below that threshold. The reasons are many especially with the higher frequency filters where  stability is a very major factor. Yes stability -- usually crystal stability ratings are in PPM (parts per million). The inexpensive units (C^3 = Cheapo Chinese Culls) may be rated at 50 PPM or worse. So lets run the numbers at 4 MHz and 50 PPM that is as much as 200 Hz and at 12 MHz (like in the Bitx) = 600 Hz. The better units are 30 PPM (real crystals and more expensive) so our 4 MHz example is now 120 Hz and the 12 MHz versions are 360 Hz. When the 40M SDR Police report you for being 30 Hz low, you can see where this is headed. By the way the lower end filters like say 1600 kHz units (that notably were used in the hallicrafters SR-150) present some issues with regard to image rejection.

Later mention is made of commercial monolithic crystal filters -- the superior characteristics of these filters comes from the use of a common base crystal structure and tight control of the manufacturing processes. That is hard to do with 6 or 8 discreet crystals tack soldered to a PCB board that may be varying in frequency all over the place.
Speaking of crud, as I earlier mentioned, I am suspicious that someone in my neighborhood (Southern California) is growing "pot" in their garage, as I hear what appears to be the cycling of "grow lights" especially on 40 Meters. Thus some receiver architectures are better than others in handling such man made interferences. My only hope is that with the recent legalization of pot, my neighborhood grower will soon be out of business. I walk in my neighborhood on a daily basis. Up to now I have been looking for the culprit from among my neighbors who seem very happy (all of the time)  and sporting beer bellies from consuming too many munchies (Overly happy YL's and one's with the onset of mid-drift bulge are included). But I need to be more get scientific and use my compact 20M Transceiver (DifX II) with a battery pack and do some serious direction detection. You all saw that rig on the cover of a 2015 QRP Quarterly --right?

In 2012 I built a dual conversion SSB transceiver known as the KWM-4 which of course, was a DifX (Different than a Bitx.) Now we are moving to another DifX (on steroids) which uses that earlier topology but takes advantage of newer technology not readily available just a short five years ago. Essentially I will be strapping on a mixer conversion stage ahead of the basic single conversion DifX stages that I have been building for some time and most recently in the 60M Rig, the Big Kahuna and the DifX II.

I guess my 1st use of a DifX topology was in  the Spring of 2010, when I built the 20M MMIC Based SSB Transceiver which graced the cover of QRP Quarterly. Now that was a bit of innovation --MMIC IC's used in bilateral amplifier stages. For my friend N2CQR, that rig started with an analog VFO. But as you can see, soon morphed to the "Digi" stuff --- 7 years ago.

For my newest rig, the directed approach is to take advantage of a packaged 45 MHz, 7.5 kHz wide commercial monolithic crystal filter available from ECS (Digikey). While the uBitx employs a 45 MHz homebrew multi-pole filter, unless one is extremely lucky it will be difficult to match the performance of the ECS unit. Yes I know, there are the purists who want to homebrew everything and certainly that is commendable. But when I have an opportunity to utilize a device with known specifications at the outset, then it is a simple engineering decision.

I liken this to building homebrew double balanced mixers. Was I successful building DBM's  and did they work --yes? BUT an SBL-1 beat the pants off of the six that I homebrewed. It is hard to match components built on a manufacturing line using precision parts and tight process control while attempting to do the same with non-precision stock components, in a cold garage with an 80 Watt Radio Shack Soldering iron with a "Fat Tip"!
At the end of the day I want a top notch transceiver not just one that works. The packaged ECS filter is less than $17 USD and the cost differential of what would be spent building a multi-pole filter is not so great as to warrant a non-consideration of the commercial "black box". Keep in mind you might need to buy two dozen 45 MHz crystals just to find six close enough in frequency. With a matching circuit provided by the manufacturer the 45 MHz four pole filter with a 7.5 KHz bandwidth has a Z in/out of 50 Ohms which is perfect for insertion into many of the receiver topologies. The Si5351 third clock provides the 2nd mixer frequency. The matching circuit is shown below and L1 and L2 can be 11 Turns of #24 enameled wire on a T-30-6 core. (T-30-6 ~ Al = 36)

The first task I tackled was coming up with a PCB layout for the filter (really small) and the matching network. I simply took the manufacturer's pad layout which was in mm and I made a drawing at 10X in the normal inches (forget that metric BS). Once I had that done I used the design program (G Simple) to scale everything by 1/10 and then using the fact that 1 meter = 39.37007 inches (1 inch=2.54 CM or 25.4 mm) I had the design program further scale the design down to mm. I made a test cut on my CNC and was very close. I then had the design program scale everything by 1.10 (10% Increase) and it was dead nuts on. The alternative for those without a $250K CNC machine --you can just turn over the filter and wire it dead bug.

Below is a quick and dirty first cut prototype after the 10% upward adjustment; and the overall width is less than 5/8" so you can see fairly small. I have dxf files for this pad layout and the  ADE-1L DBM which I will be happy to share. I used a dull engraving bit for the prototype and when I make the final unit the lines will be crisp and sharp. It is envisioned that the conversion board will be about 2X3 inches and contain the 1st and 2nd Mixers (ADE-1L's) the matching network and the ECS filter. In discussions with the manufacturer the whole assembly will be shielded.

Just think the space you'll conserve by not building the VU2ESE multi-pole filter. Four poles of filtering having a 7.5 KHz bandwidth at 45 MHz is very in keeping with the gain and bandwidth  parameters. The specifications for this filter are 30 dB down at the half power points ( 3dB) and an ultimate  stop band   of 80 dB. The stability will exceed the homebrew filter!
Lets us start with the premise that the 1st LO (tunable) would up convert everything to 45 MHz. Thus in going from 1.8 MHz to 30 MHz the table below shows the conversion frequencies. My first thought was to use some packaged crystal filters for the 2nd IF such as those from the GQRP Club or INRAD. These filters are at 9 MHz. If you do the math the 5th harmonic of the BFO is right in the middle of the ECS filter pass band (5X9 = 45). So that choice is not a good one. If you use the uBitx approach, you avoid that problem. But this being a DifX I picked 11.5 MHz for the second filter frequency.
My frequency analysis shows you avoid the problem of having harmonics of the BFO end up in other parts of the rig. In checking the current price of the 11.5 MHz crystals in the large can form factor, 25 pierces can be had for 30 cents a piece form Mouser. I suggest getting the 25 pieces so that you have enough stock to find at least four that have no more than a 50 Hz spread across all four crystals. Most likely you will end up with several filters so not all bad.  If you can find five or six within that frequency constraint then you have the makings of a superior second IF crystal filter


The above table looks like it will avoid the problem of a tuning range sitting on the same frequency as the second mixer so we should be good.  I think we can now move forward

We now can take a peek at a first cut of a block diagram shown below. In a more detailed view all interfaces and matching are to 50 Ohms. So if you don't know --time to get smart on broad band matching and turns ratio squared! The block diagram below was based on the original thought of using 9.0 MHz filter; but is essentially the same with the 11,5 MHz homebrew filter. So where it says 9 substitute the 11.5 and the appropriate USB/LSB frequencies. Since we are using broad band amps for the bilateral amps no other frequency adjustments are necessary. CLK1 will now be 56.5 MHz and CLK2 will be either 11.4985 MHz or 11.5015 MHz. There are no changes to CLK0.

So lets examine closely what is happening with our frequency scheme and why does this and how does this arrangement work. Keep in mind ahead of this is a broad band amp stage (2N3904) that is adjustable and can provide up to 10 dB of gain. Typically I run these at about 1/2 the gain --enough to perk up the signal but not overload the downstream stages. That amp feeds a bank of relay switched band pass filters.
When the 42IF123 transformers were available on the market this would have been the tool of choice --so now you are stuck with buying a stock of TOKO transformers or building the BPF's from discrete components. If you are lucky enough to own a copy of the SSDRA (Solid State Design for the Radio Amateur) you can hand calculate the BPF's.
There may be a computer program in the EMRFD that will let you do the same; but I have never used the CD that came with my EMRFD. As you can tell, even though I have a copy, EMRFD is not my first choice for a reference document. Right now my EMRFD is a pretty expensive book end. After hand calculation, using LT Spice you can run your BPF's and fine tune them. The hand calculation process coupled with LT spice let's me really get inside my BPF's and when it is necessary to make a new one, I know how to do it!
So now the signal entering the block diagram will be relay selected and covers just the ham band we picked. So already there is some signal clean up in play. The 1st LO from CLK0 in the Si5351 up-converts the ham band signals using the difference frequency (59.0 MHz -14.0 MHz = 45 MHz or 59.2 MHz - 14.2 MHz = 45 MHz) The sum frequency would be (59 + 14 = 73 MHz ) way out of the pass band. Now for the first bonus -- the ECS filter has a 7.5 KHz bandwidth --so anything 3.75 KHz +/- away from the desired frequency is also filtered out! You are screening out (attenuating is a better word choice) the California KW station 10 KHz away from your rig!
The signal is now passed on to the second mixer stage operating at 56.5 MHz and so the down mix is at 11.5 MHz. In both of our mixing processes the mixing frequency was above the signal (most desirable) and in effect we have two sideband inversions -- so the lower BFO frequency will yield USB and the higher BFO frequency LSB. Again all interface matching is at 50 Ohms and three ADE-1L's are used as the double balanced mixing devices. The ADE-1L's are 3 dBM devices so low drive requirements -- set the drive level in the Si5351 to 2 Ma.
I will now outline some of the performance specification for the new DifX rig.
  • Dual Conversion ~ 1st IF @ 45 MHz and 2nd IF at 11.5 MHz
  • 10 Band Operation: 160, 80, 60, 40, 30, 20, 17, 15, 12, and 10 Meters 
  • USB/LSB Operation
  • 15 Watts Output
  • Color TFT Display
  • PIN Diode and Some Relay Switching
  • Si5351 PLL Clock Generator
Some words here about the VFO. Forget building a quality rig like the DifX with an Analog VFO as you are really limiting yourself. Time to move up the Big Boy's sandbox.  The use of the Arduino in addition to providing the digital VFO capability also provides the color display, Tune function, USB/LSB, band selection and on and on. Analog VFO's can be fun in some rigs, but not this one! This is a DifX so move on up.

When I build a transceiver I always start at the back end and as I progress forward each part of the completed build is now part of the test system that will be used to test new additions. If I build a circuit and install it into the test systems 99% of the time it is what was just installed is where the problem lies as everything up to that point works! Thank you Heathkit
Thus starting at the back end is the audio amplifier. The audio stage deserves some respect so use the low noise version of the NE5534 driving an LM-380. Forget that crap about building a discrete component amplifier with 2N3904's/2N3906's --yes building one using that approach is like earning a Boy Scout Merit badge. It is also like doing brain surgery with a rusty spoon; thus it is time to move on to something more robust. Another NE5534 can be used as the microphone amplifier. This is an uptown rig and so move on  past the low rent district.
This is enough to start your heart pumping and the insatiable to desire to heat up the soldering iron. Welcome to the world of the DifX.
Pete N6QW

Tuesday, April 4, 2017

A New Line of Transceivers ~ DifX

Transceiver Architecture 2.06

So What Would You Do If You Were the Designer?

OK! OK! Not everyone is a rig designer and there probably are far more hams who are fully capable of building rigs than  than those who can design a rig from the ground up. But as hams we are all users and we can certainly articulate what we would like to see in a rig.
Even more so today as the new technology available to us for literally pennies, can  bring a whole new dimension of features to home built rigs. While there are many builders who like analog VFO's and homebrew dial mechanisms, there are many of us who want digital VFO's with their high accuracy and amazing stability. Many of us also like the colorful displays where lot of information is readily displayed--with much of it being in real time. Thus designs must be flexible so all quarters can participate in the project.
So as users we can influence what we want to see in a rig and in effect become the rig designer by what we ask our rigs to do.
Here is a laundry list of what users might like to see in a homebrew rig:
  • Frequency agility and frequency stability (more difficult with analog VFO's)
  • Sensitive receivers and great sounding transmitters
  • Costs that don't involve taking out a home mortgage or selling off one of the kids
  • Ease of construction using common parts
  • Circuit boards or building block techniques for the final assembly
  • Readily available tech help and a strong user support community
  • Multi-band Operation
  • Low power drain
  • Reasonable power output in the 10 to 15 watt range
  • Ability to handle strong signals and AGC
  • S Meter
  • Selectable sidebands
  • Compact size and low weight
  • 12 VDC Operation
  • Let us not forget the digital modes and interfaces needed for the digital programs
  • RF Pre-Amp and/or 10 dB attenuator
  • Well designed Band Pass and Low Pass Filters paying attention to 2nd Harmonic reduction
  • Use the Arduino Mega 2560 because of the large number of Input/Output Ports
  • Fused Input and Reverse Voltage protection
  • DFM ~ Designed For Maintenance
  • CW Capable and Audio Filtering
  • Painted Juliano Cool Blue
  • IF Shift/ RIT
  • Tone Function for Tune Up ( Standard feature of the DifX)
  • By making this list we are now starting to define our design criteria. Some may gravitate to a single conversion design but the more sophisticated rigs very likely will be a dual conversion design.
What did you have on your list?
Pete N6QW

New Technology for 2020 ~ Improvise, Adapt and Overcome

What to do during the Pandemic? This is a chance to get back on the air or to take up an interest in homebrewing your own rig. You can bui...