background image

UM0522

Motor control operations

23/39

Table 5.

"3-phase BLAC/DC (trapezoidal)" basic parameters

Parameter name

Description

Poles pairs

The number of pole (north/south) pairs in the motor

Speed regulation

The manner in which to run the motor, either open loop (without speed 
regulation) or closed loop (with speed regulation)

Driving mode

The motor driving mode, current mode or voltage mode

Current bus limitation

The software current limitation value (only in voltage mode), if the current 
flowing inside one (of three) phases of the motor reaches this value 
overcurrent is not generated but the pwm is managed to limit the current at 
this level.

Detection mode

The back EMF (BEMF) detection mode (rotor position), 

only sensorless 

control is allowed in this evaluation board

Alignment phase

Final duty cycle

The percentage of final duty cycle applied at the end of alignment phase 
(only in voltage mode)

Final current

The value of current flowing inside the motor at the end of the

 “alignment 

phase”

 

(only in current mode)

Alignment duration

The duration of the 

“alignment phase”

 

in milliseconds (ms)

Acceleration phase

Mechanical 

acceleration rate

The mechanical acceleration rate of the rotor during the ramp up in RPMs 

(or Hz) per second (alternate between RPM and Hz settings by clicking on 

the “RPM” button)

Duty cycle

The duty cycle percentage during the ramp up (only in voltage mode)

Current reference

The value of current flowing inside one (of three) phases of the motor at the 
end of the 

“acceleration phase”

 

(only in current mode)

Number of Z events 

before auto-switched 

mode

The number of consecutive Z events that occur before the microcontroller 
runs the motor in autoswitched mode

Electrical frequency

Minimum

The minimum target rotor frequency in closed loop, expressed in Hz

Maximum

The maximum target rotor frequency in closed loop, expressed in Hz

Run settings

From RV1

When the “From RV1” checkbox is selected: duty cycle value is defined by 
the RV1 potentiometer (only for voltage mode), or current reference is 
defined by the RV1 potentiometer (only for current mode), or target speed 
is defined by the RV1 potentiometer (only for closed loop) if this box is 
unchecked, the above parameters are set by the user.

Duty cycle

The duty cycle percentage when the motor is run in “open loop” “voltage 
mode”

www.BDTIC.com/ST

Содержание STEVAL-IHM017V1

Страница 1: ...memory The system has been designed to drive a three phase brushless motor with permanent magnet rotor exploiting trapezoidal sensorless control The STEVAL IHM017V1 features complete hardware for deve...

Страница 2: ...T6 microcontroller functions 10 4 1 Main features 10 5 STD5NK52ZD 1 characteristics 12 6 Board electrical characteristics 13 7 Board architecture 14 7 1 Power supply 14 7 2 Power stage 15 7 3 ICC conn...

Страница 3: ...ings 24 8 10 Changing the maximum current allowed by GUI 26 8 11 Compiling the firmware 26 8 12 Programming firmware 27 8 13 Setup option byte 29 8 14 Board connection 30 8 15 Changing the maximum cur...

Страница 4: ...gure 9 Board schematic control block 17 Figure 10 Board schematic power block 18 Figure 11 STVD7 for InDART STX toolset configuration 20 Figure 12 Motor type choice window 22 Figure 13 3 phase BLAC DC...

Страница 5: ...l characteristics 13 Table 4 Configuration h files 21 Table 5 3 phase BLAC DC trapezoidal basic parameters 23 Table 6 3 phase BLAC DC trapezoidal advanced parameters 25 Table 7 Potentiometer functiona...

Страница 6: ...Power MOSFET STD5NK52ZD 1 4 4 A 520 V included 15 V auxiliary power supply connector Programming and debug support via 10 pin ICC connector Three potentiometers for runtime settings Start stop button...

Страница 7: ...n open source C code is available derived from the ST7MC motor control libraries allowing easy customization and extension of control algorithms The core of the control block is constituted of an ST7M...

Страница 8: ...l as information concerning the power supply conditions shall be taken from the documentation and strictly observed 3 3 Evaluation board installation The installation and cooling of the demonstration...

Страница 9: ...with additional control and protective devices in accordance with the applicable safety requirements e g compliance with technical equipment and accident prevention rules Warning Do not touch the boa...

Страница 10: ...ot used in this evaluation board Serial communication interface LINSCI not used in this evaluation board Motor controller MTC peripheral with 6 high sink pulse width modulator PWM output channels asyn...

Страница 11: ...this evaluation board MOSI Master out slave in data not used in this evaluation board SCK Serial clock not used in this evaluation board LINSCI RDI Received data input not used in this evaluation boa...

Страница 12: ...it shown in Table 2 may cause permanent damage to the device Table 2 Absolute maximum ratings Symbol Parameter Value Unit VDS Drain source voltage VGS 0 520 V VDGR Drain gate voltage RGS 20 k 520 V VG...

Страница 13: ...extended periods may affect device reliability 15 V bias current measurement can be useful to check the working status of the board If measured value is considerably greater than typical value it mea...

Страница 14: ...board to feed the drivers and the microcontroller This auxiliary supply can be useful for safety reasons for example it should be used to program or debug the device without feeding the board with hi...

Страница 15: ...urned on by means of R1 and D22 while the turnoff is performed very fast by means of the Q1 transistor It is also possible to use the alternate configuration of the network See Figure 6 To set this co...

Страница 16: ...onnector The ICC connector J7 is used to establish ICC communication for programming debugging purposes The pinout is shown in Figure 8 This connector is compatible with Softec s inDART STX board not...

Страница 17: ...10 1 3 5 7 9 J7 ICC connector HE10 male type 5V C23 470nF 25V C24 470nF 25V C25 470nF 25V R39 10K 5V R40 100K C34 470nF R41 10K R42 10K BB2 R46 1 5K MCO3 HS 1 OSC1 5 OSC2 6 Vss_1 7 Vdd_1 8 PA3 PWM0 A...

Страница 18: ...2 D19 STTH106 1 2 D18 STTH106 1 2 D20 STTH106 C2 2 2uF 25V C4 22nF 50V R24 100K 1 2W C1 BE1 15 5A R64 1 2K R65 1 2K R66 1 2K Neutral Main Phase Main 15V 1 2 J9 230VAC 1 2 CON2 15V Vin 3 GND 2 Vout 1...

Страница 19: ...prevent shocks when touching two or more points in the circuit An isolated AC power supply can be constructed using an isolation transformer and a variable transformer A schematic of this AC power su...

Страница 20: ...smic compiler Installation note 1 Install the Cosmic compiler first Use the default installation folder C Program Files COSMIC CXST7_16Kbite Registration is required before using the product You can p...

Страница 21: ...rm configure indicates the act of selecting a specific driving strategy such as open or closed loop voltage or current mode and so on The setting of customized parameters such as current limitation mo...

Страница 22: ...ars see Figure 12 In this window the user can choose the kind of motor For this evaluation board only the 3 phase BLAC DC motor trapezoidal is available Figure 12 Motor type choice window Press the OK...

Страница 23: ...nment phase in milliseconds ms Acceleration phase Mechanical acceleration rate The mechanical acceleration rate of the rotor during the ramp up in RPMs or Hz per second alternate between RPM and Hz se...

Страница 24: ...dge The B EMF Rising delay coefficient value from 0 to 255 B emf falling edge The B EMF Falling delay coefficient value from 0 to 255 Closed loop parameter only in closed loop Integral coefficient Ki...

Страница 25: ...rectification it is enable or not Deadtime Value of deadtime in s only if Complementary PWM enabled Current loop Current blanking window Time window filter in milliseconds to prevent erroneous sampli...

Страница 26: ...window after a D event in microseconds s Z event counter filter Defines the number of counter events required to validate a Z event Threshold voltage Voltage set in volts for Z detection Demagnetizati...

Страница 27: ...the rebuild all command The project will be compiled and built and an executable file firmware name s19 will be generated inside release folder under the workspace Note 1 Make sure that the following...

Страница 28: ...the user may safely ignore the warning since every kind of compatibility and security test has been carried out by Softec Microsystems 2 Connect the inDART board with the J7 connector using the 10 pi...

Страница 29: ...ttings 9 Click the button near name box and select the binary code S19 to download into the microcontroller and press OK to know which binary code to select see Section 8 11 Compiling the firmware on...

Страница 30: ...D behavior to verify that the firmware has been correctly downloaded 8 14 Board connection After the board has been programmed the system can be configured as shown in Figure 19 This configuration is...

Страница 31: ...e desired threshold is 2 2 A it is required to use R51 200k Note A place holder named R53 in parallel to R51 is also included that can be useful if the calculated value is not a standard value resisto...

Страница 32: ...s started to run After a while LED D13 stays on to indicate idle state 8 18 Potentiometers functionality If enabled during the configuration the three potentiometers R61 R62 R63 can be used to set run...

Страница 33: ...ssing and commutation while 255 means that the delay between zero crossing and commutation is equal to last step time The maximum duty cycle allowed in voltage mode depends on the value of PWM frequen...

Страница 34: ...RH pitch 15 24mm 12 C13 C14 C15 C16 C19 C20 100 pF SMD 1206 13 C17 C22 C39 C48 1 nF SMD 1206 14 C18 N M Not assy 15 C23 C24 C25 C34 470 nF SMD 1206 16 C28 C40 C42 100 nF SMD 1206 17 C30 C49 C51 C52 10...

Страница 35: ...H 44 R4 12 TRH 45 R23 12 SMD 1206 46 R5 R7 R9 R14 R32 R34 220 SMD 1206 47 R10 0 1 3 W TRH 48 R12 R13 R15 R16 R17 R18 82 TRH 49 R19 1 SMD 1206 50 R20 R22 R35 R47 R26 R36 N M Not assy 51 R21 R31 R37 22...

Страница 36: ...code RS 100 1199 12 64 x 10 e distrelec 50k cod 740218 0 82x 10 65 S2 SW PUSH SMD 66 TR1 N M 67 X1 CSTCE16MOV53 RO TRH 3pin 68 15 5A NTC TRH 69 Nylon spacer 10 mm Any Table 8 Bill of materials continu...

Страница 37: ...please refer to 1 ST7MC datasheet complete information about microcontroller features and peripherals 2 ST7MC motor control related application notes complete information about motor control libraries...

Страница 38: ...Revision history UM0522 38 39 11 Revision history Table 9 Document revision history Date Revision Changes 07 Apr 2008 1 Initial release www BDTIC com ST...

Страница 39: ...MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT UNLESS EXPRESSLY...

Отзывы: