Embedded System Applications in Automobiles Report
Embedded System Applications in Automobiles Report
TECHINICAL REPORT
ABSTRACT
There are several tasks in which real time OSs beat their desktop counterparts hands-down. A common application of embedded systems in the real world is in automobiles because these systems are cheap, efficient and problem free. Almost every car that rolls off the production line these days makes use of embedded technology in one form or the other. RTOSs are performed in this area due to their fast response times and minimal system requirements. Most of the embedded systems in automobiles are rugged in nature, as most of these systems are made up of a single chip. Other factors aiding their use are the low costs involved, ease of development, and the fact that embedded devices can be networked to act as sub modules in a large system. No driver clashes or system busy condition happen in these systems. Their compact profiles enable them to fit easily under the cramped hood of a car. Embedded systems can be used to implement features ranging from adjustment of the suspension to suit road conditions and the octane content in the fuel to anti lock braking systems (ABS) and security systems. Speaking of the things nearer home the computer chip that control fuel injections in a Hyundai Santro or the one that controls the activation of air bag in a Fiat in a weekend in nothing but an embedded system. Right from brakes to automatic traction control to air bags and fuel/air mixture controls, there may be up to 30-50 embedded systems within a present-day car.
Page 1
TECHINICAL REPORT
CHAPTER 1 INTRODUCTION
Page 2
TECHINICAL REPORT
Page 3
TECHINICAL REPORT
Medical systems for radiation therapy, patient monitoring and defibrillation Military uses such as firing weapons, tracking and command and control. Manufacturing systems with robots. Telephone, radio and satellite communications. Computer games. Multimedia systems that provide text, graphic, audio and video interfaces. Households systems for monitoring and controlling appliances. Building managers that controls such entities as heat, light, Doors and elevators.
Must finish operations by deadlines. Low manufacturing cost. Low power. Designed to tight deadlines by small teams.
Page 4
TECHINICAL REPORT
Page 5
TECHINICAL REPORT
Page 6
TECHINICAL REPORT
Page 7
TECHINICAL REPORT
Page 8
TECHINICAL REPORT
FIG 3.1: ADAPTIVE CRUISE CONTROL ACC allows cars to keep safe distances from other vehicles on busy highways. The driver can set the speed of his car and the distance between his car and others. When traffic slows down, ACC alters vehicle speed using moderate braking. This ensures that a constant distance is maintained between cars. As soon as traffic becomes less, ACC moves up to the desired cruise speed that has been set by the driver. The driver can over ride the system any time he wants to be breaking. Each car with ACC has a micro wave radar unit or laser transceiver fixed in front of it to determine the distance and relative speed of any vehicle in the path. The ACC computer (What else but an embedded system or a grouped system of embedded system) constantly controls the throttle and brakes of the car. This helps to make sure that the set cruise speed or adapted speed of traffic at that time is not exceeded.
TIRUMALA ENGINEERING COLLEGE Page 9
TECHINICAL REPORT
FIG 3.2: HIGHER PITCH SOUND In this case the vehicle is speeding towards the stationary listener. The distance between the listener and the car is decreasing. Then the listener will hear a higher pitch sound from the car, which means the frequency of sound, is increased. Lower Pitch Sound
TECHINICAL REPORT
In this case the vehicle is moving away from the listener. The distance between and the car is increasing. Then the listener will hear a lower pitch sound from the car, which means the frequency of sound, is decreased. So that is the Doppler Effect in case of sound waves. Similarly the radar unit in ACC will be continuously transmitting radio waves. They will be reflected and echo singles (reflected waves) will be having the same frequency or different frequency depending on speed/position of the object due to which the echo singles originate. If the echoes singles have the same frequency it is clear that there is no relative motion between the transmitting and receiving ends. If the frequency is increased it is clear that the distance between the two is decreasing and if the frequency is decreased it means that the distance is increasing. The figure below shows a car having ACC transmitting and receiving radio waves.
FIG 3.4: ACC TRANSMITTING AND RECEIVING RADIO WAVES In the above case, the gun transmits the waves at a given frequency toward an oncoming car. Reflecting waves return to the gun at a different frequency, depending on how fast the car being tracked is moving. A device in the gun compares the transmission frequency to the received frequency to determine the speed of the car. Here, the high frequency or the reflected waves indicate the motorist in the left car is speeding.
Page 11
TECHINICAL REPORT
The embedded system is connected to the radar unit and its output will be sent to breaking and accelerating unit as early mentioned the embedded system is a device controlled by instructions stored in a chip. So we can design the chip or ACC having an algorithm such that it will give output only when the input signals are less than the corresponding safe distance value. So only when the between the car and the object in front of it is less then the same distance value the embedded system will give output to the breaking and the accelerating units. Thus the safe distance will be kept always. Thats how the ACC works.
Page 12
TECHINICAL REPORT
FIG 3.5: TECHNOLOGY BEHIND ACC Radar-based systems employ a variety of sensing and processing methods to determine the position and speed of the vehicle ahead. A fairly simple scheme (like the one used by Mercedes) switches rapidly among three beams by changing feed points along the antenna, creating a scanning effect inexpensively and with no moving parts. The beams are wide enough to ensure that each overlaps those adjacent, providing a combined 12-degree field of view. An advantage is that the wider beams permit the use of a smaller antenna.
Page 13
TECHINICAL REPORT
More advanced and costlier sensing schemes rely on an antenna that is mechanically scanned and that emits a narrow beam. These systems scan between 64 and 128 points in the radar's field of view, also typically 12 degrees, so that resolution is much higher than for a three-beam system. The beams are much narrower than in the three-beam models, however, so the antenna has to be larger. And the multiplicity of beams requires much more processing power to handle the streams of data that pour out as the radar scans across the multiple points of focus to determine the leading car's position and speed. Regardless of the scanning mechanism, the radars typically operate in the millimeter-wave region at 76-77 GHz. The automakers refused to alter the shape or construction of their vehicles to accommodate ACC, so designers had to build systems small enough to be mounted inside a car's front grille. That stringent size requirement in turn demanded a compact antenna, which in turn forced the use of the high frequencies, antenna size being inversely related to frequency. At 76-77 GHz, frequencies are high enough to work with small antennas, yet not so high that the components are exotic and stupendously expensive. Typical automotive radar, produced by Delphi Delco Electronics Systems, of Kokomo, Ind., is roughly the size of two stacked paperback books--just 14 by 7 by 10 cm. The radar and the cameras work together to track the car ahead and distinguish it from extraneous nonmoving objects more rapidly than would be possible with either alone, according to Keiji Fujimura, a senior manager at Fujitsu Ten. While the radar homes in on the lead car's rear bumper, the stereo camera is constantly measuring the widths of all the items in its wide field of view [see illustration, above ]. To calculate them, it uses an algorithm based on the detection of vertical edges and the distance. Bridges, trees, and other stationary objects that are much wider or narrower than a car are quickly rejected as reasons for the system to apply the brakes.
Page 14
TECHINICAL REPORT
Page 15
TECHINICAL REPORT
Page 16
TECHINICAL REPORT
FIG 4.2: ABS OPERATION The anti-lock brake controller is also known as the CAB (Controller Antilock Brake. Typically ABS includes a central electronic control unit (ECU), four wheel speed sensors, and at least two hydraulic valves within the brake hydraulics. The ECU constantly monitors the rotational speed of each wheel; if it detects a wheel rotating significantly slower than the others, a condition indicative of impending wheel lock, it actuates the valves to reduce hydraulic pressure to the brake at the affected wheel, thus reducing the braking force on that wheel; the wheel then turns faster. Conversely, if the ECU detects a wheel turning significantly faster than the others, brake hydraulic pressure to the wheel is increased so the braking force is reapplied, slowing down the wheel. This process is repeated continuously and can be detected by the driver via brake pedal pulsation. Some anti-lock systems can apply or release braking pressure 15 times per second.[17] Because of this, the wheels of cars equipped with ABS are practically impossible to lock even during panic braking in extreme conditions.
Page 17
TECHINICAL REPORT
The ECU is programmed to disregard differences in wheel rotational speed below a critical threshold, because when the car is turning, the two wheels towards the center of the curve turn slower than the outer two. For this same reason, a differential is used in virtually all road going vehicles. If a fault develops in any part of the ABS, a warning light will usually be illuminated on the vehicle instrument panel, and the ABS will be disabled until the fault is rectified. Modern ABS applies individual brake pressure to all four wheels through a control system of hub-mounted sensors and a dedicated micro-controller. ABS is offered or comes standard on most road vehicles produced today and is the foundation for electronic stability control systems, which are rapidly increasing in popularity due to the vast reduction in price of vehicle electronics over the years. Modern electronic stability control systems are an evolution of the ABS concept. Here, a minimum of two additional sensors are added to help the system work: these are a steering wheel angle sensor, and a gyroscopic sensor. The theory of operation is simple: when the gyroscopic sensor detects that the direction taken by the car does not coincide with what the steering wheel sensor reports, the ESC software will brake the necessary individual wheel(s) (up to three with the most sophisticated systems), so that the vehicle goes the way the driver intends. The steering wheel sensor also helps in the operation of Cornering Brake Control (CBC), since this will tell the ABS that wheels on the inside of the curve should brake more than wheels on the outside, and by how much. ABS equipment may also be used to implement a traction control system (TCS) on acceleration of the vehicle. If, when accelerating, the tire loses traction, the ABS controller can detect the situation and take suitable action so that traction is regained. More sophisticated versions of this can also control throttle levels and brakes simultaneously. Upon the introduction of the Subaru Legacy in 1989, Subaru networked the four channel anti-lock brake function with the all wheel drive system so that if the car
TIRUMALA ENGINEERING COLLEGE Page 18
TECHINICAL REPORT
detected any wheel beginning to lock up, the variable assists the all wheel drive system installed on vehicles with the automatic transmission would engage to ensure all wheels were actively gripping while the anti-lock system was attempting to stop the car.
Page 19
TECHINICAL REPORT
Page 20
TECHINICAL REPORT
Page 21
TECHINICAL REPORT
Page 22
TECHINICAL REPORT
Page 23
TECHINICAL REPORT
Page 24
TECHINICAL REPORT
FIG 6.1: Drive by Throttle Steer-By-Wire Most vehicles use a rack and pinion unit or worm and sector steering gear that is physically connected to the steering wheel. When the steering wheel is rotated, the rack and pinion unit or steering box also turns. A rack and pinion unit can then apply torque to the ball joints via tie rods, and a steering box will typically move the steering linkage via pitman arm. In vehicles that are equipped with steer-by-wire technology, there is no physical connection between the steering wheel and the tires. In fact, steer-by-wire systems dont technically need to use steering wheels at all. When a steering wheel is used, some type of steering feel emulator is typically used to provide the driver with feedback.
Page 25
TECHINICAL REPORT
Fig 6.2: Steer by Wire 6.2 What Vehicles Already Have Drive-By-Wire Technology? There are no fully drive-by-wire production vehicles, but a number of manufacturers have built concept vehicles that fit the description. General Motors demonstrated a drive-by-wire system in 2003 with its Hy-Wire concept, and Mazdas Ryuga concept also used the technology in 2007. Drive-by-wire can be found in equipment like tractors and forklifts, but even cars and trucks that feature electronic power steering still have physical steering linkage. Electronic throttle control is far more prevalent, and a variety of makes and models make use of the technology. Brake-by-wire can also be found in production models, and two examples of the technology are Toyotas Electronic Controlled Brake and Mercedes Benzs Sensotronic.
Page 26
TECHINICAL REPORT
Fig 6.3: Future Drive By Wire Safety concerns have slowed the adoption of drive-by-wire technologies. Mechanical systems can and do fail, but regulatory authorities still see them as being more reliable than electronic systems. Drive-by-wire systems are also more expensive than mechanical controls due to the fact that they are significantly more complex. However, the future of drive-by-wire technology could lead to a number of interesting developments. The removal of mechanical controls could allow automakers to design vehicles that are radically different from the cars and trucks that are on the road today. Concept cars like the Hy-Wire have even allowed the seating configuration to be moved around, since there are no mechanical controls that dictate the position of the driver. Drive-by-wire technology could also be integrated with driverless car technology, which would allow vehicles to be operated remotely or by a computer. Current driverless car projects use electromechanical actuators to control steering, braking, and acceleration, which could be simplified by connecting directly to drive-by-wire technology.
Page 27
TECHINICAL REPORT
CHAPTER 7 CONCLUSION
Page 28
TECHINICAL REPORT
CONCLUSION
There is lot of scope for the development of newer technologies in the automotive electronics domain. Electronic Control Units (ECU) can be designed to provide optimum driving conditions which increase the efficiency. Areas such as firmware, dedicated intelligence chips and ECUs are in demand in the Automotive Electronics Industry. The recent trends in the automobile industry highlight the scope for electronics in the industry. On an average any automobile has 50 ECUs. 13% of manufacturing cost is for the software developed. 35% of the cost of the car comes from the electronics involved in it. Also 80% of the automotive innovation in the recent years has been from Automobile electronics.
Page 29
TECHINICAL REPORT
REFERENCES
1. www.spectrum.ieee.org 2. www.extremetech.com 3. www.auto.howstuffworks.com 4. www.wiki.fot-net.eu 5. www.wikipedia.com 6. Report of 5th Meeting of the U.S. Software System Safety Working Group April 12th-14th 2005 @ Anaheim, California USA
Page 30