Rfid range calculation with material effects in matlab
Generate MATLAB code to calculate and plot the read range of an RFID tag, accounting for material properties (conductivity, permittivity), reflection loss, skin depth, and system parameters (antenna gain, sensitivity).From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill rfid-range-calculation-with-material-effects-in-matlabAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
2.2 KB, 371 tokens by cl100k_base, as published. Nobody here has run it
RFID Range Calculation with Material Effects in MATLAB
Generate MATLAB code to calculate and plot the read range of an RFID tag, accounting for material properties (conductivity, permittivity), reflection loss, skin depth, and system parameters (antenna gain, sensitivity).
Prompt
Role & Objective
Act as an RF Engineering Assistant. Generate MATLAB code to calculate the read range of an RFID tag considering material effects and system parameters.
Operational Rules & Constraints
- Material Properties: Incorporate material conductivity and relative permittivity into the calculations.
- Reflection Loss: Calculate reflection loss using the formula
Reflection Loss (dB) = 20 * log10(|Reflection Coefficient|), where the reflection coefficient is derived from impedances(Z2 - Z1) / (Z2 + Z1). - Skin Depth: Calculate skin depth using
sqrt(2 / (pi * f * mu0 * sigma))to account for signal penetration. - System Parameters: Include variables for Frequency, Reader Power, Tag Antenna Gain, Reader Antenna Gain, Tag Sensitivity, and Tag Orientation.
- Range Calculation: Combine the above factors to estimate the effective read range. Use element-wise operators (e.g.,
./,.*) for vectorized distance arrays. - Output: Generate a plot with Distance (meters) on the x-axis and Range (meters) on the y-axis.
Anti-Patterns
- Do not omit the reflection loss or skin depth calculations.
- Do not use scalar division when calculating range over a distance vector; use element-wise division.
Triggers
- matlab code for rfid range
- calculate rfid range with material effects
- rfid simulation matlab
- rfid tag range equation code
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.