All posts by Martin Blustine

I studied physics and went on to work in infrared optics, millimeter wave and microwave engineering until retirement. My interests lie in teaching, music, radio astronomy, infrared systems and microwave and antenna engineering. I enjoy writing technical papers about ham radio topics. When I am not operating CW, I enjoy homebrewing ham gear and restoring vintage HP and Agilent test and measurement equipment.

A 4-Channel Audio Multiplexer That You Can Build

Audio multiplexers can be a useful accessory in any shack, and this one is easy to build for around $30 from readily available parts. All of the parts used in this project were sourced on Amazon.

The MUX described in this article will become part of a homebrew QRP SSB transceiver. The MOSFET MUX switches are borrowed from the webpages[1] of Rick, N3FJZ, but the selection logic is my own. N3FJZ has a large YouTube presence[2], too. Please visit both.

This device has a single input and four outputs. Since the MUX is bidirectional, one of two signals may flow towards the balanced modulator input upon transmit, and the product detector output may flow towards one of two outputs upon receive, i.e., two of the four channels are used for transmit and two of the four channels are used for receive.

The MUX has four modes of operation. Two are available upon receive, and two are available upon transmit. This design is expandable to more channels, but four is the practical limit for the CD4072 OR- gates used. For more channels, a microcontroller like an Arduino, or Raspberry Pi becomes more practical. An intermediate solution might be some sort of programmable logic array (PLA).

My specific application for this multiplexer is described in the sections that follow, but the same circuit may be used, bidirectionally, for small signals in most any audio application.

Upon Receive

1. Normal Discrete Audio Amplifier Path

This path employs a discrete audio amplifier to amplify the output of the SSB product detector which passes through one channel of the MUX. The output is available to a loudspeaker or headphones.

2. Leveled Audio Path

This path employs a dedicated, discrete audio amplifier to amplify the output of the SSB product detector that passes through one channel of the MUX. It supplies audio power to the W2AEW audio leveler circuit[3]. Alan Wolke has an enormous YouTube presence and following, too. His circuit is used to mitigate QSB fades from audio. The leveled output is of the order of 50 mV and must be amplified further. The leveled output is further amplified by the discrete audio amplifier of 1, above, before be being made available to a loudspeaker or headphones.

Upon Transmit

3. Microphone Preamplifier Path

This MUX path routes the output of a discrete microphone preamplifier through the MUX and to the input of the SSB balanced modulator.

4. Microphone Compressor Module Path

This path routes the microphone output to the input of an Analog Devices SSM2167 Low Voltage Microphone Preamplifier with Variable Compression and Noise Gating[4]. The output of the SSM2167 compressor module is routed to the input of the SSB balanced modulator. These modules are readily available on eBay[5] or Amazon[6]. There now appear to be two versions of the module; one with electret microphone bias and one without. The one being used for my application is the one without. Bias for my electret microphone is provided on my PCB. Please check the values of the compression ratio and noise gate resistors prior to using the module. They have been known to be reversed on some earlier versions of the module not having the electret microphone bias feature. My modules, purchased on Amazon, were alright.

How It Works

Referring to the top of the schematic in Figure 1, there are two lines labeled “From Audio Leveler IN/OUT Toggle Switch” and “From Compressor IN/OUT Toggle Switch.”  The former toggle switch, located on the radio front panel, asserts its commands upon receive, while the latter toggle switch, also located on the front panel, asserts its commands upon transmit.

Upon receive, the control panel Audio Leveler Toggle Switch when in its OFF state will call up 1, as described above. When the same switch is in its ON state (grounded), it will call up 2, as described above.

Upon transmit, the control panel Compressor Toggle Switch when in its OFF state will call up 3, as described above. When the same switch is in its ON state (grounded), it will call up 4, as described above.

There is a 2-relay module in the schematic. The relay to the left (not delineated) functions upon transmit while the relay to the right (not delineated) functions upon receive. Each relay has normally open (NO) contacts and normally closed (NC) contacts. Thus, there are 4 contact positions in total.

From the schematic, it may be seen that the +12V_TX voltage, a voltage only asserted upon transmit, will be placed on the pole of the left relay. Whether this voltage is applied to the NC contacts for the MIC or the NO contacts for the COMPRESSOR will depend upon the state of the corresponding front panel toggle switch.

From the schematic, it may be seen that the +12V_RX voltage, a voltage only asserted upon receive, will be placed on the pole of the right relay. Whether this voltage is applied to the NC contacts of the DISCRETE AMP or the NO contacts for the LEVELER will depend upon the state of the corresponding front panel toggle switch.

