Tuesday, January 28, 2020

Carrying out an open-loop step response on the process trainer pt326

Carrying out an open-loop step response on the process trainer pt326 INTRODUCTION: The control systems are based up on the behaviour of the dynamics systems and it is also a branch of the engineering and mathematical model of the process. The desired output of the system is called as reference. A controller is device which observes and outcome the changes in the output that are affected by the input variables. And it is also used to operate the input variables to a system to achieve the desired result on the output of the system. It is very simple and flexible to solve using the mathematical model. In control system design, we have a concept of feedback control system. The main concept of this feedback loop is to control the system performance and it is a negative feedback because the sensed value is subtracted from the desired value to produce the error signal which is amplified by the controller. To avoid the problem of the open-loop control system, the control system initiated the feedback loop. Where as in closed loop system, the control system uses the feedba ck to control the output of the process. One of the most widely used controllers in the design of continuous data control system is the PID controller, where PID stands for the proportional plus integral and derivative control. The PID controller is mostly used in the feedback control design. The controller is used for the operation of the error signal to produce the control signal. Proportional (P) control: This is the one type of action performed and used in the PID controllers is the proportional control. It is the simplest form of continuous control system that can be used in the closed loop system. Proportional control is used to minimize the fluctuation in the process, but it does not allow to bring back to the required set point. P-only controller provides the faster response than other controllers. The system first allows the P-only controller in order to get the system a few seconds/minutes faster. The main advantage of the P-only controller is the faster response time, it produces the deviation from the set point and this deviation is called offset. Mathematical Equations: P-only controller linearly correlates the controller output (actuating signal) to the error (difference between measured signal and set point). In the mathematical form, the p-controller is given below Y(t) = Kc e(t) + b Where Y(t)= controller output Kc = controller gain e(t)= error b= bias In the above equation the controller gain and bias are constant to each controller. The controller gain is the change in the controller output per change in the controller input. Bias is simply a controller output, when the error is zero. In the PID controller, when the signals are transmitted then the controller gain relates the changes in the output voltage to the changes in the input voltage. Thus, the gain ultimately changes in the input and output properties. If the controller output changes more than the input, Kc is greater than one. If the change in the input is greater the controller output, Kc is less than one. Ideally, Kc is equal to infinity then the error will be reduced to zero. Exact equalities cannot be achieved in the control logic. In this, the error will be allowed up to certain range of the system. Integral (I) Control: This is another type of action performed in the PID controllers is the integral control. Integral control is the second form of feedback control system. It is obtained used to remove the deviations that may exit. Thus the system moves to the steady state and original settings. A positive error will cause the signal to be increase and whereas a negative error will cause the signal to be decrease the system. However, I-only controller is much slower in response time than the P-controller. Thus, the slower response time will be reduced by combining with another form such as P or PD controller. It is often used to measure the required variables to remain within a narrow range and also require a fine tuning control. Mathematical Equations I-controller correlates the controller output to the integral of error. The integral of error is taken with respect to time within a specified interval. In the mathematical form, the I-controller equation can be represented as Where C(t)= controller output Ti = integral time e(t)= error c(t0)= controller output before integration. Derivative (D) Control: This is another type of action performed in the PID controllers is the derivative control. I-control and D-control are a form of a feed forward control. D-control anticipates the process conditions by analyzing the change in error. It main function is to minimize the change in error, thus keeping the system in a consistent setting. The main benefits of the D-controller is to resist change in system, the most important of these being is oscillations. PI-controllers: PI-controller is a combination of both proportional plus integral controller. This is the feedback controller which drives the process/plant to be controlled with sum of error and also the integral of that value. In PID controllers, we have not yet used the D-controller (D=kd=0). The basic block diagram of the PI controller is shown below, The controller output for the above closed loop system is Where ÃŽ is the error of actual measured value from the desired set point. ÃŽ = SP PV. The main advantage of the PI controller; the integral terms in the PI controller causes the steady state error to be zero for a ramp input. The main disadvantes of using with the PI controller is the phase lag. This means that the phase margin decreases. Required Apparatus: The report of this experiment is carried out on the Feedback Process Trainer, PT326. The design of the control system consist of a computer ,A/D and D/A converters, and a printer used to provide the copies of the response system. The networked PCs used to obtain the system design using the nyquist simulation method employing the design and simulation program CODAS. Explanation of PT326: According to the industrial situation, the PT326 process trainer model is commonly used. This situation appears when the temperature control is required in the presence of transport delay and transfer lags. In this PT 326 process trainer, the trainer involves air that is strained from the atmosphere through a centrifugal blower and it is heated and passed over the heater through duct before it is being heated. The objective of the control is to sustain the temperature of the air at the required level. The temperature control can be achieved by varying the electrical power supplied to the heater grid. By using the bead thermistor which is placed in the flow at any three position along the duct, the air temperature may be sensed. The process trainer introduces the transport delay in the system which is located between the thermistor and heat coil. By setting the opening of the throttle, the mass flow of the air can be adjusted through the duct. The temperature sensors can be placed at any three of the position in the duct, so that these sensors can acts as a detector. The variation in the resistance of the temperature sensor is converted to the voltage variation through the bridge circui t and is available at terminal Y. The output of the temperature sensor can be used as feedback for connecting the terminal X and Y. The required temperature can be indicated by adjusting the knob label set value. In additionally, the set value can change the step by using the command throwing the switch as internal. An external referrence input can also be provided using the label as external. The difference between referrence input set value and feedback signal is availabel at terminal B and can be supplied to the heater power supply so that the gain can be adjusted by using the prportional band. To select a continuous control, the signal at A can be send directly to the heater power supply by using the switch s. The switch s can be alternatively used as on-off controller as well as it is used to select the two step control. This on-off control command reponds to the maximum heater power when on and for the zero heater power it is off. The hysterisis is an on-off controller which can be adjusted by the knob label as overlap. The maximum heater supply can be adjusted using the knob label as max heater power. The process may be seen to comprise a simple blower in which air is drawn from the atmosphere, blown past a heater grid and along a tube having a provision for several temperature to pick up. The purpose of the control system is to maintain the temperature of the air flowing in the tubeat some required set point. The output of the process is a temperature which is measured by the use f the thermistor bead transducer and bridge circuit. Procedure: In the set of experiments of the PT326 process trainer, a personal computer acts as a contoller. Three controller are going to be investigated, a) Proportional control b) Integral control c) Proportional plus integral control. The final experiment make use of the analytical control system to show how the control theory can be used to calculate the behaviour of the control system. a) Proportional control: Using the computer program go into the controller setting menu. Set the controller to be a proportional only type i.e set the kp= 0.1, ki= 0, kd= 0. On the process trainer, adjust the throttle to 25o and place the sensor in the position away from the heater. Vary the proportional gain and plot the graph of the steady state error against the proportional gain. Choose the value of gain we think for the best response and obtain the screen dump to get a copy from the printer. Finally, indicate on graph the onset of instability. b) Integral control: Using the computer program go into the controller setting menu. Set the controller to be a integral only i.e set the kp= 0, ki=0.1, kd=0. On the process trainer leave the throttle at 25o and kep the sensor in the position away from the heater. Vary the integral gain and plot a graph of steady state error against the integral gain. Choose a value of gain that gives the best response of the system and obtain the screen dump. Finally, indicate on the graph the onset of instability. c) Proportional-plus-Integral control: Using the computer program go into the controller setting menu. Set the controller to be proportional-plus-integral type i.e set the kp=0.1, ki=0.1, kd=0. On the process trainer leave the throttle at 25o, and keep the sensor in the position away from the heater. Vary the proportional and integral gains until we get the best response from the system and obtain the screen dump. d) Open-loop step response: Using the computer program PRESS o this will put the system under the open loop control. The programme will then automatically carry out an open loop step response. Obtain a screen dump for the open loop step response. From the loop step response it is possible to calculate the transfer function of the process trainer. The tranfer function has the form: Where K is the open loop D.C gain of the system and Td is the pure time delay present in the system and Tp is the time constsnt for the system. It is possible to measure these values directly from the open loop step response. The steady state error for the control system can be derived as : Steady state error = V/(1+kp k) e) After obtaining the open loop step response values like K, Tp, Td, e and R from the graph. Place the values of K,Tp and Td in MATLAB simulink. To simulate the plant only in open loop in CODAS. Compare the time response with the actual plant open-loop response. f) Introduce the controller into the simulation and in frequency domain, adjust proportional gain to give the gain margin of 2 i.e., Nyquist plot (controller plus plant, open-loop) cuts the real axis at -0.5. observe the corresponding time response(controller plus plant, closed loop in time domain). g) Following the Nyquist method (f), introduce an integral control term and observe the time response. h) Keeping the proportional plus integral control established in (g), adjust the overall gain(k) to give gain margin of 4,2,1.333,1 and 0.8 (corrresponding to the Nyquist plot cutting the real axis at -0.25, -0.5, -0.75, -1.0 and -1.25 respectively). Comparing the corresponding time responses on the same graph. i) Now,changing the overall gain back to 1 and substituting the proportional and integral gains as calculated using the (i) ziegler-Nichols and (ii) cohen and coon formulas. And comparing the time responses for the three methods (Nyquist,Ziegler-Nicholos and cohen and coon) on the same graph. j) Moving back to the industrial trainer, and substituting the PI gains that where obtained using the Nyquist method and observe the closed loop response. And finding to get fine tune PI gain to improve the performance of the system. MATLAB CODE (CODAS Program): The diagram represents the open loop step response of the system is The code for the plotting of the open loop step response of the sytem is hold on xlabel(Time) ylabel(Input (red), Output (green)) title(System response to a step input) plot(t,x,r) plot(t,y,g) grid on The code for the plotting of the closed loop step response of the system is hold on axis([0.0 10.0 -10.0 2900.0]) xlabel(Time) ylabel(Desired Output (blue), Actual Outputs) title(System responses to a step input) plot(t,x,k) plot(t,y,b) grid on The code for the nyquist process trainer in the nyquist plot for the closed loop response of the system is % Plant : Gp(s)=K*exp(-Td*s)/(1+Tp*s) % K=1.266; % DC Gain Td=0.35; % Time Delay Tp=0.729; % Time Constant % num_p=K; den_p=[Tp 1]; disp(Plant Transfer Function : ) plant_tf=tf(num_p, den_p,InputDelay,Td) % % Compensator: Gc(s)=Km*(Kp+(Ki/s)+Kd*s) = Km*(Kd*s^2+Kp*s+Ki)/s % disp(Km :) %Km=1.0 Km=2.0/(2) %Km=1.0 % Multiplier Kp=2.1397; % Proportional Gain Ki=0.857; % Integral Gain Kd=0.0; % Derivative Gain % num_c=Km*[Kd Kp Ki]; den_c=[1 0]; disp(Compensator Transfer Function : ) comp_tf=tf(num_c,den_c) % OL_tf=comp_tf*plant_tf % %Gain and Phase Margins % [Gm,Pm,Wcg,Wcp]=margin(OL_tf); disp(Gain Margin: ); Gm disp(Phase Margin: ); Pm % % Nyquist plot of OL TF for 0.2

