CN102561929B - Intelligent roller shutter door controller and control method thereof - Google Patents
Intelligent roller shutter door controller and control method thereof Download PDFInfo
- Publication number
- CN102561929B CN102561929B CN201110363612.3A CN201110363612A CN102561929B CN 102561929 B CN102561929 B CN 102561929B CN 201110363612 A CN201110363612 A CN 201110363612A CN 102561929 B CN102561929 B CN 102561929B
- Authority
- CN
- China
- Prior art keywords
- door
- chip microcomputer
- roller shutter
- state
- circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Operating, Guiding And Securing Of Roll- Type Closing Members (AREA)
Abstract
The invention relates to an intelligent roller shutter door controller and a control method thereof, and relates to a control device capable of receiving a remote control command so as to lead a roller shutter door machine to run in multiple modes and a control method of the control device. The controller is used with a roller shutter door machine of a cam mechanism with a door closing limiting switch and a door opening limiting switch; a remote control receiving circuit provides a remote control key pressing-down signal to a single chip microcomputer; an operation mode setting circuit provides a current operation mode code for the single chip microcomputer; the single chip microcomputer leads any one of a door opening switching tube, a door closing switching tube and a stopping switching tube in a control switch circuit to be switched on or switched off; the door opening switching tube is serially connected into a door opening control branch of the roller shutter door machine, the door closing switching tube is serially connected into a door closing control branch of the roller shutter door machine, and the stopping switching tube is serially connected into power supply loops of the door opening control branch and the door closing control branch of the roller shutter door machine; and a door state detecting circuit provides state information of the door closing limiting switch and state information of the door opening limiting switch in the cam mechanism of the roller shutter door machine for the single chip microcomputer.
Description
Technical field
The present invention relates to a kind of rolling screen door control device and control method thereof, particularly relate to and a kind ofly can accept control device that telecommand makes roller shutter door machine run in many ways and control method thereof.
Background technology
The circuit structure of existing roller shutter door machine, as shown in Figure 1: the earth terminal E of one-way communication civil power is connected with ground wire, live wire L and zero line N is to the primary supplies of transformer T.The secondary direct current exporting 24 volts through bridge rectifier W and filter capacitor C2 of transformer T.Halt switch KS is connected in series between the positive output end 24V and first node A of bridge rectifier W.Two series arms in parallel between first node A with Section Point B, first series arm is controlling brancher of closing the door, it forms by closing door limit switch CLIM, the constant close contact of enabling interlock switch KO, the constant open contact of the interlock switch KC that closes the door, the constant close contact J21 of enabling interlock relay J2 and closed relay built-up sequence serial connection, wherein closed relay combination is by the winding of the interlock relay J1 that closes the door, the winding of the control relay Z1 that closes the door and reverse protection diode D1 composition parallel with one another of closing the door; Second series arm is enabling controlling brancher; it is formed by the constant close contact of the constant open contact of door open limit switch OLIM, enabling interlock switch KO, the interlock switch KC that closes the door, the constant close contact J11 of the interlock relay J1 that closes the door and enabling relay assembly sequential concatenation; wherein enabling relay assembly is by the winding of the interlock relay J2 that opens the door, the winding of enabling control relay Z2 and enabling reverse protection diode D2 composition parallel with one another.Section Point B is connected with the negative output terminal 0V of bridge rectifier W.The zero line N of one-way communication civil power connects the first end LD1 that motor MT drives winding L D, be connected in series the first constant open contact Z11 of the control relay Z1 that closes the door between the 3rd node F that motor MT drives the second end LD2 of winding L D to connect and the live wire L of one-way communication civil power, and at the first constant open contact Z21 of the two ends of the first constant open contact Z11 of this control relay Z1 that closes the door parallel connection enabling control relay Z2.The first end AT1 of motor MT Phase shift winding AT connects the 3rd node F through the 3rd constant open contact Z13 of the control relay Z1 that closes the door, and connects the zero line N of one-way communication civil power through the second constant open contact Z22 of enabling control relay Z2.The second end AT2 of motor MT Phase shift winding AT connects the first end shifting to electric capacity C1, and the second end (the 4th node G) shifting to electric capacity C1 connects close the door one end of control relay Z1 second constant open contact Z12 and one end of enabling control relay Z2 the 3rd constant open contact Z23; The other end of control relay Z1 second constant open contact Z12 of closing the door connects the zero line N of one-way communication civil power, and the other end of enabling control relay Z2 the 3rd constant open contact Z23 connects the 3rd node F.
At ordinary times, halt switch KS, enabling interlock switch KO and the interlock switch KC that closes the door are in state freely, and halt switch KS keeps normally closed connected state.Be arranged on pass door limit switch CLIM in the cam mechanism that roller shutter door machine links with motor MT main shaft and door open limit switch OLIM and keep normally closed connected state.The constant open contact of interlock switch KC of closing the door has cut off the power supply that controlling brancher of closing the door combines to closed relay, and three constant open contacts Z11, Z12, Z13 of the control relay Z1 that closes the door all are in off-state; Meanwhile, the constant open contact of enabling interlock switch KO has cut off the power supply of enabling controlling brancher to enabling relay assembly, and three constant open contacts Z21, Z22, Z23 of enabling control relay Z2 are all in off-state; The driving winding of motor MT and Phase shift winding AT all can not get the power supply of one-way communication civil power.Motor MT is in the state of stopping.
Once enabling interlock switch KO is pressed, the constant open contact of enabling interlock switch KO enters closure state, makes enabling controlling brancher to the power supply of enabling relay assembly, and three constant open contacts Z21, Z22, Z23 of enabling control relay Z2 all enter closure state; The driving winding L D of motor MT and Phase shift winding AT all obtains the power supply of one-way communication civil power, and motor MT rotates forward, and drives roller shutter to promote.The constant close contact J21 of enabling interlock relay J2 enters off-state simultaneously, guarantees that closed relay combination is inoperative.Keep pressing downward swing door interlock switch KO, motor MT continues to drive roller shutter to promote.When the bottom of roller shutter reaches the highest upper limit position, cam mechanism makes door open limit switch OLIM be disconnected, again cut off the power supply of enabling controlling brancher to enabling relay assembly, three constant open contacts Z21, Z22, Z23 of enabling control relay Z2 all return off-state, and motor MT is in the state of stopping.The constant close contact J21 of enabling interlock relay J2 returns closure state.
Once close the door, interlock switch KC is pressed, and the constant open contact of the interlock switch KC that closes the door enters closure state, the power supply that the series arm that makes to close the door combines to closed relay, and three constant open contacts Z11, Z12, Z13 of the control relay Z1 that closes the door all enter closure state; The driving winding L D of motor MT and Phase shift winding AT all obtains the power supply of one-way communication civil power, and motor MT rotates backward, and drives roller shutter to decline.The constant close contact J11 of interlock relay J1 of simultaneously closing the door enters off-state, guarantees that enabling relay assembly is inoperative.Keep pressing the interlock switch KC that closes the door, motor MT continues to drive roller shutter to decline.When the bottom of roller shutter reaches minimum lower position, cam mechanism makes pass door limit switch CLIM be disconnected, again cut off the power supply that controlling brancher of closing the door combines to closed relay, three constant open contacts Z11, Z12, the Z13 of control relay Z1 of closing the door all return to off-state, and motor MT is in the state of stopping.The constant close contact J11 of interlock relay J1 of closing the door returns to closure state.
In the process that roller shutter rises, as long as press halt switch KS, halt switch KS is entered off-state and has just cut off the power supply of being combined to closed relay by controlling brancher of closing the door, and three constant open contacts Z11, Z12, Z13 of the control relay Z1 that closes the door all are in off-state; Motor MT is forced to stop.In the process that roller shutter declines, as long as press halt switch KS, halt switch KS has cut off by the power supply of enabling controlling brancher to enabling relay assembly, and three constant open contacts Z21, Z22, Z23 of enabling control relay Z2 are all in off-state; Motor MT is forced to stop.
As long as roller shutter leaves upper limit position, cam mechanism will discharge door limit switch OLIM automatically, makes door open limit switch OLIM recover normally closed state.As long as roller shutter leaves lower position, cam mechanism automatically will discharge and close door limit switch CLIM, makes pass door limit switch CLIM recover normally closed state.
But this roller shutter door machine can only manipulate lifting and the stopping of roller shutter by hand, does not possess the function of remote control.Current market demands possess the rolling door function of remote control with three kinds of different operating mode single key operating roller shutters: mode of operation 1, and Automatic continuous opens the door and Automatic continuous is closed the door, and rolling door is often closed.Press teleswitch, after automatic door opening to upper limit position time delay a period of time again automatic door-closing to lower position, midway press teleswitch can remote control shut down.Mode of operation 2, Automatic continuous opens the door and Automatic continuous is closed the door, and rolling door is often opened.Press teleswitch automatic door opening to stop to upper limit position, or press teleswitch automatic door-closing and stop to lower position; Midway is pressed teleswitch and can be shut down by remote control rolling door.Mode of operation 3, Automatic continuous opens the door and crawl is closed the door, and rolling door is often opened.Press teleswitch automatic door opening to upper limit position, if period presses teleswitch again, rolling door stops; Again press teleswitch, rolling door declines, release teleswitch, and rolling door stops; Again press teleswitch, rolling door rises.So overturn in the operation of opening the door and close the door and circulate, automatically stop to upper limit position and lower position of closing the door in enabling.Obviously, existing roller shutter door machine must be equipped with the manipulation request that an intelligent controller just likely adapts to above-mentioned one-machine-multi-function.
Summary of the invention
The present invention aims to provide a kind of Intelligent roller shutter door controller, can be provided on existing roller shutter door machine, and the rolling door realizing above-mentioned three kinds of single-key remote-controlled modes of operation controls.
Technical scheme of the present invention is: Intelligent roller shutter door controller, and it coordinates roller shutter door machine to use, and this roller shutter door machine is with the cam mechanism closing door limit switch and door open limit switch; It comprises single-chip microcomputer, remote-control receiving circuit, mode of operation arrange circuit, gauge tap circuit and door state testing circuit; The signal that remote-control receiving circuit provides teleswitch to be pressed to single-chip microcomputer; Mode of operation arranges circuit provides coding from current operation mode to single-chip microcomputer; Single-chip microcomputer make in door open switch pipe in gauge tap circuit, door closing switch pipe and halt switch pipe three selectively any one be in the state of conducting or cut-off; This door open switch pipe is serially connected with in the enabling controlling brancher of roller shutter door machine, and what this door closing switch pipe was serially connected with roller shutter door machine closes the door in controlling brancher, and this halt switch pipe is serially connected with roller shutter door machine enabling controlling brancher and closes the door in the current supply circuit of controlling brancher; Door state testing circuit provides the status information of status information and the door open limit switch closing door limit switch in roller shutter door machine cam mechanism to single-chip microcomputer.
The coding that single-chip microcomputer arranges circuit provide according to mode of operation determines current mode of operation, and by the command operating that the teleswitch that this mode of operation performs remote-control receiving circuit and provides is pressed.Concrete operations please see the explanation in embodiment.
Intelligent roller shutter door controller of the present invention, it also has alarm sensor circuit, and this alarm sensor circuit is to the warning message having people or thing under described single-chip microcomputer provides roller shutter; The pre-limit switch of expressing near lower position of closing the door also is provided with in the cam mechanism of described roller shutter door machine; Described door state testing circuit also provides the status information of this pre-limit switch to single-chip microcomputer.
In the process of closing the door, the status information of the pre-limit switch having the warning message of people or thing to provide with regard to inspection panel state detection circuit roller shutter is obtained once single-chip microcomputer from alarm sensor circuit, if the status information of pre-limit switch is the pre-restraining position that roller shutter has arrived near lower position of closing the door, then the operation that this warning message continues to close the door ignored by single-chip microcomputer, until door state testing circuit feedback roller shutter arrives lower position of closing the door; Not yet arrive pre-restraining position near lower position of closing the door if the status information of pre-limit switch is roller shutter, then single-chip microcomputer stops the operation of closing the door according to this warning message.Thus both can prevent from clamping people or thing at closing time, the wrong report of alarm sensor circuit also can be avoided to affect normal door-closing operation.
Intelligent roller shutter door controller of the present invention, it also has switch condition detection circuit, and this switch condition detection circuit provides the status information of the status information of door open switch pipe in described gauge tap circuit, the status information of door closing switch pipe and halt switch pipe to described single-chip microcomputer; Described single-chip microcomputer shows the status information of described gauge tap circuit by indicator lamp.
In the gauge tap circuit that single-chip microcomputer provides according to the current control information to the control information of door open switch pipe in gauge tap circuit, the control information of door closing switch pipe and halt switch pipe and switch condition detection circuit, the status information of the status information of door open switch pipe, the status information of door closing switch pipe and halt switch pipe is compared, if consistent, in gauge tap circuit, the duty of door open switch pipe, door closing switch pipe and halt switch pipe is all normal, and single-chip microcomputer is by the normal information of indicator lamp display control switch circuit working; If inconsistent, in gauge tap circuit, the duty of door open switch pipe, door closing switch pipe and halt switch pipe has abnormal, and single-chip microcomputer, by the abnormal information of indicator lamp display control switch circuit working, is pointed out user's shut-down operation, and safeguarded.Thus improve reliability and the safety of use.
Intelligent roller shutter door controller of the present invention, it also has time delay to arrange circuit, and this time delay arranges circuit provides coding from delay time between automatic door opening to automatic door-closing to described single-chip microcomputer.
The coding that delay time pressed by single-chip microcomputer performs delay operation, and just need not can adapt to the different action need using this by update routine, the flexibility of use is good.
Intelligent roller shutter door controller of the present invention, adopts above-mentioned circuit structure, can by of the remote controller control operation of operating key realization to roller shutter door machine three kinds of modes of operation.The control method of Intelligent roller shutter door controller of the present invention, the roller shutter state of roller shutter door machine is divided into from door-closing operation enter stopping state of closing down, door opening state just opening door operation process, enter the start-stop state of stopping and the pass door state just door-closing operation process from opening door operation, and by current state recording in roller shutter Status register unit; In this control method, single-chip microcomputer can arrange from the time delay of this Intelligent roller shutter door controller the coding that circuit obtains delay time automatic door opening to automatic door-closing; The step that this control method comprises has:
Step 1, single-chip microcomputer makes roller shutter Status register unit be designated as the state of closing down, and single-chip microcomputer makes halt switch pipe end, and control motor and stop, roller shutter stops; Perform step 2;
Step 2, single-chip microcomputer checks the signal whether remote-control receiving circuit has remote controller key to be pressed, and is perform step 3, otherwise performs step 1;
Step 3, roller shutter Status register unit is designated as door opening state by single-chip microcomputer, door open switch pipe in gauge tap circuit is made to be in the state of conducting, and make door closing switch pipe in gauge tap circuit be in the state of cut-off and halt switch pipe is in the state of conducting, motor rotates forward and makes roller shutter increase, and performs step 4;
Step 4, single-chip microcomputer check door open limit switch whether have reach door open limit open spacing actuating signal, be perform step 6, otherwise perform step 5;
Step 5, single-chip microcomputer checks the signal whether remote-control receiving circuit has remote controller key to be again pressed, and is perform step 6, otherwise performs step 3;
Step 6, roller shutter Status register unit is designated as start-stop state by single-chip microcomputer, and makes door open switch pipe be in the state of cut-off, and control motor and stop, roller shutter stops, and performs step 7;
Step 7, single-chip microcomputer checks that mode of operation arranges the coding of current operation mode in circuit, if current operation mode is mode of operation 1, perform step 101, if current operation mode is mode of operation 2, perform step 201, if current operation mode is mode of operation 3, perform step 301;
Step 101, single-chip microcomputer arranges circuit extraction delay time code from time delay, simultaneously trigger counting, after arriving the delay time of regulation, performs step 102;
Step 102, roller shutter Status register unit is designated as pass door state by single-chip microcomputer, makes door closing switch pipe is in the state of conducting, door open switch pipe is in cut-off state and halt switch pipe is in the state of conducting; Motor rotates backward and roller shutter is declined, and performs step 103;
Step 103, whether door limit switch is closed in single-chip microcomputer inspection the spacing actuating signal in pass reaching and close door limiting, is perform step 1, otherwise performs step 104;
Step 104, single-chip microcomputer checks the signal whether remote-control receiving circuit has remote controller key to be again pressed, and is perform step 1, otherwise performs step 102;
Step 201, single-chip microcomputer checks and is the signal whether remote-control receiving circuit has remote controller key to be pressed perform step 202, otherwise again performs this step;
Step 202, roller shutter Status register unit is designated as pass door state by single-chip microcomputer, makes door closing switch pipe be in the state of conducting, and makes door open switch pipe be in the state of cut-off and halt switch pipe is in the state of conducting; Motor rotates backward and roller shutter is declined, and performs step 203;
Step 203, whether door limit switch is closed in single-chip microcomputer inspection the spacing actuating signal in pass reaching and close door limiting, is perform step 1, otherwise performs step 204;
Step 204, single-chip microcomputer checks the signal whether remote-control receiving circuit has remote controller key to be again pressed, and is perform step 1, otherwise performs step 202;
Step 301, single-chip microcomputer checks and is the signal whether remote-control receiving circuit has remote controller key to be pressed perform step 302, otherwise again performs this step;
Step 302, roller shutter Status register unit is designated as pass door state by single-chip microcomputer, makes door closing switch pipe be in the state of conducting, and makes door open switch pipe be in the state of cut-off and halt switch pipe is in the state of conducting; Motor rotates backward and roller shutter is declined; Perform step 303;
Step 303, whether door limit switch is closed in single-chip microcomputer inspection the spacing actuating signal in pass reaching and close door limiting, is perform step 1, otherwise performs step 304;
Step 304, single-chip microcomputer checks whether remote-control receiving circuit has the d/d signal of remote controller key, is perform step 1, otherwise performs step 302;
And then: this Intelligent roller shutter door controller also has alarm sensor circuit, and this alarm sensor circuit is to the warning message having people or thing under described single-chip microcomputer provides rolling door; The pre-limit switch of expressing near lower position of closing the door also is provided with in the cam mechanism of described roller shutter door machine; Described door state testing circuit also provides the status information of this pre-limit switch to single-chip microcomputer; In the process of work, obtain once single-chip microcomputer from alarm sensor circuit roller shutter and have the warning message of people or thing just to proceed to the interrupt routine of alert process, process accordingly; This interrupt routine comprises:
Step 10, single-chip microcomputer checks whether roller shutter Status register unit is close door state, is perform step 11, otherwise exits interrupt routine;
Step 11, the status information of the pre-limit switch of single-chip microcomputer inspection, if roller shutter has arrived below the pre-restraining position of lower position of closing the door, the status information of pre-limit switch has been pre-spacing action message, then single-chip microcomputer is ignored this warning message and exited interrupt routine; Otherwise perform step 12;
Step 12, single-chip microcomputer makes roller shutter Status register unit be designated as the state of closing down, and single-chip microcomputer makes halt switch pipe end, and control motor and stop, roller shutter stops, and performs step 20;
Step 20, single-chip microcomputer starts timer, time delay 2 second, performs step 30;
Step 30, roller shutter Status register unit is designated as door opening state by single-chip microcomputer, makes door open switch pipe be in the state of conducting, and makes door closing switch pipe be in the state of cut-off and halt switch pipe is in the state of conducting, and motor rotates forward and makes roller shutter increase; Perform step 40;
Step 40, single-chip microcomputer check door open limit switch whether have reach door open limit open spacing actuating signal, be perform step 50, otherwise perform step 30;
Step 50, roller shutter Status register unit is designated as start-stop state by single-chip microcomputer, and makes door open switch pipe be in the state of cut-off, and control motor and stop, roller shutter stops, and performs step 60;
Step 60, single-chip microcomputer checks that mode of operation arranges the coding of current operation mode in circuit, if current operation mode is mode of operation 1, performs step 70, if current operation mode is mode of operation 2 or mode of operation 3 is exit interrupt routine.
Step 70, single-chip microcomputer arranges circuit extraction delay time code from time delay, simultaneously trigger counting, after arriving the delay time of regulation, performs step 80.
Step 80, roller shutter Status register unit is designated as pass door state by single-chip microcomputer, makes door closing switch pipe be in the state of conducting, and makes door open switch pipe be in the state of cut-off and halt switch pipe is in the state of conducting; Motor rotates backward and roller shutter is declined, and performs step 90;
Step 90, whether door limit switch is closed in single-chip microcomputer inspection the spacing actuating signal in pass reaching and close door limiting, is exit interrupt routine, otherwise performs step 80.
This Intelligent roller shutter door controller of the present invention adopts above-mentioned control method, uses simple, convenient.Intelligent roller shutter door controller of the present invention makes roller shutter door machine one-machine-multi-function, the special requirement of various use occasion can be applicable to, avoid as each mode of operation makes special remote controller, relative multi items research and development and making, Intelligent roller shutter door controller of the present invention can reduce production and circulation cost, has wide market prospects.
Accompanying drawing explanation
Fig. 1 is the electrical block diagram of existing roller shutter door machine.
Fig. 2 is the circuit box structure schematic diagram of an Intelligent roller shutter door controller of the present invention embodiment.
Fig. 3 is an electrical block diagram that have employed the roller shutter door machine of Fig. 2 embodiment.
Fig. 4 is the electrical block diagram of remote-control receiving circuit in Fig. 2 embodiment.
Fig. 5 is the electrical block diagram that in Fig. 2 embodiment, mode of operation arranges circuit.
Fig. 6 is the interlock circuit structural representation relating to door-closing operation in gauge tap circuit in Fig. 2 embodiment, door state testing circuit and switch condition detection circuit.
Fig. 7 is the interlock circuit structural representation relating to opening door operation in gauge tap circuit in Fig. 2 embodiment, door state testing circuit and switch condition detection circuit.
Fig. 8 is the interlock circuit structural representation relating to shutdown operation in Fig. 2 embodiment in gauge tap circuit and switch condition detection circuit.
Fig. 9 is the structural representation of pre-restraining position testing circuit in door state testing circuit in Fig. 2 embodiment.
Figure 10 is the structural representation of alarm sensor circuit in Fig. 2 embodiment.
Figure 11 is the flow chart that in Fig. 2 embodiment, single-chip microcomputer carries out control operation.
Figure 12 is the flow chart of the interrupt handling routine of the warning message of single-chip microcomputer process alarm sensor in Fig. 2 embodiment.
Detailed description of the invention
The circuit box structure of an Intelligent roller shutter door controller of the present invention embodiment as shown in Figure 2, the present embodiment by single-chip microcomputer 1, remote-control receiving circuit 2, mode of operation arranges circuit 3, gauge tap circuit 4, door state testing circuit 5, indicator lamp 6, switch condition detection circuit 7, alarm sensor circuit 8, time delay arranges circuit 9 and data I/O interface circuit 20 forms.It coordinates the roller shutter door machine 10 shown in Fig. 3 to use.
Comparison diagram 1 can be seen, the circuit structure of roller shutter door machine 10 shown in Fig. 3 is roughly the same with the circuit shown in Fig. 1, and the circuit structure of roller shutter door machine 10 part identical with the circuit shown in Fig. 1 be no longer repeat specification just.Just roller shutter door machine 10 goes out between end and B node to seal in direction isolating diode D4 at the enabling relay assembly of enabling controlling brancher in order to the manual operation function retaining halt switch KS, enabling interlock switch KO and the interlock switch KC that closes the door, and is combined between end and B node seals in direction isolating diode D3 at the closed relay of controlling brancher of closing the door; Wire jumper JP1 is penetrated between the Node B of current supply circuit of controlling brancher and controlling brancher of closing the door of being opened the door by roller shutter door machine 10 and the negative output terminal 0V of bridge rectifier W, one end Y of this wire jumper JP1 connects Node B, other end X meets the negative output terminal 0V of bridge rectifier W, and the negative output terminal 0V ground connection of bridge rectifier W.In the cam mechanism that this roller shutter door machine 10 links with motor MT main shaft, except closing door limit switch CLIM and door open limit switch OLIM, be also provided with the pre-limit switch PLLIM expressed near lower position of closing the door.Usual pass door limit switch CLIM and door open limit switch OLIM keeps normally closed connected state, and pre-limit switch PLLIM keeps the off-state often opened.The Y termination of wire jumper JP1 has shutdown terminal S+ and pre-limit switch PLLIM, X termination to have alarm sensor SNS.The Y end of tie jumper JP1 and X end, this roller shutter door machine 10 with shown in Fig. 1, is still manually operated.Disconnect Y end and the X end of wire jumper JP1, this roller shutter door machine 10 can be just that reliable halt switch KS, enabling interlock switch KO and interlock switch KC manual operation of closing the door also can operate with remote control device together with the present embodiment.
Get back to Fig. 2: the signal that remote-control receiving circuit 2 provides teleswitch on remote controller to be pressed to single-chip microcomputer 1.Mode of operation arranges circuit 3 provides coding from current operation mode to single-chip microcomputer 1.Single-chip microcomputer 1 make in door open switch pipe in gauge tap circuit 4, door closing switch pipe and halt switch pipe three selectively any one be in the state of conducting or cut-off; Wherein, door open switch pipe is serially connected with in the enabling controlling brancher of roller shutter door machine 10, and what door closing switch pipe was serially connected with roller shutter door machine 10 closes the door in controlling brancher, and halt switch pipe is serially connected with roller shutter door machine 10 and opens the door controlling brancher and closing the door in the current supply circuit of controlling brancher.Door state testing circuit 5 provides status information, the status information of door open limit switch OLIM and the status information of pre-limit switch PLLIM of closing door limit switch CLIM in roller shutter door machine 10 cam mechanism to single-chip microcomputer 1.Alarm sensor circuit 8 is to the warning message having people or thing under single-chip microcomputer 1 provides roller shutter.Switch condition detection circuit 7 provides the status information of the status information of door open switch pipe in gauge tap circuit 4, the status information of door closing switch pipe and halt switch pipe to single-chip microcomputer 1; Single-chip microcomputer 1 is by the status information of indicator lamp 6 display control switch circuit 4.Time delay arranges circuit 9 provides coding from delay time between automatic door opening to automatic door-closing to single-chip microcomputer 1.Data I/O interface circuit 20 for writing control program to single-chip microcomputer 1, and provides the passage of information interchange for Long-distance Control.
Fig. 4 gives the circuit structure of remote-control receiving circuit 2 in the present embodiment.Receiver of remote-control sytem RMT adopts commercially available singly-bound wireless remote controlled receiver, and it is by 24V direct current supply, and output is by the constant open contact of Control.When operating key is pressed, the signal output part of receiver of remote-control sytem RMT and ground wire are connected.The signal output part of receiver of remote-control sytem RMT is connected on the dividing point of two divider resistances R61, R62, the dc source of another termination 5 volts of divider resistance R61.The other end of divider resistance R62 meets remote-control data input port RM-D and the filter capacitor C61 of single-chip microcomputer 1.The dc source of two divider resistances R61, R62 and 5 volts makes the output signal of receiver of remote-control sytem RMT can mate with the single-chip microcomputer 1 of the dc source of use 5 volts.
Fig. 5 gives the circuit structure that mode of operation in the present embodiment arranges circuit 3.The dc source of 5 volts connects corresponding position MD-0, MD-1 of the upper end of the corresponding position of on-off switch SW and single-chip microcomputer 1 mode input port respectively through two current-limiting resistances R71, R72.The equal ground connection in the lower end of every of on-off switch SW.On-off switch SW is set to " 00 " and represents mode of operation 1, and " 11 " represent mode of operation 2, and " 01 ", " 10 " represent mode of operation 3 (every of on-off switch SW pushes ON and represents that 1, OFF represents 0).
Fig. 6 gives the structure relating to the interlock circuit of door-closing operation in gauge tap circuit 4 in the present embodiment, door state testing circuit 5 and switch condition detection circuit 7.In gauge tap circuit 4, door closing switch pipe Q11 adopts PNP transistor, establishes biasing resistor R11, work in common base mode between its emitter stage and base stage.The emitter stage of door closing switch pipe Q11 connects roller shutter door machine 10 and closes the door and close the tie point CB+ of the constant close contact of door limit switch CLIM and enabling interlock switch KO in controlling brancher, and the colelctor electrode of door closing switch pipe Q11 connects roller shutter door machine 10 and to close the door the tie point CB-of the constant open contact of interlock switch KC and the constant close contact J21 of enabling interlock relay J2 of closing the door in controlling brancher.The common emitter switching amplifier that the base stage of door closing switch pipe Q11 is made up of NPN transistor Q12 and three resistance R12, R13, R14 drives, and the base resistance R13 of this switch mode amplifier connects the control bit CB-CL that closes the door of single-chip microcomputer 1 switch control rule port.Close the door state detection circuit by two divider resistances R15, R16 being serially connected between tie point CB+ and ground wire and be connected in parallel on the Zener diode D11 at resistance R16 two ends and electric capacity C11 and form in door state testing circuit 5.Zener diode D11 limits the signal of the mode bit CB-D that closes the door of dividing point input single-chip microcomputer 1 door state input port not higher than 4.7V.In switch condition detection circuit 7, door closing switch state detection circuit is by two divider resistances R17, R18 being serially connected between tie point CB-and ground wire and be connected in parallel on the Zener diode D12 at resistance R18 two ends and electric capacity C12 and form.Zener diode D12 limits the signal of the door closing switch mode bit CBD-D of dividing point input single-chip microcomputer 1 on off state input port not higher than 4.7V.
At ordinary times, the control bit CB-CL that closes the door of single-chip microcomputer 1 switch control rule port is high level, transistor Q12 conducting, and door closing switch pipe Q11 ends.When the operation of closing the door done by single-chip microcomputer 1, the control bit CB-CL that closes the door of switch control rule port is set to low level by single-chip microcomputer 1, and transistor Q12 ends, and close if close door limit switch CLIM, the voltage of tie point CB+ is 24V, door closing switch pipe Q11 conducting.The signal of the mode bit CB-D that closes the door of single-chip microcomputer 1 door state input port is the high level of 4.7V, represents that the lower limb of roller shutter does not arrive the lower position of closing the door.The signal of the door closing switch mode bit CBD-D of single-chip microcomputer 1 on off state input port is 4.7V high level, and represent that door closing switch is in closed state, consistent with door-closing operation, door closing switch circuit working is normal.If when the operation of closing the door done by single-chip microcomputer 1, close door limit switch CLIM and disconnect, the voltage of tie point CB+ is 0V, and door closing switch pipe Q11 ends.The signal of the mode bit CB-D that closes the door of single-chip microcomputer 1 door state input port is the low level of 0V, represents that the lower limb of roller shutter has arrived the lower position of closing the door.
Fig. 7 gives the structure relating to the interlock circuit of opening door operation in gauge tap circuit 4 in the present embodiment, door state testing circuit 5 and switch condition detection circuit 7.In gauge tap circuit 4, door open switch pipe Q21 adopts PNP transistor, establishes biasing resistor R21, work in common base mode between its emitter stage and base stage.The emitter stage of door closing switch pipe Q21 connects the open the door colelctor electrode of the tie point OB+ of door open limit switch OLIM and the constant close contact of the interlock switch KC that closes the door in controlling brancher, door open switch pipe Q21 of roller shutter door machine 10 and connects roller shutter door machine 10 and to open the door the constant open contact of interlock switch KO and the tie point OB-of the constant close contact J11 of the interlock relay J1 that closes the door of opening the door in controlling brancher.The common emitter switching amplifier that the base stage of door open switch pipe Q21 is made up of NPN transistor Q22 and three resistance R22, R23, R24 drives, and the base resistance R23 of this switch mode amplifier connects the enabling control bit OB-CL of single-chip microcomputer 1 switch control rule port.In door state testing circuit 5, door opening state testing circuit is by two divider resistances R25, R26 being serially connected between tie point OB+ and ground wire and be connected in parallel on the Zener diode D21 at resistance R26 two ends and electric capacity C21 and form.Zener diode D21 limits the signal of the mode bit OB-D that closes the door of dividing point input single-chip microcomputer 1 door state input port not higher than 4.7V.In switch condition detection circuit 7, door open switch state detection circuit is by two divider resistances R27, R28 being serially connected between tie point OB-and ground wire and be connected in parallel on the Zener diode D22 at resistance R28 two ends and electric capacity C22 and form.Zener diode D22 limits the signal of the door open switch mode bit OBD-D of dividing point input single-chip microcomputer 1 on off state input port not higher than 4.7V.
At ordinary times, the enabling control bit OB-CL of single-chip microcomputer 1 switch control rule port is high level, transistor Q22 conducting, and door closing switch pipe Q21 ends.When the operation of opening the door done by single-chip microcomputer 1, the enabling control bit OB-CL of switch control rule port is set to low level by single-chip microcomputer 1, and transistor Q22 ends, if door open limit switch OLIM closes, the voltage of tie point OB+ is 24V, door closing switch pipe Q21 conducting.The signal of the mode bit OB-D that closes the door of single-chip microcomputer 1 door state input port is the high level of 4.7V, represents that the lower limb of roller shutter does not arrive the upper limit position of enabling.The signal of the door open switch mode bit OBD-D of single-chip microcomputer 1 on off state input port is 4.7V high level, and represent that door closing switch is in closed state, consistent with opening door operation, door open switch circuit working is normal.If when the operation of closing the door done by single-chip microcomputer 1, close door limit switch OLIM and disconnect, the voltage of tie point OB+ is 0V, and door open switch pipe Q21 ends.The signal of the door opening state position OB-D of single-chip microcomputer 1 door state input port is the low level of 0V, represents that the lower limb of roller shutter has arrived the upper limit position of enabling.
Fig. 8 gives the structure relating to the interlock circuit of shutdown operation in the present embodiment in gauge tap circuit 4 and switch condition detection circuit 7.In gauge tap circuit 4, halt switch pipe Q31 adopts NPN transistor, and establish biasing resistor R33 between its emitter stage and base stage, be connected to resistance R31 between colelctor electrode and 24V dc source, the grounded emitter of halt switch pipe Q33, works in common emitter mode.The colelctor electrode of halt switch pipe Q31 connect roller shutter door machine 10 current supply circuit interior joint B tie point S+.The base stage of halt switch pipe Q31 connects the shutdown control bit S-CL of single-chip microcomputer 1 switch control rule port through current-limiting resistance R13.In switch condition detection circuit 7, halt switch state detection circuit is by two divider resistances R34, R35 being serially connected between tie point S+ and ground wire and be connected in parallel on the Zener diode D31 at resistance R35 two ends and electric capacity C31 and form.Zener diode D31 limits the signal of the halt switch mode bit SD-D of dividing point input single-chip microcomputer 1 on off state input port not higher than 4.7V.
At ordinary times; the shutdown control bit S-CL of single-chip microcomputer 1 switch control rule port is high level; halt switch pipe Q31 conducting, roller shutter door machine 10 current supply circuit interior joint B is connected with the negative output terminal 0V of bridge rectifier W, and close the door controlling brancher or enabling controlling brancher can work.When the operation of shutting down done by single-chip microcomputer 1; the shutdown control bit S-CL of switch control rule port is set to low level by single-chip microcomputer 1; halt switch pipe Q31 ends; the connection of the negative output terminal 0V of roller shutter door machine 10 current supply circuit interior joint B and bridge rectifier W is cut off; simultaneously roller shutter door machine 10 current supply circuit interior joint B is lifted to 24V, close the door controlling brancher and enabling controlling brancher all inoperative.The signal of the halt switch mode bit SD-D of single-chip microcomputer 1 on off state input port is 4.7V high level, and represent that halt switch is in the state of disconnection, consistent with shutdown operation, halt switch circuit working is normal.
Fig. 9 to give in the present embodiment pre-restraining position testing circuit structure in door state testing circuit 5.The one termination Node B of pre-limit switch PLLIM, the other end connects the tie point of current-limiting resistance R44 and base resistance R42.Another termination 24V dc source of current-limiting resistance R44.The negative pole of another termination Zener diode D41 of base resistance R42, the positive pole of Zener diode D41 connects the base stage of filter capacitor C41, biasing resistor R43 and transistor Q41, the other end of filter capacitor C41, the other end of biasing resistor R43 and the grounded emitter of transistor Q41.The colelctor electrode of transistor Q41 connects the pre-spacing mode bit PL-D of single-chip microcomputer 1 door state input port and connects 5V dc source through resistance R44.
At ordinary times, pre-limit switch PLLIM disconnects, and the base stage of transistor Q41 is the high level of 4.7V, transistor Q41 conducting, and the mode bit OB-D that closes the door of single-chip microcomputer 1 door state input port obtains low level signal.Once the arrival of roller shutter lower limb or the position (such as apart from 6 centimetres, lower position) lower than setting, pre-limit switch PLLIM closes, the base stage of transistor Q41 is low level, and transistor Q41 ends, and the mode bit OB-D that closes the door of single-chip microcomputer 1 door state input port obtains the signal of high level.
Figure 10 gives the circuit structure of alarm sensor circuit 8 in the present embodiment.Alarm sensor SNS can adopt commercially available reflecting type photoelectric alarm and the combination of pressure-sensitive conductive rubber alarm, or the combination of reflecting type photoelectric alarm and photoelectricity rubber tube.Wherein reflecting type photoelectric alarm is arranged on the middle part of doorframe.Pressure-sensitive conductive rubber alarm or photoelectricity rubber tube are arranged on roller shutter lower limb.Alarm sensor SNS is by 12V DC power supply.The output of alarm sensor SNS is connected on the dividing point of two divider resistances R51, R52, the dc source of another termination 5 volts of divider resistance R51.The other end of divider resistance R52 meets alert data input port SN-D, the negative pole of Zener diode D51, the resistance R53 and filter capacitor C61 of single-chip microcomputer 1.The positive pole of Zener diode D51, the other end of resistance R53 and filter capacitor C61 other end ground connection.The dc source of two divider resistances R51, R52 and 5 volts makes the output signal of alarm sensor SNS can mate with the single-chip microcomputer 1 of use 5 volts of dc sources.Under normal circumstances, alarm sensor SNS exports high level signal, and the alert data input port SN-D of single-chip microcomputer 1 obtains the high level signal of 4.7V.When roller shutter has extruded people or thing, and roller shutter by people or thing block reflective make photoelectric alarm time, alarm sensor SNS exports the low level signal close to 0V, and the alert data input port SN-D of single-chip microcomputer 1 obtains the low level signal close to 0V.
Time delay arranges circuit 9 and can refer to the circuit structure that mode of operation arranges circuit 3, uses 8 bit switches to realize.The time delay of formation like this arranges circuit 9 can provide 8 coding to the delay time input port of single-chip microcomputer 1, a unit amount of this coding is 1 second, and this coding delay time can expressed between automatic door opening to automatic door-closing is 0 second to 4 points and 15 seconds.
In the course of work, the roller shutter state of roller shutter door machine is divided into and enters closing down state STOP-C, door opening state OPEN just opening door operation process, entering the start-stop state STOP-O of stopping and the pass door state CLOSE just door-closing operation process from opening door operation of stopping from door-closing operation by single-chip microcomputer 1, and by current state recording in roller shutter Status register cell S.The coding that single-chip microcomputer 1 arranges circuit 3 provide according to mode of operation determines current mode of operation, and by the command operating that the teleswitch that this mode of operation performs remote-control receiving circuit 2 and provides is pressed.
In the course of work, single-chip microcomputer 1 carries out the flow process of control operation, please refer to Figure 11:
Step 1, single-chip microcomputer 1 makes roller shutter Status register cell S be designated as and closes down state STOP-C, and single-chip microcomputer 1 transmits control signal to gauge tap circuit 4 and halt switch pipe Q31 is ended, and control motor M T and stop, roller shutter stops.Perform step 2.
Step 2, single-chip microcomputer 1 checks the signal whether remote-control receiving circuit 2 has remote controller key to be pressed, and is perform step 3, otherwise performs step 1.
Step 3; after single-chip microcomputer 1 receives from remote-control receiving circuit 2 information that teleswitch is pressed; roller shutter Status register cell S will be designated as door opening state OPEN; make door open switch pipe Q21 in gauge tap circuit 5 be in the state of conducting, and make door closing switch pipe Q11 in gauge tap circuit 5 be in the state of cut-off and halt switch pipe Q31 is in the state of conducting.The enabling controlling brancher of roller shutter door machine 10 enters duty, and three contacts Z21, Z22, Z23 of enabling control relay Z2 all enter closure state, and motor MT rotates forward and makes roller shutter increase.The constant close contact J21 of the enabling interlock relay J2 of roller shutter door machine 10 enters off-state and prevents the abnormal action disturbing enabling of controlling brancher appearance of closing the door.Perform step 4.
Step 4, single-chip microcomputer 1 check door open limit switch OLIM whether have reach door open limit open spacing actuating signal, be perform step 6, otherwise perform step 5.
Step 5, single-chip microcomputer 1 checks the signal whether remote-control receiving circuit 2 has remote controller key to be again pressed, and is perform step 6, otherwise performs step 3.
Step 6, if roller shutter door machine 10 automatic door opening is to upper limit position, cam mechanism makes door open limit switch OLIM be disconnected, cut off the power supply of enabling controlling brancher to enabling relay assembly, three contacts Z21, Z22, Z23 of enabling control relay Z2 all return off-state, motor MT is in the state of stopping, and roller shutter stops.The constant close contact J21 of enabling interlock relay J2 returns closure state.Single-chip microcomputer 1 detects from door state testing circuit 5 information that door open limit switch OLIM is disconnected, learn that roller shutter rises to upper limit position, then roller shutter Status register cell S is designated as start-stop state STOP-O by single-chip microcomputer 1, and transmit control signal to gauge tap circuit 4, make door open switch pipe Q21 be in the state of cut-off.If single-chip microcomputer 1 obtains the signal that remote controller key is pressed again, then roller shutter Status register cell S is designated as start-stop state STOP-O by single-chip microcomputer 1, and transmits control signal to gauge tap circuit 4, makes door open switch pipe Q21 be in the state of cut-off, control motor M T to stop, roller shutter stops.Perform step 7.
Step 7, single-chip microcomputer 1 checks that mode of operation arranges the coding of current operation mode in circuit 3, if current operation mode is mode of operation 1, perform step 101, if current operation mode is mode of operation 2, perform step 201, if current operation mode is mode of operation 3 is perform step 301.
Step 101, single-chip microcomputer 1 arranges circuit 9 from time delay and extracts delay time code, simultaneously trigger counting.After arriving the delay time of regulation, perform step 102.
Step 102, roller shutter Status register cell S is designated as and closes door state CLOSE by single-chip microcomputer 1, make the door closing switch pipe Q11 in gauge tap circuit 5 be in the state of conducting, and make door open switch pipe Q11 in gauge tap circuit 4 be in the state of cut-off and halt switch pipe Q31 is in the state of conducting; The controlling brancher of closing the door of roller shutter door machine 10 enters duty, and three contacts Z11, Z12, Z13 of the control relay Z1 that closes the door all enter closure state, and motor MT rotates backward and roller shutter is declined.The constant close contact J11 of the interlock relay J1 that closes the door of roller shutter door machine 10 enters off-state and prevents enabling controlling brancher from occurring extremely disturbing the action of closing the door.Period, if roller shutter door machine 10 is closed the door to lower position, cam mechanism will make pass door limit switch CLIM be disconnected, cut off the power supply that controlling brancher of closing the door combines to closed relay, three contacts Z11, Z12, the Z13 of control relay Z1 of closing the door all return off-state, and motor MT is in the state of stopping.The constant close contact J11 of interlock relay J1 of closing the door returns closure state.Perform step 103.
Step 103, whether single-chip microcomputer 1 inspection closes door limit switch CLIM the spacing actuating signal in pass reaching and close door limiting, is perform step 1, otherwise performs step 104.
Step 104, single-chip microcomputer 1 checks the signal whether remote-control receiving circuit 2 has remote controller key to be again pressed, and is perform step 1, otherwise performs step 102.
Step 201, single-chip microcomputer 1 checks and is the signal whether remote-control receiving circuit 2 has remote controller key to be pressed perform step 202, otherwise again performs this step.
Step 202, roller shutter Status register cell S is designated as and closes door state CLOSE by single-chip microcomputer 1, make the door closing switch pipe Q11 in gauge tap circuit 5 be in the state of conducting, and make door open switch pipe Q11 in gauge tap circuit 4 be in the state of cut-off and halt switch pipe Q31 is in the state of conducting; The controlling brancher of closing the door of roller shutter door machine 10 enters duty, and three contacts Z11, Z12, Z13 of the control relay Z1 that closes the door all enter closure state, and motor MT rotates backward and roller shutter is declined.The constant close contact J11 of the interlock relay J1 that closes the door of roller shutter door machine 10 enters off-state and prevents enabling controlling brancher from occurring extremely disturbing the action of closing the door.Period, if roller shutter door machine 10 is closed the door to lower position, cam mechanism will make pass door limit switch CLIM be disconnected, cut off the power supply that controlling brancher of closing the door combines to closed relay, three contacts Z11, Z12, the Z13 of control relay Z1 of closing the door all return off-state, and motor MT is in the state of stopping.The constant close contact J11 of interlock relay J1 of closing the door returns closure state.Perform step 203.
Step 203, whether single-chip microcomputer 1 inspection closes door limit switch CLIM the spacing actuating signal in pass reaching and close door limiting, is perform step 1, otherwise performs step 204.
Step 204, single-chip microcomputer 1 checks the signal whether remote-control receiving circuit 2 has remote controller key to be again pressed, and is perform step 1, otherwise performs step 202.
Step 301, single-chip microcomputer 1 checks and is the signal whether remote-control receiving circuit 2 has remote controller key to be pressed perform step 302, otherwise again performs this step.
Step 302, roller shutter Status register cell S is designated as and closes door state CLOSE by single-chip microcomputer 1, make the door closing switch pipe Q11 in gauge tap circuit 5 be in the state of conducting, and make door open switch pipe Q11 in gauge tap circuit 4 be in the state of cut-off and halt switch pipe Q31 is in the state of conducting; The controlling brancher of closing the door of roller shutter door machine 10 enters duty, and three contacts Z11, Z12, Z13 of the control relay Z1 that closes the door all enter closure state, and motor MT rotates backward and roller shutter is declined.The constant close contact J11 of the interlock relay J1 that closes the door of roller shutter door machine 10 enters off-state and prevents enabling controlling brancher from occurring extremely disturbing the action of closing the door.Period, if roller shutter door machine 10 is closed the door to lower position, cam mechanism will make pass door limit switch CLIM be disconnected, cut off the power supply that controlling brancher of closing the door combines to closed relay, three contacts Z11, Z12, the Z13 of control relay Z1 of closing the door all return off-state, and motor MT is in the state of stopping.The constant close contact J11 of interlock relay J1 of closing the door returns closure state.Perform step 303.
Step 303, whether single-chip microcomputer 1 inspection closes door limit switch CLIM the spacing actuating signal in pass reaching and close door limiting, is perform step 1, otherwise performs step 304.
Step 304, single-chip microcomputer 1 checks whether remote-control receiving circuit 2 has the d/d signal of remote controller key, is perform step 1, otherwise performs step 302.
In the process of work, obtain once single-chip microcomputer 1 from alarm sensor circuit 8 roller shutter and have the warning message of people or thing just to proceed to the interrupt routine of alert process, process accordingly.Single-chip microcomputer 1 carries out the interrupt routine flow process of alert process, please refer to Figure 12:
Step 10, single-chip microcomputer 1 checks whether roller shutter Status register cell S is close door state CLOSE, is perform step 11, otherwise exits interrupt routine.
Step 11, the status information of the pre-limit switch PLLIM that single-chip microcomputer 1 inspection panel state detection circuit 5 provides, if roller shutter has arrived below the pre-restraining position of lower position of closing the door, the status information of pre-limit switch PLLIM is pre-spacing action message, then single-chip microcomputer 1 is ignored this warning message and exited interrupt routine.Roller shutter door machine 10 continues the operation of closing the door, until door state testing circuit 5 feeds back roller shutter arrive lower position of closing the door.Otherwise perform step 12.
Step 12; single-chip microcomputer 1 knows that the status information of pre-limit switch PLLIM is the pre-restraining position that roller shutter not yet arrives near lower position of closing the door; then single-chip microcomputer 1 stops the operation of closing the door according to this warning message; roller shutter Status register cell S is designated as and closes down state STOP-C; single-chip microcomputer 1 transmits control signal to gauge tap circuit 4 and halt switch pipe Q31 is ended; control motor M T to stop, roller shutter stops.Perform step 20.
Step 20, single-chip microcomputer 1 starts timer, time delay 2 second.Perform step 30.
Step 30; roller shutter Status register cell S is designated as door opening state OPEN by single-chip microcomputer 1; make door open switch pipe Q21 in gauge tap circuit 5 be in the state of conducting, and make door closing switch pipe Q11 in gauge tap circuit 5 be in the state of cut-off and halt switch pipe Q31 is in the state of conducting.The enabling controlling brancher of roller shutter door machine 10 enters duty, and three contacts Z21, Z22, Z23 of enabling control relay Z2 all enter closure state, and motor MT rotates forward and makes roller shutter increase.The constant close contact J21 of the enabling interlock relay J2 of roller shutter door machine 10 enters off-state and prevents the abnormal action disturbing enabling of controlling brancher appearance of closing the door.Perform step 40.
Step 40, single-chip microcomputer 1 check door open limit switch OLIM whether have reach door open limit open spacing actuating signal, be perform step 50, otherwise perform step 30.
Step 50, roller shutter door machine 10 automatic door opening is to upper limit position, cam mechanism makes door open limit switch OLIM be disconnected, cut off the power supply of enabling controlling brancher to enabling relay assembly, three contacts Z21, Z22, Z23 of enabling control relay Z2 all return off-state, motor MT is in the state of stopping, and roller shutter stops.The constant close contact J21 of enabling interlock relay J2 returns closure state.Single-chip microcomputer 1 detects from door state testing circuit 5 information that door open limit switch OLIM is disconnected, then roller shutter Status register cell S is designated as start-stop state STOP-O, and transmit control signal to gauge tap circuit 4, make door open switch pipe Q21 be in the state of cut-off.Control motor M T to stop, roller shutter stops.Perform step 60.
Step 60, single-chip microcomputer 1 checks that mode of operation arranges the coding of current operation mode in circuit 3, if current operation mode is mode of operation 1, performs step 70, if current operation mode is mode of operation 2 or mode of operation 3 is exit interrupt routine.
Step 70, single-chip microcomputer 1 arranges circuit 9 from time delay and extracts delay time code, simultaneously trigger counting.After arriving the delay time of regulation, perform step 80.
Step 80, roller shutter Status register cell S is designated as and closes door state CLOSE by single-chip microcomputer 1, make the door closing switch pipe Q11 in gauge tap circuit 5 be in the state of conducting, and make door open switch pipe Q11 in gauge tap circuit 4 be in the state of cut-off and halt switch pipe Q31 is in the state of conducting; The controlling brancher of closing the door of roller shutter door machine 10 enters duty, and three contacts Z11, Z12, Z13 of the control relay Z1 that closes the door all enter closure state, and motor MT rotates backward and roller shutter is declined.The constant close contact J11 of the interlock relay J1 that closes the door of roller shutter door machine 10 enters off-state and prevents enabling controlling brancher from occurring extremely disturbing the action of closing the door.Period, if roller shutter door machine 10 is closed the door to lower position, cam mechanism will make pass door limit switch CLIM be disconnected, cut off the power supply that controlling brancher of closing the door combines to closed relay, three contacts Z11, Z12, the Z13 of control relay Z1 of closing the door all return off-state, and motor MT is in the state of stopping.The constant close contact J11 of interlock relay J1 of closing the door returns closure state.Perform step 90.
Step 90, whether single-chip microcomputer 1 inspection closes door limit switch CLIM the spacing actuating signal in pass reaching and close door limiting, is exit interrupt routine, otherwise performs step 80.
No matter in any one mode of operation, single-chip microcomputer 1 all can according to the current control information to door open switch pipe Q21 in gauge tap circuit 4, the status information of door open switch pipe Q21 in the gauge tap circuit 7 that the control information of door closing switch pipe Q11 and the control information of halt switch pipe Q31 and switch condition detection circuit 7 provide, the status information of door closing switch pipe Q11 and the status information of halt switch pipe Q31 are compared, if consistent, door open switch pipe Q21 in gauge tap circuit 4, the duty of door closing switch pipe Q11 and halt switch pipe Q31 is all normal, single-chip microcomputer 1 passes through indicator lamp 6 display control switch circuit 4 information working properly, if inconsistent, in gauge tap circuit 4, the duty of door open switch pipe Q21, door closing switch pipe Q11 and halt switch pipe Q31 has abnormal, single-chip microcomputer 1 to be worked abnormal information by indicator lamp 6 display control switch circuit 4, and prompting user's shut-down operation is also safeguarded.
If do not use the manual operation function of the halt switch KS of roller shutter door machine 10, enabling interlock switch KO and the interlock switch KC that closes the door, then without the need to going out between end and B node to seal in direction isolating diode D4 at the enabling relay assembly of enabling controlling brancher, seal in direction isolating diode D3 without the need to being combined at the closed relay of controlling brancher of closing the door between end and B node; Without the need to penetrating wire jumper JP1 between Node B and the negative output terminal 0V of bridge rectifier W.After removing halt switch KS, enabling interlock switch KO and the interlock switch KC that closes the door; halt switch pipe Q31 is sealed in the position of halt switch KS; door open switch pipe Q21 is sealed between the node OB+ and node OB-node of enabling controlling brancher; between the node CB+ and node CB-of controlling brancher of closing the door, seal in door closing switch pipe Q11, the roller shutter door machine 10 after the present embodiment can make repacking under the control of aforementioned remote controller completes above-mentioned operation controlling functions.
The above, be only present pre-ferred embodiments, do not limit scope of the invention process with this, and equivalence change and the modification done according to technical scheme of the present invention and description, all should belong to the scope that the present invention is contained.
Claims (5)
1. Intelligent roller shutter door controller, it coordinates roller shutter door machine to use, and this roller shutter door machine is with the cam mechanism closing door limit switch and door open limit switch; It is characterized in that: it comprises single-chip microcomputer, remote-control receiving circuit, mode of operation arrange circuit, alarm sensor circuit, gauge tap circuit and door state testing circuit; The signal that remote-control receiving circuit provides teleswitch to be pressed to single-chip microcomputer; Mode of operation arranges circuit provides coding from current operation mode to single-chip microcomputer; Single-chip microcomputer make in door open switch pipe in gauge tap circuit, door closing switch pipe and halt switch pipe three selectively any one be in the state of conducting or cut-off; This door open switch pipe is serially connected with in the enabling controlling brancher of roller shutter door machine, and what this door closing switch pipe was serially connected with roller shutter door machine closes the door in controlling brancher, and this halt switch pipe is serially connected with roller shutter door machine enabling controlling brancher and closes the door in the current supply circuit of controlling brancher; Door state testing circuit provides the status information of status information and the door open limit switch closing door limit switch in roller shutter door machine cam mechanism to single-chip microcomputer; This alarm sensor circuit is to the warning message having people or thing under described single-chip microcomputer provides rolling door; The pre-limit switch of expressing near lower position of closing the door also is provided with in the cam mechanism of described roller shutter door machine; Described door state testing circuit also provides the status information of this pre-limit switch to single-chip microcomputer.
2. Intelligent roller shutter door controller according to claim 1, it is characterized in that: it also has switch condition detection circuit, this switch condition detection circuit provides the status information of the status information of door open switch pipe in described gauge tap circuit, the status information of door closing switch pipe and halt switch pipe to described single-chip microcomputer; Described single-chip microcomputer shows the status information of described gauge tap circuit by indicator lamp.
3. Intelligent roller shutter door controller according to claim 2, is characterized in that: it also has time delay to arrange circuit, and this time delay arranges circuit provides coding from delay time between automatic door opening to automatic door-closing to described single-chip microcomputer.
4. the control method of Intelligent roller shutter door controller, this Intelligent roller shutter door controller mating band uses about the roller shutter door machine of the cam mechanism of door limit switch and door open limit switch, and it comprises single-chip microcomputer, remote-control receiving circuit, mode of operation arrange circuit, gauge tap circuit and door state testing circuit; The signal that remote-control receiving circuit provides teleswitch to be pressed to single-chip microcomputer; Mode of operation arranges circuit provides coding from current operation mode to single-chip microcomputer; Single-chip microcomputer make in door open switch pipe in gauge tap circuit, door closing switch pipe and halt switch pipe three selectively any one be in the state of conducting or cut-off; This door open switch pipe is serially connected with in the enabling controlling brancher of roller shutter door machine, and what this door closing switch pipe was serially connected with roller shutter door machine closes the door in controlling brancher, and this halt switch pipe is serially connected with roller shutter door machine enabling controlling brancher and closes the door in the current supply circuit of controlling brancher; Door state testing circuit provides the status information of status information and the door open limit switch closing door limit switch in roller shutter door machine cam mechanism to single-chip microcomputer; This control method the roller shutter state of roller shutter door machine is divided into from door-closing operation enter stopping state of closing down, door opening state just opening door operation process, enter the start-stop state of stopping and the pass door state just door-closing operation process from opening door operation, and by current state recording in roller shutter Status register unit; In this control method, single-chip microcomputer can arrange from the time delay of this Intelligent roller shutter door controller the coding that circuit obtains delay time automatic door opening to automatic door-closing; The step that this control method comprises has:
Step 1, single-chip microcomputer makes roller shutter Status register unit be designated as the state of closing down, and single-chip microcomputer makes halt switch pipe end, and control motor and stop, roller shutter stops; Perform step 2;
Step 2, single-chip microcomputer checks the signal whether remote-control receiving circuit has remote controller key to be pressed, and is perform step 3, otherwise performs step 1;
Step 3, roller shutter Status register unit is designated as door opening state by single-chip microcomputer, door open switch pipe in gauge tap circuit is made to be in the state of conducting, and make door closing switch pipe in gauge tap circuit be in the state of cut-off and halt switch pipe is in the state of conducting, motor rotates forward and makes roller shutter increase, and performs step 4;
Step 4, single-chip microcomputer check door open limit switch whether have reach door open limit open spacing actuating signal, be perform step 6, otherwise perform step 5;
Step 5, single-chip microcomputer checks the signal whether remote-control receiving circuit has remote controller key to be again pressed, and is perform step 6, otherwise performs step 3;
Step 6, roller shutter Status register unit is designated as start-stop state by single-chip microcomputer, and makes door open switch pipe be in the state of cut-off, and control motor and stop, roller shutter stops, and performs step 7;
Step 7, single-chip microcomputer checks that mode of operation arranges the coding of current operation mode in circuit, if current operation mode is mode of operation 1, perform step 101, if current operation mode is mode of operation 2, perform step 201, if current operation mode is mode of operation 3 is perform step 301;
Step 101, single-chip microcomputer arranges circuit extraction delay time code from time delay, simultaneously trigger counting, after arriving the delay time of regulation, performs step 102;
Step 102, roller shutter Status register unit is designated as pass door state by single-chip microcomputer, makes door closing switch pipe is in the state of conducting, door open switch pipe is in cut-off state and halt switch pipe is in the state of conducting; Motor rotates backward and roller shutter is declined, and performs step 103;
Step 103, whether door limit switch is closed in single-chip microcomputer inspection the spacing actuating signal in pass reaching and close door limiting, is perform step 1, otherwise performs step 104;
Step 104, single-chip microcomputer checks the signal whether remote-control receiving circuit has remote controller key to be again pressed, and is perform step 1, otherwise performs step 102;
Step 201, single-chip microcomputer checks and is the signal whether remote-control receiving circuit has remote controller key to be pressed perform step 202, otherwise again performs this step;
Step 202, roller shutter Status register unit is designated as pass door state by single-chip microcomputer, makes door closing switch pipe be in the state of conducting, and makes door open switch pipe be in the state of cut-off and halt switch pipe is in the state of conducting; Motor rotates backward and roller shutter is declined, and performs step 203;
Step 203, whether door limit switch is closed in single-chip microcomputer inspection the spacing actuating signal in pass reaching and close door limiting, is perform step 1, otherwise performs step 204;
Step 204, single-chip microcomputer checks the signal whether remote-control receiving circuit has remote controller key to be again pressed, and is perform step 1, otherwise performs step 202;
Step 301, single-chip microcomputer checks and is the signal whether remote-control receiving circuit has remote controller key to be pressed perform step 302, otherwise again performs this step;
Step 302, roller shutter Status register unit is designated as pass door state by single-chip microcomputer, makes door closing switch pipe be in the state of conducting, and makes door open switch pipe be in the state of cut-off and halt switch pipe is in the state of conducting; Motor rotates backward and roller shutter is declined; Perform step 303;
Step 303, whether door limit switch is closed in single-chip microcomputer inspection the spacing actuating signal in pass reaching and close door limiting, is perform step 1, otherwise performs step 304;
Step 304, single-chip microcomputer checks whether remote-control receiving circuit has the d/d signal of remote controller key, is perform step 1, otherwise performs step 302.
5. the control method of Intelligent roller shutter door controller according to claim 4, is characterized in that: this Intelligent roller shutter door controller also has alarm sensor circuit, and this alarm sensor circuit is to the warning message having people or thing under described single-chip microcomputer provides rolling door; The pre-limit switch of expressing near lower position of closing the door also is provided with in the cam mechanism of described roller shutter door machine; Described door state testing circuit also provides the status information of this pre-limit switch to single-chip microcomputer; In the process of work, obtain once single-chip microcomputer from alarm sensor circuit roller shutter and have the warning message of people or thing just to proceed to the interrupt routine of alert process, process accordingly; This interrupt routine comprises:
Step 10, single-chip microcomputer checks whether roller shutter Status register unit is close door state, is perform step 11, otherwise exits interrupt routine;
Step 11, the status information of the pre-limit switch of single-chip microcomputer inspection, if roller shutter has arrived below the pre-restraining position of lower position of closing the door, the status information of pre-limit switch has been pre-spacing action message, then single-chip microcomputer is ignored this warning message and exited interrupt routine; Otherwise perform step 12;
Step 12, single-chip microcomputer makes roller shutter Status register unit be designated as the state of closing down, and single-chip microcomputer makes halt switch pipe end, and control motor and stop, roller shutter stops, and performs step 20;
Step 20, single-chip microcomputer starts timer, time delay 2 second, performs step 30;
Step 30, roller shutter Status register unit is designated as door opening state by single-chip microcomputer, makes door open switch pipe be in the state of conducting, and makes door closing switch pipe be in the state of cut-off and halt switch pipe is in the state of conducting, and motor rotates forward and makes roller shutter increase; Perform step 40;
Step 40, single-chip microcomputer check door open limit switch whether have reach door open limit open spacing actuating signal, be perform step 50, otherwise perform step 30;
Step 50, roller shutter Status register unit is designated as start-stop state by single-chip microcomputer, and makes door open switch pipe be in the state of cut-off, and control motor and stop, roller shutter stops, and performs step 60;
Step 60, single-chip microcomputer checks that mode of operation arranges the coding of current operation mode in circuit, if current operation mode is mode of operation 1, performs step 70, if current operation mode is mode of operation 2 or mode of operation 3 is exit interrupt routine;
Step 70, single-chip microcomputer arranges circuit extraction delay time code from time delay, simultaneously trigger counting, after arriving the delay time of regulation, performs step 80;
Step 80, roller shutter Status register unit is designated as pass door state by single-chip microcomputer, makes door closing switch pipe be in the state of conducting, and makes door open switch pipe be in the state of cut-off and halt switch pipe is in the state of conducting; Motor rotates backward and roller shutter is declined, and performs step 90;
Step 90, whether door limit switch is closed in single-chip microcomputer inspection the spacing actuating signal in pass reaching and close door limiting, is exit interrupt routine, otherwise performs step 80.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110363612.3A CN102561929B (en) | 2011-11-16 | 2011-11-16 | Intelligent roller shutter door controller and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110363612.3A CN102561929B (en) | 2011-11-16 | 2011-11-16 | Intelligent roller shutter door controller and control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102561929A CN102561929A (en) | 2012-07-11 |
CN102561929B true CN102561929B (en) | 2015-01-14 |
Family
ID=46408379
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110363612.3A Active CN102561929B (en) | 2011-11-16 | 2011-11-16 | Intelligent roller shutter door controller and control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102561929B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103216169A (en) * | 2013-05-07 | 2013-07-24 | 郭华顺 | Friendly-interface electric door controller |
CN103883243B (en) * | 2014-04-14 | 2016-04-20 | 华西铝业有限责任公司 | Rolling door control system and its implementation |
CN106285443B (en) * | 2016-08-19 | 2018-01-09 | 宁波杜亚机电技术有限公司 | Electric rolling control method based on intelligent terminal APP |
TWI599712B (en) * | 2016-12-20 | 2017-09-21 | 盧再益 | Automatic detecting method of electric roller door position |
CN106667321A (en) * | 2017-02-10 | 2017-05-17 | 太仓市康辉科技发展有限公司 | Bathtub |
CN116088388A (en) * | 2023-02-22 | 2023-05-09 | 漳州市瑞敏特电子设备有限公司 | Object command control method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3501924B2 (en) * | 1997-06-20 | 2004-03-02 | 文化シヤッター株式会社 | History information detection device for electric shutter |
JP2005127107A (en) * | 2003-10-27 | 2005-05-19 | Bunka Shutter Co Ltd | Opening and closing body control device |
CN1983086A (en) * | 2005-12-14 | 2007-06-20 | 刘方楷 | Control method of electric rolling door control machine |
CN200959524Y (en) * | 2006-09-30 | 2007-10-10 | 刘永华 | A comprehensive control device for DC door machine |
CN201326369Y (en) * | 2008-12-09 | 2009-10-14 | 三垦力达电气(江阴)有限公司 | Rolling door control system |
-
2011
- 2011-11-16 CN CN201110363612.3A patent/CN102561929B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3501924B2 (en) * | 1997-06-20 | 2004-03-02 | 文化シヤッター株式会社 | History information detection device for electric shutter |
JP2005127107A (en) * | 2003-10-27 | 2005-05-19 | Bunka Shutter Co Ltd | Opening and closing body control device |
CN1983086A (en) * | 2005-12-14 | 2007-06-20 | 刘方楷 | Control method of electric rolling door control machine |
CN200959524Y (en) * | 2006-09-30 | 2007-10-10 | 刘永华 | A comprehensive control device for DC door machine |
CN201326369Y (en) * | 2008-12-09 | 2009-10-14 | 三垦力达电气(江阴)有限公司 | Rolling door control system |
Also Published As
Publication number | Publication date |
---|---|
CN102561929A (en) | 2012-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102561929B (en) | Intelligent roller shutter door controller and control method thereof | |
CN112731128A (en) | Switching-on and switching-off operation device for multi-type circuit breaker and fault detection method | |
CN211878447U (en) | Control device and system for opening and closing door | |
CN103179753B (en) | Intelligent lamplight control system | |
CN205681181U (en) | A kind of Dual-power automatic switching controller | |
CN101847893B (en) | Network control type universal change-over switch with CCLink communication | |
CN202056383U (en) | Intelligent actuator for controlling valve of alternating current machine | |
CN103191539B (en) | Multi-line control device and method related to fire-fighting interlocking equipment | |
CN100527306C (en) | Control circuit of relay | |
CN205810724U (en) | A kind of device of Self Adaptive Control breaker actuation | |
CN211454352U (en) | DCS-based flange device control system | |
CN103633613A (en) | Over small-current automatic power-off protection circuit and charger | |
CN202109068U (en) | Valve circuit control circuit of gas appliance | |
CN202362429U (en) | Online monitoring and diagnosing device of permanent magnet vacuum circuit breaker | |
CN203574345U (en) | Too-small current automatic power-off protection circuit and charger | |
CN105282893B (en) | A kind of LED illumination self discharge circuit based on exchange monitoring | |
CN206365111U (en) | One kind metering storage light remote control | |
CN221465904U (en) | Multi-mode trigger control circuit with interlocking | |
CN102869161B (en) | Intelligent light-emitting diode (LED) corridor lamp | |
CN102892221B (en) | LED (light-emitted diode) lamp and open-circuit protective circuit thereof | |
CN201731530U (en) | Switch valve control circuit and gas stove having same | |
CN105811391A (en) | Phase sequence adjustment apparatus, motor, electrically operated valve and automatic filter | |
CN103713602B (en) | Remote control two-channel control system | |
CN201556292U (en) | Remote controller | |
CN201110951Y (en) | Automatic change-over switch with programmable contacts output functions |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |