input/output expansion board for STM32 Nucleo€¦ · The X-NUCLEO-PLC01A1 is a ready-to-use PCB...
Transcript of input/output expansion board for STM32 Nucleo€¦ · The X-NUCLEO-PLC01A1 is a ready-to-use PCB...
July 2015 DocID028079 Rev 1 1/16
www.st.com
UM1918 User manual
Getting started with the X-NUCLEO-PLC01A1 industrial input/output expansion board for STM32 Nucleo
Introduction The X-NUCLEO-PLC01A1 is an expansion board designed to build basic PLC (programmable logic controller) applications. Plugged onto any STM32 Nucleo board through the Arduino UNO R3 connectors, it results in a compact industrial PLC capable of managing eight analog inputs and eight outputs through the SPI peripheral. The 24 V power supply makes it possible to manage industrial range inputs (i.e. sensors, valves) and outputs (i.e. lamps, alarms). The board is not intended to utilize all of the features of the CLT01-38SQ7 and the VNI8200XP devices. The X-NUCLEO-PLC01A1 embeds diagnostics and fault LEDs, as well as activity status LEDs for all channels in input and output. Compatibility with the STM32 Nucleo family of boards as well with other expansion boards is assured by the use of Arduino UNO R3 connectors, while the board schematics, bill of materials, Gerber files, drivers and firmware are available for download on www.st.com.
Figure 1: Industrial input/output expansion board based on the CLT01-38SQ7 and VNI8200XP
Contents UM1918
2/16 DocID028079 Rev 1
Contents
1 Description....................................................................................... 3
2 Features ........................................................................................... 4
3 Hardware and layout description ................................................... 5
4 X-NUCLEO-PLC01A1 assembly drawing ....................................... 6
5 X-NUCLEO-PLC01A1 board powering and startup ....................... 7
6 Schematic diagrams ........................................................................ 8
7 Bill of material ................................................................................ 12
8 Revision history ............................................................................ 15
UM1918 Description
DocID028079 Rev 1 3/16
1 Description
To perform industrial IO (input/output) management, the X-NUCLEO-PLC01A1 is equipped with CLT01-38SQ7 and VNI8200XP ICs. Both devices on the board work through the SPI peripheral, and as such any STM32 Nucleo board to which it is connected can implement an industrial PLC application. Both devices support 8- and 16-bit SPI interfaces for device command and control diagnostics. The board is equipped with a digital isolator in order to assure SPI safe operation between the X-NUCLEO-PLC01A1 and the STM32 Nucleo board. The VNI8200XP includes advanced protection and fault detection features. CLT01-38SQ7 provides protection and isolation in industrial operating conditions as well as an “energy-less” status indication for each of the eight input channels, with minimal power consumption. It is suited for situations that require test standards IEC61000-4-2 8 kV and 15 kV to be met. Both the CLT01-38SQ7 and the VNI8200XP are designed to meet the most common industrial requirements (i.e. IEC61000-4-2, IEC61000-4-4, IEC61000-4-5 or IEC61131-2). For more thorough evaluation of the individual products, it is recommended to refer to their single respective evaluation boards, available on st.com.
Features UM1918
4/16 DocID028079 Rev 1
2 Features
The X-NUCLEO-PLC01A1 is a ready-to-use PCB (printed circuit board) including:
8x input with CLT01-38SQ7, high-speed protected digital termination array
8x output with VNI8200XP, high-side solid state relay
Status LEDs: Fault, Thermal, Power
IO (input/output) activity LEDs
24 V power supply
Compatible with Arduino UNO R3 connector
A reverse polarity diode is part of the input stage. As a result, when a 24 V supply is applied to the input connector, the supply voltage on the CLT01-38SQ7 device is given by: Vsupply – VFWD, where VFWD is the voltage applied on the reverse diode.
Capacitors C15 and C19 are not mounted. They are only needed to perform common mode surge tests.
UM1918 Hardware and layout description
DocID028079 Rev 1 5/16
3 Hardware and layout description
The X-NUCLEO-PLC01A1 board adds to any STM32 Nucleo board the capabilities of a compact industrial PLC with 8 inputs and 8 outputs. This is possible through SPI management as depicted in the functional block diagram below.
Figure 2: Functional block diagram
X-NUCLEO-PLC01A1 assembly drawing UM1918
6/16 DocID028079 Rev 1
4 X-NUCLEO-PLC01A1 assembly drawing
The main components of the board are specified in the drawing below. The X-NUCLEO-PLC01A1 is shaped in such a way as to allow easy access to the STM32-Nucleo board when both boards are connected. Input and output channels are accessible through the screw connectors placed on the low side of the X-NUCLEO-PLC01A1 (connectors J8 and J10, respectively), and each channel is associated to one LED in order to indicate its activity and status. Another three LEDs are provided on the board to provide status and diagnostic information for the VNI8200XP device (temperature warning, fault and Power Good detection). The SPI selector allows the CLT01-38SQ7 device to be managed in 8-bit or 16-bit bus mode.
Figure 3: Top assembly view
UM1918 X-NUCLEO-PLC01A1 board powering and startup
DocID028079 Rev 1 7/16
5 X-NUCLEO-PLC01A1 board powering and startup
The following steps must be followed to run the X-NUCLEO-PLC01A1:
1. Plug the X-NUCLEO-PLC01A1 onto a STM32 Nucleo board 2. Connect the STM32 Nucleo board to a PC via a standard Type A / mini B USB cable 3. Download the firmware on the STM32 microcontroller hosted on the STM32 Nucleo
board 4. Supply 24 V to the X-NUCLEO-PLC01A1 board through the J8 connector 5. The X-CUBE-PLC1 demonstration firmware is ready to run: connect any of the 8
inputs on the J8 connector to see the corresponding output on the J10 connector capable of driving a load (i.e. short-circuit input “x” with the 24 V and connect the corresponding output “x” to a load).
Schematic diagrams UM1918
8/16 DocID028079 Rev 1
6 Schematic diagrams
Figure 4: X-NUCLEO-PLC01A1 schematic, part 1
SPI activity LEDs
DNMDNM
SPI_SCK
D2
SPI Activity LEDR15 330R
Morpho Connectors
D0D1D2D3D4D5D6D7D8D9D10D11D12D13
AVDDD14D15
A5A4A3A2A1A0
VIN
5V+3V3NRST+3V3
CN10
Morpho Connector
13579
1113151719212325272931333537
2468101214161820222426283032343638
C1 100nF
CN7
Morpho_Connector
13579
1113151719212325272931333537
2468101214161820222426283032343638
C2 100nF
Nucleo Connectors
Note :-- Al l Resistors in this section should be SMD080 5
DNM
D13
D12
D10
D9
D11
D6
D4
D3
D2
D5
NRST
+3V3
VIN
5V
D15
D14
AVDD
D1
D0
A2
A3
A4
A5
A0
A1
D8
D7
OUT_EN
SPI_CS2
SPI_CS1
SPI_MISO
SPI_MOSI
SPI_SCK
VCC_uc
SPI_SCK
CN9
HEADER 8
8
7
6
5
4
3
2
1
R13 0E
J5
1 2
CN8
HEADER 6
1
2
3
4
5
6
R5
0E
CN5
HEADER 10
1
2
3
4
5
6
7
8
9
10
R1
0E
R6 0E
CN6
HEADER 8
1
2
3
4
5
6
7
8
R4
0E
R2
0E R3
0E
UM1918 Schematic diagrams
DocID028079 Rev 1 9/16
Figure 5: X-NUCLEO-PLC01A1 schematic, part 2
24V
Input
CLT_IN1
Vc
Vcs
CLT_IN2
CLT_IN3
CLT_IN4
CLT_IN5
CLT_IN6
CLT_IN7
CLT_IN8
Vinput
Vinput
+24V
PGND
PGND PGND PGND
PGND
R32 2K2
+ C17
100uF/50V
D19
SM15T33CA
C19
4n7/3kV-N.M.
R44
120K
5M1 34R
C5 22nF
R37 2K2
C15
4n7/3kV-N.M.
R30 2K2
C4 22nF
C11 22nFR36 2K2
R29 2K2
D20 STPS1H100A
C12 22nF
C10 22nFR35 2K2
C8 22nF
TP3
1
2K2 24R
R34 2K2
C16
1uF/50V
TP2
1
C7 22nFR33 2K2
C18
33nF/50V
J8
Input_Connector
12345678910
C6 22nF
CLT01-38SQ7
CLT
_IN
1
CLT
_IN
2
CLT
_IN
3
CLT
_IN
4
CLT
_IN
5
CLT
_IN
6
CLT
_IN
7
CLT
_IN
8
CLT_SCK
CLT_MISO
CLT_CS1
CLT
_S
CK
CLT
_M
ISO
Vc
Vcs
CLT
_C
S1
VDD_CLT
VDD_CLT
CS1
SCK
MISO
U1
CLT01-38SQ7
VDD1
DVR2
NC3
SPM4
NC5
NC6
NC7
COMp8
NC9
NC10
NC11
NC12
Vc
13
Vcs
14
CO
Mp
15
IN1
16
IN2
17
IN3
18
IN4
19
CO
Mp
20
IN5
21
IN6
22
IN7
23
IN8
24
NC25NC26NC27NC28NC29NC30COMp31NC32NC33LED834LED735LED636L
ED
537
LE
D4
38
LE
D3
39
LE
D2
40
LE
D1
41
RE
F42
CO
Ms
43
MIS
Oor
/MIS
O44
NC
45
MO
SI
46
SC
K47
CS
48
SU
B49
R41 220R
R25
47K
R38 0E
D14LED4
R26
15k
R39 220R
R27 220R
R28 0E
R40 10K
D13 LED3
J11
31
2
C13
33pF
C3
33pF
D18LED8
C9
100nF/10V D17 LED7
D15 LED5
D11 LED1
C14
33pF
D16LED6
D12LED2
Schematic diagrams UM1918
10/16 DocID028079 Rev 1
Figure 6: X-NUCLEO-PLC01A1 schematic, part 3
VNI8200XP
VN
I_O
UT
_E
N
CS
1V
NI_
WD
MO
SI
V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F
/10
V
R4
52
20
R
R5
12
20
R
C2
82
2n
F/5
0V
C2
9
22
nF
/50
V
C3
7
22
nF
/50
V
C4
3
10
0p
F/5
0V
C3
2
22
nF
/50
V
C4
2
4.7
uF
/10
V
C3
8
10
nF
/10
V
R5
72
20
R
C4
0
33
pF
/10
V
C3
6
22
nF
/50
V
R5
62
20
R
C3
4
22
nF
/50
V
UM1918 Schematic diagrams
DocID028079 Rev 1 11/16
Figure 7: X-NUCLEO-PLC01A1 schematic, part 4
OUTPUT LEDs
COL1
COL0 ROW0
ROW1
ROW2
ROW3
R68 680R
D27 LED3
D31 LED7
R62 680R
R66 680R
D26 LED2
D30 LED6
D29 LED5
D25 LED1
R61 680R
R64 680R
R63 680R
R67 680R
R65 680R
D28 LED4
D32 LED8
Digital isolator
CS2
MOSI
VNI_OUT_EN
+5V0
+5V0
SCK
CS1
MISO
VCC_uc
VCC_uc
SPI_MOSI
OUT_EN
SPI_MISO
SPI_SCK
SPI_CS1
SPI_CS2
U3
Si8661
VDD11
A12
A23
A34
A45
A56
GND18
GND29A6
7B6
10B511B412B313B214B115VDD216
C24
100nF/10V
C22
10uF/6.3V
C23
100nF/10V
Bill of material UM1918
12/16 DocID028079 Rev 1
7 Bill of material Table 1: Bill of material (BOM)
Qty.
Designator Value Part number Comment
Package ref.
4 C9, C23, C24, C27 100 nF C1005X7R1H104K050BB
SMD 0402
9 C3, C13, C14, C20, C25, C26, C40, C44, C45
33 pF C1005C0G1H330J050BA
SMD 0402
17
C4,C5,C6,C7,C8,C10,C11,C12, C29, C30, C31, C32, C34, C35, C36, C37,C28
22 nF C1608X7R1H223K080AA
SMD 0603
2 C15, C19 4.7 nF VY1472M63Y5UQ63V0
Not mounted
Through Hole 10 mm lead spacing
2 C16, C21 1 µF C1608X5R1H105K080AB
SMD 0603
1 C17 100 µF EEE-FTH101XAP
SMD
1 C18 33 nF C1608X7R1H333K080AA
SMD 0603
1 C22 10 µF T491A106M006AT
SMD 1206
2 C38, C39 10 nF C1005X7R1H103K050BB
SMD 0402
1 C33 10 nF C1608X7R1H103K080AA
SMD 0603
1 C41 470 nF C1608X5R1A474K080AA
SMD 0603
1 C42 4.7 µF CGB3B1X5R1A475K055AC
SMD 0603
1 C43 100 pF C1608C0G1H101J080AA
SMD 0603
3 C46, C47, C48 100 pF C1005C0G1H101F050BA
SMD0402
2 C1, C2 100 nF C2012X7R1H104K085AA
SMD 0805
2 CN7, CN10 Morpho connectors
SSQ-119-04-L-D
Through hole 2.54 mm
1 CN5 Header_10 SSQ-110-03-L-S
Mount female type on top, male type on bottom
Through hole 2.54 mm
UM1918 Bill of material
DocID028079 Rev 1 13/16
Qty.
Designator Value Part number Comment
Package ref.
2 CN6, CN9 Header_8 SSQ-108-03-L-S
Mount female type on top, male type on bottom
Through hole 2.54 mm
1 CN8 Header_6 SSQ-106-03-L-S
Mount female type on top, male type on bottom
Through hole 2.54 mm
3 D24, D23, D22 LED LS L29K-G1J2-1-Z Red color
SMD 0603
17
D2, D11, D12, D13, D14, D15, D16, D17, D18, D25, D26, D27, D28, D29, D30, D31, D32
LED LG L29K-G2J1-24-Z Green color
SMD 0603
1 D21 BAT48 BAT48ZFILM
SOD-123
1 D19 SM15T33CA SM15T33CA
SMC_B
1 D20 STPS1H100A STPS1H100A
SMA
1 J5 Jumper_2
Female type jumper to be mounted
Through hole 2.54 mm
1 J8 INPUT_connector
1725711
Through hole 2.54 mm
1 J10 OUTPUT_connector
1725737
Through hole 2.54 mm
1 J11 Jumper_3
Female type jumper to be mounted
Through hole 2.54 mm pitch
1 L1 100 µH SRN4018-101M
SMD
1 R15 330 Ω ERJ-2GEJ331X
SMD 0204
2 R28, R38 0 Ω ERJ-2GE0R00X
SMD 0204
11 R58, R59, R60, R61, R62, R63, R64, R65, R66, R67, R68
680 Ω ERJ-2GEJ681X
SMD 0204
Bill of material UM1918
14/16 DocID028079 Rev 1
Qty.
Designator Value Part number Comment
Package ref.
2 R25, R49 47 kΩ ERJ-2GEJ473X
SMD 0204
1 R26 15 kΩ ERJ-2GEJ153X
SMD 0204
9 R27 ,R39, R41, R45, R50, R51, R52, R56, R57
220 Ω ERJ-2GEJ221X
SMD 0204
9 R29, R30, R32, R33, R34, R35, R36, R37, R42
2.2 kΩ MMA02040C2201FB300
SMD 0204
4 R40, R46, R47, R48 10 kΩ ERJ-2GEJ103X
SMD 0402
1 R43 1.5 MΩ MMA02040C1504FB300
SMD 0204
1 R44 120 kΩ MMA02040C1203FB300
SMD 0204
1 R53 2 kΩ ERJ-3EKF2001V
SMD 0603
1 R54 10 kΩ ERJ-3GEYJ103V
SMD 0603
1 R55 3.3 kΩ ERJ-3EKF3301V
SMD 0603
1 U3 Si Digital Isolator
SI8661BC-B-IS1
16 pin narrow body SOIC
1 U1 CLT01-38SQ7 CLT01-38SQ7
QFN
1 U2 VNI8200XP VNI8200XP
PowerSSO-36
7 R1, R2, R3, R4, R5, R6, R13
0 Ω
Closed
2 Jumper
969102-0000-DA
UM1918 Revision history
DocID028079 Rev 1 15/16
8 Revision history Table 2: Document revision history
Date Version Changes
17-Jul-2015 1 Initial release.
UM1918
16/16 DocID028079 Rev 1
IMPORTANT NOTICE – PLEASE READ CAREFULLY
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications , and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of Purchasers’ products.
No license, express or implied, to any intellectual property right is granted by ST herein.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.
© 2015 STMicroelectronics – All rights reserved