Search This Blog

Friday, 29 December 2017

The Art of Logic

Well,

Some of you might remember my musings with the Red Pitaya back here; this was in the realms of SDR. I wanted to get myself a simple logic analyser and initially looked to that device to help.

However, I came across this little chap from Hobby Components:


and purchased one from Amazon at about 12 GBP. I also bought some cheap and cheerful logic probe/clip thingamabobs.

To test this thing I have installed some software called PulseView and setup a 4017 to do its thing on a breadboard:


So, here is the output on the screen:


and by anyone's reckoning, that's pretty damn impressive!

This will be a very handy addition to the workbench.

FeelTech 6600 - Issues List

Well,

Following on from my musings last time about this FeelTech Signal Generator I purchased from Amazon, I've created a video to demonstrate some of the issues I have been seeing.

There are quite a few of the issues captured in the video, but other ADDITIONAL issues I have seen but couldn't reproduce during the video are:

  1. DC offset on Channel 1 (video demonstrates this issue on Channel 2 only)
  2. Channel 1 and Channel 2 incorrectly out of phase 
  3. Both Channel 1 and Channel 2 failing to start (reproduced by both channels set to 10MHz and 0.5V then soft power cycle)
The issues documented in the video include:
  1. Channel 2 fails to start on soft power cycle
  2. Channel 1 and 2 amplitude issues
  3. Issues around 0.5V amplitude
  4. DC offset on Channel 2 (even during soft power off)
The firmware in my version is 3.2 which I understand to be the latest at the time of writing.

My conclusion? It's a piece of junk.

I'd be interested to learn if anyone else can reproduce these issues as it might be that this is some firmware but also I suspect crappy Chinese relays may be part of the problem.



My lovely Florrie Cat takes all credit for the production of the above video:


Local conditions.

Thursday, 28 December 2017

FeelTech 6600 - Another one - Really?

Well,

** UPDATE ** Since creating this post I have done a separate blog entry documenting the issues I have found with the unit here.

Following my recent musings on the FeelTech 3200 eBay sourced Function Generator here, I bought myself a model 6600 from Amazon.

Now, this one has a more fancy screen and has a spec claiming a 60MHz output on the sine wave function. The manual for the instrument clearly states that the outputs are 50 ohm, so I have connected the device to my 'scope using a 50 ohm transmission line and terminated it at 50 ohms.

My first observation is that the "Amplitude" setting on the generator has little or no resemblance to the output voltage measured into 50 ohms by the 'scope. The second observation is that there is some weird DC offset in the signal.

Here is the first example, 10 MHz signal at an amplitude setting of 2.0V (the manual says this is "default" peak to peak - I have found no way to change this "default" setting). For all these tests I have only adjusted the digit to the right of the decimal place, as highlighted in the image below:


and here is the resultant waveform:


So you can see in the 'scope image above that the signal is offset -ve DC.

Test 2, same frequency but amplitude now 1.4Vpp:


The signal is now 100% -ve. Test 3, 1Vpp:


Now, all -ve and some! Test 4, 0.6Vpp:


And then finally, at 0.5Vpp Amplitude setting there is a relay "clunk" inside the box and the DC offset becomes as expected:


I've managed to confuse the unit a few times by adjusting the amplitude several decimal places to the right of the point and then sometimes the amplitude seems to get stuck and doesn't change until you get to the 0.5V clunk point. I've also got the unit so that Channel 2 will produce no output - under both of these scenarios a mains power off then on fixes the issue.

The spectrum output of this 10 MHz signal seems quite clean:


And yes, the same poor PSU is in this device as the 3200. In this 6600 I've replaced the 2 prong mains input connector with one of a standard 3 pin variety and connected the earth line to 0V.

So what's that DC offset all about?

** UPDATE ** Since creating this post I have done a separate blog entry documenting the issues I have found with the unit here.

Here's Miss Luna Cat assisting with Satellite Tracking:



Bonkers, egh?

Monday, 25 December 2017

SWR, Transmission Lines and Terminations

Well,

Following a discussion at a local radio club, I have been trying to put together a simple demonstration to illustrate standing waves on transmission lines. Now, this can be quite a complex topic, but here I will try and simplify the problem so we can see what's actually going on. There is a great explanation on Wiki here. W2AEW also has an excellent YouTube channel which covers some of this topic very well.