Sunday, January 19, 2020

Uniforms of the British Army 1812-1815 :: Military Uniform Clothing

Uniforms of the British Army 1812-1815 Major General of Infantry Since my character was Major O'Dowd I decided to do my presentation on the uniforms not only of the Major, but also the men that were in his regiment including Captain Dobbin, George Osbourne and Captain Rawdon. When Major O'Dowd headed off for the Battle of Waterloo outside of Brussels he was most likely outfitted in something along these lines; a Red jacket lined with white. It had a royal blue collar patch and cuffs, golden buttons, shoulder epaulettes, shoulder cords, trimming and piping. He wore a black stock and white collar band with white enamel crossed with a red center. This same cross on the collar band would also be found on his breast. Next came a crimson sash, white waist belt and slings. A gentleman of his position would wear white gloves, gray trousers with a golden side stripe and black shoes. Major O'Dowd would have carried a steel sword and a scabbard with mother of pearls embedded in the grip, a golden guard and a sword knot. He wore a black cocked hat with silver lace, golden tassels and a white and red plume. This was noted as the correct outfit for a major general of infantry. This link will also show you an exact replica of an 1812 ' 1815 'Waterloo' Shako Plate. Please make reference to the codes, charts and tables that I have handed out to determine exactly what each regiment including the cavalry, dragoon guards, hussars, staff, footmen and engineers wore (Smith). Soldiers and Officers of the Guards This costume would most likely have been more customary for our younger men to wear, I.E. Captain Dobbin, George and Captain/Colonel Rawdon. This link is the closest I can find to what the uniform might have looked like, but it is not perfect. This uniform is more precisely defined as having a black cocked hat with a black cockade, golden border lace, tassels loop and button and white plume with crimson base. The jacket was scarlet with white lining, collar, lapels and cuffs; golden lace and buttons. They wore a white stock, breeches, gaiters and gloves, a crimson sash, black shoes and a black sword scabbard with a golden point. The colors (royal colors) have a brown staff with a golden spearhead. The colors properly are the Union, having golden trimming and writing in the center and on the arms of the cross. Uniforms of the British Army 1812-1815 :: Military Uniform Clothing Uniforms of the British Army 1812-1815 Major General of Infantry Since my character was Major O'Dowd I decided to do my presentation on the uniforms not only of the Major, but also the men that were in his regiment including Captain Dobbin, George Osbourne and Captain Rawdon. When Major O'Dowd headed off for the Battle of Waterloo outside of Brussels he was most likely outfitted in something along these lines; a Red jacket lined with white. It had a royal blue collar patch and cuffs, golden buttons, shoulder epaulettes, shoulder cords, trimming and piping. He wore a black stock and white collar band with white enamel crossed with a red center. This same cross on the collar band would also be found on his breast. Next came a crimson sash, white waist belt and slings. A gentleman of his position would wear white gloves, gray trousers with a golden side stripe and black shoes. Major O'Dowd would have carried a steel sword and a scabbard with mother of pearls embedded in the grip, a golden guard and a sword knot. He wore a black cocked hat with silver lace, golden tassels and a white and red plume. This was noted as the correct outfit for a major general of infantry. This link will also show you an exact replica of an 1812 ' 1815 'Waterloo' Shako Plate. Please make reference to the codes, charts and tables that I have handed out to determine exactly what each regiment including the cavalry, dragoon guards, hussars, staff, footmen and engineers wore (Smith). Soldiers and Officers of the Guards This costume would most likely have been more customary for our younger men to wear, I.E. Captain Dobbin, George and Captain/Colonel Rawdon. This link is the closest I can find to what the uniform might have looked like, but it is not perfect. This uniform is more precisely defined as having a black cocked hat with a black cockade, golden border lace, tassels loop and button and white plume with crimson base. The jacket was scarlet with white lining, collar, lapels and cuffs; golden lace and buttons. They wore a white stock, breeches, gaiters and gloves, a crimson sash, black shoes and a black sword scabbard with a golden point. The colors (royal colors) have a brown staff with a golden spearhead. The colors properly are the Union, having golden trimming and writing in the center and on the arms of the cross.

