Mathworks

You are currently browsing articles tagged Mathworks.

Designing a vehicle can be a very difficult task. Just ask General Motors (GM) a company that employs thousands of highly-skilled engineers who design each and every aspect of the vehicle that you drive. Now, imagine designing a vehicle with less than a hundred university students. This is the challenge that the University of Waterloo Alternative Fuels Team (UWAFT) faced when researching and designing its EcoCAR 2 vehicle. Luckily for UWAFT, much of the preliminary design work was already done by GM – leaving UWAFT responsible for redesigning the powertrain.

Team Captain Gurhari Singh working on laptop in garage

Redesigning the powertrain is still a challenging task considering that many students have never worked on a vehicle before; tools were needed to help make the task easier. That is where the MathWorks’ MATLAB software came in. MathWorks donated its powerful MATLAB, Simulink and Stateflow software to UWAFT. This software, along with Argonne National Laboratory’s Autonomie allowed UWAFT team members to virtually build and test various powertrains. The tests conducted on these software models included acceleration of the vehicle, fuel consumption estimations, thermal analysis and much more. These models could also be pushed to their maximum limit and be ‘broken’ in the software world. This is much more cost-effective and safer than breaking physical prototypes. The resulting powertrain that UWAFT selected was a Series Plug-In Hybrid with two electric traction motors.

The real beauty of MATLAB and Simulink actually comes after the architecture selection stage. Simulink, which is a graphical block diagramming tool, can also be used to program the vehicle controllers. This means that students do not need to learn another programming language and can easily transfer models developed in the powertrain selection stage to the controller development stage, thus saving time and money. MATLAB can also be used to analyze large amounts of data by using automated scripts. These scripts can quickly analyze hundreds of hours’ worth of drive cycles and allow students to quickly quantify vehicle performance. From saving time and money during the modeling selection phase, to quickly analysing experimental data, MathWorks’ tools made UWAFT’s job much easier!

Tags: , , , , , ,

The EcoCAR 2 awards announcements keep coming! MathWorks will once again be sponsoring its 2012 Modeling Award, which recognizes the EcoCAR 2 team that best applies MathWorks tools in support of the Year One competition deliverables.

Winners of the MathWorks Modeling Award will be selected on the basis of their team’s innovative use of modeling and simulation.  Nominees will demonstrate these criteria through a 25- 30 minute presentation and Q&A session that coincides with the end of Year One.  The details and criteria for this award are posted on the team SharePoint site, but for more information email Brian Benoy at bbenoy@anl.gov.

Good luck to all the teams!

Tags: , , ,

Failures can yield as much valuable insight as successes, and oftentimes much more.  Moreover, EcoCAR 2 failures can yield help from colleagues and competitors alike.  Such was the case with the University of Washington EcoCAR 2 team’s Hardware-in-the-Loop (HIL) demonstration at the Winter Workshop in Austin.  Controls lead Trevor Crain explains the challenges UW had setting up its dSPACE HIL Simulator to meet the demonstration requirements:

One of the primary Winter Workshop presentations was a demonstration of our team’s progress on control system and HIL development.  The presentation had several components, including a dynamic presentation of our dSPACE HIL running our stock Chevrolet Malibu vehicle model in real time.  The model is set up to simulate all the primary powertrain components on the stock Malibu.  The vehicle model on the HIL was supposed to take hardware inputs from an accelerator pedal and brake switch, then receive commands from our supervisory controller, the dSPACE MicroAutoBox (MABX), over a physical wiring harness.

In addition, the MABX control code needed to respond safely to potential failures in the vehicle to ensure occupant safety and prevent damage to the vehicle components.  These failures may take the form of short circuits in the wiring harness, mechanical failures and a host of other problems.  The goal of designing a fault-tolerant control system is to anticipate these faults and have a supervisory controller that reacts in the safest way possible.  At the workshop, we were supposed to simulate a few of these faults, such as an unreasonable accelerator pedal signal. The control code loaded onto the MABX was designed to recognize this fault, set a fault flag and use that flag to take corrective action.

