A few years ago, in this thread:
https://www.electro-tech-online.com/threads/dds-signal-generator-module.138465/#post-1148288
I described the insides of my own DDS based signal generator as "a bit of an ugly evolving work in progress".
The reason for my being so scathing was that when I was developing it, I paid no attention to good RF technique.
I was focussed on getting the user interface into a form that I liked and as long as something reasonable came out of the BNC connector on the front, everything was good.
The problems became obvious when I tried to use this signal generator to test a low frequency radio receiver.
My usual sig gen (an HP 8640B) will only go down to 500kHz, but I wanted to do some sensitivity measurements at 17kHz.
Using an external attenuator to reduce the test signal from my generator, I connected everything up and found that there was so much stray signal leaking out of the home made generator that meaningful measurements were impossible.
Having thought about mounting the DDS module its self into a diecast box to give good screening, but never quite got around to it, I recently found a source of nice tinplate boxes.
**broken link removed**
Tinplate boxes are fairly cheap and you can solder to them, whereas diecast boxes are expensive and solder does not stick to them.
So I stripped out the insides of the sig gen and re-mounted the PIC control board, removed the RF output amplifier, the AD9851 DDS has plenty of output on its own for what I need, and fitted the DDS module into the tinplate box.
So that no RF leaked out of the tinplate box along the control wires to the PIC, I fitted feedthrough capacitors to pass the signals through the wall of the box.
I was expecting that the capacitors would slow down the risetimes of the pulses and that this could be a problem, but I got a big surprise, one of the signals was inverted.
Instead of a positive going pulses ( 0v - 5v -0v ) I got a negative going pulses (5v - 0v - 5v). Following the very first pulse after the PIC was reset, the digital output settled at 5v for some reason. Out of three control signals, only one of them did this. The problem was all down to the capacitive loading on the PIC digital output.
To overcome this I had to remove my nice feedthrough capacitors and fit simple feedthrough insulators with a lower value of capacitor wired separately. I also added a ferrite bead to give some inductance to help suppress higher frequency leakage from the box.
So here it is in all its glory:

And inside the tinplate box:

I modified the AD9851 module by removing the lowpass filter which was fitted on the board and added my own LPF which can be seen at the lower left of the box.
I also changed the output load resistors to give a 50Ohms output, rather than the 200Ohm output which is configured as standard on these modules.
I was getting some rather strange variations in output from the generator as it was tuned across the range of output frequencies, and the various harmonics and aliases were not as well suppressed as they could have been with the original filter as fitted to the module.
So how does it work and was it a success?
Yes it is a success, there is still some detectable leakage but it is down in the sub microvolt region, I can live with that.
As for the receiver which I was trying to test the sensitivity at 17kHz, it is as deaf as a post, which is what I expected.
But worst of all, my lovely home made VLF converter which enables listening to very low frequencies by converting them up to the 10MHz region, that is not much better.
Ah well, another couple of little jobs to do.
Mañana
JimB
https://www.electro-tech-online.com/threads/dds-signal-generator-module.138465/#post-1148288
I described the insides of my own DDS based signal generator as "a bit of an ugly evolving work in progress".
The reason for my being so scathing was that when I was developing it, I paid no attention to good RF technique.
I was focussed on getting the user interface into a form that I liked and as long as something reasonable came out of the BNC connector on the front, everything was good.
The problems became obvious when I tried to use this signal generator to test a low frequency radio receiver.
My usual sig gen (an HP 8640B) will only go down to 500kHz, but I wanted to do some sensitivity measurements at 17kHz.
Using an external attenuator to reduce the test signal from my generator, I connected everything up and found that there was so much stray signal leaking out of the home made generator that meaningful measurements were impossible.
Having thought about mounting the DDS module its self into a diecast box to give good screening, but never quite got around to it, I recently found a source of nice tinplate boxes.
**broken link removed**
Tinplate boxes are fairly cheap and you can solder to them, whereas diecast boxes are expensive and solder does not stick to them.
So I stripped out the insides of the sig gen and re-mounted the PIC control board, removed the RF output amplifier, the AD9851 DDS has plenty of output on its own for what I need, and fitted the DDS module into the tinplate box.
So that no RF leaked out of the tinplate box along the control wires to the PIC, I fitted feedthrough capacitors to pass the signals through the wall of the box.
I was expecting that the capacitors would slow down the risetimes of the pulses and that this could be a problem, but I got a big surprise, one of the signals was inverted.
Instead of a positive going pulses ( 0v - 5v -0v ) I got a negative going pulses (5v - 0v - 5v). Following the very first pulse after the PIC was reset, the digital output settled at 5v for some reason. Out of three control signals, only one of them did this. The problem was all down to the capacitive loading on the PIC digital output.
To overcome this I had to remove my nice feedthrough capacitors and fit simple feedthrough insulators with a lower value of capacitor wired separately. I also added a ferrite bead to give some inductance to help suppress higher frequency leakage from the box.
So here it is in all its glory:

And inside the tinplate box:

I modified the AD9851 module by removing the lowpass filter which was fitted on the board and added my own LPF which can be seen at the lower left of the box.
I also changed the output load resistors to give a 50Ohms output, rather than the 200Ohm output which is configured as standard on these modules.
I was getting some rather strange variations in output from the generator as it was tuned across the range of output frequencies, and the various harmonics and aliases were not as well suppressed as they could have been with the original filter as fitted to the module.
So how does it work and was it a success?
Yes it is a success, there is still some detectable leakage but it is down in the sub microvolt region, I can live with that.
As for the receiver which I was trying to test the sensitivity at 17kHz, it is as deaf as a post, which is what I expected.
But worst of all, my lovely home made VLF converter which enables listening to very low frequencies by converting them up to the 10MHz region, that is not much better.
Ah well, another couple of little jobs to do.
Mañana
JimB