Stmicroelectronics Um2963 Steval-ctm012v1 Evaluation Board User Manual

Stmicroelectronics Um2963 Steval-ctm012v1 Evaluation Board User Manual

STMicroelectronics-LOGO

STMicroelectronics UM2963 STEVAL-CTM012V1 Evaluation Board

STMicroelectronics-UM2963-STEVAL-CTM012V1-Evaluation-Board-PRODUCT-IMAGE

Getting started with the STEVAL-CTM012V1 evaluation board for 250 W  mainstream compressors

Introduction

The STEVAL-CTM012V1 evaluation board is a three-phase inverter based on the STSPIN32F0601Q controller, which embeds a 3-phase 600 V gate driver and an Arm® Cortex®-M0 STM32 MCU.
The power stage features STD8N60DM2 MOSFETs.
The board supports both one-shunt and two- plus one-shunt sensing topology. You can set the shunt topology by opportunely populating a set of jumpers.
Moreover, you can implement a sensor less field-oriented control (FOC). This allows driving permanent magnet synchronous motors (PMSMs) and brushless DC (BLDC) motors to cover a wide range of applications, such as refrigerator compressors, pumps, fans, and industrial appliances.
The STEVAL-CTM012V1 evaluation board is compatible with a wide range of input voltages. It includes a power supply stage with the VIPER122 in buck configuration that generates +15 V and +3.3 V supply voltages required by the application.
The companion firmware is X-CUBE-MCSDK, available for download on www.st.com.
You can compile, debug, and configure the firmware through the STM32CubeIDE and B-STLINK-ISOL plus STLINK-V3SET.
SWD and UART TX-RX connectors are also available.
Figure 1. STEVAL-CTM012V1 evaluation boardSTMicroelectronics-UM2963-STEVAL-CTM012V1-Evaluation-Board-01

Getting started

Safety and operating instructions

General terms
Warning: During assembly, testing, and normal operation, the evaluation board poses several inherent hazards, including bare wires, moving or rotating parts, and hot surfaces. There is danger of serious personal injury and damage to property if you improperly use or incorrectly install the board or its components. The board is not electrically isolated from the AC-DC input. The evaluation board is directly linked to the mains voltage. No insulation is ensured between the accessible parts and the high voltage. All measuring equipment must be isolated from the mains before powering the board. When using an oscilloscope with the demo, it must be isolated from the AC line. This prevents shock that derives from touching any single point in the circuit, but does not prevent shock when touching two or more points in the circuit.

All operations involving transportation, installation, and use, as well as maintenance, have to be carried out by skilled technical personnel (national accident prevention rules must be observed). For the purpose of these basic safety instructions, “skilled technical personnel” are considered as suitably qualified people who are familiar with the installation, use, and maintenance of power electronic systems.

Intended use of the board
The STEVAL-CTM012V1 evaluation board is designed for evaluation purposes only and must not be used for electrical installations or machinery.
The documentation details technical data and information about the power supply conditions that have to be strictly observed.

Evaluation board installation

  • The installation and cooling of the evaluation board must be in accordance with the specifications and target applications.
  • The motor drive converters must be protected against excessive strain. In particular, components should not be bent, or isolating distances altered during transportation or handling.
  • No contact must be made with other electronic components and contacts.
  • The board contains electrostatically sensitive components that are prone to damage if used incorrectly. Do not mechanically damage or destroy the electrical components (potential health risks).

Evaluation board operation
NOTE: Do not touch the evaluation board after it has been disconnected from the voltage supply as several parts and power terminals containing potentially energized capacitors need time to discharge.

A system architecture that supplies power to the STEVAL-CTM012V1 evaluation board must be equipped with additional control and protective devices in accordance with the applicable safety requirements (that is, compliance with technical equipment and accident prevention rules).

CAUTION: Follow the safety recommendations to operate the board. Use proper PPE, such as protective shields and glasses to avoid injuries due to malfunctions.

Features
  • Complete system solution made by ready-to-use hardware and firmware
  • Fitting wide range of applications supplied from the mains, rated up to 250 W:
    • refrigerator compressors
    • pumps and fans
    • Industrial appliances
  • Very low stand-by power consumption and overcurrent/undervoltage protections
  • Based on STSPIN32F0601Q intelligent 3-phase motor controller with embedded STM32
  • STD8N60DM2 MOSFETs
  • Inverter power stage based on STGD5H60DF IGBT rated 600 V and 5 A
  • Compact size: 7.5 x 11.2 cm
  • Equipped with proven sensorless field-oriented control (FOC) firmware in one-shunt or 2+1 shunt topology
  • RoHS compliant
Target applications
  • Three-phase motor drivers
  • Fans
  • Pumps
  • Refrigerator compressors
  • Industrial appliances
  • Inverters

Hardware and software requirements

