CN202119829U - Microbiological fuel cell voltage long-term timing acquisition system - Google Patents

Microbiological fuel cell voltage long-term timing acquisition system Download PDF

Info

Publication number
CN202119829U
CN202119829U CN2011201781255U CN201120178125U CN202119829U CN 202119829 U CN202119829 U CN 202119829U CN 2011201781255 U CN2011201781255 U CN 2011201781255U CN 201120178125 U CN201120178125 U CN 201120178125U CN 202119829 U CN202119829 U CN 202119829U
Authority
CN
China
Prior art keywords
fuel cell
cell voltage
microbiological fuel
long
microcontroller
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
Application number
CN2011201781255U
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.)
Southeast University
Original Assignee
Southeast 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 Southeast University filed Critical Southeast University
Priority to CN2011201781255U priority Critical patent/CN202119829U/en
Application granted granted Critical
Publication of CN202119829U publication Critical patent/CN202119829U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The present utility model discloses a microbiological fuel cell voltage long-term timing acquisition system. The system comprises a microcontroller, an interface for downloading program, an analog-to-digital conversion module for inputting microbiological fuel cell voltage signals and a storage module, and the microcontroller is respectively connected with the interface for downloading program, the analog-to-digital conversion module and the storage module. In the system, the high performance and low-power microcontroller AT89S52 is acted as the core, a circuit and components suitable for direct current weak small signal measurement are adopted, the system cost is reduced, the transition precision is raised, and the long time-interval timing measurement of the microbiological fuel cell voltage is realized through the program design. Compared with the prior data acquisition system, the long-term and precise data acquisition can be carried out according to the preset timing interval, the power consumption is low, and the reliability is good.

Description

The long-term timing acquiring system of microbiological fuel cell voltage
Technical field
The utility model belongs to data collecting field, particularly a kind of system that the microbiological fuel cell voltage data is carried out long-term timing acquiring.
Background technology
Microbiological fuel cell is a kind of device that utilizes microorganism the chemical energy in the organism directly to be changed into electric energy.Utilize the compared with techniques of organism production capacity with other; Microbiological fuel cell has to be operated upward and the advantage on the function: energy conversion efficiency is high; Under the normal temperature environment condition, can effectively operate, need not carry out exhaust-gas treatment, need not import than macro-energy; In the some areas that lack power infrastructures, microbiological fuel cell has the potentiality of widespread use.
The voltage of microbiological fuel cell output is lower, is generally the hundreds of millivolt, the conversion accuracy of A/D converter is had relatively high expectations, but and do not require continuous sampling at short notice, thereby less demanding to slewing rate.Traditional circuit design method is before the A/D conversion, to use one or more levels high-precision amplifier; Because voltage signal signal to noise ratio (S/N ratio) in transmission course reduces obviously; So not only can increase the cost and the complicacy of system; Problems such as outside power frequency interference and amplifier drift also can take place in the actual measurement process, cause measuring accuracy to reduce.
The utility model content
Utility model purpose: to the problem and shortage of above-mentioned existing existence; The purpose of the utility model provides a kind of long-term timing acquiring system of microbiological fuel cell voltage; Guarantee its measuring accuracy for the weak voltage signal; In conjunction with real-time clock, the SI is controlled, it can be sampled with precise time in the long period at interval.
Technical scheme: for realizing above-mentioned utility model purpose; The technical scheme that the utility model adopts is a kind of long-term timing acquiring system of microbiological fuel cell voltage; Comprise microcontroller, be used for the interface that program downloads, the analog-to-digital conversion module and the memory module of input microbiological fuel cell voltage signal, wherein microcontroller connects respectively and is used for interface, analog-to-digital conversion module and the memory module that program is downloaded; By microprocessor controls regularly, when the fixed time interval of setting arrived, the control analog-to-digital conversion module carried out analog to digital conversion to the voltage signal of input.
Said analog-to-digital conversion module can have two groups of voltage input interfaces, can directly accept the low level voltage signal from output such as power supply, sensor, and this analog-to-digital conversion module can handle the voltage signal of 0~2.5V, and minimum to differentiate voltage be 10mV.
Said analog-to-digital conversion module can be 16 ∑s of the binary channels-Δ analog to digital converter AD7705 that connects reference voltage source AD780.
Also can comprise the real-time clock module that connects said microcontroller.
Also can comprise the display module that connects said microcontroller.
Also can comprise the data transmission module that connects said microcontroller, this data transmission module sends to computing machine with the data of preserving in the memory module.
Said microcontroller can be AT89S52, and the interface that is used for the program download is in-system programming interface (an ISP interface), also comprises first crystal oscillator and the reset circuit that connect microcontroller AT89S52.
Also can comprise the key circuit that connects microcontroller AT89S52.
Said real-time clock module can be the DS1302 and second crystal oscillator, and an end of said second crystal oscillator connects the pin X1 of DS1302, and the other end connects the pin X2 of DS1302.The timing controlled mode that the utility model adopts microcontroller built-in timer and real-time clock module to combine has reduced system power dissipation, has improved regularly accuracy, and can realize long-time accurate timing at interval.
Said memory module can be eeprom memory AT24C512.
Beneficial effect: the utility model is according to some characteristics of microbiological fuel cell; With high-performance low-power-consumption microcontroller AT89S52 is core; Adopt and be fit to circuit and the components and parts that the faint small-signal of direct current is measured; The reduction system cost improves conversion accuracy, and realizes the voltage of microbiological fuel cell is carried out long-time timing measurement at interval through program design.Compare with existing data acquisition system (DAS), the utility model can for a long time, accurately carry out data acquisition with the fixed time interval of setting, and is low in energy consumption, good reliability.
Description of drawings
Fig. 1 is the structured flowchart of the utility model;
Fig. 2 is and Fig. 1 corresponding electrical circuits schematic diagram;
Fig. 3 is the process flow diagram of data acquisition;
Fig. 4 works in the process flow diagram of automatic drainage pattern for data acquisition system (DAS).
Embodiment
Below in conjunction with accompanying drawing and specific embodiment; Further illustrate the utility model; Should understand these embodiment only be used to the utility model is described and be not used in the restriction the utility model scope; After having read the utility model, those skilled in the art all fall within the application's accompanying claims institute restricted portion to the modification of the various equivalent form of values of the utility model.
As depicted in figs. 1 and 2; The system that microbiological fuel cell weak voltage signal is carried out long-term timing acquiring is a core with low-power consumption, high-performance CMOS 8 8-digit microcontroller AT89S52; Peripheral functional modules mainly contains: high-precision adc AD7705, real-time clock DS1302, eeprom memory AT24C512, LCD MODULE LCD1602.
Analog to digital converter AD7705 is the complete AFE(analog front end) of low noise that a suitable precision measurement is used, and minimum resolution voltage is 0.038mV, and the voltage signal of microbiological fuel cell can be directly connected to the input end of AD7705.
AD7705 is by the 5V single power supply, and reference voltage 2.5V is provided by AD780.AD780 is a superhigh precision bandgap voltage reference, can utilize the input of 4.0V to 36V that 2.5V or 3.0V output are provided.No. 8 pin 2.5V/3.0V O/P SELECT of AD780 are used to control the output reference voltage value, and this pin is unsettled, with output reference voltage 2.5V.Output terminal uses one 1 μ F shunt capacitance, makes device output keep stable.The reference voltage input REF IN (+) of AD7705 links to each other REF IN (-) ground connection with the AD780VOUT end.Two-way analog differential input signal is connected respectively to AIN1 (+)/AIN1 (-) and AIN2 (+)/AIN2 (-).CS is the AD7705 chip selection signal; The CS signal wire dragged down to choose device; AT89S52 carries out operations such as initialization, configuration, calibration unlatching conversion through clock cable SCLK, reseting signal line RESET and Data In-Line DIN to AD7705; When the DRDY signal wire converted low level into by high level, indication converted, and can read transformation result that 16 bits represent through clock cable SCLK and DOL Data Output Line DOUT this moment.
The real-time timepiece chip DS1302 of the high-performance that real-time clock employing U.S. DALLAS company releases, low-power consumption, band RAM.DS1302 has two power pins, and wherein VCC1 connects 3V lithium manganese dioxide cell CR2032, and VCC2 connects the 5V system power supply.During the system circuit board normal power supply, to chip electric energy is provided by VCC2; When system cut-off, pass through pin VCC1 to chip power supply by battery CR2032, guarantee that chip runs without interruption, to realize the real-time clock function.The generation of DS1302 clock is based on the second external crystal oscillator, and the frequency of this crystal oscillator is 32768Hz, is connected to chip through pin X1, X2.AT89S52 is through three signal wires: clock cable SCLK, data signal line IO and reseting signal line RST and DS1302 communicate, through operations such as reading and writing internal register pair chip are configured.Draw 10 kilohms of resistance to improve driving force in three signal wires connections.
Data-carrier store adopts the eeprom memory AT24C512 that the I2C bus capacity reaches 512Kbit (64K * 8) that has of atmel corp's production.AT24C512 pin A0, A1 are used for connecting simultaneously multi-disc storer time zone sub address, because system only uses a slice AT24C512, with A0, A1 ground connection, simultaneously with write-protect pin WP ground connection.AT24C512 uses I2C bus and external microprocessor to communicate; AT89S52 does not have the I2C EBI; But can use common I/O mouth line Simulation with I 2C bus; The P2.6 mouth links to each other as serial time clock line with the AT24C512SCL pin, and the P2.7 mouth is connected as serial data line with the AT24C512SDA pin.In order to improve driving force, on SCL and SDA signal wire, draw 10 kilohms resistance.
Display module adopts character-type liquid crystal display module LCD1602, can show information such as letter, numeral, symbol, and WV is 5V.Pin V0 magnitude of voltage is used to regulate the liquid crystal display contrast.The connecting line of LCD1602 and AT89S52 can be divided into: control signal wire comprises chip selection signal line E, read/write signal line R/W and reseting signal line RS, 8 position datawire DB0~DB7.
In addition; Also comprise first crystal oscillator, reset circuit, key circuit, the in-system programming interface (ISP interface) that connect microcontroller on the system circuit board, and be used for the RS-232 serial port circuit with computer data transmission, wherein; The frequency of first crystal oscillator is 11.0592MHz; Be used for to microcontroller basic clock signal being provided, reset circuit is used for making when system breaks down system reset to reply normal operating conditions, and key circuit is used to each feature operation of the system that realizes; In-system programming interface (ISP interface) is used to the system circuit board that downloads, and the RS-232 serial port circuit is used for circuit board and sends image data to computing machine.Through the operation of computer terminal serial ports application program, the format of press text after the data processing that can serial ports be received arrives local disk.
As shown in Figure 3, for the ease of the operation of data acquisition unit, use four buttons to combine liquid crystal display to realize the System menu function.Four button labels are respectively: MODE, OK, ADD, CANCEL all have different functions separately at four buttons of different levels of menu.Be provided with some menu variablees in the program, be used to indicate the menu item of present procedure sensing, and the menu level of menu item pointed.In the program operation process, obtain key-press status, the related menu variable is changed, turn to corresponding menu operation then through the scanning button.
After powering on, system at first shows top-level director; To show automatic measurement catalogue, in-site measurement catalogue successively, check the time catalogue, the time catalogue will be set, will send data directory and deleted data catalogue by the MODE key; When catalogue is pointed to certain function, press the OK key and confirm to get into this function.
When operation in-site measurement function, display screen display channel number and channel voltage value, and its character can change with the variation of channel voltage synchronously, withdraws from by the OK key.
When time function was checked in operation, display screen showed the time of present clock, and its character can change in time and variation synchronously, withdraws from by the OK key.
When operation was provided with time function, display screen at first showed the time of present clock, and chose the first digit of time, with the form sign of cursor flicker; Press the ADD key, the time bit digital of choosing adds 1, makes zero after reaching maximal value; Press the MODE key, cursor is shifted to the next bit numeral, after institute revises free position and accomplishes; Press the OK key and preserve modification, press the cancellation of CANCEL key and revise, return the time of checking.
When operation transmits data function; Move serial ports at first on computers and receive program LK.exe, string slogan, baud rate, data bit, check bit is set and opens serial ports, on circuit board, get into the data transport functions interface then; Press the OK key and confirm to send data manipulation; Serial ports receives program and in the Data Receiving frame, shows the data that receive, and coils newly-built text LK.txt at computing machine C, and data are saved in the text file by certain format.
When operation deleted data function,, and return top-level director with the data of preserving in the deletion storer.
When the automatic measurement function of operation, as shown in Figure 4, at first read real-time clock module and obtain the current time; Judge whether to be whole 10 minutes (this time can be provided with by the user in advance, also can be made as At All Other Times), if not then wait for; Arrive whole 10 timesharing; The high precision analogue modular converter is sampled respectively to the two-way input gap voltage and is changed, and transformation result is sent to microcontroller, and microcontroller carries out after the data processing it being stored in the data-carrier store to transformation result.Sampling for the first time finishes; Microcontroller is opened timer internal, regularly is slightly less than 10 minutes, after regularly finishing; The timeing closing device; Obtain correct time and judge whether to arrive next whole 10 minutes through reading real-time clock, if then sample, operations such as conversion, data processing and storage, and circulation is carried out.Automatically in the measuring process, will withdraw from measurement by the OK key and return top-level director.
Need be before beginning conversion to analog to digital converter AD7705 setting of be correlated with, the parameter of needs setting has passage, clock, gain, buffering, polarity etc.In addition, owing to interference of the flash signal in strong-electromagnetic field, the system or software error etc. can cause device interface to lose inevitably, promptly interface sequence makes a mistake and causes and can't carry out correct read-write operation to device.For preventing that device interface from losing, before the passage conversion with the passage switching after, all tackle device and carry out reset operation.Specific code is following:
Figure BDA0000064838960000051
Device is provided with after the completion, just can changes, read transformation result.Obtain transformation result and only need wait for that the data register that reads AD7705 gets final product after the data-switching completion, code is following
Figure BDA0000064838960000061
Because the data register content of reading is 16 a binary number, adds code in the said procedure
vol_1=ADValue_1/65535.0*2500;
Convert 16 binary result into decimal data.
During data storage, be the spaces of two storage unit of 0x0000 and 0x0001 as independent placement memory write address with storer AT24C512 address, this address is used for indication in order with the image data write store, the position that current data should write.
The write address initial value is 0x0020.In the time will carrying out data storage operations, at first read write address from 0x0000 and 0x0001 address space, then time and channel voltage value are pressed in certain form write store write data register array, for example
Date: 2011-03-03
Time: 20:30
Passage 1 magnitude of voltage: 0.245V
Passage 2 magnitudes of voltage: 0.073V
Then in the memory data array, write:
EEPROMBUF[]={″0303203002450073″};
For save memory space, write data only comprise the moon, day, the time, branch and magnitude of voltage.After AT89S52 writes the data to be written of 16 bytes to AT24C512; To store write address and add 16; And write 0x0000 and the original memory write address of 0x0001 storage unit covering, carry out just can automatically beginning when data are preserved operation when next time from follow-up address.

Claims (10)

1. the long-term timing acquiring system of a microbiological fuel cell voltage; It is characterized in that; Comprise microcontroller, be used for the interface that program downloads, the analog-to-digital conversion module and the memory module of input microbiological fuel cell voltage signal, wherein microcontroller connects respectively and is used for interface, analog-to-digital conversion module and the memory module that program is downloaded.
2. according to the long-term timing acquiring system of the said microbiological fuel cell voltage of claim 1, it is characterized in that it is 10mV that the minimum of said analog-to-digital conversion module is differentiated voltage.
3. according to the long-term timing acquiring system of the said microbiological fuel cell voltage of claim 2, it is characterized in that said analog-to-digital conversion module is for connecting 16 ∑s of binary channels-Δ analog to digital converter AD7705 of reference voltage source AD780.
4. according to the long-term timing acquiring system of the said microbiological fuel cell voltage of claim 1, it is characterized in that, also comprise the real-time clock module that connects said microcontroller.
5. according to the long-term timing acquiring system of the said microbiological fuel cell voltage of claim 1, it is characterized in that, also comprise the display module that connects said microcontroller.
6. according to the long-term timing acquiring system of the said microbiological fuel cell voltage of claim 1, it is characterized in that also comprise the data transmission module that connects said microcontroller, this data transmission module sends to computing machine with the data of preserving in the memory module.
7. according to the long-term timing acquiring system of the said microbiological fuel cell voltage of claim 1; It is characterized in that; Said microcontroller is AT89S52, and the interface that is used for the program download is the in-system programming interface, also comprises first crystal oscillator and the reset circuit that connect microcontroller AT89S52.
8. according to the long-term timing acquiring system of the said microbiological fuel cell voltage of claim 7, it is characterized in that, also comprise the key circuit that connects said microcontroller AT89S52.
9. according to the long-term timing acquiring system of the said microbiological fuel cell voltage of claim 4; It is characterized in that; Said real-time clock module is the DS1302 and second crystal oscillator, and an end of said second crystal oscillator connects the pin X1 of DS1302, and the other end connects the pin X2 of DS1302.
10. according to the long-term timing acquiring system of the said microbiological fuel cell voltage of claim 1, it is characterized in that said memory module is eeprom memory AT24C512.
CN2011201781255U 2011-05-30 2011-05-30 Microbiological fuel cell voltage long-term timing acquisition system Expired - Fee Related CN202119829U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011201781255U CN202119829U (en) 2011-05-30 2011-05-30 Microbiological fuel cell voltage long-term timing acquisition system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011201781255U CN202119829U (en) 2011-05-30 2011-05-30 Microbiological fuel cell voltage long-term timing acquisition system

