CN107861396A - A kind of intelligent bedroom system based on Internet of Things - Google Patents
A kind of intelligent bedroom system based on Internet of Things Download PDFInfo
- Publication number
- CN107861396A CN107861396A CN201711359654.3A CN201711359654A CN107861396A CN 107861396 A CN107861396 A CN 107861396A CN 201711359654 A CN201711359654 A CN 201711359654A CN 107861396 A CN107861396 A CN 107861396A
- Authority
- CN
- China
- Prior art keywords
- sensor
- mcu
- things
- internet
- 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.)
- Granted
Links
- 238000004891 communication Methods 0.000 claims abstract description 33
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims abstract description 16
- 230000003287 optical effect Effects 0.000 claims abstract description 4
- 238000001514 detection method Methods 0.000 claims description 31
- 239000007921 spray Substances 0.000 claims description 29
- 230000007246 mechanism Effects 0.000 claims description 24
- 230000005611 electricity Effects 0.000 claims description 8
- 230000000087 stabilizing effect Effects 0.000 claims description 6
- 230000003993 interaction Effects 0.000 claims description 5
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 claims description 4
- 229910052744 lithium Inorganic materials 0.000 claims description 4
- 230000002093 peripheral effect Effects 0.000 claims description 4
- 239000004973 liquid crystal related substance Substances 0.000 claims description 3
- 238000003079 width control Methods 0.000 claims description 2
- 230000006870 function Effects 0.000 description 32
- 238000010586 diagram Methods 0.000 description 22
- 238000013461 design Methods 0.000 description 16
- 238000012544 monitoring process Methods 0.000 description 14
- 230000005540 biological transmission Effects 0.000 description 13
- 230000000694 effects Effects 0.000 description 13
- 238000000034 method Methods 0.000 description 13
- 238000005516 engineering process Methods 0.000 description 10
- 238000010277 constant-current charging Methods 0.000 description 8
- 238000013519 translation Methods 0.000 description 8
- 230000035945 sensitivity Effects 0.000 description 7
- 230000033228 biological regulation Effects 0.000 description 6
- 238000007600 charging Methods 0.000 description 6
- 239000000523 sample Substances 0.000 description 6
- 230000000994 depressogenic effect Effects 0.000 description 5
- 230000007613 environmental effect Effects 0.000 description 5
- 239000000203 mixture Substances 0.000 description 5
- 238000007493 shaping process Methods 0.000 description 5
- 238000005507 spraying Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000005764 inhibitory process Effects 0.000 description 4
- 230000003028 elevating effect Effects 0.000 description 3
- 238000005286 illumination Methods 0.000 description 3
- 230000001939 inductive effect Effects 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 230000005855 radiation Effects 0.000 description 3
- PXHVJJICTQNCMI-UHFFFAOYSA-N Nickel Chemical compound [Ni] PXHVJJICTQNCMI-UHFFFAOYSA-N 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 230000032683 aging Effects 0.000 description 2
- 238000004378 air conditioning Methods 0.000 description 2
- 239000003990 capacitor Substances 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 230000001965 increasing effect Effects 0.000 description 2
- 230000006698 induction Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 230000001105 regulatory effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- XOLBLPGZBRYERU-UHFFFAOYSA-N tin dioxide Chemical compound O=[Sn]=O XOLBLPGZBRYERU-UHFFFAOYSA-N 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- HEZMWWAKWCSUCB-PHDIDXHHSA-N (3R,4R)-3,4-dihydroxycyclohexa-1,5-diene-1-carboxylic acid Chemical compound O[C@@H]1C=CC(C(O)=O)=C[C@H]1O HEZMWWAKWCSUCB-PHDIDXHHSA-N 0.000 description 1
- 229910001018 Cast iron Inorganic materials 0.000 description 1
- 101000972637 Homo sapiens Protein kintoun Proteins 0.000 description 1
- 235000015429 Mirabilis expansa Nutrition 0.000 description 1
- 244000294411 Mirabilis expansa Species 0.000 description 1
- 101150044039 PF12 gene Proteins 0.000 description 1
- 238000012356 Product development Methods 0.000 description 1
- 102100022660 Protein kintoun Human genes 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 239000000853 adhesive Substances 0.000 description 1
- 230000001070 adhesive effect Effects 0.000 description 1
- 238000003915 air pollution Methods 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 239000003963 antioxidant agent Substances 0.000 description 1
- 230000003078 antioxidant effect Effects 0.000 description 1
- 235000006708 antioxidants Nutrition 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000011109 contamination Methods 0.000 description 1
- 238000011217 control strategy Methods 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 238000007791 dehumidification Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000003760 hair shine Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 235000013536 miso Nutrition 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 229910052759 nickel Inorganic materials 0.000 description 1
- 238000007747 plating Methods 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000002516 radical scavenger Substances 0.000 description 1
- 238000011897 real-time detection Methods 0.000 description 1
- 230000009711 regulatory function Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000000682 scanning probe acoustic microscopy Methods 0.000 description 1
- 230000035807 sensation Effects 0.000 description 1
- 230000001568 sexual effect Effects 0.000 description 1
- 239000000779 smoke Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 229910001220 stainless steel Inorganic materials 0.000 description 1
- 239000010935 stainless steel Substances 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 238000002604 ultrasonography Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
- 238000009423 ventilation Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Selective Calling Equipment (AREA)
- Alarm Systems (AREA)
Abstract
The invention discloses a kind of intelligent bedroom system based on Internet of Things, including MCU, power module, sensor assembly, executing agency and communication module;Power module is used to power for MCU;Power module, sensor assembly, executing agency and communication module are connected with MCU;Described sensor assembly includes Temperature Humidity Sensor, rain sensor, air mass sensor, optical sensor summation current transformer;Described executing agency includes electric clothes hanger, ventilating fan and for controlling the powered off and on relay of electrical equipment;MCU drives electric clothes hanger to shrink and extend automatically by motor;Ventilating fan is controlled by MCU;Electrical equipment includes at least one of water dispenser, electric cooker and electromagnetic oven.The intelligent bedroom systemic-function based on Internet of Things is enriched, easily controllable, and security reliability is high, has anti-theft feature.
Description
Technical field
The present invention relates to a kind of intelligent bedroom system based on Internet of Things.
Background technology
Intelligent domestic system mainly develops towards the direction for personal home services, can bedroom be also to learn for student
Raw family, the place of rely study and relax, but the structure in bedroom and environment still have very with ordinary individual family
Big difference, bedroom Existential Space is narrow and small, room air exchange have some setbacks, it is circuit aging be difficult to optimize and at closing time it is indoor not
The problems such as completely enclosed.To improve student life environment, facilitate school control, difference is gone out according to the present situation in bedroom and Demand Design
It is just particularly necessary in the intelligent bedroom system of general intelligence house system.
Intelligent bedroom system is like an all-round house keeper of student dormitory, and the moment is all managing dormitory without tired
It is exhausted.Student, which has a class to open the door when returning to bedroom, no longer needs the cumbersome ground moment with key, but can pass through a card of school
Logical identification of swiping the card is opened the door.System such as detects bedroom humiture by every life data of a large amount of sensor senses bedrooms environment,
IAQ is analyzed, and optimal value is compared, and so as to which regulation makes bedroom ventilated in time, without peculiar smell, is kept most
Comfortable state.Student learns or during rest in the bedroom, can by the electrical equipment of Voice command indoor lamp, water dispenser etc
Allow them to feel very satisfied, sensation is constrained caused by the narrow space of bedroom so as to mitigate.Each school requires that student exists
Bedroom safety utilization of electric power, because change bedroom circuit over time just becomes aging, if overburden is easy to safe thing occur
Therefore intelligent bedroom system need the moment monitor bedroom circuit conditions, when detect bedroom member using it is high-power when need to cut in time
Power-off source so as to avoid occur contingency.Sometimes student at school, if giving the clothes an airing problem intelligence caused by Changes in weather
Energy bedroom system can also solve undoubtedly allow student's release trouble and worry attentively to be attended class for it.Just in case there is security situation
When, preferred plan can be used in time, as it can be found that alarm after the condition of a fire, notifies bedroom member so as to lose after discovery theft
Minimize.
Such a intelligence is provided for student, comfortable, safety living environment will make Students ' Learning more feel at ease with life.
For school, intelligent bedroom system also can help school preferably to solve management bedroom, prevent all kinds of security incidents etc.
Problem, thus intelligent bedroom system help improve student life environment and school control etc. tool be very helpful and anticipate
Justice.
S Designs in 1984 and after showing the first building intelligent building in the world, in the world the flourishing country of Economic contrast and
Area such as Canada, Australian, Japanese, European Union have all started the exploration to smart home industry, it is proposed that various
Smart home scheme so that smart home technology is gradually developed, and China currently quite payes attention to smart home technology, intelligence
Energy family product gradually comes into people's life, is serviced for people.
Cry the bedroom that Derek Low people's successful design goes out warm intelligence between one in one, the U.S..He is by mobile device with getting into bed
Indoor various electric equipments carry out interconnection communication by network, are beaten using modules such as acousto-optic electric transducer, speech recognitions
This automation bedroom has been produced, has been reached to the automatic curtain that opens a window that winds up an alarm clock of turning on light of point, bedroom has been returned to and turns on light and open a window automatically curtain,
Using the effect of the electrical equipment such as infrared remote control and cell phone application and speech identifying function manipulation electric light, and bedroom is named as BRAD,
People is allowed to feel scintillating, it is very happy.
At home, everybody is also being energetically that most effective reliable design is found in university student bedroom, utilizes microcontroller
Device and RFID radio-frequency modules design bedroom intelligent access control system, go out the difficulty left behind key and do not returned in bedroom to solve classmates
Topic, bedroom antitheft security system is have devised for easily stolen take of the great property in bedroom, but compared to external and smart home just
Seem that function is more single, system is still not enough very comprehensively and perfect, and development speed is slower.
With the horizontal increase of national economy, the more attention to education, now traditional school bedroom will be by naughty
Eliminate, the living environment that a more comfortable safety is provided for student is particularly important, therefore, it is necessary to design a kind of new base
In the intelligent bedroom system of Internet of Things.
The content of the invention
The technical problems to be solved by the invention are to provide a kind of intelligent bedroom system based on Internet of Things, should be based on Internet of Things
The intelligent bedroom system architecture of net is compact, feature-rich, the safety in energy effective guarantee bedroom.
The technical solution of invention is as follows:
A kind of intelligent bedroom system based on Internet of Things, including MCU, power module, sensor assembly, executing agency and logical
Believe module;
Power module is used to power for MCU;Power module, sensor assembly, executing agency and communication module with MCU phases
Even;
Described sensor assembly includes Temperature Humidity Sensor, rain sensor, air mass sensor, optical sensor
Summation current transformer;
Described executing agency include electric clothes hanger, ventilating fan and for control electrical equipment powered off and on after
Electrical equipment;
MCU drives electric clothes hanger to shrink and extend automatically by motor;Electric clothes hanger is existing mature technology;
Ventilating fan is controlled by MCU;
Electrical equipment includes at least one of water dispenser, electric cooker and electromagnetic oven.
Described motor is stepper motor, and MCU is rotated by sending control Pulse Width Control stepper motor.
Sensor assembly also includes infrared sensor, and MCU is connected with alarm.
The described intelligent bedroom system based on Internet of Things also includes at least one camera being connected with MCU.
Sensor assembly also includes flame sensor, also includes spray equipment in executing agency.
The described intelligent bedroom system based on Internet of Things also includes the stand-by power supply based on lithium battery.
Communication module includes wire communication module and wireless communication module;Wire communication module is WLAN module, channel radio
Letter module is at least one of WiFi module, GPRS, 3G, 4G and 5G communication module, and intelligent bedroom system passes through communication module
It is connected with server;Intelligent bedroom system is communicated to connect by communication module and smart mobile phone.
The described intelligent bedroom system based on Internet of Things also includes filling based on the gate inhibition of RFID card reader and electric door lock
Put and (read RFID card, unlock by i.e. control door lock after checking);
In power module, MP2359 output 5V voltages are used to be powered for system peripheral (sensor etc.);ASM1117-3.3V
Voltage stabilizing chip is powered for MCU;The input termination 5V voltages of ASM1117-3.3V voltage stabilizing chips;
Display screen uses TFT liquid crystal displays, and the driving chip of display screen is ILI9341, and touch chip is XPT2046.
The described intelligent bedroom system based on Internet of Things also includes the illuminator for being controlled by MCU;
In rainfall detection circuit, the first of slide rheostat R9 fixes termination VCC, direct current power source voltage 5V.Second is solid
Fixed end is grounded;Slide rheostat R9 tap terminals (sliding end) connect operational amplifier device U2 (LM393 amplifiers) inverting input,
Resistance R3 the first termination VCC ends, resistance R3 the second end is grounded by Raindrop sensor;Resistance R3 the second termination computing is put
Big device device U2 in-phase input end;Operational amplifier device U2 output end connects VCC ends by resistance R4;Operational amplifier device U2's
Output end of the output end as comparator, namely the output end of rainfall detection circuit.
The described intelligent bedroom system based on Internet of Things also includes human-computer interaction device;Described human-computer interaction device's bag
Include display screen and data/instruction inputting device;Described data/commands input unit is keyboard or touch pad.
MCU uses STM32F407 chips.
Autocontrol method:
Step 1:Presence states are detected by sensor;
Step 2:Pass through default control strategy, (remote control) control instruction at scene or long-range (mobile phone terminal) control
System instruction controls each executing agency;
Step 3:Newest status data is fed back into mobile phone end by communication module;
Control mode has two kinds:
(1) manual active monitoring site device, method, the equipment at mobile phone remote control scene;
(2) field apparatus is automatically controlled, and control result is fed back into mobile phone terminal;
Specific control method:
(1) access control;Gate inhibition alarms;
Detect that someone swarms into, start alarm;
(2) fire alarm and spray control;
Flame sensor detects fiery point, starts alarm, and start sprinkling equipment;
(3) Temperature and Humidity Control, humidifier;Air-conditioning;
By Temperature Humidity Sensor, within a preset range whether detection humiture, controlled by humidifier and air conditioner dehumidification
Humidity, pass through airconditioning control temperature;
(4) security based on infrared detection;
Detect whether valuables move by infrared sensor, move excessively, then start alarm;
(5) electrical equipment overload monitor, it is controlled based on current transformer and relay;
The operating current of electrical equipment is detected by current transformer, if controller, is cut off by relay
Electrical equipment power supply;
(6) rain sensor, clothes hanger control are based on;
Rainfall size is detected by rain sensor, rainfall is higher than threshold value, then controls clothes hanger to shrink, and otherwise controls the clothing that dries in the air
Frame expansion hangs out;And control pass window.
(7) Lighting control;Signal light control;
Shone by optical sensor detection light, illumination is higher than threshold value, and light falls lamp, when illumination is weak, opens electric light, and adjust electricity
Lamp brightness (pwm pulse control brightness).
(8) Detection of Air Quality and ventilation control;
By air mass sensor, air quality is detected, air pollution degree is higher than threshold value, then opens electric window,
Or start Air conditioner air exchange.
(9) video monitoring.
Secondly, include the backlight dimming control of display screen, the light intensity of backlight can be adjusted manually.
Beneficial effect:
The intelligent bedroom system based on Internet of Things of the present invention, using STM32F407 chips as master controller, purpose exists
Input channel is provided in display of the realization to bedroom environmental data and for Automated condtrol instruction;It is real using RFID radio-frequency techniques
Now to the automatic identification of access card so as to realizing gate function;Various kinds of sensors is arranged in the bedroom, organizes a powerful environment
Sensing network is advantageous to system and accurately judgement and operation is made to environment, to realize air adjustment, shines clothing and receives the functions such as clothing;
Secure context in the bedroom, system can be with fire-proof and theft-proof, and can accomplish bedroom current monitoring, so as to effectively prevent bedroom member
Occurs safety problem using high-power electric appliance;System can with Voice command dormitory electric appliance and can use mobile phone remote monitoring get into bed
Room environmental and control dormitory electric appliance.
System mainly realizes following functions:
(1) gate function:Magnetic card, typing or deletion access card ID are read using RC522 modules, so as to authorize access card ID
It can unlock.
(2) air adjustment:Detection bedroom air quality, humiture pass through indoor and outdoor so as to draw air quality index
Air-flow is exchanged so as to adjust bedroom air quality.
(3) speech recognition:By speech recognition technology, phonetic order is accurately judged to, and then corresponding to control and instruction
Electrical equipment.
(4) fire-proof and theft-proof:Whether the condition of a fire is whether there is by flame sensor detection interior, passes through infrared light sensor ultrasound
Wave sensor etc. is implemented to detect the positions such as bedroom important item such as computer, is just alarmed once being moved by other people.
(5) notification unit:Data or alarm are reached into mobile phone control end and receive mobile phone control order.
(6) cryptopart:Access right is fixed by setting and preserving password.
(7) overcurrent protection:Bedroom circuit maximum threshold is set, once detection circuit, which exceedes this value, will cut off circuit.
(8) automatic airing receives clothing:By environment sensing weather conditions, motor, which is made rotating forward to shine clothing and invert, receives clothing
Action.
The system possesses gate inhibition, air automatically adjusts, security protection, automatic taking clothes shine clothing, Voice command, circuit current limliting protect
Shield and data in mobile phone show with control etc. function.System uses STM32F407 chips as master controller, in environment sensing net
On the basis of network, intelligent regulation is carried out to bedroom;Gate function uses RFID radio-frequency techniques, is completed on the door by card reader
Prohibit the automatic identification of card;Bedroom safety adds current detecting on fire prevention, anti-theft feature, effectively prevents bedroom member and uses big work(
The safety problem that rate occurs;System realizes voice control electric appliance function by sound identification module;With GSM the and WIFI communication technologys
Based on, the communication between control terminal and mobile terminal is completed, realizes the monitoring to bedroom indoor environment and the remote control of electrical equipment.
The present invention can the high speed development based on technology of Internet of things, provide an intelligence, safety, comfortable life cycle for student
Border.
Brief description of the drawings
Fig. 1 is the general frame figure of present system;
Fig. 2 is power circuit principle figure;
Fig. 3 is display screen circuit theory diagrams;
Fig. 4 is the application circuit schematic diagram of DHT11 digital hygro sensors;
Fig. 5 is Detection of Air Quality circuit diagram;
Fig. 6 is rainfall detection circuit theory diagrams;
Fig. 7 is lighting detecting circuit schematic diagram;
Fig. 8 is RFID module circuit diagram;
Fig. 9 is flame detection circuit schematic diagram;
Figure 10 is electrical equipment current detecting and control relay circuit schematic diagram;
Figure 11 is the anti-theft circuit schematic diagram based on infrared tube sensor;
Figure 12 is relay circuit figure;
Figure 13 be motor-drive circuit schematic diagram (one of);
Figure 14 is motor-drive circuit schematic diagram (two);
Figure 15 is wifi transmission circuit schematic diagrams;
Figure 16 is shower nozzle and fire sensor distribution schematic diagram;
Figure 17 is the structural representation of rotating spraying shower device;
Figure 18 is the structural representation of sprayer;
Figure 19 is that display backlight adjusts circuit diagram;
Figure 20 is constant-current charge schematic diagram;
Figure 21 is camera structure schematic diagram;
Figure 22 is the general structure schematic diagram (side view) of wireless charging system;
Figure 23 is the general structure schematic diagram (top view) of wireless charging system;
Schematic diagram when Figure 24 covers for cover plate;
Schematic diagram when Figure 25 lifts for cover plate;
Label declaration:301- subregions, 302- fire sensors, 303- shower nozzles.
108- spray guns;116- drawstrings, 117- spray gun motors, 118- rotation platforms, 119- driven gears, 120- branch
Support seat, 121- rotation platform motors, the driving gears of 122- first, 123- gunjet racks.
111- crawler type walking mechanisms, 112- support platforms, the auxiliary water tanks of 113-;The sub- cameras of 114-, the auxiliary spray guns of 115-;71-
Sub- camera lens, 72- combined type camera lenses, 73- rotating shafts, 74- light-reflecting sheets, 75- photoemission and reception device, 76-CCD sensors,
77- fuselages.
201- depressed parts, 202- underlying activities platforms, the motors of 203- first, 204- limit switches, 205- guide rails, 206-
First rack rail, the driving gears of 207- second, 208- code-discs, 209- road wheels, 210- hoistable platforms, the rack rails of 211- second,
212- wires, 213- connect plugs, 214- transmitting coils, 215- scissor-type lifting mechanisms, 216- upper stratas movable platform, 217- are pushed away
Bar, the anti-press boxes of 218-, 219- removable type cover plates.
Embodiment
The present invention is described in further details below with reference to the drawings and specific embodiments:
Embodiment 1:Such as Fig. 1, whole system design is made up of following six part:
(1) control terminal uC-GUI interface operations design.Standby, menu, function are completed in control terminal transplanting uC-GUI softwares
The design at interface is set, the ability for making system possess display and input data.
(2) environmental monitoring subsystem.The location arrangements appropriate sensor composition environment sensing network of each needs in the bedroom
For obtaining the real time data of every environmental information in bedroom, such as temperature, humidity, air quality, system is also by these data
Basis for estimation and optimized integration as intelligent linkage system.
(3) intelligent entrance guard subsystem.Using RFID technique, access card is read by card reader and obtains authorization message.Every time
When swiping the card, system all can intelligently identify the information of user, if it is determined that gate control system can be automatically opened up during the member of bedroom,
Allow access into, if it is determined that user swipes the card invalid, do not allow access into.
(4) intelligent security guard subsystem.The condition of a fire is whether there is monitoring bedroom by flame sensor, supervised by infrared sensor
Survey bedroom valuables whether there is by movement, whether there is monitoring the electric current in the circuit of bedroom and overflow by current detection circuit, once
Warning message will be sent by gsm communication module to the phone number that system is specified by noting abnormalities.
(5) intelligent linkage subsystem.After main control end sets the rule or condition of Automated condtrol, supervised by environment
Data are controlled to realize to bedroom electric light, water dispenser, scavenger fan, the control for shining clothing motor etc..When receiving phonetic order such as system,
Operated automatically by speech recognition, for example receive " turning on light " phonetic order to automatically open up electric light, receive " turning off the light " language
Sound instruction will close electric light automatically.
(6) data transmission sub-system.By self-defining data host-host protocol, bedroom environment real time data is passed by WIFI
It is defeated to be shown to mobile client, while receive the control instruction that cell phone application software is sent to bedroom master control system.
The system combination student life feature is provided one for student group and gathered around by the design of six subsystem modules
There are gate inhibition, air to automatically adjust, security protection, automatic taking clothes shine clothing, Voice command, circuit current-limiting protection and data in mobile phone show
Show with control etc. function intelligent bedroom system schema.The system has function more complete compared with traditional intelligent bedroom scheme
The characteristics of face, control is more convenient, and operation is happier, meet the intellectuality in intelligent bedroom, safe, the theory of comfortableization.
Master controller in hardware system using ST companies produce based on CortexTM- M4's
STM32F407ZGT6 chips, this 32 ARM chip operating rates reach as high as 168MHz, possess 1M FLASH, can be with
Carry out floating-point operation.
In addition, such as Fig. 2-15, it is described as follows for specific peripheral circuit:
(1) power circuit:
Such as Fig. 2, input voltage is converted into 5V voltages by MP2359 and powered to system peripheral, passed through by power circuit
ASM1117-3.3V voltage stabilizing chips are powered for Master control chip.Wherein diode D3, D4, D5 utilizes one-way conduction characteristic, can be with
Prevent reversal connection from burning system;Inductance L1 and electric capacity C22, C23 etc. are mainly used to filter in circuit, ensure that power supply output is stable.
(2) display circuit
Display screen circuit such as Fig. 3;TFT liquid crystal displays, which are shown, is driven to ILI9341, and touch chip is XPT2046.Base plate size
For 5.1*8.3cm, display resolution 240x320.The effect of LCDs is to provide human-computer interaction interface and control interface.
(3) Temperature and Humidity circuit
Such as Fig. 4, DHT11 be a fast response time, resistance noise immune it is strong, it is cost-effective, can be used with single-chip microcomputer
The sensor for the measurement humiture that serial monobus is communicated.
Operation principle:DHT11 digital hygro sensors have the function of calibration humiture data signal output, inside bag
Humidity sensing element containing resistance and NTC temperature elements, it can accomplish to measure temperature and humidity simultaneously.Due to using serial single total
Line and master controller communication, are connected using STM32F407 PC4 pins with DHT11 data output pins in the present system.
DHT11 sensors are mainly system acquisition data of the Temperature and Humidity module.
(4) Detection of Air Quality circuit
MQ-135 is a sensor for being applied to measurement air quality, has extensive investigative range, higher response
And sensitivity, steady operation and other merits.
Operation principle:Such as Fig. 5, by the use of the SnO2 conductances in air the characteristics of low as the gas sensitive of sensor, such as
Fruit gaseous contamination degree increases, then sensor conductance rate can be caused to increase therewith, so as to draw corresponding signal
Output, system, which only need to be acquired and contrast to the output of this signal, can draw the contaminated degree of air.By sliding in circuit
Dynamic rheostat VR1 compositions regulation circuit sensitivity, MQ-135 sensors collect gas information, and to be then converted into voltage signal defeated
Go out, sensor output voltage signal exports the level signal of whole circuit after LM393 voltage comparator shapings.Using serial
Monobus is communicated, in the present system using STM32F407 PF13 pins and air mass sensor data output pins
Connection.MQ-135 is mainly system acquisition air quality data
MQ-135 output termination operational amplifier LM393 inverting input, VCC ends are connect by variable resistor R49
Ground, variable resistor R49 exit (partial pressure end) connect operational amplifier LM393 in-phase input end, operational amplifier LM393 works
Make in comparator pattern, operational amplifier LM393 output end is the output end of Detection of Air Quality circuit, and the output end is through two
Pole pipe LED10 and pull-up resistor R52 connects VCC ends, and when exporting high level, LED10 is lighted.Now represent that air quality is good.
(5) rainfall detection circuit
Such as Fig. 6, Raindrop sensor (or rain sensor) collection plate is using high-quality FR-04 double-side materials and uses nickel plating
Cover surface, with to anti-oxidant, the superior function such as satisfactory electrical conductivity.
Operation principle:Collection plate suqare is 5.0*4.0CM, can collect the information whether environment rains well, is led to
LM393 voltage comparators are crossed so that signal output has systematicness, potentiometer can adjust comparison voltage size, be adjusted so as to reach
Section output threshold.When in environment without raining, export as high level, when collection plate receives raindrop so as to turn on, output
For low level.After rain stops, after the raindrop on collection plate are dried and recovery output is high level.Can be by slide rheostat VR1
Composition regulation circuit sensitivity, Raindrop sensor collect raindrop information and are then converted into voltage signal output, sensor output
Voltage signal exports the level signal of whole circuit after LM393 voltage comparator shapings.This circuit is also equipped with power supply instruction
With the function of switch instruction, current limliting is carried out with 1K resistance in circuit, to prevent that electric current is excessive.Use in the present system
STM32F407 PD3 pins connect with the data output pins of Raindrop sensor.Module major function is exactly to be provided for system
The detection of the rainy information in outdoor.
The first of slide rheostat R9 fixes termination VCC (direct current power source voltage, 5V), the second fixing end ground connection;Slide and become
Resistance device R9 tap terminals (sliding end) connect operational amplifier device U2 (LM393 amplifiers) inverting input, resistance R3 the first termination
VCC ends, resistance R3 the second end are grounded by Raindrop sensor;Resistance R3 the second termination operational amplifier device U2's is same mutually defeated
Enter end;Operational amplifier device U2 output end connects VCC ends by pull-up resistor R4;Operational amplifier device U2 output end be used as than
Compared with the output end of device, namely the output end of rainfall detection circuit.
The output end of rainfall detection circuit also connects VCC ends by resistance R10 and diode, and diode (LED) 4 represents rain when bright
Measure exceeded.
(6) lighting detecting circuit
Using photo resistance as light sensor, circuit diagram is referring to Fig. 7.
Light sensor be substantially exactly one as light changes and resistance that resistance value changes, module is by photosensitive
Resistance and voltage comparator and potentiometer composition.
Operation principle:By measurement of the circuit to photo resistance so as to draw the power of ambient light, pass through voltage
Compare output so that output is stable, is not disturbed by single environment noise, and good output waveform, and driving force is strong, passes through electricity
Position device can then adjust the sensitiveness that whole module detects to light, circuit when ambient light brightness does not reach given threshold,
DO ends export high level, when the brightness of external environment light exceedes given threshold, DO ends output low level;Also have sensitivity can
Regulatory function, regulation circuit sensitivity is formed by slide rheostat VR1, photo resistance collects light information and is then converted into electricity
Signal output is pressed, sensor output voltage signal exports the level signal of whole circuit after LM393 voltage comparator shapings.
This circuit is also equipped with power supply instruction and switchs the function of instruction, current limliting is carried out with 1K resistance in circuit, to prevent that electric current is excessive.
Connected in the present system using STM32F407 PC11 pins with the data output pins of light sensor, PC11 pins are
ADC gathers pin, to signal voltage collection analysis inside STM32, so as to draw light intensity.Module major function is detection ring
The change of environmental light, and gather in time to system.
Circuit connecting mode is as follows:
The first of slide rheostat R6 fixes termination VCC (direct current power source voltage, 5V), the second fixing end ground connection;Slide and become
Resistance device R6 tap terminals (sliding end) connect operational amplifier device U1 (LM393 amplifiers) inverting input, resistance R1 the first termination
VCC ends, resistance R1 the second end are grounded by photo resistance;Resistance R1 the second termination operational amplifier device U1 homophase input
End;Operational amplifier device U1 output end connects VCC ends by resistance R2;Operational amplifier device U1 output end is as comparator
Output end, namely the output end of lighting detecting circuit.
The output end of lighting detecting circuit also connects VCC ends, table when diode (LED) 2 is bright by resistance R7 and diode (LED) 2
Show that illumination is exceeded.
(7) RFID module circuit diagram
Such as Fig. 8, RC522 is the non-contact highly integrated of the 13.56MHz for the low-voltage low cost small size that NXP companies propose
Read-write card, it is now widely used for the product developments such as intelligence instrument portable handheld device.
Operation principle:RC522 uses advanced modulation-demodulation technique, is integrated with all at 13.56 mhz passive and non-connects
Communication pattern is touched, read-write antenna and the information transfer of ISO14443A/MIFARE cards and answering machine can be driven.Possess demodulating and decoding
Processing of circuit ISO14443A transponder signal, frame mistake, CRYPTO1 AESs can also be handled.Bidirectional data communication
Speed reaches 424kbit/s.RC522 uses serial communication, supports SPI, I2C, UART.
Connected with MISO lines using STM32F407 PB4 pins, connected using PB5 pins and MOSI lines in the present system
Connect, connected using PB3 pins with SCK line, connected using PG0 pins with SDA line.RC522 chips are driven by simulating SPI protocol
Technology for radio frequency is realized, completes the reading writing working to IEC14443A agreement cards on this basis.The major function of module is just
It is to make system by RC522 chip recognition access control system cards, so as to complete gate function.
(8) flame detection circuit
Flame sensor is the sensor for searching burning things which may cause a fire disaster, especially sensitive to light caused by flame.
Operation principle:The characteristics of there is discrete light radiation and continuous light radiation using heat radiation caused by flame, so can
To carry out strength investigation by 1~2 μm of near-infrared wavelength to flame temperature so as to distinguish flame.The detection range of this sensor
Increased with the increasing of the intensity of flame, detection angle is 60 degree or so, and can reach tune by adjusting comparison voltage
Save sensitivity.Regulation circuit sensitivity is formed by slide rheostat VR1, infrared receiving tube collects flame information and is then converted into
Voltage signal exports, and sensor output voltage signal exports the level letter of whole circuit after LM393 voltage comparator shapings
Number.Connected in the present system using STM32F407 PD6 pins with the data output pins of flame sensor.Flame sensor
The function of circuit is exactly to whether there is the condition of a fire for system detectio bedroom, and circuit connection is as shown in Figure 9.
(9) electrical equipment current detecting and control relay circuit
The detection to bedroom electricity consumption of intelligent bedroom system can prevent bedroom safety problem well, the electric current inspection used
Slowdown monitoring circuit operating voltage is 5V, and bearing power can connect 220V/40A equipment.
Operation principle:Inserted by bedroom alternating current wires in current transformer (or coil), produce current transformer mutual
Inducing current, bedroom electric power is bigger, and mutual inducing current is also bigger, and bedroom electric power is smaller, and mutual inducing current is also just smaller, because
This utilizes voltage comparator, can export a signal waveform, and the electric current that master controller just can obtain bedroom by AD collections is big
Small information, so as to reach detection effect.In circuit design, AC mutual induction electric current is converted into directly by four commutation diodes
Electric current is flowed, power filter is carried out with C3, current loop is formed by R2, the voltage that circuit need to only measure R2 both ends is i.e. available
Output signal, output signal voltage is compared so as to control relay by MCP602 voltage comparators and reference voltage and
Output signal, relay play a part of the protection of excessively stream deenergization, and output signal then has two kinds, and one kind is simulation
Amount, is exported by DOUT, and it is TTL low and high levels to also have one kind, is exported by AOUT.Major function is for system detectio bedroom electric current.
Detailed circuit design is illustrated in fig. 10 shown below
U4 is voltage follower.
Circuit describes:
Such as Figure 10, current transformer L2 is in parallel with resistance R17, and the output signal of current transformer is through bridge rectifier;Bridge
The first end of the DC side of formula rectifier is signal end, and the second end is grounded;Described signal end connects through resistance R16 and resistance R14
Ground;Resistance R16 and resistance R14 tie point connects the in-phase input end of operational amplifier U3 (being used as comparator), and computing is put
Big device U3 inverting input is grounded by resistance R19, and operational amplifier U3 output end meets triode Q4 (NPN through resistance R18
Type triode) b poles, triode Q4 e poles ground connection, operational amplifier U3 output end is grounded by resistance R21;
One end of triode Q4 c poles contact relay coil, another termination VCC of relay coil;The contact of relay
Switch is serially connected in the power supply circuit (or socket) of electrical equipment.
Meanwhile described signal end is also output to MCU ADC ports (A/D by voltage follower U4 and resistance R27
Conversion port), realize the real-time detection of electric current.
(10) the antitheft detection circuit based on infrared sensor
Infrared tube sensor is operated using launching infrared ray and receiving infrared-ray as medium, by infrared transmitting tube,
Infrared receiving tube, comparator etc. form.Whether there is monitoring bedroom valuables and moved by infrared sensor.
Operation principle:Such as Figure 11, infrared signal is launched by transmitting tube, reception pipe receives, once reception pipe does not receive
There is obstruction bright centre, whether can be used in detection object by mobile direction.The modular circuit can be well adapted for residing
Ambient light, high-low signal level can be exported after comparator is handled.With it is anti-interference, be easily achieved, cost is low etc.
Advantage.Infrared receiving tube collects infrared ray information and is then converted into voltage signal output, and sensor output voltage signal passes through
The level signal of whole circuit is exported after LM393 voltage comparator shapings.This circuit is also equipped with power supply instruction and switchs instruction
Function.Current limliting is carried out with 1K resistance in circuit, to prevent that electric current is excessive.Drawn in the present system using STM32F407 PF12
Pin connects with the data output pins of infrared sensor.Major function be for system provide important objects position whether there is it is mobile
Information.Circuit connecting mode is as follows:
The first of slide rheostat R62 fixes termination VCC (direct current power source voltage, 5V), the second fixing end ground connection;Slide and become
Resistance device R6 tap terminals (sliding end) connect operational amplifier device U8 (LM393) inverting input, as the reference voltage;
Vcc ends are grounded through resistance R58 and transmitting tube, are powered for transmitting tube;The first end of infrared receiving tube is connect by R59
VCC ends, the second end ground connection of infrared receiving tube;First termination operational amplifier device U8 (LM393) of infrared receiving tube same phase
Input;
Operational amplifier device U8 output end connects VCC ends by resistance R60;Operational amplifier device U8 output end be used as than
Compared with the output end of the output end of device, namely anti-theft circuit.
The output end of anti-theft circuit also connects VCC ends, table when diode (LED) 12 is bright by resistance R61 and diode (LED) 12
Show that valuables are stolen.
(11) relay circuit figure
Such as Figure 12, relay is a kind of electronic switch controller part, and it has input circuit and output loop, input circuit
Control signal can be widely used in the connection and disconnection of the output of output control loop in automatic control circuit.
Operation principle:In input circuit the adhesive and disconnection that control internal magnetic induction loop to connection are gone with less electric current
Reach the signal output of output control loop, can be by the Automatic Electronic Switch of external signal control function so as to possess.At this
The control object of system is used as in system, by the switch of control relay, removes the electrical equipment to be controlled indirectly.This
The electrical equipment for needing to use relay in system is access control, water dispenser.STM32F407 PG1 pins are used in the present system
Access control is switched, and switch of water dispenser is controlled using PD3 pins.
(12) motor-drive circuit
It is required for using motor when ventilating fan rotates and rained recovery clothes, because motor direct-electrifying speed is not met
Design requirement, thus speed when needing to work to motor is controlled by, so introducing PWM ripples, PWM ripples are that a kind of pulse is wide
Spend modulation technique, can carry out simulation control to motor, motor need of work high current, in circuit for combine PWM controls and
There is provided high current to be driven with metal-oxide-semiconductor SI2302 to motor, selection, controller controls metal-oxide-semiconductor by exporting PWM ripples
SI2302 break-make, so as to reach the purpose of controlled motor speed.Connected in the present system using STM32F407 PC0 pins
PWM1, PC1 connect PWM2., circuit design is as shown in Figs. 13 and 14.
(13) data transmission sub-system
ESP8266 is a WIFI module that transparent transmission is carried out by UART-WiFi for having super low-power consumption property, is current
WIFI equipment on the market provides the Networking Solutions & provisioned of an integral framework, and it can be used alone independent operating, also may be used
To be used as slave and the collocation of other console controllers.When making slave, SPI/SDIO interfaces or I2C/ can be passed through
UART interface and main frame are communicatively coupled.So as to realize the function of access internet.
Operation principle:Two kinds of connected modes are provided by using SDK to be operated.The first uses udp broadcast pattern,
ESP8266 first scans lower AP, obtains AP relevant information, such as the passage of work, then configures WIFI chip operations and is swept just now
Retouch to passage on go receive UDP bags, if be not received by, continue configuration ESP8266 be operated on other passage, so
Circulation, untill receiving UDP bags.Second is AP accesses, is mainly driven herein using Espressif AT command sets
ESP8266 chips are operated.Connected in the present system using STM32F407 serial ports 6 with ESP8266 modules, PA1 pins connect
TX, PA0 connect RX.Major function is to provide the data transfer mode based on ICP/IP protocol for system, enables a system to directly connect
Enter internet, data source is provided for mobile phone terminal APP softwares.Circuit design is as shown in figure 15.
In addition, there is (13) gsm communication module
The main body chip of gsm communication module is SIM900A, is GSM/GPRS double frequency modules.Its dependable performance is stable, sexual valence
Than high, the diversified demand of user disclosure satisfy that.
Operation principle:Downlink transmission rate is up to 85.6kbps, and uplink transmission rate is up to 42.8kbps.It is at this
System only completes short message sending function using AT instructions.Connected in the present system using serial ports 3 with module serial interface, PB10 connections
TX, PB11 connect RX.Major function is that the realization of the security function for system provides the transmission of information.
(14) sound identification module
Voice recognition chip LD3320 is to be designed to produce by ICRoute companies, and the module is by speech chip and processor structure
Into voice signal process part, the collecting part of voice signal is made up of miaow head, operational amplifier chip, triode etc., including
AD, D/A converter, the part such as serial ports and power supply voltage stabilizing.
Operation principle:By the distinctive voice-optimizing Processing Algorithm of ICRout companies, signer-independent sign language recognition is completed, and
And be not required to recording and training in advance, recognition accuracy is up to 96%.Identification can set 50 candidates to identify sentence, identification every time
Sentence can be by individual character, word, long and short verse composition, but length may not exceed the pinyin combinations of 10 Chinese characters or 79 bytes.It is at this
Connected in system using STM32F407 serial ports 6 with voice module, PD2 pins connect TX, PC12 and connect RX.Major function is for system
Speech identifying function is provided, phonetic order is gathered and exports to master controller.
In the present invention, spray equipment is one of its core;
Fire detection device is fire sensor, at least one of Smoke Detector, flame sensor and thermal infrared probe,
Or fire detection device uses infrared camera.
Spray equipment has 3 kinds of method for optimizing:
Embodiment 1:
Such as Figure 16, field regions are divided into N number of subregion, 301, at least provided with a fire sensor in each subregion;
Spray equipment includes N number of shower nozzle (303), is provided with a shower nozzle in each subregion, it is preferred that shower nozzle is arranged on above subregion
On support above ceiling or subregion, N is the natural number more than or equal to 4.N=9 herein;
Embodiment 2:
Such as Figure 17, spray equipment is the rotary spray dress on the ceiling or the support of top above setting at the scene
Put;
Now, (1) fire sensor is multiple to be distributed using array;Now if some or sensor detect
There is the condition of a fire in a certain region, then the spray gun on rotating spraying shower device control rotating spraying shower device is rotated to be registered to the region
Implement sprinkling fire-distinguishing;
Or (2) fire sensor uses infrared camera, the position of fire point is obtained through image procossing, then rotary spray
Spray gun on device control rotating spraying shower device rotates implements sprinkling fire-distinguishing to be registered to the fire point region.
Described rotating spraying shower device includes support base, rotation platform 118 and rotation platform motor 121;Spray gun
108 are arranged on rotation platform;
Rotation platform motor can drive rotation platform to rotate by the first transmission mechanism;Rotation platform is provided with spray gun
Motor 117, spray gun motor can pass through the angle of depression of the second transmission mechanism control main jet rifle;
The first described transmission mechanism is gear or belt wheel transmission mechanism;
The second described transmission mechanism is electric pushrod or drawstring 116, when the second transmission mechanism is drawstring, the lower end of drawstring
The front end of spray gun is arranged on, the upper end of drawstring is in the rotating shaft mounted in spray gun motor;Spray gun is mounted in gunjet rack 123
On, it is be hinged with gunjet rack, therefore, spray gun front end is downward under gravity, and therefore, its angle of depression is completely by drawstring control
System.
Embodiment 3:Implement to spray water using sprayer
Such as Figure 18, crawler type sprayer is provided with sub- camera 114 and auxiliary spray gun 115.
Crawler type sprayer is connected by water pipe with main water box;And crawler type sprayer is provided with auxiliary water tank 113.Son
Camera is used to monitor water spray action and fire-extinguishing location state, and auxiliary spray gun is used to spray water, and crawler type sprayer has radio communication mold
Block, it is controlled by remote terminal (such as mobile phone).
Fire extinguishing control method:Step 1:Monitoring fire point position;Step 2:MCU control spray equipments implement fire extinguishing;
In step 1, the method for monitoring fire point position has 2:(1) the multiple fire sensors arranged by array detect
Fire point position;(2) by infrared camera and based on image procossing monitoring fire point position;(image procossing is existing mature technology);
In step 2, controlling the method for fire extinguishing has 2:(1) shower nozzle of fire area (subregion) is controlled to implement water spray;(2) spray gun is controlled
Rotary alignment fire point, implement sprinkling fire.
In addition, MCU is connected with display screen, Figure 19 is the light adjusting circuit of display backlight, i.e. brightness regulating circuit;
Described brightness regulating circuit includes MCU, LED string, triode, potentiometer Rx and A/D converter;Triode
For NPN type triode;Rotary switch is additionally provided with the fixed mount of display screen with potentiometer Rx to be coaxially connected;
Potentiometer Rx and first resistor R1 concatenates to form partial pressure branch road, and partial pressure branch road one terminates positive source Vcc, partial pressure
The other end ground connection of branch road;Potentiometer Rx and first resistor R1 tie point connect the input of A/D converter;A/D converter
Output termination MCU data-in port;
LED string includes the LED of multiple concatenations;The positive pole of LED string meets positive source Vcc;The negative pole of LED lamp strings
The C poles of triode are connect, the E poles of triode are grounded through second resistance R2;The output end for meeting MCU of the B poles of triode.Power supply is just
Pole Vcc is 5V, and A/D converter is 8 Bits Serial output type converters.
Constant-current charging circuit is as shown in figure 20, is lithium cell charging by constant-current charging circuit, in constant-current charging circuit, respectively
Element or label declaration:
VIN+ --- -- input power positive pole.
VIN- --- -- input power negative pole.
VOUT+ --- -- out-put supply positive pole.
VOUT- ----out-put supply negative pole.
The positive pole of VREF+ --- -- reference power source
C1 is input filter capacitor.
C2 is output filter capacitor.
C3 is current sample feedback filtering.
R1, R2, R5, C3 form current sample feedback line.
R3, R4, it is voltage sample feedback circuit.
D1 is isolation diode.
Constant-current charging circuit includes constant pressure driving chip and current feedback circuit;
(1) voltage output end of constant pressure driving chip is the positive output end VOUT+ of constant-current charging circuit;Constant pressure driving chip
Negative output terminal ground connection;
Constant pressure driving chip is powered by DC-voltage supply end VIN+ and VIN-;
(2) current feedback circuit described in includes resistance R1, R2 and R5 and reference voltage end VREF+;
Reference voltage end VREF+ is grounded by resistance R1, R2 and the R5 being sequentially connected in series;
Resistance R5 and R2 tie point are the negative output terminal VOUT- of constant-current charging circuit;
Resistance R1 and R2 tie point meet the feedback end FB of constant pressure driving chip.
Constant-current charging circuit also includes voltage feedback circuit;
Voltage feedback circuit includes resistance R3 and R4 and diode D1;
Resistance R3 and R4 series connection are followed by between the positive output end VOUT+ and ground of constant-current charging circuit;Resistance R3's and R4
Tie point connects diode D1 anode;Diode D1 negative electrode meets the feedback end FB of constant pressure driving chip.
Operation principle explanation:
Using stable reference power supply as reference voltage, using R1, R2, R5 partial pressures obtain the voltage equal with FB, so as to
Remove to adjust DCDC IC inside PWM by FB to control the size of output current.For example, working as output current becomes big, in sampling electricity
Voltage on resistance R5 will raise, and because VRFE+ is fixed value, so as to be that FB voltages become big, FB becomes big, and dutycycle will subtract
It is few, so as to be that output current is reduced, and a complete feedback is completed, reach the purpose of stabling current output.
Constant current calculates:
If voltage caused by the overcurrent of R5 upstream is VIo, output current Io
Reference voltage is VREF+=2.5V,
FB voltages are VFB=0.6V,
R5=0.1 Ω, R1=40K Ω, R2=10K Ω
Then:
VIo=Io*R5
VFB=VIo+ ((VREF+-VIo) * R2/ (R1+R2))
Calculate:
Io=(VFB* (R1+R2)-R2*VREF+)/R1*R5
The equation if K=(VFB* (R1+R2)-R2*VREF+)/R1 is taken
Io=K/R5
In terms of calculation formula, Io output currents and output voltage and input voltage do not have any relation, only with VFB. R1,
R2, VREF are relevant, and these parameters are in specific design, they be all it is fixed (VFB be in stable state it is fixed, for
Chip fp7192 constant pressure chips, its steady-state value are 0.6v), so K is necessarily a fixed value, so formula:
Io=K/R5 has the fabulous linearity, and has excellent controllability.
Parameter above being assigned the occurrence being set above can obtain:
Io=(VFB* (R1+R2)-R2*VREF+)/R1*R5
=(0.6* (40+10) -10*2.5)/40*0.1
=1.25A
It can be seen that, this scheme introduces fixed VREF+ in equation more than, is only taken so that Io becomes one with R5
The linear equation of sample resistance, makes Io become constant, so as to reach the purpose of constant current.
The characteristics of constant-current circuit in this programme, is as follows:
1. use stable control and the stability control fixed VREF+ voltages, be easy to precision.
Fed back 2. current sample is become electric resistance partial pressure by use, it is more simple and reliable.
3. applicability is wide, the circuit of any required constant current can use.
In addition, such as Figure 21, camera (i.e. camera) includes fuselage 77 and combined type camera lens 72;Multiple CCD are provided with fuselage
Sensor 76, fuselage are provided with photoemission and reception device 75 for alignment lenses;
Combined type camera lens is provided with rotating shaft 73;4 sub- camera lenses 71 are integrated with combined type camera lens;Sub- camera lens is along combined type mirror
Head is arranged circumferentially;The rear end of combined type camera lens is additionally provided with the light-reflecting sheet being adapted to the photoemission with reception device
74;The stepper motor for driving rotation of lens is additionally provided with fuselage.Photoemission can be with reception device and light-reflecting sheet
More sets, preferably 2 sets, in axisymmetrical, alignment result is more preferable, and only 2 sets of photoemission and reception device and light-reflecting sheet are all right
After standard, just think that camera lens targeted by with ccd sensor, such alignment precision is higher.More sub- lens focus are different, for monitoring
Different visual angles, flexibility are good.
In addition, sprayer uses lithium battery, as power, therefore, intelligent bedroom system is additionally provided with for being sprayed water for sprayer
Charging system.Such as Figure 22-25, wireless charging module, including the support platform being arranged in depressed part 201 and it is arranged on support
Transmitting coil 214 on platform;Described support platform includes underlying activities platform 202, upper strata movable platform 216 and connection bottom
The elevating mechanism of layer movable platform and upper strata movable platform;Underlying activities platform is provided with longitudinal translation mechanism;Upper strata activity is flat
Platform is provided with laterial translation mechanism.Described elevating mechanism is cylinder formula elevating mechanism or scissor-type lifting mechanism 215.Cylinder formula lifts
Mechanism is push-down drive mechanism, such as uses pneumatic cylinder or Driven by Hydraulic Cylinder.Longitudinal translation mechanism includes being arranged on depressed part bottom
The rack rail 206 of guide rail 205 and first in portion;Described guide rail is 2;Rack rail is one, rack rail and guide rail parallel cloth
Put;Underlying activities mesa base is provided with multiple road wheels 209 that can be rolled on the guide rail;Road wheel is 4, one side 2
It is individual.The front end of underlying activities platform is provided with the first motor 203;The rotating shaft of first motor is provided with gear 207, gear with it is described
First rack rail engages;When first motor rotates, underlying activities platform can be driven along (front and rear) translation in the first rack rail longitudinal direction.It is horizontal
Include the second rack rail 211 and the second motor to translation mechanism;Second rack rail is laterally set, and the second described motor upper strata is lived
Moving platform left or right;The rotating shaft of second motor is provided with the gear being meshed with second rack rail, the rotation of the second motor
When turning, upper strata movable platform can be driven along laterally (left and right) translation of the second rack rail.The rotating shaft of first motor and the second motor
On be equipped with code-disc 208.Code-disc is used for the number of turns for detecting motor rotation, so as to be converted into the displacement of platform traveling.Depression
The opening in portion is provided with electronic removable type cover plate 19.It is electronic to refer to that motor drives, or electric signal control hydraulic cylinder or cylinder drive
It is dynamic.Removable type cover plate is 2 pieces, and the push rod for being used for driving removable type cover plate, the upper end of push rod and movable lid are provided with depressed part
Plate ground is connected.The opening of depressed part is additionally provided with anti-pushing-down mechanism 210, and when removable type cover plate flattens, anti-pushing-down mechanism can support work
Dynamic formula cover plate.Anti-pushing-down mechanism is square frame-shaped.It is high using stainless steel or cast iron quality, intensity.Described sprayer wireless charging system
System also includes control unit, and control unit includes MCU, and laterial translation mechanism and longitudinal translation mechanism are controlled by MCU;MCU is also
It is connected with communication module.Limit switch and code-disc output signals to MCU;Described the first motor and the second motor is stepping electricity
Machine.First rack rail is between 2 guide rails.The rear end of underlying activities platform is provided with limit switch 204;The front end of motor is provided with
Limit switch 204.Limit switch acts, and illustrates front or behind in place, stops motor and rotates, so as to ensure whole equipment safety
Operation.Underlying activities platform is provided with the wire with connect plug 213.Wire, which is used to connect, obtains civil power, so as to be emission lines
Circle power supply.MCU and single-phase bridge rectification and inverter circuit are additionally provided with underlying activities platform;Single-phase bridge rectification and inversion electricity
Road includes rectifier bridge and inverter bridge, and rectifier bridge uses 4 power diodes, and inverter uses 4 IGBT, and connected mode is existing
Mature technology, IGBT G poles are controlled by the pulse that MCU is sent.The input side of rectifier bridge connects with civil power, the output of rectifier bridge
Side connects transmitting coil by inverter;Rectifier bridge is used to alternating current becoming direct current, and inverter is used to change into direct current not
The alternating current of same frequency, change frequency to improve charge efficiency.
Claims (10)
1. a kind of intelligent bedroom system based on Internet of Things, it is characterised in that including MCU, power module, sensor assembly, hold
Row mechanism and communication module;
Power module is used to power for MCU;Power module, sensor assembly, executing agency and communication module are connected with MCU;
Described sensor assembly includes Temperature Humidity Sensor, rain sensor, air mass sensor, optical sensor and electricity
Current transformer;
Described executing agency includes electric clothes hanger, ventilating fan and for controlling the powered off and on relay of electrical equipment
Device;
MCU drives electric clothes hanger to shrink and extend automatically by motor;
Ventilating fan is controlled by MCU;
Electrical equipment includes at least one of water dispenser, electric cooker and electromagnetic oven.
2. the intelligent bedroom system according to claim 1 based on Internet of Things, it is characterised in that described motor is stepping
Motor, MCU are rotated by sending control Pulse Width Control stepper motor.
3. the intelligent bedroom system according to claim 1 based on Internet of Things, it is characterised in that sensor assembly also includes
Infrared sensor, MCU are connected with alarm.
4. the intelligent bedroom system according to claim 1 based on Internet of Things, it is characterised in that also including it is at least one with
Camera connected MCU.
5. the intelligent bedroom system according to claim 1 based on Internet of Things, it is characterised in that sensor assembly also includes
Flame sensor, also include spray equipment in executing agency.
6. the intelligent bedroom system according to claim 1 based on Internet of Things, it is characterised in that also include being based on lithium battery
Stand-by power supply.
7. the intelligent bedroom system according to claim 1 based on Internet of Things, it is characterised in that communication module includes wired
Communication module and wireless communication module;Wire communication module is WLAN module, wireless communication module be WiFi module, GPRS, 3G,
At least one of 4G and 5G communication modules, intelligent bedroom system are connected by communication module with server;Intelligent bedroom system
Communicated to connect by communication module and smart mobile phone.
8. the intelligent bedroom system according to claim 1 based on Internet of Things, it is characterised in that also include reading based on RFID
The entrance guard device of card device and electric door lock (reads RFID card, unlock by i.e. control door lock after checking);
In power module, MP2359 output 5V voltages are used to be powered for system peripheral (sensor etc.);ASM1117-3.3V voltage stabilizings
Chip is powered for MCU;The input termination 5V voltages of ASM1117-3.3V voltage stabilizing chips;
Display screen uses TFT liquid crystal displays, and the driving chip of display screen is ILI9341, and touch chip is XPT2046.
9. the intelligent bedroom system according to claim 1 based on Internet of Things, it is characterised in that also include being controlled by MCU
Illuminator;
In rainfall detection circuit, the first of slide rheostat R9 fixes termination VCC, the second fixing end ground connection;Slide rheostat R9
Tap terminals (sliding end) connect operational amplifier device U2 (LM393 amplifiers) inverting input, resistance R3 the first termination VCC ends,
Resistance R3 the second end is grounded by Raindrop sensor;Resistance R3 the second termination operational amplifier device U2 in-phase input end;
Operational amplifier device U2 output end connects VCC ends by resistance R4;Operational amplifier device U2 output end is as the defeated of comparator
Go out end, namely the output end of rainfall detection circuit.
10. the intelligent bedroom system according to claim 1 based on Internet of Things, it is characterised in that also including man-machine interaction
Equipment;Described human-computer interaction device includes display screen and data/instruction inputting device;Described data/commands input unit
For keyboard or touch pad.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711359654.3A CN107861396B (en) | 2017-12-17 | 2017-12-17 | Intelligent bedroom system based on Internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711359654.3A CN107861396B (en) | 2017-12-17 | 2017-12-17 | Intelligent bedroom system based on Internet of things |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107861396A true CN107861396A (en) | 2018-03-30 |
CN107861396B CN107861396B (en) | 2023-12-15 |
Family
ID=61706348
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711359654.3A Active CN107861396B (en) | 2017-12-17 | 2017-12-17 | Intelligent bedroom system based on Internet of things |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107861396B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109212986A (en) * | 2018-09-14 | 2019-01-15 | 青岛泰昌木业有限公司 | A kind of Internet of things intelligent home system |
CN110045649A (en) * | 2019-04-22 | 2019-07-23 | 湖南恒枫智能科技有限公司 | The intelligent monitoring system of multi-media classroom |
CN110488683A (en) * | 2019-08-01 | 2019-11-22 | 江苏斯菲尔电气股份有限公司 | A kind of active filter fan monitoring system |
CN111812918A (en) * | 2020-04-30 | 2020-10-23 | 广东弘景光电科技股份有限公司 | Press cover type raindrop detection automatic heating raindrop removing and steam removing camera module |
CN114625043A (en) * | 2022-02-28 | 2022-06-14 | 中国科学院深圳先进技术研究院 | Internet-based equipment action remote control system and method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06108737A (en) * | 1992-09-24 | 1994-04-19 | Matsushita Electric Works Ltd | Motor-driven lighting window device having rain sensor |
KR101252795B1 (en) * | 2012-09-24 | 2013-04-09 | 제이씨에이몬트롤 주식회사 | The apparatus of control monitorning with programmable switch |
CN105976559A (en) * | 2016-07-22 | 2016-09-28 | 四川宏图四方智能科技有限公司 | Smart home security system |
CN206162819U (en) * | 2016-11-11 | 2017-05-10 | 西安邮电大学 | Laboratory management system with environment monitor function |
CN206224745U (en) * | 2016-11-23 | 2017-06-06 | 浙江师范大学 | Bedroom intelligent safety system |
-
2017
- 2017-12-17 CN CN201711359654.3A patent/CN107861396B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06108737A (en) * | 1992-09-24 | 1994-04-19 | Matsushita Electric Works Ltd | Motor-driven lighting window device having rain sensor |
KR101252795B1 (en) * | 2012-09-24 | 2013-04-09 | 제이씨에이몬트롤 주식회사 | The apparatus of control monitorning with programmable switch |
CN105976559A (en) * | 2016-07-22 | 2016-09-28 | 四川宏图四方智能科技有限公司 | Smart home security system |
CN206162819U (en) * | 2016-11-11 | 2017-05-10 | 西安邮电大学 | Laboratory management system with environment monitor function |
CN206224745U (en) * | 2016-11-23 | 2017-06-06 | 浙江师范大学 | Bedroom intelligent safety system |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109212986A (en) * | 2018-09-14 | 2019-01-15 | 青岛泰昌木业有限公司 | A kind of Internet of things intelligent home system |
CN110045649A (en) * | 2019-04-22 | 2019-07-23 | 湖南恒枫智能科技有限公司 | The intelligent monitoring system of multi-media classroom |
CN110488683A (en) * | 2019-08-01 | 2019-11-22 | 江苏斯菲尔电气股份有限公司 | A kind of active filter fan monitoring system |
CN111812918A (en) * | 2020-04-30 | 2020-10-23 | 广东弘景光电科技股份有限公司 | Press cover type raindrop detection automatic heating raindrop removing and steam removing camera module |
CN111812919A (en) * | 2020-04-30 | 2020-10-23 | 广东弘景光电科技股份有限公司 | External raindrop detection automatic heating raindrop removing and steam removing camera module |
CN111812919B (en) * | 2020-04-30 | 2022-07-05 | 广东弘景光电科技股份有限公司 | External raindrop detection automatic heating raindrop removing and steam removing camera module |
CN111812918B (en) * | 2020-04-30 | 2022-07-05 | 广东弘景光电科技股份有限公司 | Press cover type raindrop detection automatic heating raindrop removing and steam removing camera module |
CN114625043A (en) * | 2022-02-28 | 2022-06-14 | 中国科学院深圳先进技术研究院 | Internet-based equipment action remote control system and method |
Also Published As
Publication number | Publication date |
---|---|
CN107861396B (en) | 2023-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107861396A (en) | A kind of intelligent bedroom system based on Internet of Things | |
CN108107856A (en) | A kind of field monitoring and security protection control method based on Internet of Things | |
CN108089452A (en) | A kind of multi-functional onsite monitoring and safety-protection system based on Internet of Things | |
CN204332062U (en) | Infrared signal strengthens system and remote signal transferring system | |
CN206096784U (en) | Intelligent home control system | |
CN107608318A (en) | A kind of intelligent home control system based on NB IOT | |
CN106444397A (en) | Smart home system with anti-theft function and intelligent control function | |
CN107561596A (en) | A kind of indoor energy-saving control system and control method | |
CN207700958U (en) | A kind of Multifunctional intelligent window | |
CN205107241U (en) | Formula intelligence (window) curtain is controlled to gesture | |
CN108532248A (en) | Based on Siemens LOGO!Intelligent airing hanger intelligence control system | |
CN109947071A (en) | Smart home system | |
CN202060551U (en) | Automatic curtain | |
CN207586696U (en) | A kind of detecting system for bedroom | |
CN109737075A (en) | A kind of multi-mode induced intelligent energy-saving fan | |
CN205644078U (en) | Intelligent guest room controller | |
CN210573266U (en) | Intelligent household control system | |
CN207586662U (en) | A kind of intelligence bedroom system | |
CN207939805U (en) | A kind of intelligent light control system | |
CN207007230U (en) | A kind of environmental monitoring intelligent controlling device based on mobile technology | |
CN207101083U (en) | Curtain control device | |
CN206162139U (en) | Household electric appliance intelligent control device | |
CN206162091U (en) | Intelligent housing system | |
CN205402937U (en) | Remote control's environmental conditioning system | |
CN212060919U (en) | Intelligent analysis type gesture recognition controller |
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 |