CN202339226U - Glass volume meter automatic-calibration device based on communication between single-chip microcomputer and pc (Personal Computer) - Google Patents

Glass volume meter automatic-calibration device based on communication between single-chip microcomputer and pc (Personal Computer) Download PDF

Info

Publication number
CN202339226U
CN202339226U CN2011205283403U CN201120528340U CN202339226U CN 202339226 U CN202339226 U CN 202339226U CN 2011205283403 U CN2011205283403 U CN 2011205283403U CN 201120528340 U CN201120528340 U CN 201120528340U CN 202339226 U CN202339226 U CN 202339226U
Authority
CN
China
Prior art keywords
chip microcomputer
communication
machine
temperature sensor
data
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
CN2011205283403U
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.)
Chongqing Academy of Metrology and Quality Inspection
Original Assignee
Chongqing Academy of Metrology and Quality Inspection
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 Chongqing Academy of Metrology and Quality Inspection filed Critical Chongqing Academy of Metrology and Quality Inspection
Priority to CN2011205283403U priority Critical patent/CN202339226U/en
Application granted granted Critical
Publication of CN202339226U publication Critical patent/CN202339226U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The utility model discloses a glass volume meter automatic-calibration device based on communication between a single-chip microcomputer and a pc (Personal Computer). The automatic-calibration device comprises an electronic balance, a digital temperature sensor, a single-chip microcomputer and a pc, wherein two-way communication is conducted between the digital temperature sensor and the single-chip microcomputer, between the electronic balance and the single-chip microcomputer and between single-chip microcomputer and the pc. Through adoption of the glass volume meter automatic-calibration device, the automatic degree of calibration and detection work is greatly improved, the time of calibration and detection work is remarkably shortened, error rate is lowered, and the detection efficiency is enhanced; and meanwhile a large quantity of data can be automatically saved in a database, so that the detection result can be conveniently inquired and output.

Description

