-
pulscounter
脉冲计数器,用c语言实现,并将计数结果用led显示出来。(Pulse counter, using c language, and count the results with the led display.)
- 2011-01-11 14:04:14下载
- 积分:1
-
spi
基于飞利浦LPC2365芯片的模拟SPI功能实现(Philips LPC2365 simulation SPI function realization)
- 2010-01-06 15:34:36下载
- 积分:1
-
Train-speed-system-
基于单片机的火车测速系统源程序。利用单片机STC89C52系统实现列车行驶速度测量转换和LCD液晶显示。同时实现列车行驶方向判断和指示,键盘设定速度上下限,当速度超限时给出超速报警提示。(Train speed system based on single chip source, using SCM STC89C52 trains speed measurement system to achieve conversion and LCD display. While achieving the train driving directions judgment and instructions, keyboard set speed limit, when the speed exceeds the limit given speeding alarm.)
- 2013-07-05 16:21:01下载
- 积分:1
-
danpianjixiaogongjv
单片机开发电子工程师必备小工具 ga 超级串口助手 定时器计算时间。。。(dan pian ji kai fa bi bei xiao gongjv)
- 2013-08-10 14:43:18下载
- 积分:1
-
200711-0054-05
TMS28335初始化完成之后,
1、 先DDS产生73.35hz的方波。(问流量管固定频率)
2、 乘法器的另一个数字端输入乘数直接给一个固定值(按照5v),系数是固定的就是对应PID输出的那个接口,串行十二位信号输出(需要先定好一个GPIO接口)。
3、 再延迟一定的时间0.1s或其他时间之后,开始ad采集信号,分别采两路AD信号,此时不稳定(为什么要等到一定的幅值才开始采集AD信号)
4、 选择250点估计一个频率,频率估计的方法采用计算峰值次数的方法或者过零点,总之是为了保证精度采用时域估计的算法,这一块主要是一个扫频子程序,计算频率共振点。
5、 之后改变DDS的输出频率,循环对512点的数据进行扫频的处理
6、 频率控制完成之后,就可以缓慢降低PID控制输出的参数,此时暂时不计算频率,通过不断调整系数使AB的幅度保持在1 的范围内。
7、 测试幅度控制稳定之后a、采用幅度和频率同时控制b。采集数据进入频率估计和相位差估计的后续程序的大循环
8、 注意:采样和控制是同时进行的,所以要设置中断,以及看懂AD的程序,以及内部存储以及数据处理资源的分配。
(TMS28335 initialization is complete,
1, the first DDS generated square wave of 73.35hz. (Q flow tube fixed frequency)
2, another digital side of the multiplier input multiplier directly to a fixed value (in accordance with 5v), the coefficient is fixed corresponding PID output interface, serial twelve signal output (need to be a good one GPIO interface).
3, and then after a certain time delay 0.1s or other time, ad signal acquisition were collected two AD signal instability (Why wait until a certain amplitude began collecting AD signal)
4, 250 point estimate a frequency, frequency estimation method using the method of calculation of the number of peak or zero crossing, in short, in order to ensure the accuracy of time-domain estimation algorithm, this piece is a sweep subroutine to calculate the frequency resonance point.
5, after the change of the output frequency of the DDS data of 512 points, the loop processing Sweep
6, after the completion of the frequency control, it can sl)
- 2013-04-07 15:03:14下载
- 积分:1
-
kvsd
cs的kvsd标准算法,以及kvsd_nn的改进算法(cs of kvsd standard algorithms, as well as improved algorithm kvsd_nn)
- 2014-02-27 17:57:15下载
- 积分:1
-
STC_SCH
STC系列单片机原理图库 涵盖89C,12C,89LE系列,封装形式为PQFP(STC series single-chip schematic library covering 89C, 12C, 89LE series, package PQFP)
- 2013-04-23 10:16:43下载
- 积分:1
-
MP3
MP3, about the source and the principle diagram MP3 music playback function, and can be adjusted freely
- 2010-05-14 20:17:45下载
- 积分:1
-
LED
在51 单片机控制下,控制64 个LED灯做流星灯旋转,已量产的程序,可以使用。。(51 MCU control, control 64 LED lights do the meteor light rotation, production program, you can use. .)
- 2020-09-24 11:07:48下载
- 积分:1
-
74LS138-decoder-application
74LS138译码器应用(包括Proteus仿真图).rar(74LS138 decoder application (including Proteus simulation diagram). Rar)
- 2011-05-27 21:01:24下载
- 积分:1