Sunday, April 29, 2007

Testing ERA-5 MMIC for use as a multiplier

An easy way to generate harmonics is to drive an amplifier into compression. MMIC amps are easy to use and the 1 DB compression point is listed in the datasheet for just about all MMIC amplifiers available today. Normally this would be an undesired operating point. If you need a multiplier this a simple way to do it. Output are typically higher using an MMIC as a multiplier than using a simple diode multiplier. The output circuit of the MMIC can be designed to enhance the desired harmonic. That was not done in this test.

ERA-5 gain below 1GHZ = 20 DB
1 DB compression = +17.5 DBm

Input 738 MHz into MMIC at +6 DBm and +2 DBm drives the amp well into compression. No attempt was made to optimize the output for a particular harmonic or to suppress the fundamental. The output capacitor was 12 pf to favor the upper frequencies. Results varied depending on the input frequency. The data below is for 738 MHz. At 571 MHz the 5th harmonic with +2 DBm input was -20 but had a lot of “grass” around the carrier. Lowering the input to +1 DBm dropped the harmonic to -30 DBm and cleaned up the noise (or it dropped below the noise floor of the spectrum analyzer).

It appears the input should not exceed 5 DB above the 1 DB compression level or excessive noise will result.

+6 DBm input is 8.5 DB above the 1DB compression point
+2 DBm input is 4.5 DB above the 1DB compression point

Output 1 is with a +6 DBm input
Output 2 is with a +2 DBm input

Frequency(MHz) or Harmonic/Output1/Output2
738/+20/+18
X2/-2/-6

X3/+3/-12
X4/-4/-30
X5/-20/-30
X6/-42/-34
X7/-38/-46
X8/-30/-42
X9/-40/-50
X10/(below noise)/(below noise)

Tuesday, April 24, 2007

Oscillators

I assembled the two transponder oscillators yesterday. One is for 82 MHz and the other for 114.2 mHz. They are based on the initial design I did last summer. I thought I had these all figured out. The 82 MHz oscillator just sucked. The harmonic content was very high. Hell, I did not need the multiplier stages I designed. I had a 738 MHz harmonic from the oscillator directly only 30 DB below the fundamental!! As it turned out the little MMIC amp I had at the end of the oscillator was being overdriven. I just removed the MMIC and jumpered the board from the end of the buffer to the SMA connector. I have a good -5 to 0 DBm which was the initial design goal. I also removed the filter components after the buffer. I was getting a spur around 300 MHz. I don't know if it would have gone away by removing the MMIC. I removed the filter parts before removing the MMIC. I suspect circuit board traces in the filter caused the instability. I probably had stray capacitance and/or inductance somewhere in the filter physical layout that screwed it all up.

Other changes I made:
1. Removed the tuned transformer between the oscillator and buffer. Replaced it with a short to the DC line.
2. I moved the input capacitor of the buffer that was on the transformer link to the top of the oscillator emitter resistor.
3. I also reduced the buffer emitter resistor from 220 to 100 ohms. This helped reduce the harmonics a little. I think the buffer was also being overdriven.

I experimented with the tapped capacitors in the oscillator tank circuit. Increased them to 82 and 33 from 68 and 22 pf. No real difference. The oscillator may be slightly more stable, from a start up perspective, with the original caps so I put them back to the way they were.

In the end the 2nd harmonic is 10 db down and the others are 30 db down or more. The 5th harmonic is the last one I see on the spectrum analyzer. The input tuning on the multiplier may make these spurs a moot point. If not I will have to add an extra low pass filter after the oscillator. The final oscillator is much simpler design.

I will incorporate the design changes into the 114.2 MHz oscillator and test it out tomorrow night.

I guess I will have to go back and update the design document on my web page. That will have to wait until after Hamvention. I need to get this project done by Hamvention.

Interdigital Filters - remade

I etched the new boards over the weekend. The frequency of the 738 and 571 filters came out spot on. The pesky "step" is still there especially on the 571 filter. The loss is less on the 571 but that was expected per the simulation using FR4 board stock. The return loss just sucked on both. I ended up adding a surface mount trimmer cap (3 to 12 pf I think) in series with the input on the 571 filter. I also moved the input tap up several millimeters. About as far as I could reach with the body of the trimmer. Adjusting the cap I was able to achieve a return loss of 18 DB. Slightly above the desired frequency I could get 20. I adjusted for best RL on the design frequency. When I get some time I will add the same capacitor to the 738 MHz filter. For now these are done and I will go on to other modules of the project.

Friday, April 13, 2007

Making New Artwork for 738 Interdigital Filter

One final mucking with Ansoft dimensions on the interdigital filter. I started by changing the microstrip impedance to 82 ohms (40 mils on this FR4 board). It was around 40 or 50 before from the initial Ansoft design. That appears to work much better. On the pipe cap filters the ideal impedance of the pipe coax structure was 77 ohms so that must hold in general for the micro strip filters too. The filter response is much better with the best return loss also being the center of the band pass response. The RL looks to be 15 or so. Insertion loss is still high but down under 15 DB now. Out of time for tonight so I will re-do the PC board artwork in Eagle tomorrow night.

Update on Frequency Error in Ansoft Design

I found the source of the 100 MHz frequency error in the earlier post. Ansoft converts the theoretical filter design into a physical layout. This layout is more of a schematic then a circuit board layout. The four microstrips of the filter are modeled in Ansoft as four rectangles. Three sets of these rectangles make up the entire filter. Each strip is broken up into three pieces because of the input and output taps. The taps are represented by a “T” symbol that has no length, just width. To position the tap the total length of the line must be broken up in the model representation. There is some confusion as to what length “p” is in relation to the total length of the line. Also the conversion process did not use the variable “p” but instead inserted the total length of the line. When I made the board I misinterpreted the meaning of each length “p”, i.e. p1, p2 and p3. It was not clear how these added up to make the total length. I ended up with each filter element being about 250 mils too long. This made the filter resonate 100 MHz low. Now that I have figured this out the simulated frequency and measured frequency is within reason give just an uncertain dielectric constant of FR4 at these frequencies.

Measurements on the N4 Interdigital Filter

After messing around with this interdigital filter I never could get a nice smooth response. At best there is “step” in the response as the frequency goes above the center frequency of the pass band. For this application that would not be a problem as I am just removing other harmonics of the main oscillator. Using FR4 board is not the best for UHF and above filters. The loss is just too high. Also the dielectric constant is not very constant. Now that I have this filter built I measured the final microstrip elements.

P (total length of each microstrip, there are four) = 2062.5 mils
P2 (tap for the input and output from ground end) = 203 mils
W (width of each microstrip, they are all the same) = 164 mils
S1 (spacing between element 1 and 2) = 391 mils
S2 (spacing between element 2 and 3) = 172 mils
S3 (spacing between element 3 and 4) = 500 mils

Measuring the actual center of the band pass on the tracking generator indicates 737.68 MHz. Now we can modify the simulation with our actual measured values and keep changing the dielectric constant until the frequency matches the measured. Nominally FR4 is around 4.5. The simulation shows:

For 4.7 Fo = 743.53 MHz
For 4.8 Fo = 736.39 MHz
For 4.9 Fo = 728.57 MHz
For 4.79 Fo = 737.68 MHz

Setting the simulation to 4.79 yields our measured frequency of 737.68. We will use this value for future filters around this frequency. I want to try a hairpin filter next. I have the initial design. Other than the narrow spacing and I assume more critical layout tolerances the pass band does not contain the “step”. Hairpins do respond to the even harmonics of the first pass band. I don’t think that will be a problem the higher harmonics of the multiplier will be reduced by the design of the multiplier.

Saturday, April 07, 2007

Documenting the shortening of the MicroStrips

Start length = 61mm

 

Pass band frequency per length of each microstrip:

61mm = 630 MHz

60mm = 642.5 MHz

59mm = 657 MHz

57mm = 678 MHz

54mm = 715 MHz

53mm = 728 MHz

52mm = 736.7 MHz

 

 

After Microstrip Adjustments

I have made the modifications to the 738 filter PC board layout.  I shortened the strips to bring the center frequency to 738 MHz. The original length from the Ansoft calculations was 61mm.  I had to shorten these to 52mm.  That is a reduction of 14.75%.  My guess the reduction is required because of stray capacitance on the board.   The final 3DB bandwidth comes out to 15.1 MHz.  The final gain with the +20 DB MMIC is 0DB.  My insertion loss is 20DB behind that amp.  This is in line with Ansoft’s calculations using FR4 board.  Rogers PC board would be a better choice because of the dielectric loss tangent (TAND).  It is 0.02 on FR4 but only 0.0009 for Duroid 5880.

 

