CN109557867A - A kind of electrically driven curtain with position detection - Google Patents

A kind of electrically driven curtain with position detection Download PDF

Info

Publication number
CN109557867A
CN109557867A CN201910077942.2A CN201910077942A CN109557867A CN 109557867 A CN109557867 A CN 109557867A CN 201910077942 A CN201910077942 A CN 201910077942A CN 109557867 A CN109557867 A CN 109557867A
Authority
CN
China
Prior art keywords
detection
capacitor
curtain
input terminal
instrument amplifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910077942.2A
Other languages
Chinese (zh)
Other versions
CN109557867B (en
Inventor
李晗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZHENGZHOU NENGTONG NETWORK TEHCNOLOGY CO Ltd
Original Assignee
ZHENGZHOU NENGTONG NETWORK TEHCNOLOGY CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZHENGZHOU NENGTONG NETWORK TEHCNOLOGY CO Ltd filed Critical ZHENGZHOU NENGTONG NETWORK TEHCNOLOGY CO Ltd
Priority to CN201910077942.2A priority Critical patent/CN109557867B/en
Publication of CN109557867A publication Critical patent/CN109557867A/en
Application granted granted Critical
Publication of CN109557867B publication Critical patent/CN109557867B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/02Measuring arrangements characterised by the use of electric or magnetic techniques for measuring length, width or thickness
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2613Household appliance in general
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2653Roller blind, shutter, sunshade

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)

Abstract

It include detection module and data processing module the invention discloses a kind of electrically driven curtain with position detection, detection module includes detection cable, switch switching unit, first detection unit and second detection unit, detection cable is set on the track of curtain, detection cable is connected through external interface with switch switching unit, the input terminal of first detection unit is connected with detection cable and switch switching unit respectively, switch switching unit connects power supply through the first sampling resistor, first sampling resistor both ends are parallel with second detection unit, switch switching unit, first detection unit and second detection unit are connected with data processing module, data processing module uses single-chip microcontroller.The present invention can quickly detect the current location of curtain, if curtain reaches designated position, can disconnect Curtain switch, and curtain is stopped in this position, the position of curtain is paid attention to without the moment, the adjusting to curtain open/close position can be realized.

Description

