vrijdag 21 mei 2010

Harmonic generation

During tests with a few 2 meter transceivers I found a problem.
All those transceives seem to have a bad suppression of harmonics .That can not be true.

It seems the tuner itself creates those harmonics when a strong signal is applied
I allready build an attenuator that reduces the RF out of a transmitter to a level the analyzer can handle.
I tried reducing the signal levels by increasing the attenuation.
That did not work.Signal levels did not change. Some RF probably leaks through the attenuator.The problem is not radiation picked up by the analyzer itself. When signal cable is disconnected no signals are visible.

I bought a better attenuator on Ebay. It has not arrived yet.

zondag 16 mei 2010

putting modules in box

This weekend I put all the modules in the box. The only problem I had was a shortcut in the sweep signal to the tuner. After fixing it the machine works again.
A picture will follow soon.

Mechanical things I need to do:
-mount a fuse holder. Unfortunately I can not find one in the junkbox.
-mount an on/off switch.
-Secure mains cable. It has to be clamped to the backpanel.

I didn't spend time on the calibration improvements.

The software is still a bit unstable.

vrijdag 14 mei 2010

alignment

Alignment is time consuming. I am considering to make some provisions in software to speed it up.

Currently 11 calibration values are stored they are hard coded values.
The DAC values for the next frequencies are stored: 0 50 100 150 ... 500 MHz.
Linear interpolation is done for frequencies between those points. Changing a DAC value requires recompilation and flashing the application.

I am considering to build the following option:
The DAC values are stored in EEPROM. The rotary encoder can be used to select and change the calibration values. Defaults can be restored. Calibration data can be stored.

I am still thinking about the user interface. I could select the calibration points using a dip-switch. That could be a quick solution.

dinsdag 11 mei 2010

update

Last night I spend an hour trying to fix the remaining problems.

Capacitor has been changed. Linearity is now ok.

Compensation in software works. The correct multiplication value has to be determened.

Software has strange behavior. I have to configure ports to input repeatately.
If I don't the read values are incorrect. It probably generated fasle interrupts too. I'll check some example programs to see if this is a known problem. It may be a problem related to foating inputs.

maandag 10 mei 2010

almost ready

I think that most of the problems are solved. Changing the steps in a sweep helped a lot. Now it can be alligned. It is a bit time consuming because of the compile/flash cycle.I did a quick calibration. results look good for small spans.

Some problems.
-X signal for scope is not lineair. For low voltages the capacitor value seems to be different.I had this problem with the VCO signal as well . The solution was to use a different electrolytic capacitor. I'll try to change the capacitor tonight.

-Sometimes software seems to crash.

-Compensation for the loss the filter causes must be improved. I need to multiply by 1.05. I can not do that in 16 bit integers. I could multiply by 105 then divide by 100. Unfortunately 105*my max value does not fit in 16 bit. So I need to convert to 32 bit, do the multipilication then convert back.

By the way source code will be available when it is finished.

vrijdag 7 mei 2010

improvements

I am not satisfied with the results. The sweep signal can be smooth when a lowpass filter is used with a low cutoff frequency. Unfortunately in that case the output is too low. Amplifying it in software works but it is not enough.

I will increase the steps the DAC generates from 10 to 20. This increases the frequency difference between the sample frequency and the sweep frequency. This relaxes the filter requirements. I can even increase the steps to 40 if the suppression is still not adeqate. This way I can have good suppession of the ripple without suppressing the amplitude of the sweep signal itself.




The price I have to pay is loss of the lowest span. Each dac step is 500 KHz. So when 20 steps per sweep are used, the minumum span is 20*500 KHz =10 MHz. This is acceptable as the bandwidth of the IF filter is 1 MHz -60 db. Even 20 MHz as minimum span would be acceptable.

dinsdag 4 mei 2010

alignment

The sweep frequency of 1 Hz is unpractical. The picture on the scope is hard to read when 1 Hz is used. Now I use 10 Hz. The Picture is usable now. However I will have to buy some wider IF filters to solve all sweep speed related problems.

I was working on the frequency alignment. The results looks good for spans < 5MHz/div. larger spans are not OK. I will have to amplify the AC part of the sweep. The DC value is OK. The problem can be solved in software.