The inputs to the CD4072 4-input OR gates in the schematic are hard wired as shown according to the Truth Table. Any time there is a wire connected to a gate input, it signifies a logic HI input. If there appears to be a gate input skipped, that means that logic LO is signified.  Since only one of the vertical “wires” can have voltage on it at a time, each of the vertical wires, with its attendant gate connections, constitutes a logic state. This is what is called a “finite state machine” which is a big word for one, or more, hardwired programs. An OR gate functions such that there will be a logic HI output whenever there is at least one logic HI input. Else, the output is logic LO.

The MUX is implemented with 2N7000 MOSFETs used as SPST switches. Each of MOSFETS is driven from the output of an OR gate. The MOSFET will be ON whenever the output of an OR gate is in a logic HI state and OFF whenever the output of an OR gate is in a logic LO state. Each of the channels employs two MOSFETS; one in series and one in shunt connection. When a channel is unused, the series MOSFET will be OFF while the shunt MOSFET will be shorted (ON) to ground. That helps to ensure that the channel is really off. In reality that won’t happen because the MOSFETS have a finite (very high) OFF resistance and a finite (very low ON resistance). What is hoped is that the signal isolation will be good enough for most applications. As a matter of note, there are MOSFETs with lower ON resistances, but those tend to be MOSFETs with larger gate areas. Those devices tend to switch more slowly because of higher gate capacitance.

Four connections to the MUX are shown at J3, J4, J5 and J6 at the top of the schematic. J3 and J4 serve as inputs upon transmit only, while J4 and J5 serve as outputs upon receive only. Connector RF1 serves as the connection to the mixer that, upon transmit, functions as the balanced modulator while, upon receive, the same mixer functions as the product detector.

Component numbering on the printed circuit board, Figure 2, differs from the numbering on the schematic because Figure 1 was prepared prior to the board layout. The circuit wiring is the same, though.

Audio Multiplexer

Figure 1. 4-Channel Audio Multiplexer. The MUX is driven by an array of 8 x 4-input OR gates that function to decode each of 4 logic states. For operation of this primitive “state machine” please refer to the text. Please click on the figure to open it in a new window.

Audio MultiplexerFigure 2. 4-Channel Audio Multiplexer PCB Under Assembly. This MUX is but a small portion of a much larger printed circuit board that contains all of the audio functions described in this article, namely receiver audio amplification, audio leveling, microphone audio amplification, and microphone audio compression. The small pads to the left of the photo are for an SMA connector that connects the MUX to a mixer that serves as a product detector upon receive and a balanced modulator upon transmit. The 2 x 4-input CD4072 CMOS OR gates (8 OR gates in all) to the right are configured to decode four logic states; two for receive and two for transmit. All transistors are 2N7000, all resistors are 100k ohm, and all capacitors are 0.1 uF. A two-channel relay is pictured. The upper relay is active upon receive, while the lower relay is active upon transmit. Please click on the photo to open it in a new window.

Board Design

The printed circuit board was designed using EasyEDA[7], an easy-to-learn online design tool. The boards were fabricated from a Gerber file sent to JLCPCB[8]. Turnaround time was less than one week including UPS shipping.

References

[1] http://www.remmepark.com/circuit6040/

[2]https://www.youtube.com/@Circuit6040/videos

[3]https://www.youtube.com/watch?v=1h0FZJYXQ_w&t=67s

[4]https://www.analog.com/en/products/ssm2167.html

[5]https://www.ebay.com/sch/i.html?_nkw=SSM2167&_sacat=0&_from=R40&_trksid=p4432023.m570.l1313

[6] https://www.amazon.com/s?k=ssm2167&ref=nav_bb_sb

[7]https://easyeda.com/

[8]https://jlcpcb.com/?from=VGPCBA&utm_source=google&utm_source=google&utm_medium=cpc&utm_medium=cpc&utm_campaign=20338495875&utm_campaign=20338495875&utm_content&utm_term=_&adgroupid&utm_network=x_&gad_source=1&gad_campaignid=21402499807&gclid=CjwKCAjw6ZTCBhBOEiwAqfwJdy-CiT4frGoHn5X52XdV657YjMH_3iZsSdxPhpuU1vFllYEuoX1a5RoC

A Broadcast Interference (BCI) Notch Filter for General Coverage Receivers

General coverage short-wave receivers may lack preselection against strong AM broadcast stations, and these broadcast stations may overload the receivers. SDR receivers, particularly the USB type[1], that plug into your computer are examples of this receiver type.

