The Design and Implementation of Gauging System for Battery Power Based on MCU

Author
WangLi
Advisor
WangYiHuai
School
Suzhou University
Major
Computer technology
Classification
TM933.4 Power measurement,power meter
Degree
Master's thesis
Year
2007
Downloads
178
Citations
1

Request the full text

Abstract

In a variety of battery -powered systems , battery power is a problem that users are most concerned about . Domestic production of battery fuel gauge the prevalence of low accuracy , versatility poor shortcomings . In this paper, based on analysis of the performance of U.S. Curtis , designed to achieve a -based the Freescale the company MC68HC908LJ12 microcontroller fuel gauge . The fuel gauge can take advantage of the the MCU FLASH storage battery parameters , dynamic modification of the fuel gauge parameter through the the handheld programmer SDF - 1 , which can be adapted to different types of batteries , enhance the versatility of the product . And software filtering to improve measurement accuracy and stability of the fuel gauge . In order to improve the reliability of the system , to prevent the program into an infinite loop design also uses the MCU watchdog circuit . This article relates to the status quo and the system of the fuel gauge basics , combined with the subject to achieve the goal of determining the overall design of the hardware and software . Followed in detail the hardware design of the power supply circuit , voltage acquisition , LCD display , power display , relay output modules . Then given hardware implementation based on the design of the software function modules as well as software , hardware joint debugging method . Last the subject briefly summarized and talked about the whole system needs to be further improved in perfect place . The project was commissioned to design the development by a company in Wuxi . Run of the fuel gauge is safe , reliable , and accurate measurement , has a strong practical value , is now in small batch production .

Table of contents

Summary of Chinese 3-4 Abstract 4-8 outlined in the first chapter 8-12 1.1 Background 8-9 1.2 Introduction 9-10 1.3 This article and the paper structure 10-12 1.3.1 this article The 1.3.2 10-12 summary of the basics of 12-23 2.1 battery basic knowledge of 12-15 2.1.1 lead-acid battery 12-13 2.1.2 batteries The main electrical characteristics 13-14 2.1.3 lead-acid battery charge and discharge curve 14-15 the basic concepts in the 2.2 embedded system 15-16 2.3 master chip MC68HC908LJ12 16-19 in 2.3.1 the MC68HC908LJ12 the The main features of 16-17 2.3.2 the MC68HC908LJ12-internal structure 2.3.3 the MC68HC908LJ12-The single-chip package 17-18 the the 2.3.4 the MC68HC908LJ12 microcontroller pin function 18-19 2.4 LCD module 19-22 2.4.1 LCD module driving principle 19-21 2.4.2 LCDCR, and LCDCLK register 21-22 2.5 This chapter Summary 22-23 Chapter battery charge and discharge curve measured analysis 23-29 3.1 batteries commonly used power measurement method 23-24 In 3.2 the measured battery charge and discharge curve 24-27 3.2.1 Measured charging curve 24-25 3.2.2 measured discharge curve 25-26 3.2.3 intermediate state discharge curve 26-27 3.3 Battery Fuel Gauge implementation 27-28 3.4 This chapter Summary 28-29 system hardware design 29-39 4.1 hardware system design principles 29-30 4.1.1 schematic design principles 29-30 4.2 MCU Selection 30 4.3 system needs to achieve 30-31 4.4 Battery Fuel Gauge block diagram of the hardware system 31 In 4.5 the MC68HC908LJ12 peripheral support circuit 31-32 4.6 input; nbsp 32-34 4.6.1 key switch status input 32-33 4.6.2 battery voltage input 33-34 4.7 output; nbsp 34-36 the 4.7.1 battery switch output 34-35 4.7.2 the timing status indicator 35 4.7.3 10-segment LED segment battery indicator 35-36 4.7.4 six LCD display interface 36 4.8 Hardware test 36-38 In 4.8.1 Test Method 37 In 4.8.2 testing process 37-38 4.9 This chapter Summary 38-39 system software design 39-54 5.1 MCU program list 39-40 5.2 main program module 40-42 5.3 LCD module 42-43 5.4 to read and write FLASH module 43-45 5.5 A / D module software filtering 45-46 5.6 interrupt program 46-49 5.6.1 serial receive interrupt handling routine 46-48 In 5.6.2 timer overflow interrupt handling routine 48-49 the parameters 5.7 Fuel Gauge set 49-53 5.7.1 Universal handheld programmer 50-52 the 5.7.2 PC side The parameters setup software 52-53 5.8 This chapter Summary 53-54 Chapter VI test and experience 54-59 6.1 system test 54-55 6.1.1 System test circuit 54 6.1.2 testing process 54-55 In 6.1.3 Test Results 55 6.2 designed and tested to run into problems with response 55-57 In 6.2.1 The power LED does not drop 55-56 6.2.2 sometimes turn off the power will make the next boot power display is not normal 56 6.2.3 when the load is suddenly reduced, the fuel gauge will display the charging 56-57 6.2.4 sometimes fuel gauge A / D conversion value will be less than the actual value; nbsp 57 6.3 Test experience 57-58 6.4 This chapter Summary 58-59 Chapter VII Conclusion 59-61 7.1 summarizes 59-60 In 7.2 Looking 60-61 the References 61-63 the Appendix A the MC68HC908LJ12 family of microcontrollers information 63-65 Appendix B in kind photos 65-67 the Appendix C battery fuel gauge circuit diagrams 67-68 the Appendix DA / D sampling part of the subroutine 68-72 the studying degree, I published papers 72-73 the Acknowledgements 73

