{"id":638,"date":"2026-06-11T13:41:01","date_gmt":"2026-06-11T05:41:01","guid":{"rendered":"https:\/\/projectleon.net\/make\/blog\/fmcw-radar-rtl-sdr-motion-detection-50m-farsi\/"},"modified":"2026-06-11T13:41:03","modified_gmt":"2026-06-11T05:41:03","slug":"fmcw-radar-rtl-sdr-motion-detection-50m-farsi","status":"publish","type":"post","link":"https:\/\/projectleon.net\/make\/blog\/fmcw-radar-rtl-sdr-motion-detection-50m-farsi\/","title":{"rendered":"\u0633\u0627\u062e\u062a \u0631\u0627\u062f\u0627\u0631 \u0645\u06cc\u062f\u0627\u0646\u06cc \u0628\u0627 FMCW \u0648 RTL-SDR: \u062a\u0634\u062e\u06cc\u0635 \u062d\u0631\u06a9\u062a \u062a\u0627 \u06f5\u06f0 \u0645\u062a\u0631 (\u0641\u0627\u0631\u0633\u06cc)"},"content":{"rendered":"<div class='hero-image-container' style='margin-bottom:28px;border-radius:14px;overflow:hidden;box-shadow:0 4px 18px rgba(0,0,0,0.08)'>\n<img src='https:\/\/projectleon.net\/make\/wp-content\/uploads\/2026\/06\/post111-fmcw-radar.jpg' alt='\u0631\u0627\u062f\u0627\u0631 FMCW RTL-SDR \u062a\u0634\u062e\u06cc\u0635 \u062d\u0631\u06a9\u062a BGT24' style='width:100%;height:auto;display:block' loading='eager'\/>\n<\/div>\n<div class='beginner-intro' style='background:#f0f7ff;border-right:4px solid #2e5fb6;padding:16px 20px;border-radius:10px;margin-bottom:22px'>\n<h2 style='margin-top:0'>\u0631\u0627\u062f\u0627\u0631 FMCW \u0686\u06cc\u0633\u062a\u061f (\u0645\u0628\u062a\u062f\u06cc)<\/h2>\n<p>\u0631\u0627\u062f\u0627\u0631 <strong>FMCW<\/strong> (Frequency Modulated Continuous Wave) \u06cc\u06a9 \u0646\u0648\u0639 \u0631\u0627\u062f\u0627\u0631 \u0627\u0633\u062a \u06a9\u0647 \u0641\u0631\u06a9\u0627\u0646\u0633 \u0631\u0627 \u0628\u0647 \u0622\u0631\u0627\u0645\u06cc \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc\u200c\u062f\u0647\u062f. \u0628\u0627\u0632\u062a\u0627\u0628 \u0627\u0632 \u062c\u0633\u0645 \u0645\u062a\u062d\u0631\u06a9 \u06cc\u06a9 \u0627\u062e\u062a\u0644\u0627\u0641 \u0641\u0631\u06a9\u0627\u0646\u0633 (<strong>Beat Frequency<\/strong>) \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u062f \u06a9\u0647 \u0628\u0627 \u0641\u0627\u0635\u0644\u0647 \u0648 \u0633\u0631\u0639\u062a \u0646\u0633\u0628\u062a \u062f\u0627\u0631\u062f. \u0628\u0631\u062e\u0644\u0627\u0641 \u0631\u0627\u062f\u0627\u0631\u0647\u0627\u06cc \u067e\u0627\u0644\u0633\u06cc \u067e\u06cc\u0686\u06cc\u062f\u0647\u060c FMCW \u0628\u0627 \u062a\u0648\u0627\u0646 \u06a9\u0645 (\u0645\u06cc\u0644\u06cc\u200c\u0648\u0627\u062a) \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/p>\n<p>\u0645\u0627\u0698\u0648\u0644 <strong>BGT24MTR11<\/strong> \u0627\u0632 Infineon \u06cc\u06a9 \u0631\u0627\u062f\u0627\u0631 FMCW 24GHz \u0627\u0633\u062a \u06a9\u0647 \u062e\u0631\u0648\u062c\u06cc IF \u0622\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0628\u0647 RTL-SDR \u0648\u0635\u0644 \u0634\u0648\u062f. \u0628\u0627 GNU Radio \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 Range-Doppler Processing \u0631\u0627 \u067e\u06cc\u0627\u062f\u0647 \u06a9\u0631\u062f \u0648 \u062d\u0631\u06a9\u062a \u0627\u062c\u0633\u0627\u0645 \u062a\u0627 \u06f5\u06f0 \u0645\u062a\u0631 \u0631\u0627 \u062a\u0634\u062e\u06cc\u0635 \u062f\u0627\u062f \u2014 \u0645\u0641\u06cc\u062f \u0628\u0631\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0647\u0634\u062f\u0627\u0631 UGV \u06cc\u0627 \u0627\u0645\u0646\u06cc\u062a \u0645\u062d\u06cc\u0637\u06cc.<\/p>\n<\/div>\n<div style='border:1px solid #d8d8d8;padding:18px 20px;border-radius:12px;background:#fafafa;margin-bottom:22px'>\n<h2 style='margin-top:0'>\u0645\u062d\u0635\u0648\u0644\u06cc \u06a9\u0647 \u0645\u06cc\u200c\u0633\u0627\u0632\u06cc\u062f<\/h2>\n<p>\u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u0631\u0627\u062f\u0627\u0631 FMCW \u0628\u0631\u0627\u06cc \u062a\u0634\u062e\u06cc\u0635 \u062d\u0631\u06a9\u062a \u0648 \u0641\u0627\u0635\u0644\u0647 \u062f\u0631 \u0645\u062d\u06cc\u0637 \u0627\u0637\u0631\u0627\u0641 UGV.<\/p>\n<ul>\n<li><strong>\u0647\u0632\u06cc\u0646\u0647:<\/strong> BGT24MTR11 \u2248 \u06f3\u06f0 \u062f\u0644\u0627\u0631 + RTL-SDR<\/li>\n<li><strong>\u0628\u0631\u062f:<\/strong> \u062a\u0627 \u06f5\u06f0 \u0645\u062a\u0631 (\u062d\u0631\u06a9\u062a \u0627\u0646\u0633\u0627\u0646)<\/li>\n<li><strong>\u0628\u0627\u0646\u062f:<\/strong> 24GHz FMCW<\/li>\n<\/ul>\n<\/div>\n<p><svg viewBox='0 0 860 200' width='100%' xmlns='http:\/\/www.w3.org\/2000\/svg' style='background:#1a1a2e;border:1px solid #333;border-radius:12px;margin-bottom:22px'>\n<rect x='0' y='0' width='860' height='200' rx='12' fill='#0d1117'\/>\n<text x='430' y='22' text-anchor='middle' font-size='12' font-family='monospace' fill='#4fc3f7'>Range-Doppler Map \u2014 FMCW 24GHz<\/text>\n<rect x='40' y='35' width='780' height='140' rx='4' fill='#001122'\/>\n<!-- \u0645\u062d\u0648\u0631 Range -->\n<line x1='40' y1='175' x2='820' y2='175' stroke='#555' stroke-width='1'\/>\n<text x='430' y='192' text-anchor='middle' font-size='9' font-family='monospace' fill='#888'>Range (0-50m)<\/text>\n<!-- \u0645\u062d\u0648\u0631 Velocity -->\n<line x1='40' y1='35' x2='40' y2='175' stroke='#555' stroke-width='1'\/>\n<text x='25' y='105' font-size='9' font-family='monospace' fill='#888' transform='rotate(-90,25,105)'>Vel<\/text>\n<!-- \u0647\u062f\u0641 \u06f1 \u2014 \u062d\u0631\u06a9\u062a \u0628\u0647 \u0633\u0645\u062a \u062c\u0644\u0648 -->\n<circle cx='200' cy='90' r='15' fill='#ff5722' opacity='0.8'\/>\n<text x='200' y='94' text-anchor='middle' font-size='9' font-family='monospace' fill='#fff'>H1<\/text>\n<text x='200' y='170' text-anchor='middle' font-size='9' font-family='monospace' fill='#aaa'>10m<\/text>\n<!-- \u0647\u062f\u0641 \u06f2 \u2014 \u0633\u0627\u06a9\u0646 -->\n<circle cx='500' cy='105' r='10' fill='#4fc3f7' opacity='0.7'\/>\n<text x='500' y='165' text-anchor='middle' font-size='9' font-family='monospace' fill='#aaa'>30m<\/text>\n<\/svg><\/p>\n<h2>\u0646\u0635\u0628 \u0648 \u0627\u062a\u0635\u0627\u0644 BGT24MTR11 \u0628\u0647 RTL-SDR<\/h2>\n<pre style='background:#1e1e1e;color:#d4d4d4;padding:14px;border-radius:10px;overflow-x:auto;font-size:13px'><code>\n\/\/ BGT24MTR11 Board:\n\/\/ TX Antenna: \u06f2\u06f4GHz chirp (Ramp \u0627\u0632 \u06f2\u06f4.\u06f0 \u062a\u0627 \u06f2\u06f4.\u06f2\u06f5 GHz)\n\/\/ RX Antenna: \u062f\u0631\u06cc\u0627\u0641\u062a \u0628\u0627\u0632\u062a\u0627\u0628\n\/\/ IF Output: \u0627\u062e\u062a\u0644\u0627\u0641 TX-RX (Beat Signal) \u062f\u0631 \u06f0-\u06f5\u06f0kHz\n\n\/\/ \u0627\u062a\u0635\u0627\u0644 IF \u0628\u0647 RTL-SDR:\n\/\/ IF+ \u2192 RTL-SDR SMA Input (\u0627\u0632 \u0637\u0631\u06cc\u0642 \u062a\u0642\u0648\u06cc\u062a\u200c\u06a9\u0646\u0646\u062f\u0647 LNA \u0627\u06af\u0631 \u062f\u0627\u0631\u06cc\u062f)\n\/\/ GND \u2192 RTL-SDR GND\n\/\/ \u062a\u0646\u0638\u06cc\u0645 \u062f\u0631 SDR++:\n\/\/   Center Freq: 50kHz (Beat Signal)\n\/\/   Sample Rate: 250kHz\n\/\/   Gain: Max\n\n\/\/ \u0646\u06a9\u062a\u0647 \u0645\u0647\u0645: BGT24 \u06a9\u0627\u0631 \u06f5V \u062f\u0627\u0631\u062f\n\/\/ IF Output \u062d\u062f\u0648\u062f \u06f1\u06f0mV \u2014 \u0628\u0647 LNA \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u062f\n<\/code><\/pre>\n<h2>\u067e\u0631\u062f\u0627\u0632\u0634 GNU Radio FMCW<\/h2>\n<pre style='background:#1e1e1e;color:#d4d4d4;padding:14px;border-radius:10px;overflow-x:auto;font-size:13px'><code class='language-python'>\nimport numpy as np\nimport matplotlib.pyplot as plt\nfrom matplotlib.animation import FuncAnimation\n\n# \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc chirp:\nBW   = 250e6   # \u067e\u0647\u0646\u0627\u06cc \u0628\u0627\u0646\u062f \u06f2\u06f5\u06f0MHz\nT    = 1e-3    # \u0645\u062f\u062a chirp \u06f1ms\nfs   = 250e3   # \u0646\u0631\u062e \u0646\u0645\u0648\u0646\u0647 (RTL-SDR)\nc    = 3e8     # \u0633\u0631\u0639\u062a \u0646\u0648\u0631\n\n# \u0631\u0627\u0628\u0637\u0647 Beat Frequency \u0628\u0647 Range:\n# Range = f_beat * c * T \/ (2 * BW)\ndef beat_to_range(f_beat):\n    return f_beat * c * T \/ (2 * BW)\n\ndef process_frame(samples):\n    N = len(samples)\n    spec = np.abs(np.fft.fft(samples * np.hanning(N)))[:N\/\/2]\n    freqs = np.fft.fftfreq(N, 1\/fs)[:N\/\/2]\n    ranges = beat_to_range(freqs)\n    return ranges, spec\n\n# \u0628\u0631\u0627\u06cc RTL-SDR \u0628\u0627 rtlsdr-python:\n# from rtlsdr import RtlSdr\n# sdr = RtlSdr()\n# sdr.sample_rate = 250000\n# sdr.center_freq = 0   # Baseband IF\n# samples = sdr.read_samples(256*1024)\n# ranges, spec = process_frame(samples)\n<\/code><\/pre>\n<h2>\u0686\u06a9\u200c\u0644\u06cc\u0633\u062a \u062a\u0633\u062a \u0631\u0627\u062f\u0627\u0631<\/h2>\n<table style='width:100%;border-collapse:collapse;margin-bottom:18px'>\n<thead>\n<tr style='background:#e8f0fe'>\n<th style='padding:9px;border:1px solid #ddd;text-align:right'>\u0628\u0631\u0631\u0633\u06cc<\/th>\n<th style='padding:9px;border:1px solid #ddd;text-align:right'>\u0646\u062a\u06cc\u062c\u0647<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style='padding:8px;border:1px solid #ddd'>Beat Signal \u062f\u0631 SDR++ \u062f\u06cc\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f\u061f<\/td>\n<td style='padding:8px;border:1px solid #ddd'>peak \u062f\u0631 \u06f0-\u06f5\u06f0kHz<\/td>\n<\/tr>\n<tr style='background:#fafafa'>\n<td style='padding:8px;border:1px solid #ddd'>\u0628\u0627 \u062d\u0631\u06a9\u062a \u062f\u0633\u062a peak \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f\u061f<\/td>\n<td style='padding:8px;border:1px solid #ddd'>\u2610<\/td>\n<\/tr>\n<tr>\n<td style='padding:8px;border:1px solid #ddd'>Range \u0645\u062d\u0627\u0633\u0628\u0647 \u0634\u062f\u0647 \u0628\u0627 \u062e\u0637\u200c\u06a9\u0634 \u0645\u0637\u0627\u0628\u0642\u061f<\/td>\n<td style='padding:8px;border:1px solid #ddd'>\u00b1\u06f1 \u0645\u062a\u0631<\/td>\n<\/tr>\n<tr style='background:#fafafa'>\n<td style='padding:8px;border:1px solid #ddd'>\u0686\u0646\u062f \u0647\u062f\u0641 \u0647\u0645\u0632\u0645\u0627\u0646 \u062a\u0634\u062e\u06cc\u0635 \u062f\u0627\u062f\u0647 \u0634\u062f\u061f<\/td>\n<td style='padding:8px;border:1px solid #ddd'>\u2610<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><svg viewBox='0 0 860 200' width='100%' xmlns='http:\/\/www.w3.org\/2000\/svg' style='background:#fff;border:1px solid #e0e0e0;border-radius:12px;margin-bottom:22px'>\n<rect x='40' y='75' width='155' height='60' rx='12' fill='#f7d794' stroke='#a06d00' stroke-width='2'\/>\n<rect x='245' y='75' width='155' height='60' rx='12' fill='#f7c6c6' stroke='#a03030' stroke-width='2'\/>\n<rect x='450' y='75' width='155' height='60' rx='12' fill='#8bd3dd' stroke='#1f6f78' stroke-width='2'\/>\n<rect x='655' y='75' width='165' height='60' rx='12' fill='#b7e4a0' stroke='#3a7a1e' stroke-width='2'\/>\n<line x1='195' y1='105' x2='245' y2='105' stroke='#555' stroke-width='2.5'\/>\n<line x1='400' y1='105' x2='450' y2='105' stroke='#555' stroke-width='2.5'\/>\n<line x1='605' y1='105' x2='655' y2='105' stroke='#555' stroke-width='2.5'\/>\n<text x='117' y='100' text-anchor='middle' font-size='12' font-family='Tahoma'>BGT24MTR11<\/text>\n<text x='117' y='115' text-anchor='middle' font-size='11' font-family='Tahoma'>24GHz FMCW<\/text>\n<text x='322' y='100' text-anchor='middle' font-size='12' font-family='Tahoma'>IF Beat Signal<\/text>\n<text x='322' y='115' text-anchor='middle' font-size='11' font-family='Tahoma'>\u06f0-\u06f5\u06f0kHz<\/text>\n<text x='527' y='100' text-anchor='middle' font-size='12' font-family='Tahoma'>RTL-SDR<\/text>\n<text x='527' y='115' text-anchor='middle' font-size='11' font-family='Tahoma'>250kHz \u0646\u0645\u0648\u0646\u0647<\/text>\n<text x='737' y='100' text-anchor='middle' font-size='12' font-family='Tahoma'>GNU Radio<\/text>\n<text x='737' y='115' text-anchor='middle' font-size='11' font-family='Tahoma'>Range Map<\/text>\n<text x='430' y='175' text-anchor='middle' font-size='13' font-family='Tahoma' fill='#666'>FMCW Radar \u2014 BGT24 \u2192 RTL-SDR \u2192 GNU Radio \u2192 \u0646\u0642\u0634\u0647 Range<\/text>\n<\/svg><\/p>\n<h2>\u0648\u06cc\u062f\u0626\u0648\u0647\u0627\u06cc \u0622\u0645\u0648\u0632\u0634\u06cc<\/h2>\n<div style='display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px;margin:20px 0'>\n<iframe width='100%' height='315' src='https:\/\/www.youtube.com\/embed\/IHBAbxElUSE' title='FMCW Radar Basics Tutorial BGT24' frameborder='0' allow='accelerometer;autoplay;clipboard-write;encrypted-media;gyroscope;picture-in-picture' allowfullscreen><\/iframe><br \/>\n<iframe width='100%' height='315' src='https:\/\/www.youtube.com\/embed\/kaBMnT3XHlM' title='SDR Radar Detection GNU Radio Tutorial' frameborder='0' allow='accelerometer;autoplay;clipboard-write;encrypted-media;gyroscope;picture-in-picture' allowfullscreen><\/iframe>\n<\/div>\n<h2>\u0645\u0646\u0627\u0628\u0639 \u0628\u06cc\u0634\u062a\u0631<\/h2>\n<ul>\n<li><a href='https:\/\/www.aparat.com\/result\/FMCW_%D8%B1%D8%A7%D8%AF%D8%A7%D8%B1_%D8%AA%D8%B4%D8%AE%DB%8C%D8%B5_%D8%AD%D8%B1%DA%A9%D8%AA' target='_blank'>\u0622\u067e\u0627\u0631\u0627\u062a: FMCW \u0631\u0627\u062f\u0627\u0631 \u062a\u0634\u062e\u06cc\u0635 \u062d\u0631\u06a9\u062a \u0641\u0627\u0631\u0633\u06cc<\/a><\/li>\n<li><a href='https:\/\/www.infineon.com\/cms\/en\/product\/sensor\/radar-sensor-ics\/24ghz-radar\/' target='_blank'>Infineon: 24GHz Radar Sensor Portfolio<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u0622\u0645\u0648\u0632\u0634 \u0633\u0627\u062e\u062a \u0633\u06cc\u0633\u062a\u0645 \u0631\u0627\u062f\u0627\u0631 \u0645\u06cc\u062f\u0627\u0646\u06cc \u0633\u0627\u062f\u0647 \u0628\u0627 \u0645\u0627\u0698\u0648\u0644 FMCW BGT24MTR11 \u0648 RTL-SDR\u061b \u062a\u0634\u062e\u06cc\u0635 \u062d\u0631\u06a9\u062a \u0627\u062c\u0633\u0627\u0645 \u062a\u0627 \u06f5\u06f0 \u0645\u062a\u0631\u060c \u0646\u0645\u0627\u06cc\u0634 Range-Doppler\u060c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062f\u0631 UGV.<\/p>\n","protected":false},"author":1,"featured_media":637,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"pagelayer_contact_templates":[],"_pagelayer_content":"","footnotes":""},"categories":[19,16],"tags":[425,422,426,239,240,48,424,423],"class_list":["post-638","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials-2","category-ugv","tag-bgt24mtr11","tag-fmcw","tag-range-doppler","tag-rtl-sdr","tag-sdr","tag-ugv","tag-424","tag-423"],"_links":{"self":[{"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/posts\/638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/comments?post=638"}],"version-history":[{"count":1,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/posts\/638\/revisions"}],"predecessor-version":[{"id":639,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/posts\/638\/revisions\/639"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/media\/637"}],"wp:attachment":[{"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/media?parent=638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/categories?post=638"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/tags?post=638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}