Infineon XMC4000 Series User Manual

Infineon XMC4000 Series User Manual

Posif in triple-hall mode, triple-hall commutation control for bldc motors
Hide thumbs Also See for XMC4000 Series:
Table of Contents

Advertisement

XM C 400 0
XMC4000 Family
P OSI F in Triple - Hal l M ode
Triple-Hall Commutation Control for BLDC Motors
User Guid e
Device Guide
<Revision 1.0>, <201-08-06>
Mic rocon t rolle r

Advertisement

Table of Contents
loading

Summary of Contents for Infineon XMC4000 Series

  • Page 1 XM C 400 0 XMC4000 Family P OSI F in Triple - Hal l M ode Triple-Hall Commutation Control for BLDC Motors User Guid e Device Guide <Revision 1.0>, <201-08-06> Mic rocon t rolle r...
  • Page 2 Infineon Technologies components may be used in life-support devices or systems only with the express written approval of Infineon Technologies, if a failure of such components can reasonably be expected to cause the failure of that life-support device or system or to affect the safety or effectiveness of that device or system. Life support devices or systems are intended to be implanted in the human body or to support and/or maintain and sustain and/or protect human life.
  • Page 3 Device Guide XMC4000 Revision History Page or Item Subjects (major changes since previous revision) <Revision 1.0>, <201-08-06> Trademarks of Infineon Technologies AG AURIX™, C166™, CanPAK™, CIPOS™, CIPURSE™, EconoPACK™, CoolMOS™, CoolSET™, CORECONTROL™, CROSSAVE™, DAVE™, EasyPIM™, EconoBRIDGE™, EconoDUAL™, EconoPIM™, EiceDRIVER™, eupec™, FCOS™, HITFET™, HybridPACK™, I²RF™, ISOFACE™, IsoPACK™, MIPAQ™, ModSTACK™, my-d™, NovalithIC™, OptiMOS™, ORIGA™, PRIMARION™, PrimePACK™, PrimeSTACK™,...
  • Page 4: Table Of Contents

    Device Guide XMC4000 Table of Contents Table of Contents Triple-Hall Commutation Control for BLDC Motors ..... Fehler! Textmarke nicht definiert. Triple-Hall Input Pattern ........................7 Delayed Hall Input Sampling ........................ 7 2.1.1 Shadow Update of Expected Patterns ....................8 Verification of Hall Event Input Patterns ....................8 2.2.1 Hall Event Verification Outputs ......................
  • Page 5 Device Guide XMC4000 List of Figures List of Figures Figure 1 BLDC Motor Control with Triple-Hall Commutation ................6 Figure 2 The Triple-Hall Input Samples stage for a BLDC Motor Commutation Control ........7 Figure 3 Triple-Hall Input Samples Edge Detection ................... 7 Figure 4 Triple-Hall Input Samples Verification and Administration of Expected Samples ........
  • Page 6: Triple-Hall Commutation Control For Bldc Motors

    Device Guide XMC4000 Triple-Hall Communication Control for BLDC Motors Triple-Hall Communication Control for BLDC Motors The POSIF module is a universal Position Interface unit. In conjunction with the CAPCOM units CCU4 or CCU8 it offers powerful solutions for motion control systems that use various position sensors or rotary encoders in the feedback loop.
  • Page 7: Triple-Hall Input Pattern

    Device Guide XMC4000 Triple-Hall Input Pattern Triple-Hall Input Pattern The Hall Sensor Decoder mode operates in four succesiev stages: 1) The Hall Input Samples stage for the commutation signals, 2) the Detection & Delay stage for the inputs sampling after any edge transition, 3) the Verification &...
  • Page 8: Shadow Update Of Expected Patterns

    Device Guide XMC4000 Triple-Hall Input Pattern 2.1.1 Shadow Update of Expected Patterns After each occurrence and sampling of a new pattern (Sample ) by the delayed Sample Trigger (ST) and an event verification by a Hall Event Compare, there should be a Service Request (SR) to Shadow Update the next (Expected ) pattern.
  • Page 9: Administration (Shadow Transfer) Of Pattern Compare Values

    Device Guide XMC4000 Triple-Hall Output Pattern for BLDC Motor Commutation Control Administration (Shadow Transfer) of Pattern Compare Values On each successful “Correct Hall Event (CHE)” there is a Shadow Transfer of the next pattern compare values: The compare registers “Current Pattern”...
  • Page 10: Output Pattern Control By Capcom Slices In External Modulation Mode

    Device Guide XMC4000 Triple-Hall Output Pattern for BLDC Motor Commutation Control Figure 5 Triple-Hall BLDC Motor Commutation Control using CAPCOM units in Multi-Channel Mode Output Pattern Control by CAPCOM Slices in External Modulation Mode See Figure 6. User Guide <Revision 1.0>, <201-08-06> Device Guide...
  • Page 11: Figure 6 Triple-Hall Bldc Motor Commutation Control By Capcom:s In External Modulation Mode

    Device Guide XMC4000 Triple-Hall Output Pattern for BLDC Motor Commutation Control A slice may have its output pin modulated by external events. This function (and the active level of the event source) should be mapped to one of the 3 inputs of the slice in the CC4/8yCMC and CC4/8yINS registers. Modulation alternatives should be mapped in CC4/8yTC - for Status Bit Clear or just Output Gating on events.
  • Page 12: Posif Interrupt Registers

    Device Guide XMC4000 POSIF Interrupt Registers POSIF Interrupt Registers PFLG POSIF Interrrupt Flags PFLGE POSIF Interrrupts Enable SPFLG Set POSIF Interrrupt Flag RPFLG Reset POSIF Interrrupt Flag POSIF interrupts/event requests in Hall Sensor Mode Four interrupts/event request flags can be enabled by the PFLGE register bits: Transition at the Hall Inputs (HIES), Occurrence of a correct hall event (CHES), Occurrence of a wrong hall event (WHES), Shadow transfer of the Multi-Channel pattern (MSTS) - which is triggered when the Multi-Channel pattern is updated (PIFMST).
  • Page 13: Getting Started With Posif In Triple-Hall Mode

    Device Guide XMC4000 Getting Started with POSIF in Triple-Hall Mode Getting Started with POSIF in Triple-Hall Mode POSIF Global Registers PCONF POSIF Global Control All modes HW and Protocol Controlling Register PSUS Suspend Configuration Suspend configuration register for stop / sync:d stop PRUNS POSIF run bit Set Via this register it is possible to set the module run bit...
  • Page 14: Timer Setup

    Device Guide XMC4000 Getting Started with POSIF in Triple-Hall Mode Timer Setup In the following initialization and setup descriptions below there have been chosen the CCU4x CAPCOM units as associated Capture/Compare units for the preceedings of the Getting Started demonstration with the POSIF. 5.6.1 Ultimate Initialization Sequence Before start and execution of a timer slice SW first time, the CAPCOM4 must have been initialized appropriately...
  • Page 15: Multi-Channel Synchronization To Shadow Transfers

    Device Guide XMC4000 Getting Started with POSIF in Triple-Hall Mode 5.6.8 Multi-Channel Synchronization to Shadow Transfers When it is necessary to perform certain compound shadow transfers synchronously with the update of the Multi- Channel pattern, then the CCU4xMCSS trigger can synchronize those scenarios. The synchronization will be performed via the GCTRL.MSEy bit field respective the shadow transfers configured on the GCTRL.MSDE field.
  • Page 16: Using The Timer Control Registers For Multi-Channel Mode

    Device Guide XMC4000 Getting Started with POSIF in Triple-Hall Mode 30. CC4yTIMER Initialize a timer start value (or flush by the CC4yTCCLR.TCC bit=1 command) 31. CC4yTCSET.TRBS This is the Start Timer by SW command. 5.10 Using the Timer Control Registers for MULTI-CHANNEL Mode 1.
  • Page 17 . i n f i n e o n . c o m Published by Infineon Technologies AG...

Table of Contents