Home › Forums › SYSTEM › Controller loop › Reply To: Controller loop

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
Attachments:
Categories
- All
-
Knowledge
Contains a detailed Q&A knowledge base. -
General
All non-technical questions. -
System
Optical system design and analysis. -
Instrument
Communicate and control different kinds of instruments. -
SPICE
Opto-electronic circuit design. -
FDTD
Finite-Difference Time-Domain simulation. -
BPM
Beam Propagation Method analysis and design. -
Grating
Fiber optic grating simulation. -
Fiber
Optical fiber design and characterization. -
Exchange
Users can exchange design files.
(Matlab, C++, etc.)