SlideShare a Scribd company logo
1 of 24
Advanced Motor Control with FPGA

       Learning Zone @
       Embedded World 2010

       Prof. Dr-Ing. Jens Onno Krah




© 2010 Altera Corporation—Public
Motivation for using FPGA’s for Motor Control


    Reduce number of Components
         ΣΔ ADCs
         Digital Encoder Interface
         Fieldbus IP core
         Soft Core Nios® II CPU

    Increase Performance
     • No Sampling Issues (aliasing)
     • No Calculation Delay
     • High Switching Frequency

    Increase Flexibility
     • Fewer Fieldbus Option Cards
     • Enable Motion Control IP



Prof. Dr.-Ing. Jens Onno Krah
3 Layer Model


Layer 3                                       RAM with 32-Bit data bus
Software
                                  TCP / IP               IRQ for                   Init &
ASM / “C”                          stack                 Control                   Config.


                                                 FPGA IO (3.3 V)


                                Nios II Soft Core CPU with Customer Instructions
Layer 2 (IP)
                                Fast 32-Bit Avalon Bus & IP - IP cross connections                         User
Programmable logic
FPGA / VHDL                                                                                                logic
                                                   EnDAT                  Sinc3               6~           (state
                                MAC
                                                    BiSS                  filter             PWM          machine)

                                                   FPGA IO (3.3V)
                                 MII




Layer 1
Special hardware,                                                       ADC: ΣΔ              IGBT     Flash: Configuration
                                PHY                RS 485                                              and prog. memory
Driver & transceiver                                                    modulator            Driver



Prof. Dr.-Ing. Jens Onno Krah
3 Layer Model


                                              RAM with 32-Bit data bus
                                                                               Field Bus
Layer 3
Software                                                                       Real Time
                                  TCP / IP               IRQ for                Init &
ASM / “C”                          stack                 Control                Ethernet
                                                                               Config.


                                                 FPGA IO (3.3 V)


                                Nios II Soft Core CPU with Customer Instructions
Layer 2 (IP)
                                Fast 32-Bit Avalon Bus & IP - IP cross connections                 User
Programmable logic
FPGA / VHDL                                                                                        logic
                                                   EnDAT                  Sinc3       6~           (state
                                MAC
                                                    BiSS                  filter     PWM          machine)

                                                   FPGA IO (3.3V)
                                 MII




Layer 1
Special hardware,                                                       ADC: ΣΔ      IGBT     Flash: Configuration
                                PHY                RS 485                                      and prog. memory
Driver & transceiver                                                    modulator    Driver



Prof. Dr.-Ing. Jens Onno Krah
Fieldbus Interface - Real Time Ethernet
                           Real Time Ethernet Implementations




                 Software
                                          Hard-         Soft-   Hard-       Soft-
                Application
                                          ware          ware    ware        ware
                  layer

                                           PDO          SDO     PDO         SDO
                 µC Stack



                     MAC                         MAC                  MAC


               Hub / Switch                 Hub / Switch         Hub / Switch


              PHY          PHY             PHY          PHY     PHY         PHY




              RJ45         RJ45            RJ45         RJ45    RJ45        RJ45

                a) Standard                   b) ASIC              c) FPGA


Prof. Dr.-Ing. Jens Onno Krah
Digital Encoder Interface


Layer 3                                       RAM with 32-Bit data bus
Software
                                                                                                        Motor
ASM / “C”
                                  TCP / IP
                                   stack
                                                         IRQ for
                                                         Control
                                                                                   Init &
                                                                                   Config.
                                                                                                      Feedback
                                                                                                      Interface
                                                 FPGA IO (3.3 V)


                                Nios II Soft Core CPU with Customer Instructions
Layer 2 (IP)
                                Fast 32-Bit Avalon Bus & IP - IP cross connections                             User
Programmable logic
FPGA / VHDL                                                                                                   logic
                                                   EnDAT                  Sinc3               6~              (State
                                MAC
                                                    BiSS                  filter             PWM             machine)

                                                   FPGA IO (3.3V)
                                 MII




Layer 1
Special hardware,                                                       ADC: ΣΔ              IGBT        Flash: Configuration
                                PHY                RS 485                                                 and prog. memory
Driver & transceiver                                                    modulator            Driver



Prof. Dr.-Ing. Jens Onno Krah
BiSS® Sensor-Mode “Timing”


                       Transmissions Delay for Calculation adjustable
                       Compensation of Propagation Delay



                                                                                                                    m * Clocks
                                              n * Clocks
                                                                                                          Compensation of Propagation Delay
                  Request                  n * Clocks = tCAL   0 to   ~ 6-12 µsec
                                                                                                                     m * Clock = tpropagation

          Clock
          Clockrate
          ... 10 MHz
                             Propagation                                             Setup < 50 nsec

           Data                 Delay
                                                                                                                             Status
                                              Delay for Calculation                 Start   MSB                     LSB      W&A        CRC     MCD

                                                                                                       Max 64 Bit             2 Bit     6 Bit   1 Bit

                    Store             Acknowledge                       Ready                                                                           Timeout sens
                   Encoder                                     (Start of transmission)
                    Data




Prof. Dr.-Ing. Jens Onno Krah
Motor Current Measurement using SD ADCs
                                                                                                      Current
                                                                                                      Measure
Layer 3                                       RAM with 32-Bit data bus
Software
                                  TCP / IP               IRQ for                   Init &
ASM / “C”                          stack                 Control                   Config.


                                                 FPGA IO (3.3 V)


                                Nios II Soft Core CPU with Customer Instructions
Layer 2 (IP)
                                Fast 32-Bit Avalon Bus & IP - IP cross connections                          User
Programmable logic
FPGA / VHDL                                                                                                logic
                                                   EnDAT                  Sinc3               6~           (State
                                MAC
                                                    BiSS                  filter             PWM          machine)

                                                   FPGA IO (3.3V)
                                 MII




Layer 1
Special hardware,                                                       ADC: ΣΔ              IGBT     Flash: Configuration
                                PHY                RS 485                                              and prog. memory
Driver & transceiver                                                    modulator            Driver



