CN107092293A - A kind of indoor environment comprehensive monitoring and automatic regulating system based on DSP - Google Patents

A kind of indoor environment comprehensive monitoring and automatic regulating system based on DSP Download PDF

Info

Publication number
CN107092293A
CN107092293A CN201710473254.9A CN201710473254A CN107092293A CN 107092293 A CN107092293 A CN 107092293A CN 201710473254 A CN201710473254 A CN 201710473254A CN 107092293 A CN107092293 A CN 107092293A
Authority
CN
China
Prior art keywords
indoor environment
dsp
automatic regulating
regulating system
comprehensive monitoring
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.)
Pending
Application number
CN201710473254.9A
Other languages
Chinese (zh)
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.)
Qinghai Nationalities University
Original Assignee
Qinghai Nationalities University
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 Qinghai Nationalities University filed Critical Qinghai Nationalities University
Priority to CN201710473254.9A priority Critical patent/CN107092293A/en
Publication of CN107092293A publication Critical patent/CN107092293A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D27/00Simultaneous control of variables covered by two or more of main groups G05D1/00 - G05D25/00
    • G05D27/02Simultaneous control of variables covered by two or more of main groups G05D1/00 - G05D25/00 characterised by the use of electric means

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Air Conditioning Control Device (AREA)
  • Investigating Or Analyzing Materials By The Use Of Fluid Adsorption Or Reactions (AREA)

Abstract

The invention discloses a kind of indoor environment comprehensive monitoring based on DSP and automatic regulating system, belong to environmental monitoring and regulation technology field.Purpose aims to provide a kind of indoor environment comprehensive monitoring based on DSP28335 and automatic regulating system, can complete the monitoring of the indoor environment indexs such as temperature, humidity and CO concentration with automatically adjusting, and realize the real-time display of indices.System includes dsp chip, indoor environment data acquisition unit, indoor environment adjustment unit, RCU, dsp chip includes AD conversion module, the first I/O ports, the first serial communication interface, RCU includes the first single-chip microcomputer, and the first single-chip microcomputer is communicated to connect by bluetooth and the first serial communication interface.The system has Scheduling Block, stability and highly reliable, the low advantage of cost, it is adaptable to industrial or agricultural, and the warmhouse booth that is particularly suitable for use in etc. requires higher occasion to humiture.

Description

A kind of indoor environment comprehensive monitoring and automatic regulating system based on DSP
Technical field
Present invention relates particularly to a kind of indoor environment comprehensive monitoring based on DSP and automatic regulating system, belong to environment prison Survey and regulation technology field.
Background technology
Developing rapidly and popularizing with Microcomputer Technology, data acquisition detection turns into the detection skill become more and more important Art, is widely used in environmental monitoring and regulation field.
In the prior art, for indoor environment comprehensive monitoring and automatic regulating system, ripe product is lacked.Generally existing Scheduling time is slow, the stability of a system and poor reliability, and cost it is too high the problem of.
The content of the invention
Therefore, for the above-mentioned deficiency of prior art, the object of the invention aims to provide a kind of interior based on DSP28335 Environment comprehensive is monitored and automatic regulating system, can complete the monitorings of indoor environment index such as temperature, humidity and CO concentration and oneself Dynamic regulation, and realize the real-time display of indices.
Specifically, indoor environment comprehensive monitoring and automatic regulating system based on DSP, including dsp chip, indoor environment number According to collecting unit, indoor environment adjustment unit, RCU, the dsp chip includes AD conversion module, the first I/O ports, the Serial commu-nication interface, the RCU includes the first single-chip microcomputer, and AD conversion module connects indoor environment data acquisition unit, First I/O ports connect indoor environment adjustment unit, and the first single-chip microcomputer is communicated to connect by bluetooth and the first serial communication interface.
Further, the indoor environment data acquisition unit includes temperature sensor, humidity sensor, CO sensors.
Wherein, the temperature sensor, humidity sensor are WHTM analog voltage type Temperature Humidity Sensors, the CO sensings Device is MQ-7 carbon monoxide gas body detecting sensors.
Further, the indoor environment adjustment unit includes relay, heater, humidifier, the connection of relay one end First I/O ports, relay other end connection heater and humidifier.
Further, the indoor environment comprehensive monitoring based on DSP also includes TFT liquid crystal displays with automatic regulating system, The dsp chip also includes the second serial communication interface, the second serial communication interface connection TFT liquid crystal displays.
Further, the dsp chip model DSP28335, the first single-chip microcomputer model STC89C52.
Further, the dsp chip also include the 2nd I/O ports, the indoor environment comprehensive monitoring based on DSP with Automatic regulating system also includes second singlechip, the 2nd I/O ports connection second singlechip, second singlechip connection audio alert Module and SMS transmission module.
Wherein, the second singlechip model STC89C52.
The beneficial effects of the present invention are:
In summary, the present invention is provided indoor environment comprehensive monitoring based on DSP28335 and automatic regulating system, should Analog voltage is detected with analog-to-digital conversion and the temperature to environment, humidity, and carbon monoxide are realized by sensor Collection, is reminded by liquid crystal display and voice and SMS alarm, Environmental Status is grasped in real time;It is right with man-machine interaction (bluetooth) System is debugged, the practicality of strengthening system.Compared with the system of prior art, the monitoring that the present invention is provided is with automatically adjusting System has Scheduling Block, stability and highly reliable, the low advantage of cost, it is adaptable to industrial or agricultural, and be particularly suitable for use in warmhouse booth Higher occasion is required Deng to humiture.
Brief description of the drawings
Fig. 1 is the system block diagram of indoor environment comprehensive monitoring and automatic regulating system of the present invention based on DSP.
Fig. 2 is the Software for Design flow chart of indoor environment comprehensive monitoring and automatic regulating system of the present invention based on DSP.
Fig. 3 is DSP adc circuit functions of modules figure.
Reference is as follows:
1st, dsp chip, 2, AD conversion module, the 3, the first I/O ports, the 4, the 2nd I/O ports, the 5, first serial communication connects Mouthful, the 6, second serial communication interface, 7, bluetooth, the 8, first single-chip microcomputer, 9, second singlechip, 10, voice alarm module, 11, short Believe sending module, 12, relay, 13, heater, 14, humidifier, 15, TFT liquid crystal displays, 16, temperature sensor, 17, humidity passes Sensor, 18, CO sensors.
Embodiment
The embodiment to the present invention is illustrated below in conjunction with the accompanying drawings:
In the present embodiment, the design objective of indoor environment comprehensive monitoring and automatic regulating system based on DSP is as follows:
1st, the magnitude of voltage of collection is accurate to 0.1 and shown, the temperature collected, and humidity and carbon monoxide value are with integer Form is shown that display error is controlled within 10%;
2nd, realize that system steady and continuous works.
In the present embodiment, system completes the collection of data, processing and display using DSP28335 as key control unit.
Utilize the alarm of single-chip microcomputer STC89C52 control voices and SMS transmission module.Recycle another piece of same model single-chip microcomputer The data of regulation are simultaneously sent to dsp chip by collection button regulation data by bluetooth.Analog-to-digital conversion is carried using DSP28335 Analog-digital conversion function, the analog voltage collected is converted into digital signal samples into DSP.
The collection of ambient temperature and humidity is carried out using Temperature Humidity Sensor WHTM-02B types;Utilize MQ-7 carbon monoxide transducers Carry out the collection of carbonomonoxide concentration in environment;The display of data is carried out by TFT liquid crystal displays;By voice alarm module and Gsm module completes the alarm task of special state;Adjust warning value and alarming value in real time by Bluetooth wireless communication.
System block diagram is as shown in figure 1, figure includes:Dsp chip 1, AD conversion module 2, the first I/O ports 3, the 2nd I/O Port 4, the first serial communication interface 5, the second serial communication interface 6, bluetooth 7, the first single-chip microcomputer 8, second singlechip 9, voice Alarm module 10, SMS transmission module 11, relay 12, heater 13, humidifier 14, TFT liquid crystal displays 15, temperature sensor 16, humidity sensor 17, CO sensors 18.
System completes the collections of data, processing using TMS320F28335 chips as key control unit, send and Display.
The analog-digital conversion function of the multichannel carried using dsp chip 1 in itself, is carried out single-pass data collection, will adopted first The analog voltage collected is converted into digital signal samples into dsp chip 1;
The collection of ambient temperature and humidity is carried out using temperature sensor 16, humidity sensor 17, using CO sensors 18 to ring The CO concentration in border is acquired;
The display of data is carried out by serial ports type TFT liquid crystal displays 15;
The alarm task of special state is completed by voice alarm module 10 and GSM message sending module 11.
Each warning value is adjusted with communication by bluetooth module 7, the effect adjusted at a distance is realized.
Program is designed in the present invention to compile as shown in Fig. 2 playing C as programming language, Software for Design flow chart using C language The flexibility of journey and modularization carry out optimization design.Main program it is main by initialization, send instruction, gathered data, data processing, be The modules such as no alarm, TFT liquid crystal displays are constituted.Program enters after initialization, before this initialized TFT screens, gsm module is connected Network etc..Complete after a series of initialization, DSP starts AD conversion function, by the digital signal samples after conversion to DSP In, DSP is handled data, to complete liquid crystal display, the function such as audio alert.Pass through WHTM-02B type Temperature Humidity Sensors The temperature and humidity of environment is acquired with MQ-7CO concentration sensors, and by the data of collection in the way of analog voltage, DSP processing is sent, and then is sent to liquid crystal and is shown.DSP passes through the humiture to collecting, CO concentration and setting humiture The comparison of value, controls whether triggering alarm module alarm.Initialization is again returned to after whole process is finished ceaselessly to follow Ring is performed.Whole system realizes its design function by each more than single-chip microcomputer operation subprogram, and specific design source program is clear Singly see source files of program.
The operation principle of indoor environment comprehensive monitoring and automatic regulating system based on DSP is:
1st, DSP controls circuit
The present invention's controls the development board that TMS320F28335 is core, and used circuit is external by DSP28335 30M crystal oscillators are as clock frequency, and reset circuit uses electrification reset, and DSP starts working.DSP is used for realizing to whole system Control;DSP control sections include the interface electricity of data acquisition circuit, TFT liquid crystal display circuits and Temperature Humidity Sensor part Road.Single-chip microcomputer mainly completes collection, processing, transmission and the display of data in this circuit.
2nd, analog to digital conversion circuit
The collection of signal has the ADC realizations of 12 conversion accuracies to temperature sensor 16, wet from dsp chip 1 itself Spend the collection for the analog signal that sensor 17 and CO concentration sensors 18 are exported.
The circuit function is mainly changes into data signal by the analog signal that input comes, and realizes collection and the place of data Reason, belongs to and approaches the converter for comparing type by turn, and resolution ratio is 12, and conversion frequency is up to 25MH, and sample strip is a width of 12.5MHZ.And with 16 path analoging switch, 16 analog quantitys can be directly connected to, and PLC technology is to wherein several simulations Amount is converted.
DSP adc circuit functions of modules figure is as shown in Figure 3.
3rd, humiture collection circuit
WHTM analog voltage type Temperature Humidity Sensors are that a rated voltage is 5V, and rated current is 5mA low-power consumption mould Intend voltage-type Temperature Humidity Sensor.Temperature detection detection range is -20 DEG C 80 DEG C, and output analog voltage (0--3V) is with temperature Linear change Humidity Detections detection range is 20--100%rh, and output analog voltage (0-3V) is with humidity linear change
The humiture table of comparisons is as shown in table 1.
Table 1
Humidity (%) 10 20 30 40 50 60 70 80 90
0-V is exported 0.3 0.6 0.9 1.2 1.5 1.8 2.1 2.4 2.7
Temperature (DEG C) -10 0 10 20 30 40 50 60 70
0-3V is exported 0.3 0.6 0.9 1.2 1.5 1.8 2.1 2.4 2.7
4th, CO concentration Acquisition Circuit
MQ-7 carbon monoxide gas body detecting sensors, are that a rated voltage is 5V, rated current is electric for 140mA simulation Die mould CO concentration sensors.CO Concentration Testings scope is 10-1000ppm, and output analog voltage (0--5V) linearly becomes with CO concentration Change.
5th, alarm module
GSM message sending module 11 is by STC89C52 single-chip microcomputers as main control chip, and GSM900A modules, which are used to send, reminds Short message, voice alarm module 10 is by controlling loudspeaker to send different alarm songs in different situations.
When being connected to the unlike signal of dsp chip 1, second singlechip 9 is by handling the signal sent, so Control voice alarm module 10 sends corresponding audio warning and (when such as temperature is less than preset value, reports voice afterwards:Alarm, Alarm, temperature is less than preset value).Then the hand that 11 pairs of GSM message sending module is specified is controlled by the second serial communication interface 6 Machine number sends short message (such as temperature is less than preset value).Remind what situation user there occurs by both modes, and allow User out of doors when have the further insight which index of environment where system beyond oneself predetermined scope.
6th, wireless control module
RCU part employs STC89C52 single-chip microcomputers as main control chip, uses 18 Independent keys and bluetooth mould Block.
When having button to press, the school of the first single-chip microcomputer 8 measures button and presses and determine it is which button is pressed, so The first serial communication interface 5 sends corresponding character using bluetooth 7 afterwards.Corresponding value (such as low temperature warning value) is set to add accordingly One (or subtracting one) realizes the adjustable of each warning value.And bluetooth 7 is wireless communication module, facilitates user's remote adjustment with setting Put.
7th, display circuit
What display circuit was selected is serial ports type TFT liquid crystal displays 15.Compared with traditional LCD, serial ports TFT liquid crystal displays 15 have aobvious The content shown is more, and circuit structure is simple, takes the advantages of mcu resource is few.
8th, peripheral circuit power supply mode
The power supply mode of use:
Single power supply module is added in peripheral circuit;
In system debug, the expansion of power supply first from experiment porch, with doing performance ratio using independent USB power supply modules Compared with.In final system operation because it is independently-powered will make in theory the stability of a system more preferably, therefore final choice the first confession Electrically.
System debug:
System debug includes the detection of hardware circuit and the optimization of Software for Design.
When debugging bluetooth module, the serial communication of DSP and PC is used, this also provides base for actual application Plinth.
During software optimization, because circuit system is complex, in order to improve the real-time and stably of system work Degree, we control gsm module and voice module by single-chip microcomputer.The signal that single-chip microcomputer is transmitted according to DSP, control gsm module and Voice module carries out short message and audio alert
System of the invention compared to prior art, with advantages below:
Using WHTM=02B type Temperature Humidity Sensors, the accurate acquisition to temperature, humidity is realized, data processing precision can Control;
CO concentration is detected using MQ-7 sensors, the accurate acquisition of CO concentration is realized, data processing precision is controllable;
12 analog-digital converters carried with DSP, complete the analog-to-digital conversion of final analog voltage amount.By to reference to electricity The selection repeatedly of pressure value, improves the degree of accuracy of collection, precision is up to 0.01;
The display of multichannel data is carried out using TFT liquid crystal displays liquid crystal, display is steady;
The peripheral circuit of autonomous Design includes the output of analog voltage amount, sensor assembly, and multichannel data is shown Show module;
By strengthening the scheduling mode of electrical stability and optimization software to each functional module, the stabilization of system is improved Property;
The system that the present invention is provided is using analog-to-digital conversion and the data acquisition modes of analog sensor, in hardware circuit institute On the basis of the precision for the collection capacity that can be provided, the precision for ensureing institute's gathered data is dispatched using software;Overcome DSP scheduling Matter of time, enable gathered data stablize shown by liquid crystal;The combination of peripheral circuit and design platform, is carried The high stability and reliability of system;To the Acquisition Error scope of voltage within 5%, the Acquisition Error to humiture exists 5% or so, after continuously two hours of work, system remains to normal work, and explanation system is reliable.
The characteristics of system of the present invention is due to its data acquisition, system is applied to industrial or agricultural, and be particularly suitable for use in warmhouse booth Deng higher occasion is required humiture, help greenhouse workers' control humiture, cost is more cheap, actual benefit compared with It is high.
The system of the present invention can be also used in less demanding circuit performance analysis.Can be (such as micro- by other analog quantitys Weak current, random waveform) voltage is converted to, by the peripheral circuit of system, with reference to ADC conversions, realize point of circuit performance Analysis, cost is very low.
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, on the premise of principle of the present invention is not departed from, some improvements and modifications can also be made, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (8)

1. a kind of indoor environment comprehensive monitoring and automatic regulating system based on DSP, including dsp chip, indoor environment data are adopted Collect unit, indoor environment adjustment unit, RCU, it is characterised in that the dsp chip includes AD conversion module, the first I/O Port, the first serial communication interface, the RCU include the first single-chip microcomputer, and AD conversion module connection indoor environment data are adopted Collect unit, the first I/O ports connection indoor environment adjustment unit, the first single-chip microcomputer is led to by bluetooth and the first serial communication interface Letter connection.
2. indoor environment comprehensive monitoring and automatic regulating system as claimed in claim 1 based on DSP, it is characterised in that institute Stating indoor environment data acquisition unit includes temperature sensor, humidity sensor, CO sensors.
3. indoor environment comprehensive monitoring and automatic regulating system as claimed in claim 2 based on DSP, it is characterised in that institute Temperature sensor, humidity sensor are stated for WHTM analog voltage type Temperature Humidity Sensors, the CO sensors are that MQ-7 mono- is aoxidized Carbon gas detection sensor.
4. indoor environment comprehensive monitoring and automatic regulating system as claimed in claim 1 based on DSP, it is characterised in that institute Stating indoor environment adjustment unit includes relay, heater, humidifier, and relay one end connects the first I/O ports, and relay is another One end connects heater and humidifier.
5. indoor environment comprehensive monitoring and automatic regulating system as claimed in claim 1 based on DSP, it is characterised in that institute Stating indoor environment comprehensive monitoring based on DSP and automatic regulating system also includes TFT liquid crystal displays, and the dsp chip also includes the Two serial communication interfaces, the second serial communication interface connection TFT liquid crystal displays.
6. indoor environment comprehensive monitoring and automatic regulating system as claimed in claim 1 based on DSP, it is characterised in that institute State dsp chip model DSP28335, the first single-chip microcomputer model STC89C52.
7. indoor environment comprehensive monitoring and automatic regulating system as claimed in claim 1 based on DSP, it is characterised in that institute Stating dsp chip also includes the 2nd I/O ports, and the indoor environment comprehensive monitoring based on DSP also includes with automatic regulating system Second singlechip, the 2nd I/O ports connection second singlechip, second singlechip connection voice alarm module and short message sending mould Block.
8. indoor environment comprehensive monitoring and automatic regulating system as claimed in claim 7 based on DSP, it is characterised in that institute State second singlechip model STC89C52.
CN201710473254.9A 2017-06-21 2017-06-21 A kind of indoor environment comprehensive monitoring and automatic regulating system based on DSP Pending CN107092293A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710473254.9A CN107092293A (en) 2017-06-21 2017-06-21 A kind of indoor environment comprehensive monitoring and automatic regulating system based on DSP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710473254.9A CN107092293A (en) 2017-06-21 2017-06-21 A kind of indoor environment comprehensive monitoring and automatic regulating system based on DSP

