polar angle average for beamforming
標簽: beamforming average polar angle
上傳時間: 2013-11-29
上傳用戶:maizezhen
A function to find necessary angle
標簽: necessary function angle find
上傳時間: 2014-11-23
上傳用戶:
This sample program generates two sine waves called X and Y. It will then calculate the normalized magnitude and phase of the two waveforms using the following formulas: Mag = sqrt(X^2 + Y^2)/sqrt(GainX^2 + GainY^2) Phase = (long) (atan2PU(X,Y) * 360) The program will prompt the user to change the gain and frequency of the X and Y waveforms.
標簽: Y. normalized generates calculate
上傳時間: 2014-01-06
上傳用戶:123456wh
#define PI 3.1415926 double angle=(double)theta/10.0*PI/180.0 double anglecos=cos(angle) double anglesin=sin(angle)
標簽: double angle 3.1415926 anglecos
上傳時間: 2014-01-08
上傳用戶:181992417
Angle measurement is frequently required in both automotive and industrial applications. Contactl
上傳時間: 2013-05-18
上傳用戶:cuiqiang
生活中許多目標的高度和水平距離需要進行測量。目前主要的測量方法,仍以傳統的皮尺丈量為主,測量效率不高,有時還很不方便,沒有技術成熟的數字式測高測距產品。以基本的數學方法為理論依據,利用遙控小車做為載體,采用角度傳感器測量角度、霍爾傳感器測量水平距離等,通過單片機LM3S615進行數據計算,實現了對待測目標物體的高度、水平距離等數據的快速、精確和數字式的測量,高度測量精度可達99.06%,水平測量精度則可達98.06%。 Abstract: In our lives, the height and horizontal distance of some goals are needed to be measured. Because the currently used methods are still traditional tape-based measuring methods, and the measuring efficiency is low and inconvenient so some kinds of digital and portable measuring methods or instruments are needed. Based on the basic math theory, this paper designed and manufactured a portable, digital and remote controlled measuring mobile small vehicle, which assembled with angle measuring sensor for angle measurement and Hall sensor for horizontal distance measuring. MCU LM3S615 calculated the height and horizontal distance data gotten from these sensors. The measuring process is simple, the measuring results are more accurate and the measuring efficiency is higher than traditional measure instruments. The accuracy of height and distance measurement can reach 99.06% and 98.06%.
上傳時間: 2013-10-30
上傳用戶:jackandlee
為提高太陽能的利用率,以ATmega8單片機為控制核心,設計了一套光電跟蹤與視日運動軌跡跟蹤互補控制的雙軸太陽跟蹤器。該跟蹤器在晴天時,利用光敏電阻采集光強判斷太陽位置,控制步進電機實現光電跟蹤;在陰天時,采集時鐘器件PCF8583的時間信息,計算當前太陽位置來實現視日運動軌跡跟蹤。實驗表明:該太陽跟蹤器能在不同天氣狀況下對太陽進行較準確地跟蹤,能量接收效率提高了30%,達到充分利用太陽能的目的。 Abstract: To improve the utilization rate of solar energy,a kind of solar tracking controller which effectively combined the sun angle tracking and photo electric tracking based on ATmega8is designed.In the sunny days,the solar tracking con-troller determines the sun's position by using photosensitive resistances to collect light intensity and control stepper motors to achieve photo electric tracking,n cloudy days,it collects clock chip PCF8583time information to calculate the current position of the sun and achieve the sun angle tracking.Experimental results show the solar tracking controller accurately tracks the sun in different weather conditions,improves received energy efficiency by30%and reaches the purpose of full use of solar energy.
上傳時間: 2013-10-15
上傳用戶:urgdil
針對材料試驗機等設備中要求測量或控制材料拉伸或壓縮的位移,一般采用光電軸角編碼器檢測位置信號,輸出正交編碼脈沖信號。若采用其他方法檢測位置信號,必然導致電路設計復雜,可靠性降低。因此,提出一種基于LS7266R1的電子式萬能材料試驗機設計方案。給出了試驗機中的控制器工作原理,LS7266R1與單片機的接口硬件設計,以及主程序軟件流程圖。巧妙地把力量傳感器,位移傳感器等機械運動狀態的壓力或拉力以及位置坐標,變成了電壓信號和電脈沖數字信號,供A/D測量和LS7266R1計數,從而實現了獨立完成材料試驗控制或通過PC機串口命令完成材料試驗控制。 Abstract: Aiming at the requirement that the displacement of the tension and compression always be tested and controlled in the equipement such as material testing machine. The position signal was tested by photoelectric axial angle coder. Therefore, the paper proposes the design of electronic universal testing machine design based on LS7266R1. If the position signal detected by other methods, will inevitably lead to the circuit design complexity, reliability decreased. The work theory of the controller, the hardware interface design between LS7266R1 and single chip, and the flow chart of main program, are presented in this paper. The signal of the compression or tension power and displacement at working, which tested by power sensor and displacement sensor especially, is changed into electric voltage and electric pulse numerical signals. And these signals can be tested by A/D and counted by LS7266R1. Finally the test of the material properties can be controlled by itself, or controlled by the COM command of PC.
上傳時間: 2013-11-02
上傳用戶:yl1140vista
介紹了一種基于MSP430系列單片機和ADXL203加速度傳感器的數字式傾角儀,它不僅可以實現水平度檢測,而且可以測量00~3600范圍內的任意傾角,分辨率可達O.1。。此外,由于該傾角儀輸出為數字結果,因此它也可以與其他的數字設備結合起來,組合成一個功能更加強大的儀器。該數字傾角儀可廣泛應用于建筑、機械、道路、橋梁、石油、煤礦和地質勘探等各種需要測量重力參考系下傾角的場合。關鍵詞:MSP430F133單片機;力敏傳感器;ADXL203加速度計;角度測量 Abstract:This paper presents a new style digital inclinometer which is developed on the basis of the MSP430F133 MCU and the ADXL203 dual axis aeeelerometer.This inclinometer not only can test levelness,but also can measure any angle between 0。and 360。with an accuracy of 0.1 O.In addition,its output is a digital result,which makes it possible to integrate itself with other digital devices to form a more functional unit.This inclinometer can be widely used in any construction site,oil field,coal-mine or geologic survey and SO on where it will provide the working people with convenience to measure any angles.Key words:MSP430F133 MCU;force sensor;ADXL203 accelerometer;angle measurement
上傳時間: 2013-11-14
上傳用戶:lizhizheng88
ADXL345的詳細介紹資料 本模塊使用說明書。 本壓縮文件能夠利用角度傳感器對x,y,z三方的加速度值,角度值進行測量,并集成了1602對其進行顯示。 為了便于使用,我們分別將模塊單獨化,如果您有使用的意向,可以單獨摘出 angle.c 引入到您自己新建的工程中。 關于angle.c文件的內部函數使用說明。 首先為了便于使用和方便引用我們對內部函數進行了高度集成化,您在引入angle.c后直接在您的主程序中調用 dis_data();函數,可完成ADXL345芯片的測量數據, 測量數據說明: char as_Xjiasu[6],as_Yjiasu[6],as_Zjiasu[6]; //定義3軸靜態重力加速度值的ASCII碼值 unsigned char as_Xangel[4],as_Yangel[4],as_Zangel[4]; //定義3軸角度值的ASCII碼值 as_Xjiasu[x]數組里邊我們為了您的使用直接將 加速度值轉換成了 能夠直接顯示到 1602上的ASCII碼值,同理as_Xangel 真實數據存放說明。 float jiasu_xyz[3]; angel_xyz[3]; //存放X,Y,Z 軸的靜態重力加速度,角度值 存放了 加速度和角度的真實值(未經轉換成ASCII碼的數據)--本數據可以用于其他用途,直接參與MCU內部運算等。
上傳時間: 2013-11-17
上傳用戶:wpwpwlxwlx