Scilab/C4/Control-systems/Gujarati

From Script | Spoken-Tutorial
Revision as of 12:41, 4 January 2016 by Jyotisolanki (Talk | contribs)

Jump to: navigation, search
Time Narration
00:01 નમસ્તે મિત્રો,
00:02 Advanced Control of Continuous Time systems પરના આ સ્પોકન ટ્યુટોરિયલમાં તમારું સ્વાગત છે .
00:09 આ ટ્યુટોરીયલના અંતમાં તમે શીખીશું કેવી રીતે:
00:12 * એક continuous time system બીજી બાજુએ ઉચ્ચ ઓડરને કેવી રીતે વ્યાખ્યાયિત કરાય છે.
00:17 * step અને sine inputs પર પ્લોટ રિસ્પોન્સ કેવી રીતે બનાવાય છે.
00:20 * Bode plot કેવી રીતે કરાય.
00:22 * numer અને denom Scilab functions નું કેવી રીતે અભ્યાસ કરાય છે.
00:26 * સીસ્ટમ ના poles અને zeros કેવી રીતે પ્લોટ કરાય છે.
00:30 આ ટ્યુટોરિયલ રિકોર્ડ કરવા માટે હું ઉપયોગ કરી રહી છું,
00:33 Scilab 5.3.3 વર્જનના સાથે.
00:36 Ubuntu 12.04 ઓપરેટીંગ સિસ્ટમ
00:40 આ ટ્યુટોરીયલ ના અભ્યાસ પહેલા તમને Scilab અને control systems. નું સમાન્ય જ્ઞાન હોવું જરૂરી છે.
00:48 સાઈલેબ માટે સ્પોકન ટ્યુટોરિયલ વેબ સાઈટ પર ઉપલબ્ધ સંબંધિત ટ્યુટોરિયલ જુઓ.
00:55 આ ટ્યુટોરિયલ માં હું તમને બતાવીશ કે second-order linear system. ને કેવી રીતે વ્યાખ્યાયિત કરાવાય.
01:02 તો પ્રથમ આપણે complex domain variable 's'. વ્યાખ્યાયિત કરીશું.
01:08 ચાલો Scilab console window. પર પાછા જઈએ.
01:11 અહી ટાઈપ કરો s equal to poly ખુલ્લો કૌંસ zero comma ખુલ્લો એકલ અવતરણ s એકલ અવતરણ ને બંદ કરો બંદ કૌંસ , Enter. દબાવો.
01:25 આઉટપુટ 's'. છે.
01:27 as continuous time complex variable. ને 's' ની જેમ વ્યાખ્યાયિત કરવાનો હજી એક માર્ગ છે.
01:32 console વિન્ડો પર ટાઈપ કરો,:
01:35 s equal to percentage s, Enter. દબાવો.
01:41 ચાલો syslin Scilab command. નો અભ્યાસ કરીએ.
01:44 continuous time system ને વ્યાખ્યાયિત કરવા માટે સાઈલેબ ફંક્શન syslin નો ઉપયોગ કરીએ છીએ.
01:51 G of s is equal to 2 over 9 plus 2 s plus s square.
01:58 step response મેળવવા માટે step ના સાથે csim ઉપયોગ કરો અને અને પછી step response ને પ્લોટ કરો.
02:06 ચાલો સાઈલેબ કંસોલ વિન્ડો પર પાછા જઈએ.
02:09 અહી ટાઈપ કરો : sys capital G equal to syslin ખુલ્લો કૌંસ ખુલ્લો એકલ અવતરણ c એકલ અવતરણને બંદ કરો comma two divide by ખુલ્લો કૌંસ s square plus two asterisk s plus nine બંદ કૌંસ બંદ કૌંસ
02:32 અહી c એવી રીતે ઉપયોગ થાય છે જેમ કે આપણે એક continuous time system વ્યાખ્યાયિત કરી રહ્યા છીએ.
02:38 Enter દબાવો.
02:40 આઉટપુટ linear second order system છે જે
02:44 2 over 9 plus 2 s plus s square ને રજુ કરે છે.
02:49 પછી ટાઈપ કરો t equal to zero colon zero point one colon ten semicolon
02:57 Enter. દબાવો.
02:59 પછી ટાઈપ કરો y one is equal to c sim ખુલ્લો કૌંસ ખુલ્લો એકલ અવતરણ step એકલ અવતરણ ને બંદ કરો comma t comma sys capital G બંદ કૌંસ semicolon
03:15 Enter. દબાવો.
03:17 પછી ટાઈપ કરો plot ખુલ્લો કૌંસ t comma y one close બંદ કૌંસ
03:24 Enter. દબાવો.
03:26 આઉટપુટ આપેલ સેકેંડ ઓડર સીસ્ટમનું step response દેખાડશે.
03:33 ચાલો sine input. ના માટે Second Order system response નો અભ્યાસ કરીએ.
03:39 Sine inputssecond order system to a continuous time system. ની જેમ સરળતાથી ઈનપુટ આપી શકાય છે.
03:47 ચાલો Scilab console વિન્ડો પર જઈએ.
03:51 ટાઈપ કરો U two is equal to sine ખુલ્લો કૌંસ t બંદ કૌંસ semicolon.
03:59 Enter. દબાવો.
04:01 પછી ટાઈપ કરો : y two is equal to c sim ખુલ્લો કૌંસ u two comma t comma sys capital G બંદ કૌંસ semicolon.
04:15 Enter. દબાવો.
04:17 અહી આપણે continuous time second order system sysG ઉપયોગ કરી રહ્યા છીએ જે આપણે પહેલાથીજ વ્યાખ્યાયિત કર્યું છે.
04:25 પછી ટાઈપ કરો : plot ખુલ્લો કૌંસ t comma ખુલ્લો છગડીયો કૌંસ ખુલ્લો કૌંસ u 2 semicolon y 2 બંદ છગડીયો કૌંસ બંદ કૌંસ.
04:39 ખાતરી કરી લો કે u2 અને y2 ના વચ્ચે સેમીકોલન લગાવ્યું છે કારણકે u2 અને y2 સમાન આકારના રો વેક્ટરસ છે.
04:50 Enter. દબાવો.
04:52 આ પ્લોટ step input' અને sine input. ના સીસ્ટમનું રિસ્પોન્સ દેખાડે છે આ response plot. કહેવાય છે.
05:01 Response Plot તેજ ગ્રાફ પર ઇનપુટ અને આઉટપુટ બન્નેને પ્લોટ કરે છે.
05:06 અપેક્ષિત ની જેમ આઉટપુટ sine wave અને
05:11 ઈનપુટ અને આઉટપુટ ના વચ્ચે phase lag છે.
05:15 ઈનપુટ અને આઉટપુટ ના માટે Amplitude વિવિધ હોય છે જેમ કે અહી transfer ફંક્શનથી પાસ કરવાનું છે.
05:23 આ વિવિધ under-damped ઉદાહરણ છે.
05:26 ચાલો bode plot of 2 over 9 plus 2 s plus s square ને પ્લોટ કરીએ.
05:32 નોંધ લો કે કમાંડ 'f r e q' frequency response. ના માટે સાઈલેબ કમાંડ છે.
05:39 f r e q ને વેરીએબલની જેમ ઉપયોગ કરો !!
05:44 Scilab console ને ખોલો અને ટાઈપ કરો :
05:47 f r is equal to ખુલ્લો છગડીયો કૌંસ zero point zero one colon zero point one colon ten બંદ છગડીયો કૌંસ semicolon.
06:00 Enter. દબાવો.
06:03 frequencyHertz. માં છે.
06:06 પછી ટાઈપ કરપ bode ખુલ્લો કૌંસ sys capital G comma fr બંદ કૌંસ.
06:15 અને Enter. દબાવો.
06:17 The bode plot દેખાય છે.
06:20 ચાલો હવે અન્ય સીસ્ટમને વ્યાખ્યાયિત કરીએ.
06:23 આપણી પાસે over-damped system p equal to s square plus nine s plus nine છે.
06:32 હવે આ સીસ્ટમના માટે step response પ્લોટ કરીએ.
06:36 Scilab console. પર પાછા જઈએ.
06:38 પોતાના કંસોલ પર ટાઈપ કરો.
06:40 p is equal to s square plus nine asterisk s plus nine
06:47 અને પછી Enter. દબાવો.
06:49 પછી પોતાના કંસોલ પર ટાઈપ કરો:


06:51 'sys two is equal to syslin ખુલ્લો કૌંસ ખુલ્લો એકલ અવતરણ c એકલ અવતરણ બંદ કરો comma nine divided by p બંદ કૌંસ
07:04 અને Enter. દબાવો.
07:07 પછી ટાઈપ કરો : t equal to zero colon zero point one colon ten semicolon
07:14 Enter. દબાવો.
07:17 y is equal to c sim ખુલ્લો કૌંસ ખુલ્લો એકલ અવતરણ step એકલ અવતરણ બંદ કરો comma t comma sys two બંદ કૌંસ semicolon.
07:31 Enter દબાવો.
07:33 પછી ટાઈપ કરો plot ખુલ્લો કૌંસ t comma y બંદ કૌંસ .
07:39 Enter દબાવો.
07:41 over damped system ના માટે રિસ્પોન્સ પ્લોટ દેખાય છે.
07:46 p ના રૂટ મેળવવા માટે પોતાના કંસોલ પર ટાઈપ કરો.
07:49 roots of p અને Enter. દબાવો.
07:54 roots સીસ્ટમ sys two ના poles (પ્લોસ) છે.
07:59 સીસ્ટમના roots અથવા poles દેખાય છે.
08:02 over damped system. ની જેમ તેજ લાઈન સાથે આ સીસ્ટમ ના માટે Step response પ્લોટ કરો.
08:11 G of s is equal to 2 over 9 plus 6 s plus s squarecritically damped system છે.
08:20 પછી G of s is equal to two over 9 plus s square જે undamped system છે.
08:28 G of s is equal to 2 over 9 minus 6 s plus s square જે unstable system છે.
08:36 બધી સ્થીતીયો ના માટે sinusoidal inputs (સાઈનુંસોઈડલ) પર પ્રતીક્રિયા તપાસો અને bode plot ને પણ પ્લોટ કરો.
08:45 Scilab console. પર પાછા જાવ.
08:48 For a general transfer function, the numerator and denominator can be specified separately.
08:55 Let me show you how.
08:57 Type on console:
08:59 sys three is equal to syslin open parenthesis open single quote c close single quote comma s plus six comma s square plus six asterisk s plus nineteen close parenthesis.
09:19 Press Enter.
09:21 Another way of defining a system is to type:
09:24 g is equal to open parenthesis s plus six close parenthesis divided by open parenthesis s square plus six asterisk s plus nineteen close parenthesis
09:40 Press Enter.
09:42 Then type this on your console:
09:44 sys four is equal to syslin open parenthesis open single quote c close single quote comma g close parenthesis.
09:55 Press Enter.
09:58 Both ways, we get the same output;
10:01 six plus s over 19 plus six s plus s square.
10:07 The variable ’sys’ is of type ’rational’.
10:10 Its numerator and denominator can be extracted by various ways.
10:16 Sys of two, numer of sys or numer of g gives the numerator.
10:22 The denominator can be calculated using sys(3) or denom of sys functions.
10:30 The poles and zeros of the system can be plotted using p l z r function.
10:37 The syntax is p l z r of sys.
10:41 The plot shows 'x for poles' and 'circles for zeros'.
10:46 Switch to Scilab console.
10:48 Type this on your Scilab console:
10:50 sys three open parenthesis two close parenthesis.
10:55 Press Enter.
10:56 This gives the numerator of the rational function sys three that is '6 + s'.
11:03 Otherwise, you can type:
11:05 numer open parenthesis sys three close parenthesis.
11:11 Press Enter.
11:13 The numerator of system three is shown.
11:17 To get the denominator, type:
11:19 sys three open parenthesis three close parenthesis. Press Enter.
11:26 The denominator of the function is shown.
11:30 You can also type denom open parenthesis sys three close parenthesis.
11:36 Press Enter.
11:38 Then type p l z r open parenthesis sys three close parenthesis.
11:44 Press Enter.
11:47 The output graph plots the poles and zeros.
11:50 It shows 'cross and circle' for 'poles and zeros' of the system respectively.
11:58 It is plotted on the complex plane.
12:01 In this tutorial, we have learnt how to:
12:03 * Define a system by its transfer function.
12:08 * Plot step and sinusoidal responses.
12:11 * Extract poles and zeros of a transfer function.
12:15 Watch the video available at the following link.
12:19 It summarizes the Spoken Tutorial project.
12:22 If you do not have good bandwidth, you can download and watch it.
12:27 The spoken tutorial project Team:
12:29 Conducts workshops using spoken tutorials.
12:32 Gives certificates to those who pass an online test.
12:36 For more details, please write to contact@spoken-tutorial.org.
12:43 Spoken Tutorial Project is a part of the Talk to a Teacher project.
12:47 It is supported by the National Mission on Eduction through ICT, MHRD, Government of India.
12:55 More information on this mission is available at spoken-tutorial.org/NMEICT-Intro.
13:06 This is Ashwini Patil, signing off.
13:08 Thank you for joining. Good Bye.

Contributors and Content Editors

Jyotisolanki