Example Design Description Document for

advertisement

Spectrophotometer 01 Design Description Document

UNIVERSITY OF ROCHESTER

01

Design Description

Document

Smartphone Spectrophotometer

Elie Glik, Carol Xu

Customer:

Engineers:

Per A

Elie Glik, Carol Xu

Advisor committee: Tom Brown, Jim Zavislan

Document Number: 01

Revision Level:

A

Date:

4/16/2020

Authentication Block

This is a computer generated document and the electronic master is the official revision. This paper copy is authenticated for the following purpose only:

A self-powered spectrophotometer attachment to a modern day smartphone camera to allow spectral response data for lab and commercial purposes. Students in small limited budget labs may use this

Rev A P a g e | 1

Spectrophotometer 01 Design Description Document device along with their smartphone to identify light sources, measure chemical concentrations, or compare solutions.

01 Rev A P a g e | 2

Spectrophotometer 01 Design Description Document

Contents

Product Requirement Document .................................................................................................................. 4

System Block Diagram ................................................................................................................................... 4

Optical Design 1 ........................................................................................................................................ 4

Optical Design 2 ........................................................................................................................................ 7

Mechanical housing for optics .................................................................................................................. 8

Mechanical attachment ............................................................................................................................ 8

Software Interface .................................................................................................................................... 8

Test Plan / Validation .................................................................................................................................... 9

Risk Assessment .......................................................................................................................................... 10

01 Rev A P a g e | 3

Spectrophotometer 01 Design Description Document

Product Requirement Document

(See digital document 1)

Product Requirements Document

Cellphone spectrophotometer

Customer:

Engineers:

Per A

Elie Glik, Carol Xu

Advisor committee: Tom Brown, Jim Zavislan

Contents

Vision ............................................................................................................................................................. 2

Environment .................................................................................................................................................. 2

Regulations and Risk Factors......................................................................................................................... 2

Product Requirement Document .................................................................................................................. 3

System Block Diagram

1) An optical system for dispersing the incoming light and directing it into the cellphone

2) A mechanical housing for the optics

3) A mechanical attachment for the device to a smartphone

4) Software interacting with the smartphone

Optical Design 1

This is the chosen design, but still needs to be verified and validated

Overview:

A single diffraction grating of specified lines/mm will be illuminated with a ray angle such that there is a specific illuminated area. This light from the 1 st order will then be redirected and focused into the camera. Additionally, the light from the 0 th order will be partially allowed to hit the camera system, allowing the target to be capture as well.

01 Rev A P a g e | 4

Spectrophotometer 01 Design Description Document

Cellphone

Camera

Slit Diffraction grating

Figure 1a – Optical Design 1

Slit

Prism/ Grating

1

st

order image

Cellphone

Camera

0

th

order image

Figure 2 –Optical Design 1b- Shows another optical design with order 0 being visible as well as using a prism.

01 Rev A P a g e | 5

Spectrophotometer 01 Design Description Document

Figure 3 – Shows the result on the detector with 2 visible orders. For order 0 the object of interest (OOI) can be visible as well as its spectrum. This will be convenient in making sure that the OOI is being measured.

From the iPhone5 specification 1 F/2.4 | Focal length= 4.10mm

According to the equation for imaging system

โˆ†โ„Ž = ๐‘“ ∗ ๐‘ก๐‘Ž๐‘›โˆ†๐œƒ ๐‘“ = 4.1๐‘š๐‘š, โˆ†โ„Ž = ๐‘ ๐‘’๐‘›๐‘ ๐‘œ๐‘Ÿ ๐‘™๐‘’๐‘›๐‘”๐‘กโ„Ž ∗ %๐‘ข๐‘ ๐‘’๐‘‘ = 4.569๐‘š๐‘š ∗ 0.75 =3.427mm

โˆ†๐œƒ = tan −1

โˆ†โ„Ž ๐‘“

= tan −1 0.8359 = 0.6963

= ๐œƒ ๐‘š๐‘Ž๐‘ฅ

− ๐œƒ ๐‘š๐‘–๐‘›

