TracePro交互式优化工具使用说明

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

1.Introduction
1.Introduction
TracePro®Interactive Optimizerhelps users generate and also accomplish the optimization process of the Optical Elements and whole system-quickly and accurately.It provides a convenient and intuitional user interface to create radial free-form optical element(s).While useful for luminaire design,this tool can also be used to optimize LED second optics,reflective optics,projector system,solar concentrator and any other optical system needed optimization.The utility is for use with all TracePro editions and requires the most recent release of TracePro7.0and Microsoft Windows XP or later version.
For more information on TracePro,or if you need technical support,please contact Lambda Research Corporation.
About Lambda Research Corporation
Founded in1992,Lambda Research Corporation is a privately held company based in Littleton, mbda provides optics software and services for government and industry worldwide.The company is an industry pioneer in the areas of stray light analysis,optical system design and analysis,scattering theory,optical testing,process control software and custom software development.
Technical Support
If you are having trouble with TracePro or have questions,please contact your distributor or Lambda Research Corporation directly.Technical support is available to customers with current support contracts.
Additional information is also available via:
•the World Wide Web at
•the user to user e-mail list tracepro-talk
•the new version e-mail list tracepro-updates
To subscribe to one of the e-mail lists,submit a request online at /lists/listinfo.
You can call us between the hours of9:00am and5:30p.m.(U.S.Eastern Time)Monday through Friday or reach us by e-mail.
Lambda Research Corporation
25Porter Road
Littleton MA01460
Phone:(978)486-0766
Fax:(978)486-0755
support@
2.Getting Started
2.Getting Started
Interactive optimizer offers an intuitive graphical user interface.Its multi-window design makes it easy to initiate a prototype design and monitor the optimization process with the instant simulation data returned from TracePro.This manual generally assumes a working knowledge of Windows.When Interactive Optimizer launched,a MDI window is initiated for starting a new optimization plan.
The Interactive Optimizer user interface consists of:
•Profile editor window
•Toolbox panel
•Property window
•Export panel
•Optimization control panel
•Optimization log
•Options panel
Below you can find instructions for some of the most basic Surface Source Property Generator operation More:
•Profile editor window
•Toolbox panel
•Property window
•Export panel
•Optimization control panel
•Optimization log
•Options panel
2.1Interactive Optimizer Interface
Interactive Optimizer is a pure graphical user interface application.It helps users generate many kinds of freeform geometry and simulate its optical system performance in TracePro®.Furthermore it manipulates TracePro®to accomplish the optimization through DDE channel.
To understand the interfaces of Interactive Optimizer,a simple description about each child windows are necessary,they are:
3.Interactive Profile Editor
Optical designers always have a lot of brilliant ideas to create optical systems.The optics geometry shape that they want to use in their system it’s not a primitive geometry,like sphere or block.Thus,how to create a desired geometry shape is an important issue.Even some people can’t100%simulate their optical system in TracePro,just because of complicate model creating problem.And here,Interactive Optimizer can help designer create their complicate optical components quickly and accurately.
Interactive Optimizer provides Interactive Profile Drawer to easily create geometry.In Drawer,user can use straight line and spline to draw an enclosed loop to represent geometry’s profile.And without limiting the number of node point,the profile can fully matches use’s desire.
The finished profile can be directly export to TracePro as a3D solid object.Or this profile can be the initial design of a system optimization process.Furthermore,it provides real-time2D raytrace function to speed up create a better initial design.
There are a lot of features,such like drawing profile,raytrace,paste background bitmap and so on,that are included in Interactive Profile Drawer.So,for convenient operation,there is an independent“Toolbox”panel to switch Profile Drawer to different function.
More:
•Interactive Profile Drawer-Segment
•Interactive Profile Drawer-Object
•Interactive Profile Drawer-Rays
•Interactive Profile Drawer-Bitmap
3.1Segment Mode
Add Segment/Control Point
To add a segment/control point into the segment,first right-click on the wanted position of the segment and then click on the"Add Segment/Control Pont"command from the pop-up menu.
Delete Segment/Control Point
Right-click on the wanted segment/control point and then click on the"Delete"command from the pop-up menu.
Segment Type Selection
Right-click on the interested segment and then choose the wanted segment type from the pop-up menu. Now there are five segment types provided:
•Line:Straight line is used to connect the two adjacent segment points.
•Spline:Spline curve is used to fit the control points between the two adjacent segment points.
•Sphere:Spherical curve is used to connect the center control point and the two adjacent segment points.
•Ellipse:Elliptical curve is used to connect the center control point and the two adjacent segment points.
•Conic:Conic curve is used to fit the control points and the two adjacent segment points.
Adjust Object Shape
The shape of the object can be modified by dragging the segment/control points among the segments. 3.2Object Mode
Add
Right-click on the editing area to determine the center position height of the new object.Then click on the "New Object"command from the pop-up menu will add a new object into the editor window.
Move
Select the wanted object by first locating the mouse on any of the segments of it.Then move the mouse cursor with the left button depressed will move the selected object.
Delete
Select the wanted object by first locating the mouse on any of the segments of it.Then right-click the mouse and select“Delete Object”from the pop-up menu will delete the selected object.
3.3Rays Mode
Add
To start tracing a single ray,pressing the mouse left button at the interested start position and then drag the mouse to determine the direction of the emitting ray.Two functions are also provided for generating ray array,i.e., ray fan or ray sequence:
•Ray fan–First,press and drag the left button to decide the initial ray position and emit direction.Hold on the left button and,meanwhile,press the[ctrl]key.Then drag the mouse around to decide the expanding angle of the ray fan.Once done,release the mouse button and the[ctrl]key,and the ray fan will be added into the editor window.
•Ray sequence-First,press and drag the left button to decide the initial ray position and emit direction.
Hold on the left button and,meanwhile,press the[Shift]key.Then drag the mouse to decide the extending range of the ray sequence.Once done,release the mouse button and the[shift]key,and the ray sequence will be added into the editor window.
Delete Ray
Right-click on the interested ray and select“Delete Ray”from the pop-up menu will delete the selected ray.
Clear all rays
Right-click the mouse and select“Clear all rays”from the pop-up menu will delete the whole rays.
3.4Bitmap Mode
Add
To paste the grabbed picture,right-click on the editing area to determine the center position of the pasted image.Then click on the"Add bitmap from clip board"command from the pop-up menu,the stored picture in the clipboard will be pasted into the editor window.
Delete
Right-click on the center point of the pasted bitmap and then click on the“Delete”command from the pop-up menu will delete the pasted bitmap.
Adjust
The pasted bitmap can be rotated or scaled by dragging the control points of the bitmap frame.
4.Toolbox
The ToolBox Panel is the control panel for users to select the manage mode of the Profile Editor Window.In each manage mode,users can implement different actions to the displayed objects in the model.
More:
•Toolbox-Mode
4.1Mode
Seg
When Seg mode is selected,users can reshape the object profile by making adjustment to the segment/control point position in the Profile Editor Window.The way how the segment/control points are connected will base on the curve type selection of each segment.
Obj
When Obj mode is selected,users can select to add,delete,or move an arbitrary object in the model.
Rays
When Rays mode is selected,the raytrace function is enabled,and this helps give a quick check to the design
model.
Show Rays
When Show Rays icon is checked,the traced rays will be instantly shown in the Profile Editor Window.
Bitmap
When Bitmap mode is selected,users can paste,modify,or delete the grabbed image in the Profile Editor Window.
Show Bitmap
When Show Bitmap icon is checked,the pasted picture will be shown as the background image in the Profile Editor Window.
Opacity Tunner
Through the Opacity Tuner,users can directly tune the opacity of the pasted bitmap.
Unit Selector
Users can select the unit of the editor window to be mm,cm,or m.
5.Property
The Property Editor allows users define the environment and object property in the model.
More:
•Property Editor-General Tab
•Property Editor-Object Tab
5.1General Tab
The refractive index data are shown in the Refractive Indices ers can set the refractive index value of each item from the table.
5.2Object Tab
The detailed property information of an object will be shown in this ers can select to modify the item they want and the corresponding will be highlighted in the Profile Editor Window.
6.Export
To open the Export Panel,click on menu button:"Export".
To generate geometry model and apply properties,use Export function to create a complete model including its optics properties in TracePro.Through DDE link,objects with the designated surface profiles can be directly added into the model window of TracePro.The creation mode and the applied property of each object can be checked and modified in the Export Panel
More:
•Export Optical Element(s)
•Creation Mode
6.1Optical Element(s)
This window generates optics object(s)in TracePro.Each object's geometry profile bases on”Editor Window”.And then,by different“Creation mode”,3D shape could be“Radial Symmetry”,“Biaxial”and
property.
Export
7.Optimization
There are4regions in the optimization window.They are“Saving Optimization Log Options”,“Optimization Variables List”,“Optical Element Export Options”and“Definitions of Optimization Operands”.
All parameters in this window will determine whether Interactive Optimization Utility links TracePro successfully and how to accomplish this optimization.While everything is ready,click"Start"button to begin optimization.
More:
•Optimization-Options
•Optimization-Variables
•Optimization-Operands
•Optimization-Objects
7.1Options
Interactive Optimization Utility uses DDE(Dynamic Data Exchange),a Windows protocol to share information with TracePro.To establish a full optimization,utility exports geometry to current document, commands that TracePro apply properties to exported object(s),and then initiates raytrace and saves simulation result.
The whole optimization process would be saved.Thus,the file path and log file name have to be defined in advance.
7.2Variables
All variables will be listed in this panel.It’s just a simple viewer to monitor all variables in an easy way.We suggest not changing any value in this panel.That may cause some problems.The ideal way to modify variable-related values is through the Property window's Object Tab.
Additional Variable
In some complicated case,we need some more advanced optimization skill to optimize our ually advanced optimization skill goes along with using After-scheme.To insert a new user-defined variable,first step is right click on this panel,and insert a user-defined variable.After setting its initial value,upper and lower limits, this variable’s name would be recognized in After-scheme.This new variable can be used to be one parameter of all commands in After-scheme.
7.3Operands
After you have initiated the design of geometry shape,you need to set up the merit functions for you design system.For the following optimization process,it will take all operands as references and considering individual weight to evaluate the error value of each run.
There are five different kinds of operands can be used.They are Flux,CIExy,CIEu’v’,Irradiance Profile and Candela Profile.Besides,each operand has different way to set up.
Operand Type-Flux
The calculation of flux operand’s error value bases on the difference value between the target value and total flux of selection area on the observation plane.
Operand Type-CIE u'v'&CIE xy
The calculation of CIE operand’s error value bases on the color difference on CIE map between the target color and the average color on selected region on observation plane.
Operand Type-Irradiance Profile
The calculation of Irr Profile operand’s error value bases on the irradiance/illumunance profile similarity
between the target profile and the profile gotten from observation plane.
Operand Type-Flux
The calculation of Irr Profile operand’s error value bases on the irradiance/illumunance profile similarity between the target profile and the profile gotten from observation plane.
7.4Objects
During optimization process,Interactive Optimizer follows the variables that optimization algorithm
7.Optimization
generates to export one or more optics that need to be optimized into TracePro in each iteration.After creating optics,next steps are performing raytrace and analyzing its result.
Here,this objects panel manages how to export optics and including applying material property on it.The detailed about exporting object,such as definition of parameters and creation mode,see Export.
After-scheme
The last column named“After-scheme”is the only distinction between Export window and this panel.If there’s other specific actions must be executed after creating geometry,people can add additional code at this column.It’s compatible with TracePro Scheme Commands and all commands provided by Interactive Optimizer. Double-click the grid,a Scheme editor window pops up.After coding,press“Apply”button to save it.
Scheme Execution
To pre-execute the content in after-scheme column,Right click on the grid,a menu pops up.Three different actions as follow:
8.Optimization Log
The Optimization Log window helps user monitor the optimization progress.While performing optimization, this window shows up automatically.
More:
•Optimization Log-Graphs
•Optimization Log-Trand Chart
8.1Graphs
All iteration will be recorded by Interactive er can check each time simulation result(s)through this graph panel.And all useful analysis values are listed on this panel too.
List
Graphs
Switch to Graphs tab,while the selected row is changed,the graphs panel will update to the correlated simulation result map.After selecting a row,if system saved multiple maps,user can choose analysis map through Graph selector.
8.2Trand Chart
The trend chart of the Error Value is displayed in this ers can monitor the optimization process by keeping track on the Error Value.By default,this plot will be automatically updated by the simulated result throughout the optimization process.
Once the optimization has multiple targets,user can choose to individually view the error value trend chart of each target or just the sum of error values for targets.
Interactive Optimization use Simplex as optimization algorithm that uses4kinds of method,including Reflection,Expansion,Contraction and Shrinkage,to manipulate the simplex and try to find the local minimum. So each iteration point in trend chart uses color to indicate its corresponding Simplex Algorithm action.
9.Options
The Options Panel allows you to specify the drawing preferences and decide the preferred way to initiate the optimization process.
More:
•Options-Drawing Tab
•Options-Optimization Tab
9.1Drawing Tab
In this tab,it allows you to specify the colors for the drawing items in the profile editor window.
Below is a list of drawing items that you can modify:Background,Curve,Highlight curve,Selected Curve, Ray,Highlight Ray,Selected Ray,Ray Fan,Ray Sequence
9.2Optimization Tab
In this tab,it allows you to specify the way of initiating the Downhill Simplex Method.Two ways are provided:[Generate by Character length]or[Generate by Variable limits].
9.3Tool-Reset DDE
Interactive Optimizer uses DDE(Dynamic Data Exchange),a Windows protocol to share information with TracePro.Once the utility fails keeping connection with TracePro,users just need to click the[Reset DDE]menu button and the utility will fix the issue automatically.。

相关文档
最新文档