Unfortunately, just before the workshop our team ran into some of these faults a bit earlier than intended.  We ended up losing our CAN communication channels into the MABX a few days before we shipped the HIL and were not able to diagnose whether the error was due to software or hardware issues before shipping the HIL out.  In the days after shipping, we modified both our code and wiring harness to try and increase our odds of regaining communication once we tested everything at the workshop.

The Winter Workshop was a whirlwind of activity as we tried to get the HIL up and running, prepared for our presentation and attended the training sessions offered by the project organizers and sponsors.  Thankfully, we received a huge amount of help from dSPACE and our mentor, Vince Sabatini.  They were incredibly helpful in trying to get us operational, but unfortunately we ran out of time before we could reestablish communication between the HIL and MABX.  We finally ended up reverting to our last resort plan of presenting our supervisory control code and fault mitigation strategies using MathWorks Simulink. It was a disappointing outcome, but actually served as a good reminder that we always need to be ready for the worst possible scenario and have a plan of action, be it in our control code or in real life. More than that, we learned that we must be more prepared come workshop or competition so that we won’t have to use our worst-case scenario plans.

In fact, the dSPACE members were awesome in helping us figure out where to go post-workshop.  They helped us determine that our harness could use some work and caused a lot of the problems due to shorts in the connectors.  Vince helped us get more used to diagnosing shorts in the harness and working with the hardware, and the workshop presentations were really helpful in learning how to use the software more effectively.

As of right now we’re working on a new, more reliable harness with automotive-grade connectors in addition to setting up a more standardized signal processing blockset in Simulink.  In addition, we spoke a lot with University of Victoria’s controls team at the workshop and have already started swapping ideas and progress updates back and forth.  EcoCAR 2 has a great atmosphere of friendly competition, so we’re starting to really communicate with other teams in an effort to get everyone’s vehicles running in top form by next year.  It’s going to be a tough competition, but with the support from the sponsors, organizers and other schools we’re really looking forward to preparing for the Year 1 finals.

 

Tags: , , , , ,

Brad Hieb, an applications engineer and representative from EcoCAR 2 sponsor MathWorks came to visit the Penn State University Advanced Vehicle Team’s (PSU AVT) facilities during a PSU AVT weekly team meeting in February. He spent several hours working with co-team leader Luke Shepley and several other controls team members, including Saul Gonzalez, Mike Jin and Casey Litchfield.

“He has a lot of experience in the automotive industry and automotive applications of certain programming,” Shepley said. “He also used to work with the Formula One competition, so I feel like he really understands what we’re working toward here in EcoCAR 2.”

Hieb met with the engineers in the PSU AVT facilities and sat down to explain MathWorks’ product Simulink. He taught the controls members how it can be used to simulate general combustion engines. The visit helped the engineers to better understand Simulink programming for use in competition and design, and also sparked a new relationship between PSU AVT and this important sponsor.

Team members are excited that they can now put a face to the MathWorks name and use Hieb as a mentor and resource throughout the competition.

“Brad was very open to answering any questions we had,” Gonzalez said. “It was great to have him at our facilities to pick his brain. He definitely seems like a great resource to use in the future.”

PSU AVT looks forward to continuing this relationship with MathWorks and other valued sponsors as the team keeps working toward the end of Year One!

Tags: , , , ,

At this year’s Fall Workshop at General Motors Powertrain Facilities in Pontiac, Michigan, students and faculty advisors will get the chance to attend several days’ worth of software and hardware training sessions, including sessions by ETAS GmbH.

Led by Jayesh Patel and Vivek Jaikamal of ETAS, the workshop will provide the opportunity to learn how to use the company’s software INCA to help teams develop and calibrate control strategies on ETAS controllers. Students will also learn how to run and interact with MathWorks Simulink-based models on the ES910 and FlexECU controllers.

Finally, teams will have the chance to work with ETAS’ data recording device, the ES720 Drive Recorder. The training will cover experimentation, instrumentation, data logging and monitoring the Drive Recorder remotely on a smart phone! Teams will also have the chance to learn how to use the INCA calibration software throughout the entire controls development process and how to use INCA + CDM (Calibration Data Management) to manage different controller calibrations throughout Years Two and Three of EcoCAR 2.