I am going to assume some prior knowledge about transmission lines, but here are the two basic questions that I often hear:
  1. Why do I need to match my antenna to my coax and transmitter?
  2. What is a good SWR and why does it matter?
Well, in the world of ham radio we match an antenna to a transmission line and a transmitter to minimise reflected waves, let's try and see why reflected waves are a bad thing.

My test setup here comprises a 50 ohm signal generator putting out a 10MHz square wave. We have a short length of 50 ohm coax to a BNC T-Piece and then another length of 50 ohm coax to a BNC connector.

The BNC connector on the end is connected to channel one of my scope (yellow waveforms) and the T-piece is connected to channel 2 of the scope (blue waveforms).



Now, with the 'scope set so that the end of the coax is seeing a 50 ohm load here are the signals that we see on the scope:


The signal at the end of the transmission line (yellow) is much the same as the signal part way along the transmission line (blue). We can even measure the delay from the t-piece part way along my transmission line to the end:


It is clear from the above scope screen that it has taken about 11ns for the signal to move from the T-Piece part way along my transmission line to the end. 

Everything looks exactly as expected because the line is terminated at the design impedence of 50 ohms.

Now, if I change the line termination impedance to be 1M ohm, this is the scope screen now:


Here, two interesting things have happened. Firstly the amplitude of the signal at the end of the line (yellow) has doubled, secondly the signal at the T-piece part way alone the line is very distorted.

Because there is a mismatch (in this example a very bad mismatch), the change in impedance will generate a voltage spike which in turn will create a current flowing in the opposite direction, and that is exactly what we can see.

In the case of the yellow waveform, the signal ariving at the end of the transmission line has started to reflect 100% back down the line, but because we are "looking" right at the end of the line, there is no delay so the two signals simply sum together to double the waveform amplitude.

I've annotated the blue waveform to explain whats happening here:


So here we have at point A the start of the signal traveling from the signal generator to the load, 11 ns later (we measured the time earlier and can see its the same here) we reach point B, at this point the reflected waveform is arriving in the opposite direction on the transmission line and the two sum to make the total amplitude of the waveform. Point C is the end of the outgoing waveform and point D the end of the reflected waveform. This is why we see the two signals adding but slightly out of phase with each other - each step in the waveform is the 11ns we know it takes for the signal to travel from the t-piece in my transmission line to the end (or the same distance but in the other direction).

I can set up the scope to illustrate this kind of thing in another way, and the resultant view looks like this video here:



So in this video you need to imagine that the yellow waveform is travelling from left to right from the transmitter to the antenna. Similarly the blue waveform is the reflected waveform travelling from the antenna back to the transmitter. The purple waveform in the middle is the resultant signal on the transmission line - hopefully it's clear that this wave is "standing" and not moving - hence the name. The standing wave peaks at twice the amplitude of each of the individual signals because it is the sum of the two.

So in this mock-up example all the power from the transmitter is reaching the end of the transmission line and reflecting backwards to go back from whence it came - that's very bad for the RF source.

If we think about the calculation of SWR:


Hopefully, we can see that if the reflected power is the same as the forward power then the SWR is infinite.

If we take a second example whereby the forward waveform amplitude is 1 Vpp and the reflected 0.5 Vpp (50% of the forward voltage), then the forward power is 2.5 mW and the reflected 0.625 mW, then the maths tells us:

that the SWR is 3 : 1.

So before the SWR reaches a value considered "acceptable" we need to have a reflected power equal to 4% or less of the transmitted power as that will deliver an SWR of 1.5:1 or less.

I also hope you can see for the SWR to be 1:1 the reflected power needs to be zero and chasing this ultimate aim is rather pointless.

Good, egh?

Saturday, 23 December 2017

GB3VHF - Loud and Proud

Well,

I've been fiddling a little this morning with my 2M VHF setup; I have been using my TS-990 with a G4DDK transverter along with a DG8 masthead preamp.



It works extremely well; I use this set of "macros" to put the TS-990 into transverter mode and set things the way I like them:

$COMMAND OM0D;$ Mode USB-D
$COMMAND FA00028370000;$ 28MHz VFO Frequency
$COMMAND FB00028375000;$ 28MHz VFO Frequency
$COMMAND XO000116000000;$ offset 116MHz +ve
$COMMAND XV1;$ transvert on
$COMMAND AN00911;$ DRV on and RX ANT On
$COMMAND PA00;$ main preamp off
$COMMAND PA10;$ sub preamp off
$COMMAND EQT00;$ TX Equaliser off
$COMMAND EQR000;$ RX Equaliser off
$COMMAND BS01;$ Scope on
$COMMAND PC200;$ Power control to 10 (70W in non transvert mode)
$COMMAND BSC020;$ Scope Ref -10dB

And just for completeness:


Good egh?

Friday, 15 December 2017

FeelTech - Really?

Well,

I bought myself a "FeelTech FY3200S" of eBay; this is a Chinese manufactured Arbitary Function Signal Generator/Counter that claims an output up to 24 MHz.

Now, the unit seems to work to spec and for the money it represents excellent value. The microprocessor and DDS board are good but there is a problem..... I can measure 97+V AC between the ground terminal of the output connectors and my mains earth - ouch!

This is because there is a very cheap SMPS inside with loads of leakage:


So, in the spirit of homebrew I have constructed a simple linear PSU:


I've gone to town a little on the heatsync, but you cant over do such a thing and the dissipation in the 5V regulator will be quite high. I am feeding the circuit above with a 1A rated 12-0-12 standard transformer:


As you can see there was loads of space in the case, I've mounted the three regulators on the heatsync and then attached that to the base of the case. The bolts securing the devices are countersunk on the underside of the lump of metal.


One thing I learned is that the 7912 -12V regulator seems to need a small load for it to regulate properly, hence I have added a 20mA drain on each rail in the form of an LED. More to add a small load than to provide an indication of function. I haven't located the LEDs on the front panel, they will stay buried inside the box.

Seems to work well:


I will probably now also add isolation between the USB port and the main board as currently when I connect my PC I am grounding the 0V lines of the generator; might be useful at some point to keep them floating and completely isolated from mains earth.

Good, egh?

Saturday, 2 December 2017

The Ultimate 3 (Again)

Well,

You may remember back here that I showed you an Ultimate 3 kit.

Mikael, SA6BSS was kind enough to get intouch and let me know that my QRSS beacon was outside of the QRSS band!


So now I have RTFM and actually calibrated the unit properly, here's my QRSS signal on 30M viewed on his Grabber today:


I think I've fixed it now!

Thursday, 16 November 2017

Another PSU!

Well,

I've been fiddling today and have made myself another bench PSU.

I was looking for a 28V supply the other day, so I've knocked up something to give me a 28V, 12V and variable output.

The 28V line is a simple LM317 - there are plenty of calculators for that voltage regulator on line.

The 12V line is simply a 7812 regulator, I think I need to add a big heatsync through because the power dissipation at 500 mA will be 22 - 12 = 10V * 0.5 = 5W so its going to run quite hot.

The variable supply gives an adjustable output between about 2.5V and 15V; it's based on my favorite the old lm723:


The first pass transistor is a BD139 and then the main one is a TIP3055.

The current limiting is dictated by the voltage between pins 2 and 3 so we have a 0.1R resistor there on the main high current path, the voltage difference needs to be 0.6V to initiate the current limit so using ohms law we can easily calculate that the current limiting will happen at 0.6V/0.1R = 6A.

There's a really nice toroidal transformer which will deliver plenty of current.

It's all a bit of a bodge:


The case looks OK:



It's not bad for a few hours work. The bench looks like a bomb has hit it:


good, egh?

Friday, 10 November 2017

A bit more top band

Well,

Following the antenna I originally made here and then replaced here, I've been fiddling with the earthing arrangement for the system.

I've added some counterpoise wires which I have stapled to the fence and various other bits and bobs in the garden.

I've then made an artificial earth/counterpoise tuner thingamabob, much like this thing back here, and mounted it at the base of the antenna between the earth rods and the radials:



And then adjusted the capacitor for maximum smoke on top band when TXing.

There's quite a lot of current flowing, what improvement it makes I dont know.

Here's a map of FT8 and CW QSOs I've made on top band since the changes to the antenna:


Chopsey Cat (AKA Git Bastard Cat from Hell) is asleep in the conservatory:


whereas Maggie and Florrie Cat are tucked up in one of the dogs beds:


Local conditions.


Friday, 27 October 2017

GB3ZME - Loud and Proud

Well,

Just been looking around on 13cm and testing a few things.

The beacon at Telford is loud this morning:



Local conditions.

