Escolar Documentos
Profissional Documentos
Cultura Documentos
Courtney Harley
Abstract
Purpose: give the reader a concise summary of the entire report such that the reader can get an idea of
the report without actually having to read it in detail. It is a complete overview of the entire project.
Questions it answers: what was done, why was it done, how was it done, what were the results, what
are the recommendations.
Details:
3 to 5 paragraphs
No illustrations
Write this section last, when the rest of the report is finished.
Acknowledgements
I would like to thank everyone who has contributed to helping me complete this project to the
best of my ability. I would like to start by thanking my partner, who contributed to the project in so
many ways. Hailey created all the coding for the microcontroller and assisted in created the PCB board.
Together we built the power supply. I would like to thank my professor Pravin Patel for teaching me
about regulators and rectifier circuits. I would like to thank my professor Tony Van Schyndel for
teaching me the basics of electronics. I would also like to thank Lauren Fuentes for teaching me about
amplifiers. Finally I would like to thank my parents for supporting me, and helping me through this
program.
Contents
ABSTRACT...................................................................................................................................................II
ACKNOWLEDGEMENTS..........................................................................................................................II
CONTENTS...................................................................................................................................................II
LIST OF FIGURES.......................................................................................................................................II
1
INTRODUCTION...............................................................................................................................1
1.1
1.2
1.3
ELECTRICAL SAFETY..............................................................................................1
1.4
1.5
LAYOUT OF REPORT...............................................................................................2
2.1
OVERALL DESIGN...................................................................................................2
2.2
SCHEMATIC CAPTURE.............................................................................................2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
+15V REGULATOR..................................................................................................2
2.10
15V REGULATOR.............................................................................................2
2.11
VOLTAGE MONITOR...........................................................................................2
2.12
ARDUINO MICROCONTROLLER..........................................................................2
2.13
LCD MODULE...................................................................................................2
4
2.14
3
OPTION SUBSYSTEM..........................................................................................2
3.1
3.2
3.3
CAD/CAM OUTPUT..............................................................................................2
3.4
SYSTEM FIRMWARE.......................................................................................................................2
4.1
FIRMWARE FUNCTIONALITY...................................................................................2
4.2
4.3
5.1
ENCLOSURE DESIGN...............................................................................................2
5.2
ENCLOSURE FABRICATION.....................................................................................2
6.1
6.2
ENCLOSURE ASSEMBLY..........................................................................................2
6.3
7.1
SUMMARY OF RESULTS..........................................................................................2
7.2
RECOMMENDATIONS...............................................................................................2
REFERENCES/BIBLIOGRAPHY...............................................................................................................2
APPENDICES.................................................................................................................................................2
List of Figures
Listing 1: Scaling the analog input and displaying the calculated voltage..........................2
Figure 23: Completed Schematic.........................................................................................2
Figure 24: Printed circuit board design...............................................................................2
Introduction
Leakage Current Test to make sure there is no current leakage that could harm a person.
High Current fuses are placed in the circuit to avoid a short circuit from destroying all components. If
the current is too high the fuse will melt and voltage will no longer be able to flow through the circuit.
Switches switches are added to turn off the device if overheating happens or anything goes wrong.
Switches are also placed to simply turn the instrument on and off.
ii.
Program the LCD to display the temperature and output voltages, and
iii.
regulators. The programming of the LCD to display temperature and output voltages will be achieve by
programing the microcontroller (explanation of code). Finally the PCB board will be wired in Proteus
then the overall design will be shipped and fabricated at a manufacturer. It should be soldered with the
right components and tested.
10
This section explains how the power supply works. It takes you through the design process of
the Proteus schematic and the PCB layout. It goes through the theory of how each section of the circuit
works and contributes to the overall design.
11
pro
the
at the
12
2. To place a component stay in component mode and click on a device that has been previously
selected from your device list. Once clicked move the mouse over the schematic and click
anywhere, the device will show it pink and can be moved around and place anywhere. Once
moved to the right spot click one more time and the device will be placed.
3. A
Figure 4: Placing components on the schematic
ll components need to be connected with wires. To connect wires you can be in component
mode or selective mode. Click one end of a component, a wire will automatically start tracing
as you move your mouse around. To finish the connection, attached the wire to the end of
another component. To verify the connection, in selected mode move the component and see if
the wires follow it. If they follow it is connected properly.
Components on the schematic can go to the PCB or can go in the case or rear panel. To determine
what goes where, is labelled on the schematic diagram. The switches are placed on the rear panel (the
side of the case) along with the power cord attachment, both are then soldered to the PCB board with
wires. The transformer is placed on the bottom of the case and soldered to the PCB board with wires.
The LCD display is placed right above the switches on the rear panel of the case and is also soldered to
13
the PCB board with wires. Finally, the temperature sensors are placed in two different positions, one is
placed somewhere on the bottom of the case near the transformer to measure the air in the case, the
other is placed on the heatsink, to measure the temperature of the heatsink.
14
Adding a footprint. To change the values of the components in the schematic double click on
the component that has been placed. This will bring up an options window where you can change the
component value. If the footprint is correct leave it the way it is, if it needs to be changed click on the
question mark and choose the appropriate category, type and sub-category. It is import to have the right
footprint to ensure that the component will be correct in the real life board.
(need a better explanation of a footprint)
15
The PCB section of the program then takes the working schematic design and recreates it on a real
circuit board that can be fabricated by a manufacturer and used in everyday devices.
Nets can be added where needed. A net is a certain section of wiring that is interconnect
together. The voltage or current can be measured at each net with a probe. In figure, shows a voltage
being measured in the negative half of the rectifier circuit. All wires connected in the negative half of
the rectifier circuit belong to one net.
17
18
19
R2
R 1+ R 2
Vout=Vneg x
( RR 12 )
The Arduino Pro Micro is added to the board to read inputs and convert them to voltages and
temperatures. It uses an ATmega32U4 C microcontroller. The supply voltage for the Arduino is 5
volts. The 8-bit AVR CPU has a max clock rate of 16 MHz. Inputs on the Arduino can be digital or
analog. When you read from an analog input, you read 0-1023. When you read from a digital input, you
read HIGH (5 volts) or LOW (0 volts). The outputs being used are AD0, AD1, AD2, AD3, IO10, and
20
RESET. The purpose of the LED on input 10 is to show that the controller is working. The momentary
contact button is a reset button.
21
22
23
The Printed Circuit Board is the heart of the final power supply. It required the most work and
time. It has most of the components directly on it. The PC Board was made in Proteus along with the
schematic and code for the microcontroller. The parts of the board were identified and tested in the
schematic, then the components were placed on the board on Proteus and the wires were routed, Gerber
and Excellon files were then made and sent to be printed.
The heatsink was placed for us and was not to be moved so we worked around it. On the PC Board
there is a top copper layer and bottom copper layer. These were used to place vias on the board where
we needed them. When two wires crossed, we placed a via to move one wire to the top layer and then
back to the bottom layer to attach to the component to what it needed to attach to.
24
A ground plane is an electrically conductive surface connected to ground. It is a large area of copper
foil over the bottom layer of the board connected to ground. This ensures good ground connection
throughout the pc board. This is achieved simply by going to tools in Proteus, moving down to power
plane generator. A screen will pop up and ground plane is an option there. Once selected, the ground
plane is automatically applied to the board being worked on.
The film that is developed in unloaded for an operator and are ready for the PCB
fabrication. One film is generated per PCB layer. The films are registered so that they can be
perfectly aligned. The inner layers are printed and etched and then registration holes are
punched to align the inner layers to the outer layers. Once the board is finished, the holes for
components and vias are drilled. Then the boards and holes are plated with copper. The copper
is covered with a thin layer of tin as an etch resist. The unwanted copper foil is then removed
from the surface. In our situation, all of our boards were processed together. V-cut scoring was
done around each board so that we can break them apart to be distributed to each student.
26
System Firmware
To declare a constant float (float is a decimal number) the command is const float scale0,
scale0 is the name of the constant and the number following is the constant number that will be used
later in the code. To have the microcontroller read an analog input, the command is analogRead(), int
stands for integer, letting the controller know that the number coming in is an integer. ad0 is the pin it
is reading. v0 is another name that will be used later in the code, which is the product of scale0 and
ad0 which are named in the above code. lcd.print() calls the microcontroller to display whatever
follows that command on the LCD display. The content in quotations is called for exactly the way it is
seen. Content in brackets without quotations means that the microcontroller is to display, in this case,
the product of scale0 and ad0.
27
down to 0-5 V and then it is connected to ad1 pin. This is accomplished by an inverting op-amp with a
gain less than 1.
output.
digitalWrite()- Writes a HIGH or a LOW value to a digital pin
analogRead()- Reads the value from the specified analog pin
28
A short introduction to this chapter should identify the major subsections and what they contain. This
describes the enclosure design and fabrication.
29
A short introduction to this chapter should identify the major subsections and what they contain. This is
where the troubleshooting and assembly are described, including problems found and how they were
resolved.
31
7.2 Recommendations
Suggestions are made for improvements in the conduct of the project, the design of the power supply,
the operation of the CAD tools, the PCB fabrication process. Recommendations should be practical and
based on your actual experience in other words, something that you did, or that happened to you
while working on the power supply should be the basis of the recommendation. Write them in point
form or a short paragraph for each.
32
References/Bibliography
Floyd, T. L. (2010). Principles of Electric Circuits: Conventional Current Version (9th ed.). Upper
Saddle River, New Jersey: Prentice Hall.
Mehta, V. K., & Mehta, R. (2008). Principles of Electronics (11th ed.). New Delhi: S. Chand
Publishing.
Robertson, C. T. (2004). Printed Circuit Board: Designers Reference Basics. Upper Saddle River, NJ:
Prentice Hall.
Texas Instruments Inc. (2013, February). LM317: 3-Terminal Adjustable Regulator. Texas Instruments
Inc.
33
Appendices
Appendix A: Complete Schematic
34
35