66
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . R EFLECTOR CAD 1 Segmented reflector design software Test Guide BREAULT RESEARCH ORGANIZATION, INC. ISO 9001 CERTIFIED

REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

  • Upload
    others

  • View
    26

  • Download
    0

Embed Size (px)

Citation preview

Page 1: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

. . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .R E F L E C T O RC A D 1

Segmented reflector design software

Test Guide

BREAULT RESEARCH ORGANIZATION, INC.ISO 9001 CERTIFIED

Page 2: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at
Page 3: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

. . .

. .

This manual is for use with ReflectorCAD®.

Comments on this manual are welcome at: [email protected]

For technical support, information on additional copies of this documentation, or technical information about other BRO products, contact:

Breault Research Organization, Inc.

6400 East Grant Road, Suite 350

Tucson, AZ 85715

US/Canada:1-800-882-5085

Outside US/Canada:+1-520-721-0500

Fax:+1-520-721-9630

E-Mail:

Technical Support:[email protected]

General Information:[email protected]

Web Site:http://www.breault.com

Breault Research Organization, Inc., (BRO) provides this document as is without warranty of any kind, either express or implied, including, but not limited to, the implied warranty of merchantability or fitness for a particular purpose. Some states do not allow a disclaimer of express or implied warranties in certain transactions; therefore, this statement may not apply to you. Information in this document is subject to change without notice.

Copyright © 2001-2016 Breault Research Organization, Inc. All rights reserved.

This product and related documentation are protected by copyright and are distributed under licenses restricting their use, copying, distribution, and decompilation. No part of this product or related documentation may be reproduced in any form by any means without prior written authorization of Breault Research Organization, Inc., and its licensors, if any. Diversion contrary to United States law in prohibited.

Breault Research Organization, Inc.

6400 East Grant Road, Suite 350

Tucson, AZ 85715

BRO acknowledges and recognizes the registered trademarks of product names in this manual:

ASAP is a registered trademark of Breault Research Organization, Inc.

ReflectorCAD is a registered trademark of Breault Research Organization, Inc.

broman3028_refCAD, November 23, 2015

ReflectorCAD Test Drive 3

Page 4: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

4 ReflectorCAD Test Drive

Page 5: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

C H A P T E R

CHAPTER 1QUICK TOUR

This quick tour introduces the basic principles of ReflectorCAD® from Breault Research Organization (BRO). Step-by-step instructions and illustrations are provided for building a simple reflector. Refer to ReflectorCAD Help for topics related to concepts, reference material, and tasks.

ReflectorCAD Design Workflow

ReflectorCAD typically embodies this five-step workflow in the design of reflectors

1 Define a base surface.

2 Select a light source.

3 Create and aim segments.

4 Adjust intersegment discontinuities.

5 Export the reflector design (for more detailed engineering analysis).

Define a base surface

All segments are initially created on the base surface. Vertex and segment heights are measured relative to it. Typically, this surface approximates the desired shape of the finished reflector. Simple, built-in base surfaces are provided. Base surfaces also can be imported from an IGES file using the utility IgesToBaseSurf.exe included with ReflectorCAD.

R e f l e c t o r C A D T e s t D r i v e 1 -3

Page 6: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Select a light source

One or two light sources can be used. Only one source can be “on” at a time. The source is used for calculating the approximate output and aiming segments of the reflector.

Create and aim segments

Segments are created graphically. Each segment is directed to illuminate a specific region by moving and reshaping its aim box in the output view. Approximate reflector output (either positional or directional) can be quickly calculated at any time to aid in making aiming decisions.

Adjust intersegment discontinuities

For both performance and manufacturing reasons, minimize height discontinuities between segments. If necessary, adjust segment aims and/or starting point heights to hide or shadow discontinuities from the source to prevent undesired stray reflections. A simple method for checking edge shadowing is provided in ReflectorCAD.

Export the reflector design

Reflector designs can be exported to ASAP® (Advanced Systems Analysis Program) from BRO (via an INR file), or a CAD program (via an IGES file). Other geometric elements (for example, the bulb holder or shelves) can then be added. With this additional geometry in place, further analysis should be performed using an optical analysis package, like ASAP.

1-4 R e f l e c t o r C A D T e s t D r i v e

Page 7: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

ReflectorCAD Window Layout

Figure 1.1 illustrates features of the main ReflectorCAD window. The reflector faces in the +Z direction and is viewed looking in the -Z direction. In other words, if the reflector were a headlamp, your view is from the perspective of facing the car.

Figure 1.1 ReflectorCAD window with key features delineated. (In this figure, the window is shown in its vertical layout, with the reflector view above the output view. The layout can be changed to a horizontal view on the View menu.)

The output is viewed looking in the +Z direction, as if we were in the car looking at the output on a wall in front of the car. See Figure 1.2.

R e f l e c t o r C A D T e s t D r i v e 1 -5

Page 8: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Figure 1.2 Viewpoint orientation for the reflector and output views

Design Goal

The design goal in this quick tour is to create a reflector that produces an output pattern qualitatively similar to that shown in Figure 1.3.

Figure 1.3 Desired output pattern for the reflector

1-6 R e f l e c t o r C A D T e s t D r i v e

Page 9: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

You want a square hot spot at 2 degrees below the center and a relatively even spread from -15 degrees to 15 degrees horizontal and 0 degrees to -6 degrees vertical.

Preliminary Steps

After starting ReflectorCAD, the main window opens with a view similar to Figure 1.4.

Figure 1.4 Initial display of the window, shown in the horizontal view

Before you create the first segment, you must set units, define a base surface, select a light source, and specify the output properties.

R e f l e c t o r C A D T e s t D r i v e 1 -7

Page 10: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Set system units

• From the Setup menu, click System Units.

• Click OK to accept the default units, Millimeters, as shown in Figure 1.5.

Figure 1.5 Setting system units

1. Define a base surface

The base surface defines the height (Z coordinate) for the starting point of new segments. It also specifies boundaries of the reflector in the X-Y plane.

• Click Setup, Base Surface Properties, complete the dialog box, as shown in Figure 1.6, and click OK.

1-8 R e f l e c t o r C A D T e s t D r i v e

Page 11: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Figure 1.6 Defining the base surface properties

These properties make the base surface a parabola (because the Conic Constant is -1) with a focal length of 40 mm (because the Radius of Curvature is 80 mm). By shifting the base surface -40 mm along Z, you place the focus at the origin. The outer boundary is rectangular with rounded corners (called a racetrack). The circular inner boundary serves as the bulb hole.

R e f l e c t o r C A D T e s t D r i v e 1 -9

Page 12: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

2. Select a light source

1 Click Source, Properties, or click on the toolbar.

2 Complete the Source Properties dialog box as shown in Figure 1.7.

Figure 1.7 Setting source properties

3 Click to select the bulb file from the source directory.

4 Click View Model in the dialog box to see details of the source model.

NOTE The filament for this source is 31.5 mm above the reference point. You are positioning the reference point at (0,0,-48), which places the filament 16.5 mm inside the focus of the base surface at the origin.

When a valid source is selected, the Effective Filament Position (EFP) is reported in the lower right corner of the dialog box. This position is usually the best focus of the rays that are used to create this source model.

If the Relative to effective filament position box were checked (it should not be in this example), the EFP is used as the reference point of the bulb for positioning.

Since only one source is needed in this example, only the Source 1 tab should be filled in.

1-10 R e f l e c t o r C A D T e s t D r i v e

Page 13: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

5 Click OK.

Set output properties

• Click Output, Properties (or click ), complete the dialog box as shown in Figure 1.8, and click OK.

Figure 1.8 Setting output properties

For this example, we want far-field directional output with a vertical range of -6 to 6 degrees and a horizontal range of -15 to 15 degrees. The vertical range resolution is chosen to provide 3 pixels per degree, while the horizontal range resolution provides half-degree pixel spacing.

The Reflector reflectance (85%) and Lens transmittance (90%) act as simple scaling factors on the calculated output.

Grids

ReflectorCAD provides grids to which you can set snapping intervals. These aid in positioning segment vertices and aim points.

1 In the reflector view, right-click and click Grid/Snap Settings on the shortcut menu. Complete the settings as shown in Figure 1.9 (left image). Click OK.

2 In the output view, right-click and click Grid/Snap Settings again. Complete the settings as shown in Figure 1.9 (right image), and click OK.

R e f l e c t o r C A D T e s t D r i v e 1 -11

Page 14: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

3 Right-click and confirm that Enable Grid and Snapping on the shortcut menu in each view is enabled.

Figure 1.9 Grid/Snap Settings for Reflector view (left) and for Output view (right)

Set default segment aiming

The default aim is assigned to new segments upon creation.

• Click Segment, Aiming Defaults, complete the dialog box as shown in Figure 1.10, and click OK.

Figure 1.10 Setting default segment aiming

1-12 R e f l e c t o r C A D T e s t D r i v e

Page 15: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

The settings give new segments a 10-degree horizontal and 4-degree vertical spread. When Save as defaults for new reflectors is selected, these defaults are in effect whenever ReflectorCAD starts.

Enable automatic output recalculation

• Enable automatic output recalculation by clicking Output, Auto Update or

clicking (the button should look pressed in).

Reflector output is now calculated automatically whenever a relevant change is made.

TIP Because output calculation can often take several seconds, it may be faster to work with this option cleared when making a series of changes. In such a case, output can be calculated at any time by clicking calculate output .

3. Create and aim segments

Now that we are done with the preliminary steps, it is time to create the first segment.

1 Click .

2 Click the pointer at (0,0) in the reflector view, and click again to define the first corner.

3 Move the pointer to (50,40), and click to define the opposite corner.

TIP Refer to the current pointer coordinates that are displayed in the status bar at the lower right corner as you move the pointer to set the segment.

If you make a mistake while creating the segment, press the Esc key to cancel the creation. Alternatively, after any segment change (including creation of a new segment), click Segment, Undo Last Segment Change or press Ctrl+Z to undo the last change.

R e f l e c t o r C A D T e s t D r i v e 1 -13

Page 16: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

At this point, the reflector view should look similar to Figure 1.11.

Figure 1.11 Reflector view after creating first segment

1-14 R e f l e c t o r C A D T e s t D r i v e

Page 17: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

The new segment, labeled S1, is automatically selected as the current segment following its creation. The output produced by this segment is shown in the output view, and should look similar to Figure 1.12.

Figure 1.12 Output view after creation of first segment

When a segment is selected, its aim box is shown with the output.

• To clear a segment, click outside the segment of the reflector view area. Note that the aim box is no longer drawn in the output view. If no segment is selected, total output for all segments is displayed.

• To select the segment, click inside the segment.

The vertex closest to the cursor is highlighted with a green box when the segment is selected. If you click near another vertex inside the segment, that segment becomes the highlighted one. In the output view, the corresponding aim point is also highlighted with a green box. The box shows where on the output screen this particular vertex is to direct its light.

Change segment properties

1 Click segment S1, right-click in the reflector view and click Segment Properties from the shortcut menu.

2 Complete the Segment Properties dialog box as shown in Figure 1.13.

3 Click Save as defaults for new segments, so all other segments we create will have these same properties, and click OK.

R e f l e c t o r C A D T e s t D r i v e 1 -15

Page 18: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Figure 1.13 Setting segment properties for S1

Segment contours

Contours are drawn inside the segment in the reflector view. They indicate height (along Z) as measured relative to the base surface. Red contours denote a positive (+) distance (for example, the segment is above the base surface), and blue contours denote a negative (-) distance. The contour colors fade as the height of the segment moves further from that of the base surface.

• Click Segment, Contouring to set the segment contouring properties

• Complete the dialog box as shown in Figure 1.14, and click OK.

1-16 R e f l e c t o r C A D T e s t D r i v e

Page 19: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Figure 1.14 Setting segment contouring

With this setting, the contour range is from -10 to 10 millimeters, relative to the base surface, with 10 contours on each side of 0. Therefore, one contour is drawn for every 1 millimeter of deviation from the base surface.

Change the aim of the segment

The next step is to change the aim of the segment.

1 Click inside the segment in the reflector view.

2 Right-click in the output view, and click Move on the shortcut menu.

R e f l e c t o r C A D T e s t D r i v e 1 -17

Page 20: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

3 Move the aim box to its new location, shown in Figure 1.15, and click the mouse.

Figure 1.15 New location of segment aim box after move

4 Move the top edge of the aim box to a new location by dragging the corresponding red square, as shown in Figure 1.16.

Figure 1.16 Dragging top edge of aim box

1-18 R e f l e c t o r C A D T e s t D r i v e

Page 21: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

5 Drag the left edge as shown in Figure 1.17.

Figure 1.17 Dragging left edge of the aim box

Redevelop the segment

Each time the aim of a segment changes, ReflectorCAD automatically reshapes the segment to achieve the desired aim. This reshaping is called developing the segment. The aim, along with the specified source point, is used to determine the necessary surface normals. These normals are integrated starting from the specified vertex (called the starting point) to form the new shape of the segment. By default, the starting point is the first vertex laid down when a segment is created. For our segment S1, the starting point is the lower left corner.

During integration, the prior shape of the segment is used as an approximation for its new shape to help evenly balance flux across the aim region. To the extent that the prior and new shapes are similar, this approximation is good. If the shape of a segment changes substantially, its performance often can be improved by redeveloping it after the last aim change.

1 Click segment S1.

2 Right-click in the reflector view and click Redevelop from the shortcut menu.

In this case, because the segment aim changes were small, the output pattern of the segment should change only slightly.

• At this point in the Quick Tour, save your work (File, Save).

Preview in 3D

• To view the segment in three dimensions, click View, Generate 3D View.

After a few seconds, a separate 3D Viewer window should open, and its 3D view is similar to that in Figure 1.18.

R e f l e c t o r C A D T e s t D r i v e 1 -19

Page 22: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Figure 1.18 3D view of reflector with one segment created and aimed

The segment and a cylinder representing the source model are shown in the viewer. The view can be rotated by right-clicking and dragging the pointer. When you are done with the 3D Viewer, close it.

TIP For information on other available manipulations, see Help in the 3D Viewer.

Add More Segments

Create and aim segment S2

1 Create a second rectangular segment, starting at (0,40) with the opposite corner at (50,70). The reflector view should now look like Figure 1.19.

1-20 R e f l e c t o r C A D T e s t D r i v e

Page 23: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Figure 1.19 Reflector view following creation of second segment

2 Change the aim of the new segment as shown in Figure 1.20 (right-click segment in output and select Move).

Figure 1.20 Changing aim of segment S2

Create and aim segment S3

1 Create a third rectangular segment, starting at (50,0) with the opposite corner at (100,70). The reflector view should now look like Figure 1.21.

R e f l e c t o r C A D T e s t D r i v e 1 -21

Page 24: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Figure 1.21 Reflector view following creation of third segment

2 Move and change the width of the aim box of the segment to match that shown in Figure 1.22.

Figure 1.22 Output view showing desired aim for segment S3

3 Try clicking to select the different segments. Notice that only the selected output of the segment is shown in the output view. If no segment is selected, the combined output from all segments is shown.

1-22 R e f l e c t o r C A D T e s t D r i v e

Page 25: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

4. Adjust intersegment discontinuities

Check intersegment discontinuities

1 Click to generate a three-dimensional view of the reflector. Rotate the view by right-clicking and dragging the pointer.

Note the discontinuities between adjacent segments, as shown in Figure 1.23. To avoid stray reflections in general, minimize such discontinuities and ensure they are hidden from the source (shadowed).

Figure 1.23 3D preview of reflector highlighting intersegment fillers

In this case, the discontinuity between segments S2 and S3 is exposed to the source. The other two discontinuities, while shadowed, are large.

ReflectorCAD also provides a more quantitative method for checking edge shadowing. To check the edge between segments S1 and S2:

1 Click S1.

2 Hold down the shift key and click the mouse pointer in S2 (note that this also works with S1 and S2 reversed).

A graph tip similar to that shown in Figure 1.24 is displayed. It indicates that S1 shadows the edge of S2 by approximately 8 mm along their common edge. Since the edge is shadowed, the message text is colored green. If the edge had not been shadowed, it would be colored red. The box containing the green,

R e f l e c t o r C A D T e s t D r i v e 1 -23

Page 26: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

negative number is conveying the same information as the graph tip, and indicates which edge is being checked.

Figure 1.24 Checking edge shadowing between segments S1 and S2

Reduce intersegment discontinuities

The discontinuities can be reduced by adjusting the relative segment heights.

1 Select S2 and its lower left vertex by clicking inside S2 near this vertex (note the lower left vertex is chosen because it is the starting point of the segment).

2 Right-click and click Vertex Properties on the shortcut menu.

1-24 R e f l e c t o r C A D T e s t D r i v e

Page 27: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

3 Change the position for Z to 5 mm above the base surface, as shown in Figure 1.25 (left side).

4 Proceeding in a similar fashion, change the lower left vertex (starting point) of S3 to have a Z Position of 2.7, as shown in Figure 1.25 (right side).

Figure 1.25 Changing height (Z position) of starting point for S2 (left) and S3 (right)

The discontinuity between S1 and S2 is now greatly reduced. In addition, the discontinuity between S2 and S3 is now shadowed.

Redevelop all segments

Redevelop the effected segments (S2 and S3) at this time, since the segment height changes were fairly large. It is easiest to redevelop them all by clicking Segment, Redevelop All Segments, since there is only one unaffected segment.

• Save your work after redeveloping, and then generate a 3D preview to check the discontinuities.

Finish the reflector

Mirror segments

The total output from the reflector with only one quadrant complete should look similar to Figure 1.26.

R e f l e c t o r C A D T e s t D r i v e 1 -25

Page 28: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Figure 1.26 Total output from first quadrant

This output is one-half the pattern we are looking for. The next step is to mirror the segments about the Y axis to produce the other half.

Click Segment, Mirror Existing Segments and complete the dialog box as shown in Figure 1.27 (left side). This step creates three additional segments with mirrored vertices and aiming (because Mirror aim points is selected).

Figure 1.27 Mirroring about the Y axis (left) and X axis (right)

The next step is to mirror the segments about the X axis. Because you want output only on the lower half, Mirror aim points should not be selected this time as shown in Figure 1.27 (right side). Click Segment, Mirror Existing Segments and complete the dialog box as shown in Figure 1.27 (right side).

Replace two segments

Generate a three-dimensional preview of the reflector. Note that the two segments in the center at the bottom (S8 and S11) have large discontinuities

1-26 R e f l e c t o r C A D T e s t D r i v e

Page 29: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

with their neighboring segments. Rather than adjust these segments, we are going to replace them with a single segment.

NOTE: Segment numbering may be different if you have deleted a segment at some point in the work flow.

1 Click segment S8, and press Delete (or click Delete Segment from the shortcut menu).

2 Do the same for segment S11.

3 Create a new segment in their place, starting at (-50,-40) (the upper left corner), with the opposite corner at (50,-70).

4 Adjust the aim for the new segment as shown in Figure 1.28.

Figure 1.28 Adjusting aim of segment

5 Adjust the starting point height of the new segment. Click S13 within the segment, near the upper left vertex (the starting point of the segment).

6 Adjust its Z Position to 5 mm above the base surface.

7 Redevelop S13, because the height change is significant, by clicking Redevelop on the shortcut menu.

R e f l e c t o r C A D T e s t D r i v e 1 -27

Page 30: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

View the finished reflector

The reflector should now be finished. This is a good time to save your work. The reflector view should look similar to Figure 1.29.

Figure 1.29 View of finished reflector

