Академический Документы
Профессиональный Документы
Культура Документы
User’s Manual
Powersim Inc.
1
DSP Development Board
February 2019
Disclaimer
Powersim Inc. (“Powersim”) makes no representation or warranty with respect to the adequacy or accuracy
of this documentation or the product which it describes. In no event will Powersim or its direct or indirect
suppliers be liable for any damages whatsoever including, but not limited to, direct, indirect, incidental, or
consequential damages of any character including, without limitation, loss of business profits, data,
business information, or any and all other commercial damages or losses, or for any damages in excess of
the list price for the product and documentation.
Powersim Inc.
Email: sales@powersimtech.com
Web: powersimtech.com
2
DSP Development Board
Table of Contents
Chapter 1 - Introduction ...................................................................................................................... 4
1.1 What’s Included .................................................................................................................... 4
1.2 Applications ........................................................................................................................... 5
1.3 Functional Overview ............................................................................................................. 5
1.4 Power Supplies ...................................................................................................................... 6
1.5 DIP Switches .......................................................................................................................... 7
Chapter 2 - Analog Input Interface ...................................................................................................... 9
2.1 Analog Connector J8.............................................................................................................. 9
2.2 AC Voltage Interface Circuit ................................................................................................ 10
2.3 Current Interface Circuit ..................................................................................................... 11
2.4 Voltage/Current Interface Circuit ....................................................................................... 12
2.5 DC Voltage Interface Circuit ................................................................................................ 13
2.6 Digital I/O Connectors J10 and J11 ..................................................................................... 14
Chapter 3 - Motor Control Interface……………………………………………………………….. 15
3.1 Encoder Interface Connector J8 .......................................................................................... 15
3.2 Encoder Interface Circuit..................................................................................................... 15
3.3 Hall Sensor Interface Connector J9 ..................................................................................... 16
3.4 Hall Sensor Interface Circuit ................................................................................................ 16
Chapter 4 - PWM/Digital Signals and Fault Signals……………………………………………....... 17
4.1 PWM Signal Connector J12 ................................................................................................. 17
4.2 Gate Drive Interface Signals ................................................................................................ 18
Chapter 5 - DSP Control Card Interface ............................................................................................. 19
5.1 TI controlCARD Interface Connector J5............................................................................... 19
5.2 DSP controlCARD ................................................................................................................. 22
Chapter 6 - Communication Port and Computer Interface ............................................................... 26
6.1 CAN BUS Interface J3........................................................................................................... 26
6.2 SCI Interface J6 .................................................................................................................... 26
6.3 USB Interface J1 .................................................................................................................. 26
6.4 SPI Interface J2 .................................................................................................................... 27
6.5 JTAG Interface J2 ................................................................................................................. 27
6.6 Interface with PSIM Software ............................................................................................. 28
3
DSP Development Board
Chapter 1 - Introduction
Powersim’s universal DSP Development Board (DSP board) is designed for product development of
power electronics and motor drives that uses TI’s C28xxx series DSPs. The DSP board contains all
necessary filtering and signal conditioning circuits for digital power supplies, motor control, and
other power conversion applications.
This manual describes the functions of the board, and how to use it.
USB Cable
Power Adapter
4
DSP Development Board
1.2 Applications
The DSP control board is designed for digital control of power converters for various applications,
such as digital power supplies, uninterruptible power supplies (UPS), motor drives (including
induction motor, PMSM, BLDC, and switched reluctance motor), and other power conversion
applications such as utility interface of various energy sources (fuel cell, photovoltaic, turbine-
generator, etc.), and power quality control devices.
5
DSP Development Board
Top view
JTAG J2
controlCARD SPI J4
J5
SCI J6 CAN J3
Hall Sensor J9
Power Adapter J13 Encoder J7 Digital I/O J10 & J11 Gate Driver J12
6
DSP Development Board
gate drive interface connector J12 so that the gate driver board (not included) can generate
isolated gate drive power supplies.
7
DSP Development Board
8
DSP Development Board
9
DSP Development Board
10
DSP Development Board
11
DSP Development Board
12
DSP Development Board
The interface circuit will shift the input signal from 0/+7V to 0/+3V (for example, from
3.5+3.5*sin(ωt) to 1.5+1.5*sin(ωt)) before feeding it to DSP ADC. Note that AD_A4in cannot
operate in this type of input.
When the input signals AD_B2in, AD_B4in, AD_A2in, and AD_A4in are 0/+3V (i.e. 1.5+1.5*sin(ωt)),
the DIP switch positions must be set as follows:
S5_4: ON
S5_1, S5_2, S5_3: OFF
S4_4: ON
S4_1, S4_2, S4_3: OFF
S3_4: ON
S3_1, S3_2, S3_3: OFF
S1_4: ON
S1_2, S1_3: OFF
The interface circuit directly feeds input to DSP ADC.
This circuit has a 2nd-order filter with a cut-off frequency of 3kHz.
13
DSP Development Board
WARNING: When making connection or measurement to the connector J10, please handle
with extreme care. DO NOT short circuit the power supply pins (Pins 1 and 2) with any
other pins. Short-circuit will damage the board!
14
DSP Development Board
15
DSP Development Board
R123
POSU POSU_uP
1k D3
R124
POSV POSV_uP
D4
1k
BAT54-04W
R125
POSW POSW_uP
1k
BAT54-04W
C55 C56 C57
100p 100p 100p
BAT54-04W
16
DSP Development Board
WARNING: When making connection or measurement to the connector J12, please handle
with extreme care. DO NOT short circuit the power supply pins (Pins 1, 2, and 3) with any
other pins. Short-circuit will damage the board!
17
DSP Development Board
13 FLTWn Digital Input Gate driver fault from Phase C (from the gate driver)
14 PWMWT PWM Output PWM signal for Phase C (top) (to the gate drive)
15 NC
16 PWMWB PWM Output PWM signal for Phase C (bottom)
17 FLTVn Digital Input Gate driver fault from Phase B
18 PWMVT PWM Output PWM signal Phase B (top)
19 NC
20 PWMVB PWM Output PWM signal for Phase B (bottom)
21 FLTUn Digital Input Gate driver fault from Phase A
22 PWMUT PWM Output PWM signal for Phase A (top)
23 FLTn Digital Input Gate driver fault
24 PWMUB PWM Output PWM signal for Phase A (bottom)
Table 3: PWM signal connector J12 pin assignment
18
DSP Development Board
19
DSP Development Board
20
DSP Development Board
45 GPIO-32 (FLTUn_uP) Digital I/O Gate driver fault Phase A (Fig. 14)
46 GPIO-34 Digital I/O General-purpose digital I/O (Fig. 8)
47 DGND Supply Digital Ground
48 TCK Digital I/O JTAG Test Clock (Fig. 21)
49 TMS Digital I/O JTAG Test Mode Select (Fig. 21)
50 NC
51 V33-ISO Supply Isolated RS-232 +3.3V power supply
52 TX-ISO RS-232 I/O Isolated RS-232 transmit output
53 NC
54 NC
55 NC
56 GND-ISO Isolated RS-232 ground
57 ADC-A0 (Va) Analog Input AC voltage Phase A (Fig. 4)
58 AGND Supply Analog ground
59 ADC-A1 (Vb) Analog Input AC voltage Phase B (Fig. 4)
60 AGND Supply Analog ground
61 ADC-A2 (AD_A2) Analog Input General ADC input (Fig. 6)
62 AGND Supply Analog ground
63 ADC-A3 (Vc) Analog Input AC voltage Phase C (Fig. 4)
64 AGND Supply Analog ground
65 ADC-A4 (AD_A4) Analog Input General ADC input (Fig. 6)
66 NC
67 ADC-A5 (Vdc) Analog Input DC voltage (Fig. 7)
68 GPIO-59 Digital I/O General-purpose digital I/O (Fig. 8)
69 ADC-A6 (AD_A6) Analog Input General ADC input (Fig. 5)
70 GPIO-61 Digital I/O General-purpose digital I/O (Fig. 8)
71 ADC-A7 (AD_A7) Analog Input General ADC input (Fig. 7)
72 GPIO-63 Digital I/O General-purpose digital I/O (Fig. 8)
73 GPIO-01 (G2) PWM I/O PWM Gate Low Phase A (Fig. 14)
74 GPIO-03 (G4) PWM I/O PWM Gate Low Phase B (Fig. 14)
75 GPIO-05 (G6) PWM I/O PWM Gate Low Phase C (Fig. 14)
76 GPIO-7 Digital I/O General-purpose digital I/O (Fig. 8)
77 +5V In (5V0) Supply +5V Digital Power Supply
78 GPIO-9 Digital I/O General-purpose digital I/O (Fig. 8)
79 GPIO-11 Digital I/O General-purpose digital I/O (Fig. 8)
80 GPIO-49 Digital I/O General-purpose digital I/O (Fig. 8)
81 GPIO-85 Digital I/O General-purpose digital I/O (Fig. 8)
82 +5V In (5V0) Supply +5V Digital Power Supply
83 GPIO-13 Digital I/O General-purpose digital I/O (Fig. 8)
84 GPIO-14 Digital I/O General-purpose digital I/O (Fig. 8)
85 GPIO-25 (POSU_uP) Digital I/O Hall sensor Phase U (Fig. 12)
86 GPIO-27 (FLTn_uP) Digital I/O Gate driver fault (Fig. 14)
87 +5V In (5V0) Supply +5V Digital Power Supply
88 GPIO-17 (SDI) Digital I/O SPI Data In (Fig. 20)
89 GPIO-19 (SS) Digital I/O SPI Select (Fig. 20)
90 GPIO-21 (POSW_uP) Digital I/O Hall sensor Phase W (Fig. 12)
21
DSP Development Board
22
DSP Development Board
F28335:
The F28335 DSP has the following main features:
• High-performance floating point 32-Bit CPU (TMS320C28x) with 150 MHz (6.67-ns cycle
time)
• On-chip memory (256K x 16 Flash, 34K x 16 SARAM, 8K x 16 Boot ROM)
• 6-channel DMA controller (for ADC, McBSP, ePWM, XINTF, and SARAM)
• Enhanced control peripherals
o Up to 18 PWM outputs
o Up to 6 HRPWM outputs with 150 ps MEP resolution
o Up to 6 Event Capture inputs
o Up to 2 Quadrature Encoder interface
o Up to 8 32-Bit Timers (6 for eCAPs and 2 for eQEPs)
o Up to 9 16-Bit Timers (6 for ePWMs and 3 XINTCTRs)
• Three 32-Bit CPU Timers
• Serial port peripherals
o Up to 2 CAN modules
o Up to 3 SCI (UART) modules
o Up to 2 McBSP modules (Configurable as SPI)
o One SPI module
o One Inter-Integrated-Circuit (I2C) module
• 12-Bit ADC, 16 channels
o 80-ns conversion rate
o x 8 channel input multiplexer
o Two Sample-and-Hold
o Single/simultaneous conversions
o Internal or external reference
• Up to 88 individually programmable, multiplexed GPIO pins with input filtering
F28035:
The F28035 DSP has the following main features:
• High-efficiency fixed point 32-Bit CPU (TMS320C28x) with 60 MHz (16.67-ns cycle time)
• On-chip memory (64K x 16 Flash, 10K x 16 SARAM, 8K x 16 Boot ROM)
• Three 32-Bit CPU Timers
• Independent 16-Bit Timer in each enhanced Pulse Width Modulator (ePWM)
• Serial port peripherals
o One SCI (UART) module
o Two SPI modules
o One Inter-Integrated-Circuit (I2C) bus
o One Local Interconnect Network (LIN) bus
o One enhanced Controller Area Network (eCAN) bus
23
DSP Development Board
F28027:
The F28027 DSP has the following main features:
• High-efficiency fixed point 32-Bit CPU (TMS320C28x) with 60 MHz (16.67-ns cycle time)
• On-chip memory (Flash, SARAM, OTP, Boot ROM available)
• Three 32-Bit CPU Timers
• Independent 16-Bit Timer in each enhanced Pulse Width Modulator (ePWM)
• Serial port peripherals
o One Serial Communications Interface (SCI) Universal Asynchronous
Receiver/Transmitter (UART) module
o One Serial Peripheral Interface (SPI) module
o One Inter-Integrated-Circuit (I2C) module
• Enhanced Control Peripherals
o ePWM
o High-resolution PWM (HRPWM)
o Enhanced Capture (eCAP) module
o On-Chip temperature sensor
o Comparator
• 12-Bit ADC, 13 channels
o 216-ns conversion rate
o Two Sample-and-Hold
o Single/simultaneous conversions
• Up to 22 individually programmable, multiplexed GPIO pins with input filtering
F28069:
The F28069 DSP has the following main features:
• High-efficiency fixed point 32-Bit CPU (TMS320C28x) with 90 MHz (11.11-ns cycle time)
• On-chip memory (256KB Flash,100KB SARAM, 2KB OTP ROM)
24
DSP Development Board
25
DSP Development Board
26
DSP Development Board
Note that to use the USB connector J1 for serial communication, the DIP switch S7_4 must be in
the ON position.
27
DSP Development Board
28
DSP Development Board
29