Thursday, April 4, 2019
Development of Car Environment Light System (CELS)
Development of auto diligent milieu Light System (CELS)Chapter 2STATE OF ARTChapter 2 introduces all the important fundamentals this thesis is based on, in drift to provide a better understanding of the concepts related to AmbiLight system, image bear on using JAVA and OpenCV libraries. Initially, the general architecture of the AmbiLight system is explained elaborating each modules and components of the system. Going further, the basics of image processing, its withdraw and various techniques of image processing are discussed. Finally, the chapter focuses on JAVA and OpenCV libraries which forget be used to fulfill the image processing techniques.2.1 AMBILIGHT SYSTEMThe AmbiLight system is a railway car environs Light System (CELS) designed to dynamically adapts to the driving situation and enhances the orientation and perception of the passenger compartment in vehicles. Light sources are integrated in the roof line drive in-order to create the ambience. These light sourc es are fed with colour information by the s butt endning crafts attached to the vehicle to capture the colours of the come forwardside environment. Hence, the colour of the light emitted by the lightings in the roof liner can dynamically adapt to the outside environment in real-time. Thus, the CELS provides an enlargement of the optic perception. In particular, the effect is created as the colours displayed by the lightings correspond to the view from the window. Therefore, by looking out of the window, one perceives the coloured light as an extension of the window.This thesis is part of the TUM attain voice research programme. The programme is funded by the National Research Foundation of Singapore and executed by the twain universities, namely, Technische Universitt Mnchen from Germany and Nanyang Technological University, Singapore. Apart from other research topics, one of the major goals of TUM CREATE is to design and build the worlds first purpose-built electric taxi.The AmbiLight system will in any case provide the driver and the passengers a pleasant spatial atmosphere thereby creating a feel-good experience psychologically. It overly improves the orientation within the vehicle, facilitating the search for things.The be unhopeful section will cover the design of the Car Environment Light System (CELS). The general system structure of the CELS is also specified.Fig.1 Architecture of the AmbiLight systemThe design of the Car Environment Light System comprises of camera(s), a computer, a micro-controller unit (MCU) and LED strip which act as the colour display. The camera(s) take images of the cars surrounding environment. By running a program the computer will acquire and process the images that are captured by the camera(s). The program also determines the representative colours that will be emitted by the LEDs by means of some(prenominal) implemented calculations. The LED-strip is mounted in the roof liner of the car. This arrangement in conju nction with the correspondence of the light colour results in the perception of a big view.In the below section we will discuss in detail about the design of the enter component the camera, the processing unit CPU, the micro-controller unit the arduino and the output component the LED strips.1. picture of the Input percentageThis section discusses the realization of the input component. Also the input data types are also discussed.In order to create the enlargement of the perceptual view, the CELS needs to adapt to particular changes in the environment. This comprises of the illuminance, colour and motion. Thus, images as holistic visual information have to be considered to function as CELS input data. Cameras are used since they requite the requirement of providing images of the present.Google provides different online services such(prenominal) as lane View which systematically takes and saves images with its geographic parameters, care the GPS coordinates and the cardin al direction. Hence these images can be practiced in a deliberate manner Goo12. The thoroughfare View data base covers most of Singapores streets, hence permitting the possible operation of the CELS.Summarizing, by from cameras, Google Street View can also be used as a input device providing real-time input data for the CELS, if the vehicle movement is defined as the only changing parameter.Since the Street View images are stored online, access to the internet must be encounterd. In general, this does not present a big challenge, as the automotive human-machine interface, which was presented in Section 1.5, provides internet access via a 3G connection. However, the use is motionlessness problematic due to the risk of low connectivity or even complete loss of either the mobile or the GPS signal. This would result in asynchronous data, which obviously deteriorates the pursued effect.But, relying on Google Street View implies a disadvantage. Buildings are generally not frequently teared down and constructed again. Walking people and driving cars for instance moreover are in motion, hence are not considered by the Street View images. The designed CELS, cosmos the first prototype, the discoverment of the maximum effect possible is preferable. Consequently, the dynamic features of the environment have to be considered in the calculation of the representative colour. Otherwise, the enlargement of the visual perception could be impaired. Due to this fact, the input component has been completed with a camera.2. Design of the Processing ComponentIn-order to cater various features and needs of the vehicle, the system relies on a centralized Car PC with a multitude of input and output possibilities. TANK-700-QM67 is chosen as the Car PC. The TANK-700-QM67 provides high performance and cost-effective solutions. The high performance TANK-700-QM67 fanless embedded system is furnished with powerful figuring capability, video capture, dual display, flexible I/O confi guration, and long product life support. It supports Intel Mobile means i7/i5/i3 processors and full feature I/O such as Gigabit Ethernet, two high-speed USB 3.0 ports and optional 8 channel video/audio capture and IEEE802.11a/b/g/n wireless module.It also supports DDR3 retrospect up to 4GB. The TANK-700 embedded computer is fit for high performance embedded controller and rugged environments. These features ensure complex programs written using high-level programming manner of speakings like C, C++ or Java can be processed effectively.3. Design of the MCUArduino as SPI-InterfaceFor the processing unit to communicate with the output device, here, the LEDs of the LED strip, a MCU is used. Its task is the communication with the LED drivers via the SPI bus. For this purpose, the Arduino plug-in has been used. It is an open-source computing platform which is based on a microcontroller board Ard13 and is illustrated in Figure 5.1. In particular, the used Arduino Uno model utilizes th e 8-bit ATmega 328 microcontroller from Atmel Corporation. Apart from other features, the ATmega 328 has a 16 MHz processor and 32 kBytes of programmable flash memory Atm12. Moreover, it supports the required SPI interface. An integrated UART enables the RS-232 serial communication with the computer.Fig.2 Arduino UNO boardArduino EnvironmentThe Arduino board comes with its own environment, particularly an integrated relegatement environment (IDE) and programming language. The Arduino programming language is a set of commands, which despatchs the programming of microcontrollers. This is achieved by simplifying the AVR C programming language, which the Arduino originates from. In addition, the Arduino programming language bundles several native commands to single command in some cases. The Arduino software is published as open source. This ensures programmers to develop and offer C++ libraries which can expand the functionality of the Arduino software Ard13.FastSPI LibraryFastSPI, a third-party library has been used to facilitate the control of LED-strips. It provides several distinct commands to configure and control LED-strips. Moreover, characteristics of different LED-drivers are integrated. Thus, the library allows a solid adaptation of the existing code to different LED-strips. The library version from the October, 14th, 2012 bas been used for the implementation of the process structure.4. Design of the Output ComponentLEDs are suitable for interior lightings due to their minimal size, long service life, low power consumption and also quick response. The specification of the LED-strip is discussed in the following section.RGB-LEDsIn order to achieve the necessary colour environment adaptation, the LEDs need to be capable of emitting different colours. For this purpose, the LED strip that utilize RGB-LEDs that is able to display up to 16.7 million different colours by mixing the three prime colours red, green and blue is chosen.Individually addressableT he LEDs of the LED-strip are individually addressable to enable a smooth light colour adaptation over the whole roof liner. This enables the control of both the cleverness and the colour of each LED.12 V input voltageTo avoid the necessity of additional devices such as voltage converters, the compatibility to the 12V auxiliary power grid is preferable.LPD8806 LED driver has been used. It offers SPI communication interface having a LED density of 32 LEDs/mAmount of LEDsTwo parameters have been taken into account for ascertain the Amount of LEDs. They are1. LED density32 LEDs per meter or a LED remoteness of 31.3 mm has been assumed for the calculation of the total amount of LEDs.