A control scheme for steam pressure and furnace wall temperature in a closed container based on a single chip microcomputer

Publisher:bullfishLatest update time:2018-04-02 Source: eefocus Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

    This paper introduces a scheme that uses a single-chip microcomputer as a controller to control the steam pressure and furnace wall temperature in a closed container under the state of gas-liquid mixture. The controller adopts fuzzy control technology and is suitable for nonlinear, time-varying and time-delay systems. Experimental results show that it has the characteristics of no overshoot, no static error and strong robustness.

    1. Hardware composition of the system

    The overall hardware structure is shown in Figure 1.



7

    The PIC16C74 microcontroller is selected as the main control chip, which has 40 pins, an oscillation frequency of up to 20MHz, 4KB of program memory and 192Bytes of RAM. It has 3 built-in timers, 2 * modules, a synchronous serial communication interface, a 5-input channel 8-bit A/D conversion module, and provides 12 interrupt sources.

    1.2 Temperature measurement circuit part

    The temperature sensing element of this circuit uses a resistance temperature detector (RTD). The resistance value RT and temperature T have the following corresponding relationship: RT=R0(1+AT+BT2-100CT3+CT4) where: R0 is the resistance value at 0℃, and A, B, and C are all constants. Honeywell's HEL-700 platinum RTDs are used in this system.

    The circuit design is shown in Figure 2. V0 is the output voltage, and RT is the resistance at temperature T. Then: V0=[(1+RT/1000)-1]*10/10=0.001RT. According to the voltage value output by the circuit in Figure 2 and the above formula, the RT value at this time is calculated, and the temperature value at the measuring point is obtained through the known resistance/temperature relationship of the RTD. It is also possible to achieve a one-to-one correspondence between the output voltage value and the temperature value at the measuring point by connecting a differential input proportional operation circuit after the output voltage V0. After that, it can be directly connected to an analog input of the microcontroller.

7

    1.3 Pressure measurement circuit part

The circuit of the pressure measurement part is shown in Figure 3. The pressure sensor     used in this system is the SCC series product of Honeywell . The pressure sensor plays the role of a Wheatstone bridge and can provide a stable temperature output when driven by a constant current source. In Figure 3, the circuit in front of the SCC provides a constant current source; in the circuit behind, U3, U4, U5, and U6 are all integrated operational amplifiers. Using U3 and U4 as followers can play an isolation role to prevent the signal in the rear circuit from affecting the front circuit. R3 is a potentiometer. Adjusting it can calibrate the bias of the pressure sensor, and adjusting R7 can change the amplification factor of the voltage output by the pressure sensor.

6


    1.4 Heating circuit

    The heating component of this system uses a heating wire, and the change of heating power is achieved by controlling the on and off of the thyristor. Figure 4 is a bidirectional thyristor type trigger circuit.

     

5



    MOC3021 is a bidirectional thyristor output type photocoupler, which is used to isolate the microcontroller system and trigger the external bidirectional thyristor. When the microcontroller outputs a high level , there is current input to the input end of MOC3021 , the bidirectional thyristor at the output end is turned on, and the external bidirectional thyristor KS is triggered to turn on. The time of outputting a high level is the width of the trigger pulse.

    This system achieves high-temperature and high-pressure steam by heating the furnace wall. This process is a nonlinear and time-varying process, so fuzzy control technology is used to control this system.

    In order to overcome the shortcomings of large amount of calculation and time consumption, fuzzy controller is implemented by table lookup method in practical application.

    The specific method is: first, a fuzzy control table is obtained through offline calculation, and then the control index is stored in the computer memory. In the control process, the pressure deviation value Pi and the temperature deviation value Ti are obtained according to the sampling, and they are multiplied by the quantization factors k1 and k2 respectively, and the domains Xi and Yj are obtained after quantization, and the control quantity Uij, which is also expressed in the form of the domain, is found from the Ith row and the Jth column of the control table, and the control quantity U is multiplied by the corresponding proportional factor k3 to obtain the control quantity U, which can be used for the controlled process to achieve the expected control purpose. The system structure composed of this fuzzy controller is shown in Figure 5.

7

    The key to fuzzy controller design is to obtain the fuzzy control table. The specific design method is as follows:

    (1) Input and output variables of fuzzy controller

    The deviation T between the actual temperature and the given temperature and the deviation P between the actual pressure and the given pressure are determined as input variables, and the time when an I/O port of the microcontroller that controls the current of the heating device outputs a high level in a single sampling cycle is used as the output variable. The fuzzy controller designed in this way has two inputs and one output.

    (2) Determine the range of input and output and the domain elements and quantization factors of the corresponding language variables. The actual range of input and output of the system, P, T, and U, is set according to the actual situation of the system. The element integer domain and its range can be set as needed. In this system, since overshoot of temperature and pressure is not allowed, and the temperature value is always changing in the direction close to the set value, T and P are both negative values. Therefore, the element integer domain range of P and T can be set as follows:

6

        (3) Conversion from exact quantity to element integer domain

    According to the obtained precise values ​​of temperature deviation T and pressure deviation P, they are multiplied by corresponding quantization factors k1 and k2 respectively, and corresponded to integer points on the element integer domain.


    (4) Establishment of fuzzy control rule table

    There are many ways to determine fuzzy control rules: 1) Generate rules based on expert experience or process control knowledge; 2) Generate control rules based on the fuzzy model of the process; 3) Generate control rules based on systematic observation and measurement of manual control operations; 4) Generate control rules based on learning algorithms. In this system, fuzzy control rules are established based on expert experience.

    (5) Precision of fuzzy quantity

 

    The output obtained by the fuzzy control rule table is a fuzzy quantity. It must be refined before it can be used to control the object. This process is called refinement, also known as defuzzification or fuzzy judgment. Commonly used methods include the centroid method, the median method, and the maximum membership method. In this system, the maximum membership method is used for fuzzy judgment.

    Finally, a query table can be created, and the output control quantity can be directly obtained by querying this table according to the quantized pressure deviation value and temperature deviation value. The table is stored in the RAM of the microcontroller , and the table is directly queried during program operation to obtain Uij, and then the heater conduction time in a single sampling cycle is obtained through defuzzification, thereby realizing the control of the heating amount.

    There are two work processes to choose from in this system, one is 1.2×105Pa (corresponding to steam temperature 121℃), and the other is 2.0×105Pa (corresponding to steam temperature 134℃). The temperature sensing element RTD is placed at a certain position on the outer wall of the container. During the heating process, the wall temperature should be limited to below a certain temperature T1, because the heat radiation generated by excessively high wall temperature will have a greater impact on the sterilized items in the container.

    At the beginning of the working process, the program only controls the temperature. As long as the wall temperature does not exceed a certain set temperature, the heating element will heat at maximum power. When the temperature exceeds the set temperature, it will enter the fuzzy control stage.

    The initialization of the microcontroller mainly includes the input and output settings of the I/O port, the selection of the analog input channel and the selection of the timer.

    The program flow is shown in Figure 6.

     

5


Reference address:A control scheme for steam pressure and furnace wall temperature in a closed container based on a single chip microcomputer

Previous article:Implementation of intelligent control of aromatherapy beauty steam bath room based on PIC16F877
Next article:Application of PIC16LF874 microcontroller in capacitance measurement module

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号