CN108870674A - 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
CN108870674A
CN108870674A CN201810280596.3A CN201810280596A CN108870674A CN 108870674 A CN108870674 A CN 108870674A CN 201810280596 A CN201810280596 A CN 201810280596A CN 108870674 A CN108870674 A CN 108870674A
Authority
CN
China
Prior art keywords
opening
closing structure
closing
air conditioner
speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810280596.3A
Other languages
Chinese (zh)
Inventor
贺杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201810280596.3A priority Critical patent/CN108870674A/en
Publication of CN108870674A publication Critical patent/CN108870674A/en
Pending legal-status Critical Current

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
    • 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
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2120/00Control inputs relating to users or occupants
    • F24F2120/10Occupancy
    • F24F2120/12Position of occupants

Landscapes

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

Abstract

The invention discloses a kind of opening-closing structure control methods of air conditioner, include the following steps:The out code of opening-closing structure is received, control motor drives opening-closing structure to move to its closing direction;When opening-closing structure moves to predeterminable area, whether the speed of service for detecting the opening-closing structure changes;When the speed of service of the opening-closing structure changes, determine that opening-closing structure closing is obstructed, control motor drives opening-closing structure to move to its opening direction.The invention also discloses a kind of air conditioner and readable storage medium storing program for executing.The present invention is flogged a dead horse by constantly moving back and forth, waste of resource.And detection sensitivity is improved so that the judgement that opening-closing structure closing is obstructed is more accurate by the judgement of the judgement and velocity variations that enter predeterminable area, reduce 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 household 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 technique
It will continue to close currently, the door-plate of air conditioner encounters detection of obstacles, 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, And complex detection poor accuracy.
To sum up, at present for air conditioner door-plate close encounter detection of obstacles mode it is at high cost, detection effect is poor, in sky Device door-plate is adjusted to be easy to damage user at closing time.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide opening-closing structure control method, air conditioner and the readable storages of a kind of air conditioner Medium, it is intended to which the mode that solution encounters detection of obstacles for the closing of air conditioner door-plate at present is at high cost, and detection effect is poor, in sky Device door-plate is adjusted to be easy the problem of damaging to user at closing time.
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 move to its closing direction;
When opening-closing structure moves to predeterminable area, whether the speed of service for detecting the opening-closing structure changes;
When the speed of service of the opening-closing structure changes, determine that opening-closing structure closing is obstructed, control motor drives Opening-closing structure is moved to its opening direction.
Optionally, after the step of whether speed of service of the detection opening-closing structure changes, further include:
The amplitude for the pulse signal that detector detects in acquisition opening-closing structure operational process;
When the amplitude of the pulse signal changes, determine that the speed of service of opening-closing structure changes.
Optionally, in the acquisition opening-closing structure operational process the step of amplitude of the pulse signal that detects of detector it Afterwards, further include:
The amplitude that continuous acquisition preset times detect calculates pulse amplitude according to the amplitude that preset times detect Fiducial value;
When the fiducial value of pulse amplitude is greater than the reference value of preset in advance, determine that the amplitude of the pulse signal becomes Change.
Optionally, described when opening-closing structure is moved to more than predeterminable area, detect the speed of service of the opening-closing structure Before the step of whether changing, further include:
Determine the driving step number of driving motor;
When the driving step number reaches default step threshold, determine that the opening-closing structure moves to predeterminable area.
Optionally, described when opening-closing structure is moved to more than predeterminable area, detect the operation of the opening-closing structure Before the step of whether speed changes, further include:
Obtain the number of detector acquisition pulse signal;
When the number reaches preset threshold, determine that the opening-closing structure moves to predeterminable area.
Optionally, described when opening-closing structure moves to predeterminable area, detect the opening-closing structure the speed of service whether After the step of changing, further include:
When the speed of service does not change, judge whether the opening-closing structure current location has been in described default Except region;
When the opening-closing structure current location has been in except the predeterminable area, the opening-closing structure deceleration fortune is controlled Row.
Optionally, the out code for receiving opening-closing structure, control motor drive opening-closing structure to transport to its closing direction Before dynamic step, further include:
The opening-closing structure is detected whether in opening start position;
It is moved if it is not, then controlling the opening-closing structure to its opening direction, until opening-closing structure moves to described open Beginning position;
In opening-closing structure in opening start position, then executes control motor and opening-closing structure is driven to move to its closing direction The step of.
Optionally, the out code for receiving opening-closing structure, control motor drive opening-closing structure to transport to its closing direction Before dynamic step, further include:
It controls the opening-closing structure to move to its opening direction, until opening-closing structure moves to its opening start position;
In opening-closing structure in opening start position, then executes control motor and opening-closing structure is driven to move 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, the air conditioner includes:It opens Structure is closed, the memory and processor being connect with opening-closing structure and is stored on the memory and can transport on the processor The opening-closing structure of capable air conditioner controls program, and the opening-closing structure control program of the air conditioner is real when being executed by the processor The now opening-closing structure control method of air conditioner as described above.
In addition, to achieve the above object, further 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 on 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 conditioner as described above.
The present invention is occurred by judging the speed of folding structure motion before and after predeterminable area in front and back speed When variation, judge that opening-closing structure closing is obstructed, rather than pass through continuous reciprocating motion, flogs a dead horse, waste of resource.And pass through It is improved into the judgement of predeterminable area and the judgement of velocity variations so that the judgement that opening-closing structure closing is obstructed is more accurate Detection sensitivity reduces injury.
Detailed description of the invention
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 the air condition of that present invention;
Fig. 3 is the structural schematic diagram of detector in one embodiment of the invention;
Fig. 4 is the structural schematic diagram of opening-closing structure control detection in one embodiment of the invention;
Fig. 5 is the flow diagram of the second embodiment of the opening-closing structure control method of the air condition of that present invention;
Fig. 6 is the flow diagram of the 3rd embodiment of the opening-closing structure control method of the air condition of that 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.
Specific 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;When opening-closing structure moves to predeterminable area, the speed of service for detecting the opening-closing structure is It is no to change;When the speed of service of the opening-closing structure changes, determines that opening-closing structure closing is obstructed, control motor band Dynamic opening-closing structure is moved to its opening direction.
Since the mode for encountering detection of obstacles for the closing of air conditioner door-plate at present is at high cost, detection effect is poor, in sky Device door-plate is adjusted to be easy the problem of damaging to user at closing time.The present invention provides a solution, by predeterminable area Front and back judges the speed of folding structure motion, when speed changes in front and back, judges that opening-closing structure closing is obstructed, Rather than pass through continuous reciprocating motion, and it flogs a dead horse, waste of resource.And the judgement by entering predeterminable area and speed become The judgement of change improves detection sensitivity so that the judgement that opening-closing structure closing is obstructed is more accurate, reduces injury.
As shown in Figure 1, Fig. 1 is the electronic devices structure signal for the hardware running environment that the embodiment of the present invention is related to Figure.
Electronic equipment of the embodiment of the present invention can be air conditioner, can also be the PC, smart phone, plate connecting with air conditioner Computer, portable computer, remote controler etc. control equipment.When being other equipment outside air conditioner, 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 may include:Processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components. User interface 1003 may 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 optionally may include that the wired of standard connects Mouth, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
Optionally, 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 such as imaging sensor, infrared Sensor and other sensors.And as a kind of motion sensor, gravity accelerometer can detect in all directions The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify electronic equipment appearance when static 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 other sensings such as gyroscope, barometer, hygrometer, thermometer, temperature sensor Device, details are not described herein.
It will be understood by those skilled in the art that terminal structure shown in Fig. 1 does not constitute the restriction to electronic equipment, it can To include perhaps combining certain components or different component layouts than illustrating more or fewer components.
As shown in Figure 1, as may include operating system, net in a kind of memory 1005 of computer readable storage medium The opening-closing structure of network communication module, Subscriber Interface Module SIM and air conditioner controls application program.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, carries out with background server Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And processor 1001 can be used for calling the opening-closing structure control application program of the air conditioner stored in memory 1005, and execute following behaviour Make:
The out code of opening-closing structure is received, control motor drives opening-closing structure to move to its closing direction;
When opening-closing structure moves to predeterminable area, whether the speed of service for detecting the opening-closing structure changes;
When the speed of service of the opening-closing structure changes, determine that opening-closing structure closing is obstructed, control motor drives Opening-closing structure is moved to its opening direction.
Further, after the step of whether speed of service of the detection opening-closing structure changes, processor 1001 can be used for calling the opening-closing structure control application program of the air conditioner stored in memory 1005, and execute following behaviour Make:
The amplitude for the pulse signal that detector detects in acquisition opening-closing structure operational process;
When the amplitude of the pulse signal changes, determine that the speed of service of opening-closing structure changes.
Further, the step of amplitude for the pulse signal that detector detects in the acquisition opening-closing structure operational process Later, processor 1001 can be used for calling the opening-closing structure control application program of the air conditioner stored in memory 1005, and Execute following operation:
The amplitude that continuous acquisition preset times detect calculates pulse amplitude according to the amplitude that preset times detect Fiducial value;
When the fiducial value of pulse amplitude is greater than the reference value of preset in advance, determine that the amplitude of the pulse signal becomes Change.
Further, described when opening-closing structure is moved to more than predeterminable area, detect the operation speed of the opening-closing structure Before the step of whether degree changes, processor 1001 can be used for calling the folding of the air conditioner stored in memory 1005 Structure control application program, and execute following operation:
Determine the driving step number of driving motor;
When the driving step number reaches default step threshold, determine that the opening-closing structure moves to predeterminable area.
Further, described when opening-closing structure is moved to more than predeterminable area, detect the fortune of the opening-closing structure Before the step of whether scanning frequency degree changes, processor 1001 can be used for calling the air conditioner stored in memory 1005 Opening-closing structure controls application program, and executes following operation:
Obtain the number of detector acquisition pulse signal;
When the number reaches preset threshold, determine that the opening-closing structure moves to predeterminable area.
Further, described when opening-closing structure moves to predeterminable area, the speed of service for detecting the opening-closing structure is After no the step of changing, processor 1001 can be used for calling the opening-closing structure of the air conditioner stored in memory 1005 Application program is controlled, and executes following operation:
When the speed of service does not change, judge whether the opening-closing structure current location has been in described default Except region;
When the opening-closing structure current location has been in except the predeterminable area, the opening-closing structure deceleration fortune is controlled Row.
Further, the out code for receiving opening-closing structure, control motor drive opening-closing structure to its closing direction Before the step of movement, processor 1001 can be used for calling the opening-closing structure control of the air conditioner stored in memory 1005 to answer With program, and execute following operation:
The opening-closing structure is detected whether in opening start position;
It is moved if it is not, then controlling the opening-closing structure to its opening direction, until opening-closing structure moves to described open Beginning position;
In opening-closing structure in opening start position, then executes control motor and opening-closing structure is driven to move to its closing direction The step of.
Further, the out code for receiving opening-closing structure, control motor drive opening-closing structure to its closing direction Before the step of movement, processor 1001 can be used for calling the opening-closing structure control of the air conditioner stored in memory 1005 to answer With program, and execute following operation:
It controls the opening-closing structure to move to its opening direction, until opening-closing structure moves to its opening start position;
In opening-closing structure in opening start position, then executes control motor and opening-closing structure is driven to move to its closing direction The step of.
Referring 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 move 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 movement Device and door sheet driver, door-plate are connect with door-plate telecontrol equipment, and door-plate telecontrol equipment is connect with door sheet driver, and The connection of the controller of door sheet driver and air conditioner, door-plate telecontrol equipment is in controller under the driving of door sheet driver Control lower 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-conditioning The closing and opening of device air outlet, when preventing air conditioner from not running, dust enters inside air conditioner.And the opening-closing structure also But other need the structure that opens and closes or can open and close.Certainly, the air conditioner is also not limited to cabinet air conditioner, may be used yet To be that other have the air conditioners such as folding (air guide structure) on-hook.The present embodiment is described by taking cabinet air conditioner as an example, opening-closing structure It is described by taking door-plate as an example.
The air conditioner is run according to the instruction of user, or automatically turns on operation 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, It needs to close on the door-plate.After the compressor, indoor fan, outdoor fan of air conditioner are closed, controller can send control It instructs (signal) to close door-plate, receives the out code of opening-closing structure.
After receiving out code, control motor drives opening-closing structure to move to its closing direction.If air conditioner at this time Door-plate be open, control it and moved to shutdown direction.The door-plate can be simple gate, be also possible to two-door, and simple gate only needs It controls door-plate to move to closing direction, two-door is two opposite sub- door-plate relative motions, relative motion a to setting position Meet and close, meet and the connection type at closing can be it is ratcheting, occlusion or fitting one of.
In the leading portion distance of opening-closing structure movement, hardly there is clamp hand, being obstructed is also that some physical factor clamping stagnations are made At, so It is not necessary to too paying close attention to the reaction time.And will fasten a small range, a possibility that clamp hand, is maximum, needs The time is more paid close attention to, speed is accelerated, and whether the time of reaction faster, and can be obstructed faster, and setting is default in advance Region, the predeterminable area are arranged according to demand, which is that door-plate closes the region that can have clamp hand.Certainly, if air-conditioning Photographic device is provided on device, can according to photographic device shoot air conditioner opening-closing structure before picture extract user information or Obstacle information, predeterminable area on earth is arranged according to the information that picture extracts should be at which, in this way can be to avoid predeterminable area What is be arranged is too small, and to clamp hand or clamps barrier and do not have started detection, further increases accuracy in detection.
Specifically, after opening-closing structure closing, needing first to judge whether to reach preset areas being provided with predeterminable area in advance Domain, that is, judge whether that reaching clamp hand judges region, it is described to judge whether that the mode for reaching predeterminable area includes:Determine driving electricity The driving step number of machine;When the driving step number reaches default step threshold, determine that the opening-closing structure moves to predeterminable area. Detection reaches the process of predeterminated position yet to be:Location switch detection signal in place is closed in control;The location switch not When detecting signal in place, determine that the opening-closing structure moves to predeterminable area.Certainly, it also can also be:According to pulse number To determine whether reaching predeterminable area, the number of detector acquisition pulse signal is obtained;When the number reaches preset threshold, Determine that the opening-closing structure moves to predeterminable area.
With reference to Fig. 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 greater than 1;X Hall detection components, the x Hall detection components are fixed in air conditioner body, and the x Hall detection components are close to institute Magnet assembly setting is stated, the x Hall detection components incude the magnetism of the magnet assembly when the opening-closing structure is mobile Variation generates x road feel induction signal, the induction model signal pulse with corresponding.Here detector is Hall sensor+magnetic Disk, by the changes of magnetic field of disk, Hall sensor detects to obtain pulse signal.
Disk+Hall sensor that detection air conditioner opening-closing structure is closed is set, number of magnetic poles increase all pole of disk It causes, maximizes its number of disks under the premise of can be incuded by Hall sensor, can further reduce the reaction time in this way. Disk+the Hall sensor is detector, is detected in air conditioner control opening-closing structure closing process by Hall sensor Pulse.
And in one embodiment, in order to preferably describe the Hall sensor detection running pulse of opening-closing structure, reference Fig. 4, the opening-closing structure include:Controller, driving motor, transmission device, disk, wherein the transmission device and the driving The power output end of motor is connected, and switch gate can be driven to rotate in predetermined angle;The disk is installed on the transmission dress The output end of the driving motor is set or be installed on, can be turned with the rotation of the power output end of the driving motor It is dynamic, and variation magnetic field can be generated according to the variation of revolving speed.
The disk is the disc that centre offers polygonal hole, and the transmission device is equipped with and the polygonal hole Compatible polygon shaft end, the polygonal hole are sheathed on outside the polygon shaft end;
Radially be equipped with several magnetic stripes in the disk periphery, magnetic stripe uniform intervals arrangement magnetic pole (pole N and The pole S).
One section of pcb board of two Hall sensors will be integrated in respectively by generating with the magnet ring cultivated on machine shaft Hall effect generates Hall pulse, and then one of Hall sensor exports Hall pulse, detects the Hall pulse to detect The pulse signal generated in opening-closing structure operation process.
Step S20, when opening-closing structure moves to predeterminable area, whether the speed of service for detecting the opening-closing structure occurs Variation;
When another Hall sensor is passed through in the pole N of the disk, another Hall sensor will be exported high (or low) Level;And when another Hall sensor is passed through in the pole S of the disk, another Hall sensor then exports low (or high) electricity Flat, the speed of the operation of door-plate described in such air conditioner has been converted into the square-wave signal (Hall pulse) of rule.Pass through one Hall position sensor detection reaches predeterminable area, then detects to obtain whether speed is sent out by another hall speed sensor Changing.Determine whether to change by the variation of waveform.And detector detects in acquisition opening-closing structure operational process Pulse signal amplitude;When the amplitude of the pulse signal changes, determine that the speed of service of opening-closing structure becomes Change.The amplitude that continuous acquisition preset times detect calculates the comparison of pulse amplitude according to the amplitude that preset times detect Value;When the fiducial value of pulse amplitude is greater than the reference value of preset in advance, determine that the amplitude of the pulse signal changes.
And in one embodiment, detect the process of pulse and speed of service variation:Specifically, by being integrated on pcb board One of Hall sensor H1 passes through Hall effect with uniform intervals arrangement magnetic pole on the disk and generates Hall pulse;
Further, when Hall sensor is passed through in the pole N of the disk, Hall sensor will export high (or low) electricity It is flat;And when Hall sensor is passed through in the pole S of the disk, Hall sensor then exports low (or high) level, such air conditioner The position and speed of the door-plate operation has been converted into the square-wave signal (Hall pulse) of rule.
Further, another Hall sensor H2 is connected in the driving motor current supply circuit, and the controller is logical It crosses ADC functional module and samples the amplitude variation that another hall sensing H2 detects the door-plate driving motor, to obtain Whether the speed of service changes.Amplitude variation, the speed of service changes, and amplitude do not change or change it is small (less than setting Definite value), then it is defaulted as not changing.
Specifically, in anti-pinch region, input capture (pulse) of every generation when the door-plate normal switching-off, Location counter is subtracted 1, while Hall pulse width is sampled, preceding 10 sampled value Δs Xj (j=1,2 ..., 10) is put It sets in 10 continuous storage units, acquires average value after removing extreme value and be recorded as Y0;And so on, continuous 10 by after The average value of a Hall pulse width sampled value is denoted as Y1, carries out Y0 compared with Y1;If Y1-Y0 > Y (given threshold), speed Degree changes, then it is assumed that meet anti-pinch requirement, otherwise with Y1 cover Y0, continue to compare, until the door-plate run to Stop comparing after the upper limit of anti-pinch region.
Step S30 determines that opening-closing structure closing is obstructed, controls when the speed of service of the opening-closing structure changes Motor drives opening-closing structure to move to its opening direction.
When meeting anti-pinch requirement, determine that opening-closing structure closing is obstructed, there are barriers, for example, clamp hand etc..At this time in order to It prevents from continuing to clamp barrier, control motor drives opening-closing structure to move to its opening direction.When opening-closing structure closing is obstructed, It can be alarmed by the warning device of setting, or warning message is sent to third party connected to it by way of Internet of Things Terminal, so that third party terminal user knows that air conditioner closing is obstructed, application scenario is:Child is in operation cabinet air conditioner When, the alarm that child's hand is pressed from both sides is sent to the mobile phone of guardian, and reminding guardian to check in time prevents child from further receiving To injury.
It is understood that detecting the distance of operation after control motor drives opening-closing structure to move to its opening direction And the time continues to control it to closing side when time or distance reaching setting value (being arranged according to demand with practical application) To movement.And moved controlling it to closing direction, it is executed according to the process of preceding step S10- step S20, if continuing to sentence Disconnected closing is obstructed, then continues to control opening-closing structure movement in the way of step S30;If it is determined that closing normally, then sky is controlled The opening-closing structure of device is adjusted to continue to move to shutdown direction.Reach default to the opening/closing frequency in enabling direction and closing direction in circulation Number, for example, being moved to enabling direction or to closing direction (according to user's need for control opening-closing structure after 2 times perhaps 3 times Ask setting), until to enabling initial position or closing position in place, control motor is out of service.
By judging the speed of folding structure motion, in front and back speed before and after predeterminable area in the present embodiment When changing, judge that opening-closing structure closing is obstructed, rather than pass through continuous reciprocating motion, flogs a dead horse, waste of resource.And By entering the judgement of predeterminable area and the judgement of velocity variations, so that the judgement that opening-closing structure closing is obstructed is more accurate, Detection sensitivity is improved, injury is reduced.
Further, in one embodiment, with reference to Fig. 5, the out code for receiving opening-closing structure, control motor drive Before the step of opening-closing structure is moved to its closing direction, further include:
Whether step S40 detects the opening-closing structure in opening start position;
Step S50 is moved if it is not, then controlling the opening-closing structure to its opening direction, until opening-closing structure moves to institute State opening start position;
In opening-closing structure in opening start position, then executes control motor and opening-closing structure is driven to move to its closing direction The step of.
In the present embodiment, starting at closing time, first checks whether door-plate is in enabling state in place every time, 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 power on Door-plate restores normal, and air-conditioning is in automatic amendment at closing time.Alternatively, first judging door before the out code for receiving opening-closing structure Plate whether in enabling initial position, if, receive the out code of opening-closing structure, control motor drive opening-closing structure to its Closing direction movement;Certainly, it also can also be after receiving opening-closing structure out code, judge whether door-plate is opening the door Beginning position, if controlling motor and opening-closing structure being driven to move to its closing direction.
Further, in order to preferably reset door-plate, air conditioner door-plate in the state in place of enabling, receive To after door close commands, first door-plate is driven to move t time or e driving step number to enabling direction, squeezes door-plate in opening position Laminated structure engaged with gear idle running to can not deformed state again, then door-plate is driven 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, guarantee the starting detected every time Position is identical, guarantees to generate identical umber of pulse, improves the accuracy of opening-closing structure detection.
It in an embodiment of the present invention, can be in order to preferably detect the detection that barrier is met in the closing of opening-closing structure It is:It controls the opening-closing structure to move to its opening direction, until opening-closing structure moves to its opening start position;It is tied in folding Structure then executes the step of control motor drives opening-closing structure to move to its closing direction in opening start position.It does not open the door The detection of initial position is controlled and is operated to enabling direction every time before closing opening-closing structure.
It is described when opening-closing structure moves to predeterminable area with reference to Fig. 6, detect the opening-closing structure the speed of service whether After the step of changing, further include:
Step S60 judges whether the opening-closing structure current location has been in when the speed of service does not change Except the predeterminable area;
Step S70 controls the folding knot when the opening-closing structure current location has been in except the predeterminable area Structure runs slowly.
By after predeterminable area, that is, be not detected after closing is obstructed in anti-pinch region, opening-closing structure is close to closing at this time The position closed, control opening-closing structure runs slowly, preferably to close opening-closing structure, without being pressurized because closing velocity is fast Obviously, the situation for causing opening-closing structure impaired.
And in an embodiment of the present invention, before opening-closing structure reaches predeterminable area, it can control opening-closing structure acceleration Operation is obstructed the sensitivity of detection with improving opening-closing structure, further increases the speed of detection, avoid closing and be obstructed.
The present invention also provides a kind of air conditioner, the air conditioner includes:Opening-closing structure, the memory being connect 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 executed by the processor Control method.
The present embodiment is sent out by judging the speed of folding structure motion before and after predeterminable area in front and back speed When changing, judge that opening-closing structure closing is obstructed, rather than pass through continuous reciprocating motion, flogs a dead horse, waste of resource.And it is logical The judgement into predeterminable area and the judgement of velocity variations are crossed, so that the judgement that opening-closing structure closing is obstructed is more accurate, is mentioned High detection sensitivity, reduces injury.
In addition, the embodiment of the present invention also proposes a kind of readable storage medium storing program for executing, air-conditioning is stored on the readable storage medium storing program for executing The opening-closing structure of device controls program, and the opening-closing structure control program of the air conditioner realizes following behaviour when being executed by the processor Make:
The out code of opening-closing structure is received, control motor drives opening-closing structure to move to its closing direction;
When opening-closing structure moves to predeterminable area, whether the speed of service for detecting the opening-closing structure changes;
When the speed of service of the opening-closing structure changes, determine that opening-closing structure closing is obstructed, control motor drives Opening-closing structure is moved to its opening direction.
Further, after the step of whether speed of service of the detection opening-closing structure changes, the sky The opening-closing structure control program of device is adjusted to realize following operation when being executed by the processor:
The amplitude for the pulse signal that detector detects in acquisition opening-closing structure operational process;
When the amplitude of the pulse signal changes, determine that the speed of service of opening-closing structure changes.
Further, the step of amplitude for the pulse signal that detector detects in the acquisition opening-closing structure operational process Later, following operation is realized when the opening-closing structure control program of the air conditioner is executed by the processor:
The amplitude that continuous acquisition preset times detect calculates pulse amplitude according to the amplitude that preset times detect Fiducial value;
When the fiducial value of pulse amplitude is greater than the reference value of preset in advance, determine that the amplitude of the pulse signal becomes Change.
Further, described when opening-closing structure is moved to more than predeterminable area, detect the operation speed of the opening-closing structure Before the step of whether degree changes, the opening-closing structure control program of the air conditioner is realized such as when being executed by the processor Lower operation:
Determine the driving step number of driving motor;
When the driving step number reaches default step threshold, determine that the opening-closing structure moves to predeterminable area.
Further, described when opening-closing structure is moved to more than predeterminable area, detect the fortune of the opening-closing structure Before the step of whether scanning frequency degree changes, the opening-closing structure control program of the air conditioner is real when being executed by the processor Now following operation:
Obtain the number of detector acquisition pulse signal;
When the number reaches preset threshold, determine that the opening-closing structure moves to predeterminable area.
Further, described when opening-closing structure moves to predeterminable area, the speed of service for detecting the opening-closing structure is After no the step of changing, the opening-closing structure control program of the air conditioner realizes following behaviour when being executed by the processor Make:
When the speed of service does not change, judge whether the opening-closing structure current location has been in described default Except region;
When the opening-closing structure current location has been in except the predeterminable area, the opening-closing structure deceleration fortune is controlled Row.
Further, the out code for receiving opening-closing structure, control motor drive opening-closing structure to its closing direction Before the step of movement, the opening-closing structure control program of the air conditioner realizes following operation when being executed by the processor:
The opening-closing structure is detected whether in opening start position;
It is moved if it is not, then controlling the opening-closing structure to its opening direction, until opening-closing structure moves to described open Beginning position;
In opening-closing structure in opening start position, then executes control motor and opening-closing structure is driven to move to its closing direction The step of.
Further, the out code for receiving opening-closing structure, control motor drive opening-closing structure to its closing direction Before the step of movement, the opening-closing structure control program of the air conditioner realizes following operation when being executed by the processor:
It controls the opening-closing structure to move to its opening direction, until opening-closing structure moves to its opening start position;
In opening-closing structure in opening start position, then executes control motor and opening-closing structure is driven to move to its closing direction The step of.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In readable storage medium storing program for executing (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be hand Machine, computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of opening-closing structure control method of air conditioner, which is characterized in that include the following steps:
The out code of opening-closing structure is received, control motor drives opening-closing structure to move to its closing direction;
When opening-closing structure moves to predeterminable area, whether the speed of service for detecting the opening-closing structure changes;
When the speed of service of the opening-closing structure changes, determine that opening-closing structure closing is obstructed, control motor drives folding Structure is moved to its opening direction.
2. the opening-closing structure control method of air conditioner as described in claim 1, which is characterized in that the detection folding knot After the step of whether speed of service of structure changes, further include:
The amplitude for the pulse signal that detector detects in acquisition opening-closing structure operational process;
When the amplitude of the pulse signal changes, determine that the speed of service of opening-closing structure changes.
3. the opening-closing structure control method of air conditioner as claimed in claim 2, which is characterized in that the acquisition opening-closing structure fortune After the step of amplitude for the pulse signal that detector detects during row, further include:
The amplitude that continuous acquisition preset times detect calculates the comparison of pulse amplitude according to the amplitude that preset times detect Value;
When the fiducial value of pulse amplitude is greater than the reference value of preset in advance, determine that the amplitude of the pulse signal changes.
4. the opening-closing structure control method of air conditioner as described in claim 1, which is characterized in that described to be moved in opening-closing structure Before the step of whether changing to the speed of service for when being more than predeterminable area, detecting the opening-closing structure, further include:
Determine the driving step number of driving motor;
When the driving step number reaches default step threshold, determine that the opening-closing structure moves to predeterminable area.
5. the opening-closing structure control method of air conditioner as described in claim 1, which is characterized in that described in opening-closing structure It moves to when being more than predeterminable area, before detecting the step of whether the speed of service of the opening-closing structure changes, further includes:
Obtain the number of detector acquisition pulse signal;
When the number reaches preset threshold, determine that the opening-closing structure moves to predeterminable area.
6. the opening-closing structure control method of air conditioner as described in claim 1, which is characterized in that described to be moved in opening-closing structure When to predeterminable area, after detecting the step of whether the speed of service of the opening-closing structure changes, further include:
When the speed of service does not change, judge whether the opening-closing structure current location has been in the predeterminable area Except;
When the opening-closing structure current location has been in except the predeterminable area, controls the opening-closing structure and run slowly.
7. such as the opening-closing structure control method of air conditioner as claimed in any one of claims 1 to 6, which is characterized in that the reception Before the step of out code of opening-closing structure, control motor drives opening-closing structure to move to its closing direction, further include:
The opening-closing structure is detected whether in opening start position;
It is moved if it is not, then controlling the opening-closing structure to its opening direction, until opening-closing structure moves to the opening start bit It sets;
In opening-closing structure in opening start position, then the step that control motor drives opening-closing structure to move to its closing direction is executed Suddenly.
8. such as the opening-closing structure control method of air conditioner as claimed in any one of claims 1 to 6, which is characterized in that the reception Before the step of out code of opening-closing structure, control motor drives opening-closing structure to move to its closing direction, further include:
It controls the opening-closing structure to move to its opening direction, until opening-closing structure moves to its opening start position;
In opening-closing structure in opening start position, then the step that control motor drives opening-closing structure to move to its closing direction is executed Suddenly.
9. a kind of air conditioner, which is characterized in that the air conditioner includes:Opening-closing structure, the memory being connect 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, which controls when program is executed by the processor, to be realized 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, which is characterized in that be stored with the opening-closing structure control of air conditioner on the readable storage medium storing program for executing Processing procedure sequence, the opening-closing structure control program of the air conditioner are realized when being executed by processor such as any one of claims 1 to 8 institute The opening-closing structure control method for the air conditioner stated.
CN201810280596.3A 2018-03-30 2018-03-30 Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner Pending CN108870674A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810280596.3A CN108870674A (en) 2018-03-30 2018-03-30 Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810280596.3A CN108870674A (en) 2018-03-30 2018-03-30 Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner

Publications (1)

Publication Number Publication Date
CN108870674A true CN108870674A (en) 2018-11-23

Family

ID=64326582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810280596.3A Pending CN108870674A (en) 2018-03-30 2018-03-30 Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner

Country Status (1)

Country Link
CN (1) CN108870674A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110195906A (en) * 2019-06-28 2019-09-03 宁波奥克斯电气股份有限公司 A kind of wind-guiding door electrification reset control method, device and air conditioner

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070176463A1 (en) * 2006-02-02 2007-08-02 Robert Bosch Gmbh Movable partition monitoring systems and methods
CN106014077A (en) * 2016-07-04 2016-10-12 珠海格力电器股份有限公司 Control method and device for sliding door
CN106765979A (en) * 2017-01-05 2017-05-31 广东美的制冷设备有限公司 The door-plate control method and device of air-conditioner and air-conditioner
CN106765977A (en) * 2017-01-05 2017-05-31 广东美的制冷设备有限公司 Air-conditioner and its door-plate control method, device
CN106869670A (en) * 2017-03-23 2017-06-20 东莞雅音电子科技有限公司 Electric door detection means and detection control method
CN107655177A (en) * 2017-11-03 2018-02-02 广东美的制冷设备有限公司 Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070176463A1 (en) * 2006-02-02 2007-08-02 Robert Bosch Gmbh Movable partition monitoring systems and methods
CN106014077A (en) * 2016-07-04 2016-10-12 珠海格力电器股份有限公司 Control method and device for sliding door
CN106765979A (en) * 2017-01-05 2017-05-31 广东美的制冷设备有限公司 The door-plate control method and device of air-conditioner and air-conditioner
CN106765977A (en) * 2017-01-05 2017-05-31 广东美的制冷设备有限公司 Air-conditioner and its door-plate control method, device
CN106869670A (en) * 2017-03-23 2017-06-20 东莞雅音电子科技有限公司 Electric door detection means and detection control method
CN107655177A (en) * 2017-11-03 2018-02-02 广东美的制冷设备有限公司 Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110195906A (en) * 2019-06-28 2019-09-03 宁波奥克斯电气股份有限公司 A kind of wind-guiding door electrification reset control method, device and air conditioner

Similar Documents

Publication Publication Date Title
US10623622B1 (en) Monitoring system configuration technology
CN111279044B (en) Garage door controller and monitor and mode
CN108632523B (en) Shielding method for air conditioner camera
CN104597759B (en) Appliance control method and system and intelligent household management system based on Internet video
CN107906673A (en) Opening-closing structure detection control method, air conditioner and the readable storage medium storing program for executing of air conditioner
CN107917518A (en) Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner
CN110525377A (en) A kind of automobile trunk door control method and device
CN105741532A (en) Terminal having infrared remote control function, and infrared remote control pairing method
CN108844177A (en) The door-plate control method and air conditioner of air conditioner
CN112731821B (en) Equipment movement method and electronic equipment
CN105589619A (en) Multi-window display method and device for terminal
CN107655177A (en) Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner
CN111862371A (en) Express delivery automatic signing method based on intelligent visual doorbell and related equipment
CN107940669B (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
CN108870674A (en) Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner
CN107906683A (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
CN109861601A (en) Driving method and mobile terminal
CN107940671B (en) Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner
CN107975908B (en) Air conditioner opening and closing structure control method, air conditioner and readable storage medium
CN106686290B (en) A kind of alarm method and mobile terminal based on rotating camera
CN108498077A (en) Sleep state detection method, household electrical appliances and computer readable storage medium
CN116013009B (en) Intelligent door and window alarm method and system based on Internet of things and readable storage medium
JP6594110B2 (en) Control device, control system, and program

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181123