Calibration Method for Electric Curtains
By integrating the logic control unit, motor drive unit, time learning unit, storage unit and time comparison unit in the electric curtain control box, using current monitoring and time recording, the problem of wiring errors of positive and negative poles during installation of electric curtains is solved, and automatic calibration and simplified system design is realized.
Patent Information
- Application Number
- CN202411025460.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2044-07-29
AI Technical Summary
The existing electric blinds are prone to abnormal control due to errors in the positive and negative electrode wiring during installation, and it is difficult to judge and calibrate when installed by itself.
A control box including a logic control unit, a motor drive unit, a time learning unit, a storage unit and a time comparison unit is designed. Through current monitoring and time recording, the positive and negative electrode wiring conditions of the electric curtains are automatically judged and calibrated.
The enablement of automatic recording and storage of on- and off time without additional sensors is simplified system design, reduced product costs, and improved installation and commissioning efficiency.
Smart Images

Figure CN118963193B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent windows, and particularly to a calibration method for electric curtains. Background Art
[0002] With the pursuit of life convenience and intelligence by people, smart home has become a trend. As a part of smart home, electric louver curtains can be operated to unfold and retract the curtains through ways such as remote control, mobile applications, and control panels, greatly improving the convenience of life.
[0003] Currently, most electric louver curtains control the unfolding and retracting of the curtains by driving the motor through a controller. Due to the wiring of the control circuit, when installing an electric louver curtain, it is necessary to pay attention to distinguishing the positive and negative poles for wiring to avoid incorrect connection of the positive and negative poles of the electric curtain and the control circuit. If the positive and negative poles of the electric curtain are incorrectly connected to the positive and negative poles of the control circuit, it will lead to abnormal control of the electric curtain. When the buyer wires and installs it by himself / herself, the buyer often reverses the positive and negative poles due to lack of professional installation knowledge. And when hiring a professional to carry out the installation work, it will undoubtedly increase the cost.
[0004] Therefore, it is necessary to provide a calibration method for an electric curtain that is convenient for the buyer to install by himself / herself, can judge the positive and negative pole wiring situation, and automatically calibrate. Summary of the Invention
[0005] The purpose of the present invention is to provide a calibration method for an electric curtain that is convenient for the buyer to install by himself / herself, can judge the positive and negative pole wiring situation, and automatically calibrate.
[0006] According to one aspect of the present application, there is provided a calibration method for an electric curtain, based on a control box and a motor electrically connected to the electric curtain, used in the scenario of installing an electric curtain. When the electric curtain is fully retracted, it is in the open state, and when the electric curtain is fully unfolded, it is in the closed state. The control box includes a logic control unit, a motor drive unit, a time learning unit, a storage unit, and a time comparison unit. The method includes the steps:
[0007] S1. The logic control unit outputs a first control signal, and the motor drive unit drives the motor according to the first control signal to control the movement of the electric curtain.
[0008] S2. The motor controls the electric curtain to move along the initial direction first until the electric curtain reaches the limit position; then the motor controls the electric curtain to move along the opening direction until the electric curtain reaches the limit position. At the same time, the time learning unit learns the opening time T1 of the electric curtain; finally, the motor controls the electric curtain to move along the closing direction until the electric curtain reaches the limit position. At the same time, the time learning unit learns the closing time T2 of the electric curtain.
[0009] S3. The storage unit stores the opening time T1 and the closing time T2;
[0010] S4. The time comparison unit compares the opening time T1 and the closing time T2. If T1>T2, the process proceeds to step S5; if T1≤T2, the process proceeds to step S6;
[0011] S5. At this time, the electric curtain is in the closed state. It is determined that the positive and negative poles of the electric curtain are correctly connected to the positive and negative poles of the control box, and the calibration is completed;
[0012] S6. At this time, the electric curtain is in the open state. It is determined that the positive and negative poles of the electric curtain are incorrectly connected to the positive and negative poles of the control box. The logic control unit interrupts the first control signal and outputs the second control signal. The motor drive unit drives the motor to control the movement of the electric curtain according to the second control signal, so that the electric curtain returns to the closed state, and the calibration is completed.
[0013] More preferably, the electric curtain includes a reel, a pull cord and a bottom edge of the curtain. The reel is drivingly connected to the output shaft of the motor, and the motor is used to drive the reel to rotate clockwise or counterclockwise. There are two pull cords, one pull cord fixedly connects the left end of the reel and the left end of the bottom edge of the curtain, and the other pull cord fixedly connects the right end of the reel and the right end of the bottom edge of the curtain. When the reel rotates, the pull cord is wound around or unfolded on the reel, thereby driving the electric curtain to rise or fall.
[0014] More preferably, the logic control unit of the control box is provided with a preset direction, which is the direction in which the electric curtain descends; the first control signal is specifically: controlling the electric curtain to move along the initial direction first until the electric curtain reaches the limit position; then controlling the electric curtain to move along the opening direction until the electric curtain reaches the limit position; finally controlling the electric curtain to move along the closing direction until the electric curtain reaches the limit position.
[0015] Preferably, the control box also includes a current monitoring unit and a current comparison unit; the current monitoring unit is used to monitor the working current A1 of the motor in real time; the logic control unit is provided with a threshold current A2, and the current comparison unit is used to compare the working current A1 of the motor with the threshold current A2, and compare the working current A1 and the threshold current A2. If A1≥A2, it is judged that the electric curtain is in motion; if A1<A2, it is judged that the electric curtain has reached the limit position, and the limit position is the position when the electric curtain is in an open state or a closed state.
[0016] Preferably, the step S2 comprises:
[0017] S21. The motor controls the electric curtain to move along the initial direction first. The current monitoring unit monitors the working current A1 of the motor. The current comparison unit compares the working current A1 of the motor with the threshold current A2 in real time. If A1≥A2, the motor continues to control the electric curtain to move along the initial direction. If A1<A2, it is judged that the electric curtain reaches the limit position at this time.
[0018] More preferably, the step S2 further includes:
[0019] S22. Then the motor controls the electric curtain to move along the opening direction. When A1≥A2, the time learning unit starts to record the opening time T1 of the electric curtain. The motor controls the electric curtain to continue to move along the opening direction until A1<A2, and it is judged that the electric curtain reaches the limit position at this time. At this time, the time learning unit stops recording the opening time T1.
[0020] More preferably, the step S2 further includes:
[0021] S23. Finally, the motor controls the electric curtain to move along the closing direction. When A1≥A2, the time learning unit starts to record the closing time T2 of the electric curtain. The motor controls the electric curtain to continue to move along the closing direction until A1<A2, and it is judged that the electric curtain reaches the limit position at this time. At this time, the time learning unit stops recording the closing time T2.
[0022] More preferably, the rotation direction of the motor is determined by the direction of the working current A1; the current direction under the control of the second control signal is opposite to the current direction under the control of the first control signal. The second control signal is specifically: controlling the electric curtain to move along the preset direction until the electric curtain reaches the limit position; then controlling the electric curtain to move along the opening direction until the electric curtain reaches the limit position; finally controlling the electric curtain to move along the closing direction until the electric curtain reaches the limit position.
[0023] The present invention has the following beneficial effects:
[0024] (1) The present invention compares the working current A1 of the motor with the threshold current A2 through the current comparison unit to judge whether the electric curtain is in the moving state or at the limit position, so as to help the time learning unit accurately record the opening time T1 and the closing time T2. By comparing the opening time T1 and the closing time T2 through the time comparison unit, the wiring situation of the positive and negative poles of the electric curtain and the positive and negative poles of the control box is judged, and the control box automatically adjusts the control signal according to the wiring situation to calibrate the movement direction of the motor.
[0025] (2) The present invention accurately determines whether the electric curtain is in a moving state through current changes, and accurately records the opening time and closing time by using the time learning unit in combination with the judgment of the current comparison unit. This method does not rely on additional sensors and can be achieved only through current detection, simplifying the system design and reducing product costs. The system can automatically record and store the opening and closing times without manual intervention, which also improves the installation and debugging efficiency to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0027] Figure 1 Structural schematic diagram of the electric curtain according to an embodiment of the present application;
[0028] Figure 2 Schematic diagram of the state of the electric curtain in motion according to an embodiment of the present application;
[0029] Figure 3 Schematic diagram of the state of the electric curtain when it is fully deployed according to an embodiment of the present application;
[0030] Figure 4 Schematic diagram of the state of the electric curtain when it is fully retracted according to an embodiment of the present application;
[0031] Figure 5 State change diagram of the electric curtain when the initial direction is the same as the preset direction according to an embodiment of the present application;
[0032] Figure 6 State change diagram of the electric curtain when the initial direction is opposite to the preset direction according to an embodiment of the present application;
[0033] Figure 7 Structural block diagram of the control box in the electric curtain according to an embodiment of the present application;
[0034] Explanation of the reference numerals in the drawings: 100, electric curtain; 10, control box; 11, current monitoring unit; 12, logic control unit; 13, motor drive unit; 14, current comparison unit; 15, time learning unit; 16, storage unit; 17, time comparison unit; 20, motor; 30, reel; 40, pull rope; 50, bottom edge of the curtain; F1, initial direction; F2, preset direction. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0035] To facilitate the understanding of this application, the following will provide a more comprehensive description of this application with reference to the relevant accompanying drawings. The preferred embodiments of this application are shown in the drawings. However, this application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, these embodiments are provided to make the understanding of the disclosure of this application more thorough and comprehensive.
[0036] It should be noted that when an element is referred to as "fixed to" another element, it can be directly on the other element or there may also be an intermediate element. When an element is considered to be "connected" to another element, it can be directly connected to the other element or there may be an intermediate element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are only for illustrative purposes.
[0037] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs. The terms used in the specification of this application herein are only for the purpose of describing specific embodiments and are not intended to limit this application. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.
[0038] Please refer to Figure 1 - Figure 7 , a calibration method for an electric curtain 100, based on a control box 10 and a motor 20 electrically connected to the electric curtain 100, and used in a scenario where the electric curtain 100 is installed. When the electric curtain is fully retracted, it is in the open state, and when the electric curtain is fully extended, it is in the closed state. The control box 10 includes a logic control unit 12, a motor drive unit 13, a time learning unit 15, a storage unit 16, and a time comparison unit 17; the method includes the steps of:
[0039] S1. The logic control unit 12 outputs a first control signal, and the motor drive unit 13 drives the motor 20 according to the first control signal to control the movement of the electric curtain 100.
[0040] S2. The motor 20 controls the electric curtain 100 to move along the initial direction F1 first until the electric curtain 100 reaches the limit position; then the motor 20 controls the electric curtain 100 to move along the opening direction until the electric curtain 100 reaches the limit position. At the same time, the time learning unit 15 learns the opening time T1 of the electric curtain 100; finally, the motor 20 controls the electric curtain 100 to move along the closing direction until the electric curtain 100 reaches the limit position. At the same time, the time learning unit 15 learns the closing time T2 of the electric curtain 100.
[0041] S3. The storage unit 16 stores the opening time T1 and the closing time T2;
[0042] S4. The time comparison unit 17 compares the magnitudes of the opening time T1 and the closing time T2. If T1 > T2, then proceed to step S5; if T1 ≤ T2, then proceed to step S6;
[0043] S5. At this time, the electric curtain 100 is in the closed state. Determine that the positive and negative electrodes of the electric curtain 100 are correctly connected to the positive and negative electrodes of the control box 10, and the calibration is completed;
[0044] S6. At this time, the electric curtain 100 is in the open state. Determine that the positive and negative electrodes of the electric curtain 100 are incorrectly connected to the positive and negative electrodes of the control box 10. The logic control unit 12 interrupts the first control signal and outputs a second control signal. The motor drive unit 13 drives the motor 20 to control the movement of the electric curtain 100 according to the second control signal, so that the electric curtain 100 returns to the closed state, and the calibration is completed.
[0045] The logic control unit 12 of the control box 10 is provided with a preset direction F2, and the preset direction F2 is the direction in which the electric curtain 100 descends; the first control signal is specifically: control the electric curtain 100 to move along the initial direction F1 until the electric curtain 100 reaches the limit position; then control the electric curtain 100 to move along the opening direction until the electric curtain 100 reaches the limit position; finally control the electric curtain 100 to move along the closing direction until the electric curtain 100 reaches the limit position.
[0046] The control box 10 further includes a current monitoring unit 11 and a current comparison unit 14; the current monitoring unit 11 is used to monitor the working current A1 of the motor 20 in real time; the logic control unit 12 is provided with a threshold current A2, and the current comparison unit 14 is used to compare the working current A1 of the motor 20 with the threshold current A2.
[0047] More specifically, when the electric curtain 100 moves, the motor 20 needs to overcome the gravity and friction of the electric curtain 100, and will consume a relatively high current. When the electric curtain 100 is in the open state or the closed state, the load of the motor 20 will decrease, and the current will decrease significantly. Compare the working current A1 with the threshold current A2. If A1 ≥ A2, then determine that the electric curtain 100 is in the moving state. If A1 < A2, then determine that the electric curtain 100 has reached the limit position, and the limit position is the position when the electric curtain 100 is in the open state or the closed state.
[0048] Further, if the motor 20 suddenly stops during operation due to a fault or other reasons, at this time A1 < A2, but the curtain has not reached the limit position. In this case, to avoid misjudgment by the system, the system introduces a time monitoring mechanism: when the electric curtain 100 moves along the initial direction F1, the time learning unit 15 starts a timer, which is used to calculate the time from movement to stop. A time threshold is set in the logic control unit 12. When the time when A1 < A2 exceeds the time threshold during the calibration process, the system determines that the motor 20 may be faulty. This measure ensures that the electric curtain 100 can make a correct judgment under special circumstances.
[0049] Among them, setting this comparison logic can effectively detect whether the connection is correct. By comparing the operating current A1 of the motor 20 with the threshold current A2 through the current comparison unit 14, it can be determined whether the electric curtain 100 is moving or has reached the limit position. When the electric curtain 100 is moving, the motor 20 needs to overcome the gravity and friction of the curtain, and the load of the motor 20 is large and the current is high; when the electric curtain 100 is fully retracted or deployed, the motor 20 does not need to overcome the movement resistance of the electric curtain 100, and the load of the motor 20 decreases and the current will decrease. According to this current change, a threshold with a medium current value can be set in the logic control unit 12, and by comparing the real-time monitored current with the threshold, the real-time detection of the movement state of the electric curtain 100 can be realized. A reliable means of detecting the movement state is provided. By the time learning unit 15 recording the opening time T1 and the closing time T2 of the electric curtain 100 and storing these times, self-calibration and optimization of the electric curtain 100 can be achieved. When the electric curtain 100 is initially installed, the system can automatically learn and record these times for subsequent judgment and adjustment of control signals. By comparing the opening time T1 and the closing time T2 through the time comparison unit 17, it can be determined whether the positive and negative poles of the motor 20 of the electric curtain 100 are correctly connected. Due to the influence of the weight and friction of the electric curtain 100 in different directions, usually, the opening (rising) time of the electric curtain 100 is longer than the closing (falling) time. When the positive and negative poles of the motor 20 of the electric curtain 100 are correctly connected, the preset direction F2 set in the control box 10 is the direction for the electric curtain 100 to fall. The time comparison unit 17 compares the magnitudes of T1 and T2. If T1 > T2, it means the system connection is correct; if T1 ≤ T2, it means the system connection is incorrect. Through this logical judgment, calibration can be automatically performed when the system is initially installed or an abnormality occurs. When a connection error is detected, the control box 10 sends a second control signal, and the electric curtain 100 moves in the reverse direction for re-calibration. This ensures that the system can be automatically adjusted without manual intervention by the user and without the need for professional staff to ensure that the connection is correct during installation.
[0050] More preferably, step S2 is specifically as follows:
[0051] S21. The motor 20 controls the electric curtain 100 to move along the initial direction F1 first. The current monitoring unit 11 monitors the working current A1 of the motor 20. The current comparison unit 14 compares the working current A1 of the motor 20 with the threshold current A2 in real time. If A1 ≥ A2, the motor 20 continues to control the electric curtain 100 to move along the initial direction F1. If A1 < A2, it is determined that the electric curtain 100 reaches the limit position at this time;
[0052] S22. Then the motor 20 controls the electric curtain 100 to move along the opening direction. When A1 ≥ A2, the time learning unit 15 starts to record the opening time T1 of the electric curtain 100. The motor 20 controls the electric curtain 100 to continue moving along the opening direction until A1 < A2, and it is determined that the electric curtain 100 reaches the limit position at this time. At this time, the time learning unit 15 stops recording the opening time T1;
[0053] S23. Finally, the motor 20 controls the electric curtain 100 to move along the closing direction. When A1 ≥ A2, the time learning unit 15 starts to record the closing time T2 of the electric curtain 100. The motor 20 controls the electric curtain 100 to continue moving along the closing direction until A1 < A2, and it is determined that the electric curtain 100 reaches the limit position at this time. At this time, the time learning unit 15 stops recording the closing time T2.
[0054] Among them, by detecting the current change, the control box 10 automatically determines the limit position (fully open or fully closed) of the electric curtain 100, and records the corresponding opening and closing time. By real-time monitoring the current of the motor 20, the system can accurately determine the movement state of the curtain, avoid excessive movement or failure to be in place, and ensure that the curtain stays at the predetermined position. The system first controls the electric curtain 100 to move along the initial direction F1, and monitors the current A1 of the motor 20. The working current A1 is compared with the threshold current A2 through the current comparison unit 14. If A1≥A2, it means that the curtain is moving, and the system continues to control the motor 20 to move along the initial direction F1. If A1<A2, it means that the curtain has reached the limit position (because the load is reduced and the current decreases), the system stops the movement of the motor 20. When the electric curtain 100 moves in the opening direction, the system starts to record the opening time T1. The starting condition of the recording is A1≥A2, that is, the curtain starts to move; the stopping condition is A1<A2, that is, the curtain reaches the limit position. This recording method ensures the accuracy of the opening time and reflects the actual time required for the curtain to go from fully closed to fully open. Similarly, when the electric curtain 100 moves in the closing direction, the system starts to record the closing time T2. The start and stop conditions for recording T2 are the same as those for recording T1. The system can accurately judge the extreme position and movement state of the curtain through the change of current, and calibrate the position of the curtain with high precision, and use the time learning unit combined with the judgment of the current comparison unit to accurately record the opening time and closing time. This method does not rely on additional sensors and can be achieved only through current detection, which simplifies the system design and reduces product costs. The system can automatically record and store the opening and closing time without manual intervention, and also improves the efficiency of installation and debugging to a certain extent. The control box 10 monitors the current of the motor 20 in real time, which can not only calibrate the control signal of the motor 20, but also detect and prevent abnormal conditions, such as overload or jamming of the motor 20, to protect the safety of the electric curtain 100.
[0055] Preferably, the logic control unit 12 outputs a control signal to the motor drive unit 13, and the motor drive unit 13 controls the motor 20 according to the control signal, and the motor 20 drives the reel 30 to rotate. The electric curtain 100 includes a reel 30, a drawstring 40, and a bottom edge 50 of the curtain. The reel 30 is connected to the output shaft of the motor 20 by transmission, and the motor 20 is used to drive the reel 30 to rotate clockwise or counterclockwise. There are two drawstrings 40, one drawstring 40 is fixedly connected to the left end of the reel 30 and the left end of the bottom edge 50 of the curtain, and the other drawstring 40 is fixedly connected to the right end of the reel 30 and the right end of the bottom edge 50 of the curtain. When the reel 30 rotates, the drawstring 40 is wound or unwound on the reel 30, thereby driving the electric curtain 100 to rise or fall.
[0056] Among them, the design using the reel 30 and the drawstring 40 simplifies the complexity of the control system. By driving the reel 30 to rotate with the motor 20, the lifting of the curtain can be directly controlled. This process does not require a complex mechanical transmission device, and only the rotation direction and speed of the reel 30 need to be controlled. Two drawstrings 40 are fixedly connected between the reel 30 and the bottom edge 50 of the curtain, which can ensure uniform force on the curtain. When the reel 30 rotates, the drawstring 40 winds or unwinds on the reel 30, avoiding deformation or inclination caused by unilateral force on the curtain. By controlling the clockwise or counterclockwise rotation of the reel 30, the upward and downward movements of the electric curtain 100 can be flexibly realized. The motor 20 drives the reel 30 to rotate, and the drawstring 40 winds or unwinds on the reel 30, thereby realizing the smooth movement of the electric curtain 100. This two-way movement control can easily realize partial opening or closing of the curtain to meet different needs of users. The length of the reel 30 and the length of the drawstring 40 can also be adjusted according to the sizes of different curtains, having strong space adaptability. The use of the drawstring 40 reduces the direct friction of the curtain cloth, reduces wear, and prolongs the service life of the curtain. The design of the reel 30 and the drawstring 40 reduces the physical friction and damage during the lifting process of the electric curtain 100. The design of the reel 30 and the drawstring 40 makes the maintenance relatively simple. The reel 30 and the motor 20 are usually installed in easily accessible positions for easy maintenance and replacement. The drawstring 40, as a vulnerable part, has a low replacement cost and simple operation.
[0057] Preferably, when the initial direction F1 of the electric curtain 100 is the same as the preset direction F2, the electric curtain 100 closes along the opening direction and unfolds along the closing direction. The opening time T1 stored in the storage unit 16 is the actual opening time, and the closing time T2 stored in the storage unit 16 is the actual closing time. When the initial direction F1 of the electric curtain 100 is opposite to the preset direction F2, the electric curtain 100 unfolds along the opening direction and closes along the closing direction. The opening time T1 stored in the storage unit 16 is the actual closing time, and the closing time T2 stored in the storage unit 16 is the actual opening time.
[0058] Among them, in reality, the switching rules of curtains are established by convention, and people also maintain habits consistent with this rule. Therefore, when the movement rule of the electric curtain 100 is consistent with the common movement rule in reality, the user can determine that this electric curtain 100 is debugged well. According to the common movement rule of curtains in reality, the normal opening direction and closing direction of the curtain are the same, and the closing direction and unfolding direction are the same. If the movement of the electric curtain 100 is opposite to the common movement rule in reality, the time records of curtain opening and closing are also opposite.
[0059] Preferably, when the electric curtain 100 is retracted, the motor 20 does work against the weight of the electric curtain 100. When the electric curtain 100 is deployed, the weight of the electric curtain 100 assists the movement of the motor 20. When the control box 10 is correctly wired, the electric curtain 100 runs in the correct direction. Due to the influence of gravity, the electric curtain 100 should satisfy the relationship: opening time T1 > closing time T2.
[0060] Among them, when the electric curtain 100 descends, the weight of the curtain itself will reduce the force required for the motor 20 to move. When the electric curtain 100 ascends, the influence of gravity on the curtain is relatively small, and gravity will increase the speed and force required for the electric curtain 100 to move downward. During the movement of the electric curtain 100, the opening time T1 refers to the time required for the curtain to move from fully closed to fully open; the closing time T2 refers to the time required for the curtain to move from fully open to fully closed. Due to the influence of gravity, generally, the opening time T1 should be greater than the closing time T2 because the electric curtain 100 needs to overcome the action of gravity when retracting, so the movement speed may be slower and the time may be relatively longer. Correctly connecting the positive and negative poles of the control box 10 to the positive and negative poles of the motor 20 can ensure that the running direction of the electric curtain 100 is consistent with the expectation, thus satisfying the above time relationship. If the positive and negative poles of the electric curtain 100 are wrongly wired, it may cause the curtain to run in the opposite direction, and at this time, the time relationship no longer satisfies the condition of T1 > T2.
[0061] Preferably, the preset direction F2 of the control box 10 is the direction in which the electric curtain 100 descends. If the initial direction F1 of the electric curtain 100 is the same as the preset direction F2, the electric curtain 100 first descends and deploys along the initial direction F1, then rises and retracts along the opening direction after reaching the closed state, and finally descends and deploys from the open state along the closing direction to the closed state. If the initial direction F1 is opposite to the preset direction F2, the movement trajectory of the electric curtain 100 is also opposite, and the electric curtain 100 finally remains in the open state. When the initial direction F1 of the electric curtain 100 is the same as the preset direction F2, T1 > T2, and the positive and negative poles of the electric curtain 100 are correctly connected to the positive and negative poles of the control box 10. When the initial direction F1 of the electric curtain 100 is opposite to the preset direction F2, T1 ≤ T2, and the positive and negative poles of the electric curtain 100 are wrongly connected to the positive and negative poles of the control box 10.
[0062] Among them, during the debugging process, this movement method can ensure that the electric curtain 100 completes a complete opening and closing cycle, and based on the obtained T1 and T2, determine whether the positive and negative poles are reversely connected. When the initial direction F1 and the preset direction F2 are the same, the motor 20 finally runs to the closed state, which can not only determine that the positive and negative pole wiring is correct, but also keep the electric curtain 100 in the closed state after the debugging is completed.
[0063] Preferably, when the working current A1 passes through the coil of the motor 20, a magnetic field is generated within the motor 20, which interacts with the magnetic field of the permanent magnet to generate a torque, thereby causing the motor 20 to rotate. If the direction of the working current A1 is reversed, the direction of the magnetic field will also be reversed, resulting in the opposite rotation direction of the motor 20. That is, the rotation direction of the motor 20 is determined by the direction of the working current A1. The direction of the current under the control of the second control signal is opposite to that under the control of the first control signal. The second control signal specifically is: controlling the electric curtain 100 to move along a preset direction F2 until the electric curtain 100 reaches the limit position; then controlling the electric curtain 100 to move along the opening direction until the electric curtain 100 reaches the limit position; and finally controlling the electric curtain 100 to move along the closing direction until the electric curtain 100 reaches the limit position.
[0064] Among them, if the direction of the current is changed, the direction of the generated magnetic field will also be reversed, thereby changing the rotation direction of the motor 20. By changing the direction of the current, the forward and reverse rotations of the motor 20 can be conveniently controlled. If the positive and negative poles of the electric curtain 100 are correctly connected to the positive and negative poles of the control box 10, the control signal can directly control the motor 20 to rotate in the expected direction. If the positive and negative poles of the electric curtain 100 are incorrectly connected to the positive and negative poles of the control box 10, then according to the opposite of the positive and negative poles, the direction of the current is also opposite, and the control signal will control the motor 20 to rotate in the direction opposite to the expected direction. Therefore, another control signal is required in the control box 10, and this control signal has an opposite effect on the current compared to the original control signal. When the positive and negative poles are incorrectly connected, the control box 10 can change the control signal to make the motor 20 still rotate in the expected direction.
[0065] Preferably, the electric curtain 100 operates according to the first control signal. When T1 > T2, the electric curtain 100 finally remains in the closed state, and the control box 10 continues to control the motor 20 to operate with the first control signal, and the debugging ends. When T1 ≤ T2, the electric curtain 100 finally remains in the open state, and the control box 10 interrupts the first control signal and outputs the second control signal. At this time, the initial direction F1 is the same as the preset direction F2, and finally the electric curtain 100 moves to the closed state, and the debugging ends.
[0066] Among them, the electric curtain 100 operates according to the indication of the first control signal. The opening time T1 and the closing time T2 record the time required for the electric curtain 100 to move from the start to the open state and the closed state. T1 represents the time when the electric curtain 100 is fully opened, and T2 represents the time when the electric curtain 100 is fully closed. When the opening time T1 of the electric curtain 100 is greater than the closing time T2, it indicates that the electric curtain 100 is finally in the closed state. In this case, the control box 10 continues to control the motor 20 to operate using the first control signal, indicating that the curtain has been calibrated and conforms to the expected closed state. When the opening time T1 of the electric curtain 100 is less than or equal to the closing time T2, it indicates that the electric curtain 100 is finally in the open state or near the open state. In this case, the control box 10 interrupts the first control signal and outputs a second control signal. The direction of the second control signal controlling the movement of the motor 20 is opposite to that of the first control signal, which can solve the situation of reverse connection of positive and negative poles and recalibrate the direction of the curtain to ensure that the electric curtain 100 finally moves to the closed state and satisfies the relationship: T1 > T2 during the re - debugging process. The purpose of this setting is to ensure that the electric curtain 100 can reverse the movement direction of the motor 20 through the control signal for automatic calibration, and can be corrected through the automatic calibration process even when the initial movement direction is incorrect. By comparing the opening time and the closing time, the system can determine whether the movement direction of the motor 20 needs to be adjusted and calibrated. This setting ensures that the electric curtain 100 can automatically reach the expected operating state during installation and use, reduces the need for manual intervention, and improves the overall usability and user experience.
[0067] According to the calibration method of the electric curtain 100 described above, this specific embodiment provides a specific example to more specifically describe each step of the calibration method of the electric curtain 100:
[0068] The specific parameters of the electric curtain 100 are:
[0069] Rated current of the motor 20: 2.5 A;
[0070] No - load current of the motor 20: 0.5 A;
[0071] Working current when the electric curtain 100 is moving: 2.0 A;
[0072] Threshold current A2: 1.0 A (set as the benchmark for judging whether the electric curtain 100 is moving);
[0073] Working current when reaching the end point: 0.5 A (close to the no - load current);
[0074] When the electric curtain 100 is fully retracted, it is in the open state, and when the electric curtain 100 is fully extended, it is in the closed state.
[0075] The following is the calibration process of the electric curtain 100:
[0076] The logic control unit 12 outputs a first control signal. The motor drive unit 13 drives the motor 20 according to the first control signal to control the electric curtain 100 to move along the initial direction F1. The current monitoring unit 11 monitors the working current A1 in real time. The current comparison unit 14 compares the working current A1 with the threshold current A2. If A1 ≥ A2, the motor 20 continues to control the electric curtain 100 to move along the initial direction F1. If A1 < A2, it is determined that the electric curtain 100 reaches the limit position at this time;
[0077] Then start the learning of the opening time T1:
[0078] The motor 20 controls the electric curtain 100 to move in the opening direction. When A1 ≥ A2, the time learning unit 15 starts to record the opening time T1 of the electric curtain 100. The motor 20 controls the electric curtain 100 to continue to move in the opening direction until A1 < A2, and it is determined that the electric curtain 100 reaches the limit position at this time. At this time, the time learning unit 15 stops recording the opening time T1;
[0079] Finally, start the learning of the closing time T2:
[0080] The motor 20 controls the electric curtain 100 to move in the closing direction. When A1 ≥ A2, the time learning unit 15 starts to record the closing time T2 of the electric curtain 100. The motor 20 controls the electric curtain 100 to continue to move in the closing direction until A1 < A2, and it is determined that the electric curtain 100 reaches the limit position at this time. At this time, the time learning unit 15 stops recording the closing time T2.
[0081] Time storage:
[0082] The storage unit 16 stores the opening time T1 and the closing time T2.
[0083] Time comparison:
[0084] The time comparison unit 17 compares the magnitudes of T1 and T2.
[0085] If T1 > T2, it indicates that the positive and negative poles of the electric curtain 100 are correctly connected.
[0086] If T1 ≤ T2, it indicates that the positive and negative poles of the electric curtain 100 are incorrectly connected and the control signal needs to be adjusted.
[0087] According to the calibration process, in the example application:
[0088] In the case of correct connection:
[0089] The first control signal controls the electric curtain 100 to unfold along the initial direction F1 (the same as the preset direction F2), and the current rises to 2.0 A (motion state).
[0090] When the electric curtain 100 is in the closed state, the current drops to 0.5 A (endpoint state).
[0091] The closed electric curtain 100 retracts upward along the opening direction, the current rises to 2.0 A (motion state), and starts to record the opening time T1.
[0092] When the electric curtain 100 is in the open state, the current drops to 0.5 A (endpoint state), and stops recording the opening time T1.
[0093] The open electric curtain 100 unfolds downward along the closing direction, the current rises to 2.0 A (motion state), and starts to record the closing time T2.
[0094] When the electric curtain 100 is in the closed state again, the current drops to 0.5 A (endpoint state), and stops recording the closing time T2.
[0095] Time record:
[0096] Opening time T1: 6 seconds.
[0097] Closing time T2: 5 seconds.
[0098] Judgment result:
[0099] T1 > T2, the positive and negative poles of the electric curtain 100 are correctly connected to the positive and negative poles of the control box 10.
[0100] In the case of incorrect connection:
[0101] The first control signal controls the electric curtain 100 to retract along the initial direction F1 (opposite to the preset direction F2), and the current rises to 2.0 A (motion state).
[0102] When the electric curtain 100 is in the open state, the current drops to 0.5 A (endpoint state).
[0103] The closed electric curtain 100 unfolds downward along the opening direction, the current rises to 2.0 A (motion state), and starts to record the opening time T1.
[0104] When the electric curtain 100 is in the closed state, the current drops to 0.5 A (endpoint state), and stops recording the opening time T1.
[0105] The open electric curtain 100 retracts upward along the closing direction, the current rises to 2.0 A (motion state), and starts to record the closing time T2.
[0106] When the electric curtain 100 is in the open state again, the current drops to 0.5 A (endpoint state), and the closing time T2 is stopped being recorded.
[0107] Time record:
[0108] Opening time T1: 5 seconds (actually the closing time).
[0109] Closing time T2: 6 seconds (actually the opening time).
[0110] Judgment result:
[0111] If T1 ≤ T2, the positive and negative poles of the electric curtain 100 are wrongly connected to the positive and negative poles of the control box 10.
[0112] Calibration mechanism:
[0113] The logic control unit 12 interrupts the first control signal and outputs the second control signal. According to the second control signal, the motor 20 rotates in reverse, making the initial direction F1 of the electric curtain 100 the same as the preset direction F2. The electric curtain 100 is debugged again and finally in the closed state. The debugging is over, and the electric curtain 100 realizes automatic calibration.
[0114] Thus, in the present invention, the current comparison unit 14 compares the working current A1 of the motor 20 with the threshold current A2 to determine whether the electric curtain 100 is in the moving state or at the limit position, thereby helping the time learning unit 15 accurately record the opening time T1 and the closing time T2. The time comparison unit 17 compares the opening time T1 and the closing time T2 to judge the wiring situation of the positive and negative poles of the electric curtain 100 and the control box 10, and adopts the method that the control box 10 automatically adjusts the control signal according to the wiring situation to calibrate the moving direction of the motor 20. By accurately judging whether the electric curtain 100 is in the moving state through the current change, and using the time learning unit 15 to accurately record the opening time and the closing time in combination with the judgment of the current comparison unit 14, this method does not rely on additional sensors and can be realized only through current detection, simplifies the system design, and reduces the product cost. The system can automatically record and store the opening and closing times without manual intervention, and also improves the installation and debugging efficiency to a certain extent.
[0115] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0116] The above-described embodiments merely represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all fall within the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the appended claims.
Claims
1. A method for calibrating an electric curtain, based on a control box and a motor electrically connected to the electric curtain, for use in a scenario where the electric curtain is installed, the electric curtain is in an open state when it is fully folded, and in a closed state when it is fully unfolded, the opening direction is an ascending direction, and the closing direction is a descending direction, the control box includes a logic control unit, a motor drive unit, a time learning unit, a storage unit, and a time comparison unit; the method includes the steps of: S1. The logic control unit outputs a first control signal, and the motor drive unit drives the motor to control the movement of the electric curtain according to the first control signal; S2. The motor controls the electric curtain to move in the closing direction first until the electric curtain reaches the limit position; then the motor controls the electric curtain to move in the opening direction until the electric curtain reaches the limit position, and at the same time, the time learning unit learns the opening time T1 of the electric curtain; finally, the motor controls the electric curtain to move in the closing direction until the electric curtain reaches the limit position, and at the same time, the time learning unit learns the closing time T2 of the electric curtain; S3. The storage unit stores the opening time T1 and the closing time T2; S4. The time comparison unit compares the opening time T1 and the closing time T2. If T1>T2, the process proceeds to step S5; if T1≤T2, the process proceeds to step S6; S5. At this time, the electric curtain is in the closed state. It is determined that the positive and negative poles of the electric curtain are correctly connected to the positive and negative poles of the control box, and the calibration is completed; S6. At this time, the electric curtain is in the open state, and it is determined that the positive and negative poles of the electric curtain are incorrectly connected to the positive and negative poles of the control box. The logic control unit interrupts the first control signal and outputs the second control signal. The motor drive unit drives the motor to control the movement of the electric curtain according to the second control signal, so that the electric curtain returns to the closed state, and the calibration is completed; in, The rotation direction of the motor is determined by the direction of the working current A1; The direction of the current under the control of the second control signal is opposite to the direction of the current under the control of the first control signal.
2. The electric curtain calibration method according to claim 1, characterized in that: The electric curtain includes a reel, a pull cord and a bottom edge of the curtain. The reel is drivingly connected to the output shaft of the motor, and the motor is used to drive the reel to rotate clockwise or counterclockwise. There are two pull cords, one of which is fixedly connected to the left end of the reel and the left end of the bottom edge of the curtain, and the other is fixedly connected to the right end of the reel and the right end of the bottom edge of the curtain. When the reel rotates, the pull cord is wound around or unfolded on the reel, thereby driving the electric curtain to rise or fall.
3. The electric curtain calibration method according to claim 2, characterized in that: The first control signal specifically controls the electric curtain to move in the closing direction first until the electric curtain reaches the limit position; then controls the electric curtain to move in the opening direction until the electric curtain reaches the limit position; and finally controls the electric curtain to move in the closing direction until the electric curtain reaches the limit position.
4. The method for calibrating an electric curtain according to claim 3, characterized in that: The control box also includes a current monitoring unit and a current comparison unit; the current monitoring unit is used to monitor the working current A1 of the motor in real time; the logic control unit is provided with a threshold current A2, and the current comparison unit is used to compare the working current A1 of the motor with the threshold current A2, and compare the working current A1 with the threshold current A2. If A1≥A2, it is judged that the electric curtain is in motion; if A1<A2, it is judged that the electric curtain has reached the limit position, and the limit position is the position when the electric curtain is in an open state or a closed state.
5. The method for calibrating an electric curtain according to claim 4, characterized in that: The step S2 comprises: S21. The motor controls the electric curtain to move in the closing direction first, and the current monitoring unit monitors the working current A1 of the motor. The current comparison unit compares the working current A1 of the motor with the threshold current A2 in real time. If A1≥A2, the motor continues to control the electric curtain to move in the closing direction. If A1<A2, it is determined that the electric curtain has reached the limit position.
6. The method for calibrating an electric curtain according to claim 5, characterized in that: The step S2 further comprises: S22. Then the motor controls the electric curtain to move in the opening direction. When A1≥A2, the time learning unit starts to record the opening time T1 of the electric curtain. The motor controls the electric curtain to continue to move in the opening direction until A1<A2. It is judged that the electric curtain reaches the limit position at this time. At this time, the time learning unit stops recording the opening time T1.
7. The method for calibrating an electric curtain according to claim 6, characterized in that: The step S2 further comprises: S23. Finally, the motor controls the electric curtain to move in the closing direction. When A1≥A2, the time learning unit starts to record the closing time T2 of the electric curtain. The motor controls the electric curtain to continue to move in the closing direction until A1<A2. It is judged that the electric curtain reaches the limit position at this time. At this time, the time learning unit stops recording the closing time T2.
Citation Information
Patent Citations
Curtain timing circuit and controller
CN107114999A
Control method applied to automatic stroke calibration of curtain motor
CN116931606A