Prof. Dr.-Ing. Jens Onno Krah
High Performance Current Measurement



          <5A                   < 50 A (150 A IGBT)     > 25 A
      SMT Shunt                 MIPAC Shunt           Hall (LEM)
      ΣΔ + Opto                 ΣΔ (int. or ext.)     ΣΔ (no Opto / Ti)




   FalconEye

Prof. Dr.-Ing. Jens Onno Krah
Pulse Width Modulation - PWM


Layer 3                                       RAM with 32-Bit data bus
Software
ASM / “C”
                                  TCP / IP
                                   stack
                                                         IRQ for
                                                         Control
                                                                                   Init &
                                                                                   Config.
                                                                                                      PWM
                                                 FPGA IO (3.3 V)


                                Nios II Soft Core CPU with Customer Instructions
Layer 2 (IP)
                                Fast 32-Bit Avalon Bus & IP - IP cross connections                           User
Programmable logic
FPGA / VHDL                                                                                                 logic
                                                   EnDAT                  Sinc3               6~            (State
                                MAC
                                                    BiSS                  filter             PWM           machine)

                                                   FPGA IO (3.3V)
                                 MII




Layer 1
Special hardware,                                                       ADC: ΣΔ              IGBT      Flash: Configuration
                                PHY                RS 485                                               and prog. memory
Driver & transceiver                                                    modulator            Driver



Prof. Dr.-Ing. Jens Onno Krah
Field Oriented Control


Layer 3                                       RAM with 32-Bit data bus                                Field
Software
ASM / “C”
                                  TCP / IP               IRQ for                   Init &             Oriented
                                   stack                 Control                   Config.
                                                                                                      Control
                                                 FPGA IO (3.3 V)


                                Nios II Soft Core CPU with Customer Instructions
Layer 2 (IP)
                                Fast 32-Bit Avalon Bus & IP - IP cross connections                             User
Programmable logic
FPGA / VHDL                                                                                                   logic
                                                   EnDAT                  Sinc3                               (State
                                MAC                                                          PWM
                                                    BiSS                  filter                             machine)

                                                   FPGA IO (3.3V)
                                 MII




Layer 1
Special hardware,                                                       ADC: ΣΔ              IGBT        Flash: Configuration
                                PHY                RS 485                                                 and prog. memory
Driver & transceiver                                                    modulator            Driver



Prof. Dr.-Ing. Jens Onno Krah
Field Oriented Control                                             “C” + VHDL
                                                                                                                                          ~
                                                                                                                                              =
                                I T + ICONT
                                2                                                                                                 D
                       DIPEAK
                       MIPEAK
                                }   IPEAK     }   min
                                                                 Current Control
                                                                 MLGD, MLGQ
                                                                 MLGC, MLGP
                                                                 KTN, KC
                                                                                                                   VBUS
                                                                                                                                      A


                                        torque                                                                                            =
                                                                                                   e jδ               PWM
                                                                                                                                              ~
                                                           (-)                          (+)

                                                                         Id, Iq                            I a, I b
                                                                                                    - jδ               D
                                                                                                   e                       A
                                                                            MPHASE            δe                      MRESPOLES            M
                                                                                                                      MRESBW               3~
                                    speed                                          ϕe                                 RK
                                                                                               MPOLES
                                                                                                              δm       D
                                                   GVFBT                                       p
                                                                                                                           E                  E

                                                                                        d
                                    Nios II / VHDL                                            dt
                                                                                                                           VHDL
                                                                                                                                              Beckhoff
Fast , Special (IP):    VHDL                  Field Oriented Control + Fieldbus → 20 000 Logic Elements


Economic, Universal: Nios® II processor                                                                                 → 6 000 Logic Elements


Prof. Dr.-Ing. Jens Onno Krah
Nios II - Custom Instruction – Accelerating sine and cosine

  short i_sin(int winkel) // mit Floating Point Unit
  {
     return (short)(32767. * sin(2*PI*winkel/65536.)) ;
  }

  short sinus_table[65] = {0,804, … ,32758,32767};

  short quadrant =              (winkel >> 14) & 3 ;
  short index    =              (winkel >> 8) & 63 ;
  short rest     =               winkel & 255 ;

  val = sinus_table[index] +     // 0 … 90° -> 1st quadrant
      (((sinus_table[index+1]-sinus_table[index])*rest)>>8) ;


  1st Order Taylor Approximation:
  Interpolation Points / 90°               Accuracy / Bit
              32                           10,7
              64                           12,7
             128                           14,7


Prof. Dr.-Ing. Jens Onno Krah
Nios II - Custom Instruction – Accelerating sine and cosine


    Static inline short sin(short phi)
    {
       return ALT_CT_ABSMAX_INST(val,max) ;            // 20 ns bei 100 MHz
    }

    Static inline short cos(short phi)
    {
       return ALT_CT_ABSMAX_INST(val,max) ;            // 20 ns bei 100 MHz
    }


    The sin and cos instructions use:

                - 400 Logic Elements and
                - 2 DSP Blocks

    in addition to the Nios® II processor resources (Cyclone® III)



Prof. Dr.-Ing. Jens Onno Krah
Nios II - Custom Instruction – Accelerating PI Control

                                                                PI Control
  Nios II C:        // FOC d-current PI-control

    i_e = i_cmd_d - i_act_d ;
    if ( i_e > i_lim ) {                 // limiting
        i_e = i_lim ;
    } else if( i_e < -i_lim ){
        i_e = -i_lim ;
    }

    u_d_integral += (i_e * Ki_d) >> 10 ; // I-part
    if ( u_d_integral > u_lim ){         // anti wind up
        u_d_integral = u_lim;
    } else if( u_d_integral < -u_lim ) {
        u_d_integral = -u_lim ;
    }

    u_d_cmd = u_d_integral + ((i_e * Kp_d) >> 10) ;    // + P-part
    if ( u_d_cmd > u_lim ){                            // limit
        u_d_cmd = u_lim ;
    } else if( u_d_cmd < -u_lim ) {
        u_d_cmd = -u_lim ;
    }