According to the equation for grating angle ๐‘š๐œ† = ๐‘‘๐‘ ๐‘–๐‘›๐œƒ

We take m=1 since we use the first order of diffraction ๐œ† = ๐‘‘๐‘ ๐‘–๐‘›๐œƒ

In the experiment we conducted, the wavelength range for iPhone 5 is 402.4nm to 688.54 nm

So ๐œ† ๐‘š๐‘Ž๐‘ฅ

= 688.54๐‘›๐‘š, ๐œ† ๐‘š๐‘–๐‘›

= 402.4๐‘›๐‘š sin ๐œƒ ๐‘š๐‘Ž๐‘ฅ

= ๐œ† ๐‘š๐‘Ž๐‘ฅ ๐‘‘ sin ๐œƒ ๐‘š๐‘–๐‘›

= ๐œ† ๐‘š๐‘–๐‘› ๐‘‘

So

1 http://www.anandtech.com/show/7329/some-thoughts-about-the-iphone-5s-cameraimprovementsv

01 Rev A P a g e | 6

Spectrophotometer 01 Design Description Document ๐œƒ ๐‘š๐‘Ž๐‘ฅ

− ๐œƒ ๐‘š๐‘–๐‘›

= 0.6963

Solve for ๐œƒ ๐‘š๐‘–๐‘›

=0.5966rad; ๐œƒ ๐‘š๐‘Ž๐‘ฅ

= 1.2919๐‘Ÿ๐‘Ž๐‘‘ d= ๐€ ๐’Ž๐’‚๐’™

/๐œฝ ๐’Ž๐’‚๐’™

= ๐Ÿ•๐Ÿ๐Ÿ”. ๐Ÿ๐Ÿ‘๐’๐’Ž sin ๐œƒ ๐‘š๐‘–๐‘› ๐œ† ๐‘š๐‘–๐‘›

= sin ๐œƒ ๐‘š๐‘Ž๐‘ฅ ๐œ† ๐‘š๐‘Ž๐‘ฅ

Groove Density= 1396/mm

Resolution Validation: CCD for iPhone camera=3264x2448pixel with 1.5um/pixel

๐ท ๐‘๐‘’๐‘ก๐‘ค๐‘’๐‘’๐‘› ๐‘‘๐‘™๐‘–๐‘›๐‘’

๐ท ๐‘ก๐‘œ๐‘ก๐‘Ž๐‘™ ๐‘Ÿ๐‘Ž๐‘›๐‘”๐‘’

∗ ๐‘ƒ ๐‘–๐‘ฅ๐‘’๐‘™

∗ ๐ด ๐‘Ž๐‘Ÿ๐‘’๐‘Ž ๐‘ข๐‘ ๐‘’๐‘‘

=

=

0.7๐‘›๐‘š

286.14๐‘›๐‘š

∗ 2448๐‘๐‘–๐‘ฅ๐‘’๐‘™ ∗ 0.75 = ๐Ÿ’. ๐Ÿ’๐Ÿ—๐’‘๐’Š๐’™๐’†๐’

Product: http://www.thorlabs.com/thorproduct.cfm?partnumber=GH13-12V

With 1200 groove density.

Characteristic

Lines/mm grating

Area of grating filled

Distance from grating to lens system

Percent of detector filed

Number of pixels used for the dline

?

Expression

80%

Ex1

1200/mm

1.16mm

?

80%

4.5

Based on this design, it is possible to resolve the d-line with 4.5 pixels of resolution, and by using a standard grating of 1200 lines/mm. The Optical Design 1a and 1b are similar in setup, but 1b requires more complexity since it is able to show the 0 th order for using purposes.

Optical Design 2

Overview:

Using a pinhole, diffracted light will enter the system. It will then go through two or more diffraction gratings where the first order of each of them will be focused onto the cellphone’s camera lens, while insuring that both spectrums are imaged separately. The result may look something like this on the image:

01 Rev A P a g e | 7

Spectrophotometer 01 Design Description Document

Figure 4 – a white light source imaged with several diffraction gratings

Based on the calculations for design 1, it is possible to image the d-line with just one diffraction grating, simplifying the system. Therefore, this design is no longer being pursued.

Note: If after verification mistakes were overlooked in design 1, this design will be used as reference.

Mechanical housing for optics

The goal is to 3D print this housing to provide a rigid outside body. The components will slip in and out, and then be held together by a top plate.

Mechanical attachment

There are a few options to pursue before deciding on one (in order of interest)

1.

Permanently adhere the device to a case

2.

Build a case such that the device can rigidly slip in and out (on rails)

3.

Assemble the device to a commercial cellphone car mount, such that the same device can mount to any smartphone within a size range

In all cases, vital factors determined experimentally: a.

Device attachment needs to be rigid b.

Device needs to be rigid in order not to change spacing from sample to sample c.

Smartphone compatibility of plug and play is desired

Software Interface

There are a couple possibilities that still need to be investigated. The first is using a webapp where the photo is uploaded through the smartphone’s browser to a site where the diffracted system is measured against a calibration. The second option is to build an app for android and iOS to calculate and calibrate the whole solution. The third option, is to mix said options together by building an app to assist with the capturing and uploaded process to the webapp.

The following site was found and will be attempted to be used to upload captured samples and receive computed results. http://spectralworkbench.org/

01 Rev A P a g e | 8

Spectrophotometer 01 Design Description Document

The basic process for using the site is as follows: A spectral image is taken of a known source, such as a specified LED, arc lamp, or CFL source, and then is uploaded to the site through the upload GUI. A calibration is then created by the software matching up peak bands. Next, a sample is taken, and uploaded. The sample is analyzed and the results are returned, relative to the calibration.

Test Plan / Validation

The test plan consists of multiple parts:

1.

Test the proof of concept (POC)

Testing the POC will involve a stable setup where the optical design is validated. A CFL bulb will be provided as the calibration, and d-line doublet will be used as the test subject. After a spectrum of the CFL is produced, its peaks will be identified manually. Calibration of the optics and alignment will be done manually (or with some aid from computational means). This will establish a baseline for the doublet test subject. The input light will be replaced and a spectrum will be produced and analyzed with the CFL reference.

If the doublet is resolvable after 5 iterations, and the accuracy is to the specification in the PRD, then this concludes the first phase of validating.

2.

Test the prototype

Similar to above, the prototype will be tested with the d-line doublet. The prototype will be subject to the next test criteria: a.

drop test

A drop from 2 ft above an optical table b.

calibration routine

The device will be calibrated with a known spectrum c.

shake test

After the device is attached to the smartphone, (and calibrated) some light shaking will be applied. The doublet needs to be able to be resolved again without recalibrating d.

switch to a different cellphone model

The smartphone will be replaced with another cellphone model, and the above repeated

(excluding the drop test).

3.

Test the manufactured product

01 Rev A P a g e | 9

Spectrophotometer 01 Design Description Document

The final product also needs to be tested. A similar test will be performed as with the prototype, but on a random distribution of samples from the manufactured products. Depending on the advice from the manufacturer, and further research, an adequate sample size will need to be selected to have a 99% reliability over all the products. There should be no Dead Upon Opening (DUO) products.

Risk Assessment

The largest amount of risk is optical alignment. The product might work under certain highly controlled circumstances, but then fail to meet the resolution and accuracy specifications. With this in mind, the product will be constructed so that it is rigid, and its mounting is rigid. Calibration will be at minimum easy to do. Ideally, the system will be able to calibrate itself, taking small random adjustments into consideration when matching up the sample to the calibration.

Auto calibration might be achieved through a reticle, which the software can measure the deviation from the known reticle position in the calibration routine. This may provide (less than calibration accuracy) but still help in mitigating the error from misalignment.

The second largest risk is creating a 3D printed product where the optical components can be slotted in, and where the alignment, and spacing is correct.

The next largest risk is profile size. Ideally this device will be small enough to clip onto the cellphone and be easy enough to swap in and out to carry.

01 Rev A P a g e | 10

Download