CN102521422A - Temperature acquiring system based on USB (universal serial bus) storage equipment - Google Patents

Temperature acquiring system based on USB (universal serial bus) storage equipment Download PDF

Info

Publication number
CN102521422A
CN102521422A CN2011104199519A CN201110419951A CN102521422A CN 102521422 A CN102521422 A CN 102521422A CN 2011104199519 A CN2011104199519 A CN 2011104199519A CN 201110419951 A CN201110419951 A CN 201110419951A CN 102521422 A CN102521422 A CN 102521422A
Authority
CN
China
Prior art keywords
temperature
usb
chip
acquisition system
temperature sensor
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
CN2011104199519A
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.)
Fudan University
Original Assignee
Fudan 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 Fudan University filed Critical Fudan University
Priority to CN2011104199519A priority Critical patent/CN102521422A/en
Publication of CN102521422A publication Critical patent/CN102521422A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention belongs to the technical field of embedded temperature acquisition and particularly relates to a temperature acquiring system based on USB (universal serial bus) storage equipment. The temperature acquiring system consists of a central control processor, a USB interface circuit, a temperature sensor and a power source circuit and the like. The temperature acquiring system acquires temperature information in real time through the temperature sensor, data are stored into the USB storage equipment through a USB bus interface so as to be counted and analyzed offline, and accordingly data acquisition is realized. The temperature sensor is a DS18B20 type sensor having a single-bus structure, the control processor is an ATmega16L type processor low in power consumption, and a USB chip is a CH375 type chip. The temperature acquiring system based on the USB storage equipment has the advantages of high storage capacity, low energy consumption, high stability, small size and the like and can be applicable to temperature acquisition in various environments.

Description