Tags: , , ,

Woodward is excited to host several training sessions during this year’s Fall Workshop at General Motors Powertrain facilities in Pontiac, Michigan from October 5-9.

Woodward’s MotoHawk is a controls system application development tool that allows the user to create Simulink applications that run on Woodward’s rugged automotive-quality embedded control modules. Motohawk enables the entire application to be built in a single step.

The training sessions will provide teams with an introduction to the MotoHawk Rapid Prototyping System, including the MotoHawk Blockset, Module Hardware, and the MotoTune Calibration Tool.  Students and advisors will learn how to create an application model in MotoHawk/Simulink, build it, flash it into a module, and calibrate the control application.

There are pre-requisites to this training session, which include working knowledge of MathWorks, MATLAB, and Simulink. With less than 10 days until Fall Workshop, sponsors and organizers are getting very excited to see all of the EcoCAR 2 students again!

Tags: , , ,

The Kickoff Workshop for EcoCAR 2 was a resounding success this weekend as all fifteen teams met up in Detroit for four days of learning and preparations. Thank you to Wayne State University and Mathworks for co-sponsoring the event. Teams came away with a much better understanding of the competition structure and rules, and they’re raring to redesign the Chevy Malibu. The teams especially enjoyed the Detroit Tigers baseball tickets and Tigers Fun Money donated by the MathWorks! The competition has truly begun – we can’t wait to see how it unfolds!

 

Tags: , ,

Comerica Park, Photo: Michael Kumm, Flickr

On September 9th, EcoCAR 2 teams will get a break from the whirlwind of learning that is the Kickoff Workshop as Mathworks sponsors a “fun night” at Comerica Park, home of the Detroit Tigers. All team members are invited to kick back for the evening with some peanuts and cracker jacks and see the Tigers take on the Minnesota Twins. Just a reminder to teams, the deadline to register for the kickoff workshop is this Wednesday, 8/31, so don’t wait!

 

Tags: , , ,

MathWorks will begin the Kickoff Workshop with training sessions for students and advisors for EcoCAR 2: Plugging In to the Future. Training will include a series of courses with different areas of focus to help students meet the challenges of the competition; trading off and optimizing vehicle performance, fuel economy, and emissions, choosing hardware design, and meeting control design parameters. Below are some of the training sessions students will attend.

  • Simulink for System and Algorithm Modeling – This course is for engineers who are new to system and algorithm modeling and design validation in Simulink.  It demonstrates how to apply basic modeling techniques and tools to develop Simulink block diagrams.
  • Stateflow for Logic Driven System Modeling – This course covers the use of Stateflow in implementing complex decision flows and finite-state machines. It is designed for Simulink users who wish to model and simulate event-driven and logic systems. It focuses on how to employ flow graphs, state machines, and truth tables in Simulink designs.
  • Stateflow for Automotive Applications – Using Events in State Charts – This training session focuses on how to use events within a Stateflow chart to affect chart execution. This includes using events in state charts, how to broadcast events, the behavior of state charts that contain events, and temporal logic operators.
  • Design Optimization for Performance, Fuel Economy, and Emissions – In this course, students will learn about tangible examples of subsystem and system-level numerical optimization problems and solutions that will be presented in the areas of hardware parameter design, control parameter design, and plant model parameter fitting for the purpose of illustrating the use of existing MathWorks optimization tools to meet the goals of the competition.

Invited students and faculty advisors are allowed to participate in these sessions at the Kickoff Workshop, hosted at Wayne State University and sponsored by MathWorks.

Tags: , ,

EcoCAR 2 will start off with a bang in less than a month at the competition’s first team event! The Kickoff Workshop, hosted at Wayne State University in Detroit, will be put on by returning EcoCAR sponsor Mathworks. All teams are encouraged to attend, as they will have the opportunity to learn about competition rules and format, as well as receive software training in programs from Mathworks, Siemens, and Argonne National Lab.

The event runs from Thursday (9/8) to Sunday (9/11) and registration must be completed by August 31st, so sign up today! You can check in with your faculty advisor for the registration details.

Tags: , ,

« Older entries