We use cookies to give you the best experience possible. By continuing we’ll assume you’re on board with our cookie policy

Check Writers' Offers

What's Your Topic?

Hire a Professional Writer Now

The input space is limited by 250 symbols

What's Your Deadline?

Choose 3 Hours or More.
Back
2/4 steps

How Many Pages?

Back
3/4 steps

Sign Up and Get Writers' Offers

"You must agree to out terms of services and privacy policy"
Back
Get Offer

Real Time Control System Digital Control System Computer Science Essay

Paper type: Essay
Pages: 14 (3261 words)
Categories: Computer, Essay, Science, Time
Downloads: 32
Views: 8

In real-time control system, digital control system plays the chief function in the industrial environment. The digital control systems act as a digital computing machine in order to reassign the informations and besides it acts as a system accountant. In the feedback of the control system, the digital computing machine can be used to function as a accountant or compensator. For the public presentation of the control system, the informations can be transferred in a peculiar interval to the computing machine.

In the computing machine system the informations can be transferred in the signifier of binary variables. The informations that can be transferred to the digital computing machine is in the signifier discrete system. The distinct system is the series of signals per clip and these clip series is called sampled signals. And that can be transferred to the s-domain and, finally to the Z-domain by the relation Z= esT that means the Laplace transform is converted into the Z-transform.

A digital computing machine can function the compensator for the feedback of the control system.

The digital control is a finite for the demand to guarantee the mistake in coefficient like A/D and D/A converter and so on. To analyse the stableness and transeunt response of the system, the transportation map of Z-transform may be used. The digital control can besides use the root venue method in order to happen out the roots of the features equation. For a series of undertaking the digital control system can be used. The chief advantages of the digital control system as accountant device are

a ) Flexibility and Dependability

B ) Cheap

degree Celsius ) Adaptive

vitamin D ) Inactive operation

vitamin E ) Speed and low cost

degree Fahrenheit ) Accuracy.

The digital control system performs the end product operation in digital signifier and receives the mistake in the signifier of digital. Many computing machine are used to pull strings and able to have the several inputs. The measuring of the signal from the input are converted from parallel to digital in the signifier A/D converter and direct it to the computing machine and after treating the input, the digital computing machine consequences the end product in the signifier of digital signifier. The digital computing machine consists of cardinal treating unit ( CPU ) , input-output units and memory unit.

In the PID accountant, the feedback control system has come from the additive system. The intent of the digital control system is to demo how to work with distinct maps either with the province infinite signifier or in the signifier of the transportation map.

Purpose:

The purpose of this experiment is to show all the features of the digital control system that are implemented utilizing digital computing machines. In order to accomplish the personal computing machine will be connected to a DC servo mechanism by the manner of digital to analogue and an parallel to digital card. The consequences of the digital control system are different from the linear opposite number in many ways. The chief points are:

a ) The equation explains the system behavior of the difference equations and non the differential equations.

B ) The analysis is carried out in the ‘z ‘ sphere and non the ‘s ‘ sphere.

degree Celsius ) The stableness part is inside the unit disc, and non the left half s-plane.

vitamin D ) The accountants are described by the difference equations.

vitamin E ) A digital control system has an added design variable called the sampling clip.

degree Fahrenheit ) The end product from the digital accountant is held changeless over the sampling clip.

The public presentation of the system decreases by increasing the sampling clip.

Aim:

The aims of the experiment are:

a ) Obtain a uninterrupted clip transportation map of the DC servo.

B ) Convert the transportation map in to distinct clip signifier.

degree Celsius ) Design a digital proportional control system utilizing the root loci design technique, for a addition border of four.

vitamin D ) Investigate through simulation, the consequence of the sampling clip on control system behavior.

vitamin E ) Implement the digital accountant and comparison with the fake consequences.

degree Fahrenheit ) Design a digital relative plus derivative accountant utilizing the transient response tuning technique, for a good transient.

g ) Implement the digital accountant and comparison with the fake consequences.

Theory:

In the digital control system, fundamentally we have a procedure that is obtained in the system which is used to command the end product response of the system. The closed cringle system is designed from the end product to the mention input so that the mistake is obtained between the two signals. The technique for the transition of the uninterrupted province equations to the distinct province equations can be utilized in the distinct province theoretical account for the closed cringle control system.

For the transition of g ( s ) to g ( omega ) , the undermentioned stairss to be proceed,

a ) Taking the transportation map of the g ( s ) .

B ) And change over the transportation map in to the province infinite equation with the province infinite expression,

Where

‘A ‘ is the matrix of the transportation map which is obtained from the given map g ( s ) .

‘B ‘ is the partial derived function of the transportation map g ( s ) .

‘C ‘ is the which is taken as [ 1 1 ] .

degree Celsius ) After obtaining the province infinite equations find out the values of A, B, C. And take the sampling clip which is given.

vitamin D ) Now convert the differential equation g ( s ) of the transportation map into the distinct transportation map g ( omega ) with the expression of Z= Eastern Time.

vitamin E ) The distinct transportation map expression g ( omega ) is

Where and

Contruction of the Root locii:

The root venue is the venue of the roots of the features equation of the closed cringle system. By utilizing the root venue method, the design can effects on the location of the closed-loop poles of changing the addition value or adding the unfastened cringle poles/zeros. To ease the application of the root venue method for the systems of higher order than 2nd regulations can be established.

For the closed cringle transportation map, the cringle addition that is obtained is in the interval from 0 to infinty whn the roots are obtained from the transportation map. The root venue is a procedure, which is used for the stableness and transeunt response of the system. It may besides used to cipher the damping ratio and besides undamped natural frequence.

For the stableness of the digital closed cringle transportation map can be examined by utilizing the Jury ‘s standards. For the stableness of the closed cringle transportation map can be varied within the interval of ( -1,1 ) from the s-plane to z-plane. For a system to be stable, the poles or nothings should lie within the unit circle. And if the poles/zeros lies outside the unit circle so the system is said to be unstable.

Ten represents the pole which is located inside the unit circle.

O represents the nothing which is located inside the unit circle.

Digital PID accountant:

One of the most widely used accountants in the design of uninterrupted informations control systems is the PID accountant, where PID stands for proportional-integral and derivative control.

The relative accountant merely multiples the mistake signal by changeless Kp.

The built-in accountant multiplies the built-in of vitamin E ( T ) by changeless Ki. And the derivative accountant generates a signal which is relative to the time-derivative of the mistake signal.

The PID accountant is largely used in the feedback control design. The accountant is used for the operation of the mistake signal to bring forth the control signal.

Proportional ( P ) control:

This is the one type of action performed and used in the PID accountants is the relative control. It is the simplest signifier of uninterrupted control system that can be used in the closed cringle system. Proportional control is used to minimise the fluctuation in the procedure, but it does non let to convey back to the needed set point. P-only accountant provides the faster response than other accountants. The system first allows the P-only accountant in order to acquire the system a few seconds/minutes faster. The chief advantage of the P-only accountant is the faster response clip, it produces the divergence from the set point and this divergence is called beginning.

Mathematical Equations:

P-only accountant linearly correlates the accountant end product ( triping signal ) to the mistake ( difference between measured signal and put point ) . In the mathematical signifier, the p-controller is given below

Y ( T ) = Kc vitamin E ( T ) + B

Where

Y ( T ) = accountant end product

Kc = accountant addition

vitamin E ( T ) = mistake

b= prejudice

In the above equation the accountant addition and prejudice are changeless to each accountant. The accountant addition is the alteration in the accountant end product per alteration in the accountant input. Bias is merely a accountant end product, when the mistake is zero. In the PID accountant, when the signals are transmitted so the accountant addition relates the alterations in the end product electromotive force to the alterations in the input electromotive force. Therefore, the addition finally changes in the input and end product belongingss. If the accountant end product alterations more than the input, Kc is greater than one.

If the alteration in the input is greater the accountant end product, Kc is less than one. Ideally, Kc is equal to eternity so the mistake will be reduced to zero. Exact equalities can non be achieved in the control logic. In this, the mistake will be allowed up to certain scope of the system.

Integral ( I ) Control:

This is another type of action performed in the PID accountants is the built-in control. Integral control is the 2nd signifier of feedback control system. It is obtained used to take the divergences that may go out. Thus the system moves to the steady province and original scenes. A positive mistake will do the signal to be addition and whereas a negative mistake will do the signal to be decrease the system. However, I-only accountant is much slower in response clip than the P-controller. Thus, the slower response clip will be reduced by uniting with another signifier such as P or PD accountant. It is frequently used to mensurate the needed variables to stay within a narrow scope and besides require a all right tuning control.

Mathematical Equations

I-controller correlates the accountant end product to the integral of mistake. The built-in of mistake is taken with regard to clip within a specified interval. In the mathematical signifier, the I-controller equation can be represented as

Where

C ( T ) = accountant end product

Ti = built-in clip

vitamin E ( T ) = mistake

degree Celsius ( t0 ) = accountant end product before integrating.

Derivative ( D ) Control:

