<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Mini Pinball 04:  Pinball Simulation with MATLAB and Simulink -- Episode 296</title><link>https://community.element14.com/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/3007/mini-pinball-04-pinball-simulation-with-matlab-and-simulink----episode-296</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Mini Pinball 04:  Pinball Simulation with MATLAB and Simulink -- Episode 296</title><link>https://community.element14.com/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/3007/mini-pinball-04-pinball-simulation-with-matlab-and-simulink----episode-296</link><pubDate>Fri, 23 Jun 2017 07:24:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:bcdef354-a91e-4ea7-ae5d-95aa751bf1f9</guid><dc:creator>Matt</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/3007/mini-pinball-04-pinball-simulation-with-matlab-and-simulink----episode-296#comments</comments><description>Current Revision posted to Documents by Matt on 6/23/2017 7:24:00 AM&lt;br /&gt;
&lt;table cellpadding="0" cellspacing="0" style="padding:0px;margin:0px;background-color:#c4e3ed;width:100%;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="3" style="padding:6px 0px 10px 11px;vertical-align:top;"&gt;&lt;a href="/e14/assets/legacy/TBHSlogo2.png" data-e14adj="t"&gt;&lt;img alt="image" class="nolightbox" src="/e14/assets/legacy/TBHSlogo2.png"  /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan="3" style="vertical-align:top;padding:8px 13px 13px;"&gt;&lt;p style="margin:0;font-size:18px;font-weight:bold;padding-bottom:6px;"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/benheck/" data-e14adj="t"&gt;element14&amp;#39;s The Ben Heck Show&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;padding-bottom:6px;line-height:18px;"&gt;&lt;strong&gt;Join the Ben Heck team every week for amazing hacks!&lt;/strong&gt; Watch them build and mod community-inspired projects using electronics!&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a href="/challengesprojects/element14-presents/benheck/" data-e14adj="t"&gt;Back to The Ben Heck Show homepage &lt;img loading="lazy" alt="image" src="/e14/assets/legacy/gen/LinkArrow.gif"  /&gt;&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#004156;vertical-align:middle;" width="30%"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/benheck/mini-pinball-kit/" data-e14adj="t"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;Mini Pinball Kit&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#005973;vertical-align:middle;"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/benheck/ben-heck-exclusive/" data-e14adj="t"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;Featured Bonus Content&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#006f91;vertical-align:middle;"&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/9678/the-ben-heck-show-episode-archive" data-e14adj="t"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;See All Episodes&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table style="width:80%;display:block;margin:0 auto;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="padding-bottom:12px;"&gt;&lt;span&gt;&lt;a href="https://www.youtube.com/watch?v=tlHa5OVV5Y0"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p style="margin:0;border:1px solid #b8d7e5;background-color:#e9f6fc;padding:8px;max-width:634px;"&gt;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.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding-top:8px;"&gt;&lt;strong&gt;&lt;a class="jive-link-thread-small" href="https://www.element14.com/community/thread/59510/l/what-pinball-game-would-you-want" target="_blank" data-e14adj="t"&gt;What pinball game would YOU want?&lt;/a&gt; &lt;/strong&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/benheck/mini-pinball-kit/w/documents/2988/community-feedback-01---we-respond-to-your-theme-ideas" data-e14adj="t"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;strong&gt;&lt;a class="" href="https://www.element14.com/community/groups/mathworks-simulink?ICID=BH-episode296" target="_blank" data-e14adj="t"&gt;Visit the MATLAB and Simulink group on element14&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;padding-top:8px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding-top:8px;"&gt;Felix has the mechanical rig setup for Terry to demonstrate how to use MATLab and Simulink for their kit.&amp;nbsp; Ben provides Terry with a 3D CAD drawing of the pinball machine their going to build.&amp;nbsp; He drew it up using AutoDesk Fusion 360 and Terry returns back with simulation based on it.&amp;nbsp; MathLab and Simulink are essentially tools for analysis and simulation of electromechanical systems.&amp;nbsp; 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.&lt;/p&gt;&lt;p style="margin:0;padding:0px;padding-top:8px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding-top:8px;"&gt;The processor is considered hardware from MathLab point of view, and has no choice but to run in real time.&amp;nbsp; 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.&lt;/p&gt;&lt;p style="margin:0;padding:0px;padding-top:8px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding-top:8px;"&gt;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.&amp;nbsp; 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.&lt;/p&gt;&lt;p style="margin:0;padding:0px;padding-top:8px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding-top:8px;"&gt;Terry demonstrates some of the 3D modeling for Felix.&amp;nbsp; Step in AutoDesk Fusion 360 is a good format to use if you are using MathLab for a simulation.&amp;nbsp; 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.&amp;nbsp; 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.&lt;/p&gt;&lt;p style="margin:0;padding:0px;padding-top:8px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding-top:8px;"&gt;&lt;a class="jive-link-wiki-small" href="/challengesprojects/element14-presents/benheck/w/documents/2888/element14-s-the-ben-heck-show-disclaimer" data-e14adj="t"&gt;Disclaimer&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: with matlab and simulink, hack, heck, ben, tbhs_ep, episode 296: mini pinball 04: pinball simulation&lt;/div&gt;
</description></item><item><title>Episode 296: Mini Pinball 04: Pinball Simulation with MATLAB and Simulink</title><link>https://community.element14.com/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/3007/mini-pinball-04-pinball-simulation-with-matlab-and-simulink----episode-296/revision/1</link><pubDate>Mon, 07 Aug 2017 21:44:41 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:bcdef354-a91e-4ea7-ae5d-95aa751bf1f9</guid><dc:creator>pchan</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/3007/mini-pinball-04-pinball-simulation-with-matlab-and-simulink----episode-296#comments</comments><description>Revision 1 posted to Documents by pchan on 8/7/2017 9:44:41 PM&lt;br /&gt;
&lt;table cellpadding="0" cellspacing="0" style="padding:0px;margin:0px;background-color:#c4e3ed;width:100%;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="3" style="padding:6px 0px 10px 11px;vertical-align:top;"&gt;&lt;a href="/e14/assets/legacy/TBHSlogo2.png"&gt;&lt;img alt="image" class="nolightbox" src="/e14/assets/legacy/TBHSlogo2.png"  /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan="3" style="vertical-align:top;padding:8px 13px 13px;"&gt;&lt;p style="margin:0;font-size:18px;font-weight:bold;padding-bottom:6px;"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/benheck/"&gt;element14&amp;#39;s The Ben Heck Show&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;padding-bottom:6px;line-height:18px;"&gt;&lt;strong&gt;Join the Ben Heck team every week for amazing hacks!&lt;/strong&gt; Watch them build and mod community-inspired projects using electronics!&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a href="/challengesprojects/element14-presents/benheck/"&gt;Back to The Ben Heck Show homepage &lt;img loading="lazy" alt="image" src="/e14/assets/legacy/gen/LinkArrow.gif"  /&gt;&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#004156;vertical-align:middle;" width="30%"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/benheck/mini-pinball-kit/"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;Mini Pinball Kit&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#005973;vertical-align:middle;"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/benheck/ben-heck-exclusive/"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;Featured Bonus Content&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#006f91;vertical-align:middle;"&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/9678/the-ben-heck-show-episode-archive"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;See All Episodes&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table style="width:80%;display:block;margin:0 auto;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="padding-bottom:12px;"&gt;&lt;span&gt;&lt;a href="https://www.youtube.com/watch?v=tlHa5OVV5Y0"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p style="margin:0;border:1px solid #b8d7e5;background-color:#e9f6fc;padding:8px;max-width:634px;"&gt;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.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding-top:8px;"&gt;&lt;strong&gt;&lt;a class="jive-link-thread-small" href="https://www.element14.com/community/thread/59510/l/what-pinball-game-would-you-want"&gt;What pinball game would YOU want?&lt;/a&gt; &lt;/strong&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/benheck/mini-pinball-kit/w/documents/2988/community-feedback-01---we-respond-to-your-theme-ideas"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;strong&gt;&lt;a class="" href="https://www.element14.com/community/groups/mathworks-simulink?ICID=BH-episode296"&gt;Visit the MATLAB and Simulink group on element14&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;padding-top:8px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding-top:8px;"&gt;Felix has the mechanical rig setup for Terry to demonstrate how to use MATLab and Simulink for their kit.&amp;nbsp; Ben provides Terry with a 3D CAD drawing of the pinball machine their going to build.&amp;nbsp; He drew it up using AutoDesk Fusion 360 and Terry returns back with simulation based on it.&amp;nbsp; MathLab and Simulink are essentially tools for analysis and simulation of electromechanical systems.&amp;nbsp; 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.&lt;/p&gt;&lt;p style="margin:0;padding:0px;padding-top:8px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding-top:8px;"&gt;The processor is considered hardware from MathLab point of view, and has no choice but to run in real time.&amp;nbsp; 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.&lt;/p&gt;&lt;p style="margin:0;padding:0px;padding-top:8px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding-top:8px;"&gt;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.&amp;nbsp; 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.&lt;/p&gt;&lt;p style="margin:0;padding:0px;padding-top:8px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding-top:8px;"&gt;Terry demonstrates some of the 3D modeling for Felix.&amp;nbsp; Step in AutoDesk Fusion 360 is a good format to use if you are using MathLab for a simulation.&amp;nbsp; 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.&amp;nbsp; 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.&lt;/p&gt;&lt;p style="margin:0;padding:0px;padding-top:8px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding-top:8px;"&gt;&lt;a class="jive-link-wiki-small" href="/challengesprojects/element14-presents/benheck/w/documents/2888/element14-s-the-ben-heck-show-disclaimer"&gt;Disclaimer&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: with matlab and simulink, hack, heck, ben, tbhs_ep, episode 296: mini pinball 04: pinball simulation&lt;/div&gt;
</description></item></channel></rss>