A kind of volumetric glass automatic calibrator based on single-chip microcomputer and the communication of pc machine
Technical field
The utility model relates to a kind of measuring and testing device, relates in particular to a kind of volumetric glass calibrating installation.
Background technology
Volumetric glass commonly used is widely used in industries such as environmental protection, chemical industry, pharmacy, food and disease control.Volumetric glass commonly used has numerous species such as buret, calibration suction pipe, single graticule suction pipe, single graticule volumetric flask, graduated cylinder, measuring cup; Simultaneously, because volumetric glass commonly used is of a great variety, quantity is bigger; Testing person's data processing work amount is also bigger, occurs human error easily.Development along with the pc machine technology; The domestic glass-like measuring device report of detection automatically that occurred has still only solved quality and has read (general electronic balance all is furnished with communication interface, realizes that automatic reading is easier to); Temperature is the phenomenon of input manually, should only realize semi-automatic detection.
The utility model content
To the above-mentioned weak point that exists in the prior art, the utility model provides a kind of volumetric glass automatic calibrator based on single-chip microcomputer and the communication of pc machine.This device has improved the automaticity of calibrating testing to a great extent, has shortened the calibrating testing time greatly, has reduced error rate, has improved detection efficiency; Mass data can be kept in the database automatically simultaneously, is convenient to inquiry and output testing result.
The purpose of the utility model is achieved in that a kind of volumetric glass automatic calibrator based on single-chip microcomputer and the communication of pc machine, comprises electronic balance, digital temperature sensor, single-chip microcomputer and pc machine; Said digital temperature sensor and single-chip microcomputer two-way communication, electronic balance and single-chip microcomputer two-way communication, single-chip microcomputer and the two-way communication of pc machine.
As a kind of preferred version of the utility model, on the input end of single-chip microcomputer, be connected with the startup single-chip microcomputer and read the temperature of digital temperature sensor collection and the K switch of the quality that electronic balance is gathered.
As the another kind of preferred version of the utility model, said single-chip microcomputer adopts the AT89C2051 single-chip microcomputer.
As a kind of improvement project of the utility model, said digital temperature sensor adopts intelligent temperature sensor DS18B20, and said intelligent temperature sensor DS18B20 adopts 3 line systems to be connected with single-chip microcomputer.
The beneficial effect of the utility model is: this device is a kind of full-automatic volumetric glass automatic calibrator commonly used; Adopt single-chip microcomputer and pc machine mechanics of communication; After utilizing single-chip microcomputer with temperature data acquisition; Through microcontroller serial port data are sent to the pc machine, calculate 20 ℃ capability value and error again according to the machine-readable mass value of getting of pc automatically, and draw the calibrating conclusion according to the parameter that stores.This device has improved the automaticity of calibrating testing to a great extent, has shortened the calibrating testing time greatly, has reduced error rate, has improved detection efficiency; Mass data can be kept in the database automatically simultaneously, is convenient to inquiry and output testing result.
Description of drawings
Fig. 1 is the structural representation based on the volumetric glass automatic calibrator of single-chip microcomputer and the communication of pc machine;
Fig. 2 is the schematic diagram of digital temperature sensor DS18B20;
Fig. 3 is the schematic diagram of single-chip microcomputer;
Fig. 4 is the schematic diagram of on-reset circuit;
Fig. 5 is the schematic diagram of RS232 communicating circuit;
Fig. 6 is the schematic diagram of USB communication and 5V power supply;
Fig. 7 is the block diagram of single-chip microcomputer handling procedure.
Embodiment
Below in conjunction with accompanying drawing and embodiment the utility model is done to describe in further detail.
As shown in Figure 1, a kind of volumetric glass automatic calibrator based on single-chip microcomputer and the communication of pc machine comprises electronic balance, digital temperature sensor, single-chip microcomputer and pc machine.Digital temperature sensor and single-chip microcomputer two-way communication, electronic balance and single-chip microcomputer two-way communication, single-chip microcomputer and the two-way communication of pc machine.
Near the calibrating platform, carry out the transmission and the reception of control data with single-chip microcomputer, read signal through the single-chip microcomputer transmission and control PC, PC sends instruction and reads temperature and qualitative data.On the input end of single-chip microcomputer, be connected with the startup single-chip microcomputer and read the temperature of digital temperature sensor collection and the K switch of the quality that electronic balance is gathered.Keyswitch K is the affirmation switch of whole verification process, and this K switch is placed on the electronic balance next door, is the critical component of anthropomorphic dummy's part work and part study number.After the mass value of electronic balance is stable, click K switch and represent that present quality and temperature data are effectively, be equivalent on paper, write down numerical value, only do by the pc machine this moment and calculate and store.
Digital temperature sensor is exactly can be the temperature physical quantity, through temperature-sensing element (device) and related circuit convert to data acquisition equipments such as making things convenient for pc machine, plc, intelligence instrument directly read the sensor of digital quantity.That select in the present embodiment is the 12 bit digital temperature sensor DS18B20 of DALLAS, and the principle of digital temperature sensor DS18B20 is as shown in Figure 2.This sensor is nominally at (55~+ 125) ℃ linearity and repeatability can reach 0.1%FS; And the temperature required scope of present embodiment has only (15~25) ℃; Through demarcating by 0.1 ℃ of pointwise, its calibration value is implanted in the pc machine, be to satisfy volumetric glass calibrating commonly used fully to require.Be responsible on the single-chip microcomputer getting in touch, temperature and qualitative data are sent to the pc machine, the collection of following responsible digital thermometer data and electronic balance data and temporary with the pc machine.
Single-chip microcomputer adopts the AT89C2051 single-chip microcomputer, and the principle of AT89C2051 single-chip microcomputer is as shown in Figure 3.This single-chip microcomputer is 51 serial programming instructions, because device is realized the DS18B20 temperature data acquisition and get final product to the pc machine data transmission that collects, therefore is easier to realize its function for single-chip microcomputer.The AT89C2051 single-chip microcomputer has a full duplex serial communication interface; Utilize this communication interface, can carry out serial communication with the pc machine easily, each other swap data; Serial ports is significant to single-chip microcomputer; The real-time Data Transmission that not only can single-chip microcomputer be gathered and can be accepted the steering order of pc machine to single-chip microcomputer to the pc machine, realize the intellectuality control to single-chip microcomputer.After energising, SCM program is responsible for the initialization of digital temperature sensor DS18B20 chip and after K switch is pressed, is read its temperature data and handle and control to the pc machine.
The development of automatic calibrator; Its core component is the AT89C2051 SCM system; The periphery is the typical circuit structure; With the on-reset circuit (as shown in Figure 4) that phase inverter A3B forms, the digital temperature sensor of serial line interface, RS232 (as shown in Figure 5) are the USB interfaces that is connected to the pc machine through the serial communication interface of single-chip microcomputer.Single chip computer AT 89C2051 is a low-voltage; 8 single-chip microcomputers of high-performance CMOS, sheet include 2k bytes can be erasable repeatedly read-only Flash program storage and the Random Access Data storer (RAM) of 128 bytes, device adopts high density, the nonvolatile storage technologies production of atmel corp; Compatibility standard MCS-51 order set; 8 central processing units of sheet built-in general-purpose and Flash storage unit, AT89C2051 single-chip microcomputer cost is low, and is powerful; And volume is little, and the application scenario of many high performance-price ratios can be provided.AT89C2051 is a powerful single-chip microcomputer; But it has only 20 pins, 15 two-way I/O (I/O) port, and wherein P1 is 8 complete two-way I/O mouths; Two outer middle fractures; Two 16 programmable Timer counters, two full bidirectional serial communication mouths, a simulation comparison amplifier.Simultaneously, the clock frequency of AT89C2051 can be zero, promptly possesses the sleep electricity-saving function that available software is provided with, and the mode of waking up of system has RAM, Timer, serial port and outer middle fracture, promptly gets into the state that works on behind the system wake-up.In the battery saving mode, ram in slice will be freezed, the clock failure of oscillations, and all functions quit work, and can be continued operation until system by hardware reset.
Intelligent temperature sensor DS18B20 adopts 3 line systems to be connected with single-chip microcomputer, has reduced the external hardware circuit, has low-cost and wield characteristics.DS18B20 can directly read the dut temperature value, and DS18B20 can require to realize 12 digital value reading mode through simple programming according to reality.Can in 750 ms, accomplish 12 digital quantity respectively; The resolution maximum can reach 0.0625 ℃; And information of reading from DS18B20 or the information that writes DS18B20 only need mouth line P3.4 (one-wire interface) read-write; Temperature inversion power derives from data bus, and bus itself also can be to the DS18B20 power supply that is articulated.Thereby use DS18B20 that system architecture is more become simply, reliability is higher.DS18B20 more is added with its outstanding advantage at aspects such as temperature measurement accuracy, commentaries on classics time, transmission range, resolution.Because it is on an I/O line, to read and write data that DS18B20 adopts; Promptly realize the transmitted in both directions of data in a data lines; And concerning 51 single-chip microcomputers; Do not support monobus lin protocol on the hardware, therefore, the agreement sequential that must adopt the method for software to simulate unibus is accomplished the visit to the DS18B20 chip.DS18B20 has strict communication protocol to guarantee the correctness and the integrality of every data transmission.This protocol definition the sequential of several kinds of signals: the initialization sequential, read sequential, write sequential.All sequential all be with main frame as main equipment, single wire bus device is as slave unit.And order each time and the transmission of data all are initiatively to start from main frame to write sequential and begin, if require the single wire bus device echo back data, after carrying out write order, main frame need start reads sequential completion Data Receiving.The transmission of data and order all be low level formerly.Integrated circuit RS232 adopts 5V CMOS technological design to make the sensor interface chip with RS232 serial communication transmission interface.This chip comprises charge pump and two functional modules of transtation mission circuit.Wherein charge pump to the 5V power supply just carrying out/bearing multiplication of voltage obtain+more than 6 V with-positive negative level below the 6V; And as the power supply of transtation mission circuit; Realize of the conversion of CMOS/TTL level, can realize 232 communication contacts through SCM program and pc machine program to EIA/TIA RS-232C level.General in order to guarantee interface; This device has increased the integrated circuit (as shown in Figure 6) that a RS232 changes USB interface, promptly under the constant situation of former RS232 communication program, guarantees that single-chip microcomputer is connected with pc machine USB interface; Can be implemented in notebook computer and operate, strengthen the versatility of device.
The software design of automatic calibrator is divided into 3 unit that are mutually related, pc machine master routine unit, single-chip microcomputer handling procedure unit and pc machine and electronic balance communication program unit.Pc machine master routine has 4 big functions: handle the various information and the printout of seized measurement instrument, the data communication of processing and single-chip microcomputer, the data communication of processing and electronic balance, storing queries historical data.Pc machine master routine is the control center of device; Can be divided into and microcontroller communication module, data processing module, data presentation enquiry module, pc machine The software adopted VB6.0 exploitation, VB is easy to learn with it; The ABC of and powerful easily; Wherein MSCOMM.OCX is the control that is used for serial communication, and this control is added in the tool box (Toolbox), so just can utilize this control to carry out the design of serial communication program.Data processing module is exactly the powerful calculating function that utilizes VB6, will just can draw seized volumetric glass commonly used at 20 ℃ capability value by the temperature data of communication module transmission and qualitative data conversion Calculation, and functions such as realization Error Calculation and storage.Behind the VB program start master routine, carry out the initialization single-chip microcomputer and basic parameter is implanted among the single-chip microcomputer RAM, carry out the information input of seized volumetric glass commonly used simultaneously; After input information finished, the button of clicking the mouse got into the calibrating interface, gives single-chip microcomputer with control simultaneously and accomplishes data acquisition; After the electronic balance qualitative data is stable, press the K switch of single-chip microcomputer, temperature data K (t) is delivered to the pc machine after; And the qualitative data m of notice pc machine collection electronic balance, can draw first group 20 ℃ capability value, prepare to receive second group of data simultaneously; After treating that all Data Receiving finish; Automatically calculate and judgement by initialized parameter, and be kept at convenient inquiry in the database, the block diagram of single-chip microcomputer handling procedure is as shown in Figure 7.In addition, master routine will be realized the function such as automatic printing, information inquiry of report on credentials and record.
Explanation is at last; Above embodiment is only unrestricted in order to the technical scheme of explanation the utility model; Although with reference to preferred embodiment the utility model is specified, those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement the technical scheme of the utility model; And not breaking away from the aim and the scope of the utility model technical scheme, it all should be encompassed in the middle of the claim scope of the utility model.

