dinsdag 8 juni 2010

more harmonics

Strong harmonics are created internally when the signal level is high. Signals must be attenuated 20 db. This reduces dynamic range to 50 db. So, although dynamic range is 70db , only 50 db is available for measuring harmonics.

I am adding dipswitches to the processor board. They will be used to set the calibration points for the horizontal calibration.

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.

dinsdag 27 april 2010

pictures

All modules connected

This pictures shows the spectrum from 1 to 100 MHz


I found out why the shown signal strengths are dependent on the center frequency.
The problem is that the sweep speed is too high. The faster the sweep the lower the amplitude. The sweep speed is not constant so the amplitude of the measured signals changes. For low sweep speeds the problem does not occur. I can use 2 MHz/div using a sweep frequency of 32Hz. So I have to decrease the sweep frequency. I will use 1 Hz. as sweep frequency.

maandag 26 april 2010

testing new analog board

The new analog board works. Blanking caused some problems but I was able to solve them. Now I can see a spectrum. Pictures will be posted soon. Still a lot of work has to be done.

The analog board integrates the signals from the DAC. The DAC generates 2 ramp signal that consists of 10 steps. One is linear. It is integrated by the analog board. This signal goes to the x input of the scope. The other ramp signal is not linear. It is adapted to compensate the non linearity in the tuner. This signal is integrated. Then it is used to sweep the tuner.

I had a problem with the blanking of the tuner sweep signal. The integrator is a RC lowpass filter. During the blank the value of R must be very low. This way the voltage over the capacitor quickly drops to the input voltage of the filter. I use a j310 FET as a bypass switch over the resistor of the RC filter.

I have a few problems to solve:
-Sweep speed is too high for a span of 50 MHz per division. I may have to use a wider filter for this span. Tonight I'll try that.
-Measured signal changes when center frequency is changed. This is probably caused by changes in sweep speed.
-Alignment has to be done.

zondag 7 maart 2010

New ramp generator

It has been a long time. The project was on hold for a while.

I have had it with the analog board. It is hard to align. It just contains too much trimmers. It is old fashioned too.
So I will use a different concept for the sweep. The DAC will generate 10 different voltages in 50mS. The voltages will depend on the range and the offset frequency.
This signal will be filtered by low pass filters. This signal can be used as sweep signal.

For the X axis on the scope the DAC will also generate 10 voltages. This signal will be be filtered by a low-pass filter too. Those filters will be made identical.

The concept has been tested using a different micro-controller board. It looks promising.