随着互联网的高速发展,智能灯的发展趋势也逐渐向互联网方向靠拢,在现代生活中,单一功能的传统灯已经满足不了智能家居的需求,跟传统灯相比,智能灯美观大方,而且用户可以根据自己的需求,去调节智能灯的亮度,保护了用户的视力,也避免了传统灯的功能单一问题,并且智能灯的耗能也比较低,使用寿命相对比较长,触电的危险也大大地降低了。本文通过对无线供电方案、磁悬浮悬浮方式、控制方式进行论证,结合磁悬浮悬浮技术、新兴无线供电技术,设计了一个以STM32F103C8T6为主控制器的无线供电磁悬浮灯系统。系统主要由STM32最小系统、线圈驱动模块、无线供电模块、霍尔传感器输出电压差动比例运算电路模块、显示模块、辅助电源模块以及磁悬浮控制模块组成。根据谐振电磁耦合功率传输原理,通过无线发射端和无线接收端电路,对灯具进行无线供电,同时,利用STM32单片机产生PWM波通过线圈驱动模块,来驱动线圈产生磁力,通过电磁悬浮技术实现对灯具的悬浮,再通过霍尔传感器检测磁力大小,反馈输入到控制器STM32单片机中,通过PID算法来实现磁悬浮系统的悬浮稳定性,对磁悬浮系统进行控制,从而实现灯稳定悬浮在磁悬浮装置上空。
With the rapid development of the
Internet, the development trend of smart lights has gradually moved closer to
the Internet. In modern life, single-function traditional lights can no longer
meet the needs of smart homes. Compared with traditional lights, smart lights
have a more beautiful appearance, and users can adjust the brightness of smart
lights according to their own needs, protecting the user’s eyesight, and
avoiding the single function of traditional lights, and the energy consumption
of smart lights is relatively low, the service life is relatively long, and the
risk of electric shock is greatly reduced. In this paper, through the demonstration
of wireless power supply scheme, magnetic levitation mode, control mode,
combined with magnetic levitation technology and emerging wireless power supply
technology, a wireless electromagnetic levitation lamp system with
STM32F103C8T6 as the main controller is designed. The system is mainly composed
of STM32 minimum system, coil drive module, wireless power supply module, Hall
sensor output voltage differential proportional operation circuit module,
display module, auxiliary power module and magnetic suspension control module.
According to the principle of resonant electromagnetic coupling power
transmission, the wireless power supply is provided to the lamps through the
wireless transmitter and wireless receiver circuits. At the same time, the STM32
single-chip is used to generate PWM waves through the coil drive module to
drive the coil to generate magnetic force. The suspension is detected by the
Hall sensor, and the feedback is input to the STM32 microcontroller. The PID
algorithm is used to achieve the suspension stability of the magnetic
suspension system, and the magnetic suspension system is controlled to realize
the stable suspension of the lamp above the magnetic suspension device.