A smart home system design based on public telephone network

In recent years, the continuous development of computer technology and the continuous improvement of the degree of informatization have provided a solid technical platform for the research and development of smart home systems . The smart home is usually defined as a whole, that is, using advanced computer technology, network technology, and integrated wiring technology, through the family information management platform, the various parts related to home life are organically combined into a special integrated system. With the continuous refinement of smart home functions, the concept has gradually been extended, taking into account the full range of residents' requirements for residential environmental performance. Therefore, the current smart home system has transformed from an intelligently focused product to an integrated system with the following conditions: First, establish a communication network in the home to provide the necessary access to family information in the family. Under the control of the network operating system, control and monitoring of all home appliances and devices are realized through corresponding hardware and executing agencies. Secondly, all home appliances and devices must form a communication channel with the outside world through a certain media platform to achieve Information exchange in the external world to meet the needs of remote control, monitoring and exchange of information; finally, to meet the needs of people for home safety, comfort, convenience, efficiency and environmental protection.

The control commands and information transmission of the smart home system can be realized in two ways: wireless transmission mode and wired transmission mode. With the growing economic power, the high-speed, reliable public telephone network (PSTN) has covered most areas and homes, and the dual-tone multi-frequency (DTMF) signal on the wired telephone line is used to establish a call connection. It can also be widely used in data communication, and has strong anti-interference ability, so it is technically feasible to use the public telephone network to realize the control of the home facility. Compared with the use of wireless communication, the use of public telephone network does not require special wiring, nor does it occupy radio frequency resources, basically no electromagnetic pollution, and does not require a large amount of additional investment; and communication with a wired IP network (Internet) Compared with the mode, the communication method using the public telephone network has higher security and real-time performance. Therefore, the smart home solution based on public telephone network has certain advantages in terms of technical feasibility and cost economics. It is of great practical significance to research and develop a smart home system based on public telephone network.

1 Systematic overall research

1. 1 system functional requirements

The functional requirements of the home system mainly include comfortable and comfortable family living space, home security protection (hereinafter referred to as security), remote monitoring of household appliances, etc. Therefore, the smart home system based on the public telephone network can set the following functions:

1) Intelligent control of curtains, including remote control, timed opening and closing control, light control, rain control and other humanized automatic control .

2) Home safety monitoring and alarm, mainly including gas (gas, natural gas, liquefier) ​​leakage monitoring, window and window detector monitoring, door magnetic coupling monitoring.

3) Remote control of household appliances. After dialing in the home phone number at the far end, the system automatically turns on after a delay of several seconds. The user can enter the password first, and then input the operation command to remotely control the home appliance. The necessary voice prompts will be given during the operation.

1. 2 overall plan of the system

According to the function setting of the system, combined with the characteristics and requirements of computer technology, automatic control technology and communication technology, the whole system can be divided into three parts: environment and security detection, control, and device driver. The environment and security detection section is composed of light detectors, rainwater, gas detectors, window detectors, and door detectors. The control part is mainly composed of a main control module (also called a main control board) and a security alarm and home appliance control module (also called an alarm and control board), wherein the main control board is responsible for the control of the intelligent curtain and the collection of the security alarm signal. The alarm and control panel complete the automatic telephone dialing, alarm, prompt voice recording and playback, as well as the storage, query and modification of the telephone number and home appliance control operation code (password and instruction code). The system structure is shown in Figure 1.

Figure 1 The overall structure of the system

2 system hardware design

This system strives to use the cost-effective circuit chip to achieve various functions. After technical analysis, the main control board and the alarm and control board are all based on MCU (microcontroller), using Atmel's AT89S52 microcontroller. This kind of single-chip microcomputer is a low-power, high-performance 8-bit microcontroller with embedded 8K programmable flash memory. It belongs to the MCS microcontroller product series and has been selected for many embedded systems. The MCU of the curtain remote control uses the chip MCS89C2051 microcontroller in this series to meet the requirements of volume and power consumption.

2. 1 main control module

The main control module mainly includes MCU and peripheral circuit, curtain motor control circuit, window screen detection (infrared sensing) processing and gas detection processing unit circuit, and interface between MCU and sensors, alarm and control board for illumination, rainwater, door magnetism, etc. as shown in picture 2.

Figure 2 Circuit structure of the main control module

Lithium batteries are primary batteries that have lithium as an anode,mainly including lithium-metal batteries,lithium-ion batteries and li-polymer batteries.however,the lithium-ion batteries and li-polymer batteries which have widespread application in every field of life has solved many problems for human beings ,firstly,as commonly used lithium battery ,li-ion battery has some advantage as :

1.The energy ratio is higher. With high storage energy density, it has reached 460-600wh /kg, about 6-7 times that of lead-acid batteries.

2.The working life is longer, it can reach more than 6 years, and the battery with lithium ferrous phosphate as the positive electrode and charged with 1C DOD  has a record of using it 10,000 times.

Lithium batteries

Secondly ,the advantage for li-polymer batteries as :

1.No battery leakage problem, the battery does not contain liquid electrolyte since it uses colloidal solid

2.The battery can be designed in many shapes

3.It will have twice the capacity of a lithium-ion battery of the same size

4.Can be made into a single high voltage: liquid electrolyte battery only with the number of cells in series with high voltage, and the polymer batteries as there is no liquid itself, can be made within the single star into multilayer combination to achieve high voltage.



Lithium Battery

Lithium Battery,Lithium Battery Pack,Rechargeable Polymer Lithium Battery,Lithium Ion Battery 12V

YFJ TECHNOLOGY (HK) CO.,LIMITED , http://www.yfjpower.com