Method for controlling the movement of an electric curtain to flush, control device and electric curtain system
Patent Information
- Application Number
- CN202610959510.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-30
- Publication Date
- 2026-09-25
AI Technical Summary
[0003]然而,上述主机轮询的控制方案需要主机进行整个齐平运动的控制和调度,高度依赖主机性能和工作可靠性,因此容易存在故障风险、控制效率问题和通讯效率问题
本发明电动窗帘系统的电动窗帘可以发送自身设备信息并接收外部设备信息,并根据上述自身设备信息和外部设备信息确定离目标位置最远的基准设备,通过上述基准设备的基准设备信息可以形成既定运行方案。即,电动窗帘系统中的每个电动窗帘通过与其他电动窗帘之间的交互均可以获得基于齐平控制的既定运行方案,避免了通过主机轮询实现齐平控制而导致的故障风险、控制效率问题和通讯效率问题,提升了系统运行可靠性和运行效率。
Smart Images

Figure CN122805103A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electric curtain technology, and in particular to a method, control device, and electric curtain for controlling the movement of electric curtains to be flush. Background Technology
[0002] In curtain alignment control systems based on relevant technologies, a master polling method is widely used to achieve alignment control of each curtain device in the system. That is, the curtain devices in an electric curtain system include a master unit and slave units. The master unit interacts with each slave unit to obtain slave unit information and achieves alignment control of itself and each slave unit.
[0003] However, the aforementioned host-polling control scheme requires the host to control and schedule the entire parallel motion, making it highly dependent on host performance and reliability. Therefore, it is prone to failure risks, control efficiency issues, and communication efficiency problems. For example, if the host or the cables between the host and slave devices fail, all slave devices will lose control, potentially paralyzing the electric curtain system. Furthermore, when the number of slave devices increases or the data volume grows, the slave devices cannot actively send data and can only wait for the host to poll them. The slave devices cannot receive timely responses, and the host can easily become the system's speed bottleneck. In addition, the host's hardware interface limits the number of slave devices that can be connected, and the dynamic network management of the slave devices is also very complex. Summary of the Invention
[0004] To overcome the problems existing in related technologies, embodiments of the present invention provide a method, control device and electric curtain for controlling the movement of electric curtains, which solves the problem of controlling the alignment of electric curtains using a hostless interactive method.
[0005] According to a first aspect of the present invention, a method for controlling the alignment of curtain movement is provided, applied to an electric curtain system comprising at least two electric curtains; the method includes: Upon receiving a curtain alignment command, the device controls itself to stop and its own time to zero according to the curtain alignment command. Send its own device information and receive external device information of other electric curtains in the electric curtain system. Based on its own device information and the external device information, it determines the reference device in the electric curtain that is farthest from the target position. The reference device information is obtained to form a predetermined operation plan based on the reference device information; wherein, the self-device information, the external device information and the reference device information respectively include device location, device identifier and device time.
[0006] Optionally, determining the reference device furthest from the target position among the motorized curtains based on the device's own information and the external device information includes: The distance between the self-device location in the self-device information and the target location is compared with the maximum distance between the external device location and the target location in each external device information, and a reference device is selected from the pre-selected devices corresponding to the maximum distance.
[0007] Optionally, selecting a reference device from the pre-selected devices corresponding to the maximum distance includes: The maximum value of the device identifiers in the pre-selected devices is compared, and the pre-selected device corresponding to the maximum value of the identifier is determined as the reference device.
[0008] Optionally, the method further includes: recording the reference device time when the reference device is determined as a first time, and determining the second time after the first time elapses for a second preset time as the start time.
[0009] Optionally, the second preset time includes 2 seconds.
[0010] Optionally, obtaining the reference device information of the reference device to form a predetermined operating plan based on the reference device information includes: Obtain the reference device time from the reference device information of the reference device, and replace the device's own time with the reference device time.
[0011] Optionally, the method further includes: Get startup time; Determine whether the device's own time has reached the start time. If not, continue sending the device's own information while the device is the reference device. If so, stop sending the device's own information.
[0012] Optionally, after determining the reference device furthest from the target position among the motorized curtains based on the device information and the external device information, the method further includes: Determine whether the device itself is a reference device. If so, continuously send the device information a preset number of times at a first preset time interval; otherwise, stop sending the device information.
[0013] According to a second aspect of the present invention, an electric curtain motion alignment control device is provided, applied to an electric curtain system comprising at least two electric curtains; the device comprises: The first processing unit receives the curtain alignment command and controls its own equipment to stop and its own time to zero according to the curtain alignment command. The second processing unit sends its own device information and receives external device information of other electric curtains in the electric curtain system. Based on its own device information and the external device information, it determines the reference device in the electric curtain that is farthest from the target position. The third processing unit acquires the reference device information of the reference device to form a predetermined operation plan based on the reference device information; wherein, the self-device information, the external device information and the reference device information respectively include device location, device identifier and device time.
[0014] According to a third aspect of the present invention, an electric curtain system is provided, the electric curtain system including at least two electric curtains, each electric curtain including a controller; the control module of the controller is configured to execute the motion alignment control method of any one of the electric curtains described in the first aspect.
[0015] The technical solutions provided by the embodiments of the present invention may include the following beneficial effects: The electric curtain system of this invention allows the electric curtains to send their own device information and receive information from external devices. Based on this information, it determines the reference device furthest from the target location. The reference device information is then used to formulate a predetermined operating plan. In other words, each electric curtain in the system can obtain a predetermined operating plan based on flush control through interaction with other electric curtains. This avoids the failure risks, control efficiency problems, and communication efficiency problems caused by flush control achieved through host polling, thus improving system reliability and operating efficiency. Attached Figure Description
[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0017] Figure 1 This is a flowchart of an exemplary embodiment of the present invention for a method of controlling the flushing of an electric curtain; Figure 2 This is a flowchart of an electric curtain flush control method according to another exemplary embodiment of the present invention; Figure 3 This is a flowchart of an electric curtain flush control method in another exemplary embodiment of the present invention; Figure 4 This is a structural block diagram of an electric curtain flush control device according to an exemplary embodiment of the present invention; Figure 5 This is a structural block diagram of an electric curtain flush control device according to another exemplary embodiment of the present invention; Figure 6This is a structural block diagram of an electric curtain flush control device in another exemplary embodiment of the present invention.
[0018] In the picture, First processing unit 41; second processing unit 42; third processing unit 43; fourth processing unit 51; acquisition unit 61; fifth processing unit 62. Detailed Implementation
[0019] The accompanying drawings are for illustrative purposes only and are schematic diagrams, not actual images, and should not be construed as limiting the invention. It is understandable that some well-known structures and their descriptions may be omitted in the drawings for those skilled in the art.
[0020] An electric curtain system typically includes multiple electric curtains. Alignment control refers to the process where multiple electric curtains arrive at their alignment positions sequentially after receiving an alignment command, and then move synchronously towards the target position. The device position of an electric curtain can refer to its current bottom position. The target position can refer to the final destination that each electric curtain aims to reach. The alignment position can be a user-defined position, a position calculated by the electric curtain system based on the current positions of each electric curtain upon receiving the alignment command, or the current position of the electric curtain closest to the target position upon receiving the alignment command. Device time can be obtained through a timer within the electric curtain device, representing the time elapsed since the timer resets to zero. The device identifier can be a string or identifier used to uniquely identify the hardware device, enabling device identification.
[0021] This invention provides a method for controlling the alignment of curtain movement, applicable to electric curtains in an electric curtain system, wherein the electric curtain system includes at least two electric curtains. Figure 1 This is a flowchart of an exemplary embodiment of the present invention, showing a method for controlling the flush operation of an electric curtain. Figure 1 As shown, the above method can be implemented through the following steps: In step S101, a curtain alignment command is received, and the device is stopped and its time is reset to zero according to the curtain alignment command.
[0022] In step S102, the device sends its own device information and receives external device information from other electric curtains in the electric curtain system. Based on its own device information and external device information, the reference device in the electric curtain that is farthest from the target position is determined.
[0023] In step S103, reference device information of the reference device is obtained to form a predetermined operation plan based on the reference device information. The self-device information, external device information, and reference device information include device location, device identifier, and device time, respectively.
[0024] The aforementioned predetermined operating plan can refer to the agreed operating plan of the electric curtain equipment, which assumes that it starts from the initial position of the reference equipment according to the agreed start time and given speed.
[0025] The motorized curtain system can send its own device information and receive information from external devices. Based on this information, it determines the reference device furthest from the target location. The reference device's information then forms a predetermined operating plan. In other words, each motorized curtain in the system can obtain a predetermined operating plan based on flush control through interaction with other motorized curtains. This avoids the failure risks, control efficiency issues, and communication efficiency problems caused by master polling for flush control, thus improving system reliability and efficiency. The use of a masterless distributed communication scheme eliminates the need for a designated master and avoids the common drawbacks of master-slave communication architectures. Employing a predetermined operating plan instead of real-time synchronization of other devices' location information significantly reduces communication pressure, lowers communication load, eliminates process communication failures, and enhances system fault tolerance.
[0026] For example, in a system with a travel distance of 100 and a speed of 5, there are two curtains, A and B. Curtain A starts at position 20, and curtain B starts at position 30. When a leveling command is received, assuming the target position is 100, for curtain A, upon receiving information from curtain B, it finds that curtain B is not far from its target position, so it saves its own device as the reference device and forms a predetermined operating plan based on the reference device's reference device information. For curtain B, upon receiving information from curtain A, it finds that curtain A is farther from its target position, so it saves curtain A as the reference device, updates curtain A's device time to its own device time, and forms a predetermined operating plan based on the reference device's reference device information.
[0027] For example: If there are 3 devices, and devices 1, 2 and 3 receive the alignment command one after another at intervals of 100ms, when device 2 is the farthest from the target, device 1's time is 100ms ahead. Then, when the current time of device 2 is synchronized with the device times of devices 1 and 3 as the base time, the device time of device 1 can be 0+100ms, and the device time of device 3 can be 0+200-100ms, which is actually a synchronous replacement.
[0028] It should be noted that if a stop command is received or the electric curtain has reached the target position during the above process, the system needs to be reset to its initial state and wait for a new round of leveling commands.
[0029] In some embodiments, determining the reference device farthest from the target position in the electric curtain based on its own device information and external device information can be achieved by comparing the distance between its own device position and the target position in its own device information, and the maximum distance between the external device positions and the target position in the external device information, and selecting the reference device from the pre-selected devices corresponding to the maximum distance. Employing a masterless interactive communication scheme, the electric curtain devices can send and receive device information, avoiding the common drawbacks of master-slave communication architectures. After obtaining the device information of each electric curtain device after receiving the alignment command, there is no need to synchronize the position information of other devices in real time to form a predetermined operating plan, greatly reducing communication pressure, lowering communication load, eliminating process communication failures, and enhancing system fault tolerance.
[0030] In the above embodiments, selecting a reference device from the pre-selected devices corresponding to the maximum distance can be achieved by comparing the maximum value of the device identifiers of the pre-selected devices and determining the pre-selected device corresponding to the maximum value of the identifier as the reference device. When external device information from other devices is received, comparing the location with the target distance may reveal a situation where the number of pre-selected devices that are farthest from the target location and are identical is greater than one. In such cases, the device identifiers of the electric curtain devices can be further compared, and the device with the larger device identifier can be saved as the reference device.
[0031] In some embodiments, the above-described curtain movement alignment control method may further include: recording the reference device time when the reference device is determined as a first time, and determining the second time after the first time has elapsed for a second preset time as the start time. Figure 2 This is a flowchart of an electric curtain flush control method according to another exemplary embodiment of the present invention, as shown below. Figure 2 As shown, the above method can be implemented through the following steps: In step S201, a curtain alignment command is received, and the device is stopped and its time is reset to zero according to the curtain alignment command.
[0032] In step S202, the device sends its own device information and receives external device information from other electric curtains in the electric curtain system. Based on its own device information and external device information, the reference device in the electric curtain that is farthest from the target position is determined.
[0033] In step S203, reference device information of the reference device is obtained to form a predetermined operation plan based on the reference device information. The self-device information, external device information, and reference device information include device location, device identifier, and device time, respectively.
[0034] In step S204, the reference device time when the reference device is determined is recorded as the first time, and the second time after the first time and a second preset time is determined as the start time.
[0035] When a device receives a leveling command, it can be stopped first, and its time reset to zero. Typically, the device is initially in a static state. Recording the time of the reference device at the time of its establishment as the first time, and using the second time after a certain delay as the start time, ensures that all devices receive the leveling command, enabling the reference device to send its current reference device time (i.e., zeroing time, reference device position, and reference device identifier) to other devices.
[0036] The second preset time includes 2 seconds to ensure that all devices receive the alignment command and reference device information, while improving information exchange efficiency. In other embodiments, the second preset time can also be other values, which can be set according to specific needs.
[0037] In some embodiments, obtaining reference device information of a reference device to form a predetermined operating scheme based on the reference device information includes: obtaining the reference device time in the reference device information of the reference device and replacing the device's own time with the reference device time.
[0038] After establishing a reference device, each motorized curtain device can synchronize its time with the reference device, ensuring all motorized curtains operate at the same time. This allows the device's position at each point in time to be calculated, thus determining the activation timing of the motorized curtain device. For example, if the device hasn't reached its operational position at the current time, it can remain stationary and only begin operation when the target position is reached. Alternatively, it can begin operation once the calculated time based on the distance difference from the reference device reaches the operational time.
[0039] Furthermore, the curtain movement alignment control method may also include: obtaining the start time, determining whether the time of its own device has reached the start time, if not, continuously sending its own device information when its own device is the reference device, and if so, stopping sending its own device information. Figure 3 This is a flowchart of an electric curtain flush control method in another exemplary embodiment of the present invention, as shown below. Figure 3 As shown, the above method can be implemented through the following steps: In step S301, a curtain alignment command is received, and the device is stopped and its time is reset to zero according to the curtain alignment command.
[0040] In step S302, the device sends its own device information and receives external device information from other electric curtains in the electric curtain system. Based on its own device information and external device information, the reference device in the electric curtain that is farthest from the target position is determined.
[0041] In step S303, reference device information of the reference device is obtained to form a predetermined operation plan based on the reference device information. The self-device information, external device information, and reference device information respectively include device location, device identifier, and device time.
[0042] In step S304, the startup time is obtained.
[0043] In step S305, it is determined whether the device's own time has reached the start time. If not, the device's own information is continuously sent while the device itself is the reference device. If so, the sending of the device's own information is stopped.
[0044] Once the startup time is reached, it stops sending its own device information, which greatly reduces communication pressure, lowers communication load, eliminates process communication failures, and enhances system fault tolerance.
[0045] In other embodiments, after determining the reference device farthest from the target position among the motorized curtains based on its own device information and external device information, the method may further include determining whether its own device is the reference device. If so, it continuously sends its own device information a preset number of times at a first preset time interval; otherwise, it stops sending its own device information. After obtaining the device information of each motorized curtain device after receiving the alignment command, except for the reference device, other devices do not need to synchronize device information in real time to form a predetermined operating plan, which greatly reduces the communication pressure, lowers the communication load, eliminates process communication failures, and enhances the system fault tolerance.
[0046] In practice, data is sent immediately after the time is reset to zero, and then sent again after a certain interval. This process is repeated multiple times to ensure that each device receives the data.
[0047] The present invention further provides an electric curtain motion alignment control device, which is applied to an electric curtain system, the electric curtain system including at least two electric curtains. Figure 4 This is a structural block diagram of an electric curtain flush control device according to an exemplary embodiment of the present invention, as shown below. Figure 4 As shown, the aforementioned electric curtain movement alignment control device 40 may include: a first processing unit 41, a second processing unit 42, and a third processing unit 43. Wherein: The first processing unit 41 is configured to receive a curtain alignment command and control its own equipment to stop and its own time to zero according to the curtain alignment command.
[0048] The second processing unit 42 is configured to send its own device information and receive external device information of other electric curtains in the electric curtain system, and determine the reference device in the electric curtain that is farthest from the target position based on its own device information and external device information.
[0049] The third processing unit 43 is configured to acquire reference device information from the reference device to form a predetermined operating plan based on the reference device information. The self-device information, external device information, and reference device information include device location, device identifier, and device time, respectively.
[0050] Figure 5 This is a structural block diagram of an electric curtain flush control device according to another exemplary embodiment of the present invention, as shown below. Figure 5 As shown, the aforementioned electric curtain movement alignment control device 50 may include: a first processing unit 41, a second processing unit 42, a third processing unit 43, and a fourth processing unit 51. Wherein: The first processing unit is configured to receive a curtain alignment command and, based on the curtain alignment command, control its own equipment to stop and its own time to zero.
[0051] The second processing unit is configured to send its own device information and receive external device information from other electric curtains in the electric curtain system, and determine the reference device in the electric curtain that is farthest from the target position based on its own device information and external device information.
[0052] The third processing unit is configured to acquire reference device information from the reference device to form a predetermined operating plan based on the reference device information. The self-device information, external device information, and reference device information include device location, device identifier, and device time, respectively.
[0053] The fourth processing unit is configured to record the reference device time when the reference device is determined as the first time, and to determine the second time after the first time has elapsed for a second preset time as the start time.
[0054] Figure 6 This is a structural block diagram of an electric curtain flush control device according to another exemplary embodiment of the present invention, as shown below. Figure 6 As shown, the aforementioned electric curtain movement alignment control device 60 may include: a first processing unit 41, a second processing unit 42, a third processing unit 43, an acquisition unit 61, and a fifth processing unit 62. Wherein: The first processing unit 41 is configured to receive a curtain alignment command and control its own equipment to stop and its own time to zero according to the curtain alignment command.
[0055] The second processing unit 42 is configured to send its own device information and receive external device information of other electric curtains in the electric curtain system, and determine the reference device in the electric curtain that is farthest from the target position based on its own device information and external device information.
[0056] The third processing unit 43 is configured to acquire reference device information from the reference device to form a predetermined operating plan based on the reference device information. The self-device information, external device information, and reference device information include device location, device identifier, and device time, respectively.
[0057] The acquisition unit 61 is configured to acquire the startup time.
[0058] The fifth processing unit 62 is configured to determine whether its own device time has reached the start time. If not, it will continue to send its own device information when its own device is the base device. If it is, it will stop sending its own device information.
[0059] The technical effects of the above-described device embodiments have been described in the corresponding method embodiments, and therefore will not be repeated in the device embodiments.
[0060] The present invention further provides an electric curtain system, comprising at least two electric curtains, each electric curtain including a controller. The controller's control module is configured to execute the above-described electric curtain movement alignment control method.
[0061] The aforementioned motorized curtain system allows each curtain to send its own device information and receive information from external devices. Based on this information, it determines the reference device furthest from the target location. The reference device's information then forms a predetermined operating plan. In other words, each motorized curtain in the system can obtain a predetermined operating plan based on flush control through interaction with other motorized curtains. This avoids the failure risks, control efficiency issues, and communication efficiency problems caused by master polling for flush control, thus improving system reliability and efficiency. The use of a masterless distributed communication scheme eliminates the need for a designated master and avoids the common drawbacks of master-slave communication architectures. Employing a predetermined operating plan instead of real-time synchronization of other devices' location information significantly reduces communication pressure, lowers communication load, eliminates process communication failures, and enhances system fault tolerance.
[0062] It should be understood that this application is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of this application and include common knowledge or customary techniques in the art that are not disclosed in this invention.
Claims
1. A method for controlling the alignment of curtain movement, characterized in that, An electric curtain applied to an electric curtain system, the electric curtain system comprising at least two of the electric curtains; the method includes: Upon receiving a curtain alignment command, the device controls itself to stop and its own time to zero according to the curtain alignment command. Send its own device information and receive external device information of other electric curtains in the electric curtain system. Based on its own device information and the external device information, it determines the reference device in the electric curtain that is farthest from the target position. The reference device information is obtained to form a predetermined operation plan based on the reference device information; wherein, the self-device information, the external device information and the reference device information respectively include device location, device identifier and device time.
2. The method for controlling the flush movement of electric curtains according to claim 1, characterized in that, The step of determining the reference device farthest from the target position among the electric curtains based on the device's own information and the external device information includes: The distance between the self-device location in the self-device information and the target location is compared with the maximum distance between the external device location and the target location in each external device information, and a reference device is selected from the pre-selected devices corresponding to the maximum distance.
3. The method for controlling the flush movement of electric curtains according to claim 2, characterized in that, The step of selecting a reference device from the pre-selected devices corresponding to the maximum distance includes: The maximum value of the device identifiers in the pre-selected devices is compared, and the pre-selected device corresponding to the maximum value of the identifier is determined as the reference device.
4. The method for controlling the flush movement of electric curtains according to claim 1, characterized in that, The method further includes: recording the reference device time when the reference device is determined as the first time, and determining the second time after the first time has elapsed for a second preset time as the start time.
5. The method for controlling the flush movement of an electric curtain according to claim 4, characterized in that, The second preset time includes 2 seconds.
6. The method for controlling the flush movement of electric curtains according to claim 1, characterized in that, The step of acquiring the reference device information of the reference device to form a predetermined operating plan based on the reference device information includes: Obtain the reference device time from the reference device information of the reference device, and replace the device's own time with the reference device time.
7. The method for controlling the flush movement of an electric curtain according to claim 6, characterized in that, The method further includes: Get startup time; Determine whether the device's own time has reached the start time. If not, continue sending the device's own information while the device is the reference device. If so, stop sending the device's own information.
8. The curtain movement alignment control method according to claim 1, characterized in that, After determining the reference device furthest from the target position among the motorized curtains based on the device information and the external device information, the method further includes: Determine whether the device itself is a reference device. If so, continuously send the device information a preset number of times at a first preset time interval; otherwise, stop sending the device information.
9. A motorized curtain movement alignment control device, characterized in that, An electric curtain for use in an electric curtain system, the electric curtain system comprising at least two of the electric curtains; the device includes: The first processing unit receives the curtain alignment command and controls its own equipment to stop and its own time to zero according to the curtain alignment command. The second processing unit sends its own device information and receives external device information of other electric curtains in the electric curtain system. Based on its own device information and the external device information, it determines the reference device in the electric curtain that is farthest from the target position. The third processing unit acquires the reference device information of the reference device to form a predetermined operation plan based on the reference device information; wherein, the self-device information, the external device information and the reference device information respectively include device location, device identifier and device time.
10. An electric curtain system, characterized in that, The device includes at least two motorized curtains, each motorized curtain including a controller; the control module of the controller is configured to perform the motorized curtain motion alignment control method as described in any one of claims 1-8.