element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs MICROCHIP数字电位器测评(续)
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Former Member
  • Date Created: 2 Sep 2011 7:51 AM Date Created
  • Views 334 views
  • Likes 0 likes
  • Comments 0 comments
Related
Recommended

MICROCHIP数字电位器测评(续)

Former Member
Former Member
2 Sep 2011

image

    各位大虾周末愉快,又到了博客时间,没错!今天还是要继续讲讲MCP401X2X开发板,因为管理员已经将上一篇数字电位器的博客置顶,不过上一篇博客只是介绍性的描述,所以实在惭愧,觉得很有必要给出一些实际的数据,那么今天就让我们来看一看实测结果吧。首先回顾一下上次我们所讲的内容,请大家看上面的图,好了,回顾完毕,这么快?没错,因为上一次就是仅仅连接了一根下载线而已,伤不起啊!好吧,开始进入今天的主题。今天测试的主要内容主要是数字电位器在程序控制下阻值步进,从而通过测量电阻与电压的变化观察其线性度,首先申明,测试结果并不是严格有效的,如果出现有负面影响的结果,完全有可能是鄙人使用的仪器不够精确,也有可能是MICROCHIP的官方微博没有将鄙人列入粉丝范畴,故作小小报复而,哈哈。

 

    为了大家理解方便,现将此开发板的原理图与版图列在下面供大家观赏,可以看到A端与B端是电位器的固定端,W端是电位器的滑片端;VDD给整个系统供电,包括通过串接一个2.5K的电阻给数字电位器的电阻端提供参考电压。我们将会给系统供电,点击INCR/DECR按键,改变开发板上数字电位器W端与固定端的阻值。由于MCP401X2X开发板上数字电位器MCP4021为6bits,点击INCR/DECR键64次即可用万用表测试出MCP401X2X开发板的步进电压以及电阻鸟。

 

image

 

 

image

  首先咱们给开发板提供5V电压(5V=VR2+VAB+VR3),测量随着点击按键得到的VAW的值 。

image

  加在AB间的电压值 是一定的,随着按键的变化只改变VAW与VBW的电压值。

 

image

 

  接通电源,点击步进按键,测得VAW的值,测的数据见附表,其变化如下图:

image

 

 

 

  由上图线性变化以及测的数据可知,步进电压


  而理论步进电压值 image


  由所测得的VAW 与 VR2可以发现该数据与MCP401X2X开发板手册(P20)中所提供的数据相接近,但是有所不同,这是因为开发板手册中所取RAB=10K欧姆 。
image

 

  接下来我们再测测电阻的步进,此时需要将开发板上与VDD相接的电阻R2拆除,为什么捏?因为不要带电测电阻对不对?带电测电阻不是测不准这么简单,轻一点烧板子,重一点什么都烧的稀巴烂对不对?这个问题很多时候会被忽略,不过千万要注意啦……。拆除R2之后,电压便不会加在RAB上了,仅仅给单片机和数字电位器的模拟开关供电,我们就能放心大胆的测RAW了,测得的数据见附表。

image

由下图线性变化以及测的数据可知,步进电阻


而理论步进电阻为 image


其变化趋势如下图所示,从直观上来看,已经是非常不错啦。 image

image

  我们发现一个有趣的问题, 在测量电阻时,每次断掉系统电源之后,重新接上电源,不动按键,电阻与之前测得的阻值不同。但总会分布在两个特定阻值左右。  这个比较奇怪,尚未发现原因,有兴趣的朋友可以给出解答或者自己动手试试并参与讨论。

 

测量使用的万用表为华仪MASTECH MY62数字万用表。

根据公式

image

 

    其中d取值为0~63.
    由之前测量知道

image

经计算d=0时,

image


与测量值VAW=0.6mV有偏差, (此处误差可能为测量误差,我是不相信这表能测出0.6mV来的)

 

image

 

继续计算理论值与实际值之间的误差,其实该款数字电位器的效果真不错!

imageimage

image

 

    ……

 

                                                                     附表

image

image

  测评结果为:此款数字电位器真不错,演示版也非常有趣,让我们看到了世界上最小单片机与外设的完美结合。

 

 

  最后要感谢新浪微博名为 “你我倒霉孩子”女生的帮助,她工作灵巧并且非常细致,就像这块演示版的性能一样!该实验的所有数据即出自她手,她目前的兴趣方向为高精度模拟混合信号版级电路设计,有兴趣的童鞋可以与她联系哦。

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube