摘 要
由于工业企业对温度控制的准确性和实时性的需求日益增加,因此,对温度控制的核心控制器也提出了更高的需求, DSP芯片由于其计算能力和外部设备的丰富,在整个控制领域得到了广泛的使用。
本论文以目前已建的电阻炉为研究目标,采用TMS320F2812系列 DSP芯片为主要控制器,研制了一套基于TMS320F2812芯片的温控装置。本课题的研究工作主要是建立温控平台的硬件平台和软体编程。该控制电路包括温度采集模块,核心控制器,模拟量输出模块,调压模块,触控 LCD终端和控制目标电阻器。该系统采用 CCS3.3作为开发平台,并釆用 C编程实现。软件的主要功能包括温度采集、数据转换、控制方法计算、控制量输出、人机对话等。提出了一种基于传统 PED的 PID控制算法,并将其引入到了基于模糊控制器的 PID控制中。通过对软件的测试,确定了电阻式加热器的温控方案。
根据所研制的测温监测装置,对实验室内的电阻器进行了温控试验,并对采集到的数据进行了统计和分析。试验证明,该监测装置以 DSP为控制核心,能够实现实时数据的实时采集和处理。将模糊控制器引入到传统 PID控制中,可以有效减少过调,加速响应,改善控制准确率,增强抗干扰性。
关键词:电阻炉 温度监控 PID控制
Abstract
Due to the increasing demand of industrial enterprises for the accuracy and real-time of temperature control, higher demand is also put forward for the core controller of temperature control. DSP chips have been widely used in the entire control field due to their rich computing power and external equipment.
In this paper, a temperature control device based on TMS320F2812 chip is developed with the existing resistance furnace as the research ob ject and TMS320F2812 series DSP chip as the main controller. The research work of this subject is mainly to establish the hardware platform and software programming of the temperature control platform. The control circuit includes temperature acquisition module, core controller, analog output module, voltage regulation module, touch LCD terminal and control target resistor. The system uses CCS3.3 as the development platform and is implemented by C programming. The main functions of the software include temperature acquisition, data conversion, control method calculation, control output, human-computer dialogue, etc. A PID control algorithm based on traditional PED is proposed and introduced into PID control based on fuzzy controller. Through the test of the software, the temperature control scheme of the resistance heater is determined.
According to the developed temperature monitoring device, the temperature control test of the resistor in the laboratory was carried out, and the collected data were statistically analyzed. The test shows that the monitoring device takes DSP as the control core and can realize real-time data acquisition and processing. Introducing fuzzy controller into traditional PID control can effectively reduce overshoot, accelerate response, improve control accuracy and enhance anti-interference.
Key words: Resistance furnace temperature monitoring PID control
目 录
摘 要 I
Abstract II
1 前言 4
1.1 研究的背景和意义 4
1.2 PID参数自整定及模糊控制的发展 4
2 相关理论概述 6
2.1 DSP的概述 6
2.2 DSP在温度控制方面的应用 7
3 电阻炉温度控制方法研究 8
3.1 传统PID控制 9
3.2 模糊控制理论 9
3.2.1 模糊控制器的结构 9
3.2.2 数据库及规则库设计 10
3.2.3 清晰化算法 11
4 基于F2812电阻炉温度监控系统软件设计 11
4.1 人机交互系统程序设计 11
4.2 温度数据采集 12
4.2.1 通信参数设置 12
4.2.2 冷端补偿器误差设置 13
4.2.3 采样周期设置 14
4.3 控制信号输出 15
5 结论 16
参考文献 17
由于工业企业对温度控制的准确性和实时性的需求日益增加,因此,对温度控制的核心控制器也提出了更高的需求, DSP芯片由于其计算能力和外部设备的丰富,在整个控制领域得到了广泛的使用。
本论文以目前已建的电阻炉为研究目标,采用TMS320F2812系列 DSP芯片为主要控制器,研制了一套基于TMS320F2812芯片的温控装置。本课题的研究工作主要是建立温控平台的硬件平台和软体编程。该控制电路包括温度采集模块,核心控制器,模拟量输出模块,调压模块,触控 LCD终端和控制目标电阻器。该系统采用 CCS3.3作为开发平台,并釆用 C编程实现。软件的主要功能包括温度采集、数据转换、控制方法计算、控制量输出、人机对话等。提出了一种基于传统 PED的 PID控制算法,并将其引入到了基于模糊控制器的 PID控制中。通过对软件的测试,确定了电阻式加热器的温控方案。
根据所研制的测温监测装置,对实验室内的电阻器进行了温控试验,并对采集到的数据进行了统计和分析。试验证明,该监测装置以 DSP为控制核心,能够实现实时数据的实时采集和处理。将模糊控制器引入到传统 PID控制中,可以有效减少过调,加速响应,改善控制准确率,增强抗干扰性。
关键词:电阻炉 温度监控 PID控制
Abstract
Due to the increasing demand of industrial enterprises for the accuracy and real-time of temperature control, higher demand is also put forward for the core controller of temperature control. DSP chips have been widely used in the entire control field due to their rich computing power and external equipment.
In this paper, a temperature control device based on TMS320F2812 chip is developed with the existing resistance furnace as the research ob ject and TMS320F2812 series DSP chip as the main controller. The research work of this subject is mainly to establish the hardware platform and software programming of the temperature control platform. The control circuit includes temperature acquisition module, core controller, analog output module, voltage regulation module, touch LCD terminal and control target resistor. The system uses CCS3.3 as the development platform and is implemented by C programming. The main functions of the software include temperature acquisition, data conversion, control method calculation, control output, human-computer dialogue, etc. A PID control algorithm based on traditional PED is proposed and introduced into PID control based on fuzzy controller. Through the test of the software, the temperature control scheme of the resistance heater is determined.
According to the developed temperature monitoring device, the temperature control test of the resistor in the laboratory was carried out, and the collected data were statistically analyzed. The test shows that the monitoring device takes DSP as the control core and can realize real-time data acquisition and processing. Introducing fuzzy controller into traditional PID control can effectively reduce overshoot, accelerate response, improve control accuracy and enhance anti-interference.
Key words: Resistance furnace temperature monitoring PID control
目 录
摘 要 I
Abstract II
1 前言 4
1.1 研究的背景和意义 4
1.2 PID参数自整定及模糊控制的发展 4
2 相关理论概述 6
2.1 DSP的概述 6
2.2 DSP在温度控制方面的应用 7
3 电阻炉温度控制方法研究 8
3.1 传统PID控制 9
3.2 模糊控制理论 9
3.2.1 模糊控制器的结构 9
3.2.2 数据库及规则库设计 10
3.2.3 清晰化算法 11
4 基于F2812电阻炉温度监控系统软件设计 11
4.1 人机交互系统程序设计 11
4.2 温度数据采集 12
4.2.1 通信参数设置 12
4.2.2 冷端补偿器误差设置 13
4.2.3 采样周期设置 14
4.3 控制信号输出 15
5 结论 16
参考文献 17