A kind of electrically driven curtain with position detection
Technical field
The present invention relates to smart home fields, and in particular to a kind of electrically driven curtain with position detection.
Background technique
As the improvement of people's living standards, interior decoration and modern intelligent control are fused together conduct by some families A kind of new fashion of interior decoration, house ornamentation have intelligentized household remote-controlled curtain machine with its unique function and spy in the market Point, by the favor of finishing family.
The most basic effect of curtain is to protect the individual privacy and sunshade dust-break of owner, but traditional curtain must be manual Go to switch, it is early daily open it is late close very troublesome, the especially big curtain of villa or duplex, curtain is long and again, needs very big Power could switch curtain, especially inconvenient.
And the curtain that can only control that common electrically driven curtain has on the market is fully opened and a fully closed, some need user Moment pays attention to Curtain switch situation, can just manually control the folding position of curtain, and therefore, existing curtain cannot be adjusted arbitrarily The amplitude for saving curtain opening and closing, causes big inconvenience to user.
Summary of the invention
The purpose of the present invention is to provide a kind of electrically driven curtains with position detection, solve the unlatching of existing curtain The problem of being unable to control with closing amplitude keeps the use of curtain more intelligent and humanized.
To achieve the above object, the present invention adopts the following technical scheme:
A kind of electrically driven curtain with position detection, including detection module, data processing module and power module, the detection mould Block includes detection cable, switch switching unit, first detection unit and second detection unit, and detection cable is set to the rail of curtain On road, detection cable is connected through external interface with switch switching unit, the input terminal of first detection unit respectively with detection cable It is connected with switch switching unit, switch switching unit connects power supply through the first sampling resistor, and the first sampling resistor both ends are parallel with Second detection unit, switch switching unit, first detection unit and second detection unit are connected with data processing module, the first inspection It surveys unit and is used to detect the overall length of curtain and the current location of curtain, second detection unit is used to detect the dry spring in curtain rail Whether pipe effectively contacts with magnet, and data processing module uses single-chip microcontroller, and power module is respectively detection module and data processing Module for power supply.
Preferably, the detection cable is worked out by three conducting wires, respectively permeable copper wire, insulated copper wire and resistance Line, permeable copper wire and insulated copper wire are connected through external interface with switch switching unit respectively, the end of insulated copper wire and resistive conductor Short circuit connection, resistive conductor are also connected with first detection unit.
Preferably, the switch switching unit uses analog switch, the first input end of analog switch and the second input terminal It is connected respectively through first resistor and second resistance with the interface of single-chip microcontroller, the first open end and the second open end point of analog switch Do not connect permeable copper wire and insulated copper wire through external interface, the second open end of analog switch also with the input of first detection unit End is connected, and the first common end of analog switch is connected with the second common end, and the logic input terminal of the analog switch is through third electricity Resistance is connected with first detection unit and second detection unit respectively, and the positive power source terminal of analog switch connects the first positive pole, mould The negative power end of quasi- switch connects the first power cathode;
The first detection unit uses first instrument amplifier, and the normal phase input end of first instrument amplifier connects through first capacitor Ground, the normal phase input end of first instrument amplifier are also connected through the 4th resistance with insulated copper wire, the reverse phase of first instrument amplifier Input terminal is connected through the second capacitor with the normal phase input end of first instrument amplifier, the inverting input terminal warp of first instrument amplifier Third capacity earth, the inverting input terminal of first instrument amplifier are also connected through the 5th resistance with resistive conductor, first instrument amplification The output end of device through the 4th capacity earth, the output end of first instrument amplifier also successively through the 6th resistance, first diode and 3rd resistor is connected with the logic input terminal of analog switch, common end output the first detection letter of the 6th resistance and first diode Number, the positive power source terminal of the first instrument amplifier connects the first positive pole, the negative power end connection of first instrument amplifier First power cathode.
Preferably, the second detection unit uses second instrument amplifier, the normal phase input end of second instrument amplifier Through the 5th capacity earth, the normal phase input end of second instrument amplifier also one end phase through the 7th resistance with the first sampling resistor Even, one end of the first sampling resistor is also through the 8th resistance connection second source anode, the inverting input terminal of second instrument amplifier It is connected through the 6th capacitor with the normal phase input end of second instrument amplifier, the inverting input terminal of second instrument amplifier is through the 7th electricity Hold ground connection, the inverting input terminal of second instrument amplifier also connects the other end of the first sampling resistor through the 9th resistance, and first adopts The other end of sample resistance is also connected with resistive conductor, and the output end of second instrument amplifier through the 8th capacity earth, put by second instrument The output end of big device is also successively connected through the tenth resistance, the second diode and 3rd resistor with the logic input terminal of analog switch, The common end of tenth resistance and the second diode output the second detection signal, the positive power source terminal connection of the second instrument amplifier The negative power end of first positive pole, second instrument amplifier connects the first power cathode.
Preferably, it is additionally provided with constant-current source on the resistive conductor and generates unit, resistive conductor generates unit through constant-current source and connects Second source cathode, first detection unit generate unit with constant-current source and are connected, and constant-current source generates unit and uses voltage reference chip, The input terminal of voltage reference chip is parallel with the tenth capacitor through the 9th capacitance connection second source cathode, the 9th capacitor both ends, electricity The reference voltage output end of pressure fiducial chip is connected with the normal phase input end of dual operational amplifier, and the reverse phase of dual operational amplifier is defeated Enter end to be connected with the source electrode of metal-oxide-semiconductor, the negative power end of dual operational amplifier connects second source cathode, and dual operational amplifier is born For power end through the 11st capacity earth, the 11st capacitor both ends are parallel with the 12nd capacitor, the negative power end of voltage reference chip Also it is connected through the second sampling resistor with the source electrode of metal-oxide-semiconductor, grid of the output end of dual operational amplifier through eleventh resistor and metal-oxide-semiconductor Extremely it is connected, the drain electrode output constant current power supply of metal-oxide-semiconductor provides stabilized power source for first detection unit.
Preferably, the power module includes pressure unit and voltage conversion unit, pressure unit include respectively with direct current 12V power supply connected the first reduction voltage circuit and the second reduction voltage circuit, the first reduction voltage circuit use buck converter, buck converter Input terminal connect 12V DC power supply, the input terminal of buck converter also through the 13rd capacity earth, buck converter it is enabled End is connected through twelfth resistor with the input terminal of buck converter, and the enable end for being depressured sensor is also grounded through thirteenth resistor, The BOOT pin of the 14th capacity earth of slow turn-on end of buck converter, buck converter turns through the 15th capacitor and decompression The PH pin of parallel operation is connected, and the PH pin of buck converter is grounded through third diode, and the PH pin for being depressured sensor is also connected with There is the first inductance, the first inductance is through the 16th capacity earth, and the 16th capacitor both ends are parallel with the 17th capacitor, and the first inductance is also Successively through the 14th resistance, the 15th resistance and the 16th resistance eutral grounding, the common end connection of the first inductance and the 14th resistance Power supply output line exports the first positive pole, and the COMP pin of the decompression sensor is through the 18th capacity earth, the 18th electricity Hold both ends and is parallel with the series circuit being made of the 19th capacitor and the 17th resistance, the VSENSE pin of the decompression sensor Through the 16th resistance eutral grounding;Second reduction voltage circuit exports second source anode, and circuit structure is identical as the first reduction voltage circuit;
The voltage conversion unit includes first voltage conversion circuit and second voltage conversion circuit, and first voltage conversion circuit is adopted The first positive pole, the work clock of power adapter are connected with the work clock input terminal of power adapter, power adapter For input terminal also through the 20th capacity earth, the 20th capacitor both ends are parallel with the 21st capacitor, the energy storage electricity of power adapter Hold anode to be connected through the 22nd capacitor with the storage capacitor cathode of power adapter, the negative voltage output end warp of power adapter 23rd capacity earth, the 23rd capacitor both ends are parallel with the 24th capacitor, the negative voltage output end of power adapter Export the first power cathode;Second voltage conversion circuit exports second source cathode, circuit structure and first voltage conversion electricity Road is identical.
Preferably, the buck converter uses TPS54331 electric pressure converter, and power adapter is using ICL7660A electricity Source converter, analog switch use MAX4608 analog switch, and first instrument amplifier and second instrument amplifier are all made of AD8221 amplifier, voltage reference chip use MAX6033 voltage reference chip, and dual operational amplifier uses LM358 amplifier.
The present invention detects the overall length of curtain and the current location of curtain by first detection unit, passes through second detection unit Whether the tongue tube in detection curtain rail effectively contacts with magnet, to realize the automatic open-close of curtain, and can adjust The folding amplitude of curtain keeps the use of curtain more intelligent and humanized;First detection unit can quickly detect curtain Current location can disconnect Curtain switch if curtain reaches designated position, curtain is stopped in this position, is infused without the moment The position of meaning curtain, can be realized the adjusting to curtain open/close position.Present invention detection is sensitive, and orientation distance is long, positioning accuracy Height, has not only saved cost, but also make pipe at the problem of folding amplitude of curtain is unable to adjust automatically so as to avoid existing curtain It manages more convenient, brings great advantage to the user.Circuit diagram in the present invention is autonomous Design, simple with hardware, Advantage low in cost, acquisition data precision is high, transmission data safety is reliable.
Detailed description of the invention
Fig. 1 is the principle of the present invention block diagram;
Fig. 2 is the circuit diagram of external interface of the present invention;
Fig. 3 is the circuit diagram of switch switching unit of the present invention;
Fig. 4 is the circuit diagram of first detection unit of the present invention;
Fig. 5 is the circuit diagram of second detection unit of the present invention;
Fig. 6 is the circuit diagram that constant-current source of the present invention generates unit;
Fig. 7 is the circuit diagram of pressure unit of the present invention;
Fig. 8 is the circuit diagram of voltage conversion unit of the present invention.
Specific embodiment
Technical solution of the present invention is clearly and completely described below in conjunction with attached drawing, it is clear that described embodiment Only section Example of the invention, instead of all the embodiments.Based on the embodiments of the present invention, the common skill in this field Art personnel other all embodiments obtained without making creative work, belong to protection model of the invention It encloses.
As shown in Figures 1 to 8, the invention discloses a kind of electrically driven curtains with position detection, including detection module, number According to processing module and power module, detection module includes detection cable, switch switching unit, first detection unit and the second detection Unit, detection cable are set on the track of curtain, and detection cable is connected through external interface with switch switching unit, the first detection The input terminal of unit is connected with detection cable and switch switching unit respectively, and switch switching unit connects electricity through the first sampling resistor Source, the first sampling resistor both ends are parallel with second detection unit, switch switching unit, first detection unit and second detection unit It is connected with data processing module, first detection unit is used to detect the overall length of curtain and the current location of curtain, and the second detection is single Whether tongue tube of the member for detecting in curtain rail effectively contacts with magnet, and switch switching unit is single for switching the first detection The work of member, realizes the alternating detection of curtain length and curtain current location, and data processing module uses single-chip microcontroller, power module Respectively detection module and data processing module power supply.
Detection cable is worked out by three conducting wires, respectively permeable copper wire VCC2_LPM, insulated copper wire VCC2_LM and electricity Line VCC2_R is hindered, permeable copper wire VCC2_LPM and insulated copper wire VCC2_LM are connected through external interface with switch switching unit respectively, The end of insulated copper wire VCC2_LM is connect with resistive conductor VCC2_R short circuit, and resistive conductor VCC2_R is also connected with first detection unit, Wherein, the resistance value of the unit length of resistive conductor VCC2_R is constant.
Power module includes pressure unit and voltage conversion unit, and pressure unit includes being connected respectively with direct current 12V power supply The first reduction voltage circuit and the second reduction voltage circuit, the first reduction voltage circuit use buck converter U6, the input of buck converter U6 VIN connection 12V DC power supply is held, the input terminal VIN of buck converter U6 is also grounded through the 13rd capacitor C13, buck converter The enable end EN of U6 is connected through twelfth resistor R12 with the input terminal of buck converter U6, is depressured the enable end EN of sensor U6 It is also grounded through thirteenth resistor R13, the slow turn-on end SS of buck converter U6 is grounded through the 14th capacitor C14, buck converter The BOOT pin of U6 is connected through the 15th capacitor C15 with the PH pin of buck converter U6, the PH pin warp of buck converter U6 Third diode D3 ground connection, the PH pin of decompression sensor U6 are also connected with the first inductance L1, the first inductance L1 through the 16th electricity Hold C16 ground connection, the 16th both ends capacitor C16 are parallel with the 17th capacitor C17, and the first inductance L1 is also successively through the 14th resistance The common end of R14, the 15th resistance R15 and the 16th resistance R16 ground connection, the first inductance L1 and the 14th resistance R14 connect electricity Source output line, exports the first positive pole VCC1, VCC1=9V, and the COMP pin of decompression sensor U6 connects through the 18th capacitor C18 Ground, the 18th both ends capacitor C18 are parallel with the series circuit being made of the 19th capacitor C19 and the 17th resistance R17, and decompression passes The VSENSE pin of sensor U6 is grounded through the 16th resistance R16;The output of second reduction voltage circuit second source anode VCC2, VCC1= 7V, circuit structure are identical as the first reduction voltage circuit.
Voltage conversion unit includes first voltage conversion circuit and second voltage conversion circuit, and first voltage conversion circuit is adopted With power adapter U7, work clock input terminal OSC connection the first positive pole VCC1 of power adapter U7, power adapter The work clock input terminal OSC of U7 is also grounded through the 20th capacitor C20, and the 20th both ends capacitor C20 are parallel with the 21st electricity Hold C21, the positive storage capacitor CAP+ of power adapter U7 is through the storage capacitor of the 22nd capacitor C22 and power adapter U7 Cathode CAP- is connected, and the negative voltage output end vo ut of power adapter U7 is grounded through the 23rd capacitor C23, the 23rd capacitor The both ends C23 are parallel with the 24th capacitor C24, and the negative voltage output end vo ut of power adapter U7 exports the first power cathode VEE1, VEE1=- 9V;Second voltage conversion circuit exports second source cathode VEE2, VEE2=- 7V, circuit structure and first Voltage conversion circuit is identical.
Switch switching unit is using analog switch U1, the first input end IN1 of analog switch U1 and the second input terminal IN2 points It is not connected through first resistor R2 and second resistance R3 with P5.3 the and P5.4 interface of single-chip microcontroller, the first open end of analog switch U1 NO1 and the second open end NO2 is respectively through the permeable copper wire VCC2_LPM and insulated copper wire VCC2_LM of external interface J1 connection, simulation The second open end NO2 of switch U1 is also connected with the input terminal of first detection unit, the first common end COM1 of analog switch U1 Be connected with the second common end COM2, the logic input terminal VL of analog switch U1 through 3rd resistor R3 respectively with first detection unit and Second detection unit is connected, positive power source terminal V+ connection the first positive pole VCC1 of analog switch U1, the negative electricity of analog switch U1 Source V- the first power cathode of connection VEE1;Switch switching unit is used to switch the work of first detection unit, realizes that curtain is long The alternating of degree and curtain current location detects, and guarantees to connect in only one analog switch of synchronization, when analog switch U1's When first open end NO1 is connected, first detection unit detects the current location of curtain, when the second open end of analog switch U1 When NO2 is connected, first detection unit detects the overall length of curtain.
First detection unit uses first instrument amplifier U2, and the normal phase input end+IN of first instrument amplifier U2 is through the One capacitor C1 ground connection, the normal phase input end+IN of first instrument amplifier U2 is also through the 4th resistance R4 and insulated copper wire VCC2_LM phase Even, the normal phase input end of the inverting input terminal-IN of first instrument amplifier U2 through the second capacitor C2 and first instrument amplifier U2= IN is connected, and the inverting input terminal-IN of first instrument amplifier U2 is grounded through third capacitor C3, the reverse phase of first instrument amplifier U2 Input terminal-IN also generates unit with constant-current source through the 5th resistance R5 and is connected, and constant-current source generates unit and is set on resistive conductor, and first The output end OUT of instrument amplifier U2 is grounded through the 4th capacitor C4, and the output end of first instrument amplifier U2 is also successively through the 6th Resistance R6, first diode D1 and 3rd resistor R3 are connected with the logic input terminal VL of analog switch U1, the 6th resistance R6 and The common end of one diode D1 exports first detection signal R_ADC, and first detection signal R_ADC inputs single-chip microcontroller, first instrument Negative power end-VS the connection of positive power source terminal+VS connection the first positive pole VCC1, first instrument amplifier U2 of amplifier U2 One power cathode VEE1.First detection unit is used to detect the overall length of curtain and the current location of curtain, specifies if curtain reaches Position can then disconnect Curtain switch, and curtain is stopped in this position, the position of curtain is paid attention to without the moment, can be realized to window The adjusting of curtain folding position.
Second detection unit uses second instrument amplifier U3, and the normal phase input end+IN of second instrument amplifier U3 is through the Five capacitor C5 ground connection, the normal phase input end+IN of second instrument amplifier U3 is also through the 7th resistance R7's and the first sampling resistor SR1 One end is connected, and one end of the first sampling resistor SR1 is also through the 8th resistance R8 connection second source anode VCC2, second instrument amplification Inverting input terminal-the IN of device U3 is connected through the 6th capacitor C6 with the normal phase input end+IN of second instrument amplifier U3, second instrument Inverting input terminal-the IN of amplifier U3 is grounded through the 7th capacitor C7, and the inverting input terminal-IN of second instrument amplifier U3 is also through The other end of nine resistance R9 the first sampling resistor of connection SR1, the other end of the first sampling resistor SR1 also with resistive conductor VCC2_R phase Even, the output end OUT of second instrument amplifier U3 is grounded through the 8th capacitor C8, and the output end OUT of second instrument amplifier U3 is also Successively it is connected through the tenth resistance R10, the two or two pole D2 pipe and 3rd resistor R3 with the logic input terminal VL of analog switch U1, the tenth The second detection of the common end of resistance R10 and the second diode D2 output signal I_ADC, the second detection signal I_ADC input monolithic Machine, positive power source terminal+VS connection the first positive pole VCC1 of second instrument amplifier U3, the negative supply of second instrument amplifier U3 End-VS the first power cathode of connection VEE1.Whether the tongue tube that second detection unit is used to detect in curtain rail has with magnet Effect contact generates constant voltage on the first sampling resistor SR1, second instrument amplifier U3 extracts the voltage, obtains if contact To the second detection signal I_ADC and input single-chip microcontroller.
It is additionally provided with constant-current source on resistive conductor and generates unit, resistive conductor generates unit connection second source through constant-current source and bears Pole, first detection unit generate unit with constant-current source and are connected, and constant-current source generates unit and uses voltage reference chip U4, voltage reference For the input terminal IN of chip U4 through the 9th capacitor C9 connection second source cathode VEE2, the 9th both ends capacitor C9 are parallel with the tenth capacitor The reference voltage output end OUTS of C10, voltage reference chip U4 are connected with the normal phase input end of dual operational amplifier U5, double operations The inverting input terminal of amplifier U5 is connected with the source electrode of metal-oxide-semiconductor Q1, and the negative power end of dual operational amplifier U5 connects second source The negative power end of cathode VEE2, dual operational amplifier U5 are grounded through the 11st capacitor C11, and the 11st both ends capacitor C11 are parallel with 12nd capacitor C12, the negative power end of voltage reference chip U5 are also connected through the second sampling resistor SR2 with the source electrode of metal-oxide-semiconductor Q1, The output end of dual operational amplifier U5 is connected through eleventh resistor R11 with the grid of metal-oxide-semiconductor Q1, and the drain electrode of metal-oxide-semiconductor Q1 exports permanent Galvanic electricity source CC_xuA, provides stabilized power source for first detection unit.Input power is successively through voltage reference chip U4 and double operations After amplifier U5, stable voltage is formed, to provide stabilized power source for a detection unit.
In the present embodiment, buck converter U6 uses TPS54331 electric pressure converter, and power adapter U7 is used ICL7660A power adapter, analog switch U1 use MAX4608 analog switch, and first instrument amplifier U2 and second instrument are put Big device U3 is all made of AD8221 amplifier, and voltage reference chip U4 uses MAX6033 voltage reference chip, dual operational amplifier U5 Using LM358 amplifier.
The present invention at work, will test cable and be placed in the track of curtain, and first detection unit detects the total of curtain Long and curtain current location, whether the tongue tube that second detection unit detects in curtain rail effectively contacts with magnet, if connecing Touching, then constant-current supply CC_xuA will generate constant voltage on the first sampling resistor SR1, after second detection unit acquires It exports first detection signal I_ADC and inputs single-chip microcontroller, single-chip microcontroller control switch switch unit work, when the second of analog switch U1 When open end NO2 is connected, first detection unit detects the overall length of curtain, when the first open end NO1 of analog switch U1 is connected, First detection unit detects the current location of curtain, if curtain reaches designated position, can disconnect Curtain switch, curtain is stopped In this position, the position of curtain is paid attention to without the moment, and the adjusting to curtain open/close position can be realized.Present invention detection is sensitive, Orientation distance is long, and positioning accuracy is high, brings great advantage to the user.

Claims (7)

1. a kind of electrically driven curtain with position detection, it is characterised in that: including detection module, data processing module and power supply mould Block, the detection module include detection cable, switch switching unit, first detection unit and second detection unit, detect cable It is set on the track of curtain, detection cable is connected through external interface with switch switching unit, the input terminal of first detection unit It is connected respectively with detection cable and switch switching unit, switch switching unit connects power supply, the first sampling through the first sampling resistor Resistance both ends are parallel with second detection unit, switch switching unit, first detection unit and second detection unit and data processing Module is connected, and first detection unit is used to detect the overall length of curtain and the current location of curtain, and second detection unit is for detecting Whether the tongue tube in curtain rail effectively contacts with magnet, and data processing module uses single-chip microcontroller, and power module is respectively to examine Survey module and data processing module power supply.
2. a kind of electrically driven curtain with position detection as described in claim 1, it is characterised in that: the detection cable is by three Root conducting wire is worked out, and respectively permeable copper wire, insulated copper wire and resistive conductor, permeable copper wire and insulated copper wire connect through outside respectively Mouthful be connected with switch switching unit, the end of insulated copper wire is connect with resistive conductor short circuit, resistive conductor also with first detection unit phase Even.
3. a kind of electrically driven curtain with position detection as claimed in claim 2, it is characterised in that: the switch switching unit Using analog switch, the first input end of analog switch and the second input terminal are respectively through first resistor and second resistance and single-chip microcontroller Interface be connected, the first open end and the second open end of analog switch connect permeable copper wire and insulated copper through external interface respectively Second open end of line, analog switch is also connected with the input terminal of first detection unit, the first common end of analog switch and Two common ends are connected, and the logic input terminal of the analog switch is single with first detection unit and the second detection respectively through 3rd resistor Member is connected, and the positive power source terminal of analog switch connects the first positive pole, and the negative power end of analog switch connects the first power cathode;
The first detection unit uses first instrument amplifier, and the normal phase input end of first instrument amplifier connects through first capacitor Ground, the normal phase input end of first instrument amplifier are also connected through the 4th resistance with insulated copper wire, the reverse phase of first instrument amplifier Input terminal is connected through the second capacitor with the normal phase input end of first instrument amplifier, the inverting input terminal warp of first instrument amplifier Third capacity earth, the inverting input terminal of first instrument amplifier are also connected through the 5th resistance with resistive conductor, first instrument amplification The output end of device through the 4th capacity earth, the output end of first instrument amplifier also successively through the 6th resistance, first diode and 3rd resistor is connected with the logic input terminal of analog switch, common end output the first detection letter of the 6th resistance and first diode Number, the positive power source terminal of the first instrument amplifier connects the first positive pole, the negative power end connection of first instrument amplifier First power cathode.
4. a kind of electrically driven curtain with position detection as claimed in claim 2, it is characterised in that: the second detection unit Using second instrument amplifier, the normal phase input end of second instrument amplifier through the 5th capacity earth, second instrument amplifier Normal phase input end is also connected through the 7th resistance with one end of the first sampling resistor, and one end of the first sampling resistor is also through the 8th resistance Second source anode is connected, the inverting input terminal of second instrument amplifier is defeated through the positive of the 6th capacitor and second instrument amplifier Enter end to be connected, the inverting input terminal of second instrument amplifier is through the 7th capacity earth, the inverting input terminal of second instrument amplifier The other end of the first sampling resistor is also connected through the 9th resistance, the other end of the first sampling resistor is also connected with resistive conductor, and second The output end of instrument amplifier is through the 8th capacity earth, and the output end of second instrument amplifier is also successively through the tenth resistance, second Diode and 3rd resistor are connected with the logic input terminal of analog switch, the common end of the tenth resistance and the second diode output the Two detection signals, the positive power source terminal of the second instrument amplifier connect the first positive pole, the negative electricity of second instrument amplifier Source connects the first power cathode.
5. a kind of electrically driven curtain with position detection as described in claim 3 or 4, it is characterised in that: on the resistive conductor Be additionally provided with constant-current source generate unit, resistive conductor through constant-current source generate unit connect second source cathode, first detection unit with Constant-current source generates unit and is connected, and constant-current source generates unit and uses voltage reference chip, and the input terminal of voltage reference chip is through the 9th Capacitance connection second source cathode, the 9th capacitor both ends are parallel with the tenth capacitor, the reference voltage output end of voltage reference chip It is connected with the normal phase input end of dual operational amplifier, the inverting input terminal of dual operational amplifier is connected with the source electrode of metal-oxide-semiconductor, double fortune The negative power end for calculating amplifier connects second source cathode, and the negative power end of dual operational amplifier is through the 11st capacity earth, and the 11 capacitor both ends are parallel with the 12nd capacitor, and the negative power end of voltage reference chip is also through the second sampling resistor and metal-oxide-semiconductor Source electrode is connected, and the output end of dual operational amplifier is connected through eleventh resistor with the grid of metal-oxide-semiconductor, and the drain electrode of metal-oxide-semiconductor exports permanent Galvanic electricity source provides stabilized power source for first detection unit.
6. a kind of electrically driven curtain with position detection as claimed in claim 5, it is characterised in that: the power module includes Pressure unit and voltage conversion unit, pressure unit include the first reduction voltage circuit and second being connected respectively with direct current 12V power supply Reduction voltage circuit, the first reduction voltage circuit use buck converter, and the input terminal of buck converter connects 12V DC power supply, and decompression turns For the input terminal of parallel operation also through the 13rd capacity earth, the enable end of buck converter is defeated through twelfth resistor and buck converter Enter end to be connected, the enable end for being depressured sensor is also grounded through thirteenth resistor, the 14th electricity of slow turn-on end of buck converter Hold ground connection, the BOOT pin of buck converter is connected through the 15th capacitor with the PH pin of buck converter, buck converter PH pin is grounded through third diode, and the PH pin for being depressured sensor is also connected with the first inductance, and the first inductance is through the 16th electricity Hold ground connection, the 16th capacitor both ends are parallel with the 17th capacitor, the first inductance also successively through the 14th resistance, the 15th resistance and The common end of 16th resistance eutral grounding, the first inductance and the 14th resistance connects power supply output line, exports the first positive pole, institute The COMP pin of decompression sensor is stated through the 18th capacity earth, the 18th capacitor both ends are parallel with by the 19th capacitor and the tenth The series circuit of seven resistance composition, the VSENSE pin of the decompression sensor is through the 16th resistance eutral grounding;Second reduction voltage circuit Second source anode is exported, circuit structure is identical as the first reduction voltage circuit;
The voltage conversion unit includes first voltage conversion circuit and second voltage conversion circuit, and first voltage conversion circuit is adopted The first positive pole, the work clock of power adapter are connected with the work clock input terminal of power adapter, power adapter For input terminal also through the 20th capacity earth, the 20th capacitor both ends are parallel with the 21st capacitor, the energy storage electricity of power adapter Hold anode to be connected through the 22nd capacitor with the storage capacitor cathode of power adapter, the negative voltage output end warp of power adapter 23rd capacity earth, the 23rd capacitor both ends are parallel with the 24th capacitor, the negative voltage output end of power adapter Export the first power cathode;Second voltage conversion circuit exports second source cathode, circuit structure and first voltage conversion electricity Road is identical.
7. a kind of electrically driven curtain with position detection as claimed in claim 6, it is characterised in that: the buck converter is adopted With TPS54331 electric pressure converter, power adapter uses ICL7660A power adapter, and analog switch is simulated using MAX4608 Switch, first instrument amplifier and second instrument amplifier are all made of AD8221 amplifier, and voltage reference chip uses MAX6033 Voltage reference chip, dual operational amplifier use LM358 amplifier.
CN201910077942.2A 2019-01-28 2019-01-28 Electric curtain with position detection function Active CN109557867B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910077942.2A CN109557867B (en) 2019-01-28 2019-01-28 Electric curtain with position detection function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910077942.2A CN109557867B (en) 2019-01-28 2019-01-28 Electric curtain with position detection function

