CN104433725A - Light-control curtain system and realizing method thereof - Google Patents

Light-control curtain system and realizing method thereof Download PDF

Info

Publication number
CN104433725A
CN104433725A CN201410666651.4A CN201410666651A CN104433725A CN 104433725 A CN104433725 A CN 104433725A CN 201410666651 A CN201410666651 A CN 201410666651A CN 104433725 A CN104433725 A CN 104433725A
Authority
CN
China
Prior art keywords
curtain
resistance
triode
light
chip computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410666651.4A
Other languages
Chinese (zh)
Other versions
CN104433725B (en
Inventor
张江林
巨辉
廖文军
樊昌元
张雪原
蒋秀洁
何西凤
张绍全
刘兴茂
庄慧敏
伍瑾斐
丁正东
周扬
余磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JIANGSU JINGLONG ALLOY STEEL MACHINERY MANUFACTURING CO LTD
Original Assignee
CHENGDU CHENGXIN DICHENG TECHNOLOGY Co Ltd
Chengdu Information Technology Co Ltd of CAS
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 CHENGDU CHENGXIN DICHENG TECHNOLOGY Co Ltd, Chengdu Information Technology Co Ltd of CAS filed Critical CHENGDU CHENGXIN DICHENG TECHNOLOGY Co Ltd
Priority to CN201410666651.4A priority Critical patent/CN104433725B/en
Publication of CN104433725A publication Critical patent/CN104433725A/en
Application granted granted Critical
Publication of CN104433725B publication Critical patent/CN104433725B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47HFURNISHINGS FOR WINDOWS OR DOORS
    • A47H5/00Devices for drawing draperies, curtains, or the like
    • A47H5/02Devices for opening and closing curtains

Landscapes

  • Operating, Guiding And Securing Of Roll- Type Closing Members (AREA)
  • Curtains And Furnishings For Windows Or Doors (AREA)
  • Power-Operated Mechanisms For Wings (AREA)

Abstract

The invention discloses a light-control curtain system which solves the problems that in the prior art, a light-control curtain system is complex, high in cost and low in automation degree. The light-control curtain system comprises a curtain frame, a curtain installed on the curtain frame, and a speed reducing motor driving the curtain to be opened or closed. The light-control curtain system is characterized by further comprising a single-chip microprocessor control unit, a light signal collecting unit used for collecting indoor light intensity, a motor drive unit driving the speed reducing motor to work according to the indoor light intensity, an LED time display unit used for displaying the curtain opening and closing time, a speed adjusting unit used for adjusting the rotating speed of the speed reducing motor, and a timing control unit used for controlling the working state of the whole system. The light signal collecting unit, the motor drive unit, the LED time display unit, the speed adjusting unit and the timing control unit are connected with the single-chip microprocessor control unit. The system is simple, convenient to operate and low in cost, and has high practicality value and popularization value.

Description

A kind of light-operated curtain system and its implementation
 
Technical field
The present invention relates to a kind of curtain, specifically, relate to a kind of light-operated curtain system and its implementation.
Background technology
Intelligent curtain system, as a pith of Smart Home, has very broad mass market prospect.The control mode of existing Intelligent Curtain Machine has fixed switch control, remote control, light-operated, acoustic control etc., these intelligent curtains some can not realize automation completely; Although some achieves full automation, complex structure, performance is stable not; Although some achieves automation completely, and performance is all right, the expensive ordinary consumer that is not suitable for uses.
Existing light-operated, remote control and Acoustic control curtain function singleness, or light-operated, or remote control or acoustic control, can not go arbitrarily to control curtain according to the wish of user of service.Such as: patent CN200620039590, patent CN201020666603 is simple light-operated curtain all just, and when light is stronger, curtain is closed, and when end user needs sunlight, this automatic control becomes burden on the contrary, limits quite large.Patent CN92210977, patent CN200920087364 all only have voice control function, and function is also very single.
Summary of the invention
The object of the present invention is to provide a kind of light-operated curtain system, solve in prior art the single and problem that structure complexity, cost are high of the curtain control mode existed.
To achieve these goals, the technical solution used in the present invention is as follows:
A kind of light-operated curtain system, comprise curtain rod arm, be arranged on the curtain on this curtain rod arm, open and the reducing motor of closing with this curtain of drive, also comprise single chip control unit, be connected with this single chip control unit respectively for gather indoor light intensity light signal collection unit, driving the electric-motor drive unit of described reducing motor work according to indoor light intensity, opening with the LED time display unit of shut-in time, for regulating the speed regulation unit of described reducing motor rotating speed and the timing control unit for controlling whole system duty for showing curtain; Wherein:
Described single chip control unit comprises single-chip computer AT89C52, and upper reset circuit, crystal oscillating circuit and the external interrupt circuit to be connected with this single-chip computer AT89C52, described upper reset circuit comprises resistance R7, reset key S4 and the resistance R8 of series connection mutually, and the electric capacity C3 in parallel with described reset key S4, and described reset key S4 is connected with described single-chip computer AT89C52 with parallel branch one end of electric capacity C3, for described single-chip computer AT89C52 provides high level; Described crystal oscillating circuit comprises crystal oscillator, and is connected to electric capacity C1 and C2 that these crystal oscillator two ends also form with it loop, and the two ends of described crystal oscillator are connected with described single-chip computer AT89C52 respectively; Described external interrupt circuit comprises two branch roads parallel with one another, wherein one in series by resistance R1, button S5 and photodiode D5, another is in series by resistance R2, button S6 and photodiode D6, and described resistance R1 is connected with described single-chip computer AT89C52 with the tie point of button S5, described resistance R2 is connected with described single-chip computer AT89C52 with the tie point of reset key S6;
Described light signal collection unit comprises infrared radiation receiving circuit and shade position signal deteching circuit, wherein, infrared radiation receiving circuit comprises infrared transmitter D13 parallel with one another and infrared remote receiver D14, D15, and institute infrared transmitter D13 is in series with resistance R13, infrared remote receiver D14 is in series with resistance R14, and infrared remote receiver D15 is in series with resistance R15; Described shade position signal deteching circuit then comprises voltage comparator LM339, be connected to the variable resistor R23 on the variable resistor R22 on the 6th pin of this voltage comparator LM339, the 4th pin and the variable resistor R24 on the 10th pin, and the photo resistance R25 in parallel with described variable resistor R24 and resistance R19 after mutually connecting, and described variable resistor R22, variable resistor R23 are in parallel with described variable resistor R24, described photo resistance R25 is connected with the 11st pin of described voltage comparator LM339 with the tie point of resistance R19; Described infrared transmitter D13 is connected with the 5th pin of described voltage comparator LM339 with the tie point of resistance R13, described infrared transmitter D14 is connected with the 7th pin of described voltage comparator LM339 with the tie point of resistance R14, and the 1st pin, the 2nd pin of described voltage comparator LM339 are connected with described single-chip computer AT89C52 respectively with the 13rd pin;
Described speed regulation unit comprises the switches set S3 be made up of a manual time switch and three upper and lower speed by-pass cockes of curtain, and resistance R3, R4, R5, R6, with photodiode D1, D2, D3, D4, wherein, described resistance R3 and photodiode D1 connects, and be connected with manual time switch, resistance R4 connects with photodiode D2 formation first series arm, resistance R5 connects with photodiode D3 formation second series arm, resistance R6 connects with photodiode D4 formation the 3rd series arm, described first series arm, second series arm and the 3rd series arm are connected with three upper and lower speed by-pass cockes of curtain respectively, and the first series arm, second series arm and the parallel connection of the 3rd series arm, described resistance R3, R4, R5, R6 are connected with described single-chip computer AT89C52 respectively with the tie point of switches set S3,
Described timing control unit comprises two branch roads parallel with one another, and wherein one is composed in series by button S1, resistance R9, photodiode D7, and another is composed in series by button S2, resistance R10, photodiode D8; And the tie point of button S1 and resistance R9, button S2 are connected with described single-chip computer AT89C52 respectively with the tie point of resistance R10;
Described infrared transmitter D13 is arranged on the bottom of described curtain, described infrared remote receiver D14 and D15 is arranged on the top and bottom of described curtain rod arm respectively, and the lower end of the bottom of described curtain and described curtain rod arm is located along the same line, the top of described curtain and the upper end of described curtain rod arm are located along the same line, and described reducing motor is then arranged on the upper end of curtain rod arm;
Described infrared remote receiver D14 and D15 is respectively arranged with for UV light in screened room and the radome of thermal insulation, and this radome just offers aperture to one end of described infrared transmitter D13.
Further, described electric-motor drive unit mainly comprises triode Q1, Q2, Q3, Q4, Q5, Q6, diode D9, D10, D11, D12, electric capacity C4, C5, wherein, the colelctor electrode of described triode Q3 is connected with the base stage of described triode Q1 and Q5 respectively, the emitter stage of triode Q3 and the colelctor electrode of triode Q5, the colelctor electrode of triode Q6, the emitter stage of triode Q4 connects, the emitter stage of triode Q1 is connected with the emitter stage of triode Q5, the colelctor electrode of triode Q1 is connected with the colelctor electrode of triode Q2, the colelctor electrode of triode Q4 is connected with the base stage of triode Q2 and Q6 respectively, the emitter stage of triode Q2 is connected with the emitter stage of triode Q6, between the emitter stage that described reducing motor one end is connected to described triode Q2 and the emitter stage of triode Q6, between the emitter stage that the other end is connected to described triode Q1 and the emitter stage of triode Q5, between the colelctor electrode that described diode D9 is connected to described triode Q1 and emitter stage, between the colelctor electrode that described diode D10 is connected to described triode Q2 and emitter stage, between the colelctor electrode that described diode D11 is connected to described triode Q5 and emitter stage, between the colelctor electrode that described diode D12 is connected to described triode Q6 and emitter stage, described electric capacity C4 is in parallel with described diode D11, described electric capacity C5 is in parallel with described diode D12.
Based on above-mentioned hardware, present invention also offers the implementation method of above-mentioned light-operated curtain, comprise the following steps:
(1) in soft program process, infrared receiver program is positioned among exterior terminal program;
(2) power supply is accessed, press reset key S4, upper reset circuit conducting, and moment is to the 9th pin input high level of single-chip computer AT89C52, single-chip computer AT89C52 carries out reset operation, and meanwhile, in upper reset circuit, electric capacity C3 is charged gradually, the high level of the 9th pin of single-chip computer AT89C52 declines, gradually until single-chip computer AT89C52 has resetted;
(3) judge whether to adopt automatic control mode, if not, then perform step (4), if, then judge whether to adopt time control pattern, if employing time control pattern, then perform step (5), if do not perform time control pattern, then switches set S3 and button S1, S2 all stop using, and the photo resistance R25 in light signal collection unit gathers indoor light intensity, and is transferred to single-chip computer AT89C52, under the control of single-chip computer AT89C52, voltage comparator LM339 is utilized to complete comparing between indoor actual light intensity and default etalon optical power; Infrared light is sent by the infrared transmitter D13 bottom curtain, by judging whether infrared remote receiver D14, D15 on curtain rod arm receive the position that infrared light determines the current place of curtain, control the rotation direction of reducing motor rotating shaft again in conjunction with the comparative result of voltage comparator LM339 and the current position of curtain, drive curtain to move up and down;
(4) perform MANUAL CONTROL mode: button S1, S2 stop using, the long rotation direction controlling reducing motor by button S5 or S6, drive curtain to move up and down, stop pushing button S5 or S6, then curtain stops mobile;
(5) time control pattern is performed: first send infrared light by infrared transmitter D13, judge whether infrared remote receiver D14 and D15 receives infrared light, if do not receive, then return step (3), otherwise then switches set S3 stops using, first set timing by button S5 and S6, controlled the break-make of timing control unit again by button S1 and S2, control beginning and the stopping of timing mode.
Overall principle of the present invention: take single-chip computer AT89C52 as control core, by photo resistance comparing the collection of indoor light intensity and voltage comparator LM339, draw the rotation direction of motor, then rotated by electric-motor drive unit drive motors, complete and the mobile of curtain is controlled.
Compared with prior art, the present invention has following beneficial effect:
(1) the present invention adopts the control mode that simple plant equipment combines with electronic circuit, software, achieve the unlatching of light-operated curtain, closedown, and achieve the speeds control of light-operated curtain in switching process and timing controlled by the special switches set S3 that arranges and support circuit thereof, light-operated curtain can be realized automatically simultaneously, manual and time-controlled Three models entirely, control mode is many, use very flexible, for user provides more choices, more can meet the actual needs of different situations, practical value promotes greatly.
(2) the present invention is directly formed loop with two electric capacity and crystal oscillator, and to play the object of stabilized frequency and fast start-up, circuit structure is simple, and component number is few, stable performance, reliable.
(3) infrared receiver program is merged among external interrupt program by the present invention, once receive infrared signal, then enter in interrupt routine at once, and start timer timing is carried out to infrared signal delay time, once judge start bit, then carry out timing immediately and calculate; If start bit do not detected, then continue to detect until start bit occurs, corresponding action can be performed according to the order of instruction code after instruction code all receives, so can obtain the infrared coding burst length rapidly and accurately, efficiently solving existing infrared remote receiver only has demodulation amplify shaping feature and be difficult to accurately obtain the problem in infrared coding burst length.
(4) not only mechanical part structure is simple in the present invention, and control circuit is also very simple, while guaranteeing automaticity, effectively simplifies the overall complexity of light-operated curtain, reduce cost, the large-scale promotion application for light-operated curtain has established solid foundation.
Accompanying drawing explanation
Fig. 1 is frame for movement schematic diagram of the present invention.
Fig. 2 is system framework schematic diagram of the present invention.
Fig. 3 is the circuit theory diagrams of upper reset circuit in the present invention.
Fig. 4 is the circuit theory diagrams of crystal oscillating circuit in the present invention.
Fig. 5 is the circuit theory diagrams of peripheral interrupt circuit of the present invention.
Fig. 6 is the circuit theory diagrams of middle infrared (Mid-IR) receiving circuit of the present invention.
Fig. 7 is the circuit theory diagrams of shade position signal deteching circuit in the present invention.
Fig. 8 is the circuit theory diagrams of medium velocity regulon of the present invention.
Fig. 9 is the circuit theory diagrams of timing control unit in the present invention.
Figure 10 is the circuit theory diagrams of electric-motor drive unit in the present invention.
In above-mentioned accompanying drawing, the component names that Reference numeral is corresponding is as follows:
1-curtain rod arm, 2-curtain, 3-reducing motor, 4-infrared transmitter, 5-infrared remote receiver.
Detailed description of the invention
Below in conjunction with drawings and Examples, the invention will be further described, and embodiments of the present invention include but not limited to the following example.
Embodiment
The invention discloses a kind of light-operated curtain system, its frame for movement as shown in Figure 1, form primarily of curtain rod arm 1 and curtain 2, reducing motor 3, curtain rod arm 1 comprises support and crossbeam composition, the upper end of described curtain 2 is fixed on crossbeam, described reducing motor 3 is connected with crossbeam axle, and can drive crossbeam clockwise or rotate counterclockwise.In addition, for realizing Automated condtrol, go back special configuration control system.
In the present invention, the control system of light-operated curtain as shown in Figure 2, mainly comprise single chip control unit, be connected with this single chip control unit respectively for gather indoor light intensity light signal collection unit, driving the electric-motor drive unit of described reducing motor work according to indoor light intensity, opening with the LED time display unit of shut-in time, for regulating the speed regulation unit of described reducing motor rotating speed and the timing control unit for controlling whole system duty for showing curtain.
Wherein, described single chip control unit comprises single-chip computer AT89C52, and the upper reset circuit, crystal oscillating circuit and the external interrupt circuit that are connected with this single-chip computer AT89C52.Described upper reset circuit as shown in Figure 3, comprise resistance R7, reset key S4 and the resistance R8 of series connection mutually, and the electric capacity C3 in parallel with described reset key S4, and described reset key S4 is connected with described single-chip computer AT89C52 with parallel branch one end of electric capacity C3, for described single-chip computer AT89C52 provides high level.In system electrification moment, the 9th pin of single-chip microcomputer obtains high level, and electric capacity C3 continues charging simultaneously.And along with the charging of electric capacity C3, the high level of the 9th pin declines gradually, and the high level of the 9th pin only needs 2 machine cycles of maintenance, and single-chip microcomputer can complete reset operation, fast, stable.
Described crystal oscillating circuit as shown in Figure 4, comprises crystal oscillator, and is connected to electric capacity C1 and C2 that these crystal oscillator two ends also form with it loop, and the two ends of described crystal oscillator are connected with described single-chip computer AT89C52 respectively.Effect mainly stabilized frequency and the fast start-up of electric capacity C1 and C2.For convenience of and compunication, the frequency of crystal oscillator selects 11.0592MHz.
Described external interrupt circuit as shown in Figure 5, comprise two branch roads parallel with one another, wherein one in series by resistance R1, button S5 and photodiode D5, another is in series by resistance R2, button S6 and photodiode D6, and described resistance R1 is connected with described single-chip computer AT89C52 with the tie point of button S5, described resistance R2 is connected with described single-chip computer AT89C52 with the tie point of reset key S6.The level being input to INT0 and the INT1 pin of single-chip microcomputer is high level, represents and does not have interrupt event to occur.When any one exterior interrupt has interrupt requests and sends out a low level, single-chip microcomputer just makes an immediate response this interrupt requests.The function of external interrupt circuit realiration is under time control pattern, controls beginning and the stopping of timing.
Described light signal collection unit comprises infrared radiation receiving circuit and shade position signal deteching circuit, wherein, infrared radiation receiving circuit as shown in Figure 6, comprise infrared transmitter D13 parallel with one another and infrared remote receiver D14, D15, and institute infrared transmitter D13 is in series with resistance R13, infrared remote receiver D14 is in series with resistance R14, and infrared remote receiver D15 is in series with resistance R15.Described infrared transmitter D13 is arranged on the bottom of described curtain, and described infrared remote receiver D14 and D15 is arranged on the top and bottom of described curtain rod arm respectively.After curtain all launches, described infrared transmitter is located along the same line with the infrared remote receiver being arranged on curtain rod arm lower end; After curtain is all packed up, described infrared transmitter is located along the same line with the infrared remote receiver being arranged on curtain rod arm upper end.In addition, due to curtain in use, can continue the irradiation being subject to indoor and outdoor sunlight, therefore, infrared transmitter and infrared remote receiver all can be subject to very strong light in the course of the work and disturb.For strengthening antijamming capability, the present invention is provided with following two measures: whole infrared radiation receiving circuit uses radome to carry out light shield by (1), as long as shield ranges is enough comprehensive, one can be formed completely not by the optical channel of ambient light interference between infrared transmitter and infrared remote receiver; (2) adopt the method for the method directly calling delay time or timer timing that the upper and lower bound receiving infrared encoded signal delay time is set.By above-mentioned two measures, the interference that indoor and outdoor light intensity causes infrared receiver can be reduced to greatest extent, make anti-jamming effectiveness reach best, and then improve the accuracy of infrared receiver, finally reach the object accurately controlling curtain opening and closedown.
In order to more accurately, more fully realize the control to curtain, the bottom of described curtain and the lower end of described curtain rod arm are located along the same line, the top of described curtain and the upper end of described curtain rod arm are located along the same line, and described reducing motor is then arranged on the upper end of curtain rod arm.So, just make infrared transmitter with infrared remote receiver bottom just pair time, automatic explanation curtain launches completely, and when infrared transmitter and infrared remote receiver topmost just pair time, then automatically illustrate that curtain draws in completely, thus to provide hardware implementing accurately and reliably basic for time control pattern.
Described shade position signal deteching circuit as shown in Figure 7, comprise voltage comparator LM339, be connected to the variable resistor R23 on the variable resistor R22 on the 6th pin of this voltage comparator LM339, the 4th pin and the variable resistor R24 on the 10th pin, and the photo resistance R25 in parallel with described variable resistor R24 and resistance R19 after mutually connecting, and described variable resistor R22, variable resistor R23 are in parallel with described variable resistor R24, described photo resistance R25 is connected with the 11st pin of described voltage comparator LM339 with the tie point of resistance R19; Described infrared transmitter D13 is connected with the 5th pin of described voltage comparator LM339 with the tie point of resistance R13, described infrared transmitter D14 is connected with the 7th pin of described voltage comparator LM339 with the tie point of resistance R14, and the 1st pin, the 2nd pin of described voltage comparator LM339 are connected with described single-chip computer AT89C52 respectively with the 13rd pin.By the collection of photo resistance R25 to indoor and outdoor light intensity signal, and be transferred to comparator LM339 and compare, the current location of curtain can be monitored out accurately and rapidly, and judge that current light environment carries out switching manipulation the need of control curtain, if needed, then export control signal to single-chip computer AT89C52, perform further work by single-chip microcomputer.
Described speed regulation unit as shown in Figure 8, comprise the switches set S3 be made up of a manual time switch and three upper and lower speed by-pass cockes of curtain, and resistance R3, R4, R5, R6, with photodiode D1, D2, D3, D4, wherein, described resistance R3 and photodiode D1 connects, and be connected with manual time switch, resistance R4 connects with photodiode D2 formation first series arm, resistance R5 connects with photodiode D3 formation second series arm, resistance R6 connects with photodiode D4 formation the 3rd series arm, described first series arm, second series arm and the 3rd series arm are connected with three upper and lower speed by-pass cockes of curtain respectively, and the first series arm, second series arm and the parallel connection of the 3rd series arm, described resistance R3, R4, R5, R6 are connected with described single-chip computer AT89C52 respectively with the tie point of switches set S3.Speed regulation unit is mainly used in the control realizing translational speed in Curtain switch process, it changes the control signal of single-chip microcomputer to reducing motor by the unlatching of three upper and lower speed by-pass cockes of curtain with closing, to change the axis of rotation speed of reducing motor, and then realize the control to curtain translational speed.
As shown in Figure 9, comprise two branch roads parallel with one another, wherein one is composed in series by button S1, resistance R9, photodiode D7 described timing control unit, and another is composed in series by button S2, resistance R10, photodiode D8; And the tie point of button S1 and resistance R9, button S2 are connected with described single-chip computer AT89C52 respectively with the tie point of resistance R10.Timing control unit is mainly used in the time control pattern realizing curtain, it is under the overall control of manual time switch, match with external interrupt circuit, jointly the timing length of curtain is controlled with timing start and stop, realize time opening and the closedown of curtain, and along with the change of timing length, then can easily realize the half-open of curtain, even fraction is opened or major part is opened, make the automatic control of curtain varied, light intensity in random conditioning chamber, fully meet user's actual demand in varied situations, changeable as Non-follow control generic flexible, follow one's bent.
Described electric-motor drive unit as shown in Figure 10, mainly comprise triode Q1, Q2, Q3, Q4, Q5, Q6, diode D9, D10, D11, D12, electric capacity C4, C5, wherein, the colelctor electrode of described triode Q3 is connected with the base stage of described triode Q1 and Q5 respectively, the emitter stage of triode Q3 and the colelctor electrode of triode Q5, the colelctor electrode of triode Q6, the emitter stage of triode Q4 connects, the emitter stage of triode Q1 is connected with the emitter stage of triode Q5, the colelctor electrode of triode Q1 is connected with the colelctor electrode of triode Q2, the colelctor electrode of triode Q4 is connected with the base stage of triode Q2 and Q6 respectively, the emitter stage of triode Q2 is connected with the emitter stage of triode Q6, between the emitter stage that described reducing motor one end is connected to described triode Q2 and the emitter stage of triode Q6, between the emitter stage that the other end is connected to described triode Q1 and the emitter stage of triode Q5, between the colelctor electrode that described diode D9 is connected to described triode Q1 and emitter stage, between the colelctor electrode that described diode D10 is connected to described triode Q2 and emitter stage, between the colelctor electrode that described diode D11 is connected to described triode Q5 and emitter stage, between the colelctor electrode that described diode D12 is connected to described triode Q6 and emitter stage, described electric capacity C4 is in parallel with described diode D11, described electric capacity C5 is in parallel with described diode D12.
Whole electric-motor drive unit by the control of single-chip microcomputer, make reducing motor operate completely, a pair triode in necessary conducting Figure 10 on diagonal, i.e. triode Q1 and Q6, or triode Q2 and Q5.The conducting situation right according to different triode, electric current may flow through reducing motor from left to right or from right to left, thus controls the positive and reverse steering of motor.When triode Q1 pipe and the conducting of Q6 pipe, electric current passes reducing motor from positive source from left to right through Q1, and then get back to power cathode through Q4, driving reducing motor rotates clockwise by the electric current of this flow direction, and in the present embodiment, reducing motor rotates forward, and curtain is upwards packed up.Otherwise as triode Q2 and the conducting of Q5 pipe, electric current will flow through motor from right to left, and driving reducing motor rotates counterclockwise by the electric current of this flow direction, in the present embodiment, reducing motor will reverse then curtain drops down.In 10, triode Q1, Q2, Q3, Q4 are NPN pipe, and model is 8050; Triode Q5, Q6 are PNP pipe, and model is 8550.
When driving reducing motor, ensure two homonymies in drive circuit triode can not conducting simultaneously extremely important.If triode Q1 and Q5 conducting simultaneously, so electric current directly will get back to negative pole from positive pole through two triodes.Now, in motor-drive circuit except triode again without other any loads, the electric current therefore on circuit just may reach maximum, may burn out triode.For these reasons, and simplify circuit complexity, reduce and realize difficulty, two electric capacity and four diodes are set in motor-drive circuit, to play stable effect to motor-drive circuit, avoid the conducting simultaneously of homonymy triode.
In order to coordinate the work of above-mentioned hardware, the invention provides the implementation method of above-mentioned light-operated curtain system, comprising the following steps:
First, in soft program process, emphasis notes infrared receiver program to be positioned among exterior terminal program, and adopt the mode directly calling delay time that the upper and lower bound receiving infrared encoded signal delay time is set, ensure with this accuracy that infrared coding burst length calculates, farthest reduce the interference be subject in infrared receiver, thus effectively improve the precision of infrared radiation receiving circuit, improve the accuracy of signals collecting, improve the precision that curtain controls.
Programming complete and loading system after, access power supply, press reset key S4, upper reset circuit conducting, and moment is to the 9th pin input high level of single-chip computer AT89C52, single-chip computer AT89C52 carries out reset operation, meanwhile, in upper reset circuit, electric capacity C3 is charged gradually, and the high level of the 9th pin of single-chip computer AT89C52 declines, gradually until single-chip computer AT89C52 has resetted.
After this, the Three models can curtain being selected according to actual needs in real time to control: MANUAL CONTROL mode, automatic control mode and time control pattern.Wherein, time control pattern is the subpattern of automatic control mode.
First judge whether to adopt automatic control mode, if not, then perform MANUAL CONTROL mode: button S1, S2 stop using, the long rotation direction controlling reducing motor by button S5 or S6, drive curtain moves up and down, and stops pushing button S5 or S6, then curtain stops mobile.
If perform automatic control mode, then judge whether to adopt time control pattern, if employing time control pattern, then perform time control pattern: first send infrared light by infrared transmitter D13, judge whether infrared remote receiver D14 and D15 receives infrared light, time control pattern if do not receive, then returns automatic control mode determining step, because only just can carry out under curtain standard-sized sheet or full-shut position.Infrared signal is received if current, then represent that curtain is in standard-sized sheet or full-shut position, now switches set S3 stops using, and first sets timing by button S5 and S6, controlled the break-make of timing control unit again by button S1 and S2, control beginning and the stopping of timing mode.
If do not perform time control pattern, then represent and directly automatically control, without the need to timing.Now switches set S3 and button S1, S2 all stop using, photo resistance R25 in light signal collection unit gathers indoor light intensity, and be transferred to single-chip computer AT89C52, under the control of single-chip computer AT89C52, voltage comparator LM339 is utilized to complete comparing between indoor actual light intensity and default etalon optical power; Infrared light is sent by the infrared transmitter D13 bottom curtain, by judging whether infrared remote receiver D14, D15 on curtain rod arm receive the position that infrared light determines the current place of curtain, control the rotation direction of reducing motor rotating shaft again in conjunction with the comparative result of voltage comparator LM339 and the current position of curtain, drive curtain to move up and down.
In conjunction with above-mentioned hardware and software, can realize freely controlling under various modes to curtain, accuracy is very high, and gets final product complete control operation by means of only simple button, very convenient, has very high practical value and application value.
Above-described embodiment is only the preferred embodiments of the present invention, not limiting the scope of the invention, as long as adopt design principle of the present invention, and the change carried out non-creativeness work on this basis and make, all should belong within protection scope of the present invention.

Claims (3)

1. a light-operated curtain system, comprise curtain rod arm, be arranged on the curtain on this curtain rod arm, open and the reducing motor of closing with this curtain of drive, it is characterized in that, also comprise single chip control unit, the light signal collection unit for gathering indoor light intensity be connected with this single chip control unit respectively, the electric-motor drive unit of described reducing motor work is driven according to indoor light intensity, the LED time display unit with the shut-in time is opened for showing curtain, for regulating the speed regulation unit of described reducing motor rotating speed and the timing control unit for controlling whole system duty, wherein:
Described single chip control unit comprises single-chip computer AT89C52, and upper reset circuit, crystal oscillating circuit and the external interrupt circuit to be connected with this single-chip computer AT89C52, described upper reset circuit comprises resistance R7, reset key S4 and the resistance R8 of series connection mutually, and the electric capacity C3 in parallel with described reset key S4, and described reset key S4 is connected with described single-chip computer AT89C52 with parallel branch one end of electric capacity C3, for described single-chip computer AT89C52 provides high level; Described crystal oscillating circuit comprises crystal oscillator, and is connected to electric capacity C1 and C2 that these crystal oscillator two ends also form with it loop, and the two ends of described crystal oscillator are connected with described single-chip computer AT89C52 respectively; Described external interrupt circuit comprises two branch roads parallel with one another, wherein one in series by resistance R1, button S5 and photodiode D5, another is in series by resistance R2, button S6 and photodiode D6, and described resistance R1 is connected with described single-chip computer AT89C52 with the tie point of button S5, described resistance R2 is connected with described single-chip computer AT89C52 with the tie point of reset key S6;
Described light signal collection unit comprises infrared radiation receiving circuit and shade position signal deteching circuit, wherein, infrared radiation receiving circuit comprises infrared transmitter D13 parallel with one another and infrared remote receiver D14, D15, and institute infrared transmitter D13 is in series with resistance R13, infrared remote receiver D14 is in series with resistance R14, and infrared remote receiver D15 is in series with resistance R15; Described shade position signal deteching circuit then comprises voltage comparator LM339, be connected to the variable resistor R23 on the variable resistor R22 on the 6th pin of this voltage comparator LM339, the 4th pin and the variable resistor R24 on the 10th pin, and the photo resistance R25 in parallel with described variable resistor R24 and resistance R19 after mutually connecting, and described variable resistor R22, variable resistor R23 are in parallel with described variable resistor R24, described photo resistance R25 is connected with the 11st pin of described voltage comparator LM339 with the tie point of resistance R19; Described infrared transmitter D13 is connected with the 5th pin of described voltage comparator LM339 with the tie point of resistance R13, described infrared transmitter D14 is connected with the 7th pin of described voltage comparator LM339 with the tie point of resistance R14, and the 1st pin, the 2nd pin of described voltage comparator LM339 are connected with described single-chip computer AT89C52 respectively with the 13rd pin;
Described speed regulation unit comprises the switches set S3 be made up of a manual time switch and three upper and lower speed by-pass cockes of curtain, and resistance R3, R4, R5, R6, with photodiode D1, D2, D3, D4, wherein, described resistance R3 and photodiode D1 connects, and be connected with manual time switch, resistance R4 connects with photodiode D2 formation first series arm, resistance R5 connects with photodiode D3 formation second series arm, resistance R6 connects with photodiode D4 formation the 3rd series arm, described first series arm, second series arm and the 3rd series arm are connected with three upper and lower speed by-pass cockes of curtain respectively, and the first series arm, second series arm and the parallel connection of the 3rd series arm, described resistance R3, R4, R5, R6 are connected with described single-chip computer AT89C52 respectively with the tie point of switches set S3,
Described timing control unit comprises two branch roads parallel with one another, and wherein one is composed in series by button S1, resistance R9, photodiode D7, and another is composed in series by button S2, resistance R10, photodiode D8; And the tie point of button S1 and resistance R9, button S2 are connected with described single-chip computer AT89C52 respectively with the tie point of resistance R10;
Described infrared transmitter D13 is arranged on the bottom of described curtain, described infrared remote receiver D14 and D15 is arranged on the top and bottom of described curtain rod arm respectively, and the lower end of the bottom of described curtain and described curtain rod arm is located along the same line, the top of described curtain and the upper end of described curtain rod arm are located along the same line, and described reducing motor is then arranged on the upper end of curtain rod arm;
Described infrared remote receiver D14 and D15 is respectively arranged with for UV light in screened room and the radome of thermal insulation, and this radome just offers aperture to one end of described infrared transmitter D13.
2. a kind of light-operated curtain system according to claim 1, it is characterized in that, described electric-motor drive unit mainly comprises triode Q1, Q2, Q3, Q4, Q5, Q6, diode D9, D10, D11, D12, electric capacity C4, C5, wherein, the colelctor electrode of described triode Q3 is connected with the base stage of described triode Q1 and Q5 respectively, the emitter stage of triode Q3 and the colelctor electrode of triode Q5, the colelctor electrode of triode Q6, the emitter stage of triode Q4 connects, the emitter stage of triode Q1 is connected with the emitter stage of triode Q5, the colelctor electrode of triode Q1 is connected with the colelctor electrode of triode Q2, the colelctor electrode of triode Q4 is connected with the base stage of triode Q2 and Q6 respectively, the emitter stage of triode Q2 is connected with the emitter stage of triode Q6, between the emitter stage that described reducing motor one end is connected to described triode Q2 and the emitter stage of triode Q6, between the emitter stage that the other end is connected to described triode Q1 and the emitter stage of triode Q5, between the colelctor electrode that described diode D9 is connected to described triode Q1 and emitter stage, between the colelctor electrode that described diode D10 is connected to described triode Q2 and emitter stage, between the colelctor electrode that described diode D11 is connected to described triode Q5 and emitter stage, between the colelctor electrode that described diode D12 is connected to described triode Q6 and emitter stage, described electric capacity C4 is in parallel with described diode D11, described electric capacity C5 is in parallel with described diode D12.
3. an implementation method for light-operated curtain system, is characterized in that, comprises the following steps:
(1) in soft program process, infrared receiver program is positioned among exterior terminal program;
(2) power supply is accessed, press reset key S4, upper reset circuit conducting, and moment is to the 9th pin input high level of single-chip computer AT89C52, single-chip computer AT89C52 carries out reset operation, and meanwhile, in upper reset circuit, electric capacity C3 is charged gradually, the high level of the 9th pin of single-chip computer AT89C52 declines, gradually until single-chip computer AT89C52 has resetted;
(3) judge whether to adopt automatic control mode, if not, then perform step (4), if, then judge whether to adopt time control pattern, if employing time control pattern, then perform step (5), if do not perform time control pattern, then switches set S3 and button S1, S2 all stop using, and the photo resistance R25 in light signal collection unit gathers indoor light intensity, and is transferred to single-chip computer AT89C52, under the control of single-chip computer AT89C52, voltage comparator LM339 is utilized to complete comparing between indoor actual light intensity and default etalon optical power; Infrared light is sent by the infrared transmitter D13 bottom curtain, by judging whether infrared remote receiver D14, D15 on curtain rod arm receive the position that infrared light determines the current place of curtain, control the rotation direction of reducing motor rotating shaft again in conjunction with the comparative result of voltage comparator LM339 and the current position of curtain, drive curtain to move up and down;
(4) perform MANUAL CONTROL mode: button S1, S2 stop using, the long rotation direction controlling reducing motor by button S5 or S6, drive curtain to move up and down, stop pushing button S5 or S6, then curtain stops mobile;
(5) time control pattern is performed: first send infrared light by infrared transmitter D13, judge whether infrared remote receiver D14 and D15 receives infrared light, if do not receive, then return step (3), otherwise then switches set S3 stops using, first set timing by button S5 and S6, controlled the break-make of timing control unit again by button S1 and S2, control beginning and the stopping of timing mode.
CN201410666651.4A 2014-11-20 2014-11-20 A kind of light-operated curtain system and its implementation Expired - Fee Related CN104433725B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410666651.4A CN104433725B (en) 2014-11-20 2014-11-20 A kind of light-operated curtain system and its implementation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410666651.4A CN104433725B (en) 2014-11-20 2014-11-20 A kind of light-operated curtain system and its implementation

Publications (2)

Publication Number Publication Date
CN104433725A true CN104433725A (en) 2015-03-25
CN104433725B CN104433725B (en) 2016-07-27

Family

ID=52881055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410666651.4A Expired - Fee Related CN104433725B (en) 2014-11-20 2014-11-20 A kind of light-operated curtain system and its implementation

Country Status (1)

Country Link
CN (1) CN104433725B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607510A (en) * 2015-10-30 2016-05-25 东莞酷派软件技术有限公司 Curtain opening/closing state control method and device and terminal
CN107234635A (en) * 2017-06-15 2017-10-10 深圳市海曼科技有限公司 Manipulator circuit for remotely controlling and remote detecting system and its detection method
CN108412408A (en) * 2018-01-17 2018-08-17 深圳市博孚机电有限公司 A kind of control method of electrically driven curtain
CN109199054A (en) * 2018-10-15 2019-01-15 安徽信息工程学院 A kind of sound-proofing curtain and its control method
CN113647787A (en) * 2021-08-31 2021-11-16 李连海 Electric curtain fire-fighting monitoring device
CN113741203A (en) * 2021-08-20 2021-12-03 深圳市踩点智慧科技有限公司 Intelligent household control system
CN114200846A (en) * 2021-11-18 2022-03-18 四川爱联科技股份有限公司 Control method, control equipment and control system of intelligent curtain

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1439279A1 (en) * 2003-01-14 2004-07-21 Nien Made Enterprise Co., Ltd. Light control window covering assembly
CN202035963U (en) * 2011-05-10 2011-11-16 毛振刚 Novel full-automatic light control curtain
CN102894856A (en) * 2012-07-13 2013-01-30 太仓博天网络科技有限公司 Intelligent household electric curtain system
CN103948293B (en) * 2014-04-30 2016-03-30 杭州电子科技大学 The photosensitive curtain of a kind of Full-automatic light-operated

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙勤: "基于单片机的光控窗帘设计", 《微型机与应用》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607510A (en) * 2015-10-30 2016-05-25 东莞酷派软件技术有限公司 Curtain opening/closing state control method and device and terminal
CN107234635A (en) * 2017-06-15 2017-10-10 深圳市海曼科技有限公司 Manipulator circuit for remotely controlling and remote detecting system and its detection method
CN108412408A (en) * 2018-01-17 2018-08-17 深圳市博孚机电有限公司 A kind of control method of electrically driven curtain
CN109199054A (en) * 2018-10-15 2019-01-15 安徽信息工程学院 A kind of sound-proofing curtain and its control method
CN113741203A (en) * 2021-08-20 2021-12-03 深圳市踩点智慧科技有限公司 Intelligent household control system
CN113647787A (en) * 2021-08-31 2021-11-16 李连海 Electric curtain fire-fighting monitoring device
CN114200846A (en) * 2021-11-18 2022-03-18 四川爱联科技股份有限公司 Control method, control equipment and control system of intelligent curtain

Also Published As

Publication number Publication date
CN104433725B (en) 2016-07-27

Similar Documents

Publication Publication Date Title
CN104433725A (en) Light-control curtain system and realizing method thereof
CN204024423U (en) Solar energy intelligent curtain
CN201147166Y (en) Automatidc curtain machine
CN103142120A (en) Remote controller for solar energy curtain
CN207692489U (en) Mobile ecological green wall
CN202960017U (en) Light-controlled intelligent curtain box
CN105298291A (en) Intelligent window capable of being automatically opened and closed
CN206753463U (en) A kind of curtain Controller based on Internet of Things
CN200980562Y (en) Photo sensitive self-controlling curtain
CN105201877B (en) Portable intelligent electric fan with speed regulator based on temperature sensor
CN108571250A (en) A kind of device of control push pull type window opening and closing
CN202720506U (en) Home furnishing environment intelligent control circuit
CN102162670B (en) Split networked intelligent temperature controller of central air conditioner
CN203654988U (en) Fully-intelligent automatic control window device
CN203662498U (en) Automatic curtain control device with environment detection function
CN203215989U (en) Domestic intelligent electric control fan heater control device
CN105696898B (en) Solar self-adaptation window control device
CN209568284U (en) The Intellective airer of Automatic Control
CN206422510U (en) The control protection electric circuit and motor of a kind of motor
CN202970403U (en) Compound hierarchical auto-controlled curtain with positioning circuit and worm gear speed-down motor
CN204719568U (en) A kind of intelligent environment adaptive system based on mobile phone
CN105467890B (en) Gesture remote control blind system and method with fuzzy light filling function
CN210540679U (en) Time control type gymnasium large-scale electric curtain control device
CN208073217U (en) A kind of device of control push pull type window opening and closing
CN114165154A (en) Intelligent photovoltaic shutter burglar alarm

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201211

Address after: 214500 Dongxing Town, Jingjiang City, Taizhou City, Jiangsu Province

Patentee after: JIANGSU JINGLONG ALLOY STEEL MACHINERY MANUFACTURING Co.,Ltd.

Address before: No.24, Section 1, Xuefu Road, Southwest Airport Economic Development Zone, Chengdu, Sichuan 610000

Patentee before: CHENGDU University OF INFORMATION TECHNOLOGY

Patentee before: CHENGDU CHENGXIN DICHENG TECHNOLOGY Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160727