GithubHelp home page GithubHelp logo

uav-ris_energyharvesting's Introduction

Energy Harvesting Reconfigurable Intelligent Surface for UAV Based on Robust Deep Reinforcement Learning

Introduction

  • This repository is the implementation of "Energy Harvesting Reconfigurable Intelligent Surface for UAV Based on Robust Deep Reinforcement Learning".
  • This study proposed a dual (time and spcace)-domain energy harvesting (EH) approach to maximize EH efficiency of the UAV—RIS system by jointly optimizing the RIS phase shifts vector, the RIS scheduling martix, the length of energy harvesting phase, and the transmit power.
  • For the UAV trajectory design, we considered the density-aware and Fermat point-based algorithms.
  • The implementation of DDPG and TD3 using Stable-Baseline3.
  • The implementation of SD3 is based on Dr. Pan's research: Softmax Deep Double Deterministic Policy Gradients.

There are some limitations to this work. If you have any questions or suggestions, please feel free to contact me ([email protected]). Your suggestions are greatly appreciated.

Citing

Please consider citing our paper if this repository is helpful to you. Bibtex:

Haoran Peng, and Li-Chun Wang, “Energy Harvesting Reconfigurable Intelligent Surface for UAV Based on Robust Deep Reinforcement Learning”, has been submitted to IEEE Trans. Wireless Commun. 

Requirements

  • Python: 3.6.13
  • Pytorch: 1.10.1
  • gym: 0.15.3
  • numpy: 1.19.2
  • matplotlib
  • pandas
  • Stable-Baselines3

Usage

Descriptions of folders

  • The folder "XXXX-MultiUT-Time" is the source code for the time-domain EH scheme in the multiple user scenario.
  • The folder "XXXX-MultiUT-Two" is the source code for the two-domain (Time and Space) EH scheme in the multiple user scenario.
  • The folder "XXXX-SingleUT-Time" is the source code for the time-domain EH scheme in the single user scenario.
  • The folder "XXXX-SingleUT-Two" is the source code for the two-domain (Time and Space) EH scheme in the single user scenario.
  • The folder "CreateData" is the source code for generating dataset of trajectories files for users and the UAV.

Descriptions of files

  • For the Exhaustive Algorithm, the communication environment is impletemented in 'ARIS_ENV.py'.
  • For DRL-based algorithms, the communication environment is impletemented in 'gym_foo/envs/foo_env.py'.
  • You can change the dataset and the scenario in 'gym_foo/envs/foo_env.py'.

Training phase

  1. For the TD3 and DDPG, please execute the TD3.py and DDPG.py to train the model, such as
python TD3.py / python DDPG.py
  1. For the exhaustive search, please execute the ExhaustiveSearch.py to reproduce the simulation results.
  2. For the SD3, please execute main.py to train a new model.

Testing phase

Please execute test.py to evaluate DRL models. Before you produce the testing results, please change the dataset and scenario in 'gym_foo/envs/foo_env.py'.

The EH efficiency

The EH efficiency = the harvested energy / the received energy from RF signals

uav-ris_energyharvesting's People

Contributors

haoran-peng avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.