»ùÓÚCAN×ÜÏߵĿͳµ¿Õµ÷ϵͳÉè¼Æ_µçÆø¹¤³ÌÂÛÎÄ
·¢²¼Ê±¼ä£º
2014-12-01
À´Ô´£º
ÈË´ó¾¼ÃÂÛ̳
µçÆø¹¤³ÌÂÛÎÄ
Ŀ ¼
Õª ÒªII
AbstractIII
ǰ ÑÔ1
1 Ð÷ÂÛ2
1.1 ÏÖ´ú¿Í³µ¿Õµ÷¼¼ÊõµÄ·¢Õ¹¸Å¿ö2
1.1.1 ʲôÊǿͳµ¿Õµ÷ϵͳ2
1.1.2 ¿Í³µ¿Õµ÷¼¼ÊõµÄ·¢Õ¹2
1.1.3 ¿Í³µ¿Õµ÷ϵͳ×é³É3
1.2 CAN×ÜÏßÔÚÆû³µÖеÄÓ¦ÓÃ3
1.2.2 Æû³µ×ÜÏßµÄÖ÷ÒªÌØµã3
1.2.2 Æû³µ×ÜÏßµÄÖ÷ÒªÓŵã4
1.2.3 Æû³µ×ÜÏßϵͳÓ봫ͳÆû³µµçÆ÷¿ØÖÆÏµÍ³±È½Ï4
1.2.4 ¿ØÖÆÆ÷¾ÖÓòÍøCAN5
1.3 ±¾¿ÎÌâµÄÄÚÈÝÓëÈÎÎñ5
2 ×ÜÌå·½°¸Éè¼Æ7
2.1 ϵͳ×ÜÌå½á¹¹7
2.2 ϵͳӲ¼þ½á¹¹8
2.3 ϵͳ×ÜÌåÈí¼þ½á¹¹9
3 ¿ØÖÆÏµÍ³×ÜÊö10
3.1 ¿Õµ÷²Ù×ÝÆ÷10
3.1.1 ²Ù×ÝÆ÷¹¦ÄÜ10
3.1.2 ¼¼Êõ²ÎÊý10
3.1.3 ²Ù×÷°´¼üÓëÏÔʾ˵Ã÷10
3.1.4 ¿Õµ÷²Ù×ÝÆ÷µçÆø½Ó¿Ú¶¨Òå11
3.2 ³µ¶¥¿ØÖÆÆ÷ºÐ12
3.2.1 ¼¼Êõ²ÎÊý12
3.2.2 ½Ó¿Ú¶¨Òå13
3.3 ¿Õµ÷ϵͳµÄ±£»¤14
3.3.1 Õô·¢Æ÷ζȹýµÍ±£»¤14
3.3.2 ÖÆÀäϵͳѹÁ¦±£»¤15
3.3.3 ¿Õµ÷ÏµÍ³ÖÆÀäÖØÐÂÆô¶¯ÑÓʱ±£»¤15
3.3.4 ·¢µç»úµçѹ¹ÊÕÏʱµÄ±£»¤15
3.3.5 ÆäËü¹¦ÄÜ15
3.4 ¿Õµ÷ϵͳµÄ¹©µç15
3.5 ¶¥ÖÿØÖƺеÄÀ©Õ¹Ê¹ÓÃ16
3.5.1 ÅäÖù¤×÷·½Ê½16
3.5.2 À©Õ¹Ê¹ÓÃ×¢Òâ16
3.6 ¹ÊÕÏ´úÂë17
4 Ö÷¿ØÐ¾Æ¬PIC18F258018
4.1 18ϵÁе¥Æ¬»ú¸ÅÊö18
4.1.1 ¸ßÐÔÄÜRISC CPU18
4.1.2 ÍâΧ¹¦ÄÜÄ£¿éÌØÐÔ18
4.1.3 ¸ß¼¶µÄÄ£/Êýת»»ÌØÐÔ19
4.1.4 CAN×ÜÏßÄ£¿éÌØÐÔ19
4.2 PIC18F2580ÖÐʹÓõ½µÄ¹¦ÄÜÄ£¿é20
4.2.1 ÖжÏÄ£¿é20
4.2.2 SPIͨѶģ¿é21
4.2.3 ADCÄ£¿é23
4.2.4 ¶¨Ê±Æ÷Ä£¿é23
4.2.5 CANͨѶģ¿é24
4.2.6 EEPROMÄ£¿é25
4.2.7 ¿´ÃŹ·Ä£¿é27
5 Ó²¼þ¹¦ÄÜÄ£¿é¼°Èí¼þ½éÉÜ28
5.1 Ö÷ÒªÓ²¼þ¹¦ÄÜÄ£¿é¼ò½é28
5.1.1 ¸´Î»µç·28
5.1.2 µçÔ´µç·28
5.1.3 °´¼üµç·30
5.1.4 ÏÔʾµç·30
5.2 Èí¼þÅäÖÃÉè¼Æ31
5.2.1 ÖжÏÅäÖü°³õʼ»¯31
5.2.2 I/O¿ÚÅäÖü°³õʼ»¯32
5.2.3 SPIͨѶÅäÖü°³õʼ»¯32
5.2.4 CANͨѶÅäÖü°³õʼ»¯33
5.3 Èí¼þʵÏÖ34
5.3.1 ²Ù×ÝÆ÷³ÌÐòÁ÷³Ìͼ34
5.3.2 ¶¥ÖÿØÖÆÆ÷³ÌÐòÁ÷³Ìͼ36
6 ×ܽá39
Ö л40
²Î¿¼ÎÄÏ×41
Õª Òª
Ëæ×ÅÖйú¾¼ÃµÄ²»¶ÏÌá¸ß£¬Ë½¼Ò³µµÄÊýÁ¿Ò²ÔÚ¼±¾çµÄÔö¼Ó£¬Ê¹µÃÈç½ñ¸÷¸öµØ·½µÀ·ӵ¼·
×´¿öÈÕÒæ¼Ó¾ç£¬ÒԿͳµÎªÖ÷µÄ¸÷ÖÖ¹«¹²½»Í¨¹¤¾ßÒ²±»ÈËËùÇàíù¡£³ÇÊй«½»ÔÚÎÒ¹ú³ÇÊн»Í¨ÖÐÕ¼¾Ý׿«ÆäÖØÒªµÄ×÷Ó㬶ø¿Í³µ¿Õµ÷ϵͳµÄÓÅÔ½Óë·ñÖ±½ÓÓ°Ïìµ½³Ë¿ÍÔÚ³Ë×øÊ±µÄÊæÊÊÐÔÒÔ¼°³Ë¿ÍµÄÐÄÇé¡£Ëæ×ŹúÄڿͳµÐÐÒµµÄ·¢Õ¹£¬¶Ô¿Õµ÷ϵͳµÄÒªÇóÈÕÒæÌá¸ß¡£Òò´Ë£¬Éè¼ÆÒ»Ì×ÐÔÄÜÓÅÔ½£¬¼Û¸ñʵ»ÝµÄ¿Í³µ¿Õµ÷ϵͳÆÈÔÚü½Þ¡£Õâ´ÎÎÒÉè¼ÆµÄ»ùÓÚCAN×ÜÏߵĿͳµ¿Õµ÷ϵͳ²ÉÓòÙ×ÝÆ÷ºÍ¶¥ÖÿØÖÆÆ÷Á½²¿·Ö×é³É¡£¿Õµ÷ϵͳµÄÁé»ê¼¯ÖÐÔÚ¶¥ÖÿØÖÆÆ÷£¬×°ÖÃÓÚ³µ¶¥£¬¼õÉÙÁ˸÷ÖÖ¿ÉÄÜ´øÀ´µÄ¸ÉÈÅ¡£¶ø²Ù×ÝÆ÷Ö»¸ºÔðÏÔʾÒÔ¼°Ë¾»úµÄһЩ°´¼ü²Ù×÷£¬Ï൱ÓÚÒ»¸öÈË»ú½çÃæ¡£ÎªÒÔºó²úÆ·µÄÉý¼¶´øÀ´¿ÉÄÜ¡£´Ë´ÎÉè¼Æ²ÉÓÃCANͨѶ£¬Ó봫ͳµÄ³µÓÿյ÷Ïà±È½Ï£¬´ó·ù¶È¼õÉÙÁËÔÀ´ÓÃÓÚÁ¬½Ó²Ù×ÝÆ÷ºÍ¼ÌµçÆ÷°åÖ®¼äµÄÁ¬½ÓÏߣ¬½ÚÔ¼Á˵¼ÏßµÄʹÓÃÁ¿£¬½µµÍÁËÏß··¢ÈÈËðºÄÁ¿£¬¼õÉÙÁËÓÉµç¿Øµ¥Ôª´øÀ´µÄ³É±¾µÄÔö¼Ó£¬²¢ÇÒÌá¸ßÁËϵͳµÄ¿É¿¿ÐÔ¡£
¹Ø¼ü´Ê£º CANͨѶ£¬²Ù×ÝÆ÷£¬¶¥ÖÿØÖÆÆ÷£¬¿Í³µ¿Õµ÷
Abstract
As China's economy continues to improve, the number of private cars has also increased dramatically, so now all the local road congestion Growing conditions, to bus-based public transport has also been favored. Urban public transport in city traffic occupies a very important role, while excellent bus air conditioning system will directly affect passengers ride comfort and passenger when the mood. With the development of the domestic passenger car industry, on the air conditioning system becoming more and more. Therefore, the design of a superior performance, affordable passenger car air-conditioning systems is urgent. This time I designed based on CAN bus bus air conditioning systems and overhead manipulator controller composed of two parts. Concentrated in the soul of air-conditioning system overhead controller, installed in the roof to reduce the variety of possible interference. The manipulator is responsible only for display and a number of key drivers of operation, equivalent to a human-machine interface. For future product upgrades may bring. The design uses a CAN communications, with the traditional vehicle air conditioner compared to a substantial reduction of the original manipulator and relays used to connect a cable between the board, saving the use of wires, reducing the amount of line heat loss, reduced by the electronic control unit increases the cost and increase reliability of the system.
Keywords: CAN communications, manipulator, overhead controller, bus air conditioning