1-28 R e f l e c t o r C A D T e s t D r i v e

Page 31: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Figure 1.30 shows the total output for the reflector, which achieves our initial output goal. The basic quick tour of ReflectorCAD is now done.

Figure 1.30 Total output of finished reflector

Chapter 2, “Exploring More About ReflectorCAD” goes deeper into understanding ReflectorCAD and its capabilities.

5. Export the reflector design

Please keep in mind that ReflectorCAD output calculations are approximate (see ReflectorCAD Help for more details).

A more thorough evaluation of the reflector should be performed using an optical analysis program, such as ASAP. Generally this evaluation should be done after completing the design in ReflectorCAD, and again, after all remaining geometric elements (for example, the bulb holder, lens, and shelves) are added to the design.

R e f l e c t o r C A D T e s t D r i v e 1 -29

Page 32: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

• To export the reflector design to an ASAP input file, clickFile, Export, To ASAP and complete the dialog box as shown in Figure 1.31.

Figure 1.31 Exporting to ASAP

TIPS A stored ray set for the HB3 bulb, which our reflector design uses, must be available or generated before the exported file is run in ASAP.

The Base path must be the directory where your ASAP light source files are stored.

The Source file suffix entry shown assumes that the 500,000 ray version of the source is used.

The Base path and Source file suffix are combined with the name of the source (HB3) to form the complete source file name, which is used with the EMIT DATA command in the ASAP input file.

1-30 R e f l e c t o r C A D T e s t D r i v e

Page 33: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

When run in ASAP, the resulting output resembles that shown in Figure 1.32. The corresponding output calculated in ReflectorCAD is also shown for comparison.

Figure 1.32 Comparison of output calculated in ReflectorCAD (upper frame) and ASAP (lower frame). (The ASAP calculation used 500,000 source rays and yielded a total flux of 937 lumens. Contours were added manually in the ASAP display window.)

R e f l e c t o r C A D T e s t D r i v e 1 -31

Page 34: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

1-32 R e f l e c t o r C A D T e s t D r i v e

Page 35: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

C H A P T E R

CHAPTER 2Exploring More About REFLECTORCADThis chapter outlines some aspects of using ReflectorCAD that were not introduced in the basic quick tour. These features are explored:

• Set output contour levels

• Measure vertical gradients

• Define and assign source points

• Use an aim balance point

• Control output calculation quality

• Set grid resolution (sub-segmenting)

• Aim mismatches

• Shift groups of vertices

Use the reflector that you created in the Quick Tour to follow in this chapter.

R e f l e c t o r C A D T e s t D r i v e 2-35

Page 36: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Set Output Contour LevelsYou may want to have output contours drawn for specific levels.

1 Change the contour levels by selecting Output, Contouring. The dialog box, Output Contour Properties, is displayed.

2 Delete any existing contour set(s) by selecting them and clicking Delete in the Output Contour Properties dialog box.

3 Click Add to display the Contour Set Properties dialog box, which is used to add the single value contours for the levels shown in Figure 2.1.

4 Click OK.

Figure 2.1 Setting fixed contour levels

Contour display is controlled with the Show setting in the Output Contour Properties dialog box (Output, Appearance).

2-36 R e f l e c t o r C A D T e s t D r i v e

Page 37: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Measure Vertical Gradients

ReflectorCAD provides a convenient method for measuring vertical gradients in the output of the reflector.

1 In the output view, right-click and click Gradient Query Settings on the shortcut menu. Complete the dialog box as shown in Figure 2.2.

Figure 2.2 Gradient measurement settings

2 To measure the vertical gradient in the output, click the output view while pressing the Ctrl key.

A small graph popup window similar to that in Figure 2.3 opens.

Figure 2.3 Measuring vertical gradient for output of segment

As the pointer is moved, the graph and values change. The plot shows the vertical gradient calculated along the I-shaped cursor. The gradient (Grad) at the pointer

R e f l e c t o r C A D T e s t D r i v e 2-37

Page 38: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

location and the maximum gradient (Max Grad) along the pointer bar are among the values displayed.

The Gradient Query Settings dialog box controls the method that is used for gradient calculations (click Help on the dialog box for more information).

Define and Assign Source Points

When you want to achieve sharp vertical cutoffs, using a filament end as the source point may help in developing a segment. While the present example reflector does not try to produce sharp cutoffs, we can still use it to see how this feature works.

1 Click Source, Source Point Properties, Add to add a new source point at the inner end of the filament: (0,0,-19), and give the new point the name Inner Filament End. The dialog box should look similar to Figure 2.4.

Figure 2.4 Adding a source point at the inner filament end

2 Click segment S2 and change its aim to a horizontal line by dragging the bottom edge up.

2-38 R e f l e c t o r C A D T e s t D r i v e

Page 39: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

The resulting aim should look like Figure 2.5. Due to the size of the filament, the output pattern has significant flux, up to 2 degrees on either side of the horizontal.

Figure 2.5 New Aim of S2

Note the peak vertical gradients.

1 With S2 selected, right-click in the reflector view and select Segment Properties from the shortcut menu.

2 Change the source point of the segment source point to Inner Filament End.

The output pattern should now resemble Figure 2.6.

Figure 2.6 Output pattern for segment S2 with filament used as source point

Notice that the output cuts off horizontally. Peak vertical gradients are now approximately twice their previous values.

R e f l e c t o r C A D T e s t D r i v e 2-39

Page 40: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Use an Aim Balance Point

In addition to the vertex aim points, ReflectorCAD provides an aim balance point that allows flux to be directed preferentially to one region of the aim box.

1 Click segment S5. Its aim balance point (the small cyan square in the output view) is currently centered, so its aim balance is neutral. In this case, ReflectorCAD attempts to spread light evenly throughout the aim region.

2 Drag the balance point to one side of the aim region to direct more flux to that side.

Figure 2.7 shows the resulting output patterns for several aim balance positions.

Figure 2.7 Impact of different aim balance settings on output pattern for segment S5

2-40 R e f l e c t o r C A D T e s t D r i v e

Page 41: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Control Output Calculation Quality

ReflectorCAD provides a control for output calculation quality in the Output Properties dialog box. To see the effect of this control on output for a specific segment,

1 Click segment S7.

2 Click Output, Properties on the menu or click .

3 Vary the Output Calculation Quality setting, noticing that as quality increases the output becomes smoother and that calculation time increases. Figure 2.10 shows S7’s output for three quality settings.

Figure 2.8 Calculated output for segment S7 at three quality settings

See “Appendix A: Comparison of Output Calculated by ReflectorCAD and ASAP”, and the Help topic, “Calculation Output Method in ReflectorCAD”, for more information.

R e f l e c t o r C A D T e s t D r i v e 2-41

Page 42: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Set Grid Resolution (Sub-Segmenting)

In ReflectorCAD, a segment’s surface is defined as a grid of second-order Bezier patches. The grid resolution (sub-segmenting) for a given segment can be set in its Segment Properties dialog box. To see how sub-segmenting affects output beam performance,

1 Click segment S13.

2 Right-click the Reflector view and select Segment Properties on the shortcut menu.

3 Change the # of subsegments per segment edge to 3 under Subsegmenting on the Segment Properties dialog box, as shown in Figure 2.9, and click OK.

Figure 2.9 Setting grid resolution (sub-segmenting)

Note that the output pattern for S13 now has two prominent hot spots, instead of the relatively even pattern it previously produced.

2-42 R e f l e c t o r C A D T e s t D r i v e

Page 43: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

See Figure 2.10. In each case, the hot spots in the output pattern correspond to output from a single subsegment, or column of subsegments.

Figure 2.10 Output produced by S13 with subsegmenting settings of 3 (upper frame), 5 (middle), and 7 (lower).

Aim Mismatches

Sometimes ReflectorCAD cannot produce a segment that achieves the specified aim. Each aim, when combined with the specified source point, corresponds to a field of surface normals. ReflectorCAD integrates these surface normals to form the segment’s surface, but not all normal fields correspond to an actual surface. In such cases, the segment that is produced by the integration process may fail to achieve the desired aim.

To illustrate this, consider segment S7. By selecting its various vertices and noting their associated aim points notice that horizontal variations in its aim correspond to horizontal spatial variations across the segment. Similarly, vertical aim variations correspond to vertical spatial variations. This is shown in the upper frame of Figure 2.11. To see what happens when this correspondence is flipped,

1 Click S7 and its lower right vertex in the Reflector view.

2 Right-click in the Output view, and click Swap Corners on the shortcut menu.

This exchanges the aim points of the current vertex with those diagonally opposite it.

R e f l e c t o r C A D T e s t D r i v e 2-43

Page 44: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

The segment’s horizontal/vertical aim and spatial differences are now mismatched, and the output pattern no longer achieves the desired aim, as shown in the lower frame of Figure 2.11. In general, segments with such mismatches rarely produce the desired pattern.

Figure 2.11 The upper frame shows segment S7 aimed so that horizontal and vertical aim differences correspond to horizontal (red arrows) and vertical (cyan arrows) spatial differences, respectively. The lower frame shows the same segment with horizontal/vertical aim and spatial differences mismatched.

2-44 R e f l e c t o r C A D T e s t D r i v e

Page 45: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Shift Groups of Vertices

ReflectorCAD provides an easy way to shift a group of segment vertices by a specific distance in the X-Y plane. Try out this feature by shifting the vertices that lie along a particular line in our current reflector.

1 Press the Ctrl key and drag the pointer in the Reflector view to enclose the vertices, and release the pointer. See Figure 2.12.

Figure 2.12 Shifting a group of vertices. The rectangle shows the vertices to enclose for shifting.

2 Type the desired shift in the Shift Multiple Vertices dialog box, as shown in Figure 2.13.

3 Click OK.

Figure 2.13 Setting the shift for a group of vertices

This setting shifts all the enclosed vertices 10 units to the right. After the shift is performed, all the affected segments are first reset to the base surface and then redeveloped according to their aiming. This has the side effect of undoing any starting point offsets that the affected segments may have had. As with other segment

R e f l e c t o r C A D T e s t D r i v e 2-45

Page 46: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

changes, this change can be undone by pressing Ctrl-Z or clicking Segment, Undo Last Segment Change.

Learn more about ReflectorCAD in ReflectorCAD Help.

2-46 R e f l e c t o r C A D T e s t D r i v e

Page 47: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

C H A P T E R

CHAPTER 3FUNDAMENTAL CONCEPTS

This chapter introduces fundamental concepts to deepen your understanding of applying ReflectorCAD to build your reflectors.

Base Surfaces

The base surface serves two purposes in ReflectorCAD:

1 Defines the height (Z coordinate) at which the starting point of newly created segments is placed.

2 Specifies the boundaries of the reflector (in the X-Y plane), which are used for output calculations and exported with the reflector’s geometry (to an IGES file, for example).

Two types of base surfaces can be used:

1 Conic sections with elliptical or racetrack bounders.

2 Sampled surfaces with arbitrary bounders.

A utility (IgesToBaseSurf) is provided for sampling geometry in an IGES file so that it can be used as a base surface.

The base surface is set in the Base Surface Properties dialog box (click Setup, Base Surface Properties on the menu).

R e f l e c t o r C A D T e s t D r i v e 3-47

Page 48: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Conic section base surfaces

The conic section base surface is defined as follows:

where C is the curvature (C= 1/Rc, Rc is the radius of curvature) and K is the conic constant. For values of x and y where the argument of the square root is negative,

is used. A parabolic base surface, for example, has a conic constant of K= −1 and a focal length of Rc/2.

The outer and inner boundaries of the surface can be either ellipses or racetracks (rectangular with rounded corners).

Sampled base surfaces

The sampled base surface is defined as an evenly spaced grid of height (Z) values, which are read from a distribution (*.dis) file that was produced by either ASAP (using the MAP command) or the IgesToBaseSurf utility in the ReflectorCAD installation folder. Sampled base surfaces allow arbitrary geometry to be used as the base surface.

Sample heights that lie outside of the surface’s boundary are marked in the distribution file when it is generated. The boundary of the base surface in ReflectorCAD is defined as the curve or curves that separate in-bound and out-of-bound samples. Therefore, the accuracy of the bounding curves is determined by the resolution of the sampled surface.

Sample geometry in ASAP

To height-sample geometry in ASAP for use as a base surface,

1 Execute commands necessary to define your geometry and system units.

2 Verify that your geometry is oriented so that the desired surface faces along the Z axis.

3 Set your graphics window to look down the Z-axis by using the command, WINDOW Y X.

3-48 R e f l e c t o r C A D T e s t D r i v e

Page 49: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

4 Run the MAP command with the desired filename and resolution parameters. For example, the command MAP BASE.DIS PIXEL 201 creates a sampled surface with a side resolution of 201 pixels in the file BASE.DIS.

Sample geometry in IGES files

The IgesToBaseSurf utility height-samples geometry in an IGES file, so it can be used as a base surface. The geometry should be oriented to face along the Z axis. To achieve this alignment, up to three rotations can be applied within IgesToBaseSurf before sampling. See the topic Setting Base Surface Properties in ReflectorCAD Help, which is about the utility IgesToBaseSurf.

Source Models

Source models for several common bulbs are included with ReflectorCAD. Each is defined in its own binary Source Definition (SDF) file. In the case where a bulb has more than one operating mode (for example, a headlamp bulb might have a high- and low-beam setting), an SDF file exists for each mode.

Sources are selected, positioned, and oriented in the Source Properties dialog box

(Source, Properties), or by clicking . Up to two sources can be chosen, but only

one can be on at a time. For example, clicking Source, Source 1 On or clicking

turns on source number one and turns off source number two. The button toggles between sources one and two.

Each bulb model has primary and secondary axes. Typically, the primary lies along the bulb’s long axis, or the axis of symmetry for the bulb’s envelope (usually these are the same axis). The secondary axis is always perpendicular to the primary, and usually is aligned with some structural feature of the bulb. Click View Model on the Source Properties dialog box to display information about how the primary and secondary axes are defined for the currently selected bulb.

Sources are modeled as collections of facets, each emitting light from its center according to its own directional apodization data. The models that are provided with ReflectorCAD are created from the rays of their corresponding ASAP light sources. The rays are propagated to facets and then binned directionally. The best focus of the rays becomes the Effective Filament Position (EFP) for the source. The EFP is used by default as the source point during segment development. A source’s EFP is displayed when it is selected on the Source Properties dialog box.

R e f l e c t o r C A D T e s t D r i v e 3-49

Page 50: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Figure 1.1 shows an example of an ASAP light source and its corresponding ReflectorCAD model facets.

Figure 1.1 ASAP geometric model for the 9005 headlamp bulb and the corresponding ReflectorCAD source model facets (left). The cylinder of facets near the filament (shown closeup in the right figure with directional apodization data included) contains roughly 90% of the model’s flux. The remaining flux is captured on the cylinder that surrounds the bulb.

Create a source

A ReflectorCAD source can be created from almost any collection of rays in an ASAP distribution (*.dis) file. To create such a distribution file in ASAP:

1 Confirm that the XMEMORY setting in ASAP is either MIN (preferably) or NORM.

3-50 R e f l e c t o r C A D T e s t D r i v e

Page 51: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

2 Execute commands necessary to define your source (define system units in the process).

3 Orient your source so that its intended primary axis lies along the positive Z axis and the secondary axis lies along the positive Y axis.

4 Run the command DUMP FILENAME.DIS to dump the current rays to a distribution file.

Two equivalent source conversion programs, Dis2SdfGui.exe and Dis2Sdf.exe, are provided with the ReflectorCAD installation. Dis2SdfGui has a wizard-based user interface, and can be run from the ReflectorCAD installation area. Specific Help topics for Dis2SdfGui are available on its dialog boxes.

Dis2Sdf has a simple command line interface. The -h command line option provides limited Help for Dis2Sdf.

Segments

In ReflectorCAD, segments are the fundamental elements that are used to build a reflector. Each segment has four vertices. One vertex, the starting point, is designated as the point from which the rest of the segment is developed. Each vertex has an aim point associated with it. From these aim points and a chosen source point, surface normals for the segment are determined. The normals are then integrated from the starting point to form the segment’s surface.

The starting point is the only vertex of a segment whose height can be changed. By default, it is the first vertex that is laid down when a segment is created. Following segment creation, any vertex can be specified as the starting point on its Vertex Properties dialog box (click Vertex Properties on the shortcut menu in the Reflector view).

Create segments

To create a rectangular segment,

1 Select Segment, Create (rectangular) or click .

2 Move the pointer to the desired location of the segment’s first vertex and click.

3 Move the pointer to the segment’s opposite vertex and click.

The first vertex is placed at the height of the base surface, and serves as the segment’s starting point (the starting point can be switched to another vertex later). If desired, segment creation can be terminated prematurely by pressing the Esc key.

R e f l e c t o r C A D T e s t D r i v e 3-51

Page 52: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

To create an arbitrary four-sided segment,

1 Click Segment, Create (arbitrary 4-sided) or click .

2 Drag the pointer to the desired location of the segment’s first vertex and click.

3 Repeat steps 1 and 2 to place each of the segment’s second, third, and fourth vertices.

During segment creation, snapping is available. To switch this feature on or off, right-click in the Reflector view and click Enable Grid and Snapping on the shortcut menu. The grid and snap settings can be changed by clicking Grid/Snap Settings on the same menu.

Select segments and vertices

A segment is selected by clicking anywhere inside its boundaries. Only one segment can be selected at a time. The selected segment is drawn in red to distinguish it from the others. Its corresponding output (if available) and aim points are displayed in the Output view.

The vertex that was closest to the cursor is also selected and drawn with a small green box in both the Reflector and Output views. A different vertex can be selected by pressing the Tab or Shift-Tab keys, or by clicking near it within the segment. A vertex can also be selected by clicking near its aim point in the Output view.

Once a segment is selected, the keyboard arrow keys can be used to move to and select adjacent segments.

Aim segments

Segments are initially assigned a default aim when they are created. This default aim can be changed by clicking Segment, Default Aiming. A segment can be set to the default aim at any time by clicking Aim to Defaults on the shortcut menu in the Reflector view.

Once a segment is selected, there are several ways to alter its aim. A single aim point can be moved by clicking and dragging it. Similarly, an adjacent pair of aim points can be moved simultaneously by dragging the red box that is between them. All four aim points can be moved together by clicking Move on the shortcut menu in the Output view.

In addition to the vertex aim points, ReflectorCAD provides an aim balance point that allows flux to be directed preferentially to one region of the aim box. By default, a segment’s aim balance point (drawn as a small cyan square) is centered, so its aim balance is neutral. Dragging the balance point to one side of the aim box directs more flux to that side. Neutral aim balance can be restored by clicking Make Aim Balance Neutral from the shortcut menu in the Output view.

3-52 R e f l e c t o r C A D T e s t D r i v e

Page 53: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Redevelop segments

Each time a segment’s aim changes, ReflectorCAD automatically reshapes the segment to achieve the desired aim. This is called developing the segment. The aim is used, along with the specified source point, to determine the necessary surface normals. Beginning at the starting point, these normals are integrated to form the segment’s new shape.

During integration, the segment’s prior shape is used as an approximation for its new shape to help evenly balance flux across the aim region. If the prior and new shapes are similar, the approximation performs better. If a segment’s shape changes substantially, its performance can often be improved by redeveloping it after the last aim change.

To redevelop a segment, select it, right-click the Reflector view and select Redevelop from the popup menu. All segments can be redeveloped by clicking Segment, Redevelop All Segments.

Mirror segments

When segmented reflectors are symmetric across one or both axes, ReflectorCAD can mirror a single segment or all segments to simplify creating such reflectors.

1 Click Mirror Selected Segment on the shortcut menu in the Reflector view to mirror the currently selected segment.

2 Click Segment, Mirror Existing Segments on the shortcut menu to mirror all segments.

Shift groups of vertices

Groups of vertices can be shifted simultaneously in the X and Y directions. Press the Ctrl key and drag to select a rectangular region that encloses the vertices of interest. Release the pointer and type the desired shift in the Shift Multiple Vertices dialog box that is displayed. After being reset to the base surface, all affected segments are redeveloped according to their assigned aim points.

Check edge shadowing

For both performance and manufacturing reasons, it is a best practice to minimize height discontinuities between adjacent segments. Where such discontinuities are necessary, they should be hidden (shadowed) from the source to prevent undesired stray reflections. This can be done by adjusting segment aims and/or starting point heights. ReflectorCAD provides a simple method for checking whether a discontinuity is hidden from the source.

1 Click one of the two segments that share the edge of interest.

R e f l e c t o r C A D T e s t D r i v e 3-53

Page 54: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

2 Move the pointer to the other segment that shares this same edge, and hold down the Shift key and pointer simultaneously.

At this point, a message displays the maximum height of the more-distant segment’s edge relative to the closer segment’s edge. If the discontinuity is shadowed, the message is green; otherwise, it is red. If the edge of interest lines up with the current source’s effective filament position, no height value is reported because neither segment can shadow the filler.

Undo segment changes

Changes that are made to segments, including the creation of new segments by mirroring or other methods, can be undone by clicking Segment, Undo Last Segment Change or by pressing Ctrl+Z. Up to the last five changes can be undone.

Calculate Output

ReflectorCAD can quickly calculate the approximate output from the reflector.

1 Click Output, Calculate Output or click to calculate the output.

• If Output, Auto Update is checked, output is automatically calculated every time a change is made that effects the output.

• If up-to-date output is available, it is displayed in the Output view. When a segment is selected, only its output is displayed. Otherwise the total output of all segments is shown.

Either directional (luminous intensity) or positional (illuminance) output can be calculated. For directional output, angles are defined relative to a horizontal pole. Detector screen limits, resolution, and distance (for positional output) can all be set

on the Output Properties dialog box (click Output, Properties or click ). Output can be scaled, to account for the reflector’s reflectivity or the transmissivity of a clear lens. Calculation quality can also be adjusted.

The Output Appearance dialog box (click Output, Appearance) is used to control how output is drawn. Among the things that can be changed are the color palette, contour display, and tick mark spacing. Contour levels and colors are set on the Output Contour Properties dialog box (click Output, Contouring).

How to calculate output

Reflector output is calculated using BRO’s Deterministic Specular Radiative Transfer (DeSeRT) algorithm. This high-speed algorithm provides nearly immediate feedback

3-54 R e f l e c t o r C A D T e s t D r i v e

Page 55: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

on how a reflector is performing using approximations applicable to typical reflector systems. The output calculation has these limitations by ignoring,

• Shadowing effects: All in-bound portions of a segment can contribute to the output, even though they may be in the shadow of an adjacent segment. For reflectors with large intersegment discontinuities, and correspondingly large shadows, this can be a significant effect. In practice, the shadowed regions of a typical reflector are often very small, and the resulting overestimate is, at most, a few percentages of the total flux.

• Direct transfer from the source to the detector screen: This typically is a small effect and leads to an underestimate of the total output flux. For reflectors with bulbs that have blockers or blackened caps, there is no appreciable direct transfer.

• Multiple bounces off the reflector.

• Interactions with intersegment fillers: Typically, effort is spent hiding intersegment discontinuities from the light source because they lead to spurious, unaimed, stray light reflections. To the extent that they are hidden, ignoring fillers in the output calculation has no significant effect.

TIPS Unfortunately, if a reflector has fillers that are visible to the light source, they can have serious harmful effects on the reflector’s performance that are NOT seen in the approximate output calculation. In such cases, further analysis with a high quality simulation program like ASAP is especially important. Intersegment fillers are (optionally) included when reflector geometry is exported to ASAP or IGES to make this task easier.

In the end, remember that ReflectorCAD provides a quick but approximate calculation of the reflector’s output. While this approximate output can provide very useful feedback during the design process, performing final analyses with a high-quality software application like ASAP is still necessary.

3D Previewing

A three-dimensional (3D) preview of the reflector can be generated by clicking View,

Generate 3D View, by clicking , or by pressing the P accelerator key. A separate window opens with a faceted representation of the segments, intersegment fillers (optionally), and source model. The view can be rotated by moving the pointer while pressing its right button. Help topics in the 3D Viewer describe other manipulations that are available.

Segment faceting, color, and filler creation are controlled in the Segment 3D View Properties dialog box (Segment, 3D View Properties). The method for displaying the

R e f l e c t o r C A D T e s t D r i v e 3-55

Page 56: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

source model is controlled in the Source 3D View Properties dialog box (Source, 3D View Properties). Both dialog boxes include Help topics about their options.

The 3D preview geometry can also be exported directly to an ASAP vector (VCR) file for later viewing. Click File, Export, To VCR.

Export Geometry

A reflector design can be exported to an ASAP input (INR) file or an IGES file. In either case, intersegment fillers can be included.

NOTE The fillers generated by ReflectorCAD do NOT have draft angles, and segment edges are not radiused. Additional work is required to produce the finished geometry for manufacturing purposes.

Export to ASAP

Segment geometry can be exported to an ASAP INR file by clicking File, Export, To ASAP. Bounders, intersegment fillers, source definitions, and analysis commands also can be optionally included in the INR file.

INR files that are exported from ReflectorCAD use stored ray sets as source models. The ray sets corresponding to sources used in ReflectorCAD need to be present to run the exported file in ASAP. You may need to have the relevant source files.

Export to IGES

All reflector segments, intersegment fillers, and source points can be exported directly to an IGES file by clicking File, Export, To IGES. Any bounders associated with the base surface, while included in the IGES file, are not imposed on the segments or fillers.

3-56 R e f l e c t o r C A D T e s t D r i v e

Page 57: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

A P P E N D I X A

CHAPTER 0

CHAPTER 0APPENDIX A: COMPARISON OF OUTPUTCALCULATED BY REFLECTORCAD AND

ASAPThis appendix compares output that is calculated by ReflectorCAD and ASAP, for the VisualAimLowBeam example, which is in the ReflectorCAD installation folder. This reflector is not an actual headlamp – it is the first-pass at a conceptual design intended to meet the visual aim standard.

Figure A.1 and Figure A.2 show the output calculated by ReflectorCAD and ASAP, respectively. Comparing contours, the results agree well. The peak output values are 31,064 for ReflectorCAD and 31,500 for ASAP, while total flux on the screen is 582 lumens for ReflectorCAD and 598 for ASAP.

The approximate output calculated by ReflectorCAD does not include light that travels from the source directly to the screen, while the ray trace performed in ASAP includes everything. Consequently, we expect the numbers from ASAP to be slightly larger than those from ReflectorCAD.

A separate ray trace, with just the source and detector screen, was performed to quantify this effect. The total flux due to direct illumination was found to be approximately 17 lumens. Subtracting it from the total number for ASAP, we now get 582 lumens for the total flux, which agrees well with the value calculated by ReflectorCAD.

On a 64-bit OS with a 2.8 GHz processor, ReflectorCAD took seconds to calculate output for the entire reflector. Since most design changes affect only a portion of the reflector, output can be updated in just a few seconds when working in ReflectorCAD. ASAP took about 10 minutes to perform the calculation, using 2 million rays (pre-traced through the bulb’s geometry) for the source model. The bulb’s geometry was not present during the trace with the reflector. The ASAP results were averaged horizontally (using the AVERAGE 0 2 command).

The comparison also included vertical gradients in the region between 1 and 3 degrees right. Figure A.3 shows three screen dumps of the interactive gradient-query tool in ReflectorCAD for this region. The gradient, in this case, is calculated as a partial derivative along the vertical direction. Figure A.4 shows the relevant results from ASAP.

R e f l e c t o r C A D T e s t D r i v e A-1

Page 58: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

For purposes of headlamp testing, vertical gradients are typically not defined as derivatives. For example, SAE J1735 of January 1995 (Harmonized Vehicle Headlamp Performance Requirements) defines the vertical gradient as,

where is the intensity at vertical angle v (measured in degrees).

Using this definition, screen dumps of the gradient measurement in ReflectorCAD are shown in Figure A.5. The corresponding plots for the output calculated by ASAP are shown in figure A.6. Peak values from ASAP agree well with those from ReflectorCAD. Figure A.7 shows the gradient query settings used in ReflectorCAD for the screen captures shown in Figure A.5. The ASAP file needed to perform these calculations is found in the ReflectorCAD installation example directory.

Figure A.1 Output calculated by ReflectorCAD. Resolution is 70 pixels vertical and 100 pixels horizontal. Calculation quality is at the middle (default) setting. The standard ReflectorCAD source model for the 9005 bulb (with approximately 600 facets) was used.

l v

A-2 R e f l e c t o r C A D T e s t D r i v e

Page 59: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Figure A.2 Output calculated by ASAP. Resolution is 70 pixels vertical and 243 pixels horizontal

Figure A.3 Vertical derivative for output slices along 1, 2 and 3 degrees right, as measured in ReflectorCAD, using the gradient query feature

R e f l e c t o r C A D T e s t D r i v e A-3

Page 60: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Figure A.4 Vertical slices along 1, 2 and 3 degrees right, showing the output (left) and vertical partial derivative of the output (right), as calculated by ASAP

Figure A.5 Vertical gradients for slices of output along 1, 2 and 3 degrees right, as calculated by ReflectorCAD

A-4 R e f l e c t o r C A D T e s t D r i v e

Page 61: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Figure A.6 Vertical gradient for slices of output along 1, 2 and 3 degrees right, as calculated by ASAP

Figure A.7 Gradient query settings used in ReflectorCAD for measurements shown in Figure A.6

Table A.1 summarizes the results of this comparison. Overall, there is good agreement.

R e f l e c t o r C A D T e s t D r i v e A-5

Page 62: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Table A.1Summary of results, calculated by ReflectorCAD and ASAP

NOTE Remember that the quick output engine in ReflectorCAD makes use of several approximations, the validity of which can vary between reflectors. For typical uses, it achieves accurate results, but you must verify the performance of finished designs by using a more complete analysis program like ASAP.

A-6 R e f l e c t o r C A D T e s t D r i v e

Page 63: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

A P P E N D I X B

CHAPTER 0

CHAPTER 0Appendix B: NOTES FOR THE TIGHTCUTOFF SEGMENTS EXAMPLE

The notes in this appendix are associated with the example file, TightCutoffSegments.rdf, which is included with ReflectorCAD in the Visual Aim Headlamp example directory. After loading the file in ReflectorCAD, the reflector view should look similar to Figure B.1.

Figure B.1 Reflector view of the example file, TightCutoffSegments.rdf

R e f l e c t o r C A D T e s t D r i v e B-1

Page 64: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

1 Confirm that output was calculated for the reflector by clicking .

2 Click inside segment S1. Its output is displayed in the output view.

3 While S1 is selected, right-click the Reflector view and select Segment Properties.

4 Notice that the Source Point for this segment is the inner edge of the filament, which provides for a tighter cutoff on the upper boundary of its aim region. To see this effect, change the Source Point to EFP of Src #1 (essentially, the filament’s center).

5 Click OK.

Figure B.2 shows the output of S1 when it is developed using the filament center (left) and the filament’s inner edge (right) as the source point. In both cases, the segment is aimed to a horizontal line.

Figure B.2 Output of S1

When the filament’s inner edge is used, vertical gradients in the 0.2 to 0.4 range are calculated in ReflectorCAD, using the gradient query settings.

5 Right-click the Output view and click Gradient Query Settings. Complete the dialog box as shown in Figure B.3

B-2 R e f l e c t o r C A D T e s t D r i v e

Page 65: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Figure B.3 Gradient Query Settings with vertical gradients in the 0.2 to 0.4 range

6 Press Ctrl+pointer to calculate the gradients simultaneously in the Output view.

Segment S2 was developed using the lower center of the filament as the source point. See Figure B.4.

Figure B.4 Output of S2 when developed using the filament center (left) and the filament’s lower center (right) as the source point.

When the lower center is used as the source point, the output pattern stays below the segment’s horizontal aim line. Calculated gradients vary between 0.3 and 0.5 along the top of this output pattern. See Figure B.5.

R e f l e c t o r C A D T e s t D r i v e B-3

Page 66: REFLECTORCAD 1...1Click segment S8, and press Delete(or click Delete Segment from the shortcut menu). 2Do the same for segment S11. 3Create a new segment in their place, starting at

Figure B.5 Gradient query results from one location in the pattern

Segment S3 employs the same idea as S1, except that the outer filament end is used as the source point, because the segment is below the filament. Segment S4 uses the lower center of the filament, as S2 does.

B-4 R e f l e c t o r C A D T e s t D r i v e