我们编写的程序由两个主要方面组成 1 算法的集合就是将指令组织成程序来解决某个特定的问题 2 数据的集合算法在这些数据上操作以提供问题的解决方案 纵观短暂的计算机发展史这两个主要方面算法和数据一直保持不变发展演化的 是它们之间的关系就是所谓的程序设计方法programming paradigm 在过程化程序设计方法procedural programming 中一个问题可直接由一组算法来建 立模型例如公共图书馆的资料借阅/登记check out/check in 系统是由一系列过程表现 出来的其中两个主要的过程是资料的借阅和登记这些数据被独立存储起来我们既可以 在某个全局位置上访问这些数据或者把数据传递给过程以便它能够访问这些数据Fortran C 和 Pascal 是三种著名的过程语言C++也支持过程化程序设计单独的过程如check_in() check_out() over_due() fine()等等都被称为函数第三篇将集中讨论C++对过程化程序 设计方法的支持尤其将重点讨论函数函数模板和通用算法 在20 世纪70 年代程序设计的焦点从过程化程序设计方法转移到了抽象数据类型 abstract data type 简写为ADT 的程序设计上现在通常称之为基于对象(object based 的程序设计在基于对象的程序设计方法中我们通过一组数据抽象来建立问题的模型在 C++中我们把这些抽象称为类class 例如在这种方法下图书馆资料借阅登记系统就 由类的对象实例比如书借阅者还书时间罚款等之间的相互作用表现出来以此表 示出图书馆的抽象概念与每个类相关的算法被称为该类的公有接口public interface 数 据以私有形式被存储在每个对象中对数据的访问应与一般的程序代码隔离开来CLU Ada 和Modula-2 是三种支持抽象数据类型的程序设计语言第四篇将说明和讨论C++对抽象数据 类型程序设计方法的支持 面向对象的程序设计方法通过继承inheritance 机制和动态绑定dynamic binding 机 制扩展了抽象数据类型继承机制是对现有实现代码的重用动态绑定是指对现有的公有接 口的重用以前独立的类型现在有了类型/子类型的特定关系一本书一盒录像带一段录 音甚至孩子的宠物尽管它们有各自的借阅/登记方式但都可以成为图书馆的收藏资料 共享的公有接口和私有的数据都放在一个抽象类图书馆资料LibraryMaterial 中每个特 殊的图书馆资料类都从LibraryMaterial 抽象类继承共享的行为它们只需要提供与自身行为相 关的算法和数据Simula Smalltalk 和Java 是三种支持面向对象程序设计方法的著名语言 第五篇将集中讨论C++对面向对象程序设计方法的支持 C++是一种支持多种程序设计方法的语言虽然我们主要把它当作面向对象的语言但 实际上它也提供对过程化的和基于对象的程序设计方法的支持这样做的好处是对每个问题 都能够提供最合适的解决方案事实上没有一种程序设计方法能够
上传时间: 2019-01-30
上传用户:jizhi111
abstract—In the future communication applications, users may obtain their messages that have different importance levels distributively from several available sources, such as distributed storage or even devices belonging to other users. This scenario is the best modeled by the multilevel diversity coding systems (MDCS). To achieve perfect (information-theoretic) secrecy against wiretap channels, this paper investigates the fundamental limits on the secure rate region of the asymmetric MDCS (AMDCS), which include the symmetric case as a special case. Threshold perfect secrecy is added to the AMDCS model. The eavesdropper may have access to any one but not more than one subset of the channels but know nothing about the sources, as long as the size of the subset is not above the security level. The question of whether superposition (source separation) coding is optimal for such an AMDCS with threshold perfect secrecy is answered. A class of secure AMDCS (S-AMDCS) with an arbitrary number of encoders is solved, and it is shown that linear codes are optimal for this class of instances. However, in contrast with the secure symmetric MDCS, superposition is shown to be not optimal for S-AMDCS in general. In addition, necessary conditions on the existence of a secrecy key are determined as a design guideline.
标签: Fundamental Limits Secure Class on of
上传时间: 2020-01-04
上传用户:kddlas
基于TMS320F2812 光伏并网发电模拟装置PROTEL设计原理图+PCB+软件源码+WORD论文文档,硬件采用2层板设计,PROTEL99SE 设计的工程文件,包括完整的原理图和PCB文件,可以做为你的学习设计参考。 摘要:本文实现了一个基于TMS320F2812 DSP芯片的光伏并网发电模拟装置,采用直流稳压源和滑动变阻器来模拟光伏电池。通过TMS320F2812 DSP芯片ADC模块实时采样模拟电网电压的正弦参考信号、光伏电池输出电压、负载电压电流反馈信号等。经过数据处理后,用PWM模块产生实时的SPWM 波,控制MOSFET逆变全桥输出正弦波。本文用PI控制算法实现了输出信号对给定模拟电网电压的正弦参考信号的频率和相位跟踪,用恒定电压法实现了光伏电池最大功率点跟踪(MPPT),从而达到模拟并网的效果。另外本装置还实现了光伏电池输出欠压、负载过流保护功能以及光伏电池输出欠压、过流保护自恢复功能、声光报警功能、孤岛效应的检测、保护与自恢复功能。系统测试结果表明本设计完全满定设计要求。关键词:光伏并网,MPPT,DSP Photovoltaic Grid-connected generation simulator Zhangyuxin,Tantiancheng,Xiewuyang(College of Electrical Engineering, Chongqing University)abstract: This paper presents a photovoltaic grid-connected generation simulator which is based on TMS320F2812 DSP, with a DC voltage source and a variable resistor to simulate the characteristic of photovoltaic cells. We use the internal AD converter to real-time sampling the referenced grid voltage signal, outputting voltage of photovoltaic, feedback outputting voltage and current signal. The PWM module generates SVPWM according to the calculation of the real-time sampling data, to control the full MOSFET inverter bridge output sine wave. We realized that the output voltage of the simulator can track the frequency and phase of the referenced grid voltage with PI regulation, and the maximum photovoltaic power tracking with constant voltage regulation, thereby achieved the purpose of grid-connected simulation. Additionally, this device has the over-voltage and over-current protection, audible and visual alarm, islanding detecting and protection, and it can recover automatically. The testing shows that our design is feasible.Keywords: Photovoltaic Grid-connected,MPPT,DSP 目录引言 11. 方案论证 11.1. 总体介绍 11.2. 光伏电池模拟装置 11.3. DC-AC逆变桥 11.4. MOSFET驱动电路方案 21.5. 逆变电路的变频控制方案 22. 理论分析与计算 22.1. SPWM产生 22.1.1. 规则采样法 22.1.2. SPWM 脉冲的计算公式 32.1.3. SPWM 脉冲计算公式中的参数计算 32.1.4. TMS320F2812 DSP控制器的事件管理单元 42.1.5. 软件设计方法 62.2. MPPT的控制方法与参数计算 72.3. 同频、同相的控制方法和参数计算 8
标签: tms320f2812 光伏 并网发电 模拟 protel pcb
上传时间: 2021-11-02
上传用户:
abstractThe flyback power stage is a popular choice for single and multiple output dc-to-dc converters at powerlevels of 150 Watts or less. Without the output inductor required in buck derived topologies, such as theforward or push-pull converter, the component count and cost are reduced. This application note will reviewthe design procedure for the power stage and control electronics of a flyback converter. In these isolatedconverters, the error signal from the secondary still needs to cross the isolation boundary to achieveregulation. By using the UC3965 Precision Reference with Low Offset Error Amplifier on the secondaryside to drive an optocoupler and the UCC3809 Economy Primary Side Controller on the primary side, asimple and low cost 50 Watt isolated power supply is realized.
标签: 隔离
上传时间: 2021-11-24
上传用户:kingwide
本设计方案中,设计思路为围绕着单片机和燃气传感器进行本次硬件系统的设计。其中使用单片机连接着各个设备。燃气传感器检测空气中被测气体的浓度,通过A/D转换器把转换的数据传输到单片机中由单片机进行数据的分析处理,产生相应的报警电路运行。此次报警系统通过信号采集模数转换模块收集气体浓度、然后通过A/D转换器转换成数字信号,之后由单片机控制模块进行分析、在字符显示模块进行数据显示、如果被测气体超标激活声光报警模块进行报警和然后在进行安全保护模块。abstract........................................................21 绪论1.1 课题研究的目的以及研究意义.................................31.2 燃气烟雾报警器的国内外现状.................................31.3 燃气报警器的发展趋势.......................................41.4 本文主要研究内容...........................................42 总体方案设计2.1 系统总体方案设计...........................................6
上传时间: 2022-01-28
上传用户:qingfengchizhu
用三点法实现机器人三维位置测量的研究摘 要 :提 出 了一 种 微 小 爬 壁 机 器 人 三 维 位 置 测 量 的新 方 法 。笔 者 通 过 深 入 分 析 研 究各 种 位 置 测 控 方 法 与 系 统 ,提 出采 用单 目视 觉方 法 中的 聚 焦法 ,以 CCD作 为 传 感 器 ,用 三 点 法 实现 对 机 器 人 的 三 维 位 置 测 量 。 验 证性 实验 结果表 明 ,本研 究提 出的测 量原 理和 系统是 正 确 可行 的 。 关键词 :机 器人 ;位置 测量 ;CCD传 感 器 ;单 目视 觉 ;摄 像 机 标 定 中 图分 类 号 :TP242.6 文 献 标 识 码 :B abstract:A new 3D position measurementmethod Ofa wall—climbing micro robothas been researched.Researc— hing on the various position measuring and controlling method,theauthorhasputforwardanewprojecttomeas— ure the 3D position of the robot,in which the focusing method with singlecamera and CCD sensorhasbeen used to getthe position information.The elementary experiment has verified the principle and the system. Key words:robot;position detection;CCD sensor;single camera vision;camera caiibration 位置测量技 术是智 能机 器人 的关键 技术 ,是各 种 机器人控 制系统 中极 为重 要 的环节 ,也 是 国内外研 究 的热点所 在。 按 照测试 系统 与被 测机 器 人 的关 系 ,可 以将位 置 测量技术 分为接触 式和非接触式 两大类 。接触 式测量 系统 由于在测 量过程 中或多或少地 对机器人施 加 了载 荷 ,因而仅适用于静 态 位置测 量 。而动 态 位 置测量 系 统 主要分 5类 :①激光跟踪 系统 ;@ CCD交 互测量 收 稿 日期 :2001—07—03 基 金项 目:国家 863高科技 研 究 资助 项 目(9804-06);教 育 部 高 等 学校 骨干教 师 资助 计 3t,j项 目 作者 简 介 :张 智海 (1973一 ),男 ,工 学硕 士 ,主 要 研 究 方 向 为 智 能 机 器人 测 控 技 术 。 系统 ;③ 超声波 测量 系统 ;④ PSD(positionsensitivede— vice)位 置 测 量 系统 ;⑤ 带 有 接 近觉 传 感 器 的 测量 系 统 。位置测量 还可 以从另一个分类 角度划分为主动式 测量和被动 式测 量 。主动式测 量主要可 以分为结 构光方法和激光 自动聚焦法两类 。被 动式测量 主要 可 以分为双 目视 觉 、三 目视觉 、单 目视觉 等方法 。 对 比以上各种方法 的 优缺 点 ,针对 笔者 研制 的微 小爬壁机器人 的空 间三 维位 置 测量 的要 求 ,测量 系统 必须满足尺 寸小 、分 辨率 高 、稳定 性 和可 靠性 好 、时 间 响应快等特 点 ,提 出了采用 单 目视觉方法 中的聚焦法 , 选用 CCD作 为传感器 ,用 三点法实现对机器人 的三维 位置测量 ,并用 Matlab和 V
标签: 机器人
上传时间: 2022-02-12
上传用户:
超声波测距在智能机器人中的开发与应用摘 要:本文提出了在机器人控制中,使用软件方法实现超声波测距机器人避障功能的工作原理和设计 方法。该系统在使用过程中,测量精度高,机器人避障准确,可靠,真正实现了智能化控制。 关键词:机器人 超声波 测距 软件触发 abstract: The 0n pnnc eanddesignm d10d ofu]U~ sordc are descx'~edindetail fora intenigencero~ ic . ByI|8i“gthissystem,therobotmakesaccta~elyavoidingdmwhackhi# reliability. 1畸 wo阿s:ro tultro-sor~c聊 曲 喀sot~aretrigger 1 引言 在智能机器人的研制开发中,很重要 的一部 分就是机器人 要能实现避 障功能 ,即通过传感器 的作用 ,探测机器人行进道路 上是否碰到障碍。 若碰到了障碍 ,机器人应该 自动转向 ,躲避障碍 。 本文所介 绍的超声 波测距方法 ,应用 于 ET一18 Hem智能机器人中。通过超声波测距 ,该智能机 器人实现了对步进电动机的智能控制及运动控制 方式的灵活应用。同时,超声波测距作为一种非 接触 的检测方式 ,和红外 、激光及无线电测距相 比,在近距范 围内有不受光线影响、结构简单 、成 本低等优点 2 超声波测距基本原理 超声波是指频率在 2000Hz以上 ,不能引起正 常人听觉反应 的机械振动波 ,是物体 的机械振 动 在弹性介质 中传播所形成 的机械振动波。由于超 声波具有非常短 的波长 ,可 以聚集成狭小 的发
上传时间: 2022-02-16
上传用户:jiabin
基于FPGA设计的相关论文资料大全 84篇用FPGA实现FFT的研究 刘朝晖 韩月秋 摘 要 目的 针对高速数字信号处理的要求,给出了用现场可编程门阵列(FPGA)实现的 快速傅里叶变换(FFT)方案.方法 算法为按时间抽取的基4算法,采用递归结构的块浮点运 算方案,蝶算过程只扩展两个符号位以适应雷达信号处理的特点,乘法器由阵列乘法器实 现.结果 采用流水方式保证系统的速度,使取数据、计算旋转因子、复乘、DFT等操作协 调一致,在计算、通信和存储间取得平衡,避免了瓶颈的出现.结论 实验表明,用FPGA 实现高速数字信号处理的算法是一个可行的方案. 关键词 离散傅里叶变换; 快速傅里叶变换; 块浮点运算; 可编程门阵列 分类号 TP39; TN957.511 Implementation of FFT with FPGA Technology Liu Zhaohui Han Yueqiu (Department of Electronics Engineering, Beijing Institute of Technology, Beijing 100081) abstract Aim To propose a scheme for implementing FFT with FPGA in accor-dance with the requirement for high speed digital signal processing. Methods The structure of FPGA and requirement of system were considered in the experiment, radix-4 algorithm of DIT and recursive structure were adopted. The group float point arithmetic operation was used in the butterfly and the array multiplier was used to realize multiplication. Results The pipeline pattern was used to ensure the system speed, it made fetching data, calculating twiddle factor, complex multiplication and D
标签: fpga
上传时间: 2022-03-23
上传用户:
以单片机控制A/D转换器TLC549为例,对A/D转换器的主要技术指标进行了分析研究,在Proteus平台下,完成了A/D转换电路的构建,采用器件工作时序方式进行程序编写,借助仿真图表、虚拟仪器等工具对A/D转换的数据进行测量并对失调误差、增益误差、微分非线性、积分非线性和转换时间等重要参数进行了详细分析。结果表明:使用Proteus软件可对A/D转换过程进行定性分析,将抽象的A/D转换器技术指标直观化、形象化展现出来,有助于学生更好地理解A/D转换过程。The main technical indicators of A/D converter were analyzed and studied with an example from A/D converter TLC2543 which is controlled by using SCM.It was completed the construction of the A/D converter circuit under the Proteus software.The programming based on the operation sequence of the chip is put forward.With the aid of the simulation tools such as virtual instrument,simulation charts provided by Proteus,the important parameters of circuit such as offset error,gain error,differential nonlinearity(DNL),integral nonlinearity (INL) and conversion time are analyzed detailedly.Simulation results show that the A/D conversion process can be qualitatively analyzed and visualized the abstract indicators of A/D.The system can help students better to understand the SCM conversion process.
上传时间: 2022-04-04
上传用户:
基于TMS320F28335的超声波流量计硬件原理图+软件源码本文以TMS320F28335 处理器为核心,设计一种用于管道流量测量的超声波流量计。系统硬件由核心板,超声波发射和接收电路,切换电路,超声换能器,基于ADS805 的高速信号采集电路,人机交互以及电源等模块构成。采用时差法进行管道流量测量,时差测量采用SCOT 加权的广义互相关时延估计算法。本论文设计的超声波流量计具有测量速度快、准确性好、成本低等优点。关键字:C2000,超声波,流量,广义互相关算法abstractA kind of ultrasonic flowmeter using for the pipe flow measurement is designed based onTMS320F28335 in this paper. The system hardware consists of the following parts: the core board,ultrasonic signal transmitter and receiver circuits, switch circuit, ultrasonic transducer, signalacquisition circuit based on ADS805, human-computer interaction module and power supplymodule, etc. The system use the method of time difference for pipeline flow measurement and thetime difference is calculated by the time-delay algorithm of SCOT weighted generalizedcross-correlation. The ultrasonic flowmeter has the features of high testing speed, high precisionand low cost, etc.Keywords: C2000,Ultrasonic, Flow, Generalized Cross-Correlation Algorithm
标签: tms320f28335 超声波流量计
上传时间: 2022-05-06
上传用户: