Tutorial โ€” Picooz Helicopter

A complete MBD project, end to end This six-part tutorial walks through a real Model-Based Design project from zero to deployment using a cheap toy โ€ฆ

Read more โ†’

C Function Call โ€” Practical Examples

Overview The C Function Call block enables seamless integration of custom C functions into Simulink models with automatic code generation for โ€ฆ

Read more โ†’

Field-weakening

From Hiba Houmsi’s PhD thesis (Chapter 4). Original paper: Houmsi et al., ICCAD 2023, Rome. ๐Ÿ“น Video walkthrough (12 min) on the @ctrl_elec โ€ฆ

Read more โ†’

Overview

Explore practical examples and tutorials for the MCHP Blockset, organised into three main categories: the Picooz MBD Tutorial (end-to-end walkthrough of a complete Model-Based Design project), University Research Projects featuring advanced motor control techniques, and Microchip Discover Examples providing official reference implementations for embedded system development.

Key Examples

ExampleDescriptionBoardLink
๐Ÿš Picooz MBD TutorialEnd-to-end MBD walkthrough: acquisition โ†’ identification โ†’ controller โ†’ deployment โ†’ validation (six chapters, downloadable models and data)dsPIC33AK CuriosityStart here
C Function CallIntegrate custom C code, legacy libraries, and compiler built-insAnyDetails
Field WeakeningExtended speed range motor control for PMSMMCLV-48VDetails
Motor Control FOCField-oriented control for PMSM motorsMCLV-2Getting Started
External ModeReal-time parameter tuning and data visualisationdsPIC33CK CuriosityGetting Started
PIL TestingProcessor-in-the-Loop code verification and profilingAnyGetting Started
Data VisualizationReal-time plotting with picguiAnyGetting Started

๐ŸŽ“ Community & Research

Videos, PhD theses, lab platforms, and hobby demos built with the toolbox.

๐ŸŽ“ See Community & Research โ†’


๐Ÿ”ฌ Microchip Discover Examples

Official MATLAB and Simulink examples provided by Microchip Technology through the MPLABยฎ Discover platform and MATLAB File Exchange. These examples demonstrate peripheral usage, motor control applications, and development board setups.

Download Platforms

Available Example Categories

โšก Motor Control Examples

  • Field Weakening: Hurst and Teknic motor vector control with extended speed range
  • Vector Control (FOC): dsPIC33CK LVMC vector control implementation
  • PMSM Sensored FOC: Position sensor-based field-oriented control (PIC32MK, SAME54, SAME70)
  • PMSM Sensorless FOC: Observer-based field-oriented control (PIC32MK, SAME54, SAME70)
  • Six-Step Control: Hall-sensor-based BLDC motor control

๐Ÿ”ง Peripheral & Communication Examples

  • UART Terminal: Serial communication with command interface
  • I2C Sensor Interface: I2C bus communication with various sensors
  • SPI Sensor Interface: SPI bus communication examples
  • CAN Communication: Controller Area Network examples
  • EEPROM Access: Non-volatile memory read/write operations
  • ADC Sampling: Analog-to-digital conversion examples

๐ŸŽ›๏ธ Development Board Examples

  • Explorer 16: dsPIC and PIC32 general-purpose development board examples
  • Microstick II: Compact development board demonstrations
  • SAME70 Xplained Ultra: ARM Cortex-M7 evaluation kit examples
  • PIC32MZ Curiosity: PIC32MZ motor control and peripheral examples
  • dsPIC33CK Curiosity: Latest dsPIC family examples
  • LVMC (Low Voltage Motor Control): Motor control development board
  • MCLV (Motor Control Low Voltage): 48 V motor control platform

๐Ÿ” Testing & Debug Examples

  • External Mode: Real-time parameter tuning and data visualisation
  • PIL (Processor-in-the-Loop): Code verification and profiling
  • Data Logging: High-speed data capture and analysis
  • Performance Profiling: Execution time measurement and optimization

๐Ÿ’ป Code Integration Examples

  • C Function Call: Integrate custom C code, legacy libraries, and compiler built-ins โ†’ Detailed Examples

How to Access

  • Option 1: Visit MPLABยฎ Discover and search for “MATLAB” to browse all available projects.
  • Option 2: Download from MATLAB File Exchange .
  • Option 3: Install via MATLAB Add-On Explorer: search for “MPLABยฎ Device Blocks for Simulink”.


Official Microchip examples available through MPLABยฎ Discover and MATLAB File Exchange