![]() |
Figure 1: Front panel of the SDR switch showing the 3.5mm audio connectors and the red/green RX/TX LED - which have been swapped to be in their proper location. Click on the image for a larger version. |
IMPORTANT:
If you have one of these devices, DO NOT connect it to your transceiver and second (SDR) receiver UNTIL you have read and understood the issues described here.
Failure to understand how this device works may result in your blowing up your SDR when you transmit!
I've you've been following this blog, you'll note that I've used SDRs (Software Defined Radios) quite a bit - particularly for reception. Transmitting in the vicinity of any receiver - or trying to use an outboard receiver in conjunction with a transmitter on the same antenna - is a bit problematic for several reasons:
- If the transmitter and receiver are in close proximity and on very nearby frequencies (e.g. on the same band) then it is (nearly) inevitable that the receiver WILL be overloaded when the transmitter is active.
- Unless the frequencies (transmit and receive) are very well separated AND both the receiver and transmitter have adequate filtering, the receiver will be overloaded by the transmitter.
- It is possible that even if you have a separate receive antenna, it may intercept enough energy from the transmitter to damage/destroy the receiver. If the two are on the same band, this is more likely - but even if the receiver is being operated on a very different frequency range than the nearby transmitter and there is unsufficient filtering at the receiver the receiver could sustain damage.
- It is often the case that one might have a single antenna on which two receivers (e.g. the receiver built into the transceiver and an outboard SDR receiver). In this case one clearly must protect (e.g. disconnect) the outboard receiver when transmitting.
It's worth noting that most SDR receivers do NOT have particularly strong filtering in them: Unlike an amateur transceiver - which may have separate filtering for each amateur band - this is rarely the case for wide frequency-range software-defined radios: RTL-SDRs, SDRPlay, Funcube and others have either limited or rather broad filtering in them.
What this unit does
Some modern radios actually have external receive ports on them to allow you to "share" the RF while protecting the external receiver. If your radio doesn't have that, there are/were several devices to allow this that may be found on the market (e.g. the MFJ-1708)- but by attention was brought to an inexpensive unit (pictured above) that has appeared on the various seller web sites (Amazon, EvilBay, Ali Express, etc.) so I obtained one via a U.S. seller.
The description of this device is typical of those found
on at the stores of Chinese sellers, curiously being both under and
over-descriptive at the same time: "160MHz 100W Portable SDR Transceivers Aluminum Alloy Box Device Radio Switch Antenna Sharer Practical Signal Equipment Accessory"
By the description, with this device it should be possible to connect your transceiver and SDR (receiver) to the same antenna, perhaps receiving using both (e.g. the addition of a waterfall to an older radio) without fear of damaging the SDR or the transceiver.
This device also has another feature: To re-route audio when transmitting - which is probably the most usable feature of this device as it comes out of the box as we'll see.
As we'll see, this device doesn't quite work as you might think that it should.
"Documentation? What documentation?!"
This unit arrived in a package with (surprise!) no documentation at all - which was somewhat disappointing: Sometimes one gets a (badly!) translated half-sheet of paper that hurts one's brain to parse - or even a URL to a page with... something... but not the case here.
From a practical standpoint, it's somewhat "self documenting" in the sense that if you ordered this device in the first place, you already had an idea as to what it was supposed to do, so it's possible to figure things out. Referring to Figures 1 and 2 (the front and back panels) we have:
Front panel:
- LED on the left-hand side. This LED is illuminated when the unit is in "Receive" mode - that is, the "SDR" rear-panel RF connector is connected to the "ANT" rear-panel connector. (The PC board shows this as a green LED, but on mine the red and green were interchanged during assembly: I swapped them back.)
- 3.5mm jack labeled "SDR". This is a stereo (2-channel) audio jack and, during receive, both channels are connected to the "Audio Out" connector. It is disconnected during transmit.
- 3.5mm jack labeled "AUDIO OUT". This is a stereo (2-channel) audio jack that is intended to be connected to speakers.
- 3.5mm jack labeled "TRX". This is a stereo (2-channel) audio jack that is intended to be connected to the transceiver during transmit. Is is disconnected during receive.
- LED on the right-hand side. This LED is illuminated when the unit is in "Transmit" mode - that is, the "TRX" RF rear-panel connector is connected to the "ANT" rear-panel connector. (As noted, this should have been a red LED according to the marking on the PC board but mine was populated with a green LED, which I swapped.)
Rear panel:
- RADIO connector. This is an SO-239 female connector to which the transmitter/transceiver is to be connected.
- ANTENNA connector. This is an SO-239 (female) connector to which the antenna is to be connected.
- PTT connector. This is a 3.5mm connector in which the center pin, when grounded, will switch the unit from "Receive" to "Transmit" mode.
- SDR connector. This is an SMA connector to which the SDR (or other auxiliary receiver) is to be connected.
- 13.8 VDC connector. This is a 2.1x5.5mm coaxial power connector (center positive) though which DC power is supplied. This voltage is not critical and could be anywhere from 11.5 through 15 volts.
Also in the box my unit came with an SMA-SMA jumper, SMA-BNC adapter, three 3.5mm "audio" cables, a 12 volt switching supply (with a European "pin" plug) and a universal plug adapter: The 12 volt switching supply seems to be the cheapest, meanest possible unit with no brand name and should NOT be trusted or used - but at least its DC cord is useful! (In other words, do not use this power supply - particularly as it is unfiltered from an RF standpoint and it would be a really bad idea to use it on an RF receive device of any type!)
How it actually works
As you would expect, the antenna is to be connected to the "ANTENNA" port. When in receive mode, the "SDR" connector is also connected to the "ANTENNA" port - but the "RADIO" port is not!
What this means is that as shipped from the factory, if you connect your transceiver, antenna and SDR to the unit, when it's in receive mode, you will get no receive signals on your transceiver. This is by design, apparently.
It is expected that PTT connection on the back should be grounded when the transceiver is in transmit mode - and when this happens, the RADIO and ANTENNA ports will be connected to each other. There is also an RF sensing circuit that is supposed to detect when the transmitter is producing RF, but this has its own issues as will be discussed later.
There is a jumper...
If you take the unit apart (via the four screws on the back panel) you'll see a jumper (J5 - see the schematic of Figure 3 and the photo of the board in Figure 4) and some awkwardly-worded text indicating that if you remove the jumper that you'll have "dual receive" - which means that the Radio's receiver and the SDR will be connected to the antenna at the same time.
This is technically true - but there are a number of "gotchas" here
First, let's take a look at a reverse-engineered schematic of the unit, below:
![]() |
Figure 3: Reverse-engineered schematic diagram of the unit. The parts designators are those shown on the silkscreen of the circuit board. Click on the image for a larger version. |
Circuit description:
DC power
The DC input power via J4 is protected with F1, a 500mA self-resetting fuse and D10, a diode for reverse polarity protection while L2, a 220uH inductor, isolates the connection at RF. Capacitors C6 bypasses RF while C7, a 220uF electrolytic, provides smoothing/filtering - likely enough to even allow an AC power source (from a 12-ish volt transformer) to be used.
It's worth noting that there are two "grounds" on this device: The "antenna ground" of the rear panel and RF connectors and the "shack ground" of the DC power and audio which are isolated by L1, a 220uH inductor. On paper, this isn't a bad idea - but on this unit there's a flaw:
The back panel being used to mount the connectors and it - and the entire case - is at "RF" ground - which would be fine as that would be the same "ground" as your radio. The problem is that the circuit board's ground planes are not set back from the edges of the board meaning that it's possible that the green insulating coating could scrape off the board and contact the case it the mounting slot, connecting the two "grounds" together - perhaps intermittently. (Practically speaking, most people would not be likely to ever have a problem.)
Oops.
Keying
J6 is the PTT input, activated by grounding the tip of the 3.5mm connection with the outermost sleeve being the "shack" (not antenna) ground. Diode D6 blocks positive voltage and when the PTT is keyed, the gate of Q3, an N-channel MOSFET, goes low, de-energizing all of the relays. When the PTT line is "un-grounded" capacitor C3 and R9 charge, preventing Q3 from re-activating the relays instantly, providing about 100msec or so of delay through the charging by R3.
Comments about the keying via the PTT port:
This relay keying scheme assumes that there is either NO voltage or a POSITIVE voltage on the keying line from the radio. There are several caveats to this:
- When powered up, the relays are energized. What this means is that if power is removed, it's as if it's in "transmit" mode.
- This connects the ANT to the RADIO port and the SDR port is grounded.
- Additionally, the front-panel AUDIO jack gets connected to the TRX jack.
- The keying line from the radio must go to GROUND when keyed.
- If the keying line is shared with an amplifier, that amplifier CANNOT put a negative voltage on the keying line as that will hold the SDR switch in "Transmit" mode at best, damage the SDR switch in worst case - and in either case it would hold the amplifier in a "keyed" state.
- If there IS a positive voltage on the keying line when "unkeyed" it must be at least 5 volts just to assure that Q3 will turn on reliably when the radio is un-keyed. If the voltage is less than 10 volts, the full delay caused by C3 and R3 will not occur.
- The 100msec or so of "unkey"delay afforded by R3 and C3 is insufficient to prevent the relays from "chattering" during SSB and CW transmissions if RF sensing is used!
- If you are a CW operator, the unit will not switch back to receive mode as quickly as your radio might. If you are a CW operator that prefers QSK (full break-in) you probably don't want to have this unit inline.
There is also an RF keying circuit: Transmit RF is tapped from the RADIO RF line (from the transmitter) by C1, a 47pF capacitor and rectified by D1 and D2 and used to turn on Q1 - grounding it in the same way that grounding the PTT line does - which in turn keys the transmitter. There is a fatal flaw in the design of this device exacerbated by RF sensing which I will discuss shortly.
Audio switching
![]() |
Figure 4: The circuit board, showing J5 in the center. The power supply filtering is in the upper-right with the audio relay (K3) on the left. Click on the image for a larger version. |
Relay K3 may be used to switch audio based on keying. Let's assume that you are using a separate SDR with a computer to receive audio: By connecting the computer speakers to the "Audio Out" connector and the computer audio output to the front-panel 3.5mm "SDR" jack the SDR audio will be muted when transmitting at which any audio from the radio connected to the front-panel 3.5mm "TRX" jack will be passed through to the speakers.
Practically speaking, you would probably never use the "TRX" jack to mute your radio's audio, but a more likely scenario is that if you are using an online WebSDR (see the WebSDR.org web site for a list) to listen on the air, you could use this to mute your speakers when you transmit to prevent your own transmitted audio from coming back with a delay and causing an echo.
RF Switching
This is where it gets a bit scary. First, consider the configuration - from the factory - with jumper "J5" in place.
Remembering that when powered up, the relays are energized, you can see that when in "Receive" mode, the ANT port is connected directly to the SDR port - but you'll also note that the RADIO port is not connected to anything (e.g. floating). When you transmit, the relays de-energize, connecting the RADIO port to the antenna and grounding the SDR port. This means two things:
- There is no receive RF at the transceiver. Most people that I know don't use their transceiver's receiver instead of the SDR, but use them at the same time - perhaps turning down the volume on the one not being used. Not having antenna RF to be able to receive anything on the transceiver is likely not what you really want to do.
- When using the RF sensing, the transmitter is connected to an open circuit before the relay switches. This has several implications:
- If you don't have the PTT line wired to your radio, there will be a split second when RF first appears that the radio will see an infinite VSWR. This can progressively damage a transmitter's finals, despite the SWR protection circuitry within the radio.
- When relay K1 does de-energize and connect to the antenna, it will be "hot switching" the relay contacts. This tends to burn contacts and shorten the life of the relay.
- The RF sensing circuit doesn't have adequate "hang time" to ride through word pauses and CW elements meaning that it will likely "chatter", repeatedly causing the hazards noted above.
As can be seen from Figure 4, there's a jumper, J5 on the board with the somewhat confusing text:
Open = Dual receive wheh [sic] RX
Short = Normal Operation
By removing J5, relay K1 is never energized meaning that it is always connected to the antenna: This helps to mitigate the problem that - when RF sensing is used - that the transmitter is connected to "nothing" as it would be the case with J5 installed - but this also means that in receive mode, the transceiver and the SDR are connected in parallel.
Simply paralleling two (nominally) 50 ohm devices (the transceiver operating in receive mode and the SDR) isn't a great idea - but it will generally work "OK", particularly if the SDR and the transceiver are tuned to the same frequency range. When the transceiver is OFF or on a band other than that to which the SDR is tuned may cause its filters to "suck out" RF and a loss of signal/sensitivity on the SDR.
(Note: A "properly-designed" device that shared the antenna for receive would likely include a built-in 2-way splitter which can reduce such problems.)
The bad part here is that if you transmit - and, for some reason relay K2 doesn't de-energize instantly, as would be the case with RF sensing only - you will transmit directly into your SDR, likely destroying its front end.
Oops, again.
What this means is:
- If you remove J5, DO NOT operate the unit UNLESS you are using the PTT cable - which is to say DO NOT rely on RF sensing alone as transmit power will briefly enter the SDR's front end before the relay can switch. The SDR is likely to be damaged due to the lack of RF power protection on that port.
- If your PTT cable accidentally becomes disconnected - or external keying is turned off in your radio's menu - you will transmit into the SDR and destroy its front end due to the inability of the RF sensing to act instantly and due to the lack of protection to the SDR.
The reason for this as as mentioned above: Not only are the transceiver and SDR connected together without any protection circuitry, but also the RF sense needs to detect transmit power before it will activate - and by the time that it does, a brief burst of full transmit power may have found its way into your SDR.
A hardware bug
There is also a more subtle bug that I uncovered. While testing the unit on the bench, I disconnected J5 - but was confused when the ANT and RADIO ports were not connected. What was happening was that when I removed J5 - while the unit was powered up and in receive mode - enough current was flowing through LED D8 and resistor R4 to hold relay K1 closed.
Simply removing the power temporarily caused K1 to release - and there wasn't enough current to close it again, but if you are messing with the configuration, this "bug" could bite you, too! I suppose that it's also possible that jarring the unit could cause the armature of K1 to hold in place - but I didn't try this.
The "fix" for this - if you want to bother with it - is to change resistor R4 to a 10k resistor: This also tones down the TX LED's brightness a bit, too.
Overall comments
I get the sense that whoever designed this thing may have been copying the general idea from other, similar devices - but not really understanding what was being done, and why. For example, the separate "grounds" implies an understanding that having them separated would be a good idea - but whoever laid out the circuit board made the "rookie mistake" of making it possible for the two "grounds" to be connected, anyway.
The description of this unit implies that it's useful up to 160 MHz. I suspect that this is probably true-sh, but that the VSWR starts to climb when one gets to and above 6 meters (50 MHz) meaning that it's likely most useful at low power at these higher frequencies.
The cardinal - and unforgivable - sin has to do with the fact that if you want to use both your transceiver's receiver and your SDR simultaneously, you WILL want to remove J5 - but if you do - and you don't absolutely have the PTT connection working properly, you WILL blow up your SDR!
Fixing this problem is possible with the addition of some simple protection circuitry to allow the SDR to survive brief bursts of transmit power - perhaps the topic of a later post.
AS IT IS, I WOULD NOT USE IT FOR ITS INTENDED PURPOSE, AS AN SDR ANTENNA SWITCH - at least not without significant modification.
What it IS useful for, out of the box
What it IS useful for is an audio switch to mute your computer audio when you transmit - as you might do when using a WebSDR or other remote receiver. For this, I would:
- Connect the PTT to your radio's PTT
- Connect your computer's speakers to the "AUDIO OUT" jack
- Connect your computer audio output to the "SDR" jack
If you are hell-bent on not using the PTT cable, the RF sense may be useful, but you would also need to:
- Remove internal jumper J5
- Connect the transceiver to the "RADIO" port
- Connect the antenna to the "ANTENNA" port
- DO NOT connect anything to the SDR port
As noted before, the time constant of C3 and R3 may not be enough and the relay may "chatter" - in which case R3 could be replaced with a higher-value resistor of, say, 330k - or with a 1 Meg potentiometer in series with a 47k resistor to allow "hang time" adjustment. (Adjustment of R3 is preferable to increasing the value of C3 as the latter could also slow the activation time when RF is detected.)
Final comments
Other than to switch audio as described above, I wouldn't use this device as it is shipped for any other purpose without appropriate modification. This makes this device a possible "starting point" for another project (e.g. there are already some relays and a metal box!) - one to provide proper RF protection for the SDR and make the RF sensing more useful when using modes that have variable power levels (e.g. CW, SSB) which can cause the current design to "chatter".
* * * * * * *
This page stolen from ka7oei.blogspot.com
[END]