CN107975908B - Air conditioner opening and closing structure control method, air conditioner and readable storage medium - Google Patents

Air conditioner opening and closing structure control method, air conditioner and readable storage medium Download PDF

Info

Publication number
CN107975908B
CN107975908B CN201711077544.8A CN201711077544A CN107975908B CN 107975908 B CN107975908 B CN 107975908B CN 201711077544 A CN201711077544 A CN 201711077544A CN 107975908 B CN107975908 B CN 107975908B
Authority
CN
China
Prior art keywords
opening
closing structure
step number
pulse signal
closing
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.)
Active
Application number
CN201711077544.8A
Other languages
Chinese (zh)
Other versions
CN107975908A (en
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.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Air Conditioning Equipment 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 Midea Group Co Ltd, GD Midea Air Conditioning Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201711077544.8A priority Critical patent/CN107975908B/en
Priority to PCT/CN2018/075668 priority patent/WO2019085321A1/en
Publication of CN107975908A publication Critical patent/CN107975908A/en
Application granted granted Critical
Publication of CN107975908B publication Critical patent/CN107975908B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/70Control systems characterised by their outputs; Constructional details thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Air Conditioning Control Device (AREA)
  • Power-Operated Mechanisms For Wings (AREA)

Abstract

The invention discloses a control method of an opening and closing structure of an air conditioner, which comprises the following steps: receiving a closing instruction of the opening and closing structure, and controlling a motor to drive the opening and closing structure to move towards the closing direction of the opening and closing structure; in the process of controlling the opening and closing structure to be closed, judging whether the duration time of each pulse signal detected by the detector exceeds a set time threshold value or not; if the current step number exceeds the preset step number counting range, determining whether the driving step number of the driving motor of the current opening and closing structure is within the preset step number counting range; when the driving step number of the pulse signal exceeding the time threshold is within a preset step number counting range, the opening and closing structure is judged to be blocked, and the motor is controlled to drive the opening and closing structure to move towards the opening direction of the opening and closing structure. The invention also discloses an air conditioner and a readable storage medium. The invention reduces the cost of detecting the closing of the opening and closing structure when encountering obstacles, ensures high sensitivity by judging the pulse duration, improves the accuracy and speed of detection and reduces damage.

Description

Air conditioner opening and closing structure control method, air conditioner and readable storage medium
Technical Field
The invention relates to the technical field of household appliances, in particular to an opening and closing structure control method of an air conditioner, the air conditioner and a readable storage medium.
Background
At present, a door panel of an air conditioner can be continuously closed when meeting obstacle detection, and if the obstacle is a part of the body of a user, the user can be injured. The conventional obstacle detection methods include a motor driving current detection method, a rotational speed frequency detection method, and a resistance detection method. The realization of the methods needs a plurality of detection mechanisms, and the detection mechanisms are additionally used on the air conditioner door plate, so that more cost is increased. At present, the mode for detecting the obstacle when the door panel of the air conditioner is closed is high in cost and poor in detection effect.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide an air conditioner opening and closing structure control method, an air conditioner and a readable storage medium, and aims to solve the problems that the existing mode for detecting whether a door plate of the air conditioner is closed and meets an obstacle is high in cost and poor in detection effect.
In order to achieve the above object, an aspect of the present invention provides a method for controlling an opening and closing structure of an air conditioner, including the steps of:
receiving a closing instruction of the opening and closing structure, and controlling a motor to drive the opening and closing structure to move towards the closing direction of the opening and closing structure;
in the process of controlling the opening and closing structure to be closed, judging whether the duration time of each pulse signal detected by the detector exceeds a set time threshold value or not;
if the current step number exceeds the preset step number counting range, determining whether the driving step number of the driving motor of the current opening and closing structure is within the preset step number counting range;
when the driving step number of the pulse signal exceeding the time threshold is within a preset step number counting range, it is judged that the opening and closing structure is blocked, and the motor is controlled to drive the opening and closing structure to move towards the opening direction of the opening and closing structure.
Optionally, after the step of determining whether the driving step number of the driving motor of the current opening and closing structure is within the preset step number counting range if the driving step number exceeds the preset step number counting range, the method further includes:
when the driving step number of the pulse signal exceeding the time threshold is within a preset step number counting range, determining whether the pulse count of the pulse signal of which the driving step number exceeds the preset step number counting range is within the preset pulse counting range;
when the pulse counting of the pulse signal of which the driving step number exceeds the preset step number counting range is within the preset pulse counting range, the opening and closing structure is judged to be blocked, and the motor is controlled to drive the opening and closing structure to move towards the opening direction of the opening and closing structure.
Optionally, the step of determining whether the driving step number of the driving motor of the current opening and closing structure is within a preset step number counting range includes:
determining a counting sequence number of a pulse count of the pulse signal exceeding a time threshold;
acquiring a first preset step range of a preset distance from a door closing in-place position;
judging whether the counting sequence number is within the first preset step range or not;
if so, judging that the driving step number of the pulse signal exceeding the time threshold is within a first preset step number counting range;
if not, judging that the driving step number of the pulse signal exceeding the time threshold is not in the first preset step number counting range.
Optionally, the step of determining whether the driving step number of the pulse signal exceeding the time threshold is within a preset step number counting range includes:
determining a counting sequence number of the driving steps of the pulse signal exceeding a time threshold;
acquiring a second step number counting range with a preset distance from the starting position of the door opening;
judging whether the counting sequence number is out of the counting range of the second step number or not;
if so, judging that the driving step number of the pulse signal exceeding the time threshold is within a second preset step number counting range;
if not, judging that the driving step number of the pulse signal exceeding the time threshold is not in a second preset step number counting range.
Optionally, the step of determining whether the duration of each pulse signal detected by the detector exceeds a set time threshold during the process of controlling the opening and closing of the opening and closing structure includes:
in the process of controlling the opening and closing structure to be closed, starting a pulse detector to detect a pulse signal;
after each complete pulse signal is detected, acquiring the duration of the pulse signal and a time threshold corresponding to the duration;
comparing the duration of the pulse signal to the time threshold;
determining to exceed when the duration of the pulse signal is greater than or equal to the time threshold;
and when the duration of the pulse signal is less than the time threshold, determining that the duration is not exceeded.
Optionally, after the step of enabling the pulse detector to detect the pulse signal in the process of controlling the opening and closing structure to close, the method further includes:
determining the number of pulses detected by a pulse detector;
and when the number of the current pulses reaches a preset number threshold, executing the step of acquiring the duration of the pulse signals and the corresponding time threshold after each complete pulse signal is detected.
Optionally, after the step of enabling the pulse detector to detect the pulse signal in the process of controlling the opening and closing structure to close, the method further includes:
detecting whether the opening and closing structure moves to a preset position or not;
and when the opening and closing structure moves to a preset position, executing the step of acquiring the duration time of the pulse signal and the corresponding time threshold value after detecting each complete pulse signal.
Optionally, before the step of controlling the motor to drive the opening and closing structure to move in the closing direction, the method further includes:
detecting whether the opening and closing structure is at an opening initial position;
if not, controlling the opening and closing structure to move towards the opening direction until the opening and closing structure moves to the opening initial position;
when the opening and closing structure is at the opening initial position, the step of controlling the motor to drive the opening and closing structure to move towards the closing direction is executed.
In addition, to achieve the above object, another aspect of the present invention provides an air conditioner including: the control method comprises an opening and closing structure, a memory and a processor which are connected with the opening and closing structure, and an opening and closing structure control program of the air conditioner, wherein the opening and closing structure control program of the air conditioner is stored on the memory and can run on the processor, and the opening and closing structure control method of the air conditioner is realized when the opening and closing structure control program of the air conditioner is executed by the processor.
In addition, to achieve the above object, another aspect of the present invention further provides a readable storage medium, on which an opening and closing structure control program of an air conditioner is stored, which, when executed by a processor, implements the opening and closing structure control method of the air conditioner as described above.
The invention detects the pulse duration time in the closing process of the opening and closing structure of the air conditioner through the detector, judges whether the current driving step number of the driving motor is within the counting range of the preset step number when the pulse duration time exceeds the set time threshold value, and controls the motor to drive the opening and closing structure to move towards the opening direction if the opening and closing structure is judged to be blocked in the preset state. Whether detector through simple magnetic ring + hall sensor detects pulse time overtime, and after overtime again, whether detect driving motor step number and realize opening and shutting the structure and close obstructed detection predetermineeing step number count range, reduced the detection cost, and whether detect through pulse duration and drive step number and whether obstructed make detectivity high, improved the degree of accuracy and the speed that detect, reduce the injury.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a method for controlling an opening/closing structure of an air conditioner according to a first embodiment of the present invention;
FIG. 3 is a schematic diagram of a detector according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for controlling an opening/closing structure of an air conditioner according to a second embodiment of the present invention;
fig. 5 is a schematic flow chart illustrating a process of determining whether the duration of each pulse signal detected by the detector exceeds a predetermined time threshold in the process of controlling the opening/closing structure to close according to an embodiment of the present invention;
FIG. 6 is a flow chart illustrating a method for controlling an opening/closing structure of an air conditioner according to a third embodiment of the present invention;
fig. 7 is a flowchart illustrating a method for controlling an opening/closing structure of an air conditioner according to a fourth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: receiving a closing instruction of the opening and closing structure, and controlling a motor to drive the opening and closing structure to move towards the closing direction of the opening and closing structure; in the process of controlling the opening and closing structure to be closed, judging whether the duration time of each pulse signal detected by the detector exceeds a set time threshold value or not; if the current step number exceeds the preset step number counting range, determining whether the driving step number of the driving motor of the current opening and closing structure is within the preset step number counting range; when the driving step number of the pulse signal exceeding the time threshold is within a preset step number counting range, the opening and closing structure is judged to be blocked, and the motor is controlled to drive the opening and closing structure to move towards the opening direction of the opening and closing structure.
The existing method for detecting the barrier when the door panel of the air conditioner is closed is high in cost and poor in detection effect. The invention provides a solution, which is characterized in that a pulse duration in the closing process of an opening and closing structure of an air conditioner is detected through a detector, when the pulse duration exceeds a set time threshold, whether the current driving step number of a driving motor is within a preset step number counting range is judged, and if the opening and closing structure is judged to be blocked in a preset state, the motor is controlled to drive the opening and closing structure to move towards the opening direction. Whether detector through simple magnetic ring + hall sensor detects pulse time overtime, and after overtime again, whether detect driving motor step number and realize opening and shutting the structure and close obstructed detection predetermineeing step number count range, reduced the detection cost, and whether detect through pulse duration and drive step number and whether obstructed make detectivity high, improved the degree of accuracy and the speed that detect, reduce the injury.
As shown in fig. 1, fig. 1 is a schematic structural diagram of an electronic device in a hardware operating environment according to an embodiment of the present invention.
The electronic equipment in the embodiment of the invention can be an air conditioner, and can also be control equipment such as a PC, a smart phone, a tablet personal computer, a portable computer, a remote controller and the like connected with the air conditioner. When other equipment is arranged outside the air conditioner, the other equipment acquires information detected by a detector arranged on the air conditioner to control the opening/closing of the opening/closing structure.
As shown in fig. 1, the electronic device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the electronic device may further include a camera, RF (Radio Frequency) circuitry, sensors, audio circuitry, WiFi modules, detectors (magnetic ring + hall sensor), and so on. Such as image sensors, infrared sensors, and other sensors. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the motion sensor is stationary, and can be used for applications of recognizing the posture of electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping) and the like; of course, the electronic device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and a temperature sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and an opening and closing configuration control application program of an air conditioner.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call an opening and closing configuration control application of the air conditioner stored in the memory 1005, and perform the following operations:
receiving a closing instruction of the opening and closing structure, and controlling a motor to drive the opening and closing structure to move towards the closing direction of the opening and closing structure;
in the process of controlling the opening and closing structure to be closed, judging whether the duration time of each pulse signal detected by the detector exceeds a set time threshold value or not;
if the current step number exceeds the preset step number counting range, determining whether the driving step number of the driving motor of the current opening and closing structure is within the preset step number counting range;
when the driving step number of the pulse signal exceeding the time threshold is within a preset step number counting range, it is judged that the opening and closing structure is blocked, and the motor is controlled to drive the opening and closing structure to move towards the opening direction of the opening and closing structure.
Further, if the current driving step number of the driving motor of the opening and closing structure is beyond the preset step number counting range, the processor 1001 may be configured to call the opening and closing structure control application program of the air conditioner stored in the memory 1005, and perform the following operations:
when the driving step number of the pulse signal exceeding the time threshold is within a preset step number counting range, determining whether the pulse count of the pulse signal of which the driving step number exceeds the preset step number counting range is within the preset pulse counting range;
when the pulse counting of the pulse signal of which the driving step number exceeds the preset step number counting range is within the preset pulse counting range, the opening and closing structure is judged to be blocked, and the motor is controlled to drive the opening and closing structure to move towards the opening direction of the opening and closing structure.
Further, the processor 1001 may be configured to call an opening and closing configuration control application of the air conditioner stored in the memory 1005, and perform the following operations:
determining a counting sequence number of a pulse count of the pulse signal exceeding a time threshold;
acquiring a first preset step range of a preset distance from a door closing in-place position;
judging whether the counting sequence number is within the first preset step range or not;
if so, judging that the driving step number of the pulse signal exceeding the time threshold is within a first preset step number counting range;
if not, judging that the driving step number of the pulse signal exceeding the time threshold is not in the first preset step number counting range.
Further, the processor 1001 may be configured to call an opening and closing configuration control application of the air conditioner stored in the memory 1005, and perform the following operations:
determining a counting sequence number of the driving steps of the pulse signal exceeding a time threshold;
acquiring a second step number counting range with a preset distance from the starting position of the door opening;
judging whether the counting sequence number is out of the counting range of the second step number or not;
if so, judging that the driving step number of the pulse signal exceeding the time threshold is within a second preset step number counting range;
if not, judging that the driving step number of the pulse signal exceeding the time threshold is not in a second preset step number counting range.
Further, the processor 1001 may be configured to call an opening and closing configuration control application of the air conditioner stored in the memory 1005, and perform the following operations:
in the process of controlling the opening and closing structure to be closed, starting a pulse detector to detect a pulse signal;
after each complete pulse signal is detected, acquiring the duration of the pulse signal and a time threshold corresponding to the duration;
comparing the duration of the pulse signal to the time threshold;
determining to exceed when the duration of the pulse signal is greater than or equal to the time threshold;
and when the duration of the pulse signal is less than the time threshold, determining that the duration is not exceeded.
Further, after the step of enabling the pulse detector to detect the pulse signal during the process of controlling the opening and closing structure to be closed, the processor 1001 may be configured to call an opening and closing structure control application program of the air conditioner stored in the memory 1005, and perform the following operations:
determining the number of pulses detected by a pulse detector;
and when the number of the current pulses reaches a preset number threshold, executing the step of acquiring the duration of the pulse signals and the corresponding time threshold after each complete pulse signal is detected.
Further, after the step of enabling the pulse detector to detect the pulse signal during the process of controlling the opening and closing structure to be closed, the processor 1001 may be configured to call an opening and closing structure control application program of the air conditioner stored in the memory 1005, and perform the following operations:
detecting whether the opening and closing structure moves to a preset position or not;
and when the opening and closing structure moves to a preset position, executing the step of acquiring the duration time of the pulse signal and the corresponding time threshold value after detecting each complete pulse signal.
Further, before the step of controlling the motor to drive the opening and closing structure to move towards the closing direction, the processor 1001 may be configured to call an opening and closing structure control application program of the air conditioner stored in the memory 1005, and perform the following operations:
detecting whether the opening and closing structure is at an opening initial position;
if not, controlling the opening and closing structure to move towards the opening direction until the opening and closing structure moves to the opening initial position;
when the opening and closing structure is at the opening initial position, the step of controlling the motor to drive the opening and closing structure to move towards the closing direction is executed.
Referring to fig. 2, an embodiment of the present invention provides a method for controlling an opening and closing structure of an air conditioner, including:
step S10, receiving a closing instruction of the opening and closing structure, and controlling a motor to drive the opening and closing structure to move towards the closing direction;
in this embodiment, the air conditioner is preferably a cabinet air conditioner, the cabinet air conditioner includes a door panel, a door panel movement device, and a door panel driving device, the door panel is connected to the door panel movement device, the door panel movement device is connected to the door panel driving device, the door panel driving device is connected to a controller of the air conditioner, and the door panel movement device moves according to the control door panel of the controller under the driving of the door panel driving device. The door plate is an opening and closing structure of the air conditioner, and the door plate is generally arranged for closing and opening an air outlet of the air conditioner, so that dust is prevented from entering the air conditioner when the air conditioner does not operate. The opening and closing structure can also be other structures which need to be opened and closed or can be opened and closed. Of course, the air conditioner is not limited to the cabinet air conditioner, and may be other air conditioners having an opening/closing (air guiding structure) on-hook unit. In the present embodiment, a cabinet air conditioner is taken as an example, and a door panel is taken as an example for the opening and closing structure.
The air conditioner is operated according to the instruction of a user or automatically started to operate according to the preset parameters, and the operation parameters can be adjusted according to the environmental conditions or the instruction of the user requirement in the operation process. And when the air conditioner is closed, the door panel needs to be closed. After the compressor, the indoor fan and the outdoor fan of the air conditioner are closed, the controller sends a control command (signal) to close the door plate and receives a closing command of the opening and closing structure.
After receiving the closing instruction, the control motor drives the opening and closing structure to move towards the closing direction. If the door plate of the air conditioner is opened at the moment, the door plate is controlled to move towards the door closing direction. The door plate can be a single door or a double door, the single door only needs to control the door plate to move towards the closing direction, the double door is formed by relative movement of two opposite sub-door plates, the two sub-door plates meet and close at a set position after relative movement, and the connection mode of the meeting and closing position can be one of meshing, meshing or attaching.
Step S20, in the process of controlling the opening and closing structure to close, judging whether the duration time of each pulse signal detected by the detector exceeds a set time threshold value;
referring to fig. 3, the detector detects the signal pulses as: the detector comprises a magnetic component, wherein the magnetic component is fixed on the opening and closing structure and is provided with P N magnetic poles and Q S magnetic poles, and P and Q are integers more than 1; the air conditioner comprises an air conditioner body, a Hall detection assemblies, a magnetic assembly, an opening and closing structure and a control circuit, wherein the Hall detection assemblies are fixed on the air conditioner body and are arranged close to the magnetic assembly, the Hall detection assemblies sense the magnetic change of the magnetic assembly when the opening and closing structure moves so as to correspondingly generate x-path sensing signals, and the sensing signals are signal pulses.
The magnetic ring and the Hall sensor are arranged for detecting the closing of the opening and closing structure of the air conditioner, the number of the magnetic poles of the magnetic ring is increased to be extremely large, the number of the magnetic poles of the magnetic ring is maximized on the premise that the magnetic poles can be sensed by the Hall sensor, and therefore the reaction time can be further shortened. The magnetic pole and the Hall sensor are detectors, pulses detected by the Hall sensor in the closing process are detected by the detectors in the closing process of the air conditioner control opening and closing structure, and whether the duration time of each pulse signal exceeds a set time threshold value is judged when each complete pulse is detected; the time threshold is set at the maximum Tm of all pulse durations in the barrier-free normal shutdown or to Tm × k, k >1, preferably 1.05.
Preferably, in order to further improve the detection sensitivity, the magnetic ring is not mounted on the driving gear, but a high-speed gear is independently made for detecting whether the door panel is blocked, the magnetic ring for detection is mounted on the door panel, and the gear and the electrode gear are meshed and can be n times of the rotating speed of the electrode shaft, wherein n is greater than 1. At this time, the detection threshold of the signal pulse time is changed to 1/n of the original detection threshold when the signal pulse time is originally mounted on the driving gear, so that the sensitivity is increased, whether the signal pulse time is blocked or not can be quickly detected, and further damage can be prevented.
Step S30, if yes, determining whether the driving step number of the driving motor of the current opening and closing structure is within a preset step number counting range;
when the duration of the pulse signal detected by the detector exceeds a set time threshold, a detection error may exist, and when the first pulse signal is detected, the time is out, so that the judgment is inaccurate, and a false alarm occurs. At this time, it is determined whether the driving step number of the driving motor of the current opening and closing structure is within a preset step number counting range of several or several tens of driving step numbers closest to the door-closing in-place position, for example, the preset step number counting range is 8 to 90. The opening and closing structure driving motor is a stepping motor, the stepping motor rotates by means of the change of driving pulses, each change is called as one step, each step corresponds to one rotating angle of the motor, and the door plate and the like can be driven to advance for a certain distance through transmission. The door panel travels the same distance, and the ratio of the number of driving steps to the number of output signal pulses is approximately tens or hundreds of times.
The step of determining whether the driving step number of the driving motor of the current opening and closing structure is within a preset step number counting range includes: determining a counting sequence number of a pulse count of the pulse signal exceeding a time threshold; acquiring a first preset step range of a preset distance from a door closing in-place position; judging whether the counting sequence number is within the first preset step range or not; if so, judging that the driving step number of the pulse signal exceeding the time threshold is within a first preset step number counting range; if not, judging that the driving step number of the pulse signal exceeding the time threshold is not in the first preset step number counting range. Specifically, taking the air conditioner door as an example, the driving step number p required by the whole door is measured in advance, then the detection shielding step number x is set according to the specific condition that the door is closed in place, wherein the range of x is more than or equal to 1 and x is less than p, and if the door is closed, a butt joint groove is formed, x can be set as the driving step number corresponding to the groove depth distance. For example, the groove depth d, the gear radius r, the motor rotation angle corresponding to each driving step is deg (unit: radian), then the value of x is d/(r deg) + p, p is a non-negative integer, if there is coaxial transmission, the distance needs to be correspondingly converted. If the door plate is not provided with the butt joint groove and is a direct flat pair or similar to the direct flat pair, x is preferably 5-300, and the value of x is as small as possible under the condition that door closing and obstacle meeting are distinguished.
In one embodiment, the step of determining whether the driving step number of the pulse signal exceeding the time threshold is within a preset step number count range includes: determining a counting sequence number of the driving steps of the pulse signal exceeding a time threshold; acquiring a second step number counting range with a preset distance from the starting position of the door opening; judging whether the counting sequence number is out of the counting range of the second step number or not; if so, judging that the driving step number of the pulse signal exceeding the time threshold is within a second preset step number counting range; if not, judging that the driving step number of the pulse signal exceeding the time threshold is not in a second preset step number counting range. Specifically, taking the door panel of the air conditioner as an example, the number of driving steps of the full stroke of the door panel movement is measured through experiments to be A, s detection shielding pulses are set according to the specific condition that the door panel is closed in place, the range of s is 1-A, s is less than or equal to S, and s can be set as the pulse number generated by the groove depth distance if the door panel is closed and a butt joint groove is formed. For example, if the door panel has no butt groove and is a direct flat pair or a direct flat pair similar to the direct flat pair, s is preferably 5-30, and s should be the minimum value under the condition of distinguishing door closing and obstacle meeting. If the pulse duration exceeds the set time threshold and the range of the pulse count is less than a-s, i.e., outside the range of the mask, it is determined that an obstacle or a hand-pinching is encountered.
And step S40, when the driving step number of the pulse signal exceeding the time threshold is within the preset step number counting range, judging that the opening and closing structure is blocked, and controlling the motor to drive the opening and closing structure to move towards the opening direction.
When the duration of the pulse signal detected by the detector exceeds a set time threshold and the driving step number is within a preset counting range, if the duration is within the preset counting range, the opening and closing of the opening and closing structure is judged to be blocked, and an obstacle, such as a hand clamp, exists. At this time, in order to prevent the obstacle from being clamped continuously, the motor is controlled to drive the opening and closing structure to move towards the opening direction. When the structure that opens and shuts is closed and is obstructed, the alarm device that the accessible set up reports to the police, perhaps sends alarm information to rather than the third party terminal of being connected through the mode of thing networking to supply third party end user to know that the air conditioner is closed and is obstructed, use the sight and do: when the child operates the cabinet air conditioner, the alarm that the child is clipped is sent to the mobile phone of the guardian, so that the guardian is reminded to check in time to prevent the child from further injury.
It can be understood that after the control motor drives the opening and closing structure to move towards the opening direction, the running distance and time are detected, and when the time or the distance reaches a set value (set according to requirements and practical application), the control motor continues to control the opening and closing structure to move towards the closing direction.
And if the duration time of the current pulse does not exceed the set time threshold or the driving step number is not within the preset step number counting range, controlling the opening and closing structure of the air conditioner to continue moving towards the door closing direction.
In this embodiment, the pulse duration of the air conditioner opening and closing structure during the closing process is detected by the detector, when the pulse duration exceeds a set time threshold, it is determined whether the current driving step number of the driving motor is within a preset step number counting range, and if it is determined in advance that the opening and closing structure is blocked, the motor is controlled to drive the opening and closing structure to move towards the opening direction. Whether detector through simple magnetic ring + hall sensor detects pulse time overtime, and after overtime again, whether detect driving motor step number and realize opening and shutting the structure and close obstructed detection predetermineeing step number count range, reduced the detection cost, and whether detect through pulse duration and drive step number and whether obstructed make detectivity high, improved the degree of accuracy and the speed that detect, reduce the injury.
Referring to fig. 4, in a preferred embodiment of the present invention, in order to further improve the accuracy of detecting the opening/closing structure, after the step of determining whether the driving step number of the driving motor of the current opening/closing structure is within the preset step number counting range if the driving step number exceeds the preset step number counting range, the method further includes:
step S50, when the driving step number of the pulse signal exceeding the time threshold is in the first preset counting range, determining whether the pulse count of the pulse signal exceeding the preset pulse counting range is in the preset pulse counting range;
and step S60, when the pulse count of the pulse signal of which the driving step number exceeds the preset step number counting range is in the preset pulse counting range, judging that the opening and closing structure is blocked, and controlling the motor to drive the opening and closing structure to move towards the opening direction.
In this embodiment, when the duration of the pulse signal detected by the detector exceeds the set time threshold, there may be a detection error, and when the first pulse signal is detected, there is a timeout, which may cause inaccurate determination and false alarm. The difference from the first embodiment is that the present embodiment adds the determination of pulse count to the determination of duration and step number of the stepping motor, so as to further avoid detection errors. At the moment, whether the current driving step number is within a preset step number counting range is determined, when the driving step number is within the preset step number counting range, whether the pulse counting of the pulse signals exceeding the time threshold is within the preset counting range is determined, the pulse signals within the preset counting range are a plurality of pulse signals closest to the door closing in-place position, and the detection accuracy is further improved through the combination of the driving step number and the pulse number. The process of determining whether the pulse count of the pulse signal whose driving step number exceeds the preset step number count range is within the preset pulse count range includes: determining a counting serial number of pulse counting of the pulse signal of which the driving step number exceeds a preset step number counting range; acquiring a pulse counting range of a preset distance from a door closing in-place position; judging whether the counting serial number is within the pulse counting range or not; if so, judging that the pulse count of the pulse signal of which the driving step number exceeds the preset step number counting range is within the preset pulse counting range; if not, judging that the pulse count of the pulse signal of which the driving step number exceeds the preset step number counting range is not in the preset pulse counting range. Specifically, taking the door panel of the air conditioner as an example, the planar butt joint when the door is closed in place is changed into the groove butt joint, so that a distance difference exists between the normal door closing in place and the situation that the door panel is blocked when moving to the last object clamping, and the object clamping block and the normal door closing can be distinguished according to the distance difference. The distinguishing principle is as follows: the number of normal door plate door closing stroke signal pulses is m1, and the number of stroke pulses capable of blocking the clamped object is m2, m1> m2, and the air conditioner door plate door closing distinguishing threshold value is m1-m2, and reliable distinguishing can be achieved by adding one or two pulses. And detecting each pulse duration in real time in the door closing process, if a certain pulse duration exceeds a set threshold, judging whether the range of the signal pulse count is less than m1-m, and if so, judging that the door panel is in fault or pinched hands.
In one embodiment, the step of determining whether the pulse count of the pulse signal whose driving step number exceeds the preset step number count range is within the preset pulse count range includes: determining a counting serial number of pulse counting of the pulse signal of which the driving step number exceeds a preset step number counting range; acquiring a second pulse counting range with a preset distance from the starting position of the door opening; judging whether the counting serial number is out of the second pulse counting range or not; if so, judging that the pulse count of the pulse signal of which the driving step number exceeds the preset step number counting range is within the preset pulse counting range; if not, judging that the pulse count of the pulse signal of which the driving step number exceeds the preset step number counting range is not in the preset pulse counting range. Specifically, taking the air conditioner door as an example, the detection signal of the full stroke of the door movement is measured through experiments to output M pulses, c detection shielding pulses are set according to the specific condition that the door is closed in place, the range of c is 1-M, c is larger than or equal to c, and if the door is closed, a butt joint groove is formed, c can be set as the pulse number generated by the groove depth distance. For example, the groove depth d generates a pulse signal according to the door closing speed v and the time t, and c takes the value d/v/t + q, and q takes an integer, preferably 0 or 1. If the door plate has no butt joint groove and is a direct flat pair or similar to the direct flat pair, c is preferably 1-3, and c is the minimum value under the condition of meeting the obstacle when door closing is distinguished. If the pulse duration exceeds the set time threshold and the range of the pulse count is less than M-c, i.e., outside the range of the mask, it is determined that an obstacle or a hand-pinching is encountered.
Referring to fig. 5, in order to further improve the accuracy of the detection of the opening/closing structure, in a preferred embodiment of the present invention, the step of determining whether the duration of each pulse signal detected by the detector exceeds a set time threshold in the process of controlling the opening/closing structure to be closed includes:
step S21, in the process of controlling the opening and closing structure to close, a pulse detector is started to detect pulse signals;
step S22, after each complete pulse signal is detected, the duration of the pulse signal and the corresponding time threshold value are obtained;
step S23, comparing the duration of the pulse signal with the time threshold;
a step S24 of determining that the pulse signal exceeds the time threshold when the duration of the pulse signal is greater than or equal to the time threshold;
and step S25, when the duration of the pulse signal is less than the time threshold, determining that the duration is not exceeded. In the above embodiment, the difference between the magnetic poles of the magnetic ring, the difference between the hall elements, the difference between the hall and the magnetic ring, and the like, eventually result in that the actual width difference of the pulses of the same signal width is large, and the detected time threshold value is the same as the duration time of all the pulses in the normal closing process. In the embodiment, the product is initialized when being used for the first time, the detection function is shielded during initialization, the number of the signal pulses and the time of each pulse are recorded during the whole door closing process, and the records are stored. And then, establishing a respective detected time threshold Tn for each signal pulse time in the door closing process, wherein Tn is K times of each pulse duration in the normal door closing process, and K is more than or equal to 1. When door closing operation (closing operation of the opening and closing structure) is carried out, the current signal pulse is the first signal pulse, namely, the corresponding time threshold value is taken out to judge, so that the detection sensitivity is effectively improved. It can be understood that K is not constant, and is counted as the normal gate closing times, when the gate closing times c is less than n1, K takes the value K1, when n1 is less than or equal to c and less than n2, K takes the value K2, when n2 is less than or equal to c, K takes the value K3, where n1, n2, and n3 are positive integers greater than 1, n1< n2< n3, K1, K2, and K3 are all greater than 1, and K1< K2< K3; meanwhile, after the door is normally closed each time, the total number of the signal pulses is compared with the duration of each pulse, and the duration of each pulse is compared with the duration of the corresponding pulse, if the total number of the signal pulses is larger than the duration of each pulse, the comparison is updated, and a large value is stored.
When the opening and closing structure is controlled to be closed, every time a signal pulse is detected, the corresponding time threshold value corresponding to the pulse serial number is taken out for comparison and judgment, if the time threshold value is exceeded, the door plate is judged to be in obstacle or clamped, and the door plate is driven to move in the opposite direction. The duration of each pulse is basically consistent every time the door is closed, but accidental jump occurs, initialization is only performed once, if data are not updated, the risk of misjudgment exists, meanwhile, the K value changes according to the increase of the normal door closing times, the problem of repeated consistency is also solved, the situation that when the door is just closed for a few times, the duration of a certain signal pulse suddenly jumps to cause misdetection is avoided, after the door is normally closed enough, the maximum value of each pulse is recorded, the misdetection probability is greatly reduced, the K is reduced, the detection sensitivity is enabled to be optimal, and meanwhile, the reliable misdetection is guaranteed.
Referring to fig. 6, in a preferred embodiment of the present invention, after the step of enabling the pulse detector to detect the pulse signal in the process of controlling the opening and closing structure to be closed, the method further includes:
step S26, determining the number of pulses detected by the pulse detector;
and when the number of the current pulses reaches a preset number threshold, executing the step of acquiring the duration of the pulse signals and the corresponding time threshold after each complete pulse signal is detected.
In this embodiment, the time of the first few signal pulses after the door closing start is much longer than the normal operation normal pulse duration due to the idle stroke of the gear engagement, the loose structure, the compression deformation, and the like. The duration length of j pulses is not judged in the preliminary j pulses when the door is closed every time, so that the detection accuracy is effectively improved, and j is set according to the actual condition and is set as small as possible. It will be appreciated that in the detection of the first few pulses, a compensation value is set and the duration of the first j signal pulses is detected after compensation has been made. The scheme of the embodiment is applied to the judgment of uniformly using one duration threshold value and also adapts to the judgment of corresponding one pulse duration threshold value to each signal pulse.
According to the embodiment, the misjudgment caused by large errors is avoided by not judging the duration of the previous pulses, and the sensitivity and the accuracy of the closing detection of the opening and closing structure are improved.
In other embodiments of the present invention, the first signal pulses are not detected, or a preset position may be set during the closing process of the opening and closing structure, and a position sensor is used to detect whether the opening and closing structure moves to the preset position, where the preset position is preferably close to the starting position and is set according to the requirement and the actual situation. Of course, if the air conditioner is provided with the camera device, the user information or the obstacle information can be extracted according to the picture of the air conditioner before the opening and closing structure is shot by the camera device, and the preset position is set to be where the air conditioner is to be arranged according to the information extracted by the picture, so that the situation that the preset position is too small to clamp hands or obstacles is not detected is avoided, and the detection accuracy is further improved. Specifically, the control process is as follows: detecting whether the opening and closing structure moves to a preset position or not; and when the opening and closing structure moves to a preset position, executing the step of acquiring the duration time of the pulse signal and the corresponding time threshold value after detecting each complete pulse signal. The detection of the preset position may also be: determining the driving step number of a driving motor; and when the driving step number reaches a preset step number threshold value, judging that the opening and closing structure moves to a preset position. The process of detecting the preset position also comprises the following steps: controlling to close the in-place switch to detect an in-place signal; and when the in-place switch does not detect the in-place signal, judging that the opening and closing structure moves to a preset position.
The position is predetermine through setting up to this embodiment, avoids the false detection and the timely detection of front end, improves detection accuracy.
Further, in an embodiment, referring to fig. 7, before the step of controlling the motor to drive the opening and closing structure to move toward the closing direction, the method further includes:
step S70, detecting whether the opening and closing structure is at the opening initial position;
step S80, if not, controlling the opening and closing structure to move towards the opening direction until the opening and closing structure moves to the opening initial position;
when the opening and closing structure is at the opening initial position, the step of controlling the motor to drive the opening and closing structure to move towards the closing direction is executed.
In this embodiment, each time the door is closed, it is checked whether the door panel is in the door opening in-place state, and if not, the door panel is moved to the door opening in-place position. Thus, even if the door panel is considered to be broken, the door panel does not need to be restored to be normal after power is cut off and then powered on, and the air conditioner can be automatically corrected when the door is closed. Or, before receiving a closing instruction of the opening and closing structure, judging whether the door panel is at the starting position of the door, if so, receiving the closing instruction of the opening and closing structure, and controlling the motor to drive the opening and closing structure to move towards the closing direction of the opening and closing structure; of course, after receiving the closing instruction of the opening and closing structure, the door panel can be judged whether to be at the opening starting position, and if so, the motor is controlled to drive the opening and closing structure to move towards the closing direction.
Further, for better door panel reset, when the door panel of the air conditioner is in the state of opening the door in place, after receiving a door closing command, the door panel is firstly driven to move for t time or e driving steps in the door opening direction, so that the door panel is in the state of being not deformed again in the door opening position extrusion structure and gear meshing idle stroke, and then the door panel is driven to move in the door closing direction, the door closing stroke of the door panel is ensured to be completely consistent every time, and the number of generated signal pulses is the same. The opening position is driven to be the same, the initial position of each detection is ensured to be the same, the same pulse number is ensured to be generated, and the accuracy of the detection of the opening and closing structure is improved.
In an embodiment of the present invention, in order to better detect the detection that the closing of the opening and closing structure meets an obstacle, the following steps may be further performed: controlling the opening and closing structure to move towards the opening direction until the opening and closing structure moves to the opening initial position; when the opening and closing structure is at the opening initial position, the step of controlling the motor to drive the opening and closing structure to move towards the closing direction is executed. The detection of the starting position of the door opening is not carried out, and the door opening direction is controlled to operate before the opening and closing structure is closed each time.
The present invention also provides an air conditioner, comprising: the control method comprises an opening and closing structure, a memory and a processor which are connected with the opening and closing structure, and an opening and closing structure control program of the air conditioner, wherein the opening and closing structure control program of the air conditioner is stored on the memory and can run on the processor, and the opening and closing structure control method of the air conditioner is realized when the opening and closing structure control program of the air conditioner is executed by the processor.
The embodiment detects the pulse duration of the air conditioner opening and closing structure in the closing process through the detector, judges whether the current driving step number of the driving motor is within a preset step number counting range when the pulse duration exceeds a set time threshold value, and controls the motor to drive the opening and closing structure to move towards the opening direction if the opening and closing structure is judged to be blocked in a preset mode. Whether detector through simple magnetic ring + hall sensor detects pulse time overtime, and after overtime again, whether detect driving motor step number and realize opening and shutting the structure and close obstructed detection predetermineeing step number count range, reduced the detection cost, and whether detect through pulse duration and drive step number and whether obstructed make detectivity high, improved the degree of accuracy and the speed that detect, reduce the injury.
In addition, an embodiment of the present invention further provides a readable storage medium, where an opening and closing structure control program of an air conditioner is stored on the readable storage medium, and when executed by the processor, the opening and closing structure control program of the air conditioner implements the following operations:
receiving a closing instruction of the opening and closing structure, and controlling a motor to drive the opening and closing structure to move towards the closing direction of the opening and closing structure;
in the process of controlling the opening and closing structure to be closed, judging whether the duration time of each pulse signal detected by the detector exceeds a set time threshold value or not;
if the current step number exceeds the preset step number counting range, determining whether the driving step number of the driving motor of the current opening and closing structure is within the preset step number counting range;
when the driving step number of the pulse signal exceeding the time threshold is within a preset step number counting range, it is judged that the opening and closing structure is blocked, and the motor is controlled to drive the opening and closing structure to move towards the opening direction of the opening and closing structure.
Further, if the current driving step number of the driving motor of the opening and closing structure is within the preset step number counting range, the opening and closing structure control program of the air conditioner is executed by the processor to implement the following operations:
when the driving step number of the pulse signal exceeding the time threshold is within a preset step number counting range, determining whether the pulse count of the pulse signal of which the driving step number exceeds the preset step number counting range is within the preset pulse counting range;
when the pulse counting of the pulse signal of which the driving step number exceeds the preset step number counting range is within the preset pulse counting range, the opening and closing structure is judged to be blocked, and the motor is controlled to drive the opening and closing structure to move towards the opening direction of the opening and closing structure.
Further, the open/close structure control program of the air conditioner, when executed by the processor, implements the following operations:
determining a counting sequence number of a pulse count of the pulse signal exceeding a time threshold;
acquiring a first preset step range of a preset distance from a door closing in-place position;
judging whether the counting sequence number is within the first preset step range or not;
if so, judging that the driving step number of the pulse signal exceeding the time threshold is within a first preset step number counting range;
if not, judging that the driving step number of the pulse signal exceeding the time threshold is not in the first preset step number counting range.
Further, the open/close structure control program of the air conditioner, when executed by the processor, implements the following operations:
determining a counting sequence number of the driving steps of the pulse signal exceeding a time threshold;
acquiring a second step number counting range with a preset distance from the starting position of the door opening;
judging whether the counting sequence number is out of the counting range of the second step number or not;
if so, judging that the driving step number of the pulse signal exceeding the time threshold is within a second preset step number counting range;
if not, judging that the driving step number of the pulse signal exceeding the time threshold is not in a second preset step number counting range.
Further, the open/close structure control program of the air conditioner, when executed by the processor, implements the following operations:
in the process of controlling the opening and closing structure to be closed, starting a pulse detector to detect a pulse signal;
after each complete pulse signal is detected, acquiring the duration of the pulse signal and a time threshold corresponding to the duration;
comparing the duration of the pulse signal to the time threshold;
determining to exceed when the duration of the pulse signal is greater than or equal to the time threshold;
and when the duration of the pulse signal is less than the time threshold, determining that the duration is not exceeded.
Further, after the step of enabling the pulse detector to detect the pulse signal in the process of controlling the opening and closing structure to be closed, the opening and closing structure control program of the air conditioner is executed by the processor to implement the following operations:
determining the number of pulses detected by a pulse detector;
and when the number of the current pulses reaches a preset number threshold, executing the step of acquiring the duration of the pulse signals and the corresponding time threshold after each complete pulse signal is detected.
Further, after the step of enabling the pulse detector to detect the pulse signal in the process of controlling the opening and closing structure to be closed, the opening and closing structure control program of the air conditioner is executed by the processor to implement the following operations:
detecting whether the opening and closing structure moves to a preset position or not;
and when the opening and closing structure moves to a preset position, executing the step of acquiring the duration time of the pulse signal and the corresponding time threshold value after detecting each complete pulse signal.
Further, before the step of controlling the motor to drive the opening and closing structure to move towards the closing direction, the opening and closing structure control program of the air conditioner is executed by the processor to realize the following operations:
detecting whether the opening and closing structure is at an opening initial position;
if not, controlling the opening and closing structure to move towards the opening direction until the opening and closing structure moves to the opening initial position;
when the opening and closing structure is at the opening initial position, the step of controlling the motor to drive the opening and closing structure to move towards the closing direction is executed.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a readable storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, and includes several instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A method for controlling an opening and closing structure of an air conditioner is characterized by comprising the following steps:
receiving a closing instruction of the opening and closing structure, and controlling a motor to drive the opening and closing structure to move towards the closing direction of the opening and closing structure;
in the process of controlling the opening and closing structure to be closed, judging whether the duration time of each pulse signal detected by the detector exceeds a set time threshold value or not;
if the current driving step number is within the preset step number counting range, determining whether the driving step number of the driving motor of the current opening and closing structure is within the preset step number counting range, wherein the preset step number counting range is a few or dozens of driving step numbers closest to the door closing in-place position;
when the driving step number of the pulse signal exceeding the time threshold is within a preset step number counting range, judging that the opening and closing structure is blocked, and controlling a motor to drive the opening and closing structure to move towards the opening direction of the opening and closing structure;
the step of judging whether the duration of each pulse signal detected by the detector exceeds a set time threshold or not in the process of controlling the opening and closing structure to be closed comprises the following steps:
in the process of controlling the opening and closing structure to be closed, starting a pulse detector to detect a pulse signal;
after each complete pulse signal is detected, acquiring the duration of the pulse signal and a time threshold corresponding to the duration;
comparing the duration of the pulse signal to the time threshold;
determining to exceed when the duration of the pulse signal is greater than or equal to the time threshold;
and when the duration of the pulse signal is less than the time threshold, judging that the duration of the pulse signal does not exceed the time threshold, wherein the time threshold is K times of the duration of each pulse for normally closing the door, when the door closing times C is less than n1, K takes a value K1, when n1 is less than or equal to C < n2, K takes a value K2, when n2 is less than or equal to C, K takes values K3, n1, n2 and n3 are positive integers which are greater than 1, n1 is less than n2 is less than n3, K1, K2 and K3 are greater than 1, and K1 is less than K2 and less than K3.
2. The method for controlling an opening/closing structure of an air conditioner according to claim 1, wherein after the step of determining whether the number of driving steps of the driving motor of the current opening/closing structure is within a preset step count range if the number of driving steps exceeds the preset step count range, the method further comprises:
when the driving step number of the pulse signal exceeding the time threshold is within a preset step number counting range, determining whether the pulse count of the pulse signal of which the driving step number exceeds the preset step number counting range is within the preset pulse counting range;
when the pulse counting of the pulse signal of which the driving step number exceeds the preset step number counting range is within the preset pulse counting range, the opening and closing structure is judged to be blocked, and the motor is controlled to drive the opening and closing structure to move towards the opening direction of the opening and closing structure.
3. The opening and closing structure control method of an air conditioner according to claim 1 or 2, wherein the step of determining whether the number of driving steps of the driving motor of the current opening and closing structure is within a preset step count range comprises:
determining a counting sequence number of a pulse count of the pulse signal exceeding a time threshold;
acquiring a first preset step range of a preset distance from a door closing in-place position;
judging whether the counting sequence number is within the first preset step range or not;
if so, judging that the driving step number of the pulse signal exceeding the time threshold is within a first preset step number counting range;
if not, judging that the driving step number of the pulse signal exceeding the time threshold is not in the first preset step number counting range.
4. The opening and closing structure control method of an air conditioner according to claim 1 or 2, wherein the step of determining whether the number of driving steps of the pulse signal exceeding the time threshold is within a preset step count range comprises:
determining a counting sequence number of the driving steps of the pulse signal exceeding a time threshold;
acquiring a second step number counting range with a preset distance from the starting position of the door opening;
judging whether the counting sequence number is out of the counting range of the second step number or not;
if so, judging that the driving step number of the pulse signal exceeding the time threshold is within a second preset step number counting range;
if not, judging that the driving step number of the pulse signal exceeding the time threshold is not in a second preset step number counting range.
5. The method for controlling an opening/closing structure of an air conditioner according to claim 1, further comprising, after the step of enabling the pulse detector to detect the pulse signal in the process of controlling the opening/closing structure to be closed:
determining the number of pulses detected by a pulse detector;
and when the number of the current pulses reaches a preset number threshold, executing the step of acquiring the duration of the pulse signals and the corresponding time threshold after each complete pulse signal is detected.
6. The method for controlling an opening/closing structure of an air conditioner according to claim 1, further comprising, after the step of enabling the pulse detector to detect the pulse signal in the process of controlling the opening/closing structure to be closed:
detecting whether the opening and closing structure moves to a preset position or not;
and when the opening and closing structure moves to a preset position, executing the step of acquiring the duration time of the pulse signal and the corresponding time threshold value after detecting each complete pulse signal.
7. The method for controlling the opening and closing structure of an air conditioner according to claim 1 or 2, wherein before the step of controlling the motor to drive the opening and closing structure to move towards the closing direction, the method further comprises:
detecting whether the opening and closing structure is at an opening initial position;
if not, controlling the opening and closing structure to move towards the opening direction until the opening and closing structure moves to the opening initial position;
when the opening and closing structure is at the opening initial position, the step of controlling the motor to drive the opening and closing structure to move towards the closing direction is executed.
8. An air conditioner, characterized in that the air conditioner comprises: the air conditioner comprises an opening and closing structure, a memory and a processor which are connected with the opening and closing structure, and an opening and closing structure control program of the air conditioner, wherein the opening and closing structure control program of the air conditioner is stored on the memory and can run on the processor, and when the opening and closing structure control program of the air conditioner is executed by the processor, the opening and closing structure control method of the air conditioner is realized according to any one of claims 1 to 7.
9. A readable storage medium, wherein an air conditioner opening and closing structure control program is stored on the readable storage medium, and when executed by a processor, the air conditioner opening and closing structure control program implements the air conditioner opening and closing structure control method according to any one of claims 1 to 7.
CN201711077544.8A 2017-11-03 2017-11-03 Air conditioner opening and closing structure control method, air conditioner and readable storage medium Active CN107975908B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711077544.8A CN107975908B (en) 2017-11-03 2017-11-03 Air conditioner opening and closing structure control method, air conditioner and readable storage medium
PCT/CN2018/075668 WO2019085321A1 (en) 2017-11-03 2018-02-07 Air conditioner opening/closing structure control method, air conditioner and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711077544.8A CN107975908B (en) 2017-11-03 2017-11-03 Air conditioner opening and closing structure control method, air conditioner and readable storage medium

Publications (2)

Publication Number Publication Date
CN107975908A CN107975908A (en) 2018-05-01
CN107975908B true CN107975908B (en) 2020-10-20

Family

ID=62013066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711077544.8A Active CN107975908B (en) 2017-11-03 2017-11-03 Air conditioner opening and closing structure control method, air conditioner and readable storage medium

Country Status (2)

Country Link
CN (1) CN107975908B (en)
WO (1) WO2019085321A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111197801A (en) * 2018-11-19 2020-05-26 青岛海尔空调器有限总公司 Hand-clamping prevention control method for air-conditioning induced air regulation
CN113048630B (en) * 2021-03-05 2022-03-08 珠海格力电器股份有限公司 Control method and device of moving part, storage medium and air conditioner

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009215838A (en) * 2008-03-12 2009-09-24 Asmo Co Ltd Opening/closing member control device and opening/closing device
CN102418449A (en) * 2011-12-27 2012-04-18 昌辉汽车电气系统(安徽)有限公司 Anti-nip control method for automatically correcting electric window in use
CN105649463A (en) * 2014-12-01 2016-06-08 阿斯莫株式会社 Openable and closable member control apparatus
CN106765977A (en) * 2017-01-05 2017-05-31 广东美的制冷设备有限公司 Air-conditioner and its door-plate control method, device
CN106765979A (en) * 2017-01-05 2017-05-31 广东美的制冷设备有限公司 The door-plate control method and device of air-conditioner and air-conditioner

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5423196B2 (en) * 2008-07-18 2014-02-19 ダイキン工業株式会社 Indoor unit of air conditioner and control method thereof
CN104712214B (en) * 2015-01-26 2017-05-24 宁波中车时代传感技术有限公司 Control method for motor driving shield door and provided with position sensor
JP6053907B1 (en) * 2015-12-21 2016-12-27 伸和コントロールズ株式会社 Chiller device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009215838A (en) * 2008-03-12 2009-09-24 Asmo Co Ltd Opening/closing member control device and opening/closing device
CN102418449A (en) * 2011-12-27 2012-04-18 昌辉汽车电气系统(安徽)有限公司 Anti-nip control method for automatically correcting electric window in use
CN105649463A (en) * 2014-12-01 2016-06-08 阿斯莫株式会社 Openable and closable member control apparatus
CN106765977A (en) * 2017-01-05 2017-05-31 广东美的制冷设备有限公司 Air-conditioner and its door-plate control method, device
CN106765979A (en) * 2017-01-05 2017-05-31 广东美的制冷设备有限公司 The door-plate control method and device of air-conditioner and air-conditioner

