Table of Contents
Mini Circuits RF Switch and Attenuator
PURPOSE: We bought several RF switches so we can remotely select antenna pol outputs and direct them into a SNAP board one at a time. This will avoid a lot of manual SMA connector inserting/removal, as well as allow us to do a lot of testing remotely.
June 05, 2018 - received the mini circuits attenuator and 8 port RF switch. Two of each.
Note: the software to control these things is at https://github.com/jrseti/ATARFSwitchUtils
System Diagram
Units out of the box
Note: That is a quarter coin in the center for size reference.
Plugged into VM server ngs-work1 (sonata@10.1.49.174, polaris)
- Attenuator RUDAT-6000-30: https://www.minicircuits.com/WebStore/dashboard.html?model=RUDAT-6000-30
- RF Switch USB-1SP8T-63H: https://www.minicircuits.com/WebStore/dashboard.html?model=USB-1SP8T-63H
Created 2 programs, rfswitch and atten to control these units over USB. See https://github.com/jrseti/ATARFSwitchUtils for a full explanation and the source code.
Setting up Proxmox USB ports
root@nsg-headnode:~# qm monitor 101
qm> info usbhost
Bus 3, Addr 5, Port 14.1, Speed 1.5 Mb/s
Class 00: USB device 0557:2419
Bus 3, Addr 8, Port 12.4.4, Speed 12 Mb/s
Class 00: USB device 20ce:0023, Mini-Circuits
Bus 3, Addr 7, Port 12.4.2, Speed 12 Mb/s
Class 00: USB device 20ce:0022, Mini-Circuits
Bus 3, Addr 10, Port 12.4.1.3, Speed 12 Mb/s
Class 00: USB device 20ce:0022, Mini-Circuits
Bus 3, Addr 9, Port 12.4.1.1, Speed 12 Mb/s
Class 00: USB device 20ce:0023, Mini-Circuits
Note the port numbers (like Port 12.4.4)
In Proxmox, assign the usb ports as shown:
The head node needs to be rebooted to make the USB changes work.
Note that the USB ports need to be assigned by port, not by device vendor and product ID. If you set up the ports assigned to vendor and product ID, you can only have one RF switch on the USB bus recognized at one time. So, use the port numbers like 12.4.1.3.
Installation Picture
The RF switch and attenuator units are installed at the top of the FXA Rack just to the right of the RFCB rack:
More RF Switch Installation
August 16, 2018
Received two 8×1 RF switches and one 16×1 switch.
Before installation of these switches there are two 8×1 RF switches installed. Here is the USB Bus (via lsusb on root@10.1.49.167 (the proxmox node)):
Bus 002 Device 002: ID 8087:8002 Intel Corp. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 8087:800a Intel Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 005: ID 0557:2419 ATEN International Co., Ltd Bus 003 Device 003: ID 0000:0001 Bus 003 Device 008: ID 20ce:0023 Minicircuits Bus 003 Device 007: ID 20ce:0022 Minicircuits I/O Controller Bus 003 Device 010: ID 20ce:0022 Minicircuits I/O Controller Bus 003 Device 009: ID 20ce:0023 Minicircuits Bus 003 Device 006: ID 05e3:0610 Genesys Logic, Inc. 4-port hub Bus 003 Device 004: ID 05e3:0610 Genesys Logic, Inc. 4-port hub Bus 003 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I will be replacing the 30 foot 2.0USB cable with a 3.0USB 30 foot cable.
Using qm before the changes:
root@nsg-headnode:~# qm monitor 101
Entering Qemu Monitor for VM 101 - type 'help' for help
qm> info usbhost
Bus 3, Addr 5, Port 14.1, Speed 1.5 Mb/s
Class 00: USB device 0557:2419
Bus 3, Addr 8, Port 12.4.4, Speed 12 Mb/s
Class 00: USB device 20ce:0023, Mini-Circuits
Bus 3, Addr 7, Port 12.4.2, Speed 12 Mb/s
Class 00: USB device 20ce:0022, Mini-Circuits
Bus 3, Addr 10, Port 12.4.1.3, Speed 12 Mb/s
Class 00: USB device 20ce:0022, Mini-Circuits
Bus 3, Addr 9, Port 12.4.1.1, Speed 12 Mb/s
Class 00: USB device 20ce:0023, Mini-Circuits
Using qm AFTER the changes:
Bus 3, Addr 45, Port 12.1.1.3, Speed 12 Mb/s Class 00: USB device 20ce:0022, Mini-Circuits Bus 3, Addr 44, Port 12.2, Speed 12 Mb/s Class 00: USB device 20ce:0022, Mini-Circuits Bus 3, Addr 43, Port 12.1.4, Speed 12 Mb/s Class 00: USB device 20ce:0022, Mini-Circuits Bus 3, Addr 42, Port 12.4, Speed 12 Mb/s Class 00: USB device 20ce:0023, Mini-Circuits Bus 3, Addr 41, Port 11.4, Speed 12 Mb/s Class 00: USB device 1130:1620, USB AUDIO Bus 3, Addr 36, Port 12.1.3, Speed 12 Mb/s Class 00: USB device 20ce:0022, Mini-Circuits Bus 3, Addr 35, Port 12.1.2, Speed 12 Mb/s Class 00: USB device 20ce:0023, Mini-Circuits Bus 3, Addr 33, Port 12.3, Speed 12 Mb/s Class 00: USB device 20ce:0022, Mini-Circuits Bus 3, Addr 5, Port 14.1, Speed 1.5 Mb/s Class 00: USB device 0557:2419
By unplugging and plugging I determined:
(0) 8x1 = Bus 3, Addr 32, Port 12.2, Speed 12 Mb/s Class 00: USB device 20ce:0022, Mini-Circuits (1) 8x1 = Bus 3, Addr 45, Port 12.1.1.3, Speed 12 Mb/s Class 00: USB device 20ce:0022, Mini-Circuits (2) 8x1 = Bus 3, Addr 33, Port 12.3, Speed 12 Mb/s Class 00: USB device 20ce:0022, Mini-Circuits (3) 8x1 = Bus 3, Addr 45, Port 12.1.1.3, Speed 12 Mb/s Class 00: USB device 20ce:0022, Mini-Circuits (4) 16x1 = Bus 3, Addr 38, Port 12.1.4, Speed 12 Mb/s Class 00: USB device 20ce:0022, Mini-Circuits (A0) Atten for (0) = Bus 3, Addr 49, Port 12.4, Speed 12 Mb/s Class 00: USB device 20ce:0023, Mini-Circuits (A1) Atten for (1) = Bus 3, Addr 53, Port 12.1.2, Speed 12 Mb/s Class 00: USB device 20ce:0023, Mini-Circuits (A2) Atten for (2) = Bus 3, Addr 51, Port 12.1.1.1.4, Speed 12 Mb/s Class 00: USB device 20ce:0023, Mini-Circuits (A3) Atten for (3) = Bus 3, Addr 55, Port 12.1.1.2, Speed 12 Mb/s Class 00: USB device 20ce:0023, Mini-Circuits
New RF Switch antenna assignments
“fxconf.rb” sals shows in none:
1a 1b 1d 1f 1g 1h 2a 2b 2c 2d 2e 2f 2h 2j 2k 2l 2m 3d 3e 3j 3l 4e 4g 4j 4k 4l 5b 5c 5e 5g 5h (count is 31)
That leaves not used yet:
1a,1b,1h,1g,2c,2h,2k,2l,2m,3d,4e,5b,5g,5h (14 count - left out 4j)
Out of the 14 left, using “bestantpols.py –attr tsys-a,tsys-c –details” and “bestantpols.py –attr prms-a,prms-c –details” I shost the next best 8 for the 16×1 RF switch (4):
1a,1b,1g,1h,2k,2m,3d,4j
RF Switch assignments:
(0-1) = 2j,2d,4k,1d,2f,5h,3j,3e (these are the lastest 8 in use) (2-3) = 2a,2b,2e,3l,1f,5c,4l,4g (these are the original 8) (4) = 1a,1b,1g,1h,2k,2m,3d,4j (x and y for the 16x1 RF switch)
Hookup of two 16x1 switches
On Sept 19, 2018 I recieved two 16×1 rf switches from Mini-Circuits. I will be replacing the two 8×1 rf switches with these 16×1 switchs, adding 8 more antennas into the fold.
Here is the original definition of the hookups. First number is the RF switch serial number, the second is the attenuator SN:
{"11804220007", "11803290005", "2jx", "2dx", "4kx", "1dx", "2fx", "5hx", "3jx", "3ex", "", "", "", "", "", "", "", "" },
{"11804220005", "11803290019", "2jy", "2dy", "4ky", "1dy", "2fy", "5hy", "3jy", "3ey", "", "", "", "", "", "", "", "" },
{"11807090024", "11802180076", "2ax", "2bx", "2ex", "3lx", "1fx", "5cx", "4lx", "4gx", "", "", "", "", "", "", "", "" },
{"11807090023", "11805160031", "2ay", "2by", "2ey", "3ly", "1fy", "5cy", "4ly", "4gy", "", "", "", "", "", "", "", "" },
The SNAPS are hooked up like this:
"snap0" : ['2a','2b','2e','3l','1f','5c','4l','4g'], "snap1" : ['2j','2d','4k','1d','2f','5h','3j','3e']
Now the hookups are:
"snap0" : ['2a','2b','2e','3l','1f','5c','4l','4g'], "snap1" : ['2j','2d','4k','1d','2f','5h','3j','3e'] "snap2" : ['1a','1b','1g','1h','2k','2m','3d','4j','5e','2c','4e','2l','2h','5b','5g']


