NXP Model-Based Design Tools Knowledge Base

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NXP Model-Based Design Tools Knowledge Base

Labels

Discussions

Sort by:
Check this short video to see the cool stuff you can do with an S32K144 DevKit. NOTE: Chinese viewers can watch the video on YOUKU using this link 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
In this video we discuss about power stage (DevKit MotorGD) configuration that involves the configuration and initialization of the MC34GD3000 FET pre-driver via SPI commands and the setup of the FlexPWM peripheral to generate PWM commands to the inverter MOSFETs via pre-driver MC34GD3000.   We discuss about: - Pre-driver MC34GD3000 initialization sequence; - Pre-driver MC34GD3000 programming via SPI; - How to configure and test the FlexPWM peripheral; - How to test and validate the SPI communication between MPC5744P and MC34GD3000; NOTE: Chinese viewers can watch the video on YOUKU using this link 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
In this video we discuss about practical implementation of the motor phase commutation algorithm and how to validate and test such algorithm using different approaches in Model Based Design.    We discuss about: - How to build the commutation table starting from the hall sensor measurement experiment; - How to implement the Software Look Up Tables for rotating the motor in clockwise (CW) or counter clockwise (CCW) directions; - Simulink model that implement the commutation algorithm;   NOTE: Chinese viewers can watch the video on YOUKU using this link 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
In this video we discuss about how to use Processor-in-the-Loop (PIL) approach to generate the C-code and to validate the algorithm on the real hardware.  PIL simulation main goals are: - to generate and execute the C-code on the real target/microprocessor; - to help with specific algorithm and control designs by offering the means to optimize your software; - to establish a testing framework for the production code; PIL simulation can also use some of peripherals from the real target for inputs or outputs, making the simulation environment more realistic and closed to the final SW design specifications.   We discuss about: - What is PIL, When to use it and What is recommended for;  - How to convert any Simulink generic algorithm to run with PIL support using the Model Based Design Toolbox; - PIL Reference models;  NOTE: Chinese viewers can watch the video on YOUKU using this link 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
In this video we discuss about how to use Software-in-the-Loop (SIL) approach to generate the C-code for the first time and validate the algorithm at the concept level.   We discuss about: - What is SIL, When to use it and What is recommended for;  - How to convert any Simulink generic algorithm to run with SIL support using the Model Based Design Toolbox; - SIL Reference models;  NOTE: Chinese viewers can watch the video on YOUKU using this link 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
In this video we show the hall pattern identification procedure that can be applied to any motor in case you have no datasheet available. We will read the hall sensors outputs via the microprocessor and save the information for later use.   We show: - How to prepare the Hardware setup - How to go over each identification table - row by row - to apply DC voltage and rotate the rotor in different sectors 360 degrees. NOTE: Chinese viewers can watch the video on YOUKU using this link 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
In this video we discuss about how the motor phase commutation works. This is an essential topic to understand how the motor rotates based on 6-step commutation technique.   We discuss about: - How to build the commutation table based on hall pattern identification  - How to control the PWM sequence to implement a 6-step/trapezoidal commutation NOTE: Chinese viewers can watch the video on YOUKU using this link 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
In this video we enhance a Simulink model to allow the reading of hall sensors after processor reset to get the initial position of the rotor.   We discuss about: - How to build a special initialization routine to read the halls once in the beginning - How to use StateFlow programming - How to mix the direct read of GPIOs with ISR based on hall transition readings NOTE: Chinese viewers can watch the video on YOUKU using this link 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
In this video we implement Simulink models for reading the hall sensors directly via GPIO or based on Hall transitions interrupts via eTimer Capture.   We discuss about: - How to build simple hall reading application using the available MBD Toolbox GPIO blocks  - How to enhance this simple model by adding interrupt service routines capabilities to read the hall sensors only when there is a transitions - How to count the number of hall transitions - How to validate the applications with FreeMASTER NOTE: Chinese viewers can watch the video on YOUKU using this link 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
In this video we talk about  how hall sensors works, how the commutation sectors are defined based on hall transitions and how can we identify the hall patterns when no datasheet is available.   We discuss about: - Hall sensors - Commutation sectors  - Hall sensors alignment procedure - Hall sensors electronic circuit used on MotorGD and MPC5744P devkits NOTE: Chinese viewers can watch the video on YOUKU using this link 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
Wanna see & play something cool ?  You can see it live in June during Mathworks Expo:  - Munich, Germany on June 27th  - China on June 20th an 27th If you want more details - leave a comment below Check our video showing the demo:  Video Link : 7851 
View full article
Are you interested in such demo? You can see it live in June during Mathworks Expo in Munich, Germany on June 27th See how we built it here. If you want more details - leave a comment below
View full article
In this video we talk about  different motors classification, BLDC motor modelling and how to control the BLDC rotor movement.   We discuss about: - How most common motors operates - Electro-mechanical equations of BLDC motor - How BLDC works - Practical implementation of commutation sequence - BLDC vs PMSM comparison NOTE: Chinese viewers can watch the video on YOUKU using this link 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
This video discuss about how to mix together the ADC and GPIO models to obtain a common speed reference for the BLDC speed closed loop control system.   We discuss about: - How to use analog and digital inputs - How to create a variable that can be changed in real time via Freemaster - How to test the final application - Finalize the Speed Reference Block - Short Quiz NOTE: Chinese viewers can watch the video on YOUKU using this link 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
This video shows how to program the GPIO with Model Based Design Toolbox to obtain the speed reference for the BLDC speed closed loop control system.   We discuss about: - How to implement a simple program to read data from the GPIO - How to test in real time with FreeMaster - How to transform GPI pulses into a speed reference data that represents the rpm. - How to implement from scratch a Simulink model to cover the GPIO functionality NOTE: Chinese viewers can watch the video on YOUKU using this link. 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
This video shows how to program the ADC with Model Based Design Toolbox to obtain the speed reference for the BLDC speed closed loop control system. We discuss about: - How the ADC works - How to simulate the ADC operations - How to implement a simple program to read data from the ADC - How to use BAM to load the application into microprocessor memory - How to test in real time with FreeMaster - How to scale the Potentiometer voltage into a speed reference data that represents the rpm. - How to implement from scratch a Simulink model to cover the ADC functionality NOTE: Chinese viewers can watch the video on YOUKU using this link. 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
This video presents the system block diagram for BLDC speed closed loop control and how to map the application block diagram over the existing hardware. We discuss about: - What is a BLDC motor and how is made - How a BLDC motor works with electronic commutation - What is needed to construct a speed control loop - Mapping the SW and HW together NOTE: Chinese viewers can watch the video on YOUKU using this link. 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
This video presents the hardware and software setup used for Motor Control Class. It shows: - MPC5744P DevKit main hardware features - MotorGD DevKit main hardware features - How to install the Model Based Design Toolbox for MPC5744P revision 2.0.0 - How to generate a license - How to setup a compiler toolchain using S32 Design Studio for Power Architecture - How to add the Model Based Design Toolbox for MPC5744P into the Simulink Standard Libraries - How to validate the software installation by generation C code for the first time NOTE: Chinese viewers can watch the video on YOUKU using this link. 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
A short - 1 minute - Motor Control Class introduction that highlight the main topics and objectives of the training series NOTE: Chinese viewers can watch the video on YOUKU using this link. 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
This video shows: - motor control typical setup with S32K144 rev2.0 Evaluation Board; - Simulink model for a BLDC motor control; - how to setup Simulink to generate ANSI C code for S32K144 rev2.0 MCU; - quick tour of the Model Based Design Toolbox; - quick tour of the FreeMASTER data visualizer; - Motor Control example running with DevKit S32K144EVB and MotorGD shield;
View full article