RadiMation Application Note 123: Difference between revisions

From RadiWiki
Jump to navigation Jump to search
Line 62: Line 62:


== Configuring and using switches in RadiMation ==
== Configuring and using switches in RadiMation ==
Once all the information and the schematic is defined, all the used devices can be configured in {{RadiMation}}.
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 ===
=== Configuring the switch matrix device drivers for all relays ===
Line 96: Line 96:
|}
|}


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


[[File:SwitchMatrix.png]]
[[File:SwitchMatrix.png]]


We will show one example in detail. For the other switches, the process is the same. For explaining purposes I will use the switch design shown in the schematic drawing.
=== Selecting the switch matrix device driver in the test-site configuration===
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.


If we look at the first device in the switch design we see that we need to be able to switch between the two amps available in the system. We want to use the amplifier suitable for low frequency for the tests from 80 MHz - 1 GHz (AMP1). For the range 1 GHz to 3 GHz we need to switch to the amplifier for the higher range 1.0 GHz - 3.0 Ghz (AMP2).
Looking at our switch-design we see that AMP1 is Connected to the normally closed output of the switch. Amp2 is connected to the normally open output of the switch. Now we have the data we need to set the drivers up correctly.
First make two drivers for the switch settings for AMP1 and AMP2.
Go to device drivers and click {{ScreenElement|Add}}.
[[File:AddDriver2.png]]
Change the description to a name that reflects the connection.
[[File:SwitchAmp1.png]]
Do not configure it yet, but make a second switch matrix for AMP2.
[[File:SwitchAmp2.png]]
Now we know that we have made the drivers for our two settings of the switch we can configure it.
Go to device drivers and open the switch we just created for AMP1. Go to {{ScreenElement|Advanced}}.
[[File:Communicationswitch.png]]
Select the correct protocol and configure it. Now go to the tab {{ScreenElement|Switches}}.
[[File:Communicationswitch2.png]]
We are now configuring the switch for AMP1. When we look at our switch design we see that we need the switch to be in {{ScreenElement|Normally Closed}}. As the switch I have used in this example only has on relay we set Relais A to {{ScreenElement|Normally Closed}}.
Following this steps you have now made a driver that can be used to switch the signal of the system to the input of AMP1. To finish our example we have to do the same for AMP2.
Go to {{ScreenElement|Device drivers}}, select Switch matrixes and select the switch matrix that we have created for AMP2. Open the driver and go to {{ScreenElement|advanced}}.
Set the communication on the {{ScreenElement|communication}} tab. This will be the same as the previous driver as we are communicating to the same device. We only want it to switch the relay to {{ScreenElement|Normally open}}. Make sure that you set this on the {{ScreenElement|Switches}} tab.
[[File:Communicationswitch3.png]]
=== Using the switch in your test-site configuration===
Now that we have made the drivers, named and configured them we are ready to implement them in our test system. For now I will stick with example used above. In this case two test sites will work well to set the path correctly for the low and high range.


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

Revision as of 15:26, 3 November 2025

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 9 kHz - 6 GHz
Reflected power meter RadiPower RPR2006C 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 4 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