A kind of temperature acquisition system based on the USB memory device
Technical field
The invention belongs to embedded temperature acquisition technical field, be specifically related to a kind of real time temperature acquisition system.
Background technology
Data acquisition (Data Acquisition) is a basic means of obtaining information. is meant analog acquisitions such as temperature, pressure, flow, displacements, converts digital signal to, and send into the process that result was stored, handles and exported to computing machine.The system that realizes data acquisition is called data acquisition system (DAS) (Data Acquisition system) (DAS).
In industrial processes, temperature acquisition system can be used to realize the real-time monitoring of production run, to the technological parameter of production scene gather, supervision and record, information and means are provided for improving the quality of products, reducing production costs.In scientific research, temperature acquisition system is used for realizing quantitative test and the dynamic similation to goal in research, is the important means of announcement science secret.
At present, the temperature acquisition system on the market all is simply the temperature that measures to be shown through charactron or LCD, perhaps stores through the less ROM of capacity.Do not embody digital signal and be convenient to the advantage of handling and storing, yet can't remember and store, more inconvenient mass data is carried out statistical study long-time data measured.
Existing temperature acquisition system is inconvenient to store or memory capacity is little in order to solve; Be not easy to the shortcoming that large-scale statistical is analyzed; The invention provides a kind of temperature acquisition system that can articulate the USB memory device; Temperature sensor is gathered temperature in real time; Single-chip microcomputer becomes decimal fraction form intuitively to the data processing that collects, and through USB interface chip CH375 decimal number that the single-chip microcomputer conversion is good according to this form of file write the USB memory device, utilize that the USB capacity of memory device is big, the characteristics of stable storage.Realized long data acquisition, for off-line statistical study is afterwards provided convenience.
Summary of the invention
The objective of the invention is to be inconvenient to store or the little problem of memory capacity, provide a kind of memory capacity big, be convenient to the temperature acquisition system that large-scale statistical is analyzed to the data that existing temperature acquisition system collected.
Temperature acquisition system provided by the invention is based on the USB memory device, and promptly this temperature acquisition system utilizes a kind of USB interface chip, realizes articulating of USB memory device and single-chip microcomputer.After the data process that single-chip microcomputer collects temperature sensor transforms, write in the USB memory device, thereby solved the problem of mass data storage in the temperature acquisition system through the form of USB interface chip with file.Temperature acquisition system of the present invention; Form by central control processor, usb circuit, temperature sensor, serial port circuit and power circuit; On circuit connects; The unibus form that is connected to of central control processor and temperature sensor, the address port of USB interface chip (like CH375), FPDP, read-write control, interrupt control are connected with central control processor (like single chip computer AT mega16L) corresponding ports.Can gather in real time temperature, and the data that will gather in real time through the USB interface chip-stored in the USB memory device that articulates.
Temperature sensor (like DS18B20) is a digital signal with temperature transition; By central control processor (like single chip computer AT mega16L) digital signal of temperature sensor output is sampled; And convert binary bit stream into metric temperature information; Then through to the control of USB interface chip (like CH375), with the temperature information that obtains with the stored in form of file in the USB memory device; Serial port circuit is used for temperature acquisition system is controlled, and host computer can send instruction to temperature acquisition system through serial port circuit, and with the sampling rate of control temperature acquisition system, startup/end is gathered.
Among the present invention, central control processor (single-chip microcomputer) can be connected with the USB memory device through the function of control USB interface chip realization usb bus easily.In addition, utilize the firmware function in the USB interface chip (like the CH375 chip), data are write the USB memory device with the form of file, do not need third party software under operating system, to open data, convenient temperature data is handled.In addition, corresponding process monitoring pilot lamp is set, with the normal operation of prompting acquisition system.
Advantages such as characteristics of the present invention are high memory spaces, and energy consumption is low, and stability is strong, and volume is little can adapt to the temperature acquisition under the multiple environment.
The invention has the beneficial effects as follows, can be with carrying out long data acquisition, and with the image data real-time storage in the USB memory device that is easy to get, be convenient in commercial production and scientific research, data carried out statistical study.
Description of drawings
Fig. 1 schematic block circuit diagram of the present invention.
Fig. 2 circuit theory diagrams of the present invention.
The software architecture diagram of single-chip microcomputer among Fig. 3 the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is further specified.
The principle of work of native system is as shown in Figure 1; Processor (like single-chip microcomputer) is used to control temperature sensor timing acquiring data; And the digital signal of collecting temperature sensor output; Through its inner transfer function, convert the digital signal of binary format into metric directly readable temperature information.Further, single-chip microcomputer is through to the control of USB interface chip, with the temperature information that obtains with the stored in form of file in the USB memory device.Serial port circuit is used for the control to temperature acquisition system, and host computer can send instruction to temperature acquisition system through serial ports, and with the sampling rate of control temperature acquisition system, startup/end is gathered.
The hardware circuit of native system is as shown in Figure 2, and temperature sensor adopts DS18B20, processor adopting single chip computer AT mega16L, and the USB interface chip adopts CH375; The unibus form that is connected to of single-chip microcomputer and temperature sensor, when communicating with temperature sensor, its serial communication protocol of single-chip simulation; Single-chip microcomputer is through level transferring chip MAX232 with being connected of serial port circuit, and RX and TX pass through MAX232 and realize making it meet the serial communication level conversion of logic level, to realize serial communication protocol; Single-chip microcomputer is connected with CH375's; Adopt parallel mode, the parallel port signal wire comprises: 8 BDB Bi-directional Data Bus D7~D0, read gate input pin RD#, write gate input pin WR#, sheets select input pin CS#, interrupt output pin INT# and address input pin A0; In addition, through the running status that the LED signal lamp comes real-time monitoring system being set, the convenient operation troubles of finding; Total system adopts outside 5V single-voltage-supply cmos, does not need extra voltage conversion circuit.
The software configuration of native system is as shown in Figure 3, is the framework of single-chip microcomputer internal processes, adopts modular approach to write; The subfunction that comprises nine difference in functionalitys: serial ports initialization function, serial ports interrupt function, CH375 read-write sequence function; The CH375 function that reads and writes data, DS18B20 initialization function, temperature acquisition function; The Data Format Transform function, file writes function, the function of time.Accomplish the function of total system through the subfunction of calling nine difference in functionalitys.The subroutine of serial ports mainly comprises serial ports initialization function and serial ports interrupt function; Comprise the mode of operation that serial ports is set; Comprise doubly speed, data bit width, check bit, baud rate etc.; This part is that the control information that guarantees host computer can be transferred to single-chip microcomputer smoothly, to realize the control of host computer to temperature acquisition system.Host computer can be realized the start/stop of temperature acquisition system through sending different instructions, can change the sampling rate of temperature acquisition system.Two subfunctions of temperature sensor are the Single-chip Controlling temperature sensors, the monobus lin protocol initialization sequential of single-chip microcomputer through analog temperature sensor definition, read sequential, write sequential, realize writing of instruction and reading of data.Inner at single-chip microcomputer, also have the transfer function of a data form, be binary bit stream form because temperature sensor returns to the data of single-chip microcomputer, not data intuitively, need transfer function to be processed into metric intuitively temperature data.Single-chip microcomputer communicates through CH375 read-write sequence and read and write data function and USB interface chip, and writes the function realization through file and write temperature data with file layout.The function of time cooperates single-chip microcomputer to accomplish regularly and the function of sequential control.

Claims (2)

1. the temperature acquisition system based on the USB memory device is characterized in that being made up of central control processor, USB interface chip, temperature sensor and serial port circuit; On circuit connects, the unibus form that is connected to of central control processor and temperature sensor; The address port of USB interface chip, FPDP, read-write control, interrupt control are connected with the central control processor corresponding ports; Wherein temperature sensor is a digital signal with temperature transition; By central control processor the digital signal of temperature sensor output is sampled; And convert binary bit stream into metric temperature information; Then through to the control of USB interface chip, with the temperature information that obtains with the stored in form of file in the USB memory device; Serial port circuit is used for temperature acquisition system is controlled, and host computer sends instruction through serial port circuit to temperature acquisition system, and with the sampling rate of control temperature acquisition system, startup/end is gathered.
2. the temperature acquisition system based on the USB memory device according to claim 1; It is characterized in that central control processor adopts single-chip microcomputer; The USB interface chip adopts the CH375 chip, and single-chip microcomputer is connected with the USB memory device through the function that control CH375 realizes usb bus easily; Through the firmware function in the CH375 chip, data are write the USB memory device with the form of file, convenient temperature data is handled.
CN2011104199519A 2011-12-15 2011-12-15 Temperature acquiring system based on USB (universal serial bus) storage equipment Pending CN102521422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104199519A CN102521422A (en) 2011-12-15 2011-12-15 Temperature acquiring system based on USB (universal serial bus) storage equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104199519A CN102521422A (en) 2011-12-15 2011-12-15 Temperature acquiring system based on USB (universal serial bus) storage equipment