Related dissertations

  1. Design of Data Recording Device
    GuoQiaoLian ·University of North ·2014 ·Master's thesis
  2. Instant FLASH Display System on Mobile Devices Based on XMPP
    XiaoRenYuan ·Harbin Institute of Technology ·2013 ·Master's thesis
  3. Design and Implement a Bitmap Render Engine of Youli Corporation for Flash Game Development
  4. Based on FLASH of Interactive Multimedia Courseware Design and Production
    DiYingJie ·South China University of Technology ·2013 ·Master's thesis
  5. The Design and Realization of Network Teaching System Based on Flash
  6. Study and Design of Examination System for Experiment Course
    SuJingGang ·Jilin University ·2013 ·Master's thesis
  7. The Method of Flash Based Mass Non-relation Storage
    NiuZuoZuo ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. Design and Optimization of Flash Translation Layer for SSD
  9. Design and Optimization of Solid State Storage System Based on Nand Flash
  10. Research of Teaching Design and Application Based on Virtual Chemical Experiment Platform of Junior Middle School
    ZhuMin ·Northwest Normal University ·2013 ·Master's thesis
  11. Design and Implementation of a Tree Diameter Recorder Based on Tape Sensor
    ChenJinXing ·Zhejiang Forestry University ·2013 ·Master's thesis
  12. Research and Preparation of Solar Mosquito Killers in Building Residential Estate
    KangZuo ·Hubei University of Technology ·2013 ·Master's thesis
  13. Research of Smart Dimmable LED Solar-energy Street Lighting System
  14. The Research of VRLA Battery SOC Estimation
  15. Research on Frequency Regulation Scheme of Islanded Microgrid
    ShaoMingYan ·Harbin Institute of Technology ·2012 ·Master's thesis
  16. Photovoltaic Charge and Discharge Controller and Its Application
    LinJing ·Beijing Jiaotong University ·2014 ·Master's thesis
  17. Research on Control Strategies of Hybrid Energy Storage for Smoothing Wind Power Fluctuations
    ZhuXingXu ·Tohoku Electric Power University ·2014 ·Master's thesis
  18. Capacity Optimization of Hybrid Energy Storage on PSO Algorithm
    ZhuXiangFen ·Ningxia University ·2014 ·Master's thesis
  19. Study on Performance and Control Optimization of Electric Vehicle Thermal Management Systems
    ZuoXiaoHua ·Shanghai Jiaotong University ·2012 ·Doctoral dissertation
  20. Research on Charging System for Electric Vehicle Charging Station