SLAAEA2 February   2023 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3106 , MSPM0G3107 , MSPM0G3505 , MSPM0G3506 , MSPM0G3507

 

  1.   1

GUID-20230223-SS0I-0SD2-QQ0G-GXNVFR73VBSN-low.png Figure 1-1 3-Axis Selfie Stick

Presently, there are two main types of selfie stick products on the market: single-axis selfie sticks and three-axis selfie sticks. How can a selfie stick guarantee the shooting stability of mobile phone? Hand shaking of photographers can cause one-axis or three-axis jitter, in which the position and direction is detected by the selfie stick's built-in gyroscope sensor. The internal MCU can process the data and drive one or three motors to produce the opposite movement, which is used to offset the vibration of the mobile phone screen and stabilize the phone when taking a picture or video. To sense, process, and actuate the single- or three-axis motors in a gimbal or selfie stick application, TI’s MSPM0 MCUs can meet the requirements with its high-performance features, broad low-cost portfolio, and diverse package sizes to fit small form factors.

Figure 1-2 3-Axis and 1-Axis Selfie Stick Block Diagram

Hardware

  • Microcontroller (MCU): Acquires gyroscope or accelerator information, runs the control algorithms generates the PWM, and gets the motor speed and position information.
  • Driver: BLDC integrated MOSFET motor driver
  • Power system: Battery, battery charger, boost, and LDO regulator

Software

  • Application: Task management and scheduling.
  • Algorithm: Calculate the gesture of phone in real time according gyroscope or accelerometer feedback; drive BLDC motor using Hall-sensored trapezoidal or sensorless algorithm to achieve closed-loop position control.

You can realize all these functions using TI devices:

Why is MSPM0 suitable for selfie stick?

TI newest Arm® Cortex® M0+ MSPM0Gx high-performance MCUs with up to 80-MHz operating frequency, 32KB to 128KB flash options, scalable analog integration, advanced on-chip motor control peripherals, and more advantages, provide a low-cost solution for various selfie stick applications.

GUID-20230223-SS0I-MXTX-V8V7-N5DHJHFMMVSL-low.png

What can MSPM0 do in selfie stick?

  • Motor control algorithms
  • High-performance core integrated math accelerator
    • Reduce process time for FOC and gesture estimation algorithms and sensing signal
  • Analog and digital peripherals for motor control
    • Two independent 4-Msps 12-bit ADC modules: fast and accurate current sensing
    • Two zero-drift chopper op-amps: accurately amplify the 2-phase current
    • Three high speed comparators: enable hardware current limiting
    • Advanced motor control timers: six flexible PWMs and cross triggers
  • Communication interfaces
    • SPI, UART, and I2C to connect to IMU (inertial measurement unit) sensor
Figure 1-3 Selfie Stick System Block Diagram Based on MSPM0Gx

Resources

Order an MSPM0 LaunchPad™ development kit and DRV8316REVM today to start evaluating MSPM0 for your motor control function for your gimbal or selfie stick system! Jump start your design with MSPM0 code examples and interactive online trainings. You can also find other resources using these links: