Scilab/C4/Discrete-systems/Gujarati
From Script | Spoken-Tutorial
Revision as of 12:56, 5 January 2016 by Jyotisolanki (Talk | contribs)
| Time | Narration |
| 00:01 | નમસ્તે મિત્રો, |
| 00:02 | Discrete Time System પરના આ સ્પોકન ટ્યુટોરિયલમાં તમારું સ્વાગત છે. |
| 00:07 | આ ટ્યુટોરીયલના અંતમાં તમે શીખીશું કેવી રીતે: |
| 00:09 | * Convert between state space and transfer function descriptions |
| 00:14 | * discrete time system ને વ્યાખ્યાયિત કરવું અને તેના step response ને પ્લોટ કરતા. |
| 00:20 | * Discretize a continuous time system ને જુદું કરવું. |
| 00:23 | ડેમોનસ્ટ્રેશન માટે હું Ubuntu 12.04 ઓપરેટીંગ સીસ્ટમ અને Scilab 5.3.3 ઉપયોગ કરી રહી છું. |
| 00:31 | આ ટ્યુટોરિયલના અભ્યાસ માટે તમને સાઈલેબના સમાન્ય જ્ઞાનની જરૂરિયાત છે. |
| 00:36 | જો નથી તો સાઈલેબ માટે સ્પોકન ટ્યુટોરિયલ વેબ સાઈટ પર ઉપલબ્ધ સંબંધિત ટ્યુટોરિયલ જુઓ. |
| 00:44 | state space model: |
| 00:46 | x dot is equal to A x plus B u |
| 00:49 | y is equal to c x plus D u |
| 00:52 | sys three is equal to syslin કૌંસમાં અવતરણમાં c comma A comma B comma C comma D બંદ કૌંસ થી ઉલ્લેખિત થાય છે. |
| 01:05 | યોગ્ય સાઈઝ ની પૂર્વ ઉલ્લેખિત મેટ્રાંઈસીઝ A, B, C અને D માટે |
| 01:11 | પોતાનું કમ્પ્યુટર સાઈલેબ ખોલો. |
| 01:15 | ટાઈપ કરો sys three is equal to syslin કૌંસમાં અવતરણમાં c comma four comma three comma six comma nine બંદ કૌંસ અને Enter. દબાવો. |
| 01:32 | ડિસ્પ્લેને જારી રાખવા માટે Enter દબાવો. |
| 01:35 | આ ઉદાહરણ single state, single input single output' ના માટે છે '. |
| 01:40 | આઉટપુટ માં A, B, C અને D અને ઇનીશીયલ સ્ટેટ x zero માં મેટ્રાઈસીસ થશે. |
| 01:49 | console. કન્સોલને સાફ કરવા માટે clc ટાઈપ કરો. |
| 01:52 | જેવું કે તમે જુઓ છો ઉદાહરણ ના માટે સાઈલેબ કંસોલ પર A, B, C, D વ્યાખ્યાયિત કરે છે. |
| 02:00 | A is equal to ખુલ્લો છગડીયો કૌંસ 2 space 3 semicolon 4 space 5 બંદ છગડીયો કૌંસ. |
| 02:09 | Enter દબાવો. |
| 02:11 | B is equal to ખુલ્લો છગડીયો કૌંસ one semicolon 2 બંદ છગડીયો કૌંસ, |
| 02:17 | Enter દબાવો. |
| 02:19 | C is equal to ખુલ્લો છગડીયો કૌંસ minus three space minus six બંદ છગડીયો કૌંસ |
| 02:27 | અને Enter દબાવો. |
| 02:30 | D is equal to two |
| 02:33 | Enter દબાવો. |
| 02:35 | હવે આપણે આ મેટ્રાઈસીસ ને પાછલા કમાંડમાં રાખીએ છીએ. |
| 02:39 | sys four is equal to syslin કૌંસમાં અવતરણમાં c comma A comma B comma C comma D બંદ કૌંસ અને Enter દબાવો. |
| 02:57 | તમને આપેલ આઉટપુટ મળશે. |
| 03:00 | ડિસ્પ્લેને જારી રાખવા માટે Enter દબાવો. |
| 03:03 | જેવું કે તમે જોઈ શકો છો આઉટપુટ માં મેટ્રાઈસીસ A, B, C D અને ઇનીશીયલ સ્ટેટ x zero થશે. |
| 03:11 | તપાસો કે શું sys4 ના પોલસ A . ની આઈગન વેલ્યુ ના બરાબર છે. |
| 03:17 | તેના માટે તમે p l z r ફંક્શન અને spec ફંક્શન નો ઉપયોગ કરી શકો છો. |
| 03:23 | s s two t f state-space system sys S S. ના ટ્રાન્સફર ફંક્શન ને મેળવવા માટે ઉપયોગ થાય છે.
|
| 03:33 | તમારા સાઈલેબ કંસોલ ને સાફ કરવા માટે તે પર clc ટાઈપ કરો. |
| 03:37 | પછી ટાઈપ કરો : sys capital T capital F is equal to s s two t f કૌંસમાં sys four બંદ કૌંસ અને |
| 03:50 | Enter દબાવો. |
| 03:52 | તમે આ આઉટપુટ જોઈ શકો છો. |
| 03:54 | આ ફોર્મ માં છે sys TF equal to ss two tf કૌંસમાં sys of SS. |
| 04:01 | sys three ને પ્રથમ વ્યાખ્યાયિત કરવા માટે ss two tf ફંક્શન ઉપયોગ કરીએ છીએ છે. |
| 04:07 | sys T F એક નવું વેરીએબલ છે જેના માટે 'denom' command હોય છે. |
| 04:12 | આ sys four પર ઉપયોગીત નથી કેમકે આ state space form માં છે. |
| 04:18 | આપેલ ઉદાહરણને હલ કરીએ. |
| 04:20 | નીચે વ્યાખ્યાયિત second order transfer function નું state space realization મેળવીએ. |
| 04:26 | t f two s s કમાંડનો ઉપયોગ કરો. |
| 04:30 | state space form માં નવું સીસ્ટમ માનો કે sys S S ના માટે તપાસો કે મેટ્રાઈસીસ A ની આઈગન વેલ્યુ અને transfer function G of s ના પોલસ સમાન છે. |
| 04:43 | transfer function ને મેળવવા માટે system sys S S ની મેટ્રાઈસીસ A, B, C, D ઉપયોગ કરો. |
| 04:53 | તપાસો કે જવાબ મૂળભૂત છે કે. |
| 04:56 | હવે આપણે discrete time system. (ડીસ્ક્રીટ ટાઈમ સીસ્ટમ) ને વ્યાખ્યાયિત કરીશું. |
| 05:00 | numerator અને denominator polynomials. માં વેરીએબલના માટે ’z’ ઉપયોગ કરવું પરંપરાગત છે કે નહી. |
| 05:07 | યાદ કરો કે વેરીએબલ ’z’ શોર્ટકટ ધરાવે છે. |
| 05:11 | z is equal to poly into bracket zero comma inside quotes z ના બદલે z is equal to percentage z નો ઉપયોગ કરો. |
| 05:21 | Scilab console. પર જાવ. |
| 05:23 | સાફ કરવા માટે clc ટાઈપ કરો . |
| 05:26 | Type z is equal to percentage z. |
| 05:29 | and press Enter. |
| 05:31 | We now define a first order discrete time system. |
| 05:35 | On the Scilab Console type: |
| 05:39 | D T System is equal to syslin into bracket into quotes small d comma z divided by inside bracket z minus zero point five close the bracket close outer bracket. |
| 05:59 | Press Enter. |
| 06:02 | We use the syslin function for this. |
| 06:05 | This time, we specify the domain to be discrete time instead of continuous time. |
| 06:13 | For checking the step response, we have to define the input explicitly as ones. |
| 06:19 | for example: for 50 points, |
| 06:22 | type on the Scilab Console: |
| 06:25 | u is equal to ones into bracket one comma fifty close the bracket put a semicolon |
| 06:36 | and press Enter. |
| 06:38 | Instead of csim, we have to use the flts function to simulate this system. |
| 06:45 | Type on the Scilab Console |
| 06:48 | clc to clear the console. |
| 06:51 | y is equal to f l t s into bracket u comma D T System close bracket put a semi colon |
| 07:02 | and press Enter. |
| 07:05 | Now type plot of y and press Enter. |
| 07:11 | The output will be plotted. |
| 07:14 | Close the graphic window. |
| 07:17 | It is helpful to discretize a given continuous time system. |
| 07:21 | This is done using the dscr function. |
| 07:25 | Let us define a continuous system s is equal to percent s and |
| 07:32 | sys G is equal to syslin into bracket into quotes c comma two divided by into bracket s square plus two multiplied by s plus nine close bracket close outer bracket and press Enter. |
| 07:56 | Let us discretize the system sys G with a sampling period of zero point one. |
| 08:04 | On the Console, type clc to clear and then type: |
| 08:08 | sys five is equal to d s c r into bracket sys G comma zero point one close the bracket and then press Enter. |
| 08:25 | Press Enter to continue display. |
| 08:28 | As you see system is discretized as A B C D matrices and inital state x zero. |
| 08:38 | Notice that we obtain the discretized system in the state space representation. |
| 08:44 | We can convert this to a transfer function representation in discrete time using s s two t f function. |
| 08:54 | For this go to the Scilab Console Window |
| 08:58 | Type clc and clear it. |
| 09:01 | Now type sys six is equal to s s two t f into bracket sys five comma zero point one close the brackets and press Enter. |
| 09:18 | The output gives the transfer function. |
| 09:22 | In this tutorial we have learnt to: |
| 09:24 | * Convert between state space and transfer function descriptions |
| 09:28 | * Define a discrete time system and plot its step response |
| 09:33 | * Discretize a continuous time system. |
| 09:36 | Watch the video available at the following link. |
| 09:39 | It summarizes the Spoken Tutorial project. |
| 09:43 | If you do not have good bandwidth, you can download and watch it. |
| 09:47 | The spoken tutorial project Team: |
| 09:49 | Conducts workshops using spoken tutorials. |
| 09:52 | Gives certificates to those who pass an online test. |
| 09:56 | For more information, please write to contact@spoken-tutorial.org |
| 10:04 | Spoken Tutorial Project is a part of the Talk to a Teacher project. |
| 10:08 | It is supported by the National Mission on Eduction through ICT, MHRD, Government of India. |
| 10:15 | More information on this mission is available at spoken-tutorial.org/NMEICT-Intro. |
| 10:27 | This is Anuradha Amruthkar from IIT Bombay, signing off. |
| 10:31 | Thank you for joining. Good Bye. |