Saturday, January 11, 2020

New Land Essay

When Europeans settled in the â€Å"New Land†, they had hard time adapting living with the Indians. However, the Indians feared what Europeans brought such as weapons. There was a huge difference between the tribes’ weaponry and the European because of their powerful advances with the most progressive rifles. The flintlock rifle was a new weapon that the Indians had managed to use, which proved to be â€Å"too heavy, cumbersome, and inaccurate to be useful in the kind of combat characteristic of Anglo-Indian struggles† (Brinkley 50). Later on they wanted the Europeans to behave as â€Å"fathers† to help them in their disputes and conflicts (Brinkley 60). Progressively, Europeans learned to fulfill some of their expectations. The Indians didn’t understand the meaning of the relationships between societies, furthermore Europeans â€Å"thought much more in terms of ceremony and kinship† (Brinkley 60). The Indians were quite satisfied to form closer relationships and doing marriage ceremonies. After 1776, the balance of power between Europeans and Natives Americans loosened because of the presence of British and American (Brinkley 61). It began to weaken the strength of their relationship because it was difficult for the newer settlers to give gifts to them and the mediations (Brinkley 61). The â€Å"middle grounds† were destroyed replacing other constructed buildings by the Europeans. It created other conflicts that led to once again difficult to adapt. It seemed that both Native Americans and early Euro-Americans had a love-hate relationship that made their relationship so hard to establish peace and conformity. At the beginning the tribes were afraid of the advances Europeans had with their weapons, but they had the chance to be taught by them on how to use the weapons. By the time Europeans were trying to gain trust to them, Indians were in the need to be protected and to form new relationships. Thus far, they both ended up having issues one more time because Europeans were ambition to acquire more land in Tribal territory.

