Support : Knowledge base

Knowledge Base

Welcome to OPAL-RT’s Knowledge Base

OPAL-RT offers a repository of support information for optimal use of its technology.

Loading…

Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.

For optimal experience, use a desktop computer.

Reference Number: AA-01595// Views: AA-01595// Created: 2019-03-06 22:09:07// Last Updated: 2022-08-26 17:45:28
HowTo
How to send Analog Out Signal using the AOMR block ?


 

How to send Analog Out Signal using the AOMR block ?

Some bitstream might not have the standard Analog output capabilities due to the advantages of using AOMR block and Motors in their bitstreams. Normally, AOMR block are used with the combination of the eHS block. Fortunately, AOMR block can also be used as a standalone and output the standared Analog output. This KB article will show how to send out an Analog signal using an AOMR block.

STEP 1: Configure your Analog Output Mapping and Rescaling (AOMR) block as shown in below. In the mask of the AOMR block, in Configuration make sure the following settings are met,

STEP 2: Configure your channels by selecting User 1 for ch0, User 2 for ch01and so on. If you are outputting 16 signals, you will need to configure until ch15 and define User 16 as the Signal.

STEP 3: Configure your Aout_Mapping&Adjustments block. In this block, you need to configure the DataIn and the LoadIn numbers that can be found in your .conf file or your System description document.

AOMR define in the Conf file should look like this, please note the info about te Data In Port Number (19) and Load In Port Number (12) are taken from the conf file

Here is a figure that shows how it should look like in terms of connections in Simulink. The User Aout signal will be the Aout signal that you will send out. In this example, it's a sin wave signal that are being send out on all the 16 channels

For more information, please refer to the attached model. As for the bitstream and the conf file, please go into the following directory, C:\OPAL-RT\eFPGAsim\v1.5.4.41\Common\fpgalib\firmwares and take the bitstream and the conf file with the name "VC707_2-EX-0001-3_1_8_105-eHSx128gen3s_withIOs-34-20" and put them in the same directory as your model.

 

 

 

 

 

AOMR_16_Aout.mdl 82.1 Kb 82.1 Kb