Control method and system of electric curtain, electronic equipment and program product
By controlling the rotation direction and speed of the fixed pulleys of the electric curtains and calculating the speed ratio, the position of the bottom beam is kept unchanged, thus solving the problem of bottom beam offset in suspended curtains and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- NINGBO DOOYA MECHANIC & ELECTRONICS TECH
- Filing Date
- 2026-02-03
- Publication Date
- 2026-05-05
AI Technical Summary
The bottom beam shifts position during the opening or closing of the suspended curtain, resulting in a poor user experience.
By controlling the rotation direction and speed of the first and second fixed pulleys, and calculating the speed ratio using the transmission ratio and the current radius of the roller blind shaft, the speed of the first and second fixed pulleys is dynamically adjusted so that the position of the bottom beam relative to the ground remains unchanged when the curtain is unfolded or retracted.
This design ensures that the height of the bottom beam remains constant during the opening or closing of the electric curtains, preventing the bottom beam from swaying and improving the user experience.
Smart Images

Figure CN121976743A_ABST
Abstract
Description
[0001] This disclosure claims priority to Chinese patent application No. 202511823810.1, filed on December 5, 2025, entitled "Control Method, System, Electronic Device and Program Product for Electric Curtains", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This disclosure relates to the field of curtain technology, and in particular to a control method, system, electronic device, and program product for an electric curtain. Background Technology
[0003] Roller blinds are a type of blind that uses a roller to roll the entire blind up and down to achieve functions such as blocking light and adjusting light. Because they are easy to operate, can easily adjust indoor light, and take up little space, they are suitable for various decorating styles and are therefore widely used in various office spaces and home designs.
[0004] To achieve the effect of allowing light to pass through the upper part of the roller blind while blocking the view from the lower part, the suspended blind (top-opening roller blind) was developed. It has two fixed pulleys on each side of the top of the window, and a traction rope passes around movable pulleys located at both ends of the roller blind shaft. A weighted bottom beam is installed at the bottom of the curtain fabric. By driving the rotation of the fixed pulleys, the roller blind shaft is raised / lowered, causing the curtain fabric on the shaft to unfold from the bottom to the top or retract from the top to the bottom under the action of the bottom beam.
[0005] However, in existing floating blinds, the bottom beam at the bottom of the blind will shift significantly as the roller blind shaft moves during the unfolding or retraction of the blind. For example, when the roller blind shaft moves upward, the bottom beam is also moved upward, and it is impossible to keep the bottom beam in place to truly achieve the floating effect, resulting in a poor user experience. Summary of the Invention
[0006] The technical problem to be solved by this disclosure is to overcome the defect in the prior art that the bottom beam of the floating curtain cannot be kept stationary during the unfolding or closing process to achieve a true floating effect, resulting in a poor user experience. The disclosure provides a control method, system, electronic device and program product for electric curtains.
[0007] This disclosure solves the above-mentioned technical problems through the following technical solution:
[0008] According to a first aspect of this disclosure, a control method for an electric curtain is provided. The electric curtain includes a first fixed pulley, a second fixed pulley, and a roller blind shaft with a movable pulley. A curtain fabric is connected to and wound around the roller blind shaft. A bottom beam is provided at the end of the curtain fabric. The movable pulley is located between the first fixed pulley and the second fixed pulley. The first fixed pulley and the second fixed pulley are linked together by a traction rope passing around the movable pulley. The control method includes:
[0009] The first rotation direction of the first fixed pulley and the second rotation direction of the second fixed pulley are determined based on control commands.
[0010] Obtain the transmission ratio between the first or second fixed pulley and the movable pulley, and the current radius of the roller shutter shaft;
[0011] Based on the current radius and the transmission ratio, determine the speed ratio between the first fixed pulley and the second fixed pulley;
[0012] The first rotational speed of the first fixed pulley and the second rotational speed of the second fixed pulley are determined according to the speed ratio.
[0013] The first fixed pulley is driven to rotate at the first speed and the first rotation direction, while the second fixed pulley is driven to rotate at the second speed and the second rotation direction, so that the roller blind shaft moves up and down, and the position of the bottom beam relative to the ground remains unchanged when the curtain is unfolded upward or retracted downward.
[0014] Optionally, the step of determining the first rotational speed of the first fixed pulley and the second rotational speed of the second fixed pulley based on the speed ratio includes:
[0015] The preset first rotational speed is obtained based on the control command;
[0016] The second rotational speed is determined based on the first rotational speed and the speed ratio.
[0017] Optionally, the step of obtaining the current radius of the roller blind shaft includes:
[0018] Obtain the initial radius of the roller blind shaft;
[0019] Obtain the current number of turns of the curtain fabric on the roller blind shaft and the thickness of the curtain fabric;
[0020] The current radius of the roller blind shaft is calculated based on the initial radius, the number of winding turns, and the thickness.
[0021] Optionally, the electric curtain includes a first motor and a second motor equipped with a travel detection device, wherein the first motor is used to drive the first fixed pulley and the second motor is used to drive the second fixed pulley;
[0022] The step of obtaining the current number of turns of the curtain fabric on the roller blind shaft includes:
[0023] The first stroke vector of the first motor and the second stroke vector of the second motor are obtained based on the stroke detection device.
[0024] The total stroke of the first fixed pulley and the second fixed pulley is determined based on the first stroke vector and the second stroke vector;
[0025] Based on the total stroke and the transmission ratio, the current number of turns of the curtain fabric wound on the roller blind shaft is determined.
[0026] Optionally, the first fixed pulley is located on the side away from the bottom beam, and the second fixed pulley is located on the side closer to the bottom beam;
[0027] The step of determining the first rotation direction of the first fixed pulley and the second rotation direction of the second fixed pulley based on control commands includes:
[0028] The third rotation direction of the roller shutter shaft is determined based on the control command;
[0029] In response to the third rotation direction being the upward unfolding of the curtain, it is determined that the first rotation direction is opposite to the third rotation direction, and the second rotation direction is the same as the third rotation direction;
[0030] or,
[0031] In response to the third rotation direction being the downward retraction of the curtain, it is determined that the first rotation direction is the same as the third rotation direction, and the second rotation direction is opposite to the third rotation direction.
[0032] Optionally, the step of determining the speed ratio between the first fixed pulley and the second fixed pulley based on the current radius and the transmission ratio includes:
[0033] Based on the angle value of the target traction rope segment intersecting with the vertical direction, the target traction rope segment is used to connect the first fixed pulley and the movable pulley;
[0034] The speed ratio between the first fixed pulley and the second fixed pulley is determined based on the transmission ratio, the angle value, and the current radius.
[0035] Optionally, the absolute value of the first rotational speed is greater than the absolute value of the second rotational speed;
[0036] And / or,
[0037] The radius of the second fixed pulley is the same as the radius of the first fixed pulley;
[0038] And / or,
[0039] The horizontal clearance width between the first fixed pulley and the second fixed pulley is equal to the diameter of the movable pulley;
[0040] And / or,
[0041] The radius of the movable pulley is greater than or equal to the radius of the first fixed pulley;
[0042] And / or,
[0043] The traction rope includes a beaded rope or a transmission belt;
[0044] And / or,
[0045] The first fixed pulley and the second fixed pulley are installed at the same height.
[0046] According to a second aspect of this disclosure, a control system for an electric curtain is provided. The electric curtain includes a first fixed pulley, a second fixed pulley, and a roller blind shaft with a movable pulley. A curtain fabric is connected to and wound around the roller blind shaft. A bottom beam is provided at the end of the curtain fabric. The movable pulley is located between the first fixed pulley and the second fixed pulley. The first fixed pulley and the second fixed pulley are linked together by a traction rope passing around the movable pulley. The control system includes an acquisition module, a determination module, and a drive module.
[0047] The acquisition module is used to determine the first rotation direction of the first fixed pulley and the second rotation direction of the second fixed pulley based on control commands;
[0048] The acquisition module is also used to acquire the transmission ratio between the first fixed pulley or the second fixed pulley and the movable pulley, as well as the current radius of the roller blind shaft;
[0049] The determining module is used to determine the speed ratio between the first fixed pulley and the second fixed pulley based on the current radius and the transmission ratio;
[0050] The determining module is further configured to determine the first rotational speed of the first fixed pulley and the second rotational speed of the second fixed pulley based on the speed ratio;
[0051] The drive module is used to drive the first fixed pulley to rotate at the first speed and the first rotation direction, and at the same time drive the second fixed pulley to rotate at the second speed and the second rotation direction, so that the roller blind shaft moves up and down, and the position of the bottom beam relative to the ground remains unchanged when the curtain is unfolded upward or retracted downward.
[0052] According to a third aspect of this disclosure, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and for running on the processor, wherein the processor executes the computer program to implement the control method for the electric curtains described in the first aspect of this disclosure.
[0053] According to a fourth aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the control method for the electric curtains described in the first aspect of this disclosure.
[0054] According to a fifth aspect of this disclosure, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the control method for the electric curtains described in the first aspect of this disclosure.
[0055] Based on common knowledge in the field, the above-mentioned preferred conditions can be combined arbitrarily to obtain various preferred embodiments of this disclosure.
[0056] The positive and progressive effects of this disclosure are as follows: Based on the unfolding or retracting of the electric curtain, the first rotation direction of the first fixed pulley and the second rotation direction of the second fixed pulley are determined. Furthermore, based on the transmission ratio between the fixed pulley and the movable pulley, and the current radius of the roller blind shaft, the speed ratio of the first fixed pulley and the second fixed pulley is calculated in real time. Then, based on the speed ratio, the first rotational speed of the first fixed pulley rotating in the first rotation direction and the second rotational speed of the second fixed pulley rotating in the second rotation direction are dynamically determined. This ensures that the height of the bottom beam remains constant during the unfolding or retracting of the electric curtain, preventing the bottom beam from swaying up and down, thus truly achieving a floating effect and improving the user experience. Attached Figure Description
[0057] Figure 1 This is a schematic diagram of the linkage between a fixed pulley and a movable pulley in an electric curtain.
[0058] Figure 2 This is a schematic diagram of the structure of the movable pulley and roller blind shaft in an electric blind;
[0059] Figure 3 This is a flowchart of the control method for an electric curtain according to Embodiment 1 of this disclosure;
[0060] Figure 4 This is a schematic diagram of the control system module for the electric curtain according to Embodiment 2 of this disclosure;
[0061] Figure 5 This is a schematic diagram of the structure of an electronic device according to Embodiment 3 of this disclosure. Detailed Implementation
[0062] The present disclosure is further illustrated below by way of embodiments, but the present disclosure is not limited to the scope of the embodiments described herein.
[0063] The prefixes such as "first" and "second" used in this disclosure are merely for distinguishing different descriptive objects and do not limit the position, order, priority, quantity, or content of the described objects. The use of ordinal numbers and other prefixes used to distinguish descriptive objects in this disclosure does not constitute a limitation on the described objects. The description of the described objects is given in the context of the embodiments, and the use of such prefixes should not constitute unnecessary restrictions. Furthermore, in the description of this embodiment, unless otherwise stated, "multiple" means two or more.
[0064] Example 1
[0065] In one specific embodiment, a control method for an electric curtain is provided, such as... Figure 1-2 As shown, the electric blind includes a first fixed pulley 1, a second fixed pulley 2, and a roller blind shaft 4 equipped with a movable pulley 3. A curtain fabric 5 is connected to and wound around the roller blind shaft 4. A bottom beam 6 is provided at the end of the curtain fabric 5. The movable pulley 3 is located between the first fixed pulley 1 and the second fixed pulley 2. The first fixed pulley 1 and the second fixed pulley 2 are linked by a traction rope 7 (e.g., a beaded rope or a drive belt) that passes around the movable pulley 3. Figure 3 As shown, the control method includes:
[0066] S1. Determine the first rotation direction of the first fixed pulley and the second rotation direction of the second fixed pulley based on the control command;
[0067] S2. Obtain the transmission ratio between the first or second fixed pulley and the movable pulley, as well as the current radius of the roller shutter shaft;
[0068] S3. Based on the current radius and transmission ratio, determine the speed ratio between the first fixed pulley and the second fixed pulley;
[0069] S4. Determine the first rotational speed of the first fixed pulley and the second rotational speed of the second fixed pulley based on the speed ratio;
[0070] S5. Drive the first fixed pulley to rotate at a first speed and a first rotation direction, and simultaneously drive the second fixed pulley to rotate at a second speed and a second rotation direction, so that the roller blind shaft moves up and down, and the position of the bottom beam relative to the ground remains unchanged when the curtain is unfolded upward or retracted downward.
[0071] Specifically, such as Figure 1-2As shown, a roller is sleeved on a movable pulley 3 to form a roller blind shaft 4. The upper end of the curtain fabric 5 is fixed to the roller blind shaft 4, and the lower end of the curtain fabric 5 is a free end, on which a bottom beam 6 of a certain weight is provided. The traction rope 7 includes an upward pull section and a downward pull section. The two ends of the upward pull section pass around the movable pulley 3 and are respectively connected to the first fixed pulley 1 and the second fixed pulley 2, so that the movable pulley 3 is pulled upward and tightened. The two ends of the downward pull section pass around the movable pulley 3 and are respectively connected to auxiliary pulleys fixed at the bottom sides, so that the traction rope forms a closed loop, and the movable pulley 3 is pulled downward and tightened, thereby ensuring that the movable pulley 3 remains stable at all times.
[0072] If the first fixed pulley 1 and the second fixed pulley 2 have the same radius, according to the linkage principle of fixed and movable pulleys, when the first and second fixed pulleys run simultaneously at the same speed in opposite directions, the relative position of the movable pulley and the bottom beam will not change, and they will move up and down as a whole. When the first and second fixed pulleys run simultaneously at the same speed in the same direction, the position of the movable pulley will not change and it will rotate, while the bottom beam will change height according to the rotation of the movable pulley, and the curtain will unfold or close with the movement of the bottom beam. When the first and second fixed pulleys run simultaneously at different speeds in opposite directions, the position of the movable pulley changes, which can keep the position of the bottom beam unchanged, and the curtain will unfold or close with the change in the position of the movable pulley. Therefore, in order to keep the bottom beam height constant during the unfolding or closing of the electric curtain, it is necessary to determine the running speed of the first and second fixed pulleys. Based on this, when receiving the user's control command for the electric curtain, the first rotation direction of the first fixed pulley and the second rotation direction of the second fixed pulley can be determined through step S1. For example, when the control command is to open the curtains, the roller blind shaft needs to move upwards so that the bottom beam remains in the same position relative to the ground, allowing the curtain to unfold from bottom to top. Similarly, when the control command is to close the curtains, the roller blind shaft needs to move downwards so that the bottom beam remains in the same position relative to the ground, allowing the curtain to close from top to bottom. Therefore, to keep the bottom beam in the same position, the corresponding rotation direction can be determined based on the operating principles of the first and second fixed pulleys.
[0073] Taking the first fixed pulley located on the side away from the bottom beam and the second fixed pulley located on the side closer to the bottom beam as an example (with the roller blind shaft facing the first fixed pulley), when the control command drives the roller blind shaft to rotate in the third rotation direction, the curtain on the roller blind shaft unfolds upward as the roller blind shaft rotates, that is, the roller blind shaft is in the upward state. In this case, the first rotation direction is opposite to the third rotation direction, and the second rotation direction is the same as the third rotation direction. When the control command drives the roller blind shaft to rotate in the third rotation direction, the curtain on the roller blind shaft retracts downward as the roller blind shaft rotates, that is, the roller blind shaft is in the downward state. In this case, the first rotation direction is the same as the third rotation direction, and the second rotation direction is opposite to the third rotation direction.
[0074] In step S2, the transmission ratio P between the fixed pulley and the movable pulley and the current radius R3 of the roller shutter shaft are obtained. The transmission ratio P between the fixed pulley and the movable pulley can be obtained by means of the tooth ratio or radius ratio of the fixed pulley and the movable pulley.
[0075] During the unfolding or retraction of the curtain, the current radius R3 of the roller blind shaft will change accordingly. Therefore, the speed ratio K between the first and second fixed pulleys at different times can be determined by step S3 while keeping the bottom beam height constant, as shown in formula (1):
[0076] (1)
[0077] After the speed ratio of the first fixed pulley and the second fixed pulley is determined, the first rotational speed V1 of the first fixed pulley and the second rotational speed V2 of the second fixed pulley can be obtained through step S4. For example, if the first rotational speed V1 of the first fixed pulley is determined, the second rotational speed V2 of the second fixed pulley can be calculated using the speed ratio V1 = V1 / K; if the second rotational speed V2 of the second fixed pulley is determined, the first rotational speed V1 of the first fixed pulley can be calculated using the speed ratio V2 = V2×K. Thus, the first rotational speed V1 of the first fixed pulley and the second rotational speed V2 of the second fixed pulley can be dynamically determined according to the operating speed requirements of the electric curtain.
[0078] Then, by simultaneously driving the first fixed pulley to rotate in the first direction at a first rotation speed V1 and the second fixed pulley to rotate in the second direction at a second rotation speed V2 through step S5, the height of the bottom beam of the electric curtain can be kept constant during the opening or closing process.
[0079] It should be noted that if the radii of the first fixed pulley 1 and the second fixed pulley 2 are different, the running direction and speed of the first fixed pulley 1 and the second fixed pulley 2 can be determined based on the ratio of the radii of the first fixed pulley 1, the second fixed pulley 2, the movable pulley 3, and the roller blind shaft 4, combined with the linkage principle of the fixed and movable pulleys. This ensures that the height of the bottom beam remains constant during the opening or closing of the electric curtain. For example, the running direction and speed of the first fixed pulley 1 and the second fixed pulley 2 can be determined based on the ratio of the radii of the first fixed pulley 1, the second fixed pulley 2, the movable pulley 3, and the roller blind shaft 4, so that the height of the bottom beam remains constant during the opening or closing of the electric curtain. The running directions of the first fixed pulley 1 and the second fixed pulley 2 can be the same or different.
[0080] This embodiment determines the first rotation direction of the first fixed pulley and the second rotation direction of the second fixed pulley based on the unfolding or retracting of the electric curtain. It also calculates the speed ratio between the first and second fixed pulleys in real time based on the transmission ratio between the fixed and movable pulleys and the current radius of the roller blind shaft. Furthermore, it dynamically determines the first rotational speed of the first fixed pulley in the first rotation direction and the second rotational speed of the second fixed pulley in the second rotation direction based on the speed ratio. This ensures that the height of the bottom beam remains constant during the unfolding or retracting of the electric curtain, preventing the bottom beam from swaying up and down, thus achieving a true levitation effect and improving the user experience.
[0081] In one specific embodiment, step S4 includes:
[0082] S41. Obtain the preset first rotational speed based on the control command;
[0083] S42. Determine the second rotational speed based on the first rotational speed and the speed ratio.
[0084] Specifically, the operating speed of either the first or second fixed pulley can be preset to a fixed value, while the operating speed of the other fixed pulley can be dynamically changed. The real-time operating speed of the other fixed pulley can then be calculated based on the fixed operating speed. For example, if the first rotational speed of the first fixed pulley is set to a fixed operating speed, the second rotational speed of the second fixed pulley can be calculated based on the speed ratio. In one feasible approach, the first rotational speed can be set by the system or by the user through control commands. For instance, the user can set the first rotational speed through a speed gear control, with different speed gears corresponding to different operating speeds.
[0085] The absolute value of the first rotational speed is greater than the absolute value of the second rotational speed.
[0086] In one specific embodiment, step S2 includes:
[0087] S21. Obtain the initial radius of the roller blind shaft, which represents the radius of the roller blind shaft without the curtain fabric.
[0088] S22. Obtain the current number of turns of the curtain fabric on the roller blind shaft and the thickness of the curtain fabric;
[0089] S23. Based on the initial radius, number of winding turns, and thickness, calculate the current radius of the roller blind shaft. .
[0090] The thickness of the curtain fabric can be adjusted according to the fabric material and the tightness of the wrapping.
[0091] Since there are gaps between the loops of fabric wound on the roller blind shaft, in order to effectively reduce the error of the current radius R3 of the roller blind shaft, the initial radius of the roller blind shaft can be set to be greater than the radius R2 of the movable pulley.
[0092] Specifically, the electric curtain includes a first motor and a second motor equipped with a travel detection device. The first motor drives a first fixed pulley, and the second motor drives a second fixed pulley. Once the first rotational speed V1 of the first fixed pulley is determined, the first travel vector of the first motor can be obtained based on the travel detection device, and the first rotation angle of the first fixed pulley can be determined based on the first travel vector. When the second fixed pulley is stationary, and the first fixed pulley rotates counterclockwise one full turn to the left, the distance the traction rope moves upward is equal to the circumference of the first fixed pulley. The movable pulley, due to its own rotation, moves upward a distance that is half the distance the traction rope moves. Therefore, the first rotation angle of the movable pulley as the first fixed pulley rotates can be obtained, and the distance it moves is shown in formula (2).
[0093] (2)
[0094] in, R1 represents the distance the movable pulley travels, π represents pi (the mathematical constant for a circle), and R1 represents the radius of the first fixed pulley. This indicates the first rotation angle of the first fixed pulley.
[0095] Since the curtain fabric is wound around the roller blind shaft equipped with a movable pulley, the change in the height of the bottom beam during the opening or closing of the electric curtain is the difference between the distance the movable pulley moves and the length of the curtain unfolded. According to the linkage principle, the length of the curtain unfolded is the circumference of the roller blind shaft, the rotation angle of the movable pulley is the rotation angle of the roller blind shaft, and the rotation angle of the movable pulley has a proportional relationship with the transmission ratio between the first fixed pulley and the movable pulley, as shown in formula (3):
[0096] (3)
[0097] in, The value P represents the rotation angle of the movable pulley, and P represents the transmission ratio between the first fixed pulley and the movable pulley.
[0098] Since the movable pulley rotates during its ascent, the unfolded length of the curtain is as shown in formula (4):
[0099] (4)
[0100] The change in the height of the bottom beam is shown in formula (5):
[0101] (5)
[0102] in, This indicates the change in the height of the bottom beam. This indicates the length of the curtain when unfolded.
[0103] Since the speed at which the movable pulley can rise or fall is half the difference in linear velocity between the first and second fixed pulleys, and the first and second fixed pulleys travel in the same amount of time, the distance the movable pulley can rise or fall is half the difference in the rotational arc between the first and second fixed pulleys. The speed at which the movable pulley can rotate is due to the difference in linear velocity between the two points on the left and right sides of the movable pulley that are in contact with the traction rope caused by the rotation of the first and second fixed pulleys. If the two linear velocities are the same, the movable pulley will not rotate, but will instead move horizontally upwards or downwards.
[0104] Therefore, in order to keep the height of the bottom beam constant during the upward movement of the movable pulley, the sum of the heights of the roller shutter shaft raised by the rotation of the first and second fixed pulleys must be equal to the height of the curtain unfolding caused by the difference in the rotation of the roller shutter shaft due to the rotation of the first and second fixed pulleys, so as to offset the height change of the bottom beam, as shown in formula (7):
[0105] (7)
[0106] in, This indicates the radius of the second fixed pulley. This indicates the third rotation angle of the second fixed pulley. .
[0107] If the radius of the first fixed pulley The radius of the second fixed pulley If they are the same, then the ratio of the rotation angles of the first fixed pulley and the second fixed pulley is the speed ratio K, as shown in formula (8):
[0108] (8)
[0109] Substituting K into formula (7) yields formula (9):
[0110] (9)
[0111] Thus, the speed ratio K in formula (1) can be obtained.
[0112] In one specific embodiment, the electric curtain includes a first motor and a second motor equipped with a travel detection device. The first motor is used to drive a first fixed pulley, and the second motor is used to drive a second fixed pulley.
[0113] Step S22 includes:
[0114] S221. Obtain the first stroke vector of the first motor and the second stroke vector of the second motor based on the stroke detection device;
[0115] S222. Determine the total stroke of the first fixed pulley and the second fixed pulley based on the first stroke vector and the second stroke vector;
[0116] S223. Based on the total stroke and transmission ratio, determine the current number of turns of the curtain fabric on the roller blind shaft.
[0117] Specifically, the first motor driving the first fixed pulley and the second motor driving the second fixed pulley can be two independent outputs of a single drive device. Both the first motor and the second motor are equipped with stroke detection devices, such as Hall sensors. Through the stroke detection devices, the number of output revolutions A1 of the first motor and the number of output revolutions A2 of the second motor, as well as the rotation directions of the first motor and the second motor, can be obtained, thereby obtaining the first stroke vector of the first motor and the second stroke vector of the second motor.
[0118] The initial point is marked when the curtain is fully unrolled, i.e., the current number of winding turns is 0. At this point, R3 equals the initial radius of the roller blind shaft, which is a preset value. After the current number of winding turns is in the initial state, the first and second fixed pulleys begin to run. The first stroke vector of the first motor and the second stroke vector of the second motor, detected by the stroke detection device, are summed, divided by a preset coefficient, and then multiplied by the transmission ratio P to obtain the number of outer rotations of the movable pulley, which is also the current number of winding turns of the curtain, and thus the current radius R3 of the roller blind shaft. The preset coefficient can be determined based on the radii of the first and second fixed pulleys.
[0119] Since the first and second motors can be installed either in the correct orientation or in reverse, and the rotation direction of the motor output shafts can be the same as or opposite to the direction of the fixed pulleys, while the curtain winding direction of the roller blind shaft can be reversed, the first and second motors can be reversed according to the current application scenario to meet the needs of various application scenarios. For example, when the running direction is opposite to the control command, reversing the first and second motors ensures the correct operation of the electric curtains.
[0120] When the first fixed pulley is directly connected to the first motor, the second fixed pulley, and the second motor, the transmission ratio is 1. In this case, the number of rotations A1 of the first motor and the number of rotations A2 of the second motor are the number of rotations of the first fixed pulley and the second fixed pulley, respectively. When a gear set is added between the first fixed pulley and the first motor, the second fixed pulley, and the second motor, the transmission ratio is not 1. In this case, the number of rotations A1 of the first motor and the number of rotations A2 of the second motor need to be multiplied by the corresponding transmission ratio to obtain the number of rotations of the first fixed pulley and the second fixed pulley.
[0121] It should be noted that the first and second fixed pulleys rotate in opposite directions; therefore, the sum of the first and second stroke vectors is essentially the difference in their absolute values. Of course, the current radius of the roller shutter shaft can also be obtained using other measurement methods, and this specific embodiment does not limit this.
[0122] In one specific implementation, step S3 includes:
[0123] S31. Based on the angle value of the target traction rope segment intersecting with the vertical direction, the target traction rope segment is used to connect the first fixed pulley and the movable pulley;
[0124] S32. Determine the speed ratio between the first fixed pulley and the second fixed pulley based on the transmission ratio, angle value, and current radius.
[0125] Specifically, when the target traction rope segment between the fixed pulley and the movable pulley remains vertical, perpendicular to or nearly perpendicular to the horizontal plane, the error is very small and negligible. For example, the horizontal gap between the first and second fixed pulleys can be set to be equal to the diameter of the movable pulley, and the radius of the movable pulley can be set to be greater than or equal to the radius of the first fixed pulley. In this case, the angle value can be considered 0. Of course, for the stability of the electric curtain's operation and the overall aesthetics, the first and second fixed pulleys can be installed at the same height.
[0126] However, if the target traction rope segment between the fixed pulley and the movable pulley is not perpendicular, it is necessary to measure the slope of the target traction rope segment and perform a conversion, as shown in formula (11), to ensure the accuracy of the speed ratio between the first fixed pulley and the second fixed pulley.
[0127] (11)
[0128] Where e represents the angle at which the target traction rope segment intersects with the vertical direction.
[0129] This embodiment determines the first rotation direction of the first fixed pulley and the second rotation direction of the second fixed pulley based on the unfolding or retracting of the electric curtain. It also calculates the speed ratio between the first and second fixed pulleys in real time based on the transmission ratio between the fixed and movable pulleys and the current radius of the blind shaft. Furthermore, it dynamically determines the first rotational speed of the first fixed pulley in the first rotation direction and the second rotational speed of the second fixed pulley in the second rotation direction based on this speed ratio. This ensures that the height of the bottom beam remains constant during the unfolding or retracting of the electric curtain, preventing the bottom beam from swaying up and down, thus achieving a true suspending effect and improving the user experience.
[0130] Example 2
[0131] In one specific embodiment, a control system for an electric curtain is provided, such as... Figure 4As shown, the electric curtain includes a first fixed pulley, a second fixed pulley, and a roller blind shaft with a movable pulley. A curtain is connected to and wound around the roller blind shaft. A bottom beam is provided at the end of the curtain. The movable pulley is located between the first fixed pulley and the second fixed pulley. The first fixed pulley and the second fixed pulley are linked together by a traction rope passing around the movable pulley. The control system includes an acquisition module 100, a determination module 200, and a drive module 300.
[0132] The acquisition module 100 is used to determine the first rotation direction of the first fixed pulley and the second rotation direction of the second fixed pulley based on control commands;
[0133] The acquisition module 100 is also used to acquire the transmission ratio between the first fixed pulley or the second fixed pulley and the movable pulley, as well as the current radius of the roller shutter shaft;
[0134] The determining module 200 is used to determine the speed ratio between the first fixed pulley and the second fixed pulley based on the current radius and transmission ratio;
[0135] The determining module 200 is also used to determine the first rotational speed of the first fixed pulley and the second rotational speed of the second fixed pulley based on the speed ratio;
[0136] The drive module 300 is used to drive the first fixed pulley to rotate at a first speed and a first rotation direction, and at the same time drive the second fixed pulley to rotate at a second speed and a second rotation direction, so that the roller blind shaft moves up and down, and the position of the bottom beam relative to the ground remains unchanged when the curtain is unfolded upward or retracted downward.
[0137] In one specific implementation, the determining module 200 is further configured to obtain a preset first rotational speed based on a control command; and determine a second rotational speed based on the first rotational speed and the speed ratio.
[0138] In one specific embodiment, the acquisition module 100 is further configured to acquire the initial radius of the roller blind shaft; acquire the current number of turns of the curtain fabric on the roller blind shaft and the thickness of the curtain fabric; and calculate the current radius of the roller blind shaft based on the initial radius, the number of turns of the curtain fabric and the thickness of the curtain fabric.
[0139] In one specific embodiment, the electric curtain includes a first motor and a second motor equipped with a travel detection device. The first motor is used to drive a first fixed pulley, and the second motor is used to drive a second fixed pulley.
[0140] The acquisition module 100 is also used to acquire the first stroke vector of the first motor and the second stroke vector of the second motor based on the stroke detection device; determine the total stroke of the first fixed pulley and the second fixed pulley based on the first stroke vector and the second stroke vector; and determine the current number of turns of the curtain fabric on the roller shutter shaft based on the total stroke and the transmission ratio.
[0141] In one specific embodiment, the first fixed pulley is located on the side away from the bottom beam, and the second fixed pulley is located on the side closer to the bottom beam;
[0142] The acquisition module 100 is further configured to determine a third rotation direction of the roller blind shaft based on the control command; in response to the third rotation direction being the upward unfolding of the curtain, it determines that the first rotation direction is opposite to the third rotation direction, and the second rotation direction is the same as the third rotation direction;
[0143] The acquisition module 100 is further configured to, in response to the third rotation direction being the downward retraction of the curtain, determine that the first rotation direction is the same as the third rotation direction, and the second rotation direction is opposite to the third rotation direction.
[0144] In one specific embodiment, the determining module 200 is further configured to determine the speed ratio between the first fixed pulley and the second fixed pulley based on the angle value of the intersection of the target traction rope segment with the vertical direction, the target traction rope segment being used to connect the first fixed pulley and the movable pulley, and according to the transmission ratio, the angle value, and the current radius.
[0145] In one specific implementation, the absolute value of the first rotational speed is greater than the absolute value of the second rotational speed;
[0146] And / or,
[0147] The radius of the second fixed pulley is the same as the radius of the first fixed pulley;
[0148] And / or,
[0149] The horizontal clearance between the first and second fixed pulleys is equal to the diameter of the movable pulley.
[0150] And / or,
[0151] The radius of the movable pulley is greater than or equal to the radius of the first fixed pulley;
[0152] And / or,
[0153] The traction rope includes a beaded rope or a drive belt;
[0154] And / or,
[0155] The first and second fixed pulleys are installed at the same height.
[0156] For the system embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this disclosure according to actual needs.
[0157] This embodiment determines the first rotation direction of the first fixed pulley and the second rotation direction of the second fixed pulley based on the unfolding or retracting of the electric curtain. It also calculates the speed ratio between the first and second fixed pulleys in real time based on the transmission ratio between the fixed and movable pulleys and the current radius of the roller blind shaft. Furthermore, it dynamically determines the first rotational speed of the first fixed pulley in the first rotation direction and the second rotational speed of the second fixed pulley in the second rotation direction based on the speed ratio. This ensures that the height of the bottom beam remains constant during the unfolding or retracting of the electric curtain, preventing the bottom beam from swaying up and down, thus achieving a true levitation effect and improving the user experience.
[0158] Example 3
[0159] Figure 5 This is a schematic diagram of the structure of an electronic device according to an example embodiment of the present disclosure. The electronic device includes a memory, a processor, and a computer program stored in the memory and used to run on the processor. When the processor executes the computer program, it implements the control method of the electric curtain described in any of the above embodiments. Figure 5 The electronic device 30 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.
[0160] like Figure 5 As shown, the electronic device 30 can be manifested as a general-purpose computing device, such as a server device. The components of the electronic device 30 may include, but are not limited to: at least one processor 31, at least one memory 32, and a bus 33 connecting different system components (including memory 32 and processor 31).
[0161] Bus 33 includes a data bus, an address bus, and a control bus.
[0162] The memory 32 may include volatile memory, such as random access memory (RAM) 321 and / or cache memory 322, and may further include read-only memory (ROM) 323.
[0163] The memory 32 may also include a program tool 325 (or utility) having a set (at least one) program module 324, such program module 324 including but not limited to: an operating system, one or more application programs, other program modules and program data, each or some combination of these examples may include an implementation of a network environment.
[0164] The processor 31 executes various functional applications and data processing by running computer programs stored in the memory 32, such as the control method for electric curtains provided in any of the above embodiments.
[0165] Electronic device 30 can also communicate with one or more external devices 34 (e.g., keyboard, pointing device, etc.). This communication can be performed through input / output (I / O) interface 35. Furthermore, electronic device 30 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public network, such as the Internet) via network adapter 36. As shown, network adapter 36 communicates with other modules of electronic device 30 via bus 33. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with electronic device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems.
[0166] It should be noted that although several units / modules or sub-units / modules of the electronic device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided and embodied by multiple units / modules.
[0167] Example 4
[0168] This disclosure also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the control method for electric curtains provided in any of the above embodiments.
[0169] The readable storage medium may be more specifically adopted, including but not limited to: portable disk, hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical storage device, magnetic storage device, or any suitable combination thereof.
[0170] Example 5
[0171] This disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the control method for electric curtains provided in any of the above embodiments.
[0172] The program code for executing the computer program product of this disclosure can be written in any combination of one or more programming languages, and the program code can be executed entirely on a user device, partially on a user device, as a stand-alone software package, partially on a user device and partially on a remote device, or entirely on a remote device.
[0173] While specific embodiments of this disclosure have been described above, those skilled in the art should understand that these are merely illustrative examples, and the scope of protection of this disclosure is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principles and essence of this disclosure, but all such changes and modifications fall within the scope of protection of this disclosure.
Claims
1. A control method for an electric curtain, characterized in that, The electric blind includes a first fixed pulley, a second fixed pulley, and a roller blind shaft with a movable pulley. A curtain fabric is connected to and wound around the roller blind shaft. A bottom beam is provided at the end of the curtain fabric. The movable pulley is located between the first and second fixed pulleys. The first and second fixed pulleys are linked by a traction rope that passes around the movable pulley. The control method includes: The first rotation direction of the first fixed pulley and the second rotation direction of the second fixed pulley are determined based on control commands. Obtain the transmission ratio between the first or second fixed pulley and the movable pulley, and the current radius of the roller shutter shaft; Based on the current radius and the transmission ratio, determine the speed ratio between the first fixed pulley and the second fixed pulley; The first rotational speed of the first fixed pulley and the second rotational speed of the second fixed pulley are determined according to the speed ratio. The first fixed pulley is driven to rotate at the first speed and the first rotation direction, while the second fixed pulley is driven to rotate at the second speed and the second rotation direction, so that the roller blind shaft moves up and down, and the position of the bottom beam relative to the ground remains unchanged when the curtain is unfolded upward or retracted downward.
2. The control method according to claim 1, characterized in that, The step of determining the first rotational speed of the first fixed pulley and the second rotational speed of the second fixed pulley based on the speed ratio includes: The preset first rotational speed is obtained based on the control command; The second rotational speed is determined based on the first rotational speed and the speed ratio.
3. The control method according to claim 1, characterized in that, The steps for obtaining the current radius of the roller blind shaft include: Obtain the initial radius of the roller blind shaft; Obtain the current number of turns of the curtain fabric on the roller blind shaft and the thickness of the curtain fabric; The current radius of the roller blind shaft is calculated based on the initial radius, the number of winding turns, and the thickness.
4. The control method according to claim 3, characterized in that, The electric curtain includes a first motor and a second motor equipped with a travel detection device. The first motor is used to drive the first fixed pulley, and the second motor is used to drive the second fixed pulley. The step of obtaining the current number of turns of the curtain fabric on the roller blind shaft includes: The first stroke vector of the first motor and the second stroke vector of the second motor are obtained based on the stroke detection device. The total stroke of the first fixed pulley and the second fixed pulley is determined based on the first stroke vector and the second stroke vector; Based on the total stroke and the transmission ratio, the current number of turns of the curtain fabric wound on the roller blind shaft is determined.
5. The control method according to claim 1, characterized in that, The first fixed pulley is located on the side away from the bottom beam, and the second fixed pulley is located on the side closer to the bottom beam; The step of determining the first rotation direction of the first fixed pulley and the second rotation direction of the second fixed pulley based on control commands includes: The third rotation direction of the roller shutter shaft is determined based on the control command; In response to the third rotation direction being the upward unfolding of the curtain, it is determined that the first rotation direction is opposite to the third rotation direction, and the second rotation direction is the same as the third rotation direction; or, In response to the third rotation direction being the downward retraction of the curtain, it is determined that the first rotation direction is the same as the third rotation direction, and the second rotation direction is opposite to the third rotation direction.
6. The control method according to claim 2, characterized in that, The step of determining the speed ratio between the first fixed pulley and the second fixed pulley based on the current radius and the transmission ratio includes: Based on the angle value of the target traction rope segment intersecting with the vertical direction, the target traction rope segment is used to connect the first fixed pulley and the movable pulley; The speed ratio between the first fixed pulley and the second fixed pulley is determined based on the transmission ratio, the angle value, and the current radius.
7. The control method according to any one of claims 1 to 6, characterized in that, The absolute value of the first rotational speed is greater than the absolute value of the second rotational speed; And / or, The radius of the second fixed pulley is the same as the radius of the first fixed pulley; And / or, The horizontal clearance width between the first fixed pulley and the second fixed pulley is equal to the diameter of the movable pulley; And / or, The radius of the movable pulley is greater than or equal to the radius of the first fixed pulley; And / or, The traction rope includes a beaded rope or a transmission belt; And / or, The first fixed pulley and the second fixed pulley are installed at the same height.
8. A control system for an electric curtain, characterized in that, The electric curtain includes a first fixed pulley, a second fixed pulley, and a roller blind shaft with a movable pulley. A curtain fabric is connected to and wound around the roller blind shaft. A bottom beam is provided at the end of the curtain fabric. The movable pulley is located between the first fixed pulley and the second fixed pulley. The first fixed pulley and the second fixed pulley are linked together by a traction rope passing around the movable pulley. The control system includes an acquisition module, a determination module, and a drive module. The acquisition module is used to determine the first rotation direction of the first fixed pulley and the second rotation direction of the second fixed pulley based on control commands; The acquisition module is also used to acquire the transmission ratio between the first fixed pulley or the second fixed pulley and the movable pulley, as well as the current radius of the roller blind shaft; The determining module is used to determine the speed ratio between the first fixed pulley and the second fixed pulley based on the current radius and the transmission ratio; The determining module is further configured to determine the first rotational speed of the first fixed pulley and the second rotational speed of the second fixed pulley based on the speed ratio; The drive module is used to drive the first fixed pulley to rotate at the first speed and the first rotation direction, and at the same time drive the second fixed pulley to rotate at the second speed and the second rotation direction, so that the roller blind shaft moves up and down, and the position of the bottom beam relative to the ground remains unchanged when the curtain is unfolded upward or retracted downward.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and for running on the processor, characterized in that, When the processor executes the computer program, it implements the control method for the electric curtain as described in any one of claims 1 to 7.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the control method for the electric curtains as described in any one of claims 1 to 7.