This is another type of action performed in the PID accountants is the derivative control. I-control and D-control are a signifier of a feed forward control. D-control anticipates the procedure conditions by analysing the alteration in mistake. It chief map is to minimise the alteration in mistake, therefore maintaining the system in a consistent scene. The chief benefits of the D-controller is to defy alteration in system, the most of import of these being is oscillations.

The mathematical equation is,

Where

degree Celsius ( T ) = accountant end product

Td = derivative clip changeless

de = alteration in mistake

dt = alteration in clip

Equipment:

The computing machine control system is comparatively more complex in nature. A digital control system includes the cardinal processing unit ( CPU ) , input-output units and a memory unit. The size and power of the computing machine depends upon the velocity, size of the CPU. Small computing machines, called microcontrollers, which is most normally used. In order to acquire the accurate consequences we use a 16-bit word or 32-bit word. The system uses the microprocessor as a CPU. The size of the computing machine and the cost for the active logic devices used to build both the declined exponentially.

To command a procedure utilizing the digital control system, the compensator must hold the

a ) Analogue to Digital converter.

B ) To direct the signal from A/D to the other control system which affect the actuator and works. But the accountant is in digital signifier.

degree Celsius ) D/A converter.

vitamin D ) Receive the mensural consequences from the system and treat them. Sensor is used to supervise the controlled variable for feedback.

The signal V ( T ) that is passed through the summing up and so to the compensator of the control system to go through it CPU in order to change over the signal from digital to analog converter. In the schematic of digital control system, the digital control system include both uninterrupted and distinct part. For the design of the digital control system, we require to happen out the distinct corresponding of the uninterrupted, so that we need to cover with distinct map.

The clip that is connected to the D/A and A/D converter supplies a pulsation for every T 2nd and each of the D/A and A/D sends the signal when the pulsation arrives. The intent of holding the pulsation in the input is to necessitate Hzoh ( omega ) have merely the samples u ( K ) to work on and bring forth merely the samples of end product Ys ( K ) . Where the Hzoh ( omega ) is zero order clasp.

The nothing order hold signal goes through the s-domain and base on balls it to the A/D to bring forth the end product Y ( K ) . Now puting the zero order clasp, the digital control can be design with the distinct transportation map.

The transportation map for the DC servo is of the signifier

G ( s ) =k/s ( 1+ps )

Where

K is the inactive addition and P is clip changeless

Because for the unfastened cringle system, it has an whole number value ( 1/s ) will impact the servo to run with a changeless velocity.

MATLAB Code:

The codification for the unfastened cringle transportation map that were obtained from the graph is and puting the values of K= 2.355 and Tp= 0.2186.

The codification that determine the plotting response of the unfastened cringle system is,

clasp on

xlabel ( ‘Time ‘ )

ylabel ( ‘Input ( blue ) , Output ( ruddy ) ‘ )

rubric ( ‘System response to a measure input ‘ )

secret plan ( T, x, ‘b ‘ )

secret plan ( T, Y, ‘r ‘ )

grid on

The codification that determine the plotting response of digital root venue system is

% Plant Parameters

K=2.355 ; % DC Gain

Tp=0.2186 ; % Time Constant

Ts=1 ; % Sampling clip

% s-domain Tranfer Function

num= [ K ] ;

den= [ Tp 1 0 ] ;

disp ( ‘s-domain Transfer Function: ‘ )

sysc=tf ( num, lair )

% z-domain Transfer Function

disp ( ‘z-domain Transfer Function: ‘ )

sysd=c2d ( sysc, Ts, ‘zoh ‘ )

% Plot z-plane root venue

scrsz = get ( 0, ‘ScreenSize ‘ ) ;

figure ( ‘name ‘ , ‘Discrete Time Root Locus ‘ , ‘NumberTitle ‘ , ‘off ‘ , ‘Position ‘ , [ 20 20 scrsz ( 3 ) /2 scrsz ( 4 ) /2 ] ) ;

rlocus ( sysd )

% Draw unit disc

zgrid ( [ ] , [ ] )

% Set secret plan axis bounds

axis ( [ -2.75 1.25 -2.0 2.0 ] )

Str= [ K Tp Ts ] ;

txt=sprintf ( ‘Discrete Time Root Locus for G ( s ) = % 5.3f/s ( 1+ % 5.3fs ) with Ts= % 3.2f ‘ , Str ) ;

rubric ( txt )

% Tidy up Command Window end product

disp ( ‘ ‘ ) ;

disp ( ‘************************** ‘ )

disp ( ‘ ‘ ) ;

The codification to imitate the DC servo of the PID accountant is

