摘要
在一台自动变速档汽车中,变速箱是其最重要的部件之一,它的好坏关乎到整台汽车的性能,而变速箱的关键恰恰是电磁阀。然而电磁阀的性能通常不易观察得到,需要详细测试得之。传统测试方法不能高效快捷地得到结果,常常费时费力。为了更方便快捷、科学、准确地测试电磁阀,设计一个基于STC12C5A60S2单片机的由压力传感器、流量传感器组成的测试仪,具有极其重要的研究价值。单片机控制电平,通过T0、T1定时器和内部晶振控制时间,通过A/D实现模数转换,数据输出到PC上进行分析。充分利用STC12C5A60S2的软、硬件资源,使电磁阀的测试方案合理、价格廉价。而STC12C5A60S2单片机特有PWM输出、A/D转换的功能,更符合本系统设计需要,科学准确地测试出电磁阀的压力、流量等数据。
In an automatic transmission car,the gearbox is one of the most important components. The good or bad quality has an effect on the whole performance of vehicles,and the key of the gearbox is the solenoid valve. However,the performance of the solenoid valve is not easy to get,and it need detailed test. Traditional test methods can't work effectively and fast,and often waste too much time. Therefore,in order to test solenoid valve more conveniently and accurately,it has very high research value to study and design a tester based on STC12C5A60S2 microcontroller based tester,consisting of pressure sensor and flow sensor. It is nothing but single chip microcomputer controls level,controls time through the T0 T1 timer and internal crystal vibration,uses the A / D converter to gain analog-digital conversion,and then outputs data to PC for analyzing. Using fully its software and hardware resources it makes the test planning of solenoid valve reasonable and cheap price.What's more,STC12C5A60S2 MCU's PWM outputting and A / D conversion are unique function,which will be more suitable for the system design and test pressure and flow of the solenoid valve and other data scientifically and accurately.
出处
《微型机与应用》
2016年第4期34-36,共3页
Microcomputer & Its Applications