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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
Ben Heck Featured Content
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • Ben Heck Featured Content
  • More
  • Cancel
Ben Heck Featured Content
Documents Mini Pinball 04: Pinball Simulation with MATLAB and Simulink -- Episode 296
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Ben Heck Featured Content to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: pchan
  • Date Created: 29 Jun 2017 9:18 PM Date Created
  • Last Updated Last Updated: 23 Jun 2017 7:24 AM
  • Views 1100 views
  • Likes 5 likes
  • Comments 1 comment
Related
Recommended

Mini Pinball 04: Pinball Simulation with MATLAB and Simulink -- Episode 296

image

element14's The Ben Heck Show

Join the Ben Heck team every week for amazing hacks! Watch them build and mod community-inspired projects using electronics!

Back to The Ben Heck Show homepage image

Mini Pinball Kit
Featured Bonus Content
See All Episodes

 

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Terry Denery, an applications engineer from MathWorks, meets with Ben and Felix to demonstrate how MATLAB and Simulink can be used for their mini pinball kit. Terry travels across the US to meet with engineers interested in using MATLab and Simulink. Because the mini pinball kit is an electromechanical system, it’s a good candidate for a demonstration on how this works.

 

What pinball game would YOU want?

 

Visit the MATLAB and Simulink group on element14

 

Felix has the mechanical rig setup for Terry to demonstrate how to use MATLab and Simulink for their kit.  Ben provides Terry with a 3D CAD drawing of the pinball machine their going to build.  He drew it up using AutoDesk Fusion 360 and Terry returns back with simulation based on it.  MathLab and Simulink are essentially tools for analysis and simulation of electromechanical systems.  Terry explains how it’s possible to feed PWM signals from a microcontroller into the software using a process called hardware in the loop simulation.

 

The processor is considered hardware from MathLab point of view, and has no choice but to run in real time.  In order to enforce real time the simulation needs to be timed by the board and not by its own processor. This isn’t something you can do with an operating system such as Windows or Linux.

 

MathWorks its own Simulink real-time, a real-time operating system, and sells its own boxes that are suited to really employ it. The boxes are processors that have direct connection to the various hardware transmitters, things you can connect your devices to. They prototype the algorithms , hooked up to all your instruments such as actuators and motors.  In the case of mini pinball they can create an image system that’s going to track the ball and come up with an algorithm on how to move the flipper.

 

Terry demonstrates some of the 3D modeling for Felix.  Step in AutoDesk Fusion 360 is a good format to use if you are using MathLab for a simulation.  One of the good things about this software is the three-dimensional user interface that allows you to zoom in, rotate the view, and point and click for joint placement. Mechanical connections are defined by point location as well as orientation so you need to be able to tell the direction of movement.  Felix is impressed by how the software is able to interpret location geometry. Terry also goes over using MATLAB script called get geometry 1:1.

 

Disclaimer

  • with matlab and simulink
  • hack
  • heck
  • ben
  • tbhs_ep
  • episode 296: mini pinball 04: pinball simulation
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • DAB
    DAB over 7 years ago +1
    Great episode on how to go from idea to design and analysis using Matlab. Well done. DAB
  • DAB
    DAB over 7 years ago

    Great episode on how to go from idea to design and analysis using Matlab.

     

    Well done.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • 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 © 2025 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