The input return loss is interesting.  Using FR4’s TAND value Ansoft shows the best return loss as only 10DB but above Fo at 756 MHz.  This is less than the original 18DB I had before mucking with the strips.  I see this on my tracking generator.  I was able to improve this to 15DB by adjusting the tap point on the first microstrip element.  I moved it a millimeter or two toward ground.  I don’t know that it improved return loss at 738 as that still looks to be 10DB. 

 

 

 

738 MHz Bandpass Microstrip tuning

I was playing around with Ansoft this morning and the 738 filter. First I adjusted the dielectric constant to see if I could account for the lower filter frequency response.  I found the dielectric constant would have to be something like 7+ to drop the frequency down 100 MHz.  Design spec for FR4 at lower frequencies is 4.5.  I don’t think 7 is a reasonable value even at 700 MHz.   I then checked my actual dimensions of the micro strip.  They are within 0.5 millimeter of the design values.  Again, not enough to account for 100 MHz.  I am beginning to wonder if stray capacitance may be lowering the frequency. 

 

Another finding was on the insertion loss.  When I modeled this board I did not set the dielectric loss tangent value.  I see from documentation that this should be 0.02 for FR4 board.  Doing that I can now account for the loss.  The insertion loss is 18 dog biscuits (Jake is pawing me as he wants some of those).  That agrees with my board.  My MMIC amp on the output has a +20 gain at 700 MHz.  That gives me the +2 DB output with a 0-DBm input signal I see on the analyzer.   Using Rogers 5880 the TAND values is 0.0009 which would produce a more reasonable loss of 4 dog biscuits and improve the return loss.   

 

Next I will shorten the strips to see if I can bring the frequency up to 738.  I can try to use the same technique I used for the pipe filters to tune each stage by lightly coupling a spectrum analyzer to the first stage then short out the other stages as I tune down the line.

 

 

Sunday, April 01, 2007

First Microstrip Bandpass Filter Results

I etched the board for the microstrip band pass filter.  The desired center frequency is 738 MHz.  The problem with designing such a filter on FR4 PC board stock is the variation of the dielectric constant at the desired frequency.  The second source of errors in the layout of the board itself.  At UHF and above it is difficult to get the necessary precision where a quarter of a millimeter could make a big difference.  My results of the first filter look promising.  The filter response was about what I wanted except the frequency was off by 100 MHz.  The center of the bandpass was 630 MHz and not 738.  I think the insertion loss may be high but it is masked by the output MMIC amp I have on the board.  The overall gain is +2 DB because of the amplifier.  While this does not sound bad remember that the MSA-0886 amp has about 20 DB of gain at 600 MHz. 

 

The plot of the filter response shows a “step” on the upper frequency side of the curve.  This indicates one of the stages is not aligned on the same frequency as the others. 

 

Anyway, the initial measurements:

 

Input return loss at center of bandpass:  18 DB

Overall gain with MMIC amp: +2 DB

Center frequency of band pass:  630.68 MHz

3db bandwidth:  638.33 – 623.64 MHz = 14.7 MHz

 

The filter was designed using Ansoft Designer SV (student version). I will now go back to the design and modify the FR4 dielectric constant to see if I can account for the 100 MHz frequency error.  The idea is to use the modified constant to rework the board dimensions to see if I can get closer to 738 MHz and improve the insertion loss. 

 

As for this board it has served it purpose.  I can try to shorten the microstrips and use capacitors to tune the sections.  I can not adjust the coupling other than to solder metal tabs onto the microstrips and use them to increase coupling to the next strip. 

 

 

 

 

Saturday, March 17, 2007

Tinkering With That Darn Oscillator

It appears the high harmonic output is generated by the last MMIC amp.  Not sure why unless it is sensitive to the impedance seen by the input looking back into the filter.  There is a simple low pass filter after the oscillator buffer.  That filter should have been after the MMIC amp but the amp was an after thought when I designed the PC board.  The harmonics go away when I remove the last output capacitor from the filter.  I then have the second harmonic down 35 DB.  I attempted to replace the first and last capacitor with trimmers to see if I could improve the situation.  Not really, so I left it as it was minus the last capacitor. 

 