Friday, January 3, 2020

What Is the Definition of Capitalism

Capitalism is an economic system that emerged in Europe during the 16th and 17th centuries in which private companies, rather than the state, control trade and industry. Capitalism is organized around the concept of capital (the ownership and control of the means of production by those who employ workers to produce goods and services). In practical terms, this creates an economy built on the competition between private businesses that seek to make a profit and grow. Private property and ownership of resources are key aspects of a capitalist economy. Within this system, private persons or corporations (known as capitalists) own and control the mechanisms of trade and the means of production (the factories, machines, materials, etc., required for production). In pure capitalism, businesses compete to produce increasingly better products, and their competition for the greatest share of the market serves to keep prices from climbing. At the other end of the system are workers, who sell their labor to capitalists in exchange for wages. Within capitalism, labor is bought and sold like a commodity, making workers interchangeable. Also fundamental to this system is the exploitation of labor. This means, in the most basic sense, that those who own the means of production extract more value from those who labor than what they pay for that labor (this is the essence of profit in capitalism). Capitalism Versus Free Enterprise While many people use the term capitalism to refer to free enterprise, the word has a more nuanced definition within the field of sociology. Social scientists view capitalism not as a distinct or detached entity but as a part of the greater social system, one that directly influences culture,  ideology  (how people see the world and understand their position in it), values, beliefs, norms, relationships between people, social institutions, and political and legal structures. The most important theorist to analyze capitalism remains Karl Marx (1818–1883), the 19th-century German philosopher whose economic theories were expounded in the multivolume Das Kapital and in The Communist Manifesto (co-written with Friedrich Engels, 1820–1895). Marx developed the theoretical concepts of base and superstructure, which describe the reciprocal relationship between the means of production (tools, machines, factories, and land), the relations of production (private property, capital, and commodities), and the cultural forces that work to maintain capitalism (politics, law, culture, and religion). In Marxs view, these various elements are inextricable from each other. In other words, it is impossible to examine any single element—culture, for example—without considering its context within the larger capitalist structure. Components of Capitalism The capitalist system has several core components: Private property. Capitalism is built on the free exchange of labor and goods, which would be impossible in a society that did not guarantee the right of anyone to own private property. Property rights also encourage capitalists to maximize the use of their resources, which in turn promotes competition in the marketplace.Profit motive. One of the central ideas of capitalism is that businesses exist to make money or turn a profit that increases the wealth of the owners. To do this, businesses work to minimize capital and production costs and maximize the sale of their goods. Free-market advocates believe that the profit motive leads to the best allocation of resources.Market competition. In a purely capitalist economy (as opposed to a command economy or a mixed economy), private businesses compete with each other to provide goods and services. This competition is believed to encourage business owners to create innovative products and to sell them at competitive prices.Wage labor. Unde r capitalism, the means of production are controlled by a relatively small group of people. Those without these resources have nothing to offer but their own time and labor. As a result, capitalist societies are defined by having a significantly higher percentage of wage laborers compared to owners. Socialism vs. Capitalism Capitalism has been the dominant economic system in the world for several hundred years. A competing economic system is socialism, in which the means of production are controlled by the community as a whole, usually through a democratic process. Advocates of socialism believe that this model, by replacing private ownership with cooperative ownership, promotes a more equitable distribution of resources and wealth. One way such distribution is accomplished is through mechanisms such as a social dividend, a return on capital investment that is paid out to all members of society rather than a select group of shareholders. Sources and Further Reading Esping-Andersen, Gosta. The Three Worlds of Welfare Capitalism. Princeton NJ: Princeton University Press, 1990.Friedman, Milton. Capitalism and Freedom, Fortieth Anniversary Edition. Chicago: University of Chicago Press, 2002 (1962).  Marx, Karl. Capital: A Critique of Political Economy. Trans. Moore, Samuel, Edward Aveling and Friedrich Engels. Marxists.org, 2015 (1867).Marx, Karl, and Friedrich Engels. The Communist Manifesto. Trans. Moore, Samuel and Friedrich Engels. Marxists.org, 2000 (1848).  Schumpeter, Joseph A. Capitalism, Socialism and Democracy. London: Routledge, 2010 (1942).