·Stanford&IBM牛人經(jīng)典之作 - Digital Control of Dynamic SystemsEditorial ReviewsProduct DescriptionThis well-respected, market-leading text discusses the use of digital computers in the Real-time co
· 摘要: 傳統(tǒng)的DSP軟件開發(fā)都是先設(shè)計DSP上的算法并仿真然后將其寫成特定DSP的代碼(c或是匯編)在目標(biāo)板上實現(xiàn).介紹了一種新的高效、集成的DSP軟件設(shè)計方法.利用MATLAB7.0新提供的Embeded Target for TI C2000 DSP、simulink、Real-time Workshop和TI的CCS IDE相結(jié)合,在MATLAB環(huán)境下生成DSP的C代
Abstract: This application note presents an overview of the operational characteristics of accurate I²C Real-time clocks (RTCs),including the DS3231, DS3231M, and DS3232. It focuses on general application guidelines that facilitate use of device resources forpower management, I²C communication circuit configurations, and I²C characteristics relative to device power-up sequences andinitializations. Additional discussions on decoupling are provided to support developing strategies for mitigating power-supply pushingof device frequency.
HIGH SPEED 8051 μC CORE
- Pipe-lined Instruction Architecture; Executes 70% of Instructions in 1 or 2
System Clocks
- Up to 25MIPS Throughput with 25MHz System Clock
- 22 Vectored Interrupt Sources
MEMORY
- 4352 Bytes Internal Data RAM (256 + 4k)
- 64k Bytes In-System Programmable FLASH Program Memory
- External Parallel Data Memory Interface – up to 5Mbytes/sec
DIGITAL PERIPHERALS
- 64 Port I/O; All are 5V tolerant
- Hardware SMBusTM (I2CTM Compatible), SPITM, and Two UART Serial
Ports Available Concurrently
- Programmable 16-bit Counter/Timer Array with 5 Capture/Compare
Modules
- 5 General Purpose 16-bit Counter/Timers
- Dedicated Watch-Dog Timer; Bi-directional Reset
CLOCK SOURCES
- Internal Programmable Oscillator: 2-to-16MHz
- External Oscillator: Crystal, RC, C, or Clock
- Real-time Clock Mode using Timer 3 or PCA
SUPPLY VOLTAGE ........................ 2.7V to 3.6V
- Typical Operating Current: 10mA @ 25MHz
- Multiple Power Saving Sleep and Shutdown Modes
100-Pin TQFP (64-Pin Version Available)
Temperature Range: –40°C to +85°C
針對科研實驗中對拉壓千斤頂加載過程控制的需要,采用ATmega128單片機(jī)控制步進(jìn)電機(jī)進(jìn)而實現(xiàn)對執(zhí)行系統(tǒng)的電動泵站實行自動控制。對力和位移的數(shù)據(jù)采集與處理及用步進(jìn)電機(jī)控制電動泵站手柄的技術(shù)細(xì)節(jié)作了重點描述。通過單片機(jī)的A/D變換器對AMP放大模塊采集的電橋信號作量化處理,千斤頂?shù)牟倏厥直恢靡离妱佑捅瞄y門開啟的方向和大小作若干定位,單片機(jī)根據(jù)力或位移傳感器信號,實時控制步進(jìn)電機(jī)驅(qū)動手柄旋轉(zhuǎn)到相應(yīng)操控位置。
Abstract:
This article describes the use of ATmega128 AVR microcontroller series of DBS electric pumping stations and QF100/200 separate twoway hydraulic jack to automate the process of manipulating the work of the technical content. Articles on force and displacement data acquisition and processing, and stepper motor control electric pump with the handle of the key technical details were described. Through the MCU’s A / D converter module is collected on the AMP amplification quantify the signal bridge, jack handle position control valve opening according to the direction of electric pumps for a number of positioning and size of the microcontroller based on force or displacement sensor signals, Real-time control stepper motor drive control handle rotate to the appropriate location.
為了提高傳統(tǒng)溫度控制系統(tǒng)的性能,將PID控制理論與嵌入式系統(tǒng)相結(jié)合,采用瑞薩電子公司的H8S/2166作為核心處理器,AD公司的AD7705以及熱敏電阻溫度傳感器作為溫度檢測單元,利用4×6小鍵盤、LCD顯示器和S1D13305液晶控制器達(dá)到良好的人機(jī)交互,設(shè)計出了一個應(yīng)用于化工領(lǐng)域的嵌入式實時溫度控制系統(tǒng)。相比于傳統(tǒng)溫度控制系統(tǒng),該系統(tǒng)提供了更強(qiáng)的計算能力和可擴(kuò)展能力,采用增量PID控制算法實現(xiàn)復(fù)雜控制。通過實驗,該系統(tǒng)能達(dá)到0.1 ℃的溫度控制精度以及小于120 s的溫度穩(wěn)定時間。
Abstract:
In order to improve the performance of conventional temperature control system, combining PID control theory with embedded systems, using the Renesas Electronics Corp. H8S/2166 micro-controller as a core processors, AD7705 and thermistor temperature sensor as a temperature detection unit and 4×6 small keyboard, LCD and S1D13305 LCD controller as a good human-computer interaction, this paper designed an embedded Real-time temperature control system which is applied in chemical industry. Compared with conventional temperature control system, this system provides more computing power and extensibility, and adopts PID control algorithm for complex control. Through the experiment, the system can reach temperature control accuracy of 0.1 ℃ and temperature stabilization time of less than 120 seconds.
首先研究CAN總線和SAE J1939協(xié)議,提出一種基于MC9S12HZ256微控制器的總線式汽車數(shù)字儀表解決方案。詳細(xì)介紹SAE J1939協(xié)議的報文幀格式及應(yīng)用層協(xié)議中發(fā)動機(jī)相關(guān)參數(shù)的定義,以及步進(jìn)電機(jī)及其驅(qū)動和車速信號的處理方法。該數(shù)字儀表系統(tǒng)硬件平臺由微處理器和信號采集和信息處理及顯示等模塊組成。軟件設(shè)計部分編程實現(xiàn)了對CAN總線和各傳感器數(shù)據(jù)的讀取、處理。該系統(tǒng)能夠?qū)崟r反映車輛工況。
Abstract:
In this paper,CAN bus and SAE J1939protocol are researched,and a vehicle digital instrument solution based on MC9S12HZ256MCU is proposed.The message frame format and some engine-related parameters’definition in SAE J1939application layer protocol are introduced in detail.Stepper motor and its driver,the methods of speed signal process-ing are also introduced.The hardware platform of vehicle digital instrument is composed by MCU,signal acquisition mod-ule,and signal processing and displaying module.Data receiving and processing from CAN bus and sensors are accom-plished by programming,and vehicle condition can be reflected in Real-time.
實時時鐘是微機(jī)保護(hù)裝置的重要部件,在討論P(yáng)CF8583結(jié)構(gòu)與功能的基礎(chǔ)上,提出采用dsPIC33F系列微處理器與串行I2C時鐘PCF8583的接口設(shè)計方案,給出了相應(yīng)的接口電路與軟件流程。該設(shè)計方案結(jié)構(gòu)簡單,可靠性高,開發(fā)周期短,具有一定的實用與參考價值。所設(shè)計的微機(jī)保護(hù)裝置已投入現(xiàn)場運行,效果良好。
Abstract:
Real-time clock chip is an important part in microcomputer protection device.Based on discussing the structure and function of PCF8583,a new interface scheme which uses dsPIC33F microprocessor and serial clock chip(I2C)PCF8583is proposed.The method of the circuit design and the main software flow are introduced in this paper.The scheme has simple structure,higher reliability and shorter exploitation cycle,so has definite practicality or reference value.The microcomputer protection device has been put into operation with better effects.