数字电子秤设计文献综述.(优选)
- 格式:doc
- 大小:30.50 KB
- 文档页数:9
多功能电子称作者:xxx摘要:该设计以51系列单片机AT89S52为控制核心,实现电子秤的基本控制功能。
在设计系统时,为了更好地采用模块化设计法,分步的设计各个单元功能模块,系统的硬件部分可以分为最小系统、数据采集、人机交互界面和系统电源四大部分。
最小系统部分主要包括AT89S52和扩展的外部数据存储器;数据采集部分由压力传感器、信号的前级处理和A/D 转换部分组成,包括运算放大器AD620和A/D转换器ICL7135;人机交互界面为键盘输入和点阵式液晶显示,主要使用ZLG7289键盘控制芯片和OCM4x8C显示器,可以方便的输入数据和直观的显示中文。
系统电源以LM317和LM337为核心设计电路以提供系统正常工作电源。
软件部分应用单片机C语言进行编程,实现了该设计的全部控制功能。
该电子秤可以实现基本的称重功能(称重范围为0~9.999Kg,重量误差不大于±0.005Kg),并发挥部分的显示购物清单的功能,可以设置日期和设定十种商品的单价,还具有超量程和欠量程的报警功能。
整个系统结构简单,使用方便,功能齐全,精度高,具有一定的开发价值。
关键词:单片机;采样电路;A/D转换器;液晶显示ABSTRACT:The design is based on the microcontroller AT89S52 system as the core to carry out the basic control function of the electronics steelyard. While designing the system, I adopt the mold piece method to divide the hardware of the system into four parts: the minimum system, sampling circuit, I/O interface and the system power supply. The minimum system mainly includes the AT89S52 and the expanded exterior data memory. Sampling circuit is comprised of a pressure sensor, a differential measuring amplifier AD620 and a A/D converter ICL7135. With the usage of ZLG7289 keyboard control chip and OCM4*8C display, we complete the function of the key board input and the LCD manifestation. The power supply system selects the LM317 and LM337 to design the electric circuit to provide the needed power supply. The software part applies a machine C language to carry out all control function. The electronic steelyard can weigh the scope as 0~9.999Kgs, and the weigh error margin is no bigger than ±0.005Kgs. It also has many other functions, such as displaying the shopping detailed list, setting the date and ten kinds of unit prices of merchandise and overweighing alarm. The whole system is simple, well-found, convenient to use and has high accuracy and certain development value.Key words:microcontroller; sampling circuit; A/D converter;LCD Manifestation目录第一章绪论 (1)1.1 引言 (1)1.2选题背景与意义 (2)1.3 研究现状 (2)1.3.1 影响因素 (2)1.3.2产品质量 (3)1.3.3发展方向 (3)1.3.4电子秤的智能化 (3)1.4 本文的结构 (4)第二章系统方案的设计 (5)2.1 电子秤的设计要求 (5)2.1.1 基本要求 (5)2.1.2 发挥部分 (5)2.1.3 创新部分 (5)2.2 系统工作原理及设计基本思路 (5)2.2.1 系统工作原理 (5)2.2.2 系统设计基本思路 (6)2.3 系统总体设计方案比较与论证 (6)2.4 单片机的选型 (8)2.5 数据采集部分的方案确定 (9)2.5.1 传感器 (9)2.5.2 前级放大器部分 (12)2.5.3 A/D转换器 (15)2.6 人机交互部分 (17)2.6.1 键盘输入 (17)2.6.2 输出显示 (17)2.7 系统电源 (18)2.8 具体实施方案简介 (20)第三章系统硬件设计 (22)3.1 基于AT89S52的主控电路 (22)3.1.1 芯片介绍 (22)3.1.2 主控电路 (26)3.2 基于ICL7135的前端信号处理电路 (27)3.2.1 芯片介绍 (27)3.2.2 信号处理电路 (30)3.3 人机交互界面 (33)3.3.1 键盘控制电路 (33)3.3.2 液晶显示电路 (35)3.4 系统电源 (37)3.4.1 芯片介绍 (37)3.4.2 电源电路 (38)3.5 报警电路 (40)第四章软件流程 (41)4.1 主程序流程图 (41)4.2 主要中断程序流程图 (42)第五章结论 (44)致谢 (46)参考文献 (47)附录A:英文资料 (48)附录B:英文资料翻译 (55)附录C:原理图 (62)附录D:Pcb板图 (63)附录E:元器件清单 (64)第一章绪论1.1引言质量是测量领域中的一个重要参数,称重技术自古以来就被人们所重视。
【关键字】毕业设计毕业设计电子秤篇一:毕业论文--基于单片机的电子秤设计基于单片机的电子秤设计摘要:本设计以51系列单片机STC89C52RC为控制核心,实现电子秤的基本控制功能。
在设计系统时,为了更好地采用模块化设计法,分步的设计各个单元功能模块,系统的硬件部分可以分为最小系统、数据采集、人机交互界面(键盘以及显示)和系统电源四大部分。
最小系统部分为STC89C52RC系统;数据采集部分由压力传感器、信号的前级处理和A/D转换部分组成,包括运算放大器OP07和A/D转换器ADC0809;人机交互界面为键盘输入和数码管显示,主要使用5X5键盘、CH423数码管控制芯片及13位数码管显示,可以方便的输入数据并直观的显示重量、单价和总价。
系统电源是以LM7805、LM7812为核心设计电路以提供系统正常工作电源。
软件部分应用单片机C51语言进行编程,实现了该设计的基本控制功能。
该电子秤可以实现基本的称重功能(称重范围为0~10Kg,重量误差不大于±0.02Kg),重量、单价、总价的计量可以精确到两位小数,键盘设置有数字键(‘0’~‘9’、‘.’)、储存键、单价1~单价8调用单价键、清除键、去皮键等;发挥部分有8种不同物品的单价记忆功能、99种消费商品价格累计功能、;待发挥部分为讲电子秤与打印机连接,能打印消费记录(小票),超量程和欠量程的报警功能。
本系统结构简单,使用方便,功能齐全,精度高,具有一定的开发价值。
关键词:单片机采样电路A/D转换器CH423数码管驱动芯片数码管显示工作电源the design of electronic scales based on Single-chipMicrocomputerABSTRACT :The design for the control of 51 computers STC89C52RC the core, to achieve the basic control functions of electronic scales. In designing the system, in order to better modular design, the design of each unit step function modules, the system can be divided into the minimum hardware system, data acquisition, man-machine interface (keypad and display) and the system power 4 most. Minimum system partly STC89C52RC system; data collection in part by the pressure sensor, signal processing and the first class A / D conversion components, including the operational amplifier OP07 and the A / D converter ADC0809; man-machine interface for the keyboard and digital display The main use of 5X5 keypad, CH423 digital control chip and 13 digital display, can easily enter data and visual display weight, unit price and total price. System power is based on LM7805, LM7812 as the core design of the circuit to provide normal power supply system. Software part of the application MCU C51 language programming, the design of the basic control functions. The electronic weighing scales can realize the basic functions (weighing range of 0 ~ 10Kg, the weight of the error is not greater than ± 0.02Kg), weight, unit price, total measurement is accurate to two decimal places, the keyboard settings are the number keys ( '0 '~ '9','.'), storage key, Unit 1 to Unit 8 Unit call key, clear key, peeled keys, etc.; play a part in 8different items priced memory, 99 kinds of consumer goods prices cumulative function; play a part to be about electronic scales and printers connected to print consumption records (small notes), over range and under-range alarm. The system is simple, easy to use, fully functional, high precision, has some value for development.Key words:microcontroller sampling circuit A/D converter CH423 digital tube driver chip digital display Power Supply目录第一章绪论11.1引言 (1)1.2 选题背景与意义 (1)第二章系统方案的设计 (2)2.1 电子秤的设计要求 (2)2.1.1 基本要求 (2)2.1.2 特色与创新 (2)2.2实验原理及设计基本思路 (2) (2)2.2.2 系统设计基本思路 (2)2.3 系统总体设计方案比较与论证 (3)2.4单片机的选型 (4)2.5 数据采集部分的方案确定 (4)2.5.1 传感器 (4)2.5.2 前级放大器部分 (7)2.5.3 A/D 转换器 (9)2.6人机交互部分 (11)2.6.1 键盘输入 (11)2.6.2 输出显示 (11)2.7系统电源 (12)2.8 具体实施方案简介 (13)第三章系统硬件设计 (15)3.1 基于STC89C52RC的主控电路 (15) (15)3.2 系统电源 (18)3.2.1 芯片介绍 (18)3.2.2 电源电路 (19)第四章软件流程 (20)4.1 主程序流程图 (20)4.2 键盘扫描流程图 (21)第五章结论 (22)5.1 论文总结 (22)5.2 感想 (22)致谢 (24)参考文献 (25)附录A:原理图 (26)附录B:源程序 (29)第一章绪论1.1引言在现代化的今天,电子产品变得越来越丰富,给人们带来了诸多方便,其中电子秤成了人们生活中不可或缺的一部分。
电子秤的设计毕业论文电子秤的设计摘要:本文主要介绍了电子秤的设计。
在设计中,首先进行了硬件设计,包括选取负载电阻,选择放大器运放,设计AD转换电路以及LCD显示屏等组成电子秤的关键硬件模块。
其次,进行了软件设计,使用Keil软件编写程序实现电子秤的各项功能。
对所设计的电子秤进行了测试验证,结果表明,该电子秤的测量精度达到了0.001g的标准。
关键词:电子秤,硬件设计,软件设计,测试验证一、设计思路电子秤是一种以数字量化的方式来实现物品质量测量的设备,具有精度高、测量范围广、易于读取和读数准确等优点。
电子秤一般由传感器、放大器、AD转换器、显示屏等组成,因此本次设计重点在于设计出这些硬件模块,并配以合适的软件程序来控制和实现各项功能。
二、硬件设计1.选取负载电阻电子秤的测量精度直接与所采用的负载电阻有关,如果选择的电阻太小,会导致电子秤的灵敏度降低,而过大的电阻则会使得电子秤在测量重量时不够精确。
因此,为确保电子秤的精度,应该根据秤的制造要求来选择负载电阻。
考虑到设计成本及电路的稳定性,本次设计选用的负载电阻为100欧姆。
2.选择放大器运放为了保证电子秤在测量重量时的可靠性,并获得良好的放大效果,本次设计选用了高精度的放大器运放—AD620。
AD620是一种可编程增益运放器,其增益范围从1到10,000,增益调节简单、性能稳定,广泛用于电子秤等有关测量领域。
3.设计AD转换电路AD转换电路是电子秤中重要的硬件模块,其负责将被放大后的电信号转换为数字信号,以实现数字化显示。
本设计中选用了12位的AD转换器—TLC2543,其采样频率可达50ksps,可以满足电子秤测量的速度要求。
4.LCD显示模块所设计的电子秤需要具备数据输出功能,因此本次设计选用了128*64点阵的LCD显示器模块,作为数据显示的主要载体。
这种LCD显示器具有显示清晰、占用空间小、显示效果佳等优点,适合在电子秤设计中使用。
三、软件设计在电路硬件模块设计完毕之后,为了实现电子秤的各项功能,我们需要设计一个可存在单片机中的程序。
毕业论文文献综述机械设计制造及其自动化数字称重计量系统设计一、研究现状和发展趋势电子衡器是指配有电子称重装置的衡器,主要由称重传感器、承载器、称重仪表这3部分所组成。
其主要的工作原理是将作用在称重承载器上的力传递到称重传感器上,并将其转换成与之相对应的模拟信号(电压或电流),输出的模拟量信号再经过A/D转换器转换成数字量信号,并在仪表盘上显示出来。
我国是从20世纪60年代中期开始研制并生产电子秤的,模拟指针式的电子秤是早期电子秤主要形式,20世纪80年代中后期开始发展为数字式,20世纪90年代末至21世纪初已研制开发出微机式电子秤。
而数字化传感器的推出则是在80年代末,美国SENSORTRONICS(STS)公司在88年全美衡器展览会上首次推出了一种能将A/D转换器放置于普通应变式称重传感器中的数字传感器,即整体型数字传感器,这种传感器在美国市场备受瞩目。
应变式称重传感器生产的工艺环节比较多,工艺比较复杂,尽管投入了大量物力、人力及精力,调整了像灵敏度、温度、零点、滞后、非线性、蠕变等性能的补偿及四角误差等的问题,但是要达到高质量的要求,补偿技术的设备却还难以做到,普遍存在着质量成本和生产成本一直居高不下的严重问题。
然而随着电子技术的飞速发展,以及单片机技术的普及化,数字化称重传感器也就应运而生。
它是一种将现代电子技术及计算机软件技术与传统应变式称重传感器相结合而发展起来的新型的电子称重技术。
它采用的称重技术是在传感器内部采用了高智能化、高集成化的处理单元,将模拟重量信号进行A/D转换,自动对应变式称重传感器的滞后、零点、非线性、温度、蠕变性能等进行数字化补偿,最后输出数字信号。
电子技术的飞速发展也使衡器数字化得到了大大的发展,但电子衡器却还仍处在模拟电子技术的水平。
在称重仪表与数字称重传感器产品的开发过程中,软件自动化补偿技术及其A/D转换技术的重复和混乱使用,造成了器件资源的严重浪费,增加的外围电路,系统软件的不统一和不完善,使得产品成本增加了不少,不能真正实现电子秤的微型化、低功耗、智能化和高可靠性的目的。
数字电子秤的设计与实现外文文献及翻译数字电子秤的设计与实现毕业论文外文参考文献参考一 :Abstract: In order to solve the weight problem often encountered in measuring the low-mass objects in the trade and daily life of the modern business, the design of a new pocket-sized electronic scales. This pocket-sized electronic scales Force Sensor gravity signals into electrical signals to measure, and measuring the results of the digital display. The pocket-sized electronic scales with a small size, light weight, easy to carry, intuitive display, measurement and high precision; complex structure, the cost disadvantages. This article focuses on the load cell works, error compensation, the main parameters of selection. And the technical and economic analysis.Keywords: pocket-sized electronic scales; weighing; sensor; error compensationCLC1 A needs analysisIn modern commerce and trade and everyday life, often encounter the problem of measuring the weight of the low-mass objects. Although the traditional steelyard can solve this problem, but inconvenient to carry, the efficiency is not high, the display is not intuitive and low measurement accuracy; mechanical spring balance can solve this problem, but the inertia inherent low frequency, high sensitivity, measurement accuracy is not high. With the progress andupdate of the micro-computer technology, integrated circuit technology, sensor technology, electronic scales rapid development,it has a responsive, high accuracy, fully functional, the display is intuitive,1数字电子秤的设计与实现compact, easy to use and so on.For these reasons, in order to solve the low-mass objects weighing problem, if a small size, light weight, portable, digital display electronic scales, will be popular. Discussed below, that is, the scope of a weighing 5 kg compact electronic scales.2 DesignThe principle of the structure of the pocket-sized electronic scales shown in Figure 1. The main task is to design compact electronic scales weighing the choice of the force sensors. Dynamometer sensor types to achieve the weighing and digital display, the key is to want to force (gravity) signals into electrical signals to measure method is mainly divided into two categories: one is the direct method, namely the use of pressure magnetic sensor, piezoelectric sensor, Piezoresistive sensors directly to the force signal converted into electrical signals; the other is the indirect method, the elastic element as the sensor will pull, pressure changes in strain, displacement, or frequency, and then strain sensors, displacement sensors, or frequency sensor strain, displacement orfrequency changes for power. Comprehensive comparison of a variety of sensors, use theindirect method of strain gauge force transducer.Pocket-sized electronic scale structural principle:Sensor ? amplifier ? CPU ? display ? AD converter3 The working principle of the strain gauge force transducer strain gauge pasted into force, force-sensitive elastic element, the corresponding strain when the elastic element force deformation, the strain gauge into a resistance change, which led to the voltage measuring circuit changes by measuring the output voltage value, and then through the conversion can be obtained by the measurement of body weight. Since the pocket-sized electronic scales require small size, weighing in scope, precision and angle even consistency, sensor and display integration, it is selected parallel to the two holes cantilever beam strain gauge load-bearing sensor. Its characteristics are: high precision,2数字电子秤的设计与实现ease of processing, simple and compact structure, strong resistance to partial load, high natural frequency.Strain gauge choice of a metal palisade metal mooring paste on the insulating substrate parked strain gages, mechanical strain resistance strain gauge feelings generally 10 - 10 - 2mm, the resistance rate of change of the attendant about 10 - 6 10 - 2 orders of magnitude, such asmall change in resistance measured using the general resistance of the instrument is hard to measure out, you must use some form of measurement.Circuit into small changes in resistance rates to changes in voltage or current, in order to secondary instrument display. Bridge measurement circuit to meet this requirement. In the load cell, R1, R2, R3, R4 strain gauge resistor bridge measurement circuit shown in Figure 3. Rm is the temperature compensation resistor, e is the excitation voltage, V is the output voltage.参考二 :The load cell is a quality signal into a measurable electrical signal output device. Must consider the actual working environment of the sensor which sensor Yin, this is essential for the correct selection of the load cell, and it is related to the sensor can work as well as its safety and service life, and the whole weighing the reliability and safety sex. On the basic concepts and methods of evaluation of the major technical indicators of the load cell, the new and old GB qualitative differences.The traditional concept, the load sensor weighing sensors, force sensors, collectively referred to using a single parameter to evaluate its measurement properties. Old GB will be completely different application objects and the use of environmental conditions "weighing" and "measured force" two sensors into one to consider, not given to3数字电子秤的设计与实现distinguish between the test and evaluation methods. Old GB total of 21 indicators, were tested at room temperature; and non-linearity, hysteresis error, repeatability error, creep, the additional error of the zero temperature and themaximum error in the six indicators of the rated output additional temperature error, to determine said The level of accuracy of the weight sensor, respectively 0.02,0.03,0.05 said.Proportion to convert the output signal can be measured. Taking into account the different place of use of the acceleration due to gravity and air buoyancy on the conversion, the main performance indicators of the load cell linearity error, hysteresis error, repeatability error, creep, zero-temperature characteristics and temperature sensitivity characteristics. In a variety of weighing and measuring the quality of the system, usually the integrated error accuracy of the integrated control sensors, and integrated error band or scale error band linked so that selection corresponds to a certain accuracy weighing weighing sensors. International Organization of Legal Metrology (OIML) requirements, sensor error with total weighing instrument error 6 with A of 70% of the load cell linearity error, hysteresis error within the specified temperature range due to the effect of temperature on the sensitivity of the er ror the sum can not exceed the error band of 6 . This allows the manufacturer of the components that make up the total measurement error adjustment to obtain the desired accuracy.The load cell conversion method is divided into photoelectric, hydraulic, electromagnetic force type, capacitive, magnetic poles change the form of vibratory gyroscope ceremony, resistance strain type, to the most extensive use of resistance strain.Electromagnetic force sensorItElectromagnetic force sensorIt uses a load-bearing stage load and theprinciple of electromagnetic force Equilibrium (Figure 5). Put the loading stage, the measured object at one end of the lever upward tilt; photoelectric detect the tilt signal, amplified into the4数字电子秤的设计与实现coil, the electromagnetic force, so that the lever to return to equilibrium. Currents produce electromagnetic counterweight digital converter, you can determine the quality of the measured object. The electromagnetic force sensor accuracy, up to 1/2000 ~ 1/60000, but the weighing range is only tens of mg to 10 kg.Capacitive sensorsItCapacitor oscillator circuit of the oscillation frequency and the plate spacing d is directly proportional relationship between the work. There are two plates, one fixed and the other one can move. Bearing load measured object, the leaf spring deflection, the distance between the two plates changes, the oscillation frequency of the circuit also changes. The measured frequency change can be calculated to the quality of the load-bearing stage, the measured object. Capacitive sensor power consumption, low cost, accuracy of 1/200 to 1/500.Pole change the form of sensorFerromagneticcomponents in the measured object gravity under mechanicaldeformation, internal stress and cause changes in permeability, and also changes so that the induced voltage of the secondary coil wound on both sides of the ferromagnetic component (pole). Measure the voltage variation can be calculated added to the force on the pole, and then determine the quality of the measured object. Pole to change the form of sensor accuracy is not high, usually 1/100, applicable to the large tonnage weighing, weighing ranging from tens to tens of thousands of kilograms.Vibration sensorThe force of the elastic element, the natural vibration frequency of the force is proportional to the square root of. Measure the natural frequency changes, you can find the measured object role in the elastic component of the force, and then calculate the quality. The vibration sensor vibrating wire and tuning fork.The elastic component of the vibrating wire sensor string wire. When the loadbearing stage, plus the5数字电子秤的设计与实现measured object, the intersection of the V-shaped string wire is pulled down, and left strings of tension increases, the right string tension decreases. The natural frequency of the two strings of different changes. Calculate the frequency difference between the two strings, you can find the quality of the measured object. The higher the accuracy of the vibrating wire sensor, up to1/1000 ~ 1/10000, weighing 100 g to hundreds of kilograms, but the structure is complex and difficult process, and high cost.The elastic component of the tuning fork sensor is a tuning fork.Fixed tuning fork end of the piezoelectric element, the naturalfrequency of oscillation of a tuning fork, it can be measuredoscillation frequency. When the load-bearing stage and the measuredobject, the tuning fork direction of tensile force while the increase in natural frequency, increasing levels of applied force is proportional to the square root. Measure the changes of natural frequency can be calculated heavy loads imposed on the tuning fork on the force, and then calculate the quality of heavy objects.The tuning fork sensor power consumption, measurement accuracy up to 1/10000 to 1/200 000, weighing range of 500g ~ 10kg.外文参考文献中文翻译外乜匕_4 .参考一 :摘要 : 为解决现代商业贸易和日常生活中经常遇到的测量小质量物体的重量问题 , 介绍了一种新型的袖珍式电子秤的设计。
引言电子秤的研究现状以及发展趋势近些年,电子秤从之前单一的称重器向着智能称发展,电子称技术有了飞跃的发展,越来越集成化,模块化,测量方面速度越来越快,现实的精度越来越高,在准确度方面也是国际领先水平,作为重量测量仪器,智能电子秤已经取代之前的杆秤以及甚至后来的单一的简易电子秤。
纵观国际上的在电子称方面,无论是技术还是规模都有了较高的水平,尤其是在准确度和精度方面突破性较大,在称重传感器方面,国外很多产品在技术和结构方面有较大的发展空间。
目前在人们的生活中,电子称应用十分的广泛,尤其是自己经营商店的应用更是广泛。
正是由于应用十分的广泛,电子称的种类也在不停的改变,随着市场的不断扩大更新型的电子称也更加的浮出水面,现在的电子称更便捷,更智能,更准确。
本设计的主要工作本次的课题是基于单片机的电子称的设计,以单片机为核心展开一系列的工作:(1)掌握STC89C52单片机的工作原理以及开发过程;(2)结合所需要完成的功能,具体的给出方案并进行方案的设计;(3)正确选择开发工具,进行软件硬件的调试。
第1章系统方案设计为了实现本次的设计,采用由整体到局部的设计思想,将软、硬件结合从而完成本次的设计任务,达到所需要的目标。
1.1 设计要求(1)电源电压+5V;(2)最大称重重量5Kg ,精度0.1Kg;(3)进行计量单位的切换;(4)显示称重重量;(5)超出量程时具有蜂鸣器报警功能。
1.2工作原理当托盘上受到被测物体的重力,压力施加给传感器,传感器的弹性元件在外力的作用下会产生弹性形变,使得黏贴在表面的应变片也发生形变,应变片形变之后其电阻值也发生变化,经过后面相应的测量电路把电阻的变化转换成电压的变化,这样问完成了将机械形变转换成电信号的过程,得到一个模拟的信号,经过后期的信号放大给模数转换器一个高倍放大后的数字信号信号,将数字信号送给CPU,主控芯片STC89C52根据软件的编译代码将测量结果送到显示器,显示出被测物体的重量,其总体设计框图如图1-1所示。
电子秤设计毕业论文智能电子秤设计摘要目前,电子计价秤的使用非常普及,逐渐会取代传统的杆秤。
由压力传感器制作的电子秤已广泛地应用到各行各业,特别是微处理机的出现,工业生产过程自动化程度的不断提高,压力传感器已成为过程控制中的一种必需的装置。
本文介绍了一种以MSP43单片机微处理器最小系统,并配以几个主要的集成电路器件设计成的智能电子秤。
本系统是利用压力传感器采集当前压力,根据输入单价,准确计算出物品的金额,同时把重量、金额显示到LED数码管上。
关键词:压力传感器放大器单片机AbstractNowadays, electronic scale is very popular and it will replace the traditional steelyard gradually. The electr onics steelyard made by the pressure tran sducer has bee n applied to all professions, especially the emergence of the microprocessor. And with the increasing of the automati on of in dustry product ion, the pressure tran sducer becomes a kind of esse ntial device in the process con trol.This paper introduces a MSP430 smallest single-chip microprocessor system, and with several major integrated circuit devices designed as a smart electronic scales. The system is to use pressure sen sors collect the curre nt pressure, accord ing to in put price, and accurately calculate the amount of goods At the same time, the weight of the amount of shows on the LED digital tube.Keywords:Pressure Transducer amplifier Single chip microcomputer目录第一章绪论 (1)1.1电子秤设计背景.......................................................... 1.1.2称重技术和衡器的发展.................................................... 1.1.3电子秤的发展现状......................................................... 1.1.4电子秤的发展趋势.........................................................2.1.5现有电子秤的不足......................................................... 4. 第二章芯片介绍 (5)2.1单片机的发展............................................................ 5.2.2 MSP430F149 芯片..................................................... 6.2.2.1 MSP430F149 的引脚 ............................................... 6.2.2.2 MSP430F149的模数转换器ADC12 (9)2.3压力传感器.............................................................. 1.02.3.1压力传感器的选择 (10)2.3.2放大电路.......................................................... 1.12.4 LED数码管 (12)2.4.1数码管的分类 (12)2.4.2数码管的驱动方式 (12)2.5 键盘................................................................... .132.6相关软件 (13)2.6.1 Protel 99 SE ............................................................................................ 1.32.6.2 C 语言............................................................ 1.52.7 小结.................................................................... .16 第三章系统硬件设计. (17)3.1电子秤系统的构成及工作原理............................................. 1.73.2电子秤系统压力传感器电路................................................ 1.73.3电子秤系统的键盘电路 (18)3.4电子秤系统的显示电路 (19)3.5电子秤系统的电源电路 (20)3.6小结 (20)第四章电子秤系统的软件设计 (21)4.1电子秤系统的程序总流程图 (21)4.2初始化程序流程图 (21)4.3压力传感器程序流程图 (22)4.4 预处理程序流程图 (22)4.5称重计价程序流程图 (23)4.6 键盘程序流程图 (24)4.6.1键盘分析程序 (25)4.7数码管显示流程图 (27)4.8小结 (27)结论 (28)致谢 (29)参考文献 (30)附录一 (31)附录二 (33)第一章绪论1.1电子秤设计背景目前,台式电子秤在商业贸易中的使用已相当普遍,但存在较大的局限性:体积大、成本高、需要工频交流电源供应、携带不便、应用场所受到制约。
本数字电子秤设计是由电源模块、A/D转换模块、放大模块、数字显示模块、自动切换模块五大模块组成。
采用压敏4片电阻构成的电桥测量电路来采集极其微小的电压信号,然后送入放大电路放大后送入A/D转换芯片CC7107,使得输入电压信号转换成数字量来输出;再有译码电路转换模块直接连接数码显示管构成,显示实际测量值。
同时根据输出,自动判断出所加压力的大小来改变量程,实现自动换挡。
该设计比较简单,方便制作生产。
关键词:电子秤转换器重量传感器放大器AbstractThis digital electronic scale by the power module is designed, A / D conversion module, amplifier module, a digital display module, the module automatically switches five modules. Bridge measurement circuit using four resistors sensitive to collect tiny voltage signal is then fed into the amplifier circuit A / D converter chip CC7107, so that the input signal is converted into digital voltage outputs; Further translation code conversion module circuits directly connected digital display tubes, shows the actual measured values. Meanwhile according to the output, automatically determine the size of the applied pressure to change the range, automatic shift. The design is simple, easy to produce and production. KEYWORDS :digital electronic scale weighing sensor amplifier中文摘要..................................................................... 英文摘要..................................................................... 前言..................................................... 错误!未定义书签。
文献综述摘要本设计系统以单片机P89LPC9408为控制核心,实现电子秤的基本控制功能。
在设计系统时,为了更好地采用模块化设计法,分步设计了各个单元功能模块。
系统的硬件部分包括最小系统部分、数据采集部分、人机交互界面和系统电源四大部分。
系统的软件部分应用单片机C语言进行编程,实现了该设计的全部控制功能。
该电子秤可以实现基本的称重功能(称重范围为0~1Kg,重量误差不大于0.5%),还具有超量程和欠量程的报警功能。
本系统设计结构简单,使用方便,功能齐全,精度高,具有一定的开发价值。
关键词单片机A/D转换数据处理1. 电子秤概述称重技术自古以来就被人们所重视,作为一种计量手段,广泛应用于工农业、科研、交通、内外贸易等各个领域,与人民的生活紧密相连。
电子秤是电子衡器中的一种,衡器是国家法定计量器具,是国计民生、国防建设、科学研究、内外贸易不可缺少的计量设备,衡器产品技术水平的高低,将直接影响各行各业的现代化水平和社会经济效益的提高。
因此,称重技术的研究和衡器工业的发展各国都非常重视。
我国电子衡器从最初的机电结合型发展到现在的全电子型和数字智能型。
我国电子衡器的技术装备和检测试验手段基本达到国际水平。
电子衡器制造技术及应用得到了新发展。
电子称重技术从静态称重向动态称重发展;计量方法从模拟测量向数字测量发展;测量特点从单参数测量向多参数测量发展,特别是对快速称重和动态称重的研究与应用。
电子秤属于电子衡器的一种,它的发展也遵循这一趋势。
随着时代科技的迅猛发展,微电子学和计算机等现代电子技术的成就给传统的电子测量与仪器带来了巨大的冲击和革命性的影响。
常规的测试仪器仪表和控制装置被更先进的智能仪器所取代,使得传统的电子测量仪器在远距离、功能、精度及自动化水平定方面发生了巨大变化,并相应的出现了各种各样的智能仪器控制系统,使得科学实验和应用工程的自动化程度得以显著提高。
做为重量测量仪器,智能电子秤在各行各业开始显现其测量准确,测量速度快,易于实时测量和监控的巨大优点,并开始逐渐取代传统型的机械杠杆测量称,成为测量领域的主流产品。
电子秤的设计研究摘要本文设计的电子称以单片机为主要部件,用C语言进行软件设计,硬件则以双孔梁,放大系统,A/D转换系统,数码管显示系统的五部分组成,通过电路输出电压和标准重量的线性关系,建立具体的数学模型,将电压量纲(V)转换成重量纲(g)即成为一台原始的电子称,最后将所得的重量通过数码管显示出来。
本文设计的电子秤虽然是一个极其简单的仪器,但是通过它可以更深入的了解仪器的工作原理以及其优异的性能。
关键词电子秤;单片机;双孔梁;放大器;A/D转换;数码管0 引言在我们生活中经常都需要测量物体的重量,于是就用到称,但是随着社会的进步,科学的发展,我们对其要求操作方便,易于识别。
随着计量技术和电子技术的发展,电子称向提高精度和降低成本方向发展的趋势对低成本,高性能模拟信号处理器件需求的增加,通过近年来电子称产品的发展情况及国内外市场的需求,电子称总的发展趋势是小型化,模块化,集成化,智能化。
1 电子秤发展研究现状近几年,我国的电子称重系统从最初的机电组合型发展到现在的全电子型和数字智能型,电子称重技术逐渐从静态称重到动态称重发展,从模拟测量到数字测量发展,从单参数测量向多参数测量发展。
在国际上一些发达国家在电子称重力一面,特别是在准确性和可靠性等方面有了很大的提高,国外产品的品种和结构又有创新,技术功能和应用范围不断扩大。
随着信息时代的到来在工业过程检测和称重计量与控制系统中,数字化电子称和数字称重系统的应用越来越多。
作为一种计量手段,广泛应用于工农业,科研,交通,内外贸易等各个领域,而且作为工业控制系统和商业管理系统的一个组成部分,它起到了缩短作业时间,改善操作条件,降低能源和材料的消耗,提高产品质量和加强企业管理,改善经营管理等多方面的作用,称重装置的应用已经遍及到国民经济各领域,取得了显著的经济效益。
2 电子称设计方案分析2.1 电子秤的设计要求及工作原理系统分为三大模块:数据采集模块,控制模块,数码管显示模块。