RF I/O and Switching Introduction

General

The RXTX Ensemble board with a date of 4/4/10 had a wiring error concerning the point in the circuit where the RX BPF antenna connection is made.
The author got caught by this and reinstalled C27 to the underside of the board (shown in the bottom view of the completd board . Production boards will not have this problem.

Here is a sketch provided courtesy of Bob, G8VOI. On 20 March 2011, supporting the following description:

G8VOI Sketch of Ensemble RXTX Switching

This stage handles the RF input and Output paths, along with the switching from Receive to Transmit. The radio defaults to the RX mode. When a PTT signal is sent down the USB line to the ATTiny 85 in the Local Oscillator stage, that signal is passed through to the radio across the galvanically isolated boundary beteen the digital and analog side of the rig via the optoisolator, U4.

In RX the /PTT line is pulled toward 12 volts which results in Q10 conducting RX signal and Q9 pulling the /OE pins of U10 low to enable the QSD operation.

In TX the /PTT line is pulled low by optoisolator U4 and Q9 and Q10 are not conducting. This results in Q11 conducting and shorting the RX input to ground. It also results in pulling the base of Q3 down, turning it on and generating the S12V supply to the PA on transmit.

This allows the rig to use the path to the antenna jack by RX and TX. As a matter of convenience, we install all of that path in this stage.

This stage includes winding a toroidal transformer and three toroidal coils. The builder needs to be very careful to note the toroid requirements, which are band-specific. Be sure to use the right toroid, as indicated in the Bill of Materials. Check:

  1. The color: "Tnn-2" is red; "Tnn-6" is yellow)
  2. The size: "T25-n" is a 0.25" OD toroid; T30-n" is a 0.30" OD toroid; and "T37-n" is 0.37"

If you have no experience with winding and installing toroidal inductors, you are strongly encouraged to review the WB5RVZ Instructions for Winding and Installing such inductors.

(go directly to build notes)

RF I/O and Switching Schematic

(Resistor testpoints (hairpin, top, or left-hand lead), as physically installed on the board, are marked in the schematic with red dots)

(Click for Full Schematic)
RF I/O and Switchingschematic

(above schematic has clickable areas that can be used for navigation)

(go directly to build notes)

RF I/O and Switching Bill of Materials

Stage Bill of Materials

