外文文献及翻译:基于单片机的电子称设计

外文文献及翻译:基于单片机的电子称设计
外文文献及翻译:基于单片机的电子称设计

外文文献及翻译:基于单片机的电子称设计本科生毕业设计(论文)外文翻译

毕业设计题目: 基于单片机的电子称设计

学院:

专业班级:

学生

指导教师:

2011年 3 月 9日

Electronic scales

Electronic scales are weighing technology in a new type of

instrument is widely used in various occasions. Electronic scales and mechanical scales have more small size, light weight, simple structure, low price and practical value of strong, convenient maintenance and so on can be in a variety of environmental work, the weight of the signal can be Remote, the weight of display is easy to implement digital, easy-to-computer network, production automation, higher labor productivity. Scale labels in the supermarket is in the application of face value. A small label contains: name, price, weight, etc. 11 list in this small electronic label. Greatly accelerated the use of label machine sales pace, but also convenient for customers. Top barcode labels have many remarkable features of scale, Ethernet feature makes the management more convenient.

Electronic Scale Classification (scales can be divided into mechanical and electronic type)

1( How it works: electronic works in electronic components (weighing sensor, AD conversion circuit, microcontroller circuits, display circuit, keyboard circuitry, communications interface circuits, regulated power supply circuit circuit.

2( using the function: electronic weighing the use of modern sensor technology, electronics and computer technology integration, electronic weighing devices, in order to meet and solve real life's "fast, accurate, continuous, automatic" weighing requirements, while effectively eliminating human error, to make it more in line with the management of legal metrology and industrial production process control applications.

3. Three health scales are weighing the use of features in a

category (divided into mechanical and electronic), inexpensive, it can help people to effectively monitor their own body weight changes, new products also can detect their fat content, but also Some human-oriented subsidiary functions. May not be part of measuring equipment.

4( Electronic Scale is a measurement of the state compulsory test apparatus, and his qualified products are test indexing the value of D values of e and subdivision standards, is subject to the protection of the national metrology products. In the electronic weighing there is a category called "human scale" products, which can test in the measurement sector, weighing very precise.

Block diagram interpretation of the principle of electronic balance

The first part of the electronic scale principle block diagram:

Program K / B (button) ? Fx ? Sensors ? OP Zoom ? A / D converter ? CPU ? ? display driver display memory

Workflow Note: When an object on the pan when the pressure

facilities to the sensor that occurred deformation, so that resistance to change, while the use of excitation voltage changes, the output of a change in analog signal. This signal amplification by the amplifier output to the ADC. Converted to facilitate the processing of the digital signal output to the CPU operator control. CPU under the keyboard commands and program output to display this result. Until the show such a result.

The second part of the scale of the classification: 1. According to principles of points: E-scale mechanical scale mechanical and electrical integration scales 2. According to the functions sub: Counting Scales Weighing Scale Pricing Scale 3. Purpose: Industrial Commercial Scales Special Scales Balance

The third part of the scale types: 1. The full name of the desktop Scale refers to the volume of less than 30Kg electronic scale 2. The

full name of platform scale refers to the volume within the 30-300Kg Electronic Scale 3. Loadometer full name refers to the volume of more than 300Kg Electronic Scale 4. Precision Balance

4th Part of the accuracy of classification: I Class: Special scales precision ? 1 / 10 Wan II level: high-precision scale 1 / 10000 ?

precision of "1 / 100,000 III: the accuracy of scale 1 / 1000 ?

precision of "1 / 10000 Class IV: Common Scale 1

/ 100 ? precision of" 1 / 1000

Part V of professional terminology: 1. Maximum weighing: an electron balance, excluding tare weight, the maximum load can weigh; 2. Minimum weigh: a electronic scales below the value that would have occurred when a relatively error; 3. safe load: 120% of the normal weighing range; 4. Rated load: normal weighing range; 5. permissible error: class test when the maximum deviation; 6. a sense of quantity: a single electronic

scales can show the smallest scale; usually "d" to represent; 7.

analytic capacity: a function with a count of the electronic scales, can distinguish the smallest scale; 8. Resolution: a counting function with an electronic scale, the internal capacity of a Resolution of a parameter; 9. Warm-up time: a scale used to achieve the targets of the time; 10. Accuracy: The full name of a sense of volume and volume ratios;

11. electronic scale use of environmental temperature: -10 degrees Celsius to 40 degrees Celsius 12. platform scale The table size: 25cm X 30cm 30cm X 40cm 40cm X 50cm 42cm X 52cm 45cm X 60cm

Part VI electronic scale features: 1. To achieve long-distance operations; 2. To achieve automatic control; 3. Figures show that an intuitive, reduce human error; 4. High accuracy and resolution strong; 5. Weighing range is wide; 6 . unique features: buckle weight, withholding weight, zero, accumulated, warning, etc.; 7. maintenance simple; 8. size is small; 9. installation, calibration simple; 10. special industry, can

be accessed by the printer or computer-driven; 11. Intelligent

electronic scale, quick reaction, high efficiency; Part VII of the electronic scale

inspection process: 1. First, the overall examination: whether the wear and tear; 2. Whether the boot: the boot sequence is from 0 to 9 in turn shows that figures are vague, can zero; 3. Whether the backlight ;

4. with the weight tests in weighing;

5. chargers is intact, can use;

6. parts are complete; Part VIII sensor type: 1. Resistive: affordable,

high accuracy, widely used; 2. Capacitive: small size, low precision; 3. Maglev-style: special high-precision, high cost; 4. Hydraulic formula: the current the market has been eliminated; Display Type: 1.LCD (liquid crystal display): free electricity, energy-saving, with backlight; 2.LED: free electricity, power consumption, very bright; 3. Lamp: electricity, power consumption , high; K / B (button) type: 1. film button: contact type; 2. mechanical buttons: made up of many individual combinations of keys together; sensor characteristics: 1. rated load; 2. output sensitivity; 3. non-linear; 4. hysteresis; 5. repeatable; 6. creep; 7. 12:00 output effects; 8. rated output temperature; 9. 12:00 input; 10. input impedance; 11. output impedance; 12. Insulation Resistance ; 13.

to allow excitation voltage; (5-18V)

Part IX sensor damaged phenomenon: 1. Weighing not allowed; 2. Shows no return to zero; 3. Shows the number of bounce to judge the sensor + E,-E, + S,-S 1. The first to use resistance profile measurement 4-line

22 This resistance value, a total of 6 groups. The case of 400-450,

compared with Europe + E,-E; if it is 350 in Europe, compared to + S,-S; for the 290 in Europe, compared to R-arm; 2. + E,-E terminated on the + 1.5V voltage

Sensor correctly to exert a pressure, such as the output + _S increase, then the red table pens as + S, the contrary-S; 10th part of the high-precision counting scale features: 1.Kg/Ib unit conversion functions; 2. 12:00 display range adjustment function (GLH series does not) 3. Sampling speed adjustment function; 4. There are 10 groups memory function singlet; 5. may be at the same time the weight, quantity, the cumulative function (GLH only the number of cumulative) 6. can set the weight, the maximum amount of warning function; 7. automatic zero tracking, temperature linear correction; 8. deduction of withholding heavy weight and function; 9. Standby function; 10. there is zero shows zero tracking range and scope; 11. there is the battery voltage control to limit the function; Electronic scales are weighing technology in a new type of instrument is widely used in various occasions. Electronic scales and mechanical scales have more small size, light weight, simple structure, low price and practical value of strong, convenient maintenance and so on can be in a variety of environmental work, the weight of the signal can be Remote, the weight of display is easy to implement digital, easy-to-computer networking, process automation of production and improve labor productivity. Electronic Scale also has an automatic zero tracking, overload display of self-extinguishing characteristics.

Mechanical scales, floor scale / land in the value (car value), weigh-bridges and other fitted force-sensitive sensors and microcomputer-controlled intelligent weighing instruments become intelligent digital electrical and mechanical balance (or the mechanical and electrical dual-use scales), to improve the mechanical balance of the measurement accuracy, with low cost, high reliability, simple installation and so on, without prejudice to the original mechanical scales to any

transmission bearing structure. There are peeled, set to zero, the cumulative number of times, the cumulative weight (cumulative amount of valuation-based), auto-zeroing, auto-tracking and other functions. Weighing data can be directly printed or transmitted via computer networks, industrial processes can improve the level of scale and product quality, trade clearing with the scale can improve the

credibility of incalculable social and economic benefits.

Electronic Scale is basically a sensor, amplifier circuit, A / D conversion circuit, microcontroller control of display parts, switch matrix circuit, the keyboard circuit and power circuit. Weight sensor signals are converted to a corresponding electrical signal, after amplified into the A / D converted into pulses weight, through the SCM under the control of the analog voltage signals into digital. The

digital conversion by the SCM program in line with the actual weight of the value of sending the number of display windows.

MCU at the same time the keyboard and switch matrix for monitoring. According to the input parameter values, the program handled accordingly. Power circuit to provide the various parts of the operating voltage. Microprocessors such as 8050, HD404418F, 8031, etc. CPU. Highly

versatile motherboard, different values of range and sub-degree scales, just adjust the jumpers on the motherboard and the DIP switch can be achieved, the only difference is that the sensor used with a rated carrying capacity

Sensor is a physical device or biological organ that can detect and feel the outside of the signal, physical condition (such as light, heat, humidity) or chemical composition (such as smoke), and Discovery of information to other devices or organs. Definition of sensor National standard GB7665-87 sensor is defined as: "can feel the requirements are measured and converted in accordance with the laws of certain signal device or devices available, usually composed of

sensitive components and conversion devices." Sensor is a detection device, can feel the information being measured, and can detect sense of information, according to certain laws of transformation into electrical signals, or other forms of information required for output to meet the information transmission, processing, storage, display, recording and control requirements. It is the automatic detection and control of the primary link.

The role of sensor

People in order to obtain information from the outside world must help of sense organs. And rely on people's own sense organs, the study of natural phenomena and laws, and production activities in their functions on far enough. To meet this situation, we need sensors. It can be said sensor is an extension of human senses, also known as electronic features.

The arrival of the new technological revolution, the world entered the information age. In the course of the use of information, we must first resolve is to obtain accurate and reliable information, and sensors is to obtain information in

the field of natural and production of the main ways and means.

In modern industrial production, especially automated production process, the use of various sensors to monitor and control the various parameters of the production process, so that devices work best in the normal state or condition, and to achieve the best quality products. Therefore we can say, without a large number of good sensors, modern production base will be lost.

In the basic science research, a more prominent position sensor. The development of modern science and technology into many new areas: for example, thousands of light years to observe the macro level of the vast universe, to observe microscopically small particles cm the world, vertical, to observe the evolution over hundreds of years of celestial bodies , a short response to the s moment. In addition, there was even a matter of deepening understanding, developing new energy, new materials,

play an important role in a variety of extreme technology such as ultra-high temperature, ultra-low temperature, high pressure, ultra-high vacuum, powerful magnetic field, ultra-weak magnetic bagging, etc. . Obviously, to obtain a large number of human senses can not directly access the information,

Not compatible with sensors is impossible. Many basic scientific research obstacles, first of all to obtain information on the object is difficult, and a new highly sensitive detection mechanism and the emergence of sensors, often lead to breakthroughs in the field. The development of a number of sensors is often a pioneer in the development of marginal subjects.

Sensor has already penetrated into, such as industrial production, space development, marine exploration, environmental protection, resource survey, medical diagnostics, biotechnology, and even conservation areas and so most of the pan. It is no exaggeration to say that, from the vast space, the vastness of the ocean, as well as a variety of complex engineering systems, almost every modern project, are inseparable from a variety of sensors.

Thus, the sensor technology in economic development, promote the important role of social progress is very clear. Countries in the world attach great importance to the development of this area. I believe in the near future, there will be a leap in sensor technology, to achieve status commensurate with its important new level.

Sensor classification

Different views can be classified on the sensors: they transform principle (Transducer on the basic physical or chemical effect); their purpose; their output signal types and the production of their materials and processes.

Working principle of the sensor can be divided into physical sensors and chemical sensors two categories:

Sensor working principle of the classification of physical sensors that physical effects, such as the piezoelectric effect, magnetostriction, ionization, polarization, thermal, optical, magnetic and electric effects. Small changes in the amount of the measured signal will be converted into electrical signals.

Chemical sensors, including those with chemical adsorption, electrochemical reaction, a causal relationship between the phenomenon of the sensor, the measured signal will be small changes in volume converted to electrical signals.

Some sensors can not divided into physics, can not be divided into chemical classes. Most of the physics-based sensor is functioning. Many problems of chemical sensor technology, such as reliability issues, the possibility of mass production, prices, etc., solve such problems, the application of chemical sensors will have tremendous growth.

Dynamic characteristic

The so-called dynamic characteristics, is the change in the input sensor, its output characteristics. In practice, the sensor's dynamic characteristics common to certain standards of its response to said

input signal. This is because the sensor response to the standard input signal easily obtained by experiment, and its standard input signal response and its response to any input signal exists between the relationship, often the latter that the former can be presumed. The most commonly used standard input signal and sine signal with step two, so the dynamic characteristics of sensors are commonly used in the step response and frequency response to that.

电子秤

电子秤是称重技术中的一种新型仪表,广泛应用于各种场合。电子秤与

机械秤比较有体积小、重量轻、结构简单、价格低、实用价值强、维护方便等特点,可在各种环境工作,重量信号可远传,易于实现重量显示数字化,易于与计算机联网,实现生产过程自动化,提高劳动生产率。标签秤在超市中的应用已经是耳闻目睹的了。一张小小的标签包含着:品名、价格、重量

等,一一列表在这小小的电子标签上。标签机的使用大大加快了销售速度,也方便了顾客。顶尖条码标签秤有着许多卓越的特点,以太网功能使管理更加方便。

电子秤的分类(衡器可以分为机械式和电子式)

1 工作原理:电子式的工作原理以电子元件(称重传感器,AD转换电路,单片机电路,显示电路,键盘电路,通讯接口电路,稳压电源电路等电路组成。

2 使用功能:电子衡器采用现代传感器技术、电子技术和计算机技术一体化的

电子称量装置,才能满足并解决现实生活中提出的"快速、准确、连续、自动"称量要求,同时有效地消除人为误差,使之更符合法制计量管理和工业生产过程控制的应用要求。

3 健康秤是衡器使用功能中的一个分类(分为机械式和电子式),物美价廉,它可以帮助人们有效的监视自己的体重变化,新产品还可以检测自己的脂肪含量,而

且还有一些人性化的附属功能。可能不属于计量器具。 4 电子衡器是国家强制检定的计量器具,他的合格产品是有检定分度值e和细分值D的标准,是受国家计量法保护的产品。在电子衡器分类中有一种叫“人体秤”的产品,它可以在计量部门进行检定,称重很精确。

电子秤的原理方框图解读

第一部分电子秤的原理方框图:

程式 K/B(按键)

? Fx ? 传感器 ? OP放大 ? A/D转换 ? CPU ? 显示驱动 ? 显示屏记忆体工作流程说明: 当物体放在秤盘上时,压力施给传感器,该传感器发生形变,从而使阻抗发生变化,同时使用激励电压发生变化,输出一个变化的模拟信号。该信号经放大电路放大输出到模数转换器。转换成便于处理的数字信号输出到CPU运算控制。CPU根据键盘命令以及程序将这种结果输出到显示器。直至显示这种结果。

第二部分秤的分类: 1.按原理分:电子秤机械秤机电结合秤 2.按功能分:计

数秤计价秤计重秤 3.按用途分:工业秤商业秤特种秤

第三部分秤的种类: 1.桌面秤指全称量在30Kg以下的电子秤 2.台秤指全

称量在30-300Kg以内的电子秤 3.地磅指全称量在300Kg以上的电子秤 4.精密天平

第四部分按精确度分类: I级: 特种天平精密度?1/10万 II级: 高精度天平1/1万?精密度,1/10万 III级: 中精度天平 1/1000?精密度,1/1万 IV级: 普通

秤 1/100?精密度,1/1000

第五部分专业术语: 1.最大称量: 一台电子秤不计皮重,所能称量的最大的

载荷; 2.最小称量:一台电子秤在低于该值时会出现的一个相对误差; 3.安全载荷: 120%正常称量范围; 4.额定载荷: 正常称量范围; 5.允许误差: 等级检定时允许的

最大偏差; 6.感量: 一台电子秤所能显示的最小刻度;通常用“d”来表示; 7.解析量: 一台具有计数功能的电子秤,所能分辩的最小刻度; 8.解析度: 一台具有计数功能的电子秤,内部具有分辩能力的一个参数; 9.预热时间:一台秤达到各项指标

所用的时间; 10.精度: 感量与全称量的比值; 11.电子秤使用环境温度为: -10摄

氏度到 40摄氏度 12.台秤的台面规格:

25cm X 30cm 30cm X 40cm 40cm X

50cm 42cm X 52cm 45cm X 60cm

第六部分电子秤的特点: 1.实现远距离操作; 2.实现自动化控制; 3.数字显

示直观、减小人为误差; 4.准确度高、分辩率强; 5.称量范围广; 6.特有功能:扣重、预扣重、归零、累计、警示等; 7.维护简单; 8.体积小; 9.安装、校正简单;

10.特种行业,可接打印机或电脑驱动; 11.智能化电子秤,反应快,效率高;

第七部分电子秤检查过程: 1.首先整体检查:有无磨损和损坏; 2.能否开机:

开机后是否从0到9依次显示、数字是否模糊、能否归零; 3.有无背光; 4.用砝码测试能否称重; 5.充电器是否完好,能否使用; 6.配件是否齐全;

第八部分传感器类型: 1.电阻式:价格适中、精度高、使用广泛; 2.电容式:

体积小、精度低; 3.磁浮式:特高精度、造价高; 4.油压式:现市场上已淘汰; 显示器种类: 1.LCD(液晶显示):免插电、省电、附带背光; 2.LED:免插电、耗电、很亮;

3.灯管:插电、耗电、很高; K/B(按键)类型: 1.薄膜按键:触点式; 2.机械按键:由许多单独按键组合在一起; 传感器的特性: 1.额定载荷; 2.输出灵敏度; 3.非线性;

4.滞后;

5.重复性;

6.蠕变;

7.零点输出影响;

8.额定输出温度影响;

9.零点输入;

10.输入阻抗; 11.输出阻抗; 12.绝缘阻抗; 13.容许激励电压;(5-18V)

第九部分传感器损坏后现象: 1.称量不准; 2.显示不归零; 3.显示的数字乱

跳判断传感器的+E、-E、+S、-S 1.先用电阻档测4条线两两这间的电阻值,共有

6组。如为400-450欧则为+E、-E;如果为350欧,则为+S、-S;为290欧,则为R

桥臂; 2.在+E、-E端接上+_1.5V电压,

传感器正确施加一个压力,如输出+_S增大,则红表笔为+S,反之-S;

第十部分高精度计数秤特点: 1.Kg/Ib单位转换功能; 2.零点显示范围、调整

功能(GLH系列没有) 3.取样速度调节功能; 4.有10组单重记忆功能; 5.

可同时进行重量、数量、累计功能(GLH只有数量累计) 6.可设定重量、数量上

限警示功能; 7.自动零点追踪、温度线性校正; 8.扣重及预扣重功能; 9.待机功能;

10.有零点显示范围和零点跟踪范围; 11.有电池电压管制限制功能;

电子秤是称重技术中的一种新型仪表,广泛应用于各种场合。电子秤与机械秤

比较有体积小、重量轻、结构简单、价格低、实用价值强、维护方便等特点,可在各种环境工作,重量信号可远传,易于实现重量显示数字化,易于与计算机联网,实现生产过程自动化,提高劳动生产率。电子秤还具有自动零点追踪,超负荷显示自动熄灭之特点。

将机械磅秤、地上衡/地中衡(汽车衡)、轨道衡等装上力敏传感器和单片机控

制的智能称重仪表即成为智能数字式机电秤(或机电两用秤),提高了机械秤的计量精度,具有造价低廉、可靠性高、安装简单等特点,且不影响原机械秤任何传力结构。还有去皮、置零、累计次数、累计重量(计价型的累计金额)、零位自动调整、自动跟踪等功能。称重数据可直接打印或经计算机联网传送,工业用秤可提高工艺水平和产品质量,商贸用秤可提高结算信誉,带来不可估量的社会效益和经济效益。

电子秤基本上由传感器、放大电路、A/D变换电路、单片机控制显示部分、开

关矩阵电路、键盘电路及电源电路组成。传感器将重量信号转换为相应的电信号,经放大后送入A/D变换成脉冲数重量,经过单片机控制下将模拟电压信号转换成数字量。这个数字量经单片机程序转换成与实际重量一致的数字值送显示窗显示。

单片机同时对键盘及开关矩阵进行监测。根据输入的参数值,程序作出相应的处理。电源电路提供各部分的工作电压。微处理器采用如8050、

HD404418F、8031等CPU。主板通用性很强,不同量程和分度值的秤,仅需调整主板上的跳线和拨码开关就可实现,唯一不同的是配用的传感器的额定承载能力。

传感器是一种物理装置或生物器官,能够探测、感受外界的信号、物理条件(如光、热、湿度)或化学组成(如烟雾),并将探知的信息传递给其他装置或器官。传感器的定义

国家标准GB7665-87对传感器下的定义是:“能感受规定的被测量并按照一定的规律转换成可用信号的器件或装置,通常由敏感元件和转换元件组成”。传感器是一种检测装置,能感受到被测量的信息,并能将检测感受到的信息,按一定规律变换成为电信号或其他所需形式的信息输出,以满足信息的传输、处理、存储、显示、记录和控制等要求。它是实现自动检测和自动控制的首要环节。

传感器的作用

人们为了从外界获取信息,必须借助于感觉器官。而单靠人们自身的感觉器官,在研究自然现象和规律以及生产活动中它们的功能就远远不够了。为适应这种情况,就需要传感器。因此可以说,传感器是人类五官的延长,又称之为电五官。

新技术革命的到来,世界开始进入信息时代。在利用信息的过程中,首先要解决的就是要获取准确可靠的信息,而传感器是获取自然和生产领域中信息的主要途径与手段。

在现代工业生产尤其是自动化生产过程中,要用各种传感器来监视和控制生产过程中的各个参数,使设备工作在正常状态或最佳状态,并使产品达到最好的质量。因此可以说,没有众多的优良的传感器,现代化生产也就失

去了基础。

在基础学科研究中,传感器更具有突出的地位。现代科学技术的发展,进入了许多新领域:例如在宏观上要观察上千光年的茫茫宇宙,微观上要观察小到 cm的粒子世界,纵向上要观察长达数十万年的天体演化,短到 s的瞬间反应。此外,还出现了对深化物质认识、开拓新能源、新材料等具有重要作用的各种极端技术研究,如超高温、超低温、超高压、超高真空、超强磁场、超弱磁砀等等。显然,要获取大量人类感官无法直接获取的信息,没有相适应的传感器是不可能的。许多基础科学研究的障碍,首先就在于对象信息的获取存在困难,而一些新机理和高灵敏度的检测传感器的出现,往往会导致该领域内的突破。一些传感器的发展,往往是一些边缘学科开发的先驱。

传感器早已渗透到诸如工业生产、宇宙开发、海洋探测、环境保护、资源调查、医学诊断、生物工程、甚至文物保护等等极其之泛的领域。可以毫不夸张地说,从茫茫的太空,到浩瀚的海洋,以至各种复杂的工程系统,几乎每一个现代化项目,都离不开各种各样的传感器。

由此可见,传感器技术在发展经济、推动社会进步方面的重要作用,是十分明显的。世界各国都十分重视这一领域的发展。相信不久的将来,传感器技术将会出现一个飞跃,达到与其重要地位相称的新水平。

传感器的分类

可以用不同的观点对传感器进行分类:它们的转换原理(传感器工作的基本物理或化学效应);它们的用途;它们的输出信号类型以及制作它们的材料和工艺等。

根据传感器工作原理,可分为物理传感器和化学传感器二大类 :

传感器工作原理的分类物理传感器应用的是物理效应,诸如压电效应,

磁致伸缩现象,离化、极化、热电、光电、磁电等效应。被测信号量的微小变化都将转换成电信号。

化学传感器包括那些以化学吸附、电化学反应等现象为因果关系的传感器,被测信号量的微小变化也将转换成电信号。

有些传感器既不能划分到物理类,也不能划分为化学类。大多数传感器是以物理原理为基础运作的。化学传感器技术问题较多,例如可靠性问题,规模生产的可能性,价格问题等,解决了这类难题,化学传感器的应用将会有巨大增长。

传感器动态特性

所谓动态特性,是指传感器在输入变化时,它的输出的特性。在实际工作中,传感器的动态特性常用它对某些标准输入信号的响应来表示。这是因为传感器对标准输入信号的响应容易用实验方法求得,并且它对标准输入信号的响应与它对任意输入信号的响应之间存在一定的关系,往往知道了前者就能推定后者。最常用的标准输入信号有阶跃信号和正弦信号两种,所以传感器的动态特性也常用阶跃响应和频率响应来表示。

指导教师评语:

指导教师签字:

年月日

步进电机及单片机英文文献及翻译

外文文献: Knowledge of the stepper motor What is a stepper motor: Stepper motor is a kind of electrical pulses into angular displacement of the implementing agency. Popular little lesson: When the driver receives a step pulse signal, it will drive a stepper motor to set the direction of rotation at a fixed angle (and the step angle). You can control the number of pulses to control the angular displacement, so as to achieve accurate positioning purposes; the same time you can control the pulse frequency to control the motor rotation speed and acceleration, to achieve speed control purposes. What kinds of stepper motor sub-: In three stepper motors: permanent magnet (PM), reactive (VR) and hybrid (HB) permanent magnet stepper usually two-phase, torque, and smaller, step angle of 7.5 degrees or the general 15 degrees; reaction step is generally three-phase, can achieve high torque output, step angle of 1.5 degrees is generally, but the noise and vibration are large. 80 countries in Europe and America have been eliminated; hybrid stepper is a mix of permanent magnet and reactive advantages. It consists of two phases and the five-phase: two-phase step angle of 1.8 degrees while the general five-phase step angle of 0.72 degrees generally. The most widely used Stepper Motor. What is to keep the torque (HOLDING TORQUE) How much precision stepper motor? Whether the cumulative: The general accuracy of the stepper motor step angle of 3-5%, and not cumulative.

AT89C51单片机外文翻译

AT89C51外文翻译 Description The AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with 4K bytes of Flash Programmable and Erasable Read Only Memory (PEROM). The device is manufactured using Atmel’s high density nonvolatile memory technology and is compatible with the industry standard MCS-51? instruction-set and pinout. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89C51 is a powerful microcomputer which provides a highly flexible and cost effective solution to many embedded control applications. Features ? Compatible with MCS-51? Products ? 4K Bytes of In-System Reprogrammable Flash Memory – Endurance: 1,000 Write/Erase Cycles ? Fully Static Operation: 0 Hz to 24 MHz ? Three-Level Program Memory Lock ? 128 x 8-Bit Internal RAM ? 32 Programmable I/O Lines ? Two 16-Bit Timer/Counters ? Six Interrupt Sources ? Programmable Serial Channel ? Low Power Idle and Power Down Modes The AT89C51 provides the following standard features: 4K bytes of Flash,128 bytes of RAM, 32 I/O lines, two 16-bit timer/counters, a five vector two-level interrupt architecture, a full duplex serial port, on-chip oscillator and clock circuitry. In addition, the AT89C51 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port and interrupt system to continue functioning. The Power-down Mode saves the RAM contents but freezes the oscillator disabling all other chip functions until the next hardware reset.

单片机方面毕业设计外文文献翻译

单片机方面毕业设计外文文献翻译

中文译文 单片机 单片机也被称为微控制器(Microcontroller Unit),常见英文字母的缩写MCU表示单片机,它最早是被用在工业控制领域。单片机由芯片内仅有CPU的专用处理器发展而来。最早的设计理念是经过将大量外围设备和CPU集成在一个芯片中,使计算机系统更小,更容易集成进复杂的而对体积要求严格的控制设备当中。INTEL的Z80是最早按照这种思想设计出的处理器,从此以后,单片机和专用处理器的发展便分道扬镳。 早期的单片机都是8位或4位的。其中最成功的是INTEL 的8031,因为简单可靠而性能不错获得了很大的好评。此后在8031上发展出了MCS51系列单片机系统。基于这一系统的单片机系统直到现在还在广泛使用。随着工业控制领域要求的提高,开始出现了16位单片机,但因为性价比不理想并未得到很广泛的应用。90年代后随着消费电子产品大发展,单片机技术得到了巨大提高。随着INTEL i960系列特别是后来的ARM系列的广泛应用,32位单片机迅速取代16位单片机的高端地位,而且进入主流市场。而传统的8位单片机的性能也得到了飞速提高,处理能力比起80年代提高了数百倍。当前,高端的32位单片机主频已经超过300MHz,性能直追90年代中期的专用处理器,而普通的型号出厂价格跌落至1美元,最高端[1]的型号也只有10美元。当代单片机系统已经不再只在裸机环境下开发和

使用,大量专用的嵌入式操作系统被广泛应用在全系列的单片机上。而在作为掌上电脑和手机核心处理的高端单片机甚至能够直接使用专用的Windows和Linux操作系统。 单片机比专用处理器更适合应用于嵌入式系统,因此它得到了最多的应用。事实上单片机是世界上数量最多的计算机。现代人类生活中所用的几乎每件电子和机械产品中都会集成有单片机。手机、电话、计算器、家用电器、电子玩具、掌上电脑以及鼠标等电脑配件中都配有1-2部单片机。而个人电脑中也会有为数不少的单片机在工作。汽车上一般配备40多部单片机,复杂的工业控制系统上甚至可能有数百台单片机在同时工作!单片机的数量不但远超过PC机和其它计算的总和,甚至比人类的数量还要多。 单片机又称单片微控制器,它不是完成某一个逻辑功能的芯片,而是把一个计算机系统集成到一个芯片上。相当于一个微型的计算机,和计算机相比,单片机只缺少了I/O设备。概括的讲:一块芯片就成了一台计算机。它的体积小、质量轻、价格便宜、为学习、应用和开发提供了便利条件。同时,学习使用单片机是了解计算机原理与结构的最佳选择。 单片机内部也用和电脑功能类似的模块,比如CPU,内存,并行总线,还有和硬盘作用相同的存储器件,不同的是它的这些部件性能都相对我们的家用电脑弱很多,不过价钱也是低的,一般不超过10元即可......用它来做一些控制电器一类不

单片机外文翻译

杭州电子科技大学信息工程学院毕业设计(论文)外文文献翻译 毕业设计(论文)题目用单片机实现的数字时钟电路设计文献综述题目单片机控制系统系电子工程 专业电子信息科学与技术 姓名郭筱楠 班级08091911 学号08919115 指导教师王维平

单片机控制系统 广义地说,微型计算机控制系统(单片机控制系统)是用于处理信息的,这种被用于处理的信息可以是电话交谈,也可以是仪器的读数或者是一个企业的帐户,但是各种情况下都涉及到相同的主要操作:信息的处理、信息的存储和信息的传递。在常规的电子设计中,这些操作都是以功能平台方式组合起来的,例如计数器,无论是电子计数器还是机械计数器,都要存储当前的数值,并且按要求将该数值增加1。一个系统例如采用计数器的电子钟之类的任一系统要使其存储和处理能力遍布整个系统,因为每个计数器都能存储和处理一些数字。 现如今,以微处理器为基础的系统从常规的处理方法中分离了出来,它将信息的处理,信息的存储和信息的传输三个功能分离形成不同的系统单元。这种主要将系统分成三个主要单元的分离方法是冯-诺依曼在20世纪40年代所设想出来的,并且是针对微计算机的设想。从此以后基本上所有制成的计算机都是用这种结构设计的,尽管他们包含着宽广的物理形式与物理结构,但从根本上来说他们均是具有相同基本设计的计算机。 在以微处理器为基础的系统中,处理是由以微处理器为基础的系统自身完成的。存储是利用存储器电路,而从系统中输入和输出的信息传输则是利用特定的输入/输出(I/O)电路。要在一个以微处理器为基础的时钟中找出执行具有计数功能的一个特殊的硬件组成部分是不可能的,因为时间存储在存储器中,而在固定的时间间隔下由微处理器控制增值。但是,规定系统运转过程的软件却规定了包含实现计数器计数功能的单元部分。由于系统几乎完全由软件所定义,所以对微处理器结构和其辅助电路这种看起来非常抽象的处理方法使其在应用时非常灵活。这种设计过程主要是软件工程,而且在生产软件时,就会遇到产生于常规工程中相似的构造和维护问题。 图1.1 微型计算机的三个组成部分 图1.1显示出了微型计算机中这三个单元在一个微处理器控制系统中是如何按照机器中的信息通信方式而联接起来的。该系统由微处理器控制,微处理器能够对其自身的存储器和输入/输出单元的信息传输进行管理。外部的连接部分与

at89c52单片机中英文资料对照外文翻译文献综述

at89c52单片机简介 中英文资料对照外文翻译文献综述 A T89C52 Single-chip microprocessor introduction Selection of Single-chip microprocessor 1. Development of Single-chip microprocessor The main component part of Single-chip microprocessor as a result of by such centralize to be living to obtain on the chip,In immediate future middle processor CPU。Storage RAM immediately﹑memoy read ROM﹑Interrupt system、Timer /'s counter along with I/O's rim electric circuit awaits the main microcomputer section,The lumping is living on the chip。Although the Single-chip microprocessor r is only a chip,Yet through makes up and the meritorous service be able to on sees,It had haveed the calculating machine system property,calling it for this reason act as Single-chip microprocessor r minisize calculating machine SCMS and abbreviate the Single-chip microprocessor。 1976Year the Inter corporation put out 8 MCS-48Set Single-chip microprocessor computer,After being living more than 20 years time in development that obtain continuously and wide-ranging application。1980Year that corporation put out high performance MCS -51Set Single-chip microprocessor。This type of Single-chip microprocessor meritorous service capacity、The addressing range wholly than early phase lift somewhat,Use also comparatively far more at the moment。1982Year that corporation put out the taller 16 Single-chip microprocessor MCS of performance once

51单片机外文文献

The Introduction of AT89C51 Description The AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with 4K bytes of Flash programmable and erasable read only memory (PEROM). The device is manufactured using Atmel’s high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89C51 is a powerful microcomputer which provides a highly-flexible and cost-effective solution to many embedded control applications. Function characteristic The AT89C51 provides the following standard features: 4K bytes of Flash, 128 bytes of RAM, 32 I/O lines, two 16-bit timer/counters, one 5 vector two-level interrupt architecture, a full duplex serial port, one-chip oscillator and clock circuitry. In addition, the AT89C51 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port and interrupt system to continue functioning. The Power-down Mode saves the RAM contents but freezes the oscillator disabling all other chip functions until the next hardware reset. Pin Description VCC:Supply voltage. GND:Ground.

单片机外文文献翻译

外文文献一单片机简介 单片机是一种集成在电路芯片,是采用超大规模集成电路技术把具有数据处理能力的中央处理器CPU随机存储器RAM、只读存储器ROM、多种I/O口和中断系统、定时器/计时器等功能(可能还包括显示驱动电路、脉宽调制电路、模拟多路转换器、A/D转换器等电路)集成到一块硅片上构成的一个小而完善的计算机系统。单片机也被称为微控制器(Microcontroller),是因为它最早被用在工业控制领域。单片机由芯片内仅有CPU的专用处理器发展而来。最早的设计理念是通过将大量外围设备和CPU集成在一个芯片中,使计算机系统更小,更容易集成进复杂的而对体积要求严格的控制设备当中。INTEL的Z80是最早按照这种思想设计出的处理器,从此以后,单片机和专用处理器的发展便分道扬镳。 二、单片机的发展趋势 现在可以说单片机是百花齐放,百家争鸣的时期,世界上各大芯片制造公司都推出了自己的单片机,从8位、16位到32位,数不胜数,应有尽有,有与主流C51系列兼容的,也有不兼容的,但它们各具特色,互成互补,为单片机的应用提供广阔的天地。 纵观单片机的发展过程,可以预示单片机的发展趋势,大致有: 1.低功耗CMOS MCS-51系列的8031推出时的功耗达630mW,而现在的单片机普遍都在100mW左右,随着对单片机功耗要求越来越低,现在的各个单片机制造商基本都采用了CMOS(互补金属氧化物半导体工艺)。象80C51就采用了HMOS(即高密度金属氧化物半导体工艺)和CHMOS(互补高密度金属氧化物半导体工艺)。CMOS虽然功耗较低,但由于其物理特征决定其工作速度不够高,而CHMOS则具备了高速和低功耗的特点,这些特征,更适合于在要求低功耗象电池供电的应用场合。所以这种工艺将是今后一段时期单片机发展的主要途径。 2.微型单片化 现在常规的单片机普遍都是将中央处理器(CPU)、随机存取数据存储(RAM)、只读程序存储器(ROM)、并行和串行通信接口,中断系统、定时电路、时钟电路集成在一块单一的芯片上,增强型的单片机集成了如A/D转换器、PMW(脉宽调制电路)、WDT(看门狗)、有些单片机将LCD(液晶)驱动电路都集成在单一的芯片上,这样 单片机包含的单元电路就更多,功能就越强大。甚至单片机厂商还可以根据用户的要求量身定做,制造出具有. 自己特色的单片机芯片。此外,现在的产品普遍要求体积小、重量轻,这就要求单片机除了功能强和功耗低外,还要求其体积要小。现在的许多单片机都具有多种封装形式,其中SMD(表面封装)越来越受欢迎,使得由单片机构成的系统正朝微型化方向发展。 3.主流与多品种共存 现在虽然单片机的品种繁多,各具特色,但仍以80C51为核心的单片机占主流,兼容其结构和指令系统的有PHILIPS公司的产品,ATMEL公司的产品和中国台湾

MCS_51系列单片机中英文资料对照外文翻译文献综述

MCS-51系列单片机 中英文资料对照外文翻译文献综述 Structure and function of the MCS-51 series Structure and function of the MCS-51 series one-chip computer MCS-51 is a name of a piece of one-chip computer series which Intel Company produces. This company introduced 8 top-grade one-chip computers of MCS-51 series in 1980 after introducing 8 one-chip computers of MCS-48 series in 1976. It belong to a lot of kinds this line of one-chip computer the chips have, such as 8051, 8031, 8751, 80C51BH, 80C31BH,etc., their basic composition, basic performance and instruction system are all the same.8051 daily representatives-51 serial one-chip computers. A one-chip computer system is made up of several following parts: (1) One microprocessor of 8 (CPU). ( 2) At slice data memory RAM (128B/256B),it use not depositing not can reading /data that write, such as result not middle of operation, final result and data wanted to show, etc. (3) Procedure memory ROM/EPROM (4KB/8K B ), is used to preserve the

(完整word版)单片机外文文献翻译

中文资料原文 单片机 单片机也被称为微控制器(Microcontroller Unit),常用英文字母的缩写MCU表示单片机,它最早是被用在工业控制领域。单片机由芯片内仅有CPU的专用处理器发展而来。最早的设计理念是通过将大量外围设备和CPU集成在一个芯片中,使计算机系统更小,更容易集成进复杂的而对体积要求严格的控制设备当中。INTEL的Z80是最早按照这种思想设计出的处理器,从此以后,单片机和专用处理器的发展便分道扬镳。 早期的单片机都是8位或4位的。其中最成功的是INTEL的8031,因为简单可靠而性能不错获得了很大的好评。此后在8031上发展出了MCS51系列单片机系统。基于这一系统的单片机系统直到现在还在广泛使用。随着工业控制领域要求的提高,开始出现了16位单片机,但因为性价比不理想并未得到很广泛的应用。90年代后随着消费电子产品大发展,单片机技术得到了巨大提高。随着INTEL i960系列特别是后来的ARM系列的广泛应用,32位单片机迅速取代16位单片机的高端地位,并且进入主流市场。而传统的8位单片机的性能也得到了飞速提高,处理能力比起80年代提高了数百倍。目前,高端的32位单片机主频已经超过300MHz,性能直追90年代中期的专用处理器,而普通的型号出厂价格跌落至1美元,最高端[1]的型号也只有10美元。当代单片机系统已经不再只在裸机环境下开发和使用,大量专用的嵌入式操作系统被广泛应用在全系列的单片机上。而在作为掌上电脑和手机核心处理的高端单片机甚至可以直接使用专用的Windows和Linux操作系统。 单片机比专用处理器更适合应用于嵌入式系统,因此它得到了最多的应用。事实上单片机是世界上数量最多的计算机。现代人类生活中所用的几乎每件电子和机械产品中都会集成有单片机。手机、电话、计算器、家用电器、电子玩具、掌上电脑以及鼠标等电脑配件中都配有1-2部单片机。而个人电脑中也会有为数不少的单片机在工作。汽车上一般配备40多部单片机,复杂的工业控制系统上甚至可能有数百台单片机在同时工作!单片机的数量不仅远超过PC机和其他计算的总和,甚至比人类的数量还要多。 单片机又称单片微控制器,它不是完成某一个逻辑功能的芯片,而是把一个计算机系统集成到一个芯片上。相当于一个微型的计算机,和计算机相比,单片机只缺少了I/O设备。概括的讲:一块芯片就成了一台计算机。它的体积小、质量轻、价格便宜、为学习、应用和开发提供了便利条件。同时,学习使用单片机是了解计算机原理与结构的最佳选择。

单片机外文翻译--STC89C52处理芯片

外文资料翻译 STC89C52 processi ng chip Prime features: With MCS - 51 SCM product compatibility, 8K bytes in the system programmable Flash memory, 1000 times CaXie cycle, the static operation: 0Hz ~ 33Hz, triple encryption program memory, 32 programmed I/O port, three 16 timer/counter, the eight uninterrupted dual-career UART serial passage, low power consumption, leisure and fall after fall electric power mode can be awakened and continuous watchdog timer and double-number poin ter, power ide ntifier. Efficacy: characteristics STC89C52 is one kind of low power consumption, high CMOS8 bit micro-co ntroller, 8K in system programmable Flash memory. Use high-de nsity nonv olatile storage tech no logy, and in dustrial 80C51 product in structi on and pin fully compatible. The Flash memory chips allows programs in the system, also suitable for programmable conventional programming. In a single chip, have clever 8 bits CPU and on li ne system programmable Flash, in crease STC89C52 for many embedded control system to provide high vigorous application and useful solutions. STC89C52 has following standard efficacy: 8k byte Flash RAM, 256 bytes, 32 I/O port, the watchdog timer, two, three pointer numerical 16 timer/counter, a 6 vector level 2 continuous structure, the serial port, working within crystals and horological circuit. In addition, 0Hz AT89S52 can drop to the static logic operation, support two software can choose power saving mode. Idle mode, the CPU to stop working, and allows the RAM, timer/c oun ters, serial, continu ous to work. Protectio n asa na patter n, RAM content is survival, vibrators frozen, SCM, until all the work under a continuous or hardware reset. 8-bit microcontrollers 8K bytes in the system programmable Flash AT89S52 devices. Mouth: P0 P0 mouth is a two-way ope n drain I/O. As export, each can drive eight TTL logic level. For P0 port to write "1", foot as the high impeda nee in put. When access to exter nal programs and nu merical memory, also known as

AT89C51单片机英文文献附带翻译

AT89C51的概况 一 AT89C51应用 单片机广泛应用于商业:诸如调制解调器,电动机控制系统,空调控制系统,汽车发动机和其他一些领域。这些单片机的高速处理速度和增强型外围设备集合使得它们适合于这种高速事件应用场合。然而,这些关键应用领域也要求这些单片机高度可靠。健壮的测试环境和用于验证这些无论在元部件层次还是系统级别的单片机的合适的工具环境保证了高可靠性和低市场风险。Intel 平台工程部门开发了一种面向对象的用于验证它的AT89C51 汽车单片机多线性测试环境。这种环境的目标不仅是为AT89C51 汽车单片机提供一种健壮测试环境,而且开发一种能够容易扩展并重复用来验证其他几种将来的单片机。开发的这种环境连接了AT89C51。本文讨论了这种测试环境的设计和原理,它的和各种硬件、软件环境部件的交互性,以及如何使用AT89C51。 1.1 介绍 8 位AT89C51 CHMOS 工艺单片机被设计用于处理高速计算和快速输入/输出。MCS51 单片机典型的应用是高速事件控制系统。商业应用包括调制解调器,电动机控制系统,打印机,影印机,空调控制系统,磁盘驱动器和医疗设备。汽车工业把MCS51 单片机用于发动机控制系统,悬挂系统和反锁制动系统。AT89C51 尤其很好适用于得益于它的处理速度和增强型片上外围功能集,诸如:汽车动力控制,车辆动态悬挂,反锁制动和稳定性控制应用。由于这些决定性应用,市场需要一种可靠的具有低干扰潜伏响应的费用-效能控制器,服务大量时间和事件驱动的在实时应用需要的集成外围的能力,具有在单一程序包中高出平均处理功率的中央处理器。拥有操作不可预测的设备的经济和法律风险是很高的。一旦进入市场,尤其任务决定性应用诸如自动驾驶仪或反锁制动系统,错误将是财力上所禁止的。重新设计的费用可以高达500K 美元,如果产品族享有同样内核或外围设计缺陷的话,费用会更高。另外,部件的替代品领域是极其昂贵的,因为设备要用来把模块典型地焊接成一个总体的价值比各个部件高几倍。为了缓和这些问题,在最坏的环境和电压条件下对这些单片机进行无论在部件级别还是系统级别上的综合测试是必需的。Intel Chandler 平台工程组提供了各种单片机和处理器的系统验证。这种系统的验证处理可以被分解为三个主要部分。系统的类型和应用需求决定了能够在设备上执行的测试类型。 1.2 AT89C51提供以下标准功能:

单片机的外文文献及中文翻译

SCM is an integrated circuit chip, is the use of large scale integrated circuit technology to a data processing capability of CPU CPU random access memory RAM, read-only memory ROM, a variety of I / O port and interrupt system, timers / timer functions (which may also include display driver circuitry, pulse width modulation circuit, analog multiplexer, A / D converter circuit) integrated into a silicon constitute a small and complete computer systems. SCM is also known as micro-controller (Microcontroller), because it is the first to be used in industrial control. Only a single chip by the CPU chip developed from a dedicated processor. The first design is by a large number of peripherals and CPU on a chip in the computer system, smaller, more easily integrated into a complex and demanding on the volume control device which. The Z80 INTEL is the first designed in accordance with this idea processor, then on the development of microcontroller and dedicated processors will be parting ways. Are 8-bit microcontroller early or 4 bits. One of the most successful is the INTEL 8031, for a simple, reliable and good performance was a lot of praise. Then developed in 8031 out of MCS51 MCU Systems. SCM systems based on this system until now is still widely used. With the increased requirements of industrial control field, began a 16-bit microcontroller, but not ideal because the cost has not been very widely used. After 90 years with the great development of consumer electronics, microcontroller technology has been a huge increase. With INTEL i960 series, especially the later series of widely used ARM, 32-bit microcontroller quickly replace high-end 16-bit MCU status and enter the mainstream market. The traditional 8-bit microcontroller performance have been the rapid increase capacity increase compared to 80 the number of times. Currently, high-end 32-bit microcontroller clocked over 300MHz, the performance catching the mid-90s dedicated processor, while the average model prices fall to one U.S. dollar, the most high-end [1] model only 10 dollars. Modern SCM systems are no longer only in the development and use of bare metal environment, a large number of proprietary embedded operating system is widely used in the full range of SCM. The handheld computers and cell phones as the core processing of high-end microcontroller can even use a dedicated Windows and Linux operating systems. SCM is more suitable than the specific processor used in embedded systems, so it was up to the application. In fact the number of SCM is the world's largest computer. Modern human life used in almost every piece of electronic and mechanical products will be integrated single chip. Phone, telephone, calculator, home appliances, electronic toys, handheld computers and computer accessories such as a mouse with a 1-2 in both the Department of SCM. Personal computer will have a large number of SCM in the work. General car with more than 40 microcontroller, a complex industrial control systems may even hundreds of single chip at the same time work! SCM is not only far exceeds the number of PC and other computing the sum, or even more than the number of human beings. Single chip, also known as single-chip microcontroller, it is not complete a certain logic chips, but to a computer system integrated into a chip. Equivalent to a

关于51单片机英文文献的英文翻译

利用单片机的定时器 6.1 前言 这一章包含一个描述的定时器系统微控制器,包括通用定时器,该定时器,和看门狗。 6.2 总体结构和功能,计时器系统 时间是必不可少的操作微控制器系统,可以生成信号的精确确定的期限,或外部事件计数。这原因,定时器子系统,是目前所有的微控制器的实现,和涵盖的范围广泛的功能包括: ?生成精确的时间间隔 ?测量时间的外部事件 ?计数外部事件。 多数微控制器提供专用定时器,或使用通用计时器实现以下功能: ?实时时钟 ?产生的脉冲宽度调制(脉宽调制)信号 ?看门狗检测程序失控情况。 虽然有很大的差异在不同的实现通用定时器在不同的微控制器,有许多相似在操作的原则和结构的定时器子系统。 图6.1显示了一个定时器系统总体框图,说明原则实施最单片机定时器。核心要素的定时器子系统是一个计数器,tcnt(8或16位在长度),这可能是读或写的软件(有时)。时钟tcnt 得到从系统时钟,除以一个可编程分频器,或外部时钟应用到一个单片机引脚。软件控制的计时器68使用6单片机定时器。

采用控制寄存器晶体管和信息方面的各种事件相关的计时器,可以读取状态寄存器tflg。几种工作模式是可能的计时器: 定时器溢出。在这种模式下,如果感兴趣的是当tcnt计数器达到它的最大数量和返回到零在下一个时钟脉冲。溢出信号这标志着这一事件是应用于中断控制逻辑(Ⅱ),这可能产生一个中断请求处理器。之间的时间间隔连续溢出控制通过修改输入时钟频率应用到tcnt,或以书面tcnt 一初始值的计算。 ?输入捕获。在这种经营模式,内容tcnt此刻的发生外部事件,定义边缘的一个输入信号,转移在捕获寄存器(民事),和一个中断请求可能会生成。由比较连续值捕获率,有可能确定之间的时间间隔的外部事件。 ?输出比较。在这种经营模式,内容tcnt不断比较了硬件的内容的光学字符识别(比较寄存器的输出)指数字比较器的比较。当一个寄存器的内容比赛中,一个中断请求可能会生成。或者,可以比较匹配通过编程改变现状的一个或多个输出线。 ?外部事件计数器。在这种经营模式,输入tcnt连接一个单片机输入线,和tcnt计数脉冲与外部事件。该软件是了解记录一些外部通过阅读tcnt事件。 6.3 特点鲜明的通用定时器HC 11 16位tcnt计数器HC 11可以依靠内部时钟,只有向上的。它可以读取软件,但不能被清除或书面。分频器是一个可编程的4位计数器,它将系统时钟的1,4,8,或16。有四个16位输出比较寄存器(光学字符识别),称为toc1,toc2,toc3,和toc4,三输入捕获寄存器(民事),称为tic1,tic2,和tic3,和一个额外的寄存器,可通过软件配置为五分之一 光学字符识别寄存器,笔名TOC五,或作为四分之一个输入捕获寄存器tic4。各种定时器功能相关的输入/输出线端口,如图所示在表6.1。 表6.1 替代功能的输入/输出线端口 1控制和状态寄存器的HC 11定时器虽然反tcnt,和分频器是独一无二的,在场的八民事/光学字符识别寄存器,各有不同的状态标志,相关的输入/输出线,随着可能产生不同的中断请求,

相关文档
最新文档