Publications (1)

Publication Number Publication Date
CN107092293A true CN107092293A (en) 2017-08-25

Family

ID=59639521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710473254.9A Pending CN107092293A (en) 2017-06-21 2017-06-21 A kind of indoor environment comprehensive monitoring and automatic regulating system based on DSP

Country Status (1)

Country Link
CN (1) CN107092293A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6559631B1 (en) * 1998-04-10 2003-05-06 General Electric Company Temperature compensation for an electronic electricity meter
CN203769755U (en) * 2013-12-06 2014-08-13 贵州盘江矿山机械有限公司 Mine hydraulic drilling rig monitoring data transmission device
CN104503299A (en) * 2014-11-27 2015-04-08 国网河南省电力公司平顶山供电公司 DSP-based transformer station indoor humiture and dust control system
CN104932593A (en) * 2015-06-30 2015-09-23 成都点石创想科技有限公司 Environment coefficient monitoring management system applied to greenhouse
CN205229131U (en) * 2015-12-11 2016-05-11 徐倩 Room inner environment monitoring appearance
CN106377253A (en) * 2016-09-14 2017-02-08 燕山大学 Electromyographic signal and inertia information synchronous collection device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6559631B1 (en) * 1998-04-10 2003-05-06 General Electric Company Temperature compensation for an electronic electricity meter
CN203769755U (en) * 2013-12-06 2014-08-13 贵州盘江矿山机械有限公司 Mine hydraulic drilling rig monitoring data transmission device
CN104503299A (en) * 2014-11-27 2015-04-08 国网河南省电力公司平顶山供电公司 DSP-based transformer station indoor humiture and dust control system
CN104932593A (en) * 2015-06-30 2015-09-23 成都点石创想科技有限公司 Environment coefficient monitoring management system applied to greenhouse
CN205229131U (en) * 2015-12-11 2016-05-11 徐倩 Room inner environment monitoring appearance
CN106377253A (en) * 2016-09-14 2017-02-08 燕山大学 Electromyographic signal and inertia information synchronous collection device

