A standard technique for generating analog voltages using µCs is to use a PWM output and filter the signal with a simple RC filter (Figure 1). The voltage of the PWM signal is directly proportional to the µC's supply voltage, so it is not necessarily clean or stable. To overcome this problem, you can use the circuit in Figure 2. Here, a 74HC14 Schmitt-trigger array serves as an output stage for three PWM signals from an SX18 µC. (The idea applies to other µCs, too.) The 74HC14 derives its supply voltage, VCCA, from the stabilization circuit comprising the inexpensive shunt regulator, SR1. You can adjust VCCA by trimming R1. The test circuit used VCCA=4.096V. The PWM signals now have a stable amplitude that varies less than 0.1% when the µC's supply varies from 4.5 to 5.5V. Resistors R3 to R5 limit the current flowing from the µC through the 74HC14's input-protection diodes when VCCA is too low. The values of R and C depend on the application. The test circuit uses 10 kW and 4.7 µF. If you feed multiple analog (or PWM) signals through a single IC, you usually encounter crosstalk. To characterize the circuit in Figure 1 for internal crosstalk and unmatched delays, conduct the following tests.

Generated three PWM signals with different frequencies and 1-to-1 duty cycles. With a 0-dB reference-level square-wave signal at test point TP1, crosstalk to test points TP2and TP3 measures –70 dB. The first harmonic of the PWM signal (theoretically zero for a 1-to-1 duty cycle) is down 65 dB at test point TP1. At test point TP0, spurs are down 75 dB. So, the circuit in Figure 1 has very good crosstalk characteristics. Also, if the duty cycle of one PWM channel changes, the influence on the voltage that other channels generates is less than 0.1%. You must take care to ensure that the switching delays of the 74HC14 do not change with varying VCC applied to the µC. If the switching delays change with VCC because of the changing levels of the driving signals, VCC influences the generated output voltage, even if VCCA is constant. You can use the circuit for precise generation of voltages, thanks to the temperature stability of the TL431. You can also use it for inexpensive implementations of sigma-delta converters, or to generate voltage-stabilized rectangular waveforms. (DI #2573)

最新文章

  1. PDO创建mysql数据库并指定utf8编码
  2. Android 获取全部应用
  3. Linux 执行ThinkPHP 文件的计划任务
  4. 图像和滚动 、 编程规范和Xcode(一)
  5. MVC+Ef项目(4) 抽象业务逻辑层BLL层
  6. 如何使用 Apache ab 以及 OneAPM 进行压力测试?
  7. 获取apk信息工具(android SDK的aapt工具)
  8. cf486A Calculating Function
  9. JSP简单练习-获取表单数据
  10. Objective-C基础教程学习笔记(附录)从Java转向Objective-C
  11. Flask开发微电影网站(二)
  12. IIS集中化管理与编程REST API
  13. View体系第二篇:View滑动
  14. DataTable插件 后台分页 (服务器端分页)
  15. 20165304《Java程序设计》第五周学习总结
  16. pycharm使用docker镜像的python解释器,pycahrm可视化操作和管理dcoker
  17. ASP.NET 动态创建文本框 TextBox (add TextBox to page dynamically)
  18. Java数字签名算法--RSA
  19. SignalR (一)
  20. HIBERNATE知识复习记录4-HQL和QBC

热门文章

  1. PHP 利用nginx的X-sendfile控制下载,提高下载效率
  2. 在Ubuntu上安装Redis MySQL MongoDB memcached Nginx
  3. php琐碎
  4. 控制终端tcgetattr函数与tcsetattr函数
  5. nio笔记
  6. (My)SQL
  7. 常用对称加密算法(DES/AES)类(PHP)
  8. iOS开发:用DES对字符串加解密
  9. Zookeeper(二)Zookeeper原理与API应用
  10. centOS7.0配置防火墙