面向车灯测试的PWM波形发生模块设计+PCB电路图
时间:2019-11-24 16:53 来源:毕业论文 作者:毕业论文 点击:次
摘要近年来,由于汽车的数量逐渐增加,车灯的需求也越来越多,而车灯是汽车中最重要的安全装置之一, 对车灯的测试就变得尤为重要。 PWM 是某个频率某个占空比的方波,其在测量、通信、功率控制与变换、电动及控制、伺服控制等领域都有所应用,所以研究 PWM技术具有重要意义,本文所介绍的就是运用 PWM 波形对车灯进行测试,测试其亮度以及持久性。本设计主要分为三个模块:对STM32 单片机进行编程使其产生6 通道频率占空比可调的 PWM 波形;用 IR2100芯片对单片机产的 PWM 波形进行驱动放大来驱动车灯;用MOSFET 管作为开关器件实现对车灯的控制。本文实现了 PWM 发生的硬件电路的设计和软件程序并完成了仿真, 实现了 6通道占空比频率可调的 PWM 对车灯的控制。42010 毕业论文关键词 STM32 PWM IR2100 MOSFET Title Lamp test oriented PWM waveform module design andimplementation Abstract In recent years, due to the number of cars increases.The car lights are one ofthe most important safety devices in the car.the lamp needs more and more, thelamp test becomes particularly important.PWM is a frequency duty ratio of FangBo, its application field including measurement, communication, power control andtransform, electric and control, servo control, so the study of PWM technologyis of great significance. This paper describes the use of PWM waveform on the lightsto test, test its brightness and durability. This design is mainly pided intothree modules: The STM32 microcontroller programming to generate 6 channelfrequency PWM waveform emptiescompared adjustable;Using IR2100 chip to drive thePWM waveform produced by the singlechip to drive the car;Using MOSFET tube as theswitch device to realize the control of the lamp.In this paper, the design ofhardware circuit and software program of PWM have been realized, and the simulationhas been completed, and the control of the PWM of the 6 channel duty cycle canbe adjusted. Keywords STM32 PWM IR2100 MOSFET 目次 1引言1 1.1本课题目的及意义..1 1.2本课题国内外发展情况..2 1.3本课题研究的主要内容..3 2总体方案设计...4 2.1总体的设计框图...4 2.2总体的组成...4 2.3小结5 3PWM车灯测试的硬件设计...6 3.1硬件部分的组成及结构..6 3.2STM32嵌入式系统电路设计...6 3.3功率放大电路设计10 3.4电源电路设计.15 3.5串口通信电路设计15 3.6JTAG仿真电路设计...16 3.7硬件的PCB图.17 3.8小结.19 4软件设计.20 4.1开发环境.20 4.2STM32定时器..20 4.3PWM的简介..24 4.4软件实现.26 4.5软件的仿真.36 4.6小结38 结论39 致谢40
参考文献41 |