Similar Documents

Publication Publication Date Title
CN101915597A (en) Indoor environment monitoring system
CN102563817A (en) Device capable of automatically measuring and intelligently controlling indoor air quality
CN108760989A (en) A kind of air-quality monitoring system and its monitoring method
CN201716041U (en) Indoor environment monitoring system
CN105241504A (en) Distributed indoor environment quality detection system
CN202836624U (en) Intelligent home environmental management device
CN106969796A (en) A kind of novel hand-held multi-parameter environment measuring tape deck
CN208383839U (en) A kind of air-quality monitoring system
CN205066815U (en) Indoor environmental quality detecting system of distributing type
CN107092293A (en) A kind of indoor environment comprehensive monitoring and automatic regulating system based on DSP
CN204331387U (en) A kind of computer equipment with radio communication and measuring ability
CN203385446U (en) SHT11 based digital relative humidity and temperature detecting instrument for laboratories
CN202330330U (en) Gas dew point measuring device based on humiture detection
CN201194028Y (en) Temperature, humidity and dew point transmitter
CN201434766Y (en) Feedback button life-span tester
CN204241442U (en) Hyperchannel indoor gas parameter tester and indoor gas parameter test system
CN204439695U (en) A kind of Intelligent digital multimeter of voice broadcast
CN203672412U (en) Wireless low-power-consumption intelligent environment monitoring system
CN102749368A (en) Dissolved oxygen (DO) measuring system
CN203551001U (en) Integrated parameter monitor for medical molecular sieve oxygen generation system
CN206161041U (en) Gaseous monitoring node of local industrial environment based on bluetooth
CN203117253U (en) Portable multipurpose tester based on ARM
CN202189453U (en) Device used for remotely sensing and monitoring physical quantity of self-organized network with low power consumption
CN206724997U (en) A kind of humiture transducer with radio communication function
CN204287848U (en) The digital dynamometry indicator of a kind of analog input

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170825