When I was designing my 10-band QRP transceiver, I wanted to incorporate an AM notch filter into the receiver for general coverage. In this mode of operation, the bandpass and lowpass filters are bypassed leaving the front end of the receiver wide open.

Since there are no FM broadcast transmitters nearby, I chose to include a notch filter for AM only because the receiver gain in my QRP transceiver from 88 to 108 MHz is greatly attenuated.

Rather than design and build a suitable notch filter, I looked for a suitable commercial off-the-shelf  (COTS) product that I could package into what I wanted.  The solution was the Nooelec Flamingo+ AM – High Attenuation Broadcast AM Bandstop (Notch) Filter[2].

My transceiver is based upon the N3FJZ software and hardware architecture [3], and Rick’s software architecture provides for general coverage whenever the receiver is tuned to other than one of the 10 designated ham bands. Thus, under these conditions, all of the filters in the transceiver are switched to bypass mode. I made use of this feature to incorporate the Nooelec Flamingo+ AM Notch filter in the bypass path.

Should I decide to incorporate an FM notch filter into the design in the future, the Nooelec Flamingo+ AM notch filter is easily disconnected from the printed circuit board carrier, and it may be replaced with a Nooelec Flamingo+ FM – High Attenuation Broadcast FM Bandstop Filter [4].

The schematic of what was built is shown in Figure 1. Optically coupled, 2-channel Arduino relays[5] are employed. When a bypass command is asserted in software, the receiver RF is routed around the bandpass and lowpass filters in the transceiver when it is in receive mode, only, i.e., the bypass does not function when the transceiver is in transmit mode.

Figure 1. Filter Bypass With BCI Notch Schematic. When the software command is asserted to place the transceiver in bypass mode, the relay modules will bypass the bandpass and lowpass filters in the receive path and insert the Nooelec Flamingo+ AM – High Attenuation Broadcast AM Bandstop (Notch) Filter. Since the AM BCI notch filter is connected to the PCB with right angle SMA connectors, it may be replaced by an FM BCI notch filter, as desired. Please click on the figure to enlarge it.

A printed circuit board, Figure 2, was designed as a carrier for the optically coupled relays and AM BCI notch filter. Pin headers are used for all connections to the 2-channel relay modules. Dupont[6] wires provide easy interconnects for power and logic inputs while pin headers are used for relay connections into and out of the printed circuit board. Dupont wires may be homebrewed with suitable component parts and a crimping tool, or they may be purchased at predetermined lengths.

Figure 2. As-Built AM BCI Bypass Printed Circuit Board. The AM notch filter may be replaced by an FM notch filter of similar form-factor by disconnecting the right-angle SMA connectors. Please click on the figure to enlarge it.

Finally, the response of the Nooelec Flamingo+ BCI Notch was measured on a spectrum analyzer with integral tracking generator. The result obtained is shown in Figure 3. The measured notch depth is close to 70 dB over most of the AM broadcast band. This result compares favorably with the plot provided by Nooelec[7] in Figure 4.

Figure 3. Measured Nooelec Flamingo+ AM BCI Notch Depth. The performance of the AM BCI Notch printed circuit board was measured on a spectrum analyzer with integral tracking generator. The notch depth is approaches 70 dB over most of the AM band. Please click on the figure to enlarge it.

Figure 4. Nooelec Data. The plot found in the Nooelec data sheet compares favorably  with the measured data of Figure 3. Reproduced with permission from Nooelec. Please click on the figure to enlarge it.

Anyone wishing to duplicate this printed circuit board may contact me for a Gerber file. I will not be offering any printed circuit boards.

References:

1. https://www.nooelec.com/store/sdr/sdr-bundles/hf-bundles.html

2. https://www.nooelec.com/store/sdr/sdr-addons/flamingo-plus-am.html

3. http://www.remmepark.com/circuit6040/MAX-SSB/MAX-SSB.html#110

4. https://www.nooelec.com/store/sdr/sdr-addons/flamingo-plus-fm.html

5.https://www.amazon.com/gp/product/B081MVCS8F/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

6. https://www.amazon.com/TOAPPNER-Multicolored-Breadboard-Arduino-Raspberry/dp/B089FZ79CS/ref=sr_1_2_sspa?crid=IB4C4C33XMM4&dib=eyJ2IjoiMSJ9.tjHxIQLJsk16_0YVtUGN6Tqnr8euWNsWVjpSaq5RQkYtxZ9Cezy7x5qOhagKvYtMzwlO3bKCBbaL1aW0gvt6neKoy9ihFziKKV1XaMgGsZAE8xRYaSTrpxQdRvB0pAUE20gJVd3C2KcNPIu-KcdICH9n984YMZgPEz0KU8pLTtGa-RcD9BD6ef2DqvC9xEyQTaj2b0LmfNg1lNr1V_BlptXMnJAI1jqwkYqPQCB5h5I.fVWAD3xtI6a-TS73_L9fQ9c26h3fo70muKyIhPmYqA4&dib_tag=se&keywords=dupont%2Bwires&qid=1732556600&sprefix=dupont%2Bwires%2Caps%2C99&sr=8-2-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9hdGY&th=1

