Can we create a wireless sensor network using Simulink?

I know there are existing matlab codes for wireless sensor network. But I want to simulate the sensor battery aging process through charging and discharging in a wireless sensor network used for monitoring. Can I realize this using Simulink?

6 comentarios

Yes, you can. However, I would suggest to you that it would probably be easier to implement in Stateflow if you are planning to do simulation of events. Or perhaps combining Stateflow with Simulink.
If it is important to monitor the current battery levels while charging and discharging, then a Simulink component could be useful. But if it is acceptable to just say, "Okay, here's a recharge event, new charge is given by this formula" and on the timescale the event is then "over", then Stateflow would be more appropriate.
LANG Wu
LANG Wu el 10 de Jun. de 2020
I am sorry for the late reply. In fact, I want to use Simulink component to monitor sensor node battery levels. But for the whole wireless sensor netowrk, it can be event driven. Can we realize that?
Yes. You can create your model with external signals that represent the state of events, and then send it event information somehow (for example, udp.) Or use blocks to interact with the model; see https://www.mathworks.com/help/simulink/control-and-visualize-simulations-with-interactive-displays.html . Or put a random number generator to creat events.
Hi Walter. I am new to WSN simulation. I am not able to create a complete network in Simulink by myself. Do you know any examples?
Thank you. I will check them out.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Productos

Versión

R2020a

Preguntada:

el 11 de Mayo de 2020

Comentada:

el 7 de Jul. de 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by