<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title/><link>https://ehsansharafian.com/</link><atom:link href="https://ehsansharafian.com/index.xml" rel="self" type="application/rss+xml"/><description/><generator>HugoBlox Kit (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Mon, 24 Oct 2022 00:00:00 +0000</lastBuildDate><image><url>https://ehsansharafian.com/media/icon_hu_c2975a7374d4b1d3.png</url><title/><link>https://ehsansharafian.com/</link></image><item><title>Unplugged in Baxter State Park</title><link>https://ehsansharafian.com/hobbies/baxter-state-park-2025/</link><pubDate>Sat, 25 Jul 2026 00:00:00 +0000</pubDate><guid>https://ehsansharafian.com/hobbies/baxter-state-park-2025/</guid><description>&lt;p&gt;Some of the best reset buttons don&amp;rsquo;t have a power button at all.&lt;/p&gt;
&lt;p&gt;This summer, a group of us from UMaine packed up and disappeared into &lt;strong&gt;Baxter State Park&lt;/strong&gt; for a weekend completely off the grid. No internet, no electricity, no notifications. Just good friends, big mountains, and the kind of quiet you only find deep in the Maine woods.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Looking out over the Katahdin range from the summit of Doubletop Mountain"
srcset="https://ehsansharafian.com/hobbies/baxter-state-park-2025/featured_hu_dd6cb12303b0f0b4.webp 320w, https://ehsansharafian.com/hobbies/baxter-state-park-2025/featured_hu_c47f72321824cd01.webp 480w, https://ehsansharafian.com/hobbies/baxter-state-park-2025/featured_hu_858f2c087aba48d2.webp 570w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/hobbies/baxter-state-park-2025/featured_hu_dd6cb12303b0f0b4.webp"
width="570"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;h3 id="trip-highlights"&gt;Trip highlights&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;🥾 &lt;strong&gt;Hiking Doubletop Mountain.&lt;/strong&gt; Steep, rocky, and completely worth it for the view at the top.&lt;/li&gt;
&lt;li&gt;🛶 &lt;strong&gt;Canoeing&lt;/strong&gt; on still, mirror flat water.&lt;/li&gt;
&lt;li&gt;🔥 &lt;strong&gt;Grilling saffron jooje kabob&lt;/strong&gt; over the fire, a little taste of home in the middle of the wilderness.&lt;/li&gt;
&lt;li&gt;🌈 A surprise double rainbow over camp to send us off.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The hike in followed a mossy stream through the trees, cool and green and completely silent.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="A mossy stream along the trail in"
srcset="https://ehsansharafian.com/hobbies/baxter-state-park-2025/forest-stream_hu_3266305adc52bf0.webp 320w, https://ehsansharafian.com/hobbies/baxter-state-park-2025/forest-stream_hu_57591452e4815eb.webp 480w, https://ehsansharafian.com/hobbies/baxter-state-park-2025/forest-stream_hu_70ef3b89ddd53437.webp 570w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/hobbies/baxter-state-park-2025/forest-stream_hu_3266305adc52bf0.webp"
width="570"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;It opened up onto granite ledges and rushing water, the perfect place to stop, soak our feet, and catch our breath.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Taking a break by the rapids"
srcset="https://ehsansharafian.com/hobbies/baxter-state-park-2025/by-the-river_hu_54bc0830bccb7d93.webp 320w, https://ehsansharafian.com/hobbies/baxter-state-park-2025/by-the-river_hu_be345b6f6332da47.webp 480w, https://ehsansharafian.com/hobbies/baxter-state-park-2025/by-the-river_hu_e9b1312f67bec3ca.webp 570w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/hobbies/baxter-state-park-2025/by-the-river_hu_54bc0830bccb7d93.webp"
width="570"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="The river carving its way through the pines"
srcset="https://ehsansharafian.com/hobbies/baxter-state-park-2025/river-rapids_hu_14deb140650c4c89.webp 320w, https://ehsansharafian.com/hobbies/baxter-state-park-2025/river-rapids_hu_f03468f127cea419.webp 480w, https://ehsansharafian.com/hobbies/baxter-state-park-2025/river-rapids_hu_5c02b0634d4e0e5b.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/hobbies/baxter-state-park-2025/river-rapids_hu_14deb140650c4c89.webp"
width="760"
height="570"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;And then, right as we started packing up to head home, the sky decided to put on one last show.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="A double rainbow over camp"
srcset="https://ehsansharafian.com/hobbies/baxter-state-park-2025/campsite-rainbow_hu_fa7dde26f5629fe0.webp 320w, https://ehsansharafian.com/hobbies/baxter-state-park-2025/campsite-rainbow_hu_9943c3d8fb3698bf.webp 480w, https://ehsansharafian.com/hobbies/baxter-state-park-2025/campsite-rainbow_hu_7acd755ff098d07f.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/hobbies/baxter-state-park-2025/campsite-rainbow_hu_fa7dde26f5629fe0.webp"
width="760"
height="570"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;h3 id="watch-the-vlog"&gt;Watch the vlog&lt;/h3&gt;
&lt;p&gt;I put together a short video of the whole weekend. Take a look:&lt;/p&gt;
&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"&gt;
&lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/8bbfnzOkEaU?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"&gt;&lt;/iframe&gt;
&lt;/div&gt;
&lt;p&gt;Highly recommend Baxter State Park for a summer adventure. Sometimes the best way to recharge is to fully unplug.&lt;/p&gt;</description></item><item><title>Real-Time Foot Height Estimation and Activity Classification Using a Foot-Mounted IMU Implemented on a Smartphone</title><link>https://ehsansharafian.com/publications/foot-height-imu-2026/</link><pubDate>Sat, 16 May 2026 00:00:00 +0000</pubDate><guid>https://ehsansharafian.com/publications/foot-height-imu-2026/</guid><description>&lt;h2 id="why-it-matters"&gt;Why it matters&lt;/h2&gt;
&lt;p&gt;Tripping is a leading cause of falls, and it is closely tied to how high we lift our feet while walking. Measuring &lt;strong&gt;foot clearance&lt;/strong&gt; continuously, out in daily life, could flag fall risk early — but doing it well with a wearable sensor is hard:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A single inertial measurement unit (IMU) drifts, so integrated foot height accumulates error over time.&lt;/li&gt;
&lt;li&gt;The usual fix (zero-velocity updates) does not fully remove &lt;strong&gt;vertical&lt;/strong&gt; drift.&lt;/li&gt;
&lt;li&gt;More accurate methods work only &lt;strong&gt;offline&lt;/strong&gt; and do not tell you what activity the person is doing.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="what-i-built"&gt;What I built&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;real-time, single-IMU system that runs entirely on a smartphone&lt;/strong&gt; — no cloud, no multi-sensor setup. It reconstructs the foot&amp;rsquo;s height trajectory stride by stride &lt;em&gt;and&lt;/em&gt; classifies five locomotion activities (level walking, ramp ascent/descent, stair ascent/descent) at the same time.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="The IMU is mounted on top of the foot; the toe position is recovered from the sensor pose by a rigid-body transformation"
srcset="https://ehsansharafian.com/publications/foot-height-imu-2026/imu-toe-schematic_hu_cd97545b84d3a236.webp 320w, https://ehsansharafian.com/publications/foot-height-imu-2026/imu-toe-schematic_hu_eb8b0ffea321c494.webp 480w, https://ehsansharafian.com/publications/foot-height-imu-2026/imu-toe-schematic_hu_a7ef86b15166d59a.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/publications/foot-height-imu-2026/imu-toe-schematic_hu_cd97545b84d3a236.webp"
width="760"
height="376"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Key contributions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;On-device Android app&lt;/strong&gt; for stride-by-stride foot-clearance measurement and live activity classification.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Zero Height Change (ZHC) constraint&lt;/strong&gt; — a biomechanically grounded correction that cancels cumulative vertical drift at each stride boundary.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Heel-strike velocity error&lt;/strong&gt; used as a compact, physically meaningful feature to adaptively pick the right reconstruction model per activity.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Toe-height estimation&lt;/strong&gt; from the IMU pose through a rigid-body transformation, with accuracy comparable to the foot itself.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="The custom Android app: (a) system and sensor controls, (b) activity labeling, (c) live activity detection with gait parameters, (d) deployment on stairs"
srcset="https://ehsansharafian.com/publications/foot-height-imu-2026/app-interface_hu_b152aec64bfb0ebb.webp 320w, https://ehsansharafian.com/publications/foot-height-imu-2026/app-interface_hu_3010cd1151b8ae4d.webp 480w, https://ehsansharafian.com/publications/foot-height-imu-2026/app-interface_hu_22593cc057f1a311.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/publications/foot-height-imu-2026/app-interface_hu_b152aec64bfb0ebb.webp"
width="760"
height="339"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;h2 id="validating-the-height-measurement"&gt;Validating the height measurement&lt;/h2&gt;
&lt;p&gt;The reconstructed foot trajectories separate cleanly by activity, and the continuous height signal tracks real-world ramps and stairs across a full walking circuit.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Reconstructed foot trajectories for the five activities; dashed boxes mark stair entry/exit transition strides"
srcset="https://ehsansharafian.com/publications/foot-height-imu-2026/foot-trajectories_hu_b780a2558bcac005.webp 320w, https://ehsansharafian.com/publications/foot-height-imu-2026/foot-trajectories_hu_9cab51e6bce7b651.webp 480w, https://ehsansharafian.com/publications/foot-height-imu-2026/foot-trajectories_hu_cccee62933d73509.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/publications/foot-height-imu-2026/foot-trajectories_hu_b780a2558bcac005.webp"
width="760"
height="427"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Continuous foot-height trajectory across a full circuit of level ground, ramps, and stairs, with zero-velocity points marked"
srcset="https://ehsansharafian.com/publications/foot-height-imu-2026/foot-height-activities_hu_f5bfab6ca9e7920f.webp 320w, https://ehsansharafian.com/publications/foot-height-imu-2026/foot-height-activities_hu_b99e7e340b8e3a87.webp 480w, https://ehsansharafian.com/publications/foot-height-imu-2026/foot-height-activities_hu_1ea2e4a65d3e6516.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/publications/foot-height-imu-2026/foot-height-activities_hu_f5bfab6ca9e7920f.webp"
width="760"
height="421"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;To confirm the system measures real clearance, participants stepped over boxes of known heights and the estimated peak stride height was checked against each obstacle.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Obstacle-clearance validation: participants step over boxes of increasing height, and the peak vertical displacement is compared against each box"
srcset="https://ehsansharafian.com/publications/foot-height-imu-2026/obstacle-clearance_hu_b1208aae6122fd21.webp 320w, https://ehsansharafian.com/publications/foot-height-imu-2026/obstacle-clearance_hu_31bd3a6a0a9a23c3.webp 480w, https://ehsansharafian.com/publications/foot-height-imu-2026/obstacle-clearance_hu_4c3cb11ee8435ad7.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/publications/foot-height-imu-2026/obstacle-clearance_hu_b1208aae6122fd21.webp"
width="760"
height="413"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;h2 id="results"&gt;Results&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;96.08%&lt;/strong&gt; overall activity-classification accuracy, with &lt;strong&gt;less than one gait cycle&lt;/strong&gt; of latency.&lt;/li&gt;
&lt;li&gt;Level walking stayed at the ground reference (&lt;strong&gt;0.0 cm&lt;/strong&gt;, 95% CI −1.8 to 1.8 cm).&lt;/li&gt;
&lt;li&gt;Cumulative height error stayed &lt;strong&gt;below 1.1 cm&lt;/strong&gt; across ramp and stair negotiation (mean absolute error &lt;strong&gt;0.42%&lt;/strong&gt;).&lt;/li&gt;
&lt;li&gt;Toe height was recovered with accuracy comparable to foot height.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Together, this gives a practical foundation for &lt;strong&gt;real-time gait feedback and fall-prevention&lt;/strong&gt; tools that could one day run on the phone already in someone&amp;rsquo;s pocket.&lt;/p&gt;</description></item><item><title>Human Movement Variability Conference 2026 (HMVC)</title><link>https://ehsansharafian.com/events/omaha-2026/</link><pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate><guid>https://ehsansharafian.com/events/omaha-2026/</guid><description>&lt;p&gt;I had the chance to attend the Human Movement Variability Conference 2026 (HMVC) in Omaha, NE, an incredible gathering of biomechanics researchers. HMVC brings together scientists and clinicians focused on understanding variability in human movement and its implications for health, rehabilitation, and performance.
It was a great opportunity to present our work on &lt;strong&gt;wearable haptic feedback systems for gait training&lt;/strong&gt; and to engage in discussions with leading experts about their latest advances in the field.&lt;/p&gt;
&lt;p&gt;Alongside the conference, we had the chance to tour the state-of-the-art facilities at the &lt;strong&gt;University of Nebraska at Omaha, Department of Biomechanics&lt;/strong&gt;, which are among the best in the US. The lab features advanced equipment including a six-degree-of-freedom treadmill with an immersive virtual reality environment for movement analysis research.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="My podium presentation"
srcset="https://ehsansharafian.com/events/omaha-2026/my-presentation_hu_4580d5aab555fb11.webp 320w, https://ehsansharafian.com/events/omaha-2026/my-presentation_hu_69bbf73a40d027f5.webp 480w, https://ehsansharafian.com/events/omaha-2026/my-presentation_hu_9b2c00ce50b2bb5d.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/events/omaha-2026/my-presentation_hu_4580d5aab555fb11.webp"
width="760"
height="570"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="6-DOF treadmill with immersive VR environment at UNO Biomechanics Lab"
srcset="https://ehsansharafian.com/events/omaha-2026/treadmill-6dof_hu_47a2e8b713a1da7c.webp 320w, https://ehsansharafian.com/events/omaha-2026/treadmill-6dof_hu_2b29146559c00716.webp 480w, https://ehsansharafian.com/events/omaha-2026/treadmill-6dof_hu_e87e5d441c27214f.webp 519w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/events/omaha-2026/treadmill-6dof_hu_47a2e8b713a1da7c.webp"
width="519"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Omaha, NE at night"
srcset="https://ehsansharafian.com/events/omaha-2026/omaha-night-1_hu_97af577cc2a3ec0a.webp 320w, https://ehsansharafian.com/events/omaha-2026/omaha-night-1_hu_a8559894bd100bfd.webp 480w, https://ehsansharafian.com/events/omaha-2026/omaha-night-1_hu_b5359f7c7727d0cb.webp 570w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/events/omaha-2026/omaha-night-1_hu_97af577cc2a3ec0a.webp"
width="570"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Omaha, NE at night"
srcset="https://ehsansharafian.com/events/omaha-2026/omaha-night-2_hu_a5958ac7ceba5b3c.webp 320w, https://ehsansharafian.com/events/omaha-2026/omaha-night-2_hu_ce1a8ab7058af61a.webp 480w, https://ehsansharafian.com/events/omaha-2026/omaha-night-2_hu_1a6c654f3a4a83d9.webp 570w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/events/omaha-2026/omaha-night-2_hu_a5958ac7ceba5b3c.webp"
width="570"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;</description></item><item><title>Swapping the Engine in My Subaru</title><link>https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/</link><pubDate>Sat, 20 Sep 2025 00:00:00 +0000</pubDate><guid>https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/</guid><description>&lt;p&gt;Some weekends you recharge in the mountains. Others you spend covered in oil in a parking lot, and honestly, those are just as good.&lt;/p&gt;
&lt;p&gt;My Subaru Outback had been fighting me for a while, so one weekend we set up shop in the parking lot and got to work.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Out in the parking lot, first trying to save the original engine"
srcset="https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/working-on-car_hu_413182e754bc19fa.webp 320w, https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/working-on-car_hu_453cbe6efbdcbb1d.webp 480w, https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/working-on-car_hu_18d23ed3d3032fc9.webp 570w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/working-on-car_hu_413182e754bc19fa.webp"
width="570"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;We started out hoping for a modest fix, replacing the valves and valve guides on the original engine to bring it back to life. I pulled the cylinder heads and we went through the valvetrain piece by piece.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Cylinder head off the engine and in my hands, ready to work on the valves"
srcset="https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/cylinder-head_hu_fea8cdc1f6a66fa3.webp 320w, https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/cylinder-head_hu_325f5aedeebf5b12.webp 480w, https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/cylinder-head_hu_ebfe432014187256.webp 570w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/cylinder-head_hu_fea8cdc1f6a66fa3.webp"
width="570"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="A close look at the valvetrain and camshaft on the bench"
srcset="https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/valve-train_hu_debf8d0d589916d9.webp 320w, https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/valve-train_hu_d3fd009f80048c22.webp 480w, https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/valve-train_hu_cafcb78314732b1e.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/valve-train_hu_debf8d0d589916d9.webp"
width="760"
height="570"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;But the old engine had other plans. After a lot of work it became clear it was simply done. So we did what any stubborn mechanical engineer would do. We pulled the whole thing and swapped in a fresh engine.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Sitting in the empty engine bay, weighing our options"
srcset="https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/featured_hu_54b3f54b49cd9e3.webp 320w, https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/featured_hu_7ac6015ce1b7312f.webp 480w, https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/featured_hu_52bfb6c29dba31b.webp 570w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/featured_hu_54b3f54b49cd9e3.webp"
width="570"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="The bay stripped down, looking at the bellhousing with the engine out"
srcset="https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/empty-bay_hu_e51454c9b7c5b001.webp 320w, https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/empty-bay_hu_b3f8f5482cea881b.webp 480w, https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/empty-bay_hu_17d09726326cec20.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/empty-bay_hu_e51454c9b7c5b001.webp"
width="760"
height="570"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Out with the old, up on the hoist and out of the car.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Lifting the old engine out with the hoist"
srcset="https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/hoisting-engine_hu_b84945a4a8458290.webp 320w, https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/hoisting-engine_hu_d43ee43f2dc5eb81.webp 428w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/hoisting-engine_hu_b84945a4a8458290.webp"
width="428"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;I did this alongside my great friend and master wrench, and what could have been a frustrating repair turned into one of my favorite weekends of the semester. Engine hoist, hand tools, a cylinder head on the bench, and a lot of laughs. There is something deeply satisfying about understanding a machine well enough to take its heart out and give it a new one.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="My great friend and master wrench, with the old engine up on the hoist behind us"
srcset="https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/engine-swap-selfie_hu_32e74eba09db4570.webp 320w, https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/engine-swap-selfie_hu_9dac16e652a01e04.webp 480w, https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/engine-swap-selfie_hu_a372b93662e3ea2b.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/hobbies/subaru-engine-swap-2025/engine-swap-selfie_hu_32e74eba09db4570.webp"
width="760"
height="570"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;h3 id="a-clip-from-the-swap"&gt;A clip from the swap&lt;/h3&gt;
&lt;div style="max-width:720px;margin:1.5rem auto;"&gt;
&lt;video controls preload="metadata" playsinline style="width:100%;height:auto;border-radius:12px;box-shadow:0 6px 24px rgba(0,0,0,.15);"&gt;
&lt;source src="engine-swap-clip.mp4" type="video/mp4"&gt;
Your browser does not support the video tag.
&lt;/video&gt;
&lt;/div&gt;
&lt;h3 id="watch-the-full-vlog"&gt;Watch the full vlog&lt;/h3&gt;
&lt;p&gt;We filmed the whole weekend. Here is the story from start to finish:&lt;/p&gt;
&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"&gt;
&lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/V7cFzlg2BC8?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"&gt;&lt;/iframe&gt;
&lt;/div&gt;
&lt;p&gt;New engine in, hood closed, and back on the road. Not a bad way to spend a weekend outside the lab.&lt;/p&gt;</description></item><item><title>Real-Time Activity Recognition Using Minimal Biomechanical Features: A Lightweight IMU-Based Classifier for Older Adults</title><link>https://ehsansharafian.com/publications/imu-activity-recognition-2025/</link><pubDate>Thu, 04 Sep 2025 00:00:00 +0000</pubDate><guid>https://ehsansharafian.com/publications/imu-activity-recognition-2025/</guid><description>&lt;h2 id="why-it-matters"&gt;Why it matters&lt;/h2&gt;
&lt;p&gt;Knowing what activity a person is doing, and how well they are doing it, is the foundation of any real-world health-monitoring tool. But most activity-recognition systems fall short where it matters most:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;They lean on &lt;strong&gt;deep learning and large datasets&lt;/strong&gt;, so they are too heavy to run in real time on a phone.&lt;/li&gt;
&lt;li&gt;They are trained almost entirely on &lt;strong&gt;young, healthy adults&lt;/strong&gt;, and quietly assume everyone moves the same way.&lt;/li&gt;
&lt;li&gt;Older adults with mobility limits often negotiate stairs with a &lt;strong&gt;non-alternating leg (NAL)&lt;/strong&gt; pattern, leading with the same leg every step, and generic models simply misread this as normal.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="what-i-built"&gt;What I built&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;real-time, smartphone-based classifier&lt;/strong&gt; that uses only two interpretable inputs, the &lt;strong&gt;thigh angle and the foot angle&lt;/strong&gt; from two small IMUs, to recognize five everyday activities: walking, stair ascent, stair descent, standing, and sitting.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Two IMUs on the thigh and foot stream to a phone over Bluetooth; the thigh and foot angles are tracked across one stair cycle from toe-off to heel strike"
srcset="https://ehsansharafian.com/publications/imu-activity-recognition-2025/imu-placement-cycle_hu_49ad9a0ee4ed3e28.webp 320w, https://ehsansharafian.com/publications/imu-activity-recognition-2025/imu-placement-cycle_hu_1599bad1f3b1e9fa.webp 480w, https://ehsansharafian.com/publications/imu-activity-recognition-2025/imu-placement-cycle_hu_963e92ab983f69a3.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/publications/imu-activity-recognition-2025/imu-placement-cycle_hu_49ad9a0ee4ed3e28.webp"
width="760"
height="192"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Key contributions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Minimal biomechanical features.&lt;/strong&gt; Rather than a deep network, a simple and interpretable &lt;strong&gt;physics based KNN model&lt;/strong&gt; classifies activity from just the thigh and foot angles, light enough to run live on a phone.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Adaptive toe-off segmentation.&lt;/strong&gt; A segmentation step detects toe-off across different activities to cut each stride cleanly and reduce computation.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;On-device Android app&lt;/strong&gt; that collects labeled data and reports activity in real time.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Built for older adults.&lt;/strong&gt; The model is explicitly trained to recognize the non-alternating leg stair pattern that generic classifiers miss.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="The app in use for live data collection and labeling across standing, walking, stair ascent, stair descent, and sitting"
srcset="https://ehsansharafian.com/publications/imu-activity-recognition-2025/app-data-collection_hu_4b0d7e28ad6e7660.webp 320w, https://ehsansharafian.com/publications/imu-activity-recognition-2025/app-data-collection_hu_90eb069177a7307c.webp 480w, https://ehsansharafian.com/publications/imu-activity-recognition-2025/app-data-collection_hu_5e3f7bc681469497.webp 732w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/publications/imu-activity-recognition-2025/app-data-collection_hu_4b0d7e28ad6e7660.webp"
width="732"
height="423"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;h2 id="see-it-in-action"&gt;See it in action&lt;/h2&gt;
&lt;p&gt;A short demo of the system running live: the phone screen shows the app classifying activities in real time while a participant walks and negotiates stairs.&lt;/p&gt;
&lt;div style="max-width:360px;margin:1.5rem auto;"&gt;
&lt;div style="position:relative;padding-bottom:177.78%;height:0;overflow:hidden;border-radius:12px;box-shadow:0 6px 24px rgba(0,0,0,.15);"&gt;
&lt;iframe style="position:absolute;top:0;left:0;width:100%;height:100%;border:0;"
src="https://www.youtube.com/embed/n6E6TadydAA"
title="Real-time activity recognition live demo"
loading="lazy"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen&gt;&lt;/iframe&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h2 id="recognizing-how-older-adults-move"&gt;Recognizing how older adults move&lt;/h2&gt;
&lt;p&gt;The hard case is stairs. When someone leads with the same leg on every step, the leading and trailing legs trace very different angle patterns, so the system has to read each leg differently.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="The non-alternating leg (NAL) stair pattern, where the same leg leads each step while the other trails"
srcset="https://ehsansharafian.com/publications/imu-activity-recognition-2025/non-alternating-pattern_hu_e19c43991eb09bd5.webp 320w, https://ehsansharafian.com/publications/imu-activity-recognition-2025/non-alternating-pattern_hu_65bb46ab286c53cf.webp 480w, https://ehsansharafian.com/publications/imu-activity-recognition-2025/non-alternating-pattern_hu_6fe0bf05e30d9e4e.webp 732w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/publications/imu-activity-recognition-2025/non-alternating-pattern_hu_e19c43991eb09bd5.webp"
width="732"
height="360"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Separating the &lt;strong&gt;leading&lt;/strong&gt; leg from the &lt;strong&gt;trailing&lt;/strong&gt; leg in the foot and thigh angle traces is what lets the model distinguish this mobility-limited pattern from normal stair negotiation.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Foot and thigh angle variations for leading versus trailing legs during non-alternating stair ascent and descent"
srcset="https://ehsansharafian.com/publications/imu-activity-recognition-2025/foot-thigh-angles-nal_hu_e1a7e13db6d.webp 320w, https://ehsansharafian.com/publications/imu-activity-recognition-2025/foot-thigh-angles-nal_hu_ac1948d3f5bd7660.webp 480w, https://ehsansharafian.com/publications/imu-activity-recognition-2025/foot-thigh-angles-nal_hu_1f0464f046dff437.webp 732w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/publications/imu-activity-recognition-2025/foot-thigh-angles-nal_hu_e1a7e13db6d.webp"
width="732"
height="468"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;h2 id="results"&gt;Results&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;99%&lt;/strong&gt; activity-classification accuracy for young and older adults with normal movement patterns.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;93%&lt;/strong&gt; accuracy in distinguishing non-alternating leg stair negotiation from normal stair negotiation in older adults.&lt;/li&gt;
&lt;li&gt;Runs in &lt;strong&gt;real time on a smartphone&lt;/strong&gt;, with no deep-learning model and no cloud.&lt;/li&gt;
&lt;li&gt;Validated on cohorts the model never trained on, including &lt;strong&gt;ten older adults&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Together this shows that a small set of well-chosen biomechanical features can power an accessible, real-time health-monitoring system that respects how aging populations actually move.&lt;/p&gt;</description></item><item><title>American Society of Biomechanics 2025 (ASB)</title><link>https://ehsansharafian.com/events/pittsburgh-2025/</link><pubDate>Wed, 13 Aug 2025 00:00:00 +0000</pubDate><guid>https://ehsansharafian.com/events/pittsburgh-2025/</guid><description>&lt;p&gt;After missing the American Society of Biomechanics conference last year due to a thunderstorm and flight cancellations, it felt incredibly rewarding to finally attend
in &lt;strong&gt;Pittsburgh, PA&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I had the opportunity to present our work on a &lt;strong&gt;real-time and lightweight human activity recognition system&lt;/strong&gt; using biomechanical features. It was an amazing experience to exchange ideas with experts in the biomechanics community and receive valuable feedback on our research.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Poster presentation at ASB 2025"
srcset="https://ehsansharafian.com/events/pittsburgh-2025/poster-presentation_hu_bac48127ac4e4e6d.webp 320w, https://ehsansharafian.com/events/pittsburgh-2025/poster-presentation_hu_efb0bd764be35114.webp 480w, https://ehsansharafian.com/events/pittsburgh-2025/poster-presentation_hu_442202256063a635.webp 570w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/events/pittsburgh-2025/poster-presentation_hu_bac48127ac4e4e6d.webp"
width="570"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;The ASB Annual Meeting is one of the premier conferences in the field, bringing together researchers, clinicians, and industry professionals to share the latest advances in biomechanics. This year&amp;rsquo;s meeting featured a wide range of topics from wearable sensing to clinical gait analysis.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="With colleagues in downtown Pittsburgh"
srcset="https://ehsansharafian.com/events/pittsburgh-2025/group-pittsburgh_hu_a92e60e9df513f3f.webp 320w, https://ehsansharafian.com/events/pittsburgh-2025/group-pittsburgh_hu_f0b8cd63f18b9675.webp 480w, https://ehsansharafian.com/events/pittsburgh-2025/group-pittsburgh_hu_d973d686c279f42c.webp 570w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/events/pittsburgh-2025/group-pittsburgh_hu_a92e60e9df513f3f.webp"
width="570"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Pittsburgh was a wonderful host city, known for its iconic bridges, vibrant riverfront, and thriving research community.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Pittsburgh skyline at night"
srcset="https://ehsansharafian.com/events/pittsburgh-2025/pittsburgh-night_hu_8cc402fa0bc63c26.webp 320w, https://ehsansharafian.com/events/pittsburgh-2025/pittsburgh-night_hu_18a97258c5a48019.webp 480w, https://ehsansharafian.com/events/pittsburgh-2025/pittsburgh-night_hu_4e2f122022ac76e6.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/events/pittsburgh-2025/pittsburgh-night_hu_8cc402fa0bc63c26.webp"
width="760"
height="570"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Pittsburgh&amp;rsquo;s iconic yellow bridges"
srcset="https://ehsansharafian.com/events/pittsburgh-2025/pittsburgh-bridges_hu_6748dbf35023928b.webp 320w, https://ehsansharafian.com/events/pittsburgh-2025/pittsburgh-bridges_hu_7d954804822df878.webp 480w, https://ehsansharafian.com/events/pittsburgh-2025/pittsburgh-bridges_hu_c59aa23912183e03.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/events/pittsburgh-2025/pittsburgh-bridges_hu_6748dbf35023928b.webp"
width="760"
height="734"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;</description></item><item><title>The Effects of Real-Time Haptic Feedback on Gait and Cognitive Load in Older Adults</title><link>https://ehsansharafian.com/publications/haptic-feedback-gait-2025/</link><pubDate>Wed, 11 Jun 2025 00:00:00 +0000</pubDate><guid>https://ehsansharafian.com/publications/haptic-feedback-gait-2025/</guid><description>&lt;h2 id="why-it-matters"&gt;Why it matters&lt;/h2&gt;
&lt;p&gt;Walking speed is one of the strongest predictors of health and independence in later life, and when it drops the cause is often &lt;strong&gt;neuromotor&lt;/strong&gt;, the timing and coordination of movement, rather than weakness or poor fitness. A key culprit is reduced &lt;strong&gt;peak thigh extension (PTE)&lt;/strong&gt;, how far the thigh swings back at the end of each step. If we could cue people to extend the thigh a little more, in real time and out in the world, we could lengthen their stride and speed them up, without a treadmill, a therapist, or a lab.&lt;/p&gt;
&lt;h2 id="what-i-built"&gt;What I built&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;wearable, smartphone-based haptic feedback system&lt;/strong&gt;. Two IMUs track the thigh and foot angles, the phone computes PTE stride by stride, and small &lt;strong&gt;vibrotactile cells on the thighs&lt;/strong&gt; deliver a gentle cue when a step needs adjusting.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="The closed-loop system: IMUs stream thigh and foot angles to the phone over Bluetooth, which commands vibrotactile feedback on the thighs; right, a participant wearing the modules, IMUs, and vibrotactile cells"
srcset="https://ehsansharafian.com/publications/haptic-feedback-gait-2025/haptic-system_hu_5eeb823151ff96e5.webp 320w, https://ehsansharafian.com/publications/haptic-feedback-gait-2025/haptic-system_hu_fa9c2a66f98e5933.webp 480w, https://ehsansharafian.com/publications/haptic-feedback-gait-2025/haptic-system_hu_80c77c7861be9c73.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/publications/haptic-feedback-gait-2025/haptic-system_hu_5eeb823151ff96e5.webp"
width="760"
height="331"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;How the feedback works:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Each stride&amp;rsquo;s &lt;strong&gt;PTE is compared to a personalized target&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Two feedback strategies were tested: a cue when the step was &lt;strong&gt;incorrect&lt;/strong&gt; (PTE below target, F_IR) and a cue when the step was &lt;strong&gt;correct&lt;/strong&gt; (target met, F_CR).&lt;/li&gt;
&lt;li&gt;A third group received only &lt;strong&gt;verbal instructions&lt;/strong&gt; (I_V), as a benchmark for the haptic system.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Left, the thigh and foot angle over a gait cycle with heel strike and PTE marked; middle and right, the incorrect-response and correct-response feedback strategies relative to the target thigh extension"
srcset="https://ehsansharafian.com/publications/haptic-feedback-gait-2025/pte-feedback-logic_hu_31f1c5993279eb50.webp 320w, https://ehsansharafian.com/publications/haptic-feedback-gait-2025/pte-feedback-logic_hu_6bc25cfa99e50f62.webp 480w, https://ehsansharafian.com/publications/haptic-feedback-gait-2025/pte-feedback-logic_hu_cd48eeeeffa6a007.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/publications/haptic-feedback-gait-2025/pte-feedback-logic_hu_31f1c5993279eb50.webp"
width="760"
height="269"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;h2 id="measuring-the-mental-cost"&gt;Measuring the mental cost&lt;/h2&gt;
&lt;p&gt;Any gait cue is only useful if people can follow it without concentrating so hard that they stop paying attention to their surroundings. To measure that &lt;strong&gt;cognitive load&lt;/strong&gt;, participants did a probe reaction-time task while walking, responding to audio beeps, with reaction time measured precisely from the sent and received audio.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="The probe reaction-time setup: audio beeps are sent and the participant&amp;rsquo;s spoken response is captured, and the delay between them is measured as reaction time"
srcset="https://ehsansharafian.com/publications/haptic-feedback-gait-2025/reaction-time-measurement_hu_103ef9936d24fd2a.webp 320w, https://ehsansharafian.com/publications/haptic-feedback-gait-2025/reaction-time-measurement_hu_3b243b4b04d899e7.webp 480w, https://ehsansharafian.com/publications/haptic-feedback-gait-2025/reaction-time-measurement_hu_87702fea97a672ff.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/publications/haptic-feedback-gait-2025/reaction-time-measurement_hu_103ef9936d24fd2a.webp"
width="760"
height="442"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;h2 id="results"&gt;Results&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;+14% stride length&lt;/strong&gt; and &lt;strong&gt;+18% gait speed&lt;/strong&gt; from a single session with the haptic system.&lt;/li&gt;
&lt;li&gt;Gains were &lt;strong&gt;comparable to verbal coaching&lt;/strong&gt;, but reached through a different mechanism (direct thigh feedback rather than instruction).&lt;/li&gt;
&lt;li&gt;Added cognitive load was &lt;strong&gt;small&lt;/strong&gt;: reaction time rose only &lt;strong&gt;27 ms (F_IR)&lt;/strong&gt; to &lt;strong&gt;74 ms (F_CR)&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Thirty community-dwelling older adults, averaging about &lt;strong&gt;80 years old&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Gait and cognitive-load outcomes across baseline, fast, and treatment trials for the three feedback groups: PTE, stride length, speed, cadence, and reaction time"
srcset="https://ehsansharafian.com/publications/haptic-feedback-gait-2025/results-bars_hu_e29541422e1dad7a.webp 320w, https://ehsansharafian.com/publications/haptic-feedback-gait-2025/results-bars_hu_10a2fb959b70a0b.webp 480w, https://ehsansharafian.com/publications/haptic-feedback-gait-2025/results-bars_hu_b39e07ccb9b3e3de.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/publications/haptic-feedback-gait-2025/results-bars_hu_e29541422e1dad7a.webp"
width="760"
height="400"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Together this shows that real-time thigh haptics can meaningfully improve older-adult gait in a single session while keeping attentional demand low, a promising, low-cost path toward wearable gait training and fall prevention.&lt;/p&gt;</description></item><item><title>RehabWeek 2025 — Chicago</title><link>https://ehsansharafian.com/events/rehabweek-2025/</link><pubDate>Mon, 12 May 2025 00:00:00 +0000</pubDate><guid>https://ehsansharafian.com/events/rehabweek-2025/</guid><description>&lt;p&gt;What an incredible week in &lt;strong&gt;Chicago&lt;/strong&gt; — stunning architecture along the river and an inspiring program at &lt;strong&gt;RehabWeek 2025&lt;/strong&gt;, one of the largest international gatherings in rehabilitation technology.&lt;/p&gt;
&lt;p&gt;I was honored to present two posters from our group at the University of Maine &lt;strong&gt;Biorobotics and Biomechanics Lab&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Real-Time Human Activity Recognition Using Minimal Biomechanical Features and IMU-Based Classification&lt;/strong&gt; —
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Individualized Gait Training for Older Adults Using a Wearable Haptic Feedback System&lt;/strong&gt; —
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Presenting the activity-recognition poster"
srcset="https://ehsansharafian.com/events/rehabweek-2025/poster-har_hu_1cc9dab5c2e94b57.webp 320w, https://ehsansharafian.com/events/rehabweek-2025/poster-har_hu_24457148f9e77bfc.webp 480w, https://ehsansharafian.com/events/rehabweek-2025/poster-har_hu_936084037cf3c277.webp 570w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/events/rehabweek-2025/poster-har_hu_1cc9dab5c2e94b57.webp"
width="570"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Presenting the haptic gait-training poster"
srcset="https://ehsansharafian.com/events/rehabweek-2025/poster-gait_hu_adb2cfc7996fd6de.webp 320w, https://ehsansharafian.com/events/rehabweek-2025/poster-gait_hu_bbbbd44b82c14d68.webp 480w, https://ehsansharafian.com/events/rehabweek-2025/poster-gait_hu_7ffffe104f9557d3.webp 570w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/events/rehabweek-2025/poster-gait_hu_adb2cfc7996fd6de.webp"
width="570"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;A highlight of the trip was visiting the &lt;strong&gt;Shirley Ryan AbilityLab&lt;/strong&gt; — their state-of-the-art facilities, teams, and research made a strong impression.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Shirley Ryan AbilityLab, Chicago"
srcset="https://ehsansharafian.com/events/rehabweek-2025/abilitylab_hu_4ffedd43f0d8ba3e.webp 320w, https://ehsansharafian.com/events/rehabweek-2025/abilitylab_hu_74a3bc65346094b3.webp 480w, https://ehsansharafian.com/events/rehabweek-2025/abilitylab_hu_77bea2b3c7290c0.webp 570w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/events/rehabweek-2025/abilitylab_hu_4ffedd43f0d8ba3e.webp"
width="570"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;I also had the chance to try a self-balancing exoskeleton from &lt;strong&gt;
&lt;/strong&gt; — a great hands-on look at where wearable robotics for mobility and gait rehabilitation is heading.
Sincere thanks to the RehabWeek 2025 organizers, session chairs, and the &lt;strong&gt;American Congress of Rehabilitation Medicine (ACRM)&lt;/strong&gt; for such a valuable and inspiring event advancing rehabilitation science.&lt;/p&gt;
&lt;video controls &gt;
&lt;source src="https://ehsansharafian.com/events/rehabweek-2025/wandercraft-exo.mp4" type="video/mp4"&gt;
&lt;/video&gt;</description></item><item><title>Increasing Thigh Extension with Haptic Feedback Affects Leg Coordination in Young and Older Adult Walkers</title><link>https://ehsansharafian.com/publications/thigh-extension-coordination-2025/</link><pubDate>Sat, 01 Mar 2025 00:00:00 +0000</pubDate><guid>https://ehsansharafian.com/publications/thigh-extension-coordination-2025/</guid><description/></item><item><title>IEEE EMBC 2024, Orlando</title><link>https://ehsansharafian.com/events/orlando-2024/</link><pubDate>Mon, 15 Jul 2024 00:00:00 +0000</pubDate><guid>https://ehsansharafian.com/events/orlando-2024/</guid><description>&lt;p&gt;I had the chance to present our research titled &lt;strong&gt;&amp;ldquo;Enhancing Gait in Older Adults with a Haptic Feedback System&amp;rdquo;&lt;/strong&gt; at the 46th Annual International Conference of the
(EMBC 2024) in the beautiful city of Orlando, Florida.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Poster presentation at IEEE EMBC 2024"
srcset="https://ehsansharafian.com/events/orlando-2024/me-poster-embc_hu_4cef4f1bb030f8f2.webp 320w, https://ehsansharafian.com/events/orlando-2024/me-poster-embc_hu_717db5ba9745fd30.webp 480w, https://ehsansharafian.com/events/orlando-2024/me-poster-embc_hu_b26d561d86a254ec.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/events/orlando-2024/me-poster-embc_hu_4cef4f1bb030f8f2.webp"
width="760"
height="570"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;EMBC is one of the largest international conferences in biomedical engineering, bringing together researchers, clinicians, and industry professionals from around the world. It was a great experience to exchange ideas with experts in the field and receive valuable feedback on our work in gait rehabilitation for older adults and individuals with walking impairments.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Conference hotel in Orlando"
srcset="https://ehsansharafian.com/events/orlando-2024/hotel-orlando_hu_4a8950cd5c632653.webp 320w, https://ehsansharafian.com/events/orlando-2024/hotel-orlando_hu_b70dd075a80ecd10.webp 480w, https://ehsansharafian.com/events/orlando-2024/hotel-orlando_hu_2636e42882b00f96.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/events/orlando-2024/hotel-orlando_hu_4a8950cd5c632653.webp"
width="760"
height="507"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Conference hotel in Orlando"
srcset="https://ehsansharafian.com/events/orlando-2024/i-am-explaining_hu_f3c0d92d250cd122.webp 320w, https://ehsansharafian.com/events/orlando-2024/i-am-explaining_hu_abed7a72706c1019.webp 480w, https://ehsansharafian.com/events/orlando-2024/i-am-explaining_hu_fc65dab89359303d.webp 570w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/events/orlando-2024/i-am-explaining_hu_f3c0d92d250cd122.webp"
width="570"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Orlando also offered some memorable moments outside the conference, including visits to Walt Disney World and Universal Studios.
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Universal Studios"
srcset="https://ehsansharafian.com/events/orlando-2024/universal_hu_9f07925be02d37e.webp 320w, https://ehsansharafian.com/events/orlando-2024/universal_hu_15d68147e6e171df.webp 480w, https://ehsansharafian.com/events/orlando-2024/universal_hu_7dd6ca971a1121f9.webp 570w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/events/orlando-2024/universal_hu_9f07925be02d37e.webp"
width="570"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Walt Disney World"
srcset="https://ehsansharafian.com/events/orlando-2024/disney-world_hu_f69e6cf7a54f493a.webp 320w, https://ehsansharafian.com/events/orlando-2024/disney-world_hu_724d66e0e32def8e.webp 480w, https://ehsansharafian.com/events/orlando-2024/disney-world_hu_6135a4cdd050e82.webp 555w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/events/orlando-2024/disney-world_hu_f69e6cf7a54f493a.webp"
width="555"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Fireworks at Disney World"
srcset="https://ehsansharafian.com/events/orlando-2024/fireworks_hu_8e2bf4b3db18f13e.webp 320w, https://ehsansharafian.com/events/orlando-2024/fireworks_hu_a36072f5b6d7fb17.webp 480w, https://ehsansharafian.com/events/orlando-2024/fireworks_hu_ba174c3ab53f5047.webp 640w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/events/orlando-2024/fireworks_hu_8e2bf4b3db18f13e.webp"
width="640"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;</description></item><item><title>Experience</title><link>https://ehsansharafian.com/experience/</link><pubDate>Tue, 24 Oct 2023 00:00:00 +0000</pubDate><guid>https://ehsansharafian.com/experience/</guid><description/></item><item><title>Surgical Robotics — Control Systems &amp; Inverse Kinematics</title><link>https://ehsansharafian.com/projects/surgical-robotics/</link><pubDate>Sat, 30 Sep 2023 00:00:00 +0000</pubDate><guid>https://ehsansharafian.com/projects/surgical-robotics/</guid><description>&lt;p&gt;During my time at
, I worked as a Mechanical and Control Systems Engineer on an advanced robotic platform for minimally invasive laparoscopic surgery. My work focused on real-time control, inverse kinematics, and the surgeon-robot interface.&lt;/p&gt;
&lt;h2 id="the-system"&gt;The System&lt;/h2&gt;
&lt;p&gt;The platform is a multi-degree-of-freedom surgical robot with dual manipulator arms, a surgeon console, and a training simulator for laparoscopic procedures. It was designed for telesurgery, enabling a surgeon to operate remotely over a network connection. During our testing, we successfully demonstrated this capability across two separate hospitals: the surgeon console was located in one hospital while the robot performed the procedure in another, carrying out a real surgical operation in real time.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Multi-DOF surgical robot in the operating room"
srcset="https://ehsansharafian.com/projects/surgical-robotics/robot_and_controller_system_hu_6b6ad91c84bbcf0.webp 320w, https://ehsansharafian.com/projects/surgical-robotics/robot_and_controller_system_hu_6da44dca9d0c8774.webp 480w, https://ehsansharafian.com/projects/surgical-robotics/robot_and_controller_system_hu_6fae5774cd12a712.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/projects/surgical-robotics/robot_and_controller_system_hu_6b6ad91c84bbcf0.webp"
width="760"
height="570"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;h2 id="control--kinematics"&gt;Control &amp;amp; Kinematics&lt;/h2&gt;
&lt;p&gt;I developed real-time control systems for the robotic arms using TwinCAT 3 (Beckhoff) and implemented inverse kinematics algorithms enabling precise, coordinated motion for surgical tasks. I also built Python-based graphical interfaces for intuitive surgeon-robot interaction.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Testing and validating inverse kinematics"
srcset="https://ehsansharafian.com/projects/surgical-robotics/kinematics_testing_and_validation_hu_522e6b8a38a800ed.webp 320w, https://ehsansharafian.com/projects/surgical-robotics/kinematics_testing_and_validation_hu_78dd12bb97e17299.webp 428w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/projects/surgical-robotics/kinematics_testing_and_validation_hu_522e6b8a38a800ed.webp"
width="428"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;h2 id="surgeon-training"&gt;Surgeon Training&lt;/h2&gt;
&lt;p&gt;Beyond engineering, I trained surgeons and medical students on operating the robot, safety protocols, and clinical best practices using the simulation platform.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Surgeon practicing laparoscopic procedures on the robot"
srcset="https://ehsansharafian.com/projects/surgical-robotics/surgeon_training_laparoscopic_hu_44c171b3012eaaf0.webp 320w, https://ehsansharafian.com/projects/surgical-robotics/surgeon_training_laparoscopic_hu_8cb4a171e473d9b0.webp 480w, https://ehsansharafian.com/projects/surgical-robotics/surgeon_training_laparoscopic_hu_25a5e2cc050ee400.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/projects/surgical-robotics/surgeon_training_laparoscopic_hu_44c171b3012eaaf0.webp"
width="760"
height="570"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Surgery room"
srcset="https://ehsansharafian.com/projects/surgical-robotics/surgical_robot_operating_room_hu_d803330d5300aa95.webp 320w, https://ehsansharafian.com/projects/surgical-robotics/surgical_robot_operating_room_hu_996c062b8773f01.webp 480w, https://ehsansharafian.com/projects/surgical-robotics/surgical_robot_operating_room_hu_fb26ac8fb908ee9e.webp 570w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/projects/surgical-robotics/surgical_robot_operating_room_hu_d803330d5300aa95.webp"
width="570"
height="760"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;h2 id="technical-stack"&gt;Technical Stack&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;TwinCAT 3 · Python · MATLAB · Real-time Control Systems · Inverse Kinematics · Laparoscopic Robotics&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Trajectory Optimization of a Spot-Welding Robot in the Joint and Cartesian Spaces</title><link>https://ehsansharafian.com/publications/spot-welding-trajectory-2023/</link><pubDate>Sun, 01 Jan 2023 00:00:00 +0000</pubDate><guid>https://ehsansharafian.com/publications/spot-welding-trajectory-2023/</guid><description/></item><item><title>Revisiting Screw Theory-Based Approaches in the Constraint Wrench Analysis of Robotic Systems</title><link>https://ehsansharafian.com/publications/screw-theory-wrench-2021/</link><pubDate>Fri, 01 Jan 2021 00:00:00 +0000</pubDate><guid>https://ehsansharafian.com/publications/screw-theory-wrench-2021/</guid><description/></item><item><title>Trajectory Optimization for Spot-Welding Robots</title><link>https://ehsansharafian.com/projects/robotics-arm/</link><pubDate>Sat, 01 Feb 2020 00:00:00 +0000</pubDate><guid>https://ehsansharafian.com/projects/robotics-arm/</guid><description>&lt;p&gt;For my M.Sc. thesis, I collaborated with an automobile manufacturing company to optimize the motion of the robots that perform spot welding on the vehicle-body production line.&lt;/p&gt;
&lt;h2 id="the-problem"&gt;The Problem&lt;/h2&gt;
&lt;p&gt;On a car-body assembly line, many serial robots perform hundreds of spot welds. Their trajectories were programmed manually by operators — reliable, but far from optimal in speed and energy use.&lt;/p&gt;
&lt;h2 id="what-i-did"&gt;What I Did&lt;/h2&gt;
&lt;p&gt;I formulated the robot&amp;rsquo;s motion as an optimization problem and solved it two ways:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Minimum-time trajectory&lt;/strong&gt; — a single-objective problem minimizing the welding gun&amp;rsquo;s travel time.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Time–energy trajectory&lt;/strong&gt; — a multi-objective problem minimizing both travel time and energy consumption.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The planning considered the &lt;strong&gt;position and orientation of the welding gun simultaneously&lt;/strong&gt;, in both joint and Cartesian spaces, while respecting the robot&amp;rsquo;s joint limits and the required gun orientation at each weld point. I used &lt;strong&gt;genetic algorithm&lt;/strong&gt; and &lt;strong&gt;particle swarm optimization&lt;/strong&gt; to search for the best trajectories.&lt;/p&gt;
&lt;h2 id="results"&gt;Results&lt;/h2&gt;
&lt;p&gt;Applied to a real robot on the production line, the optimized trajectories reduced the spot-welding operation&amp;rsquo;s travel time by:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;up to 24%&lt;/strong&gt; for the minimum-time trajectory&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;up to 11%&lt;/strong&gt; for the multi-objective (time + energy) trajectory&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This work was published in the &lt;em&gt;International Journal of Robotics and Automation&lt;/em&gt; (2023) — see the
.&lt;/p&gt;
&lt;p&gt;compared with the manually programmed trajectories in use.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Row of spot-welding robots on the line"
srcset="https://ehsansharafian.com/projects/robotics-arm/robot-line_hu_d78ad78306ce2653.webp 320w, https://ehsansharafian.com/projects/robotics-arm/robot-line_hu_871321d292f00a34.webp 480w, https://ehsansharafian.com/projects/robotics-arm/robot-line_hu_4ef697ac53634da8.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/projects/robotics-arm/robot-line_hu_d78ad78306ce2653.webp"
width="760"
height="570"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Body-in-white production floor"
srcset="https://ehsansharafian.com/projects/robotics-arm/production-floor_hu_d64325b1d2bbc098.webp 320w, https://ehsansharafian.com/projects/robotics-arm/production-floor_hu_fb8dbe8d66961ba8.webp 480w, https://ehsansharafian.com/projects/robotics-arm/production-floor_hu_503003b925df5397.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/projects/robotics-arm/production-floor_hu_d64325b1d2bbc098.webp"
width="760"
height="601"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Spot-welding station on the body-production line"
srcset="https://ehsansharafian.com/projects/robotics-arm/welding-station_hu_2ae1cf04da94bc1c.webp 320w, https://ehsansharafian.com/projects/robotics-arm/welding-station_hu_c0c1e93815e04ad5.webp 480w, https://ehsansharafian.com/projects/robotics-arm/welding-station_hu_a0e745566d2e5884.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://ehsansharafian.com/projects/robotics-arm/welding-station_hu_2ae1cf04da94bc1c.webp"
width="760"
height="570"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;</description></item><item><title>Ehsan Sharafian M</title><link>https://ehsansharafian.com/authors/me/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ehsansharafian.com/authors/me/</guid><description>&lt;h2 id="about-me"&gt;About Me&lt;/h2&gt;
&lt;p&gt;I am a third-year PhD candidate in Mechanical Engineering at the University of Maine&amp;rsquo;s Biorobotics and Biomechanics Lab, supervised by Dr. Babak Hejrati. My research focuses on developing wearable inertial measurement unit (IMU)-based sensing systems for real-time gait analysis and fall prevention in older adults.&lt;/p&gt;
&lt;h2 id="research-focus"&gt;Research Focus&lt;/h2&gt;
&lt;p&gt;My work integrates multiple sensing modalities to develop practical solutions for improving mobility and quality of life. I specialize in:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Real-time gait analysis using distributed IMU sensor networks&lt;/li&gt;
&lt;li&gt;Foot clearance estimation for fall prevention&lt;/li&gt;
&lt;li&gt;Adaptive haptic feedback systems for gait correction&lt;/li&gt;
&lt;li&gt;Android mobile applications for sensor data acquisition&lt;/li&gt;
&lt;li&gt;Machine learning for terrain and obstacle classification&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="background"&gt;Background&lt;/h2&gt;
&lt;p&gt;I hold a strong foundation in mechanical engineering and biomedical research. My work spans hardware integration, software development, and biomechanical analysis, bridging the gap between laboratory research and practical applications.&lt;/p&gt;</description></item></channel></rss>