(resistor images and color codes courtesy of WIlfried, DL5SWB's R-Color Code program)

CheckCountComponentMarkingCategory
31 k 1/4W 1%br-blk-blk-br-br br-blk-blk-br-br1/4W
110 k 1/4W 1%br-blk-blk-r-br br-blk-blk-r-br1/4W
210 ohm 1/4W 1%br-blk-blk-gld-br br-blk-blk-gld-br1/4W
122.1 ohm 1%red-red-brn-gld-brn red-red-brn-gld-brn1/4W
24.99 k 1/4W 1%y-w-w-br-br y-w-w-br-br1/4W
1bnc connector pcb (rt-angle) BNC-RA
15band-specificmisc
10.01 uF(smt) (smt)SMT 1206
30.1 uF(smt) black stripe (smt) black stripeSMT 1206
12N3906 PNP transistor2N3906 2N3906TO-92
3BS170 N-Channel Enhancement Mode FETBS170 BS170TO-92

Band Specific Items for 160m Band

CheckDesignationComponentMarkingCategoryOrientationNotesCircuit
C242200 pF 5%222Ceramic  RF I/O and Switching
C254700 pF 5%472Ceramic  RF I/O and Switching
C262200 pF 5%222Ceramic  RF I/O and Switching
C27390 pF 5%391 391Ceramic  RF I/O and Switching
C395600 pF 5%562Ceramic  RF I/O and Switching
L23.4 uH: 29T #26 on T37-2 (red) (17")red redCoil  RF I/O and Switching
L2coreT37-2 toroid corered redToroid  RF I/O and Switching
L33.4 uH: 29T #26 on T37-2 (red) (17")red redCoil  RF I/O and Switching
L3coreT37-2 toroid corered redToroid  RF I/O and Switching
L418.7 uH: 66T #30 on T30-2 (red) (35")red redCoil  RF I/O and Switching
L4coreT30-2 toroid corered redToroid  RF I/O and Switching
T51.4 uH: 18T/2x9T bifilar #30 on T30-2 (red) 11"red redXfrmr  RF I/O and Switching
T5coreT30-2 toroid corered redToroid  RF I/O and Switching
T64T bifilar #30 on BN-43-2402 (9") xfrmr  RF I/O and Switching
T6coreBN-43-2402 (no markings!)none noneBinocular core  RF I/O and Switching

Band Specific Items for 80, 40m Band

CheckDesignationComponentMarkingCategoryOrientationNotesCircuit
C24470 pF 5%471Ceramic  RF I/O and Switching
C25820 pF 5%821Ceramic  RF I/O and Switching
C26470 pF 5%471Ceramic  RF I/O and Switching
C27560 pF561Ceramic  RF I/O and Switching
C39680 pF 5%681 681Ceramic  RF I/O and Switching
L21.4 uH: 19T #26 on T37-2 (red) 12"red redCoil  RF I/O and Switching
L2coreT37-2 toroid corered redToroid  RF I/O and Switching
L31.4 uH: 19T #26 on T37-2 (red) 12"red redCoil  RF I/O and Switching
L3coreT37-2 toroid corered redToroid  RF I/O and Switching
L41.6 uH: 22T #30 on T25-2 (red) (10")red redCoil  RF I/O and Switching
L4coreT25-2 toroid corered redToroid  RF I/O and Switching
T51.2 uH: 18T/2x9T bifilar #30 on T25-2 (red) 9"red redXfrmr  RF I/O and Switching
T5coreT25-2 toroid corered redToroid  RF I/O and Switching
T64T bifilar #30 on BN-43-2402 (9") xfrmr  RF I/O and Switching
T6coreBN-43-2402 (no markings!)none noneBinocular core  RF I/O and Switching

Band Specific Items for 40, 30, 20m Band

CheckDesignationComponentMarkingCategoryOrientationNotesCircuit
C24220 pF 5%221 221Ceramic  RF I/O and Switching
C25470 pF 5%471Ceramic  RF I/O and Switching
C26220 pF 5%221 221Ceramic  RF I/O and Switching
C27330 pF 5%331 331Ceramic  RF I/O and Switching
C39470 pF 5%471Ceramic  RF I/O and Switching
L20.8 uH: 16T #26 on T37-6 (yellow) (11")yellow yellowCoil  RF I/O and Switching
L2coreT37-6 toroid coreyellow yellowToroid  RF I/O and Switching
L30.8 uH: 16T #26 on T37-6 (yellow) (11")yellow yellowCoil  RF I/O and Switching
L3coreT37-6 toroid coreyellow yellowToroid  RF I/O and Switching
L40.9uH 18T #30 on T25-6(yellow) (10")yellow yellowCoil  RF I/O and Switching
L4coreT25-6 toroid coreyellow yellowToroid  RF I/O and Switching
T50.69 uH: 16T/2x8T bifilar #30 on T25-6 (yellow) 9"yellow yellowXfrmr  RF I/O and Switching
T5coreT25-6 toroid coreyellow yellowToroid  RF I/O and Switching
T64T bifilar #30 on BN-61-2402 (9") xfrmr  RF I/O and Switching
T6coreBN-61-2402 (no Markings!)none noneBinocular core  RF I/O and Switching

Band Specific Items for 30, 20, 17m Band

CheckDesignationComponentMarkingCategoryOrientationNotesCircuit
C24150 pF 5%151 (may be blue or tan) 151 (may be blue or tan)Ceramic  RF I/O and Switching
C25330 pF 5%331 331Ceramic  RF I/O and Switching
C26150 pF 5%151 (may be blue or tan) 151 (may be blue or tan)Ceramic  RF I/O and Switching
C27180 pF 5%181 181Ceramic  RF I/O and Switching
C39220 pF 5%221 221Ceramic  RF I/O and Switching
L20.6 uH: 14T #26 on T37-6 (yellow) (10")yellow yellowCoil  RF I/O and Switching
L2coreT37-6 toroid coreyellow yellowToroid  RF I/O and Switching
L30.6 uH: 14T #26 on T37-6 (yellow) (10")yellow yellowCoil  RF I/O and Switching
L3coreT37-6 toroid coreyellow yellowToroid  RF I/O and Switching
L40.78 uH 17T #30 on T25-6 (yellow) (8")yellow yellowCoil  RF I/O and Switching
L4coreT25-6 toroid coreyellow yellowToroid  RF I/O and Switching
T50.6 uH: 14T/2x7T bifilar #30 on T25-6 (yellow) 8"yellow yellowXfrmr  RF I/O and Switching
T5coreT25-6 toroid coreyellow yellowToroid  RF I/O and Switching
T64T bifilar #30 on BN-61-2402 (9") xfrmr  RF I/O and Switching
T6coreBN-61-2402 (no Markings!)none noneBinocular core  RF I/O and Switching

Band Specific Items for 15, 12, 10m Band

CheckDesignationComponentMarkingCategoryOrientationNotesCircuit
C24100 pF 5%101 101Ceramic  RF I/O and Switching
C25180 pF 5%181 181Ceramic  RF I/O and Switching
C26100 pF 5%101 101Ceramic  RF I/O and Switching
C2782 pF82J 82JCeramic  RF I/O and Switching
C39330 pF 5%331 331Ceramic  RF I/O and Switching
L20.36 uH: 11T #26 (9") on T37-6 (yellow)yellow yellowCoil  RF I/O and Switching
L2coreT37-6 toroid coreyellow yellowToroid  RF I/O and Switching
L30.36 uH: 11T #26 (9") on T37-6 (yellow)yellow yellowCoil  RF I/O and Switching
L3coreT37-6 toroid coreyellow yellowToroid  RF I/O and Switching
L40.53 uH 14T #30 on T25-6 (10")yellow yellowCoil  RF I/O and Switching
L4coreT25-6 toroid coreyellow yellowToroid  RF I/O and Switching
T50.13 uH: 7T/2x4T bifilar #30 on T25-6 (yellow) 5"yellow yellowXfrmr  RF I/O and Switching
T5coreT25-6 toroid coreyellow yellowToroid  RF I/O and Switching
T64T bifilar #30 on BN-61-2402 (9") xfrmr  RF I/O and Switching
T6coreBN-61-2402 (no Markings!)none noneBinocular core  RF I/O and Switching

RF I/O and Switching Summary Build Notes

RF I/O and Switching Detailed Build Notes

Bottom of the Board

RF I/O and Switching Bottom View

Install SMT Capacitors

CheckDesignationComponentMarkingCategoryOrientationNotes
C700.01 uF(smt) (smt)SMT 1206 
C650.1 uF(smt) black stripe (smt) black stripeSMT 1206 
C690.1 uF(smt) black stripe (smt) black stripeSMT 1206 
C720.1 uF(smt) black stripe (smt) black stripeSMT 1206 

Top of the Board

RF I/O and Switching Top View

Wind and Install Coils

Wind and install each of the three coils. Recall that any pass of the wire through the toroid's core counts as ONE turn. Refer to the WB5RVZ coil winding instructions for details on how to wind and prepare/install single-winding coils.

Once you have installed the the coils (L2 and L3 and L4), you can test your soldering by checking the continuity of the winding for each coil as follows (using points on traces connecting the coils to other components - these tests are most easily done PRIOR to installing the remaining components in this stage):

CoilFirst PointSecond Point
L2C27(top)C25 (right)
L3C25 (right)C26 (bottom)
L4Top C27 (leftmost hole)C39 (top) (note Power must be on and transistors installed.)

Note: L4 is switched on. You will need to power the board and let the switching transistors provide continuity on the path to/through L4.

Wind and Install Coils photo
CheckDesignationComponentMarkingCategoryOrientationNotes
L2band-specific
BandComponentMarking
160m3.4 uH: 29T #26 on T37-2 (red) (17") (Coil)red
80, 40m1.4 uH: 19T #26 on T37-2 (red) 12" (Coil)red
40, 30, 20m0.8 uH: 16T #26 on T37-6 (yellow) (11") (Coil)yellow
30, 20, 17m0.6 uH: 14T #26 on T37-6 (yellow) (10") (Coil)yellow
15, 12, 10m0.36 uH: 11T #26 (9") on T37-6 (yellow) (Coil)yellow
misc 
L2coreband-specific misc 
L3band-specific
BandComponentMarking
160m3.4 uH: 29T #26 on T37-2 (red) (17") (Coil)red
80, 40m1.4 uH: 19T #26 on T37-2 (red) 12" (Coil)red
40, 30, 20m0.8 uH: 16T #26 on T37-6 (yellow) (11") (Coil)yellow
30, 20, 17m0.6 uH: 14T #26 on T37-6 (yellow) (10") (Coil)yellow
15, 12, 10m0.36 uH: 11T #26 (9") on T37-6 (yellow) (Coil)yellow
misc 
L3coreband-specific misc 
L4band-specific
BandComponentMarking
160m18.7 uH: 66T #30 on T30-2 (red) (35") (Coil)red
80, 40m1.6 uH: 22T #30 on T25-2 (red) (10") (Coil)red
40, 30, 20m0.9uH 18T #30 on T25-6(yellow) (10") (Coil)yellow
30, 20, 17m0.78 uH 17T #30 on T25-6 (yellow) (8") (Coil)yellow
15, 12, 10m0.53 uH 14T #30 on T25-6 (10") (Coil)yellow
misc 
L4coreband-specific misc 

Wind and Install Transformers

Wind and install toroidal transformers T5 and T6. See the WB5RVZ Instructions for Toroidal Transformers for important, detailed instructions on how to wind and install toroidal transformers..

After installing the transformers, you should check the primary and secondary windings for continuity with your ohmmeter, using the following testpoints connected via traces to the windings (these tests are easier done prior to installing the remaining components in this stage):

CoilFirst PointSecond Point
T5 PrimaryC39 (left)C39 (right)
T5 SecondariesR53 (right)R54 (bottom)
T6 SecondaryC26 (bottom)C26 (top)
T6 PrimaryCenter conductor of J6Shield side of J6

If you are unfamiliar with winding and installing inductors, you may want to refer to the WB5RVZ construction hints for coils (toroidal) and transformers ( toroidal and binocular). Click here for details on identifying toroid cores.

Decoding the trqansformer specifications:

Transformers' windings are specified using the pattern "nnT/wXmmT" or "wXmmT/nnT", where:

  • "nn" is the number of turns in the single winding
  • "mm" is the number of turns in the multiple windings
  • "w" = the number of multiple windings (e.g., 2 = bifilar; 3 = trifilar, etc.)

Thus, e.g., "18T/2x9T bifilar #30" means, using #30 wire, produce a single 18 turn primary winding and two 9-turn secondary windings; "2x9T bifilar/ 18T #30" means, using #30 wire, produce two 9-turn primary windings and a single 18 turn secondary winding.

Wind and Install Transformers photo
CheckDesignationComponentMarkingCategoryOrientationNotes
T5band-specific
BandComponentMarking
160m1.4 uH: 18T/2x9T bifilar #30 on T30-2 (red) 11" (Xfrmr)red
80, 40m1.2 uH: 18T/2x9T bifilar #30 on T25-2 (red) 9" (Xfrmr)red
40, 30, 20m0.69 uH: 16T/2x8T bifilar #30 on T25-6 (yellow) 9" (Xfrmr)yellow
30, 20, 17m0.6 uH: 14T/2x7T bifilar #30 on T25-6 (yellow) 8" (Xfrmr)yellow
15, 12, 10m0.13 uH: 7T/2x4T bifilar #30 on T25-6 (yellow) 5" (Xfrmr)yellow
misc 
T5coreband-specific misc 
T6band-specific
BandComponentMarking
160m4T bifilar #30 on BN-43-2402 (9") (xfrmr)
80, 40m4T bifilar #30 on BN-43-2402 (9") (xfrmr)
40, 30, 20m4T bifilar #30 on BN-61-2402 (9") (xfrmr)
30, 20, 17m4T bifilar #30 on BN-61-2402 (9") (xfrmr)
15, 12, 10m4T bifilar #30 on BN-61-2402 (9") (xfrmr)
misc 
T6coreband-specific misc 

Install Topside Transistors

Install Topside Transistors photo
CheckDesignationComponentMarkingCategoryOrientationNotes
Q032N3906 PNP transistor2N3906 2N3906TO-92 
Q09BS170 N-Channel Enhancement Mode FETBS170 BS170TO-92 
Q10BS170 N-Channel Enhancement Mode FETBS170 BS170TO-92 
Q11BS170 N-Channel Enhancement Mode FETBS170 BS170TO-92 

Install Band-Specific Capacitors

Install Band-Specific Capacitors photo
CheckDesignationComponentMarkingCategoryOrientationNotes
C24band-specific
BandComponentMarking
160m2200 pF 5% (Ceramic)222
80, 40m470 pF 5% (Ceramic)471
40, 30, 20m220 pF 5% (Ceramic)221
30, 20, 17m150 pF 5% (Ceramic)151 (may be blue or tan)
15, 12, 10m100 pF 5% (Ceramic)101
misc 
C25band-specific
BandComponentMarking
160m4700 pF 5% (Ceramic)472
80, 40m820 pF 5% (Ceramic)821
40, 30, 20m470 pF 5% (Ceramic)471
30, 20, 17m330 pF 5% (Ceramic)331
15, 12, 10m180 pF 5% (Ceramic)181
misc 
C26band-specific
BandComponentMarking
160m2200 pF 5% (Ceramic)222
80, 40m470 pF 5% (Ceramic)471
40, 30, 20m220 pF 5% (Ceramic)221
30, 20, 17m150 pF 5% (Ceramic)151 (may be blue or tan)
15, 12, 10m100 pF 5% (Ceramic)101
misc 
C27band-specific
BandComponentMarking
160m390 pF 5% (Ceramic)391
80, 40m560 pF (Ceramic)561
40, 30, 20m330 pF 5% (Ceramic)331
30, 20, 17m180 pF 5% (Ceramic)181
15, 12, 10m82 pF (Ceramic)82J
misc 
C39band-specific
BandComponentMarking
160m5600 pF 5% (Ceramic)562
80, 40m680 pF 5% (Ceramic)681
40, 30, 20m470 pF 5% (Ceramic)471
30, 20, 17m220 pF 5% (Ceramic)221
15, 12, 10m330 pF 5% (Ceramic)331
misc 

Install Topside Resistors

Install Topside Resistors photo
CheckDesignationComponentMarkingCategoryOrientationNotes
R5310 ohm 1/4W 1%br-blk-blk-gld-br br-blk-blk-gld-br1/4Wflat-horiz
R5410 ohm 1/4W 1%br-blk-blk-gld-br br-blk-blk-gld-br1/4WS-N
R3722.1 ohm 1%red-red-brn-gld-brn red-red-brn-gld-brn1/4WW-E
R361 k 1/4W 1%br-blk-blk-br-br br-blk-blk-br-br1/4WW-E
R611 k 1/4W 1%br-blk-blk-br-br br-blk-blk-br-br1/4WW-E
R621 k 1/4W 1%br-blk-blk-br-br br-blk-blk-br-br1/4WW-E
R344.99 k 1/4W 1%y-w-w-br-br y-w-w-br-br1/4WW-E
R514.99 k 1/4W 1%y-w-w-br-br y-w-w-br-br1/4WN-S
R6310 k 1/4W 1%br-blk-blk-r-br br-blk-blk-r-br1/4WW-E

Install BNC Connector

CheckDesignationComponentMarkingCategoryOrientationNotes
J6bnc connector pcb (rt-angle) BNC-RA 

RF I/O and Switching Completed Stage

Author inadvertently left R53 and R54 out of the completed board in this phase. Those components should actually be installed in this phase.

Also, there is a "patch" shown on the bottom view necessitated by the fact that the author's board was a prototype and had incorrect mounting for C27. This should not bother builders using the production boards.

Top of the Board

View of Completed Top

Bottom of the Board

View of Completed Bottom

RF I/O and Switching Testing

Current Draw

Test Setup

Power up the board and check the current draw

Test Measurements

TestpointUnitsNominal ValueAuthor'sYours
Current drawmA<2016.1_______

Voltage Divider Test

Test Setup

R61 and R62 form a voltage divider off of the 5 volt rail.

The output of that voltage divider go to the secondary windings of T5 to Resistors R53 and R54

Apply 12V power to the board and measure the voltage at the hairpin lead of R62.

Test Measurements

TestpointUnitsNominal ValueAuthor'sYours
R62 hairpin lead (wrt regular ground) (with V+ = 12.7V)Vdc2.52.48_______
R53 left lead (wrt regular ground)Vdc2.5tbd_______
R54 hairpin lead (wrt regular ground)Vdc2.5tbd_______

RF Switching Testing

Test Setup

Voltages are measured WRT (regular) ground (R50 hairpin)

Test the PTT switching from the default RX/QSD enabled to the switched TX/QSE enabled.

Requires USB connected and 13V power applied to the board.

Test for default (RX) and then use SDR Software to activate PTT and test for QSD disabled OFF.

U4 Pinouts(As an alternative to using the SDR Software to activate PTT, you can use a cliplead to ground the top left-hand lead of U4, activating PTT.)

Enabling PTT also should pull the base of Q3 down, turning it on and generating the S12V supply to the PA on transmit.

Bob, G8VOI, has provided a nice little trouble-shooting schematic to aid for those who may experience problems with this stage.

RF Switching Testing

Test Measurements

TestpointUnitsNominal ValueAuthor'sYours
Default (RX Activated): Point AVdcHigh (9 - 12 Vdc)9.86_______
Default (RX Activated): Point B (R63 hairpin)VdcLow (~ 0)0_______
PTT Activated: Point AVdcLow (~ 0)0_______
PTT Activated: Point BVdcHigh (~ 5)4.95_______

RF Path Testing

Test Setup

There are two approaches to testing the RF Path. One involves testing for continuity through the switching transistors. This approach calls for testing continuity with the board powered up, something which some are understanably uncomfortable doing. As Bob, G8VOI puts it:

"Personally that is one particular test which I have severe reservations about, and think it might well contribute to a number of the failures of FETs that some people have experienced in that area.
I suspect it might depend on the terminal voltage of the meter being used, polarity, or simply slipping and shorting to something else.
I think it is sufficient just to measure the voltage on the junction of R51 / R50, i.e the gate of Q10 when the PTT is active, should be around 8V which will turn Q10 on.
Most people have successfully carried out that test as described in Robby's notes without any ill effects, but there have also been a number of unexplained failures of Q10 and Q9.
I could be totally wrong of course :)

