Documentation Home Page eHS Toolbox Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

V2.19 Versal OP4810 - eHS x128 - Gen5 - PMSM - IO Config1

OPAL-RT TECHNOLOGIES
1751 Richardson suite 1060, Montréal QC Canada H3K 1G6
www.opal-rt.com

© 2023 OPAL-RT TECHNOLOGIES All rights reserved

Legend

SPS WORKFLOWSCHEMATIC EDITOR WORKFLOWSCHEMATIC EDITOR WORKFLOW WITH SFUNCTION

Introduction

This firmware includes:

  • One eHS x128 Gen5 Solver
  • One Dual Permanent Magnet Synchronous Machines (PMSM-SH) models
  • One Quad Generic Machines mode
  • Two Analog Output Mapping and Rescaling (AOMR) module


LoadIn/DataIn/DataOut mapping


LoadIn

DataIn

DataOut

1

Config eHS

Inputs eHS

eHS Averaged

2

Scenario / Rst eHS = Status

TSDO 1 - eHS 0 to 7

eHS DownSample

3


TSDO 2 - eHS 8 to 15

Digital In 1A - 0 to 7

4

PWM 1A -  0 to 7

TSDO 3 - eHS 16 to 23

Digital In 1A - 8 to 15

5

PWM 1A -  8 to 15

TSDO 4 - eHS 24 to 31

Digital In 1A - 16 to 23

6

PWM 1A -  16 to 23

TSDO 5 - eHS 32 to 39

Digital In 1A - 24 to 31

7

PWM 1A -  24 to 31

TSDO 6 - eHS 40 to 47

Digital In 2A - 0 to 7

8

PWM 2A -  0 to 7

TSDO 7 - eHS 48 to 55

Digital In 2A - 8 to 15

9

PWM 2A -  8 to 15

TSDO 8 - eHS 56 to 63

Digital In 2A - 16 to 23

10

PWM 2A -  16 to 23

TSDO 9 - eHS 64 to 71

Digital In 2A - 24 to 31

11

PWM 2A -  24 to 31

Digital Out 1A - SDO 0 to 7

Analog In 1C - 0 to 7

12

Config AOMR

Digital Out 1A - SDO 8 to 15

Analog In 1C - 8 to 15

13

eHS PWM 1 - eHS 0 to 7

Digital Out 1A - SDO 16 to 23

Analog In 2C - 0 to 7

14

eHS PWM 2 - eHS 8 to 15

Digital Out 1A - SDO 24 to 31

Analog In 2C - 8 to 15

15

eHS PWM 3 - eHS 16 to 23

Digital Out 2A - SDO 0 to 7

PMSM SH 1/2

16

eHS PWM 4 - eHS 24 to 31

Digital Out 2A - SDO 8 to 15

Generic Machine

17

Config AIR

Digital Out 2A - SDO 16 to 23

QEI 0

18

Config PMSM SH 1/2

Digital Out 2A - SDO 24 to 31

QEI 1

19

Config Generic Machine

AOMR/Analog Out 1A 0 to 7

RMS and Power calculation

20


Analog Out 1A 8 to 15

eHS Period Averaged

21

Config QEI 0

Analog Out 2A 0 to 7

eHS Period DownSample

22

Config QEI 1

Analog Out 2A 8 to 15

TimeOn Averaged

23

Config SFP

eHS PWM 1 -  0 to 7

TimeOn DownSample

24

Config LUT

eHS PWM 2 -  8 to 15


25

Config RMS

eHS PWM 3 -  16 to 23


26

Config QEO

eHS PWM 4 -  24 to 31


27

Config AOMR

eHS SWG


28


PMSM VDQ 1/2


29
Generic Machine
30
SFP

31


LUT


32
AOMR 2A 0 to 7
33
QEO
34
TSDO 10 - eHS 72 to 79
35
TSDO 11 - eHS 80 to 87
36
TSDO 12 - eHS 88 to 95
37
TSDO 13 - eHS 96 to 103
38
TSDO 14 - eHS 104 to 111
39
TSDO 15 - eHS 112 to 119
40
TSDO 16 - eHS 120 to 127
41
TSDO 17 - eHS 128 to 135
42
TSDO 18 - eHS 136 to 143

System Overview


Unable to render {include} The included page could not be found.


Permanent Magnet Synchronous Machine models (PMSM VDQ)

A total of two PMSM motors are available and configured using the Permanent Magent Synchronous Machine. The machine type could be Constant DQ, Variable DQ or BLDC. 


Schematic Editor Workflow - PMSM (VDQ - BLDC) block

Communication port configuration for the Dual PMSM (VDQ) block

      

Dual PMSM Motors VDQ

Machine Label

PMSM 1

PMSM 2

Data In Port Number

28

Load In Port Number

18

Data Out Port Number

15

Connectivity (Input)

The signals received could be used as external carrier for machine resolver module. 
Analog In - Slot 2A - Ch00-15

Encoder Output

Encoder outputs are sent to 
Digital Out - Slot 1A

Hardware Pin assignment


Encoder 1Encoder 2
ACh00Ch04
BCh01Ch05
ZCh02Ch06


Quad Generic Machine model (GM)

A total of four Induction Machines (IM) are available and configured using Generic Machine block in the eFPGAsim library.

Schematic Editor Workflow - Generic Machine block

SPS Workflow - Generic Machine block

SPS WORKFLOW SPECIFIC

Communication port configuration for the Quad Generic Machine (GM) block

      

Generic Machine

Machine Label

IM 1

IM 2

Data In Port Number

29

Load In Port Number

20

Data Out Port Number

16

Connectivity (Input)

The signals received could be used as external carrier for machine resolver module. 
Analog In - Slot 1C - Ch00-15

Encoder Output

Encoder outputs are sent to 
Digital Out - Slot 1A



Encoder 1Encoder 2
ACh00Ch04
BCh01Ch05
ZCh02Ch06

Hardware Pin assignment

Power calculation module

SPS WORKFLOW SPECIFIC SCHEMATIC EDITOR WORKFLOW WITH SFUNCTION

RMS and power calculation for all circuit measurements is configured using the “Power Measurement Controller” block in the CPU model.

For more documentation on the block see : https://opal-rt.atlassian.net/wiki/spaces/PFPET/pages/65835684/CPU+Power+Measurement+Configuration+-+efs+Monitoring+cpuPowerBlock

Communication port configuration for the Power calculation block


RMS

Load In Port Number25
Data Out Port Number19

Analog Output Mapping and Rescaling module (AOMR)

AUTOMATIC AND NOT VISIBLE IN SCHEMATIC EDITOR WORKFLOW

There is one AOMR block allowing to configure all 32 analog outputs.

AOMR Master Subsystem (SM) block

Communication port configuration for the Analog Output Mapping and Rescaling (AOMR) block


AOMR - Slot 1A

AOMR - Slot 2A

Version V2
Data In Port Number1932
Load In Port Number1226

AOMR Output

Lane IndexSignal SourceDetails
0eHS OutputseHS Y01-128
1PMSM SH 1/2 AnalogOut
Dual PMSM SH Model
2PMSM SH 3/4 AnalogOut
4Data Stream from SFP #01

SFP Mapping and Communication Block

A total of 32 inputs and 32 outputs are available and configured using the SFP mapping and communication block.

Schematic Editor Workflow - SFP Mapping and Communication block


Communication port configuration for the SFP mapping and communication block


SFP - Channel 4

Data In Port Number30
Load In Port Number23

Analog In module (AI)

AI block reads signals from analog input channels on the simulator. 

Schematic Editor Workflow - OPAL-Board/AI

RT-LAB

HYPERSIM


Communication port configuration for the Analog Input (AI) block


Slot 1C

ChannelsCh00-07Ch08-15
Data Out Port Number1112

Slot 2C 

ChannelsCh00-07Ch08-15
Data Out Port Number1314

Connector Pin Assignment

Please refer to your hardware documentation

Hardware Pin assignment



Analog Out module (AO)

AO block configures analog output channels on the simulator. 

Schematic Editor Workflow - OPAL-Board/AO

RT-LAB

HYPERSIM


Communication port configuration for the Analog Output (AO) block


Slot 1A 

Slot 2A
ChannelsCh00-07Ch08-15Ch00-07Ch08-15
Data In Port Number19202122

Connector Pin Assignment

Please refer to your hardware documentation

Hardware Pin assignment



Digital In module (DI)

DI block reads signals from digital input channels on the simulator. It could be static, TSDI or PWMIn.

Schematic Editor Workflow - OPAL-Board/DI

RT-LAB

HYPERSIM


Communication port configuration for theDigital Input (DI) block


Slot 1A 

Slot 2A
ChannelsCh00-07Ch08-15Ch16-23Ch24-31Ch00-07Ch08-15Ch16-23Ch24-31
Data Out Port Number345678910

Connector Pin Assignment

Please refer to your hardware documentation

Hardware Pin assignment



Digital Out module (DO)

DO block configures digital output channels on the simulator. It could be static, TSDO or PWMOut.

Schematic Editor Workflow - OPAL-Board/DO

RT-LAB

HYPERSIM


Communication port configuration for theDigital Output (DO) block


Slot 1A 

Slot 2A 
ChannelsCh00-07Ch08-15Ch16-23Ch24-31Ch00-07Ch08-15Ch16-23Ch24-31
Data In Port Number1112131415161718
Load In Port Number4567891011

Connector Pin Assignment

Please refer to your hardware documentation

Hardware Pin assignment

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter