element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
ZedBoard Hardware Design PWM in 7 series FPGA to control 4 BLDC
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 3 replies
  • Subscribers 354 subscribers
  • Views 611 views
  • Users 0 members are here
Related

PWM in 7 series FPGA to control 4 BLDC

Former Member
Former Member over 9 years ago

I want to control 4 BLDC motors with 24 PWM wave (6 signals for each motor).How can I generate these waves?
Moreover, I would like to send these signals with small delays between them, how can I do it?

Furthermore, I would like to simultaneously sample the currents flowing in the motor at a particular instant of time (for example when the corresponding PWM signal is high).
Since I have these delayed PWM, could I get any problems during sampling of the currents?

  • Sign in to reply
  • Cancel
  • mbrown
    0 mbrown over 9 years ago

    FPGA-based PWMs are easily created with a few lines VHDL or Verilog code. A counter sets the resolution and a comparator sets the duty cycle.  Adding delays to adjacent PWMs to reduce EMI spikes at the inverter stage takes just a little more code.

     

    Simultaneous sampling, synchronized with a PWM value (or inactivity) is also straightforward.

     

    The 6-step controller code for the follow kit is open-source, available on GitHub.  You might find some inspiration there.

    https://wiki.analog.com/resources/eval/user-guides/ad-fmcmotcon2-ebz

     

    /Matt

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mbrown
    0 mbrown over 9 years ago

    FPGA-based PWMs are easily created with a few lines VHDL or Verilog code. A counter sets the resolution and a comparator sets the duty cycle.  Adding delays to adjacent PWMs to reduce EMI spikes at the inverter stage takes just a little more code.

     

    Simultaneous sampling, synchronized with a PWM value (or inactivity) is also straightforward.

     

    The 6-step controller code for the follow kit is open-source, available on GitHub.  You might find some inspiration there.

    https://wiki.analog.com/resources/eval/user-guides/ad-fmcmotcon2-ebz

     

    /Matt

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to mbrown

    Thanks for the reply. Moreover, I don't understand a thing about the ADC. Reading the reference manual Zynq-7000 AP (UG585), I see that the chapter "XADC interface" talk about LogiCORE IP AXI XADC core.
    Then, this core logic is already present in all 7000 series chip or it be added externally?

    In particular, I would like to use the "event-driven sampling mode" of the ADC (see in UG480), but reading the product guide of LogiCORE IP AXI XADC (see PG019).
    Then, this core logic is necessary in order to use the event-driven mode?

    I would like sampling 12 current signals (3 for each motor).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube