外文翻译---基于单片机的油浸式变压器温度监测系统的设计(编辑修改稿)内容摘要:

and pin perform a control function on MAX125 ponent. MCU control cireuit USB interfaces cireuit D. Design of MCU control circuit The control system based on MCU is shown as . Because the USB agreement frame is paratively big, W77E58 chip with 32 KB Flash EPROM is selected as MCU. W77E58 is that one is 8 bit, especially speedy and much better performance CPU. What39。 s more, it is able to pay a visit to low speed or fleetness outside RAM. Compared with other processing chips such as 8052 processor, W77E58 can work with higher speed even if under the same clock frequency and work under low clock frequency. Its power sourceconsumption is greatly reduced under the same instruction handling capacity since the entire static state CMOS design is adopted. There are four I/O ports with 8 bit and an additional 4 I/O port in W77E58. These characteristics W77E58 possess can make it work better, such as directly transferring data with MAX125 using different speed, delivering data between the puter and MCU based on USB using high speed, etc. And it isvery useful to expand the outside memory for system using other I/O ports. There are two connection types between W77E58 and D12, including independent address data bus mode and multiplex address data bus mode. The analogue signal can be converted into digital signal by A/D sampling circuit, and then the converted digital signal be transferred to PC by USB interface transference. E. USB interface circuit desigt USB interface circuit is shown as . When the peripheral equipments are connected with concentrator by D12, concentrator can check the connection state of peripheral equipment and report it to the host puter. Once the equipment connection information is found, thehost puter is asked to send a series of request to concentrator, and then a municating channel between host puter and equipment would be established by concentrator. Further, the host puterbegins to list equipments, and sets up the peripheral equipments after they are successfully listed and the correlative allocation information is acquired by the host peripheral equipment recognized by host puter can be arranged to municate with it. III. SOFTWARE DESIGN A. Data collecting programming According to the controlling time sequence of MAX125, the flow of data collecting task is shown as . B. USB drive design 1) Firmware programming: There are generally three parts between USB and MCU firmware: (a) Initialize MCU and all periphery circuit (include PDIUSBD12)。 (b) Main cycle part: this part is to be interrupted。 (c) Interrupt serv ice routine, can carry out immediately. The munication between MCU and PDIUSBD12 is mainly referenced to send orders and data to PDIUSBD12 by MCU. There are three kinds of order characters for PDIUSBD12, including theinitialization order character, the data stream order character and the universal order character. PDIUSBD12 has shown the various imperative code and address. TheMCU firstly sends orders into th e order address of PDIUSBD12, resend or read different data according to different imperative call. Therefore, it is convenience to convert per kind order into function and use function to finish each order by directly calling these functions. 2) Drive programming: Although, there are many standard interface functions provided in the system, driver programming is still one of the most difficult tasks for USB exploitation. Windows DDK is often adopted to realize drive programming. At present, third party software firms have provided a lot of generating tools for drive programming, such as driver works of Compuware, Driver Wizard waits of Blue Waters. These tools are able to produce a high quality USB driving program within several minutes. When checking USB equipment, UsbView program can be used to detect equipment whether or not to be enumerated and allocated by Windows. If successful, the device description, allocation description and endpoint description may be check whether or not correctly. And a generallypurpose program can be made by Driver Wizard. Once Windows are also exploited and debugged with the debugging USB device sends clues to install the driving program, the driving program produced by Driver Wizard would be selected. In fact, it is only an application program produced by Driver Wizard for Windows controlling table. It is able to call the universal USB drive program installed in system when assembling Driver Wizard for a specific task. Its working condition of devices, including transferring data whether or not correctly and controlling the transmission speed, can be measured by the drive program. If it cannot meet the application demands, a new drive program can be write down. Besides, the software for host puter. IV. APPLICATION RESEARCH OF TEMPERATURE MONITORI。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。