Home Forums SYSTEM Controller loop Reply To: Controller loop

#69395
Profile Photo
Ahmad Atieh
Moderator

Dear Nikhila,
you need to make the control loop inside the Matlab component by modifying the code to allow checking the input voltage and compare it to 3 or you could make the check within a range of 3 (between 2.99 and 3.01 for example), if it is less than three (or the range) you add (some value; could be a fraction of 1) and if it is larger than 3 you subtract (some value; again could be fraction of 1 like 0.1). once you match the value of the loop inside the Matlab component to 3 or the range, you stop and use the value to be added to the input of the adder as shown in the attached figure. please contact me at ahmad.atieh@optiwave.com if you’d like to discuss further.
Regards,
Ahmad

Categories