Publications (2)

Publication Number Publication Date
CN109557867A true CN109557867A (en) 2019-04-02
CN109557867B CN109557867B (en) 2020-11-06

Family

ID=65873788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910077942.2A Active CN109557867B (en) 2019-01-28 2019-01-28 Electric curtain with position detection function

Country Status (1)

Country Link
CN (1) CN109557867B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112810666A (en) * 2019-11-15 2021-05-18 比亚迪股份有限公司 Train positioning speed measuring method, equipment, system, computer equipment and storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB234025A (en) * 1923-11-14 1925-05-14 William Henry Priess Improvements in and relating to electrical valve amplifiers
US2054431A (en) * 1933-11-29 1936-09-15 Rca Corp Modulation
CN1514104A (en) * 2002-12-25 2004-07-21 ���α�����ʽ���� Shutter rolling mechanism including step-by-step motor controller for controlling upper and lower limit stop position
CN1770180A (en) * 2004-11-04 2006-05-10 数据卡公司 Apparatus for counting superposed products
CN101435988A (en) * 2008-12-09 2009-05-20 张家港市红叶视听器材有限公司 Electric coiling spacing detection device
CN201250599Y (en) * 2008-08-07 2009-06-03 陈耀华 Electric curtain controller
CN202948349U (en) * 2012-09-27 2013-05-22 郑州能通网络技术有限公司 Intelligent control circuit and outdoor intelligent electronic equipment box
CN103728892A (en) * 2013-12-23 2014-04-16 河北省农业机械化研究所有限公司 Bundling control system used for square-bundle bundling machine
CN104197819A (en) * 2014-08-20 2014-12-10 河南永兴锅炉集团有限公司 Rectangular four-corner positioning device and operating method
CN104614126A (en) * 2015-02-13 2015-05-13 郑州能通网络技术有限公司 Leakage monitoring method for building in steel-frame structure based on BIM (Building Information Modeling) technology
CN204839053U (en) * 2015-07-17 2015-12-09 杭州晶一智能科技有限公司 Intelligence electric window curtain based on power line network
CN205513986U (en) * 2016-03-30 2016-08-31 南昌工程学院 Intelligence curtain control system based on S3C2440
CN207283505U (en) * 2017-07-24 2018-04-27 深圳市振华微电子有限公司 APS amplifier power supply circuit and amplifier system
CN207784915U (en) * 2017-07-06 2018-08-31 浙江大学昆山创新中心 A kind of intelligent curtain control device
CN108562822A (en) * 2018-05-17 2018-09-21 浙江天正电气股份有限公司 Switching capacitor contactor resistive conductor detects fixture
CN108824940A (en) * 2018-05-23 2018-11-16 国网山东省电力公司菏泽市定陶区供电公司 A kind of electric pole anti-tilting apparatus

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB234025A (en) * 1923-11-14 1925-05-14 William Henry Priess Improvements in and relating to electrical valve amplifiers
US2054431A (en) * 1933-11-29 1936-09-15 Rca Corp Modulation
CN1514104A (en) * 2002-12-25 2004-07-21 ���α�����ʽ���� Shutter rolling mechanism including step-by-step motor controller for controlling upper and lower limit stop position
CN1770180A (en) * 2004-11-04 2006-05-10 数据卡公司 Apparatus for counting superposed products
CN201250599Y (en) * 2008-08-07 2009-06-03 陈耀华 Electric curtain controller
CN101435988A (en) * 2008-12-09 2009-05-20 张家港市红叶视听器材有限公司 Electric coiling spacing detection device
CN202948349U (en) * 2012-09-27 2013-05-22 郑州能通网络技术有限公司 Intelligent control circuit and outdoor intelligent electronic equipment box
CN103728892A (en) * 2013-12-23 2014-04-16 河北省农业机械化研究所有限公司 Bundling control system used for square-bundle bundling machine
CN104197819A (en) * 2014-08-20 2014-12-10 河南永兴锅炉集团有限公司 Rectangular four-corner positioning device and operating method
CN104614126A (en) * 2015-02-13 2015-05-13 郑州能通网络技术有限公司 Leakage monitoring method for building in steel-frame structure based on BIM (Building Information Modeling) technology
CN204839053U (en) * 2015-07-17 2015-12-09 杭州晶一智能科技有限公司 Intelligence electric window curtain based on power line network
CN205513986U (en) * 2016-03-30 2016-08-31 南昌工程学院 Intelligence curtain control system based on S3C2440
CN207784915U (en) * 2017-07-06 2018-08-31 浙江大学昆山创新中心 A kind of intelligent curtain control device
CN207283505U (en) * 2017-07-24 2018-04-27 深圳市振华微电子有限公司 APS amplifier power supply circuit and amplifier system
CN108562822A (en) * 2018-05-17 2018-09-21 浙江天正电气股份有限公司 Switching capacitor contactor resistive conductor detects fixture
CN108824940A (en) * 2018-05-23 2018-11-16 国网山东省电力公司菏泽市定陶区供电公司 A kind of electric pole anti-tilting apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张俊勇等: "《分光光度计前置放大器自动增益控制》", 《现代测量与实验室管理》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112810666A (en) * 2019-11-15 2021-05-18 比亚迪股份有限公司 Train positioning speed measuring method, equipment, system, computer equipment and storage medium
CN112810666B (en) * 2019-11-15 2023-02-10 比亚迪股份有限公司 Train positioning and speed measuring method, equipment, system, computer equipment and storage medium

Also Published As

Publication number Publication date
CN109557867B (en) 2020-11-06

Similar Documents

Publication Publication Date Title
CN103063979B (en) Load open-circuit detection circuit
CN104655982A (en) Patrol inspection system and method for single-phase-to-earth fault points of power distribution line
CN107105056A (en) A kind of cloud control electric meter system based on WiFi communication
CN205679749U (en) Power on/off observation circuit
CN109557867A (en) A kind of electrically driven curtain with position detection
CN204012006U (en) A kind of USB interface smart jack with pressurizer
CN204065210U (en) The isolated DC voltage collection circuit of linear change
CN203732619U (en) Three-phase alternating current data acquisition system based on MSP430F247IPM
CN206432970U (en) Circuit is detected using LM324 low cost human sense
CN202649420U (en) Circuit for detecting switch on/off state of relay
CN209624748U (en) A kind of accumulator internal resistance online testing device
CN209250275U (en) Electric vehicle alternating-current charging interface guidance circuit
CN209280821U (en) A kind of outer electric energy quality monitoring, recording instrument of household portable
CN204046266U (en) A kind of AC and DC power measure and control device
CN109752589A (en) A kind of low-voltage intelligent monitoring system
CN102901869B (en) Method and equipment for intelligently monitoring household electricity based on single-point sensing
CN208796059U (en) Control circuit for direct current push rod window executing agency
CN211402505U (en) Single-phase intelligent electric meter capable of detecting reverse connection of live wire and zero line
CN201194016Y (en) AC current detection circuit
CN203965517U (en) A kind of single-phase intelligent type electric energy meter
CN202888790U (en) Resettable over/under-voltage protector based on one-chip microcomputer
CN204633307U (en) A kind of intelligent switch device with pulsating direct current residual current protecting
CN201156662Y (en) Earthing detection protection circuit controlled by micro-controller
CN208460180U (en) A kind of electric energy collection device based on power line communication
CN203688663U (en) Power collection system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant