CN103744324B - Indoor environment quality monitoring-based data acquisition method - Google Patents
Indoor environment quality monitoring-based data acquisition method Download PDFInfo
- Publication number
- CN103744324B CN103744324B CN201310716119.4A CN201310716119A CN103744324B CN 103744324 B CN103744324 B CN 103744324B CN 201310716119 A CN201310716119 A CN 201310716119A CN 103744324 B CN103744324 B CN 103744324B
- Authority
- CN
- China
- Prior art keywords
- data
- data acquisition
- subtask
- task
- microprocessor
- 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.)
- Expired - Fee Related
Links
Landscapes
- Testing Or Calibration Of Command Recording Devices (AREA)
Abstract
The invention discloses an indoor environment quality monitoring-based data acquisition method. Whether task suspending time of a data acquisition subtask is up is examined; if so, ready state entrance is realized; and when another task with the higher priority is executed completely, CPU control authority is obtained and data acquisition work is started; initialization and setting are carried out on a relevant register in a microprocessor and data acquisition work from a channel 0 to channel 4 is successively completed; the data are transmitted to a data storage subtask and are stored in a NandFlash unit so as to realize further processing by a data processing subtask; and after all work is over, the task is suspended by a delay way. According to the method, the efficiency is high. The digital signal output can be obtained directly and can be read by microprocessor, so that there is no need to carry out setting and initialization of the relevant register of the built-in A/D converter arranged inside the microprocessor; and data acquisition time is saved.
Description
Technical field
The present invention relates to a kind of collecting method based on Indoor Environmental Quality monitoring.
Background technology
At present, the data acquisition of Indoor Environmental Quality monitoring system is all to use sensor to carry out data acquisition, in each sensor assembly typically used, including Temperature Humidity Sensor module, formaldehyde sensor module, ammonia gas sensor module and carbon monoxide transducer module, the inside of these sensors all comprises the A/D converter of a higher precision, data acquisition modes of the prior art is difficult to directly obtain digital signal, the related register needing the A/D converter built-in to microprocessor is configured and initializes so that the efficiency of data acquisition is the lowest.
Summary of the invention
The present invention seeks to provide a kind of collecting method based on Indoor Environmental Quality monitoring for the defect that prior art exists.
The present invention is for achieving the above object, adopt the following technical scheme that a kind of collecting method based on Indoor Environmental Quality monitoring, whether first check for the task suspension time of data acquisition subtask to the time, if being put into ready state to the time, after the tasks carrying of other higher priority, just obtain the control of CPU, and turn-on data collecting work;It is then followed by the related register in microprocessor is initialized and arranged, is sequentially completed the passage 0 data collection task to passage 4;Finally these data being passed to data storage subtask, and store data in NandFlash, in order to data process subtask and are further processed, after all working terminates, this task time delay is hung up.
Beneficial effects of the present invention: the collecting method efficiency of the present invention is high, can directly obtain digital signal output, and by microcomputer reads, the related register of A/D converter that thus need not be built-in to microprocessor is configured and initializes.Save the time of data acquisition.
Accompanying drawing explanation
The data acquisition flow figure of Fig. 1 present invention.
Detailed description of the invention
Shown in Fig. 1, for a kind of collecting method based on Indoor Environmental Quality monitoring, whether first check for the task suspension time of data acquisition subtask to the time, if being put into ready state to the time, after the tasks carrying of other higher priority, just obtain the control of CPU, and turn-on data collecting work;It is then followed by the related register in microprocessor is initialized and arranged, is sequentially completed the passage 0 data collection task to passage 4;Finally these data being passed to data storage subtask, and store data in NandFlash, in order to data process subtask and are further processed, after all working terminates, this task time delay is hung up.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all within the spirit and principles in the present invention, any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.
Claims (1)
1. a collecting method based on Indoor Environmental Quality monitoring, it is characterised in that first check for data acquisition
The task suspension time of task whether to the time, if being put into ready state to the time, when other higher priority appoint
After business is finished, just obtain the control of CPU, and turn-on data collecting work;It is then followed by microprocessor
Related register initializes and arranges, and is sequentially completed the passage 0 data collection task to passage 4;Finally this
Data pass to data storage subtask, and store data in NandFlash, in order to data process subtask and carry out
Processing further, after all working terminates, data storage subtask time delay is hung up.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310716119.4A CN103744324B (en) | 2013-12-23 | 2013-12-23 | Indoor environment quality monitoring-based data acquisition method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310716119.4A CN103744324B (en) | 2013-12-23 | 2013-12-23 | Indoor environment quality monitoring-based data acquisition method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103744324A CN103744324A (en) | 2014-04-23 |
CN103744324B true CN103744324B (en) | 2017-01-11 |
Family
ID=50501353
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310716119.4A Expired - Fee Related CN103744324B (en) | 2013-12-23 | 2013-12-23 | Indoor environment quality monitoring-based data acquisition method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103744324B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5892974A (en) * | 1994-10-12 | 1999-04-06 | Sega Enterprises Ltd. | System for sub-data processor identifies the peripheral from supplied identification data and supplies data indicative of the kind of peripheral to main data processor |
CN1924846A (en) * | 2006-07-19 | 2007-03-07 | 中国科学院等离子体物理研究所 | Direct hardware accessing data sampling system and method for PCI bus structure |
CN101419278A (en) * | 2008-12-05 | 2009-04-29 | 航天恒星科技有限公司 | Multichannel high speed remote sensing data acquiring and processing device |
CN101446818A (en) * | 2008-12-12 | 2009-06-03 | 齐齐哈尔华工机床制造有限公司 | Automatic control system of metal impact specimen automatic processing device |
CN202119824U (en) * | 2011-07-08 | 2012-01-18 | 吉林省电力有限公司长春供电公司 | Data acquisition apparatus for monitoring urban network cable circulation current |
-
2013
- 2013-12-23 CN CN201310716119.4A patent/CN103744324B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5892974A (en) * | 1994-10-12 | 1999-04-06 | Sega Enterprises Ltd. | System for sub-data processor identifies the peripheral from supplied identification data and supplies data indicative of the kind of peripheral to main data processor |
CN1924846A (en) * | 2006-07-19 | 2007-03-07 | 中国科学院等离子体物理研究所 | Direct hardware accessing data sampling system and method for PCI bus structure |
CN101419278A (en) * | 2008-12-05 | 2009-04-29 | 航天恒星科技有限公司 | Multichannel high speed remote sensing data acquiring and processing device |
CN101446818A (en) * | 2008-12-12 | 2009-06-03 | 齐齐哈尔华工机床制造有限公司 | Automatic control system of metal impact specimen automatic processing device |
CN202119824U (en) * | 2011-07-08 | 2012-01-18 | 吉林省电力有限公司长春供电公司 | Data acquisition apparatus for monitoring urban network cable circulation current |
Also Published As
Publication number | Publication date |
---|---|
CN103744324A (en) | 2014-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Mednis et al. | Embedded solution for road condition monitoring using vehicular sensor networks | |
US10187470B2 (en) | Gateway device and sensor data collection system | |
EP2431877A3 (en) | System and method for modeling conditional dependence for anomaly detection in machine condition monitoring | |
CN104950096A (en) | Soil parameter detection equipment and method | |
CN201731924U (en) | Novel system for proving flowmeter by standard meter method and vehicle-mounted gas flow standard device | |
CN202058443U (en) | Bird voice recognition system | |
CN101271618A (en) | High-speed data acquisition method and data acquisition card for electric power monitoring | |
CN104572076B (en) | The soft filtering algorithm and filtering system of a kind of analog acquisition | |
CN103744324B (en) | Indoor environment quality monitoring-based data acquisition method | |
CN203414433U (en) | Temperature and humidity detection system for drying process | |
CN204228583U (en) | A kind of air permeability detector | |
CN103115803A (en) | Dust sampling and incremental control system | |
CN203906245U (en) | Detection platform for position of rotor of compressor | |
CN201488816U (en) | Hand-held infrared detecting device with automatic temperature-humidity detecting and correcting module | |
CN205210072U (en) | Online water quality monitoring system mounting structure | |
CN204314754U (en) | The data collector of power distribution cabinet automatic control system | |
CN203414978U (en) | Active wireless temperature and humidity label | |
Guo et al. | Continuous and real-time vibration data acquisition and analysis system based on S3C6410 and linux | |
CN202731884U (en) | Intelligent feedback measurement and control device for borehole water-pressure test | |
CN202758234U (en) | An automated monitoring and early warning system of industrial and civil engineering infrastructure and a subway tunnel | |
CN205365638U (en) | Signal intelligent acquisition ware | |
CN205408995U (en) | Online performance of extrusion press pulsator and durable monitoring system | |
CN103593967B (en) | A kind of passage time-sequential voltage automatic acquiring method based on DSP | |
CN104793014A (en) | Behavior detection system and method based on distributed-type acceleration sensors | |
CN204451928U (en) | A kind of device detecting automobile air-conditioning refrigeration effect |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170111 Termination date: 20191223 |