Tuesday, June 4, 2019

Design Distance Measurer Based On Fpga Information Technology Essay

Design Distance Measurer Based On Fpga Information Technology Essay there be variety applications in cheat finder thingmajigs. Their main single-valued portion is in aras where traditional measuring devices such as rulers, tape cards and other measuring devices ar impropriate. Nowadays, the traditional measuring device digest be re level by modern measuring device such as place government noter base on optic maser. It has been implemented in short(p) float distance even long cheat distance. The idea for using optical maser for range finding came when we lowlife see that contractor had many problems in measuring the distance of the building especially from the floor to the ceiling. When it came to very(prenominal) high ceiling, such as in hall, stadium even close sport-court, the handling of rulers or tape measures really a waste of succession even need very hard work. This back be formified as uses in unhopeful tech world alone in the high tech world, this distance measurer base on laser can be use with binocular in military use, especially for sniper. The observer can get the real distance of the enemy where the sniper can snipe from very far distance. This confound is intentional to be a laser distance measurer of detecting the distance of the object (wall) up to 10 meter away. The design based on simple physics, the distance traveled between two locations can be easily calculated if the speeds of travel argon known. This device calculates the time is takes for a laser travel to, rebound hit and return from a stationary object1.2 Problem StatementBefore this, we measure the distance using ruler or measuring tape, so this project design is to help human being by saving time and effort so we can measure the distance faster than originally. With the help of case Programmable Gate Arrays (FPGA) and the laser detector, the design is more advance with the one click system and we can get the distance measuring rod by no time. In military use, the project get out help by saving the life of the sniper as well.1.3 Objective of the ProjectThe objective of this project is to design distance measurer based on laser using FPGA as the micro requireler of the design.1.4 Project ScopeThis project paper get out involve in the analysis and design distance measurer based on laser, and FPGA as the micro governler. These judgments arThe exploiter allow for press the button as input.The laser will activate and laser shaft will go calculate to the object or scratch. optical maser beam will hit the object or surface and reflected it back.The sensor will picks up the signal.The f take down time from the start and end will be measured.The corresponding distance of the reflecting object or surface is displayed in digital which is in 7 segment display.A few things that need to be considered for this design areTypes of laser sensors.How the instrumentation operates.Output characteristic.Many more furnishs need to be tak en for consideration and this issue will be approached further in the coming chapters.1.5 Project PlanGenerally, this project is divided into five main chapters namely Introduction, Literature Review, Methodology, Results and Discussion and Conclusion.CHAPTER 1 discusses on project overview, problem statement, the objective of the project, the scope in order to achieve the objective of the project and the thesis outline.CHAPTER 2 will focus on the literature review of the theory of laser based distance measurer and its development. There are also detailed introduction of the project and the background of various types of FPGA controller, i.e. VHDL, Verilog-HDL, Altera Quartus..CHAPTER 3 describes just about the methodology that will be use in order to complete this project which include the design of laser distance measurer using FPGA as the controller. This will include the selection of the technique use to measure the distance using the laser and the program to be compile with th e FPGA board. Furthermore, it also discuss about how the program work on the hardware so that the project with give the result that I want.CHAPTER 4 discusses on the simulation results obtained. The detailed discussion is make to verify the performance and characteristics of the project. It will also discuss the problems and findings throughout the design and simulation of the system.CHAPTER 5 reviews the project outcomes upon the completion. several(prenominal) suggestions are also do for let out improvement in the future so that if anyone want to continue this project for better performance, they will know the basic of how this project start..CHAPTER IILITERATURE polish2.1 Distance touchstoneDistance is a numerical description of how the objects are apart. In physics or everyday discussion, distance whitethorn refer to a physical length, or an estimate based on other criteria. In mathematics, a distance function or metric is a generalization of the concept of physical distanc e (Distance, 2010). In science, measurement is the process of estimating or de barrierining the magnitude of a quantity like length or mass, compared with a measurement unit, like a meter or a kilogram (Measurement, 2010). The measure term can also be used to refer to a ad hoc result obtained by the method of measurement Distance measurement is a process where we need distance measuring instrument which can measure the distance if the distance is short or long. The SI unit for each measurement is the meter (m) but there are many units of length such as feet, yard, inches etc, but they are not lineified as SI unit of length.Remote sensing using the light sensor is widely used for implementing unstable robot. The main attraction of the distance light detecting means is its user friendliness of how to use it without need knowledge about it. The measurement precision is slimly express and care must be taken to ensure that the environment is not subject to temperature changes and th e sensor should not be confused by vomit up reflections from material adjacent to the target. Even with these limitations, laser range finder has a wide application especially when the target is far away and the action required is low. But some propagation the laser must be reflected after the laser strike any target, which means that if the laser hit a transparent material, the slowness cannot be done.But the light system based on distance measurement are inherently more accurate than ultrasound techniques because of the narrow beam angles commonly used and the restrictions of freedom inevitably fundamentally mechanical acoustic signal generation and detection. These are wide ranges of techniques that can be used to measure distance using light. These vary greatly in be and function of the laser distance measuring system is very overpriced in cost compared to the system for measuring distance using ultrasonic.2.2 Optical Distance Measurement2.2.1 IntroductionWide variety of in dustrial, commercial and research use optical sensor for distance measurement. Most sensors use visible or infrared laser beam to project a light spot on a target, the surface on which distance should be measured, the distance from the place back in the light detecting portion of the probe is measuring several waysThere are several factors to consider when specifying a laser distance sensor. They include maximum range, sensitivity, target reflectance and specularity, accuracy and resolution and sampling absolute oftenness.2.2.2 DefinitionSome of the terms that related to optical sensing (e.g. laser or ultrasonic) and distance measurement that must be take notes as some knowledge before the measurement can be done. Some of the knowledge that must be take notes is defined and described briefly here (Glossary of Laser Sensor Terminology, 2010). rank When a laser pointed at some surface, the light is reflected into the detector in an optical sensor. This can refer to a surface or mat erial designed to reflect light, in which the sensor is pointed. To determine the maximum range of a sensor, reflectance target is the most important factorCooperative backside A target or any material designed by the manufacture to reflect the light to a sensor detector. It also provides the return signal to the moltenator input higher after the laser beam and more. Cooperative target include glass cube, reflectors street corner, retrospective reflective tape and other material made by several manufacturers. In some applications, the mirror can also be used as targets of cooperation. mannequin 2.1 Cooperative Target (Module 6)Uncooperative Target The material is not specifically designed to reflect light onto the sensor art object taking the measurement. Can be generally referred to an object that scattering light. The term is used because the target in return cannot be reflected beam, this includes metal or painted surfaces, liquids and solids or loose granularFigure 2.2 Un cooperative Target (Module 6) retroactive reflection The reflection of light off a target object or surface back in the beamion from which it came, for a wide range of angle of nonessential, either it came in 180 reflection or any degree as long it reflect to it sources. It can be said that the retro reflection will produce minimum scattering light. Retro reflection is achieved through multiple reflections within a retro reflector. Retro reflectors include corner cubes and retro reflective tape. A high quality corner cube retro reflector will return virtually all the light incoming it to its source. Corner cubes may be used to extend range hundreds or thousands of clock over ordinary surfaces. A corner cube array was go away on the moon to allow accurate measurement of its distance from the earth. Some of the example item that commonly being used in many applications is retro reflective tape. It typically consists of microspheres or cubes of glass or plastic which act like many tiny retro reflectors.Figure 2.3 Retro reflection surface (Retroreflector, 2010)Diffuse construction This terms is being use when a light strikes the target and scattered over a wide angle which mean the incident ray reflected in many angles.. Plain white paper of flat (not slick) wall paint is good mete out materials. It can be clearified as the best uncooperative targets, and may be measured to over a wide range of incident angles (up to 80 degrees for some materials).Untitled.jpgFigure 2.4 Diffuse Reflection Surface (Diffuse Reflection, 2010)Specular Reflection It occurs when the light strikes a shiny or mirror-like surface and is reflected away in one angle which is same to the angle it reflects. Glass, liquid surfaces and polished metal are specula and generally it needs a sensor configured specifically for specula surfaces. This behaviour is described in the law of reflection where it all told follows the law itself.Figure 2.5 Specular Reflection Surface (Specular Refle ction, 2010)Reflectance The step of light reflected from the target, expressed as a percentage of incidents light. Diffuse reflectance refers to the amount of light scattered in all directions by a diffuse target. Specular reflectance refers to the amount of reflected light is reflected for example a mirror. Reflectance depends on the target color and com plant and the frequency of light is reflected. Diffuse surfaces often vary from 3% to 95% reflectance. Many surfaces such as pain and glossy coated paper are diffuse and specular components of reflectionMaximum Range The maximum distance of sensors that picks up the reflected light and to obtain an accurate measurement of the distance. The maximum range may be limited by laser designer, the amount of light reflected from the target and the sensitivity of the detector. It may also be limited by the measurement method used and the distance that the sensor is accurately calibratedLaser Power It is the optical power level emitted by the laser sensor. The power can be specified as average power or peak power and average, if the sensor product thumps of intermittent light. If all other factors being equal, the maximum range increases in proportion to the square root of laser power, if power is multiplied by four, it will double the maximum range it can achieved. Laser power is expressed in Watts Mill (mW) or watts (W).Sample Rate The frequency of a sensor updates its create range. The sampling frequency capability of remote sensors varies widely, depending on the measurement method that being used and the design of the devices. The sampling frequency can be as low as one model every few seconds and run a million samples per second..Response Time It is the delay between the time changes in target position and the time changes of the sensor output. This may be more than one sample interval, if the sensor is processing or calibration of the intermediate samples during transmission of the previous sample and then taking the next measurement.Sensitivity A measure of the ability to obtain a see on a dark target or with low laser power. Sensitivity decreases at long ranges.Depth of Field The span of distance over which a measurement sensor can measure distances accurately. This may be limited by the approach of light focus collection and the maximum distance that reflect enough light to the sensor. These two factors will determine how changes in the sensitivity of the sensor with distance.2.2.3 Performance Of Optical Sensor On Specula And Diffuse TargetsAll sensors require a bit of laser light to the back surface of the target to operate. The amount of light needed is a measure of the sensitivity of the device. In general, the most lovesome devices are more expensive and accurate measurement of high sampling frequency requires more thought than for lower sampling frequencies.For diffuse targets, the higher the reflectance of the target, the best performance of a sensor will be. Lightweight m aterials such as wood, paper or white paint is non-cooperative targets that work well at all distances. The 50 darkest carbonic materials feet from a rangefinder can return only one ten-millionth of the light that reaches them at a rangefinder. The maximum range and depth of field can be limited to as little as 1.5 of what is possible with ordinary, light-colours surfaces.In addition to the amount of light a surface reflects the way light is reflected can actuate the performance of an optical sensor. Many surfaces are partly specula and partially diffuse. These can be difficult to measure the amount of light reflected to a sensor may vary considerably with the angle of the target surface.2.2.4 Accuracy, Repeatability and ResolutionThe accuracy of a sensor is a measure of the difference can be provided between the reading of a sensor and the actual distance measured. The resolution is the smallest change in measured distance. The resolution is the smallest change in the distance a s ensor can detect and is usually a value smaller than the precision error. Accuracy can be affected by reflection from the target temperature, ambient light, which will generally not affect the resolution.Repeatability is the measure of the stability of the sensor over time. Generally, the sample repeatability sample will be lower for very fast sampling rates, because less time is used for measuring average. As the sampling frequency is lowered, the repeatability will improve, but this cannot continue indefinitely. Beyond some deceleration rate of the sample, the repeatability will start to get worse as the long-term drift in the components and changes in temperature cause changes in output of the sensor.2.2.5 Spot Size and Divergence new(prenominal) specifications which may be important are the laser spot size and divergence of the beam. Some applications require a small spot for high-resolution, measurement while others require a larger diameter spot of averaging rough surfaces or for midsection safety concerns.2.2.6 Visible and Infrared LasersBoth visible and infrared (IR) laser are used in distance measurement. For some applications, the advantage of being able to see the spot is an advantage, while others do not want the place to be seen. For some sensors, they have two versions of visible and infrared. IR versions are slightly more sensitive and more accurate than the version visible and IR models have a wider range of laser powers.2.2.7 Class of Lasers2.2.7,1 Class IIt has no possibility damaging the eye. That is because of a low power of the output (in which eye damage case is impossible, even after the hours of exposure), or because of an enclosure preventing the access of the users to the laser beam during normal operation, any individual, independently of the conditions of exposure to the eyes or the skin, No one can expect to be wounded by a laser of class I. No requirements of safety are necessary to use with the devices of laser class. The lasers of class I are apparatuses with low power which are regarded as sure of all the potential dangers. Some examples of the use of the laser of class I are as follows the printers laser, CD-ROM devices, the geo system of logical equipment of survey and the laboratory equipment of analysis (Laser Safety, 2010).Figure 2.6 Example of Class I Application Laser printing machine(Application of Laser Product, 2008)2,2,7,2 Class IIClass II laser can damage the eyes of the person if deliberately looks in the beam for one prolonged period (i.e 15 minutes). Power of output can be up to 1 mW. This category includes the lasers that emitting a visible light. Certain pointers lasers are in this category. The lasers of class II are of low power which is less than 1mW, lasers of the visible light which could cause damage with the eyes of a person. Some examples of laser use of class II are demonstrations in class, the pointers laser, devices of aiming and the distance measuring equipment. Avoid loo king in a laser beam of class II or pointing a laser beam of class II in the eyes of another person. Avoid looking at class II of the beams laser with telescopic devices. To take hold out that the light of a laser beam of class II in the eyes causes a normal reaction to divert the glance or to close the eyes (Laser Safety Policy, 2010).Figure 2.7 Example of Class II Application Barcode Scanner(Application of Laser Product, 2008)2.2.7.3 Class IIaLaser class where it is in the low-power output of Class II ans the laser requires in excess of 1000 seconds of continuous viewing to produce a burn to the retina. Commercial laser scanners are in this subclass (Laser Safety, 2010).Figure 2.8 Example of Class IIa Application Laser Disco Light(Starfield Projector, 2007)2.2.7.4 Class IIIaThe lasers of class IIIa are from continuous wave. The lasers in this class are most of the time dangerous in combination with the optical instruments which change the density of diameter or power of beam. T he power of the output is not olympian 5 MW. The density of power of beam cannot exceed 2.5 mW/square centimetres. Many sights of laser for weapons with kick upstairs and indicators of laser are in this category of devices with intermediate output power (1-5 mW). Some examples of the uses of laser of class IIIa are identical to that laser of class II with the most popular uses being indicators of laser and modules of laser scanner. The direct viewing of the laser beam of IIIa of class could be dangerous with the eyes. Directly do not look at the laser beam of IIIa of class (Laser Safety, 2010).Figure 2.9 Example of Class IIIa Application Military Equipment(Marushin M16A1)2.2.7.5 Class IIIbThe lasers in this class can damage if the beam enters the eye directly. This generally applies to the lasers actuated starting from 5-500 mW. The lasers in this category can damage permanent eye with exposures of 1/100th one second or less according to the force of the laser and the lasers at t he end of high power of this class can also present a fire hazard and can slightly burn the skin. A diffuse reflection is generally not dangerous but the specular reflections can be like dangerous that is direct exposures. All times that occupying a control field of laser, carry the suitable protection of eye. Protective Eyewear is recommended when the direct viewing of beam of the lasers of IIIb of class can occur. Some examples of the uses of laser of IIIb of class are spectrometry, two-channel lithography, and the light of entertainment shows (Laser Safety Policy, 2010).Figure 2.10 Example of Class IIIb Application Military Equipment(Azari, 1998-2009)2.2.7.6 Class IVThe lasers of class which is the majority of entertainment, industrialists, scientists, military and medical are in this category. Some examples of use of laser of class IV are surgery, research, drilling, cutting, welding, and the lasers micromachining in this class produced powers moreover than 500mW or pulsed of 10 J/cm2 in the beam and can damage considerably and permanent the eye or the skin without being magnify by optical system of eye or instrumentation. It can be dangerous to peel or observe diffuse reflexions of the laser beam in the nominal zone of risk. The lasers of class IV are devices of high power. The direct beam and the diffuse reflections of the lasers of class IV are dangerous with the eyes and the skin. The devices of laser of class IV can also be a fire hazard according to the reaction of the target once struck. Orders much larger are required to ensure the sure exploitation of this class of the devices of laser. All times that occupying a control field of laser, carry the suitable protection of eye. The majority of the damage of eye of laser occur reflected beams of the light of laser of class IV, thusly maintain all materials reflective left the beam. Do not place your hand or any other part of body in the laser beam of class IV (Laser Safety, 2010).Figure 2.11 Example of Class IV Application Laboratory Equipment(Oxford, 2009)2.2.8 Method of Measuring Distance Based On LaserLasers can be used in various ways to measure distances or travel without physical contact. Laser length measurements allow the most sensitive and accurate records for extremely rapid and larger measurement ranges, even if these qualities are usually not combined with a single technique. According to specific requests, very different technical approaches may be appropriate. Some laser applications such as in architecture, inspection of manufacturing facilities, crime scene investigation (CSI), and the army (Paschotta D. R., 2010).2.2.8.1 triangular Measurement MethodIt exploits the ability of a laser beam to propa entre in a well-collimated form (ie with small divergence) over long distances. In a typical case, the laser beam illuminates a point and the laser is essentially used as a pointer. Diffuse or specular reflections of this item are followed by a detector that is mou nted in a distance from the laser beam, so that the laser source, object and detector form a triangle. The of import is same like the ship trying to find the distance from the shore (Encyclopedia of Laser Physics and Technology, 2010).Figure 2.12 Triangulation Method(B., C., D., 2010)The high detection rate, it is possible to control the position of a moving or vibrating example part of some machines. The precision obtained is very accurate compared with other devices. For diffuse reflections, the distance may be limited by the obligation to receive a sufficient amount of reflected optical power, with specular reflection, a greater distance can be measured, but a sort of angular alignment is required (Paschotta D. R., 2010).2.2.8.2 Time-Of-Flight Measurement MethodTime of flight measurements are often used to measure a distance, used for example in an air monotonous, possibly in the form of laser scanning radar. Here, a device sends an optical pulse and measure short time until a reflected portion of the pulse is controlled. The distance is then calculated using the speed of light.This method usually used for measuring distance, like hundreds of meters or several miles. By using advanced techniques (involving high-quality telescopes, very sensitive photo detector, etc..) With the precision of a few centimeters, it is possible to measure e.g. the distance between Earths and to obtain an accurate write of a dam.Over time, measures are preferably used in flight for long distances, the beam quality of laser source is crucial. For large distances, high pulse energies are required. This may raise issues of laser safety, especially if the laser wavelength is not in the eye safe region. For nanojoule to microjoule pulse energies (as required for medium distances), it is possible to use a chip laser passive Q-switched Er Yb glass, which can generate pulses rather short (the duration of the order of 1 ns) with pulse energies of Yb about 10 J in the spectral region to eye safety (Paschotta D. R., 2010).2.2.8.3 strain Shift Measurement MethodThe method of phase trade usually use in laser rangefinders, a technique for measuring distances in the following manner. A laser beam with sinusoidally modulated optical power is sent to a target. Some reflected light (diffuse sources or specular reflections) is monitored, and phase modulation power is compared to the light sent. The phase shift obtained is 2 times the time of flight time frequency modulation. This shows that higher modulation frequencies can result in better spatial resolution. Although the phase shift is directly comparative to the duration of the flight, the length of time of flight method should be reserved for cases where one really measures a delay time more directly.Figure 2.13 Phase Shift Method(Dixon Henlich, 1997)With regard to an interferometer, the phase shift method has an ambiguity in the distance, because with the distance from the phase varies periodically. However, the f requency is much greater than in an interferometer, since the frequency modulation is much smaller than the optical frequency. In addition, ambiguity can be easily removed, for example, by measuring with two different modulation frequencies.2.3 FPGAField-programmable gate arrays (FPGA) are ICs that contain an array of identical logic blocks with programmable interconnections. It also can be classified as one of the programmable logic device (PLD). There are also some other type of PLD which is Simple Programmable Logic Device (SPLD) and Complex Programmable Logic Device (CPLD). The user can program the function completed by each logic block and the connections between the blocks. FPGAs have revolutionized the way prototyping and designing are done. The flexibility offered by reprogrammable FPGAs has enhanced the design process. There are a variety of FPGA products operable in market now. Xilinx, Altera, Lattice Semiconductor, Actel, Cypress, Quick Logic and Atmel are examples of c ompanies that design and sell FPGAs.2.3.1 DE2 BoardFigure 2.14 DE2 Board illustration EP2C35F672C6(DE2 information and Education User Manual)The following hardware is provided on the DE2 boardAltera Cyclone II 2C35 FPGA deviceAltera Serial Configuration device EPCS16USB Blaster (on board) for programming and user API control both JTAG and Active Serial (AS) programming modes are supported512-Kbyte SRAM8-Mbyte SDRAM4-Mbyte Flash memory (1 MByte on some boards)SD Card socket4 pushbutton switches8 render switches18 red user LEDs9 green user LEDs50-MHz oscillator and 27-MHz oscillator for clock sources24-bit CD-quality audio CODEC with line-in, line-out, and microphone-in jacksVGA DAC (10-bit high-speed triple DACs) with VGA-out connexionTV Decoder (NTSC/PAL) and TV-in connector10/100 Ethernet Controller with a connectorUSB Host/Slave Controller with USB type A and type B connectorsRS-232 transceiver and 9-pin connectorPS/2 mouse/keyboard connectorIrDA transceiverTwo 40-pin Expansi on Headers with diode protection2.3.2 Block Diagram of the DE2 BoardFigure 2.15 Block Diagram of DE2 Board Model EP2C35F672C6(DE2 maturement and Education User Manual)2.3.3 Cyclone IIAltera Cyclone II FPGA density range has 68,416 logic elements (GE) and provide up to 622 usable I / O pins and up to 1.1 Mbits of embedded memory. Cyclone II FPGAs are manufactured on 300mm wafers. The low cost and optimized feature set of Cyclone II FPGAs make ideal solutions for a wide range of automotive, consumer, communications, video processing, study and measurement, and other end-market solutions. Devices that support the Fast-On feature are designated with an A in the code of the controller. The EP2C5A is only available in the class of vehicle speed. The EP2C8A and EP2C20A are only available in the category of industrial speed. The EP2C15A is only available with the Fast-On feature and is available in both commercial and industrial categories.Figure 2.16 DE2 Board Model EP2C35F672C6(DE2 Deve lopment and Education User Manual)2.3.4 Evolution of Programmable LogicAn FPGAs has grown in the past twenty years since the introduction. In the early 1970s, Programmable Logic Devices (PLDs) had been on the market. These devices used two-level logic structures which are AND plane as the first level of logic which generally fixed while the second level known as OR plane which is programmable.Figure 2.17 Some Example Of PLD Basic Circuit(David, 2006)2.3.5 FPGA TypesConfiguration TechnologyTechnology Overview And FeaturesSRAM BasedAn external device program the device on power up. It allows fast reconfiguration. Configuration is explosive. Device can be reconfigured in circuit.Anti-Fuse BasedConfiguration is set by burning internal fuses to implements the desired functionality. Configuration is non volatile and cannot be changed.EPROM basedConfiguration is resembling to EPROM devices. Configuration is non-volatile. Device must be configured out of the circuit.EEPROM basedConfigurati on is similar to EEPROM devices. Configuration is non-volatile. Device must be configured out of the circuit.2.3.6 Advantages of FPGAsHowever they have compensating advantages, largely due to the fact that they are standard parts.FPGA has larger capacity, more architecture and more register than other PLD. It is because the FPGA is the evolution of the PLD before it.There is no wait from completing the design to obtaining a working chip. The design can be programmed into the FPGA and tested immediately.FPGAs are excellent prototyping vehicles. When the FPGA is used in the final design, the jump from prototype to product is much smaller and easier to negotiate.The same FPGA can be used in several different designs, reducing inventory costs.2.3.7 Disadvantages of FPGAsFPGAs are not custom parts, so they arent good at any particular function as dedicated chip designed for that application. FPGAs are generally slower and burn more power than custom logic. FPGAs are also relatively expen sive.2.3.8Types of FPGAReprogrammable (SRAM-based)Xilinx, Altera

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.