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

k-meanS

k均值聚类算法(k-meanSclusteringalgorithm)是一种迭代求解的聚类分析算法,其步骤是,预将数据分为K组,则随机选取K个对象作为初始的聚类中心,然后计算每个对象与各个种子聚类中心之间的距离,把每个对象分配给距离它最近的聚类中心。聚类中心以及分配给它们的对象就代表一个聚类。每分配一个样本,聚类的聚类中心会根据聚类中现有的对象被重新计算。这个过程将不断重复直到满足某个终止条件。终止条件可以是没有(或最小数目)对象被重新分配给不同的聚类,没有(或最小数目)聚类中心再发生变化,误差平方和局部最小。
  • 基于开关电容技术的锁定放大器设计

    锁定放大是微弱信号检测的重要手段。基于相关检测理论,利用开关电容的开关实现锁定放大器中乘法器的功能,提出开关电容和积分器相结合以实现相关检测的方法,并设计出一种锁定放大器。该锁定放大器将微弱信号转化为与之相关的方波,通过后续电路得到正比于被测信号的直流电平,为后续采集处理提供方便。测量数据表明锁定放大器前级可将10-6 A的电流转换为10-1 V的电压,后级通过带通滤波器级联可将信号放大1×105倍。该方法在降低噪声的同时,可对微弱信号进行放大,线性度较高、稳定性较好。 Abstract:  Lock-in Amplifying(LIA)is one of important means for weak signal detection. Based on cross-correlation detection theory, switch in the swithched capacitor was used as multiplier of LIA, and a new method of correlation detection was proposed combining swithched capacitor with integrator. A kind of LIA was designed which can convert the weak signal to square-wave, then DC proportional to measured signal was obtained through follow-up conditioning circuit, providing convenience for signal acquisition and processing. The measured data shows that the electric current(10-6 A) can be changed into voltage(10-1 V) by LIA, and the signal is magnified 1×105 times by cascade band-pass filter. The noise is suppressed and the weak signal is amplified. It has the advantages of good linearity and stability.

    标签: 开关电容 锁定放大器

    上传时间: 2013-11-29

    上传用户:黑漆漆

  • 补偿导线工作原理及其应用

     由热电偶的测温原理可知,热电偶产生的热电势与热端(又称测量端)、参比端(又称冷端)的热电势有关,只有参比端温度t1 为零或恒定不变,热电势才是热端温度的单值函数(见图1)。如果不补偿的话,则热电偶的参比端温度与仪表接线端温度t2间的温差t1-t2越大,测量误差也越大。由于大多数热电偶的热电势与温度的关系近似线性,所以造成的测量误差大致等于上述温差。以K 分度号的镍铬-镍硅热电偶为例,当t1=50℃,t2=20℃时,如热端温度为1000℃,则显示温度仅969℃,误差达31℃。

    标签: 补偿导线 工作原理

    上传时间: 2013-10-15

    上传用户:哈哈hah

  • Sunny号STM32开发板硬件说明书

    D&K电子工作室最新推出的Sunny号STM32开发板的硬件说明书。预计10月份下旬开卖,欢迎关注。。

    标签: Sunny STM 32 开发板

    上传时间: 2014-12-25

    上传用户:thesk123

  • 51单片机增量式PID控制算法

    当执行机构需要的不是控制量的绝对值,而是控制量的增量(例如去驱动 步进电动机)时,需要用PID的“增量算法”。 增量式PID控制算法可以通过(2-4)式推导出。由(2-4)可以得到控制器 的第k-1个采样时刻的输出值为:

    标签: PID 51单片机 增量式 控制算法

    上传时间: 2013-10-11

    上传用户:waizhang

  • 基于单总线式无线温度采集系统设计

    为提高温度测量效率,降低系统的成本,扩展传输距离,设计出一种新型温度采集系统。单片机通过控制具有单总线方式的温度传感器DS18B20实现对温度的测量,同时单片机通过控制具有单总线方式300~450MHz频率范围内的MAX7044与MAX7033无线发射与接收芯片实现温度数据的无线传输。与传统温度采集系统相比,该系统利用单总线方式连接,采用无线传输方式实现远距离通信,易于系统的集成与扩展。实验结果表明,该系统结构简单、方便移植,能够同时实现多达上百点温度的测量与500m范围的传输。 Abstract:  To improve the temperature measurement efficiency and reduce system cost,expansion of transmission distance,a new type of temperature acquisition system is designed.Microcontroller controlled temperature sensor DS18B20which has a single-bus achieves temperature measurement,while microcontroller by controlled the MAX7044and MAX7033chip with a single-bus and having300~450MHz radiofrequency to achieve the wireless transmission of temperature data.Compared with conventional temperature acquisition system,the system uses single-bus connected,and uses wireless transmission means to achieve long-distance communications,easy-to-system integration and expansion.The experimental results show that the system is simple,convenient transplantation,and can be implemented in as many as a hundred-point temperature measure-ment and the transmission range of500meters.

    标签: 单总线 无线温度 采集 系统设计

    上传时间: 2013-10-29

    上传用户:515414293

  • 基于CC1110单片机公交报站系统的设计

    基于CC1110单片机公交报站系统主要由CC1110单片机最小系统和WT588D语音模块组成,提出了如何实现语音报站,通过无线通信SimpliciTI网络协议实现公交站台的自动播报和OLCD液晶显示公交运行的各类信息。结果表明,该公交报站系统报站准确率99%,价格比同类产品下降了300%以上,系统组成结构简单,提高了系统的抗干扰性和稳定性,也便于携带。 Abstract:  The bus stop announcement system based on CC1110 MCU is composed of CC1110 MCU minimum system and WT588D voice module. How to achieve the voice announcing is put forward.The bus-stop will announce automatically and display on the OLCD by means of wireless communication SimpliciTI network protocol. As a result, the bus station stop announcement systems reported 99% accuracy rate, price of similar products declined by 300% or more, system of simple structure, improve the anti-jamming and stability of the power system, it is also portable.

    标签: 1110 CC 单片机 公交报站

    上传时间: 2013-10-21

    上传用户:baby25825

  • keilA51原版教程

    Information in this document is subject to change without notice and does notrepresent a commitment on the part of the manufacturer. The software describedin this document is furnished under license agreement or nondisclosureagreement and may be used or copied only in accordance with the terms of theagreement. It is against the law to copy the software on any medium except asspecifically allowed in the license or nondisclosure agreement. The purchasermay make one copy of the software for backup purposes. No part of this manualmay be reproduced or transmitted in any form or by any means, electronic ormechanical, including photocopying, recording, or information storage andretrieval systems, for any purpose other than for the purchaser’s personal use,without written permission.

    标签: keilA 51 教程

    上传时间: 2014-12-27

    上传用户:Tracey

  • 基于MSP430FI33单片机的智能温控仪

    摘要:介绍采用1f1的MSP430F133为主控芯片的温控仪的软、硬件设计。该温控仪同时兼容PtlO0热电阻和K、E型热电偶,软件采用改进的增量型PID控制方式,并带有参数自整定功能和简单的模糊PID参数校正功能。硬软件设计上充分考虑了抗干扰的措施,可以在恶劣环境中使用。测量温度范围为0—6OO℃,控制精度为±1℃。关键词:MSP430F133;温控仪;热电偶;模糊PID

    标签: MSP 430 33 FI

    上传时间: 2013-10-20

    上传用户:拔丝土豆

  • 基于单片机及FPGA的时码终端系统

    摘要:本文详细叙述了基于FPGA及单片机K实现时码终端系统的设计方法,该系统可用于对国际通用时间格式码IRIG码(简称B码)的解调,以及产生各种采样、同步频率信号,也可作为其它系统的时基和采样、同步信号的基准。关键词:单片机;IRIG-B格式码;FPGA;解调;控制;接口

    标签: FPGA 单片机 时码终端

    上传时间: 2013-12-16

    上传用户:CSUSheep

  • lpc2478完全使用手册

    NXP Semiconductor designed the LPC2400 microcontrollers around a 16-bit/32-bitARM7TDMI-S CPU core with real-time debug interfaces that include both JTAG andembedded Trace. The LPC2400 microcontrollers have 512 kB of on-chip high-speedFlash memory. This Flash memory includes a special 128-bit wide memory interface andaccelerator architecture that enables the CPU to execute sequential instructions fromFlash memory at the maximum 72 MHz system clock rate. This feature is available onlyon the LPC2000 ARM Microcontroller family of products. The LPC2400 can execute both32-bit ARM and 16-bit Thumb instructions. Support for the two Instruction Sets meansEngineers can choose to optimize their application for either performance or code size atthe sub-routine level. When the core executes instructions in Thumb state it can reducecode size by more than 30 % with only a small loss in performance while executinginstructions in ARM state maximizes core performance.

    标签: 2478 lpc 使用手册

    上传时间: 2013-11-15

    上传用户:zouxinwang