Summary of the invention
The object of the present invention is to provide a kind of control method and device of opening and closing door of air conditioner, in order to solve the jiggly problem of exhaust outlet panel lifting of existing air conditioner.
To achieve these goals, the invention provides a kind of control method of opening and closing door of air conditioner, wherein, comprise the steps:
Step 1, the stressing conditions and the speed of service at the different phase of opening and closing door of air conditioner in lifting process, determine to drive the required moment of torsion that provides of stepper motor of shutter door lifting, and determine to drive the required pulse frequency of this stepper motor in each stage according to described moment of torsion in each stage;
Step 2, in the lifting process of described shutter door, output and the corresponding pulse of residing stage of described shutter door drive described stepper motor and drive described shutter door lifting.
Above-mentioned method wherein, in described step 1, also comprises: determine in the required driving step number of described stepper motor of each stage in the displacement situation of different phase according to described shutter door; In described step 2, only determine the pulse number exported to described stepper motor according to described driving step number.
Above-mentioned method, wherein, described stepper motor adopts synchronously driven a plurality of stepper motor, evenly distributes in the mode that guarantees described shutter door producing balanced forces.
Above-mentioned method, wherein, when described shutter door enters another stage by a stage, pulse frequency carries out the transition to the pulse frequency of the stage correspondence after the conversion according to the pulse frequency of the mapping mode of curve or the oblique line stage correspondence before change.
In order to realize purpose of the present invention, the present invention also provides a kind of control device of opening and closing door of air conditioner, wherein, comprises control module and stepper motor; Described control module is used for, the stressing conditions and the speed of service at the different phase of opening and closing door of air conditioner in lifting process, determine at the required moment of torsion that provides of described stepper motor of each stage, and determine and be stored in each stage to drive the required pulse frequency of this stepper motor according to described moment of torsion; In the lifting process of described shutter door, to described stepper motor output and the corresponding pulse of residing stage of described shutter door; Described stepper motor is used for, and drives described shutter door lifting under from the driving of the pulse of described control module.
Above-mentioned device, wherein, described control module also is used for: determine the required step number of described stepper motor of each stage according to described shutter door in the displacement situation of different phase, and determine pulse number to the output of described stepper motor according to described step number.
Above-mentioned device, wherein, described stepper motor is synchronously driven a plurality of stepper motor, evenly distributes in the mode that guarantees described shutter door producing balanced forces.
Above-mentioned device, wherein, described control module comprises: CPU, program storage, data storage, data random access memory, input interface and output interface; Described program storage is used for storage and the corresponding control program of operation selection signal; Described data storage is used to store the described pulse frequency and the described driving step number of corresponding different phase; Described data random access memory is used to store the ephemeral data of CPU; Described CPU is used for, according to reading in operation selection signal from described input interface, from described program storage, read and the corresponding control program of described operation selection signal, and export the described pulse frequency of corresponding different phase according to the described driving step number in the described data storage from described output interface.
In order to realize purpose of the present invention, the present invention provides a kind of air conditioner again, wherein, comprise the shutter door control device, described shutter door control device comprises: control module, be used for: at stressing conditions and the speed of service of opening and closing door of air conditioner, determine to drive the required moment of torsion that provides of stepper motor of described shutter door lifting, and determine and be stored in each stage to be the pulse frequency that drives this stepper motor required pulse according to described moment of torsion in each stage in the different phase of lifting process; In the lifting process of described shutter door, to described stepper motor output and the corresponding pulse of residing stage of described shutter door; Stepper motor is used for: drive described shutter door lifting under from the driving of the pulse of described control module.
Above-mentioned air conditioner, wherein, described control module comprises: CPU, program storage, data storage, data random access memory, input interface and output interface; Described program storage is used for storage and the corresponding control program of operation selection signal; Described data storage is used to store the described pulse frequency and the described driving step number of corresponding different phase; Described data random access memory is used to store the ephemeral data of CPU; Described CPU is used for, according to reading in operation selection signal from described input interface, from described program storage, read and the corresponding control program of described operation selection signal, and export the described pulse frequency of corresponding different phase according to the described driving step number in the described data storage from described output interface.
The invention has the advantages that:
The present invention can change the characteristic of speed and moment of torsion according to stepper motor, and big lifting power is provided when the needs moment of torsion is big, can control the speed of shutter door according to the load variations of air-conditioning shutter door stage by stage, makes the level and smooth lifting of exhaust outlet panel.
The present invention pre-determines the driving step number of the stepper motor in each stage according to the displacement situation of shutter door in each stage, just can realize well location without the use location detector, and is simple in structure, easy to maintenance.
The stepper motor that available torque of the present invention is little replaces the big synchronous motor of moment of torsion, and can improve the overall appearance of air-conditioner.
The specific embodiment
Fig. 1 has shown a kind of air conditioner that is fit to shutter door control method of the present invention, and wherein Figure 1A has shown air conditioner exhaust outlet 13 closing state, and Figure 1B has shown the state that exhaust outlet 13 is opened.
Fig. 2 is the side sectional view that is fit to the air conditioner of shutter door control method of the present invention, as shown in Figure 2, the main body 10 of air conditioner is made of the casing 11 of case shape and the upper front plate 12 and the lower front panel that cover unlimited the place ahead of casing 11, and has and be located at main body 10 inside and be used to carry out the heat exchanger 15 of heat exchange and be used for the air blast 16 that air flows.
Both sides on lower front panel are formed for room air is attracted to the air entry 14 of main body 10 inside, be formed for the air after the temperature adjustment is discharged to the exhaust outlet 13 of the interior space on the top of upper front plate 12, be provided with a plurality of horizontal type wind direction blades 17 and a plurality of vertical-type wind direction blade 18 that are used to regulate the direction of discharging air in the inboard of exhaust outlet 13.
In addition, flow into the inside of main body 10, an exhaust orifice open/close device 20 is set, be used for when not using air conditioner, exhaust outlet 13 being closed, in use exhaust outlet 13 is opened in order not make dust or foreign matter.
Air conditioner exhaust orifice open/close device 20 as shown in Figures 3 and 4, in order to open and close the exhaust outlet 13 that is formed on the front panel 12, be equipped with and exhaust outlet 13 big or small corresponding shutter door 21, and be used for the guide rail 23,24 that the lifting action to shutter door 21 leads.In addition, exhaust orifice open/close device 20 also is equipped with the lowering or hoisting gear 50 that drives shutter door 21 liftings, shutter door 21 and lowering or hoisting gear 50 is coupled together and the lifting of switching/door 21 is led by attaching parts 40.
For exhaust orifice open/close device 20 can be installed, the rear of plate 12 is provided with the supporting faceplate 30 of supporting location usefulness in front.Top at supporting faceplate 30 is used for the opening 31 that air flows with exhaust outlet 13 corresponding being provided with, and is provided with the support 32 that is used to strengthen the rigidity of supporting faceplate 30 and simultaneously supporting faceplate 30 is fixed on front panel 12 back sides around it.
Support 32 is from the both side ends of supporting faceplate 30 and opening 31, the upper end of opening 31 and the bottom of supporting faceplate 30, a given length is protruded at the back side to front panel 12, so just formed an insulating space between plate 12 and the supporting faceplate 30 in front, thereby can be contained in shutter door 21 and lowering or hoisting gear 50 etc. in this insulating space.In addition, this structure is formed for the guide rail 23,24 of lifting shutter door 21 at the inner surface of the support 32 of both sides, around opening 31, be formed for being provided with a plurality of combined holes 33,34 of aforementioned levels and vertical-type wind direction blade 17,18, and the vane drive motor 18a that is used to drive wind direction blade has been installed.
The guide rail 23,24 that is formed at support 32 can be respectively equipped with upper rall 23 and the lower guide 24 that forms certain-length along the vertical direction in the top and the bottom of support 32 with reference to figure 4 and shown in Figure 5.Because shutter door 21 is housed inside in front panel 12 insulating space afterwards, if shutter door 21 rises when closing exhaust outlet 13, just require shutter door 21 not only to want the in the vertical direction liter, also close to front panel 12 in the horizontal direction so that make shutter door 21 be in same appearance profile after closing exhaust outlet 13 with front panel 12, to keep the attractive in appearance complete of air-conditioning profile.
Therefore, upper rall 23 is not setting straight up and down, but from down to up gradually to exhaust outlet 13 directions tilt and with vertical direction shape in an angle, thereby the upper end that makes shutter door 21 can moved to exhaust outlet 13 when guide rail 23 rises, and makes the upper end of shutter door 21 enter exhaust outlet 13 at last and matches with the appearance profile of front panel 12.The main part of lower guide 24 is the vertical direction setting, lower guide 24 is for lower end guiding exhaust outlet 13 sides of the shutter door 21 that will rise to final stage, be provided with rake 24a in the top of lower guide 24, thereby make the bottom of shutter door 21 also enter exhaust outlet 13 and match with the appearance profile of front panel 12 to exhaust outlet 13 direction inclination given angles.
As from the foregoing, this structure of guide rail 23,24 is with shutter door 21 guiding exhaust outlets 13 in order to drive shutter door 21 at lowering or hoisting gear 50 and to rise, thereby under the state of closing exhaust outlet 13, the front surface that makes shutter door 21 makes the air conditioner good looking appearance with consistent with the appearance profile of the front surface of front panel 12.
In order to make shutter door 21 along upper rall 23 and lower guide 24 liftings, the slide unit 22 that combines with upper rall 23 and lower guide 24 that on shutter door 21, is provided with.In addition, the bottom of shutter door 21 combines with attaching parts 40 free to rotately, and these attaching parts 40 link together with lowering or hoisting gear 50.
Attaching parts 40 as shown in Figure 5, in the both sides of the top and the bottom of attaching parts 40 along extending transversely, form respectively match with the coupling collar of shutter door 21 and Lift Part 51 in conjunction with spool.In addition, attaching parts 40 have diamond structure, and the centre is provided with the cross ribs.Because be symmetrical arranged two attaching parts 40, so attaching parts 40 can be delivered to the power from lowering or hoisting gear 50 both sides, bottom of shutter door 21 equably, thereby thereby making shutter door 21 can not produce off-centre can successfully carry out lifting.
Lowering or hoisting gear 50 is equipped with drive motor 53.Form the guide rail 36 that slides up and down for Lift Part 51 along the vertical direction in the symmetrical both sides of supporting faceplate 30, thereby but Lift Part 51 easy on and off are slidingly arranged in the guide rail 36, positive central authorities at Lift Part 51 have also formed tooth-strip part, tooth-strip part can mesh with pinion 52, thereby motor 53 drives pinion 52 and rotates 51 liftings of drive Lift Part, this just can make attaching parts 40 liftings that are connected on the Lift Part 51, thereby further drives the lifting of shutter door 21.
Below, the control method of the shutter door of the air conditioner that is used for above this structure is described.
Fig. 6 has shown the velocity variations of stepper motor and the contrast relationship of change in torque, and stepper motor has following characteristic as we know from the figure:
1) along with the increase of stepper motor speed, the moment of torsion of stepper motor output reduces gradually;
2) under equal speed conditions, the moment of torsion of output was big when the torque ratio of stepper motor output when turning round continuously started.
As shown in Figure 7, when exhaust outlet 13 is opened, shutter door 21 and attaching parts 40, and make the Lift Part 51 of their actions all remain on the state of below.At this moment, the slide unit 22 on top places the bottom of upper rall 23, and the slide unit 22 of bottom places the bottom of lower guide 24.In addition, attaching parts 40 are bearing in the formed space length of coupling collar of Lift Part 51 and shutter door 21, and rotation is restricted.In the uphill process of shutter door 21, will experience following several stages:
The startup stage: utilize the action of drive motor 53, drive with the tooth-strip part pinion in mesh 52 of Lift Part 51 and rotate, as shown in Figure 8, Lift Part 51 rises shutter door 21 is risen.That is, Lift Part 51 upwards pushes away attaching parts 40, and attaching parts upwards push away the lower end of shutter door 21 again, thereby shutter door 21 is risen.Because this moment is the startup stage of being in, need bigger moment of torsion to overcome the inertia of friction of rest power and shutter door 21, be to guarantee that shutter door 21 rises, as can be seen from Figure 6, this moment need the speed of drive motor 53 be set in lower zone just can obtain suitable for high pulling torque.After drive motor 53 finished according to predefined speed and step number running, shutter door 21 just entered plateau.
Plateau: the continuous running torque ratio of drive motor 53 is big with the starting torque of speed as can be seen from Figure 6, in view of the above, is guaranteeing under the prerequisite that shutter door rises that the moment of torsion of reduction drive motor 53 that can be suitable also promptly improves the speed of drive motor 53.Thereby can improve the opening and closing speed of shutter door 21, and because the reduction of moment of torsion, guarantee the stationarity of shutter door 21.After drive motor 53 finished according to predefined speed and step number running, shutter door 21 just entered and stops the last stage.
Stop the last stage: at this moment, the slide unit 22 that is arranged at both sides, shutter door 21 bottom is the states that are in the rake 24a that just arrives lower guide 24.By drive motor 53, Lift Part 51 further rises between the given area, the slide unit 22 that is arranged at both sides, shutter door 21 bottom enters rake 24a, attaching parts 40 are rotated, the bottom that promotes shutter door 21 moves to exhaust outlet 13 sides, thereby makes the front surface of shutter door 21 consistent with the profile phase of the front surface of front panel 12 after arriving closed condition.After this moment, drive motor 53 finished according to predefined speed and step number running, shutter door 21 was closed fully, and the process that control is risen finishes.In this stage, drive motor 53 not only will provide the thrust of a rising, also will provide a thrust forward to make the front surface of shutter door 21 consistent with the front surface of front panel 12, and therefore, the moment of torsion in this stage just needs special big.For this reason,, reduce the speed of drive motor 53, thereby obtain a king-sized moment of torsion, make the front surface of shutter door 21 consistent, successfully to realize closing exhaust outlet with the front surface of front panel 12 according to Fig. 6 characteristic.The speed that reduces drive motor 53 can also make the rising of shutter door 21 more steady, avoids closing at a high speed the impact that shutter door 21 is brought.In addition, the slide unit 22 that is arranged at shutter door 21 tops rises along the upper rall 23 that tilts, and then moves to exhaust outlet 13, thereby closes/close door 21 when closing fully, closes/closes 21 top and make its front surface consistent with the front surface of front panel 12 equally.As from the foregoing, the present invention can also can make shutter door 21 close fully normally under the situation that does not need position-detection sensor.
When shutter door 21 was opened under closing state, the counter-rotating by drive motor 53 was rotated pinion 52 and afore-mentioned on the contrary, and Lift Part 51 is descended, and attaching parts 40 are descended with Lift Part 51, and shutter door 21 is opened simultaneously.The decline process of shutter door 21 equally also is divided into three phases: the startup stage, plateau, stop the last stage.
The startup stage: at this moment, the decline of Lift Part 51 drives the slide unit 22 be arranged at both sides, shutter door 21 bottom when sliding along lower guide 24, and attaching parts 40 are rotated.22 of slide units that are arranged at both sides, shutter door 21 top glide along upper rall 23.At this moment, shutter door 21 is also just opened naturally.After the slide unit 22 that is arranged at both sides, shutter door 21 bottom breaks away from the rake 24a of lower guide 24 fully, will directly descend.Because the startup stage of being in, need this moment bigger moment of torsion to overcome the inertia of friction of rest power and shutter door 21, descend for guaranteeing shutter door 21, as can be seen from Figure 6, need be set in lower zone to the speed of drive motor 53 and just can obtain bigger moment of torsion this moment.After drive motor 53 finished according to predefined speed and step number running, shutter door 21 just entered plateau.
Plateau: the continuous running torque ratio of drive motor 53 is big with the starting torque of speed as can be seen from Figure 6, in view of the above, is guaranteeing under the prerequisite that shutter door 21 descends that the moment of torsion of reduction drive motor 53 that can be suitable also promptly improves the speed of drive motor 53.Thereby can improve the opening and closing speed of shutter door 21, and because the reduction of moment of torsion, guarantee the stationarity of shutter door 21.After drive motor 53 finished according to predefined speed and step number running, shutter door 21 just entered and stops the last stage.
Stop the last stage: at this moment, reduce the speed of drive motor 53, can make the decline of shutter door 21 more steady, avoid opening at a high speed the impact that shutter door 21 is brought.After this moment, drive motor 53 finished according to the running of predefined speed and step number, open and close 21 complete openings, control procedure finishes.Thereby under the situation that does not need a position-detection sensor, also can make shutter door 21 normal complete openings.
As shown in Figure 9, shown a kind of method according to principle control shutter door movement velocity of the present invention, as figure, thus the startup stage and stop the speed that the last stage adopted lower pulse frequency to reduce stepper motor and increased moment of torsion, this control method is simpler.As shown in figure 10, shown another kind of method,, adopted the smooth variation of pulse frequency to carry out transition in the transition area in each stage though this method adopts platform shape ripple according to principle control shutter door movement velocity of the present invention, compare with Fig. 9, the variation of shutter door movement velocity is more steady.As shown in figure 11, shown another method according to principle control shutter door movement velocity of the present invention, this method is used repeatedly first curve controlled speed, and this method makes the shutter door movement velocity more steady.
As Figure 12, shown the block diagram of whole control circuit of the present invention, how simultaneously this figure has shown two Stepping Motor Control methods of driven opening door 21.As figure, control part 103 comprises that a storage has the microprocessor of the systems soft ware of control air conditioner work.
Operation selection portion 101 is the importations with a plurality of function selecting keys, so that select the working method of air conditioner, for example, comprises refrigeration, heats, blows, dehumidifies, stops, function such as reservation.
Needed DC voltage when power supply 102 provides control part 103 work.
The drive part 104 of shutter door motor one and the drive part 105 of shutter door motor two are distinguished drive motors 1 and motor 2 107 simultaneously according to the signal from control part 103.Similarly, driven compressor part 108 and fan electromotor drive part 109 are according to signal difference drive compression machine 110 and fan electromotor 111 from control part 103.What this should give attention be, because the drive part 105 of the drive part 104 of shutter door motor one and shutter door motor two is connected in parallel, accept signal simultaneously from control part 103, thereby can guarantee the uniformity of the signal that drive part 104 and drive part 105 receive, thereby action when can guarantee the motor 2 107 of the motor 1 of drive part 104 control and drive part 105 controls, thereby reach the purpose of the normal lifting that drives shutter door 21.
As Figure 13, shown the formation of drive control part 103 of the present invention, its inside mainly contains CPU (CPU) 115, ROM (program storage) 116, E
2PROM (data storage) 117, RAM (data random access memory) 118, input interface 113, compositions such as output interface 114 and power supply 119.
Wherein, the storage program relevant among the ROM 116, E with control
2The predefined constant of PROM 117 storages, pulse one when for example starting and step number one, pulse two and step number two in the time of steadily, pulse three and the third-class related data of step number before stopping, the ephemeral data that RAM 118 storage CPU 115 are calculated is such as counting.
The processing procedure of control part 103 inside is, CPU 115 is read in the signal of the operation selection portion 101 Figure 12 from input interface 113, reads and operate selection portion 101 corresponding control programs then from ROM 116, afterwards according to E
2The setting data of PROM 117, output signal arrives output interface 114 with the drive part 104 of drive motors one and the drive part 105 of motor two, and devices such as drive compression machine 110 and fan electromotor 111, CPU 115 is stored in RAM 118 to the program ephemeral data of carrying out from ROM 116 then, CPU 115 is carried out next step program according to the program setting of ROM 116, and the program in ROM 116 is finished.Power supply 119 then provides and is provided with each parts and moves needed electric power.
Figure 14 A is the flow chart of system's control of air conditioner of the present invention, as figure, in the step 300 of Figure 14 A, make air conditioner system and go into init state, when the function selecting key in operating selection portion 101 is selected in step 310 then, carry out corresponding program by control part 103.For example: step 311 is shutter door programs, and step 312 is load drivers, and step 313 is display routines, and step 314 is that remote control procedure and step 315 are error-reporting routines.Figure 14 B, 14C, 14D, 14E have shown the refrigeration selection respectively, heat selection, the integral body driving flow process that air-supply is selected and stopped to select.Owing to the present invention relates to the shutter door operation sequence, therefore other programs are regarded as the general operation of air conditioner, omit detailed description to them.
At this, the flow chart of shutter door work is controlled in introduction according to the pulse wave of Fig. 9 of the principle of the invention in detail, as Figure 15: at first from step 400, in step 410 according to the operation selection portion 101 selection, enter step 420, carry out the open and close door at this control part 103 according to the input of operation selection portion 101 and judge, if close door, then execution in step 431, if open the door then execution in step 441.
At first introduce the flow process that shutter door is closed, the present invention the startup stage pulse one that is fit to this stage pulse frequency of adopting, driving the total step number that synchronous motor rotates is step number one, plateau and stop the last stage the rest may be inferred.From step 431, central processing unit 115 is according to program and the E of ROM 116
2The setting data of PROM 117, pulse one to output interface 114 output step numbers once during with startup, thereby drive signal for simultaneously the drive part 104 of motor one and the drive part 105 of motor two, drive motors 1 and motor 2 107 drive shutter door 21 and rise respectively.Then the counter step number one that is arranged on the RAM118 in the step 432 subtracts 1, enter step 433, judge whether this hour counter step number one is " 0 ", if not, just jump to step 431, execution in step 432,433 in order till the step number one of step 433 is 0, is jumped out this then and is recycled to step 434 with E once more
2Pulse two that PROM (data storage) 117 sets when steady is to output interface 114 output step numbers 1 time, thereby drives signals for simultaneously drive part 104 and drive part 105, and drive motors 1, motor 2 107 then drive shutter door 21 and rise respectively.The counter step number two that is arranged in the step 435 on the RAM (data random access memory) 118 subtracts 1, and then step 436 judges whether step number two is " 0 ", is not the execution in step 434,435,436 that then circulates, and is " 0 " up to step number two.Then execution in step 437 drives signal for simultaneously drive part 104 and drive part 105 to stop prepulse three-dimensional output interface 114 output step numbers 1 time, and drive motors 1, motor 2 107 then drive shutter door 21 risings respectively.Counter step number three on the RAM in the step 438 (data random access memory) 118 subtracts 1, and step 439 judges whether step number three is " 0 ", is not the execution in step 437,438,439 that then circulates, and is " 0 " up to step number three, carries out step 450 shutter door and stops then.Thereby after step 460 finished, shutter door was closed.
Then introduce the flow process that shutter door is opened, just from step 441, central processing unit 115 is according to program and the E of ROM 116
2The setting data of PROM 117 pulse four-way output interface 114 output step numbers 1 time when starting, thus drive signals for simultaneously drive part 104 and drive part 105, and drive motors 1, motor 2 107 drive shutter door 21 and descend respectively.Then the counter step number four that is arranged on the RAM (data random access memory) 118 in the step 442 subtracts 1, enter step 443, judge this moment, whether step number four was " 0 ", if not, just jump to step 441, execution in step 442,443 in order once more, till step number four is 0, jump out then this be recycled to step 444 when steady pulse five to output interface 114 output step numbers 1 time, thereby drive signal for simultaneously motor-driven part 104,105, drive motors 1, motor 2 107 then drive shutter door 21 declines respectively.The counter step number five that is arranged in the step 445 on the RAM (data random access memory) 118 subtracts 1, and then step 446 judges whether step number five is " 0 ", is not the execution in step 444,445,446 that then circulates, and is " 0 " up to step number five.Then execution in step 447 is exported step numbers 1 time to stop prepulse six to output interface 114, drives signals for simultaneously motor-driven part 104,105, and drive motors 1, motor 2 107 then drive shutter door 21 declines respectively.Counter step number six on the RAM in the step 448 (data random access memory) 118 subtracts 1, step 449 judges whether step number six is " 0 " then, be not the execution in step 447,448,449 that then circulates, step number six is " 0 " in step 449, carries out step 450 shutter door and stops.Thereby after step 460 finished, shutter door was opened.
As from the foregoing, the present invention can reach following effect:
1) the present invention can change the characteristic of speed and moment of torsion according to stepper motor, and big lifting power is provided when the needs moment of torsion is big, can control the speed of shutter door according to the load variations of air-conditioning shutter door stage by stage, makes the level and smooth lifting of exhaust outlet panel.
2) the present invention pre-determines the driving step number of the stepper motor in each stage according to the displacement situation of shutter door in each stage, just can realize well location without the use location detector, and is simple in structure, easy to maintenance.
3) stepper motor that available torque of the present invention is little replaces the big synchronous motor of moment of torsion, and can improve the overall appearance of air-conditioner.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.