Sensorless PMSM Control on MKV46F256 Using Kinetis SDK
|
|
- Madison Lawson
- 5 years ago
- Views:
Transcription
1 Freescale Semiconductor, Inc. Application Note Document Number: AN5004 Rev. 1, 03/2015 Sensorless PMSM Control on MKV46F256 Using Kinetis SDK by: Marek Zeman 1 Introduction This application note represents an addendum to DRM148 Sensorless PMSM Field-Oriented Control. It describes the MCU peripherals used in the application, the hardware setup, and results of the measurement, built using the Freescale SDK suite for Kinetis MCUs. The software package attached to the application note contains applications for two Freescale motor-control development platforms. The Tower System boards TWR-KV46F256 and TWR-MC-LV3PH are used for low-voltage motors, and the high-voltage boards HVP-MC3PH and HVP-KV46F150M are used for the application powered from the mains. Contents 1. Introduction MCU peripherals Interrupts Application operation SDK implementation Project file structure Memory usage and CPU load Hardware setup Conclusion References Acronyms and abbreviated terms Revision history Freescale Semiconductor, Inc. All rights reserved.
2 MCU peripherals 2 MCU peripherals Table 1 summarizes the peripherals of the Kinetis KV46F256 MCU, and their usage in the PMSM sensorless vector-control application. Table 1. Kinetis MKV46F256 peripherals overview Kinetis MKV46F256 peripherals Group Module Number of modules or channels Used in the application Purpose Analog ADC0 ADC1 Comparators Eight channels single-ended or four differential pairs Eight channels single-ended or four differential pairs Four analog comparators, containing a 6-bit DAC and a programmable reference input Three channels Two channels DC-Bus voltage and motor phase currents sensing DAC One 12-bit module SPI One 16-bit module One module MOSFET driver configuration (only for Tower System platform) Communications UART Two modules One module FreeMASTER communication FlexCAN Two modules I 2 C One module eflexpwm One with four submodules Three submodules Generation of a 6-channel PWM for motor control purposes Eight channels Timers FlexTimer PDB One channel Eight channels Two channels for ADC triggering Two channels for DAC triggering PIT Four channels QD One module Other edma 16 channels XBAR Two modules One module Peripheral interconnection 2.1 Enhanced FlexPWM (eflexpwm) configuration The eflexpwm module is a dedicated peripheral enabling the generation of three-phase PWM signals, connected to the MOSFET H-bridge via the the MOSFET pre-driver, depending on the platform used. The configuration of the three PWM submodules used in the application is described in the following subsections. 2 Freescale Semiconductor, Inc.
3 MCU peripherals TWR-KV46F256 board PWM_0 IPBus clock source (150 MHz) Running frequency of 10 khz with a period of 100 μs INIT register 7500, VAL bit resolution Complementary mode with a dead time of 1 μs PWM reload and synchronization signals are generated from this module on every opportunity Trigger 4 is enabled to provide synchronization with the ADC module via XBAR High-side switch PWM_A output is in a negative active-low polarity Low-side switch PWM_B output is in a positive active-high polarity PWM_1 and PWM_2 PWM_0 clock source Running frequency of 10 khz with a period of 100 μs INIT register 7500, VAL bit resolution Complementary mode with a dead time of 1 μs PWM reload and synchronization signals are generated using the PWM_0 submodule signal on every opportunity High-side switch PWM_A output is in a negative active-low polarity Low-side switch PWM_B output is in a positive active-high polarity PWM_1 and PWM_2 Fault 0 signal with high-level detection, connected via the XBAR input from the over-current MC33937 driver output Automatic fault clearing PWM_A, PWM1_A, and PWM2_A channels are disabled and the output pins are set to a high-level when a fault is detected PWM0_B, PWM1_B, and PWM2_B channels are disabled and the output pins are set to a low-level when a fault is detected Fault input filter is enabled HVP-KV46F150M board PWM_0 IPBus clock source (150 MHz) Running frequency of 10 khz with a period of 100 μs INIT register 7500, VAL bit resolution Complementary mode with a dead time of 1 μs PWM reload and synchronization signals are generated from this module on every opportunity Trigger 4 is enabled to provide synchronization with the ADC module via XBAR High-side switch PWM_A output is in a positive active-high polarity Freescale Semiconductor, Inc. 3
4 MCU peripherals Low-side switch PWM_B output is in a positive active-high polarity PWM_1 and PWM_2 PWM_0 clock source Running frequency of 10 khz with a period of 100 μs INIT register 7500, VAL bit resolution Complementary mode with a dead time of 1 μs PWM reload and synchronization signals are generated using the PWM_0 submodule signal on every opportunity High-side switch PWM_A output is in a negative active-high polarity Low-side switch PWM_B output is in a positive active-high polarity PWM_1 and PWM_2 Fault 0 signal with a low-level detection is connected via the XBAR input from the over-current HVP-MC3PH driver output Automatic fault clearing PWM_A, PWM1_A, and PWM2_A channels are disabled, and the output pins are set to a low level when a fault is detected PWM0_B, PWM1_B, and PWM2_B channels are disabled, and the output pins are set to a low level when a fault is detected Fault input filter is enabled 2.2 ADC module configuration The on-chip ADC module is used to sample the feedback signals (motor phase currents and DC-Bus voltage) that are necessary to successfully perform the vector-control algorithm. The eflexpwm serves the Trigger 4 signal via the XBAR for the hardware triggering of both ADCs, set in a parallel mode. 2.3 ADC conversion timing, currents and voltage sampling The eflexpwm submodule 0 generates the Trigger 4 signal, as the submodule counter is reset to the initialization value after overflow. This signal, connected via the XBAR channel 12, triggers the AD conversion of voltage and current. Only three conversions must be triggered without CPU intervention (two out of three motor phase currents and the DC-Bus voltage). Figure 1 shows the module interconnections and the ADC interrupt generation. For more information about the eflexpwm and the ADC synchronization, see the KV4x Sub-Family Reference Manual [Section 10, References ]. 4 Freescale Semiconductor, Inc.
5 MCU peripherals 2.4 Current measurement Figure 1. ADC conversion timing The assignment of the ADC channels to the measured analog signals is closely related to the ADC conversion trigger timing. It is necessary to know the values of all three motor phase currents to compute the fast (current) control loop of the FOC. Since there are only two ADC modules, it is possible to sample only two analog quantities in one instance. Assuming that the motor represents a symmetrical three-phase system, the sum of all three instantaneous phase currents is zero. 0 = i A + i B + i C Eqn. 1 Since the phase currents are measured when the bottom transistors are conducting, in the case of high-duty cycle ratios (current value is in the area of the maximum of the sine curve), the time when the current can be measured is too short. The bottom transistor must be switched on for at least a critical pulse width to get a stabilized current shunt resistor voltage drop. The selection of the channels is done according to the section where the space vector of the stator current is generated. This assignment is performed at the end of the ADC1 interrupt service routine. It is sufficient to sample only two phase currents, while the third is easily calculated according to Equation 2, Equation 3, and Equation 4. Sector 1,6: i A = i B i C Eqn. 2 Sector 2,3: i B = i A i C Eqn. 3 Sector 4,5: i C = i B i A Eqn. 4 Figure 2 explains the reason, why in some time instances the third current cannot be measured directly. Case I shows the phase currents at 30 and case II at 60. Freescale Semiconductor, Inc. 5
6 MCU peripherals 2.5 Over-current level Figure 2. Current sensing The over-current signal is connected to the eflexpwm FAULT0 signal via the XBAR peripheral. The details of the connection for both boards are described in the following subsections TWR-KV46F256 board The MC33937 predriver contains an over-current comparator, whose output is connected via the Freescale Tower system elevator IRQ_A (B62) pin to the GPIO_C7 pin of the MKV40F256 device. This pin is internally connected via the XBAR input channel 4 to the PWM FAULT0 signal that handles the fault using the PWM hardware. For a detailed description, see Figure 3. 6 Freescale Semiconductor, Inc.
7 MCU peripherals Figure 3. TWR-MC-LV3PH over-current level The over-current level can be set in the range of 0 ~ 8 A using the trimmer R37 on the TWR-MC-LV3PH board. The maximal current level can be set by turning the trimmer counterclockwise. You can find the level by turning the trimmer counterclockwise while the motor is running, until the red LED is lit. It is recommended to set the trimmer to a somewhat higher level, so the motor can operate at the maximal speed HVP-KV46F150M board The power module FNB41560 contains an over-current comparator, whose output is connected via the PCI Express FAULT_1 pin to the GPIO_E1 pin of the MKV40F256 device. This pin is connected internally via the XBAR input channel 7 to the PWM FAULT0 signal that handles the fault using the PWM hardware. For a detailed description, see Figure 4. The maximal over-current level is set to 10.5 A, and the active output fault level is low. For more details about the HVP-MC3PH, refer to the High-Voltage Motor Control Platform User's Guide (Document number HVPMC3PHUG), and for details about the HVP-KV46F150M, refer to the HVPKV46F150MUG User's Guide (Document number HVPKV46F150MUG). Figure 4. HVP-MC3PH over-current level Freescale Semiconductor, Inc. 7
8 Interrupts 2.6 SPI configuration (only for Tower System platform) The SPI interface is used only in the Freescale Tower System; in the application, it is used for communication between the intelligent MOSFET gate driver MC33937 available on the TWR-MC-LV3PH board, and the MKV46F256 MCU. The MC33937 gate driver is placed on the TWR-MC-LV3PH module and drives the high-side and low-side MOSFET transistors of the three-phase inverter. In the application, the initialization of the MC33937 must be performed. When the motor runs, the driver fault pin is checked for the latched faults. If a fault is detected, the status register is read. The MC33937 driver requires a precise timing of the SPI signals. The default setting of the SPI module on the MCU cannot be used. The exact timing of the SPI signals is listed in the Three-Phase Field Effect Transistor Pre-driver Data Sheet (Document number MC33937). 2.7 SCI (UART) configuration The SCI is used in the application for communication between a master system and the embedded application. The master system is the notebook or PC where the FreeMASTER software was installed to control the application and visualize its state. On Kinetis MKV46F256, there are two UART modules implemented. UART1 is used on the Tower System modules and on the HVP platform. The communication speed is set to Bd. 3 Interrupts The application requires minimal number of interrupts, because the MCU can hardware-trigger the AD conversion. There are two interrupts in the application. The ADC interrupt serves to execute fast-loop (Current FOC) algorithms, and the ports interrupt handles user buttons. 3.1 ADC interrupt This interrupt request is triggered when the channel conversion is completed. It has the highest priority. During the interrupt generation, the sampled values of physical quantities are available in: Result register 0 (motor phase current 1) Result register 8 (motor phase current 2) Result register 9 (DC-Bus voltage) The Application State Machine function is called in the beginning of the ADC ISR execution. If the application is in the RUN state, then the execution of the fast (current) control loop of the PMSM vector control algorithm (including the position and speed estimation) occurs next. The execution of the slow (speed) control loop is performed according to the value of the software counter, which is decremented each time the fast control loop is passed. Figure 4 gives an overview of the program flow during the execution of the ADC interrupt service routine, when the application is in the Run state and Spin substate. 8 Freescale Semiconductor, Inc.
9 Application operation Figure 5. ADC ISR flowchart 3.2 Ports interrupt (only for Tower system platform) The handling of user buttons is available only on the TWR-MKV46F256 board, performed in the ISR associated with the Ports interrupt, generated whenever one of the buttons is pressed. At the beginning of the ISR, a simple logic is executed to evaluate which button was pressed, and the interrupt flag is cleared. Pressing the SW1 button causes the speed to increase in 10 % steps. Pressing the SW2 button causes the speed to decrease in 10% steps, and also the transition back to the STOP state. For more information about the application control using the user buttons, see Tuning Three-Phase PMSM Sensorless Control Application Using MCAT Tool (Document number AN4912), where the usage of the FreeMASTER control interface for enhanced control and diagnostics is described. 4 Application operation The application can be operated either using the user button on the TWR-KV46F256 MCU board (as mentioned in Section 3.2, Ports interrupt (only for Tower system platform) ), or using the FreeMASTER software, which enables visualization of the application variables. The FreeMASTER application consists of two parts: the PC application used for variable visualization, and the set of software drivers running in the embedded application. The data is transferred between the PC and the embedded application using the RS232 interface. Freescale Semiconductor, Inc. 9
10 Application operation 4.1 Installing FreeMASTER on the PC or notebook The FreeMASTER application for PC can be downloaded from the Freescale website at freescale.com/freemaster; from the Download tab, select FreeMASTER 1.4 Application Installation. Since downloading the FreeMASTER application requires registration, you must create an account before you can log in. After logging into the system, the license agreement appears. You should read the license agreement and then accept the agreement by clicking the I Accept button. When using Internet Explorer, a bar asking to authorize the file download appears at the top of the web page. Click on the bar and select Download File. A dialog box appears where you can choose either Run or Save. In both cases, the installation archive will be stored on your PC. After selecting Save, you have the option to select the preferred location for saving of the installation archive; otherwise, it will be saved to a temporary folder in your system. The library installation archive will now be downloaded to your computer. To run the installation, click the Run button. Follow the instructions on the screen to complete the installation process. 4.2 Establishing a connection between the PC and the embedded application FreeMASTER allows using multiple communication interfaces between the embedded applications and the PC (UART (RS232), CAN, Ethernet, USB, BDM, and other). For this application, the RS232 was used, because the software overhead for the data transfer represents the lowest additional load on the CPU. Nowadays, the notebooks are not equipped with the COM port, so for this purpose, the TWR-KV46F256 and HVP-KV46F150M modules have a USB-to-RS232 interface in place (CDC Serial Port). By connecting the TWR KV46F256 or HVP-KV46F150M modules to a notebook via an USB cable, a virtual serial port will be established in the Windows system. To run the FreeMASTER application, double-click the pmsm_foc_kv4x.pmp file located in the \freemaster\pmsm_sensorless_foc folder. The FreeMASTER application starts and the environment will be created automatically, as defined in the *.pmp file. 4.3 Setting up the communication When the notebook is connected to the TWR-KV46F256 or HVP-KV46 board via a USB cable, the operating system assigns the number of the COM port to the OpenSDA CDC serial port interface. This number is assigned randomly, therefore it is necessary to set the right communication port when the connection is established (re-plugging the USB cable might cause a different port number assignment). To set the port number, click the Project \ Options menu item. It is necessary to assign a correct port number and/or value. Add the OpenSDA value to the Port list box and FreeMASTER automatically assigns a correct communication channel, or select COM port from the dropdown listbox menu. The correct port number selection is confirmed by the text OpenSDA CDC Serial Port next to the list box with the available serial port numbers. The communication speed of the interface is Bd. 10 Freescale Semiconductor, Inc.
11 Application operation Figure 6. FreeMASTER communication settings 4.4 Starting / stopping the communication and the application When the communication settings are performed, the communication between the PC and the embedded application can be initiated. Click the Stop button in the FreeMASTER toolbar, as shown in Figure 7. Figure 7. Initiating the communication with the embedded side The next step is switching the application to the RUN state. Click on the drop-down list next to the Application Switch variable name in the Variable Watch grid in the FreeMASTER window, and select ON, as shown in Figure 8. When the application is switched to the RUN state, the required speed can be changed to a non-zero value. The procedure is similar to the previous step; in the Variable Watch grid, enter a positive or negative value next to the Speed required variable name. Freescale Semiconductor, Inc. 11
12 Application operation 4.5 MCAT tool control Figure 8. Starting the application To run the FreeMASTER application including the MCAT tool, double-click on the mcat_pmsm_foc_kv4x.pmp file located in the \freemaster\pmsm_sensorless_foc folder. The FreeMASTER application starts and the environment will be created automatically, as defined in the *.pmp file. The application enables tuning of the PMSM sensorless application for any motor. For this purpose, the field-oriented control can be divided into four modes, as follows: Scalar Voltage FOC Current FOC Speed FOC This enables tuning of the application in several steps, with each step containing a limited number of unknown parameters that can be adjusted. To switch between these modes, the MCAT tab Control Struc is used. For more information on tuning of the application for any motor, see Tuning Three-Phase PMSM Sensorless Control Application Using MCAT Tool (Document number AN4912). The application code contains routines for a PM synchronous motor parameters identification. The algorithm simplifies and speeds up the controller constant calculations and settings. The identification process is disabled in the application by default, and can be enabled from the MCAT control tab Motor Identif. For more information on user motor identification, see Automated PMSM Parameters Identification (Document number AN4986). 12 Freescale Semiconductor, Inc.
13 SDK implementation 5 SDK implementation Kinetis SDK (KSDK) provides a comprehensive software support for Freescale Kinetis devices, such as the KV46F256 MCU. The KSDK includes all necessary source and header files required by the application, such as startup code, clock configuration, and peripherals configuration, provided by Hardware Abstraction Layer (HAL) as low-level configuration routines and high-level peripherals drivers, based on HAL routines. This suite provides easy portable basics of applications for the Kinetis family of MCUs with no or little code modifications, depending on the MCU and its peripherals, and core equipments used. For more information about the KSDK, see Kinetis SDK Demo Applications User's Guide (Document KSDKDEMOUG) and freescale.com/ksdk. The next steps explain how to run a demo application under the KSDK with the IAR Workbench, and how to prebuild the platform driver library in the IAR Workbench, which is necessary to run the example application. 5.1 Building the platform driver library in the IAR Workbench In the first step, it is required to generate the platform library file, before building and debugging the demo application. This library contains all the HAL and peripheral driver functions that are device-specific. Therefore, each device has its own library (platform.a). It should not be necessary to build the library after initially downloading the KSDK, because the platform library is already prebuilt. However, if this is necessary, see the following directions to rebuild the platform library. Open the workspace file by double clicking the pmsm_sensorless_foc.eww file in IAR, located in build\iar\kv46\pmsm_sensorless_foc\ folder. The IAR workspace launches and contains two projects: ksdk_platform_lib and pmsm_sensorless_foc. You must build the platform library before the PMSM sensorless project can be used. As shown in Figure 9, the workspace contains two projects. Right-click on ksdk_platform_lib and a drop-down menu appears. Click on Set as Active, and then click on the Make button (highlighted in a red rectangle in Figure 9). When the build is complete, the library (ksdk_platform_lib.a) is generated in the output directory according to the build target, and can be located depending on the build target: Debug <ksdk_install_dir>/lib/ksdk_platform_lib<toolchain>/<device_name>/output/debug Release <ksdk_install_dir>/lib/ksdk_platform_lib/<toolchain>/<device_name>/output/release Freescale Semiconductor, Inc. 13
14 SDK implementation Figure 9. Platform driver library build 5.2 Building the PMSM project in IAR Workbench After the platform library build is complete, the PMSM sensorless project can be generated. As mentioned in Section 5.1, Building the platform driver library in the IAR Workbench, and as shown in Figure 9, the workspace contains two projects. You must activate the pmsm_sensorless_foc project by right-clicking the project name, and then selecting Set as Active. The PMSM project is activated and can be built by clicking the Make button. After the output file pmsm_sensorless_foc.out is generated in the output directory, it can be loaded into the KV46F256 MCU with the debugger, or linked to the FreeMASTER communication tool. 14 Freescale Semiconductor, Inc.
15 Project file structure 6 Project file structure The total number of source (*.c) and header files (*.h) in the project exceeds one hundred. Therefore, only the key project files will be described in detail, and the rest will be described in groups. The main project folder is divided into three subfolders: build\iar\kv46\ pmsm_sensorless_foc contains configuration files for the IAR compiler, as well as the compiler s output executable and object files. If the IAR Embedded Workbench for ARM is installed on your computer, double-click the workspace file pmsm_sensorless_foc.eww to launch the IAR IDE. freemaster\ pmsm_sensorless_foc contains the FreeMASTER configuration file (mcat_pmsm_foc_kv4x.pmp) and supporting files (control page in HTML format and the binary file with addresses of the variables). src contains the project source and header files, and its contents will be described in the following text. Files in the src\projects\kv46\ pmsm_sensorless_foc folder: main.c, main.h contain basic application initialization (enabling interrupts), subroutines accessing the MCU peripherals, and interrupt service routines. The FreeMASTER communication is performed in the background infinite loop. m1_state_machine.c and m1_state_machine.h contain the software routines that are executed when the application is in a particular state or state transition. freemaster_cfg.h the configuration file for the FreeMASTER interface. pmsm_appconfig.h contains constants definitions for the application control processes (parameters of the motor and regulators, and the constants for other vector-control related algorithms). When the application is tailored for another motor using the Motor Control Application Tuning Tool, this file is generated by the tool at the end of the tuning process. \peripherals\ folder contains important files for static configuration of the peripherals used in the application (eflexpwm, ADC, SPI, UART). Subfolders in the src\ folder: \state_machine contains the application state machine structure definition that handles the switching between the application states and application state transitions. \control_algorithms contains the structures definitions and subroutines dedicated for performing the motor-control algorithm (vector-control algorithm, position and speed estimation algorithm, speed control loop). Files in the src\cm4_mmclib_r1.0\ folder: CM4_MMCLIB_IAR.a software library containing motor-control, general math, and filter algorithms. The other files in the folder and subfolders are associated header files, each one for a particular function of the library. ACLIB\ CM4_ACLIB_F16.a contains the advanced control algorithms for rotor position and speed estimation (Back-EMF observer and Tracking observer). Freescale Semiconductor, Inc. 15
16 Memory usage and CPU load Other subfolders in the src\ folder: \freemaster contains all source files of the FreeMASTER application, it is not necessary to access it or change anything inside. The interface to the programmer is handled via the freemaster_cfg.h file located in src\projects\kv46\ pmsm_sensorless_foc folder. \sac (Sensor and Actuator Components) contains routines for accessing peripherals used by the motor-control algorithm to sense input feedback physical quantities (currents, voltage, speed, position) and to set the actuators based on calculated output variables (eflexpwm, MOSFET predriver). \sdk\startup contains startup routines with clock settings possibilities and system_kv46f15.h predefined header for clock setup. 7 Memory usage and CPU load The following tables show the memory usage of the MKV46F256 chip, total available data and RAM memory, size of the used memory, and the memory used by the individual algorithm blocks. Table 2. Memory usage, values in bytes Memory Total available on the Kinetis MKV46F256 Used by the application (TWR) Used by the application (HVP) Program Flash (application code) B B 512 KB Data Flash (application constants) 588 B 504 B Data RAM (application variables) 96 KB B (*) B (*) including 4096 B FreeMASTER recorder buffer Table 3. Memory usage, values in bytes Algorithm block Program memory (code + constants) Data memory TWR HVP TWR HVP FOC (fast + slow loops) B B FreeMASTER B B 4365 B B SAC (Sensor and actuator components) B B 3 B 3 B MID (Motor identification) B B 590 B 590 B Application state machine B B 616 B 572 B The CPU load is influenced mainly by the execution of the ADC1 ISR, in which the execution of the application state machine and calculation of the fast (current) and slow (speed) control loops of the PMSM vector control is performed. In the worst case, the complete ADC1 ISR consumes some machine cycles (state machine and fast / slow control loop), and the consume time per interrupt is shown in Table 4, depends on the platform used. The ADC1 interrupt is generated periodically with the same frequency as the PWM reload event, when the values of the duty cycles are updated. The Kinetis KV46F256 MCU clock is running at 150 MHz. 16 Freescale Semiconductor, Inc.
17 Hardware setup Table 4. CPU load Board Machine cycles [-] CPU load [%] TWR-KV46F256M ,34 HVP-KV46F150M ,12 8 Hardware setup The applications support both hardware platforms; the Tower System (modular development system) and the high-voltage three-phase board. All modules of the Tower and HVP systems are available for order via the Freescale web page or from distributors, so you can easily build the hardware platform for which the application is targeted. Following sections describe the required configuration for both platforms. 8.1 Tower system hardware setup and jumpers configuration The PMSM sensorless control for low-voltage motors is based on the Tower system platform. It consists of the following modules: Tower elevator modules (TWR-ELEV) Kinetis MKV46F256 tower module (TWR-KV46F256) Three-phase low-voltage power module (TWR-MC-LV3PH) with included motor Building a system using the modules of the Tower system is not difficult. The peripheral modules and the MCU module are plugged into the elevator connectors, while the white stripe on the side of the module boards determines the orientation to the functional elevator (the elevator with mini USB connector, power supplies, and switch). Freescale Semiconductor, Inc. 17
18 Hardware setup Table 5. Jumper settings of the TWR-MKV46F256 board Jumper # Settings Jumper # Settings J1 Open J21 Open J2 Open J23 Open J4 2-3 J J5 1-2 J J J J J J16 Open J J19 Open J J J The jumper settings for the TWR-MC-LV3PH board are listed and highlighted in Table 6. See TWR-MC-LV3PH User s Manual (Document number TWRMCLV3PHUG) for more details about the TWR-MC-LV3PH stage (for example, the hardware over-current threshold setting). Table 6. Jumper settings of the TWR-MC-LV3PH board Jumper # Settings J2 1-2 J3 1-2 J J J J J Freescale Semiconductor, Inc.
19 Hardware setup The motor used in the reference design is part of the TWR-MC-LV3PH kit. It is a BLDC motor with a trapezoidal shape of the back-emf voltage with salient poles on the stator. This is different from a PM synchronous motor, which has distributed winding on the stator, forming a sinusoidal shape of the magnetic field. The rotor construction is the same for both types of motors (salient poles on the shaft). Even the vector-control algorithm was originally developed for PM synchronous motors, assuming a sinusoidal shape of the magnetic field. Therefore, it is possible to employ the same control strategy for a BLDC motor. Of course, the performance will not be optimal, but the drive will possess less audible noise than a traditional six-step commutation control. The main benefit is that the customer can learn and adopt sensorless vector control on a cost-effective hardware solution. Motor specifications are listed in Table 7. Table 7. Low-voltage motor specifications Motor specification Motor model parameters Manufacturer name Type Nominal voltage (line-to-line) Nominal speed Rated power Stator winding resistance Stator winding inductance q axis Stator winding inductance d axis Linix 45ZWN V DC 4000 RPM 40 W H 413 H NOTE The application parameters (speed PI controller and value of the startup current) are set for a motor that has a plastic circle (part of the kit) mounted on the shaft. Without the circle mounted, speed oscillation might occur. 8.2 HVP hardware setup Number of pole-pairs 2 Back-EMF constant k e V.s.rad -1 The PMSM sensorless control is based on the following modules: HVP-MC3PH: High-Voltage Development Platform HVP-KV46F150M: High-Voltage Development Platform Controller Card The boards work with the default configuration and no jumper setting is required to run the attached application. It is highly recommended to read the board user s guides High-Voltage Motor Control Platform User's Guide (Document number HVPMC3PHUG) and HVPKV46F150MUG User's Guide (Document number HVPKV46F150MUG) prior to the first use. Freescale Semiconductor, Inc. 19
20 Conclusion Target reset / bootloader enable USB mini for communication, debugging, and power supply Isolated power supply Target controller 8 MHz crystal OpenSDA OpenSDA JTAG Isolated target SWD connector SWD isolator Main board interface Figure 10. Platform driver library build For the application software loading and FreeMASTER communication, use preferably the USB mini connector J2 (red circle mark in Figure 10). No additional communication driver installation is required, and the application will run in a short time. See HVP-KV46F150M Freescale High-Voltage Development Platform Quick Start Guide (Document number HVPKV46F150MQSG) for more details. The motor used in the reference application is MIGE AC servomotor, see Table 8 for its specifications. Table 8. Motor used in the application Motor specification Motor model parameters Manufacturer name Type Nominal voltage (line-to-line) Nominal speed Rated power Stator winding resistance Stator winding inductance q axis Stator winding inductance d axis MIGE 60CST-MO V 3,000 RPM 400 W mh 4.79 mh 9 Conclusion Number of pole-pairs 4 Back-EMF constant k e V.s.rad -1 The results of the execution time measurement show that the Kinetis MKV46F256 MCU can be used to drive the PMSM sensorless vector control algorithm for highly dynamic applications. The CPU load at the PWM frequency of 10 khz represents only 33 ~ 34 %, so there is much room to either increase the frequency of the fast control loop or to perform additional tasks. 20 Freescale Semiconductor, Inc.
21 10 References References The following references are available on freescale.com: [1] Sensorless PMSM Field-Oriented Control (Document DRM 148). [2] KV4x Sub-Family Reference Manual [3] Three Phase Field Effect Transistor Pre-driver Data Sheet (Document number MC33937) [4] Tuning Three-Phase PMSM Sensorless Control Application Using MCAT Tool (Document number AN4912) [5] Automated PMSM Parameters Identification (Document number AN4986) [6] Kinetis SDK Demo Applications User's Guide (Document KSDKDEMOUG) [7] TWR-MC-LV3PH User s Manual (Document number TWRMCLV3PHUG) [8] Kinetis SDK KV46 User's Guide [9] High-Voltage Motor Control Platform User's Guide (Document number HVPMC3PHUG) [10] HVPKV46F150MUG User's Guide (Document number HVPKV46F150MUG) [11] HVP-KV46F150M Freescale High-Voltage Development Platform Quick Start Guide (Document number HVPKV46F150MQSG) 11 Acronyms and abbreviated terms The following table contains the abbreviated terms used in this document. Table 9. Acronyms and abbreviated terms Term Meaning ADC Back-EMF FOC PMSM PWM SVM SDK Analog-to-digital converter Back-electromotive force: the voltage generated by a rotating motor Field-oriented control Permanent magnet synchronous motor Pulse-width modulation Space vector modulation: the algorithm used to generate the signals for the PWM output Software development kit 12 Revision history Table 10. Revision history Rev. number Date Substantial changes 0 04/2014 Initial release. 1 03/2015 SDK compatibility added. Freescale Semiconductor, Inc. 21
22 How to Reach Us: Home Page: freescale.com Web Support: freescale.com/support Information in this document is provided solely to enable system and software implementers to use Freescale products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits based on the information in this document. Freescale reserves the right to make changes without further notice to any products herein. Freescale makes no warranty, representation, or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. Typical parameters that may be provided in Freescale data sheets and/or specifications can and do vary in different applications, and actual performance may vary over time. All operating parameters, including typicals, must be validated for each customer application by customer s technical experts. Freescale does not convey any license under its patent rights nor the rights of others. Freescale sells products pursuant to standard terms and conditions of sale, which can be found at the following address: freescale.com/salestermsandconditions. Freescale, the Freescale logo, and Kinetis are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Tower is a trademark of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. ARM and Cortex are registered trademarks of ARM Limited (or its subsidiaries) in the EU and/or elsewhere. All rights reserved Freescale Semiconductor, Inc. Document Number: AN5004 Rev. 1 03/2015
Sensorless PMSM Field-Oriented Control on Kinetis KV and KE
NXP Semiconductors Document Number: AN5237 Application Note Rev. 3, 10/2016 Sensorless PMSM Field-Oriented Control on Kinetis KV and KE By: Josef Tkadlec 1. Introduction This application note describes
More informationDual FOC Servo Motor Control on i.mx RT
NXP Semiconductors Document Number: AN12200 Application Note Rev. 0, 06/2018 Dual FOC Servo Motor Control on i.mx RT 1. Introduction This application note describes the dual servo demo with the NXP i.mx
More informationAutomated PMSM Parameter Identification
Freescale Semiconductor Document Number: AN4986 Application Note Rev 0, 10/2014 Automated PMSM Parameter Identification by: Josef Tkadlec 1 Introduction Advanced motor control techniques, such as the sensorless
More informationLow Cost PMSM Sensorless Field-Oriented Control Based on KE02
NXP Semiconductors Document Number: AN5294 Application Note Rev. 1, 05/2017 Low Cost PMSM Sensorless Field-Oriented Control Based on KE02 1. Introduction This application note describes the design of a
More informationPMSM Sensorless FOC for a Fan Using the Kinetis KV10
Freescale Semiconductor, Inc. Application Note Document Number: AN4935 Rev. 1, 09/2014 PMSM Sensorless FOC for a Fan Using the Kinetis KV10 1 Introduction This application note represents an addendum to
More informationSingle Phase Two-Channel Interleaved PFC Operating in CrM Using the MC56F82xxx Family of Digital Signal Controllers
Freescale Semiconductor Application Note Document Number: AN4836 Rev. 1, 07/2014 Single Phase Two-Channel Interleaved PFC Operating in CrM Using the MC56F82xxx Family of Digital Signal Controllers by Freescale
More informationSensorless BLDC Motor Control Using FRDM-KE02Z Based on Tower Board
Freescale Semiconductor Document Number: AN4796 Application Note Rev. 1, 11/2013 Sensorless BLDC Motor Control Using FRDM-KE02Z Based on Tower Board by: Zhen Liu, Howard Liu, and Binbin Zhang 1 Introduction
More informationKEA128LEDLIGHTRD Quick Start Guide. Lighting Control Module Reference Design using Kinetis KEA128
KEA128LEDLIGHTRD Quick Start Guide Lighting Control Module Reference Design using Kinetis KEA128 Quick Start Guide Get to Know the KEA128LEDLIGHTRD Board MC33901 CAN Transceiver CAN Connector LIN Connector
More informationDead-Time Compensation Method for Vector-Controlled VSI Drives Based on Qorivva Family
Freescale Semiconductor Document Number: AN4863 Application Note Rev 0, June Dead-Time Compensation Method for Vector-Controlled VSI Drives Based on Qorivva Family by: Petr Konvicny 1 Introduction One
More information3-in-1 Air Condition Solution
3-in-1 Air Condition Solution FTF-IND-F0476 Zhou Xuwei Application Engineer M A Y. 2 0 1 4 TM External Use Agenda Abstract Application Development Sensorless PMSM FOC Timing & PFC Timing Start Up Realization
More informationFirmware plugin for STSW-ESC001V1 board with ST Motor Control FOC SDK
User manual Firmware plugin for STSW-ESC001V1 board with ST Motor Control FOC SDK Introduction The STSW-ESC001V1 firmware package for the STEVAL-ESC001V1 board includes the application code to support
More informationInterleaved PFC Average Current Control
NXP Semiconductors Document Number: AN5355 Application Note Rev. 0, 11/016 Interleaved PFC Average Current Control Implementation using MKV46F56VLx16 on High Voltage Motor Control Platform 1. Introduction
More informationThree-Phase BLDC Sensorless Motor Control Using the MKV4x In Quadcopter Application
Freescale Semiconductor, Inc. Document Number: AN5169 Application Note Rev. 0, 07/2015 Three-Phase Sensorless Motor Control Using the MKV4x In Quadcopter Application By: Zbynek Mynar 1. Introduction This
More informationRX23T inverter ref. kit
RX23T inverter ref. kit Deep Dive October 2015 YROTATE-IT-RX23T kit content Page 2 YROTATE-IT-RX23T kit: 3-ph. Brushless Motor Specs Page 3 Motors & driving methods supported Brushless DC Permanent Magnet
More informationSTM32 PMSM FOC SDK v3.2. 蒋建国 MCU Application Great China
STM32 PMSM FOC SDK v3.2 蒋建国 MCU Application Great China Agenda 2 1 st day Morning Overview Key message Basics Feature Performance Hardware support Tools STM32 MC Workbench SDK components Architectural
More informationMotor Control using NXP s LPC2900
Motor Control using NXP s LPC2900 Agenda LPC2900 Overview and Development tools Control of BLDC Motors using the LPC2900 CPU Load of BLDCM and PMSM Enhancing performance LPC2900 Demo BLDC motor 2 LPC2900
More informationUsing the High Voltage Physical Layer In the S12ZVM family By: Agustin Diaz
Freescale Semiconductor, Inc. Document Number: AN5176 Application Note Rev. 1, 09/2015 Using the High Voltage Physical Layer In the S12ZVM family By: Agustin Diaz Contents 1. Introduction This application
More informationReference Oscillator Crystal Requirements for MKW40 and MKW30 Device Series
Freescale Semiconductor, Inc. Application Note Document Number: AN5177 Rev. 0, 08/2015 Reference Oscillator Crystal Requirements for MKW40 and MKW30 Device Series 1 Introduction This document describes
More informationHello, and welcome to this presentation of the FlexTimer or FTM module for Kinetis K series MCUs. In this session, you ll learn about the FTM, its
Hello, and welcome to this presentation of the FlexTimer or FTM module for Kinetis K series MCUs. In this session, you ll learn about the FTM, its main features and the application benefits of leveraging
More informationQuick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM
TWR-MECH Mechatronics Board TOWER SYSTEM Get to Know the Tower Mechatronics Board Primary Connector / Switch MCF52259 Connectors for Up to Eight Servos SW4 (Reset) USB OTG 5V Supply Touch Panel Socket
More informationElectric Bike BLDC Hub Motor Control Using the Z8FMC1600 MCU
Application Note Electric Bike BLDC Hub Motor Control Using the Z8FMC1600 MCU AN026002-0608 Abstract This application note describes a controller for a 200 W, 24 V Brushless DC (BLDC) motor used to power
More informationAN4269. Diagnostic and protection features in extreme switch family. Document information
Rev. 2.0 25 January 2017 Application note Document information Information Keywords Abstract Content The purpose of this document is to provide an overview of the diagnostic features offered in MC12XS3
More informationHow to Use GDU Module in MC9S08SU16
NXP Semiconductors Document Number: AN5395 Application Note Rev. 0, 12/2016 How to Use GDU Module in MC9S08SU16 1. Introduction MC9S08SU16 is new NXP low-cost, high-performance and high integration UHV
More informationVORAGO Timer (TIM) subsystem application note
AN1202 VORAGO Timer (TIM) subsystem application note Feb 24, 2017, Version 1.2 VA10800/VA10820 Abstract This application note reviews the Timer (TIM) subsystem on the VA108xx family of MCUs and provides
More informationRL78 Motor Control. YRMCKITRL78G14 Starter Kit. Renesas Electronics Europe. David Parsons Application Engineering Industrial Business Group.
RL78 Motor Control YRMCKITRL78G14 Starter Kit Renesas Electronics Europe David Parsons Application Engineering Industrial Business Group July 2012 Renesas MCU for 3-phase Motor Control Control Method Brushless
More informationAP CANmotion. Evaluation Platform with BLDC Motor featuring XC886CM Flash Microcontroller Version 2007/10. Microcontrollers
Application Note, V1.0, April 2007 AP08060 CANmotion Evaluation Platform with BLDC Motor featuring XC886CM Flash Microcontroller Version 2007/10 Microcontrollers Edition 2007-04 Published by Infineon Technologies
More informationMigrate PWM from MC56F8013 to MC How to set up the PWM peripheral on the MC56F8247 using the setting of the PWM on the MC56F8013
Freescale Semiconductor Application Note Document Number: AN4319 Rev. 0, 06/2011 Migrate PWM from MC56F8013 to MC568247 How to set up the PWM peripheral on the MC56F8247 using the setting of the PWM on
More informationControl of a DC/DC Converter Using FlexPWM s Force-Out Logic
NXP Semiconductors Document Number: AN4794 Application Note Rev. 2, 06/2016 Control of a DC/DC Converter Using FlexPWM s Force-Out Logic Implemented with MPC564xL By: Yves Briant 1. Introduction The MPC560xP
More informationParallel Configuration of H-Bridges
Freescale Semiconductor, Inc. Application Note Document Number: AN4833 Rev. 1.0, 1/2014 Parallel Configuration of H-Bridges Featuring the MC33932 and MC34932 ICs 1 Introduction Two or more H-bridges can
More informationImproving feedback current accuracy when using H-Bridges for closed loop motor control
NXP Semiconductors Application Note Document Number: AN5212 Rev. 1.0, 7/2016 Improving feedback accuracy when using H-Bridges for closed loop motor control 1 Introduction Many applications use DC motors
More informationFlexTimer and ADC Synchronization
Freescale Semiconductor Application Note AN3731 Rev. 0, 06/2008 FlexTimer and ADC Synchronization How FlexTimer is Used to Synchronize PWM Reloading and Hardware ADC Triggering by: Eduardo Viramontes Systems
More informationUsing Z8 Encore! XP MCU for RMS Calculation
Application te Using Z8 Encore! XP MCU for RMS Calculation Abstract This application note discusses an algorithm for computing the Root Mean Square (RMS) value of a sinusoidal AC input signal using the
More information56F Phase AC Induction Motor V/Hz Control using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers. freescale.
56F805 -Phase AC Induction Motor V/Hz Control using Processor Expert TM Targeting Document 56F800 6-bit Digital Signal Controllers 805ACIMTD Rev. 0 08/2005 freescale.com System Outline -Phase AC Induction
More informationBLDC Motor Control on Z8FMC16 Series MCUs Using Sensored Sinusoidal PWM Modulation
MultiMotor Series BLDC Motor Control on Z8FMC16 Series MCUs Using Sensored Sinusoidal PWM Modulation AN036102-0114 Abstract This application note discusses the control of a 3-phase brushless BLDC motor
More informationMB9BF568R Series FM4 PMSM Servo Motor Speed Control User Manual
MB9BF568R Series FM4 PMSM Servo Motor Speed Control User Manual Doc. No. 002-04466 Rev. *A Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): +1 408.943.2600
More informationF²MC-8FX/16LX/16FX/FR FAMILY BLDC DRIVE WITH THE PPG
Fujitsu Microelectronics Europe Application Note MCU-AN-300020-E-V10 F²MC-8FX/16LX/16FX/FR FAMILY 8/16/32-BIT MICROCONTROLLER ALL SERIES BLDC DRIVE WITH THE PPG APPLICATION NOTE Revision History Revision
More informationXGATE Library: PWM Driver Generating flexible PWM signals on GPIO pins
Freescale Semiconductor Application Note AN3225 Rev. 0, 2/2006 XGATE Library: PWM Driver Generating flexible PWM signals on GPIO pins by: Armin Winter, Field Applications, Wiesbaden Daniel Malik, MCD Applications,
More informationAVR42778: Core Independent Brushless DC Fan Control Using Configurable Custom Logic on ATtiny817. Features. Introduction. AVR 8-bit Microcontroller
AVR 8-bit Microcontroller AVR42778: Core Independent Brushless DC Fan Control Using Configurable Custom Logic on ATtiny817 APPLICATION NOTE Features Base setup for performing core independent brushless
More informationOptimizing Magnetic Sensor Power Operations for Low Data Rates
Freescale Semiconductor Document Number: AN4984 Application Note Rev 0, 10/2014 Optimizing Magnetic Sensor Power Operations for Low Data Rates 1 Introduction The standard mode of operation of a magnetic
More informationVybrid ASRC Performance
Freescale Semiconductor, Inc. Engineering Bulletin Document Number: EB808 Rev. 0, 10/2014 Vybrid ASRC Performance Audio Analyzer Measurements by: Jiri Kotzian, Ronald Wang This bulletin contains performance
More informationOverview of the STM32F103xx ACIM and PMSM motor control software libraries release 2.0
TN0063 Technical note Overview of the STM32F103xx ACIM and PMSM motor control software libraries release 2.0 Introduction The purpose of this technical note is to provide an overview of the main features
More informationCapacitive Sensing Interface of QN908x
NXP Semiconductors Document Number: AN12190 Application Note Rev. 0, 05/2018 Capacitive Sensing Interface of QN908x Introduction This document details the Capacitive Sensing (CS) interface of QN908x. It
More informationThe High-Performance Data Acquisition Circuit
Freescale Semiconductor, Inc. Document Number: AN5101 Application Note Rev. 0, 04/2015 The High-Performance Data Acquisition Circuit By Jan Tomecek 1. Introduction Currently many applications use external
More informationAN Industrial Stepper Motor Driver. Application Note Abstract. Introduction. Stepper Motor Control Method
Industrial Stepper Motor Driver AN43679 Author: Dino Gu, Bill Jiang, Jemmey Huang Associated Project: Yes Associated Part Family: CY8C27x43, CY8C29x66 GET FREE SAMPLES HERE Software Version: PSoC Designer
More information1.2 A 15 V H-Bridge Motor Driver IC
Freescale Semiconductor Technical Data 1.2 A 15 V H-Bridge Motor Driver IC The is a monolithic H-Bridge designed to be used in portable electronic applications such as digital and SLR cameras to control
More informationReference Circuit Design for a SAR ADC in SoC
Freescale Semiconductor Document Number: AN5032 Application Note Rev 0, 03/2015 Reference Circuit Design for a SAR ADC in SoC by: Siva M and Abhijan Chakravarty 1 Introduction A typical Analog-to-Digital
More informationA COMPARISON STUDY OF THE COMMUTATION METHODS FOR THE THREE-PHASE PERMANENT MAGNET BRUSHLESS DC MOTOR
A COMPARISON STUDY OF THE COMMUTATION METHODS FOR THE THREE-PHASE PERMANENT MAGNET BRUSHLESS DC MOTOR Shiyoung Lee, Ph.D. Pennsylvania State University Berks Campus Room 120 Luerssen Building, Tulpehocken
More informationTUTORIAL Simulation and Code Generation of TI InstaSPIN Using DRV8312 EVM
TUTORIAL Simulation and Code Generation of TI InstaSPIN Using DRV8312 EVM January 2017 1 PSIM supports TI s InstaSPIN FOC sensorless motor control algorithm in simulation and SimCoder auto code generation.
More information1.2 A 15 V H-Bridge Motor Driver IC
Freescale Semiconductor Technical Data 1.2 A 15 V H-Bridge Motor Driver IC The is a monolithic H-Bridge designed to be used in portable electronic applications such as digital and SLR cameras to control
More informationGenerating DTMF Tones Using Z8 Encore! MCU
Application Note Generating DTMF Tones Using Z8 Encore! MCU AN024802-0608 Abstract This Application Note describes how Zilog s Z8 Encore! MCU is used as a Dual-Tone Multi- (DTMF) signal encoder to generate
More informationTemperature Monitoring and Fan Control with Platform Manager 2
August 2013 Introduction Technical Note TN1278 The Platform Manager 2 is a fast-reacting, programmable logic based hardware management controller. Platform Manager 2 is an integrated solution combining
More informationMotor Control Solutions
Motor Control Solutions EUF-IND-T0590 Radim Visinka MCU SW Libs Manager J U N E. 2 0 1 4 TM External Use Agenda Key Motor Control Technologies Freescale Motor Control Microcontrollers DSC and Kinetis V
More informationBLDC Sensorless Reference Design Using MC56F8006 Devices Supported: MC56F8006
BLDC Sensorless Reference Design Using MC56F8006 Devices Supported: MC56F8006 Document Number: DRM108 Rev. 0 04/2009 How to Reach Us: Home Page: www.freescale.com E-mail: support@freescale.com USA/Europe
More informationTMC603EVAL MANUAL Evaluation board for the TMC603 three phase motor driver with BLDC back EMF commutation hallfx
TMC603EVAL MANUAL Evaluation board for the TMC603 three phase motor driver with BLDC back EMF commutation hallfx TRINAMIC Motion Control GmbH & Co. KG Sternstraße 67 D 20357 Hamburg GERMANY www.trinamic.com
More informationTarocco Closed Loop Motor Controller
Contents Safety Information... 3 Overview... 4 Features... 4 SoC for Closed Loop Control... 4 Gate Driver... 5 MOSFETs in H Bridge Configuration... 5 Device Characteristics... 6 Installation... 7 Motor
More informationTemperature Monitoring and Fan Control with Platform Manager 2
Temperature Monitoring and Fan Control September 2018 Technical Note FPGA-TN-02080 Introduction Platform Manager 2 devices are fast-reacting, programmable logic based hardware management controllers. Platform
More informationHands-on Workshop: Motor Control Part 4 - Brushless DC Motors Made Easy
November, 2008 Hands-on Workshop: Motor Control Part 4 - Brushless DC Motors Made Easy PZ104 Derek Liu of Freescale Semiconductor, Inc. All other product or service names are the property of their respective
More informationUser Guide IRMCS3041 System Overview/Guide. Aengus Murray. Table of Contents. Introduction
User Guide 0607 IRMCS3041 System Overview/Guide By Aengus Murray Table of Contents Introduction... 1 IRMCF341 Application Circuit... 2 Sensorless Control Algorithm... 4 Velocity and Current Control...
More informationReaction Module 2 for Peak&Hold Injection Control on the MPC5746R Using REACM2 Utility Functions
Freescale Semiconductor Document Number: AN5240 Application Note Reaction Module 2 for Peak&Hold Injection Control on the MPC5746R Using REACM2 Utility Functions by: Marketa Venclikova 1 Introduction This
More informationMPXM2051G, 0 to 50 kpa, Gauge Compensated Pressure Sensors
Freescale Semiconductor Document Number: Data Sheet: Technical Data Rev. 3.0, 11/2015, 0 to 50 kpa, Gauge Compensated Pressure The device is a silicon piezoresistive pressure sensor providing a highly
More informationMAX11300PMB1 Peripheral Module and Munich (USB2PMB1) Adapter Board Quick Start Guide
MAX11300PMB1 Peripheral Module and Munich (USB2PMB1) Adapter Board Quick Start Guide Rev 0; 7/14 For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642, or visit
More informationGetting started with the STSW-SPIN3202 firmware package
User manual Getting started with the STSW-SPIN3202 firmware package Introduction The STSW-SPIN3202 firmware package for the STEVAL-SPIN3202 evaluation board allows control of 3-phase permanent magnet (PMSM)
More informationImplementing PFC Average Current Mode Control using the MC9S12E128 Addendum to Reference Design Manual DRM064
Freescale Semiconductor Application Note AN3052 Rev. 0, 11/2005 Implementing PFC Average Current Mode Control using the MC9S12E128 Addendum to Reference Design Manual DRM064 by: Pavel Grasblum Freescale
More informationApplication Note, V1.0, Oct 2006 AP08019 XC866. Sensorless Brushless DC Motor Control Using Infineon 8-bit XC866 Microcontroller.
Application Note, V1.0, Oct 2006 AP08019 XC866 Using Infineon 8-bit XC866 Microcontroller Microcontrollers Edition 2006-10-20 Published by Infineon Technologies AG 81726 München, Germany Infineon Technologies
More informationUsing the HCS08 TPM Module In Motor Control Applications
Pavel Grasblum Using the HCS08 TPM Module In Motor Control Applications Designers can choose from a wide range of microcontrollers to provide digital control for variable speed drives. Microcontrollers
More informationMiniProg Users Guide and Example Projects
MiniProg Users Guide and Example Projects Cypress MicroSystems, Inc. 2700 162 nd Street SW, Building D Lynnwood, WA 98037 Phone: 800.669.0557 Fax: 425.787.4641 1 TABLE OF CONTENTS Introduction to MiniProg...
More informationA Practical Primer On Motor Drives (Part 13): Motor Drive Control Architectures And Algorithms
ISSUE: February 2017 A Practical Primer On Motor Drives (Part 13): Motor Drive Control Architectures And Algorithms by Ken Johnson, Teledyne LeCroy, Chestnut Ridge, N.Y. Part 12 began the explanation of
More information0.7 A 6.8 V Dual H-Bridge Motor Driver
Freescale Semiconductor Technical Data Document Number: MPC Rev. 3.0, 12/2013 0.7 A 6.8 V Dual H-Bridge Motor Driver The is a monolithic dual H-Bridge power IC ideal for portable electronic applications
More information1 Introduction. Freescale Semiconductor Application Note. Document Number: AN4386 Rev. 0, 01/2012
Freescale Semiconductor Application Note Document Number: AN4386 Rev. 0, 01/2012 Implementing on the MC56F8257 A Single Phase Two-Channel Interleaved Critical Conduction Mode by: Petr Frgal System Application
More informationMC34ValveController Processor Expert Component
NXP Semiconductors User s Guide Document Number: SB0410-SB0800SWUG Rev. 1.0, 1/2016 MC34ValveController Processor Expert Component NXP Semiconductors N.V. 2016. All rights reserved. Contents 1 Overview..............................................................................................3
More informationPMSM Field-Oriented Control on MIMXRT1050 EVK
NXP Semiconductors Document Number: AN12169 Application Note Rev. 0, 05/2018 PMSM Field-Oriented Control on MIMXRT1050 EVK 1 Introduction This application note describes the implementation of the sensor
More informationUse of PWM and ADC on MC56F84789 to Drive Dual PMS Motor FOC
Freescale Semiconductor Document Number:AN4608 Application Note Rev. 0, 10/2012 Use of PWM and ADC on MC56F84789 to Drive Dual PMS Motor FOC by: Jaroslav Musil 1 Introduction With the computation power
More informationSensorless Vector Control with RL78G14
Sensorless Vector Control with RL78G14 Renesas Electronics America Inc. Renesas Technology & Solution Portfolio 2 Microcontroller and Microprocessor Line-up 2010 2013 32-bit 8/16-bit 1200 DMIPS, Superscalar
More informationLCC-10 Product manual
LCC-10 Product manual Rev 1.0 Jan 2011 LCC-10 Product manual Copyright and trademarks Copyright 2010 INGENIA-CAT, S.L. / SMAC Corporation Scope This document applies to i116 motion controller in its hardware
More informationAN3252 Application note
Application note Building a wave generator using STM8L-DISCOVERY Application overview This application note provides a short description of how to use the STM8L-DISCOVERY as a basic wave generator for
More informationQWKS Ethernet Accessory Card, User's Guide
NXP Semiconductors Document Number: QWKSEACSG User's Guide Rev 0, April, 2017 QWKS Ethernet Accessory Card, User's Guide Contents Contents Chapter 1 Introduction...3 Chapter 2 QWKS Ethernet Accessory Card
More informationCHAPTER-5 DESIGN OF DIRECT TORQUE CONTROLLED INDUCTION MOTOR DRIVE
113 CHAPTER-5 DESIGN OF DIRECT TORQUE CONTROLLED INDUCTION MOTOR DRIVE 5.1 INTRODUCTION This chapter describes hardware design and implementation of direct torque controlled induction motor drive with
More informationUsing a Linear Transistor Model for RF Amplifier Design
Application Note AN12070 Rev. 0, 03/2018 Using a Linear Transistor Model for RF Amplifier Design Introduction The fundamental task of a power amplifier designer is to design the matching structures necessary
More informationApplication Note. 3-Phase Brushless DC Motor Control with Hall Sensors AN-CM-244
Application Note 3-Phase Brushless DC Motor Control with Hall AN-CM-244 Abstract This application note describes how to control a 3-phase brushless DC motor using a GreenPAK. This application note comes
More informationUser Guide Introduction. IRMCS3043 System Overview/Guide. International Rectifier s imotion Team. Table of Contents
User Guide 08092 IRMCS3043 System Overview/Guide By International Rectifier s imotion Team Table of Contents IRMCS3043 System Overview/Guide... 1 Introduction... 1 IRMCF343 Application Circuit... 2 Power
More informationIowa State University Electrical and Computer Engineering. E E 452. Electric Machines and Power Electronic Drives
Electrical and Computer Engineering E E 452. Electric Machines and Power Electronic Drives Laboratory #5 Buck Converter Embedded Code Generation Summary In this lab, you will design the control application
More informationRF Power LDMOS Transistor N--Channel Enhancement--Mode Lateral MOSFET
Freescale Semiconductor Technical Data RF Power LDMOS Transistor N--Channel Enhancement--Mode Lateral MOSFET This 12.5 W CW high efficiency RF power transistor is designed for consumer and commercial cooking
More informationDesign of Joint Controller Circuit for PA10 Robot Arm
Design of Joint Controller Circuit for PA10 Robot Arm Sereiratha Phal and Manop Wongsaisuwan Department of Electrical Engineering, Faculty of Engineering, Chulalongkorn University, Bangkok, 10330, Thailand.
More informationSoftware User Manual
Software User Manual ElectroCraft CompletePower Plus Universal Servo Drive ElectroCraft Document Number: 198-0000021 2 Marin Way, Suite 3 Stratham, NH 03885-2578 www.electrocraft.com ElectroCraft 2018
More informationRF Power LDMOS Transistor N--Channel Enhancement--Mode Lateral MOSFET
Freescale Semiconductor Technical Data Document Number: Rev. 0, 7/2016 RF Power LDMOS Transistor N--Channel Enhancement--Mode Lateral MOSFET This 220 W CW high efficiency RF power transistor is designed
More informationZKit-51-RD2, 8051 Development Kit
ZKit-51-RD2, 8051 Development Kit User Manual 1.1, June 2011 This work is licensed under the Creative Commons Attribution-Share Alike 2.5 India License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.5/in/
More informationUM DALI getting started guide. Document information
Rev. 2 6 March 2013 User manual Document information Info Content Keywords LPC111x, LPC1343, ARM, Cortex M0/M3, DALI, USB, lighting control, USB to DALI interface. Abstract This user manual explains how
More informationUM DALI getting started guide. Document information
Rev. 1 6 March 2012 User manual Document information Info Keywords Abstract Content LPC111x, LPC1343, ARM, Cortex M0/M3, DALI, USB, lighting control, USB to DALI interface. This user manual explains how
More informationAN4999 Application note
Application note STSPIN32F0 overcurrent protection Dario Cucchi Introduction The STSPIN32F0 device is a system-in-package providing an integrated solution suitable for driving three-phase BLDC motors using
More information16-Bit Hardware Pulse Width Modulator Data Sheet
48. 16-Bit Hardware Pulse Width Modulator User Module Data Sheet 16-Bit Hardware Pulse Width Modulator Data Sheet PWM16HW PWM16HW Copyright 2009 Cypress Semiconductor Corporation. All Rights Reserved.
More informationExamples of using etimer on Power Architecture devices
Freescale Semiconductor Document Number: AN4793 Application Note Rev. 0, 09/2013 Examples of using etimer on Power Architecture devices by: Tomas Kulig 1 ntroduction This application note describes how
More informationTLE9879 EvalKit V1.2 Users Manual
TLE9879 EvalKit V1.2 Users Manual Contents Abbreviations... 3 1 Concept... 4 2 Interconnects... 5 3 Test Points... 6 4 Jumper Settings... 7 5 Communication Interfaces... 8 5.1 LIN (via Banana jack and
More informationEnhancement Mode phemt
Freescale Semiconductor Technical Data Enhancement Mode phemt Technology (E -phemt) Low Noise Amplifier The MML09231H is a single--stage low noise amplifier (LNA) with active bias and high isolation for
More informationAP08022 C504 / C508. Generating sinusoidal 3-Phase- Currents for Induction Maschines with a time-optimezed algorithm for the Capture Compare Unit
C504 / C508 Application te, V 1.1, Feb. 2004 Generating sinusoidal 3-Phase- Currents for Induction Maschines with a time-optimezed algorithm for the Capture Compare Unit. AP08022 Microcontrollers Never
More informationSTM32 motor control firmware library. STM32 FOC PMSM SDK v3.0.
STM32 motor control firmware library STM32 FOC PMSM SDK v3.0 Contents STM32 FOC PMSM SDK v3.0 overview The FOC (field oriented control) algorithm STM32 with FOC Motor control and electric motor offer FOC
More informationTriscend E5 Support. Configurable System-on-Chip (CSoC) Triscend Development Tools Update TM
www.keil.com Triscend Development Tools Update TM Triscend E5 Support The Triscend E5 family of Configurable System-on-Chip (CSoC) devices is based on a performance accelerated 8-bit 8051 microcontroller.
More informationRAPID CONTROL PROTOTYPING FOR ELECTRIC DRIVES
RAPID CONTROL PROTOTYPING FOR ELECTRIC DRIVES Lukáš Pohl Doctoral Degree Programme (2), FEEC BUT E-mail: xpohll01@stud.feec.vutbr.cz Supervised by: Petr Blaha E-mail: blahap@feec.vutbr.cz Abstract: This
More informationUsing the Break Controller (BC) etpu Function Covers the MCF523x, MPC5500, and all etpu-equipped Devices
Freescale Semiconductor Application Note Document Number: AN2845 Rev. 0, 04/2005 Using the Break Controller (BC) etpu Function Covers the MCF523x, MPC5500, and all etpu-equipped Devices by: Milan Brejl
More informationAVR443: Sensor-based control of three phase Brushless DC motor. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR443: Sensor-based control of three phase Brushless DC motor Features Less than 5us response time on Hall sensor output change Theoretical maximum of 1600k RPM Over-current sensing and stall detection
More informationKV4x Family Product Brief Supports 150 MHz devices with 64 KB to 256 KB Flash
Freescale Semiconductor Document Number:KV4XPB Product Brief Rev 2, 02/2015 KV4x Family Product Brief Supports 150 MHz devices with 64 KB to 256 KB Flash 1 Introduction The Kinetis KV4x family of microcontrollers
More information