CN111214086A - Method, equipment and storage medium for measuring and demonstrating state of electric curtain - Google Patents

Method, equipment and storage medium for measuring and demonstrating state of electric curtain Download PDF

Info

Publication number
CN111214086A
CN111214086A CN202010019038.9A CN202010019038A CN111214086A CN 111214086 A CN111214086 A CN 111214086A CN 202010019038 A CN202010019038 A CN 202010019038A CN 111214086 A CN111214086 A CN 111214086A
Authority
CN
China
Prior art keywords
curtain
electric curtain
motor
data
electric
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010019038.9A
Other languages
Chinese (zh)
Inventor
胡鸿源
李绍斌
唐杰
陈道远
杨苗
段武斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010019038.9A priority Critical patent/CN111214086A/en
Publication of CN111214086A publication Critical patent/CN111214086A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47HFURNISHINGS FOR WINDOWS OR DOORS
    • A47H5/00Devices for drawing draperies, curtains, or the like
    • A47H5/02Devices for opening and closing curtains
    • EFIXED CONSTRUCTIONS
    • E06DOORS, WINDOWS, SHUTTERS, OR ROLLER BLINDS IN GENERAL; LADDERS
    • E06BFIXED OR MOVABLE CLOSURES FOR OPENINGS IN BUILDINGS, VEHICLES, FENCES OR LIKE ENCLOSURES IN GENERAL, e.g. DOORS, WINDOWS, BLINDS, GATES
    • E06B9/00Screening or protective devices for wall or similar openings, with or without operating or securing mechanisms; Closures of similar construction
    • E06B9/24Screens or other constructions affording protection against light, especially against sunshine; Similar screens for privacy or appearance; Slat blinds
    • E06B9/26Lamellar or like blinds, e.g. venetian blinds
    • E06B9/28Lamellar or like blinds, e.g. venetian blinds with horizontal lamellae, e.g. non-liftable
    • E06B9/30Lamellar or like blinds, e.g. venetian blinds with horizontal lamellae, e.g. non-liftable liftable
    • E06B9/32Operating, guiding, or securing devices therefor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/02Measuring arrangements characterised by the use of electric or magnetic techniques for measuring length, width or thickness
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/30Measuring arrangements characterised by the use of electric or magnetic techniques for measuring angles or tapers; for testing the alignment of axes
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B9/00Simulators for teaching or training purposes
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47HFURNISHINGS FOR WINDOWS OR DOORS
    • A47H5/00Devices for drawing draperies, curtains, or the like
    • A47H5/02Devices for opening and closing curtains
    • A47H2005/025Devices for opening and closing curtains controlled by electronic sensors

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Structural Engineering (AREA)
  • Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • Architecture (AREA)
  • Civil Engineering (AREA)
  • Curtains And Furnishings For Windows Or Doors (AREA)
  • Operating, Guiding And Securing Of Roll- Type Closing Members (AREA)

Abstract

The invention discloses a method, equipment and a storage medium for measuring and demonstrating the state of a motorized window treatment. The measuring method comprises the following steps: measuring motor rotation data of the electric curtain through a preset state sensor; determining curtain state data of the electric curtain according to the motor rotation data of the electric curtain; and sending the curtain state data to a client. The demonstration method comprises the following steps: receiving curtain state data sent by the electric curtain master controller; and simulating the curtain state change of the electric curtain in a demonstration interface corresponding to the electric curtain according to the curtain state data. The invention can measure the state data of the electric curtain in real time and send the state data of the electric curtain to the client through the state sensor arranged on the motor of the electric curtain, so that the client can present the state change process of the electric curtain to a user in a real-time animation interaction mode.

Description

