RadiMation Application Note 123

From RadiWiki
Jump to navigation Jump to search

Implementing the control of a switch matrix in RadiMation®[edit]

This application note describes how to support a switch matrix into RadiMation®, in such a way that the actual relays are correctly controlled when the automated test is performed by RadiMation®

When making a test setup it can be needed to switch to different equipment for different settings or frequency ranges. This is supported in RadiMation® by being able to make a specific driver for a switch matrix to be used in a specific test-site.

Normally the actual physical configuration of one or more relays and the related cabling and connections is available as a schematic drawing or listed in for example a Microsoft Excel sheet. It provides which components are connected to each other when the relays are in a certain state. SPDT (single pole, double throw) relays normally can be in two modes, being: 'Normally Open' (NO) and 'Normally Closed' (NC). Other relay types like SP6T (single pole, 6 throw, or a one on 6-relay), indicate a specific switch state with the actual position number.

  • 'Normally Closed' (NC) indicates the state of the relay when it is completely un-powered, and thus is the state in which it returns when it is being disconnected.
  • 'Normally Open' (NO) indicates the connection that is made when which is opened (not connected) when the relay is completely un-powered. To make a connection on the 'Normally open' state, the relay has to be actively controlled.

Based on these state, and the actual physical switch matrix design the exact flow of the signals is known, and it can be determined which switches need to be set to create the desired signal path.

A radiated immunity test with two frequency bands[edit]

To activate a desired signal path, switch matrix device drivers with the correct settings need to be selected in the test site.

A simple possible scenario where a switch matrix can be used is the automation of a Radiated Immunity system that has different amplifiers and different antennas to cover the frequency range from 80 MHz up to 3 GHz. The equipment that can be used for this is:

Test site device type model frequency range remark
Radiated Immunity - 80 MHz - 1 GHz
Amplifier ETS-Lindgren 8100-002 80 MHz - 1 GHz
Coupler Bonn BDC 0110-40 100 kHz - 1 GHz
Antenna Schwarzbeck VULB 9160 80 MHz - 1.7 GHz
Radiated Immunity - 1 GHz - 3 GHz
Amplifier Bonn BLMA 1030-250 1 GHz - 3 GHz
Coupler Bonn BDC 0530-50 500 MHz - 3 GHz
Antenna Schwarzbeck BBHA 9120D 1 GHz - 18 GHz
Generic / used in both
Signal generator RadiGen RGN2006B 4 kHz - 6 GHz
Forward power meter RadiPower RPR2006C (Fwd) 9 kHz - 6 GHz
Reflected power meter RadiPower RPR2006C (Refl) 9 kHz - 6 GHz
N-type relay (Relay A) RadiSwitch RSW1021N DC - 12.4 GHz present in RadiCentre slot 4
N-type relay (Relay B) RadiSwitch RSW1021N DC - 12.4 GHz present in RadiCentre slot 5
N-type relay (Relay C) RadiSwitch RSW1021N DC - 12.4 GHz present in RadiCentre slot 6

Apart from this equipment also two power meters to measure the forward and reflected power are used. A single signal generator is used to drive the amplifiers.

See the picture below for a schematic overview of this setup. In this diagram the cables for the forward power are drawn in red, while the cables for the reflected power are drawn in blue.

ApplicationNote123Switches.png

The signal path and devices needed in the different bands need to be different, while at the other hand some equipment (like the signal generator and power meters) are the same for both signal paths. To configure the differences, it is necessary to make two test sites. The first test site is for testing on the the low frequency range and the second test site is for testing on the high frequency range. During the actual test configuration, the desired test site for the frequency range can be selected that is applicable. And because the test site configuration also contains the correct switch matrix configuration, also the relays will be automatically set to create the correct signal path.

This switch matrix design can now be implemented in RadiMation® by configuring the different components. In this example, separate switches are being used, however it is also possible to use switchboards that have more then one relay, and in that case a single switchmatrix device driver for each test site can suffice.

Configuring and using switches in RadiMation[edit]

Once all the information and the schematic is defined, all the used devices can be configured in RadiMation®. The most logical configuration is to create a switch matrix for each individual signal path (or part of the signal path) that can be active at any moment. A switch matrix device driver is thus not created for a single relay, but each possible switch selection of a relay will have its own switch matrix device driver. The activated relay selection is thus part of each switch matrix device driver.

Configuring the switch matrix device drivers for all relays[edit]

  1. Open the menu

       Menu.svg Configuration
          Menu.svg Configuration
             Menu.svg Device Drivers

  2. Choose the device type Switch matrixes and click on Add.
  3. From the list, select the Raditeq RSW1021N.
  4. Set the description to the state that is actually being selected by the driver in this example: Signal generator to ETS-Lindgren amplifier.
    ApplicationNote123RelayAName.png
  5. Open the Advanced driver configuration and go to the Communication tab. Configure the correct communication settings to control the relay card, depending on how it is connected to the PC.
    ApplicationNote123RelayACommunication.png
  6. For the Raditeq RSW1021N relay, also the RadiCentre slot number in which the card is present should be selected. Select the RadiCentre tab, and select the correct slot number, which is 4 for Relay A in the example setup.
    ApplicationNote123RelayARadiCentre.png
  7. Select the Switches tab and select Normally Closed for the relay in the During phase. The relay position that is selected on the During tab is the relay position that is active 'during' the test. The relay position that is selected on the After tab is the relay position that is active 'after' the test is finished.
    ApplicationNote123RelayASwitches.png
  8. Close the advanced driver configuration.


Repeat the above steps to also create drivers for all the other signal paths of Relay A, Relay B and Relay C:

Relay device driver name RadiCentre slot number internal relay state
Relay A Signal generator to ETS-Lindgren amplifier 4 Normally closed
Relay A Signal generator to Bonn amplifier 4 Normally open
Relay B ETS-Lindgren amplifier to forward power meter 5 Normally closed
Relay B Bonn amplifier to forward power meter 5 Normally open
Relay C ETS-Lindgren amplifier to reflected power meter 6 Normally closed
Relay C Bonn amplifier to reflected power meter 6 Normally open

After these switch matrix device drivers are created, the list of configured device drivers is available as:

File:SwitchMatrix.png

Selecting the switch matrix device driver in the test-site configuration[edit]

Once all the device drivers for the switch matrix states and the other test and measurement equipment is created, those device drivers can be selected in the corresponding test site configuration. In the provided example, two test sites are being used, each having their own operational frequency range.


Go to Test-sites, and click on Add to make a new test-site, also providing it with a logical name like for example: "Radiated Immunity - 80MHz - 1GHz"

Now add all the devices needed to perform the test. In this case that would be the amplifier, signal generator, power meters and an antenna. To make sure that the switching is done correctly we need to add the drivers for the switch matrixes.

If we look at the switch matrix design we know that we need to set the signal generator signal to the right amplifier and make sure that the powermeters are using the signal of the right coupler.

In the case of this example this means that I need to add three switches. If a switch matrix has more relays, one switch would have been enough as you can set all the relays from the same driver. Below you see the picture of the test site made for the low-end path.

File:TestsiteLow.png

Below we have done the same except that it was for the high path. You can see that it resembles each other however the switches are set correctly for the range by selecting the correct test site.

File:TestsiteHigh.png