To use the STEVAL-CTM012V1 evaluation board, you need the following software and hardware:

  • A Windows PC (XP, Vista, Win 7, Win 8, or Win 10) to install the software package;
  • B-STLINK-ISOL plus STLINK-V3SET;
  • An isolated USB-to-UART wire to connect the board to the PC (optional);
  • X-CUBE-MCSDK (v5.3 or later);
  • STM32CubeMX (v4.24.0 or later);
  • A three-phase brushless PMSM DC motor with compatible voltage and current ratings;
  • AC mains power supply or external DC power supply
  • Any of the supported IDEs:
    • IAR Embedded Workbench® for Arm® (v7.80.4)
    • Keil® MDK tools (v5.24.2 or later)
    • Ac6 System Workbench (v2.3.0 or later)
    • STM32CubeIDE

Hardware description and configuration

Board components

The figures below show the position of the main circuitry blocks of the board.

Figure 2. STEVAL-CTM012V1 main components (top view)STMicroelectronics-UM2963-STEVAL-CTM012V1-Evaluation-Board-02Figure 3. STEVAL-CTM012V1 main components (bottom view)STMicroelectronics-UM2963-STEVAL-CTM012V1-Evaluation-Board-03

Shunt resistor configuration

You can configure the shunt resistors according to the desired operation:

  • SR1 = 0 Ω and SR2 = 0 Ω to operate in single shunt mode set by SR3 value = 0.1 ohm (default configuration);
  • Two-shunt plus one-shunt mode by setting:
    • SR1 and SR2 to the desired value (that is SR1=0.1 Ω and SR2= 0.1 Ω);
    • SR1: shunt for U phase current sensing;
    • SR2: shunt for V phase current sensing;
    • SR3: shunt for overcurrent protection.

Figure 4. STEVAL-CTM012V1 – shunt configurationSTMicroelectronics-UM2963-STEVAL-CTM012V1-Evaluation-Board-04

Overcurrent detection and current-sensing measurement

The STEVAL-CTM012V1 evaluation board implements overcurrent protection based on the STSPIN32F0601Q integrated comparator.
The SR3 shunt resistor measures the load current that brings the voltage signal to the CIN pin. When the phase peak current exceeds the selected threshold, the integrated comparator is triggered and all the power switches
are disabled. Power switches are enabled again when the current falls below the threshold and the output disable time expires, thus implementing a current limitation control.
By default, the evaluation board has an overcurrent threshold set to IOC_typ= 4.6 A and a restart time after fault detection of ~28 µs. You can change these values by changing SR3, C18, and R14.

Bus voltage circuit

The STEVAL-CTM012V1 evaluation board features bus voltage sensing.
You can set this signal through a voltage divider from the motor supply voltage (VBUS – R65, R66, and R5) and send it to the PA0 GPIO (ADC channel 0) of the embedded MCU. The input voltage is then downsized of a 200x factor.

Firmware debug

The “STEVAL-CTM01xV1 1shunt_FOC” folder contains a reference firmware generated for IAR v8.5. It works on the evaluation board with one shunt resistor (default configuration).
You can download the firmware through the SWD port as described in 5.
You can also generate the firmware and download it on the MCU through the SWD port.
The diagram below shows the workflow of the firmware generation and application debug process.
Figure 5. STEVAL-CTM012V1 – X-CUBE-MCSDK workflowSTMicroelectronics-UM2963-STEVAL-CTM012V1-Evaluation-Board-05

Note: To generate the firmware by using X-CUBE-MCSDK, follow the procedure below.
In this example, we use X-CUBE-MCSDK version 5.4.4, but you can use later versions, too.
Step 1. Launch X-CUBE-MCSDK.
Step 2. To start with an environment already set for the evaluation board, load the configuration file provided with the firmware package, named “STEVAL-CTM01xV1 1shunt_FOC.stmcx”.
Step 2a. Choose [Load Project] and select the file.
Step 2b. Alternatively, create a new project by selecting [New Project]>[Inverter]>[Custom board] and follow the next steps.
Step 3. Configure the motor parameters, start-up sequence, and all the relevant parameters according to the target application, as per the user manual in [Documentation]>[’Getting started with STM32 motor control SDK v5.x’].

Figure 6. X-CUBE-MCSDK configuration optionsSTMicroelectronics-UM2963-STEVAL-CTM012V1-Evaluation-Board-06

Figure 7. X-CUBE-MCSDK configuration example (1 of 2)

STMicroelectronics-UM2963-STEVAL-CTM012V1-Evaluation-Board-07

Figure 8. X-CUBE-MCSDK configuration example (2 of 2)STMicroelectronics-UM2963-STEVAL-CTM012V1-Evaluation-Board-08Step 4. Click on the generate icon.