Method, equipment and storage medium for measuring and demonstrating state of electric curtain
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, device, and storage medium for measuring and demonstrating a state of a motorized window treatment.
Background
With the continuous progress of science and technology, the electric curtain gradually appears in the daily life of people. At present, the electric curtain is mostly controlled by a remote controller, so that the hands of a user are liberated to a great extent, and the condition that the user changes the curtain manually, which wastes time and labor, is avoided. However, motorized window shades function on user operation rather than user interaction. When the remote controller of the electric curtain is operated, a user needs to observe the state of the curtain around the electric curtain, and when the opening and closing position of the curtain and/or the rotation angle of the blades meet the requirements of the user, the remote controller is stopped to operate, so that the movement of the user is limited. For example: a user in an outdoor environment will not be able to control the motorized window treatment in an indoor environment. For another example: when a user drives the vehicle, the user cannot look up the state of the sunshade screen, and can only change the opening and closing position of the sunshade screen by means of feeling.
Disclosure of Invention
It is a primary object of the present invention to provide a method, apparatus and storage medium for measuring and demonstrating the status of a motorized window treatment to solve the problem of the prior art motorized window treatment that relies on user manipulation rather than user interaction in its function.
Aiming at the technical problems, the invention solves the technical problems by the following technical scheme:
the invention provides a method for measuring the state of a power-driven curtain, which comprises the following steps executed at the side of a main controller of the power-driven curtain: measuring motor rotation data of the electric curtain through a preset state sensor; determining curtain state data of the electric curtain according to the motor rotation data of the electric curtain; and sending the curtain state data to a client so that the client can simulate the state change of the electric curtain according to the curtain state data.
Wherein the state sensor comprises: a position sensor and/or an angle sensor; the shade status data includes: the curtain opening and closing position data of the electric curtain and/or the blade opening and closing angle data of the electric curtain.
The position sensor is a first Hall sensor arranged on a first motor of the electric curtain; the first motor drives the electric curtain to open and close when rotating; the angle sensor is a second Hall sensor arranged on a second motor of the electric curtain; when the second motor rotates, the blades of the electric curtain are driven to rotate; measuring the number of turns of the first motor through the first Hall sensor; and measuring the rotation number of the second motor through the second Hall sensor.
Wherein determining the window covering status data of the motorized window covering based on the motor rotation data of the motorized window covering comprises: receiving a curtain position moving instruction sent by the client, and determining curtain opening and closing position data of the electric curtain according to the moving direction indicated by the curtain position moving instruction and the number of rotation turns of the first motor measured by the first Hall sensor; and/or receiving a blade angle rotation instruction sent by the client, and determining blade opening and closing angle data of the electric curtain according to the rotation direction indicated by the blade angle rotation instruction and the number of rotation turns of the second motor measured by the second Hall sensor.
The invention also provides a method for demonstrating the state of the electric curtain, which is executed at the client side and comprises the following steps: receiving curtain state data sent by the electric curtain master controller; the curtain state data is determined by the electric curtain main controller according to motor rotation data of the electric curtain measured by the state sensor; and simulating the curtain state change of the electric curtain in a demonstration interface corresponding to the electric curtain according to the curtain state data.
Wherein the shade status data comprises: the curtain opening and closing position data of the electric curtain and/or the blade opening and closing angle data of the electric curtain; the state sensor includes: a position sensor and/or an angle sensor.
The position sensor is a first Hall sensor arranged on a first motor of the electric curtain; the first motor rotates to drive the electric curtain to open and close; the first Hall sensor is used for measuring the number of turns of the first motor; the angle sensor is a second Hall sensor arranged on a second motor of the electric curtain; the second motor rotates to drive the blades of the electric curtain to rotate, and the second Hall sensor is used for measuring the number of rotation turns of the second motor.
Wherein, before the curtain state data sent by the electric curtain is received, the method further comprises the following steps: sending a curtain position moving instruction to the electric curtain main controller, wherein the curtain position moving instruction is used for controlling the electric curtain main controller to adjust the curtain opening and closing position of the electric curtain; and/or sending a blade angle rotation instruction to the electric curtain main controller, wherein the blade angle rotation instruction is used for controlling the electric curtain main controller to adjust the opening and closing angle of the blades of the electric curtain.
The present invention also provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing any of the methods of measuring a motorized window treatment state described above or implementing any of the methods of demonstrating a motorized window treatment state described above.
The present invention also provides a storage medium having a program stored thereon, which when executed by a processor implements the method of measuring a motorized window treatment status as defined in any one of the above, or implements the method of demonstrating a motorized window treatment status as defined in any one of the above.
The invention has the following beneficial effects:
the invention can measure the state data of the electric curtain in real time and send the state data of the electric curtain to the client through the state sensor arranged on the motor of the electric curtain, so that the client can present the state change process of the electric curtain to a user in a real-time animation interaction mode.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method of measuring the status of a motorized window treatment according to one embodiment of the present invention;
FIG. 2 is a flow chart of a method of demonstrating a motorized window treatment status according to one embodiment of the present invention;
fig. 3 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.
According to an embodiment of the present invention, a method of measuring a status of a motorized window treatment is provided.
The execution main body of the embodiment is the electric curtain main controller. The electric curtain master controller is arranged at the electric curtain side and used for controlling the change of the state of the electric curtain. The state of the electric curtain comprises the opening and closing position of the electric curtain and the rotation angle of the page.
Fig. 1 is a flowchart illustrating a method for measuring the status of a motorized window treatment according to an embodiment of the present invention.
And step S110, measuring motor rotation data of the electric curtain through a preset state sensor.
The category of motorized window treatment, including: rail windows and/or blade windows.
A track window refers to an electric curtain that changes the opening and closing positions of the curtain through a track, such as: provided is an electric sun visor.
A louver window is a motorized window curtain that changes the angle of a louver by rotating the louver, such as: an electric blind window.
Of course, the motorized window treatment may be both a track window and a louvered window.
A condition sensor, comprising: a position sensor and/or an angle sensor.
The position sensor is used for measuring the opening and closing position of the electric curtain. The position sensor can be an infrared distance sensor arranged on the movable edge of the electric curtain, and also can be a first Hall sensor arranged on a first motor of the electric curtain; and when the first motor rotates, the electric curtain is driven to open and close.
The angle sensor is used for measuring the rotating angle of the blades of the electric curtain. In this embodiment, the angle sensor may be a second hall sensor disposed on a second motor of the motorized window treatment; and when the second motor rotates, the blades of the electric curtain are driven to rotate.
Motor rotation data comprising: the number of turns of the motor of the electric curtain. After the electric curtain is powered on, the electric curtain can be driven to change the state through the rotation of the motor.
Measuring the number of turns of the first motor through the first Hall sensor; and measuring the rotation number of the second motor through the second Hall sensor.
Step S120, determining curtain state data of the electric curtain according to the motor rotation data of the electric curtain.
Curtain status data, comprising: the curtain opening and closing position data of the electric curtain and/or the blade opening and closing angle data of the electric curtain.
Curtain opening and closing position data includes: the displacement distance and the displacement direction of the movable edge of the electric curtain, or the rotation number and the rotation direction of the first motor of the electric curtain, wherein the displacement distance and the rotation direction correspond to each other, and the displacement direction and the rotation direction correspond to each other.
Blade opening and closing angle data, including: the rotation angle and the rotation direction of the blades of the electric window curtain, or the rotation number and the rotation direction of the second motor of the electric window curtain, wherein the rotation angle and the rotation number correspond to each other, and the rotation direction correspond to each other.
Specifically, a curtain position moving instruction sent by a client is received, and curtain opening and closing position data of the electric curtain are determined according to the moving direction indicated by the curtain position moving instruction and the number of rotation turns of a first motor measured by a first Hall sensor; and/or receiving a blade angle rotation instruction sent by the client, and determining blade opening and closing angle data of the electric curtain according to the rotation direction indicated by the blade angle rotation instruction and the rotation number of turns of the second motor measured by the second Hall sensor.
And the curtain position moving instruction is used for indicating that the movable side of the electric curtain is displaced to the indicated moving direction so as to change the opening and closing position of the electric curtain. The displacement direction is positive displacement or negative displacement. The positive displacement is the movement in the direction of closing the motorized window treatment. Negative directional displacement is movement in a direction that points to open the motorized window treatment. The rotating direction of the first motor corresponds to the moving direction of the movable edge of the electric curtain. For example: the first motor rotates forward and moves towards the direction of closing the electric curtain correspondingly, and rotates backward and moves towards the direction of opening the electric curtain correspondingly. Further, the number of rotations and the direction of rotation of the first motor may be vectorized as one-dimensional coordinates.
And the blade angle rotating command is used for indicating the blades of the rotating electric curtain so as to change the opening and closing angle of the blades of the electric curtain. The rotation includes a positive direction rotation or a negative direction rotation. The positive rotation is rotation in the direction of the maximum rotation angle of the blade. Negative direction selection refers to a rotation towards zero angle direction of the blade.
The first motor rotates for a circle and moves for a preset distance corresponding to the movable edge of the electric curtain. The second motor rotates for a circle corresponding to the preset angle of the blade of the electric curtain. Therefore, the displacement distance and the displacement direction of the movable edge of the electric curtain can be determined according to the curtain position movement instruction and the rotation number of turns of the first motor; according to the blade angle rotating instruction and the rotating number of the second motor, the rotating angle and the rotating direction of the blade of the electric curtain can be determined.
Further, the position of the motorized window treatment may be recorded after each displacement of the movable side of the motorized window treatment, and the position recorded at the previous time may be read at the next displacement, and the displacement may be performed with the position recorded at the previous time as a reference. The opening and closing angle of the blade of the electric curtain can be recorded after the blade of the electric curtain is rotated every time, and when the blade is rotated next time, the opening and closing angle recorded at the previous time is read, and the blade is rotated by taking the opening and closing angle at the previous time as a reference.
Step S130, the curtain state data is sent to a client side, so that the client side can simulate the state change of the electric curtain according to the curtain state data.
A change in status of a motorized window treatment, comprising: the opening and closing position of the curtain and/or the rotation angle of the blade.
If the client can demonstrate the state changes of a plurality of motorized window shades, the unique code of the motorized window shades can be included in the window shade state data, so that the client can perform the demonstration of the window shade state changes in the corresponding motorized window shade pictures.
In this embodiment, the curtain state data may be sent to the client through the server.
Through the embodiment, the curtain state data of the electric curtain can be measured in real time and sent to the client through the state sensor arranged on the motor of the electric curtain, so that the client can present the state change process of the electric curtain to a user in a real-time animation interaction mode.
In this embodiment, before the motor rotation data of the motorized window treatment is measured by the preset state sensor, the length of the track of the motorized window treatment is quantified by the first hall sensor, and the total number of rotation turns of the first motor from the fully-opened state (track starting point) to the fully-closed state (track end point) of the motorized window treatment can be determined through the length quantification. The angle quantization is carried out on the rotation range of the blades of the electric curtain by utilizing the second Hall sensor, and the total rotation turns of the second motor can be determined from the angle to the maximum angle of the blades of the electric curtain through the angle quantization. The total number of revolutions of the first motor and the total number of revolutions of the second motor are stored in a non-volatile memory. The types of nonvolatile memory include: ROM (Read-only Memory) and Flash Memory.
Reading a total number of rotations of a first motor and a total number of rotations of a second motor of the motorized window treatment from a non-volatile storage after the motorized window treatment is powered on; initializing the first motor according to the total number of turns of the first motor, and restoring the electric curtain to the starting point of the track by the first motor; and initializing the second motor according to the total rotation number of the second motor, and restoring the blades to the zero-angle position by the second motor.
Based on the method for measuring the state of the electric curtain performed at the master controller side of the electric curtain, the embodiment provides a method for demonstrating the state of the electric curtain. The execution subject of the embodiment is a client.
Fig. 2 is a flowchart illustrating a method for demonstrating the status of a motorized window treatment according to an embodiment of the present invention.
Step S210, receiving curtain state data sent by the electric curtain master controller; wherein the curtain state data is determined by the electric curtain master controller according to motor rotation data of the electric curtain measured by the state sensor.
In this embodiment, the curtain status data includes: curtain opening and closing position data of the electric curtain and/or blade opening and closing angle data of the electric curtain.
The curtain opening and closing position data can be the displacement distance and the displacement direction of the movable edge of the electric curtain, and also can be the rotation number and the rotation direction of the first motor of the electric curtain. The curtain opening and closing position data of the electric curtain can be one-dimensional coordinates representing the rotation number and the rotation direction of the first motor.
The data of the opening and closing angle of the blade can be the rotating angle and the rotating direction of the blade of the electric curtain, and also can be the rotating number and the rotating direction of the second motor of the electric curtain.
In this embodiment, the state sensor includes: a position sensor and/or an angle sensor.
The position sensor is a first Hall sensor arranged on a first motor of the electric curtain; the first motor rotates to drive the electric curtain to open and close; the first Hall sensor is used for measuring the rotation number of turns of the first motor.
The angle sensor is a second Hall sensor arranged on a second motor of the electric curtain; the second motor rotates to drive the blades of the electric curtain to rotate, and the second Hall sensor is used for measuring the number of rotation turns of the second motor.
In this embodiment, before the receiving the curtain status data sent by the motorized curtain, the method further includes: sending a curtain position moving instruction to the electric curtain main controller, wherein the curtain position moving instruction is used for controlling the electric curtain main controller to adjust the curtain opening and closing position of the electric curtain; and/or sending a blade angle rotation instruction to the electric curtain main controller, wherein the blade angle rotation instruction is used for controlling the electric curtain main controller to adjust the opening and closing angle of the blades of the electric curtain.
For example: setting a control button in the client, wherein the control button comprises: a displacement "+" button, a displacement "-" button, a rotation "+" button, and a rotation "-" button, the displacement "+" button representing positive direction displacement, the displacement "-" button representing negative direction displacement, the rotation "+" button representing positive direction rotation, and the rotation "-" button representing negative direction rotation. The user presses the control button to be controlled, and then the corresponding instruction can be sent to the electric curtain main controller.
And S220, simulating the curtain state change of the electric curtain in a demonstration interface corresponding to the electric curtain according to the curtain state data.
The demonstration interface corresponding to the electric curtain comprises a two-dimensional picture or a three-dimensional picture of the electric curtain. The curtain size of the two-dimensional picture and the three-dimensional picture is the curtain size after the electric curtain is reduced by a preset multiple.
If the curtain opening and closing position data is the displacement distance and the displacement direction of the movable edge of the electric curtain, the displacement distance needs to be reduced by the preset times.
If the curtain opening and closing position data is the rotation turn number and the rotation direction of a first motor of the electric curtain, and the blade opening and closing angle data is the rotation turn number and the rotation direction of a second motor of the electric curtain, the rotation turn number and the rotation direction of the first motor of the electric curtain can be converted into the displacement distance and the displacement direction according to the preset displacement distance of the movable edge of the electric curtain corresponding to the rotation turn number of the first motor and the corresponding relation between the rotation direction and the displacement direction of the first motor; and converting the rotation number and the rotation direction of the second motor into a rotation angle and a rotation direction according to the preset rotation angle of the blade of the electric curtain corresponding to the rotation of one circle of the second motor and the corresponding relation between the rotation direction and the rotation direction of the second motor.
And changing the current state of the electric curtain in the demonstration interface into the state corresponding to the curtain state data according to the curtain state data. Further, the movable side of the electric curtain in the demonstration interface is displaced according to the displacement distance and the displacement direction of the movable side in the curtain state data, and the blade of the electric curtain in the demonstration interface is rotated according to the rotation angle and the rotation direction in the curtain state data.
If the client can demonstrate the curtain state changes of the plurality of electric curtains, extracting the unique code of the electric curtain from the received curtain state data; switching to a demonstration interface corresponding to the unique code according to the unique code of the electric curtain; displaying a two-dimensional picture or a three-dimensional picture of the electric curtain corresponding to the unique code in the demonstration interface; and in the two-dimensional picture or the three-dimensional picture, the current curtain state data of the electric curtain is changed according to the received curtain state data.
In this embodiment, the client may demonstrate the change of the electric curtain in an animation demonstration manner in the demonstration interface corresponding to the electric curtain according to the curtain state change sent by the electric curtain master controller. Through the embodiment, the client can not only realize the operation of the electric curtain, but also realize the real-time interaction with the electric curtain, thereby increasing the interactivity between the user and the electric curtain.
Through the embodiment, even if the electric curtain is not in the visual range of the user, the user can visually see the opening and closing position change of the electric curtain and the angle change of the blade in the client. By the mode, the user can see the animation effect of the state change of the electric curtain while controlling the electric curtain, so that the user and the electric curtain directly generate friendly interaction effect.
For example: the user can see the position that the sunshade screen moved at present through the customer end without raising the head to watch the sunshade screen moving position in the driving process, and the sunshade screen is stopped to operate according to the sunshade requirement, so that the driving safety is improved.
For another example: when a user thinks that the curtain in the home is opened during work, the user can send a curtain position moving instruction to the curtain through the client installed in the mobile terminal, observe the closed position of the curtain through the client and stop sending the curtain position moving instruction to the curtain according to the requirement.
The embodiment provides an electronic device. Fig. 3 is a block diagram of an electronic device according to an embodiment of the invention.
In this embodiment, the electronic device includes, but is not limited to: a processor 310, a memory 320.
The processor 310 is configured to execute a computer program stored in the memory 320 to implement the above-described method of measuring a status of a motorized window treatment or a method of demonstrating a status of a motorized window treatment.
The processor 310 is configured to execute the computer program stored in the memory 320 to implement the steps performed at the master side of the motorized window treatment: measuring motor rotation data of the electric curtain through a preset state sensor; determining curtain state data of the electric curtain according to the motor rotation data of the electric curtain; and sending the curtain state data to a client so that the client can simulate the state change of the electric curtain according to the curtain state data.
Wherein the state sensor comprises: a position sensor and/or an angle sensor; the shade status data includes: the curtain opening and closing position data of the electric curtain and/or the blade opening and closing angle data of the electric curtain.
The position sensor is a first Hall sensor arranged on a first motor of the electric curtain; the first motor drives the electric curtain to open and close when rotating; the angle sensor is a second Hall sensor arranged on a second motor of the electric curtain; when the second motor rotates, the blades of the electric curtain are driven to rotate; measuring the number of turns of the first motor through the first Hall sensor; and measuring the rotation number of the second motor through the second Hall sensor.
Wherein determining the window covering status data of the motorized window covering based on the motor rotation data of the motorized window covering comprises: receiving a curtain position moving instruction sent by the client, and determining curtain opening and closing position data of the electric curtain according to the moving direction indicated by the curtain position moving instruction and the number of rotation turns of the first motor measured by the first Hall sensor; and/or receiving a blade angle rotation instruction sent by the client, and determining blade opening and closing angle data of the electric curtain according to the rotation direction indicated by the blade angle rotation instruction and the number of rotation turns of the second motor measured by the second Hall sensor.
The processor 310 is configured to execute the computer program stored in the memory 320 to implement the steps performed at the client side of: receiving curtain state data sent by the electric curtain master controller; the curtain state data is determined by the electric curtain main controller according to motor rotation data of the electric curtain measured by the state sensor; and simulating the curtain state change of the electric curtain in a demonstration interface corresponding to the electric curtain according to the curtain state data.
Wherein the shade status data comprises: the curtain opening and closing position data of the electric curtain and/or the blade opening and closing angle data of the electric curtain; the state sensor includes: a position sensor and/or an angle sensor.
The position sensor is a first Hall sensor arranged on a first motor of the electric curtain; the first motor rotates to drive the electric curtain to open and close; the first Hall sensor is used for measuring the number of turns of the first motor; the angle sensor is a second Hall sensor arranged on a second motor of the electric curtain; the second motor rotates to drive the blades of the electric curtain to rotate, and the second Hall sensor is used for measuring the number of rotation turns of the second motor.
Wherein, before the curtain state data sent by the electric curtain is received, the method further comprises the following steps: sending a curtain position moving instruction to the electric curtain main controller, wherein the curtain position moving instruction is used for controlling the electric curtain main controller to adjust the curtain opening and closing position of the electric curtain; and/or sending a blade angle rotation instruction to the electric curtain main controller, wherein the blade angle rotation instruction is used for controlling the electric curtain main controller to adjust the opening and closing angle of the blades of the electric curtain.
The embodiment of the invention also provides a storage medium. The storage medium herein stores one or more programs. Among others, the storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
When executed by one or more processors, the one or more programs stored on the storage medium implement the above-described method for measuring a status of a motorized window treatment or a method for demonstrating a status of a motorized window treatment.
In particular, the processor is configured to execute a computer program stored in the memory to implement the steps performed at the motorized window treatment master side of: measuring motor rotation data of the electric curtain through a preset state sensor; determining curtain state data of the electric curtain according to the motor rotation data of the electric curtain; and sending the curtain state data to a client so that the client can simulate the state change of the electric curtain according to the curtain state data.
Wherein the state sensor comprises: a position sensor and/or an angle sensor; the shade status data includes: the curtain opening and closing position data of the electric curtain and/or the blade opening and closing angle data of the electric curtain.
The position sensor is a first Hall sensor arranged on a first motor of the electric curtain; the first motor drives the electric curtain to open and close when rotating; the angle sensor is a second Hall sensor arranged on a second motor of the electric curtain; when the second motor rotates, the blades of the electric curtain are driven to rotate; measuring the number of turns of the first motor through the first Hall sensor; and measuring the rotation number of the second motor through the second Hall sensor.
Wherein determining the window covering status data of the motorized window covering based on the motor rotation data of the motorized window covering comprises: receiving a curtain position moving instruction sent by the client, and determining curtain opening and closing position data of the electric curtain according to the moving direction indicated by the curtain position moving instruction and the number of rotation turns of the first motor measured by the first Hall sensor; and/or receiving a blade angle rotation instruction sent by the client, and determining blade opening and closing angle data of the electric curtain according to the rotation direction indicated by the blade angle rotation instruction and the number of rotation turns of the second motor measured by the second Hall sensor.
The processor is configured to execute a computer program stored in the memory to implement the steps performed at the client side of: receiving curtain state data sent by the electric curtain master controller; the curtain state data is determined by the electric curtain main controller according to motor rotation data of the electric curtain measured by the state sensor; and simulating the curtain state change of the electric curtain in a demonstration interface corresponding to the electric curtain according to the curtain state data.
Wherein the shade status data comprises: the curtain opening and closing position data of the electric curtain and/or the blade opening and closing angle data of the electric curtain; the state sensor includes: a position sensor and/or an angle sensor.
The position sensor is a first Hall sensor arranged on a first motor of the electric curtain; the first motor rotates to drive the electric curtain to open and close; the first Hall sensor is used for measuring the number of turns of the first motor; the angle sensor is a second Hall sensor arranged on a second motor of the electric curtain; the second motor rotates to drive the blades of the electric curtain to rotate, and the second Hall sensor is used for measuring the number of rotation turns of the second motor.
Wherein, before the curtain state data sent by the electric curtain is received, the method further comprises the following steps: sending a curtain position moving instruction to the electric curtain main controller, wherein the curtain position moving instruction is used for controlling the electric curtain main controller to adjust the curtain opening and closing position of the electric curtain; and/or sending a blade angle rotation instruction to the electric curtain main controller, wherein the blade angle rotation instruction is used for controlling the electric curtain main controller to adjust the opening and closing angle of the blades of the electric curtain.
The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (10)