The other approach is, as Bob suggests, simply testing that Q10 is getting the proper voltage to switch it ON.

Which approach is selected is up to the builder.

Continuity Test Under PowerApproach

Using your ohmmeter, test for continuity along the RF path for the RX. The path can be tested between C27 (bottom pin - point A) and regular ground (hiarpin lead of R50).

.

You must have the USB powered up and the board's 12V power applied to test the path from C27 (point A) through to the other (ground) end of T5 (ground, point B).

Note: the testpoint "A", shown on the graphic, MUST be POSITIVE with respect to test point "B" in order to correctly assess the continuity from A to B. Normally, the positive lead will be the red lead of your ohmmeter. If you get an OPEN reading, try reversing the leads of your ohmmeter..

Q10 Voltage Approach

With power applied (USB and regular 12V), measure the voltage at the junction of R51 and R50 (hairpin of R51). It should be approximately 8V

Additional Voltage Tests

For a more thorough test of the voltages for switching for RX and/or TX, refer to this page courtesy of Bob, G8VOI.

RF Path Testing

Test Measurements

TestpointUnitsNominal ValueAuthor'sYours
Continuity from Point A to Point Bohm00_______
Hairpin of R51 (Q10 switching voltageVdc~88.04_______
/PTT from Attiny85+U4, in Local Oscillator Stage Go to RX Mixers (QSD) Stage Go to the RX Opamps and Outputs Stage Go to the Power Supply Stage Go to Driver/PA stage From Analog Power Supply /PTT from Attiny85+U4, in Local Oscillator Stage S12V to activate QSE S12 to control Driver/PA Stage T5 Center Tap 2.5V reference (to RX OpAmp) RF (and QSD-EN) to QSD (Mixer) Stage External 50 ohm Antenna Connector