You can then generate the project according to your selected IDE environment.
The X-CUBE-MCSDK motor control workbench calls the STM32CubeMX in background to generate the project frame in the selected IDE.
When the firmware generation starts, a progress window shows that the script is running. When finished, the tip window appears. The user information table is updated accordingly.

Figure 9. X-CUBE-MCSDK firmware generationSTMicroelectronics-UM2963-STEVAL-CTM012V1-Evaluation-Board-9Step 5. After project generation, open the project file, compile, and download it onto the STSPIN32F0601Q device.

Figure 10. Project opened in the selected IDESTMicroelectronics-UM2963-STEVAL-CTM012V1-Evaluation-Board-10

Figure 11. Project compiledSTMicroelectronics-UM2963-STEVAL-CTM012V1-Evaluation-Board-11

How to use the board

To start your project with the STEVAL-CTM012V1 evaluation board:
Step 1. Connect the motor to the CON_UVW connector.
Important: Pay attention to the motor phase sequence.
Step 2. Supply the evaluation board through the AC_IN AC mains connector.
Step 3. Develop your application using the STM32 FOC MC library.

Schematic diagrams

Figure 12. STEVAL-CTM012V1 circuit schematic (1 of 2)STMicroelectronics-UM2963-STEVAL-CTM012V1-Evaluation-Board-12

Figure 13. STEVAL-CTM012V1 circuit schematic (2 of 2)STMicroelectronics-UM2963-STEVAL-CTM012V1-Evaluation-Board-13

Bill of materials

Table 1. STEVAL-CTM012V1 bill of materials

ItemQ.tyRef.Part/ValueDescriptionManufacturerOrder code
 

 

 

1

 

 

 

8

 

 

 

D1, D6, D7-12

 

 

BAT46ZFILM, SOD-123

100 V, 150 mA SMD

general- purpose signal Schottky diode

 

 

 

ST

 

 

 

BAT46ZFILM

21C170805, 1.2 nF, 50 V,

±10%

CapacitorKyocera AVX08055C122K4T2A
 

3

 

12

C7, C9, C11, C13, C16, C20, C22-25, C32, C39 

0805, 50 V, ±10%

 

Capacitors

 

Wurth Elektronik

 

885012207098

43C8, C36-37150 pF, 0805, 50 V,

±10%, C0G/NP0

Ceramic capacitorsWurth Elektronik885012007058
52C18, C210805, 10 nF, 50 V,

±10%

CapacitorsWurth Elektronik885012207092
61C121500 pF, 0805, 50 V, C0G/NP0Ceramic capacitorWurth Elektronik885012007064
71C680805, 2.2 nF, 50 V,

±10%

CapacitorWurth Elektronik885012007065
82C27, C290805, 20 pF, 50 V,

±5%

CapacitorsKEMETC0805X200J5GACTU
92C26, C280805, 33 pF, 50 V,

±5%

CapacitorsKyocera AVX08055C330JAT2A
101C140805, 470 nF, 50 V,

±10%

CapacitorTaiyo YudenUMK212C7474KGHTE
113C2-C3, C510 µF, 0805, 25 VCeramic capacitorsTaiyo YudenTMK212BBJ106KG-T
 

12

 

1

 

C59

CBB61, 0.1 µF, 630

V, through-hole, P = 15 mm 630 V, ±10%

 

Capacitor

 

Panasonic

 

ECQ-E6104KFA

 

13

 

2

 

C109-110

CC, Y1, 471, 250

V, through-hole, P =

7.5 mm, 250 VAC,

±10%

 

Capacitors

 

Panasonic

 

ECW-F2474JAB

141C1010 µF, Ø5*L11, 50

V, ± 20%

CapacitorWurth Elektronik860130673001
151C15EC, 330 µF, 35 V Ø10*L12.5CapacitorWurth Elektronik860020575013
161C6EC, 330 µF, 450 V Ø30*L51CapacitorWurth Elektronik861021485026
171C19470 µF, Ø8*L122,

35 V, ±20%

Aluminum capacitorPanasonicEEU-FR1V471L
182C1, C40.33 µF, 275 VAC, pitch 15 mmFilm capacitorsWurth Elektronik890324025034CS
191AC_INCON_2PINA, P =7.92 mmConnector headerMolex0359790210
201JP3CON_2PIN_B2B,
Through hole,P=2.5mm
Connector headerSamtecTSW-101-07-F-D
21 

2

SWD UARTCON_4PIN, through hole,P=2.54mmHeader spacer connectorAmphenol75970-3BB-04LF
221TESTCON_8PIN, through hole,P=2.54mmConnector headerAmphenol78511-408HLF
231MOTORCON_UVW, through holeConnector headerMolex0010634037
241D4DIOZ_1N4745A, 16V, 1W, LL-41Zener diodeVishay Semiconductor Diodes DivisionZM4745A-GS08
251BD1DIO_DB_KBJ608, KBJBridge rectifierDiodes IncorporatedKBJ608G
261D3DIO_LED, 0805Red LEDVisual Communicatio ns Company – VCCCMD17-21VRD/TR8
271F1FUSE_T3.15A-250

