教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 精品文档 > 法律文档 >

全自动冷饮机控制器外文资料翻译(4)

来源:网络收集 时间:2026-09-05
导读: Figure 4 shows a second-order lumped-element thermal model of the slide dryer. The state variables are the temperatures Ta of the air in the box and Tb of the box itself. The inputs to the system are

Figure 4 shows a second-order lumped-element thermal model of the slide dryer. The state variables are the temperatures Ta of the air in the box and Tb of the box itself. The inputs to the system are the power output q(t) of the heater and the ambient temperature T∞. ma and mb are the masses of the air and the box, respectively, and Ca and Cb their specific heats.μ1 and μ2 are heat transfer coefficients from the air to the box and from the box to the external world, respectively.

It’s not hard to show that the (linearized) state equations corresponding to Figure 4 are

Taking Laplace transforms of (1) and (2) and solving for Ta(s), which is the output of interest, gives the following open-loop model of the thermal system:

Where K is a constant and ?(s) is a second-order polynomial. K, τz, and the coefficients of ?(s) are functions of the various parameters appearing in (1) and (2).

Of course the various parameters in (1) and (2) are completely unknown, but it’s not hard to show that, regardless of their values,?(s) has two real zeros. Therefore the main transfer function of interest (which is the one from Q(s),since we’ll assume constant ambient temperature) can be written

Moreover, it’s not too hard to show that 1/τp1<1/τz<1/τp2, i.e., that the zero lies between the two poles. Both of these are excellent exercises for the student, and the result is the open-loop pole-zero diagram of Figure 5.

Obtaining a complete thermal model, then, is reduced to identifying the constant K and the three unknown time constants in (3). Four unknown parameters is quite a few, but simple experiments show that 1/τp1≤1/τz,1/τ 2 so that τz,τp2≈0 are good approximations. Thus the open-loop system is essentially first-order and can therefore be written

Gaq(s)=

(4)

(where the subscriptp1 has been dropped).

Simple open-loop step response experiments show that, for a wide range of initial temperatures and heat inputs, K≈0.14°/ W and τ ≈295s.1

4.2 Control System Design

Using the first-order model of (4) for the open-loop transfer function Gaq(s) and assuming for the moment that linear control of the heater power output q(t)is possible, the block diagram of Figure 6 represents the closed-loop system. Td(s) is the desired, or set-point, temperature, C(s) is the compensator transfer function, and Q(s) is the heater output in watts.

Of course the system is not actually linear, so the apparent parameter values vary with initial conditions and input magnitude. The effect on closed loop performance is not too serious, but it gives the student a good idea of what nonlinearity means and how feedback tends to mitigate its effects.

1

Given this simple situation, introductory linear control design tools such as the root locus method can be used to arrive at a C(s) which meets the step response requirements on rise time, steady-state error, and overshoot specified in Table 1. The upshot, of course, is that a proportional controller with sufficient gain can meet all specifications. Overshoot is impossible, and increasing gains decreases both steady-state error and rise time.

Unfortunately, sufficient gain to meet the specifications may require larger heat

outputs than the heater is capable of producing. This was indeed the case for this system, and the result is that the rise time specification cannot be met. It is quite revealing to the student how useful such an oversimplified model, carefully arrived at, can be in determining overall performance limitations.

4.3 Simulation Model

Gross performance and its limitations can be determined using the simplified model of Figure 6, but there are a number of other aspects of the closed-loop system whose effects on performance are not so simply modeled. Chief among these are

● quantization error in analog-to-digital conversion of the measured temperature and ● the use of PWM to control the heater.

Both of these are nonlinear and time-varying effects, and the only practical way to study them is through simulation (or experiment, of course).

Figure 7 shows a SimulinkTM block diagram of the closed-loop system which incorporates these effects. A/D converter quantization and saturation are modeled using standard Simulink quantizer and saturation blocks. Modeling PWM is more complicated and requires a custom S-function to represent it.

This simulation model has proven particularly useful in gauging the effects of varying the basic PWM parameters and hence selecting them appropriately. (I.e., the longer the period, the larger the temperature error PWM introduces. On the other hand, a long period is desirable to avoid excessive relay ―chatter,‖ among other things.) PWM is often difficult for students to grasp, and the simulation model allows an exploration of its operation and effects which is quite revealing.

4.4 The Microcontroller

Simple closed-loop control, keypad reading, and display control are some of the classic applications of microcontrollers, and this project incorporates all three. It is therefore an excellent all-around exercise in microcontroller applications.

In addition, because the project is to produce an actual packaged prototype, it won’t do to use a simple evaluation board with the I/O pins jumpered to the target system. Instead, it’s necessary to develop a complete embedded application. This entails the choice of an appropriate part from the broad range offered in a typical microcontroller family and learning to use a fairly sophisticated development environment. Finally, a custom printed-circuit board for the microcontroller and peripherals must be designed and fabricated.

Microcontroller Se …… 此处隐藏:9450字,全部文档内容请下载后查看。喜欢就下载吧 ……

全自动冷饮机控制器外文资料翻译(4).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wendang/436161.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)