1. A method of measuring the status of a motorized window treatment, the method comprising the steps performed at the master side of the motorized window treatment, comprising:
measuring motor rotation data of the electric curtain through a preset state sensor;
determining curtain state data of the electric curtain according to the motor rotation data of the electric curtain;
and sending the curtain state data to a client so that the client can simulate the state change of the electric curtain according to the curtain state data.
2. The method of claim 1,
the state sensor includes: a position sensor and/or an angle sensor;
the shade status data, comprising: the curtain opening and closing position data of the electric curtain and/or the blade opening and closing angle data of the electric curtain.
3. The method of claim 2,
the position sensor is a first Hall sensor arranged on a first motor of the electric curtain; the first motor drives the electric curtain to open and close when rotating;
the angle sensor is a second Hall sensor arranged on a second motor of the electric curtain; when the second motor rotates, the blades of the electric curtain are driven to rotate;
the motor rotation data of the electric curtain is measured through the preset state sensor, and the method comprises the following steps:
measuring the number of turns of the first motor through the first Hall sensor;
and measuring the rotation number of the second motor through the second Hall sensor.
4. The method of claim 3, wherein determining the window covering status data for the motorized window covering based on the motor rotation data for the motorized window covering comprises:
receiving a curtain position moving instruction sent by the client, and determining curtain opening and closing position data of the electric curtain according to the moving direction indicated by the curtain position moving instruction and the number of rotation turns of the first motor measured by the first Hall sensor; and/or the presence of a gas in the gas,
and receiving a blade angle rotation instruction sent by the client, and determining blade opening and closing angle data of the electric curtain according to the rotation direction indicated by the blade angle rotation instruction and the number of rotation turns of the second motor measured by the second Hall sensor.
5. A method of demonstrating motorized window treatment status, characterized in that the steps performed at the client side comprise:
receiving curtain state data sent by the electric curtain master controller; the curtain state data is determined by the electric curtain main controller according to motor rotation data of the electric curtain measured by the state sensor;
and simulating the curtain state change of the electric curtain in a demonstration interface corresponding to the electric curtain according to the curtain state data.
6. The method of claim 5,
the shade status data, comprising: the curtain opening and closing position data of the electric curtain and/or the blade opening and closing angle data of the electric curtain;
the state sensor includes: a position sensor and/or an angle sensor.
7. The method of claim 6,
the position sensor is a first Hall sensor arranged on a first motor of the electric curtain; the first motor rotates to drive the electric curtain to open and close; the first Hall sensor is used for measuring the number of turns of the first motor;
the angle sensor is a second Hall sensor arranged on a second motor of the electric curtain; the second motor rotates to drive the blades of the electric curtain to rotate, and the second Hall sensor is used for measuring the number of rotation turns of the second motor.
8. The method of claim 5, further comprising, prior to the receiving the window covering status data transmitted by the motorized window covering:
sending a curtain position moving instruction to the electric curtain main controller, wherein the curtain position moving instruction is used for controlling the electric curtain main controller to adjust the curtain opening and closing position of the electric curtain; and/or the presence of a gas in the gas,
and sending a blade angle rotation instruction to the electric curtain main controller, wherein the blade angle rotation instruction is used for controlling the electric curtain main controller to adjust the opening and closing angle of the blades of the electric curtain.
9. An electronic device, characterized in that the electronic device comprises: memory, processor and computer program stored on the memory and executable on the processor, the computer program when executed by the processor implementing the method of measuring a motorized window treatment status according to any one of claims 1 to 4 or implementing the method of demonstrating a motorized window treatment status according to any one of claims 5 to 8.
10. A storage medium having stored thereon a program which, when executed by a processor, carries out a method of measuring a motorized window treatment status according to any one of claims 1 to 4 or a method of demonstrating a motorized window treatment status according to any one of claims 5 to 8.
CN202010019038.9A 2020-01-08 2020-01-08 Method, equipment and storage medium for measuring and demonstrating state of electric curtain Pending CN111214086A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010019038.9A CN111214086A (en) 2020-01-08 2020-01-08 Method, equipment and storage medium for measuring and demonstrating state of electric curtain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010019038.9A CN111214086A (en) 2020-01-08 2020-01-08 Method, equipment and storage medium for measuring and demonstrating state of electric curtain

