【正文】
s ID, and receiver39。 CAN/485。時間段編程的一些要求必須滿足,以避免通訊故障。因此,一套氣體報警或聯(lián)動模塊的數(shù)據(jù)可以傳輸一幀數(shù)據(jù)。系統(tǒng)工作穩(wěn)定,快速地盡快采取適當(dāng)?shù)腻e誤處理方法。2)低靜態(tài)功率: nA的關(guān)斷模式。報警電路是圖4。該終端還提供了圖形記憶存儲固定的圖片和BMP圖像存儲開機畫面。它包括三個發(fā)送緩沖器和兩個接收緩沖器,減少所需的微控制器管理的金額。FM24C256由Ramtron公司制造,有產(chǎn)品的特點。電源電路主要實現(xiàn)兩個功能:基于LM2575開關(guān)電壓調(diào)節(jié)器轉(zhuǎn)換成24V至5V電源監(jiān)控。其結(jié)構(gòu)表明為圖2。然后探測器分析和處理數(shù)據(jù),將相應(yīng)的數(shù)據(jù)格式轉(zhuǎn)換。主控制電路的主要功能是瓦斯?jié)舛确治?、顯示信息和聲光報警聯(lián)動和控制相關(guān)模塊。只有采用CAN總線模式、理論價值的在線檢測節(jié)點也只是大約有100。KeywordsCAN。主要介紹mcp2515的特點。雖然有許多可燃氣體報警系統(tǒng)在市場上,他們中的大多數(shù)都有非常高的錯誤信息和低性能。二、系統(tǒng)的原理和功能系統(tǒng)原理 該系統(tǒng)的整個結(jié)構(gòu)描述如圖1。設(shè)計CAN/485轉(zhuǎn)換器的最大數(shù)量為32,根據(jù)每個CAN/485轉(zhuǎn)換器,它可以有33個氣體探測器或聯(lián)動模塊。從氣體探測器,聯(lián)動模塊接收數(shù)據(jù),并與基于CAN總線的主控制器通信。主控制器擴展了32KB的E2PROM記錄歷史、系統(tǒng)參數(shù)和32KB SDRAM記錄實時濃度信息。它包含128KB閃存,TWI,SPI和JTAG接口(用于仿真調(diào)試和下載程序)。MCP2515的是一個完整的控制器區(qū)域網(wǎng)絡(luò)(CAN)。通過USART1的智能終端連接到彩色液晶顯示終端連接到MCU的。打印機和所有指示燈和幾個控制信號的輸出信號通過并行總線相結(jié)合74AHC573延長。 RS485總線部分顯示圖如圖5。在這個過程中,系統(tǒng)檢測到電源狀態(tài),關(guān)鍵價值和讀取參數(shù)。注冊TXBnSIDH被用作節(jié)點的ID,和接收器的節(jié)點設(shè)置相應(yīng)的屏蔽和驗收位。圖7 程序CAN/485轉(zhuǎn)換器的程序流程圖 設(shè)計需要注意的幾個問題 必須足夠短的CAN通信中斷和UART接收中斷程序?,F(xiàn)在產(chǎn)品已進入批量生產(chǎn)。s resolution is 1024*1024. The enable signal of printer, fault indicating lights, alarm lights are decoded by GAL16V8. GAL is a new electrically erasable and programmable PLD device. By using GAL, the control bees easier and security of program bees better. The output signal of printer and all indicator lights and several control signals are extended by parallel bus bining 74AHC573. The input signal is realized by parallel bus bining 74AHC245. LM246 is used to give three alarm signals. The alarming circuit is as Fig4. ATmega16 MCU is chosen as the converter39。t receive mands from the main controller. is program flow chart of CAN/485 converter.V. SEVERAL POINTS FOR ATTENTION IN THE DESIGN The program of CAN munication interruption and UART receiving interruption must be short enough. Otherwise, the munication efficiency will be influenced. There must be proper delay between each frame of data if some CAN note send message continuously, or else overflow error is easy to happen. Some requirements for programming of the time segments must be satisfied in order to avoid munication failure.1) Prop Seg + Phase Seg 1 = Phase Seg 22) Prop Seg + Phase Seg 1 = TDELAY3) Phase Seg 2 Sync Jump Width In order to close speaker, not only the VCC pin, but also the OSC1 and OSC2 pins must be changed to low level, otherwise some LM246 couldn’t work normally. To avoid disturbance of touch screen, the key values must be taken 3 groups at least.VI. CONCLUSION The bustible gas alarm system has high stability, nodes capabilities and its interface is friendly. PC can be added to the system via CAN adapter to realize displaying, setting and other functions. Now the product is going into mass production.。 HMI. At present, petrochemical enterprises, department stores,residential buildings etc, are all required to detect concentration of bustible gas. Relevant national standards bee stricter. Although there are many bustible gas alarm systems in the market, most of them have high misinformation and low performance. The technology of isolated bustible gas ala