為了提高傳統溫度控制系統的性能,將PID控制理論與嵌入式系統相結合,采用瑞薩電子公司的H8S/2166作為核心處理器,AD公司的AD7705以及熱敏電阻溫度傳感器作為溫度檢測單元,利用4×6小鍵盤、LCD顯示器和S1D13305液晶控制器達到良好的人機交互,設計出了一個應用于化工領域的嵌入式實時溫度控制系統。相比于傳統溫度控制系統,該系統提供了更強的計算能力和可擴展能力,采用增量PID控制算法實現復雜控制。通過實驗,該系統能達到0.1 ℃的溫度控制精度以及小于120 s的溫度穩定時間。
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.
針對當前安檢力學試驗機所能完成的試驗種類單一、自動化程度低等問題,提出一種以ATmega128單片機為核心控制器的安檢力學試驗機的設計。詳細闡述了該安檢力學試驗機各個組成部分的設計原理和方案,并且給出了各部分的軟件設計思想和操作流程。經過大量測試試驗表明:設計的安檢力學試驗機可以完成多達十余種的力學安檢試驗,完全符合相關國家標準,并且具有數據采集精度高、傳輸速度快、操作安全簡便等特點,實現了安檢設備的多功能化、數字化和自動化。
Abstract:
Currently, many mechanical security testing machines have only one function. The degree of automation of them is low. To solve those problems, a new kind of mechanical security testing machine, using ATmega128 micro-controller as its core controller, has been advanced. It describes the components of the machine. The principles and the scheme in the designing processes are presented in detail, and the software architecture and the operation processes of each part are given. After having done many testing, we have reached the following conclusions: the mechanical security testing machine presented can do over ten mechanical security tests complying with related national standards. It has high data acquisition accuracy and high transmission speed. The operation of the machine is simple and safe. In general, this machine is a multi-functional, highly automatic, digitalized security testing device.
The μPSD32xx family, from ST, consists of Flash programmable system devices with a 8032 MicrocontrollerCore. Of these, the μPSD3234A and μPSD3254A are notable for having a complete implementationof the USB hardware directly on the chip, complying with the Universal Serial Bus Specification, Revision1.1.This application note describes a demonstration program that has been written for the DK3200 hardwaredemonstration kit (incorporating a μPSD3234A device). It gives the user an idea of how simple it is to workwith the device, using the HID class as a ready-made device driver for the USB connection.IN-APPLICATION-PROGRAMMING (IAP) AND IN-SYSTEM-PROGRAMMING (ISP)Since the μPSD contains two independent Flash memory arrays, the Micro Controller Unit (MCU) can executecode from one memory while erasing and programming the other. Product firmware updates in thefield can be reliably performed over any communication channel (such as CAN, Ethernet, UART, J1850)using this unique architecture. For In-Application-Programming (IAP), all code is updated through theMCU. The main advantage for the user is that the firmware can be updated remotely. The target applicationruns and takes care on its own program code and data memory.IAP is not the only method to program the firmware in μPSD devices. They can also be programmed usingIn-System-Programming (ISP). A IEEE1149.1-compliant JTAG interface is included on the μPSD. Withthis, the entire device can be rapidly programmed while soldered to the circuit board (Main Flash memory,Secondary Boot Flash memory, the PLD, and all configuration areas). This requires no MCU participation.The MCU is completely bypassed. So, the μPSD can be programmed or reprogrammed any time, anywhere, even when completely uncommitted.Both methods take place with the device in its normal hardware environment, soldered to a printed circuitboard. The IAP method cannot be used without previous use of ISP, because IAP utilizes a small amountof resident code to receive the service commands, and to perform the desired operations.
This application note shows how to write an Inter Integrated Circuit bus driver (I²C) for the Philips P90CL301micro-controller.It is not only an example of writing a driver, but it also includes a set of application interface software routines toquickly implement a complete I²C multi-master system application.For specific applications the user will have to make minimal changes in the driver program. Using the drivermeans linking modules to your application software and including a header-file into the application sourceprograms. A small example program of how to use the driver is listed.The driver supports i.a. polled or interrupt driven message handling, slave message transfers and multi-mastersystem applications. Furthermore, it is made suitable for use in conjunction with real time operating systems, likepSOS+.
The P90CL301 is a highly integrated 16/32 bit micro-controller especially suitable for applications requiring lowvoltage and low power consumption. It is fully software compatible with the 68000. Furthermore, it provides bothstandard as well as advanced peripheral functions on-chip.One of these peripheral functions is the I2C bus. This report describes worked-out driver software (written in C) toprogram the P90CL301 I2C interface. It also contains interface software routines offering the user a quick start inwriting a complete I2C system application.
用單片機配置FPGA—PLD設計技巧
Configuration/Program Method for Altera Device
Configure the FLEX Device
You can use any micro-controller to configure the FLEX device–the main idea is clocking in ONE BITof configuration data per CLOCK–start from the BIT 0The total Configuration time–e.g. 10K10 need 15K byte configuration file•calculation equation–10K10* 1.5= 15Kbyte–configuration time for the file itself•15*1024*8*clock = 122,880Clock•assume the CLOCK is 4MHz•122,880*1/4Mhz=30.72msec
graspForth is my humble attempt at a Forth-in-C that has the following goals:
GCC ......... to support all 32-bit micros that GCC cross-compiles to.
Relocatable . to be able to run in-place in either Flash or Ram.
Fast ........ to be "not much" slower than an assembly based native Forth.
Small ....... to fit-in approx 300 words in less than 25Kbytes on a 32-bit machine.
Portable .... to achieve a 5 minute port to a new 32bit micro-processor, or micro-controller.
This manual describes SAMSUNG s S3C2410A 16/32-bit RISC microprocessor. This product is designed to provide
hand-held devices and general applications with cost-effective, low-power, and high-performance micro-controller
solution in small die size. To reduce total system cost, the S3C2410A includes the following components separate
16KB Instruction and 16KB Data Cache, MMU to handle virtual memory management, LCD Controller (STN & TFT),
NAND Flash Boot Loader, System Manager (chip select logic and SDRAM Controller), 3-ch UART, 4-ch DMA, 4-ch
Timers with PWM, I/O Ports, RTC, 8-ch 10-bit ADC and Touch Screen Interface, IIC-BUS Interface, IIS-BUS
Interface, USB Host, USB Device, SD Host & Multi-Media Card Interface, 2-ch SPI and PLL for clock generation.
INTRODUCTION In the past, adding speech recording and playback capability to a product meant using a digital signal processor or a specialized audio chip. Now, using a simplified Adaptive Differential Pulse Code Modulation(ADPCM) algorithm, these audio capabilities can be added to any PICmicro device. This application note will cover the ADPCM compression and decompression algorithms, performance comparison of all PICmicro devices, and an application using a PIC16C72 micro-controller.DEFINITION OF TERMS step size -value of the step used for quantization of ana-log signals and inverse quantization of a number of steps.quantization -the digital form of an analog input signal is represented by a finite number of steps.adaptive quantization -the step size of a quantizer is dramatically changed with time in order to adapt to a changing input signal.inverse quantizer -a finite number of steps is converted into a digital representation of an analog signal.