Publications (1)

Publication Number Publication Date
CN111214086A true CN111214086A (en) 2020-06-02

Family

ID=70825995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010019038.9A Pending CN111214086A (en) 2020-01-08 2020-01-08 Method, equipment and storage medium for measuring and demonstrating state of electric curtain

Country Status (1)

Country Link
CN (1) CN111214086A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112782998A (en) * 2020-12-31 2021-05-11 追觅科技(上海)有限公司 Curtain control method, device and storage medium
CN114794837A (en) * 2022-04-01 2022-07-29 深圳市新博孚智能设备有限公司 Intelligent curtain and dimming method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0793158A1 (en) * 1996-02-29 1997-09-03 ZUMTOBEL LICHT GmbH Method and device for controlling a blind
CN104033094A (en) * 2014-05-28 2014-09-10 深圳市博孚机电有限公司 Control method of electric roller shutter and electric roller shutter
CN106285443A (en) * 2016-08-19 2017-01-04 宁波杜亚机电技术有限公司 Electric rolling control method based on intelligent terminal APP
CN208094471U (en) * 2018-01-31 2018-11-13 宁波杜亚机电技术有限公司 Dual-output motor and application have the curtain driving device of the dual-output motor
CN109184536A (en) * 2018-07-16 2019-01-11 上海博开遮阳科技有限公司 A kind of control method of electrically driven curtain
CN209581098U (en) * 2019-03-13 2019-11-05 上海艾铭思汽车控制系统有限公司 A kind of skylight and sunshade control system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0793158A1 (en) * 1996-02-29 1997-09-03 ZUMTOBEL LICHT GmbH Method and device for controlling a blind
CN104033094A (en) * 2014-05-28 2014-09-10 深圳市博孚机电有限公司 Control method of electric roller shutter and electric roller shutter
CN106285443A (en) * 2016-08-19 2017-01-04 宁波杜亚机电技术有限公司 Electric rolling control method based on intelligent terminal APP
CN208094471U (en) * 2018-01-31 2018-11-13 宁波杜亚机电技术有限公司 Dual-output motor and application have the curtain driving device of the dual-output motor
CN109184536A (en) * 2018-07-16 2019-01-11 上海博开遮阳科技有限公司 A kind of control method of electrically driven curtain
CN209581098U (en) * 2019-03-13 2019-11-05 上海艾铭思汽车控制系统有限公司 A kind of skylight and sunshade control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112782998A (en) * 2020-12-31 2021-05-11 追觅科技(上海)有限公司 Curtain control method, device and storage medium
CN114794837A (en) * 2022-04-01 2022-07-29 深圳市新博孚智能设备有限公司 Intelligent curtain and dimming method thereof