Claims (4)

1. the volumetric glass automatic calibrator based on single-chip microcomputer and the communication of pc machine is characterized in that: comprise electronic balance, digital temperature sensor, single-chip microcomputer and pc machine; Said digital temperature sensor and single-chip microcomputer two-way communication, electronic balance and single-chip microcomputer two-way communication, single-chip microcomputer and the two-way communication of pc machine.
2. a kind of volumetric glass automatic calibrator based on single-chip microcomputer and the communication of pc machine according to claim 1 is characterized in that: on the input end of single-chip microcomputer, be connected with the startup single-chip microcomputer and read the temperature of digital temperature sensor collection and the K switch of the quality that electronic balance is gathered.
3. a kind of volumetric glass automatic calibrator based on single-chip microcomputer and the communication of pc machine according to claim 1 and 2 is characterized in that: said single-chip microcomputer adopts the AT89C2051 single-chip microcomputer.
4. a kind of volumetric glass automatic calibrator according to claim 3 based on single-chip microcomputer and the communication of pc machine; It is characterized in that: said digital temperature sensor adopts intelligent temperature sensor DS18B20, and said intelligent temperature sensor DS18B20 adopts 3 line systems to be connected with single-chip microcomputer.
CN2011205283403U 2011-12-16 2011-12-16 Glass volume meter automatic-calibration device based on communication between single-chip microcomputer and pc (Personal Computer) Expired - Fee Related CN202339226U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011205283403U CN202339226U (en) 2011-12-16 2011-12-16 Glass volume meter automatic-calibration device based on communication between single-chip microcomputer and pc (Personal Computer)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011205283403U CN202339226U (en) 2011-12-16 2011-12-16 Glass volume meter automatic-calibration device based on communication between single-chip microcomputer and pc (Personal Computer)

