Professional Documents
Culture Documents
A C y b e rn e t Gro u p C ompa ny
A Word From Maplesoft’s President
Engineers from around the world use Maplesoft technology to solve extremely difficult
problems in a diverse range of industries and technical disciplines: FLSmidth uses
Maplesoft technology to develop a new relocatable mining machine; researchers
at the University of Waterloo, in cooperation with the Canadian Space Agency, use
Maplesoft technology to model a robotic space rover; Engineered Arts uses Maplesoft
technology to help model Byrun - a walking, hopping and jumping robot. In this
collection of application stories, you’ll find these and many other exciting examples
of how Maplesoft technology is used in advanced engineering projects.
In engineering research and design, detail is vital. Design engineers and researchers
must not only develop models quickly, but they also require in-depth analytical
tools to help them understand on a fundamental level the intricacies of their models
and the system-level behavior. Fortunately, MapleSim and Maple are available to
TM TM
The application stories in this collection demonstrate how the use of technical
computing software, physical modeling and simulation technology, and real-time
simulation solutions have allowed engineers to reduce design and prototyping costs
significantly while fulfilling the demands of governments and markets. They illustrate
how engineers and researchers use Maplesoft solutions to rapidly accelerate their
design projects, reducing their model development time from months to days.
Please enjoy this collection of Maplesoft customer application stories, with our thanks.
To learn more, please visit www.maplesoft.com/demo.
Sincerely,
Jim Cooper
President and CEO
Maplesoft
2
Contents
6 Planetary Rovers
4
10 Unmanned Aerial Vehicles
15 High-speed Robots
28 Battery Modeling
30 Broadcast Networks
11
31 Vehicle Driving Simulators
www.maplesoft.com 3
Maplesoft Engineering Solutions Team Helps FLSmidth
Develop Revolutionary Mining Equipment
FLSmidth
4
The creation of the skip model was complemented with the “The stability analysis performed by the Maplesoft team was very
development of multiple design tools to aid in adjusting the insightful,” said Fourie. “Knowing about a potential issue early
model to achieve the desired behavior. One such design tool on enabled us to design with it in mind, rather than having to go
is the Geometric Design Evaluation tool, which provides the back and rework our design at a later stage. This contributed to
ability to evaluate changes in the dimensions of the skip design keeping our project on track, and saved us millions of dollars
and their effect on the dynamics of the system. The tool uses down the line.” The stability analysis design approach and all
Maple, Maplesoft’s symbolic computation tool, to perform the other analysis tools developed by Maplesoft were delivered
a parameter sweep, by simultaneously running simulations to FLSmidth, enabling them to apply them to future projects.
using the different parameter values provided. Maple then
presents the results overlaid on a single plot window for easy Once the modeling and testing of the skip system was completed,
comparison and evaluation. Other tools developed include tools during the following phases of the project, Maplesoft staff went
for sizing the hydraulics and components, designing the motion on to develop the chassis model, and finally the full DTMS.
profile, investigating the dynamic loading on the bearings, and Many more design tools were created, providing the ability to
estimating the material flow load. evaluate joint flexibility, center of mass variations as the skip
was raised and lowered, and even soil modeling to investigate
As part of developing and testing the skip model, Maplesoft’s the vertical displacement of the system on different types of soil.
technical team also evaluated the design, to identify the sources
of vibrations and their effects. They developed an approach “From start to finish, Maplesoft provided truly knowledgeable and
to perform stability analysis, which was made possible by the professional service,” concludes Fourie. “Their team worked
fact that the skip model provided easy access to key geometric tirelessly to accommodate our schedule, and the power of
features and dynamic properties of the design. The stability the Maplesoft toolset is second to none. The level of design
analysis approach was demonstrated using a case study in detail and the amount of insight we gained have enabled us to
which the location of the feedback sensor was varied. The revolutionize onsite crushing through the development of the
analysis identified a potential issue very early in the design DTMS. We could not have achieved this without the services
phase, enabling engineers at FLSmidth to develop a more of the Maplesoft Engineering Solutions team.”
robust design.
www.maplesoft.com 5
MapleSim Breaks New Ground in Hardware-in-the-Loop
Real-Time Simulation for Planetary Rovers
University of Waterloo • Canadian Space Agency The main advantage of this approach is that it significantly
reduces the overall development time in the project. It also
In the space industry, the design, building, and testing of rover allows for component testing under dangerous scenarios without
prototypes is extremely expensive. System testing typically does the risk of damaging a full rover prototype.
not occur until late in the design/testing process, when it is more
difficult and time consuming to make changes. In response to Rover Kinematics
this situation, Dr. Amir Khajepour, Canada Research Chair in In addition to simulating the rover dynamics, the MapleSim
Mechatronic Vehicle Systems and Professor of Engineering modeling environment was used to automatically generate the
in the Mechanical and Mechatronics Engineering department kinematic equations of the rover.
at the University of Waterloo (UW), and his team worked with
the Canadian Space Agency (CSA) and Maplesoft to develop
a hardware-in-the-loop (HIL) test platform for solar powered
planetary rovers. The intuitive nature of
MapleSim allowed my team to
Their approach allows component testing within a simulation
loop before a full rover prototype is available. It essentially
create high fidelity models in a
creates a virtual testing environment for the component short period of time.
under test, “tricking” it into thinking it is operating within a full
prototype. Using MapleSim, the modeling and simulation tool
- Dr. Amir Khajepour, University of Waterloo
from Maplesoft, high-fidelity and computationally efficient models
were created for this real-time application.
These equations then formed the basis for other tasks in the
project such as HIL simulations, path planning, and power
Using this test platform, scenarios that are hard to replicate in a
optimization. The modular system setup enables users to quickly
lab setup, such as the Martian environment or components that
change the rover configuration and explore different approaches
are not yet available, can be modeled in software. Hardware
in a short time.
components can then communicate with these software models
for real-time simulations. The goal is to progressively add
hardware components to the simulation loop as they become Hardware-in-the-Loop Framework
available. In this way, system testing takes place even without Figure 2 shows an overview of the test platform. Information
all the hardware components, bridging the gap between the regarding the rover’s position, orientation, tilt, speed, and
design and testing phases. power consumption (obtained from dynamic models of the
6
receive on Mars was implemented using MapleSim’s Custom
Component Block. This model took into account the sun’s
position and the rover’s latitudinal and longitudinal position,
orientation, and tilt as it traveled from point A to point B. This
was used together with a solar array model to estimate the
power generation of a rover throughout the day.
interface were developed. The program was then uploaded system of autonomous rovers. They used MapleSim to
to the embedded computer within National Instruments PXI rapidly develop high fidelity, multidomain models of the rover
where communication between the hardware components subsystems. The goal was to develop a path planning algorithm
and the software models was established and the real-time that took rover power demands and generation into account.
simulation was run. Using the models, the path planner found the optimum path
between point A and point B such that the rover maintained the
“Due to the multidomain nature of the system (mechanical, highest level of internal energy storage while avoiding obstacles
electrical, and thermal), it was desirable to model all the and high risk sections of the terrain.
components within one modeling environment such that
critical relationships can be easily discovered. In addition, Dr. Khajepour and his team were able to create the mathematical
computational efficiency is crucial in real-time simulations,” model of the 6-wheeled rover without writing down a single
said Dr. Khajepour. “MapleSim was found to be the ideal equation. “MapleSim was able to generate an optimum set of
environment for this application due to its multidomain abilities, equations for the rover system automatically, which was essential
use of symbolic simplification for higher computational efficiency, in the optimization phase,” he said. Dr. Khajepour was also
and ease of connectivity to LabVIEW.” impressed with MapleSim’s graphical interface. “In MapleSim,
you can simply re-create the system diagram on your screen
In addition to making use of MapleSim’s built-in component using components that represent the physical model. The ability
library, custom components were also easily developed. A to see the model, to see the moving parts, is very important to
model to estimate the solar radiation that a tilted surface would a model developer,” he concluded.
www.maplesoft.com 7
NASA’s Jet Propulsion Laboratory Begins
Widespread Adoption of Maplesoft Technology
8
Maple and MapleNet Streamline the
Development of Solar Panel Foil Systems
Dr. Waegli feels that Maple has significant advantages over its
competition, “Maple is much easier to use compared to other,
similar products. Its intuitive user interface makes it simple to
manipulate parameters, and it has excellent compatibility with Typical light distribution in the
measuring plane over the area
other tools. In addition, its document interface is very useful as
of an individual photo-voltaic cell
it provides ample opportunities to document my work.”
www.maplesoft.com 9
Using MapleSim in Unmanned Aerial Vehicle Models
Provides Insights Not Possible with Traditional Tools
Quanser Inc. fitted with 10-inch propellers. The entire mechanism is enclosed
within a protective carbon fiber cage. The first step in its
Unmanned aerial vehicles (UAV) are an increasingly important development was to create high-fidelity 3-D dynamics models
tool in situations where it is dangerous or extremely difficult for of the system and its flying characteristics. The results and
humans to enter. In addition to military applications, UAVs are insights gained through using MapleSim were then transferred
used in environmental surveys, agriculture, and disaster relief to the remaining toolchain to complete the development.
10
Maple Helps Ford Motor Company with Analytical
Predictions of Chain Drive System Resonances
At Ford, Jack S.P. Liu, Das Ramnath, and Rajesh Adhikari set
out to understand the source of the noise and develop simple,
analytical models for quick computation of the chain drive
system resonances.
www.maplesoft.com 11
Modeling the Nao Robot in MapleSim
12
Why This Is Interesting
•
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 Servo motors for each joint drive the movement of
system with accurate models of electric motors, controllers the robot’s arm
and batteries
www.maplesoft.com 13
MapleSim Used to Create High-Fidelity Physical
Models of Hybrid and Electric Vehicle Batteries
Toyota
Dr. Thanh-Son Dao and Mr. Aden Seaman worked with Dr. John
McPhee, the NSERC/Toyota/Maplesoft Industrial Research
Chair for Mathematics-based Modeling and Design, to develop
high-fidelity models of hybrid-electric and electric vehicles,
including the batteries. The research was done at the University A high-fidelity battery model is essential to the development
of Waterloo. They chose MapleSim because they have found of electric and hybrid-electric vehicles.
the symbolic approach in MapleSim to be an effective way to
develop simulation models that have fast real-time speeds automatically generated optimized set of governing equations.
for hardware-in-the-loop (HIL) testing and very high fidelity The HEV model consists of a mean-value internal combustion
compared to models created in conventional modeling tools. engine (ICE), DC motors driven by a chemistry-based NiMH
battery pack, and a multibody vehicle model. Simulations were
Battery Electric Vehicle (BEV) Model then used to demonstrate the performance of the developed
HEV system. Simulation results showed that the model is viable
Using MapleSim, Dr. McPhee and Mr. Seaman designed
and, as a result of MapleSim’s lossless symbolic techniques for
a math-based model of a complete battery pack, and then
automatically producing an optimal set of equations, the number
developed simple power controller, motor/generator, terrain,
of governing equations was significantly reduced, resulting in
and drive-cycle models. The resulting differential equations
a computationally efficient system. This HEV model can be
were simplified symbolically and then simulated numerically. A
used for design, control, and prediction of vehicle handling
variety of driving conditions were simulated, such as hard and
performance under different driving scenarios. The model can
gentle acceleration and driving up and down hills. The results
also be used for sensitivity analysis, model reduction, and real-
were physically consistent and clearly demonstrated the tight
time applications such as hardware-in-the-loop (HIL) simulations.
coupling between the battery and the movement of the vehicle.
This model will form the basis for a more comprehensive vehicle
“With the use of MapleSim, the development time of these models
model, which will include a more sophisticated power controller
is significantly reduced, and the system representations are
and more complex motor, terrain, and drive-cycle models.
much closer to the physics of the actual systems,” said Dr. John
McPhee. “We firmly believe that a math-based approach is the
Hybrid-Electric Vehicle (HEV) Model best and quite possibly the only feasible approach for tackling
Dr. McPhee, Dr. Dao, and Mr. Seaman used MapleSim to the design problems associated with complex systems such
develop a multi-domain model of a series HEV, including an as electric and hybrid-electric vehicles.”
14
High-speed Robot, DeltaBot , Designed TM
AEMK Systems
www.maplesoft.com 15
From Months to Days...
Do you want to develop complex system-level models quickly?
16
Planetary Rover Solar Array
3 months to 10 days 1 month to 3 days
A complex multidomain model that simulates A full solar array model that simulates power generation
planetary rover motion, wheel/soil interaction, energy of both stationary and tracking solar panels.
consumption, and more.
18
The team at Engineered Arts has also found MapleSim useful
for its ability to simplify complex calculations. “MapleSim’s
ability to automatically generate complex mathematical models,
such as the leg dynamics, is outstanding. Different parameters
can be altered at different stages to reduce the complexity of
calculations,” Guillaume said. “In the case of Byrun, we were
able to dramatically simplify the leg dynamics, making the
computations much faster. This is extremely powerful and has
real impact on our project timelines and deliverables.”
www.maplesoft.com 19
MapleSim Used to Speed Up Development of High-Fidelity
Robotic Manipulator Models
ABB Robotics models can be exported and integrated with other software
tools for simulation or controller development.
All across the world today, industrial robots perform tasks that
range from palletizing boxes in a warehouse, to transporting Their goal was to create high-fidelity models that were realistic
hoppers of ingredients across a food preparation factory, to enough to replicate the operation of a real manipulator, while still
precision welding on a vehicle assembly line. The successful being able to run simulations on a regular desktop computer.
completion of these tasks relies on the accurate control of the While their previous process of deriving models using methods
robotic manipulators to provide the required dexterity. With over such as the Euler-Lagrange formulation worked well, MapleSim’s
250,000 robots installed worldwide, engineers at ABB’s Robotics graphical interface eliminated the need to derive and manipulate
business unit understand the challenges of designing and equations, drastically reducing the time needed to model a
controlling robotic manipulators. Their design process includes manipulator.
rigorous testing with the aid of simulation models which they
MapleSim’s extensive library of built-in components enables
had been deriving using non user-friendly tools. The tedious
users to simply drag and drop, then seamlessly connect
nature of this process left them searching for a better solution.
components from different domains to create complex system-
Working with a research team from Linköping University in level models. This ease of creating models radically changed
Sweden, via the industry excellence center LINK-SIC, engineers the way in which design engineers at ABB worked. They now
at ABB’s Robotics business unit in Västerås, Sweden, set out to had a more user-friendly and flexible modeling tool. Using a
evaluate the use of MapleSim, the high-performance modeling combination of multibody mechanics, 1-D mechanical, electrical
and simulation platform from Maplesoft, to develop high-fidelity and custom components, they were able to create multiple
manipulator models that included flexible joints, gears, and models of their robotic manipulator with MapleSim, in the same
dynamic friction, and to determine the ease with which the amount of time it was previously taking them to create just one
model.
20
MapleSim helped us to
work faster and smarter. We
were able to quickly create
multiple models of our robotic
manipulator design, and easily
compare them, to determine
the best fit.
- Mikael Norrlöf, ABB Robotics
They used the time saved to apply different modeling system equations, thus creating code that is compact and
approaches, and created models with different parameter highly efficient.
values and levels of complexity, to determine how best to meet
their design goals. Describing the flexibility that MapleSim “Being able to export to Simulink® is very important for us,” said
offered them, Mikael Norrlöf, Motion Control Architect at ABB’s Mikael Norrlöf. “We were able to seamlessly integrate the models
Robotics business unit said, “MapleSim helped us to work faster created with MapleSim into our test environment, without having
and smarter. We were able to quickly create multiple models to modify our established workflow. This was a key factor in our
of our robotic manipulator design, and easily compare them, decision to adopt MapleSim for model creation.”
to determine the best fit.”
The simulation results using the MapleSim models were
Having built a series of models representing the manipulator, comparable with measurements obtained from a real manipulator
the next step was to integrate them with the rest of the system – demonstrating conclusively how MapleSim can be used to
for testing. ABB performs system-level testing using a complex generate and export high-fidelity multidomain models that
test environment built with Simulink®. Therefore, it is vital that the replicate their manipulator’s behavior. As a result of the research
tool used to generate the manipulator models is able to export carried out by the team from Linköping University, ABB has
to, and integrate with Simulink®. This capability is provided adopted MapleSim for model creation. As their engineers
by the MapleSim Connector, which enables users to export continue to develop new ways to increase the fidelity of the
any MapleSim model to Simulink®, including models with models they use to test their products, MapleSim will be an
custom components. The MapleSim Connector automatically integral part of that process moving forward.
creates S-function blocks from the symbolically simplified
www.maplesoft.com 21
Leading Car Manufacturer Renault Solves
Unwanted Engine Noise and Vibration Using Maple
Renault Laguna line of cars. The model of the engine was a system of five
differential equations and focused primarily on the crankshaft,
When an engine stops, several engine components take part the dual mass flywheel (DMF), as well as the whole power train.
in the process. Components can produce unwanted noise and From these equations, Ligier could estimate the level of vibration
vibrations when the engine slows down, which can lead to their created during the deceleration of the engine. After plotting the
deterioration. Jean-Louis Ligier, a Research and Development results of the simulation, it became apparent that the vibrations
manager at Renault, and his team were tasked with determining were primarily occurring from shocks inside the DMF. To rectify
the sources of these noises and vibrations in a 2.2 liter 4-cylinder the problem, a rather simple solution was implemented, which
involved modifying the air intake while decelerating.
22
Maple Used for Analyses and Deployment at Renowned
Automotive Parts Manufacturing Company
A global supplier of vehicle technology has chosen Maple, the For example, their previous math tool had the following key
technical computing software from Maplesoft, to automate their limitations that Maple does not have:
engineering analyses functions, and as a deployment solution • It would not let them create a program with a variable
throughout their organization. Maple, the technical computing number of arguments - this meant they had to create
software from Maplesoft, provides a complete environment for multiple versions of the same program to handle
rapid solution development within any technical organization, different scenarios. Maple does not have this limitation,
from original concept to solutions deployed in the field. allowing the team to simplify their code.
• It did not have built-in tools for generating Bode plots.
A team of electrical engineering managers at this leading
Maple, on the other hand, offers a complete set of
automotive parts company chose Maple because of its
tools for analyzing and visualizing transfer functions.
engineering notebook interface, math functionality and the
ability to freely deploy interactive applications to a broader The second class of users, considered the end users, both
audience. One aspect of the technology that was of particular internal and external, utilizes the applications developed by
importance was Maple’s ability to translate SPICE netlists into the application authors. The applications are deployed with the
transfer functions. This automatically removes errors from what Maple Player, a free solution that lets users view and interact
is traditionally a manual task. with Maple documents to solve problems, visualize solutions,
and explore concepts, even if they don’t have Maple.
The team is responsible for developing applications for the rest
of the organization as well as external customers to use. The Engineers, the third class of users, explore the solution space
team identified three classes of Maple users at their company for electrical design problems with Maple. They use Maple to
- application authors, end users, and engineers. investigate problems using natural math notation, plots, and
numeric and symbolic math functionality. These analyses are
Application authors use Maple to develop sophisticated analyses documented with text and diagrams in Maple’s smart document
for electrical engineering. They use a wide range of Maple environment to ensure auditability. Before Maple, engineers at
features to develop their applications, including non-linear the company employed other tools that did not offer the same
fitting, symbolic transfer function manipulation, plotting, and level of analysis and documentation capabilities provided by
programming. This functionality offers greater power and Maple.
flexibility than the tools in their previous math package.
The team feels that using Maple makes them better able to
complete advanced engineering analyses, deploy solutions to
the end users and engineers, and preserve corporate knowledge.
www.maplesoft.com 23
Simulating Clearpath Robots in MapleSim
Clearpath Robotics
The MapleSim model features a 200 Ah lead-acid battery pack
Key challenges in robotic systems are that robots are expensive with a nominal voltage of 48 V, similar to the Type B battery pack
and they usually depend on batteries. What if you want to run used in the robot, to provide electrical power to move the vehicle
an experiment with 100 robots, running for 10 hours? Clearpath on an uneven terrain. The lead acid battery used in the model
Robotics, a global leader in unmanned vehicle robotics for is part of MapleSim Battery Library. The physical behaviors of
research and development knows these questions all too well. the battery are described by mathematical expressions, which
To address such concerns, Clearpath’s Robot Operating System are curve-fitted based on experiment measurements, to provide
has built-in support for robot simulation. While this works quite the accurate battery voltage and state of charge during the
well, it is currently unable to simulate physical properties like operations of the robot.
batteries, temperature, or surface roughness. “If your robotics
research depends on accurate models, you may want to The interaction forces and moments at the tire-terrain contact
consider looking at MapleSim - a high performance physical points are generated based on a 3D tire model in MapleSim.
modeling and simulation tool developed by Maplesoft,” noted A 3D mathematical expression is used to describe the terrain
Ilia Baranov, Senior Electrical Designer of Clearpath Robotics. surface to allow the tire-terrain contact points to be calculated
“Using MapleSim, we created a video of the Grizzly Robotic based on the position of the vehicle. This 3D function is also
Utility Vehicle taking an open loop control path around a surface. used to generate the STL graphics of the terrain for animation.
Elements like current and voltage provided by the batteries, The model also outputs electric motor torques, speeds, and
surface slipperiness, and weight distribution play a role in where battery state of charge as shown in the following images.
the Grizzly actually ends up. The graphical representation in
MapleSim is easy to understand and quick to modify.”
24
If your robotics research depends on accurate models, you may
want to consider looking at MapleSim - a high performance physical
modeling and simulation tool developed by Maplesoft.
- Ilia Baranov, Clearpath Robotics
MapleSim and Maple provide a testing and analyses environment, Chassis design and payload distribution: the virtual prototype
based on the virtual prototypes of the model, to perform several of the system will allow engineers to easily vary payload locations
analyses: and distributions as well as analyze their effects, e.g., roll-over,
stability, controllability, etc., on certain tasks.
Virtual testing and analysis: an engineer can easily test the
operations of the robot for any design in a virtual environment Path planning: using Maple, different terrain surface conditions
through simulations in MapleSim. Using Maple, different terrain and tire force models to fit different test scenarios can be
surface conditions and tire force models to fit different test generated for path planning.
scenarios can be generated. As an example, the plot to the left
shows different battery energy consumption (state of charge) Model-based controller design: the MapleSim model will allow
rates under different terrain conditions. the control strategies to be designed and tested for accuracy
before being deployed on a real vehicle.
Battery optimization: the developed MapleSim model can
be coupled with Maple’s powerful optimization toolboxes Localization and mapping: the high-fidelity dynamic model
to determine the optimal battery size, and to optimize the of the robot will allow state estimation algorithms, such as
Battery Management System (BMS) in order to minimize energy Kalman filter and other Bayesian-based filtering algorithms, to
consumption, reduce battery temperature, and increase battery be performed at a high accuracy.
service life.
Optimized code generation: optimized C code can be generated
Motor sizing: the robot is equipped with four electric motors from the MapleSim model for the purpose of implementations
which are independently controlled to provide wheel torques of control, localization, and path planning strategies.
and steering maneuvers. The seamless integration with Maple
For more information on simulating the Grizzly in MapleSim,
will allow the motor sizing optimization to be performed based
view the Grizzly RUV Model in the MapleSim Model Gallery:
on MapleSim simulations.
www.maplesoft.com/ModelGallery
www.maplesoft.com 25
MapleSim and Maple Used in Advanced Research
Projects at the ARM Lab at SUNY Buffalo
26
3-D Hall Sensor Algorithm Developed in Maple
Produces a More Efficient Washing Machine Design
Marquardt GmbH attached to the unit housing. The Hall sensor measures both
the direction and strength of the magnetic field, determining
Dr. Frank Allmendinger leads a research and development the relative movement of the magnet simultaneously in all three
project team at Marquardt GmbH, a German company that dimensions. This information is then communicated to the
develops and manufactures switches and switching systems. onboard microcontroller, which uses a proprietary algorithm to
His team designed an innovative three-dimensional load and determine how to control the movement of the drum.
imbalance sensor, which is used in a new washing machine
model from a well-known company in the “white goods” sector. To develop the algorithm, the Marquardt group used Maple.
Dr. Allmendinger found Maple to be an invaluable tool, allowing
him to work on complex problems such as modeling the
magnetic fields, estimating the allowed tolerances for the
I found Maple’s user magnet, and determining whether the tilt of the 3-D Hall sensor
interface very easy and smooth module was within a very small tolerance of approximately two
to work with. degrees. The resulting algorithm was translated to C code to
run on the controller.
- Dr. Frank Allmendinger, Marquardt GmbH
Dr. Allmendinger first worked with Maple while studying
at university. He was impressed by Maple’s ability to work
In industry, the trend is to move from washing machines with a with symbolic mathematics, its powerful graphing tools, its
drum capacity for 5 kg of laundry to larger ones with a capacity technical document interface, and its export capabilities to other
of 7 or 8 kg. However, these large drums are still being placed languages (such as C, MATLAB®, and Java). Dr. Allmendinger
in the standard washing machine housing with a width of 60 said, “It was very simple to work in Maple, even with the
cm, which means there is a much smaller space left complex mathematics involved.
between the drum and the housing. This means We found it quite easy to
collisions are more probable. It is therefore enter and modify equations,
necessary to measure the position of the determine whether they had
drum relative to the housing, use this signal a solution, then go back and
to identify impacts of the drum against the make necessary changes.
housing in advance, and react accordingly. I found Maple’s user interface
Marquardt’s sensor was developed to detect very easy and smooth to work
the relative position, in three dimensions, of with, especially the export
the washing machine drum to the housing. capabilities; interoperability
with other technical programs
Having the ability to measure the drum
have become much better,
position gives several other advantages; for
and it is now invaluable in
instance, it is possible to sense imbalances
rapid solution development.”
and detect resonant frequencies of the
mechanical system during the machine’s
The new 3-D positioning
spin cycle. These imbalances can be
algorithm in the Hall sensor
reduced by slowing the rotation speed
and distributing the weight more evenly. It yields several advantages.
even becomes possible to measure a load First, assembly is simple
of clothing as it is placed into the machine because there is no mechanical
and give a recommendation of how much connection between the magnet and the
detergent to use! sensor. As the measured values of the three
magnetic field components can be recorded simultaneously,
The Marquardt team, in close collaboration with the Fraunhofer the sensor system also offers the option of calculating speed.
Institute for Integrated Circuits, developed a new 3-D Hall sensor Overall, the design enables natural resources to be handled
application-specific integrated circuit (ASIC) that measures more responsibly. The use of mathematic field modeling makes
the three vector components of a dipole magnetic field. The it possible to discard traditional 3-D mapping techniques and
complete measurement system consists of a magnet affixed to use a smaller, more cost-effective microcontroller. Also, fewer
the drum in the washing machine and the 3-D Hall sensor ASIC resources are used by creating the considerably smaller magnet.
www.maplesoft.com 27
Maplesoft’s Battery Modeling Solution Helps Increase Safety
and Reduce Costs, Set-Up Time in HIL testing
The use of rechargeable batteries in consumer products, life or, in extreme cases, destruction or even explosion due to
business applications and industrial systems continues to thermal runaway, a common problem in many battery-powered
grow substantially. The global market for all batteries will reach systems.
almost $74 billion this year, and rechargeable batteries will
account for nearly 82% of that, or $60 billion, according to
market researcher Frost & Sullivan. Growth like this means
several things. First, large companies have moved or are moving
into the market, designing and offering products ranging from
hand-held devices to large power back-up systems. Second,
as the systems get larger, battery technologies have to match
the technical challenges of increasing cell capacity, thermal
stability, life extension and disposal.
28
deviation in performance due to manufacturing variations needed The final BMS test station provides the client’s engineers with
to be included in order to test the charge-balancing capability the ability to configure the battery model (number of cells,
of the BMS. Instead of testing every cell, engineers relied on series/parallel, etc.) and apply a range of tests to it. The
random variants generated from the statistical distribution engineer can go back to the MapleSim model at any time to
determined by the charge/discharge test results on 48 cells. make any necessary changes to the model configuration, and
This was applied to all 144 cells and then compared with the then generate the model for use on the real-time platform. In
real test results. The maximum variance of the voltage from the this system, the real-time software is National Instruments’
experimental data was 14mV, while from the simulation it was VeriStand™, driving a PXI real-time system. The MapleSim
13mV, acceptable for the purpose of this project. Connector for NI VeriStand™ automates the model integration
process, allowing the engineer to produce the real-time model
Maplesoft and ControlWorks Inc. engineers also determined quickly and reliably.
the average cell response using the parameter-estimation
tool supplied with the MapleSim Battery Library. This uses The ControlWorks Inc. system also integrates real-time
optimization techniques to determine the values of cell-response platform, signal processing, fault-insertion tools and standard
parameters that provide the closest “fit” to the experimental communications protocols (CANbus for automotive, Modbus
results. This response was then validated against response data for industrial applications), allowing the engineer to run the
from other cells to ensure close estimation of the resulting model. BMS through a range of tests on the battery model, including
Constant Current (CC) and Constant Voltage (CC/CV) charge/
SoH behavior was implemented as a look-up table based on discharge cycles, as well as Constant Power (CP) and Constant
experimental results. The model determines the capacity and Resistance (CR) discharge cycles.
internal resistance based on the number of charge/discharge
cycles and depth of discharge (DOD) from the lookup. “We were pleased to be able to partner with Maplesoft on this
project,” said Kenny Lee, PhD, Director of Research Center of
Finally, the model was converted to ANSI-C through the Automotive Electronics, ControlWorks Inc. “The use of battery
MapleSim Connector, producing an S-Function of the battery models in this case proved to be an effective alternative to the
model that can be tested for performance and accuracy with a use of real batteries,” he added.
fixed-step solver on a desktop computer in MATLAB/Simulink®
before moving it to a real-time platform. The simplest solver was Summary
used and the performance bench showed that the average
Test automation and simulation is critical in system-level testing,
execution time was approximately 20 times faster than real-time,
allowing time and cost of failure analysis, constant development
occupying 5.5% of the real-time system time budget. This shows
pressure, expense of repeated tests, and lengthy set-up times
that the battery model can be easily scaled up, if required.
all to be addressed.
The end result was a battery model capable of being configured “The use of high-fidelity, ready-made battery models allows the
to represent a stack of up to 144 cells that can be connected in engineer to avoid the risks of damage to batteries, along with
any combination of parallel and series networks. Fault modes subsequent costs, while testing and optimizing the BMS design
were also built-in, such as individual cells shorting or opening, in a close-to-reality loading environment,” said Paul Goossens,
as well as incorporating variations in charge capacity from cell Maplesoft VP of Engineering Solutions.
to cell, and degradation of capacity over the life of the cells.
The use of virtual battery technology in the design of test systems
can facilitate the development of better products, reduce project
risks, and get products to market faster.
The Cell Stack, ESS Battery models, and SoH simulation showing effect on battery voltage
www.maplesoft.com 29
Broadcasting Benefits of Math and Analysis Software
30
MapleSim Used in the Creation of Breakthrough
Vehicle Driving Simulator Technology
Ansible Motion
www.maplesoft.com 31
About Maplesoft
Maplesoft provides engineers with the tools and expertise they need to enable a model-driven innovation process that helps manage
design complexity. Offering experts in a variety of engineering fields, extensive experience in model-based design, and the superior
system-level modeling and analysis tools MapleSim and Maple, Maplesoft helps companies reduce development risk and bring
high-quality products to market faster. Through Maple, Maplesoft also provides a complete concept-to-deployment environment for
advanced analysis and rapid development of technical applications and engineering calculation tools. Maplesoft products and services
are used in machine design, robotics, aerospace, automotive, and many other fields where engineers face complex challenges.
Customers include Boeing, FLSmidth, Ford, Google, Intel, NASA, and Samsung.
Maplesoft is a subsidiary of Cybernet Systems Group. For further details, please visit www.maplesoft.com
A C y b e rn e t Gro u p C o m p a n y
www.maplesoft.com
www.maplesoft.com | info@maplesoft.com
Toll-free: (US & Canada) 1-800-267-6583 | Direct:1-519-747-2373
© Maplesoft, a division of Waterloo Maple Inc., 2016. Maplesoft, Maple, MapleSim, MapleNet, and Maple T.A., are trademarks of Waterloo Maple Inc.
MATLAB and Simulink are registered trademarks of The MathWorks, Inc. LabVIEW and National Instruments are trademarks of National Instruments.
All other trademarks are the property of their respective owners.
32