Publications (1)

Publication Number Publication Date
CN102521422A true CN102521422A (en) 2012-06-27

Family

ID=46292335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104199519A Pending CN102521422A (en) 2011-12-15 2011-12-15 Temperature acquiring system based on USB (universal serial bus) storage equipment

Country Status (1)

Country Link
CN (1) CN102521422A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104075817A (en) * 2014-07-10 2014-10-01 哈尔滨量具刃具集团有限责任公司 Digital multi-channel temperature detection system
CN104280142A (en) * 2013-07-01 2015-01-14 成都微英威诺环境监控设备有限公司 Multichannel black box recorder based on temperature sensor and file management system
CN105021221A (en) * 2015-07-10 2015-11-04 安徽师范大学 Distributed multi-terminal concurrent data acquisition and analysis system
CN112306569A (en) * 2020-08-07 2021-02-02 神州融安科技(北京)有限公司 Method for increasing U shield function and U shield
CN114281734A (en) * 2021-12-24 2022-04-05 广东电网有限责任公司 Portable station terminal data acquisition device
CN114483007A (en) * 2022-01-23 2022-05-13 西南石油大学 Non-invasive temperature measuring system in pipeline for thick oil exploitation

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201166711Y (en) * 2008-02-15 2008-12-17 黑龙江省地震局 System for monitoring field unattended seismographic station circumstance
CN201903879U (en) * 2010-12-29 2011-07-20 叶文生 Data collector of SD card
CN102279011A (en) * 2011-06-30 2011-12-14 大连大工安道船舶技术有限责任公司 Temperature-humidity recorder with low power consumption

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201166711Y (en) * 2008-02-15 2008-12-17 黑龙江省地震局 System for monitoring field unattended seismographic station circumstance
CN201903879U (en) * 2010-12-29 2011-07-20 叶文生 Data collector of SD card
CN102279011A (en) * 2011-06-30 2011-12-14 大连大工安道船舶技术有限责任公司 Temperature-humidity recorder with low power consumption

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104280142A (en) * 2013-07-01 2015-01-14 成都微英威诺环境监控设备有限公司 Multichannel black box recorder based on temperature sensor and file management system
CN104075817A (en) * 2014-07-10 2014-10-01 哈尔滨量具刃具集团有限责任公司 Digital multi-channel temperature detection system
CN105021221A (en) * 2015-07-10 2015-11-04 安徽师范大学 Distributed multi-terminal concurrent data acquisition and analysis system
CN112306569A (en) * 2020-08-07 2021-02-02 神州融安科技(北京)有限公司 Method for increasing U shield function and U shield
CN114281734A (en) * 2021-12-24 2022-04-05 广东电网有限责任公司 Portable station terminal data acquisition device
CN114483007A (en) * 2022-01-23 2022-05-13 西南石油大学 Non-invasive temperature measuring system in pipeline for thick oil exploitation

Similar Documents

Publication Publication Date Title
CN102521422A (en) Temperature acquiring system based on USB (universal serial bus) storage equipment
CN203812236U (en) Data exchange system based on processor and field programmable gate array
CN102523284A (en) Data collection system based on network control and universal serial bus (USB) storage equipment
CN101887401A (en) Apparatus for acquiring and storing high speed data in real time
CN206146465U (en) Box transformer monitoring device
CN201909987U (en) Constant-current supply networking system on basis of serial bus
CN205426364U (en) Intelligence humiture measurement system
CN103018542B (en) A kind of corona current capture card based on usb bus
CN203179279U (en) Remote transparent data acquisition and transmission system based on optical fiber
CN201903879U (en) Data collector of SD card
CN204557375U (en) A kind of Novel low power consumption Intelligent worn device
CN208922245U (en) A kind of low power consumption data record and high-speed data transmission apparatus
CN109451476A (en) Data collection system based on bluetooth 4.0 technology
CN102841878B (en) Internet security and acceleration (ISA) interface internet protocol (IP) core based on processor local bus (PLB)
CN203053406U (en) RS-485 bus-based laser displacement sensing device
CN203054072U (en) Corona current acquisition card based on USB bus
CN203219452U (en) Image processing platform based on cloud computing architecture
CN207132965U (en) A kind of Multifunctional electronic scale based on Ethernet
CN203117969U (en) Universal serial bus (USB) data transmission module based on single-chip microcomputer
CN203883905U (en) A dual digital signal processing image processing board
CN202126601U (en) Remote data collection control device
CN106785700A (en) Carry the collector of built-in sensors
CN207650989U (en) A kind of intelligence instrument data collection architecture
CN204832879U (en) Intelligent controller
CN205594375U (en) Communication system based on PLC

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120627