I adjusted the oscillator transistor bias resistors to improve the output while maintaining the same 35 db harmonic attenuation.  The oscillator output level is now zero DBm.

 

That still puzzles me as to why I am getting the harmonics.   The MMIC is not being overdriven.  The MMIC is an Agilent ABA-53563 I got from Mouser Electronics.  The 1-DB compression point is +14 DBm output.  I appear to have around -15 DBm going into the MMIC so with a 21.5 DB gain that is below the 1-DB compression point.  I checked my spectrum analyzer calibration against my signal generator.  The spectrum analyzer reading agree with the settings of the generator. 

 

I will leave the oscillator as it is and get back to testing the frequency calibration and oscillator heater.  Something tells me I will be redesigning the PC board moving the filter after the MMIC. 

Thursday, March 15, 2007

Oscillator Oven

I have been working on a few oscillators for a radio project.  The test oscillator is crystal controlled on a carrier frequency of 104.727270 MHz.  This will be multiplied up to a higher frequency.  Unfortunately I forgot what oven temperature I ordered the crystal for.  I think it was around 50C.  I did not want it to be too high as I am using Styrofoam 3/4” thick for the insulating material. The entire oscillator is heated.  The oscillator is a Butler design which uses a series resonant crystal.  The only tuning is from the resonant circuit of the Butler design.  I set the trimmer capacitor for the best oscillation then adjusted the oven heater until I moved it to the marked crystal frequency.   The oscillator has a temperature sensor on it so I can monitor the temperature.  This makes adjusting the heater easier.  The sensor outputs 0.01 volts/degree K. 

 

I now have a stable operation at a sensor reading of 3.292 V which equates to around 56C.  The frequency counter reads 104.727284 MHz.  The counter is locked to 10-Mhz GPS disciplined oscillator to ensure a correct readout.  I am 14-hz off frequency at this point.  The crystal changes about 57-Hz for a 2 degree C temperature change.  This is around 0.54 PPM.  The oven heater resting current is 0.06 Amps.  The heater is nothing more than a power FET attached to the side of the aluminum oscillator housing.  A thermistor on the oscillator PC board in the gate circuit controls the FET.  An external pot in series with the thermistor is used to adjust the temperature.

 

Now I will remember to write down the temperature specification when I order any new crystals.  55 degrees C. works out well for the type of heater and insulating material I am using. 

 

The next test will be to see how well the heater can hold this temperature when I subject the oscillator package to a temperature change.  I need measure the external and internal temperature while the environment changes.  I can do this by using the GPIB interface on my DVM for the on-board sensor and the RS-232 interface on my Radio Shack hand held DVM.  The sensor is a LM324.  I hope to be able to hold +/- 50 hz from room temperature to an ice bath. That would be 2 degrees C temperature variation. 

 

 

Sunday, January 15, 2006

Memory Test For PCs

My domain controller started to blue screen today. This is an old box so my first thought was the old hard drive was failing. At time it acted like the drive was bad. I got errors that files were missing. Even coming up in safe mode with a command prompt at one point indicated there was no C: drive. I was about to pull the drive, rebuild and restore from backup. Something did not appear to be right that it was the disk drive. I got different stop messages and the system would fail at different points in time. For the most part I could boot the system and logon. A few minutes after logon I would blue screen. Each time with a different stop message. I got thinking that I may have a memory problem. The box has two memory cards (PC-100) memory: 128k and a 256k board. I found on Microsoft's site a nice memory test utility. You have can create a boot floppy or a boot CD from the file you download. I chose to create the boot floppy. A big CD....All of 1-meg! Boot from the CD and the test immediately starts. It found several errors but was unable to tell me which memory board the problem was on. I shut down the box and pulled one of the boards. With only one memory board I re-ran the test. One board passed the other failed. Of course it was the 256-meg board. I got the domain controller back up on 128-megs. Runs slower but at least the lab is back online.

The memory utility is mtinst.exe. Has a nice users guide you can print.

Windows Update Service

What a pain for something that should be simple. I have a lab of six systems. About half I can't get WUS to run. I found the following steps fixed most of the problems. I have one system where I can not run the server 2003 service pack 1 from the CD. Get some stupid error like "ASN1 Unexpected end of data"

Found this on the web in hords of pages I looked through. Put this into a command file and run it on the system having a problem. Works on XP and Server 2003. Also, if in a domain, make sure you don't have a group policy muck'en around with the automatic update service and configuration.

net.exe stop wuauserv

cd /d %windir%

rd /s softwaredistribution

REGSVR32 %windir%\system32\wuapi.dll

REGSVR32 %windir%\system32\wuaueng1.dll

REGSVR32 %windir%\system32\wuaueng.dll

REGSVR32 %windir%\system32\wucltui.dll

REGSVR32 %windir%\system32\wups.dll

net.exe start wuauserv

Wednesday, January 11, 2006

Not around much

Well, I sure have not used the blog much have I? Just get busy doing other things and first you know a year has gone by. Judging by the number of blogs I see I think many of us don't have anything to do. In theory this blog should be a good place to record thoughts on my amateur radio/electronic tinkering. I do things then move on to something else without thinking to record the activity for future use. I am rebuilding my web site so I can record some of my projects. You never know the information may be useful to someone. I sure have found technical web sites by other to be useful.

I have found it amazing at the news blogs are getting from those that open up to the world their what ever activities and end up getting caught. You know hiding behind the keyboard causes one to open up a little more then they would at the office lets say. Toss things out in the wide open internet world like that and they are there to stay.... forever cached somewhere. Depending on how you identified yourself the entries are bound to catch up with your someday.

I guess I am just a boring person as I don't have anything to write is the "oh my gosh!!" department.

I also try not to be political or enter religious comments. Sure, some may creep in from time to time but try to keep them out.

Updates from the last time here? Well, lets see.

The interference problem sort of comes and goes. It has not been around enough to justify trying to get the utility company to do anything about it. So far I just put up with the occasional problem.

BPL (broadband over power lines). Unfortunately, power companies still see this as an opportunity. I think eventually they will drop this technology as it will be come too cumbersome to maintain. Other technologies will become more advantageous at lower operating cost. Until then the shortwave community will have to suffer. Fortunately in my home town the local utility has other problems to deal with. I don't think internet access is high on their business model at the present time. 45-miles south of me there is an operating system with a lot less customers than that utility wants to public to know. They have a system we could live with. It effectively notches the ham bands and does not put RF onto the medium voltage lines. Just the drop into the house is on HF. Unfortunately, for shortwave listeners they are out of luck. They notch the ham bands but not the shortwave broadcast bands.

Tuesday, October 19, 2004

Interference Update

Still wet from drizzle and no noise. That suprises me because I would think the nightguard noise would be coming from the electric eye. I would think that would not be affected by water. Power line hardware can be affected by water however.

Monday, October 18, 2004

Interference Update

Tonight it is raining. No noise from the nightguard.

Sunday, October 17, 2004

BPL (broadband over powerline) again

The local TV station ran a news story last Friday about the FCC approving BPL. Everyone thinks BPL is so great but the general public does not understand the interference potential of this technology to unrelated services that use the shortwave spectrum. I sent them an email to bring up the negative side of BPL.

The text of my email:

You recently ran a news report about the FCC approving BPL (broadband over power lines). While on the surface this would appear to be a benefit for internet users there is a negative side to BPL that very few people, including the power utilities and BPL equipment providers, understand.

It is understandable why BPL has sparked the interest of internet users and power companies. After all, power lines are everywhere so if you can piggyback internet access that would appear to be a good thing. BPL proponents try to convince us that all you have to do is plug in some equipment at the utility substation and plug a little box into the wall in your home and you have high speed internet. This is far from the truth as power lines were never designed to carry anything but 60-cycle AC power.

BPL technology attempts to provide connectivity by sending high frequency signals down the power lines. The frequency range used by common BPL schemes span between 3 and 30 MHz. This range is commonly known as the shortwave spectrum. Power lines look like long antennas to signals in this range. The end result is the BPL signals radiate and can be heard on receivers for hundreds of feet from the lines. This radiation will cause harmful interference to licensed users in this spectrum. Since power lines are everywhere the zone of interference will almost 100 percent of populated areas should it be widely adopted.

BPL was approved by the FCC as a part 15 service. Part 15 is the portion of rules that deal with unlicensed devices that generate radio frequency (RF) energy either intentional or unintentional. Part 15 regulations are an attempt to protect licensed users of the RF spectrum from unlicensed devices and services. Unfortunately Part 15 was written with the point of view that any device would be a single point source. Not something like BPL that covers a large geographical areas by way of the power grid. BPL proponents will say they don’t cause interference because their systems are within Part 15 guidelines. Unfortunately this does not preclude the possibility of interference as demonstrated by BPL field trials. Proponents will also say that current BPL technology will not cause interference. This just is not true. Current BPL technology is very disruptive to shortwave radio communications. This is a proven fact not speculation.

So who is going to be harmed by this interference? There are a lot of licensed and un-licensed users in the shortwave spectrum. This includes government and non-government users. Since BPL is targeted at residential users it will primarily affect all shortwave enthusiasts, shortwave broadcasters world wide, and Amateur Radio operators. Now some of you will probably say well who cares but this just the wrong attitude to take. Amateur Radio is not an obsolete technology as some uninformed people believe. We are as advanced as any technology, but I digress from my topic.

I have been involved with Amateur Radio since I was 13-years old (I am now 47). It was amateur radio that provided a driving force to pursue electrical engineering and a career path. Why should I have to give this up just because someone thinks they can make a buck by pushing a poor technology to the public? Why should I have to give up a activity so someone can save a few buck to download porn at high speed? It is just wrong to push bad technology of BPL down our throats when there are other non-interfering solutions available.

The cable company and phone company provide internet access (cable modem and DSL) without impacting any non-related service or activity. Why are we even considering something like BPL with the negative impact to the entire shortwave spectrum? Talk about polluting a natural resource!

The FCC has turned a blind eye to the situation. Unfortunately the bureaucrats in the FCC are running amok on this high speed internet bandwagon with little understanding of the technology. As a licensed users of the spectrum I have priority over any Part 15 device. The FCC rules require the owners of any Part 15 device to terminate its operation in the event of interference. The FCC should be enforcing interference protection to licensed users but they have chosen not to do so when the interference source is BPL.

The cost and equipment required to implement BPL is not trivial. You will hear BPL proponents talk about how BPL is the only technology that can bring high speed internet to rural America. How may BPL test sites in operation today cover rural America? None that I can find. All of the field trials and the proposed service areas are in populated areas. Why is this? Because BPL will take the same effort to provide service as does DSL. There is no benefit to BPL over other technologies.

As far as I can see the only reason for BPL is to give power utilities and city governments that provide their own power a way onto the internet bandwagon. Considering the blackout situation that occurred in the northeast I think power utilities need to stick with supplying electrical power and let the communications utilities provide communications.

If the power companies want to get into the internet business there are better ways to do it than current technology that just pollutes the radio spectrum. They have all the right-a-way for fiber optic cable and could use wireless technology to provide access in the “last mile” to the end user.

For additional information on the interference aspect of BPL I invite you to visit the BPL link on the web site for the American Radio Relay League (ARRL):

http://www.arrl.org/tis/info/HTML/plc/

By the way, some field trials of BPL have been shut down because of cost and interference potential of this technology. Lets hope our local utility sees the folly of BPL before they waste a lot of money down this rat hole. We are also watching the developments of the BPL rollout in the Cinergy service area.

I am not against more competition for broadband access. In addition, the internet is an important resource to amateur radio. Rural amateurs radio operators need high speed access also. But lets make sure the technology used to provide this service does not harm non-related service like shortwave broadcast and amateur radio.


Interference Update

The noise is back from the NightGuard light. The noise does not appear to extend down into HF. It stops around 28 MHz. Can't tell the upper limit because I my UHF (432 MHz) antenna is not connected. The VHF antenna does not hear very well on UHF so using that antenna is not reflective of actual conditions.

Current weather conditions: dry, temperature 48, wind 5 mph. Noise level on 144.200 (AM mode) is S8.



Thursday, October 07, 2004

VHF Interference - Thursday

This morning the noise was gone after sunrise. I did not have the receiver on prior to sunrise so I don't know exactly when it went away. Ok, I'm not awake before sunrise so that is why I don't have any data. Tonight I had noise about 30-minutes before sunset. After sunset the noise was gone. Still don't have it now a couple of hours after sunset. This noise will be intermittent but it can only get worse not better. No point turning it in until the problem becomes more predictable.