Publications (1)

Publication Number Publication Date
CN202119829U true CN202119829U (en) 2012-01-18

Family

ID=45460883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011201781255U Expired - Fee Related CN202119829U (en) 2011-05-30 2011-05-30 Microbiological fuel cell voltage long-term timing acquisition system

Country Status (1)

Country Link
CN (1) CN202119829U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102323473A (en) * 2011-05-30 2012-01-18 东南大学 Long-term timing acquisition system for voltage of microbiological fuel cell

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102323473A (en) * 2011-05-30 2012-01-18 东南大学 Long-term timing acquisition system for voltage of microbiological fuel cell

Similar Documents

Publication Publication Date Title
CN101660406B (en) Memory-type pressure acquisition system and oil well pressure acquisition method thereof
CN204287315U (en) Based on the power monitoring system of STM32F103 microcontroller
CN201765477U (en) Pressure monitoring system with soft switching machine
CN101951696A (en) Farmland wireless sensor network and data acquisition method
CN106354063A (en) High-speed four-channel signal acquisition board
CN206311540U (en) A kind of VOC gas Intelligent Measurement instrument apparatus based on STM32 single-chip microcomputers
CN202403694U (en) GPS (global positioning system) farmland area measuring apparatus
CN201795814U (en) Integrated temperature and humidity monitoring device
CN202119829U (en) Microbiological fuel cell voltage long-term timing acquisition system
CN101975800B (en) Component detection method for livestock manure fertilizer and detection device thereof
CN203894664U (en) Portable mushroom house production environment parameter acquisition device
CN202110262U (en) Wireless data acquisition system for voltage of microbiological fuel cell
CN102323473A (en) Long-term timing acquisition system for voltage of microbiological fuel cell
CN207968461U (en) temperature sensor output data format conversion circuit
CN206038077U (en) Wireless remote -transmitting fuel gas meter controller module
CN205642545U (en) Ground water level remote monitering system
CN201853348U (en) Infrared remote meter reading system controlled by single chip microcomputer
CN204346538U (en) A kind of reservoir level remote supervision system
CN203881456U (en) Multi-channel temperature remote acquisition and display system
CN2501051Y (en) Gas detector
CN202853781U (en) Handheld agricultural environment temperature detector
CN201069455Y (en) Single phase electronic multi-charge rate power meter
CN203415003U (en) Campus card attendance system
CN206147610U (en) High -speed data acquisition card
CN202013246U (en) Temperature recording instrument with structure improved

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120118

Termination date: 20140530