Prof. Dr.-Ing. Jens Onno Krah
Nios II - Custom Instruction – Accelerating PI Control

    “C” Code:
    int absmax(int val,int max)
    {
       if ( val > max ) {                     // pos. limit ?
          return max ;
       } else if( val < -max ) {              // neg. Limit ?
          return -max ;
       } else {
                                                                     Max.
          return val ;
                                                            val
       }
    }

    Using a Custom Instruction:

    ALT_CT_ABSMAX_INST(val,max) ;     // 10 ns at 100 MHz

    The absmax instruction needs 159 Logic Elements (Cyclone® III)


Prof. Dr.-Ing. Jens Onno Krah
FalconEye FPGA - 3 Layer Model


Layer 3                                       RAM with 32-Bit data bus                                 Speed up
Software                                                                                              current loop
                                  TCP / IP               IRQ for                   Init &
ASM / “C”                          stack                 Control                   Config.              interrupt

                                                 FPGA IO (3.3 V)


                                Nios II Soft Core CPU with Customer Instructions
Layer 2 (IP)
                                Fast 32-Bit Avalon Bus & IP - IP cross connections                              User
Programmable logic
FPGA / VHDL                                                                                                    logic
                                                   EnDAT                  Sinc3                                (State
                                MAC                                                          PWM
                                                    BiSS                  filter                              machine)

                                                   FPGA IO (3.3V)
                                 MII




Layer 1
Special hardware,                                                       ADC: ΣΔ              IGBT         Flash: Configuration
                                PHY                RS 485                                                  and prog. memory
Driver & transceiver                                                    modulator            Driver



Prof. Dr.-Ing. Jens Onno Krah
Using Logic Elements to Reduce Calculation Time




                                                                                     0.1 µs
        15 µs




                                5 µs
                                       current loop execution time




                                        requested Logic Elements

~5000 LE                        ~7000 LE                                          20 000 LE

                                       sin / cos / absmax            Beckhoff IP
       Altera low cost                 custom instructions           VHDL current loop
                                       tightly coupled memory        EtherCAT IP

Prof. Dr.-Ing. Jens Onno Krah
Advantages of Analog Current Control:

       • Fast
          - No additional sampling delay time

       • No aliasing issues (due to the sampling theorem)
         - No sub harmonics

       • Simple
          - Low number of components


                                                    R2   C

                                       R1
                                                -
                                                +




Prof. Dr.-Ing. Jens Onno Krah
Advantages of Digital Current Control:
      • Complex control algorithms                               Iq
         - Field oriented control (FOC)
         - Space Vector Modulation (SVM)                                     Ψ Id
         - Non linear control (saturation)
                                                                              δ
      • Predictive control
         - Smith predictor
         - Luenberger observer

      • Digital command (reference) and controlled value                     DSP
         - Field bus process data object
         - Exactly repeatable digital parameters
           (not only a scaled potentiometer)

      • Remote setup and diagnostics
         - Access via field bus to actual values, parameters and scope functions

Prof. Dr.-Ing. Jens Onno Krah
Advantages of FPGA based Digital Control:
• All advantages of analog current control
• All advantages of digital current control

+ On-Chip position feedback interface
    - Resolver Digital Converter (via ΣΔ Modulator)
    - SinCos Encoder with only 2µ delay (via fast SAR ADC)
    - Digital Encoder: SSI, BiSS, EnDAT, Hiperface DSL (via RS 485 driver)
+ On-Chip field bus (EtherCAT) interface (via external PHY)
+ On-Chip ΣΔ decimation filter for high precision multi channel analog signal
  processing
+ Extreme fast and flexible 6-phase PWM with minimal delay time
+ Inverter / Motor Control Intellectual Property (IP)
    - 3-level Inverter
    - Matrix Inverter




Prof. Dr.-Ing. Jens Onno Krah
FPGA Motor Control Reference Design

                FalconEye-FPGA (EBV-Elektronik)


BLAC
Motor




                     FPGA Eval. Board   Power Electronics
Prof. Dr.-Ing. Jens Onno Krah
Power Supply

                                                                                                       5 / 15 Vdc                                       BLAC
                                FalconEye
                                                                                                                    Control  Logic                      or IM
                                                                                                                    Power Supply 




                                                            125 - 400
                                                            Vdc
                            EMI Filter             PFC                         Ballast                        Power Stage
                                                                                                     400                                    3~
        90-240 Vac                                                                                   Vdc                                    0 – 300 V
                                                                                                                                                        Motor
                                               P
                                               F
                                               C



                                                                                                                        Avago       Avago




                                                                          Vbus ΣΔ
                                                                                                                                                        Feed-
                                                            Ballast
                                                                                                                                                        back
              Real Time Ethernet:
                                            VHDL
                                                                                            IGBT Signals
                                            Motor
                                            Control                                           Motor Current ΣΔ

                                                                                                                                                                Resolver


                                                                                                                        RS 485
                                                            SVM                     sinc3            FB IP
                                                                                                                         or ΣΔ


                                            PHY
                                                                MAC
                                                                                              Motor Control
                                                               `

                                                                 or
                                                                                                NIOS II

                                                                 IP                                                      `  SRAM
                                            PHY
               USB
                              USB
   PC
   `
                             Blaster                                                                                            Flash
                                                                                                                                `
                                            JTAG         Cyclone III C 40
                            „C“
                           Motor            EBV DBC3C40 – FPGA Motor Controller
                           Control


Prof. Dr.-Ing. Jens Onno Krah
FalconEye Demonstrator: EBV Roller Dynamometer




 Hall 12 – Stand 376

Prof. Dr.-Ing. Jens Onno Krah

More Related Content

What's hot

FPGA Camp - Intellitech Presentation
FPGA Camp - Intellitech PresentationFPGA Camp - Intellitech Presentation
FPGA Camp - Intellitech PresentationFPGA Central
 
Embedded System Microcontroller Interactive Course using BASCOM-AVR - Lecture9
Embedded System Microcontroller Interactive Course using BASCOM-AVR - Lecture9Embedded System Microcontroller Interactive Course using BASCOM-AVR - Lecture9
Embedded System Microcontroller Interactive Course using BASCOM-AVR - Lecture9AL-AWAIL for Electronic Engineering
 
A review on virtex fpga family from xilinx
A review on virtex fpga family from xilinxA review on virtex fpga family from xilinx
A review on virtex fpga family from xilinxUniversity of Kassel
 
