生活中許多目標(biāo)的高度和水平距離需要進(jìn)行測(cè)量。目前主要的測(cè)量方法,仍以傳統(tǒng)的皮尺丈量為主,測(cè)量效率不高,有時(shí)還很不方便,沒有技術(shù)成熟的數(shù)字式測(cè)高測(cè)距產(chǎn)品。以基本的數(shù)學(xué)方法為理論依據(jù),利用遙控小車做為載體,采用角度傳感器測(cè)量角度、霍爾傳感器測(cè)量水平距離等,通過單片機(jī)LM3S615進(jìn)行數(shù)據(jù)計(jì)算,實(shí)現(xiàn)了對(duì)待測(cè)目標(biāo)物體的高度、水平距離等數(shù)據(jù)的快速、精確和數(shù)字式的測(cè)量,高度測(cè)量精度可達(dá)99.06%,水平測(cè)量精度則可達(dá)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%.
針對(duì)目前汽車追尾事件頻發(fā)問題,提出一種防汽車車前和車后追尾的安全裝置設(shè)計(jì)。該設(shè)計(jì)以高性能、低功耗的8位AVR微處理器ATmega8L為核心,結(jié)合霍爾式車速傳感器、激光雷達(dá)測(cè)距裝置和MMA7260QT加速度傳感器,能夠兼顧車前和車后,摒棄以往設(shè)計(jì)中只考慮車前或車后單一性缺點(diǎn),尤其適用于高速、夜晚或新手行車。
Abstract:
Aiming at the high frequency of vehicle rear-end collision,a safe device design of anti-vehicle rear-end collision is presented.In the design,the high-performance,low-power8-bit AVR microprocessor ATmega8L is utilized as a core combined with Hall-type speed sensor,laser-radar ranging devices and the acceleration sensor MMA7260QT.The design considers both the front and back of a car,and overcomes the drawbacks of former designs in which only the front or the back of the car is considered,so it is especially suitable for high-speed,night or the beginner’s driving.
介紹了采用ATmega48單片機(jī)實(shí)現(xiàn)三相無(wú)刷直流電機(jī)控制器的方法。利用Atmega48獲得帶死區(qū)的脈寬調(diào)制(PWM)、霍爾傳感器的換相處理、正弦驅(qū)動(dòng)信號(hào)的產(chǎn)生和電機(jī)轉(zhuǎn)速的控制等功能。采用該方法的優(yōu)點(diǎn)是所需的外圍器件少,成本低。
Abstract:
The method of 3-phase brushless DC motor control based on ATmega48 is presented in this paper.The system uses ATmega48 to generate PWM signals with dead-time, hall sensors signals commutation,sine driving signal and rotational speed of motor.Using this method,the needed external devices are few, the cost is low.
該代碼用于視頻中背景與前景的分離
Run "TestGoDec" firstly for testing the background modeling by GoDec on Hall
dataset.
Run "TestSSGoDec" firstly for testing the background modeling by Semi-Soft
GoDec on Hall dataset. The time cost on my PC is 8.75s, which is >4 times
faster than ordinary GoDec.