Development of Micro-arc Oxidation Power Supply Control System Based on LPC2119

Publisher:advancement4Latest update time:2010-01-11 Source: 微计算机信息Keywords:LPC2119 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
1. Introduction

Micro-arc oxidation (MAO) is a surface treatment technology that grows a ceramic layer in situ on the metal surface. This technology uses the principles of plasma chemistry and electrochemistry to produce micro-area arc discharge on the material surface. Under the combined action of chemistry, electrochemistry and plasma, a new technology for in-situ growth of ceramic layers is used. The micro-arc oxidation power supply is one of the key links to ensure the micro-arc oxidation process. Its main function is to generate and control the pulsed electric field and the automatic detection and control of process parameters during the micro-arc oxidation production process.

The micro-arc oxidation power supply developed in this paper adopts power module commutation technology to achieve the high voltage, large current, wide bandwidth and high-quality positive and negative pulse output required by the micro-arc oxidation process. The ARM-based automatic control system is used to realize automatic monitoring of electrical parameters such as voltage, current, pulse frequency, and duty cycle. The ARM (Advanced RISC Machines) processor is a 32-bit embedded microprocessor. Compared with industrial control computers, the ARM embedded microprocessor has the advantages of small size, light weight, low cost, and high reliability; compared with the 16-bit single-chip microcomputer in reference 2 [2], the ARM embedded microprocessor has the advantages of fast speed, multiple functions, low power consumption, and good scalability. The CPU used in the micro-arc oxidation power supply control system developed in this paper is the ARM7-based LPC2119 processor, which is a 16/32-bit CPU that supports real-time simulation and embedded tracking. It has a zero-wait 256K on-chip FLASH and 16K SRAM, and does not require extended memory. It has many peripheral components such as UART, hardware I2C, SPI bus, PWM, timer, ADC, CAN bus controller, etc., and is powerful.

2. Description of the control system

The main circuit of the micro-arc oxidation power supply consists of four parts: transformer output, thyristor rectification, inductor capacitor filtering, and IGBT chopper converter [3]. The main task of the micro-arc oxidation power supply control system designed in this paper is to drive the thyristors, IGBTs and other modules of the micro-arc oxidation control system according to the process requirements, and complete the functions of setting process requirements, storing process numbers, and outputting alarm signals. Therefore, this control system is divided into the following parts:

Minimum system part: generates CPU working power, external crystal oscillator and JATAG debugging port;

A/D and D/A conversion part: collect voltage and current values ​​and send the set values ​​to the thyristor module;

Input and output part: generates some input and output signals;

CAN communication part: transmit and receive some setting parameters;

E2PROM part: completes the storage of process number and real-time data.

3. Hardware system design

3.1 Minimum system part

Figure 1 Minimum system diagram

As shown in Figure 1, the minimum system consists of a reset circuit, a crystal oscillator circuit, a power supply circuit, and LPC2119. The reset chip uses the MAX809 monitoring chip, which can output a low-level reset pulse with a width of up to 240MS, which is enough to ensure real-time reset of the system; the external crystal oscillator is set to 11.0592MHZ, and the internal frequency can be multiplied to 60MHZ, which greatly improves the speed of the CPU; the power supply circuit mainly provides the LPC2119 with two required voltages, one is 3.3 volts for powering the external port, and the other is 1.8 volts for powering the ARM core; LPC2119 has 256K on-chip FLASH and 16K SRAM with zero waiting, no need to expand the memory, and also has a watchdog function, which not only saves resources for the system, but also improves reliability.

3.2 A/D and D/A conversion section

The schematic diagram is shown in Figure 2. TLC2543 is a 12-bit serial analog-to-digital converter from TI, which uses switched capacitor successive approximation technology to complete the A/D conversion process. It has a conversion time of 10μs, 11 analog input channels, a serial input structure, supports SPI bus timing (and LPC2119 itself has an SPI interface, which saves I/O resources), and is moderately priced and has a high resolution.

MAX5322 is a ±10V dual 12-bit serial digital-to-analog converter with an operating voltage of ±12V~±15V and an output from ±5V~±10V. It has excellent INL and DNL linearity, with a maximum value of ±1LSB and a settling time of 10us to 0.5LSB. Since it also has a serial input structure and supports SPI bus timing, MAX5322 and TLC2543 can share the SPI bus. Different chips can be selected by chip select. This design not only saves the I/O resources of LPC2119, but also facilitates programming.

The function of TLC2543 is to convert the collected real-time voltage and current values ​​into digital values, and transmit them to the host computer through the CAN bus for display; the function of MAX5322 is to convert the working voltage and working current values ​​set by the host computer into analog values ​​to control the output of the thyristor so that it reaches the set voltage in a very short time. When there are positive and negative outputs, adding a MAX5322 can meet the requirements.

