본문 바로가기
Programming/Sensors

Mathematical Modeling by using Matlab

by OKOK 2017. 3. 19.

Try basic mathematical modeling using Matlab and NI6009


1. Connet NI6009, variable resistor, and bread board.


2. Take davantage of the simulink of Matlab. Adjust the handle of the variable resistor to 0,  90, and 150      degree with respect to the horizontal line, and measure the voltage value at that time.


Figure 1. data



3. Use the cftool function to find the mathematical modeling value of the linear function.


Figure 2. Cftool



4. Create a block diagram by inserting the obtained f unction value and visually confirm the relationship between the angle of t he variable resistor and the voltage flowing through the scope.


Figure 3. Block Diagram


Figure 4. Scope



It is not difficult but it is confusing because it is unfamiliar, so I need to organize it again and learn it by myself.