I found an issue with my 13cm Amplifier; I've updated the post here accordingly.

Friday, 20 October 2017

The Ultimate 3

Well,

Quite some time ago, I built myself an Ultimate 3 QRSS/WSPR beacon kit from QRP Labs.

Now this is a fab and groovy kit from the infamous Mr Hans Summers.

The completed kit is currently sat atop of my FT-817 and is configured to send WSPR beacon and a QRSS beacon both on the 30M band.

The output of the unit looks like this:


and is 13.12V peak to peak.

That's a power output of 420.2 mW or 26.3 dBm.


So, I've left this running for 24 hours connected to a simple 30M dipole in the garden, and here's the WSPR map of the resultant reception of my signal:


Never fails to amaze.

And here is my very beautiful Bonnie Dog:


Local conditions.

Thursday, 19 October 2017

Three holes in the ground (well, well, well)

Well,

I just found out, very much by accident, that one of my 'scopes has a built in "Easter Egg" in that you can play Tetris on it!


After power on, press Print/Utility and then hold down function keys 2&3 - voila!

Bonkers.

Friday, 8 September 2017

The Art of Rotator Control

Well,

I decided that there had to be an easy way to computer control my antenna rotators. I already have this on the Satellite antennas in Azimuth and Elevation, but not the "normal" antennas I have here for HF & VHF.

I looked on the big bad internet and found that Yaesu make a rotator interface for the G-1000 rotators that I have, but they are a simply staggering price.

So, there had to be a way....

The first thing I did was connect to the interface socket on the back of the rotator and figure out which pin did what. We have a voltage output that represents the heading, which plotted like this:


Using simple bit of maths we can then create an equation to calculate the voltage at any heading (to save me having to keep moving the antennas back and forth):


There are also two pins on the interface connector that you ground to turn the rotor left and right. There's also a fourth pin you can use to set the rotator speed.

I then figured that Arduino was certainly the way to go, but then I found this:

https://blog.radioartisan.com/yaesu-rotator-computer-serial-interface/

Now, this interface does all I want and a million things more, it's been written in a way that allows you to configure the bits you want and exclude the bits you don't.

To get this to work with my G-1000 series rotator, I configured the following:

#define AZIMUTH_STARTING_POINT_DEFAULT 0

in the rotator_settings.h file; that's about it!

That setting defines the rotator as one that turns around 0 degrees (rather than 180 being the end stop).

Once I had done that and defined the pins (I just used the defaults) and also defined Digital pin 10 as the speed output:

#define azimuth_speed_voltage 10

in the rotator_pins.h file

I compiled the code for a Arduino Nano with an ATMega328 processor (because that is what I had lying around).

I then built the simple interface needed:


Now, the next step was to calibrate the software. Instead of turning the rotator from fully CCW to fully CW (including the 90 degree overlap), I just used the equation I established above to calculate the voltage and set the bench PSU to deliver same.


Then once that was complete, I connected the Arduino board to my Radio Control PC, fought with COM port settings (a favorite hobby of mine) and then configured my logging software to use a rotator controller emulating the Yaesu GS-232B command set.


So now I have this display above, it shows where the antennas are pointing and allows me to click on a heading to send the antennas there. I can also configure the system to auto turn the rotator based on selection of DX spot if I like too.

Neat, egh?

Sunday, 3 September 2017

I'm forever blowing bubbles? No! bulbs!

Well,

I have a couple of Yaesu Rotators here, and the controllers were stacked one on top of the other with a small cardboard box propping up the top controller. The cases are kind of slanty topped and the whole arrangement meant that they both fell to the desk regularly. This in turn ensured that the bulbs illuminating the front scale blew farily soon after purchase.

My local friendly emporium LAM Communications sent me some replacement bulbs some time ago, I just never got round to replacing them - mainly because I couldn't find any instruction on how to do so.

So, here's how to replace the bulbs in a Yaesu Rotatorbamob (or certainly the 1000DXC variety).

Firstly we remove the main external case:



Now, the bulb is clearly part of the main dial thingy on the front, so that had to be removed also (there are 4 screws):



The bulb is under the silver paper I've highlighted below:


So it's just a case of peeling back the tape carefully, and soldering in a new bulb.

I've also made a wooden stand thingy so the controllers stack without the need for cardboard wedges and other jiggery-pokery and hopefully the wont fall over any more:


Local conditions.