Also Published As

Publication number Publication date
WO2019085321A1 (en) 2019-05-09
CN107975908A (en) 2018-05-01

Similar Documents

Publication Publication Date Title
CN107906673B (en) Air conditioner opening and closing structure detection control method, air conditioner and readable storage medium
US10623622B1 (en) Monitoring system configuration technology
CN107917518B (en) Air conditioner opening and closing structure control method, air conditioner and readable storage medium
CN107655177B (en) Air conditioner opening and closing structure control method, air conditioner and readable storage medium
CN107490152B (en) Control method of air conditioner, air conditioner and storage medium
US10309125B2 (en) Electronic lock with door orientation sensing
JP6782229B2 (en) Methods and equipment for operating intelligent electrical equipment
US10401138B2 (en) Guided installation feedback for an opening sensor
CN107906683B (en) Air conditioner opening and closing structure control method, air conditioner and readable storage medium
CN108844177B (en) Door plate control method of air conditioner and air conditioner
CN107975908B (en) Air conditioner opening and closing structure control method, air conditioner and readable storage medium
US10127782B1 (en) Configurable sensor
RU2638762C2 (en) Method and device for sending messages
CN107940670B (en) Air conditioner opening and closing structure control method, air conditioner and readable storage medium
CN106778924B (en) Door and window state detection method and device
CN107906677B (en) Air conditioner opening and closing structure control method, air conditioner and readable storage medium
CN107940669B (en) Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner
CN116013009B (en) Intelligent door and window alarm method and system based on Internet of things and readable storage medium
CN110048648B (en) Motor control method and terminal equipment
CN108119996B (en) Air conditioner fan control method, electronic device and computer readable storage medium
CN108662717A (en) Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner
CN107940671B (en) Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner
CN108320491B (en) Full-directional infrared remote control equipment and full-directional infrared remote control method
CN110173811B (en) Control method and device of air conditioner, air conditioner and storage medium
WO2004054223A1 (en) Arranging motion detection in mobile station

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
GR01 Patent grant
GR01 Patent grant