Iaetsd a design of fpga with ledr encoding and
Iaetsd a design of fpga with ledr encoding andIaetsd a design of fpga with ledr encoding and
Iaetsd a design of fpga with ledr encoding andIaetsd Iaetsd
 
LinuxCNC 入門簡介
LinuxCNC 入門簡介LinuxCNC 入門簡介
LinuxCNC 入門簡介roboard
 
CommSEC - InterLINK products line (EN)
CommSEC - InterLINK products line (EN)CommSEC - InterLINK products line (EN)
CommSEC - InterLINK products line (EN)iBLio
 
FPGA in outer space seminar report
FPGA in outer space seminar reportFPGA in outer space seminar report
FPGA in outer space seminar reportrahul kumar verma
 
Basics of rfid blaze automation
Basics of rfid   blaze automationBasics of rfid   blaze automation
Basics of rfid blaze automationBlaze_Hyd
 
AD-IP-JESD204 JESD204B Interface Framework
AD-IP-JESD204 JESD204B Interface FrameworkAD-IP-JESD204 JESD204B Interface Framework
AD-IP-JESD204 JESD204B Interface FrameworkAnalog Devices, Inc.
 
Message Signaled Interrupts
Message Signaled InterruptsMessage Signaled Interrupts
Message Signaled InterruptsAnshuman Biswal
 
Introducing the ADSP BF609 Blackfin Processors
Introducing the ADSP BF609 Blackfin ProcessorsIntroducing the ADSP BF609 Blackfin Processors
Introducing the ADSP BF609 Blackfin ProcessorsAnalog Devices, Inc.
 

What's hot (20)

FPGA
FPGAFPGA
FPGA
 
FPGA Camp - Intellitech Presentation
FPGA Camp - Intellitech PresentationFPGA Camp - Intellitech Presentation
FPGA Camp - Intellitech Presentation
 
91 94
91 9491 94
91 94
 
Embedded System Microcontroller Interactive Course using BASCOM-AVR - Lecture9
Embedded System Microcontroller Interactive Course using BASCOM-AVR - Lecture9Embedded System Microcontroller Interactive Course using BASCOM-AVR - Lecture9
Embedded System Microcontroller Interactive Course using BASCOM-AVR - Lecture9
 
Mobile Devices - Product presentation 2012
Mobile Devices - Product presentation 2012Mobile Devices - Product presentation 2012
Mobile Devices - Product presentation 2012
 
100 103
100 103100 103
100 103
 
A review on virtex fpga family from xilinx
A review on virtex fpga family from xilinxA review on virtex fpga family from xilinx
A review on virtex fpga family from xilinx
 
FPGA In a Nutshell
FPGA In a NutshellFPGA In a Nutshell
FPGA In a Nutshell
 
Iaetsd a design of fpga with ledr encoding and
Iaetsd a design of fpga with ledr encoding andIaetsd a design of fpga with ledr encoding and
Iaetsd a design of fpga with ledr encoding and
 
LinuxCNC 入門簡介
LinuxCNC 入門簡介LinuxCNC 入門簡介
LinuxCNC 入門簡介
 
Cpld fpga
Cpld fpgaCpld fpga
Cpld fpga
 
CommSEC - InterLINK products line (EN)
CommSEC - InterLINK products line (EN)CommSEC - InterLINK products line (EN)
CommSEC - InterLINK products line (EN)
 
Fpg as 11 body
Fpg as 11 bodyFpg as 11 body
Fpg as 11 body
 
FPGA in outer space seminar report
FPGA in outer space seminar reportFPGA in outer space seminar report
FPGA in outer space seminar report
 
Fpga 03-cpld-and-fpga
Fpga 03-cpld-and-fpgaFpga 03-cpld-and-fpga
Fpga 03-cpld-and-fpga
 
Basics of rfid blaze automation
Basics of rfid   blaze automationBasics of rfid   blaze automation
Basics of rfid blaze automation
 
AD-IP-JESD204 JESD204B Interface Framework
AD-IP-JESD204 JESD204B Interface FrameworkAD-IP-JESD204 JESD204B Interface Framework
AD-IP-JESD204 JESD204B Interface Framework
 
Message Signaled Interrupts
Message Signaled InterruptsMessage Signaled Interrupts
Message Signaled Interrupts
 
Introducing the ADSP BF609 Blackfin Processors
Introducing the ADSP BF609 Blackfin ProcessorsIntroducing the ADSP BF609 Blackfin Processors
Introducing the ADSP BF609 Blackfin Processors
 
CPLD xc9500
CPLD xc9500CPLD xc9500
CPLD xc9500
 

Similar to Adv. FPGA Motor Control--EBV & Univ. of Koln: Embedded World 2010

Flex Stack Rapid Prototyping System
Flex Stack Rapid Prototyping SystemFlex Stack Rapid Prototyping System
Flex Stack Rapid Prototyping Systemfrankp617
 
Ip interfaces by faststream technologies
Ip interfaces by faststream technologiesIp interfaces by faststream technologies
Ip interfaces by faststream technologiesVishalMalhotra58
 
15.00 hr van Hilten
15.00 hr van Hilten15.00 hr van Hilten
15.00 hr van HiltenThemadagen
 
Nios2 and ip core
Nios2 and ip coreNios2 and ip core
Nios2 and ip coreanishgoel
 
Sears Point Racetrack
Sears Point RacetrackSears Point Racetrack
Sears Point RacetrackDino, llc
 
Mpc5121 econfs
Mpc5121 econfsMpc5121 econfs
Mpc5121 econfsDino, llc
 
Raise your Uptime - How to monitor heterogeneous server environments with Linux
Raise your Uptime - How to monitor heterogeneous server environments with LinuxRaise your Uptime - How to monitor heterogeneous server environments with Linux
Raise your Uptime - How to monitor heterogeneous server environments with LinuxWerner Fischer
 
Shoftcore Processors
Shoftcore ProcessorsShoftcore Processors
Shoftcore ProcessorsAnish Goel
 
Introduction to NanoBoard-3000 FPGA
Introduction to NanoBoard-3000 FPGA Introduction to NanoBoard-3000 FPGA
Introduction to NanoBoard-3000 FPGA Premier Farnell
 