The function of the CAN interface is to transmit some variables to be displayed to the host computer and to transmit the variables set by the host computer to the lower computer, such as voltage, current, PWM frequency, duty cycle, number of positive pulses and negative pulses, etc. The CAN bus is widely used in data communication between detection and actuators in control systems due to its high performance, high reliability, and real-time performance. It has been recognized as one of the most promising field buses. It is a multi-master bus, and the communication medium can be twisted pair. The communication rate can reach 1M/s and the maximum communication distance can reach 10km. It is a serial communication local area network that supports distributed real-time control systems [1]. LPC2119 itself has an integrated CAN controller, so only an external CAN transceiver PCA82C250 is needed to drive CAN bus communication. As shown in Figure 3.

Figure 2 A/D and D/A conversion circuits

Figure 3 CAN communication circuit


Figure 4 E2PROM circuit

3.4 E2PROM part

E2PROM completes the storage of process numbers and real-time data. This article uses the AT24C64 chip produced by ATMEL, which has a storage size of 8192 bytes; it can always be read and written; it can be erased and written at least 1 million times; and it has a data retention period of at least 100 years. It supports the I2C bus, and the LPC2119 integrates an I2C bus interface, so that hardware communication can be realized. The schematic diagram is shown in Figure 4.

4. Software system design

This system has many complex functions. Considering the real-time requirements of industrial control, it uses the uC/OS-II embedded operating system with high real-time performance. μC/OS-II is a real-time multi-tasking kernel that uses a preemptive scheduling method based on fixed priorities. It is solidifiable, customizable, and has high stability and reliability. In addition, the distinctive feature of μC/OS-II is that the source code is open, which is easy to transplant and maintain [3]. The task sequence of this system is as follows:

Task 1: Establish Task 2, Task 3 and Task 4;

Task 2: Receive signals sent by the host computer through the CAN interface, including pre-set parameter values; (sent regularly by the host computer)

Task 3: Perform A/D conversion, PID regulation, and D/A conversion; these three are closely linked: A/D conversion converts the input analog signal into digital quantity and serves as the input of PID regulation, while the output of PID regulation is output to the input of the thyristor through D/A conversion, thereby changing the output of the module;

Task 4: E2PROM completes the storage of process number and real-time data, and the CAN interface transmits the output parameter value to the host computer for display;

Fast interrupt: When receiving the start or end signal from the host computer, the PWM fast interrupt generates the corresponding number of pulses and stop signals respectively. The response speed requirement here is high. If it is not timely, the module may burn out, so fast interrupt must be used.

5. Conclusion

This system has been successfully developed and applied to actual products with good results. This system combines the LPC2119 processor and the uC/OS-II embedded operating system into the control system, and uses the CAN field bus for communication, which greatly improves the high stability and reliability of the system; the constant voltage or constant current working mode can be selected according to the settings of the host computer; the voltage adjustment range can be set to 0~1000 volts (different models have different maximum values); the pulse frequency is adjustable from 20Hz to 10KHz; the duty cycle is adjustable between 5% and 95%. This system is easy to maintain and expand, enough to meet the needs of the current micro-arc oxidation power supply control system!

Keywords:LPC2119 Reference address:Development of Micro-arc Oxidation Power Supply Control System Based on LPC2119

Previous article:Design of high-resolution infrared touch screen based on ARM7 and VC platform
Next article:Chinese LCD Display Technology Based on ARM7 Microprocessor

Recommended ReadingLatest update time:2024-11-16 22:39

Design of Intelligent Ultrasonic Liquid Level Transmitter Based on CAN Bus
O Introduction   Fieldbus is a fully decentralized, fully digital, intelligent, bidirectional, interconnected, multi-variable, multi-point, multi-station communication network used between field instruments and control systems and control rooms. CAN (Controller Area Network) is a serial data communication protocol p
[Microcontroller]
Design of Intelligent Ultrasonic Liquid Level Transmitter Based on CAN Bus
Design of 15W triple output DC/DC module power supply based on UC3843
introduction DC/DC modules have been widely used in railway communications, microwave communications, industrial control, marine electronics, avionics, ground radar, firefighting equipment, medical equipment and teaching equipment, and many other fields. Many of these applications require multiple outputs, such as in
[Power Management]
Design of 15W triple output DC/DC module power supply based on UC3843
Take on the "big project" and make a UC3843 Boost module
1. Learn about the UC3843 chip There are a lot of explanations on the Internet about the use of UC3843 series chips. As long as you study carefully, it is not difficult to find that the most important thing is to build simple and practical circuits after understanding them thoroughly, and the module functions, design
[Power Management]
Take on the
Design of CAN repeater based on LPC2119 and μC/OSII
introduction The direct communication distance of the CAN bus is only about 10 km, and due to the limitation of the transceiver driving capability, only 110 nodes can be connected to the bus at most, which brings certain difficulties to the system networking. The CAN repeater is designed to solve this problem.
[Microcontroller]
Design of CAN repeater based on LPC2119 and μC/OSII
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号