Guidance on Adaptive Closed-Loop Stimulation Current Simulation

Please login with a confirmed email address before reporting spam

Hello,

I am working on a simulation project involving adaptive closed-loop stimulation in using LiveLink to integrate feedback from the system to control the terminal source (electrode stimulation). I would appreciate any insights or guidance from the community. Specifically, I am interested in simulating an electrode-based stimulation system (interpolated waveform function as a terminal) where the current is applied adaptively based on feedback from the system. The feedback could be related to electric fields, voltage changes, or other measurable parameters.

Key questions: * Can anyone provide insights on implementing adaptive feedback control in COMSOL, particularly how to modify the electrode stimulation dynamically in response to field data (e.g., based on measured voltage)? * Are there any known issues or common pitfalls when solving time-dependent simulations that involve feedback from the electric field or voltage measurements?

If anyone has successfully implemented adaptive control systems or closed-loop stimulation in COMSOL using LiveLink for MATLAB, I would love to hear about the methods or algorithms you used.


1 Reply Last Post 2025年1月11日 GMT+1 09:20
Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 2 weeks ago 2025年1月11日 GMT+1 09:20

Sophia,

you can make boundary conditions depend on model quantities. You can e.g. use probes to measure a certain quantity at a specific location, or you can use nonlocal couplings to generate a quantity for the control loop. Here are two COMSOL blog contributions you may find interesting:

https://www.comsol.com/blogs/using-the-previous-solution-operator-in-transient-modeling I have been using this approach in the past.

This is something new in version 6.3 and I haven't used it so far: https://www.comsol.com/blogs/solving-delay-differential-equations-to-model-marmots Looks very interesting.

Not sure if you need to use Matlab for your project.

Cheers Edgar

-------------------
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
Sophia, you can make boundary conditions depend on model quantities. You can e.g. use probes to measure a certain quantity at a specific location, or you can use nonlocal couplings to generate a quantity for the control loop. Here are two COMSOL blog contributions you may find interesting: https://www.comsol.com/blogs/using-the-previous-solution-operator-in-transient-modeling I have been using this approach in the past. This is something new in version 6.3 and I haven't used it so far: https://www.comsol.com/blogs/solving-delay-differential-equations-to-model-marmots Looks very interesting. Not sure if you need to use Matlab for your project. Cheers Edgar

Reply

Please read thediscussion forum rulesbefore posting.

Pleaselog into post a reply.

Note that while COMSOL employees may participate in the discussion forum, COMSOL®software users who are on-subscription should submit their questions via theSupport Centerfor a more comprehensive response from the Technical Support team.

Baidu
map