Overview of ST7 8-bit Microcontrollers
Overview of ST7 8-bit MicrocontrollersOverview of ST7 8-bit Microcontrollers
Overview of ST7 8-bit MicrocontrollersPremier Farnell
 
Steen_Dissertation_March5
Steen_Dissertation_March5Steen_Dissertation_March5
Steen_Dissertation_March5Steen Larsen
 
Research and Prototyping Ground Robot Platform
Research and Prototyping Ground Robot PlatformResearch and Prototyping Ground Robot Platform
Research and Prototyping Ground Robot Platformcharlesk
 
Industry’s performance leading ultra low-power dsp solution
Industry’s performance leading ultra low-power dsp solutionIndustry’s performance leading ultra low-power dsp solution
Industry’s performance leading ultra low-power dsp solutionAnalog Devices, Inc.
 
Dedi prog in_circuit_programming_presentation_(nwe_add_update)
Dedi prog in_circuit_programming_presentation_(nwe_add_update)Dedi prog in_circuit_programming_presentation_(nwe_add_update)
Dedi prog in_circuit_programming_presentation_(nwe_add_update)thelabeshop
 
Spartan-II FPGA (xc2s30)
Spartan-II FPGA (xc2s30)Spartan-II FPGA (xc2s30)
Spartan-II FPGA (xc2s30)A B Shinde
 
SBC6020 SAM9G20 based Single Board Computer
SBC6020 SAM9G20 based Single Board ComputerSBC6020 SAM9G20 based Single Board Computer
SBC6020 SAM9G20 based Single Board Computeryclinda666
 

Similar to Adv. FPGA Motor Control--EBV & Univ. of Koln: Embedded World 2010 (20)

Flex Stack Rapid Prototyping System
Flex Stack Rapid Prototyping SystemFlex Stack Rapid Prototyping System
Flex Stack Rapid Prototyping System
 
Ip interfaces by faststream technologies
Ip interfaces by faststream technologiesIp interfaces by faststream technologies
Ip interfaces by faststream technologies
 
Trends For Innovating Faster
Trends For Innovating FasterTrends For Innovating Faster
Trends For Innovating Faster
 
15.00 hr van Hilten
15.00 hr van Hilten15.00 hr van Hilten
15.00 hr van Hilten
 
Nios2 and ip core
Nios2 and ip coreNios2 and ip core
Nios2 and ip core
 
Sears Point Racetrack
Sears Point RacetrackSears Point Racetrack
Sears Point Racetrack
 
Mpc5121 econfs
Mpc5121 econfsMpc5121 econfs
Mpc5121 econfs
 
Raise your Uptime - How to monitor heterogeneous server environments with Linux
Raise your Uptime - How to monitor heterogeneous server environments with LinuxRaise your Uptime - How to monitor heterogeneous server environments with Linux
Raise your Uptime - How to monitor heterogeneous server environments with Linux
 
Smart logic
Smart logicSmart logic
Smart logic
 
Shoftcore Processors
Shoftcore ProcessorsShoftcore Processors
Shoftcore Processors
 
Introduction to NanoBoard-3000 FPGA
Introduction to NanoBoard-3000 FPGA Introduction to NanoBoard-3000 FPGA
Introduction to NanoBoard-3000 FPGA
 
Overview of ST7 8-bit Microcontrollers
Overview of ST7 8-bit MicrocontrollersOverview of ST7 8-bit Microcontrollers
Overview of ST7 8-bit Microcontrollers
 
Steen_Dissertation_March5
Steen_Dissertation_March5Steen_Dissertation_March5
Steen_Dissertation_March5
 
Research and Prototyping Ground Robot Platform
Research and Prototyping Ground Robot PlatformResearch and Prototyping Ground Robot Platform
Research and Prototyping Ground Robot Platform
 
Spectra dtp4700h march2012_final
Spectra dtp4700h march2012_finalSpectra dtp4700h march2012_final
Spectra dtp4700h march2012_final
 
Industry’s performance leading ultra low-power dsp solution
Industry’s performance leading ultra low-power dsp solutionIndustry’s performance leading ultra low-power dsp solution
Industry’s performance leading ultra low-power dsp solution
 
Dedi prog in_circuit_programming_presentation_(nwe_add_update)
Dedi prog in_circuit_programming_presentation_(nwe_add_update)Dedi prog in_circuit_programming_presentation_(nwe_add_update)
Dedi prog in_circuit_programming_presentation_(nwe_add_update)
 
Pc interface
Pc interfacePc interface
Pc interface
 
Spartan-II FPGA (xc2s30)
Spartan-II FPGA (xc2s30)Spartan-II FPGA (xc2s30)
Spartan-II FPGA (xc2s30)
 
SBC6020 SAM9G20 based Single Board Computer
SBC6020 SAM9G20 based Single Board ComputerSBC6020 SAM9G20 based Single Board Computer
SBC6020 SAM9G20 based Single Board Computer
 

More from Altera Corporation

Traditional vs. SoC FPGA Design Flow A Video Pipeline Case Study
Traditional vs. SoC FPGA Design Flow A Video Pipeline Case StudyTraditional vs. SoC FPGA Design Flow A Video Pipeline Case Study
Traditional vs. SoC FPGA Design Flow A Video Pipeline Case StudyAltera Corporation
 
Altera’s Role In Accelerating the Internet of Things
Altera’s Role In Accelerating the Internet of ThingsAltera’s Role In Accelerating the Internet of Things
Altera’s Role In Accelerating the Internet of ThingsAltera Corporation
 
Overview of Nios II Embedded Processor
Overview of Nios II Embedded ProcessorOverview of Nios II Embedded Processor
Overview of Nios II Embedded ProcessorAltera Corporation
 
Upgrade Your Broadcast System to PCIe Gen2
Upgrade Your Broadcast System to PCIe Gen2Upgrade Your Broadcast System to PCIe Gen2
Upgrade Your Broadcast System to PCIe Gen2Altera Corporation
 
Stratix V FPGA Intro Presentation
Stratix V FPGA Intro PresentationStratix V FPGA Intro Presentation
Stratix V FPGA Intro PresentationAltera Corporation
 
