学院:广东工贸职业技术学院
专业:电气自动化
班级:
学号:
姓名:林沆
内蒙古科技大学毕业设计说明书(毕业论文)
PIC单片机项目课程设计报告 ------汽车雨刮
09汽车电子技术 0922139
内蒙古科技大学毕业设计说明书(毕业论文)
基于单片机的汽车智能雨刮器设计
摘 要
雨刮器属汽车附件,是汽车安全行驶的重要部件,用于消除挡风玻璃、后窗玻璃及大灯玻璃上的雨雪和灰尘等,以保证玻璃透明清晰。
本文分析了三种雨滴传感器的组成原理,基于光强变化的原理设计了一种新型的汽车红外线雨滴传感器。当下雨时,该雨刮器系统可以通过红外雨滴传感器感知雨量大小,分辨出是大雨还是小雨,使雨刮器自动工作在高速或低速状态,能够取代传统的机械结构的雨刮器。
在汽车智能雨刮系统中由于两个雨刮电机的转速不可能完全一样,就存在两个雨刮摆动不同步的问题。本文在分析了模糊控制理论及雨刮同步摆动规则的基础上,提出了一种基于模糊控制的汽车智能雨刮系统。该系统将转速偏差和转速偏差变化量模糊化为模糊控制器的输入语言变量,根据所制定的一套模糊控制规则来选择控制PWM的输出语言变量,并以此通过脉宽调制技术来驱动直流电机,使两个雨刮同步摆动。
本文基于单片机完成了对雨滴传感器及模糊控制的软、硬件设计,并对控制系统进行了MATLAB仿真,仿真实验结果表明该系统能有效的抑制超调现象,提高系统的响应速度和稳态性能。
关键词:雨滴传感器;模糊控制;单片机;雨刮器
The Design Of Intelligent Windscreen Wiper Of Automobile
Based On Single Integrated Circuit
Abstract
The windscreen wiper is an accessories of the Automobile, it is an important part of Automobile for the steer security. It is used to clear up the rain and snow, dust and cement on
内蒙古科技大学毕业设计说明书(毕业论文)
the windscreens,rear windows and headlight windows,to make sure the windows transparent and clear.
In this thesis,compositive theory of three kinds of rain sensors are analysed,and a new-type of infrared rain sensor of automobile is designed based on the theory of variety of light intersity.When it rains,the windscreen wiper system senses the amount of rainfall by the infrared rain sensor and distinguish the number of precipitation rain fall and thus makes the windscreen wiper automatically work either at a high speed or at a low speed. It can replace traditional windscreen wiper system of mechanical structure.
In intelligent windscreen wiper system of automobile, As the problem of technics,rotate speed of two electro motors are not the same completely,so there are the problems that two wiper blades swing ansynchronous. In the thesis,a intelligent windscreen wiper system of automobile based on fuzzy control is presented,by analyzing fuzzy control theory and synchronous swing rules of windscreen wiper. The speed error and its change were used as fuzzy stable variable.According to a set of fuzzy rules, the output variable was selected to control the PWM switch. In this way, the PWM technique was used to drive the DC motor and control windscreen wiper to swing synchronously.
The software and hardware of rain sensors and fuzzy control was completed based on SCM in this thesis,and process the simulation of MATLAB. The simulation results showed that the system could depress the overshoot and improve the response and steady state performance.
keywords:rain sensor;fuzzy control;SCM;windscreen wiper
内蒙古科技大学毕业设计说明书(毕业论文)
目 录
摘 要 ........................................................................................................................................II Abstract ......................................................................................................................................II 第一章 引 言 ............................................................................................................................ 7
1.1 研究背景 ..................................................................................................................... 7 1.2 研究的意义 ................................................................................................................. 7 1.3 论文的内容 ................................................................................................................. 8 第二章 智能雨刮器的原理及种类 .......................................................................................... 9
2.1 雨滴传感器的分类 ..................................................................................................... 9
2.1.1 压电振子原理的雨滴传感器 .......................................................................... 9 2.1.2 静电电容原理的雨滴传感器 .......................................................................... 9 2.1.3 光量变化的雨滴传感器 ................................................................................ 10 2.2 红外雨滴传感器的原理 ........................................................................................... 10 第三章 智能雨刮器的硬件组成及其芯片介绍 .................................................................... 12
3.1 发射模块 ................................................................................................................... 12
3.1.1 发射管 ............................................................................................................ 12 3.1.2 由555定时器构成的多谐振荡器 ................................................................ 12 3.2 接收模块 ................................................................................................................... 14
3.2.1 红外接收管 .................................................................................................... 14 3.2.2 带通滤波器 .................................................................................................... 15 3.2.3 分频器CD4024.............................................................. 错误!未定义书签。 3.2.4 80C51芯片资料 ............................................................. 错误!未定义书签。
内蒙古科技大学毕业设计说明书(毕业论文)
3.3 四总线缓冲门74ls125 ............................................................. 错误!未定义书签。 第四章 智能雨刮器硬件设计 ................................................................................................ 20
4.1 智能雨刮器的结构框图 ........................................................................................... 20 4.2 雨滴传感器的硬件设计 ........................................................................................... 20 4.3 电机控制的硬件设计 ............................................................... 错误!未定义书签。 第五章 智能雨刮器的软件设计 ............................................................ 错误!未定义书签。
5.1 雨滴传感器的流程图设计 ....................................................... 错误!未定义书签。 5.2 智能雨刮器双电机控制的流程图设计 ................................... 错误!未定义书签。 5.3 汽车智能雨刮器的主程序流程图设计 ................................... 错误!未定义书签。 第六章 基于模糊控制的智能雨刮控制系统 ........................................ 错误!未定义书签。
6.1 模糊控制简介 ........................................................................... 错误!未定义书签。 6.2 模糊控制的数学基础 ............................................................... 错误!未定义书签。
6.2.1 模糊集合 ........................................................................ 错误!未定义书签。 6.2.2 隶属度函数及其确定 .................................................... 错误!未定义书签。 6.3 模糊控制器的设计 ................................................................... 错误!未定义书签。
6.3.1 模糊控制器的结构设计 ................................................ 错误!未定义书签。 6.3.2 精确量的模糊化 ............................................................ 错误!未定义书签。 6.3.3建立模糊控制器的控制规则 ......................................... 错误!未定义书签。 6.3.4模糊判决 ......................................................................... 错误!未定义书签。 6.3.5论域、量化因子及比例因子的选择 ............................. 错误!未定义书签。 6.3.5.1论域及基本论域 .......................................................... 错误!未定义书签。 6.3.5.2量化因子 ...................................................................... 错误!未定义书签。 6.3.5.3比例因子 ...................................................................... 错误!未定义书签。