为了使音频信号分析仪小巧可靠,成本低廉,设计了以2片MSP430F1611单片机为核心的系统。该系统将音频信号送入八阶巴特沃兹低通滤波器,对信号进行限幅放大、衰减、电平位移、缓冲,并利用一单片机负责对前级处理后的模拟信号进行采样,将采集得到的音频信号进行4 096点基2的FFT计算,并对信号加窗函数提高分辨率,另一单片机负责对信号的分析及控制显示设备。此设计精确的测量了音频信号的功率谱、周期性、失真度指标,达到较高的频率分辨率,并能将测量结果通过红外遥控器显示在液晶屏上。 Abstract: o make the audio signal analyzer cheaper, smaller and more reliable, this system sends the audio signal to the eight-order butterworth filter, and then amplifies, attenuates, buffers it in a limiting range, transfers the voltage level of the signal before utilizing two MSP430F1611 MCU to realize the audio analysis. One is charged for sampling and dealing with the processed audio signal collected by the 4096 point radix-2 FFT calculation and imposes the window function to improve the frequency resolution. The other one controls the display and realizes the spectrum, periodicity, power distortion analysis in high resolution which is displayed in the LCD screen through the infrared remote control.
上传时间: 2013-12-11
上传用户:jasonheung
为解决当前计算机串行通讯接口只有USB,难以满足旧型号设备或某些单片机要求RS232通讯的问题,设计出两款RS232/USB电路。采用CH341A与MAX223集成电路芯片构建标准9线RS232/USB通用接口转换器,无需编程。采用CH341A与PIC16F877A构建单片机与计算机之间的USB通讯电路,软件遵循RS232通讯协议,硬件进行电平转换。实际使用表明,这两款产品与计算机端Windows 操作系统下的串口应用程序完全兼容,且通讯过程中无握手失败现象。 Abstract: To solve the problem that current computer serial communication only with USB interface can not satisfy with the old type equipments or MCU to communicate with RS232, two kinds of RS232/USB circuit were designed.CH341A and MAX223 integrated circuit chips were used to create a standard 9-line RS232/USB universal interface convertor without programme. CH341A and PIC16F877A chips were adopted to build the USB communication circuit between computers and MCU. The software follows RS232 communication protocol, and the hardware converts electrical levels. Actual practices indicate that the two manufactures are compatible with serial application program of Windows operation system completely,and get avoid of handshake lost.
上传时间: 2013-11-03
上传用户:siying
以太网和CAN总线应用广泛,但由于其通信协议不同,两种总线器件间无法进行数据通信,因此,设计了基于CP2200与C8051F040的以太网总线与CAN总线接口转换电路,并给出部分相关硬件电路与软件设计分析。在保证数据完整和协议可靠的前提下,通过握手协议和简化的以太网协议,不仅实现了以太网数据与CAN数据的转发,同时还顺利的解决了以太网的高速性与CAN的低速率冲突,以及两者数据包之间的大小不同的矛盾。 Abstract: In the development of actual application, Ethernet and CAN bus are used very extensively. Owing to its various communication protocols, the communicating between two kinds of bus device can’t be carried out. Therefore, in order to solve this problem, the Ethernet-CAN bus interface circuit based on CP2200 and C8051F040 was designed in this paper, and part of the related hardware circuit and software design analysis were given. On the condition of data’s integrity and protocols’reliability, through the handshaking protocols and the simplified the Ethernet protocol, not only the data switching between CAN and Ethernet was realized, but also the differ in velocity and packet size was solved.
上传时间: 2013-10-15
上传用户:Ants
提出一种基于凌阳单片机的步进电机加减速的控制方法。采用凌阳科技推出的16位结构工控单片机SPMC75F2413A为控制器,由Allegro公司生产的两相步进电机专用驱动器件SLA7042M构成步进电机的驱动电路,在传统的3段直线加减速控制算法基础上增加至7段S形曲线加减速过程,控制步进电机的启动和停止。实验结果表明,该控制方法克服了直线加减速中不连续、易造成系统冲击的问题,整个系统实现柔性控制,电机启动、停止连续性能提高30%。 Abstract: The method of controlled stepping motor is referred based on SPMC75F2413A MCU, which adopts the 16 knots SPMC75F2413A MCU as the controller. The special-purpose actuation chip SLA7042M of two stepping motor produced by Allegro Corporation constituted to actuation electric circuit. The purpose of increasing to seven section of S shape curve based on the traditional three sections of straight line is to control the start and stop process of stepping motor. The experimental results show that the control method solves easy to pull-out and overshot problems. The overall system realizes flexible control, and the performance of motor start or stop continuity is increased 30%
上传时间: 2013-12-08
上传用户:jiangfire
介绍一种基于C8051单片机的动态心电监护系统。该系统由两部分组成:以C8051F320单片机为核心的数据采集装置和以PC机为平台的分析处理系统。硬件电路功耗低,由单片机自带的USB接口将数据传送给PC机。软件平台采用LabVIEW可视化虚拟仪器系统开发平台,将传统仪器的功能模块集成到计算机中,用户可通过修改虚拟仪器的程序改变其功能。采用USB接口实时传输心电数据,并将数据采集模块设计为计算机外设,使该系统高速快捷、小巧便携。 Abstract: In this design,a low-cost ECG electrocardiogram monitoring system is introduced,which consists of two parts:data acquisition device based on C8051F320and PC terminal as the analysis and processing system.The system is low-power consumption,the data is transmitted to the PC terminal by USB interface of the C8051F320.By using the visible virtual instrument system developing platform LabVIEW,the traditional instruments function modules are integrated into the computer,so the user can modify virtual instrument software to change its function to meet their needs.Using USB in-terface to realize real-time ECG data transmission,in addition,ECG data acquisition module is designed as the computer peripheral,which makes the syetem high-speed and portable.
上传时间: 2013-11-13
上传用户:zhangzhenyu
介绍一种基于CAN总线的牵引变电站自动化系统通讯规约的设计,CAN通讯规约采用标准帧,报文采用主动发送和发送查询两种处理形式。该设计在城市轻轨与地铁牵引变电站中的应用表明:可实现间隔层和通讯处理层的数据快速、可靠的交换,提高牵引变电站的安全性和稳定性 。 Abstract: This paper firstly presents a kind of design dealing with communicational protocol to the traction substation automation system based on CAN bus,and then comes up with the ideas that all frames of CAN communicational protocol should adopt the standard frame,and that messages be processed by two ways:sending initiatively and sending quiries.Subway and light rail application shows that the use of the CAN bus is possible to exchange data quickly and reliably between the layers of the middle and the communicational processing,hence to improve the safety and stability of traction substations.
上传时间: 2013-11-07
上传用户:bs2005
介绍一种多功能音乐播放器,它是以AT89S52单片机为核心,并辅有一些外围器件,采用汇编语言编写程序,实现多功能音乐播放,歌曲自动循环播放和使用琴键自编曲目功能。此外,彩灯显示歌曲节奏,按键跳转到喜爱曲目,液晶显示当前播英文曲目。并给出了系统软硬件设计。 Abstract: It introduces a multifunctional music player,taking AT89S52 single-chip microcomputer as hardware control core and using some peripheral elements.Programmes are compiled in assembly language to act as expected.There are two functional modes in this system.One is to make the music play automatically and consecutively,the other is to compose new songs through keys.In addition,lights show the pace of music and the English names can be displayed in the liquid crystal screen.With perfect combination of hardware and software,the music player can meet many music lovers’needs for multifunctional music player.And the hardware and software of the system are given.
上传时间: 2013-11-18
上传用户:xiaodu1124
对于传统的跑步机无法联机组网,保存历史数据,实时调试等问题,介绍了一个由多台跑步机通过RS-232串行总线与上位机相连组成的跑步机联网系统。系统采用W77E58作为下位机核心控制器件,它具有双串行通讯端口,其中一个串口用于与变频器通讯,另一个串口则与上位机相连,构成跑步机网络。 Abstract: The traditional running machine can not be connected to a network, saving historical data, real time debug etc.In this paper,a new network system which is composed of running machines connected by a RS-232 communication bus is introduced.In the system,W77E58 is used as a core control unit.W77E58 has two serial ports,one is connected to the inverter and the other is connected to the PC. Thus a network appears.
上传时间: 2014-12-27
上传用户:哇哇哇哇哇
为深入了解基于UC3854A控制的PFC变换器中的动力学特性,研究系统参数变化对变换器中分岔现象的影响,在建立Boost PFC变换器双闭环数学模型的基础上,用Matlab软件对变换器中慢时标分岔及混沌等不稳定现象进行了仿真。在对PFC变换器中慢时标分岔现象仿真的基础上,分析了系统参数变化对分岔点的影响,并进行了仿真验证。仿真结果清晰地显示了输入整流电压的幅值变化对系统分岔点的影响。 Abstract: In order to better understand the dynamics characteristic of power factor correction converter based on UC3854A, and make the way that parameters change influences the bifurcation phenomena of the system clearly. The math model of the two closed loop circuits to the Boost PFC (Power Factor Correction) converter controller was built. Then, with the help of Matlab, the simulation for nonlinear phenomena such as chaos and slow-scale bifurcation in the PFC converter was made. Finally the factors that have influence to the phenomenon of bifurcation under slow-scale in PFC converter were analyzed. The simulation results clearly show the parameters change influences the bifurcation point of the system.
上传时间: 2013-10-17
上传用户:杜莹12345
基于幅移键控技术ASK(Amplitude-Shift Keying),以C8051F340单片机作为监测终端控制器,C8051F330D单片机作为探测节点控制器,采用半双工的通信方式,通过监控终端和探测节点的无线收发电路,实现数据的双向无线传输。收发电路采用直径为0.8 mm的漆包线自行绕制成圆形空心线圈天线,天线直径为(3.4±0.3)cm。试验表明,探测节点与监测终端的通信距离为24 cm,通过桥接方式,节点收发功率为102 mW时,节点间的通信距离可达20 cm。与传统无线收发模块相比,该无线收发电路在受体积、功耗、成本限制的场合有广阔的应用前景。 Abstract: Based on ASK technology and with the C8051F340 and C8051F330D MCU as the controller, using half-duplex communication mode, this paper achieves bi-directional data transfer. Transceiver circuit constituted by enameled wire which diameter is 0.8mm and wound into a diameter (3.4±0.3) cm circular hollow coil antenna. Tests show that the communication distance between detection and monitoring of the terminal is 24cm,the distance is up to 20cm between two nodes when using the manner of bridging and the node transceiver power is 102mW. Compared with the conventional wireless transceiver modules, the circuit has wide application prospect in small size, low cost and low power consumption and other characteristics.
上传时间: 2013-10-19
上传用户:xz85592677