GHI CHÉP 09 · WIRELESS LINK
Baseband → RF → antenna
Sau Bài 08, ta đã hiểu mapper tạo complex symbols. Nhưng antenna không phát một số phức trong RAM. Bài này theo representation từ digital complex samples tới analog baseband, real RF voltage/current và cuối cùng là electromagnetic fields.
BÀI TOÁN CẦN GIẢI
Giả sử DSP đang có buffer . Ta cần phân biệt rõ ba object: digital representation, analog electrical waveform và radiated field.
Đây là conceptual direct-conversion chain. Radio thực có thể dùng digital upconversion, RF DAC, IF stages hoặc architecture khác, nên đừng coi số lượng physical blocks trong hình là bắt buộc.
01 · MỖI STAGE DÙNG MỘT REPRESENTATION KHÁC
Complex sample là mathematical representation. RF port cuối cùng mang voltage/current thực theo thời gian.
Trong DSP ta viết . Hai coordinates giữ amplitude/phase information rất thuận tiện, nhưng chữ không có nghĩa hardware phải tạo một “imaginary voltage”. Physical I và Q paths, nếu architecture có chúng, đều là real electrical waveforms.
Numbers trong DSP, indexed theo sample clock.
Real analog voltages/currents representing the complex envelope.
Real passband waveform centered around RF carrier.
Representation đổi qua từng stage, nhưng information phải được bảo toàn trong wanted band. Bài này quan tâm chính xác việc information đi từ complex coordinates sang physical waveform như thế nào.
02 · DAC BIẾN SAMPLE VALUE THÀNH ANALOG WAVEFORM
DAC biến sequence theo sample clock thành một analog output; reconstruction filtering giữ wanted band và suppress images.
Với mỗi digital branch, samples tới theo rate với spacing . Một zero-order-hold model giúp hình dung output được giữ giữa các updates, nhưng converter thực có transfer function riêng và không bắt buộc đúng literal model đó.
Discrete-to-continuous conversion tạo spectral images liên quan tới sample rate. Reconstruction / anti-imaging filtering giúp giữ wanted analog band và suppress unwanted images. Vì vậy DAC không đồng nghĩa với “RF carrier generator”; carrier translation là một operation khác.
Các giá trị theo sample index.
Hai tín hiệu điện analog quanh baseband.
Giảm spectral images và thành phần ngoài dải.
03 · I VÀ Q ĐIỀU KHIỂN HAI CARRIER VUÔNG PHA
Quadrature upconversion biến complex baseband thành một waveform RF thực.
Với convention :
Nhánh I nhân với cosine. Nhánh Q nhân với sine lệch 90°. Sau đó hai nhánh được cộng lại. Kết quả s(t) là một giá trị thực theo thời gian, đúng loại waveform mà RF circuit và antenna có thể xử lý.
Với một complex tone , ideal upconversion cho:
Đây là cách rất trực quan để đọc signed complex-baseband frequency: đi lên phía trên carrier, còn đi xuống phía dưới carrier.
04 · INTERACTIVE LAB
Mode 1 nhìn sample sequence đi qua DAC. Mode 2 nhìn signed baseband frequency được dịch lên quanh carrier.
DAC & reconstruction tách discrete samples, held analog output và wanted in-band waveform. Frequency translation dùng một complex tone để cho thấy negative/positive baseband offsets trở thành lower/upper RF offsets.
Đường smooth là reference cho wanted in-band waveform, không phải khẳng định một reconstruction filter thực sẽ tạo đúng đường này. Hardware filter chỉ cần giữ wanted band và suppress images đủ cho system requirement.
05 · UPCONVERSION LÀ DỊCH SPECTRUM LÊN QUANH CARRIER
Baseband dùng zero frequency làm reference; upconversion đổi reference đó sang carrier .
Nếu complex baseband chứa offsets trong một interval quanh , ideal multiplication bởi complex carrier dịch các offsets đó quanh . Taking the real part tạo physical passband waveform và đồng thời real RF spectrum phải có conjugate symmetry quanh zero.
DSP xử lý modulation và filtering ở frequency thấp tương đối.
Cùng information structure, nay nằm trong RF band.
06 · UPCONVERSION XONG VẪN CHƯA PHẢI MỘT TRANSMITTER HOÀN CHỈNH
Wanted RF waveform còn phải đạt spectral, power và interface requirements trước antenna.
Giữ wanted RF band
Upconverter, DAC/RF-DAC và nonlinear stages có thể để lại images, harmonics hoặc spurious products. RF filtering giúp suppress unwanted content ngoài wanted transmit band.
Tăng công suất phát
PA nâng RF waveform tới power level cần thiết. Nonlinearity có thể tạo in-band distortion và spectral regrowth, nên output power không thể tách rời linearity requirement.
Đưa power tới antenna
Matching network, switch, duplexer hoặc filter bank tùy architecture route power và tạo interface phù hợp giữa RF chain với antenna port.
07 · ANTENNA KHÔNG THỰC HIỆN MODULATION
Data đã nằm trong RF voltage/current tại feed; antenna tạo spatial electromagnetic fields từ current distribution của cấu trúc.
RF excitation ở feed tạo current/charge distribution trên antenna, từ đó hình thành radiated electric và magnetic fields. Geometry, impedance match, polarization và surrounding structure ảnh hưởng efficiency/pattern. Antenna không đọc bit labels và cũng không tự thực hiện QAM mapping.
08 · IDEAL EQUATIONS CHE GIẤU CÁC RF IMPAIRMENTS
Real transmitter không tạo đúng tuyệt đối waveform mà DSP yêu cầu.
Hai quadrature paths không perfectly matched có thể tạo mirror-image leakage.
DC offset hoặc finite isolation có thể làm energy rò tại carrier center.
Amplitude-dependent gain/phase làm received constellation và spectrum méo.
DAC resolution và clock quality cũng giới hạn waveform fidelity.
Bài này không đi sâu calibration hay RF impairment compensation. Điều cần giữ là ideal complex-envelope equation là target model; hardware implementation luôn có error budget quanh target đó.
09 · RECEIVER ĐI NGƯỢC LẠI, NHƯNG KHÔNG PHẢI CHỈ ĐẢO MŨI TÊN
Antenna thu một RF waveform đã bị channel và noise làm thay đổi, rồi radio đưa nó trở lại samples.
Đây là chỗ Bài 10 bắt đầu. Từ antenna phát tới antenna thu, waveform không còn là bản sao lý tưởng. Khoảng cách, vật cản và multipath tạo ra chính “wireless channel”.
10 · NỐI LẠI CÁC Ý
Một complex sample chỉ là điểm bắt đầu của chuỗi representation → conversion → RF → radiation.
- samples: representation số của complex baseband.
- DAC / reconstruction: biến discrete representation thành wanted analog baseband band.
- Quadrature upconversion: tạo real RF waveform.
- Signed baseband frequency: positive/negative offsets map sang upper/lower offsets quanh carrier.
- RF filter + PA: enforce spectral/power requirements nhưng cũng có nonidealities.
- Antenna: RF excitation tạo current distribution và radiated electromagnetic fields.
- Receiver: chọn band, amplify, downconvert và digitize để trở lại DSP representation.