lm75A溫度數字轉換器 FPGA讀寫實驗Verilog邏輯源碼Quartus工程文件+文檔資料,FPGA為CYCLONE4系列中的EP4CE6E22C8. 完整的工程文件,可以做為你的學習設計參考。LM75A 是一個使用了內置帶隙溫度傳感器和模數轉換技術的溫度數字轉換器。它也是一個溫度檢測器,可提供一個過熱檢測輸出。LM75A 包含許多數據寄存器:配置寄存器用來存儲器件的某些配置,如器件的工作模式、OS 工作模式、OS 極性和OS 故障隊列等(在功能描述一節中有詳細描述);溫度寄存器(Temp),用來存儲讀取的數字溫度;設定點寄存器(Tos & Thyst),用來存儲可編程的過熱關斷和滯后限制,器件通過2 線的串行I2C 總線接口與控制器通信。LM75A 還包含一個開漏輸出(OS),當溫度超過編程限制的值時該輸出有效。LM75A 有3 個可選的邏輯地址管腳,使得同一總線上可同時連接8個器件而不發生地址沖突。LM75A 可配置成不同的工作條件。它可設置成在正常工作模式下周期性地對環境溫度進行監控或進入關斷模式來將器件功耗降至最低。OS 輸出有2 種可選的工作模式:OS 比較器模式和OS 中斷模式。OS 輸出可選擇高電平或低電平有效。故障隊列和設定點限制可編程,為了激活OS 輸出,故障隊列定義了許多連續的故障。溫度寄存器通常存放著一個11 位的二進制數的補碼,用來實現0.125℃的精度。這個高精度在需要精確地測量溫度偏移或超出限制范圍的應用中非常有用。正常工作模式下,當器件上電時,OS 工作在比較器模式,溫度閾值為80℃,滯后75℃,這時,LM75A就可用作一個具有以上預定義溫度設定點的獨立的溫度控制器。module LM75_SEG_LED ( //input input sys_clk ,input sys_rst_n ,inout sda_port ,//output output wire seg_c1 ,output wire seg_c2 ,output wire seg_c3 ,output wire seg_c4 ,output reg seg_a ,output reg seg_b ,output reg seg_c ,output reg seg_e ,output reg seg_d ,output reg seg_f ,output reg seg_g ,output reg seg_h , output reg clk_sclk );//parameter define parameter WIDTH = 8;parameter SIZE = 8;//reg define reg [WIDTH-1:0] counter ;reg [9:0] counter_div ;reg clk_50k ;reg clk_200k ;reg sda ;reg enable ;
標簽:
lm75a
數字轉換器
fpga
verilog
上傳時間:
2021-10-27
上傳用戶:
基于TMS320F2812 光伏并網發電模擬裝置PROTEL設計原理圖+PCB+軟件源碼+WORD論文文檔,硬件采用2層板設計,PROTEL99SE 設計的工程文件,包括完整的原理圖和PCB文件,可以做為你的學習設計參考。 摘要:本文實現了一個基于TMS320F2812 DSP芯片的光伏并網發電模擬裝置,采用直流穩壓源和滑動變阻器來模擬光伏電池。通過TMS320F2812 DSP芯片ADC模塊實時采樣模擬電網電壓的正弦參考信號、光伏電池輸出電壓、負載電壓電流反饋信號等。經過數據處理后,用PWM模塊產生實時的SPWM 波,控制MOSFET逆變全橋輸出正弦波。本文用PI控制算法實現了輸出信號對給定模擬電網電壓的正弦參考信號的頻率和相位跟蹤,用恒定電壓法實現了光伏電池最大功率點跟蹤(MPPT),從而達到模擬并網的效果。另外本裝置還實現了光伏電池輸出欠壓、負載過流保護功能以及光伏電池輸出欠壓、過流保護自恢復功能、聲光報警功能、孤島效應的檢測、保護與自恢復功能。系統測試結果表明本設計完全滿定設計要求。關鍵詞:光伏并網,MPPT,DSP Photovoltaic Grid-connected generation simulator Zhangyuxin,Tantiancheng,Xiewuyang(College of Electrical Engineering, Chongqing University)Abstract: This paper presents a photovoltaic grid-connected generation simulator which is based on TMS320F2812 DSP, with a DC voltage source and a variable resistor to simulate the characteristic of photovoltaic cells. We use the internal AD converter to real-time sampling the referenced grid voltage signal, outputting voltage of photovoltaic, feedback outputting voltage and current signal. The PWM module generates SVPWM according to the calculation of the real-time sampling data, to control the full MOSFET inverter bridge output sine wave. We realized that the output voltage of the simulator can track the frequency and phase of the referenced grid voltage with PI regulation, and the maximum photovoltaic power tracking with constant voltage regulation, thereby achieved the purpose of grid-connected simulation. Additionally, this device has the over-voltage and over-current protection, audible and visual alarm, islanding detecting and protection, and it can recover automatically. The testing shows that our design is feasible.Keywords: Photovoltaic Grid-connected,MPPT,DSP 目錄引言 11. 方案論證 11.1. 總體介紹 11.2. 光伏電池模擬裝置 11.3. DC-AC逆變橋 11.4. MOSFET驅動電路方案 21.5. 逆變電路的變頻控制方案 22. 理論分析與計算 22.1. SPWM產生 22.1.1. 規則采樣法 22.1.2. SPWM 脈沖的計算公式 32.1.3. SPWM 脈沖計算公式中的參數計算 32.1.4. TMS320F2812 DSP控制器的事件管理單元 42.1.5. 軟件設計方法 62.2. MPPT的控制方法與參數計算 72.3. 同頻、同相的控制方法和參數計算 8
標簽:
tms320f2812
光伏
并網發電
模擬
protel
pcb
上傳時間:
2021-11-02
上傳用戶: