SlideShare a Scribd company logo
1 of 19
Download to read offline
Summer
Internship Project
Nikhil Ghosh (Gunn High School)
May - August, 2014
Kasevich Lab, Stanford University
Internship Goals
To acquire fluency in KiCAD, circuit design, and
electrical engineering concepts
To build a board which can be used to protect
the lab’s “slow analog out” board, therefore
protecting the apparatus and setups from
damage
Premise and Background
All channels of slow board are set to different
voltages, as they all serve different purposes
Voltages of each channel are manipulated and
preset by the computer
Main Problem and Desired Outcome
The 10V Crisis:
When the board is turned off and on again (e.g. in a power
outage), all of its channels are reset to 10V. This overrides
the computer’s preset voltages for each channel, and is
dangerous for the connected instruments
When the voltage is reset, all channels should be broken to
avoid potential damage to instruments
Initial Focus
To design a board and install a switch, which can
make or break the channels’ connections
depending on its comparative analysis of the
current voltage, using:
1. Analog switches
2. Comparators
3. Timer/Delay systems
Stage 1: Brainstorming and Planning
After pondering the problem and researching methods
available to avert “The 10V Crisis”, I designed a basic
layout for what the solution board would look like...
Solution: Black Box Diagram of Board
Stage 2: Component Selection
By studying the specs of the Analog Board and
a multitude of parts found online, I narrowed
the field of types of usable components
Solution: Detailed Black-Box Diagram
Stage 3 Stage 4
DigiKey and several other
online catalogues were
used to select specific
components which met our
requirements. These
included analog switches,
NOR gates, and window
comparators
KiCAD was used in order to
create a schematic for this
project. The project is now
going through the final
development stages of
KiCAD’s process (i.e. PCB
layout, etc)
General Step by Step Solution
1. Comparator and switch break the channels (at 10V)
2. Computer resets channels 39-2 to ideal voltages
3. Then, computer sets Channel 1’s voltage to one within the frame of
the window comparator, which gives out 5V (Logic 1)
4. This sets forth the action to close the switch, but it is delayed by the
RC delay circuit
5. While the switch is closing, the computer sets Channel 1’s voltage to
that needed by the device connected to Channel 1
6. The switch closes, and all channels are running at their ideal
voltages
Details of the Solution (Parts, etc)
Significant Components
Window Comparator: Compares a given voltage to a preset
and adjustable frame of reference. Based on this
comparison, it outputs Logic zero or one (0V/5V)
The LM-393
Significant Components Cont’d
NOR Gate: This is a type of logic gate, and it only allows
the first set voltage (to Channel 0) to influence the switch
RC Circuit: Delays the current so that the computer has
time to reset Channel 0’s voltage (again) before the switch
fully closes
Additional Parts
Diode clamps, voltage regulators, and filter capacitors to
protect the components and to pare down signal noise
SMA connector plugged into logic output so that coaxial
cables can also be connected (not just ribbon wires)
Trimpots (adjustable resistors) make it possible to
customize the window of voltage reference
Additional Parts Cont’d
LED connected to logic output as well, using minimum
current (on/off = logic 1/0)
+ Monitor status visually
+ Assist in debugging (voltage flow)
Challenges and Interesting Bits
Understanding error messages in KiCAD and knowing
when to disregard them
Importing and creating footprints/components and
understanding how to manage KiCAD’s libraries
Controlling the board through one of the channels,
eliminating the need for any additional external wiring
Lessons Learned
- KiCAD proficiency, and basic circuit design
- Basic understanding of electrical rules and concepts
- Troubleshooting in KiCAD
- Footprint design and implementation
- Strategic circuit-oriented problem solving
- Familiarity with spec sheets, properties of components
Acknowledgements
Jason Hogan
Christine Donnelly
Alex Sugarbaker
Susannah Dickerson
Tim Kovachy
Chris Overstreet
Raj Krishnakumar
Mark Kasevich
Thanks to all of these people for
their support and for giving me
this amazing opportunity to
learn so much.
This exposure has opened my
eyes to a huge number of fields
and I am extremely grateful.

More Related Content

What's hot

اندرياس
اندرياساندرياس
اندرياس
hnod
 

What's hot (17)

اندرياس
اندرياساندرياس
اندرياس
 
Inputs of physical design
Inputs of physical designInputs of physical design
Inputs of physical design
 
PLC input and output devices
PLC input and output devices PLC input and output devices
PLC input and output devices
 
Timer in PLC and its Types.pdf
Timer in PLC and its Types.pdfTimer in PLC and its Types.pdf
Timer in PLC and its Types.pdf
 
OPAL-RT Distributed Multi-User Laboratories
OPAL-RT Distributed Multi-User LaboratoriesOPAL-RT Distributed Multi-User Laboratories
OPAL-RT Distributed Multi-User Laboratories
 
I2 c bus
I2 c busI2 c bus
I2 c bus
 
اندرياس
اندرياساندرياس
اندرياس
 
Lect11
Lect11Lect11
Lect11
 
electrical engineering project
electrical engineering projectelectrical engineering project
electrical engineering project
 
I2 c
I2 cI2 c
I2 c
 
Virtual Lab for Electronics
Virtual Lab for ElectronicsVirtual Lab for Electronics
Virtual Lab for Electronics
 
PROGRAMMABLE LOGIC CONTROLLERS
PROGRAMMABLELOGIC CONTROLLERSPROGRAMMABLELOGIC CONTROLLERS
PROGRAMMABLE LOGIC CONTROLLERS
 
I2C protocol and DS1307 RTC interfacing
I2C protocol and DS1307 RTC interfacingI2C protocol and DS1307 RTC interfacing
I2C protocol and DS1307 RTC interfacing
 
Microprocessors
Microprocessors Microprocessors
Microprocessors
 
I2C BUS PROTOCOL
I2C BUS PROTOCOLI2C BUS PROTOCOL
I2C BUS PROTOCOL
 
Vt plc
Vt plcVt plc
Vt plc
 
Control systems (II-EEE)
Control systems (II-EEE)Control systems (II-EEE)
Control systems (II-EEE)
 

Similar to Stanford summer project

ECE321322 Electronics I & Lab Spring 2015 1 Final P.docx
ECE321322 Electronics I & Lab Spring 2015 1 Final P.docxECE321322 Electronics I & Lab Spring 2015 1 Final P.docx
ECE321322 Electronics I & Lab Spring 2015 1 Final P.docx
jack60216
 
Final Presentation - Edan&Itzik
Final Presentation - Edan&ItzikFinal Presentation - Edan&Itzik
Final Presentation - Edan&Itzik
itzik cohen
 
Chandan Kumar_3+_Years _EXP
Chandan Kumar_3+_Years _EXPChandan Kumar_3+_Years _EXP
Chandan Kumar_3+_Years _EXP
Chandan kumar
 
Yizhe_Liu_Resume_11092016
Yizhe_Liu_Resume_11092016Yizhe_Liu_Resume_11092016
Yizhe_Liu_Resume_11092016
Yizhe Liu
 
My profile
My profileMy profile
My profile
dhruv_63
 
chp3-Sensors, Actuators, and Microcontroller
chp3-Sensors, Actuators, and Microcontrollerchp3-Sensors, Actuators, and Microcontroller
chp3-Sensors, Actuators, and Microcontroller
ssuser06ea42
 
Automatic temperature base fan controlle
Automatic temperature base fan  controlleAutomatic temperature base fan  controlle
Automatic temperature base fan controlle
Dharmaraj Morle
 
Chapter13 pcb design
Chapter13 pcb designChapter13 pcb design
Chapter13 pcb design
Vin Voro
 
MPC of TWT based Transmitter
MPC of TWT based TransmitterMPC of TWT based Transmitter
MPC of TWT based Transmitter
Abhishek Sutrave
 

Similar to Stanford summer project (20)

ECE321322 Electronics I & Lab Spring 2015 1 Final P.docx
ECE321322 Electronics I & Lab Spring 2015 1 Final P.docxECE321322 Electronics I & Lab Spring 2015 1 Final P.docx
ECE321322 Electronics I & Lab Spring 2015 1 Final P.docx
 
Final Presentation - Edan&Itzik
Final Presentation - Edan&ItzikFinal Presentation - Edan&Itzik
Final Presentation - Edan&Itzik
 
Definition of digital circuit
Definition of digital circuit Definition of digital circuit
Definition of digital circuit
 
under grund fault ppt (1).pptx
under grund fault ppt (1).pptxunder grund fault ppt (1).pptx
under grund fault ppt (1).pptx
 
PLCandSCADA.pdf
PLCandSCADA.pdfPLCandSCADA.pdf
PLCandSCADA.pdf
 
Chandan Kumar_3+_Years _EXP
Chandan Kumar_3+_Years _EXPChandan Kumar_3+_Years _EXP
Chandan Kumar_3+_Years _EXP
 
ELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECTELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECT
 
Yizhe_Liu_Resume_11092016
Yizhe_Liu_Resume_11092016Yizhe_Liu_Resume_11092016
Yizhe_Liu_Resume_11092016
 
My profile
My profileMy profile
My profile
 
PLC boot camp training courses in Lahore Pakistan.pptx
PLC boot camp training courses in Lahore Pakistan.pptxPLC boot camp training courses in Lahore Pakistan.pptx
PLC boot camp training courses in Lahore Pakistan.pptx
 
chp3-Sensors, Actuators, and Microcontroller
chp3-Sensors, Actuators, and Microcontrollerchp3-Sensors, Actuators, and Microcontroller
chp3-Sensors, Actuators, and Microcontroller
 
Ppt meg
Ppt  megPpt  meg
Ppt meg
 
Precise kilometer calculation by underground cable fault detector
Precise kilometer calculation by underground cable fault detectorPrecise kilometer calculation by underground cable fault detector
Precise kilometer calculation by underground cable fault detector
 
