Design of Household Emergency Power Supply Based on SCM

Summary

This design is an emergency power supply based on STC89C52 single-chip microcomputer, and the emergency power supply is the research object. The single-chip microcomputer is designed as a control integrated IC, ADC is an analog-to-digital conversion control module, and a passive buzzer is used as an alarm circuit. The system is divided into the minimum system designed by single-chip microcomputer, AD conversion control module, power supply circuit, passive buzzer alarm circuit, and function key input circuit. The passive buzzer is selected as the simulation of the docking reverse power supply circuit, and the LCD1602 is used as the display module. The system collects the working voltage of the battery in real time. When the battery is low, the control circuit will charge the battery. In addition, it will remind us that the working voltage is insufficient. The design of the intelligent control system is mainly explained in detail from the development status at home and abroad, the selection of hardware control components, the drawing of hardware circuits according to the control principle, and the design and development of control system software programs. The control system uses AT89C52 embedded development system, sensor signal acquisition circuit, data conversion circuit, etc. to form an intelligent emergency power supply system.

Key words : emergency power supply; microcontroller; real-time display; ADC0832; voltage detection

 

Abstract

This design is based on STC89C52 SCM design of emergency power supply, emergency power supply as the research object, SCM design for control integrated IC, ADC for analog-to-digital conversion control module, passive buzzer as alarm circuit. The system is divided into MCU design minimum system, AD conversion control module, power circuit, passive buzzer alarm circuit, function key input circuit. The passive buzzer is selected as the simulation of the docking reverse power circuit, and LCD1602 is used as the display module. The system collects the operating voltage of the battery in real time. When the battery power is low, the control circuit will charge the battery. In addition, it will give us a warning that the operating voltage is low..

Keywords: emergency power supply; Single chip microcomputer; real-time display; ADC0832; voltage detection

Table of contents

summary ................................................... ................................................... ................................... I

Abstract.................................................................................................................... II

Chapter 1 Introduction ................................................ ................................................... ............. 1

1.1 Research purpose and background................................... ........................................... 1

1.2 The application and research status of emergency power supply................................... ......................... 2

1.3 Research significance of emergency power supply................................... ................................... 5

1.4 Subject research content and chapter arrangement................................................... ................................................6

Chapter 2 Overall Design of Emergency Power Supply ................................... ...................................... 8

2.1 Overall structure design................................... ............................................... 8

2.2 Main idea................................................... ................................................... .... 8

2.3 Function of emergency power supply................................... ........................................... 9

2.4 Scheme selection of emergency power supply................................... .................................... 9

2.4.1 Choice of Smart Chip................................................... ................................. 9

2.4.2 Display part................................................ ................................................... 10

2.4.3 Charging part................................................ ................................................... 10

Chapter 3 The overall structural block diagram and design of the system hardware ...................................... ................................... 11

3.1 Overall structure block diagram of system hardware................................... ................................... 11

3.2 Main controller design................................................... ................................................ 12

3.2.1 Chip introduction................................................... ................................................ 12

3.2.2 Clock circuit design................................................... ................................... 14

3.2.3 Reset circuit design................................................... ................................... 15

3.4 Charging Control Circuit ................................................ ................................................ 15

3.5 Display circuit design................................... ................................................ 16

3.5 Voltage Detection Circuit ................................................ ................................................................ 18

3.6 Buzzer module circuit................................................... ................................................ 18

Chapter 4 System software part design ................................... ................................................ 19

4.1 Main program flow chart................................... ................................................ 19

4.2 Design of battery voltage detection program...................................... ................................................ 20

4.3 LCD display program................................................... ........................................... twenty two

Chapter 5 System Simulation and Debugging ..................................................... ....................................... twenty three

5.1 Background of software development................................................... ...................................... twenty three

5.2 Software program design...................................... ......................................... twenty three

5.3 Drawing based on Proteus circuit diagram................................... ....................... twenty four

Chapter 6 Conclusion ................................................... ................................................... .......... 26

references................................................ ................................................... ................ 27

Acknowledgments................................................ ................................................... ................................ 30

attachment1................................................ ................................................... ................................ 32

Annex 2................................................ ................................................... ................................ 33

Chapter 1 Introduction

1.1 Research purpose and background

Information-based management and the more intelligent the world's products become, the greater the reliance on electricity. Sudden power off can lead to the disruption of social development, especially production and manufacturing, as well as discipline in daily life. Loss of power will result in significant property damage. As we all know, common faults in power engineering occur suddenly. Even with a good power supply unit, accidental sudden power offs are inevitable. At this stage, the safety precautions of the power supply and distribution system in big cities usually use grid-connected power generation or power supply to ensure that the power supply in big cities provides reliable power. However, from the perspective of companies, industrial production and industrial buildings, relying on the public grid alone is not enough. A reserve of switching power supplies must be maintained. One of its main functions is to ensure that emergency power items are displayed in the event of a safety accident, thereby reasonably reducing the damage caused by shutting down the power supply, thereby ensuring the safety of production and life for all.

With the development of society, the more informatization and modernization, the more dependent on electricity. However, power failures are sudden, and unexpected power outages are inevitable even if the power grid facilities are advanced. From the perspective of the use of enterprises, industries, and civil buildings, it is not enough to rely solely on the public power grid, and an emergency power supply system (Emergency Power Supply, EPS for short) is necessary. Its importance is to ensure that the required emergency power is provided in the event of an accident, so as to effectively reduce the losses caused by power outages and provide protection for people's production and life safety. Therefore, EPS is also known as an important part of the "urban lifeline system". A reliable emergency power supply system is mainly composed of rectifier filter, charger, battery, inverter, detection circuit, control circuit, transfer switch and so on.

1.2 The application and research status of emergency power supply

With the continuous development of high technology, many buildings need to consider people's actual needs more, and many people have clearly put forward higher settlement needs. In addition, the problems of power engineering guarantee and safety and fire prevention are clearly raised. However, the development of EPS is later than the development of generator sets and UPS, and many people do not know enough about them. Therefore, in many emergency power places, generator sets and UPS are used as the main emergency power system method to realize the function of EPS. Both methods exhibit a number of deficiencies in terms of the operational capability of emergency power systems.

At this stage, most engineering projects choose to use diesel generators as EPS emergency power, which is the most common emergency backup power. Due to the large volume of diesel generator sets, they can run in parallel and have a long-term continuous power supply system. Therefore, it has a long history. As we all know, no matter how fast the starting speed of the generator set is, after the power is cut off, the generator set will receive the start data signal until the operating voltage and frequency of the generator set are stabilized, and the power supply system can be cut off. During this period, all power-consuming machines and equipment will stop working within a few minutes, which is likely to cause damage to many machines and equipment or cause great safety hazards to personal safety. However, the operation of EPS usually does not exceed 25ms, so it is not easy to endanger the normal operation of mechanical equipment.

Diesel generator sets are used in emergency power systems and have many disadvantages. mainly:

In multi-storey buildings, diesel engines and diesel generators are usually placed in the basement of the villa. The design scheme is difficult and the engineering cost is high. The configuration of air, refrigeration, smoke extraction system, shock absorption, noise reduction and other equipment must be considered;

There is a fire safety hazard. Its oil storage tank is like a very dangerous "time bomb". In the event of a fire, its adverse effects are unpredictable.

......Need the full version of the paper + simulation private letter

Guess you like

Origin blog.csdn.net/weixin_45905610/article/details/130787443