虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

Key-value

  • 西门子S7-300 PLC模拟量转换

    Analog Inputs and Outputs in an S7 PLC are represented in the PLC as a 16-bit integer. Over the nominal span of the analog input or output, the value of this integer will range between - 27648 and +27648. However, it is easier to use the analog values if they are scaled to the same units and ranges as the process being controlled. This applications tip describes methods for scaling analog values to and from engineering units.

    标签: 300 PLC 西门子 模拟量

    上传时间: 2013-11-17

    上传用户:3294322651

  • 基于8098单片机的SPWM变频调速系统

      数字控制的交流调速系统所选用的微处理器、功率器件及产生PWM波的方法是影响交流调速系统性能好坏的直接因素。在介绍了正弦脉宽调制(SPWM)技术的基础上,设计了一种以8098单片机作为控制器,以智能功率模块IPM为开关器件的变频调速系统。通过软件编程,产生正弦脉冲宽度调制波形来控制绝缘栅双极晶体管的导通和关断,从而达到控制异步电动机转速的目的。实验结果表明,该系统可调频率调电压,稳定度高,调速范围宽,具有较强的实用价值   Abstract:   AC variable speed with digital control systems used microprocessors, power devices and generate PWM wave is the direct factors of affecting the performance AC speed regulation system. On the basis of introducing the sinusoidal pulse width modulation (SPWM) technology,this paper designed variable speed system which used 8098 as a controller, intelligent power module IPM as switching device. Through software programming, resulting in sinusoidal pulse width modulation waveform to control the insulated gate bipolar transistor turn on and off, so as to achieve the purpose of speed control of induction motors. Experimental results show that the system can adjust frequency modulation voltage, high stability, wide speed range, has a strong practical value.  

    标签: 8098 SPWM 单片机 变频调速系统

    上传时间: 2013-11-14

    上传用户:ynwbosss

  • 基于单片机系统的(24,16)循环码编码、译码方案

      在理论分析循环码编码和译码基本原理的基础上,提出了基于单片机系统的(24,16)循环码软件实现编码、译码的方案。仿真结果表明(24,16)循环码能有效地克服来自通讯信道的干扰,保证数据通信的可靠及系统的稳定,使误码率大幅度降低。本论文对(24,16)循环码的研究结果表明,可以有效地降低错误概率和提高系统的吞吐量,实现纠错仅需要在接收端增加有限的存储空间和计算复杂度,具有一定的实用价值。   Abstract:   Based on analyzing the theory of encoding and decoding of cyclic code, this paper showed the schemes of encoding and decoding of(24,16)cyclic code by the software and based on microcontroller. Simulation results show that using (24,16) cyclic codes can effectively overcome the interference from communication channel, ensure the reliability and stability of data communication systems, and reduce the bit error rate greatly. The results of this paper show that by using the (24,16) cyclic code, the error rate can be reduced and the system throughput can be improved. Meanwhile, the system only needs to enlarge limited storage space and computation the complexity at the receiving end to realize error correction. Thus the (24,16) cyclic code has a practical value.  

    标签: 24 16 单片机系统 循环码

    上传时间: 2013-11-09

    上传用户:gaoliangncepu

  • 基于AVR单片机的闭环控制系统

      针对科研实验中对拉压千斤顶加载过程控制的需要,采用ATmega128单片机控制步进电机进而实现对执行系统的电动泵站实行自动控制。对力和位移的数据采集与处理及用步进电机控制电动泵站手柄的技术细节作了重点描述。通过单片机的A/D变换器对AMP放大模块采集的电桥信号作量化处理,千斤顶的操控手柄位置依电动油泵阀门开启的方向和大小作若干定位,单片机根据力或位移传感器信号,实时控制步进电机驱动手柄旋转到相应操控位置。   Abstract:   This article describes the use of ATmega128 AVR microcontroller series of DBS electric pumping stations and QF100/200 separate twoway hydraulic jack to automate the process of manipulating the work of the technical content. Articles on force and displacement data acquisition and processing, and stepper motor control electric pump with the handle of the key technical details were described. Through the MCU’s A / D converter module is collected on the AMP amplification quantify the signal bridge, jack handle position control valve opening according to the direction of electric pumps for a number of positioning and size of the microcontroller based on force or displacement sensor signals, real-time control stepper motor drive control handle rotate to the appropriate location.  

    标签: AVR 单片机 闭环控制

    上传时间: 2014-01-16

    上传用户:hasan2015

  • 基于PIC16C71的数字水温配制阀的设计

      设计了一种基于PIC16C71单片机的数字水温配制阀。该配制阀采用NTC热敏电阻作温度传感器,与固定电阻组成简单分压电路作为水温测量电路,利用PIC16C71单片机内置的8位A/D转换器把热敏电阻上的模拟电压转换为数字量,PIC16C71单片机控制直流电机驱动混水阀调节冷热水的混合比例实现水温调节。给出了控制电路图,对水温测量电路的参数选择和测温精度作了详细讨论。实验和分析表明,选用阻值较大的NTC热敏电阻和分压电阻可较好地解决热敏电阻因功耗较大造成的热击穿问题。   Abstract:   A digital valve for controlling water temperature based on PIC16C71 was presented in this paper.A bleeder circuit which consisted of a NTC thermistor as temperature sensor and a fixed resistance was designed as water temperature measuring circuit.The analog voltage on the thermistor was converted into digital signal by a 8-bit A/D converter embedded in PIC16C71. Based on the digital signal, the MCU PIC16C71 drived the valve by a DC motor to adjust the water temperature through adjusting the proportion of hot water and cold water.The circuit diagram of controller was given,the principle,the component parameters and the accuracy of measuring temperatures were also dissertated in detail. It was found by experiment and analysis that thermal breakdown of thermistor caused by high power could be solved by selecting thermistor and fixed resistance with high impedance value.

    标签: PIC 16C C71 16

    上传时间: 2013-11-08

    上传用户:Yue Zhong

  • 单片机几种软件滤波程序示例

    假定从8位AD中读取数据(如果是更高位的AD可定义数据类型为int),子程序为get_ad(); 1、限幅滤波法(又称程序判断滤波法)     A、方法:         根据经验判断,确定两次采样允许的最大偏差值(设为A)         每次检测到新值时判断:         如果本次值与上次值之差<=A,则本次值有效         如果本次值与上次值之差>A,则本次值无效,放弃本次值,用上次值代替本次值     B、优点:         能有效克服因偶然因素引起的脉冲干扰     C、缺点         无法抑制那种周期性的干扰         平滑度差 /*  A值可根据实际情况调整     value为有效值,new_value为当前采样值      滤波程序返回有效的实际值  */ #define A 10 char value; char filter() {    char  new_value;    new_value = get_ad();    if ( ( new_value - value > A ) || ( value - new_value > A )       return value;    return new_value;          } 2、中位值滤波法     A、方法:         连续采样N次(N取奇数)         把N次采样值按大小排列         取中间值为本次有效值     B、优点:         能有效克服因偶然因素引起的波动干扰         对温度、液位的变化缓慢的被测参数有良好的滤波效果     C、缺点:         对流量、速度等快速变化的参数不宜 /*  N值可根据实际情况调整     排序采用冒泡法*/

    标签: 单片机 软件滤波 程序

    上传时间: 2014-12-26

    上传用户:nanshan

  • 基于单片机的数字化B超键盘设计

    针对目前使用的RS232接口数字化B超键盘存在PC主机启动时不能设置BIOS,提出一种PS2键盘的设计方法。基于W78E052D单片机,采用8通道串行A/D转换器设计了8个TGC电位器信息采集电路,电位器位置信息以键盘扫描码序列形式发送,正交编码器信号通过XC9536XL转换为单片机可接收的中断信号,软件接收到中断信息后等效处理成按键。结果表明,在满足开机可设置BIOS同时,又可实现超声特有功能,不需要专门设计驱动程序,接口简单,成本低。 Abstract:  Aiming at the problem of the digital ultrasonic diagnostic imaging system keyboard with RS232 interface currently used couldn?蒺t set the BIOS when the PC boot, this paper proposed a design method of PS2 keyboards. Based on W78E052D microcontroller,designed eight TGC potentiometers information acquisition circuit with 8-channel serial A/D converter, potentiometer position information sent out with keyboard scan code sequentially.The control circuit based on XC9536 CPLD is used for converting the mechanical actions of the encoders into the signals that can be identified by the MCU, software received interrupt information and equivalently treatmented as key. The results show that the BIOS can be set to meet the boot, ultrasound specific functionality can be achieved at the same time, it does not require specially designed driver,the interface is simple and low cost.    

    标签: 单片机 B超 数字化 键盘设计

    上传时间: 2013-10-10

    上传用户:asdfasdfd

  • 单片机Flash存储器坏块自动检测

    在深入了解Flash存储器的基础上,采用单片机自动检测存储器无效块。主要通过读取每一块的第1、第2页内容,判断该块的好坏,并给出具体的实现过程,以及部分关键的电路原理图和C语言程序代码。该设计最终实现单片机自动检测Flash坏块的功能,并通过读取ID号检测Flash的性能,同时该设计能够存储和读取1GB数据。 Abstract:  On the basis of in-depth understanding the Flash chips,this paper designs a new program which using the SCM to detect the invalid block.Mainly through reading the data of the first and second page to detect the invalid block.Specific implementation procedure was given,and the key circuit schematic diagram and C language program code was introduced.This design achieved the function of using the MCU checks the invalid block finally,and increased the function by reading the ID number of Flash to get the performance of the memory.And the design also can write and read1GB data

    标签: Flash 单片机 存储器 自动检测

    上传时间: 2013-10-25

    上传用户:taozhihua1314

  • 基于ATmega16L单片机的温度控制系统设计

     设计一种基于ATmega16L单片机的温度控制系统,阐述该系统的软硬件设计方案。采用模块化设计方法,利用增量式PID算法使被控对象的温度值趋于给定值。实验结果表明该系统具有良好的检测和控制功能。 Abstract:  This paper designs a temperature control system based on ATmega16L,describes the hardware and software de-sign scheme of the system,adopts the modularized design method and utilizes the incremental PID algorithm to realize the temperature of controlled device incline to the given value.The experiment result indicates that the system has good detec-tion and control function

    标签: ATmega 16L 16 单片机

    上传时间: 2013-10-09

    上传用户:stvnash

  • 基于P89V51RD2的功率因数测量仪设计

    设计一种基于P89V51RD2的功率因数测量仪,采用光电隔离器和专用数码管驱动器。该测量仪是以增强型单片机P89V51RD2为核心,大大简化系统硬件设计。而软件部分采用模块化设计思想,采用中值滤波和小数补偿算法,实现功率因数的高精度测量。实验测试表明,该功率因数测量仪测量精度高,运行稳定可靠。 Abstract:  A power-factor measurement instrument based on P89V51RD2is designed,which uses optical coupler and specific LED drive chip.The power factor measurement instrument uses P89V51RD2as a core of which greatly simplifies the system design.Furthermore,modularization software is developed in detail.The high precision power-factor measuring system is realized by the center value filter and fractional compensation algorithm.Experiments manifests that the power- factor measurement instrument is high precision,steady and reliable.

    标签: P89 89V V51 RD2

    上传时间: 2014-12-27

    上传用户:CHINA526