Showing posts with label Systems. Show all posts
Showing posts with label Systems. Show all posts

Saturday, April 20, 2013

The Battery Management System Design


I will try to glance upon the different important controllers of the electric powertrain system. Let's start with the battery controller a.k.a battery management system.

The brain of a pure electric vehicle is its battery management system. I will briefly go over the responsibilities of this controller in this article so as to give you an idea of what all this battery management system (or BMS) constitutes of. This could prove as a background in case you dive into this field in future.

As described in my previous article the battery constitutes of cells in parallel and series. There could be thousands of cells in a car battery which together produce hundreds of volts and a significant amount of current. Critical parameters of each cell are its voltage, current and temperature. Any one of these if goes out of control, can lead to a thermal runaway which can lead to an explosion. The entire battery is kept in control by its battery management system. The BMS is responsible for variety of function some of which are mentioned below.

State of Charge Estimation:
The BMS is responsible for estimating the charge remaining in the battery and hence the range. Hence the more effective the BMS estimates the range (taking into account factors like terrain, temperature, weather etc) lesser will be the range anxiety of the customer! There are various techniques used to calculate the state of charge in a battery (like coulomb counting etc)

Temperature/ Voltage/ Current Sensors:
It is very critical to measure voltages, currents and temperatures of all these cells. How these three quantities are measured depends on each manufacturer of the battery pack. Usually there is one current sensor measuring the current that the battery consumes or delivers. There are multiple voltage and temperature sensors at various locations to measure these cell variables at throughout the battery. All these are inputs to the battery management system (BMS) and the control logic in the BMS makes sure that these stay in bounds.

Battery Cooling Circuit:
It is also critical to sufficiently cool the battery. In an electric vehicle, batteries are generally cooled by separate pumps or via the radiator. The inlet and outlet temperatures are measured by two thermistors and are fed to the BMS which in turn controls the cooling fluid.

Contactors:
Contactors are nothing but switches that connect the battery to the motor/inverter or charger. Battery contains high voltage all the time. But when a car is not being driven, it’s not necessary to supply this voltage and hence current to the inverter. When a person puts the car into a state where he wants to drive it or charge it (where either the battery outputs or consumes current), these switches close and the loop (battery-charger or battery-motor) is complete. BMS decides when to close the contactors and let the battery drive or charge the car

Safety Monitoring:
BMS is also responsible for keeping the battery in safe condition. In any unsafe condition the BMS will not close the contactors and hence the high voltage will remain contained in the battery itself. Unsafe conditions can include any of the following
  1. Over heating of the battery, over/under voltage and over current conditions: BMS open the contactors and isolates the battery from the car if any of the voltage/current/temperature sensors report the above mentioned conditions. 
  2. Over charging: BMS stops charging if it detects an over charged cell. Overcharging can significantly reduce the battery health and lifespan. 
  3. Unequal charging of the cells: BMS throws appropriate alerts if different cells are charging at different rates. It is also responsible for discharging/ bleeding the over charged cells (if any) and maintain the charge of all the cells to same level. 
  4. Over discharging of cells: Over discharging cells also create problems for battery health. BMS prevents that. 
  5. Grounding/ Isolation problems: BMS always keeps checking if the battery is properly isolated from the vehicle of not. In case of a short/ thermal runaway BMS makes sure that the damage is contained in the battery and does not propagate into the car. In case of a crash (head on collision) the BMS has provisions to cut the current supply from the inverter and isolate the battery.
For each bullet mentioned above, BMS has its own state machine and probably one person dedicated for its design in the industry! 


So what’s there for you guys here: Mechanical engineers play a crucial role in conceptualizing and modeling the BMS. EE, E/I engineers are generally responsible for designing a PCB that functions as a BMS controller while software engineers write the firmware that does the control. Hence it’s a super interdisciplinary board in an electric car.

I will finish with an interesting video clip explaining the BMS in short. Hope you like it :)

  

Friday, April 5, 2013

A Service-Learning Model

A learning model that is increasingly becoming popular among educators, is service-learning based engineering education model. This model has a tremendous potential when applied to engineering curriculum in developing nations such as our country. Our nation has its own social and economic issues. A small percentage of people are both socially aware and financially capable so that they help communities in their humble ways.

