{"id":3264,"date":"2014-02-05T18:24:35","date_gmt":"2014-02-05T23:24:35","guid":{"rendered":"https:\/\/blogs.mathworks.com\/seth\/?p=3264"},"modified":"2014-02-10T09:02:25","modified_gmt":"2014-02-10T14:02:25","slug":"win-olympic-gold-with-simmechanics-modeling-figure-skating-and-angular-momentum","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/simulink\/2014\/02\/05\/win-olympic-gold-with-simmechanics-modeling-figure-skating-and-angular-momentum\/","title":{"rendered":"Win Olympic Gold with SimMechanics: Modeling Figure Skating and Angular Momentum"},"content":{"rendered":"<!--introduction--><p>With the XXII Winter Olympics starting this week, I thought we should take the time to model something from the games!  So lets look at how conservation of angular momentum is important in figure skating.<\/p><!--\/introduction-->\r\n\r\n<p><strong>The problem<\/strong><\/p>\r\n\r\n<p>Some time ago a user asked me to illustrate the conservation of <a href=\"http:\/\/en.wikipedia.org\/wiki\/Angular_momentum\">angular momentum<\/a>  in <a href=\"https:\/\/www.mathworks.com\/products\/simmechanics\/\">SimMechanics<\/a>. In my opinion, there is no better application to illustrate this phenomenon then a figure skater spinning. As you are probably aware, when a figure skater spins, bringing her arms closer or further from her body changes the speed at which she spins.<\/p>\r\n\r\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2014Q1\/Figure_11_05_03a.jpg\" alt=\"Conservation of Angular Momentum\" \/><br>\r\n<em><a href=\"http:\/\/cnx.org\/content\/m42182\/1.5\/\">OpenStax College - Angular Momentum and Its Conservation - http:\/\/cnx.org\/content\/m42182\/1.5\/<\/a><\/em><\/p>\r\n\r\n<p>It's pretty simple, the angular momentum, which is the product of the angular velocity and the moment of inertia remains constant. If one increases, the other must decrease.<\/p>\r\n\r\n<p><strong>A Simple SimMechanics Version<\/strong><\/p>\r\n\r\n<p>Before implementing a complete figure skater, I thought it would be a good idea to begin by the simplest model highlighting conversation of angular momentum. Here is what it looks like:<\/p>\r\n\r\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2014Q1\/simple_consservation.png\" alt=\"Conservation of Angular Momentum\" \/><\/p>\r\n\r\n<p>As you can see, I use a a <a href=\"https:\/\/www.mathworks.com\/help\/physmod\/sm\/ref\/prismaticjoint.html\">prismatic joint<\/a> to change the distance of a body from the center of rotation around a <a href=\"https:\/\/www.mathworks.com\/help\/physmod\/sm\/ref\/revolutejoint.html\">Revolute joint<\/a>. When looking at the results, we can see that the rotation speed increases when the body comes closer to the center.<\/p>\r\n\r\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2014Q1\/AngMomentum.gif\" alt=\"Conservation of Angular Momentum\" \/><\/p>\r\n\r\n<p><strong>The Spinning Skater<\/strong><\/p>\r\n\r\n<p>To make my simulation closer to what you will see during the Olympics, I modeled a simple skater using 2 cylinders for the legs, 1 large cylinder for the body, and two cylinders for the arms. I attached the legs and arms to the body using revolute joints. To apply the spinning motion, I attach one leg to the ground using a revolute joint, and I simply give this revolute an initial angular velocity.<\/p>\r\n\r\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2014Q1\/robotskate_model.png\" alt=\"Conservation of Angular Momentum\" \/><\/p>\r\n\r\n<p>During the simulation, I first make the leg go down, accelerating the body a little. A few seconds after, I make both arms go closer to the body, reducing the moment of inertia and accelerating the body more significantly. Here is what it looks like:<\/p>\r\n\r\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2014Q1\/robot_skating.gif\" alt=\"Conservation of Angular Momentum\" \/><\/p>\r\n\r\n<em><p><strong>Update:<\/strong> Download the models used in this post here:\r\n<ul>\r\n\t<li><a href=\"https:\/\/blogs.mathworks.com\/images\/seth\/2014Q1\/simple_ang_omentum.slx\">Simple Model<\/a><\/li>\r\n\t<li><a href=\"https:\/\/blogs.mathworks.com\/images\/seth\/2014Q1\/skating_robot.slx\">Figure Skater Model<\/a><\/li>\r\n<\/ul><\/p><\/em>\r\n\r\n<p><strong>Now it's your turn<\/strong><\/p>\r\n\r\n<p>Are you using Simulink to model and improve your sport performance? Let us know by leaving a <a href=\"https:\/\/blogs.mathworks.com\/seth\/?p=3264&#comment\">comment here<\/a><\/p>","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2014Q1\/robot_skating.gif\" onError=\"this.style.display ='none';\" \/><\/div><!--introduction--><p>With the XXII Winter Olympics starting this week, I thought we should take the time to model something from the games!  So lets look at how conservation of angular momentum is important in figure skating.... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/simulink\/2014\/02\/05\/win-olympic-gold-with-simmechanics-modeling-figure-skating-and-angular-momentum\/\">read more >><\/a><\/p>","protected":false},"author":41,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[71,39],"tags":[361,362,79,360],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/3264"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/comments?post=3264"}],"version-history":[{"count":23,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/3264\/revisions"}],"predecessor-version":[{"id":3303,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/3264\/revisions\/3303"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/media?parent=3264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/categories?post=3264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/tags?post=3264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}