Showing posts with label Directional coupler. Show all posts
Showing posts with label Directional coupler. Show all posts

Monday, December 19, 2016

Homebrew return loss bridge

I have had some problems making return loss measurements using my homebrew directional coupler, and decided to build the return loss bridge from EMRFD and the ARRL handbook.


This is the final device. Obviously, "IN" denotes RF input, "DUT" denotes Device Under Test, and "DET" means Detector.




The circuit (picture from the handbook) is fairly simple. I used 51 Ohm resistors and a FT 37-43 with 10 bifilar turns and BNC connectors.



 I connected the bridge to a spectrum analyzer to get a picture on the directivity.



I used my homebrew dummy load as a 50 ohm terminator.



I guess you need experience with a similar spectrum analyzer to understand the plot, but anyways, I measured a maximum return loss of 37.6 dB, which I believe is fairly good directivity for a homebrew return loss bridge. It should be noted that the dummy load is not an excellent terminator, but is ok up to about 100 MHz.


The same plot show the return loss on my shortened 20 m dipole. The SWR is at its best at 1.46 at 13.8 MHz. It seem a bit detuned as it should resonate in the low end of the 20 m band, but fixing the antenna is another project.

All in all, the return loss bridge was a fun project, and I am sure it will be a useful tool for future measurements in my little home lab.







Saturday, April 16, 2016

Loaded dipole for 20m

My HF-project has stalled since I do not have a decent antenna. I have limited space for a full-sized antenna on my roof. My friend LA8OKA has assembled a loaded 20m dipole, and I wanted to test a similar design so I could get on the air on 20m.

First I simulated the antenna in EZNEC+ 6.0. The antenna is about 6m with 9uH loading coils halfway on each dipole segment.


Above, the parameters in EZNEC. I created two coils at about 9uH, which I calculated as 0R+791j ohm.


This is how the antenna looks like in EZNEC.



The SWR minimum is 1.34 at 14.05 MHz, meaning that the antenna should be great for WSJT work at 14.0760 MHz.

Then I created the two coils using 32mm PVC and 23 turns of 1mm2 multicore copper wire. I calculated the inductance to be 8.8uH, and a prototype coil proved to be in the ballpark of the calculated value.


Picture of the coil (in the rain).



I used a cheap 1:1 China-Balun as the center isolator.

Then, I mounted the antenna on a test location on my balcony and tuned the antenna using a NWT150 scalar network analyser and a directional coupler.


The above picture show the test setup using the SNA, a directional coupler, and a 50 Ohm dummy load for calibration of the SNA.


The first sweep gave a minimum SWR of 2.0 at about 13.5 MHz. By shortening the antenna, the minimum moved to 14.07 MHz. Minimum SWR is still 2.0. I suspect that the antenna impedance somewhat below 50 ohm due to the loading coils. In addition, there was about 50cm of wet snow on the roof just 1m below the antenna when I did the measurements. This might affect the result, which deprives me from experiencing the holy grail of 1.0 SWR. 

The verdict: Honestly, I am not sure how good the antenna is, since I do not have anything to compare with. In addition, the band conditions on 20m has been really poor and my softrock only outputs about 1W. Hence the chances to obtain great DX is limited. Nevertheless, I have made a few contacts up to 2500 km.

Saturday, December 5, 2015

Homebrew SWR and power meter

First of all, this SWR meter in this article is not exactly homebrew, as I based the circuit on the schematic in the excellent book Arduino Projects of Amateur Radio. Although I bought the book and respect the copyright of the authors I will share my own schematic here. Why? First, the design in the book is not completely original and is based on similar designs from others. One example here.  Second, I changed a few things, removed some stuff,  and added some other things, to my own liking, so the design is not identical anymore.


The circuit is based on two AD8307 log amplifiers, which are connected to the forward and reflected ports on a directional coupler.  The AD8307 amplifiers gives a DC voltage of about 25mV/dB of the input signal, which is amplified using an opamp (LM324). The opamp also provides the reference voltage to the Arduino (AREF) to ensure that the full ranges of the A/D converters are used.


I used the fourth opamp in the quad LM324 to provide input voltage reading. That is why the PCB in the picture has two power jacks. One input and one output. That way I know the drive voltage for the radio. I primary plan to use this device for my Softrock.


I created the schematic and the board in Eagle, and submitted the gerbers to Elecrow. I received 10 PCBs after about 25 days.


The board is not much larger than a standard 20x4 LCD.


I choose to use an Arduino nano rather than populating a AVR328 on the board and messing with USB converters. I am glad I did. I did one mistake on the board however. The Arduino was not powered from the 5V rail. The problem was that it was an error on the Eagle footprint for the Arduino Nano. I just downloaded the footprint file uncritically from the Internet without checking it. Other than that, It was fine.


Another problem was that I got oscillations on the LM324 opamps connected to the AD8307. The oscillations were around 40KHz and about 400mVpp on top of the DC signal. Hence it was impossible to calibrate the device. The solution was to desolder the output capacitors on the LM324. I do not think they are really needed on a DC design.


This was my first SMT design, and I am fairly happy with the result. The SWR and the power measurements seems accurate. I used the Arduino software from the book, and modified it to include a larger display and some other things. As you may notice, there are no buttons on the device. Originally I planned to use a rotary encoder and a bunch of menus, but as they say in the Soldersmoke podcast, menus are for restaurants. I totally agree. Besides, programming all kinds of features to the device is totally insane. This is a simple SWR meter and thats it. 

The files are available here, should you be interested. Note that there is an error in the schematic. The Arduino is missing +5V, but it should be easy to fix.

Sunday, September 13, 2015

Directional coupler

Introduction


I have been struggling to understand how my simple dipole antenna works (or doesn't work). The diycrap way to understand stuff is usually to read, build and measure, and then read some more. The key factor here is the measuring part, as I need to measure the standing wave ratio (SWR) on the feed line, as this is a key parameter. To measure the SWR, I need a directional coupler. And it is going to be homebrew.

Later, the coupler is going to be the basis of a SWR-meter, but for now, lets just look at the coupler.


The directional coupler design is classic and well known. Notice the input port and the output port on the upper line and the forward port and the reflected port on the bottom line. (My graphics software is Field Notes.)

Some theory


The principle of the coupler is based on two toroid transformers. The first is a current transformer and the second a voltage transformer. Each taking samples of the signal on the main line. The two transformers are equal, reducing the current and the voltage to the same level, meaning that the impedance is constant. The two transformers are connected in such a way that for a forward signal, the signal cancels out on the reflected sample port, but adds up on the forward sample port. And vice versa, a reflected signal adds up on the reflected sample port but cancels on the forwards sample port. Since we now have a sample of both the forward signal and the reflected signal, it is straightforward to calculate the SWR.

For a deeper understanding on how the coupler works, I recommend this web page, or the excellent YouTube video from W2AEW.

Construction


It is simple to construct the directional coupler. The transformers are FT50-43 toroid cores with 32 turns of 24 AWG enamel wire. The primary winding is simply a piece of RG58 through the torioid (i.e., one turn). Different designs use different toroids and number of turns. I settled down on a design found in Arduino projects for amateur radio.





I used a aluminum box and BNC connectors. I used copper clad boards as shielding here and there. I did not have any 50 ohm resistors in my junk box so I used two 100 ohm resistors in parallel. They are all 2W resistors, which is totally unnecessary and overkill.

Rudimentary testing



Testing the forward port. The output port is connected to my 50 Ohm dummy load. As signal source I used my GW Instek GFG-8255 signal generator, which unfortunately maxes at 5.5 MHz. 


8.2 Vpp on the input port resulted in about 244 mVpp on the forward port. Hence, the coupling factor is about -30dB. The signals are not in phase, but that does not matter for voltage measurements in a SWR-meter.


Testing the reflected port


8.2 Vpp on the input port results in 1.60 mVpp on the reflected port. This translates to a reflected signal of -74dB. The directivity is the reflected signal (-74dB) minus the coupling factor (-30dB) which equals -44dB.

Testing over the HF band


Later I borrowed a TTi TG2511 function generator which goes all the way up to 25 MHz. I tested with 10 Vpp on the input port and got these results:

frequency coupling factor return loss
1.8 MHz -30 dB -84 dB
3.5 MHz -30 dB -80 dB
7 MHz -30 dB -75 dB
10 MHz -30 dB -72 dB
14 MHz -30 dB -69 dB
18 MHz -30 dB -66 dB
21 MHz -30 dB -65 dB
25 MHz -30 dB -62 dB

The directivity is between 54 dB and 32 dB. The numbers seem reasonable, but indicates that the coupler should not be used for VHF/UHF.

Future work


The plan is to build a power meter and SWR meter using AD8307 logarithmic amplifiers and an Arduino. I will probably base the device on the design from the book Arduino projects for amateur radio.

Further reading