Publications (1)

Publication Number Publication Date
CN202339226U true CN202339226U (en) 2012-07-18

Family

ID=46487917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011205283403U Expired - Fee Related CN202339226U (en) 2011-12-16 2011-12-16 Glass volume meter automatic-calibration device based on communication between single-chip microcomputer and pc (Personal Computer)

Country Status (1)

Country Link
CN (1) CN202339226U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104180878A (en) * 2014-08-26 2014-12-03 深圳市湘津石仪器有限公司 Container capacity automatic verification device and verification method thereof
CN110715711A (en) * 2019-09-27 2020-01-21 天津市计量监督检测科学研究院 Automatic calibration system of graduated flask

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104180878A (en) * 2014-08-26 2014-12-03 深圳市湘津石仪器有限公司 Container capacity automatic verification device and verification method thereof
CN110715711A (en) * 2019-09-27 2020-01-21 天津市计量监督检测科学研究院 Automatic calibration system of graduated flask

Similar Documents

Publication Publication Date Title
CN100437655C (en) Distributed network data acquisition apparatus
CN106649166A (en) Universal inertial data processing system based on uniform interface
CN201285600Y (en) Multi-parameter monitoring digital recorder instrument
CN202339226U (en) Glass volume meter automatic-calibration device based on communication between single-chip microcomputer and pc (Personal Computer)
CN202403694U (en) GPS (global positioning system) farmland area measuring apparatus
CN102759420B (en) Intelligent borehole stress sensor and meter calibration method thereof
CN103475728A (en) Orchard ecological environment remote monitoring system based on wireless sensor network
CN206192340U (en) Portable inclination measuring equipment
CN103075961A (en) Position measuring and displaying device and method for supporting a plurality of grating rules based on single chip field programmable gate array (FPGA)
CN201397359Y (en) Metering and monitoring module for electric power remote terminal unit
CN201628870U (en) High-precision multi-channel temperature measuring device
CN203053403U (en) A single-FPGA-based position measuring and displaying device supporting multiple grating rulers
CN104155891A (en) I<2>C-based networked transmitter and communication implementation method thereof
Jue et al. Design of Modbus-Profibus fieldbus bridge based on the STM32 and VPC3+ C
CN203673293U (en) Position measuring and controlling device
CN203274869U (en) Novel non-code calibration weighing instrument system
Zhao et al. Intelligent yield monitoring system of harvester based on plot breeding
CN206773470U (en) A kind of data concentrator
CN202956199U (en) Unibus multi-point temperature monitoring system
CN202453100U (en) Digital thermometer
Li et al. Design of distributed temperature and humidity monitoring system based on single-chip microcomputer
CN203037368U (en) Temperature measurement processing apparatus
CN205120099U (en) Simple and easy inclinometer based on electron gyroscope and acceleration sensor
CN201724968U (en) Voltage collector
CN203132734U (en) A refrigerator temperature online detecting device

Legal Events

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

Granted publication date: 20120718

Termination date: 20141216

EXPY Termination of patent right or utility model