CN107906677A - Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner - Google Patents

Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner Download PDF

Info

Publication number
CN107906677A
CN107906677A CN201711077306.7A CN201711077306A CN107906677A CN 107906677 A CN107906677 A CN 107906677A CN 201711077306 A CN201711077306 A CN 201711077306A CN 107906677 A CN107906677 A CN 107906677A
Authority
CN
China
Prior art keywords
opening
closing structure
closing
air conditioner
pulse signal
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.)
Granted
Application number
CN201711077306.7A
Other languages
Chinese (zh)
Other versions
CN107906677B (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
Guangdong Midea Refrigeration 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, Guangdong Midea Refrigeration Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201711077306.7A priority Critical patent/CN107906677B/en
Priority to PCT/CN2018/075670 priority patent/WO2019085322A1/en
Publication of CN107906677A publication Critical patent/CN107906677A/en
Application granted granted Critical
Publication of CN107906677B publication Critical patent/CN107906677B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • F24F11/58Remote control using Internet communication
    • 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/88Electrical aspects, e.g. circuits

Abstract

The invention discloses a kind of opening-closing structure control method of air conditioner, comprise the following steps:The out code of opening-closing structure is received, control motor drives opening-closing structure to be moved to its closing direction;Whether the duration for each pulse signal for judging to detect by detector in opening-closing structure closing process is controlled exceedes the time threshold of setting;If exceeding, judge that opening-closing structure is closed and be obstructed, control motor drives opening-closing structure to be moved to its opening direction.The invention also discloses a kind of air conditioner and readable storage medium storing program for executing.The present invention realizes that opening-closing structure closes the detection being obstructed by duration detection of the detector to each signal pulse, reduce opening-closing structure and close the cost for meeting obstacle detection, and by the judgement high sensitivity in pulse duration, accuracy and the speed of detection are improved, reduces injury.

Description

Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner
Technical field
The present invention relates to home appliance technical field, more particularly to the opening-closing structure control method of air conditioner, air conditioner and Readable storage medium storing program for executing.
Background technology
At present, the door-plate of air conditioner runs into detection of obstacles and may proceed to close, if barrier is the part of user's body, User can be damaged.Traditional disorder detection method has motor drive current detection method, speed-frequency detection method and resistance Power detection method.The realizations of these methods needs many testing agencies, with needing additionally to increase more cost on air-conditioning door-plate. At present for air conditioner door-plate close run into detection of obstacles mode it is of high cost, detection result is poor.
The above is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that the above is existing skill Art.
The content of the invention
It is a primary object of the present invention to provide opening-closing structure control method, air conditioner and the readable storage of a kind of air conditioner Medium, it is intended to which the mode that solution runs into detection of obstacles for the closing of air conditioner door-plate at present is of high cost, and detection result difference is asked Topic.
To achieve the above object, one aspect of the present invention provides a kind of opening-closing structure control method of air conditioner, including following Step:
The out code of opening-closing structure is received, control motor drives opening-closing structure to be moved to its closing direction;
In opening-closing structure closing process is controlled, the duration of each pulse signal detected by detector is judged Whether the time threshold of setting is exceeded;
If exceeding, judge that opening-closing structure is closed and be obstructed, control motor drives opening-closing structure to be moved to its opening direction.
Alternatively, described in opening-closing structure closing process is controlled, each pulse for judging to detect by detector is believed Number duration whether exceed setting time threshold the step of include:
In opening-closing structure closing process is controlled, pulse detector detection pulse signal is enabled;
After a complete pulse signal is often detected, obtain the pulse signal duration and its it is corresponding when Between threshold value;
The duration of the pulse signal and the time threshold are compared;
When the duration of the pulse signal being greater than or equal to the time threshold, judge to exceed;
When the duration of the pulse signal being less than the time threshold, judge not less than.
Alternatively, it is described in opening-closing structure closing process is controlled, enable the step of pulse detector detects pulse signal Afterwards, further include:
Determine the number for the pulse that pulse detector detects;
When the number of current PRF reaches predetermined number threshold value, perform and often detecting a complete pulse signal Afterwards, the step of obtaining the duration of the pulse signal and its corresponding time threshold.
Alternatively, it is described in opening-closing structure closing process is controlled, enable the step of pulse detector detects pulse signal Afterwards, further include:
Detect whether the opening-closing structure moves to predeterminated position;
When the opening-closing structure moves to predeterminated position, perform after a complete pulse signal is often detected, obtain The step of taking the duration of the pulse signal and its corresponding time threshold.
Alternatively, the step of whether the detection opening-closing structure moves to predeterminated position includes:
Determine the driving step number of driving motor;
When the driving step number reaches default step number threshold value, judge that the opening-closing structure moves to predeterminated position.
Alternatively, the step of whether the detection opening-closing structure moves to predeterminated position includes:
Location switch detection signal in place is closed in control;
When the location switch is not detected by signal in place, judge that the opening-closing structure moves to predeterminated position.
Alternatively, it is described control motor drive opening-closing structure to its closing direction move the step of before, further include:
Detect whether the opening-closing structure is opening initial position;
If it is not, the opening-closing structure is then controlled to be moved to its opening direction, until opening-closing structure moves to described open Beginning position;
When opening-closing structure is opening initial position, then perform control motor and drive opening-closing structure to be moved to its closing direction The step of.
Alternatively, it is described control motor drive opening-closing structure to its closing direction move the step of before, further include:
The opening-closing structure is controlled to be moved to its opening direction, until opening-closing structure, which moves to it, opens initial position;
When opening-closing structure is opening initial position, then perform control motor and drive opening-closing structure to be moved to its closing direction The step of.
In addition, to achieve the above object, another aspect of the present invention also provides a kind of air conditioner, it is characterised in that the sky Device is adjusted to include:Opening-closing structure, the memory and processor being connected with opening-closing structure and is stored on the memory and can be in institute The opening-closing structure control program of the air conditioner run on processor is stated, the opening-closing structure of the air conditioner controls program by the place Reason device realizes the opening-closing structure control method of air conditioner as described above when performing.
In addition, to achieve the above object, another aspect of the present invention also provides a kind of readable storage medium storing program for executing, the readable storage The opening-closing structure control program of air conditioner is stored with medium, the opening-closing structure control program of the air conditioner is executed by processor The opening-closing structure control method of Shi Shixian air conditioners as described above.
The present invention detects the pulse duration in air conditioner opening-closing structure closing process by detector, in pulse persistance When time exceedes the time threshold of setting, judge that opening-closing structure is closed and be obstructed, control motor drives opening-closing structure to its opening side To movement.Realize that opening-closing structure closes the detection being obstructed by the detector of simple magnet ring+Hall sensor, reduce detection Cost, and by the judgement high sensitivity in pulse duration, improve accuracy and the speed of detection, reduce injury.
Brief description of the drawings
Fig. 1 is the electronic devices structure schematic diagram for the hardware running environment that one embodiment of the invention scheme is related to;
Fig. 2 is the flow diagram of the first embodiment of the opening-closing structure control method of air conditioner of the present invention;
Fig. 3 is the structure diagram of detector in one embodiment of the invention;
Fig. 4 is every to judge to detect by detector in opening-closing structure closing process is controlled in one embodiment of the invention Whether the duration of a pulse signal exceedes the flow diagram of the time threshold of setting;
Fig. 5 is the flow signal of the flow diagram of the second embodiment of the opening-closing structure control method of air conditioner of the present invention Figure;
Fig. 6 is the flow diagram of the 3rd embodiment of the opening-closing structure control method of air conditioner of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are:The out code of opening-closing structure is received, control motor drives folding Structure is moved to its closing direction;Judge in opening-closing structure closing process is controlled, each pulse detected by detector Whether the duration of signal exceedes the time threshold of setting;If exceeding, judge that opening-closing structure is closed and be obstructed, control motor band Dynamic opening-closing structure is moved to its opening direction.
Since the mode for running into detection of obstacles for the closing of air conditioner door-plate at present is of high cost, detection result difference is asked Topic.The present invention provides a solution, when detecting the pulse persistance in air conditioner opening-closing structure closing process by detector Between, when exceeding the time threshold of setting in the pulse duration, judge that opening-closing structure is closed and be obstructed, control motor drives folding knot Structure is moved to its opening direction.Realize that opening-closing structure closes the inspection being obstructed by the detector of simple magnet ring+Hall sensor Survey, reduce testing cost, and by the judgement high sensitivity in pulse duration, improve accuracy and the speed of detection Degree, reduces injury.
As shown in Figure 1, the electronic devices structure signal for the hardware running environment that Fig. 1, which is the embodiment of the present invention, to be related to Figure.
Electronic equipment of the embodiment of the present invention can be air conditioner or the PC, smart mobile phone, the tablet that are connected with air conditioner The control devices such as computer, pocket computer, remote controler.Outside air conditioner for other equipment when, other equipment obtain air conditioner The information that the detector of upper setting detects controls the open/close of opening-closing structure.
As shown in Figure 1, the electronic equipment can include:Processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is used for realization the connection communication between these components. User interface 1003 can include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 can optionally connect including the wired of standard Mouth, wave point (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or the memory of stabilization (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
Alternatively, electronic equipment can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, Voicefrequency circuit, WiFi module, detector (magnet ring+Hall sensor) etc..Wherein, sensor ratio such as imaging sensor, infrared Sensor and other sensors.And it can detect as one kind of motion sensor, gravity accelerometer in all directions The size of (generally three axis) acceleration, can detect that size and the direction of gravity when static, available for identification electronic equipment appearance The application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of state, Vibration identification correlation function (such as pedometer, Tap) etc.;Certainly, electronic equipment can also configure gyroscope, barometer, hygrometer, thermometer, temperature sensor etc. other sensing Device, details are not described herein.
It will be understood by those skilled in the art that the terminal structure shown in Fig. 1 does not form the restriction to electronic equipment, can With including than illustrating more or fewer components, either combining some components or different components arrangement.
As shown in Figure 1, as in a kind of memory 1005 of computer-readable recording medium can include operating system, net The opening-closing structure control application program of network communication module, Subscriber Interface Module SIM and air conditioner.
In the terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, is carried out with background server Data communication;User interface 1003 is mainly used for connecting client (user terminal), with client into row data communication;And processor 1001 can be used for calling the opening-closing structure of the air conditioner stored in memory 1005 to control application program, and perform following behaviour Make:
The out code of opening-closing structure is received, control motor drives opening-closing structure to be moved to its closing direction;
In opening-closing structure closing process is controlled, the duration of each pulse signal detected by detector is judged Whether the time threshold of setting is exceeded;
If exceeding, judge that opening-closing structure is closed and be obstructed, control motor drives opening-closing structure to be moved to its opening direction.
Further, processor 1001 can be used for the opening-closing structure control for calling the air conditioner stored in memory 1005 Application program, and perform following operation:
In opening-closing structure closing process is controlled, pulse detector detection pulse signal is enabled;
After a complete pulse signal is often detected, obtain the pulse signal duration and its it is corresponding when Between threshold value;
The duration of the pulse signal and the time threshold are compared;
When the duration of the pulse signal being greater than or equal to the time threshold, judge to exceed;
When the duration of the pulse signal being less than the time threshold, judge not less than.
Further, it is described in opening-closing structure closing process is controlled, enable the step of pulse detector detection pulse signal After rapid, processor 1001 can be used for the opening-closing structure control application program for calling the air conditioner stored in memory 1005, And perform following operation:
Determine the number for the pulse that pulse detector detects;
When the number of current PRF reaches predetermined number threshold value, perform and often detecting a complete pulse signal Afterwards, the step of obtaining the duration of the pulse signal and its corresponding time threshold.
Further, it is described in opening-closing structure closing process is controlled, enable the step of pulse detector detection pulse signal After rapid, processor 1001 can be used for the opening-closing structure control application program for calling the air conditioner stored in memory 1005, And perform following operation:
Detect whether the opening-closing structure moves to predeterminated position;
When the opening-closing structure moves to predeterminated position, perform after a complete pulse signal is often detected, obtain The step of taking the duration of the pulse signal and its corresponding time threshold.
Further, processor 1001 can be used for the opening-closing structure control for calling the air conditioner stored in memory 1005 Application program, and perform following operation:
Determine the driving step number of driving motor;
When the driving step number reaches default step number threshold value, judge that the opening-closing structure moves to predeterminated position.
Further, processor 1001 can be used for the opening-closing structure control for calling the air conditioner stored in memory 1005 Application program, and perform following operation:
Location switch detection signal in place is closed in control;
When the location switch is not detected by signal in place, judge that the opening-closing structure moves to predeterminated position.
Further, it is described control motor drive opening-closing structure to its closing direction move the step of before, processor 1001 can be used for calling the opening-closing structure of the air conditioner stored in memory 1005 to control application program, and perform following behaviour Make:
Detect whether the opening-closing structure is opening initial position;
If it is not, the opening-closing structure is then controlled to be moved to its opening direction, until opening-closing structure moves to described open Beginning position;
When opening-closing structure is opening initial position, then perform control motor and drive opening-closing structure to be moved to its closing direction The step of.
Further, it is described control motor drive opening-closing structure to its closing direction move the step of before, processor 1001 can be used for calling the opening-closing structure of the air conditioner stored in memory 1005 to control application program, and perform following behaviour Make:
The opening-closing structure is controlled to be moved to its opening direction, until opening-closing structure, which moves to it, opens initial position;
When opening-closing structure is opening initial position, then perform control motor and drive opening-closing structure to be moved to its closing direction The step of.
With reference to Fig. 2, one embodiment of the invention provides a kind of opening-closing structure control method of air conditioner, the air conditioner Opening-closing structure control method includes:
Step S10, receives the out code of opening-closing structure, and control motor drives opening-closing structure to be moved to its closing direction;
In the present embodiment, the air conditioner is preferably cabinet air conditioner, and cabinet air conditioner includes door-plate and door-plate moves Device and door sheet driver, door-plate are connected with door-plate telecontrol equipment, and door-plate telecontrol equipment is connected with door sheet driver, and The controller of door sheet driver and air conditioner connects, and door-plate telecontrol equipment is according to controller under the driving of door sheet driver Control door-plate movement.The door-plate is exactly a kind of opening-closing structure of air conditioner, and the door-plate is conventionally arranged for air conditioner and goes out The closing in air port and opening, when preventing that air conditioner from not running, dust enters inside air conditioner.And the opening-closing structure also can also be Other need folding or can be with the structures of folding.Certainly, the air conditioner is also not limited to cabinet air conditioner, also can also be Other are with air conditioners such as folding (air guide structure) on-hooks.The present embodiment is described by taking cabinet air conditioner as an example, and opening-closing structure is with door Described exemplified by plate.
The air conditioner automatically turns on operation according to the instruction operation of user, or according to the parameter set in advance, and Operating parameter can be adjusted according to the instruction of environmental condition or user demand in the process of running.And when air conditioner is closed, Need to close on the door-plate.After the compressor, indoor fan, outdoor fan of air conditioner are closed, controller can send control Instruct (signal) to close door-plate, receive the out code of opening-closing structure.
After out code is received, control motor drives opening-closing structure to be moved to its closing direction.If air conditioner at this time Door-plate be open, control it to be moved to shutdown direction.The door-plate can be simple gate or two-door, and simple gate only needs Door-plate is controlled to be moved to closing direction, two-door is the sub- door-plate relative motion of opposite two, relative motion a to setting position Meet and close, meet and the connection mode at closing can be it is ratcheting, occlusion or fitting in one kind.
Step S20, each pulse signal that judgement is detected by detector in opening-closing structure closing process is controlled Whether the duration exceedes the time threshold of setting;
With reference to figure 3, the detector detection signal pulse is:Detector includes magnet assembly, and the magnet assembly is fixed On the opening-closing structure, the magnet assembly has P N magnetic pole and Q S magnetic pole, wherein, P, Q are the integer more than 1;X Hall detection components, the x Hall detection components are fixed in air conditioner body, and the x Halls detection components are close to institute Magnet assembly setting is stated, the x Hall detection components sense the magnetism of the magnet assembly when the opening-closing structure moves Change generates x road feel induction signals, the sensing model signal pulse with corresponding.
Magnet ring+the Hall sensor for setting detection air conditioner opening-closing structure to close, number of magnetic poles increase all pole of magnet ring Cause, maximize its number of magnetic poles on the premise of it can be sensed by Hall sensor, so can further reduce the reaction time. Magnetic pole+the Hall sensor is detector, is detected and closed by detector in air conditioner controls opening-closing structure closing process During the pulse that detects of Hall sensor, when often detecting a complete pulse, judge holding for each pulse signal Whether the continuous time exceedes the time threshold of setting;The time threshold is in smoothly operation normal switching-off during all pulse persistances Between maximum of T m or be arranged to Tm*k, k>1, it is preferably 1.05.
Preferably, in order to further improve detection sensitivity, magnet ring is no longer installed on drive gear, but individually does one Whether a high gear is obstructed dedicated for detection door-plate, and detection magnet ring is installed on door-plate top, this gear and electrode tooth Wheel is by ratcheting, can be that rotating speed is electrode rotating speed n times, n>1.At this time, the detection threshold value of signal pulse time, relative to Originally be installed on drive gear on when be changed into original 1/n so that sensitivity increase, can quickly detect whether to be obstructed, prevent into One step injures.
Step S30, if exceeding, judges that opening-closing structure is closed and is obstructed, control motor drives opening-closing structure to its opening side To movement.
When the duration for having the pulse signal detected by detector exceeding the time threshold of setting, folding is judged Structure is closed and is obstructed, there are barrier, for example, clamp hand etc..Continue to clamp barrier in order to prevent at this time, control motor, which drives, to be opened Structure is closed to move to its opening direction.When opening-closing structure is closed and is obstructed, can be alarmed by the warning device of setting, or pass through The mode of Internet of Things sends warning message to connected third party's terminal, so that third party terminal user knows air conditioner Closing is obstructed, and application scenario is:Child sends the alarm that child's hand is pressed from both sides to guardian when operating cabinet air conditioner Mobile phone, remind guardian to check prevent child from further receiving injury in time.
It is understood that after control motor drives opening-closing structure to be moved to its opening direction, the distance of operation is detected And the time, when reaching setting value (being set according to demand with practical application) in time or distance, continue to control it to closing side To movement.
If the duration of current PRF not less than the time threshold of setting, the opening-closing structure of control air conditioner continue to Move in shutdown direction.
The pulse duration in air conditioner opening-closing structure closing process is detected by detector in the present embodiment, in pulse When duration exceedes the time threshold of setting, judge that opening-closing structure is closed and be obstructed, control motor drives opening-closing structure to its dozen Evolution is to movement.Realize that opening-closing structure closes the detection being obstructed by the detector of simple magnet ring+Hall sensor, reduce Testing cost, and by the judgement high sensitivity in pulse duration, improve accuracy and the speed of detection, reduce wound Evil.
With reference to figure 4, in a preferred embodiment of the present invention, in order to further improve the accuracy of opening-closing structure detection, institute Whether the duration for stating each pulse signal that judgement is detected by detector in opening-closing structure closing process is controlled surpasses The step of time threshold for crossing setting, includes:
Step S21, in opening-closing structure closing process is controlled, enables pulse detector detection pulse signal;
Step S22, after a complete pulse signal is often detected, obtain the pulse signal duration and its Corresponding time threshold;
Step S23, the duration of the pulse signal and the time threshold are compared;
Step S24, when the duration of the pulse signal being greater than or equal to the time threshold, judges to exceed;
Step S25, when the duration of the pulse signal being less than the time threshold, judge not less than.Above-mentioned In embodiment, had differences between magnet ring magnetic pole, Hall component has differences, the difference of Hall and magnet ring distance etc. ultimately results in Should each pulse width all same signal pulse actually width difference it is huge, and detect time threshold, normal switching-off mistake All pulse durations are identical in journey.And in the present embodiment, initialized when product uses for the first time, during initialization The time of shield detection function, the whole signal pulse number of record shutdown and each pulse, and store record.Hereafter, closed the door Each signal pulse time sets up the time threshold Tn of respective detection in journey, and wherein Tn is each pulse in normal door closing procedure K times of duration, K >=1.When performing door-closing operation (opening-closing structure shutoff operation), be currently which signal pulse i.e. Take out corresponding time threshold to judge it, so as to effectively increase the sensitivity of detection.Of course, it should be understood that K is not Unalterable, normal shutdown number is counted, as shutdown number c<During n1, K value K1, as n1≤c<N2, K value take K2, as n2≤c, K values take K3, wherein, n1, n2 and n3 are positive integer more than 1, and n1<n2<N3, K1, K2 and K3 are all higher than 1, and K1<K2<K3;Meanwhile deposited per total to signal pulse after subnormal shutdown with each pulse duration with corresponding before The comparison of storage, if more than the value of storage, is then updated it, will be worth storage greatly.
When controlling folding to combine closing, a signal pulse is often detected, it is corresponding with its pulse sequence number to take out correspondence Time threshold contrast judgement, if exceeding, judges that door-plate meets obstacle or clamp hand, driving door-plate is moved to opposite direction.Close the door every time The duration of each pulse is basically identical, but has and accidentally more become, and initialize only carried out once, if not to data into , then there is the risk of erroneous judgement in row renewal, while it is equally to overcome above-mentioned repetition one that k values, which increase and change according to normal shutdown number, Sex chromosome mosaicism is caused, avoids starting several times at closing time firm, some signal pulse duration jumps suddenly causes flase drop, is normally closing After door is enough, the maximum occurred to each pulse is recorded, and probability of false detection substantially reduces, and k is decreased, and makes detection It ensure that reliable not flase drop while sensitivity is optimal.
It is described in opening-closing structure closing process is controlled in a preferred embodiment of the present invention with reference to figure 5, enable pulse After detector detects the step of pulse signal, further include:
Step S26, determines the number for the pulse that pulse detector detects;
When the number of current PRF reaches predetermined number threshold value, perform and often detecting a complete pulse signal Afterwards, the step of obtaining the duration of the pulse signal and its corresponding time threshold.
In the present embodiment, due to the idle running of gear engagement and the reason such as loose and compressional deformation of structure, so closing The time of incipient several signal pulses, it is many to be higher by the normal operation normal burst duration after door starts.Close the door every time Its time duration is not judged in s preliminary pulse, effectively increase the accuracy of detection, s is according to actual feelings Condition is set, and what is set as far as possible is small.It is understood that in above several pulse detections, an offset is set, makes benefit The duration of above s signal pulse is detected after repaying again.The scheme of the present embodiment is applied uses a duration unified The judgement of threshold value, is also adapted to the judgement that each signal pulse is corresponding with a pulse duration threshold value.
The present embodiment is avoided error from causing to judge by accident greatly, is improved by the not judgement to above several pulse durations Opening-closing structure closes the sensitivity and accuracy of detection.
In other embodiments of the present invention, above several signal pulses are not detected or closed in opening-closing structure One predeterminated position is set during closing, detects whether the opening-closing structure moves to predeterminated position, institute by position sensor Predeterminated position is stated, to be excellent, to be set according to demand with actual conditions close to initial position.Certainly, taken the photograph if be provided with air conditioner As device, picture extraction user information or obstacle information before air conditioner opening-closing structure can be shot according to camera device, According to picture extract information come set on earth predeterminated position should at which, so can to avoid predeterminated position set it is too small, And to clamp hand or clamp barrier and do not have started detection, further improve accuracy in detection.Specifically, control process For:Detect whether the opening-closing structure moves to predeterminated position;When the opening-closing structure moves to predeterminated position, perform every After detecting a complete pulse signal, the duration of the pulse signal and its step of corresponding time threshold are obtained Suddenly.The detection of the predeterminated position can also be:Determine the driving step number of driving motor;Reach default step in the driving step number During number threshold value, judge that the opening-closing structure moves to predeterminated position.The process of predeterminated position is detected yet to be:Control closing is arrived Bit switch detects signal in place;When the location switch is not detected by signal in place, it is pre- to judge that the opening-closing structure moves to If position.
The present embodiment avoids the error detection of front end and detection in time, improves accuracy in detection by setting predeterminated position.
Further, in one embodiment, opening-closing structure is driven to be transported to its closing direction with reference to figure 6, the control motor Before dynamic step, further include:
Step S40, detects whether the opening-closing structure is opening initial position;
Step S50, if it is not, then controlling the opening-closing structure to be moved to its opening direction, until opening-closing structure moves to institute State and open initial position;
When opening-closing structure is opening initial position, then perform control motor and drive opening-closing structure to be moved to its closing direction The step of.
In the present embodiment, start every time at closing time, whether door-plate is first checked in state in place of opening the door, if without if First driving door-plate moves to enabling position in place.In this way, even if door-plate is considered moving, without making powering off and then powering on Door-plate recovers normal, and air-conditioning is corrected automatic at closing time.
Further, in order to preferably so that door-plate reset, air conditioner door-plate in state in place of opening the door when, receipts To after door close commands, first drive door-plate to move t times or e driving step number to enabling direction, door-plate is squeezed in opening position Laminated structure engaged with gear idle running to can not deformed state again, then drive door-plate move to shutdown direction, guarantee door-plate is each Shutdown stroke it is completely the same, the signal pulse number of generation is identical.By driving to opening position, ensure the starting detected every time Position is identical, ensures to produce identical umber of pulse, improves the accuracy of opening-closing structure detection.
In an embodiment of the present invention, can be with order to preferably detect the detection that barrier is met in the closing of opening-closing structure It is:The opening-closing structure is controlled to be moved to its opening direction, until opening-closing structure, which moves to it, opens initial position;In folding knot Structure when opening initial position, then perform control motor drive opening-closing structure to its closing direction move the step of.Do not open the door The detection of initial position, every time before opening-closing structure is closed, controls and is operated to enabling direction.
The present invention also provides a kind of air conditioner, the air conditioner includes:Opening-closing structure, the memory being connected with opening-closing structure Program is controlled with processor and the opening-closing structure for being stored in the air conditioner that can be run on the memory and on the processor, The opening-closing structure control program of the air conditioner realizes the opening-closing structure of air conditioner as described above when being performed by the processor Control method.
The present embodiment detects the pulse duration in air conditioner opening-closing structure closing process by detector, is held in pulse When the continuous time exceedes the time threshold of setting, judge that opening-closing structure is closed and be obstructed, control motor drives opening-closing structure to be opened to it Move in direction.Realize that opening-closing structure closes the detection being obstructed by the detector of simple magnet ring+Hall sensor, reduce inspection Cost is surveyed, and by the judgement high sensitivity in pulse duration, improves accuracy and the speed of detection, reduces wound Evil.
In addition, the embodiment of the present invention also proposes a kind of readable storage medium storing program for executing, air-conditioning is stored with the readable storage medium storing program for executing The opening-closing structure control program of device, the opening-closing structure control program of the air conditioner realize following behaviour when being performed by the processor Make:
The out code of opening-closing structure is received, control motor drives opening-closing structure to be moved to its closing direction;
The duration of each pulse signal detected by detector is judged in opening-closing structure closing process is controlled Whether the time threshold of setting is exceeded;
If exceeding, judge that opening-closing structure is closed and be obstructed, control motor drives opening-closing structure to be moved to its opening direction.
Further, following operation is realized when the opening-closing structure control program of the air conditioner is performed by the processor:
In opening-closing structure closing process is controlled, pulse detector detection pulse signal is enabled;
After a complete pulse signal is often detected, obtain the pulse signal duration and its it is corresponding when Between threshold value;
The duration of the pulse signal and the time threshold are compared;
When the duration of the pulse signal being greater than or equal to the time threshold, judge to exceed;
When the duration of the pulse signal being less than the time threshold, judge not less than.
Further, it is described in opening-closing structure closing process is controlled, enable the step of pulse detector detection pulse signal After rapid, the opening-closing structure control program of the air conditioner realizes following operation when being performed by the processor:
Determine the number for the pulse that pulse detector detects;
When the number of current PRF reaches predetermined number threshold value, perform and often detecting a complete pulse signal Afterwards, the step of obtaining the duration of the pulse signal and its corresponding time threshold.
Further, it is described in opening-closing structure closing process is controlled, enable the step of pulse detector detection pulse signal After rapid, the opening-closing structure control program of the air conditioner realizes following operation when being performed by the processor:
Detect whether the opening-closing structure moves to predeterminated position;
When the opening-closing structure moves to predeterminated position, perform after a complete pulse signal is often detected, obtain The step of taking the duration of the pulse signal and its corresponding time threshold.
Further, following operation is realized when the opening-closing structure control program of the air conditioner is performed by the processor:
Determine the driving step number of driving motor;
When the driving step number reaches default step number threshold value, judge that the opening-closing structure moves to predeterminated position.
Further, following operation is realized when the opening-closing structure control program of the air conditioner is performed by the processor:
Location switch detection signal in place is closed in control;
When the location switch is not detected by signal in place, judge that the opening-closing structure moves to predeterminated position.
Further, it is described control motor drive opening-closing structure to its closing direction move the step of before, the air-conditioning The opening-closing structure control program of device realizes following operation when being performed by the processor:
Detect whether the opening-closing structure is opening initial position;
If it is not, the opening-closing structure is then controlled to be moved to its opening direction, until opening-closing structure moves to described open Beginning position;
When opening-closing structure is opening initial position, then perform control motor and drive opening-closing structure to be moved to its closing direction The step of.
Further, it is described control motor drive opening-closing structure to its closing direction move the step of before, the air-conditioning The opening-closing structure control program of device realizes following operation when being performed by the processor:
The opening-closing structure is controlled to be moved to its opening direction, until opening-closing structure, which moves to it, opens initial position;
When opening-closing structure is opening initial position, then perform control motor and drive opening-closing structure to be moved to its closing direction The step of.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements not only include those key elements, and And other elements that are not explicitly listed are further included, or further include as this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there are other identical element in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in one as described above In readable storage medium storing program for executing (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be hand Machine, computer, server, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made, is directly or indirectly used in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. the opening-closing structure control method of a kind of air conditioner, it is characterised in that comprise the following steps:
The out code of opening-closing structure is received, control motor drives opening-closing structure to be moved to its closing direction;
In opening-closing structure closing process is controlled, whether the duration for each pulse signal that judgement is detected by detector More than the time threshold of setting;
If exceeding, judge that opening-closing structure is closed and be obstructed, control motor drives opening-closing structure to be moved to its opening direction.
2. the opening-closing structure control method of air conditioner as claimed in claim 1, it is characterised in that described in control opening-closing structure In closing process, whether the duration for each pulse signal for judging to detect by detector exceedes the time threshold of setting The step of include:
In opening-closing structure closing process is controlled, pulse detector detection pulse signal is enabled;
After a complete pulse signal is often detected, the duration of the pulse signal and its corresponding time threshold are obtained Value;
The duration of the pulse signal and the time threshold are compared;
When the duration of the pulse signal being greater than or equal to the time threshold, judge to exceed;
When the duration of the pulse signal being less than the time threshold, judge not less than.
3. the opening-closing structure control method of air conditioner as claimed in claim 2, it is characterised in that described in control opening-closing structure In closing process, after enabling the step of pulse detector detects pulse signal, further include:
Determine the number for the pulse that pulse detector detects;
When the number of current PRF reaches predetermined number threshold value, perform after a complete pulse signal is often detected, obtain The step of taking the duration of the pulse signal and its corresponding time threshold.
4. the opening-closing structure control method of air conditioner as claimed in claim 2, it is characterised in that described in control opening-closing structure In closing process, after enabling the step of pulse detector detects pulse signal, further include:
Detect whether the opening-closing structure moves to predeterminated position;
When the opening-closing structure moves to predeterminated position, perform after a complete pulse signal is often detected, obtain institute The step of stating the duration of pulse signal and its corresponding time threshold.
5. the opening-closing structure control method of air conditioner as claimed in claim 4, it is characterised in that the detection folding knot The step of whether structure moves to predeterminated position includes:
Determine the driving step number of driving motor;
When the driving step number reaches default step number threshold value, judge that the opening-closing structure moves to predeterminated position.
6. the opening-closing structure control method of air conditioner as claimed in claim 2, it is characterised in that the detection folding knot The step of whether structure moves to predeterminated position includes:
Location switch detection signal in place is closed in control;
When the location switch is not detected by signal in place, judge that the opening-closing structure moves to predeterminated position.
7. such as the opening-closing structure control method of claim 1 to 6 any one of them air conditioner, it is characterised in that the control Motor drive opening-closing structure to its closing direction move the step of before, further include:
Detect whether the opening-closing structure is opening initial position;
If it is not, the opening-closing structure is then controlled to be moved to its opening direction, until opening-closing structure moves to the opening start bit Put;
When opening-closing structure is opening initial position, then the step that control motor drives opening-closing structure to be moved to its closing direction is performed Suddenly.
8. such as the opening-closing structure control method of claim 1 to 6 any one of them air conditioner, it is characterised in that the control Motor drive opening-closing structure to its closing direction move the step of before, further include:
The opening-closing structure is controlled to be moved to its opening direction, until opening-closing structure, which moves to it, opens initial position;
When opening-closing structure is opening initial position, then the step that control motor drives opening-closing structure to be moved to its closing direction is performed Suddenly.
9. a kind of air conditioner, it is characterised in that the air conditioner includes:Opening-closing structure, the memory being connected with opening-closing structure and Processor and the opening-closing structure control program for being stored in the air conditioner that can be run on the memory and on the processor, institute The opening-closing structure for stating air conditioner controls program to be realized when being performed by the processor as described in any item of the claim 1 to 8 The opening-closing structure control method of air conditioner.
10. a kind of readable storage medium storing program for executing, it is characterised in that the opening-closing structure control of air conditioner is stored with the readable storage medium storing program for executing Processing procedure sequence, the opening-closing structure control program of the air conditioner are realized such as any one of claim 1 to 8 institute when being executed by processor The opening-closing structure control method for the air conditioner stated.
CN201711077306.7A 2017-11-03 2017-11-03 Air conditioner opening and closing structure control method, air conditioner and readable storage medium Active CN107906677B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711077306.7A CN107906677B (en) 2017-11-03 2017-11-03 Air conditioner opening and closing structure control method, air conditioner and readable storage medium
PCT/CN2018/075670 WO2019085322A1 (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
CN201711077306.7A CN107906677B (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
CN107906677A true CN107906677A (en) 2018-04-13
CN107906677B CN107906677B (en) 2020-10-20

Family

ID=61842514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711077306.7A Active CN107906677B (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) CN107906677B (en)
WO (1) WO2019085322A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019085322A1 (en) * 2017-11-03 2019-05-09 广东美的制冷设备有限公司 Air conditioner opening/closing structure control method, air conditioner and readable storage medium

Citations (7)

* 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
CN204126453U (en) * 2014-09-11 2015-01-28 陕西青年职业学院 The bus door that prevents based on CAN presss from both sides the device of people
CN105649463A (en) * 2014-12-01 2016-06-08 阿斯莫株式会社 Openable and closable member control apparatus
CN106014077A (en) * 2016-07-04 2016-10-12 珠海格力电器股份有限公司 Control method and device for sliding door
CN106274926A (en) * 2016-08-31 2017-01-04 中车青岛四方机车车辆股份有限公司 The control method of a kind of rail vehicle door closedown and control device
CN106765977A (en) * 2017-01-05 2017-05-31 广东美的制冷设备有限公司 Air-conditioner and its door-plate control method, device

Family Cites Families (4)

* 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
CN104515248A (en) * 2013-09-27 2015-04-15 珠海格力电器股份有限公司 Safety control method and device for door plate and cabinet air conditioner
CN106765979B (en) * 2017-01-05 2019-11-26 广东美的制冷设备有限公司 The door-plate control method and device of air conditioner and air conditioner
CN107906677B (en) * 2017-11-03 2020-10-20 广东美的制冷设备有限公司 Air conditioner opening and closing structure control method, air conditioner and readable storage medium

Patent Citations (7)

* 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
CN204126453U (en) * 2014-09-11 2015-01-28 陕西青年职业学院 The bus door that prevents based on CAN presss from both sides the device of people
CN105649463A (en) * 2014-12-01 2016-06-08 阿斯莫株式会社 Openable and closable member control apparatus
CN106014077A (en) * 2016-07-04 2016-10-12 珠海格力电器股份有限公司 Control method and device for sliding door
CN106274926A (en) * 2016-08-31 2017-01-04 中车青岛四方机车车辆股份有限公司 The control method of a kind of rail vehicle door closedown and control device
CN106765977A (en) * 2017-01-05 2017-05-31 广东美的制冷设备有限公司 Air-conditioner and its door-plate control method, device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019085322A1 (en) * 2017-11-03 2019-05-09 广东美的制冷设备有限公司 Air conditioner opening/closing structure control method, air conditioner and readable storage medium

Also Published As

Publication number Publication date
WO2019085322A1 (en) 2019-05-09
CN107906677B (en) 2020-10-20

Similar Documents

Publication Publication Date Title
CN107906673A (en) Opening-closing structure detection control method, air conditioner and the readable storage medium storing program for executing of air conditioner
CN111279044B (en) Garage door controller and monitor and mode
CN107852566B (en) Context-based gesture recognition and control
CN107917518A (en) Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner
KR101800887B1 (en) Network system
CN108632523B (en) Shielding method for air conditioner camera
CN107655177A (en) Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner
EP3082115A2 (en) Guided installation feedback for an opening sensor
CN107906683A (en) Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner
US20150302672A1 (en) Process, system, method and apparatus for monitoring status and control of equipment
US11276292B2 (en) Recording activity detection
US10460578B2 (en) Window sensing device with movement detection
CN105741532A (en) Terminal having infrared remote control function, and infrared remote control pairing method
CN107940669B (en) Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner
CN107975908A (en) Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner
CN107940670A (en) Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner
CN112128925B (en) Method for intelligently remotely controlling air conditioner, intelligent terminal and storage medium
CN107906677A (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
CN108662717A (en) Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner
EP3811252B1 (en) Network activity validation
CN106526619A (en) Method and device for automatically switching on GPS positioning function
CN108870674A (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
CN115439989A (en) Object detection method and device and smart home system

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