5V adapter board V3
The 5V adapter board is equipped with digital and analog voltage level shifters to enable interfacing with 5V MCUs. In addtion the 5V adapter contains hardware to support DC / BLDC motor simulation on controllers with integrated bridge drivers such as the TLE9x family or MC9S12ZVM family.
Overview
-
LIN-Bus driver
-
CAN-Bus driver
-
2x 0-30V analog outs
-
target current measurement
-
target power supply
-
10x analog voltage level shifter 3.3V → 5V
-
22x bidirectional digital level shifter 3.3V ←→ 5V
-
8x unidirectional 3.3V → 5V level shifter with tristate option
-
BLDC MOSFET bridge simulation in different control modes (FOC, six-step, … etc.)
-
shunt current simulation for sensorless applications
-
adjustable target power supply
BLDC MOSFET bridge and shunt current simulation
The board is able to simulate MOSFET bridge phase signals. The following error injections are possible:
-
short circuit on any of the high side MOSFETs when motor operates
-
short circuit on any of the low side MOSFETs when motor operates
-
short circuit on any of the high side MOSFETs when motor not active
-
short circuit on any of the low side MOSFETs when motor not active
-
motor open load condition (wire break)
-
motor overcurrent condition
For the motor shunt current simulation you need the miniHIL BLDC simulation.
The bridge signals are summarized in the below table:
| Signal name | miniHIL target connector | comment |
|---|---|---|
SIM_GH1 |
PE3 |
3.3V gate high 1 signal |
SIM_GH2 |
PE4 |
3.3V gate high 2 signal |
SIM_GH3 |
PE5 |
3.3V gate high 3 signal |
SIM_GL1 |
PG15 |
3.3V gate low 1 signal |
SIM_GL2 |
PG10 |
3.3V gate low 2 signal |
SIM_GL3 |
PG9 |
3.3V gate low 3 signal |
SIM_CALC_TRIGGER |
PD0 |
signal triggering simulation execution running on the miniHIL |
PHASE1_EN |
PF3 |
when HIGH, connects the motor phase to the starpoint |
PHASE2_EN |
PE0 |
when HIGH, connects the motor phase to the starpoint |
PHASE3_EN |
PG8 |
when HIGH, connects the motor phase to the starpoint |
GH1_SHORT_EN |
PD1 |
when HIGH, shorts the motor phase with the supply voltage |
GH2_SHORT_EN |
PF8 |
when HIGH, shorts the motor phase with the supply voltage |
GH3_SHORT_EN |
PF9 |
when HIGH, shorts the motor phase with the supply voltage |
CL_SH1 |
PG13 |
LOW during motor operation → simulates low side MOSFET shortcircuit to GND |
CL_SH2 |
PG12 |
LOW during motor operation → simulates low side MOSFET shortcircuit to GND |
CL_SH3 |
PG11 |
LOW during motor operation → simulates low side MOSFET shortcircuit to GND |
CH_SH1 |
PF0 |
HIGH during motor operation → simulates high side MOSFET shortcircuit to supply voltage, HIGH during motor inactivity → simulates low side MOSFET shortcircuit to GND |
CH_SH2 |
PF1 |
HIGH during motor operation → simulates high side MOSFET shortcircuit to supply voltage, HIGH during motor inactivity → simulates low side MOSFET shortcircuit to GND |
CH_SH3 |
PF2 |
HIGH during motor operation → simulates high side MOSFET shortcircuit to supply voltage, HIGH during motor inactivity → simulates low side MOSFET shortcircuit to GND |
|
To prevent damage to the board, use the GH1_SHORT_EN, GH2_SHORT_EN and GH3_SHORT_EN signals together with CL_SH1, CL_SH2 and CL_SH3 set to LOW. |
|
To supply the adapter with 24V directly form the miniHIL board, SB50 on the miniHIL board must be closed (open by default). In addition the 5V supply jumper next to the CN11 must be closed using a jumper or jumper wire. |
Analog Outputs level shifter
| Signal name | miniHIL target connector | comment |
|---|---|---|
SIM_AN_IN_0 |
PC10 |
|
SIM_AN_IN_1 |
PC11 |
|
SIM_AN_IN_2 |
PC12 |
|
SIM_AN_IN_3 |
PF6 |
|
SIM_AN_IN_4 |
PF7 |
|
SIM_AN_IN_5 |
PA14 |
|
SIM_AN_IN_6 |
PA13 |
|
SIM_AN_IN_7 |
PA15 |
|
SIM_AN_IN_8 |
PC0 |
|
SIM_AN_IN_9 |
PC1 |
|
SIM_AN_IN_10 |
PC2 |
|
SIM_AN_IN_11 |
PC3 |
|
SIM_AN_IN_12 |
PD4 |
|
SIM_AN_IN_13 |
PD5 |
|
SIM_AN_IN_14 |
PD6 |
|
SIM_AN_IN_15 |
PD7 |
|
V30V_CTRL_1 |
PA11 |
3.3V input signal to control analog output 0-30V |
V30V_CTRL_2 |
PA12 |
3.3V input signal to control analog output 0-30V |
|
The signals SIM_AN_IN_0, SIM_AN_IN_5, SIM_AN_IN_8, SIM_AN_IN_9, SIM_AN_IN_10 and SIM_AN_IN_11 are used for other purposes (supply voltage calibration and motor current simulation - see below). Do not use those inputs for other purposes. |
Digital IOs bidirectional level shifter
| Signal name | miniHIL target connector |
|---|---|
SIM_DIO_0 |
PD10 |
SIM_DIO_1 |
PD11 |
SIM_DIO_2 |
PD12 |
SIM_DIO_3 |
PD13 |
SIM_DIO_4 |
PD14 |
SIM_DIO_5 |
PD15 |
SIM_DIO_6 |
PE8 |
SIM_DIO_7 |
PE9 |
SIM_DIO_8 |
PE10 |
SIM_DIO_9 |
PE11 |
SIM_DIO_10 |
PE12 |
SIM_DIO_11 |
PE13 |
SIM_DIO_12 |
PE14 |
SIM_DIO_13 |
PE15 |
SIM_DIO_14 |
PF10 |
SIM_DIO_15 |
PF11 |
SIM_DIO_16 |
PF12 |
SIM_DIO_17 |
PF13 |
SIM_DIO_18 |
PF14 |
SIM_DIO_19 |
PF15 |
SIM_DIO_20 |
PG4 |
SIM_DIO_21 |
PG5 |
SIM_DIO_22 |
PG6 |
SIM_DIO_23 |
PG7 |
|
The signals SIM_DIO_22 and SIM_DIO_23 are reserved for I2C communication with the board. Do not use those pins for other purposes. |
Unidirectional 3.3V → 5V level shifter with tristate option
| Signal name | miniHIL target connector | comment |
|---|---|---|
SO_00 |
PB8 |
Digital input only (direction miniHIL → 5V adapter) |
SO_01 |
PB10 |
Digital input only (direction miniHIL → 5V adapter) |
SO_02 |
PB12 |
Digital input only (direction miniHIL → 5V adapter) |
SO_03 |
PB14 |
Digital input only (direction miniHIL → 5V adapter) |
SO_EN_00 |
PB9 |
LOW enables tristate output |
SO_EN_01 |
PB11 |
LOW enables tristate output |
SO_EN_02 |
PB13 |
LOW enables tristate output |
SO_EN_03 |
PB15_PA7 |
LOW enables tristate output |
SO_EN_04 |
PB3 |
LOW enables tristate output |
SO_EN_05 |
PB4 |
LOW enables tristate output |
SO_EN_06 |
PB5 |
LOW enables tristate output |
SO_EN_07 |
PB6 |
LOW enables tristate output |
SO_EN_08 |
PA2 |
LOW enables tristate output |
SO_EN_09 |
PA3 |
LOW enables tristate output |
SO_EN_10 |
PF4 |
LOW enables tristate output |
SO_EN_11 |
PF5 |
LOW enables tristate output |
|
Signals SPI_DIO_0, SIM_DIO_1, SIM_DIO_2, SIM_DIO_3, SIM_DIO_4, SIM_DIO_5, SIM_DIO_6 and SIM_DIO_7 are connected directly to the above level shifter and are controlled by SO_EN_04, SO_EN_05, SO_EN_06, SO_EN_07, SO_EN_08, SO_EN_09, SO_EN_10 and SO_EN_11 respectively. |
Target connector left (J1, 36 positions)
| Pin number | signal name | comment |
|---|---|---|
1 |
A_OUT_0 |
|
2 |
A_OUT_1 |
|
3 |
5V |
5V power supply |
4 |
V_SUP |
adjustable target power supply |
5 |
A_OUT_2 |
|
6 |
A_OUT_3 |
|
7 |
RST_TAR |
target reset |
8 |
3.3V |
3.3V power supply |
9 |
GND |
|
10 |
A_OUT_4 |
|
11 |
A_OUT_5 |
|
12 |
A_OUT_6 |
|
13 |
A_OUT_7 |
|
14 |
V30V_OUT_2 |
0-30V low current analog signal |
15 |
V30V_OUT_1 |
0-30V low current analog signal |
16 |
A_OUT_8 |
|
17 |
A_OUT_9 |
|
18 |
A_OUT_10 |
|
19 |
A_OUT_11 |
|
20 |
A_OUT_12 |
|
21 |
A_OUT_13 |
|
22 |
A_OUT_14 |
|
23 |
A_OUT_15 |
|
24 |
COM_CUR_OPV |
simulated current |
25 |
MS_OPV |
midpoint voltage corresponding to 0A simulated current |
26 |
GND |
|
27 |
SH3 |
motor phase 3 |
28 |
SH2 |
motor phase 2 |
29 |
SH1 |
motor phase 1 |
30 |
GL3 |
gate low 3 |
31 |
GL2 |
gate low 2 |
32 |
GL1 |
gate low 1 |
33 |
GH3 |
gate high 3 |
34 |
GH2 |
gate high 2 |
35 |
GH1 |
gate high 1 |
36 |
GND |
|
To be able to use V30V_OUT_1 and V30V_OUT_2, SIM_CP_CLK_EN (PB1 on miniHIL target connector) has to be pulled LOW. |
Target connector right (J2, 36 positions)
| Pin number | signal name | comment |
|---|---|---|
1 |
VBAT_12V |
fixed 12V power supply |
2 |
GND |
|
3 |
LIN_BUS |
LIN bus |
4 |
LIN_INH_5V |
inhibit signal of the LIN bus |
5 |
GND |
|
6 |
CAN1 |
CAN RXD or CAN_H, depending on the solder bridge configuration |
7 |
CAN2 |
CAN TXD or CAN_L, depending on the solder bridge configuration |
8 |
T_DI_0 |
either tristate T_DI_0_ or direct connection to SO_00 (configurable via solder bridges) |
9 |
T_DI_1 |
either tristate T_DI_1_ or direct connection to SO_01 (configurable via solder bridges) |
10 |
T_DI_2 |
either tristate T_DI_2_ or direct connection to SO_02 (configurable via solder bridges) |
11 |
T_DI_3 |
either tristate T_DI_3_ or direct connection to SO_03 (configurable via solder bridges) |
12 |
T_DIO_0_ |
either 5V T_DIO_0 or tristate T_DI_4 |
13 |
T_DIO_1_ |
either 5V T_DIO_1 or tristate T_DI_5 |
14 |
T_DIO_2_ |
either 5V T_DIO_2 or tristate T_DI_6 |
15 |
T_DIO_3_ |
either 5V T_DIO_3 or tristate T_DI_7 |
16 |
T_DIO_4_ |
either 5V T_DIO_4 or tristate T_DI_8 |
17 |
T_DIO_5_ |
either 5V T_DIO_5 or tristate T_DI_9 |
18 |
T_DIO_6_ |
either 5V T_DIO_6 or tristate T_DI_10 |
19 |
T_DIO_7_ |
either 5V T_DIO_7 or tristate T_DI_11 |
20 |
T_DIO_8_ |
either 5V T_DIO_8 or 3.3V SIM_DIO_8 |
21 |
T_DIO_9_ |
either 5V T_DIO_9 or 3.3V SIM_DIO_9 |
22 |
T_DIO_10_ |
either 5V T_DIO_10 or 3.3V SIM_DIO_10 |
23 |
T_DIO_11_ |
either 5V T_DIO_11 or 3.3V SIM_DIO_11 |
24 |
T_DIO_12_ |
either 5V T_DIO_12 or 3.3V SIM_DIO_12 |
25 |
T_DIO_13_ |
either 5V T_DIO_13 or 3.3V SIM_DIO_13 |
26 |
T_DIO_14_ |
either 5V T_DIO_14 or 3.3V SIM_DIO_14 |
27 |
T_DIO_15_ |
either 5V T_DIO_15 or 3.3V SIM_DIO_15 |
28 |
T_DIO_16_ |
either 5V T_DIO_16 or 3.3V SIM_DIO_16 |
29 |
T_DIO_17_ |
either 5V T_DIO_17 or 3.3V SIM_DIO_17 |
30 |
T_DIO_18_ |
either 5V T_DIO_18 or 3.3V SIM_DIO_18 |
31 |
T_DIO_19_ |
either 5V T_DIO_19 or 3.3V SIM_DIO_19 |
32 |
T_DIO_20_ |
either 5V T_DIO_20 or 3.3V SIM_DIO_20 |
33 |
T_DIO_21_ |
either 5V T_DIO_21 or 3.3V SIM_DIO_21 |
34 |
T_DIO_22_ |
I2C for motor current simulation |
35 |
T_DIO_23_ |
I2C for motor current simulation |
36 |
GND |