1. Overview
The smart home lighting system is a subsystem of the smart home and can also be used alone. The smart home lighting system can control various lighting effects in different living areas and occasions to easily solve the problem of home energy saving and improve the quality of life. In life, we often encounter such a problem. When watching TV or reading in the living room, we don’t need too strong lighting light, so we have to turn off the living room headlights and turn on other lamps with relatively dim light to meet the needs of watching TV or reading. In order to meet the lighting requirements of different occasions, it is necessary to install a variety of lamps, which brings great inconvenience to the control of lamps. The smart lighting system can easily solve this problem. Just press the remote control in your hand to change the scene lighting.
The solutions for smart home lighting system control are divided into wired and wireless methods. The wired methods include X-10 and CEBUS of power line carrier, HomePNA of telephone line, IEEE802.3 of Ethernet, LONWORKS and IEEE1394 of dedicated bus, etc. The advantage of using power line as the transmission medium of network information is that it does not need to lay cables separately, which reduces the difficulty of construction; the disadvantage is that the transmission rate is only 300Kbps, which is difficult to meet the transmission of video and audio signals, the confidentiality is poor, and the access equipment is expensive. The wireless methods include IrDA of infrared method, IEEE802.11 series of wireless LAN method, HomeRF of home radio frequency technology, IEEE802.15.1 of Bluetooth, IEEE802.15.4 of ZigBee, etc.
Wireless method solves the wiring problem and can also meet the transmission of video and audio signals. This article introduces a smart home lighting system based on 2.4G radio frequency technology.
2. System Solution
The system solution block diagram is shown in Figure 1. This solution uses STC12C5A08AD as the MCU controller. STC12C5A08AD is the latest generation of single-chip microcomputers from Hongjing Technology Company. It uses the 6th generation confidentiality technology. The program cannot be decrypted after burning, which enhances the confidentiality function. The speed is 8~12 times faster than the ordinary 8051 single-chip microcomputer. It has 4 built-in 16-bit timers and relatively low power consumption. The control signal of the MCU controls the brightness of the lamp through the optical coupler to control the thyristor. A current detection loop is added to the strong current control interface to detect the size of the strong current for detection feedback. The communication method uses a 2.4G wireless communication module, which does not require wiring, reduces costs, has flexible control methods, a wide remote control range, and fast communication speed. This solution can control a total of 12 lamps and is suitable for home lighting control.
Figure 1 System solution block diagram
3. 2.4G module
Currently, the common general-purpose chips used for 2.4GHz communication include the nRF2401 wireless chip module from Nordic Corporation of Norway and the RFW102 wireless chip module from RFWave Corporation of Israel [5]. Based on design requirements and cost considerations, this design uses the nRF2401 from Nordic Corporation for wireless data transmission.
nRF2401 is a single-chip wireless transceiver chip that works in the 2.4GHz ISM band and fully integrates power synthesizer, power amplifier, crystal oscillator and adjustment circuit. It uses QFN24 5×5 mm package, and the application circuit uses few peripheral components (see Figure 2); it uses FSK modulation and 125 channels to meet the needs of multi-frequency and frequency hopping; the transmission rate is up to 1Mbps, with high data throughput; low power consumption, the power supply voltage of 1.9V~3.6V meets the needs of low power design; there is a special voltage regulator circuit inside the chip, and the use of various power supplies including DC/DC switching power supplies has good communication effects.
Figure 2 2.4G communication circuit
4. Lighting control
Common dimming methods include: pulse width modulation ( PWM ) dimming, dimming by changing the supply voltage of the half-bridge inverter, pulse frequency modulation dimming, pulse phase modulation dimming and thyristor phase control dimming. The thyristor phase control dimming method has the advantages of small size, reasonable price and wide dimming power range. This system finally uses thyristor phase control dimming to adjust the brightness of the lamp.
Applying the thyristor phase control principle, by controlling the conduction angle of the thyristor, a part of the sine wave voltage input from the power grid is cut off to reduce the average value of the output voltage, so as to control the power supply voltage of the lamp and realize dimming. The thyristor phase control dimming has a fast voltage adjustment speed for the lighting system, high dimming accuracy, and the dimming parameters can be adjusted in real time in different time periods. Since the dimming circuit is mainly composed of electronic components, it is relatively small in size, light in weight and low in cost.
The thyristor phase-controlled dimming circuit is shown in Figure 3. The control signal of the microcontroller is inverted by 74HC04 and sent to the optocoupler MOC3023. After photoelectric isolation, it is input to the control electrode of the thyristor T16C6F to control the conduction angle of the thyristor and realize dimming.
Figure 3 Thyristor phase-controlled dimming circuit
5. Conclusion
The smart home lighting system based on single-chip microcomputer control has the advantages of low cost, short development time, convenient installation and maintenance, and easy to meet the different needs of customers, and has broad market prospects. At present, my country's consumption level is not high, and there is not much demand for high-end smart homes with large systems. However, the low cost of smart home lighting systems is increasingly widely used in the home market. The smart home lighting system based on single-chip microcomputer control introduced in this article has certain market promotion value.
Previous article:Design of timed light-controlled street lamp control circuit
Next article:RC timer shutdown function using op amp and momentary switch
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications