Font Size: a A A

Research And Design Of Fuzzy Logic And BDM Unit Of Automotive Microcontroller

Posted on:2013-05-12Degree:MasterType:Thesis
Country:ChinaCandidate:J L CengFull Text:PDF
GTID:2232330395484817Subject:Information and Communication Engineering
Abstract/Summary:PDF Full Text Request
The wide application of microcontroller in automotive electronic field makesmodern automotive to be more intelligent and networked. Researches onmicrocontroller and its application in automotive started in the late1970s in foreigncountries. Nowadays mature automotive microcontroller products and solutions havebeen formed abroad. However, this technology starts quite lately in our country andthe development is pretty slow. There is rarely mature product s for which we own theproprietary intellectual property rights ourselves. So the technical craf t workers in ourcountry are confronting a challenge to research and develop automotivemicrocontrollers with proprietary intellectual property rights ourselves.With the complexity and interference diverisity of the application environmentwhere embedded automotive electronic control system works, fuzzy logic with goodadaptability has been introduced on the vehicle microcontroller instructions. FreescaleHCS12is the first microcontroller in which fuzzy logic instructions are fullysupported. Based on analysis of characteristics and application scenarios ofautomotive microcontroller, the objective of research is to design the ENSL-16, aFreescale HCS12instruction set compatible16-bit automotive microcontroller. Thisthesis is mainly responsible for the research and design of the fuzzy logic and BDMunits of the automotive microcontroller, and the analysis of system’s security. Themain work of this thesis is as follows:Through the study of characteristics and the automotive microcontrollerinstruction set, the structure of data path is proposed. On the basis of Top-Downhierarchical design method, the system modules are divided and the interface signalsare defined. Then the system security is analyzed.Based on analysis of fuzzy logic instruction set, the thesis proposes16-bitunified data path and structure of two fast computing unit. The proposed data path andstructure of fast computing unit, can execute8bit,16bit, unsigned and signedoperations of fuzzy logic instructions using one computing module, which avoids therepetition of computing module and decreases the area of fuzzy logic unit. Thestructure of two fast computing unit can realize the parallel computing, so as toimprove the fuzzy logic instruction execution speed. Fuzzy logic test results show thatthe design of fuzzy logic unit achieve the goal. On the basis of in-depth analysis of BDM command structure and BDMcommunication timing, the BDM data path and interface signals are designed and afast decoding scheme for BDM instruction set is proposed. Then the BDM interfacehandshaking protocol, command decoding and execution, and BDM bytecommunication are designed and realized. The timing simulation and FPGAverification results prove the correctness of the design of BDM unit.Confronted with the system secrity, this thesis studies the AES attack and masktechnology and proposes an improved masked AND gate, in which the relationshipbetween input masked values and masks is nonlinear. Usually, when converting S-boxoperations from GF(28) to GF(((22)2)2), all the necessary computations become XORand AND operations. Therefore, to fully mask AES S-box is to substitute theunmasked XOR and AND operations with the proposed masked AND gate andprotected XOR gate. Although the proposed masked AND gate take up one extra XORgate than Trichina’s design and Baek’s design, it can resist against glitch attackwithout using specific gate cell, such as WDDL.
Keywords/Search Tags:Automotive Microcontroller, Fuzzy Logic Unit, BDM unit, AES, FPGA
PDF Full Text Request
Related items