CN105223846A - A kind of shutter control system and roller shutter control method - Google Patents
A kind of shutter control system and roller shutter control method Download PDFInfo
- Publication number
- CN105223846A CN105223846A CN201510615431.3A CN201510615431A CN105223846A CN 105223846 A CN105223846 A CN 105223846A CN 201510615431 A CN201510615431 A CN 201510615431A CN 105223846 A CN105223846 A CN 105223846A
- Authority
- CN
- China
- Prior art keywords
- roller shutter
- controller
- roller blind
- main controller
- control
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Program-control systems
- G05B19/02—Program-control systems electric
- G05B19/04—Program control other than numerical control, i.e. in sequence controllers or logic controllers
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Operating, Guiding And Securing Of Roll- Type Closing Members (AREA)
Abstract
Description
技术领域technical field
本发明涉及卷帘机技术领域,尤其涉及一种卷帘机控制系统和一种基于卷帘机控制系统的卷帘控制方法。The invention relates to the technical field of roller blinds, in particular to a roller blind control system and a roller blind control method based on the roller blind control system.
背景技术Background technique
卷帘机,又名大棚卷帘机,主要应用于温室大棚等农业生产中。根据安放位置可以分为地爬式滚杠卷帘机和后拉式的上卷帘,卷帘机的出现极大的推动了温室大棚业的机械化发展同时减少了农户的劳动负担。可配保温被、保温毡使用。The rolling machine, also known as the greenhouse rolling machine, is mainly used in agricultural production such as greenhouses. According to the placement position, it can be divided into ground-climbing roller roller blinds and rear-pull upper roller blinds. The emergence of roller blinds has greatly promoted the mechanization of the greenhouse industry and reduced the labor burden of farmers. It can be used with thermal insulation quilt and thermal insulation blanket.
然而,目前在使用卷帘机时,通常是通过人工去操作卷帘机来控制卷帘的收放,劳动强度大,特别是在已成规模的温室大棚中,卷帘机的数量庞大,通过人工去手动完成各个卷帘的收放,将消耗大量时间,效率低。However, when using the roller shutter machine at present, it is usually to manually operate the roller shutter machine to control the retraction and retraction of the roller blind, which is labor-intensive, especially in large-scale greenhouses, where the number of roller shutter machines is huge. It will consume a lot of time and be inefficient to manually complete the retraction and retraction of each roller blind.
而且,人工操作的方式也难以对卷帘的收放距离进行准确控制,经常出现因卷帘收放超过最大限制位置而造成设备损坏的问题,存在严重的安全隐患。Moreover, it is also difficult to accurately control the retractable distance of the roller blind by manual operation, and there are often problems of equipment damage due to the retraction and retraction of the roller blind beyond the maximum limit position, which poses a serious safety hazard.
发明内容Contents of the invention
本发明实施例提供了一种卷帘机控制系统和一种基于卷帘机控制系统的卷帘控制方法,以解决目前人工控制卷帘机存在的效率低、设备易损坏的问题。Embodiments of the present invention provide a roller blind machine control system and a roller blind control method based on the roller blind machine control system, so as to solve the problems of low efficiency and easy damage of equipment existing in manual control of roller blind machines.
为了解决上述问题,本发明实施例公开了一种卷帘机控制系统,包括:主控制器、通信模块、角度传感器、限位保护装置和驱动控制器;所述主控制器分别与所述通信模块、角度传感器、限位保护装置和驱动控制器连接;In order to solve the above problems, the embodiment of the present invention discloses a roller blind machine control system, including: a main controller, a communication module, an angle sensor, a limit protection device and a drive controller; the main controller communicates with the Module, angle sensor, limit protection device and drive controller connection;
其中,in,
所述角度传感器设置在卷帘机的悬臂上,用于采集所述悬臂的角度信息;The angle sensor is arranged on the cantilever of the roller blind machine, and is used to collect the angle information of the cantilever;
所述通信模块,用于接收控制指令,并将所述控制指令发送至所述主控制器;The communication module is configured to receive a control command and send the control command to the main controller;
所述主控制器,用于对所述角度传感器采集的角度信息进行分析确定所述卷帘机的卷帘的实时位置;以及,响应所述控制指令,并根据确定的所述卷帘的实时位置,向所述驱动控制器发送第一操作指令;The main controller is used to analyze the angle information collected by the angle sensor to determine the real-time position of the roller blind of the roller blind machine; and respond to the control instruction, and according to the determined real-time position of the roller blind position, sending a first operation instruction to the drive controller;
所述驱动控制器,用于执行所述第一操作指令所指示的操作,控制所述卷帘的收放;The drive controller is configured to execute the operation indicated by the first operation instruction, and control the retraction and retraction of the roller blind;
所述限位保护装置,用于监测卷帘的位置,以及,当卷帘超过最高位置或最低位置时自动断电并报警。The limit protection device is used for monitoring the position of the roller blind, and automatically cuts off the power and gives an alarm when the roller blind exceeds the highest position or the lowest position.
可选地,所述限位保护装置包括:第一永磁体、第二永磁体和至少一个霍尔接近开关;Optionally, the limit protection device includes: a first permanent magnet, a second permanent magnet and at least one Hall proximity switch;
其中,in,
所述第一永磁体和所述第二永磁体分别设置在所述卷帘的最高位置处和最低位置处;The first permanent magnet and the second permanent magnet are respectively arranged at the highest position and the lowest position of the roller blind;
所述至少一个霍尔接近开关设置在所述卷帘机的减速机两侧;The at least one Hall proximity switch is arranged on both sides of the reducer of the shutter machine;
所述至少一个霍尔接近开关,用于对所述第一永磁体和所述第二永磁体进行监测,并向所述主控制器上报监测信号;The at least one Hall proximity switch is used to monitor the first permanent magnet and the second permanent magnet, and report a monitoring signal to the main controller;
所述主控制器,还用于根据所述监测信号判断所述卷帘是否到达最高位置或最低位置,以及,在确定所述卷帘到达最高或最低位置时,向所述驱动控制器发送第二操作指令;The main controller is further configured to judge whether the roller blind has reached the highest position or the lowest position according to the monitoring signal, and, when it is determined that the roller blind has reached the highest or lowest position, send the first 2. Operating instructions;
所述驱动控制器,还用于执行所述第二操作指令所指示的操作;其中,所述第二操作指令所指示的操作包括如下操作中的至少一种:控制所述卷帘正转、反转和断电。The drive controller is further configured to execute the operation indicated by the second operation instruction; wherein, the operation indicated by the second operation instruction includes at least one of the following operations: controlling the roller blind to rotate forward, reverse and power down.
可选地,所述系统还包括:电源管理装置,所述电源管理装置分别与所述主控制器、通信模块、角度传感器、限位保护装置和驱动控制器连接;Optionally, the system further includes: a power management device, the power management device is respectively connected to the main controller, the communication module, the angle sensor, the limit protection device and the drive controller;
其中,in,
所述电源管理装置,包括:太阳能光伏板、锂电池组、电源管理控制器、切换模块和升压斩波电路模块;The power management device includes: a solar photovoltaic panel, a lithium battery pack, a power management controller, a switching module and a step-up chopper circuit module;
所述电源管理控制器,用于控制锂电池组的充放电,以及控制所述切换模块的切换;The power management controller is used to control the charging and discharging of the lithium battery pack, and control the switching of the switching module;
所述切换模块,用于对电路进行切换,控制锂电池组或太阳能光伏板作为供电电源;The switching module is used to switch the circuit and control the lithium battery pack or the solar photovoltaic panel as the power supply;
所述升压斩波电路模块,用于对所述锂电池组的输出电压进行升压。The boost chopper circuit module is used to boost the output voltage of the lithium battery pack.
可选地,所述电源管理装置,还包括:控制电路模块;Optionally, the power management device further includes: a control circuit module;
所述主控制器,还用于向所述控制电路模块发送正转信号或反转信号;The main controller is also used to send a forward rotation signal or a reverse rotation signal to the control circuit module;
所述控制电路模块,用于根据所述正转信号或反转信号分别对所述卷帘机的正转继电器或反转继电器上电,以控制所述卷帘的收放。The control circuit module is used to respectively power on the forward rotation relay or the reverse rotation relay of the roller blind machine according to the forward rotation signal or the reverse rotation signal, so as to control the retraction and retraction of the roller blind.
可选地,所述系统还包括:至少一个标准通用接口,用于与第三方系统连接。Optionally, the system further includes: at least one standard common interface for connecting with a third-party system.
可选地,所述主控制器包括:STM32芯片;所述通信模块包括:780MHz频段的ZigBee模块。Optionally, the main controller includes: an STM32 chip; the communication module includes: a ZigBee module in the 780MHz frequency band.
为了解决上述问题,本发明实施例还公开了一种基于卷帘机控制系统的卷帘控制方法,其特征在于,包括:In order to solve the above problems, the embodiment of the present invention also discloses a roller blind control method based on the roller blind machine control system, which is characterized in that it includes:
将通过通信模块接收到的控制指令发送至主控制器,以及将通过安装在卷帘机的悬臂上的角度传感器采集到的悬臂的角度信息发送至主控制器;Sending the control command received through the communication module to the main controller, and sending the angle information of the cantilever collected by the angle sensor installed on the cantilever of the roller blind machine to the main controller;
通过所述主控制器对所述角度信息进行分析确定所述卷帘机的卷帘的实时位置,并,响应所述控制指令,根据确定的所述卷帘的实时位置,向所述驱动控制器发送第一操作指令;The main controller analyzes the angle information to determine the real-time position of the roller blind of the roller blind machine, and responds to the control instruction, according to the determined real-time position of the roller blind, to the drive control The device sends the first operation instruction;
通过驱动控制器执行所述第一操作指令所指示的操作,控制所述卷帘的收放;以及,controlling the retraction and retraction of the roller blind by driving the controller to execute the operation indicated by the first operation instruction; and,
通过限位保护装置监测卷帘的位置,并当卷帘超过最高位置或最低位置时自动断电并报警。The position of the roller shutter is monitored by the limit protection device, and when the roller shutter exceeds the highest position or the lowest position, it will automatically cut off the power and give an alarm.
可选地,所述通过限位保护装置监测卷帘的位置,并当卷帘超过最高位置或最低位置时自动断电并报警,包括:Optionally, monitoring the position of the roller blind through the limit protection device, and automatically powering off and alarming when the roller blind exceeds the highest position or the lowest position, including:
通过至少一个霍尔接近开关对设置在所述卷帘的最高位置处和最低位置处的第一永磁体和第二永磁体进行监测,并向所述主控制器上报监测信号;Monitoring the first permanent magnet and the second permanent magnet arranged at the highest position and the lowest position of the roller blind through at least one Hall proximity switch, and reporting a monitoring signal to the main controller;
通过所述主控制器对所述监测信号进行分析,判断所述卷帘是否到达最高位置或最低位置,以及,在确定所述卷帘到达最高或最低位置时,向所述驱动控制器发送第二操作指令;Analyze the monitoring signal through the main controller to judge whether the roller blind has reached the highest position or the lowest position, and when it is determined that the roller blind has reached the highest or lowest position, send the first 2. Operating instructions;
通过驱动控制器执行所述第二操作指令所指示的操作;其中,所述第二操作指令所指示的操作包括如下操作中的至少一种:控制所述卷帘正转、反转和断电。Execute the operation indicated by the second operation instruction through the drive controller; wherein, the operation indicated by the second operation instruction includes at least one of the following operations: control the forward rotation, reverse rotation and power-off of the roller blind .
可选地,所述方法还包括:通过电源管理装置向所述主控制器、通信模块、角度传感器、限位保护装置和驱动控制器供电;Optionally, the method further includes: supplying power to the main controller, communication module, angle sensor, limit protection device and drive controller through a power management device;
其中,所述通过电源管理装置向所述主控制器、通信模块、角度传感器、限位保护装置和驱动控制器供电,包括:Wherein, the power supply to the main controller, communication module, angle sensor, limit protection device and drive controller through the power management device includes:
通过切换模块,将电路切换为太阳能光伏板供电,将所述太阳能光伏板产生的电能分别输出至所述主控制器、通信模块、角度传感器、限位保护装置和驱动控制器,以及,锂电池组;并通过电源管理控制器控制锂电池组的充电;Through the switching module, the circuit is switched to be powered by the solar photovoltaic panel, and the electric energy generated by the solar photovoltaic panel is respectively output to the main controller, the communication module, the angle sensor, the limit protection device and the drive controller, and the lithium battery group; and control the charging of the lithium battery pack through the power management controller;
或,or,
通过切换模块,将电路切换为锂电池组供电,通过电源管理控制器控制锂电池组的放电,并,通过升压斩波电路模块对所述锂电池组的输出电压进行升压后输出至所述主控制器、通信模块、角度传感器、限位保护装置和驱动控制器。Through the switching module, the circuit is switched to the lithium battery pack for power supply, the discharge of the lithium battery pack is controlled by the power management controller, and the output voltage of the lithium battery pack is boosted by the step-up chopper circuit module and then output to the Describe the main controller, communication module, angle sensor, limit protection device and drive controller.
可选地,所述通过电源管理装置向所述主控制器、通信模块、角度传感器、限位保护装置和驱动控制器供电,还包括:Optionally, the power supply to the main controller, communication module, angle sensor, limit protection device and drive controller through the power management device further includes:
通过所述主控制器向控制电路模块发送正转信号或反转信号;sending a forward rotation signal or a reverse rotation signal to the control circuit module through the main controller;
通过所述控制电路模块响应所述正转信号或反转信号,分别对所述卷帘机的正转继电器或反转继电器上电,控制所述卷帘的收放。Responding to the forward rotation signal or the reverse rotation signal, the control circuit module powers on the forward rotation relay or the reverse rotation relay of the roller blind machine respectively to control the retraction and retraction of the roller blind.
本发明具有如下有益效果:The present invention has following beneficial effects:
本发明公开了一种卷帘机控制方案,主控制器分别与通信模块、角度传感器、限位保护装置和驱动控制器连接;所述角度传感器设置在卷帘机的悬臂上,用于采集所述悬臂的角度信息;所述通信模块,用于接收控制指令,并将所述控制指令发送至所述主控制器;所述主控制器,用于对所述角度传感器采集的角度信息进行分析确定所述卷帘机的卷帘的实时位置;以及,响应所述控制指令,并根据确定的所述卷帘的实时位置,向所述驱动控制器发送第一操作指令;所述驱动控制器,用于执行所述第一操作指令所指示的操作,控制所述卷帘的收放;所述限位保护装置,用于监测卷帘的位置,以及,当卷帘超过最高位置或最低位置时自动断电并报警。可见,在本实施例中,通过角度传感器可以获取到悬臂的角度信息,进而确定出卷帘的实时位置,根据卷帘的实时位置控制卷帘的收放距离,实现对卷帘的精确控制。The invention discloses a control scheme of a roller blind machine. The main controller is respectively connected with a communication module, an angle sensor, a limit protection device and a drive controller; The angle information of the cantilever; the communication module is used to receive control instructions and send the control instructions to the main controller; the main controller is used to analyze the angle information collected by the angle sensor determining the real-time position of the roller blind of the roller blind machine; and, in response to the control instruction, and according to the determined real-time position of the roller blind, sending a first operation instruction to the drive controller; the drive controller , for performing the operation indicated by the first operation instruction, and controlling the retraction and retraction of the roller blind; the limit protection device is used for monitoring the position of the roller blind, and when the roller blind exceeds the highest position or the lowest position Automatic power off and alarm. It can be seen that in this embodiment, the angle information of the cantilever can be obtained through the angle sensor, and then the real-time position of the roller blind can be determined, and the retractable distance of the roller blind can be controlled according to the real-time position of the roller blind, so as to realize precise control of the roller blind.
而且,本发明可以通过限位保护装置对卷帘的收放进行保护,防止卷帘收放超过最大限制位置而造成的设备故障,提高了系统的可靠性和稳定性。Moreover, the present invention can protect the retraction and retraction of the roller blind through the limit protection device, prevent equipment failure caused by the retraction and retraction of the roller blind beyond the maximum limit position, and improve the reliability and stability of the system.
进一步地,本发明在通信模块、角度传感器、限位保护装置和驱动控制器的基础上,可以通过主控制器完成对卷帘机的自动化智能管理,而且可以对多个卷帘机进行批量控制,大大提高了工作效率。Furthermore, on the basis of the communication module, angle sensor, limit protection device and drive controller, the present invention can complete the automatic and intelligent management of the roller shutter machine through the main controller, and can perform batch control on multiple roller shutter machines , greatly improving work efficiency.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same parts. In the attached picture:
图1是本发明实施例一中一种卷帘机控制系统的结构框图;Fig. 1 is a structural block diagram of a roller blind machine control system in Embodiment 1 of the present invention;
图2是本发明实施例二中一种卷帘机控制系统的结构框图;Fig. 2 is a structural block diagram of a roller blind machine control system in Embodiment 2 of the present invention;
图3是本发明实施例二中一种限位保护装置的结构框图;Fig. 3 is a structural block diagram of a limit protection device in Embodiment 2 of the present invention;
图4是本发明实施例二中一种电源管理装置的结构框图;FIG. 4 is a structural block diagram of a power management device in Embodiment 2 of the present invention;
图5是本发明实施例三中一种基于卷帘机控制系统的卷帘控制方法的步骤流程图;Fig. 5 is a flow chart of the steps of a roller blind control method based on the roller blind machine control system in Embodiment 3 of the present invention;
图6是本发明实施例四中一种基于卷帘机控制系统的卷帘控制方法的步骤流程图。Fig. 6 is a flow chart of the steps of a roller blind control method based on the roller blind machine control system in Embodiment 4 of the present invention.
具体实施方式detailed description
在本发明的描述中,除非另有说明,“多个”的含义是两个或两个以上;术语“上”、“下”、“左”、“右”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的机或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。In the description of the present invention, unless otherwise stated, the meaning of "plurality" is two or more; the terms "upper", "lower", "left", "right", "inner", "outer" The orientation or positional relationship indicated by etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the machine or element referred to must have a specific orientation, use a specific Azimuth configuration and operation, therefore, should not be construed as limiting the invention.
在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that unless otherwise specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be a fixed connection or a detachable connection. Connected, or integrally connected; it may be mechanically connected or electrically connected; it may be directly connected or indirectly connected through an intermediary. Those of ordinary skill in the art can understand the specific meanings of the above terms in the present invention in specific situations.
下面结合附图和实施例对本发明的具体实施方式作进一步详细描述。以下实施例用于说明本发明,但不用来限制本发明的范围。The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.
实施例一Embodiment one
参照图1,示出了本发明实施例一中一种卷帘机控制系统的结构框图。在本实施例中,所述卷帘机控制系统可以包括:主控制器1、通信模块2、角度传感器3、限位保护装置4和驱动控制器5。其中,所述主控制器1可以分别与所述通信模块2、角度传感器3、限位保护装置4和驱动控制器5连接。本领域技术人员应当明了的是,本实施例中所述的连接可以但不仅限于:通过接口进行连接(如,所述通信模块2的信号输出接口与所述主控制器1的信号输入接口连接);和,基于无线数据传输协议或IP协议(InternetProtocol,网络之间互连的协议)进行网络连接。Referring to Fig. 1 , it shows a structural block diagram of a roller blind machine control system in Embodiment 1 of the present invention. In this embodiment, the roller blind machine control system may include: a main controller 1 , a communication module 2 , an angle sensor 3 , a limit protection device 4 and a drive controller 5 . Wherein, the main controller 1 can be respectively connected with the communication module 2 , the angle sensor 3 , the limit protection device 4 and the drive controller 5 . It should be clear to those skilled in the art that the connection described in this embodiment can be, but not limited to: connection through an interface (for example, the signal output interface of the communication module 2 is connected to the signal input interface of the main controller 1 ); and, network connection is performed based on a wireless data transmission protocol or an IP protocol (Internet Protocol, a protocol for interconnection between networks).
在本实施例中,所述角度传感器3可以设置在卷帘机的悬臂上,用于采集所述悬臂的角度信息。例如,安装在所述悬臂上的角度传感器3可以获取所述悬臂与地面的倾角信息,或测得悬臂的欧拉角。In this embodiment, the angle sensor 3 can be arranged on the cantilever of the roller blind machine, and is used to collect angle information of the cantilever. For example, the angle sensor 3 installed on the cantilever can obtain the inclination information of the cantilever and the ground, or measure the Euler angle of the cantilever.
所述通信模块2,用于接收控制指令,并将所述控制指令发送至所述主控制器。所述通信模块2可以接收用户输入的控制指令,并将控制指令发送至所述主控制器1。需要说明的是,所述通信模块2可以采用任意一种适当的通信方式进行数据的接收和传输。例如,可以通过所述通信模块2建立与远程客户端的连接,实现用户对所述卷帘机控制系统的远程控制。The communication module 2 is configured to receive control instructions and send the control instructions to the main controller. The communication module 2 can receive the control instruction input by the user, and send the control instruction to the main controller 1 . It should be noted that the communication module 2 may use any appropriate communication method to receive and transmit data. For example, a connection with a remote client can be established through the communication module 2 to realize the remote control of the roller blind machine control system by the user.
所述主控制器1可以用于对所述角度传感器3采集的角度信息进行分析,确定所述卷帘机的卷帘的实时位置;以及,响应所述控制指令,并根据确定的所述卷帘的实时位置,向所述驱动控制器5发送第一操作指令。The main controller 1 can be used to analyze the angle information collected by the angle sensor 3 to determine the real-time position of the roller blind of the roller blind machine; The real-time position of the curtain is sent to the drive controller 5 with a first operation instruction.
例如,当所述控制指令指示收起卷帘,所述主控制器1则可以根据所述角度传感器3采集到悬臂的角度信息确定出卷帘的当前位置,并根据所述卷帘的当前位置向所述驱动控制器5发送用于指示收起卷帘的操作指令,其中,所述用于指示收起卷帘的操作指令中可以包括:根据所述卷帘的当前位置确定的需要收起的卷帘的长度信息,以使所述驱动控制器5控制卷帘收起所述长度信息所指示的长度,避免了卷帘收起不到位或过度收起,实现卷帘位置的精确控制。卷帘的放下过程可以参照上述卷帘的收起过程,在此不一一说明。For example, when the control instruction instructs to retract the roller blind, the main controller 1 can determine the current position of the roller blind according to the angle information of the cantilever collected by the angle sensor 3, and according to the current position of the roller blind An operation instruction for instructing to retract the roller blind is sent to the drive controller 5, wherein the operation instruction for instructing to retract the roller blind may include: the need to retract according to the current position of the roller blind The length information of the roller blind, so that the drive controller 5 controls the roller blind to retract the length indicated by the length information, avoiding insufficient or excessive retraction of the roller blind, and realizing precise control of the position of the roller blind. For the lowering process of the roller blind, reference may be made to the above-mentioned retracting process of the roller blind, which will not be described one by one here.
所述驱动控制器5,用于执行所述第一操作指令所指示的操作,控制所述卷帘的收放。The drive controller 5 is configured to execute the operation indicated by the first operation instruction, and control the retraction and retraction of the roller blind.
所述限位保护装置4,用于监测卷帘的位置,以及,当卷帘超过最高位置或最低位置时自动断电并报警。The limit protection device 4 is used to monitor the position of the roller blind, and automatically cut off the power and give an alarm when the roller blind exceeds the highest position or the lowest position.
在本实施例中,当卷帘超过最高位置或最低位置时卷帘机仍未停止工作,则可以同所述限位保护装置4对所述卷帘机进行断电操作,保护卷帘机,对卷帘进行限位。避免卷帘超过设定的最低位置或最高位置。防止因机械或人为故障导致卷帘超过最大可移动范围造成卷帘机的损坏。In this embodiment, when the shutter machine has not stopped working when the shutter exceeds the highest position or the lowest position, the shutter machine can be powered off with the limit protection device 4 to protect the shutter machine. Limit the roller blind. Avoid roller blinds exceeding the set minimum or maximum position. Prevent damage to the roller blind machine caused by mechanical or human failures that cause the roller blind to exceed the maximum movable range.
综上所述,本实施例公开了一种卷帘机控制系统,包括:主控制器、通信模块、角度传感器、限位保护装置和驱动控制器;主控制器分别与通信模块、角度传感器、限位保护装置和驱动控制器连接;所述角度传感器设置在卷帘机的悬臂上,用于采集所述悬臂的角度信息;所述通信模块,用于接收控制指令,并将所述控制指令发送至所述主控制器;所述主控制器,用于对所述角度传感器采集的角度信息进行分析确定所述卷帘机的卷帘的实时位置;以及,响应所述控制指令,并根据确定的所述卷帘的实时位置,向所述驱动控制器发送第一操作指令;所述驱动控制器,用于执行所述第一操作指令所指示的操作,控制所述卷帘的收放;所述限位保护装置,用于监测卷帘的位置,以及,当卷帘超过最高位置或最低位置时自动断电并报警。可见,在本实施例中,通过角度传感器可以获取到悬臂的角度信息,进而确定出卷帘的实时位置,根据卷帘的实时位置控制卷帘的收放距离,实现对卷帘的精确控制。In summary, this embodiment discloses a roller blind machine control system, including: a main controller, a communication module, an angle sensor, a limit protection device, and a drive controller; the main controller communicates with the communication module, the angle sensor, the The limit protection device is connected to the drive controller; the angle sensor is arranged on the cantilever of the roller shutter machine, and is used to collect the angle information of the cantilever; the communication module is used to receive control instructions, and transmit the control instructions sent to the main controller; the main controller is used to analyze the angle information collected by the angle sensor to determine the real-time position of the roller blind of the roller blind machine; and respond to the control instruction, and according to The determined real-time position of the roller blind sends a first operation instruction to the drive controller; the drive controller is configured to perform the operation indicated by the first operation instruction and control the retraction and retraction of the roller blind ; The limit protection device is used to monitor the position of the roller blind, and when the roller blind exceeds the highest position or the lowest position, it will automatically cut off the power and give an alarm. It can be seen that in this embodiment, the angle information of the cantilever can be obtained through the angle sensor, and then the real-time position of the roller blind can be determined, and the retractable distance of the roller blind can be controlled according to the real-time position of the roller blind, so as to realize precise control of the roller blind.
而且,本实施例可以通过限位保护装置对卷帘的收放进行保护,防止卷帘收放超过最大限制位置而造成的设备故障,提高了系统的可靠性和稳定性。Moreover, in this embodiment, the retraction and retraction of the roller blind can be protected by the limit protection device, preventing equipment failure caused by the retraction and retraction of the roller blind beyond the maximum limit position, and improving the reliability and stability of the system.
进一步地,本实施例在通信模块、角度传感器、限位保护装置和驱动控制器的基础上,可以通过主控制器完成对卷帘机的自动化智能管理,而且可以对多个卷帘机进行批量控制,大大提高了工作效率。Furthermore, in this embodiment, on the basis of the communication module, angle sensor, limit protection device and drive controller, the automatic intelligent management of the roller blind machine can be completed through the main controller, and batch processing of multiple roller blind machines can be performed. control, greatly improving work efficiency.
实施例二Embodiment two
参照图2,示出了本发明实施例二中一种卷帘机控制系统的结构框图。在本实施例中,所述卷帘机控制系统可以包括:主控制器1、通信模块2、角度传感器3、限位保护装置4和驱动控制器5。其中,所述主控制器1分别与所述通信模块2、角度传感器3、限位保护装置4和驱动控制器5连接。Referring to FIG. 2 , it shows a structural block diagram of a roller blind machine control system in Embodiment 2 of the present invention. In this embodiment, the roller blind machine control system may include: a main controller 1 , a communication module 2 , an angle sensor 3 , a limit protection device 4 and a drive controller 5 . Wherein, the main controller 1 is respectively connected with the communication module 2 , the angle sensor 3 , the limit protection device 4 and the driving controller 5 .
在本实施例中,所述角度传感器3可以设置在卷帘机的悬臂上,所述角度传感器3具体可以是一个用于采集所述悬臂的角度信息的角度传感器。In this embodiment, the angle sensor 3 may be arranged on the cantilever of the roller blind machine, and the angle sensor 3 may specifically be an angle sensor for collecting angle information of the cantilever.
所述通信模块2具体可以是用于接收控制指令,并将所述控制指令发送至所述主控制器1的通信模块。如,可以但不仅限于采用工作频段为780MHz的ZigBee(基于IEEE802.15.4标准的低功耗局域网协议)模块作为所述通信模块2,ZigBee模块有效避开了传统的433MHz和2.4GHz频段,干扰小、穿透性强,且具有更远的传输距离和更好的通信质量,增强了系统远程无线通信的稳定性和可靠性。The communication module 2 may specifically be a communication module for receiving control instructions and sending the control instructions to the main controller 1 . For example, ZigBee (a low-power local area network protocol based on IEEE802.15.4 standard) module with a working frequency band of 780MHz can be used, but not limited to, as the communication module 2. The ZigBee module effectively avoids the traditional 433MHz and 2.4GHz frequency bands, and has little interference , strong penetrability, longer transmission distance and better communication quality, which enhances the stability and reliability of the system's long-distance wireless communication.
所述主控制器1具体可以是用于对所述角度传感器采集的角度信息进行分析确定所述卷帘机的卷帘的实时位置;以及,响应所述控制指令,并根据确定的所述卷帘的实时位置,向所述驱动控制器发送第一操作指令的控制器,如,可以但不仅限于采用STM32芯片作为所述主控制器1。Specifically, the main controller 1 may be used to analyze the angle information collected by the angle sensor to determine the real-time position of the roller blind of the roller blind machine; The real-time position of the curtain, the controller that sends the first operation instruction to the drive controller, for example, may, but is not limited to, use an STM32 chip as the main controller 1 .
所述驱动控制器5具体可以是用于执行所述第一操作指令所指示的操作,控制所述卷帘的收放的驱动控制器。Specifically, the drive controller 5 may be a drive controller for performing the operation indicated by the first operation instruction and controlling the retraction and retraction of the roller blind.
所述限位保护装置4具体可以是用于监测卷帘的位置,以及,当卷帘超过最高位置或最低位置时自动断电并报警的装置。The limit protection device 4 can specifically be a device for monitoring the position of the roller blind, and automatically powering off and giving an alarm when the roller blind exceeds the highest position or the lowest position.
在本实施例的一优选方案中,参照图3,示出了本发明实施例二中一种限位保护装置的结构框图。在本实施例中,所述限位保护装置4可以包括:第一永磁体401、第二永磁体402和至少一个霍尔接近开关。所述第一永磁体401和所述第二永磁体402可以分别设置在所述卷帘的最高位置处和最低位置处;所述至少一个霍尔接近开关可以设置在所述卷帘机的减速机两侧。所述至少一个霍尔接近开关与所述第一永磁体401和第二永磁体402可以是基于霍尔效应进行连接。需要说明的是,所述至少一个霍尔接近开关还可以通过接口或任意一种适当的方式与所述主控制器1连接。In a preferred solution of this embodiment, refer to FIG. 3 , which shows a structural block diagram of a limit protection device in Embodiment 2 of the present invention. In this embodiment, the limit protection device 4 may include: a first permanent magnet 401 , a second permanent magnet 402 and at least one Hall proximity switch. The first permanent magnet 401 and the second permanent magnet 402 can be respectively arranged at the highest position and the lowest position of the roller blind; the at least one Hall proximity switch can be arranged at the deceleration of the roller blind machine on both sides of the machine. The at least one Hall proximity switch and the first permanent magnet 401 and the second permanent magnet 402 may be connected based on the Hall effect. It should be noted that the at least one Hall proximity switch can also be connected to the main controller 1 through an interface or any other appropriate way.
优选地,所述至少一个霍尔接近开关可以用于对所述第一永磁体401和所述第二永磁体402进行监测,并向所述主控制器1上报监测信号。所述主控制器1则还可以用于根据所述监测信号判断所述卷帘是否到达最高位置或最低位置,以及,在确定所述卷帘到达最高或最低位置时,向所述驱动控制器发送第二操作指令。优选地,在确定所述卷帘到达最高或最低位置时,所述主控制器1还可以用于发送告警信息。相应地,所述驱动控制器5,还可以用于执行所述第二操作指令所指示的操作。其中,所述第二操作指令所指示的操作包括如下操作中的至少一种:控制所述卷帘正转、反转和断电。Preferably, the at least one Hall proximity switch can be used to monitor the first permanent magnet 401 and the second permanent magnet 402 , and report a monitoring signal to the main controller 1 . The main controller 1 can also be used to judge whether the roller blind has reached the highest position or the lowest position according to the monitoring signal, and, when it is determined that the roller blind has reached the highest or the lowest position, send a notification to the drive controller Send the second operation instruction. Preferably, when it is determined that the roller blind has reached the highest or lowest position, the main controller 1 can also be used to send an alarm message. Correspondingly, the drive controller 5 can also be used to execute the operation indicated by the second operation instruction. Wherein, the operation indicated by the second operation instruction includes at least one of the following operations: controlling the roller blind to rotate forward, reverse, and power off.
在本实施例的又一优选方案中,如上图2所示,所述卷帘机控制系统还可以包括:电源管理装置6。所述电源管理装置6可以分别与所述主控制器1、通信模块2、角度传感器3、限位保护装置4和驱动控制器5连接。所述电源管理装置6可以用于对整个系统的供电和电源使用进行智能管理。In yet another preferred solution of this embodiment, as shown in FIG. 2 above, the roller blind machine control system may further include: a power management device 6 . The power management device 6 can be respectively connected with the main controller 1 , the communication module 2 , the angle sensor 3 , the limit protection device 4 and the drive controller 5 . The power management device 6 can be used to intelligently manage the power supply and power usage of the entire system.
参照图4,示出了本发明实施例二中一种电源管理装置的结构框图。在本实施例中,所述电源管理装置6可以包括:太阳能光伏板601、锂电池组602、电源管理控制器603、切换模块604和升压斩波电路模块605。所述太阳能光伏板601、锂电池组602、电源管理控制器603、切换模块604和升压斩波电路模块605的连接结构可以参照图4中所示,电源管理控制器603分别与太阳能光伏板601、切换模块604和锂电池组602连接;所述切换模块604还可以与太阳能光伏板601连接,并通过升压斩波电路模块605与所述锂电池组602连接。Referring to FIG. 4 , it shows a structural block diagram of a power management device in Embodiment 2 of the present invention. In this embodiment, the power management device 6 may include: a solar photovoltaic panel 601 , a lithium battery pack 602 , a power management controller 603 , a switching module 604 and a step-up chopper circuit module 605 . The connection structure of the solar photovoltaic panel 601, lithium battery pack 602, power management controller 603, switching module 604 and step-up chopper circuit module 605 can be referred to as shown in Figure 4, the power management controller 603 is connected with the solar photovoltaic panel respectively 601 , the switching module 604 is connected to the lithium battery pack 602 ; the switching module 604 can also be connected to the solar photovoltaic panel 601 , and connected to the lithium battery pack 602 through the step-up chopper circuit module 605 .
其中,所述电源管理控制器603可以用于控制锂电池组的充放电,以及控制所述切换模块的切换。所述切换模块604,用于对电路进行切换,控制锂电池组602或太阳能光伏板601作为供电电源。所述升压斩波电路模块605,用于对所述锂电池组602的输出电压进行升压。Wherein, the power management controller 603 can be used to control the charging and discharging of the lithium battery pack, and control the switching of the switching module. The switching module 604 is used to switch the circuit and control the lithium battery pack 602 or the solar photovoltaic panel 601 as the power supply. The boost chopper circuit module 605 is used to boost the output voltage of the lithium battery pack 602 .
在本实施例的另一优选方案中,所述电源管理装置6还可以还包括:控制电路模块。所述主控制器1,还可以用于向所述控制电路模块发送正转信号或反转信号。所述控制电路模块,用于根据所述正转信号或反转信号分别对所述卷帘机的正转继电器或反转继电器上电,以控制所述卷帘的收放。In another preferred solution of this embodiment, the power management device 6 may further include: a control circuit module. The main controller 1 can also be used to send a forward rotation signal or a reverse rotation signal to the control circuit module. The control circuit module is used to respectively power on the forward rotation relay or the reverse rotation relay of the roller blind machine according to the forward rotation signal or the reverse rotation signal, so as to control the retraction and retraction of the roller blind.
需要说明的是,在本实施例中,所述电源管理控制器603、切换模块604和升压斩波电路模块605和所述控制电路模块可以但不仅限于设置在一个硬件电路板上。所述电源管理装置6内部可以采用防倒充电路,通过热反馈对充电电流进行自动调节,以便在大功率操作或高环境温度条件下对芯片温度加以限制。最大充电电流可达1A,智能热调节功能可实现充电速率最大化智能再充电功能。理论设计上,3.7V/10000MAh的锂电池组,可在10小时内完全充满。It should be noted that, in this embodiment, the power management controller 603, the switch module 604, the step-up chopper circuit module 605 and the control circuit module can be, but not limited to, arranged on one hardware circuit board. The power management device 6 can use an anti-reverse charging circuit to automatically adjust the charging current through thermal feedback, so as to limit the chip temperature under high-power operation or high ambient temperature conditions. The maximum charging current can reach 1A, and the intelligent thermal regulation function can realize the intelligent recharging function to maximize the charging rate. In theoretical design, a 3.7V/10000MAh lithium battery pack can be fully charged within 10 hours.
此外,所述卷帘机控制系统还可以包括:至少一个标准通用接口,用于与第三方系统连接。例如,通过所述至少一个标准通用接口,并基于ZigBee模块覆盖的组网网络,所述卷帘机控制系统可以与园区已有的物联网系统等其他第三方系统进行融合对接,实现对卷帘机的无线远程智能控制。In addition, the roller blind machine control system may further include: at least one standard universal interface for connecting with a third-party system. For example, through the at least one standard universal interface and based on the networking network covered by the ZigBee module, the roller shutter machine control system can be integrated with other third-party systems such as the existing Internet of Things system in the park to realize the control of the roller shutter. Wireless remote intelligent control of the machine.
综上所述,本实施例公开了一种卷帘机控制系统,包括:主控制器、通信模块、角度传感器、限位保护装置和驱动控制器;主控制器分别与通信模块、角度传感器、限位保护装置和驱动控制器连接;所述角度传感器设置在卷帘机的悬臂上,用于采集所述悬臂的角度信息;所述通信模块,用于接收控制指令,并将所述控制指令发送至所述主控制器;所述主控制器,用于对所述角度传感器采集的角度信息进行分析确定所述卷帘机的卷帘的实时位置;以及,响应所述控制指令,并根据确定的所述卷帘的实时位置,向所述驱动控制器发送第一操作指令;所述驱动控制器,用于执行所述第一操作指令所指示的操作,控制所述卷帘的收放;所述限位保护装置,用于监测卷帘的位置,以及,当卷帘超过最高位置或最低位置时自动断电并报警。可见,在本实施例中,通过角度传感器可以获取到悬臂的角度信息,进而确定出卷帘的实时位置,根据卷帘的实时位置控制卷帘的收放距离,实现对卷帘的精确控制。In summary, this embodiment discloses a roller blind machine control system, including: a main controller, a communication module, an angle sensor, a limit protection device, and a drive controller; the main controller communicates with the communication module, the angle sensor, the The limit protection device is connected to the drive controller; the angle sensor is arranged on the cantilever of the roller shutter machine, and is used to collect the angle information of the cantilever; the communication module is used to receive control instructions, and transmit the control instructions sent to the main controller; the main controller is used to analyze the angle information collected by the angle sensor to determine the real-time position of the roller blind of the roller blind machine; and respond to the control instruction, and according to The determined real-time position of the roller blind sends a first operation instruction to the drive controller; the drive controller is configured to perform the operation indicated by the first operation instruction and control the retraction and retraction of the roller blind ; The limit protection device is used to monitor the position of the roller blind, and when the roller blind exceeds the highest position or the lowest position, it will automatically cut off the power and give an alarm. It can be seen that in this embodiment, the angle information of the cantilever can be obtained through the angle sensor, and then the real-time position of the roller blind can be determined, and the retractable distance of the roller blind can be controlled according to the real-time position of the roller blind, so as to realize precise control of the roller blind.
而且,本实施例可以通过限位保护装置对卷帘的收放进行保护,防止卷帘收放超过最大限制位置而造成的设备故障,提高了系统的可靠性和稳定性。Moreover, in this embodiment, the retraction and retraction of the roller blind can be protected by the limit protection device, preventing equipment failure caused by the retraction and retraction of the roller blind beyond the maximum limit position, and improving the reliability and stability of the system.
进一步地,本实施例在通信模块、角度传感器、限位保护装置和驱动控制器的基础上,可以通过主控制器完成对卷帘机的自动化智能管理,而且可以对多个卷帘机进行批量控制,大大提高了工作效率。Furthermore, in this embodiment, on the basis of the communication module, angle sensor, limit protection device and drive controller, the automatic intelligent management of the roller blind machine can be completed through the main controller, and batch processing of multiple roller blind machines can be performed. control, greatly improving work efficiency.
此外,本实施例可以使用780MHz频段的ZigBee模块进行组网,有效避开传统的433MHz和2.4GHz频段,干扰小、穿透性强,且具有更远的传输距离和更好的通信质量,增强了系统远程无线通信的稳定性和可靠性,而且本实施例还提供有至少一个用于与第三方系统连接的标准通用接口,可以通过所述至少一个标准通用接口与生产园区的物联网融合,完成控制端对园区的点对点控制和广播控制,控制范围广、控制模式灵活。In addition, this embodiment can use ZigBee modules in the 780MHz frequency band for networking, effectively avoiding the traditional 433MHz and 2.4GHz frequency bands, with low interference, strong penetration, and longer transmission distance and better communication quality. The stability and reliability of the remote wireless communication of the system are improved, and this embodiment also provides at least one standard common interface for connecting with a third-party system, which can be integrated with the Internet of Things in the production park through the at least one standard common interface, Complete the point-to-point control and broadcast control from the control terminal to the park, with a wide range of control and flexible control modes.
实施例三Embodiment three
基于上述系统实施例,本实施例公开了一种基于上述卷帘机控制系统的卷帘控制方法。在本实施例中,如上图1所述,所述卷帘机控制系统可以包括:主控制器1、通信模块2、角度传感器3、限位保护装置4和驱动控制器5。Based on the above system embodiment, this embodiment discloses a roller blind control method based on the above roller blind machine control system. In this embodiment, as shown in FIG. 1 above, the roller shutter machine control system may include: a main controller 1 , a communication module 2 , an angle sensor 3 , a limit protection device 4 and a drive controller 5 .
参照图5,示出了本发明实施例三中一种基于卷帘机控制系统的卷帘控制方法的步骤流程图。在本实施例中,所述基于卷帘机控制系统的卷帘控制方法可以包括:Referring to FIG. 5 , it shows a flow chart of the steps of a roller blind control method based on the roller blind machine control system in Embodiment 3 of the present invention. In this embodiment, the roller blind control method based on the roller blind machine control system may include:
步骤S502,将通过通信模块2接收到的控制指令发送至主控制器1,以及将通过安装在卷帘机的悬臂上的角度传感器3采集到的悬臂的角度信息发送至主控制器1。Step S502, sending the control command received through the communication module 2 to the main controller 1, and sending the angle information of the cantilever collected by the angle sensor 3 installed on the cantilever of the roller blind machine to the main controller 1.
步骤S504,通过所述主控制器1对所述角度信息进行分析、确定所述卷帘机的卷帘的实时位置,并,响应所述控制指令,根据确定的所述卷帘的实时位置,向所述驱动控制器1发送第一操作指令。Step S504, analyzing the angle information through the main controller 1, determining the real-time position of the roller blind of the roller shutter machine, and responding to the control instruction, according to the determined real-time position of the roller blind, Send the first operation instruction to the drive controller 1 .
步骤S506,通过驱动控制器5执行所述第一操作指令所指示的操作,控制所述卷帘的收放。Step S506, controlling the retraction and retraction of the roller blind by driving the controller 5 to execute the operation indicated by the first operation instruction.
步骤S508,通过限位保护装置4监测卷帘的位置,并当卷帘超过最高位置或最低位置时自动断电并报警。Step S508, monitor the position of the roller blind through the limit protection device 4, and automatically cut off the power and give an alarm when the roller blind exceeds the highest position or the lowest position.
综上所述,本实施例公开了一种卷帘机控制方法,将通过通信模块接收到的控制指令发送至主控制器,以及将通过安装在卷帘机的悬臂上的角度传感器采集到的悬臂的角度信息发送至主控制器;通过所述主控制器对所述角度信息进行分析确定所述卷帘机的卷帘的实时位置,并,响应所述控制指令,根据确定的所述卷帘的实时位置,向所述驱动控制器发送第一操作指令;通过驱动控制器执行所述第一操作指令所指示的操作,控制所述卷帘的收放;以及,通过限位保护装置监测卷帘的位置,并当卷帘超过最高位置或最低位置时自动断电并报警。可见,在本实施例中,通过角度传感器可以获取到悬臂的角度信息,进而确定出卷帘的实时位置,根据卷帘的实时位置控制卷帘的收放距离,实现对卷帘的精确控制。In summary, this embodiment discloses a method for controlling a roller blind machine, which sends the control commands received through the communication module to the main controller, and sends the control commands collected by the angle sensor installed on the cantilever of the roller blind machine to the main controller. The angle information of the cantilever is sent to the main controller; the main controller analyzes the angle information to determine the real-time position of the roller blind of the roller blind machine, and responds to the control instruction, according to the determined roller blind position. The real-time position of the curtain is sent to the drive controller to send the first operation command; the drive controller executes the operation indicated by the first operation command to control the retraction and retraction of the roller blind; The position of the roller shutter, and when the roller shutter exceeds the highest position or the lowest position, it will automatically cut off the power and give an alarm. It can be seen that in this embodiment, the angle information of the cantilever can be obtained through the angle sensor, and then the real-time position of the roller blind can be determined, and the retractable distance of the roller blind can be controlled according to the real-time position of the roller blind, so as to realize precise control of the roller blind.
而且,本实施例可以通过限位保护装置对卷帘的收放进行保护,防止卷帘收放超过最大限制位置而造成的设备故障,提高了系统的可靠性和稳定性。Moreover, in this embodiment, the retraction and retraction of the roller blind can be protected by the limit protection device, preventing equipment failure caused by the retraction and retraction of the roller blind beyond the maximum limit position, and improving the reliability and stability of the system.
进一步地,本实施例在通信模块、角度传感器、限位保护装置和驱动控制器的基础上,可以通过主控制器完成对卷帘机的自动化智能管理,而且可以对多个卷帘机进行批量控制,大大提高了工作效率。Furthermore, in this embodiment, on the basis of the communication module, angle sensor, limit protection device and drive controller, the automatic intelligent management of the roller blind machine can be completed through the main controller, and batch processing of multiple roller blind machines can be performed. control, greatly improving work efficiency.
实施例四Embodiment Four
在本实施例中,结合上述系统实施例对一种于卷帘机控制系统的卷帘控制方法进行详细说明。参照图6,示出了本发明实施例四中一种基于卷帘机控制系统的卷帘控制方法的步骤流程图。In this embodiment, a method for controlling a roller blind in a roller blind machine control system is described in detail in combination with the above system embodiments. Referring to FIG. 6 , it shows a flow chart of the steps of a roller blind control method based on the roller blind machine control system in Embodiment 4 of the present invention.
其中,所述基于卷帘机控制系统的卷帘控制方法可以包括:Wherein, the roller blind control method based on the roller blind machine control system may include:
步骤S602,将通过通信模块2接收到的控制指令发送至主控制器1,以及将通过安装在卷帘机的悬臂上的角度传感器3采集到的悬臂的角度信息发送至主控制器1。Step S602, send the control instruction received through the communication module 2 to the main controller 1, and send the angle information of the cantilever collected by the angle sensor 3 installed on the cantilever of the roller blind machine to the main controller 1.
步骤S604,通过所述主控制器1对所述角度信息进行分析、确定所述卷帘机的卷帘的实时位置,并,响应所述控制指令,根据确定的所述卷帘的实时位置,向所述驱动控制器5发送第一操作指令。Step S604, analyzing the angle information through the main controller 1, determining the real-time position of the roller blind of the roller blind machine, and responding to the control instruction, according to the determined real-time position of the roller blind, Send the first operation instruction to the drive controller 5 .
在本实施例中,主控制器1可以对所述角度信息进行滤波、融合处理,得到卷帘的实时位置,进而控制卷帘到达指定位置。例如,主控制器1可以对角度传感器(如,MPU6050型角度传感器)测得的欧拉角进行解算和滤波得到悬臂与地面的夹角,然后与安装时的初始角度及预置模型进行比对,进而得到卷帘的实时位置,In this embodiment, the main controller 1 can filter and fuse the angle information to obtain the real-time position of the roller blind, and then control the roller blind to reach a designated position. For example, the main controller 1 can solve and filter the Euler angle measured by the angle sensor (such as MPU6050 angle sensor) to obtain the angle between the cantilever and the ground, and then compare it with the initial angle during installation and the preset model. Yes, and then get the real-time position of the roller blind,
步骤S606,通过驱动控制器5执行所述第一操作指令所指示的操作,控制所述卷帘的收放。Step S606, controlling the retraction and retraction of the roller blind by driving the controller 5 to execute the operation indicated by the first operation instruction.
步骤S608,通过限位保护装置4监测卷帘的位置,并当卷帘超过最高位置或最低位置时自动断电并报警。Step S608, monitor the position of the roller blind through the limit protection device 4, and automatically cut off the power and give an alarm when the roller blind exceeds the highest position or the lowest position.
在本实施例中,所述步骤S608具体可以包括:In this embodiment, the step S608 may specifically include:
子步骤S6082,通过至少一个霍尔接近开关对设置在所述卷帘的最高位置处和最低位置处的第一永磁体401和第二永磁体402进行监测,并向所述主控制器1上报监测信号。Sub-step S6082, monitor the first permanent magnet 401 and the second permanent magnet 402 arranged at the highest position and the lowest position of the roller blind through at least one Hall proximity switch, and report to the main controller 1 monitor signal.
子步骤S6084,通过所述主控制器1对所述监测信号进行分析,判断所述卷帘是否到达最高位置或最低位置,以及,在确定所述卷帘到达最高或最低位置时,向所述驱动控制器5发送第二操作指令。In sub-step S6084, the main controller 1 analyzes the monitoring signal to determine whether the roller blind has reached the highest position or the lowest position, and when it is determined that the roller blind has reached the highest or lowest position, send the The drive controller 5 sends the second operation instruction.
子步骤S6086,通过驱动控制器5执行所述第二操作指令所指示的操作;其中,所述第二操作指令所指示的操作包括如下操作中的至少一种:控制所述卷帘正转、反转和断电。Sub-step S6086, execute the operation indicated by the second operation instruction through the drive controller 5; wherein, the operation indicated by the second operation instruction includes at least one of the following operations: controlling the roller blind to rotate forward, reverse and power down.
在本实施例的一优选方案中,所述方法还包括:In a preferred version of this embodiment, the method also includes:
步骤S610,通过电源管理装置6向所述主控制器1、通信模块2、角度传感器3、限位保护装置4和驱动控制器5供电。Step S610 , supplying power to the main controller 1 , communication module 2 , angle sensor 3 , limit protection device 4 and drive controller 5 through the power management device 6 .
需要说明的是,所述步骤S610与上述步骤S602-步骤S608之间没有必然的先后顺序,一般地,所述步骤S610可以与步骤S602-步骤S608任意一个或多个步骤并行执行,本实施例对此不作限制。It should be noted that there is no necessary sequence between the step S610 and the above step S602-step S608. Generally, the step S610 can be executed in parallel with any one or more steps of the step S602-step S608. In this embodiment There is no limit to this.
一优选地,所述步骤S610具体可以包括:通过切换模块604将电路切换为太阳能光伏板601供电,将所述太阳能光伏板601产生的电能分别输出至所述主控制器1、通信模块2、角度传感器3、限位保护装置4和驱动控制器5,以及,锂电池组602;并通过电源管理控制器603控制锂电池组602的充电。或,通过切换模块604,将电路切换为锂电池组602供电,通过电源管理控制器603控制锂电池组602的放电,并,通过升压斩波电路模块605对所述锂电池组602的输出电压进行升压后输出至所述主控制器1、通信模块2、角度传感器3、限位保护装置4和驱动控制器5。Preferably, the step S610 may specifically include: switching the circuit to power the solar photovoltaic panel 601 through the switching module 604, and outputting the electric energy generated by the solar photovoltaic panel 601 to the main controller 1, the communication module 2, the The angle sensor 3 , the limit protection device 4 and the drive controller 5 , and the lithium battery pack 602 ; and the charging of the lithium battery pack 602 is controlled by the power management controller 603 . Or, switch the circuit to the lithium battery pack 602 to supply power through the switching module 604, control the discharge of the lithium battery pack 602 through the power management controller 603, and output the lithium battery pack 602 through the step-up chopper circuit module 605 The voltage is boosted and then output to the main controller 1 , communication module 2 , angle sensor 3 , limit protection device 4 and drive controller 5 .
在本实施例中,可以使用太阳能光伏板601将太阳能转换为电能,所述电源管理控制器603可以根据外界的光照强度来控制切换模块604的切换,所述切换模块604可以实现电路在太阳能光伏板601与锂电池组602之间的切换。例如,在外界光照强度满足设定光照强度要求时,则可以通过所述电源管理控制器603控制所述切换模块604将电路切换至太阳能光伏板601供电,所述太阳能光伏板601转换得到的电能一部分用于供给所述卷帘机控制系统中各个装置(模块)的正常工作,另一部分则可以用于所述锂电池组602的充电。当外界光照强度不满足设定光照强度要求时,则可以通过所述电源管理控制器603控制所述切换模块604将电路切换至锂电池组602供电。其中,可以通过升压斩波电路模块605将锂电池组602释放的电压转换为满足要求的工作电压。In this embodiment, the solar photovoltaic panel 601 can be used to convert solar energy into electrical energy, and the power management controller 603 can control the switching of the switching module 604 according to the light intensity of the outside world. Switching between board 601 and lithium battery pack 602. For example, when the external light intensity meets the set light intensity requirements, the power management controller 603 can control the switching module 604 to switch the circuit to the solar photovoltaic panel 601 for power supply, and the electric energy converted by the solar photovoltaic panel 601 One part is used to supply the normal operation of each device (module) in the shutter machine control system, and the other part can be used for charging the lithium battery pack 602 . When the external light intensity does not meet the set light intensity requirement, the power management controller 603 can control the switching module 604 to switch the circuit to the lithium battery pack 602 for power supply. Wherein, the voltage released by the lithium battery pack 602 can be converted into a working voltage that meets the requirements by the step-up chopper circuit module 605 .
另一优选地,,所述步骤S610还可以包括:通过所述主控制器1向控制电路模块发送正转信号或反转信号;通过所述控制电路模块响应所述正转信号或反转信号,分别对所述卷帘机的正转继电器或反转继电器上电,控制所述卷帘的收放。Alternatively, the step S610 may further include: sending a forward rotation signal or a reverse rotation signal to the control circuit module through the main controller 1; responding to the forward rotation signal or the reverse rotation signal through the control circuit module , respectively energizing the forward rotation relay or the reverse rotation relay of the roller blind machine to control the retraction and retraction of the roller blind.
在本实施例中,可以在主控制器1控制主板给出高电位(如,3.3V)的正转信号时,驱动光耦,正转继电器上电,使得卷帘机正转。在主控制器1控制主板给出高电位的反转信号时,驱动光耦,反转继电器上电,使得卷帘机反转。不给信号时,则处于断电状态。In this embodiment, when the main controller 1 controls the main board to give a high-potential (for example, 3.3V) forward rotation signal, the optocoupler is driven, and the forward rotation relay is powered on, so that the roller blind machine rotates forward. When the main controller 1 controls the main board to give a high-potential inversion signal, it drives the optocoupler, and the inversion relay is powered on, so that the roller blind machine inverts. When no signal is given, it is in a power-off state.
综上所述,本实施例公开了一种卷帘机控制方法,将通过通信模块接收到的控制指令发送至主控制器,以及将通过安装在卷帘机的悬臂上的角度传感器采集到的悬臂的角度信息发送至主控制器;通过所述主控制器对所述角度信息进行分析确定所述卷帘机的卷帘的实时位置,并,响应所述控制指令,根据确定的所述卷帘的实时位置,向所述驱动控制器发送第一操作指令;通过驱动控制器执行所述第一操作指令所指示的操作,控制所述卷帘的收放;以及,通过限位保护装置监测卷帘的位置,并当卷帘超过最高位置或最低位置时自动断电并报警。可见,在本实施例中,通过角度传感器可以获取到悬臂的角度信息,进而确定出卷帘的实时位置,根据卷帘的实时位置控制卷帘的收放距离,实现对卷帘的精确控制。In summary, this embodiment discloses a method for controlling a roller blind machine, which sends the control commands received through the communication module to the main controller, and sends the control commands collected by the angle sensor installed on the cantilever of the roller blind machine to the main controller. The angle information of the cantilever is sent to the main controller; the main controller analyzes the angle information to determine the real-time position of the roller blind of the roller blind machine, and responds to the control instruction, according to the determined roller blind position. The real-time position of the curtain is sent to the drive controller to send the first operation command; the drive controller executes the operation indicated by the first operation command to control the retraction and retraction of the roller blind; The position of the roller shutter, and when the roller shutter exceeds the highest position or the lowest position, it will automatically cut off the power and give an alarm. It can be seen that in this embodiment, the angle information of the cantilever can be obtained through the angle sensor, and then the real-time position of the roller blind can be determined, and the retractable distance of the roller blind can be controlled according to the real-time position of the roller blind, so as to realize precise control of the roller blind.
而且,本实施例可以通过限位保护装置对卷帘的收放进行保护,防止卷帘收放超过最大限制位置而造成的设备故障,提高了系统的可靠性和稳定性。Moreover, in this embodiment, the retraction and retraction of the roller blind can be protected by the limit protection device, preventing equipment failure caused by the retraction and retraction of the roller blind beyond the maximum limit position, and improving the reliability and stability of the system.
进一步地,本实施例在通信模块、角度传感器、限位保护装置和驱动控制器的基础上,可以通过主控制器完成对卷帘机的自动化智能管理,而且可以对多个卷帘机进行批量控制,大大提高了工作效率。Furthermore, in this embodiment, on the basis of the communication module, angle sensor, limit protection device and drive controller, the automatic intelligent management of the roller blind machine can be completed through the main controller, and batch processing of multiple roller blind machines can be performed. control, greatly improving work efficiency.
此外,本实施例可以使用780MHz频段的ZigBee模块进行组网,有效避开传统的433MHz和2.4GHz频段,干扰小、穿透性强,且具有更远的传输距离和更好的通信质量,增强了系统远程无线通信的稳定性和可靠性,而且本实施例还提供有至少一个用于与第三方系统连接的标准通用接口,可以通过所述至少一个标准通用接口与生产园区的物联网融合,完成控制端对园区的点对点控制和广播控制,控制范围广、控制模式灵活。In addition, this embodiment can use ZigBee modules in the 780MHz frequency band for networking, effectively avoiding the traditional 433MHz and 2.4GHz frequency bands, with low interference, strong penetration, and longer transmission distance and better communication quality. The stability and reliability of the remote wireless communication of the system are improved, and this embodiment also provides at least one standard common interface for connecting with a third-party system, which can be integrated with the Internet of Things in the production park through the at least one standard common interface, Complete the point-to-point control and broadcast control from the control terminal to the park, with a wide range of control and flexible control modes.
需要说明的是,对于方法实施例的说明,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明所必需的。It should be noted that, for the description of the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because Certain steps may be performed in other orders or simultaneously in accordance with the present invention. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the present invention.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510615431.3A CN105223846A (en) | 2015-09-24 | 2015-09-24 | A kind of shutter control system and roller shutter control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510615431.3A CN105223846A (en) | 2015-09-24 | 2015-09-24 | A kind of shutter control system and roller shutter control method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN105223846A true CN105223846A (en) | 2016-01-06 |
Family
ID=54992882
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510615431.3A Pending CN105223846A (en) | 2015-09-24 | 2015-09-24 | A kind of shutter control system and roller shutter control method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105223846A (en) |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106857106A (en) * | 2017-03-13 | 2017-06-20 | 钟浪雅 | A kind of special solar power supply type intelligent greenhouse roller of agricultural production |
| CN106912326A (en) * | 2017-04-07 | 2017-07-04 | 大连英力斯特机电设备有限公司 | Greenhouse roller remote control and protection system |
| CN107677230A (en) * | 2017-10-17 | 2018-02-09 | 中国农业大学 | A kind of method for detecting greenhouse booth face aperture |
| CN108052126A (en) * | 2018-01-04 | 2018-05-18 | 广州海睿信息科技有限公司 | The greenhouse roller intelligence control system and method for a kind of Multi-sensor Fusion |
| CN108814538A (en) * | 2018-04-10 | 2018-11-16 | 上海交通大学 | The noninvasive diagnosis and treatment gastrointestinal robot of position limitation protection formula |
| CN108915570A (en) * | 2018-07-10 | 2018-11-30 | 浙江摩根智能技术有限公司 | A kind of system and method that control roller shutter is synchronous |
| CN111810041A (en) * | 2020-05-28 | 2020-10-23 | 广东奥科伟业科技发展有限公司 | Windproof rolling curtain system and control method thereof |
| CN115933446A (en) * | 2021-09-23 | 2023-04-07 | 广州荷德曼农业科技有限公司 | A livestock farm roller shutter controller |
| CN119673050A (en) * | 2024-12-27 | 2025-03-21 | 广东电网有限责任公司 | A rolling curtain sign centralized control system and method for a transformer substation terminal screen |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN203217476U (en) * | 2013-04-26 | 2013-09-25 | 深圳市微腾创科技有限公司 | Solar power source for laptop |
| CN103926851A (en) * | 2014-04-15 | 2014-07-16 | 天津雍德农业科技有限公司 | Greenhouse roller blind control system and working method thereof |
| CN203933138U (en) * | 2014-05-08 | 2014-11-05 | 中南大学 | A kind of new type solar energy bimodulus electric supply installation for WSNs sensor node |
| CN205003482U (en) * | 2015-09-24 | 2016-01-27 | 中北大学 | Roll up curtain machine control system |
-
2015
- 2015-09-24 CN CN201510615431.3A patent/CN105223846A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN203217476U (en) * | 2013-04-26 | 2013-09-25 | 深圳市微腾创科技有限公司 | Solar power source for laptop |
| CN103926851A (en) * | 2014-04-15 | 2014-07-16 | 天津雍德农业科技有限公司 | Greenhouse roller blind control system and working method thereof |
| CN203933138U (en) * | 2014-05-08 | 2014-11-05 | 中南大学 | A kind of new type solar energy bimodulus electric supply installation for WSNs sensor node |
| CN205003482U (en) * | 2015-09-24 | 2016-01-27 | 中北大学 | Roll up curtain machine control system |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106857106A (en) * | 2017-03-13 | 2017-06-20 | 钟浪雅 | A kind of special solar power supply type intelligent greenhouse roller of agricultural production |
| CN106912326A (en) * | 2017-04-07 | 2017-07-04 | 大连英力斯特机电设备有限公司 | Greenhouse roller remote control and protection system |
| CN107677230A (en) * | 2017-10-17 | 2018-02-09 | 中国农业大学 | A kind of method for detecting greenhouse booth face aperture |
| CN108052126A (en) * | 2018-01-04 | 2018-05-18 | 广州海睿信息科技有限公司 | The greenhouse roller intelligence control system and method for a kind of Multi-sensor Fusion |
| CN108814538A (en) * | 2018-04-10 | 2018-11-16 | 上海交通大学 | The noninvasive diagnosis and treatment gastrointestinal robot of position limitation protection formula |
| CN108915570A (en) * | 2018-07-10 | 2018-11-30 | 浙江摩根智能技术有限公司 | A kind of system and method that control roller shutter is synchronous |
| CN111810041A (en) * | 2020-05-28 | 2020-10-23 | 广东奥科伟业科技发展有限公司 | Windproof rolling curtain system and control method thereof |
| CN115933446A (en) * | 2021-09-23 | 2023-04-07 | 广州荷德曼农业科技有限公司 | A livestock farm roller shutter controller |
| CN119673050A (en) * | 2024-12-27 | 2025-03-21 | 广东电网有限责任公司 | A rolling curtain sign centralized control system and method for a transformer substation terminal screen |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105223846A (en) | A kind of shutter control system and roller shutter control method | |
| CN108010260A (en) | A kind of anti-bird pest monitoring and warning system of power transmission line intelligent and its method of work | |
| CN204349949U (en) | A kind of air conditioner and low standby power loss circuit thereof | |
| CN108880468A (en) | A kind of distributed photovoltaic power generation intelligent monitor system and its monitoring method | |
| CN205003482U (en) | Roll up curtain machine control system | |
| CN105262193A (en) | Solar power supply system used for expressway video monitoring | |
| CN203377513U (en) | Frequency conversion control cabinet automatically adjusting temperature | |
| CN109584517A (en) | A kind of Multifunctional inserting holder assembly based on multi-signal collection analysis | |
| CN108777049A (en) | A kind of animal alarm system for substation | |
| CN110444827B (en) | A kind of charging control method and solar photovoltaic system based on MPPT | |
| CN203135582U (en) | Outdoor power distribution equipment remote monitoring device | |
| CN109470825B (en) | Remote power supply low-power consumption methane sensor | |
| CN110649522B (en) | A remote controlled live wire stripping device | |
| CN212279631U (en) | Active ultrasonic expelling generator | |
| CN110535237B (en) | Synchronous monitoring equipment and method | |
| CN210901128U (en) | Remote transmission type bird repeller | |
| CN202632514U (en) | Oil well working motor control system based on remote terminal unit (RTU) device | |
| CN210456849U (en) | Cloud intelligent control film rolling system | |
| CN114678969A (en) | On-line monitoring equipment energy supply device based on optical fiber multi-point energy transmission | |
| CN208026313U (en) | A kind of temperature and humidity monitoring system based on narrow band communication | |
| CN206022942U (en) | Oil well intelligent electric power is with control device | |
| CN114498253B (en) | A Miniaturized Distributed Laser Security System | |
| CN206115287U (en) | Intelligent sunshade control system of multichannel | |
| CN202997517U (en) | Mine terminal motor safety monitoring device | |
| CN216898828U (en) | Wireless stay wire displacement meter |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160106 |
|
| RJ01 | Rejection of invention patent application after publication |