Modeling the Nao Robot in MapleSim
Engineers at Maplesoft used MapleSim to develop a model of Nao, a 58cm tall humanoid robot created by Aldebaran Robotics. The model simulated the movements of the robot, allowing the engineers to simulate its behavior accurately and teach it to do new tricks such as perform Tai Chi, dance, play volleyball, and draw a picture.
Nao is a small humanoid robot created by Aldebaran Robotics. Standing 58 cm tall, Nao is used to teach students around the world programming, and to give engineers and software developers a platform for experimentation and robotic applications. Nao was even adopted recently by a financial institution in Japan to use as bank tellers!
Engineers at Maplesoft decided to see if they could create a model of Nao in MapleSim, the advanced system-level modeling and simulation tool that applies modern techniques to dramatically reduce model development time, provide greater insight into system behavior, and produce fast, high-fidelity simulations.
Building the Model
Nao is a highly complex multibody mechanism with 25 degrees of freedom. Using MapleSim's multibody library, Maplesoft engineers created a model using Denavit-Hartenberg (DH) convention to define the robot's joints coordinate frames. CAD models were then imported to define body mass, rotational inertia and center of mass. Because MapleSim is a physical modeling system, the model diagram corresponds closely to the physical system itself.
Servo motors appear at each joint to drive the movement. Signals from the controller trigger the motor to reposition each joint. In combination, these individual servo motors determine how Nao moves.
The engineers were also able to model the contact between Nao's foot and the floor. This was done by creating custom components in MapleSim, and supplying the mathematical equations that govern friction and normal force. These components were included in the model at each point of contact on the ...
The engineers were also able to model the contact between Nao's foot and the floor. This was done by creating custom components in MapleSim, and supplying the mathematical equations that govern friction and normal force. These components were included in the model at each point of contact on the base of each foot.
The MapleSim model also includes a Li-ion battery pack model from the MapleSim Battery Library that powers the motor, so that the behavior of the battery and its interactions with the rest of the system can be modeled as well.
Sensor readings of each joint were exported from Aldebaran Robotics Choregraphe™ to MapleSim via a time lookup table. These were then used as the command signal for each joint.The model responded in the same way the physical robot did. For instance, the MapleSim model can perform Tai Chi as adeptly as its physical counterpart.
Teaching Nao New Tricks
Now that they had a model that simulates the movements of the Nao robot, the Maplesoft engineers then wanted to see if they could not just simulate its behaviour accurately, but also teach it do to something new.
Using MapleSim's ability to extract and analysis the mathematical equations of motion of a model, as well as its multibody analysis tools, they determined the symbolic solution to the inverse kinematic problem for the motion of the robot's arm. With this solution, they could calculate the joint motions necessary to place the arm in an arbitrary location in space. They used this information to add a new custom component to the model that takes the desired end position and calculates the movements needed to achieve it. Then, they taught the virtual Nao to draw.
They created an application that allows a human to sketch a shape, image, or word using a mouse. The sketch is analyzed to determine the coordinates of the lines, and then the information is fed into the simulation model. The result? Nao moves his arm and draws the same thing!
Further leveraging MapleSim's ability to solve inverse kinematics problems, Maplesoft engineers have also taught Nao other new tricks, including various dances, playing volleyball, and tracking a quadrocopter.
Why This Is Interesting
If you are working on a robotics research or design project where understanding multidomain interactions are important, then using a multidomain modeling platform like MapleSim, as this example demonstrates, will allow you to bring together all aspects of your project into one place.
-3D Multibody Modeling: Take advantage of 3D Multibody modeling, simulation, and visualization capabilities
-Parameterized Models: Conveniently access system parameters to quickly apply design changes and consider a family of designs or products
-Multidomain Support: Augment the dynamic mechanical system with accurate models of electric motors, controllers and batteries
-Virtual Testing and Analysis: Investigate system-level behavior and interaction of multidomain subsystems, without the need to build expensive and unpredictable physical prototypes
-Component Sizing: Easily run batch simulation and parallel processing, and collect data that can be used to assist in component sizing
-Full Access: Leverage direct access to equations and a full programming language to expand the same simulation model to be part of model design and trajectory optimization tasks
-Optimized Code Generation: Generate highly optimized c-code from the model for an essential part of model-based control design
Published by Maplesoft, Inc. on 10 Jul 2015
For more information send an inquiry directly to Maplesoft, Inc.
Industry 4.0 and the Power of the Digital Twin
The world of industrial automation is undergoing a major transformation to the Next Industrial Revolution, or Industry 4.0. Manufacturers can no longer afford the “build it and tweak it” approach that has long characterized many design projects. Instead, they must take a more systems-design approach by implementing rigorous systems-design processes that accommodate the complexities of developing multi-disciplinary systems. High-fidelity virtual prototypes, or Digital Twins, are at the core of this development process. Read this whitepaper to learn how early adopters are already benefiting from the power of the Digital Twin as part of their Industry 4.0 strategy.
Searching, Exploring and Visualizing Data using Maple
With the ever-expanding sea of available data and data repositories, navigating the vast quantities of information can be a difficult task. Maple, the advanced computing software from Maplesoft, is a powerful, interactive data visualization tool. Maple makes it easy to: searchfilterexplorevisualize dataThis paper presents several examples of how Maple can be used to search and filter large data repositories, explore and visualize the data in innovative ways and use the data to predict future behavior.
Maplesoft Makes Model Based Systems Engineering Accessible to More Engineers with New MapleMBSE
MapleMBSE is a new product from Maplesoft that provides engineers with greater accessibility to model-based systems engineering tools, helping them create, maintain, validate requirements efficiently, with fewer errors29 Aug 2017
Engineer in France Develops Motorcycle Racing Simulator Using MapleSim
Mr. Frédéric Nicolo wanted to develop a motorbike simulator that performed at the same level as current automobile simulators, accommodating the unique features of motorbikes. He started his own venture, developing a simulator using MapleSim that ...22 Jun 2017
Maple 2017 Offers Increased Mathematical Power, Stronger Visualizations and Flexible Deployment Options
Maplesoft today announced a major new release of its flagship product, Maple, the mathematical software that makes it extremely easy to analyze, explore, visualize, and solve math problems. The result of over 30 years of development, Maple already has ...22 Jun 2017
New Connector by Maplesoft and Phoenix Integration Combines Engineering Insight and Efficiency
Maplesoft and Phoenix Integration announced a new plugin that enables engineers to easily incorporate Maplesoft software products Maple and MapleSim into the ModelCenter workflow integration and automation platform from Phoenix Integration. Th...11 May 2017
Designing an Industrial Pick-and-Place Robot
A leading provider of packaging machines was experiencing repeated motor failures with their pick-and-place robots, facing substantial replacement costs on a regular basis. The company chose Maplesoft to develop a high-fidelity parameterized model...11 May 2017
Researchers at the University of Waterloo use MapleSim in New Approach to Tire Modeling
Ideally, a tire model will accurately simulate the dynamics of the system and result in simulations that execute quickly. Unfortunately, existing tire models typically either do not model behavior to a high degree of accuracy, or they are very resource...15 Mar 2017
Maple Drastically Reduces Downtime of Steam Turbines by Improving the Ultrasonic Testing of Rotor Blades
Rotek, the maintenance branch of Eskom, South Africa’s state-owned electricity provider, is using Maple, the technical computing software from Maplesoft, to design a comprehensive pre-inspection simulation model for use in the ultrasonic inspections of...8 Feb 2017
Maple Helps Hiab Simplify Their Crane Operation
Hiab, a leading provider of load handling equipment, is using Maple to design new ways to lessen the burden on crane operators and maintain safe and precise machine operation. Hiab selected Maple because of its ability to process complex matrix ma...7 Feb 2017
Latest MapleSim Release Improves Engineering Design Productivity
Maplesoft today announced a major new release of MapleSim™, an advanced system-level modeling and simulation platform used by engineers to reduce development time and gain insight into system behavior. The latest release provides tools that increa...6 Feb 2017
MapleSim used to speed up development of high-fidelity robotic manipulator models
ABB's Robotics business unit evaluated MapleSim, the high-performance modeling and simulation platform from Maplesoft, to develop high-fidelity manipulator models that included flexible joints, gears, and dynamic friction, and to determine the ease wit...4 Feb 2016
Maplesoft Engineering Solutions team helps FLSmidth develop revolutionary mining equipment
FLSmidth discovered the advantages of system-level modeling while working with Maplesoft's Engineering Solutions team on the development of a Dual Truck Mobile Sizer (DTMS). The level of design detail and the amount of insight the team gained by using ...4 Feb 2016
New MapleSim Toolbox Enables System-Level Modeling with CAD Designs
Maplesoft recently released the MapleSim CAD Toolbox, a new add-on to MapleSim that allows engineers to understand and improve their mechanical designs by bringing their CAD assemblies into MapleSim, the advanced system-level modeling and simulation p...4 Feb 2016
Modeling the Nao Robot in MapleSim
Engineers at Maplesoft used MapleSim to develop a model of Nao, a 58cm tall humanoid robot created by Aldebaran Robotics. The model simulated the movements of the robot, allowing the engineers to simulate its behavior accurately and teach it to do...10 Jul 2015