Nios II Embedded Processor: Embedded World 2010
Nios II Embedded Processor: Embedded World 2010Nios II Embedded Processor: Embedded World 2010
Nios II Embedded Processor: Embedded World 2010Altera Corporation
 
Industrial Safety: Embedded World 2010
Industrial Safety: Embedded World 2010Industrial Safety: Embedded World 2010
Industrial Safety: Embedded World 2010Altera Corporation
 
IXXAT--Industrial Ethernet Challenges/Solutions: Embedded World 2010
IXXAT--Industrial Ethernet Challenges/Solutions: Embedded World 2010IXXAT--Industrial Ethernet Challenges/Solutions: Embedded World 2010
IXXAT--Industrial Ethernet Challenges/Solutions: Embedded World 2010Altera Corporation
 
Benefits of Using FPGAs for Embedded Processing: Embedded World 2010
Benefits of Using FPGAs for Embedded Processing: Embedded World 2010Benefits of Using FPGAs for Embedded Processing: Embedded World 2010
Benefits of Using FPGAs for Embedded Processing: Embedded World 2010Altera Corporation
 
Creating Your Own PCI Express System Using FPGAs: Embedded World 2010
Creating Your Own PCI Express System Using FPGAs: Embedded World 2010Creating Your Own PCI Express System Using FPGAs: Embedded World 2010
Creating Your Own PCI Express System Using FPGAs: Embedded World 2010Altera Corporation
 
AMC & VPX Form Factor Boards With High Speed SERDES: Embedded World 2010
AMC & VPX Form Factor Boards With High Speed SERDES: Embedded World 2010AMC & VPX Form Factor Boards With High Speed SERDES: Embedded World 2010
AMC & VPX Form Factor Boards With High Speed SERDES: Embedded World 2010Altera Corporation
 
Altera Cyclone IV FPGA Customer Presentation
Altera Cyclone IV FPGA Customer PresentationAltera Cyclone IV FPGA Customer Presentation
Altera Cyclone IV FPGA Customer PresentationAltera Corporation
 

More from Altera Corporation (12)

Traditional vs. SoC FPGA Design Flow A Video Pipeline Case Study
Traditional vs. SoC FPGA Design Flow A Video Pipeline Case StudyTraditional vs. SoC FPGA Design Flow A Video Pipeline Case Study
Traditional vs. SoC FPGA Design Flow A Video Pipeline Case Study
 
Altera’s Role In Accelerating the Internet of Things
Altera’s Role In Accelerating the Internet of ThingsAltera’s Role In Accelerating the Internet of Things
Altera’s Role In Accelerating the Internet of Things
 
Overview of Nios II Embedded Processor
Overview of Nios II Embedded ProcessorOverview of Nios II Embedded Processor
Overview of Nios II Embedded Processor
 
Upgrade Your Broadcast System to PCIe Gen2
Upgrade Your Broadcast System to PCIe Gen2Upgrade Your Broadcast System to PCIe Gen2
Upgrade Your Broadcast System to PCIe Gen2
 
Stratix V FPGA Intro Presentation
Stratix V FPGA Intro PresentationStratix V FPGA Intro Presentation
Stratix V FPGA Intro Presentation
 
Nios II Embedded Processor: Embedded World 2010
Nios II Embedded Processor: Embedded World 2010Nios II Embedded Processor: Embedded World 2010
Nios II Embedded Processor: Embedded World 2010
 
Industrial Safety: Embedded World 2010
Industrial Safety: Embedded World 2010Industrial Safety: Embedded World 2010
Industrial Safety: Embedded World 2010
 
IXXAT--Industrial Ethernet Challenges/Solutions: Embedded World 2010
IXXAT--Industrial Ethernet Challenges/Solutions: Embedded World 2010IXXAT--Industrial Ethernet Challenges/Solutions: Embedded World 2010
IXXAT--Industrial Ethernet Challenges/Solutions: Embedded World 2010
 
Benefits of Using FPGAs for Embedded Processing: Embedded World 2010
Benefits of Using FPGAs for Embedded Processing: Embedded World 2010Benefits of Using FPGAs for Embedded Processing: Embedded World 2010
Benefits of Using FPGAs for Embedded Processing: Embedded World 2010
 
Creating Your Own PCI Express System Using FPGAs: Embedded World 2010
Creating Your Own PCI Express System Using FPGAs: Embedded World 2010Creating Your Own PCI Express System Using FPGAs: Embedded World 2010
Creating Your Own PCI Express System Using FPGAs: Embedded World 2010
 
AMC & VPX Form Factor Boards With High Speed SERDES: Embedded World 2010
AMC & VPX Form Factor Boards With High Speed SERDES: Embedded World 2010AMC & VPX Form Factor Boards With High Speed SERDES: Embedded World 2010
AMC & VPX Form Factor Boards With High Speed SERDES: Embedded World 2010
 
Altera Cyclone IV FPGA Customer Presentation
Altera Cyclone IV FPGA Customer PresentationAltera Cyclone IV FPGA Customer Presentation
Altera Cyclone IV FPGA Customer Presentation
 

Recently uploaded

Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 

Recently uploaded (20)

Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