How can we, engineering students, help solve such problems? How can we help underprivileged communities?

The answer comes from the fact that the communities are facing problems, some of which can be solved by applying smart engineering solutions designed by students as they learn with the guidance from people from academia and industry. 

To elaborate on this, let's discuss three critical elements of this model:

1. Community problems: These are public/private institutions that help communities with their services. Some examples are: public libraries, night schools, science museums, construction workers' associations etc. They face a number of problems and they have many agenda items to improve the quality of life of their members. We, as students, can identify problems that can be converted to small engineering problems and with the help of faculty, industry people, can  work on solving them. Some examples of such problems could be: designing a software database for library books to be accessed via the Internet (CS, IS), designing a solar power and storage system to be applied for night schools (EEE, EnI), building science/biology demonstration models for school children (ME/BIO),  building battery-operated chairs for handicapped (ME,ECE,EnI).

2. Engineering solutions: While solving such problems, we learn actual implementation of the theoretical ideas learned from the courses. Not only the technical knowledge, but we learn a great deal about team building, finances, public relations, and most importantly professional approach to solving problems. Applying such practical solutions to real problems makes this model an extremely powerful tool. We can take those projects as LOP,COP to get suitable credits for our work. When we deliver the product to communities, we actually contribute serving the communities!

3. Industry reviewers: Our industry is more than willing to donate money for social welfare. They need a proper established channel. Funding such projects can be an excellent way not only to empower the communities by the delivery of products, but to help engineering students learn practical tools along the way. Industry can send the reviewers to critique the design and monitor the progress. This relationship is extremely helpful in terms of getting funded projects, practice school stations and finally placements!

This model is developed by educators in Purdue University, West Lafayette, IN, USA and is currently running successfully since last 10+ years (https://engineering.purdue.edu/EPICS). It has numerous imitations all over the world. If the BITS administration decided to apply this model, they will not only increase the level of engineering education, but help serving communities across the nation.

As students at BITS, we can go and talk to communities and take up small projects, work on it and make a difference as well. This will be our share of service to our nation while adding value to our own engineering education and opening doors of countless opportunities through industry contacts.  

Saturday, March 9, 2013

The Basics of Controls and State Space Behavior



Hey Guys.. I will try to share some tools that I learnt during the course of my Masters and in the industry. In my last post I mentioned a few things related to controls that you will learn during your 3rd or 4th year. Today I will discuss a few things that are important and always needed in industry. These may or may not be covered in the class and hence I felt I could share these.

In this field you will be given a task of modeling a particular system and then designing a controller for it which will help you attain desired behavior. If you consider a black box model your entire work could be represented by the block diagram shown below. Let’s discuss the parts of this which will result as a perfect segway into state space (the most important tool to design systems).

Block Diagram

  1. The block “A” is called the plant. This is defined by the laws of physics and is the guy that we  have to control. E.g. This could be a car going uphill at constant speed, a tap filling water in a tank, a line follower robot, a hydro electric power plant etc. All you need to remember is.. the behavior of this plant is defined by physical laws and is constant. You don’t have any control over its definition.
  2. The block “B” is your controller. You design this so that you can control “A” as you want. E.g You will have a flexibility to design a controller “B” that will maintain the speed of your car going uphill at 50Km/Hr or maintain the robot on the black line all the time. 
  3. The block “C” is your output that you can measure or observe and then use it in your controller. E.g It can be the speed of the car or velocity of the line follower. 
  4. The signal “u” is the control. This is the signal that is generated from your controller which is fed to the plant to control it as you want. 
  5. And finally, this controller will be responsible to control a particular “state” of your system. Your system can have many states. One of these many states is your “output” that you observe/ measure with the help of block “C”.

So, the ingredients of the any damn system are: the Plant (A), the Controller (B),the control input (u), the state (x) and the output that you measure (y). And mathematically, any damn system can be represented as


Believe me, with this representation, it becomes super easy to analyze the system compared to writing huge differential equations by drawing free  body diagrams as we all learn in Math 3 and Physics! This representation is called state space and next time we will  see how we generate this state space from any given damn system.

State Space should be your friend and  you should be comfortable in playing with it!