电气及自动化专业 外文翻译 (13).doc

上传人:温桑 文档编号:67371802 上传时间:2022-12-24 格式:DOC 页数:17 大小:508.21KB
返回 下载 相关 举报
电气及自动化专业 外文翻译 (13).doc_第1页
第1页 / 共17页
电气及自动化专业 外文翻译 (13).doc_第2页
第2页 / 共17页
点击查看更多>>
资源描述

《电气及自动化专业 外文翻译 (13).doc》由会员分享,可在线阅读,更多相关《电气及自动化专业 外文翻译 (13).doc(17页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。

1、 中国地质大学长城学院本科毕业论文外文资料翻译学 院工程技术学院学生姓名齐业亮专 业电气工程及其自动化学 号0431302152017年3月 10 日 Using Linux in Embedded Systems UNIX evokes a wide range of emotions: loved by some for its power and flexibility, despised by others for its eomplex and arcane commands. UNIX has established a checkered reputation in the wo

2、rld of computing.EASE OF USEUNIX is infamous for its glut of arcane , non-mnemonic, and cryptic keyboard commands, each with many command-line switches, which can be incredibly confusing to remember. Its SVR 4 implementation contains more than 2,000 comands. Many of these functions can be combined,

3、using pipes and redirection. This illustrates one of UNIXs design fundamentals: the creation of a large assortment of very specialized and modular commands that can be combined to accomplish complex tasks.While UNIX was essentially limited to use by software professionals at universities and in appl

4、ications development houses, its complex command-line syntax and resulting flexibility were considered an advantage rather than a problem.But this same flexibility also creates a major drawback for using UNIX in a business-oriented marketthe more flexible a system is, the more difficult it becomes t

5、o learn and operate.UNIXs script languages provide one form of help. Using scripts, a system administrator can tailor the system to a set of users needs quickly.Another factor mitigating the difficulties of UNIXs arcane command language are the Graphic User Interfaces(GUIs), such as Motif, SunView,

6、or OpenLook. GUIs, however, place another level of incompatibility problems on what is already a complex system.Motif has been ported to the most different architectures and (because it follows the Presentation Manager style ) is perhaps closest in look and feel to a PC interface such as Microsoft W

7、indows. Sun View is also dominant because of its large installed base and the numbers of applications programmers who have become familiar with writing software to its specifications.BINARY COMPATIBILITYUNIX marketers have looked with some envy at the huge-base of shrink-wrapped applications availab

8、le in the DOS world and have promised that binary-compatible applications for systems is just around the corner. These promises have yet to be met in any significant way. While binary compatibility is not yet available, it is getting easier to share data and applications across different machines.PO

9、RTABILITY Compared with most operating system sources, UNIX code is quite move UNIX to different architectures. But a UNIX port to a new system is not a trivial matter, offen taking several man-years of work, and can result in glitches and malfunctions, which may create very subtle inconsistencies i

10、n performance. These bugs are often difficult to identify and correct.Having the source code available for your computers operating system is beneficial and detrimental: if the OS lacks certain desirable featuers, having the sources in-house greatly enhances a companys ability to make necessary chan

11、ges.On the other hand, the customized version of the operating system, with its new or modified features may later present compatibility problems with newer releases or purchased application.Why Linux?Intelligent dedicated systems and applicances used in interface, monitoring , communications, and c

12、ontrol applications increasingly demand the services of a sophisticated, state-of-the-art operating systems. Many such systems require advanced capabilities like: high resolution and user-friendly graphical user interfaces(GUIs); TCP/IP connectivity; substitution of reliable( and low power)flash mem

13、ory solid state disk for conventional disk drives; support for 32-bit ultra-high-speed CPUs; the use of large memory arrays; and seemingly infinite capacity storage devices including CD-ROMs and hard disks.This is not the stuff of yesteryears “standalone” code, “roll-your-own” kernels, or “plain old

14、 DOS”, No, those days are goneforever.Then too, consider the rapidly accelerating pace of hardware and chipset innovationaccompanied by extremely rapid obsolescence of the older devices.Combine these two, and you can see why its become an enormous challenge for commercial RTOS vendors to keep up wit

15、h the constant churning of hardware devices . Supporting the newest devices in a timely mannereven just to stay clear of the unrelenting steamroller of chipset obsolescencetakes a large and constant resource commitment. If its a struggle for the commercial RTOS vendors to keep up, going it alone by

16、writing standalone code or a roll-your-own kernel certainly makes no sense.With the options narrowing, embedded system developers find themselves faced with a dilemma:On the one hand, todays highly sophisticated and empowered intelligent embedded systemsbased on the newest chips and hardware capabil

17、itiesdemand noting less than the power, sophistication, and currency of support provided by a popular high-end operating system like windows.On the other hand, embedded systems demand extremely high reliability(for non-stop, unattended operation)plus the ability to customize the OS to match an appli

18、cations unique requirements.Linux应用于嵌入式系统UNIX引起了全然不同的情绪:因其能力和灵活性而受到一些人的青睐,但因其复杂且神秘的命令而受到另一些人的藐视。在计算世界里,UNIX已建立起一个褒义不一的声誉。易用性UNIX因其过于神秘、不易记忆和含义模糊的大量键盘命令而名声不佳,这些命令每个都有很多命令行开关,这可能造成昏药而不易记忆。它的SVR4版本拥有2000多个命令,其中很多功能可通过管道和重定向进行组合。这反映了UNIX的基本设计思想之一:生成数量很大的专用和模块化命令,把它们结合起来就能完成各种复杂的任务。虽然UNIX过去基本上限于大学和应用开发公司

19、中的软件专业人员使用,其复杂的命令行语法和由此而得到的灵活性被看作一个优点而不是问题。但是在面向商业的市场中使用UNIX,却产生了一个重大的缺陷系统越灵活,它就变得越难学会和操作。UNIX的原本(或脚本)语言提供某种形式的帮助。利用原本语言,系统管理员能很快地把系统裁剪成满足一组用户的需求。克服UNIX神秘命令语言之困难的另一种方法是用图形用户接口GUI,如Motif,SunView或OpenLook。然而,图形用户接口在已经很复杂的系统上增添了另一层不兼容性问题。Motif已经移植到差别非常大的不同体系结构上(由于它仿效Presentation Manager的风格),而且在外观与感觉上也许

20、是最接近于诸如Microsoft Windows一类的PC接口。SunView由于有很大的装机数和很多应用程序员已熟悉按它的规范写软件,所以也是一种主流图形用户接口。二进制兼容性UNIX的销售者以某种羡慕的心情关注着DOS世界中可能的大量简装应用程序,并承诺不同系统的二进制兼容的应用程序即将面世。这些承诺远未让人满足。虽然二进制兼容性尚未获得,但现在不同机器上共享数据和应用程序正在变得更加容易。可移植性与多数操作系统源码相比,UNIX程序容易移植。它用C语言编写,而不用汇编语言,使用UNIX能移植到不同的体系结构上。但是把UNIX移植到一个新系统上也不是一件一蹴而就的事情,常常是要几个人年的工

21、作,还可能造成故障和失灵,从而在性能上产生难以捉摸的不一致性。这些故障往往是难以识别与纠正的。拥有你自己的计算机操作系统的源码,既有益,也有害;如果操作系统缺少某些所需功能,公司自己拥有源码能大大增强公司进行必要修改的能力。另一方面,具有新的或修改特性的操作系统定制版本,在日后可能出现与更新的版本或购买的应用程序不兼容的问题。 为什么用LINUX? 用于接口、监控、通信和控制应用程序的职能专用系统和设备越来越要求高级的现代操作系统的这些服务。许多这样的系统需要如下的高级性能:高分辨率和用户友好的图形用户界面:TCP/IP链接;用可靠的闪存固态盘代替常规的磁盘机;支持32位的超高速CPU;使用大

22、存储器阵列; 以及似乎是无限容量的存储设备,包括CD-ROM和硬盘。这不是以前的独立代码,自己写的核,或简单的老是DOS,那些日子已永远过去。另外也考虑到硬件和芯片迅速加速的革新步伐伴随着老设备相当快地淘汰。结合这两种情况,就能知道为什么对商用实时操作系统供应商而言,跟上硬件设备的不断出新已变成巨大的挑战。及时地支持最新设备,甚至不去理会不愿退让的、大力推销的逐渐过时的芯片组,你需要大量和不断的资材投入。如果商用实时操作系统供应商必须奋力紧跟硬件发展的话,那么编写独立的代码或写自己的核,这种单枪匹马的做法一定是毫无意义的。因为选择范围很小,嵌入式系统的开发商面临这样的一种困境:一方面,今天高度

23、复杂的,且授权的智能嵌入式系统(基于最新的芯片和硬件性能)所需要的正式流行的高档操作系统(如Windows)提供的那种能力、精致性,以及通用性。另一方面,嵌入式系统要求非常高的可靠性(不停机,无人照管的操作),加上有能力把操作系统改编成符合应用系统的独特的要求。其窘境是:通用桌面操作系统(如Windows)不能很好地适应于类似设备的嵌入式系统的独特需求。然而,商用实时操作系统,虽然设计成满足嵌入式应用的可靠性和配置灵活性的要求,但由于他们缺乏标准化以及没有能力跟上技术的速度发展步伐,它们日益不合需要。开发人员做什么?幸运的是,一种新的、令人兴奋的选择系统已经出现:开放源码Linux。Linux

24、提供功能强大的和高级系统管理设施。丰富的设备支持,在可靠性和鲁棒性,以及广泛详尽的文档方面有极好的声誉。最好的(对系统开发人员而言)是Linux不要钱有完全免费的源代码。Linux是不是像Windows那样太大以及需要系统资源太多,以致不能满足嵌入式系统的约束要求呢?与Windows不同,Linux本来就是模块化的,并且能够很容易缩减成紧缩配置,这种配置几乎与DOS差不多大,甚至能放到一张软盘上。此外,因为Linux源码是免费可用的,所以可以按照独特的嵌入式系统要求改编该操作系统。这样,并不令人惊奇,开放源码Linux已建成了一个新的操作系统开发和支持范例,在那里数以千计的开发人员继续贡献于不

25、断发展的Linux代码库。此外,几十家面向Linux的软件公司已经出现他们热切支持那些为建立从工厂自动化到智能设备范围很广的应用系统的开发人员的要求。Linux对许多嵌入式系统,为了适应诸如RAM、固态盘、处理机速度,以及功耗的约束,嵌入的Linux的主要任务是,使系统所需的资源最小。嵌入式操作系统可能需要从一个芯片盘或紧凑闪存固态盘上自举;或者自举和运行在没有显示器和键盘(“无头”操作)的环境,或经有以太网连接,从远程设备装入应用程序。现成的小Linux有许多来源,其中有日益增多的面向应用的Linux配置和分发版,这些都被修改成适应于特定的应用。例如路由器、防火墙、互联网/网络设备、网络服务

26、器、网关等。你也可能选择建立你自己喜欢的嵌入式Linux,从一个标准分发版开始,略去不要的模块。虽然如此,还应该考虑从别人的工作配置基础上开始你的工作,因为他们的版本的源仅是完全合法的,而且也是被鼓励。实时Linux许多嵌入式系统需要对现实世界的一些事件可预测,并且受限响应。这样的实时系统包括工厂自动化、数据采集和控制系统、音频/视频应用,以及许多其他计算机化的产品和设备。什么是“实时系统”?通常接受的“实时”性能的定义是,现实世界时间必须在确定的、可预测的,以及在相对短的时间间隔内得到响应。虽然Linux不是一个实时操作系统(Linux内核不提供所需要的事件优先级和抢占功能),但当前有几个扩

27、充选项可用,这些选项把实时能力带给基于Linux的系统,最通常的方法是双内核方法。用这个方法,通用(非实时)OS运行作为实时内核的一个任务。通用操作系统提供诸如磁盘读/写、LAN/通信、串行/并行I/O、系统初始化、内存管理等功能,而实时内核处理时限世界事件。你可以把这个看作两者兼得,因为它能够保持流行的通用操作系统好处,而增加了实时OS的能力。就Linux来说,你能保持与标准Linux兼容,而以非干扰的方式增加了实时功能。当然,也可以专研并修改Linux,把改变成实时操作系统,因为它的源码是公开可用的,但如果这样做,你会面临这样严重缺点,即不论特性方面,还是驱动程序方面都不能与主流Linux

28、同步前进。简言之,你的制定Linux将不能从Linux的不断进展中获得好处,而这种进展是世界范围内数以千计的开发人员共同协力的结果。Linux是一个操作系统,它担当计算机系统硬件与软件间的通信服务,Linux内核包含了你在任何操作系统所期望的所有特性。 A Low-Cost, Smart Capacitive Position SensorAbstract:A new high-performance, low-cost, capacitive position-measuring system is described. By using a highly linear oscillator

29、, shielding and a three-signal approach, most of the errors are eliminated. The accuracy amounts to 1 m over a 1 mm range. Since the output of the oscillator can directly be connected to a microcontroller, an A/D converter is not needed.I. INTRODUCTIONThis paper describes a novel high-performance, l

30、ow-cost, capacitive displacement measuring system featuring:1 mm measuring range,1 m accuracy,0.1 s total measuring time.Translated to the capacitive domain, the specifications correspond to:a possible range of 1 pF; only 50 fF of this range is used for the displacement transducer;50 aF absolute cap

31、acitance-measuring inaccuracy.Meijer and Schrier l and more recently Van Drecht,Meijer, and De Jong 2 have proposed a displacement-measuring system, using a PSD (Position Sensitive Detector) as sensing element. Some disadvantages of using a PSD are the higher costs and the higher power consumption o

32、f the PSD and LED (Light-Emitting Diode) as compared to the capacitive sensor elements described in this paper.The signal processor uses the concepts presented in 2,but is adopted for the use of capacitive elements. By the extensive use of shielding, guarding and smart A/D conversion,the system is a

33、ble to combine a high accuracy with a very low cost-price. The transducer produces three-period-modulated signals which can be selected and directly read out by a microcontroller. The microcontroller,in return, calculates the displacement and can send this value to a host computer (Fig. 1) or a disp

34、lay or drive an actuator.Electronic CircuitPersonal ComputerActuatorDisplayFig. 1. Block diagram of the systemFig. 2. Perspective and dimensions of the electrode structure. THE ELECTRODE STRUCTURE The basic sensing element consists of two simple electrodes with capacitance Cx, (Fig. 2). The smaller

35、one (E2) is surrounded by a guard electrode. Thanks to the use of the guard electrode, the capacitance Cx between the two electrodes is independent of movements (lateral displacements as well as rotations) parallel to the electrode surface.The influence of the parasitic capacitances Cp will be elimi

36、nated as will be discussed in Section . According to Heerens 3, the relative deviation in the capacitance Cx between the two electrodes caused by the finite guard electrode size is smaller than: e-(x/d) (1)where x is the width of the guard and d the distance between the electrodes. This deviation in

37、troduces a nonlinearity.Therefore we require that is less than 100 ppm.Also the gap between the small electrode and the surrounding guard causes a deviation: e-(d/s) (2)with s the width of the gap. This deviation is negligible compared to (l), when the gap width is less than 1/3 of the distance betw

38、een the electrodes.Another cause of errors originates from a possible finite skew angle between the two electrodes (Fig. 3). Assuming the following conditions:the potentials on the small electrode and the guard electrode are equal to 0 V,the potential on the large electrode is equal to V volt,the gu

39、ard electrode is large enough,it can be seen that the electric field will be concentric.dl/2l/2Fig. 3. Electrodes with angle .To keep the calculations simple, we will assume the electrodes to be infinitely large in one direction. Now the problem is a two-dimensional one that can be solved by using p

40、olar-coordinates (r, ). In this case the electrical field can be described by: (3)To calculate the charge on the small electrode, we set to 0 and integrate over r: (4)with Bl the left border of the small electrode: (5)and Br the right border: (6)Solving (4) results in: (7)For small s this can be app

41、roximated by: (8)It appears to be desirable to choose l smaller than d, so the error will depend only on the angle . In our case, a change in the angle of 0.6will cause an error less than 100 ppm.With a proper design the parameters o and l are constant,and then the capacitance between the two electr

42、odes will depend only on the distance d between the electrodes.ELIMINATION OF PARASITIC CAPACITANCESBesides the desired sensor capacitance C, there are also many parasitic capacitances in the actual structure (Fig.2). These capacitances can be modeled as shown in Fig.4. Here Cpl represents the paras

43、itic capacitances from the electrode E1 and Cp2 from the electrode E2 to the guard electrodes and the shielding. Parasitic capacitance Cp3 results from imperfect shielding and forms an offset capacitance. When the transducer capacitance Cx is connected to an AC voltage source and the current through

44、 the electrode is measured,Cpl and Cp2 will be eliminated. Cp3 can be eliminated by performing an offset measurement.Fig. 4. Elimination of parasitic capacitancesThe current is measured by the amplifier with shunt feedback, which has a very low input impedance. To obtain the required linearity, the

45、unity-gain bandwidth fT of the amplifier has to satisfy the following condition: (9)where T is the period of the input signal.Since Cp2 consists of cable capacitances and the input capacitance of the op amp, it may indeed be larger than Cf and can not be neglected.IV. THE CONCEPT OF THE SYSTEMThe sy

46、stem uses the three-signal concept presented in 2, which is based on the following principles. When we measure a capacitor Cx with a linear system, we obtain a value: (10)where m is the unknown gain and Moff, the unknown offset.By performing the measurement of a reference quantity Cref, in an identi

47、cal way and by measuring the offset, Moff,by making m = 0, the parameters m and Moff are eliminated.The final measurement result P is defined as: (11)In our case, for the sensor capacitance C, it holds that: (12)where Ax is the area of the electrode, do is the initial distance between them, is the dielectric constant and d is the

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 大学资料

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知得利文库网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号-8 |  经营许可证:黑B2-20190332号 |   黑公网安备:91230400333293403D

© 2020-2023 www.deliwenku.com 得利文库. All Rights Reserved 黑龙江转换宝科技有限公司 

黑龙江省互联网违法和不良信息举报
举报电话:0468-3380021 邮箱:hgswwxb@163.com