Similar Documents

Publication Publication Date Title
CN111214086A (en) Method, equipment and storage medium for measuring and demonstrating state of electric curtain
US5869940A (en) Gate operator apparatus and method with learning-mode
CN107062513B (en) The method for controlling stepping motor and air conditioner of air conditioner
US20120253483A1 (en) Control Device Comprising an Interface Capable of Proposing the Next Control Command to be Transmitted to a Home-Automation Appliance
JP4331510B2 (en) A method to learn the running limit of roller blind actuator
CN105257143A (en) Method and device for controlling window to open and close
DE202013104254U1 (en) Electronic communication device for home control
JP6038554B2 (en) Electric solar shading device and control method for electric solar shading device
JP2016069840A (en) Ventilation management system, ventilation control device and program
CN204880596U (en) Vent self -cleaning device
JP2000056889A5 (en)
EP1996779B1 (en) Window
CN112782998B (en) Curtain control method, device and storage medium
CN112878887B (en) Intelligent sunshade integrated system window and control method thereof
CN201152128Y (en) Multifunctional synchronous louvre window
FR2832451A1 (en) Solar blind variable start position motor control with control unit/motor installation installed driving blind movement between two end positions and resetting slant position correct setting following movement end.
EP2000867A1 (en) Method for configuring a home automation system reacting to a weather event
US20240093552A1 (en) Roller shade system
CN208294329U (en) A kind of window of automatic open-close
KR102215550B1 (en) Opening and closing device for electronic type vinyl house
EP2554776B1 (en) Method of learning for a particular position of an electric actuator for operating home automation equipment.
JP2007093060A (en) Ventilating device
KR20160012348A (en) Kinetic facade
CN114137848B (en) Household noise intelligent control system and method based on 5G platform
CN111152638B (en) Method and device for precise positioning of movably arranged panels

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination