Summary of the invention
In view of this, the application's is designed to provide a kind of control device and roller shutter equipment, it is existing to effectively improve
The device that roller shutter equipment includes is more, and controls the discontinuous problem of roller shutter stop position.
In order to solve the above-mentioned technical problem, the embodiment of the present application is accomplished in that (in application embodiment)
In a first aspect, being applied to roller shutter equipment, the roller shutter equipment includes: electricity the present embodiment provides a kind of control device
Machine, the control device include: controller, motor-drive circuit and magnetic field detection circuit.The controller respectively with the electricity
Drive circuit and magnetic field detection circuit electrical connection;The motor-drive circuit is electrically connected with the motor.The motor
Driving circuit is used to control the rotation of the motor.The magnetic field detection circuit is used to detect magnetic field of the motor in rotation
Variation, and pulse signal corresponding with the changes of magnetic field is generated, and the pulse signal is sent to the controller.Institute
Controller is stated for calculating the circle number of the motor rotation according to the pulse signal and controlling the electricity according to the circle number
Drive circuit, so that the motor-drive circuit controls the motor and stops.In the embodiment of the present application, pass through magnetic field detection
Circuit detects changes of magnetic field of the motor in rotation, and generates pulse signal corresponding with the changes of magnetic field, and will
The pulse signal is sent to the controller, then by controller based on pulse signal calculate the circle number of the motor rotation with
And stopped according to the circle number control motor of motor rotation, and then control the stop position of roller shutter, compared with prior art, limit connects
Continuous property is more preferable, and equipment is less, and cost is relatively low.
The technical solution provided with reference to the above first aspect, in some possible implementations, the magnetic field detection electricity
Road includes: magnetic field sensor and pulse conversion circuit, the pulse conversion circuit electricity respectively with the controller and the magnetic field
Sensor connection.The magnetic field sensor is used to detect changes of magnetic field of the motor in rotation, and is become according to the magnetic field
Metaplasia is at corresponding electric signal.The pulse conversion circuit is used to the electric signal being converted into pulse signal, and by the arteries and veins
It rushes signal and is sent to the controller.In the embodiment of the present application, the electricity transmitted magnetic field sensor by pulse conversion circuit
Signal is converted into pulse signal, in order to which controller can calculate the circle number of motor rotation according to pulse frequency.
The technical solution provided with reference to the above first aspect, in some possible implementations, the pulses switch electricity
Road includes: the first optocoupler, and the anode connection power supply of first optocoupler, the cathode of first optocoupler connects magnetic field sensor,
The collector of first optocoupler is connect with the controller, the emitter ground connection of first optocoupler.In the embodiment of the present application
In, shaping isolation is carried out by the signal that the first optocoupler can transmit magnetic field sensor, reduces the interference of counting.
The technical solution provided with reference to the above first aspect, in some possible implementations, the magnetic field sensor
For Hall sensor.In the embodiment of the present application, Hall sensor is selected to carry out magnetic field detection, high sensitivity, measurement is accurate, and
Hall sensor small volume, it is easy to use.
The technical solution provided with reference to the above first aspect, in some possible implementations, the control device is also
Including lock-rotor detection circuit, the lock-rotor detection circuit is electrically connected with the controller and the motor-drive circuit respectively, institute
State lock-rotor detection circuit for detect the motor whether stall, when detecting the motor rotation blockage, Xiang Suoshu controller hair
Send stall signal.In the embodiment of the present application, lock-rotor detection circuit for detect motor whether stall, when motor rotation blockage, to
The controller sends stall signal, so that controller control motor stops, and then avoids the occurrence of due to motor rotation blockage and causes
The case where motor damage.
The technical solution provided with reference to the above first aspect, in some possible implementations, the stall detection electricity
Road includes: amplifier comparison circuit and isolation circuit, and input terminal and the motor-drive circuit of the amplifier comparison circuit are electrically connected
It connects, the output end of the amplifier comparison circuit is connect with the isolation circuit input terminal, the output end of the isolation circuit and institute
State controller electrical connection.The amplifier comparison circuit is for amplifying motor operating voltage, and by amplified motor operating voltage
It is compared with reference voltage, exports high level or low level, wherein amplified motor operating voltage is greater than reference voltage
When, export the high level.When amplified motor operating voltage be greater than the reference voltage when, the isolation circuit for pair
The level signal of the amplifier comparison circuit output carries out shaping isolation, and generates stall signal, and send out to the controller
Send the stall signal.In the embodiment of the present application, operating voltage is compared with reference voltage by amplifier comparison circuit,
More accurately judge whether motor the case where stall occurs, shaping isolation is carried out to signal further through isolation circuit, is reduced
Transmitted noise interference.
The technical solution provided with reference to the above first aspect, in some possible implementations, the amplifier is more electric
Road includes: operational amplifier circuit and comparison circuit;The first input end of the operational amplifier circuit is electrically connected with the motor-drive circuit, institute
State the second input end grounding of operational amplifier circuit, the first input end company of the output end of the operational amplifier circuit and the comparison circuit
It connects, the first input end of the operational amplifier circuit is also connect with the output end of itself.Second input terminal of the comparison circuit and institute
State reference voltage connection;The output end of the comparison circuit is connect with the input terminal of the isolation circuit.In the embodiment of the present application
In, it first passes through operational amplifier circuit and first amplifies motor operating voltage and be compared in comparison circuit again, so that comparison result is more
Accurately, and then more accurately judge whether motor the case where stall occurs.
The technical solution provided with reference to the above first aspect, in some possible implementations, the isolation circuit packet
It includes: the second optocoupler.The anode of second optocoupler is connect with the amplifier comparison circuit.The cathode of second optocoupler with it is described
The emitter of second optocoupler is grounded, and the collector of second optocoupler is connect with the controller.In the embodiment of the present application,
Shaping isolation is carried out to signal by the second optocoupler, reduces transmitted noise interference.
The technical solution provided with reference to the above first aspect, in some possible implementations, the control device is also
It include: telecommunication circuit, the telecommunication circuit is electrically connected with the controller;The telecommunication circuit is used to establish communication link with terminal
It connects.In the embodiment of the present application, by telecommunication circuit, staff may be implemented, remote control is carried out to motor, be convenient for work
Control of the personnel to motor.
Second aspect, the present embodiment provides a kind of roller shutter equipment, comprising: motor and the control such as the offer of above-mentioned first aspect
Device, the motor are electrically connected with the control device, and the control device is for controlling starting and stopping for motor.
Other feature and advantage of the application will be illustrated in subsequent specification, also, partly be become from specification
It is clear that being understood by implementing the embodiment of the present invention.The purpose of the application and other advantages can be by written
Specifically noted structure is achieved and obtained in specification and attached drawing.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application is described, and is shown
So, described embodiment is some embodiments of the present application, instead of all the embodiments.Usually described in attached drawing here
It can arrange and design with a variety of different configurations with the component of the embodiment of the present application shown.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase
Mutually combination.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
In the description of the embodiment of the present application, in addition, term " first ", " second ", " third " etc. are only used for distinguishing description,
It is not understood to indicate or imply relative importance.
Currently, roller shutter equipment on the market is based primarily upon the electric machine control system of PLC programming, for the stop position of roller shutter
Limitation often utilize the equipment such as encoder, photoelectric position limit controller, physics limit control, the system equipment is more and price is high
Expensive, globality is poor when limit, and discontinuous.
In view of the above problems, present inventor proposes following embodiment to solve above-mentioned ask by the exploration that studies for a long period of time
Topic.
Referring to FIG. 1, the embodiment of the present application provides a kind of control device 100 applied to roller shutter equipment.The control device
100 include: controller 10, magnetic field detection circuit 20 and motor-drive circuit 30.The roller shutter equipment further include: motor.Wherein, should
Controller 10 is electrically connected with motor-drive circuit 30 and magnetic field detection circuit 20 respectively.The motor-drive circuit 30 is electrically connected with motor
It connects, which is used to control the rotation of the motor.
Wherein, roller shutter equipment is for opening and closing roller shutter, and optionally, roller shutter equipment can be agricultural roller shutter equipment, agriculture
It is mainly used for reasonably controlling the stop position of roller shutter according to the growing state of crops with roller shutter equipment, correspondingly, roller shutter is set
It is standby to can also be rolling screen door, in this regard, the application is not construed as limiting.
In the embodiment of the present application, changes of magnetic field of the motor in rotation is detected by magnetic field detection circuit 20, and
Pulse signal corresponding with the changes of magnetic field is generated, and the pulse signal is sent to the controller 10, then pass through
Controller 10 calculates the circle number of the motor rotation based on pulse signal and is stopped according to the circle number control motor of motor rotation,
And then the stop position of roller shutter is controlled, compared with prior art, limit continuity is more preferable, and equipment is less, and cost is relatively low.
Wherein, which is electrically connected with motor-drive circuit 30 and magnetic field detection circuit 20 respectively, the controller 10
The circle number of pulse signal and then calculating motor rotation for being transmitted based on magnetic field detection circuit 20, and then according to circle number control electricity
Drive circuit 30, so that motor-drive circuit 30 controls motor stalls.For example, setting motor turn to 40 circles when
It waits and stops, when the circle number of motor rotation, which is calculated, by pulse signal in controller 10 encloses for 40, control motor-drive circuit
30, so that motor stalls.Correspondingly, the controller 10 can also directly control motor-drive circuit 30 and then control motor
Start and stop.
Optionally, controller 10 can be a kind of IC chip, the processing capacity with signal.Above-mentioned controller
10 can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit
(Network Processor, NP) etc.;Can also be digital signal processor (Digital Signal Processing,
DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate
Array (Field Programmable Gate Array, FPGA), single-chip microcontroller or other programmable logic device, discrete gate
Or transistor logic, discrete hardware components.In this regard, the application is not construed as limiting.The control used in the embodiment of the present application
Device 10 is single-chip microcontroller, the model ATmega8 of the single-chip microcontroller.ATmega8 is a using Low-Power CMOS
8 lists of (Complementary Metal Oxide Semiconductor, complementary metal oxide semiconductor) technique production
Piece machine.The ATmega8 speed of service is fast, and code efficiency is high.
Wherein, which is used to detect changes of magnetic field of the motor in rotation, and generates and become with magnetic field
Change corresponding pulse signal, and pulse signal is sent to controller 10.As an alternative embodiment, the magnetic field
Detection circuit 20 includes: magnetic field sensor and pulse conversion circuit 201 (can refer to Fig. 2).Pulse conversion circuit 201 respectively with control
Device 10 processed is connected with magnetic field sensor.
In the embodiment of the present application, the electric signal that magnetic field sensor transmits is converted by arteries and veins by pulse conversion circuit 201
Signal is rushed, in order to which controller 10 can calculate the circle number of motor rotation according to pulse frequency.
As an alternative embodiment, the pulse conversion circuit 201 includes: the first optocoupler.The anode of first optocoupler
Power supply is connected, the cathode of the first optocoupler connects magnetic field sensor, and the collector of the first optocoupler is connect with controller 10, the first optocoupler
Emitter ground connection.
In the embodiment of the present application, shaping isolation is carried out by the signal that the first optocoupler can transmit magnetic field sensor,
Reduce the interference counted.
Optionally, the model EL3H7 of the first optocoupler in the embodiment of the present application, the first optocoupler EL3H7 are four payment to a porter
Property optocoupler, it is to be understood that can also select the optocoupler of other models, such as PC111, or select six foot linear optical couplings,
Such as LP632, PC614 etc., in this regard, the application is not construed as limiting.
Optionally, referring to Fig. 2, Fig. 2 is a kind of circuit diagram of pulse conversion circuit 201 provided by the embodiments of the present application,
The pin 1 (i.e. the anode of the first optocoupler EL3H7) of first optocoupler EL3H7 connects power supply, the pin 2 of first optocoupler EL3H7
(i.e. the cathode of the first optocoupler EL3H7) connects magnetic field sensor, (i.e. the first optocoupler EL3H7 of pin 3 of first optocoupler EL3H7
Emitter) ground connection;The pin 4 (i.e. the collector of the first optocoupler EL3H7) of first optocoupler EL3H7 is connect with controller 10.
Optionally, the pin 2 of first optocoupler EL3H7 connect with magnetic field sensor in circuit connect a resistance R7 and shine
Diode (LED) 4, the pin 2 of first optocoupler EL3H7 connect the anode of Light-emitting diode LED 4, the Light-emitting diode LED 4
Cathode connects one end of resistance R7, and the other end of resistance R7 is connect with magnetic field sensor.Optionally, the pulse conversion circuit is also
Including with pull-up resistor R5, one end of pull-up resistor R5 is connect with the pin 4 of the first optocoupler EL3H7, pull-up resistor R5's
The other end connects power supply.
When motor turns to magnetic field sensor position, pin EXT_INPUT_1 exports low level, makes light emitting diode
LED4 conducting, and then makes the LEDs ON inside the first optocoupler EL3H7, and then from INPUT_1 output pulse signal.
Wherein, magnetic field sensor is for detecting the changes of magnetic field of motor during rotation, and is generated according to changes of magnetic field
Corresponding electric signal, then electric signal is sent to pulse conversion circuit 201.As an alternative embodiment, the magnetic field passes
Sensor is Hall sensor.Hall sensor is selected to carry out magnetic field detection, high sensitivity, measurement is accurate, and hall sensing body
Product is smaller, easy to use.The Hall sensor is used to detect the changes of magnetic field of the gear of motor during rotation.And according to magnetic
Field variation generates corresponding electric signal.It is understood that the magnetic field sensor can also be other sensors, such as Wigan
Moral sensor, magnetoresistive sensor etc., in this regard, the application is not construed as limiting.
Wherein, motor-drive circuit 30 is electrically connected with controller 10 and motor respectively, which is used for root
The control signal transmitted according to controller 10 controls starting and stopping for motor in turn.As an alternative embodiment, motor
Driving circuit 30 includes: motor drive ic.Single-chip microcontroller is connect by I/O interface with motor drive ic, motor drive ic
The connection of the input terminal of output end and motor, motor drive ic is for controlling starting and stopping for motor.
The model L293D for the motor drive ic selected in the embodiment of the present application.L293D is a single chip integrated height
Voltage, high current, 4 channel motor drive ics.It can be understood that the motor drive ic is also an option that other models,
Such as A4954.In this regard, the application is not construed as limiting.
Optionally, referring to FIG. 3, the motor-drive circuit 30 further include: diode D9, diode D10, diode D11
With diode D12.The anode of diode D9 is connect with the pin 3 of motor drive ic L293D, the anode of diode D9
It is also connect with the first input end of motor, the anode of diode D9 is also connect with the cathode of diode D10.Diode D9's
Cathode connects power supply.
The cathode of diode D10 is connect with the pin 3 of motor drive ic L293D, and the cathode of diode D10 is also
It is connect with the first input end of motor, the plus earth of diode D10.
The anode of diode D11 is connect with the pin 6 of motor drive ic L293D, and the anode of diode D11 is also
It is connect with the second input terminal of motor, the anode of diode D11 is also connect with the cathode of diode D12.Diode D11's
Cathode connects power supply.
The cathode of diode D12 is connect with the pin 6 of motor drive ic L293D, and the cathode of diode D12 is also
It is connect with the second input terminal of motor, the plus earth of diode D12.
Wherein, when motor drive ic L293D receives the enable signal of controller 10, motor drive ic L293D
Pin 3 and pin 6 work normally.When pin 2 receives high level signal, and pin 7 receives low level signal, diode
D9 conducting, control motor rotate forward.When pin 7 receives high level signal, and pin 2 receives low level signal, diode D11
Conducting controls motor reversal.
As an alternative embodiment, the control device 100 further includes lock-rotor detection circuit 40.Lock-rotor detection circuit
40 are electrically connected with controller 10 and motor-drive circuit 30 respectively, and lock-rotor detection circuit 40 is for detecting whether the motor blocks up
Turn, when detecting motor rotation blockage, sends stall signal to controller 10.In the embodiment of the present application, lock-rotor detection circuit 40
For detect motor whether stall, when motor rotation blockage, Xiang Suoshu controller 10 send stall signal so that controller 10 control
Motor stops, and then the case where avoid the occurrence of due to motor rotation blockage and lead to motor damage.
As an alternative embodiment, lock-rotor detection circuit 40 includes: amplifier comparison circuit and isolation circuit.
Wherein, the input terminal of amplifier comparison circuit is electrically connected with motor-drive circuit 30, the output end of amplifier comparison circuit
It is connect with isolation circuit input terminal.
Amplifier comparison circuit for amplifying motor operating voltage, and by amplified motor operating voltage and reference voltage into
Row compares, and exports high level or low level, wherein when amplified motor operating voltage is greater than reference voltage, exports high level.
As an alternative embodiment, amplifier comparison circuit includes: operational amplifier circuit and comparison circuit, operational amplifier circuit
First input end is electrically connected with motor-drive circuit 30, the second input end grounding of operational amplifier circuit, the output end of operational amplifier circuit with
The first input end of comparison circuit connects, and the first input end of operational amplifier circuit is also connect with the output end of itself.Comparison circuit
Second input terminal is connect with reference voltage, and the output end of comparison circuit and the input terminal of isolation circuit connect.
Wherein, operational amplifier circuit is mainly used for amplifying motor operating voltage.
Wherein, the anode of comparison circuit connects amplified motor operating voltage, the cathode connection benchmark electricity of comparison circuit
Pressure exports high level, when amplified motor operating voltage is less than when amplified motor operating voltage is greater than reference voltage
When reference voltage, low level is exported.
In the embodiment of the present application, it first passes through operational amplifier circuit and first amplifies motor operating voltage and carried out in comparison circuit again
Compare, so that comparison result is more accurate, and then more accurately judges whether motor the case where stall occurs.
Optionally, above-mentioned amplifier comparison circuit function, the model LM324 of the amplifier are realized by an amplifier.It should
Amplifier LM324 is four-operational amplifier, can be worked under the power supply of 3V to 32V.It is understood that it can also be selected
His amplifier, such as LM358 etc., in this regard, the application is not construed as limiting.
Optionally, referring to FIG. 4, the pin 2 of amplifier LM324 is connect with motor-drive circuit, amplifier LM324
Pin 3 be grounded, the pin 1 of amplifier LM324 connect with the pin 12 of amplifier LM324, and amplifier LM324's draws
Foot 1 is also connect with the pin 2 of amplifier LM324.The pin 13 of amplifier LM324 connects reference voltage, amplifier LM324's
Pin 14 is connect with isolation circuit.
Optionally, connect a resistance R31 when pin 2 of amplifier LM324 is connect with motor-drive circuit 30, resistance
One end of R31 is connect with motor-drive circuit 30, and the other end of resistance R31 is connect with the pin 2 of amplifier LM324.This is put
The pin 1 of big device LM324 is connected a resistance R32, one end of resistance R32 and the amplification when connecting with the pin 2 of amplifier LM324
The pin 2 of device LM324 connects, and the other end of resistance R32 is connect with the pin 1 of amplifier LM324.Optionally, which examines
Slowdown monitoring circuit 40 further includes resistance R34, resistance R35 and resistance R36.One end of the resistance R34 is connect with one end of resistance R31, electricity
One end of resistance R34 is also connect with motor-drive circuit 30, and the other end of the resistance R34 is connect with one end of resistance R35.Resistance
The other end of R35 is connect with one end of resistance R36, and the other end of resistance R35 is also connect with the pin 3 of amplifier LM324.Electricity
One end of resistance R36 is connect with the pin 3 of amplifier LM324, the other end ground connection of resistance R36.Optionally, stall detection electricity
Road 40 further includes slide rheostat R33, and the sliding end of slide resistor R33 is connect with the pin 13 of amplifier LM324, should
The first termination 24V voltage of slide rheostat R33, by reconciling suitable resistance value to provide accurate reference voltage.It can manage
Solution can also select suitable fixed resistance to replace the vigorously dynamic rheostat R33.In this regard, the application is not construed as limiting.
When amplified motor operating voltage is greater than reference voltage, (voltage of pin 12 is greater than the voltage of pin 13
When), pin 14 exports high level, and when amplified motor operating voltage is less than reference voltage, (voltage of pin 12 is less than
When the voltage of pin 13), export low level.
Wherein, the input terminal of isolation circuit is connect with the output end of amplifier comparison circuit, the output end of isolation circuit and control
Device 10 processed is electrically connected.The level signal that isolation circuit is used to export the amplifier comparison circuit carries out shaping isolation, and generates
Stall signal, and stall signal is sent to controller 10.In the embodiment of the present application, signal is carried out by isolation circuit whole
Shape isolation reduces transmitted noise interference.
As an alternative embodiment, the isolation circuit includes: the second optocoupler.The anode and amplifier of second optocoupler
Comparison circuit connection, the cathode of the second optocoupler and the emitter of the second optocoupler are grounded, the collector and controller of the second optocoupler
10 connections.In the embodiment of the present application, shaping isolation is carried out to signal by the second optocoupler, reduces transmitted noise interference.
Optionally, the model EL3H7 of the second optocoupler in the embodiment of the present application, the second optocoupler EL3H7 are four payment to a porter
Property optocoupler, it is to be understood that can also select the optocoupler of other models, such as PC111, or select six foot linear optical couplings,
Such as LP632, PC614 etc., in this regard, the application is not construed as limiting.
With continued reference to FIG. 4, the pin 1 (i.e. the anode of the second optocoupler EL3H7) of second optocoupler EL3H7 connects amplifier ratio
Compared with circuit, the pin 3 of pin 2 (i.e. the cathode of the second optocoupler EL3H7) and second optocoupler EL3H7 of second optocoupler EL3H7
(i.e. the emitter of optocoupler EL3H7) is grounded;The pin 4 (i.e. the collector of the second optocoupler EL3H7) of second optocoupler EL3H7 with
Controller 10 connects.
Optionally, the pin 1 of optocoupler EL3H7 connect with amplifier comparison circuit in connect a resistance R37 and light-emitting diodes
The pin 1 of pipe LED14, second optocoupler EL3H7 connect the cathode of Light-emitting diode LED 4, the anode of the Light-emitting diode LED 4
One end of resistance R37 is connected, the other end of resistance R37 is connect with amplifier comparison circuit.Optionally, which further includes
With pull-up resistor R38, one end of pull-up resistor R38 is connect with the pin 4 of the second optocoupler EL3H7, and pull-up resistor R38's is another
One end connects power supply.
As an alternative embodiment, the control device 100 further include: telecommunication circuit, telecommunication circuit and controller
10 electrical connections, telecommunication circuit are used to establish with terminal and communicate to connect.In the embodiment of the present application, pass through telecommunication circuit, Ke Yishi
Existing staff carries out remote control to motor, the control convenient for staff to motor.
Optionally, the telecommunication circuit includes a communication chip, and the signal of the communication chip is M590E.The communication chip
TCP connection can be established with server.When user sends starting motor by mobile phone or computer or stops the instruction of motor
When, corresponding instruction is sent to communication chip M590E by server, after communication chip M590E receives corresponding instruction, so
After send an instruction to controller 10, and then realize the control to motor.For example, when user sends starting motor by mobile phone
When instruction, after server receives the instruction of starting motor, the instruction for starting motor is sent to communication chip M590E, this is logical
After letter chip M590E receives the instruction of starting motor, the instruction is then sent to controller 10, controller 10 and then control
The starting of the realization motor of motor-drive circuit 30.
It is understood that the model of the communication chip can also be other, for example it can also be model ESP8266
Communication chip.In this regard, the application is not construed as limiting.
As an alternative embodiment, the control device 100 further include: power supply processing circuit.Optionally, the electricity
Source processing circuit includes voltage stabilizing chip, and external dc electricity exports the direct current of 5V, 1A after the voltage stabilizing chip, mentions for circuit chip
For stable operating voltage.In the embodiment of the present application, the model AMS1117 of the voltage stabilizing chip of selection, it is to be understood that should
Voltage stabilizing chip can also select other models, such as the voltage stabilizing chip of model LM2576.In this regard, the application is not construed as limiting.
In the embodiment of the present application, which includes: controller 10, motor-drive circuit 30, magnetic field detection electricity
Road 20, lock-rotor detection circuit 40, telecommunication circuit and power supply processing circuit.The motor is detected by magnetic field detection circuit 20 turning
Changes of magnetic field when dynamic, and pulse signal corresponding with the changes of magnetic field is generated, and the pulse signal is sent to institute
It states controller 10, then the circle number of the motor rotation based on pulse signal is calculated by controller 10 and according to motor rotation
It encloses number control motor to stop, and then controls the stop position of roller shutter, compared with prior art, limit continuity is more preferable, and equipment
Less, cost is relatively low.Meanwhile lock-rotor detection circuit 40 for detect motor whether stall, when motor rotation blockage, to the control
Device 10 sends stall signal, so that controller 10 controls motor and stops, and then avoids the occurrence of due to motor rotation blockage and leads to motor
The case where damage.In addition, staff may be implemented and carry out remote control to motor, be convenient for staff by telecommunication circuit
Control to motor.Also, stable operating voltage can be provided for circuit chip by power supply processing circuit, ensure that circuit
Normal work.
Second aspect, the present embodiment provides a kind of roller shutter equipment, comprising: motor and such as above-mentioned control device 100, namely
Control device 100 including controller 10, motor-drive circuit 30 and magnetic field detection circuit 20 etc..The motor and the control
Device 100 is electrically connected, and the control device 100 is for controlling starting and stopping for motor.
It is illustrated below with a specific example, after roller shutter equipment is equipped with above-mentioned control device 100, is opened
Motor makes roller shutter from closed state to fully opening, which calculates the circle number of motor rotation, such as when roller shutter is complete
When opening, the circle number of motor rotation is 100 circles, and then when needing to control roller shutter stopping at the position of a quarter, it is only necessary to
25 circle of motor rotation is controlled, when needing to control roller shutter and stopping to middle position, it is only necessary to control 50 circle of motor rotation.
Compared with roller shutter equipment in the prior art is equipped with various roller shutter caging devices, roller shutter equipment provided by the embodiment of the present application
It is more preferable to limit continuity, and without installing other limiting devices, cost is relatively low.
For brief introduction, the same section of the application difference embodiment is only described once, does not describe it in section Example
Place asks the description of cross-reference same section in the remaining embodiments, no longer illustrates herein.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.