基于單片機(jī)的空調(diào)紅外線編解碼系統(tǒng)的設(shè)計和實現(xiàn)
發(fā)布時間:2018-06-09 01:11
本文選題:紅外線編碼 + 紅外線解碼 ; 參考:《電子科技大學(xué)》2014年碩士論文
【摘要】:目前,無論中央空調(diào)還是家用空調(diào)都是采用紅外線控制的方式?照{(diào)機(jī)處于紅外接收端,空調(diào)遙控器處于紅外發(fā)送端。與電視機(jī)、DVD、機(jī)頂盒等常用家用電器的紅外通訊不同,空調(diào)紅外通訊系統(tǒng)所需傳送的信息內(nèi)容種類和信息數(shù)據(jù)總量遠(yuǎn)遠(yuǎn)大于其他家電。這就使得空調(diào)紅外編解碼的幀格式、通訊協(xié)議和編解碼算法更加復(fù)雜,要求通訊系統(tǒng)具備更高的抗干擾能力?照{(diào)紅外編解碼系統(tǒng)傳送的信息內(nèi)容,包括例如:溫度、風(fēng)速、模式、開關(guān)機(jī)及其他特殊功能等。電視等家電一般都是傳送一組固定鍵碼值。因此,具有高效編解碼能力的空調(diào)紅外線編解碼系統(tǒng)已成為行業(yè)研究的焦點(diǎn)。本課題以紅外線編解碼技術(shù)為基礎(chǔ),針對空調(diào)數(shù)據(jù)信息繁多的特點(diǎn),研究一種基于空調(diào)系統(tǒng)的紅外線編解碼系統(tǒng)。該系統(tǒng)集成紅外編碼和紅外解碼功能,針對空調(diào)紅外通訊數(shù)據(jù)的復(fù)雜性,創(chuàng)新的提出了一種適用于空調(diào)的紅外數(shù)字通訊的校驗算法,并完成專用的數(shù)據(jù)幀格式、編解碼算法以及通訊協(xié)議的設(shè)計,達(dá)到可靠傳輸數(shù)據(jù)的目的。通過測試,該系統(tǒng)具備很好的抗干擾特性。該系統(tǒng)充分考慮并分析了紅外線經(jīng)過光電轉(zhuǎn)換器后生產(chǎn)的數(shù)字信號的的特征,系統(tǒng)所采用的編解碼方法簡單、可靠、高效,易于操作。課題擬采用PIC24單片機(jī)作為系統(tǒng)的主控MCU,軟件系統(tǒng)采用C語言編程。在該課題的研究工作中,本人通過對MICROCHP的PIC24單片機(jī)的運(yùn)用,以及對單片機(jī)應(yīng)用技術(shù)、C語言、空調(diào)紅外線編解碼技術(shù)的學(xué)習(xí)和研究工作,要完成的設(shè)計工作主要包括:軟件系統(tǒng)設(shè)計、軟件流程圖設(shè)計、核心功能函數(shù)功能定義、軟件代碼編寫、紅外線編碼、紅外線解碼、編解碼功能仿真、調(diào)試、驗證及程序燒錄等工作。最后,完成系統(tǒng)所需的各項測試工作。主要包括:軟件測試、電路測試、編解碼測試幾方面。通過相關(guān)測試,完整實現(xiàn)了整個編解碼系統(tǒng)。
[Abstract]:At present, both central air-conditioning and household air-conditioning are controlled by infrared. The air conditioner is at the infrared receiving end, and the air conditioning remote control is at the infrared transmitter. Different from the infrared communication of common household appliances such as DVD and set-top box, infrared communication system of air conditioner needs to transmit more information content and data than other household appliances. This makes the frame format, communication protocol and coding and decoding algorithm of infrared coding and decoding of air conditioning more complex, and requires the communication system to have higher anti-interference ability. Air conditioning infrared codec system to transmit information content, including: temperature, wind speed, mode, switch and other special functions. TV and other appliances are generally transmitted a set of fixed key code values. Therefore, the infrared coding and decoding system with high efficiency has become the focus of industry research. Based on infrared coding and decoding technology, an infrared coding and decoding system based on air conditioning system is studied in this paper. The system integrates the functions of infrared coding and infrared decoding. In view of the complexity of infrared communication data in air conditioning, a calibration algorithm for infrared digital communication suitable for air conditioning is proposed, and a special data frame format is completed. Codec algorithm and communication protocol design to achieve the purpose of reliable data transmission. Through testing, the system has good anti-interference characteristics. The system fully considers and analyzes the characteristics of the digital signal produced by the infrared ray through the photoelectric converter. The coding and decoding method used in the system is simple, reliable, efficient and easy to operate. PIC24 single chip microcomputer is used as the main control of MCU, and the software system is programmed by C language. In the research work of this subject, through the application of PIC24 single chip microcomputer of MICROCHP, and the study and research work of the application technology of single chip microcomputer in C language, the infrared coding and decoding technology of air conditioning, The design work to be completed mainly includes: software system design, software flow chart design, core function definition, software code writing, infrared coding, infrared decoding, codec function simulation, debugging, Verification and program burning. Finally, the system needs to complete the testing work. Mainly include: software testing, circuit testing, codec testing several aspects. Through the relevant tests, the whole coding and decoding system is implemented.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TB657.2;TN219
【參考文獻(xiàn)】
相關(guān)期刊論文 前2條
1 羅兆虹,詹學(xué)文,戴學(xué)安;紅外通訊技術(shù)在電能表數(shù)據(jù)交換中的應(yīng)用[J];電測與儀表;2002年12期
2 曾慶立;遠(yuǎn)距離紅外通訊接口的硬件設(shè)計與使用[J];吉首大學(xué)學(xué)報(自然科學(xué)版);2001年04期
,本文編號:1998107
本文鏈接:http://sikaile.net/guanlilunwen/gongchengguanli/1998107.html
最近更新
教材專著