VAC through hole,P=5.08mm 250V

FuseBel Fuse Inc.RST 3.15-BULK
281L11 mH 800 mA 1.15

ohm, pitch 5 mm

Fixed inductorWurth Elektronik7447480102
291L2CMC 3.9 mH 1 A 2LN THCommon mode chokeWurth Elektronik7448640412
301U6L78L33ACUTRPositive voltage regulatorSTL78L33ACUTR
311RV1MOV_681High surge varactorWurth Electronic820415511B
321R1NTC_5D15,

through-hole, P = 7.5 mm, 5 Ω ±20%

ThermistorEPCOS – T ElectronicsB57234S0509M051
331ISO1PC817, DIP-4opt isolator transistorTaiwan Semiconductor CorporationTPC817C C9G
346R31-32, R37, R39, R41-42RES_0805_10R, 0805, 10.0 Ω

(10R0) ±1%

ResistorsRohmSFR10EZPF10R0
354R12, R17, R57-58RES_0805_220R, 0805, 220.0 Ω(10R0) ±1%ResistorsRohmKTR10EZPF2200
366R20-21, R23, R26-27, R29RES_0805_510R, 0805, 510 Ω ±1%ResistorsRohmKTR10EZPF5100
378R5, R14, R28, R30, R33-36RES_0805_10K, 0805, 10 kΩ ±1%ResistorsRohmSFR10EZPF1002
382R46, R50RES_0805_12K, 0805, 12 kΩ ±1%ResistorsRohmKTR10EZPF1202
391R10RES_0805_17.4K, 0805, 17.4 kΩ ±1%ResistorRohmKTR10EZPF1742
409R6, R15-16, R25, R45, R48-49, R52, R60RES_0805_1K, 0805, 1 kΩ ±1%ResistorsRohmKTR10EZPF1001
411R38RES_0805_2.2K, 0805, 2.2 kΩ ±1%ResistorRohmSFR10EZPF2201
421R8RES_0805_33K, 0805, 33 kΩ ±1%ResistorRohmKTR10EZPF3302
432R47, R51RES_0805_5.1K, 0805, 5.1 kΩ ±1%ResistorsRohmSFR10EZPF5101
441R9RES_0805_9.1K, 0805, 9.1 kΩ ±1%ResistorRohmSFR10EZPF9101
452R65-66RES_1206_1M, 1206, 1 mΩ ±1%ResistorsRohmKTR18EZPF1004
462SR3RES_2010_0.1 ohm 2010 0.1 Ω ±1%ResistorVishayWFMB2010R1000FEA
471SR1-SR2RES_2010_0OHM, 2010, 0 ΩResistorsVishayCRCW20100000Z0EFHP
486Q1-6STD8N60DM2, DPAKN-channel 600 V, 550

mOhm typ., 8 A MDmesh DM2 power MOSFET in a DPAK

package

STSTD8N60DM2
491U2STSPIN32F0601Q, TQFP 10×10 64PIN/ QFN10x10 72PIN600 V three- phase controller with MCUSTSTSPIN32F0601Q
502D2 D5STTH1L06A, SOD-123F600 V, 1 A

low drop ultrafast diode

STSTTH1L06A
511U3TSV912ID, SO8Wide bandwidth (8MHz) rail- to-rail input/ output 5 V CMOS op-

amp

STTSV912ID
521U4VIPER122, SSOP10High-voltage converterSTVIPER122
531PCB113x76x1.6mmFR4 TG 140,

CU thickness 35 microns

AnyAny

Board versions

Table 2. STEVAL-CTM012V1 versions

Finished goodSchematic diagramsBill of materials
STEVAL$CTM012V1A (1)STEVAL$CTM012V1A schematic diagramsSTEVAL$CTM012V1A bill of materials
  1. This code identifies the STEVAL-CTM012V1 evaluation board first version.

References

  • STSPIN32F0601Q datasheet
  • UM2380: “STM32 motor control SDK v5.x tools”
  • UM1718: “STM32CubeMX for STM32 configuration and initialization C code generation”
  • UM0892: “STM32 ST-LINK utility software description”

Revision history

Table 3. Document revision history

DateRevisionChanges
13-Jan-20221Initial release.
07-Feb-20222Updated Section 1.1.4 Evaluation board operation.
05-May-20223Updated introduction.

IMPORTANT NOTICE – 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 acknowledgment.
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. For additional information about ST trademarks, refer to www.st.com/trademarks. 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.
© 2022 STMicroelectronics – All rights reserved

Documents / Resouces

Download manual
Here you can download full pdf version of manual, it may contain additional safety instructions, warranty information, FCC rules, etc.


Related Manuals