Noise Cancelling Simulink model with error message

2 views (last 30 days)
Attached to this there is my trial to make a FXLMS based feedforward noise controller for an acoustic duct. What I have done so far is I have modeled the transfer function on the s domain, discretized the function to the z domain and then I have put the numerator coefficients of that z transform as coefficients to a FIR filter simulating the primary and secondary path (FIR filters have 1 as denominator). Simulink keep showing me this error message below. Can someone please help me understand what is wrong with my model? I already tried to change the setting for the model as they suggest, but with no success.
I based my model on the block diagram from this article http://www2.coe.pku.edu.cn/tpic/2010913102917710.pdf page 4, fig 5.
An error occurred while running the simulation and the simulation was terminated
Caused by:
Simulink cannot solve the algebraic loop containing 'SIMULINK_def/LMS' at time 4.5351473922902495E-5 using the TrustRegion-based algorithm due to one of the following reasons: the model is ill-defined i.e., the system equations do not have a solution; or the nonlinear equation solver failed to converge due to numerical issues.
To rule out solver convergence as the cause of this error, either
a) switch to LineSearch-based algorithm using
set_param('SIMULINK_def','AlgebraicLoopSolver','LineSearch')
b) reducing the fixed step size.
If the error persists in spite of the above changes, then the model is likely ill-defined and requires modification.

Answers (0)

Categories

Find more on Audio Processing Algorithm Design in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!