以C8051F020為核心處理器,設計無線傳感器網絡數據采集系統。系統采用SZ05-ADV型無線通訊模塊組建Zigbee無線網絡,結合嵌入式系統的軟硬件技術,完成終端節點的8路傳感器信號的數據采集。現場8路信號通過前端處理后,分別送入C8051F020的12位A/D轉換器進行轉換。經過精確處理、存儲后的現場數據,通過Zigbee無線網絡傳送到上位機,系統可達到汽車試驗中無線測試的目的。
Abstract:
This paper designs a wireless sensor network system for data acquisition with C8051F020 as core processors.The system used SZ05-ADV wireless communication module,set up a Zigbee wireless network, combined with hardware and software technologies of embedded systems,completed the end-node 8-locale sensor signal data acquisition.Eight locale signals were sent separately into the 12-bit ADC of C8051F020 for conversion through front treatment.After accurate processing and storage,the locale data was transmitted to the host computer through Zigbee wireless.The system achieves the purpose of wireless testing in vehicle trial.
為提高溫度測量效率,降低系統的成本,擴展傳輸距離,設計出一種新型溫度采集系統。單片機通過控制具有單總線方式的溫度傳感器DS18B20實現對溫度的測量,同時單片機通過控制具有單總線方式300~450MHz頻率范圍內的MAX7044與MAX7033無線發射與接收芯片實現溫度數據的無線傳輸。與傳統溫度采集系統相比,該系統利用單總線方式連接,采用無線傳輸方式實現遠距離通信,易于系統的集成與擴展。實驗結果表明,該系統結構簡單、方便移植,能夠同時實現多達上百點溫度的測量與500m范圍的傳輸。
Abstract:
To improve the temperature measurement efficiency and reduce system cost,expansion of transmission distance,a new type of temperature acquisition system is designed.Microcontroller controlled temperature sensor DS18B20which has a single-bus achieves temperature measurement,while microcontroller by controlled the MAX7044and MAX7033chip with a single-bus and having300~450MHz radiofrequency to achieve the wireless transmission of temperature data.Compared with conventional temperature acquisition system,the system uses single-bus connected,and uses wireless transmission means to achieve long-distance communications,easy-to-system integration and expansion.The experimental results show that the system is simple,convenient transplantation,and can be implemented in as many as a hundred-point temperature measure-ment and the transmission range of500meters.
基于幅移鍵控技術ASK(Amplitude-Shift Keying),以C8051F340單片機作為監測終端控制器,C8051F330D單片機作為探測節點控制器,采用半雙工的通信方式,通過監控終端和探測節點的無線收發電路,實現數據的雙向無線傳輸。收發電路采用直徑為0.8 mm的漆包線自行繞制成圓形空心線圈天線,天線直徑為(3.4±0.3)cm。試驗表明,探測節點與監測終端的通信距離為24 cm,通過橋接方式,節點收發功率為102 mW時,節點間的通信距離可達20 cm。與傳統無線收發模塊相比,該無線收發電路在受體積、功耗、成本限制的場合有廣闊的應用前景。
Abstract:
Based on ASK technology and with the C8051F340 and C8051F330D MCU as the controller, using half-duplex communication mode, this paper achieves bi-directional data transfer. Transceiver circuit constituted by enameled wire which diameter is 0.8mm and wound into a diameter (3.4±0.3) cm circular hollow coil antenna. Tests show that the communication distance between detection and monitoring of the terminal is 24cm,the distance is up to 20cm between two nodes when using the manner of bridging and the node transceiver power is 102mW. Compared with the conventional wireless transceiver modules, the circuit has wide application prospect in small size, low cost and low power consumption and other characteristics.
為解決輸油管道溫度壓力參數實時監測的問題,設計了以C8051F930單片機作為控制核心的超低功耗輸油管道溫度壓力遠程監測系統。現場儀表使用高精度電橋采集數據,通過433 MHz短距離無線通信網絡與遠程終端RTU進行通信,RTU通過GPRS網絡與PC上位機進行遠程數據傳輸,在上位機中實現數據存儲和圖形化界面顯示,從而實現輸油管道溫度壓力參數的實時監測和異常報警。經實驗證明,該系統的12位數據采集精度滿足設計要求,漏碼率小于1%,正常工作時間超過5個月,能實時有效地監測輸油管道的溫度壓力參數,節省大量人工成本,有效預防管道參數異常造成的經濟損失和環境污染。
Abstract:
In order to solve the problems on real-time monitoring of pipeline temperature and pressure parameters, the ultra-low power remote pipeline temperature and pressure monitoring system was designed by using the single chip processor C8051F930 as the control core. The high-precision electric bridge was used in field instruments for data collection, the 433MHz short-range wireless communication network was used to make communication between field instrument and RTU, the GPRS was used by the RTU to transmit data to the PC host computer, and the data was stored and displayed in the PC host computer, so the real-time monitoring and exception alerts of pipeline temperature and pressure parameters were achieved. The experiment proves that the system of which error rate is less than 1% over five months working with the 12-bit data acquisition accuracy can effectively monitor the pipeline temperature and pressure parameters in real time, it saves a lot of labor costs and effectively prevents environmental pollution and economic losses caused by abnormal channel parameters.
介紹了用單片機C 語言實現無功補償中電容組循環投切的基本原理和算法,并舉例說明。關鍵詞:循環投切;C51;無功補償中圖分類號: TM76 文獻標識碼: BAbstract: This paper introduces the aplication of C51 in the controlling of capacitorsuits cycle powered to be on and off in reactive compensation.it illustrate thefondamental principle and algorithm with example.Key words: cycle powered to be on and off; C51; reactive compensation
為提高功率因數,往往采用補償電容的方法來實現。而電容器的容量是由實時功率因數與標準值進行比較來決定的,實時功率因數小于標準值時,需投入電容組,實時功率因數大于標準值時,則需切除電容組。投切方式的不合理,會對電容器造成損壞,現有的控制器多采用“順序投切”方式,在這種投切方式下排序在前的電容器組,先投后切;而后面的卻后投先切。這不僅使處于前面的電容組經常處于運行狀態,積累熱量不易散失,影響其使用壽命,而且使后面的投切開關經常動作,同樣減少壽命。合理的投切方式應為“循環投切”。這種投切方式使先投入的運行的電容組先退出,后投的后切除,從而使各組電容及投切開關使用機率均等,降低了電容組的平均運行溫度,減少了投切開關的動作次數,延長了其使用壽命。