Exercises
ex-ris-ch14-01
EasyWhy does near-field RIS enable single-panel 3D positioning while far-field requires triangulation?
Phase pattern: linear vs. quadratic.
Far-field
Only linear phase term (AOA) is observable. A single panel gives a bearing line, not a point. Multiple bearings → triangulate.
Near-field
Per-element phase has both linear (AOA) and quadratic (range) terms. A single panel observes both; gives a point estimate.
Implication
Near-field RIS is uniquely suited for single-panel deployment. Simpler infrastructure, faster convergence.
ex-ris-ch14-02
EasyState how the position CRB scales with and SNR.
CRB = FIM⁻¹; FIM ∝ N²·SNR.
CRB
CRB .
Scaling
- Double : CRB → CRB/4. Position accuracy improves by 2×.
- 10 dB SNR boost: CRB → CRB/10. Accuracy improves by √10 ≈ 3.16×.
Comparison with comm
Comm rate grows logarithmically in SNR. Position accuracy grows linearly in . RIS localization benefits more from large than RIS comm does.
ex-ris-ch14-03
MediumDerive the FIM for a single RIS observation under Gaussian noise.
Use the log-likelihood formula and differentiate.
Log-likelihood
.
Gradient
.
FIM
FIM = = , where is the Jacobian.
ex-ris-ch14-04
MediumFor , dB per element, UE at 10 m distance, at 28 GHz. Compute the order of magnitude of the position CRB.
FIM .
FIM
FIM .
CRB
CRB m per coordinate.
Interpretation
Sub-10-μm theoretical precision. In practice: μm- mm after accounting for imperfections. Still cm-level or better.
ex-ris-ch14-05
MediumProve that FIM from independent RIS panels adds: .
Independent measurements; log-likelihoods sum.
Independent
are conditionally independent given . .
FIM
.
Consequence
CRB. For equivalent panels, CRB scales as .
ex-ris-ch14-06
HardCompare single-panel () vs. four-panel (, ) deployments for positioning. Which wins under (a) favorable geometry and (b) adversarial geometry?
Signal strength vs. geometric diversity.
Signal strength
Single: coherent FIM . Multi: . Single is 4× stronger in FIM.
Favorable geometry
Single-panel positioning sees all coords well; multi gives less per-signal info. Single wins (4× better).
Adversarial geometry
Single-panel: some coords poorly observed (small sensitivity). Multi-panel: different geometries cover all directions. CRB conditioning is poor for single; multi distributes well. Multi wins (possibly 10× better conditioning).
Conclusion
For well-conditioned scenarios: single panel. For challenging geometries: multi-panel. Deploy based on expected UE distribution.
ex-ris-ch14-07
MediumExplain why Newton method is preferred over gradient descent for position MLE.
Convergence rate.
Newton
Uses the Hessian (second derivative = FIM). Converges quadratically near the optimum: each iteration halves the error in sense.
Gradient descent
Uses only first derivative. Converges linearly: each iteration reduces error by a constant factor.
Iterations
For 6-digit accuracy: Newton ~5-10 iterations; gradient descent ~50-100. Newton is 5-10× faster per convergence.
Caveat
Newton requires Hessian to be PSD (convex near optimum). At low SNR, Hessian may be ill-conditioned — fallback to regularized Newton (Levenberg-Marquardt) or gradient descent.
ex-ris-ch14-08
MediumFor AR/VR tracking with , GHz, UE at 2 m, SNR = 20 dB. Compute expected position accuracy.
Near-field CRB.
Near-field check
mm. m. m. UE at 2 m . Near-field. ✓
FIM
At 20 dB SNR per element: . FIM .
CRB
per coord. Practical accuracy: . Excellent for AR/VR.
ex-ris-ch14-09
HardWhy does calibration of RIS element positions matter for positioning accuracy?
Error propagation.
Error model
If RIS element is actually at (mismeasured by ), the observed phase is offset by .
Propagation
The position estimate absorbs this phase offset as a UE position error. A 1-mm element position error → 1-mm UE position error (rough 1:1).
Sub-mm required
For -mm UE positioning: need sub-mm element position calibration. Achievable via laser total-station surveying or known-reference-transmitter calibration at deployment. Skipping calibration: 10-100x worse accuracy.
ex-ris-ch14-10
MediumWhat happens to positioning accuracy when the UE moves toward / away from the RIS panel?
Range sensitivity vs. distance.
Range CRB
Range CRB . At longer distance, more , worse CRB.
At $d = 1$ m vs. $d = 20$ m
Range CRB at 20 m is worse than at 1 m.
Angular CRB
Angular CRB relatively insensitive to distance (depends on aperture and wavelength). Becomes relatively dominant at larger distances.
Total position error
Near the panel: range-dominated. Far from panel: angle- dominated. Best positioning near the panel (few meters). For longer ranges, multi-panel fusion or moving the UE closer helps.
ex-ris-ch14-11
MediumCompare RIS localization with GPS indoors. Pros and cons of each?
Coverage, accuracy, infrastructure.
GPS
- Pros: ubiquitous outdoor coverage; no infrastructure needed.
- Cons: blocked indoors by buildings ( dB penetration); m accuracy outdoors, unusable indoors.
RIS
- Pros: works indoors; cm-level accuracy; no UE modification.
- Cons: requires installed RIS panel(s); single room/area coverage per panel; needs calibration.
Complementary
Use GPS outdoors, RIS indoors. Hybrid deployments in urban canyons can have both (GPS supplement where RIS isn't available).
ex-ris-ch14-12
HardA Kalman filter is used for continuous UE tracking. Describe how it integrates with RIS position measurements.
Observation model, motion model, prediction-update cycle.
Motion model
(constant-velocity + process noise).
Observation model
RIS-based MLE at each time step: with uncertainty Cov (from FIM).
Predict step
Predict from previous estimate + motion model.
Update step
Combine prediction with observation via Kalman gain weighted by covariances: .
Benefit
Smoother trajectories, predicts during sensor outages, fuses multi-panel observations across time. Standard tool for practical positioning.
ex-ris-ch14-13
MediumFor an industrial robot with Hz position update rate, estimate the feasibility of RIS-aided tracking.
Coherence time and MLE compute.
Position update rate
1000 Hz → 1 ms per update.
MLE compute
Newton MLE: ~1-10 ms on CPU. Might not fit. Kalman-style incremental update: much faster, sub-ms.
Feasibility
Feasible with warm-started incremental Kalman filter. Each update re-estimates one step using previous state + new RIS observation. Per-step compute: .
Deployment
High-performance robotics with RIS tracking: feasible. Typical robotic precision targets ( mm) are well within RIS capability.
ex-ris-ch14-14
HardCompute the angular resolution of a RIS panel with elements at spacing, at 28 GHz.
Angular resolution .
Aperture
m (for a 1D array). For a UPA: m (smaller, but 2D). Take 1D for simplicity: m.
Angular resolution
rad .
Practical
At 20 m distance: m = 16 cm lateral resolution. Combined with range resolution (< mm in near-field), gives 3D positioning accuracy bounded by the angular term in far-field, range term in near-field.
ex-ris-ch14-15
ChallengeOpen-ended: Design a RIS-based positioning system for a factory floor with m² area, robots requiring 1-mm accuracy. What deployment?
Panels, frequencies, update rates.
Frequency
Need mm-scale accuracy → sub-THz (140 GHz) for short wavelength. mm. Near-field at typical distances: ✓.
Panels
4 panels at corners, each elements, m. Near-field range: m factory size. All robots in near-field.
Fusion
Each panel individually gives robot position. Multi-panel fusion yields sub-mm accuracy via diversity + FIM summing.
Update rate
Robotic manipulation: 1 kHz. RIS with Kalman tracking: feasible. Each update: sub-millisecond compute.
Coverage
4 panels at corners cover full 50×50 m². Backup: individual panels handle obstruction.
Cost
4 × per panel (sub-THz hardware). Comparable to laser-tracker or optical motion-capture alternatives, with RIS advantage of no line-of-sight camera requirement.