7. https://www.nooelec.com/store/sdr/sdr-addons/flamingo-plus-am.html. Op cit.

 

A Simple Set of QRP Calibration Mismatches That You Can Build

I enjoy homebrewing, and when it was time to calibrate the Stockton Bridge for measuring forward and reflected power in my QRP rig, I realized that I didn’t have a set of mismatches that could be used for that purpose. A set of mismatches is also useful for checking an SWR meter, or a nanoVNA. There are off-the-shelf mismatches that you can buy to test your nano, but they do not provide the power handling capability that this design does.

If you would like to get started with PCB design, this might be a perfect project to begin with. I am not endorsing any particular PCB design tool that you might find online, but I have found that EasyEDA is easy to learn.

The mismatches that I describe here can be used for QRP. All resistors in the design are 51-ohms and 2 Watts. Since we are not using 50-ohm resistors, this will result in a small error. Also, the layout is distributed (spread out), and this will result in a bit of extra capacitive reactance for the larger mismatches. SMA connectors were chosen because all of the RF interconnections within my QRP rig consist of RG316 terminated with SMA connectors.

Figure 1 is the schematic of what was built. It seemed pretty easy to construct the mismatches from a single value of resistor, but there is nothing to stop you from building mismatches from one or two parallel values of different resistors. What I have here seemed like a good idea because it made calculations simpler, and it resulted in power-handling capability large enough for any QRP project that I envisioned. Values of 3.0:1, 2.5:1, 2.0:1, 1.5:1 and 1.0:1 were chosen as data points for the Stockton Bridge that I was calibrating. For continuous operation at 5W, a cooling fan is recommended, particularly for the 1.0:1 load bank as it has the fewest number of resistors.

Figure 1. A Simple Set of Mismatches. Use of a single resistor value, 51-ohms and 2 Watts throughout, makes construction easy and economical. Use of series and parallel combinations result in higher power dissipations. Please click on the figure to enlarge it.

Figure 2 shows the virtual 3-D layout as provided by the EasyEDA PCB layout tool. The tool shows you what you are going to get once the PCB is assembled. The EasyEDA library is extensive, and it provides additional capability to import manufacturer’s symbols and footprints not already in the library. Although this set of mismatches was built as a PCB, there is nothing to stop you from building the same design on a piece of copper-clad perforated board.

Figure 2. Calibration Mismatches 3-D View. EasyEDA provides a 3-D viewer so that you can see what the final product will look like before the PCB is fabricated and before the PCB is populated. The mismatch values are shown near the SMA connectors. Please click on the figure to enlarge it.

Figure 3 shows the shows the final product after PCB fabrication and population. It closely matches what is shown in Figure 2.

Figure 3. As-Built Calibration Mismatches. The actual PCB closely resembles the 3-D model shown in Figure 2. The overall dimensions of the completed board are 6.50” x 3.60” including the connectors. Please click on the figure to enlarge it.

S11 values for the mismatches were measured from 1.8 to 29.7 MHz and stored on an old MFJ-226 Graphical Analyzer. The values were converted to rectangular form in Excel spreadsheets to facilitate calculations. Smith Charts were also plotted. In order to make this article more concise, the Smith Charts are provided in the Appendix that follows.

If you would like the S11 data in the form of Excel, please contact me. The spreadsheets contain all of the formulas required to convert S11 magnitude and angle to other useful forms including S11 rectangular, impedance rectangular, impedance polar, VSWR and return loss.

If you would like the Gerber file for PCB fabrication, you may also contact me.  I will not be providing any bare boards, although you may wish to pool a PCB order to distribute the shipping costs among a few hams. For the JLCPCB supplier, the minimum number of boards is 5.

Appendix A. Smith Charts

Figure A-1. Smith Chart 1.0:1 Mismatch.

Figure A-2. Smith Chart 1.5:1 Mismatch.

Figure A-3. Smith Chart 2.0:1 Mismatch.

Figure A-4. Smith Chart 2.5:1 Mismatch.

Figure A-5. Smith Chart 3.0:1 Mismatch.

Radio Amateurs Developing Skills Worldwide