Ass5
Ass5Ass5
Ass5
 
Nabeelpbm1998@gmail.com
Nabeelpbm1998@gmail.comNabeelpbm1998@gmail.com
Nabeelpbm1998@gmail.com
 
Automatic temperature base fan controlle
Automatic temperature base fan  controlleAutomatic temperature base fan  controlle
Automatic temperature base fan controlle
 
embedded system
embedded system  embedded system
embedded system
 
Chapter13 pcb design
Chapter13 pcb designChapter13 pcb design
Chapter13 pcb design
 
5 FINAL PROJECT REPORT
5 FINAL PROJECT REPORT5 FINAL PROJECT REPORT
5 FINAL PROJECT REPORT
 
MPC of TWT based Transmitter
MPC of TWT based TransmitterMPC of TWT based Transmitter
MPC of TWT based Transmitter
 

Recently uploaded

Recently uploaded (20)

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Stanford summer project

  • 1. Summer Internship Project Nikhil Ghosh (Gunn High School) May - August, 2014 Kasevich Lab, Stanford University
  • 2. Internship Goals To acquire fluency in KiCAD, circuit design, and electrical engineering concepts To build a board which can be used to protect the lab’s “slow analog out” board, therefore protecting the apparatus and setups from damage
  • 3. Premise and Background All channels of slow board are set to different voltages, as they all serve different purposes Voltages of each channel are manipulated and preset by the computer
  • 4. Main Problem and Desired Outcome The 10V Crisis: When the board is turned off and on again (e.g. in a power outage), all of its channels are reset to 10V. This overrides the computer’s preset voltages for each channel, and is dangerous for the connected instruments When the voltage is reset, all channels should be broken to avoid potential damage to instruments
  • 5. Initial Focus To design a board and install a switch, which can make or break the channels’ connections depending on its comparative analysis of the current voltage, using: 1. Analog switches 2. Comparators 3. Timer/Delay systems
  • 6. Stage 1: Brainstorming and Planning After pondering the problem and researching methods available to avert “The 10V Crisis”, I designed a basic layout for what the solution board would look like...
  • 7. Solution: Black Box Diagram of Board
  • 8. Stage 2: Component Selection By studying the specs of the Analog Board and a multitude of parts found online, I narrowed the field of types of usable components
  • 10. Stage 3 Stage 4 DigiKey and several other online catalogues were used to select specific components which met our requirements. These included analog switches, NOR gates, and window comparators KiCAD was used in order to create a schematic for this project. The project is now going through the final development stages of KiCAD’s process (i.e. PCB layout, etc)
  • 11. General Step by Step Solution 1. Comparator and switch break the channels (at 10V) 2. Computer resets channels 39-2 to ideal voltages 3. Then, computer sets Channel 1’s voltage to one within the frame of the window comparator, which gives out 5V (Logic 1) 4. This sets forth the action to close the switch, but it is delayed by the RC delay circuit 5. While the switch is closing, the computer sets Channel 1’s voltage to that needed by the device connected to Channel 1 6. The switch closes, and all channels are running at their ideal voltages
  • 12. Details of the Solution (Parts, etc)
  • 13. Significant Components Window Comparator: Compares a given voltage to a preset and adjustable frame of reference. Based on this comparison, it outputs Logic zero or one (0V/5V) The LM-393
  • 14. Significant Components Cont’d NOR Gate: This is a type of logic gate, and it only allows the first set voltage (to Channel 0) to influence the switch RC Circuit: Delays the current so that the computer has time to reset Channel 0’s voltage (again) before the switch fully closes
  • 15. Additional Parts Diode clamps, voltage regulators, and filter capacitors to protect the components and to pare down signal noise SMA connector plugged into logic output so that coaxial cables can also be connected (not just ribbon wires) Trimpots (adjustable resistors) make it possible to customize the window of voltage reference
  • 16. Additional Parts Cont’d LED connected to logic output as well, using minimum current (on/off = logic 1/0) + Monitor status visually + Assist in debugging (voltage flow)
  • 17. Challenges and Interesting Bits Understanding error messages in KiCAD and knowing when to disregard them Importing and creating footprints/components and understanding how to manage KiCAD’s libraries Controlling the board through one of the channels, eliminating the need for any additional external wiring
  • 18. Lessons Learned - KiCAD proficiency, and basic circuit design - Basic understanding of electrical rules and concepts - Troubleshooting in KiCAD - Footprint design and implementation - Strategic circuit-oriented problem solving - Familiarity with spec sheets, properties of components
  • 19. Acknowledgements Jason Hogan Christine Donnelly Alex Sugarbaker Susannah Dickerson Tim Kovachy Chris Overstreet Raj Krishnakumar Mark Kasevich Thanks to all of these people for their support and for giving me this amazing opportunity to learn so much. This exposure has opened my eyes to a huge number of fields and I am extremely grateful.