T h e   s e t   o f   M A T L A B   a n d   S I M U L I N K   p r o g r a m s   p r o v i d e d   h e r e   i s   i n t e n d e d   t o   d e m o n s t r a t e   t h e   c o n t e n t s   o f   t h e   m o n o g r a p h    R o b u s t   M o t i o n   C o n t r o l   o f   O s c i l l a t o r y - B a s e   M a n i p u l a t o r s    H - i n f i n i t y   C o n t r o l   a n d   S l i d i n g   M o d e   C o n t r o l   B a s e d   A p p r o a c h e s       b y   M .   T o d a   ( S p r i n g e r ) .   T h i s   R e a d m e . t x t   b r i e f l y   i n t r o d u c e s   t h o s e   p r o g r a m s . 
 
 
 
 T h e   m a i n   u s e r - i n t e r f a c e   p r o g r a m s   a r e   a s   i n   t h e   f o l l o w i n g : 
 
 
 
 o b m _ h i n f _ s y n . m :   t h e   p r o g r a m   t o   d e m o n s t r a t e   H - i n f i n i t y   c o n t r o l l e r   s y n t h e s i s .   R u n   t h e   M - f i l e   a n d   c h o o s e   t h e   b a s e - o s c i l l a t i o n   t y p e   a s   p r o m p t e d   i n   t h e   c o m m a n d   l i n e ,   t h e n   t h e   c o n t r o l l e r   ( c o n t a i n e d   i n   t h e   v a r i a b l e    k i n f  )   w i l l   b e   o b t a i n e d   a n d   s o m e   r e s u l t i n g   d a t a   w i l l   b e   d i s p l a y e d ,   s u c h   a s   t h e   p o l e s   a n d   z e r o s   o f   t h e   c o n t r o l l e r ,   f r e q u e n c y   r e s p o n s e s   o f   t h e   c o n t r o l l e r   a n d   s e n s i t i v i t y   f u n c t i o n s ,   a n d   s o   o n . 
 
 
 
 o b m _ s i m _ h i n f . m :   t h e   p r o g r a m   t o   p e r f o r m   s i m u l a t i o n   o f   t h e   H - i n f i n i t y   c o n t r o l   s y s t e m .   R u n   t h e   M - f i l e   a n d   c h o o s e   t h e   c o n t r o l   p r o b l e m   a n d   b a s e - o s c i l l a t i o n   t y p e   a s   p r o m p t e d   i n   t h e   c o m m a n d   l i n e ,   t h e n   f o u r   g r a p h s   o f   t h e   s i m u l a t i o n   r e s u l t s   w i l l   b e   d i s p l a y e d   d e p e n d i n g   o n   t h e   p r o b l e m   d e s i g n a t e d   b y   t h e   u s e r .   T h e   u s e r   c a n   c h a n g e   a r b i t r a r i l y   t h e   H - i n f i n i t y   c o n t r o l l e r   b y   c h o o s i n g   t h e   p r e - d e s i g n e d   c o n t r o l l e r s   c o n t a i n e d   i n   o b m _ c t r l . m a t   o r   d e s i g n a t i n g   k i n f   w h i c h   c a n   b e   d e s i g n e d   v i a   o b m _ h i n f _ s y n . m .   I n   o r d e r   t o   c h a n g e   t h e   c o n t r o l l e r ,   r e p l a c e   K 2 2   ( d e f a u l t   c o n t r o l l e r )   w i t h   o t h e r   o n e   i n   t h e   s o u r c e   f i l e .   T h e   p r e - d e s i g n e d   c o n t r o l l e r s   a r e   d e n o t e d   b y   K i j  s   c o r r e s p o n d i n g   t o   t h e   s y m b o l s   u s e d   i n   t h e   m o n o g r a p h .   P l e a s e   r e f e r r e r   t o   C h a p .   4   f o r   d e t a i l s   o f   t h e   r e s p e c t i v e   c o n t r o l l e r s .   F u r t h e r ,   t h e   u s e r   c a n   m o d i f y   s e v e r a l   s i m u l a t i o n   c o n d i t i o n s   s u c h   a s   s a m p l i n g   p e r i o d ,   s e n s o r   r e s o l u t i o n   a n d   s o   o n ,   b y   d i r e c t l y   r e w r i t i n g   t h e   s o u r c e   c o d e . 
 
 
 
 o b m _ s i m _ s m c r s s i . m :   t h e   p r o g r a m   t o   p e r f o r m   s i m u l a t i o n   o f   t h e   s l i d i n g   m o d e l   c o n t r o l   s y s t e m .   R u n   t h e   M - f i l e   a n d   c h o o s e   t h e   c o n t r o l   p r o b l e m ,   b a s e - o s c i l l a t i o n   t y p e ,   a n d   t h e   t y p e   o f   S M C   ( S M C - I ,   h i g h - g a i n   S M C - R S S I ,   l o w - g a i n   S M C - R S S I )   a s   p r o m p t e d   i n   t h e   c o m m a n d   l i n e ,   t h e n   f o u r   g r a p h s   o f   t h e   s i m u l a t i o n   r e s u l t s   w i l l   b e   d i s p l a y e d   s i m i l a r l y   w i t h   o b m _ s i m _ h i n f . m .   P l e a s e   n o t e   t h a t   t h e   d e f a u l t   s a m p l i n g   p e r i o d   a n d   c o n t r o l   t o r q u e   l i m i t s   a r e   d i f f e r e n t   f r o m   t h o s e   i n   o b m _ s i m _ h i n f . m   d u e   t o   t h e   d i f f e r e n c e   b e t w e e n   t h e   p r o p e r t i e s   o f   t h e   c o n t r o l l e r s .   T h e   u s e r   c a n   c h a n g e   t h e   p a r a m e t e r s   o f   t h e   c o n t r o l l e r   b y   d i r e c t l y   r e w r i t i n g   t h e   s o u r c e   c o d e   o f   o b m _ s m c _ r s s i 2 . m . 
 
 
 
 o b m _ s i m _ p i d . m :   t h e   p r o g r a m   t o   p e r f o r m   s i m u l a t i o n   o f   t h e   P I D   m o d e l   c o n t r o l   s y s t e m .   R u n   t h e   M - f i l e   a n d   c h o o s e   t h e   c o n t r o l   p r o b l e m   a n d   b a s e - o s c i l l a t i o n   t y p e   a s   p r o m p t e d   i n   t h e   c o m m a n d   l i n e ,   t h e n   f o u r   g r a p h s   o f   t h e   s i m u l a t i o n   r e s u l t s   w i l l   b e   d i s p l a y e d   s i m i l a r l y   w i t h   o b m _ s i m _ h i n f . m .   T h e   u s e r   c a n   c h a n g e   t h e   P I D   c o n t r o l   g a i n s   b y   d i r e c t l y   r e w r i t i n g   t h e   s o u r c e   c o d e   o f   o b m _ s i m _ p i d . m . 
 
 
 
 N o t e   t h a t ,   i n   a l l   t h e   a b o v e   s i m u l a t i o n   p r o g r a m s ,   t h e   u s e r   c a n   p e r f o r m   r o b u s t   c o n t r o l   s i m u l a t i o n s   b y   c h a n g i n g   t h e   p a r a m e t e r   w i d t h   ( d e f a u l t :   5   ( n o m i n a l   c a s e ) )   i n   t h e   r a n g e   o f   0 ,   1 ,   2 ,   . . . ,   1 0 . 
 
 
 
 
 
 
 
 T h e   o t h e r   p r o g r a m s   a r e   s o r t   o f   s u b - p r o g r a m s   w h i c h   a r e   n e c e s s a r y   f o r   t h e   a b o v e   p r o g r a m s .   I t   h a s   b e e n   c o n f i r m e d   t h a t   a l l   t h e   p r o g r a m s   w o r k   p r o p e r l y   o n   M A T L A B   v e r .   5 . 3   t o   2 0 1 4 a . 
 
 
 
 2 5 t h / J u n e / 2 0 1 5 
 
 M a s a y o s h i   T o d a 
 
 