A simple MEMS gyro model using MATLAB / Simulink

Find my courses for free on konoz! https://konozlearning.com/#!/invitation/control-system-lectures This video walks through how to model a simple MEMS gyroscope using MATLAB/Simulink. At the end I show you how to linearize this model to use in your linear control loop design and analysis. This is a very fast video because I wanted to cover a lot of information in a short amount of time. If you would like to follow along you might have to pause and re-watch certain parts several times. I made it this fast though so that people who are already familiar with MATLAB don't have to suffer through slow explanations. If enough people would like slower versions in the future I'll try to figure out a compromise. An Allan Variance script you can download directly from Mathworks. I've never used this script but judging by the comments and ratings it works just fine. http://www.mathworks.com/matlabcentral/fileexchange/13246-allan What is Allan Variance and how is it used? http://bullseye.xbow.com:81/Support/Support_pdf_files/Bias_Stability_Measurement.pdf A very good description of Allan Variance if you have access to IEEE papers: IEEE Std 952-1997, "Guide and Test Procedure for Single Axis Interferometric Fiber Optic Gyros," IEEE, 1997, p.63. Errata: Don't forget to subscribe! I'm on Twitter @BrianBDouglas! If you have any questions on it leave them in the comment section below or on Twitter and I'll try my best to answer them. I will be loading a new video each week and welcome suggestions for new topics. Please leave a comment or question below and I will do my best to address it. Thanks for watching!


Instalock Taka: Hey Brian, what should I do if I want to understand this video, I don't really understand what's being explained here. What kind of background knowledge should I have. Thanks!

Abhay choursiya: Hi sir can u please share the details like transfer function ,stability in detail

John Brewer: Brian, you say in this video that you'll talk about incorporating bias instability in a later video. Did you ever do that? I'm really enjoying your videos and very much appreciate the time and resources it takes to make them.

sakuradevil94: hello sir.
i have one question.
how to determin the zeta and wn at transfunction?

mohamed asaad: i want to ask how there things are non-linear and have transfer function like saturation block

Jake Sadlak: Went to the konozlearning.com site and got the following:
Your connection is not secure

The owner of konozlearning.com has configured their website improperly. To protect your information from being stolen, Firefox has not connected to this website.

Further investigation revealed:

konozlearning.com uses an invalid security certificate. The certificate expired on Friday, December 16, 2016, 7:00 AM. The current time is Monday, February 12, 2018, 2:04 PM.

Can you update?

Prottoy Nahian: what order is an imu accelerometer system?

Prottoy Nahian: do accelerometer!

Nouf R: this video saved me from depression, without this video i would have FAILED for that youre a real g init. bless up free my nigga tyrone

PhatBoy: Avionics is bullshit

Jordan Smallwood: So incredible. What they don't teach you in school.

Shreyas Joshi: hello brian, do you have MEMS accelerometer model developed?? please share if available.. It will be of great help to me.
email id- shreyasjoshi69@gmail.com

VAMSI KRISHNA P srit: i am getting error as L3G_CTRL_REG5 something, so should i connect the gyro to arduino and arduino to system to remove error?

poorya karami: Thank you for this video. How can I have your realGyroData for more education?

Jean-Romain Roy: Brian, you rock.

Rishabh Biyani: Thanks for this great video. I was hoping you could answer a question of mine. Why didn't you include a Analog Low Pass Filter after the subsequent noise added into the Gyro dynamics? Isn't it important to do that to prevent aliasing?

Tristan Louden: Brian, this is a great video and is a very nice way to represent a simple gyro. I did have one question in terms of noise. If I wanted to introduce noise such bias instability, also know as pink noise, can this be done simply with filtered white noise?

Babak SALAMAT: Hello, if we want to calculate Roll rates and plot it, what should we do ?

larrykeegan1: Amazing ! I have been wrestling with activating my L3GD20H gyro. At the stage of interpreting the output. Wanted to see and am still looking for a large scale model of some of the MEMS sensors. I am amazed at your mastery of these sensors. I use
PICAXE devices as my micro-controllers. Thnx for ur explanations.

Amrit Singh: Hey Brian great video, can you explain what changes you would make if the gyro has an analog output instead of digital