% Plant Parameters

K=2.355 ; % DC Gain

Tp=0.2186 ; % Time Constant

% Controller Parameters

Kp=0.3725 ;

Kd=0.3 ;

Ki=0.0 ;

Ts=1.0 ;

% Launch Simulink simulation

DCServo_Dig_PID:

The simulation of the DC servo diagram is shown below is

Consequences:

The sampling clip of T=0.1 second is considered and imitate the codification for the secret plan response root venue and maintaining the k= 2.355 and Tp= 0.2186 values. The below figure shows the root venue response is

The consequences that were obtained for the sampling clip of ts=0.1, in the matlab bid is

consequence for the transportation map:

s-domain Transportation Function:

Transportation map:

2.355

— — — — — — —

0.2186 s^2 + s

z-domain Transportation Function:

Transportation map:

0.04651 omega + 0.03994

— — — — — — — — — — —

z^2 – 1.633 omega + 0.6329

Sampling clip: 0.1

The sampling clip of T=0.5 second is considered and imitate the codification for the secret plan response root venue and maintaining the k= 2.355 and Tp= 0.2186 values. The below figure shows the root venue response is

The consequences that were obtained for the sampling clip of ts=0.5, in the matlab bid is

s-domain Transportation Function:

Transportation map:

2.355

— — — — — — —

0.2186 s^2 + s

z-domain Transportation Function:

Transportation map:

0.715 omega + 0.343

— — — — — — — — — — —

z^2 – 1.102 omega + 0.1015

Sampling clip: 0.5

The sampling clip of T=1.0 second is considered and imitate the codification for the secret plan response root venue and maintaining the k= 2.355 and Tp= 0.2186 values. The below figure shows the root venue response is

The consequences that were obtained for the sampling clip of ts=1.0, in the matlab bid is

Consequence:

s-domain Transportation Function:

Transportation map:

2.355

— — — — — — —

0.2186 s^2 + s

z-domain Transportation Function:

Transportation map:

1.846 omega + 0.4852

— — — — — — — — — — —

z^2 – 1.01 omega + 0.01031

Sampling clip: 1

After happening the root venue, now calculate the overall addition for all the sampling clip T and the addition must be divided by the 4.

For t=.1 sec:

Addition is: 9.61

Divided by 4:

2.4025

for t=0.5 sec

gain=2.64

divided by 4: 0.66

t=1 sec

addition =1.49

divided by 4

0.3725

After obtaining of the root venue. Now check the PID simulation of DC servo and put to death the plan for the sampling clip of t=0.1. Then the graph shows below is

The closed loop measure response of system is

After acquiring the sampling clip t=0.1 so following alteration the sampling clip t=0.5 and so alter the T and kpto acquire the kp= 0.66. Now check the PID simulation of DC servo and put to death the plan for the sampling clip of t=0.5. Then the graph shows below is

The closed loop measure response of the system is:

After the completion for the sampling clip t=1 and reiterate the procedure to put to death the PID and after that go to the secret plan response of the system and put to death the plan for the plotting response.

The closed loop measure response of the system is

After obtaining the unfastened cringle and closed cringle, now change the value of t= 0.1 and kp=2.4025 and kd=0.400123 ( P-D ) . After that execute the simulation so the graph obtain is

The closed loop measure response of the system is,

Discussion:

The unfastened cringle and closed loop measure response of the system are observed in the different sampling clip. From the unfastened cringle response the consequences that were obtain can mensurate the value of K and tp. For the different sampling clip of t= 0.1, 0.5 and 1.0 is stable. The PD accountant for the sample clip of t=0.1 with the different values are obtained. So, the digital control systems are really accurate from the parallel control system and the mistake that is produced is feedback to the input of the accountant.

Decision:

The experiment informs the truth of the transportation map was stable and consequence of the sampling clip on the accountant stableness was non relative. But the truth of the digital control is really dependability. The public presentation of the digital control system affects the system. The effectivity of the digital relative accountant and besides the relative plus derivative is high-quality public presentation.

Cite this essay

Real Time Control System Digital Control System Computer Science Essay. (2020, Jun 02). Retrieved from https://studymoose.com/real-time-control-system-digital-control-system-computer-science-new-essay

How to Avoid Plagiarism
  • Use multiple resourses when assembling your essay
  • Use Plagiarism Checker to double check your essay
  • Get help from professional writers when not sure you can do it yourself
  • Do not copy and paste free to download essays
Get plagiarism free essay

Not Finding What You Need?

Search for essay samples now

image

Your Answer is very helpful for Us
Thank you a lot!