CN204832835U - Large -scale office buildings intelligence power consumption electrical control system - Google Patents
Large -scale office buildings intelligence power consumption electrical control system Download PDFInfo
- Publication number
- CN204832835U CN204832835U CN201520584926.XU CN201520584926U CN204832835U CN 204832835 U CN204832835 U CN 204832835U CN 201520584926 U CN201520584926 U CN 201520584926U CN 204832835 U CN204832835 U CN 204832835U
- Authority
- CN
- China
- Prior art keywords
- intelligent
- control system
- switch
- energy
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Selective Calling Equipment (AREA)
Abstract
本实用新型公开了大型办公楼宇智能用电电器控制系统,包括智能用电及能源优化监控中心,智能用电及能源优化监控中心通过网络与无线路由器通信,能用电及能源优化监控中心通过网络与数据服务器通信,无线路由器与楼层网关通信,路由器通过楼层网关进行通信,楼层网关通过无线方式与多个楼宇内部监控中心通讯;本实用新型以MSP430F149单片机为核心控制的智能电气控制系统,该系统具有精度高、成本低、结构简单、功耗低等特点,附加优化的程序,具有很高的实用性。
The utility model discloses a large-scale office building intelligent electric appliance control system, including an intelligent electricity utilization and energy optimization monitoring center, the intelligent electricity utilization and energy optimization monitoring center communicates with a wireless router through the network, and the energy utilization and energy optimization monitoring center communicates through the network Communicate with the data server, the wireless router communicates with the floor gateway, the router communicates through the floor gateway, and the floor gateway communicates with multiple building internal monitoring centers wirelessly; the utility model is an intelligent electrical control system controlled by MSP430F149 single-chip microcomputer as the core, the system It has the characteristics of high precision, low cost, simple structure, low power consumption, etc., and has an optimized program, which has high practicability.
Description
技术领域 technical field
本实用新型涉及大型办公楼宇智能用电电器控制系统。 The utility model relates to a large-scale office building intelligent electric appliance control system.
背景技术 Background technique
随着人民生活水平的提高,建筑能耗将呈现持续迅速增长的趋势,加剧我国能源资源供应与经济社会发展的矛盾,最终导致全社会的能源短缺。降低建筑能耗,实施建筑节能,对于促进能源资源节约和合理利用,缓解我国的能源供应与经济社会发展的矛盾,有着举足轻重的作用,也是保障国家资源安全、保护环境、提高人民群众生活质量、贯彻落实科学发展观的一项重要举措。因此,如何降低建筑能源消耗,提高能源利用效率,实施建筑节能,是我国可持续发展亟待研究解决的重大课题。 With the improvement of people's living standards, building energy consumption will show a continuous and rapid growth trend, which will intensify the contradiction between my country's energy resource supply and economic and social development, and eventually lead to energy shortages in the whole society. Reducing building energy consumption and implementing building energy conservation play a pivotal role in promoting the conservation and rational use of energy resources and alleviating the contradiction between my country's energy supply and economic and social development. It is an important measure to implement the scientific concept of development. Therefore, how to reduce building energy consumption, improve energy utilization efficiency, and implement building energy conservation are major issues that need to be studied and solved urgently for my country's sustainable development.
据中国建筑节能年度发展研究报告得知:我国建筑能耗占社会总能耗的18.8%,随着我国经济的迅猛发展,国家机关办公建筑和大型公共建筑高能耗的问题日益突出。目前,我国每年竣工建筑面积约为20亿平方米,其中公共建筑约有4亿平方米。两万平方米以上的大型公共建筑面积占城镇建筑面积的比例不到4%,但是能耗却占到建筑能耗的20%以上,其中单位面积耗电量更是普通民宅的10到15倍。 According to the China Building Energy Conservation Annual Development Research Report, it is known that my country's building energy consumption accounts for 18.8% of the total energy consumption of the society. With the rapid development of my country's economy, the problem of high energy consumption in government office buildings and large public buildings has become increasingly prominent. At present, my country's annual completed construction area is about 2 billion square meters, of which about 400 million square meters are public buildings. Large-scale public buildings with an area of more than 20,000 square meters account for less than 4% of the urban construction area, but energy consumption accounts for more than 20% of building energy consumption, and the power consumption per unit area is 10 to 15 times that of ordinary residential buildings .
我国的智能用电技术是建设坚强智能电网的重要组成部分,其核心就是实现智能化服务,满足用户多元化需求,实现电力供应稳定可靠、经济安全,构建电网与客户之间电力流、信息流、业务流实时互动的新型供用电关系。改变用户用能方式,促进节能减排,提高清洁的电能在终端能源消费中的比重。因此,智能用电建设的好坏直接关系到电网的能源使用效率、经济运行和有序用电。 my country's smart electricity technology is an important part of building a strong smart grid. Its core is to realize intelligent services, meet the diversified needs of users, realize stable and reliable power supply, economic security, and build power flow and information flow between the grid and customers. , A new type of power supply and consumption relationship with real-time interaction of business flows. Change the way users use energy, promote energy conservation and emission reduction, and increase the proportion of clean electricity in final energy consumption. Therefore, the quality of smart power construction is directly related to the energy efficiency, economic operation and orderly power consumption of the power grid.
现在的楼宇智能智能控制主要是两种情况:一种是智能控制到楼宇配电箱或楼层配电箱,不能控制到每个房间内的每个插座、开关;另一种虽然能对房间内每个开关进行控制,却只能称作智能家居系统,是面向家庭应用的,并不是针对楼宇总控。 The current intelligent intelligent control of buildings is mainly in two situations: one is that the intelligent control reaches the building distribution box or the floor distribution box, and cannot control every socket and switch in each room; Each switch is controlled, but it can only be called a smart home system, which is for home applications, not for building master control.
实用新型内容 Utility model content
为解决现有技术存在的不足,本实用新型公开了大型办公楼宇智能用电电器控制系统,该系统具有精度高、成本低、结构简单、功耗低等特点,具有很高的实用性。本申请符合信息技术的发展趋势。 In order to solve the deficiencies in the prior art, the utility model discloses a large-scale office building intelligent electric appliance control system, which has the characteristics of high precision, low cost, simple structure, low power consumption, etc., and has high practicability. This application conforms to the development trend of information technology.
为实现上述目的,本实用新型的具体方案如下: In order to achieve the above object, the concrete scheme of the present utility model is as follows:
大型办公楼宇智能用电电器控制系统,包括智能用电及能源优化监控中心,智能用电及能源优化监控中心通过网络与无线路由器通信,智能用电及能源优化监控中心通过网络与数据服务器通信,无线路由器与楼层网关通信,楼层网关通过无线方式与多个楼宇内部监控中心通讯; Large-scale office building intelligent electrical appliances control system, including intelligent power consumption and energy optimization monitoring center, intelligent power consumption and energy optimization monitoring center communicates with wireless routers through the network, intelligent power consumption and energy optimization monitoring center communicates with data servers through the network, The wireless router communicates with the floor gateway, and the floor gateway communicates with multiple building internal monitoring centers through wireless means;
楼宇内部监控中心包括房间控制器,房间控制器分别与智能传感器、智能照明系统及智能电器系统通信; The building internal monitoring center includes room controllers, which communicate with smart sensors, smart lighting systems and smart electrical systems respectively;
无线路由器接入摄像头的视频并通过局域网上传控制视频至智能用电及能源优化监控中心;楼层网关通过无线通信将每个房间的信息进行收集,再通过局域网上传至智能用电及能源优化监控中心,同时将来自于局域网的信息和命令通过房间控制器传递给房间的受控设备,以实现设备的控制和信息采集。 The wireless router accesses the video of the camera and uploads the control video to the smart power consumption and energy optimization monitoring center through the LAN; the floor gateway collects the information of each room through wireless communication, and then uploads it to the smart power consumption and energy optimization monitoring center through the LAN At the same time, the information and commands from the LAN are transmitted to the controlled equipment in the room through the room controller to realize equipment control and information collection.
智能用电及能源优化监控中心还通过网络与交换机通信,交换机分别与热水优化控制系统、电能优化控制系统及热能优化控制系统通信,热水优化控制系统分别控制电热水系统及太阳能热水系统,电能优化控制系统分别控制电力系统、太阳能系统及风能系统,热能优化控制系统分别控制中央空调系统及地源热泵系统。 The intelligent power consumption and energy optimization monitoring center also communicates with the switch through the network. The switch communicates with the hot water optimization control system, the electric energy optimization control system and the thermal energy optimization control system respectively. The hot water optimization control system controls the electric water heating system and the solar water heating system respectively. , The power optimization control system controls the power system, solar energy system and wind energy system respectively, and the thermal energy optimization control system controls the central air conditioning system and the ground source heat pump system respectively.
所述房间控制器还分别与智能开关、智能调光开关及智能遥控器进行通信,智能开关为触摸智能控制灯具的开关;房间控制器通过ZigBee通信模块对灯具实时控制;房间控制器通过智能调光开关进行控制实现灯光变亮或变暗控制,智能遥控器为红外转发器。 The room controller also communicates with the smart switch, the smart dimming switch and the smart remote controller respectively. The smart switch is a switch for touching the smart control lamp; the room controller controls the lamp in real time through the ZigBee communication module; The light switch is used to control the lights to brighten or dim, and the smart remote control is an infrared transponder.
所述红外转发器主要由主控模块、红外接收模块、红外发射模块和数据存储模块组成,主控模块、红外接收模块、红外发射模块和数据存储模块均与CC2530芯片通信。 The infrared transponder is mainly composed of a main control module, an infrared receiving module, an infrared transmitting module and a data storage module, and the main control module, the infrared receiving module, the infrared transmitting module and the data storage module all communicate with the CC2530 chip.
所述智能开关包括光耦芯片,光耦芯片的输入端与晶闸管相连,晶闸管还与由电容及电阻相串联组成的滤波电路相并联,耦芯片的输出端与两级电流驱动电路相连。 The intelligent switch includes an optocoupler chip, the input end of the optocoupler chip is connected with a thyristor, and the thyristor is also connected in parallel with a filter circuit composed of capacitors and resistors connected in series, and the output end of the coupler chip is connected with a two-stage current drive circuit.
智能开关及智能调光开关都是用来控制照明灯具的,智能开关是对灯有开、关功能,智能调光开关的功能是调节等的亮暗程度(当然,必须对白炽灯、LED灯等可调节亮度的灯具有效)。 Both smart switches and smart dimmer switches are used to control lighting fixtures. Smart switches have the function of turning on and off the lights. and other adjustable brightness lamps are effective).
大型办公楼宇智能用电电器控制系统的节点通信方法,包括: A node communication method for a large-scale office building intelligent electric appliance control system, including:
无线传感器节点在上电完成程序初始化以后,向网关设备发送入网请求,网关回复节点的入网请求并分配相应的网络地址,地址从1开始分配,随后节点进入等待同步状态; After the wireless sensor node is powered on and completes the program initialization, it sends a network access request to the gateway device, and the gateway responds to the node's network access request and allocates the corresponding network address. The address is allocated from 1, and then the node enters the waiting synchronization state;
当收到网关发送的同步帧后,节点进入传感器数据采集和处理状态,在完成传感器的数据采集和处理后,将数据进行打包封装,如果节点地址等于1,则直接进入发送数据状态,如果节点地址大于1节点先进入休眠状态,等发送时隙到来时唤醒节点发送数据; After receiving the synchronization frame sent by the gateway, the node enters the sensor data collection and processing state. After completing the sensor data collection and processing, the data is packaged and packaged. If the node address is equal to 1, it directly enters the sending data state. If the node The node whose address is greater than 1 enters the dormant state first, and wakes up the node to send data when the sending time slot arrives;
发送完数据后等待网关确认,如果在时隙结束时收到网关确认则直接进入休眠状态,如果在时隙结束时未到网关确认则第二次发送数据,第二次数据发送完成后则再进入休眠状态,直到下个周期到来前唤醒,等待同步帧开始下一个工作周期。 After sending the data, wait for the gateway confirmation. If the gateway confirmation is received at the end of the time slot, it will directly enter the dormant state. If the gateway confirmation is not received at the end of the time slot, the data will be sent for the second time. Enter the dormant state, wake up before the next cycle, and wait for the synchronization frame to start the next working cycle.
工作原理:安装于每个房间内的房间控制器,通过无线接收网关发来的命令,然后转发给本房间内的相应开关、插座。反向通信亦然。 Working principle: The room controller installed in each room receives the commands sent by the gateway through wireless, and then forwards them to the corresponding switches and sockets in the room. The same goes for reverse communication.
本实用新型的有益效果: The beneficial effects of the utility model:
本实用新型以MSP430F149单片机为核心控制的智能电气控制系统,该系统具有精度高、成本低、结构简单、功耗低等特点,附加优化的程序,具有很高的实用性。该设计完全符合信息技术的发展趋势。 The utility model is an intelligent electrical control system controlled by MSP430F149 single-chip microcomputer as the core. The system has the characteristics of high precision, low cost, simple structure, low power consumption, etc., and the additional optimized program has high practicability. The design fully complies with the development trend of information technology.
附图说明 Description of drawings
图1本实用新型的系统的网络结构; The network structure of the system of Fig. 1 the utility model;
图2楼宇的智能用电及能源优化系统结构图; Fig. 2 The structural diagram of the intelligent power consumption and energy optimization system of the building;
图3系统总体框图; Figure 3 overall block diagram of the system;
图4MSP430F149MCU最小系统主芯片; Figure 4 MSP430F149MCU minimum system main chip;
图5红外转发模块系统框图; Fig. 5 system block diagram of infrared forwarding module;
图6CC2530原理图; Figure 6CC2530 schematic diagram;
图7红外接收电路; Figure 7 infrared receiving circuit;
图8红外发射电路; Figure 8 infrared emission circuit;
图9开关电路; Figure 9 switch circuit;
图10传感器节点应用程序流程图; Fig. 10 sensor node application program flowchart;
图中,1、智能用电及能源优化监控中心,2、数据服务器,3、楼宇内部监控中心,4、无线路由器,5、楼层网关,6、交换机,7、优化控制系统,71、热水优化控制系统,711、电热水系统,712、太阳能热水系统,72、电能优化控制系统,721电力系统,722、太阳能系统,723、风能系统,73、热能优化控制系统,731、中央空调系统,732、地源热泵系统,8、TCP/IP网络。 In the figure, 1. Intelligent power consumption and energy optimization monitoring center, 2. Data server, 3. Building internal monitoring center, 4. Wireless router, 5. Floor gateway, 6. Switch, 7. Optimizing control system, 71. Hot water Optimum control system, 711. Electric water heating system, 712. Solar water heating system, 72. Electric energy optimization control system, 721 Electric power system, 722. Solar energy system, 723. Wind energy system, 73. Thermal energy optimization control system, 731. Central air conditioning system , 732, ground source heat pump system, 8, TCP/IP network.
具体实施方式: Detailed ways:
下面结合附图对本实用新型进行详细说明: Below in conjunction with accompanying drawing, the utility model is described in detail:
办公楼宇用电信息采集与节能控制系统是一套基于互联网的监测及控制系统。设在电力相关部门的智能用电及能源优化监控中心1,通过互联网对所管理的大厦进行智能用电及能源调度信息的监测,并可以对权限内的设备进行深入控制,可深入到房间内部具体的灯具开关等。 The power consumption information collection and energy-saving control system for office buildings is a monitoring and control system based on the Internet. The intelligent power consumption and energy optimization monitoring center 1 located in the electric power related department monitors the intelligent power consumption and energy dispatching information of the managed buildings through the Internet, and can carry out in-depth control of the equipment within the authority, and can go deep into the interior of the room Specific light switches, etc.
整个系统网络的框架是一个Internet网,每一座楼宇都有一个楼宇内部监控中心3,每个楼宇内部监控中心3均包括中心计算机,负责整个楼宇的信息监测和相关设备控制,每个中心计算机都是通过一个无线路由器4与外部的Internet网相连,并与总的监控中心即智能用电及能源优化监控中心1交互信息,从而配合监控中心实现各项监测和控制功能。系统的网络结构如图1所示。 The framework of the whole system network is an Internet network, and each building has a building internal monitoring center 3, and each building internal monitoring center 3 includes a central computer, which is responsible for the information monitoring and related equipment control of the entire building, and each central computer has It is connected to the external Internet through a wireless router 4, and exchanges information with the general monitoring center, that is, the intelligent power consumption and energy optimization monitoring center 1, so as to cooperate with the monitoring center to realize various monitoring and control functions. The network structure of the system is shown in Figure 1.
系统组成:楼宇内部是一个以局域网、ZigBee、CAN、WiFi为主要通信链路的综合网络结构。楼宇内部的系统组成部分有:智能用电及能源优化监控中心1、数据服务器2、楼层多媒体网关、房间控制器、基于物联网技术的智能传感器(安防、温度、湿度、光照、电量等)、智能照明系统、智能电器系统(电器、空调、窗帘、插座等)、优化控制系统7,优化控制系统7包括热水优化控制系统71、电能优化控制系统72、热能优化控制系统73。热水优化控制系统71分别控制电热水系统711及太阳能热水系统712,电能优化控制系统72分别控制电力系统721、太阳能系统722及风能系统723,热能优化控制系统73分别控制中央空调系统731及地源热泵系统732。楼宇的智能用电及能源优化系统结构图如图2所示。智能用电及能源优化监控中心1还通过TCP/IP网络8与交换机6通信。监控中心计算机通过局域网与楼层多媒体网关、热水优化控制系统71、电能优化控制系统72、热能优化控制系统73进行信息交互和控制,链路可通过交换机进行扩展。 System composition: Inside the building is a comprehensive network structure with LAN, ZigBee, CAN, and WiFi as the main communication links. The system components inside the building include: intelligent power consumption and energy optimization monitoring center 1, data server 2, floor multimedia gateway, room controller, smart sensors based on Internet of Things technology (security, temperature, humidity, light, power, etc.), Intelligent lighting system, intelligent electrical system (electrical appliances, air conditioners, curtains, sockets, etc.), optimization control system 7, optimization control system 7 includes hot water optimization control system 71, electric energy optimization control system 72, thermal energy optimization control system 73. The hot water optimization control system 71 controls the electric water heating system 711 and the solar water heating system 712 respectively; the electric energy optimization control system 72 controls the electric power system 721, the solar system 722 and the wind energy system 723 respectively; Ground source heat pump system 732 . The structural diagram of the building's intelligent power consumption and energy optimization system is shown in Figure 2. The intelligent power consumption and energy optimization monitoring center 1 also communicates with the switch 6 through the TCP/IP network 8 . The monitoring center computer performs information exchange and control with the floor multimedia gateway, hot water optimization control system 71, electric energy optimization control system 72, and thermal energy optimization control system 73 through the local area network, and the link can be expanded through the switch.
楼层网关5在每一楼层设有一个,无线路由器4主要负责支持WiFi摄像头的视频接入,并可以通过LAN上传控制视频;楼层网关5的功能是通过ZigBee通信将每个房间的信息收集起来,再通过LAN上传;也可以将来自于LAN的信息和命令通过ZigBee通信至房间控制器传递给房间的受控设备(支持ZigBee的设备),以实现控制和信息采集。 The floor gateway 5 is provided with one on each floor, and the wireless router 4 is mainly responsible for supporting the video access of the WiFi camera, and can upload and control the video through LAN; the function of the floor gateway 5 is to collect the information of each room through ZigBee communication, Then upload it through LAN; the information and commands from LAN can also be transmitted to the room controller through ZigBee communication to the controlled device in the room (the device supporting ZigBee) to realize control and information collection.
电器控制系统:本申请是基于ZigBee、以MSP430单片机系列(本申请是选用MSP430F149)作为最小系统的电器控制模块设计的主芯片,该系统包括: Electrical control system: This application is based on ZigBee, with MSP430 single-chip microcomputer series (this application is to choose MSP430F149) as the main chip designed by the electrical control module of the minimum system. The system includes:
(1)智能灯光墙面开关 (1) Smart light wall switch
智能灯光墙面开关为触摸智能控制灯具的开关;可实现电量测量;可通过ZigBee对灯具实时控制;可通过ZigBee对电量、灯具状态进行读取。组成智能开关的模块有MOC3041光电耦合器,光耦合器的主要优点是单向传输信号,输入端与输出端完全实现了电气隔离,抗干扰能力强,使用寿命长,传输效率高。它广泛用于电平转换、信号隔离、级间隔离、开关电路、远距离信号传输、脉冲放大、固态继电器(SSR)、仪器仪表、通信设备及微机接口中。由于光电耦合器的输入阻抗与一般干扰源的阻抗相比较小,因此分压在光电耦合器的输入端的干扰电压较小,它所能提供的电流并不大,不易使半导体二极管发光;由于光电耦合器的外壳是密封的,它不受外部光的影响;光电耦合器的隔离电阻很大(约1012Ω)、隔离电容很小(约几个pF)所以能阻止电路性耦合产生的电磁干扰。线性方式工作的光电耦合器是在光电耦合器的输入端加控制电压,在输出端会成比例地产生一个用于进一步控制下一级的电路的电压。线性光电耦合器由发光二极管和光敏三极管组成,当发光二极管接通而发光,光敏三级管导通,光电耦合器是电流驱动型,需要足够大的电流才能使发光二极管导通,如果输入信号太小,发光二极管不会导通,其输出信号将失真。在开关电源,尤其是数字开关电源中,利用线性光耦合器可构成光耦反馈电路,通过调节控制端电流来改变占空比,达到精密稳压目的。 The intelligent light wall switch is a switch for touching intelligently controlled lamps; it can realize power measurement; it can control the lamps in real time through ZigBee; it can read the power and status of lamps through ZigBee. The modules that make up the smart switch are MOC3041 optocouplers. The main advantage of the optocoupler is the one-way transmission signal. The input and output terminals are completely electrically isolated, with strong anti-interference ability, long service life and high transmission efficiency. It is widely used in level conversion, signal isolation, inter-stage isolation, switch circuit, long-distance signal transmission, pulse amplification, solid state relay (SSR), instrumentation, communication equipment and microcomputer interface. Since the input impedance of the photocoupler is smaller than the impedance of the general interference source, the interference voltage at the input end of the photocoupler is small, and the current it can provide is not large, and it is not easy to make the semiconductor diode emit light; due to the photoelectric The outer casing of the coupler is sealed, and it is not affected by external light; the isolation resistance of the photocoupler is large (about 1012Ω), and the isolation capacitance is small (about a few pF), so it can prevent electromagnetic interference generated by circuit coupling. The optocoupler working in linear mode is to add a control voltage to the input terminal of the optocoupler, and a voltage for further controlling the circuit of the next stage will be generated proportionally at the output terminal. The linear optocoupler is composed of a light-emitting diode and a photosensitive triode. When the light-emitting diode is turned on, it emits light, and the photosensitive triode is turned on. The photocoupler is a current-driven type and requires a large enough current to make the light-emitting diode turn on. If the input signal Too small and the LED will not conduct and its output signal will be distorted. In a switching power supply, especially a digital switching power supply, a linear optocoupler can be used to form an optocoupler feedback circuit, and the duty cycle can be changed by adjusting the control terminal current to achieve precise voltage regulation.
(2)智能墙面调光开关 (2) Smart wall dimmer switch
智能墙面调光开关可以通过ZigBee对灯光进行变亮、变暗控制,用一个双向可控硅调光电路来实现,具体包括:可控硅、触发电路、保护电阻、功率调整电阻、电位器、滤波网络、温度保险丝。 The smart wall dimmer switch can control the brightness and dimming of the light through ZigBee, and realize it with a bidirectional thyristor dimming circuit, including: thyristor, trigger circuit, protection resistor, power adjustment resistor, potentiometer , filter network, thermal fuse.
(3)智能遥控器 (3) Smart remote control
可通过ZigBee对房间内的灯具、电气设备、插座实施控制;可实现简单地自定义组合场景控制,如全开、全关、影视等;电池供电、可移动控制。智能遥控器为红外转发器,智能遥控器最主要的组成部分是智能红外转发技术,包括: It can control the lamps, electrical equipment, and sockets in the room through ZigBee; it can realize simple custom combined scene control, such as full on, full off, video, etc.; battery power supply, mobile control. The smart remote control is an infrared transponder. The main component of the smart remote control is the smart infrared forwarding technology, including:
①红外接收模块:一体化红外接收头1838T,没有接收到红外信号时,1838T输出为高电平,当接受到红外信号时,输出为高电平与低电平组成的脉冲。 ①Infrared receiving module: integrated infrared receiving head 1838T, when no infrared signal is received, the output of 1838T is high level, when receiving infrared signal, the output is a pulse composed of high level and low level.
②红外发射模块:二极管和电阻电源组成二极管与门电路,发光二极管作为红外发射管。 ②Infrared emission module: Diode and resistor power supply form a diode AND gate circuit, and the light-emitting diode is used as an infrared emission tube.
③数据存储模块:选取的Flash存储器为SST25VF016B,其为16MbitSPISerialFlash,它在单电源2.7-3.6V下可进行读、写和擦除操作。 ③ Data storage module: The selected Flash memory is SST25VF016B, which is 16Mbit SPISerialFlash, which can be read, written and erased under a single power supply of 2.7-3.6V.
系统总体框图如图3所示。 The overall block diagram of the system is shown in Figure 3.
MSP430F149最小系统:美国TI(德州仪器)公司的MSP430系列微控制器,是一种16位超低功耗的混合信号处理器,可使用电池长时间工作。它将许多模拟电路外设和常用的数字模块集成在芯片内部。通常对于一般实际应用单芯片就可以完全满足要求,这样可以降低外围控制电路的复杂性,节约PCB板的空间,同时也降低了设计成本,提高了系统的可靠性。MSP430系列单片机的迅速发展和应用范围不断扩大,适用于在便携式测量设备中,可以延长电池寿命。 MSP430F149 minimum system: TI (Texas Instruments) MSP430 series microcontroller of the United States is a 16-bit mixed-signal processor with ultra-low power consumption and can work with batteries for a long time. It integrates many analog circuit peripherals and commonly used digital modules inside the chip. Usually, a single chip for general practical applications can fully meet the requirements, which can reduce the complexity of the peripheral control circuit, save the space of the PCB board, and also reduce the design cost and improve the reliability of the system. The rapid development and application range of the MSP430 series single-chip microcomputers continue to expand, and they are suitable for use in portable measurement equipment, which can extend battery life.
MSP430F149的CPU主要包括下列模块:基础时钟、看门狗定时器、Timer_A、Timer_B、6个8位并行端口(其中P1、P2具有中断功能)、模拟比较器COMPARATOR_A、12位A/D转换器、2通道串行通信接口(通过软件选择UART/SPI模式)、1个硬件乘法器、1个Flash以及2KB的RAM。MSP430F149微处理器最小系统的主芯片如图4所示。晶体的连接中,XIN和XOUT之间的低速晶体采用32768HZ的手表晶体,X2IN和X2OUT之间采用8MHZ的高速晶体。 The CPU of MSP430F149 mainly includes the following modules: basic clock, watchdog timer, Timer_A, Timer_B, six 8-bit parallel ports (of which P1 and P2 have interrupt function), analog comparator COMPARATOR_A, 12-bit A/D converter, 2-channel serial communication interface (UART/SPI mode is selected by software), 1 hardware multiplier, 1 Flash and 2KB of RAM. The main chip of the minimum system of the MSP430F149 microprocessor is shown in Figure 4. In the crystal connection, the low-speed crystal between XIN and XOUT uses a 32768HZ watch crystal, and the high-speed crystal of 8MHZ is used between X2IN and X2OUT.
ZigBee红外转发模块即红外转发器:红外转发器的功能决定了它主要由主控模块、红外接收模块、红外发射模块和数据存储模块四部分组成。如图5是是红外转发模块的系统框图。 The ZigBee infrared forwarding module is the infrared repeater: the function of the infrared repeater determines that it is mainly composed of four parts: the main control module, the infrared receiving module, the infrared transmitting module and the data storage module. Figure 5 is a system block diagram of the infrared forwarding module.
ZigBee传输使用CC2530芯片,图6为本申请设计的电路原理图。CC2530全部引脚可分为I/O端口线引脚、电源线引脚和控制线引脚三类。I/O端口线引脚功能:CC2530有21个可编程的I/O口引脚,P0、P1口是完全的8位口,P2口只有5个可使用的位。通过软件设定一组SFR寄存器的位和字节,可使这些引脚作为通常的I/0口或作为连接ADC、计时器或USART部件的外围设备I/O口使用。 ZigBee transmission uses the CC2530 chip, and Fig. 6 is a circuit schematic diagram designed by this application. All pins of CC2530 can be divided into three categories: I/O port line pins, power line pins and control line pins. I/O port line pin function: CC2530 has 21 programmable I/O port pins, P0 and P1 ports are complete 8-bit ports, and P2 port has only 5 usable bits. By setting the bits and bytes of a group of SFR registers by software, these pins can be used as normal I/0 ports or as peripheral device I/O ports connected to ADC, timer or USART components.
红外接收模块对应的红外接收电路如图7所示。一体化红外接收头1838T共有三个引脚,供电脚,接地和信号输出脚。因为1838T内部放大器的增益很大,很容易引起干扰,因此在供电脚上加上滤波电容C5信号输出脚接到CC2530的P0_6引脚,P0_6为定时器1、通道4的捕获/比较引脚,这里使用的是捕获功能,用来捕获红外信号。没有接收到红外信号时,1838T输出为高电平,当接收到红外信号时,输出为高电平与低电平组成的脉冲。 The infrared receiving circuit corresponding to the infrared receiving module is shown in Figure 7. The integrated infrared receiver 1838T has three pins, power supply pin, grounding pin and signal output pin. Because the gain of the 1838T internal amplifier is very large, it is easy to cause interference, so add a filter capacitor C5 to the power supply pin and connect the signal output pin to the P0_6 pin of CC2530. P0_6 is the capture/comparison pin of timer 1 and channel 4. The capture function is used here to capture infrared signals. When no infrared signal is received, the 1838T outputs a high level, and when an infrared signal is received, the output is a pulse composed of a high level and a low level.
红外发射模块对应的红外发射电路如图8所示。D4、D5、R4和VCC构成二极管与门电路,LED1为红外发射管。CCP1接CC2530的P0_4引脚,用来输入对家电的控制(如空调开)所对应的红外编码,CCP2接CC2530的P1_4引脚,用来输入红外发射所需要的38kHz的载波。 The infrared emission circuit corresponding to the infrared emission module is shown in FIG. 8 . D4, D5, R4 and VCC form a diode AND gate circuit, and LED1 is an infrared emission tube. CCP1 is connected to the P0_4 pin of CC2530, which is used to input the infrared code corresponding to the control of home appliances (such as the air conditioner on), and CCP2 is connected to the P1_4 pin of CC2530, which is used to input the 38kHz carrier wave required for infrared transmission.
当CCP1和CCP2同时为高电平时三极管导通,红外发射管发射红外信号;CCP1和CCP2有一个为低电平三极管就截止。当三极管导通时,正确选取R4和R5的电阻值使三极管工作在饱和状态,此时红外发射管的发射功率最大。 When CCP1 and CCP2 are high level at the same time, the triode is turned on, and the infrared emitting tube emits an infrared signal; if one of CCP1 and CCP2 is low level, the triode is cut off. When the triode is turned on, correctly select the resistance values of R4 and R5 to make the triode work in a saturated state, and at this time the emission power of the infrared emitting tube is maximum.
智能灯光墙面开关:设计无线智能开关可以直接替换家中的墙壁开关,通过它不仅可以像正常开关一样使用,更重要的是它通过内置的ZigBee模块和建筑中的其他被绑定的无线设备自动组成一个无线控制网络。无线智能开关中的照明控制电路采用光耦控制双向可控硅的控制电路。从使用年限和开关速度上分析,选用晶闸管BTA16作为控制电路中的的主要器件。断态状态下BTA16器件的峰值电压最大为600V,通态状态下的通态电流为16A;当BTA16处于导通时维持电流为40mA,关闭电流为20mA,且电流上升速率最大50A/us,电压上升速率为250V/us。其优越的特性非常适合用于变频电路、开关电路、调温电路、洗衣机、空调等。为实现BTA16器件控制强电的目的,必须解决电路中强弱电之间的电气隔离问题。光耦既能满足电气隔断问题,同时也能解决控制信号的传输问题。光耦内部通过传输光的特性进行隔离输入、输出侧之间的高压;光耦不仅能对直流信号进行传输,还能对交流信号进行传输,同时输出侧具有一定的电流输出能力。无线智能开关中光耦采用光耦芯片,此芯片输入端驱动电流为15mA,因此在微处理器输出端采用两级电流驱动电路,确保控制信号能够稳定输出。如图9是开关电路。 Smart light wall switch: the design of wireless smart switch can directly replace the wall switch in the home, through which it can not only be used like a normal switch, but more importantly, it can automatically connect with other bound wireless devices in the building through the built-in ZigBee module Form a wireless control network. The lighting control circuit in the wireless intelligent switch adopts the control circuit of the bidirectional thyristor controlled by the optocoupler. From the analysis of service life and switching speed, the thyristor BTA16 is selected as the main device in the control circuit. The maximum peak voltage of the BTA16 device in the off-state state is 600V, and the on-state current in the on-state state is 16A; when the BTA16 is on, the maintenance current is 40mA, the off current is 20mA, and the current rise rate is up to 50A/us. The rising rate is 250V/us. Its superior characteristics are very suitable for frequency conversion circuits, switching circuits, temperature regulation circuits, washing machines, air conditioners, etc. In order to realize the purpose of BTA16 device to control strong current, it is necessary to solve the problem of electrical isolation between strong and weak current in the circuit. Optocouplers can not only meet the problem of electrical isolation, but also solve the problem of transmission of control signals. The optocoupler internally isolates the high voltage between the input and output sides through the characteristics of light transmission; the optocoupler can not only transmit DC signals, but also transmit AC signals, and the output side has a certain current output capability. The optocoupler in the wireless smart switch uses an optocoupler chip, and the drive current at the input end of the chip is 15mA. Therefore, a two-stage current drive circuit is used at the output end of the microprocessor to ensure that the control signal can be output stably. Figure 9 is a switch circuit.
节点通信:无线传感器节点在上电完成程序初始化以后,向网关设备发送入网请求,网关回复节点的入网请求并分配相应的网络地址,地址从1开始分配,随后节点进入等待同步状态。当收到网关发送的同步帧后,节点进入传感器数据采集和处理状态,在完成传感器的数据采集和处理后,将数据进行打包封装,如果节点地址等于1,则直接进入发送数据状态,如果节点地址大于1节点先进入休眠状态,等发送时隙到来时唤醒节点发送数据。发送完数据后等待网关确认,如果在时隙结束时收到网关确认则直接进入休眠状态,如果在时隙结束时未到网关确认则第二次发送数据,第二次数据发送完成后则再进入休眠状态,直到下个周期到来前唤醒,等待同步帧开始下一个工作周期。节点应用程序的流程图如图10所示。 Node communication: After the wireless sensor node is powered on and completes the program initialization, it sends a network access request to the gateway device. The gateway responds to the node's network access request and allocates the corresponding network address. The address is allocated from 1, and then the node enters the waiting synchronization state. After receiving the synchronization frame sent by the gateway, the node enters the sensor data collection and processing state. After completing the sensor data collection and processing, the data is packaged and packaged. If the node address is equal to 1, it directly enters the sending data state. If the node The node whose address is greater than 1 enters the dormant state first, and wakes up the node to send data when the sending time slot arrives. After sending the data, wait for the gateway confirmation. If the gateway confirmation is received at the end of the time slot, it will directly enter the dormant state. If the gateway confirmation is not received at the end of the time slot, the data will be sent for the second time. Enter the dormant state, wake up before the next cycle, and wait for the synchronization frame to start the next working cycle. The flowchart of the node application is shown in Figure 10.
上述虽然结合附图对本实用新型的具体实施方式进行了描述,但并非对本实用新型保护范围的限制,所属领域技术人员应该明白,在本实用新型的技术方案的基础上,本领域技术人员不需要付出创造性劳动即可做出的各种修改或变形仍在本实用新型的保护范围以内。 Although the specific implementation of the utility model has been described above in conjunction with the accompanying drawings, it does not limit the protection scope of the utility model. Those skilled in the art should understand that on the basis of the technical solution of the utility model, those skilled in the art do not need to Various modifications or deformations that can be made with creative efforts are still within the protection scope of the present utility model.
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201520584926.XU CN204832835U (en) | 2015-08-06 | 2015-08-06 | Large -scale office buildings intelligence power consumption electrical control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201520584926.XU CN204832835U (en) | 2015-08-06 | 2015-08-06 | Large -scale office buildings intelligence power consumption electrical control system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN204832835U true CN204832835U (en) | 2015-12-02 |
Family
ID=54690415
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201520584926.XU Expired - Lifetime CN204832835U (en) | 2015-08-06 | 2015-08-06 | Large -scale office buildings intelligence power consumption electrical control system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN204832835U (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108418875A (en) * | 2018-02-13 | 2018-08-17 | 南京优助智能科技有限公司 | A kind of energy centre software control system and its method for office buildings |
| CN110224913A (en) * | 2019-07-15 | 2019-09-10 | 珠海格力电器股份有限公司 | Data transmission method, device, data transmission system and equipment |
-
2015
- 2015-08-06 CN CN201520584926.XU patent/CN204832835U/en not_active Expired - Lifetime
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108418875A (en) * | 2018-02-13 | 2018-08-17 | 南京优助智能科技有限公司 | A kind of energy centre software control system and its method for office buildings |
| CN110224913A (en) * | 2019-07-15 | 2019-09-10 | 珠海格力电器股份有限公司 | Data transmission method, device, data transmission system and equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105068438B (en) | Larger office building intelligent electrical appliance control system and method | |
| CN105182922B (en) | Office buildings power information gathers and energy-saving control system and method | |
| CN103338565B (en) | Based on intelligent lighting system and the method for wireless sensor network | |
| CN104331053B (en) | The implementation method of 6LoWPAN Smart Home | |
| CN102413616B (en) | Intelligent illumination system based on power line carrier communication technology | |
| CN203775460U (en) | Street lamp Internet of Things-oriented node controller | |
| CN205121197U (en) | Automatically regulated of family travelling comfort economizer | |
| CN203225938U (en) | Intelligent control system for low-voltage direct-current centralized power supply of LED lamps | |
| CN102984866A (en) | Intelligent power module for LED lamps, based on electric carrier waves with address control | |
| CN203537628U (en) | LED bulb intelligent driving control power supply | |
| CN105554979A (en) | Apparatus for controlling energy conservation of indoor illumination and monitoring people activities | |
| CN109032026B (en) | An intelligent classroom control system combining cloud and sea | |
| CN205121200U (en) | Energy -saving control of family device | |
| CN204859208U (en) | A intelligent gateway that is used for office buildings power consumption information acquisition and energy -saving control system | |
| CN203851344U (en) | Intelligent LED street lamp control system | |
| CN203251456U (en) | T8 lamp device controlled and dimmed by electronic carrier | |
| CN204442747U (en) | A kind of Internet of Things light fixture energy-saving controller based on ZigBee technology | |
| CN202998601U (en) | Intelligent household illumination control system | |
| CN202773138U (en) | Wireless light-adjustable LED street lamp control system | |
| CN105120563A (en) | Single-chip-microcomputer-based intelligent household illumination system | |
| CN203722859U (en) | Intelligent illuminating system | |
| CN202799265U (en) | Intelligent carrier remote drive and control system for light emitting diode (LED) lighting | |
| CN105246228A (en) | Intelligent LED lighting system | |
| CN203301535U (en) | Controller wireless communication system based on Zigbee and GPRS | |
| CN211557555U (en) | Intelligence house list fire switch |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CX01 | Expiry of patent term | ||
| CX01 | Expiry of patent term |
Granted publication date: 20151202 |