With the development of electronic information technology and computer network technology, realizing home informationization and networking is a new trend in the development of smart home systems. As an important part of the smart home system, the alarm system is directly related to the advantages and disadvantages of the entire smart home system. Apply wireless network technology to the home alarm system, collect the home environment information in real time through various sensors, and transmit the information to the home control center through wireless means, which can make up for the defects of the wired device, and has the advantages of low cost, high reliability, etc. advantage.
system structure
The alarm network adopts a star topology and consists of a central node and a wireless alarm network node. The central node is a wireless communication module that is connected to a computer and can communicate with any of the network nodes in the network. The wireless alarm network node is the basic unit that constitutes the intelligent home alarm system, and is the basic platform that constitutes the intelligent home alarm system. It consists of a microprocessor (AT89C2051), a wireless communication module (nRF2401), an environmental monitoring sensor (a magnetic switch, an infrared sensor, a fire smoke sensor, a gas leak sensor, a glass break alarm, etc.) and some peripheral devices, which are responsible for the home. Environmental monitoring and delivery of alarm information.
This kind of star topology can be used to expand the combination well, and it is easy to increase the network nodes to meet the uncertainty of the distribution of network nodes in the home. A node can be placed in the room and isolation to avoid wireless interference and alarm area uncertainty. The problem is that the central node performs comprehensive processing on the data transmitted by the plurality of network nodes, and analyzes whether an alarm signal is issued. To some extent, reduce the false alarm of the alarm system and improve the reliability of the wireless alarm system. In the alarm system network, the main function of the network node is to collect data, and transmit the data to the network central node in a wireless transmission manner, and the central node performs comprehensive analysis and processing on the data to determine whether to give an alarm.
Figure 2 Network node circuit schematic
In the network node, the power source is the energy center, which plays a very important role in the node. Especially in the wireless communication system, the power source is not only the energy supplier, but also directly affects the quality of the communication. The device is usually limited to the voltage applied to the input or output pin. These pins are connected to Vcc by diodes or separate components. If the voltage applied is too high, current will flow to the power supply through the diode or separate components. The current voltage output module is mostly 5V, so it is necessary to design a 5V to 3V voltage regulation module with stable output. In this system, the LM1117 is designed to provide a conversion voltage for the communication control chip, which has the advantages of low power consumption and small size. And because the voltage contains many sources of high frequency interference, these high frequency components can easily enter the communication system through the power supply.
In addition, the transmission frequency of the system itself will also be interfered by the power supply feedback to the communication system. Therefore, a 220 μH inductor can be added to the power supply circuit, and a filter circuit composed of a plurality of capacitors having different capacitance values ​​can be used to suppress various high-frequency signals. Enables the node to obtain a stable, reliable and low-interference power supply to ensure reliable operation of the node. The power supply circuit is shown in Figure 3.
Figure 3 power circuit
The main problems and solutions encountered in the design process of the network node are: nRF2401 RF circuit works in the high frequency working band of 2.4GHz~2.5 GHz, and the anti-interference design is directly related to the RF performance and the operation of the entire network node. When wiring in the wireless communication part, reasonable layout and wiring and the use of multi-layer boards are both necessary for wiring and an effective means to reduce electromagnetic interference and improve anti-interference ability. The following points should be noted when wiring: First, the area of ​​the wireless communication part that is not used for wiring needs to be filled with copper and connected to the ground to provide RF shielding to achieve effective anti-interference; second, the bottom of the nRF2401 chip should be grounded; Reduce delay, reduce crosstalk, and ensure high-frequency signal transmission. Use multiple ground vias to connect the bottom of the nRF2401 chip to the ground plane. Third, reduce crosstalk as much as possible and reduce the influence of distribution parameters. The device should be closely distributed in the nRF2401. All around.
Sensor interface circuit
Figure 4 sensor interface circuit diagram
The alarm signals of smoke, gas leak, infrared and other sensors are connected to the P2 port of the MCU through opto-electronic coupling. As shown in Figure 4, when the sensor has no alarm signal, the optocoupler chip is in the off state, and the connected MCU port is Low level; when the sensor has an alarm, the sensor outputs a high level. At this time, the photoelectric coupling chip is turned on, and the connected single-chip port is at a high level, and the alarm signal is collected by the single-chip microcomputer and correspondingly processed.
Edit Comment: This paper briefly introduces the circuit design of smart home wireless alarm system. According to the characteristics of wireless network technology and smart home, a smart home alarm system based on wireless network technology is proposed. The system design adopts modular design to make it Very portable and extensible.
Electronic enthusiasts "Security Technology Special Issue", more quality content, download now
Commutator For Electrical Hammers Motor
Commutator For Electrical Hammers Motor,Control Cables For Garden Tools,Motor For Garden Tools,Generator Motor Commutator
ZHEJIANG JIAGU ELECTRIC APPLIANCES CO. LTD , https://www.chinajiagu.com