Å·Ñô¿Æ´´±à 2024.02.05
MatlabÖÐBodeͼµÄ»æÖÆ
¼¼ÇÉ
ʱ¼ä£º2024.02.05 ÎÒÃǾ³£»áÓöµ½Ê¹ÓÃMatlab»²®µÂͼµÄÇé¿ö£¬¿ÉÄÜÎÒÃÇÎÒÃǶ¼ÖªµÀbodeÕâ¸öº¯ÊýÊÇÓÃÀ´»bodeͼµÄ£¬Õâ¸öº¯ÊýÊÇMatlabÄÚ²¿ÌṩµÄÒ»¸öº¯Êý£¬ÎÒÃÇ¿ÉÒԺܷ½±ãµÄÓÃËüÀ´»²®µÂͼ£¬µ«ÊǶÔÓÚ³õѧÕßÀ´Ëµ£¬¿ÉÄÜÓÃÆðÀ´¾ÍûÓÐÄÇô·½±ãÁË¡£ Æ©ÈçÎÒÃÇÒª»³öÏÂÃæÕâ¸ö´«µÝº¯ÊýµÄ²®µÂͼ£º 1.576e010 s^2
H(s)= ------------------------------------------------------------------------------------------
s^4 + 1.775e005 s^3 + 1.579e010 s^2 + 2.804e012 s + 2.494e014
(ÕâÊÇÒ»¸öÓÃbutterº¯Êý²úÉúµÄ2½×µÄ£¬ÆµÂÊ·¶Î§Îª[20 20K]HZµÄ´øͨÂ˲¨Æ÷¡£) ÎÒÃÇ¿ÉÒÔÓÃÏÂÃæµÄÓï¾ä£º num=[1.576e010 0 0];
den=[1 1.775e005 1.579e010 2.804e012 2.494e014]; H=tf(num,den); bode(H)
ÕâÑù£¬ÎÒÃǾͿÉÒԵõ½ÒÔϵIJ®µÂͼ£º
´´×÷£ºÅ·Ñô¿Æ ¿ÉÄÜÎÒÃÇ»á¶ÔÕâ¸öͼºÜ²»ÂúÒ⣬µÚÒ»£¬ËüµÄºá×ø±êÊÇrad/s£¬¶øÎÒÃÇÒ»°ãÏ£Íûºá×ø±êÊÇHZ£»µÚ¶þ£¬ºá×ø±êµÄ·¶Î§ÈÃÎÒÃÇ¿´ÆðÀ´ºÜ²»Ë¬£»µÚÈý£¬Íø¸ñûÓдò¿ª£¨Õâµãµ±È»ÎÒÃÇ¿ÉÒÔͨ¹ýÔÚºóÃæ¼ÓÉÏgrid on½â¾ö£©¡£
ÏÂÃ棬ÎÒÃÇÀ´¿´¿´ÈçºÎ¶¨ÖÆÎÒÃÇ×Ô¼ºµÄ²®µÂͼ·ç¸ñ£º
Å·Ñô¿Æ´´±à 2024.02.05
Å·Ñô¿Æ´´±à 2024.02.05
ÔÚÃüÁî´°¿ÚÖÐÊäÈ룺bodeoptions ÎÒÃÇ¿ÉÒÔ¿´µ½ÒÔÏÂÄÚÈÝ£º ans =
Title: [1x1 struct]
XLabel: [1x1 struct] YLabel: [1x1 struct] TickLabel: [1x1 struct] Grid: 'off' XLim: {[1 10]} XLimMode: {'auto'} YLim: {[1 10]} YLimMode: {'auto'} IOGrouping: 'none' InputLabels: [1x1 struct] OutputLabels: [1x1 struct] InputVisible: {'on'} OutputVisible: {'on'} FreqUnits: 'rad/sec' FreqScale: 'log' MagUnits: 'dB' MagScale: 'linear' MagVisible: 'on'
MagLowerLimMode: 'auto' MagLowerLim: 0 PhaseUnits: 'deg' PhaseVisible: 'on' PhaseWrapping: 'off' PhaseMatching: 'off' PhaseMatchingFreq: 0 PhaseMatchingValue: 0
ÎÒÃÇ¿ÉÒÔͨ¹ýÐÞ¸ÄÉÏÃæµÄÿһÏîÐ޸IJ®µÂͼµÄ·ç¸ñ£¬±ÈÈçÎÒÃÇʹÓÃÏÂÃæµÄÓï¾ä»ÎÒÃǵIJ®µÂͼ£º P=bodeoptions; P.Grid='on';
P.XLim={[10 40000]}; P.XLimMode={'manual'}; P.FreqUnits='HZ';
num=[1.576e010 0 0];
den=[1 1.775e005 1.579e010 2.804e012 2.494e014]; H=tf(num,den); bode(H,P)
Õâʱ£¬ÎÒÃǽ«»á¿´µ½ÒÔϵIJ®µÂͼ£º
Å·Ñô¿Æ´´±à 2024.02.05
Å·Ñô¿Æ´´±à 2024.02.05
ÉÏÃæÕâÕÅͼÏà¶Ô¾Í±È½ÏºÃÁË£¬ËüµÄºá×ø±êµ¥Î»ÊÇHZ£¬·¶Î§ÊÇ[10 40K]HZ£¬¶øÇÒ´ò¿ªÁËÍø¸ñ£¬±ãÓÚÎÒÃǹ۲ì-3DB´¦µÄƵÂÊÖµ¡£
µ±È»£¬ÄãÒ²¿ÉÒԸıäbodeoptionsÖеÄÆäËü²ÎÊý£¬×ö³ö·ûºÏÄãµÄ·ç¸ñµÄ²®µÂͼ¡£
ÊÇÕâÑùµÄ£¬ÔËÐÐÃüÁîctrlpref£¬³öÏÖ¿ØÖÆϵͳ¹¤¾ßÏäµÄÉèÖÃÒ³Ã棬Units¸ÄΪHz¾ÍºÃÁË R = abs(Z) theta = angle(Z)
ʱ¼ä£º2024.02.05 ´´×÷£ºÅ·Ñô¿Æ Å·Ñô¿Æ´´±à 2024.02.05