Adv. FPGA Motor Control--EBV & Univ. of Koln: Embedded World 2010

  • 1. Advanced Motor Control with FPGA Learning Zone @ Embedded World 2010 Prof. Dr-Ing. Jens Onno Krah © 2010 Altera Corporation—Public
  • 2. Motivation for using FPGA’s for Motor Control Reduce number of Components ΣΔ ADCs Digital Encoder Interface Fieldbus IP core Soft Core Nios® II CPU Increase Performance • No Sampling Issues (aliasing) • No Calculation Delay • High Switching Frequency Increase Flexibility • Fewer Fieldbus Option Cards • Enable Motion Control IP Prof. Dr.-Ing. Jens Onno Krah
  • 3. 3 Layer Model Layer 3 RAM with 32-Bit data bus Software TCP / IP IRQ for Init & ASM / “C” stack Control Config. FPGA IO (3.3 V) Nios II Soft Core CPU with Customer Instructions Layer 2 (IP) Fast 32-Bit Avalon Bus & IP - IP cross connections User Programmable logic FPGA / VHDL logic EnDAT Sinc3 6~ (state MAC BiSS filter PWM machine) FPGA IO (3.3V) MII Layer 1 Special hardware, ADC: ΣΔ IGBT Flash: Configuration PHY RS 485 and prog. memory Driver & transceiver modulator Driver Prof. Dr.-Ing. Jens Onno Krah
  • 4. 3 Layer Model RAM with 32-Bit data bus Field Bus Layer 3 Software Real Time TCP / IP IRQ for Init & ASM / “C” stack Control Ethernet Config. FPGA IO (3.3 V) Nios II Soft Core CPU with Customer Instructions Layer 2 (IP) Fast 32-Bit Avalon Bus & IP - IP cross connections User Programmable logic FPGA / VHDL logic EnDAT Sinc3 6~ (state MAC BiSS filter PWM machine) FPGA IO (3.3V) MII Layer 1 Special hardware, ADC: ΣΔ IGBT Flash: Configuration PHY RS 485 and prog. memory Driver & transceiver modulator Driver Prof. Dr.-Ing. Jens Onno Krah
  • 5. Fieldbus Interface - Real Time Ethernet Real Time Ethernet Implementations Software Hard- Soft- Hard- Soft- Application ware ware ware ware layer PDO SDO PDO SDO µC Stack MAC MAC MAC Hub / Switch Hub / Switch Hub / Switch PHY PHY PHY PHY PHY PHY RJ45 RJ45 RJ45 RJ45 RJ45 RJ45 a) Standard b) ASIC c) FPGA Prof. Dr.-Ing. Jens Onno Krah
  • 6. Digital Encoder Interface Layer 3 RAM with 32-Bit data bus Software Motor ASM / “C” TCP / IP stack IRQ for Control Init & Config. Feedback Interface FPGA IO (3.3 V) Nios II Soft Core CPU with Customer Instructions Layer 2 (IP) Fast 32-Bit Avalon Bus & IP - IP cross connections User Programmable logic FPGA / VHDL logic EnDAT Sinc3 6~ (State MAC BiSS filter PWM machine) FPGA IO (3.3V) MII Layer 1 Special hardware, ADC: ΣΔ IGBT Flash: Configuration PHY RS 485 and prog. memory Driver & transceiver modulator Driver Prof. Dr.-Ing. Jens Onno Krah
  • 7. BiSS® Sensor-Mode “Timing” Transmissions Delay for Calculation adjustable Compensation of Propagation Delay m * Clocks n * Clocks Compensation of Propagation Delay Request n * Clocks = tCAL 0 to ~ 6-12 µsec m * Clock = tpropagation Clock Clockrate ... 10 MHz Propagation Setup < 50 nsec Data Delay Status Delay for Calculation Start MSB LSB W&A CRC MCD Max 64 Bit 2 Bit 6 Bit 1 Bit Store Acknowledge Ready Timeout sens Encoder (Start of transmission) Data Prof. Dr.-Ing. Jens Onno Krah
  • 8. Motor Current Measurement using SD ADCs Current Measure Layer 3 RAM with 32-Bit data bus Software TCP / IP IRQ for Init & ASM / “C” stack Control Config. FPGA IO (3.3 V) Nios II Soft Core CPU with Customer Instructions Layer 2 (IP) Fast 32-Bit Avalon Bus & IP - IP cross connections User Programmable logic FPGA / VHDL logic EnDAT Sinc3 6~ (State MAC BiSS filter PWM machine) FPGA IO (3.3V) MII Layer 1 Special hardware, ADC: ΣΔ IGBT Flash: Configuration PHY RS 485 and prog. memory Driver & transceiver modulator Driver Prof. Dr.-Ing. Jens Onno Krah
  • 9. High Performance Current Measurement <5A < 50 A (150 A IGBT) > 25 A SMT Shunt MIPAC Shunt Hall (LEM) ΣΔ + Opto ΣΔ (int. or ext.) ΣΔ (no Opto / Ti) FalconEye Prof. Dr.-Ing. Jens Onno Krah
  • 10. Pulse Width Modulation - PWM Layer 3 RAM with 32-Bit data bus Software ASM / “C” TCP / IP stack IRQ for Control Init & Config. PWM FPGA IO (3.3 V) Nios II Soft Core CPU with Customer Instructions Layer 2 (IP) Fast 32-Bit Avalon Bus & IP - IP cross connections User Programmable logic FPGA / VHDL logic EnDAT Sinc3 6~ (State MAC BiSS filter PWM machine) FPGA IO (3.3V) MII Layer 1 Special hardware, ADC: ΣΔ IGBT Flash: Configuration PHY RS 485 and prog. memory Driver & transceiver modulator Driver Prof. Dr.-Ing. Jens Onno Krah
  • 11. Field Oriented Control Layer 3 RAM with 32-Bit data bus Field Software ASM / “C” TCP / IP IRQ for Init & Oriented stack Control Config. Control FPGA IO (3.3 V) Nios II Soft Core CPU with Customer Instructions Layer 2 (IP) Fast 32-Bit Avalon Bus & IP - IP cross connections User Programmable logic FPGA / VHDL logic EnDAT Sinc3 (State MAC PWM BiSS filter machine) FPGA IO (3.3V) MII Layer 1 Special hardware, ADC: ΣΔ IGBT Flash: Configuration PHY RS 485 and prog. memory Driver & transceiver modulator Driver Prof. Dr.-Ing. Jens Onno Krah
  • 12. Field Oriented Control “C” + VHDL ~ = I T + ICONT 2 D DIPEAK MIPEAK } IPEAK } min Current Control MLGD, MLGQ MLGC, MLGP KTN, KC VBUS A torque = e jδ PWM ~ (-) (+) Id, Iq I a, I b - jδ D e A MPHASE δe MRESPOLES M MRESBW 3~ speed ϕe RK MPOLES δm D GVFBT p E E d Nios II / VHDL dt VHDL Beckhoff Fast , Special (IP): VHDL Field Oriented Control + Fieldbus → 20 000 Logic Elements Economic, Universal: Nios® II processor → 6 000 Logic Elements Prof. Dr.-Ing. Jens Onno Krah
  • 13. Nios II - Custom Instruction – Accelerating sine and cosine short i_sin(int winkel) // mit Floating Point Unit { return (short)(32767. * sin(2*PI*winkel/65536.)) ; } short sinus_table[65] = {0,804, … ,32758,32767}; short quadrant = (winkel >> 14) & 3 ; short index = (winkel >> 8) & 63 ; short rest = winkel & 255 ; val = sinus_table[index] + // 0 … 90° -> 1st quadrant (((sinus_table[index+1]-sinus_table[index])*rest)>>8) ; 1st Order Taylor Approximation: Interpolation Points / 90° Accuracy / Bit 32 10,7 64 12,7 128 14,7 Prof. Dr.-Ing. Jens Onno Krah
  • 14. Nios II - Custom Instruction – Accelerating sine and cosine Static inline short sin(short phi) { return ALT_CT_ABSMAX_INST(val,max) ; // 20 ns bei 100 MHz } Static inline short cos(short phi) { return ALT_CT_ABSMAX_INST(val,max) ; // 20 ns bei 100 MHz } The sin and cos instructions use: - 400 Logic Elements and - 2 DSP Blocks in addition to the Nios® II processor resources (Cyclone® III) Prof. Dr.-Ing. Jens Onno Krah
  • 15. Nios II - Custom Instruction – Accelerating PI Control PI Control Nios II C: // FOC d-current PI-control i_e = i_cmd_d - i_act_d ; if ( i_e > i_lim ) { // limiting i_e = i_lim ; } else if( i_e < -i_lim ){ i_e = -i_lim ; } u_d_integral += (i_e * Ki_d) >> 10 ; // I-part if ( u_d_integral > u_lim ){ // anti wind up u_d_integral = u_lim; } else if( u_d_integral < -u_lim ) { u_d_integral = -u_lim ; } u_d_cmd = u_d_integral + ((i_e * Kp_d) >> 10) ; // + P-part if ( u_d_cmd > u_lim ){ // limit u_d_cmd = u_lim ; } else if( u_d_cmd < -u_lim ) { u_d_cmd = -u_lim ; } Prof. Dr.-Ing. Jens Onno Krah
  • 16. Nios II - Custom Instruction – Accelerating PI Control “C” Code: int absmax(int val,int max) { if ( val > max ) { // pos. limit ? return max ; } else if( val < -max ) { // neg. Limit ? return -max ; } else { Max. return val ; val } } Using a Custom Instruction: ALT_CT_ABSMAX_INST(val,max) ; // 10 ns at 100 MHz The absmax instruction needs 159 Logic Elements (Cyclone® III) Prof. Dr.-Ing. Jens Onno Krah
  • 17. FalconEye FPGA - 3 Layer Model Layer 3 RAM with 32-Bit data bus Speed up Software current loop TCP / IP IRQ for Init & ASM / “C” stack Control Config. interrupt FPGA IO (3.3 V) Nios II Soft Core CPU with Customer Instructions Layer 2 (IP) Fast 32-Bit Avalon Bus & IP - IP cross connections User Programmable logic FPGA / VHDL logic EnDAT Sinc3 (State MAC PWM BiSS filter machine) FPGA IO (3.3V) MII Layer 1 Special hardware, ADC: ΣΔ IGBT Flash: Configuration PHY RS 485 and prog. memory Driver & transceiver modulator Driver Prof. Dr.-Ing. Jens Onno Krah
  • 18. Using Logic Elements to Reduce Calculation Time 0.1 µs 15 µs 5 µs current loop execution time requested Logic Elements ~5000 LE ~7000 LE 20 000 LE sin / cos / absmax Beckhoff IP Altera low cost custom instructions VHDL current loop tightly coupled memory EtherCAT IP Prof. Dr.-Ing. Jens Onno Krah
  • 19. Advantages of Analog Current Control: • Fast - No additional sampling delay time • No aliasing issues (due to the sampling theorem) - No sub harmonics • Simple - Low number of components R2 C R1 - + Prof. Dr.-Ing. Jens Onno Krah
  • 20. Advantages of Digital Current Control: • Complex control algorithms Iq - Field oriented control (FOC) - Space Vector Modulation (SVM) Ψ Id - Non linear control (saturation) δ • Predictive control - Smith predictor - Luenberger observer • Digital command (reference) and controlled value DSP - Field bus process data object - Exactly repeatable digital parameters (not only a scaled potentiometer) • Remote setup and diagnostics - Access via field bus to actual values, parameters and scope functions Prof. Dr.-Ing. Jens Onno Krah
  • 21. Advantages of FPGA based Digital Control: • All advantages of analog current control • All advantages of digital current control + On-Chip position feedback interface - Resolver Digital Converter (via ΣΔ Modulator) - SinCos Encoder with only 2µ delay (via fast SAR ADC) - Digital Encoder: SSI, BiSS, EnDAT, Hiperface DSL (via RS 485 driver) + On-Chip field bus (EtherCAT) interface (via external PHY) + On-Chip ΣΔ decimation filter for high precision multi channel analog signal processing + Extreme fast and flexible 6-phase PWM with minimal delay time + Inverter / Motor Control Intellectual Property (IP) - 3-level Inverter - Matrix Inverter Prof. Dr.-Ing. Jens Onno Krah
  • 22. FPGA Motor Control Reference Design FalconEye-FPGA (EBV-Elektronik) BLAC Motor FPGA Eval. Board Power Electronics Prof. Dr.-Ing. Jens Onno Krah
  • 23. Power Supply 5 / 15 Vdc BLAC FalconEye Control  Logic or IM Power Supply  125 - 400 Vdc EMI Filter PFC Ballast Power Stage 400 3~ 90-240 Vac Vdc 0 – 300 V Motor P F C Avago Avago Vbus ΣΔ Feed- Ballast back Real Time Ethernet: VHDL IGBT Signals Motor Control Motor Current ΣΔ Resolver RS 485 SVM sinc3 FB IP or ΣΔ PHY MAC Motor Control ` or NIOS II IP ` SRAM PHY USB USB PC ` Blaster Flash ` JTAG Cyclone III C 40 „C“ Motor EBV DBC3C40 – FPGA Motor Controller Control Prof. Dr.-Ing. Jens Onno Krah
  • 24. FalconEye Demonstrator: EBV Roller Dynamometer Hall 12 – Stand 376 Prof. Dr.-Ing. Jens Onno Krah