The first steps in restoring and updating the old G2DAF linear amplifier commenced with the removal of the 2 x 6U4GT rectifier valves and the associated voltage doubler components / 300 ohm input circuit. This will be replaced with a solid state voltage doubler (probably a 1N4148 diode stack) and a 1:4 unun broadband transformer to give as close a match to 50 ohms as possible. Next step was to solder a 5000 ohm resistor from the 813 anodes to ground. Two 10k resistors in parallel were used (see photo) to represent the load that the valves should see under normal operation. An MFJ antenna analyser was then connected to the pi - tank output and the variable capacitors in the tank circuit altered until a 1:1 50 ohm match was obtained on 80m and on 10m. This checked the output matching circuit.
The python code generates the Finite Impulse Response (FIR) filter coefficients for a lowpass filter (LPF) at 10 (Hz) cut off using firwin from scipy. A highpass filter is then created by subtracting the lowpass filter output(s) from the output of an allpass filter. To do this the coefficients of the LPF are multiplied by -1 and 1 added to the centre tap (to create the allpass filter with subtraction). A second LPF is then created with a cutoff at 15 (Hz) and the bandpass filter formed by addition of the LPF and HPF coefficients. The program also generates a test sine wave of a given amplitude and power and to this noise from a Normal distribution is added. The graph below shows the signal and nois, and the signal (green) after filtering. The input snr is approximately 3dB. The frequency response below shows the passband centered on 12.5 (Hz), the Nyquist frequency is 50 (Hz). from numpy import cos, sin, pi, absolute, arange from numpy.random import normal from scipy.
Comments